Message Boards Message Boards

0
|
1905 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Is there a limit to number of Piecewise arguments allowed in W|A?

Posted 9 years ago

Hello:

In Alpha, I can successfully plot a piecewise function of 3 arguments but am unable to do so for one with 4 arguments.

Is this a systematic limitation or is there another way to plot?

Examples:

Plot[Piecewise[{{0.3* V,V<1000},{0.3* (1-.05)* V, 1000<=V<2500},{(0.3* (1-.05)^2)* V,2500<=V<3000},{(0.3* (1-.05)^3)* V,3000<=V}}],{V,0,4000}]
  • This does not work and returns, "Wolfram|Alpha doesn't understand your query"

    Plot[Piecewise[{{0.3* (1-.05)* V, 1000<=V<2500},{(0.3* (1-.05)^2)* V,2500<=V<3000},{(0.3* (1-.05)^3)* V,3000<=V}}],{V,0,4000}]`
    
  • This works fine.

Thanks!

POSTED BY: B W
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