the value of name is 0.20 Solve system of equations with 4 unknowns, V, D, Re, f
ID: 3708782 • Letter: T
Question
the value of name is 0.20
Solve system of equations with 4 unknowns, V, D, Re, f 2.51 Re Re= VD 20 r150 Name -=-log 0.00001655 D 29.81) f [Note. (Name-(value of the first letter for your first name + value of the first leter for your Last name)/100 1 If the first letter is A, your name is worth 1, if the first letter is Z, your name is worth 26 Wnte your name in the program and show the values of both your first letters too. Solution will satisfy the following conditions, All unknowns must have at least 3 significant digits and be within the following range 0Explanation / Answer
syms V D Re f
%declaring equations
eqn1 = V*PI*D.^2 == 0.20;
eqn2 = Re * 0.00001655 - V*D == 0
eqn3 = D*2*9.81 - 150*f*V.^2 == 0
eqn4 = 1/sqrt(f) + log(2.51/Re*sqrt(f)) == 0
sol = solve([eqn1, eqn2, eqn3, eqn4], [V,D,Re, f]);
vSol = sol.V
dSol = sol.D
ReSol = sol.Re
fSol = sol.f
%displaying results
disp(vSol)
disp(dSol)
disp(ReSol)
disp(fSol)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.