Essentially, the attached examples are applied wrt parametric Laplace F(s)
Parameters are wild and only specified ahead of invoked invLaplace(F(s),t).
Thus, algo is reusable from the function definition collapsed.
[a, ns, nd] are external. All attached are mutual companions.
1. One example must be NOT tinit 0
2. Gfails on range 0 .. 15 but succeeds 0 .. 20.
All in all: works fine. Rather for classroom, but useful for applications,
as exemplified [PID modeling, TurboGen].
Thanks Oscar, Alvaro ... Jean
Laplace Numerical Algo Style XFR.sm (21,78 KiB) scaricato 1371 volta(e).Laplace Numerical Algo Style READ 2nd.sm (30,85 KiB) scaricato 1337 volta(e).Laplace Numerical Algo Style RLC Damped.sm (25,94 KiB) scaricato 1312 volta(e).Laplace Numerical Algo Style READ 1rst.sm (83,8 KiB) scaricato 1428 volta(e).Laplace Numerical Algo Style RLC.sm (85,93 KiB) scaricato 1339 volta(e).Laplace Numerical Algo Style PID [Plot].sm (37,22 KiB) scaricato 1175 volta(e).Laplace Numerical Algo Style PID.sm (37,75 KiB) scaricato 1321 volta(e).