Azzera filtri
Azzera filtri

How to solve this equation?

2 visualizzazioni (ultimi 30 giorni)
Ani Asoyan
Ani Asoyan il 24 Feb 2021
Modificato: David Hill il 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

Risposte (2)

David Hill
David Hill il 24 Feb 2021
Modificato: David Hill il 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 il 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
.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by