Plotting piecewise functions in Maple without specified ranges

2 replies · 4K views · last reply
samMD
Messages
5
Reaction score
0
I need to know the command to how to plot a piecewise function graph, All the ones I have found successfully plot but they "ranges" to go with the domain value.

The Two I have to graph don't have ranges or just have x(not equal to)= 0 or x=0

(Graphs are) attached

thanks
 
Attachments
  • Two piecewise function definitions: f(x) = x sin(1/x) if x ≠ 0, and 0 if x = 0; and f(x) = x² sin(1/x) if x ≠ 0, and 0 if x = 0.
    cropped piecewise function.png
    3.5 KB · Views: 628
samMD said:
I need to know the command to how to plot a piecewise function graph, All the ones I have found successfully plot but they "ranges" to go with the domain value.
Do you mean "they have ranges to go with the domain"?
The range for both functions is all real numbers.
samMD said:
The Two I have to graph don't have ranges or just have x(not equal to)= 0 or x=0

(Graphs are) attached
The function formulas are attached, but not the graphs.
 
thanks that first part from you really helped it was like a lightbulb went off!