I need to plot the following piecewise function for a mark scheme I'm writing, but I can't seem to get maple to plot it. I can define the function, but when I ask maple to plot it, it just hangs. Any help would be much appreciated. The function;(adsbygoogle = window.adsbygoogle || []).push({});

[tex]f(\theta):=

\left\{\begin{array}{lcr}

-\theta-\pi & \text{for} & \pi<\theta< 0 \\

\pi-\theta & \text{for} & 0<\theta<\pi

\end{array}\right.

\text{and}f(\theta+2\pi)=f(theta)[/tex]

And I use the following command to try and plot it ;

Thanks in advance.Code (Text):plot(f(theta),theta=-4*\pi..4*\pi, y=-4..4, discont=true);

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Maple Help

Loading...

Similar Threads - Maple Help | Date |
---|---|

Need help with maple programming | Nov 20, 2015 |

Some very basic Maple help (numtheory) | Nov 6, 2013 |

Help with Octave | Jun 3, 2011 |

Help Plotting a Piecewise Graph(in Maple) But No Range is Given | Feb 1, 2011 |

Maple help please | Jun 24, 2009 |

**Physics Forums - The Fusion of Science and Community**