cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

How do I get my if/else function to graph properly

GG_10575687
2-Explorer

How do I get my if/else function to graph properly

GG_10575687_0-1675743063229.png

GG_10575687_1-1675743084089.png

I have defined every variable except for Lb. I thought with it being defined as an independent variable in the function, Mathcad would understand to vary it from 0 to basically infinity. If not, how do I define Lb to work like that. Thanks.

 

 

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:GG_10575687)

Primes so called "quickplot" (where you do not define the independent abscissa argument) only works for unit-less variables.
Once you use units you also have to provide your own range for this variable. To define a range with units, you must provide its first, second and last value as ttokoro had shown.

Furthermore on the ordinate you do not just place the function name but you have to write MnA992(Lb). You have to type the parentheses yourself as the parentheses in the plot are for the desired units only.

 

P.S.: In future questions remember to attach your worksheet whenever possible!

View solution in original post

2 REPLIES 2
ttokoro
20-Turquoise
(To:GG_10575687)

Before your plot you should do, 

 

image.png

image.png

Werner_E
25-Diamond I
(To:GG_10575687)

Primes so called "quickplot" (where you do not define the independent abscissa argument) only works for unit-less variables.
Once you use units you also have to provide your own range for this variable. To define a range with units, you must provide its first, second and last value as ttokoro had shown.

Furthermore on the ordinate you do not just place the function name but you have to write MnA992(Lb). You have to type the parentheses yourself as the parentheses in the plot are for the desired units only.

 

P.S.: In future questions remember to attach your worksheet whenever possible!

Announcements

Top Tags