1 Pages (12 items)
Problem with simple 2D plot - Messages
#1 Posted: 7/19/2021 12:41:14 PM
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.
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.
#2 Posted: 7/19/2021 1:46:10 PM
WroteWhat 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 (15 KiB) downloaded 24 time(s).
#3 Posted: 7/19/2021 2:32:10 PM
#4 Posted: 7/19/2021 3:21:33 PM
WroteThanks 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
#5 Posted: 7/20/2021 8:22:45 AM
WroteHi 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 (25 KiB) downloaded 30 time(s).
Regards.
#6 Posted: 7/20/2021 11:21:04 AM
mg(x) More for Convenience.sm (17 KiB) downloaded 37 time(s).
#7 Posted: 7/27/2021 1:12:17 PM
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 (211 KiB) downloaded 33 time(s).
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 (211 KiB) downloaded 33 time(s).
#8 Posted: 7/27/2021 2:16:12 PM
WroteI 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.
#9 Posted: 7/27/2021 2:28:49 PM
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"
I mean, I don't know in what order I must click specific function to get this "function"
#10 Posted: 7/27/2021 2:50:21 PM
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)
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 please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#11 Posted: 7/27/2021 3:25:18 PM
1 Pages (12 items)
-
New Posts
-
No New Posts