Hi,
I want to plot
1) the phase portrait in a circle
and 2) thetadot versus theta for different values of mu.
for the differential equation \!(*OverscriptBox[([Theta]), (.)]) == [Mu]Sin[[Theta]] - Sin[2 [Theta]]
My code is not working as given below:
Clear [\[Theta]];
eqn=Overscript[\[Theta], .]==\[Mu]Sin[\[Theta]]-Sin[2\[Theta]]
sol=\[Theta]/.DSolve[{eqn,\[Theta][0]==0},\[Theta],t][[1,1]];
ParametricPlot[Evaluate[Table[Limit[{sol[t],D[sol[t],t]},\[Mu]->i],{i,{-3,-2,-1,0,1,2,3}}]],{t,0,100},AspectRatio->1,PlotRange->{{-5,5},{0,50}},PlotPoints->1000]
tTicks=Range[-24,24 30,24];
tGrid=Range[-60,24 30,6];
[Frame->True,FrameTicks->{tTicks,Automatic},FrameTicksStyle->Directive[Red,Thick],GridLines->{tGrid,Automatic},GridLinesStyle->LightGray,FrameLabel->(Style[#,14,Bold]&/@{\[Theta],Overscript[\[Theta],"."]}),AspectRatio->1]
Regards,