Skip to main content
5-Regular Member
January 27, 2014
Solved

Bound a function on a plot of the same variable

  • January 27, 2014
  • 1 reply
  • 1074 views

Hello again community,

I have another question regarding the MathCad program. This time it is regarding the bounding of multiple functions of the same variable. Please see the attached spreadsheet.

I have notated on the side what the bounds of each function are for when it is true. I can see that the functions look to be in the right direction for the problem. I would however, like a neat way to bound each function on the graph so that TL is just on the negative side and TR is only on the right side of zero. I'm not sure if this is possible in the given format.

Any help is appreciated.

Best answer by Werner_E

See attached for some ways to achieve what you want.

Basically you can use range variables for plotting to limit the range for every function individually or you use if-statements/if-functions (or maybe even the Heaviside step function) in your functiondefinition(s) to limit the function output to the preferred range.

Lookup "Plotting piecewise functions" in the help for further information.

1 reply

Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
January 27, 2014

See attached for some ways to achieve what you want.

Basically you can use range variables for plotting to limit the range for every function individually or you use if-statements/if-functions (or maybe even the Heaviside step function) in your functiondefinition(s) to limit the function output to the preferred range.

Lookup "Plotting piecewise functions" in the help for further information.