1 страниц (6 вхождений)
divide by zero error - Сообщения
Hello to all.
I have a problem with the Smath function "dn_GearsBDF", it blocks the operation since giving me division by zero error.

How can I overcome this problem? MANOVRA (con parametri moto).sm (78,83 КиБ) скачан 228 раз(а).
I have a problem with the Smath function "dn_GearsBDF", it blocks the operation since giving me division by zero error.

How can I overcome this problem? MANOVRA (con parametri moto).sm (78,83 КиБ) скачан 228 раз(а).
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
Hello,
In dn_GearsBDF(init,0,end,100,D(x,Y)) replace zero with a small positive number (say 10^-10)
Regards,
Radovan
In dn_GearsBDF(init,0,end,100,D(x,Y)) replace zero with a small positive number (say 10^-10)
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Hi, thanks for the reply.
Instead if I have an error like: "value too big or too small for an Int32", how can I solve it?
Every time this error appears the program stops.

MANOVRA slalom (cinematica).sm (45,07 КиБ) скачан 225 раз(а).
Instead if I have an error like: "value too big or too small for an Int32", how can I solve it?
Every time this error appears the program stops.

MANOVRA slalom (cinematica).sm (45,07 КиБ) скачан 225 раз(а).
Always separate text from image or *.sm document,
as you did: can't reply quote !
as you did: can't reply quote !
WroteHi, thanks for the reply.
Instead if I have an error like: "value too big or too small for an Int32", how can I solve it?
Every time this error appears the program stops.
MANOVRA slalom (cinematica).sm (45,07 КиБ) скачан 225 раз(а).
10^10 was probably too small, you have to see, how small x can be for your derivative ψ''(x) still being defined. 0.01 works.
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
... doctoring starts at red ... observe removing 10^14 at some trig [0].
lot more cleanup below ... can you write λ instead of l
MANOVRA slalom (cinematica).sm (52,94 КиБ) скачан 209 раз(а).
lot more cleanup below ... can you write λ instead of l
MANOVRA slalom (cinematica).sm (52,94 КиБ) скачан 209 раз(а).
1 страниц (6 вхождений)
- Новые сообщения
- Нет новых сообщений