WOLFRAM COMMUNITY
Connect with users of Wolfram technologies to learn, solve problems and share ideas
Join
Sign In
Dashboard
Groups
People
Message Boards
Answer
(
Unmark
)
Mark as an Answer
WOLFRAM COMMUNITY
Dashboard
Groups
People
0
|
7777 Views
|
1 Reply
|
2 Total Likes
View groups...
Follow this post
Share
Share this post:
GROUPS:
Mathematica
Wolfram Language
Multiplication of Piecewise functions
Jose Calderon
Jose Calderon, University of Puerto Rico
Posted
12 years ago
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
Reply
|
Flag
1 Reply
Sort By:
Replies
Likes
Recent
2
Frank Kampas
Frank Kampas, Physicist at Large Consulting
Posted
12 years ago
p1 = Piecewise[{{1, x < 1}}, 2];
p2 = Piecewise[{{2, x > 2}}, 1];
p3 = PiecewiseExpand[p1*p2]
POSTED BY:
Frank Kampas
Reply
|
Flag
Reply to this discussion
in reply to
Add Notebook
Community posts can be styled and formatted using the
Markdown syntax
.
Tag limit exceeded
Note: Only the first five people you tag will receive an email notification; the other tagged names will appear as links to their profiles.
Publish anyway
Cancel
Reply Preview
Attachments
Remove
Add a file to this post
Follow this discussion
or
Discard
Group Abstract
Be respectful. Review our
Community Guidelines
to understand your role and responsibilities.
Community Terms of Use
Feedback