MATHCAD TO SMATH

MATHCAD TO SMATH - TROUBLE REWRITING FORMULAS IN SMATH - NOT A MATH WIZZ :( - Сообщения

#1 Опубликовано: 26.09.2019 11:39:21
DDB.CPI

DDB.CPI

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

Группа: User

Good morning Experts,

I have landed myself into a new IT/troubleshooting position at a new company and one of my first tasks is to resolve a many year long issue.

We have a very old laptop that contains two formulas for calculating Low pressure and High Pressure drops in Gas piping for construction work.
we have been using a very old version of mathcad and while surfing the web I came across Smath and i believe i should be able to perform the same executions with this software.

I tried to open the existing files into Smath but the equation no longer solves.

I believe my issue is finding the corresponding function from Mathcad to Smath.

The Mathcad function I am looking to for in Smath is "Find"

Find = Returns the values of var1, var2, ...., that solve a system of equations in a solve block. returns a scalar if there is only one argument, otherwise returns a vector of answers.

i am willing to send the files and share screenshots.

Hope to hear from the web soon!
#2 Опубликовано: 26.09.2019 12:13:03
DDB.CPI

DDB.CPI

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

Группа: User

HIGHPRESSURE.JPG

Jean,

attached is a screenshot of the High pressure formula. i do not believe this is proprietary to mathcad. it is just a formula based on building codes for construction.


Best Regards,
#3 Опубликовано: 26.09.2019 12:15:08
DDB.CPI

DDB.CPI

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

Группа: User

Jean,


we are trying to solve for OP and i have another one where we are trying to solve for PD but if i can manage to figure out how to fix one of them i think i should be able to get the Low pressure to work as well

GASHP.sm (10 КиБ) скачан 33 раз(а).
#4 Опубликовано: 26.09.2019 12:49:40
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,

Your problem seems to be quite simple and mentioned here on the Forum many times (maybe to many...).

Using solve()

GASHP-cor.png
GASHP-cor.sm (9 КиБ) скачан 25 раз(а).

Using FindRoot() from Numerical Solvers plugin

GASHP-cor1.png
GASHP-cor1.sm (10 КиБ) скачан 28 раз(а).

Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
2 пользователям понравился этот пост
frapuano 26.09.2019 13:33:00, NDTM Amarasekera 28.09.2019 13:10:00
#5 Опубликовано: 26.09.2019 17:08:53
DDB.CPI

DDB.CPI

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

Группа: User

Experts,


Thank you so much for the help. I have attached the other formula on this thread.

i still do not follow how to write a solve equation correctly.
GASLP.sm (7 КиБ) скачан 28 раз(а).
#6 Опубликовано: 28.09.2019 12:40:47
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Thank you so much for the help. I have attached the other formula on this thread.


Both Cox have an explicit solution.
GASLP tabulated for convenience and spline data table.

Jean

Project GASHP Cox Solved.sm (16 КиБ) скачан 34 раз(а).
Project GASLP Cox Solved.sm (43 КиБ) скачан 37 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений