How to plot piecewise-defined functions on 'Derive6'?

In summary, to define a piecewise function in Derive6, use the "piecewise" command with two or more expressions and their corresponding conditions. To plot a piecewise function, use the "graph" command with the function and range of values. You can add multiple pieces to a piecewise function and edit or delete them using the "piece" command. To plot multiple piecewise functions on the same graph, use the "graph" command multiple times and use the "hold" command to compare them.
  • #1
tics
15
0

Homework Statement



Hi everyone. Can someone help me\demonstrate how piecewise-defined functions are plotted using Derive6.

I really appreciate all of you who takes your precious time to help us. May God richly bless you all.
 
Physics news on Phys.org
  • #2
tics said:

Homework Statement



Hi everyone. Can someone help me\demonstrate how piecewise-defined functions are plotted using Derive6.

I really appreciate all of you who takes your precious time to help us. May God richly bless you all.

Ok, I found a link to that: http://lineone.net" , but I'm still struggling with converting a piecewise function into a Heaviside function.
 
Last edited by a moderator:

FAQ: How to plot piecewise-defined functions on 'Derive6'?

How do I define a piecewise function in Derive6?

To define a piecewise function in Derive6, you will need to use the piecewise command. This command takes two or more expressions and their corresponding conditions as arguments, and combines them to create the piecewise function. For example, piecewise(x, x < 0, x^2, x >= 0) would define a piecewise function that outputs x when x is less than 0, and x^2 when x is greater than or equal to 0.

How can I plot a piecewise function in Derive6?

To plot a piecewise function in Derive6, you can use the graph command. This command takes the function to be graphed as its first argument, and the range of values for the independent variable as its second argument. For example, graph(piecewise(x, x < 0, x^2, x >= 0), -5, 5) would plot the piecewise function defined in the previous question over the range of -5 to 5.

Can I add more than two pieces to a piecewise function in Derive6?

Yes, you can add as many pieces as you need to a piecewise function in Derive6. Simply continue to add arguments to the piecewise command, alternating between the expressions and their corresponding conditions. However, be sure to include a condition for every expression, as omitting a condition will result in an error.

How do I edit or delete a piecewise function in Derive6?

To edit or delete a piecewise function in Derive6, you can use the piece command. This command allows you to modify the expressions and conditions of a piecewise function. To delete a piece, simply leave the expression and condition arguments blank.

Can I plot multiple piecewise functions on the same graph in Derive6?

Yes, you can plot multiple piecewise functions on the same graph in Derive6 by using the graph command multiple times. Each time you use the command, you can specify a different function to plot. Additionally, you can use the hold command to prevent the previous graph from being cleared when you plot a new function, allowing you to compare multiple piecewise functions on the same graph.

Similar threads

Replies
3
Views
1K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
14
Views
309
Replies
1
Views
2K
Replies
6
Views
2K
Replies
4
Views
1K
Replies
4
Views
1K
Back
Top