MATLAB Answers

How to solve this equation?

16 views (last 30 days)
Ani Asoyan
Ani Asoyan on 24 Feb 2021
Edited: David Hill on 24 Feb 2021
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

Answers (2)

David Hill
David Hill on 24 Feb 2021
Edited: David Hill on 24 Feb 2021
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

Star Strider
Star Strider on 24 Feb 2021
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
.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!