1
In[34]:= sol = NDSolve@8x''@tD x@tDHy'@tDL ^2 - Hx@tD - 1L + 9.8, y''@tD - H2 x@tDL Hx'@tD y'@tDL - 9.8 y@tD x@tD, x@0D == x'@0D == y@0D y'@0D == 1<, 8x@tD,y@tD<, 8t, 0, 20<D Out[34]= 88x@tD InterpolatingFunction@880., 20.<<, <>D@tD, y@tD InterpolatingFunction@880., 20.<<, <>D@tD<< In[35]:= ParametricPlot@Evaluate@8x@tD Sin@y@tDD,x@tD Cos@y@tDD< . solD, 8t, 0, 20<, PlotRange AllD Out[35]= -4 -2 2 4 5 10 15 20

pendulo eslastico

Embed Size (px)

DESCRIPTION

Resolucion de un pendulo elestico

Citation preview

In[34]:=solNDSolvex''txt y't^2xt19.8,y''t2xt x't y't9.8 ytxt,x0x'0y0y'01, xt, yt, t, 0, 20Out[34]= xtInterpolatingFunction0., 20., t,ytInterpolatingFunction0., 20., tIn[35]:= ParametricPlotEvaluatext Sinyt, xt Cosyt . sol,t, 0, 20, PlotRangeAllOut[35]=4 2 2 45101520