1 Pages (9 items)
maple(solve - bug? - Messages
#1 Posted: 9/22/2023 2:28:01 AM
I'm trying to solve an equation using the Maple(solve... But this operator gives the answer of the previous root search. See the picture. How to fix it?
Buff-CO2.sm (11 KiB) downloaded 29 time(s).
Buff-CO2.sm (11 KiB) downloaded 29 time(s).
#2 Posted: 9/22/2023 3:38:02 AM
You can replace the previous value with your content:

If a solution is not found, i.e. the command ended with an error, then the wrapper function does not overwrite the old contents of the temporary file that contains the result of the operation.
Perhaps this is a bug, it is not yet clear what should be returned in this case.
I looked at the code. It has error handling but has not been used. I'll try to rewrite this part to receive error messages in the normal way.
If a solution is not found, i.e. the command ended with an error, then the wrapper function does not overwrite the old contents of the temporary file that contains the result of the operation.
Perhaps this is a bug, it is not yet clear what should be returned in this case.
I looked at the code. It has error handling but has not been used. I'll try to rewrite this part to receive error messages in the normal way.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Valery Ochkov 9/22/2023 4:11:00 AM
#3 Posted: 9/22/2023 4:50:01 AM
#4 Posted: 9/22/2023 5:29:23 AM
WroteПростую задачу не могу решить!
В данном случае проблема в Δt. Я сделал поддержку только для δ. Старый maple ничего не знает про юникод, поэтому их прозрачное использование внутри maple() функции потребовало отдельного механизма кодирования. Я подумаю над тем, чтобы ввести и другие греческие символы. Сейчас только прописные будут работать.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Posted: 9/22/2023 5:52:42 AM
#6 Posted: 9/22/2023 6:06:07 AM
Что касается первого примера, то maple также не понимает внутреннего кодирования SMath Studio:
'HCO3-' имеет представление: 'HCO3\002D\'
Для обработки таких идентификаторов в функции maple() необходимо делать специальную поддержку в плагине. Теоретически это пожалуй возможно, но практически у меня нет времени заниматься такими экспериментами.
'HCO3-' имеет представление: 'HCO3\002D\'
Для обработки таких идентификаторов в функции maple() необходимо делать специальную поддержку в плагине. Теоретически это пожалуй возможно, но практически у меня нет времени заниматься такими экспериментами.
Russia ☭ forever, Viacheslav N. Mezentsev
#7 Posted: 9/22/2023 8:46:30 AM
The Maxima plugin also has quite some problems with exotic characters in names.
If such characters are encoded and the normal characters are not, then it should be no problem to recognize them as parts of a name and a fix might be possible, even given that the translation is purely based on string patterns.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#8 Posted: 9/22/2023 8:52:18 AM
#9 Posted: 9/22/2023 9:11:06 AM
WroteI'm trying to solve an equation using the Maple(solve...
Buff-CO2 Otherwise.sm (13 KiB) downloaded 31 time(s).
1 Pages (9 items)
-
New Posts
-
No New Posts