Maple-Solve issue

Maple-Solve issue - Сообщения

#1 Опубликовано: 03.01.2024 07:38:24
giddyApples8

giddyApples8

0 сообщений из 15 понравились пользователям.

Группа: User

I updated to the latest version today.
When I start the program and a new document, I type a few equations and solve with Maple(Solve(,)). The solution is correct:
1.png

I then open a new document and try to solve different equations but I get the same result as the last equation from the first document:
2.png
The value and units are wrong. Also, the second equation requests a solution for x, but I did not include x in the equation. I still get a result (wrong) instead of an error.

I then open another new document and solve a different equation:
3.png
The solution is correct.
But when I go back to the second document, the value for both equations has updated to the value from the third document and the units have changed.

What is going on?

EDIT: I uninstalled the latest version and reinstalled the previous version but the problem persists.

EDIT 2: I reinstalled the latest version. The problem persists. I deleted the maple tools plugin then reinstalled it. Now I get an error that the ..\bin\tmp\out.tmp file cannot be found.
#2 Опубликовано: 03.01.2024 11:01:32
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: Moderator

I can reproduce it.
This should be a bug.
Some units can not be solved.
And there is no consistency.
L is basically m^3.
While m^3 is solved correctly, L is not.
Inch, feet, yard can't be solved, lightyear can.
m^2 can be solved, acre can't. etc, etc...

Originally maple v6 doesn't work with units.
This ability is magick of uni, author of plugin.
He once said it was added to plugin by himself.
He may need to look this particular problem.

Regards

maple_units.sm (26 КиБ) скачан 65 раз(а).

2024-01-03_05-58.png
#3 Опубликовано: 04.01.2024 01:43:52
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Yes, there are problems. A quick solution is not always possible due to the complexity of connecting two different programs.
Russia ☭ forever, Viacheslav N. Mezentsev
#4 Опубликовано: 04.01.2024 02:10:47
giddyApples8

giddyApples8

0 сообщений из 15 понравились пользователям.

Группа: User

Am I even using Maple(solve) correctly?
I'm trying to solve for k, using this equation:
k.png
where Wn is sqrt(k/m).
If I only use solve(equation,k), I get a "no real roots" error. So I slap the Maple() command on it.
Is there a better way to solve for a variable?

Also, what's the solution for no "out.tmp" file?
#5 Опубликовано: 04.01.2024 21:19:21
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Am I even using Maple(solve) correctly ?


Not for solving your system respectively ... mutual Smath/Maple codes
Jean

Worksheet39.sm (4 КиБ) скачан 71 раз(а).

#6 Опубликовано: 05.01.2024 05:51:44
giddyApples8

giddyApples8

0 сообщений из 15 понравились пользователям.

Группа: User

Wrote

Wrote

Am I even using Maple(solve) correctly ?


Not for solving your system respectively ... mutual Smath/Maple codes
Jean

Worksheet39.sm (4 КиБ) скачан 71 раз(а).



I don't understand what you are showing me here. I don't understand the difference between your example and my usage of maple(solve).
The formula in your example works fine until you add (some) units. Then it fails without providing feedback that it failed.
The problem I'm trying to solve is of a vibrating machine. The k that I'm solving for is spring constant, and it will have units of force/distance. I'd like to be able to include units in my calculations so I can verify that my result is in the correct units and the correct scale.
Are you able to solve (and update with different values) your example with the following inputs?
k-units.png
#7 Опубликовано: 05.01.2024 18:57:11
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

It solves your image.
Am I even using Maple(solve) correctly ?
I'm trying to solve for k, using this equation

Construct with units as you did,
select all ... ignore units.
If you have some result, append user unit
Jean
#8 Опубликовано: 06.01.2024 02:09:20
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

For units support you can use FindRoot() from the nonlinear solvers plugin and Solve() from the Maxima plugin.

Note that in the previous version of the worksheet omega and omega_n had the same value, creating a divide by zero problem.

Файл не найден.Файл не найден.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
sergio 06.01.2024 22:58:00
#9 Опубликовано: 10.01.2024 03:35:57
giddyApples8

giddyApples8

0 сообщений из 15 понравились пользователям.

Группа: User

Wrote

For units support you can use FindRoot() from the nonlinear solvers plugin and Solve() from the Maxima plugin.

Note that in the previous version of the worksheet omega and omega_n had the same value, creating a divide by zero problem.

Файл не найден.Файл не найден.



Thanks.
I'm trying to load your worksheet but I'm getting this error:
depend.png

Even though I have the Maxima plugin installed.

I also get this message:
maxima.png

What's in this bat file?

Any idea why am I getting these errors?
#10 Опубликовано: 10.01.2024 04:19:21
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

The plugin requires Maxima to be installed on the computer. See SMath with Maxima for instructions. With the latest version of the plugin, the user should be guided through the installation of Maxima.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений