Hi Folks!

I'm starting to learn PTC Mathcad Prime 3.0 and I need to plot this function:

Attachment 30333

Can anyone help me?

Thanks a lot!

Printable View

- March 7th 2014, 06:10 PMGrundyHow I plot this function in Mathcad?
Hi Folks!

I'm starting to learn PTC Mathcad Prime 3.0 and I need to plot this function:

Attachment 30333

Can anyone help me?

Thanks a lot! - March 7th 2014, 06:51 PMromsekRe: How I plot this function in Mathcad?
There are two main ways I believe.

1) use a series of nested if functions. It should be pretty clear how to do this, just keep using if's in the false expression to evaluate the next interval possibility.

2) use the fact that boolean expressions evaluate to 1 and 0 for true and false. It would look like

$x(x<1)+3(x=1)+(2-x^2)(1<x\leq 2)+(x-3)(x>2)$ - March 13th 2014, 05:35 AMGrundyRe: How I plot this function in Mathcad?
It's working :D

Thanks a lot romsek!