1 страниц (10 вхождений)
Maple-Solve issue - Сообщения
#1 Опубликовано: 03.01.2024 07:38:24
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:

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:

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:

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.
When I start the program and a new document, I type a few equations and solve with Maple(Solve(,)). The solution is correct:
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:
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:
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
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 КиБ) скачан 64 раз(а).

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 КиБ) скачан 64 раз(а).
#3 Опубликовано: 04.01.2024 01:43:52
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
Am I even using Maple(solve) correctly?
I'm trying to solve for k, using this equation:

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?
I'm trying to solve for k, using this equation:
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
WroteAm I even using Maple(solve) correctly ?
Not for solving your system respectively ... mutual Smath/Maple codes
Jean
Worksheet39.sm (4 КиБ) скачан 70 раз(а).
#6 Опубликовано: 05.01.2024 05:51:44
WroteWroteAm I even using Maple(solve) correctly ?
Not for solving your system respectively ... mutual Smath/Maple codes
Jean
Worksheet39.sm (4 КиБ) скачан 70 раз(а).
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?
#7 Опубликовано: 05.01.2024 18:57:11
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
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
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.
Файл не найден.Файл не найден.
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
WroteFor 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:
Even though I have the Maxima plugin installed.
I also get this message:
What's in this bat file?
Any idea why am I getting these errors?
#10 Опубликовано: 10.01.2024 04:19:21
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
1 страниц (10 вхождений)
-
Новые сообщения
-
Нет новых сообщений