Rank: Member Groups: Registered
Joined: 15/03/2023(UTC) Posts: 14
|
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. Edited by user 03 January 2024 15:23:25(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
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 (27kb) downloaded 5 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
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 |
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2023(UTC) Posts: 14
|
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? Edited by user 04 January 2024 08:40:20(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Giddyup Am I even using Maple(solve) correctly ? Not for solving your system respectively ... mutual Smath/Maple codes Jean Worksheet39.sm (5kb) downloaded 6 time(s).
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2023(UTC) Posts: 14
|
Originally Posted by: Jean Giraud Originally Posted by: Giddyup Am I even using Maple(solve) correctly ? Not for solving your system respectively ... mutual Smath/Maple codes Jean Worksheet39.sm (5kb) downloaded 6 time(s). 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?
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
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
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
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. Worksheet39_Kr.sm (9kb) downloaded 8 time(s). |
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Member Groups: Registered
Joined: 15/03/2023(UTC) Posts: 14
|
Originally Posted by: mkraska 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. Worksheet39_Kr.sm (9kb) downloaded 8 time(s). 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?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1127 time(s) in 723 post(s)
|
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. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.