Message Boards Message Boards

GROUPS:

Multiplication of Piecewise functions

Posted 10 years ago
6700 Views
|
1 Reply
|
2 Total Likes
|
I have two separate Piecewise functions wit the same domain ranges.  Is it possible to get a third PWF  that is the product of the first two?
POSTED BY: Jose Calderon
p1 = Piecewise[{{1, x < 1}}, 2];
p2 = Piecewise[{{2, x > 2}}, 1];
p3 = PiecewiseExpand[p1*p2]
POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract