Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: controllers in manipulate
Replies: 5   Last Post: Oct 23, 2013 11:43 PM

 Messages: [ Previous | Next ]
 Tomas Garza Hernandez Posts: 264 Registered: 4/15/05
Re: controllers in manipulate
Posted: Oct 22, 2013 12:02 AM

An example: a circle with variable radius taking the integral values {1, 2, 3, 4, 5}, together with a circumscribed angle taking real values between Pi/4 and Pi/2:
Manipulate[Graphics[{Circle[{0,0},r],Line[{{r,0},{0,0},{r Cos[a],r Sin[a]}}]},PlotRange->{{-5,5.1},{-5,5}}],{{a,\[Pi]/4},\[Pi]/8,\[Pi]/2},{{r,1},{1,2,3,4,5}}]

-Tomas

> From: fgutiers2002@yahoo.com
> Subject: controllers in manipulate
> To: mathgroup@smc.vnet.net
> Date: Sun, 20 Oct 2013 23:38:46 -0400
>
>
> Dear Group:
>
> I have a Manipulate[f, ...], where f is a function of 2 variables, x and y
>
> x can get any real value, but y can only be an integer. How can I put the controls so that the control of x is a slider and the control of
> y is a radio button?
>
> Thanks!
>

Date Subject Author
10/22/13 Murray Eisenberg
10/22/13 Tomas Garza Hernandez
10/22/13 Bob Hanlon
10/23/13 Narasimham
10/23/13 Alexei Boulbitch