1 Pages (12 items)
Solve error - error x - not defined in Solve function - Messages
I think the answer is too big for visualisation.
Russia ☭ forever, Viacheslav N. Mezentsev
WroteI'm trying to solve a equation for x but I'm getting an error (x - not defined) what am I doing wrong?
You need to ask for symbolic optimization. The solutions are returned as a list of equations x=..., in your case three of them, and yes, they are really big but they display within seconds.
See the handbook-page "Function index"> "Solve()" to see how to assign selected solutions to variables.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 users liked this post
Radovan Omorjan 2014/3/28 02:28:00
On my computer, Maxima 5.31.1-1 gives the same error message in wxMaxima as reported by you. Thus, this question might be directed to some maxima forum.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
for m = 1 the function may be divergent (x=±π/2):
[MATH eng]elliptic_kc(m):int(1/sqrt(1-m*sin(x)^2),x,0,π/2)[/MATH]
The Maxima manual said:
maxima: elliptic_kc
[MATH eng]elliptic_kc(m):int(1/sqrt(1-m*sin(x)^2),x,0,π/2)[/MATH]
The Maxima manual said:
QuoteFor certain values of m, the value of the integral is known in terms of Gamma functions. Use makegamma to evaluate them.
maxima: elliptic_kc
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Martin Kraska 2014/3/26 20:05:00
Thank you all. It was a subtle bug, I just do not let the sine equal to 1 to find the elliptic integral. Anyway, now it runs.
Elastica.sm (18.31 KiB) downloaded 1116 time(s).
Elastica.sm (18.31 KiB) downloaded 1116 time(s).
1 users liked this post
Martin Kraska 2014/3/27 10:52:00
Here is a version using the parametric plot capabilities of Draw2D().
Elastica.sm (19 KiB) downloaded 1149 time(s).
Elastica.sm (19 KiB) downloaded 1149 time(s).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 users liked this post
Radovan Omorjan 2014/3/28 02:28:00
WroteWroteI'm trying to solve a equation for x but I'm getting an error (x - not defined) what am I doing wrong?
You need to ask for symbolic optimization. The solutions are returned as a list of equations x=..., in your case three of them, and yes, they are really big but they display within seconds.
See the handbook-page "Function index"> "Solve()" to see how to assign selected solutions to variables.
Can you send the Smath file, it is not clear to me how to assign the selected solutions to variables.
Very good Martin.
Awesome the power of Draw2D(). It reduced the processing time dramatically.
WroteCan you send the Smath file, it is not clear to me how to assign the selected solutions to variables.
_Solve.sm (31.23 KiB) downloaded 1142 time(s).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 Pages (12 items)
- New Posts
- No New Posts
