1 страниц (12 вхождений)
Solve error - error x - not defined in Solve function - Сообщения
#1 Опубликовано: 26.03.2014 10:49:45
#2 Опубликовано: 26.03.2014 11:14:51
I think the answer is too big for visualisation.
Russia ☭ forever, Viacheslav N. Mezentsev
#3 Опубликовано: 26.03.2014 15:13:51
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.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Radovan Omorjan 28.03.2014 02:28:00
#4 Опубликовано: 26.03.2014 15:25:17
#5 Опубликовано: 26.03.2014 17:30:24
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.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#6 Опубликовано: 26.03.2014 17:55:41
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:
ЦитатаFor 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 пользователям понравился этот пост
Martin Kraska 26.03.2014 20:05:00
#7 Опубликовано: 26.03.2014 20:07:54
#8 Опубликовано: 27.03.2014 09:16:41
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 КиБ) скачан 49 раз(а).
Elastica.sm (18 КиБ) скачан 49 раз(а).
1 пользователям понравился этот пост
Martin Kraska 27.03.2014 10:52:00
#9 Опубликовано: 27.03.2014 10:50:40
Here is a version using the parametric plot capabilities of Draw2D().
Elastica.sm (19 КиБ) скачан 66 раз(а).
Elastica.sm (19 КиБ) скачан 66 раз(а).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Radovan Omorjan 28.03.2014 02:28:00
#10 Опубликовано: 27.03.2014 16:24:25
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.
#11 Опубликовано: 27.03.2014 23:10:07
Very good Martin.
Awesome the power of Draw2D(). It reduced the processing time dramatically.

#12 Опубликовано: 29.03.2014 04:00:28
WroteCan you send the Smath file, it is not clear to me how to assign the selected solutions to variables.
_Solve.sm (31 КиБ) скачан 83 раз(а).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 страниц (12 вхождений)
-
Новые сообщения
-
Нет новых сообщений