muzihc

10 Reputation

2 Badges

14 years, 302 days

MaplePrimes Activity


These are questions asked by muzihc

Hi,

I want to plot a function with a restricted domain, specifically f(x) = |x| if -Pi <= x < Pi.

I want to first define the function, then use it in the plot command.

I know to define the function f(x) = |x|, I do

f := x -> |x|

...but how do I tell Maple to include the domain, -Pi <= x < Pi?

Thank you.

Page 1 of 1