Function and units

Function and units - Сообщения

#1 Опубликовано: 23.05.2019 15:53:20
mgklein

mgklein

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

Группа: User

Hello.

I've been following several posts for Q&A for some days about my doubts, but one about Units is not yet solved.

I've been trying to solve a simple problem for air density to practice.
The units always stand in my way and I am interested in how you guys would solve this: ignoring units and not using the built-in constants or make everything converted before handling the problem?

My sheet and the problem I'm trying to get the same results are in the images below.

Is there a way to make the function in a programming line ? Like the other software?

Couldn't get the answers by other's questionings.

Thanks in advance.

smath.jpg

smath2.jpg


#2 Опубликовано: 23.05.2019 16:18:03
Вячеслав Мезенцев

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

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

Группа: Moderator

Try this.

Barometric formula.sm (9 КиБ) скачан 31 раз(а).

2019-05-24_00-17-48.png
Russia ☭ forever, Viacheslav N. Mezentsev
#3 Опубликовано: 23.05.2019 16:23:32
mgklein

mgklein

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

Группа: User

Thanks!

I'll try it myself and see if it works.
#4 Опубликовано: 23.05.2019 16:27:09
Вячеслав Мезенцев

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

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

Группа: Moderator

As for the odesolve block it not yet finished. You must use functions like rkfixed() to solve the ODE.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 Опубликовано: 23.05.2019 16:38:19
mgklein

mgklein

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

Группа: User

Good to know.

I'll try it.

Thanks
#6 Опубликовано: 23.05.2019 19:36:46
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Is there a way to make the function in a programming line ? Like the other software?


Just lost my long reply ...
The only possible programming line is the conditional .
NO software can't calculate otherwise than by segment
because Air is not an homogeneous media. So, NO single
formula, NO ODE can represent.
The attached will give you specific kg/m³ up to 85 km geopotential.
Naturally, don't put any units in there. Append unit in result.
Please don't hesitate for more Q & A

Cheers ... Jean

The 3 segments collected page 6/6

Inst_ISA.sm (138 КиБ) скачан 37 раз(а).






#7 Опубликовано: 23.05.2019 20:43:12
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

The 3 segments collected page 6/6


Maybe there was a typo in the attached document.
Please: check, correct as needed.

Typo.PNG

#8 Опубликовано: 23.05.2019 21:36:56
mgklein

mgklein

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

Группа: User

Thanks.

I'll study the document.

#9 Опубликовано: 24.05.2019 00:22:17
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

I'll study the document.


The J(x) upper segment was borrowed directly from Mathcad 11.

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений