dotdkay

0 Reputation

One Badge

14 years, 286 days

MaplePrimes Activity


These are questions asked by dotdkay

Hi,

Im trying to plot the piecewise function that looks like this:

(1-x^2)/((x-1)(x-3)) for x<1 and x>3

x for x=1..3

 

I have entered the function like this:

f:=x-> piecewise(x < 1, ((1-x^2)/(x-1)(x-3)), x = 1 .. 3, x, 3 < x, (1-x^2)/(x-1)(x-3));plot(f);

And plotting it with:

plot(f);

And then i get this result:

Page 1 of 1