Re: simple question for mathematica tool
- To: mathgroup at smc.vnet.net
- Subject: [mg106878] Re: simple question for mathematica tool
- From: "Nasser M. Abbasi" <nma at 12000.org>
- Date: Tue, 26 Jan 2010 06:32:38 -0500 (EST)
- References: <hjh80d$qtc$1@smc.vnet.net>
"MANOLIS VOSKAKIS" <emperor_mvs at hotmail.com> wrote in message news:hjh80d$qtc$1 at smc.vnet.net... > we have an equation tha is divided in to sub equations > f=150 when 0<x15 > f=x^3 when 15<x24 > > how can i create a plot in mathematica?? > i want all in 1 graph > > thanks alot > manoli > may be use Piecewise? f = Piecewise[{ {150 , 0<x<=15}, {x^3 , 15<x<24} }] Plot[f,{x,0,24}] --Nasser