maple(solve

maple(solve - bug? - Messaggi

#1 Pubblicato: 22/09/2023 02:28:01
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: 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?

Mostra spoiler


Buff-CO2.sm (11,32 KiB) scaricato 1446 volta(e).
#2 Pubblicato: 22/09/2023 03:38:02
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
Valery Ochkov 22/09/2023 04:11:00
#3 Pubblicato: 22/09/2023 04:50:01
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

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

Mostra spoiler


Buff-CO2.sm (11,32 KiB) scaricato 1390 volta(e).
#4 Pubblicato: 22/09/2023 05:29:23
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Wrote

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


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


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

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 Pubblicato: 22/09/2023 06:06:07
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

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

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

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

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: 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.


Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#8 Pubblicato: 22/09/2023 08:52:18
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

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

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

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



Buff-CO2 Otherwise.sm (13,79 KiB) scaricato 1444 volta(e).

  • Nuovi post
  • Nessun nuovo post