Parallel Piping Hazen Williams

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

#1 Опубликовано: 3 года назад
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 КиБ) скачан 130 раз(а).
Tuberias en Paralelo Hazen Williams.xmcd (26 КиБ) скачан 109 раз(а).


HW.jpg
#2 Опубликовано: 3 года назад
Вячеслав Мезенцев

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

1 408 сообщений из 1 710 понравились пользователям.

Группа: 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 3 года назад, sergio 3 года назад
#3 Опубликовано: 3 года назад
overlord

overlord

558 сообщений из 1 335 понравились пользователям.

Группа: Moderator

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

Regards.

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

2022-03-22_21-26.png
2 пользователям понравился этот пост
Erick Valentino 3 года назад, Вячеслав Мезенцев 3 года назад
#4 Опубликовано: 3 года назад
Вячеслав Мезенцев

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

1 408 сообщений из 1 710 понравились пользователям.

Группа: Moderator

Or like this.

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

tuberias_uni.sm (12 КиБ) скачан 130 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Erick Valentino 3 года назад, overlord 3 года назад
#5 Опубликовано: 3 года назад
overlord

overlord

558 сообщений из 1 335 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
Вячеслав Мезенцев

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

1 408 сообщений из 1 710 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
Jean Giraud

Jean Giraud

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

Группа: 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 КиБ) скачан 109 раз(а).
#8 Опубликовано: 3 года назад
overlord

overlord

558 сообщений из 1 335 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
Вячеслав Мезенцев

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

1 408 сообщений из 1 710 понравились пользователям.

Группа: 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 3 года назад
#10 Опубликовано: 3 года назад
Вячеслав Мезенцев

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

1 408 сообщений из 1 710 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
overlord

overlord

558 сообщений из 1 335 понравились пользователям.

Группа: 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 Опубликовано: 3 года назад
Вячеслав Мезенцев

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

1 408 сообщений из 1 710 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений