What solver to use for parabolic equation?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Fafar
am 20 Nov. 2013
Beantwortet: Deepak Ramaswamy
am 22 Nov. 2013
Greetings, I have the following equation that I need to solve
1000/((x/10)^(20/19) + ((9*x)/10)^(100/97)) - x = 0
I tried using the following but it took forever and didn't return an answer:
syms x
solve(1000/((x/10)^(20/19) + ((9*x)/10)^(100/97)) - x)
if you plot the equation there is an answer around 30
ezplot(1000/((x/10)^(20/19) + ((9*x)/10)^(100/97)) - x,10,100)
but I cannot seem to find it using the solver.
Thanks in advance
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 20 Nov. 2013
I am pretty sure there is no closed form solution to that. You will probably need to use a numeric solver.
2 Kommentare
Walter Roberson
am 20 Nov. 2013
See fzero() or fsolve(). Or if you want to work symbolically, the MuPAD command numeric::solver (note: there is no MATLAB interface for that.)
Weitere Antworten (1)
Deepak Ramaswamy
am 22 Nov. 2013
You can try vpasolve, Symbolic Math Toolbox's numeric solver. This returns - 30.078324091827534639885832779983 + 1.5357472679395261619060458042632*I. If you subs the solution back in to the equation, you get - 1.7632415262334312619531048058334e-38 + 5.8774717541114375398436826861112e-39*I which is close to zero
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!