Rank: Newbie
Groups: Registered
Joined: 19/07/2021(UTC) Posts: 6 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: I try to rewrite the same calculation to Smath but I can't correctly generate plot: 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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
Originally Posted by: GTR007 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 11 time(s).Edited by user 20 July 2021 01:49:18(UTC)
| Reason: Not specified
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 19/07/2021(UTC) Posts: 6 Location: --
|
Thanks MAN! Now I have starting point How you define Mg? This arrow came from? Edited by user 19 July 2021 20:53:53(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
Originally Posted by: GTR007 Thanks MAN! Now I have starting point 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
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 238 Location: Cali, Colombia Was thanked: 79 time(s) in 60 post(s)
|
Originally Posted by: GTR007 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: You can download the Smath file here: BySingularityFunctions.sm (26kb) downloaded 15 time(s).Regards.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 19/07/2021(UTC) Posts: 6 Location: --
|
I try to make Mg(x) fragment on my own... How you done this? I wanna to have mm on plot "x". How can I change that? I'm trying to make this file in Smath ( Yi n'Yama n'syuc - Rolka jezdna.pdf (212kb) downloaded 11 time(s).Edited by user 27 July 2021 19:29:29(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: GTR007 I try to make Mg(x) fragment on my own... How you done this? Fragment as suggested 3 different ways. No system will respond to invented code.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 19/07/2021(UTC) Posts: 6 Location: --
|
I'm try to understeund how somebody write it... I can't reproduce that record.
I mean, I don't know in what order I must click specific function to get this "function"
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
The symbolic stuff is, from outer to inner: line( vectorize( cases(
cases is from "custom functions" plugin, therefore to have it in your functions you have to install the extension first.
line and vectorize are available also in the toolboxes on RHS of the worksheet area.
About unit scaling, divide by 'mm instead of 'm (a mm is 1/1000 m, so the output will be magnified by a 10E3 factor) |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: GTR007 I'm try to understand how somebody write it... I can't reproduce that record. I mean, I don't know in what order I must click specific function to get this "function" Here is the 4th code ... set 'n' as you wish to fragment.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 19/07/2021(UTC) Posts: 6 Location: --
|
Davide, that is what I'm talking about. Thanks man!
|
|
|
|
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.