# Question:Physics: Bead on a rotating hoop

## Question:Physics: Bead on a rotating hoop

Maple 15

Hello,

I am working on a physics problem that involves a bead on roating hoop. You need to use Lagrangians to solve this problem but this is not where i am strugling. My school expects us to use maple because it is the program the provide but none of the teachers know how to usem it (they use mathmatica) so they cant help us. We have the equation: θ"= [ω2*cos(θ)-(g/R)]sin(θ) and the initial cond. θ'(0)=0 and θ(0)=θ0+1° and that ω2=2, g=R=1. We are asked to solve this equation of motion numerically and plot the solution. I have been tryin got teach myslef using google and this website but thought it might be better to post the question myself. My code thus far looks like this

 >
 (1)
 >
 >
 (2)
 >
 >
 (3)
 >
 (4)
 >
 >

I have tryed subbing in for R and g but i get an error like this: Error, (in f) unable to store HF (some nmber) when datatype=float[8]

Any help would be very much appreciated by myself and my classmates!

Thank you