Mathcad Toolbox

Mathcad Toolbox - Contains analogs of functions from Mathcad - Messaggi

#81 Pubblicato: 06/12/2018 05:36:46
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
sergio 06/12/2018 06:45:00, frapuano 06/12/2018 06:58:00, Radovan Omorjan 06/12/2018 09:33:00, Alvaro 06/12/2018 10:09:00
#82 Pubblicato: 06/12/2018 06:01:27
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

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

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

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Updated.

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

2018-12-24_13-43-45.png iode.test1.png iode.test2.png 2018-12-24_13-32-46.png

iode.examples.sm (204,21 KiB) scaricato 2328 volta(e).
iode.kinetic1.sm (7,75 KiB) scaricato 2277 volta(e).
iode.kinetic2.sm (14,4 KiB) scaricato 2133 volta(e).
iode.kinetic3.sm (14,08 KiB) scaricato 7097 volta(e).
iode.integrate.sm (10,57 KiB) scaricato 7057 volta(e).
iode.test1.sm (22,49 KiB) scaricato 2118 volta(e).
iode.test2.sm (22,5 KiB) scaricato 2266 volta(e).
iode.Amplitude detector.sm (20,18 KiB) scaricato 2208 volta(e).

iode.examples.pdf (416,34 KiB) scaricato 1318 volta(e).
iode.kinetic1.pdf (74,06 KiB) scaricato 1139 volta(e).
iode.kinetic2.pdf (90,4 KiB) scaricato 1132 volta(e).
iode.kinetic3.pdf (88,45 KiB) scaricato 1156 volta(e).
iode.integrate.pdf (88,91 KiB) scaricato 1218 volta(e).
iode.test1.pdf (116,24 KiB) scaricato 1176 volta(e).
iode.test2.pdf (121,64 KiB) scaricato 1131 volta(e).
iode.Amplitude detector.pdf (147,71 KiB) scaricato 1215 volta(e).
Russia ☭ forever, Viacheslav N. Mezentsev
4 utenti hanno apprezzato questo post
sergio 24/12/2018 06:25:00, NDTM Amarasekera 24/12/2018 09:43:00, frapuano 24/12/2018 14:23:00, Radovan Omorjan 24/12/2018 14:51:00
#84 Pubblicato: 16/01/2019 06:05:17
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Updated. Rkadapt() fixed.

2019-01-16_14-04-39.png
Russia ☭ forever, Viacheslav N. Mezentsev
3 utenti hanno apprezzato questo post
sergio 16/01/2019 06:31:00, NDTM Amarasekera 16/01/2019 07:32:00, frapuano 16/01/2019 06:25:00
#85 Pubblicato: 31/01/2019 17:43:52
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 Pubblicato: 11/02/2019 09:36:21
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
frapuano 11/02/2019 13:49:00, Radovan Omorjan 11/02/2019 10:58:00
#87 Pubblicato: 11/02/2019 11:01:58
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: 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 Pubblicato: 11/02/2019 15:52:40
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 11/02/2019 16:35:16
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
frapuano 12/02/2019 06:00:00
#90 Pubblicato: 11/02/2019 16:52:19
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 11/07/2021 00:23:42
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: 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 Pubblicato: 11/07/2021 01:20:49
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Yes, it is possible.
Russia ☭ forever, Viacheslav N. Mezentsev
1 utenti hanno apprezzato questo post
Alvaro 11/07/2021 02:41:00
#93 Pubblicato: 26/11/2021 00:11:56
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
Davide Carpi 29/11/2021 06:40:00, Alvaro 26/11/2021 04:23:00
#94 Pubblicato: 28/11/2021 15:47:31
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
Davide Carpi 29/11/2021 06:40:00
#95 Pubblicato: 28/11/2021 16:42:18
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 Pubblicato: 28/11/2021 18:49:59
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 Pubblicato: 29/11/2021 02:43:07
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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,84 KiB) scaricato 508 volta(e).

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

2021-11-29_11-14-27.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 utenti hanno apprezzato questo post
Davide Carpi 29/11/2021 06:40:00
#98 Pubblicato: 29/11/2021 20:31:00
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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,71 KiB) scaricato 2762 volta(e).
Russia ☭ forever, Viacheslav N. Mezentsev
#99 Pubblicato: 29/11/2021 21:30:48
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 30/11/2021 01:28:14
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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.
  • Nuovi post
  • Nessun nuovo post