Wrong answer in below code?
3 次查看(过去 30 天)
显示 更早的评论
bw = 36;
angle = 60;
syms ds
tw = bw + 2*(ds / tand(angle));
nm = 0.025;
Area = 0.5*(bw + tw)*ds;
P = bw + 2*(ds/sind(angle));
S = 0.00001;
A = (((Area)^(5/3))/((P)^(2/3))) == ((200*nm)/(S^0.5))
height =(vpasolve(A,ds));
OUTPUT: - 49.95106 - 10.88106i
The output is wrong, the correct answer for the above code should be 10.19
Can anyone please tell me why I am not getting the actual answer as 10.19
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!