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 КиБ) скачан 475 раз(а).Laplace Numerical Algo Style READ 2nd.sm (30,85 КиБ) скачан 441 раз(а).Laplace Numerical Algo Style RLC Damped.sm (25,94 КиБ) скачан 447 раз(а).Laplace Numerical Algo Style READ 1rst.sm (83,8 КиБ) скачан 471 раз(а).Laplace Numerical Algo Style RLC.sm (85,93 КиБ) скачан 442 раз(а).Laplace Numerical Algo Style PID [Plot].sm (37,22 КиБ) скачан 401 раз(а).Laplace Numerical Algo Style PID.sm (37,75 КиБ) скачан 465 раз(а).