Manipulate function
- To: mathgroup at smc.vnet.net
 - Subject: [mg100926] Manipulate function
 - From: Przemyslaw Swatek <pspsswatek at gmail.com>
 - Date: Thu, 18 Jun 2009 04:54:34 -0400 (EDT)
 
hi !
I have some problem (Mathematica 6) - when I type
Manipulate[Plot[If[x < 0, n Sin[x], Cos[x]], {x, -10, 10}], {n, 0, 1}]
all is ok, but when i try:
M[x_]:=If[x < 0, n Sin[x], Cos[x]], {x, -10, 10}] and then
Manipulate[Plot[M[x], {x, -10, 10}], {n, 0, 1}] it doesn`t work - I
cannot manipulate varible of n. Whay ?
- Follow-Ups:
- Re: Manipulate function
- From: DrMajorBob <btreat1@austin.rr.com>
 
 
 - Re: Manipulate function