Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline mgklein  
#1 Posted : 23 May 2019 21:53:20(UTC)
mgklein


Rank: Member

Groups: Registered
Joined: 23/05/2019(UTC)
Posts: 10
Man
Brazil
Location: Brazil

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


Offline uni  
#2 Posted : 23 May 2019 22:18:03(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 906
Man
Russian Federation

Was thanked: 810 time(s) in 462 post(s)
Try this.

Barometric formula.sm (10kb) downloaded 6 time(s).

2019-05-24_00-17-48.png
Russia forever!
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
Offline mgklein  
#3 Posted : 23 May 2019 22:23:32(UTC)
mgklein


Rank: Member

Groups: Registered
Joined: 23/05/2019(UTC)
Posts: 10
Man
Brazil
Location: Brazil

Thanks!

I'll try it myself and see if it works.
Offline uni  
#4 Posted : 23 May 2019 22:27:09(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 906
Man
Russian Federation

Was thanked: 810 time(s) in 462 post(s)
As for the odesolve block it not yet finished. You must use functions like rkfixed() to solve the ODE.
Russia forever!
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
Offline mgklein  
#5 Posted : 23 May 2019 22:38:19(UTC)
mgklein


Rank: Member

Groups: Registered
Joined: 23/05/2019(UTC)
Posts: 10
Man
Brazil
Location: Brazil

Good to know.

I'll try it.

Thanks
Offline Jean Giraud  
#6 Posted : 24 May 2019 01:36:46(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,705
Canada

Was thanked: 686 time(s) in 535 post(s)
Originally Posted by: mgklein Go to Quoted Post
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 (139kb) downloaded 14 time(s).






Offline Jean Giraud  
#7 Posted : 24 May 2019 02:43:12(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,705
Canada

Was thanked: 686 time(s) in 535 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
The 3 segments collected page 6/6

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

Typo.PNG

Offline mgklein  
#8 Posted : 24 May 2019 03:36:56(UTC)
mgklein


Rank: Member

Groups: Registered
Joined: 23/05/2019(UTC)
Posts: 10
Man
Brazil
Location: Brazil

Thanks.

I'll study the document.

Offline Jean Giraud  
#9 Posted : 24 May 2019 06:22:17(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,705
Canada

Was thanked: 686 time(s) in 535 post(s)
Originally Posted by: mgklein Go to Quoted Post
I'll study the document.

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

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.