maple(solve

maple(solve - bug? - Messages

#1 Posted: 9/22/2023 2:28:01 AM
Valery Ochkov

Valery Ochkov

55 likes in 633 posts.

Group: User

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?

Show Spoiler


Buff-CO2.sm (11 KiB) downloaded 28 time(s).
#2 Posted: 9/22/2023 3:38:02 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

You can replace the previous value with your content:

maple-empty.jpg

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
Valery Ochkov

Valery Ochkov

55 likes in 633 posts.

Group: User

Простую задачу не могу решить!

Show Spoiler


Buff-CO2.sm (11 KiB) downloaded 29 time(s).
#4 Posted: 9/22/2023 5:29:23 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Wrote

Простую задачу не могу решить!


В данном случае проблема в Δt. Я сделал поддержку только для δ. Старый maple ничего не знает про юникод, поэтому их прозрачное использование внутри maple() функции потребовало отдельного механизма кодирования. Я подумаю над тем, чтобы ввести и другие греческие символы. Сейчас только прописные будут работать.


maple-delta.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Posted: 9/22/2023 5:52:42 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

MapleTools updated, so now you can use Uppercase Greek Letters.

maple-delta.jpg

barin i muzhik.jpg

I haven't tested the new features, so problems may arise in some other places.
Russia ☭ forever, Viacheslav N. Mezentsev
#6 Posted: 9/22/2023 6:06:07 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Что касается первого примера, то maple также не понимает внутреннего кодирования SMath Studio:

'HCO3-' имеет представление: 'HCO3\002D\'

Для обработки таких идентификаторов в функции maple() необходимо делать специальную поддержку в плагине. Теоретически это пожалуй возможно, но практически у меня нет времени заниматься такими экспериментами.
Russia ☭ forever, Viacheslav N. Mezentsev
#7 Posted: 9/22/2023 8:46:30 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

2023-09-22 13_34_38-SMath Solver - [Buff-CO2.sm_].png

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
Valery Ochkov

Valery Ochkov

55 likes in 633 posts.

Group: User

It will be good for SMath as in Mathcad 15
Buff-CO2-MC15.png
#9 Posted: 9/22/2023 9:11:06 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I'm trying to solve an equation using the Maple(solve...



Buff-CO2 Otherwise.sm (13 KiB) downloaded 29 time(s).

  • New Posts New Posts
  • No New Posts No New Posts