Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


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


Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

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: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Try this.

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

2019-05-24_00-17-48.png
Russia ☭ forever
Viacheslav N. Mezentsev
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: 1,493
Man
Russian Federation

Was thanked: 1274 time(s) in 745 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
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: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 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 19 time(s).






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

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 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: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 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.