How to solve this equation?
2 次查看(过去 30 天)
显示 更早的评论
Hi. I want to solve this equation (find the root of this polynomial).
How can I do that?
h^0.66+0.0805*h=0.045
0 个评论
回答(2 个)
David Hill
2021-2-24
编辑:David Hill
2021-2-24
f=@(h)h.^0.66+0.0805*h-0.045;
fzero(f,0.008);%plot(0:.001:.1,f(0:.001:.1)) to get approximate location to root
0 个评论
Star Strider
2021-2-24
Probably the easiest approach:
syms h z2
Eqn = h^0.66+0.0805*h == 0.045;
[h,prms,cndx] = solve(Eqn,h, 'ReturnConditions',1)
vpa_cndx = vpasolve(z2^50 + (2000*z2^33)/161 - 90/161 == 0); % Returns All 50 Roots
.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!