Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Consider the model of an undamped nonlinear spring/mass system given by x"+8x-6x3+x5=0. Use a numericalsolver to discuss the nature of the oscillations of the system corresponding to the initial conditions:

x(0)=1,x'(0)=1;x(0)=-2,x'(0)=12x(0)=2,x'(0)=1;x(0)=2,x'(0)=12;x(0)=2,x'(0)=0;x(0)=-2,x'(0)=-1.

Short Answer

Expert verified

The results were deduced.

Step by step solution

01

To Find the equation

We have the undamped nonlinear spring/mass, which is given by

x"+8x-6x3+x5=0

with the initial boundary conditions

x(0)=1,x'(0)=1andx(0)=-2,x'(0)=12

x(0)=2,x'=1andx(0)=2,x'(0)=12

x(0)=2,x'(0)=0andx(0)=-2,x'(0)=-1

Our aim is to solve, numerically, the given differential equation, subjected the given boundary conditions. Using Mathematical, we have

ThefirstsetoftheboundaryconditionsWehave

ln[14]:=NDSolve[{x"[t]+8x[t]-6x[t]3+x[t]5=0,x[0]=1,x'[0]=1},x[t],{t,0,14}]

Out[14]={{x[t]InterpolatingFunctionDomain:{{0.,14.}}Output:scalar[t]}}

ln[15]:=NDSolve[x"[t]+8x[t]-6x[t]3+x[t]5=0,x[0]=-2,x'[0]=12,x[t],{t,0,14}]Out[15]={{x[t]InterpolatingFunctionDomain:{{0.,14.}}Output:scalar[t]}}

Plottingtheresults,yieldsln[17]:=Plot[Evaluate[x[t]/.%14],{t,0,14},PlotLegends"x(0)=1,x'(0)=1"]

ln[18]:=PlotEvaluate[x[t]]/.%15],{t,0,14},PlotLegends"x(0)=-2,x'(0)=12"

For the first initial conditions, the period of oscillations is

T4.5-0.5=4sandA1.2

For the second initial conditions, we have

T2.3-0.5=1.8sandA|-1.85-(-2)|=0.15

02

The two sets of the initial condition

The second set of the boundary conditions

We have

ln[19]:=NDSolve[{x"[t]+8x[t]-6x[t]3+x[t]5=0,x[0]=2,x'[0]=1},x[t],{t,0,14}]Out[19]={{x[t]InterpolatingFunctionDomain:{{0.,14.}}Output:scalar[t]}}

ln[20]:=NDSolve[{x"[t]+8x[t]-6x[t]3+x[t]5=0,x[0]=2,x'[0]=12},x[t],{t,0,14}]Out[20]={{x[t]InterpolatingFunctionDomain:{{0.,14.}}Output:scalar[t]}}

Plotting the results, yields

ln[23]:=Plot[Evaluate[x[t]]/.%19],{t,0,14},PlotLegends"x(0)=2,x'(0)=1"]

ln[24]:=Plot[Evaluate[x[t]]/.%20],{t,0,14},PlotLegends"x(0)=2,x'(0)=12"

For the first initial conditions, the period of oscillations is

T7-0.8=6.2sandA2.2

For the second initial conditions, we have

T2-0.3=1.7sandA2.11-2=0.11

The third set of the boundary conditions

We have

ln[4]:=NDSolve[{x"[t]+8x[t]-6x[t]3+x[t]5=0,x[0]=2,x'[0]=1},x[t],{t,0,14}]

Out[4]={{x[t]InterpolatingFunctionDomain:{{0.,14.}}Output:scalar[t]}}

ln[8]:=NDSolve[{x"[t]+8x[t]-6x[t]3+x[t]5=0,x[0]=-2,x'[0]=-1},x[t],{t,0,14}]

Out[8]={{x[t]InterpolatingFunctionDomain:{{0.,14.}}Output:scalar[t]}}

Plotting the results, yields

ln[9]:=Plot[Evaluate[x[t]/.%4],Evaluate[x[t]/.%8],Evaluate[x[t]/.%8]},

{t,0,14},PlotLegends{nxx(0)=2,x'(0)=0n,n'x(0)=-2,x'(0)=-1n}]

03

Final Answer

For the first initial conditions, the period of oscillations is

T4-0.6=3.4sandA2.2

For the second initial conditions, the solution is not an oscillatory.

See graphs and the results we deduced.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free