Solved
Piecewise function plot
- May 5, 2020
- 5 replies
- 8601 views
Hello!
I am trying to plot the picewise function (attached).
Do I need to use "if" statement here or are there any other options?
I think that it should be something like this: if 0<x<0.3 then y=2, if 0.3<x<0.8 then y=-((x-0.3)/0.5)+2, if 0.8<x<1 then y=1.
Would anybody, please, help me with this issue?
Best regards,
Sergey


