Mathcad Toolbox

Mathcad Toolbox - Contains analogs of functions from Mathcad - Messages

#81 Posted: 12/6/2018 5:36:46 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Updated. Now you can also use simple form for D() function definition.

2018-12-06_13-33-54.png
Russia ☭ forever, Viacheslav N. Mezentsev
4 users liked this post
frapuano 12/6/2018 6:58:00 AM, Radovan Omorjan 12/6/2018 9:33:00 AM, Alvaro Diaz Falconi 12/6/2018 10:09:00 AM, sergio 12/6/2018 6:45:00 AM
#82 Posted: 12/6/2018 6:01:27 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

But x in D(t,x) is vector.

2018-12-06_14-00-22.png
Russia ☭ forever, Viacheslav N. Mezentsev
#83 Posted: 12/24/2018 5:33:39 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Updated.

Now x in simple D(t,x) definition must be a scalar.

[albumimg]1558[/albumimg] [albumimg]1568[/albumimg] [albumimg]1569[/albumimg] [albumimg]1557[/albumimg]

iode.examples.sm (204 KiB) downloaded 272 time(s).
iode.kinetic1.sm (7 KiB) downloaded 178 time(s).
iode.kinetic2.sm (14 KiB) downloaded 157 time(s).
iode.kinetic3.sm (14 KiB) downloaded 164 time(s).
iode.integrate.sm (10 KiB) downloaded 176 time(s).
iode.test1.sm (22 KiB) downloaded 166 time(s).
iode.test2.sm (22 KiB) downloaded 162 time(s).
iode.Amplitude detector.sm (20 KiB) downloaded 166 time(s).

iode.examples.pdf (416 KiB) downloaded 234 time(s).
iode.kinetic1.pdf (74 KiB) downloaded 147 time(s).
iode.kinetic2.pdf (90 KiB) downloaded 126 time(s).
iode.kinetic3.pdf (88 KiB) downloaded 131 time(s).
iode.integrate.pdf (88 KiB) downloaded 162 time(s).
iode.test1.pdf (116 KiB) downloaded 133 time(s).
iode.test2.pdf (121 KiB) downloaded 132 time(s).
iode.Amplitude detector.pdf (147 KiB) downloaded 138 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
4 users liked this post
NDTM Amarasekera 12/24/2018 9:43:00 AM, frapuano 12/24/2018 2:23:00 PM, Radovan Omorjan 12/24/2018 2:51:00 PM, sergio 12/24/2018 6:25:00 AM
#84 Posted: 1/16/2019 6:05:17 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Updated. Rkadapt() fixed.

2019-01-16_14-04-39.png
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
sergio 1/16/2019 6:31:00 AM, NDTM Amarasekera 1/16/2019 7:32:00 AM, frapuano 1/16/2019 6:25:00 AM
#85 Posted: 1/31/2019 5:43:52 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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.
Russia ☭ forever, Viacheslav N. Mezentsev
#86 Posted: 2/11/2019 9:36:21 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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.

2019-02-07_21-20-14.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
frapuano 2/11/2019 1:49:00 PM, Radovan Omorjan 2/11/2019 10:58:00 AM
#87 Posted: 2/11/2019 11:01:58 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

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!"
#88 Posted: 2/11/2019 3:52:40 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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 ?

#89 Posted: 2/11/2019 4:35:16 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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.

2019-02-12_00-31-07.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
frapuano 2/12/2019 6:00:00 AM
#90 Posted: 2/11/2019 4:52:19 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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.

#91 Posted: 7/11/2021 12:23:42 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

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

Clipboard01.jpg

Also, it is possible too to add the option for mark with a round box the area?

Best regards.
Alvaro.
#92 Posted: 7/11/2021 1:20:49 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Yes, it is possible.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Alvaro Diaz Falconi 7/11/2021 2:41:00 AM
#93 Posted: 11/26/2021 12:11:56 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Coming soon, but for now as an experiment.

2021-11-26_08-05-44.png

2021-11-26_08-07-40.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Davide Carpi 11/29/2021 6:40:00 AM, Alvaro Diaz Falconi 11/26/2021 4:23:00 AM
#94 Posted: 11/28/2021 3:47:31 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

I have verified that linear interpolation is used, which is described in the manual.

2021-11-28_23-43-07.png

I changed the interpolation method to linear and also changed the notation of the derivative by analogy ( "`" ).

2021-11-28_23-36-57.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Davide Carpi 11/29/2021 6:40:00 AM
#95 Posted: 11/28/2021 4:42:18 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Prime symbol looks much better (′). I think it's better to use it.

2021-11-29_00-40-09.png
Russia ☭ forever, Viacheslav N. Mezentsev
#96 Posted: 11/28/2021 6:49:59 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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.

2021-11-29_02-47-35.png
Russia ☭ forever, Viacheslav N. Mezentsev
#97 Posted: 11/29/2021 2:43:07 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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).

2021-11-29_10-38-51.png

Odesolve interpolation test.mcd.zip (8 KiB) downloaded 61 time(s).

The same for Mathcad Prime 7.0 (Adams method used).

2021-11-29_11-14-27.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Davide Carpi 11/29/2021 6:40:00 AM
#98 Posted: 11/29/2021 8:31:00 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

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.

2021-11-30_04-24-52.png

Links:

1. Cubic spline
2. Cubic Spline Interpolation

Cubic spline interpolation using Mathcad (2009).pdf (256 KiB) downloaded 112 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
#99 Posted: 11/29/2021 9:30:48 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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.
#100 Posted: 11/30/2021 1:28:14 AM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

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.
  • New Posts New Posts
  • No New Posts No New Posts