Example of undetermined coefficients, Programming Languages

Assignment Help:

Example:  Solve the following differential equation.

y(3)  -  12 y''+48 y' + 64 y = 12 - 32 e-8t + 2 e4t

Solution:   

We first require the complementary solution thus the characteristic equation is,

r3 - 12 r2 + 48 r - 64 = (r - 4)3 = 0

r = 4; when multiply with 3

We've found a single root of multiplicity 3 thus the complementary solution is,

yc(t) = c1 e4t + c2 t e4t + c3 t2 e4t

Here is, our first guess for an exact solution is,

Yp = A + B e-8t + C e4t

Remember that the last term in our guess is into the complementary solution thus we'll require to add one at least one t to the third term in our guess. Also see that multiplying the third term with either t or t2 will result into a new term which is until now in the complementary solution and therefore we'll require multiplying the third term by t3 in order to find a term that is not included in the complementary solution.

Our last guess is,

Yp = A + B e-8t + C t3 e4t

Here all we require to do is take three derivatives of this, plug that in the differential equation and simplify to find (we'll leave this to you to verify the work now),

-64 A - 1728 B e-8t + 6 C e4t = 12 - 32 e -8t + 2 e4t

By setting coefficients equal and solving provides,

t0:         -64 A = 12        ⇒         A = -(3/16)

e-8t:      -1728 B = -32 ⇒         B = 1/54

e4t:       6C = 2              ⇒         C = 1/3

An exact solution is then,

Yp = -(3/16) + (1/54) e-8t + (1/3) t3 e4t

Then the general solution to above differential equation is,

y(t) = c1 e4t + c2 t e4t + c3 t2 e4t -(3/16) + (1/54) e-8t + (1/3) t3 e4t

Okay, we've only worked one example here, but remember that we mentioned earlier that with the exception of the extension to the method that we used in this example the work here is identical to work we did the 2nd order material.


Related Discussions:- Example of undetermined coefficients

Explain inheritance and polymorphism in lingo programming, Question: (a...

Question: (a) Explain the concepts of Inheritance and Polymorphism in Lingo programming. (b) Write short descriptions on parent scripts and child objects in Lingo object

Network management configuratio, You will create a simple network managemen...

You will create a simple network management configuration which checks that certain programs are running on your network and are performing as expected, and that certain system det

Write a program to illustrate the call by value, Write a Program to illustr...

Write a Program to illustrate the call by value? #include . int compute_sum(int m); int main( void) { int n=3, sum; printf("%d\n",n); /*3 is printed */ sum=compute_sum(n

Object-oriented languages, Object-oriented languages Languages that sup...

Object-oriented languages Languages that support OOP features can be classified into the following two categories: 1.    Object-based programming languages, and 2.      O

Prims algorithm for minimum spanning tree, Implement the Prim's algorithm w...

Implement the Prim's algorithm with array data structure as described in slide 12 of the file 04mst.ppt. Your program should have a runtime complexity of O(n2) and should be as eff

Matlab programming, I need help with some simple matlab statements

I need help with some simple matlab statements

A traveler wants to purchase a number of traveler''s checks, A traveler wan...

A traveler wants to purchase a number of traveler''s checks, each having a set amount for four different currencies: Mexican pesos, Euro dollars, Swiss francs, and US dollars. A t

Enter no of hours days months years contains pattern , Normal 0 ...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Multiplication of matrices, The last matrix operation which we'll see is ma...

The last matrix operation which we'll see is matrix multiplication. Now there we will start along with two matrices, A nxp and B pxm . Remember hat A must have similar number of c

Dating game program, You are to write a program that determines the day of ...

You are to write a program that determines the day of the week for New Year's Day in the year 3000. To do this, you must create your own date class (MyDate) and use the following i

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd