Parallel Piping Hazen Williams

Parallel Piping Hazen Williams - mathcad to mathstudio - Сообщения

#1 Опубликовано: 22.03.2022 09:10:34
Erick Valentino

Erick Valentino

7 сообщений из 28 понравились пользователям.

Группа: User

Hello! What's up

I would like to know how I can replace the "given" command from Mathcad to SmathStudio, I know that such a command does not exist in SMATH and for that there are other tools

I just need to find the flows Q1 Q2 and Q3 from a parallel pipe using the Hazen Williams equation, without having to do as many expressions

Thank you very much

Another question... I was thinking of making tutorial videos preferably using SMath Studio over any other software called Mathcad, MathCad Prime, Maple, Matlab, Matematica, etc.
Can the new paid version still use the plugins MAPLE, Cool Proops, Maxima, etc. for free? Or will they have to pay for it?

thank you very much, you are a very cool community

Tuberias en Paralelo Hazen Williams.sm (13 КиБ) скачан 51 раз(а).
Tuberias en Paralelo Hazen Williams.xmcd (26 КиБ) скачан 27 раз(а).


[albumimg]1662[/albumimg]
#2 Опубликовано: 22.03.2022 10:20:17
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Цитата

I would like to know how I can replace the "given" command from Mathcad to SmathStudio, I know that such a command does not exist in SMATH and for that there are other tools


You can use Mathcad Block region for this.

Click to enlarge

Mathcad Block.png

Wrote

Can the new paid version still use the plugins MAPLE, Cool Proops, Maxima, etc. for free? Or will they have to pay for it?


All my plugins will remain free.
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Erick Valentino 22.03.2022 19:55:00, sergio 22.03.2022 17:33:00
#3 Опубликовано: 22.03.2022 15:26:58
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

AFAIK, roots() won't work with units.
You can use FindRoots() for that purpose.

Regards.

tuberias.sm (11 КиБ) скачан 30 раз(а).

2022-03-22_21-26.png
2 пользователям понравился этот пост
Erick Valentino 22.03.2022 19:55:00, Вячеслав Мезенцев 22.03.2022 17:34:00
#4 Опубликовано: 22.03.2022 17:35:27
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Or like this.

2022-03-23_01-33-32.png

tuberias_uni.sm (12 КиБ) скачан 44 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Erick Valentino 22.03.2022 19:55:00, overlord 22.03.2022 20:56:00
#5 Опубликовано: 22.03.2022 20:59:10
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

Or like this.


What the..? I didn't know you can use mathblock like this.
How FindRoot() can work under block with only one argument?
That is a very neat feature. Really appreciate you share this.
#6 Опубликовано: 23.03.2022 00:32:03
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

How FindRoot() can work under block with only one argument?


The first argument is implicitly substituted by the block itself. Then the function is called with two arguments.

Click to enlarge
Russia ☭ forever, Viacheslav N. Mezentsev
#7 Опубликовано: 24.03.2022 09:00:06
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I would like to know how I can replace the "given" command from Mathcad to SmathStudio, I know that such a command does not exist in SMATH and for that there are other tools


Given/Find/Maximize/Minimize/Minerr/ODEsolve
1. Given/Find ... inspect Butler attached
2. Given/Minerr ... from iterative Smath code
In many instances superior to Minerr.
Given/ODEsolve from very many Smath ODE solvers.
Visit the code from Viacheslav [Uni]

Solve Given_Find [CO2_6179 Butler] Copy.sm (165 КиБ) скачан 33 раз(а).
#8 Опубликовано: 24.03.2022 14:25:53
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

The first argument is implicitly substituted by the block itself. Then the function is called with two arguments.


Does mathcadblock could be used with al_nleqsolve() with this example?
And I think it would be nice if block can be inserted with command.
Not just from Insert menu, regards.
#9 Опубликовано: 24.03.2022 15:29:50
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

Does mathcadblock could be used with al_nleqsolve() with this example?


It can't be done directly. But in general it is possible. I can create generic functions Find and Minerr which can be customized to a specific function. Working with the Mathcad Block should be universal. The GNU Scientific Library has a number of functions for finding roots and minimizing. I want to first test the Mathcad Block on a set of different functions before offering a solution. Already existing solvers also need to be somehow connected in a universal way. Now I have not found a common approach to solve this problem as a whole.

1. One Dimensional Root-Finding
2. Multidimensional Root-Finding
3. One Dimensional Minimization
4. Multidimensional Minimization
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
sergio 25.03.2022 08:04:00
#10 Опубликовано: 24.03.2022 15:41:17
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

And I think it would be nice if block can be inserted with command.
Not just from Insert menu, regards.


I can add a keyboard shortcut. What about [Ctrl]+[Shift]+[B] ?
Russia ☭ forever, Viacheslav N. Mezentsev
#11 Опубликовано: 24.03.2022 15:57:55
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Wrote

The GNU Scientific Library has a number of functions for finding roots and minimizing.


Unfortunately GNU Scientific Library doesn't work with mono, so it is not usable under Linux.
I don't want to be rude but why it is called Mathcad Block?
MathBlock would suits it more, just a suggestion.
#12 Опубликовано: 24.03.2022 16:09:40
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

I don't want to be rude but why it is called Mathcad Block?


It is located in the Mathcad Toolbox plugin and was created to repeat the generalized ODE solver from Mathcad. This is made for the future for the converter. I hope that someday the converter from Mathcad will be finalized and there should be unambiguous equivalents for it. Therefore, I try to fill the Mathcad Toolbox plugin with similar functions. There are many interesting documents and it would be great if they were completely converted. It would also make it easier to transfer documents and users

Wrote

MathBlock would suits it more, just a suggestion.


I specifically set this name so that it does not interfere with the appearance of another similar block. Perhaps, after using the block, an understanding will come of how to make it a more convenient. For this case we will reserve this name (MathBlock).
Russia ☭ forever, Viacheslav N. Mezentsev
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений