Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Updated. Now you can also use simple form for D() function definition. |
Russia ☭ forever Viacheslav N. Mezentsev |
4 users thanked uni for this useful post.
|
on 06/12/2018(UTC), on 06/12/2018(UTC), on 06/12/2018(UTC), on 06/12/2018(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
But x in D(t,x) is vector. |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
|
Russia ☭ forever Viacheslav N. Mezentsev |
4 users thanked uni for this useful post.
|
on 24/12/2018(UTC), on 24/12/2018(UTC), on 24/12/2018(UTC), on 24/12/2018(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Updated. Rkadapt() fixed. |
Russia ☭ forever Viacheslav N. Mezentsev |
3 users thanked uni for this useful post.
|
on 16/01/2019(UTC), on 16/01/2019(UTC), on 16/01/2019(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Updated ( >= SMath Studio 0.99.6970). Changes: - divided into two plugins (the second one is Intel ODE Solver Library); - version changed (0.2.x.x); - refactored. Edited by user 01 February 2019 04:01:14(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Some news. It's hard but I want to realize a general solution for some types of tasks. Specially for this I need more powerful symbolic engine inside SMath. Therefore I made symcs project. I hope that we can use this solution in other similar cases. That's why I split the plugin. |
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 11/02/2019(UTC), on 11/02/2019(UTC)
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
I think that most of the Mathcad users know what you intend to do and I really appreciate that Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: omorr I think that most of the Mathcad users know what you intend to do and I really appreciate that Viacheslav is an ancient Mathsoft visitor. I still have a document from Him ... 2D Implicit plot. Is possible to code 1/1 Mathcad Given/ODEsolve ?
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
No, Jean, 1/1 - not possible. Now they have two different realisations: MC11-MC15 and Prime. But I can do something similar. Plugin can implicity collect information about available ode solvers and you can choose them in the context menu. |
Russia ☭ forever Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: uni No, Jean, 1/1 - not possible. Now they have two different realisations: MC11-MC15 and Prime. But I can do something similar. Plugin can implicity collect information about available ode solvers and you can choose them in the context menu. I can see you "busy" ! Gorgeous context menu. What is that Smath Community doing: Building Cathedrals/Pyramids ? You mean: Mathcad Prime "cluster fuck" in US appreciation from Collab.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,439 Was thanked: 891 time(s) in 566 post(s)
|
Originally Posted by: uni Some news. It's hard but I want to realize a general solution for some types of tasks. Specially for this I need more powerful symbolic engine inside SMath. Therefore I made symcs project. I hope that we can use this solution in other similar cases. Hi uni. It is possible to enable a clone of that component for return only the expressions inside? For example, the set of the equations Also, it is possible too to add the option for mark with a round box the area? Best regards. Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
|
Russia ☭ forever Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Coming soon, but for now as an experiment. |
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 26/11/2021(UTC), on 29/11/2021(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
I have verified that linear interpolation is used, which is described in the manual. I changed the interpolation method to linear and also changed the notation of the derivative by analogy ( "`" ). |
Russia ☭ forever Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Prime symbol looks much better (′). I think it's better to use it. |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
I was wrong. Linear interpolation and linear spline interpolation are different things. I will try to find the formulas that are used in these functions. |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
A simple test that shows the interpolation method used by the ODE solver. Obviously, the lspline() function is used. Odesolve() with rkfixed method (Mathcad 15). Odesolve interpolation test.mcd.zip (9kb) downloaded 8 time(s).The same for Mathcad Prime 7.0 (Adams method used). Edited by user 29 November 2021 09:15:42(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,553 Was thanked: 1309 time(s) in 767 post(s)
|
Ok, I found a bug in rkfixed() and finally figured out the difference between interpolation functions. In the picture below, I repeated part of the calculations from Mathcad. As you can see, to interpolate the numerical solution of the ODE, a cubic spline is used, linear at the end points. Bugs will be fixed when the build server starts working. Links: 1. Cubic spline2. Cubic Spline Interpolation Cubic spline interpolation using Mathcad (2009).pdf (257kb) downloaded 40 time(s).Edited by user 30 November 2021 04:37:19(UTC)
| Reason: Not specified |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: uni Ok, I found a bug in rkfixed() and finally figured out the difference between interpolation functions. In the picture below, I repeated part of the calculations from Mathcad. As you can see, to interpolate the numerical solution of the ODE, a cubic spline is used, linear at the end points. Thanks Viacheslav ... superb demo. BTW, I was wrong ODEsolve is lspline MCD 11. Years ago, Tom G. had exposed the different deficiencies wrt to each l_p_c cubic spline ... Matlab as well. So, your next headache is to figure the best solver from the huge Smath library [17], Mathcad stiff is Radau MCD 2001i, 11. Cheers ... Jean.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,166 Was thanked: 529 time(s) in 355 post(s)
|
Originally Posted by: Jean Giraud BTW, I was wrong ODEsolve is lspline MCD 11. This day should be accepted as a milestone. We have to celebrate this day annually. There should be carnivals, fireworks should enlighten the night.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.