1 pagine (6 elementi)
divide by zero error - Messaggi
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 KiB) scaricato 1195 volta(e).
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 KiB) scaricato 1195 volta(e).
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 KiB) scaricato 1284 volta(e).
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 KiB) scaricato 1284 volta(e).
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 KiB) scaricato 1284 volta(e).
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.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
... 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 KiB) scaricato 1200 volta(e).
lot more cleanup below ... can you write λ instead of l
MANOVRA slalom (cinematica).sm (52,94 KiB) scaricato 1200 volta(e).
1 pagine (6 elementi)
- Nuovi post
- Nessun nuovo post