cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Mathcad vs SMath

ValeryOchkov
24-Ruby IV

Mathcad vs SMath

Our Mathcad Community forum has an Ideas section. They don't let me in there for political reasons. Thank God they're still allowed in here.
The best idea for Mathad is to take all the good things from SMath.
I will post pictures here describing some of the benefits of SMath over Mathad.
I ask those who have access to the Ideas section to transfer my drawings there.

114 REPLIES 114


@ValeryOchkov wrote:

See www.wsp.ru


В справке к пакету CoolProp написано немного по-другому.

uni_0-1680328743322.png

uni_1-1680328856258.png

uni_2-1680329261183.png

 

ValeryOchkov
24-Ruby IV
(To:uni)

ValeryOchkov
24-Ruby IV
(To:uni)

Almost everyone knows that the maximum density of water occurs at 4 degrees Celsius.
And almost no one knows that the minimum isobaric heat capacity of water occurs at the temperature of warm-blooded animals.

D-Cp-Water-T.png


@ValeryOchkov wrote:

Is satellite interception weak? With animation!

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

А перехват спутника слабо сделать? С анимацией!


uni_0-1680350584378.png

 

ValeryOchkov
24-Ruby IV
(To:uni)

Thanks, but without animation and I can!

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

Спасибо, но без анимации и я могу!

3-planets-Bouncing.gif8-planet-satelits.gif

Because I do it, no. This is not all that ODE solvers can do.

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

Так как я это делаю - нет. Это ещё не всё, что могут делать решатели ОДУ.

 

7-13-Three-Planets 2 (Mathcad Block).png

Анимация есть тут.

ValeryOchkov
24-Ruby IV
(To:uni)

Is it possible to push Minimize & Maximize into this block?

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

А можно Minimize & Maximize в этот блок запихнуть?

This block is not tied to solvers, it either collects expressions within itself and returns a system of them, or, if a function is specified, inserts the first parameter (system) into its expression and calls the resulting expression. The block itself does not perform any transformations with expressions. Its purpose is to pass its content as is to a variable or function. All examples with the block can be done without it, it just allows you to more freely set up the problem.

Knowing this, you can use the block as you wish without any restrictions. It is compatible with any solvers that take a system as the first parameter. Those. all numerical ODE solvers (~30-40 pieces) work with it. FindRoot() and solve() work in a similar way.

Examples are on the official forum, where the Mathcad Toolbox add-on is described.

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

Этот блок не привязан к решателям, он либо собирает выражения внутри себя и возвращает систему из них, либо, если указана функция, вставляет в её выражение первый параметр (систему) и вызывает получившееся выражение. Сам блок не выполняет никаких преобразований с выражениями. Его назначение - передать своё содержимое как есть переменной или функции. Все примеры с блоком можно выполнить и без него, он просто позволяет более свободно делать постановку задачи.

Зная это, можно использовать блок уже по своему усмотрению без каких либо ограничений. Он совместим с любыми решателями, которые в качестве первого параметра принимают систему. Т.е. с ним работают все численные решатели ОДУ (~30-40 шт). FindRoot() и solve() работают аналогичным способом.

Примеры находятся на официальном форуме, где описано дополнение Mathcad Toolbox.

 

uni_0-1680415852633.png

uni_1-1680415869153.png

uni_2-1680415891851.png

 

 

 

This is the third variant of solving the problem with interception. I tried to make it shorter, but the result began to differ, so I will not give it for now. This form of writing the problem allows you to do not a block, but the solver itself. More precisely, all such ODE solvers support it.

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

Это третий вариант решения задачи с перехватом. Я пробовал сделать короче, но результат стал отличаться, поэтому пока приводить его не буду. Такую форму записи задачи позволяет делать не блок, а сам решатель. Точнее говоря, все подобные решатели ОДУ её поддерживают.

 

7-13-Three-Planets 3 (Mathcad Block).png

uni
11-Garnet
11-Garnet
(To:uni)

Three alternative solutions for different accuracy.

 

7-13-Three-Planets 4 (Mathcad Block) v1.jpg

7-13-Three-Planets 4 (Mathcad Block) v2.jpg

7-13-Three-Planets 4 (Mathcad Block) v3.jpg

  

uni
11-Garnet
11-Garnet
(To:uni)

The shortest option.

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

Самый короткий вариант.

7-13-Three-Planets 5 (Mathcad Block).png

ValeryOchkov
24-Ruby IV
(To:uni)

Where were you before?

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

Где вы были раньше?

3-planets-Physiс-in-School.pdf (mpei.ac.ru)

SMath Studio differs from Mathcad in that it has a modular structure. It is necessary to track not only the version of the program itself, but also the versions of the add-ons used.
The other day I made a small correction in the ODE solver algorithm so that the shortest version can have the specified form. Previously, the document would not have worked in this form (it would have been a little larger).
At present, numerical ODE solvers cannot be used directly to solve systems in which higher derivatives cannot be derived explicitly. Here I gave an example of how this can be temporarily bypassed (Mathcad Block. RKA (Razonar).sm). The general algorithm has not yet been implemented.
All ODE solvers return not only the decision matrix, but also the desired functions, approximated using lspline.

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

SMath Studio отличается от Mathcad'а тем, что имеет модульное строение. Нужно отслеживать не только версию самой программы, но и версии используемых дополнений.
На днях я сделал небольшое исправление в алгоритме решателей ОДУ, чтобы самый короткий вариант мог иметь указанный вид. Раньше в таком виде документ бы не заработал (он был бы чуть больше).
В настоящее время численные решатели ОДУ не могут быть использованы напрямую для решения систем, в которых старшие производные не могут быть выведены явно. Я здесь приводил пример как это можно временно обойти (Mathcad Block. RKA (Razonar).sm). Общий алгоритм пока не реализован.
Все решатели ОДУ возвращают не только матрицу решений, но и искомые функции, аппроксимированные при помощи lspline.

Even shorter.

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

Ещё короче.

7-13-Three-Planets 6 (Mathcad Block).png

ValeryOchkov
24-Ruby IV
(To:uni)

Brevity is the soul of wit! (Anton Chekhov)

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

Краткость - сестра таланта! (Антон Чехов)

ValeryOchkov_1-1680594957089.png

 

 

ValeryOchkov
24-Ruby IV
(To:uni)

From my book Leo Tolstoy and Mathematics

But the three-body problem, in particular the one shown in Fig. 8.1 does not, strictly speaking, have a unique numerical solution either. If we change the method of integration applied to the solution of this problem to a system of second order differential equations with initial conditions (the so called Cauchy problem), then it may turn out that the blue satellite of the left red planet, after meeting with the right black planet, will not pass to a new orbit, but will remain in the old one, slightly changing the shape of the orbits (Fig. 8.2). Or it may turn out that this fatal meeting of the planets leads to the fact that all three celestial bodies will scatter in different directions ... How similar to life situations! The picture of a fatal meeting of a married couple with a third person (meeting of three celestial bodies) can change drastically even with a slight change in the initial conditions – the initial coordinates and initial velocities or the integration method.

In [14], the problem is also described about four celestial bodies: two planets with their satellites approach each other, exchange satellites and fly further “on their own business” (Fig. 8.3). The author of the book had two familiar married couples who almost simultaneously divorced and exchanged life partners - entered into new marriages. Divorce is now a rather routine bureaucratic procedure. And with Tolstoy, this is the tragic and unfinished storyline of the novel. But the simplicity of the current divorce is the other extreme. Another married couple, faced with a difficult divorce procedure, would have saved the marriage and would happily live on - endure, fall in love!

 

Andra Chirila! Get to work! How about translating the whole book?

 

Translated by Andra Chirila using Google Translate on April 6th, 2023
-----------------------------------------------------------------------------------------------

Из моей книги Лев Толстой и математика

Но задача о трех телах, в частности такая, какая показана на рис. 8.1, не имеет, строго говоря, и численного однозначного решения. Если сменить метод интегрирования, примененный к решению этой задачи – к системе дифференциальных уравнений второго порядка с начальными условиями (так называемая задача Коши), то может оказаться, что синий спутник левой красной планеты после встречи с правой черной планетой не перейдет на новую орбиту, а останется на старой, несколько изменив форму орбит (рис. 8.2). Или же может оказаться так, что эта роковая встреча планет приводит к тому, что все три небесных тела разлетятся в разные стороны… Как это похоже на жизненные ситуации! Картина роковой встречи супружеской пары с третьим человеком (встреча трех небесных тел) может кардинально меняться и при незначительном изменении начальных условий – исходных координат и начальных скоростей или метода интегрирования.

В [14] описана задача и о четырех небесных телах: две планеты со своими спутниками приближаются друг к другу, обмениваются спутниками и летят дальше «по своим делам» (рис. 8.3). У автора книги были две знакомые супружеские пары, которые почти одновременно развелись и обменялись спутниками жизни – заключили новые браки. Сейчас разводы – довольно рутинная бюрократическая процедура. А у Толстого это трагическая так и не законченная сюжетная линия романа. Но простота теперешнего развода – другая крайность. Иная супружеская пара, столкнувшись со сложной процедурой развода, сохранила бы брак и счастливо жила бы дальше – стерпится, слюбится!

 

Andra Chirila! За работу! А слабо всю книгу перевести?

ValeryOchkov
24-Ruby IV
(To:uni)

Bread and animations!

Translated by Andra Chirila using Google Translate on April 4th, 2023
--------------------------------------------------------------------------------------

Хлеба и анимаций!

I was interested in this community when Tom Gutman posted his sketches here. After changing the owner of the program, I stopped using Mathcad.
Prime uses makeup to sell himself.
In my region, I have to use a VPN to write these lines.
It's boring here and animations won't help here.

 

Translated by Andra Chirila using Google Translate on April 4th, 2023
-----------------------------------------------------------------------------------------------

Мне это комьюнити было интересно, когда Том Гутман выкладывал здесь свои этюды. После смены владельца программы я перестал пользоваться Mathcad'ом.
Prime использует макияж, чтобы себя продать.
В моём регионе мне приходится использовать VPN, чтобы писать эти строки.
Здесь скучно и анимации тут не помогут.

ValeryOchkov
24-Ruby IV
(To:uni)

Nah! Werner and I are having such cool discussions here!

The mysterious person is this Tom Goodman. Who was he, do you know? And where did it go?

 

Translated by Andra Chirila using Google Translate on April 5th, 2023
-----------------------------------------------------------------------------------------------

Неее! Мы тут с Вернером такие крутые дискуссии закручиваем!

Загадочная личность - этот Том Хорошийчеловек. Кем он был, не в курсе? И куда девался?

LucMeekes
23-Emerald III
(To:ValeryOchkov)

Well Valery,

 

Regarding this 'mysterious person'...

Do you remember this: https://community.ptc.com/t5/Mathcad/To-Tom-Gutman/m-p/44061

 

Success!
Luc

uni_0-1680328056200.png

 

uni
11-Garnet
11-Garnet
(To:uni)

New version from Alvaro.

ValeryOchkov
24-Ruby IV
(To:uni)

Oh yes, Ochkov, oh yes!

 

Translated by Andra Chirila using Google Translate on April 10th, 2023
-----------------------------------------------------------------------------------------------

Ай да, Очков, ай да сукин сын!

1. Can somebody tell what would be the advantages of using Mathcad Prime vs Smath?

 

2. Can somebody tell what would be the disadvantages of using Mathcad Prime vs Smath? 

 

Why would anyone use Mathcad Prime when there is Smath?

 

 

Not Mathcad OR SMath - Mathcad, SMath, Maple AND Mathematica (Math CAD)!

This answer does not say anything at what I asked.. 

Sorry.

25. Currency

Currency-Gold.png

26. Matrix operators and functions  😢

ColRow.png

27. SMath (as Maple and Mathematica) has a symbolic not numeric Math (as Mathcad)

6-Gr.png

 

Top Tags