Community Profile

photo

Hamza Aboumaray


Last seen: 2 years ago Active since 2020

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

0

answers

1

answer

Question


I get this error message for this code: Array indices must be positive integers or logical values.
% Values of constants l = 89; h = 49; D = 55; beta1 = 11.5; alpha = 33; % Compute A, B, C, E A = l*sind(Beta1); B = l*c...

4 years ago | 1 answer | 0

1

answer

Question


How do I round off the answer for the depth to within 2mm?
% Values of constants syms h r = 0.3; V = 0.35; L = 3; eqn = (0.5*pi*r^2-r^2*asin(h/r)-h*sqrt(r^2-h^2))*L == V; answer = v...

4 years ago | 1 answer | 0

1

answer

Question


Can someone please fix my matlab code? Don't know how to get rid of the warning: Unable to solve symbolically. Returning a numerical solution using vpasolve.
% Values of constants syms r V L h r = 0.3; V = 0.35; L = 3; eqn = (0.5*pi*r^2-r^2*asin(h/r)-h*sqrt(r^2-h^2))*L == V; answ...

4 years ago | 1 answer | 0

1

answer