How to solve a nonlinear equation?

2 views (last 30 days)
CS on 20 Oct 2020
Commented: Matt J on 21 Oct 2020
I have an equation as follows
How can I solve for x?
Thanks for any help!

Answers (1)

Matt J
Matt J on 20 Oct 2020
Edited: Matt J on 20 Oct 2020
[x,fval] = fzero( @(x) x^(8.5)+3*x.^2-3000,nthroot(3000,8.5))
x = 2.5629
fval = 4.5475e-13
Matt J
Matt J on 21 Oct 2020
[x,fval] = fzero( @(x) ((1/(3.52*10.^(22)))*abs(x)^(8.14))+(1/207000)*x.^2-4.52,0)
x = -656.6949
fval = -8.8818e-16

Sign in to comment.


Find more on Systems of Nonlinear Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!