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

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline GTR007  
#1 Posted : 19 July 2021 18:41:14(UTC)
GTR007

Rank: Newbie

Groups: Registered
Joined: 19/07/2021(UTC)
Posts: 2
Poland
Location: --

Hi everyone. In work I used MathCad, but when I heared about Smath Studio - I wanna try it at home. But..... I have problem. I want to rewrite one calculation sheet from MathCad to Smath.

Here is fragment from MathCad: 1.PNG


I try to rewrite the same calculation to Smath but I can't correctly generate plot: 2.PNG

What I do wrong? I can't find error. BTW: I can't apply "x" range like I made it in MathCad.Can someone help me? Maybe make simple working file with solution on my problem? I already don't have any idea... I try for few days after works.
Offline overlord  
#2 Posted : 19 July 2021 19:46:10(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 406
Turkey

Was thanked: 109 time(s) in 81 post(s)
Originally Posted by: GTR007 Go to Quoted Post
What I do wrong? I can't find error. BTW: I can't apply "x" range like I made it in MathCad.Can someone help me? Maybe make simple working file with solution on my problem? I already don't have any idea... I try for few days after works.

Here is your worksheet.
Smath don't have mathcad x define while plotting.
We generally augment x with results.
While unit version shall plot too, better to make eliminating a habbit.
PS: updated post with cases(), a simpler and easier if() replacement.

Regards

mg(x).sm (16kb) downloaded 4 time(s).

2021-07-20_01-48.png

Edited by user 20 July 2021 01:49:18(UTC)  | Reason: Not specified

Offline GTR007  
#3 Posted : 19 July 2021 20:32:10(UTC)
GTR007

Rank: Newbie

Groups: Registered
Joined: 19/07/2021(UTC)
Posts: 2
Poland
Location: --

Thanks MAN! Now I have starting point Good


How you define Mg? This arrow came from?
3.PNG

Edited by user 19 July 2021 20:53:53(UTC)  | Reason: Not specified

Offline overlord  
#4 Posted : 19 July 2021 21:21:33(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 406
Turkey

Was thanked: 109 time(s) in 81 post(s)
Originally Posted by: GTR007 Go to Quoted Post
Thanks MAN! Now I have starting point Good


How you define Mg? This arrow came from?

That is vectorize() function.
You can either type it as a function or select from toolbar.

Regards
Offline oscampo  
#5 Posted : 20 July 2021 14:22:45(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 149
Man
Location: Cali, Colombia

Was thanked: 46 time(s) in 33 post(s)
Originally Posted by: GTR007 Go to Quoted Post
Hi everyone. In work I used MathCad, but when I heared about Smath Studio - I wanna try it at home. But..... I have problem. I want to rewrite one calculation sheet from MathCad to Smath.
...


Hi!
Here is a little different way to express your model and find your answer, maybe it could be interesting:


BySingularityFunctions.png



You can download the Smath file here: BySingularityFunctions.sm (26kb) downloaded 7 time(s).

Regards.
Offline Jean Giraud  
#6 Posted : 20 July 2021 17:21:04(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 5,494
Canada

Was thanked: 846 time(s) in 676 post(s)
mg(x) More for Convenience.sm (18kb) downloaded 10 time(s).
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.