An error by calculation

An error by calculation - Help please - Messaggi

#1 Pubblicato: 14/07/2023 03:41:16
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

See please the attach.
n<=21 - all OK!

n>21 - not OK

Why?

TubeMChS.sm (66,92 KiB) scaricato 1417 volta(e).
#2 Pubblicato: 14/07/2023 03:58:39
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Указать численную оптимизацию.

An error by calculation (Ochkov).png
Russia ☭ forever, Viacheslav N. Mezentsev
1 utenti hanno apprezzato questo post
Valery Ochkov 14/07/2023 04:09:00
#3 Pubblicato: 14/07/2023 04:09:23
Valery Ochkov

Valery Ochkov

67 apprezzamenti in 713 post.

Gruppo: User

Wrote

Указать численную оптимизацию.

An error by calculation (Ochkov).png



Спасибо!
И много таких подводных камней в SMath?
#4 Pubblicato: 14/07/2023 12:00:36
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Wrote

... И много таких подводных камней в SMath?



Hi. That's not SMath pitfalls. It's a feature: SMath remembers the intermediate steps of what it's calculating, unless you tell it to forget them, with eval. This also usually speeds up the following steps.

Clipboard01.png

Best regards.
Alvaro.
  • Nuovi post
  • Nessun nuovo post