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

Recursion function, Use recursion to de ne a function position which has as...

Use recursion to de ne a function position which has as input an integer, a character and a string and returns the result of inserting the character in the string at the position s

C++ programing, how to rewrite C++ program the DNAStrand class (DNA Project...

how to rewrite C++ program the DNAStrand class (DNA Project) to instead store the nucleotide sequence in a dynamically-allocated array?

Mathematical expression of linear programming problem, A Consultant Dietici...

A Consultant Dietician provides diet and nutritional advice to clients. A client's diet requires that all the food s/he eats come from one of the four "basic food groups" (chocolat

Return value in an array, A specification of a function TOARR is given belo...

A specification of a function TOARR is given below. function TOARR(n in Int, s in Stack of Int) return in Array of Int pre n ≥ 0. post The returned value is an array of size

Design and implement a character analyser, Your task is to write an applica...

Your task is to write an application to analyse texts in a file.  Your application will employ  several kinds of text-analyser objects (which you also have to implement)  as descri

Write a program to draw a sketch of a cow, write a program to draw a cow. N...

write a program to draw a cow. Now, draw a cow standing amongst the grass, with (say) 500 blades of grass. Each blade of grass should be a separate random green line. Do all your d

How do you find the complexity of an algorithm, How do you get the complexi...

How do you get the complexity of an algorithm? What is the relation b/w the time & space complexities of an algorithm? Justify your answer with an example.

Program for create a menu, The creation of the menu will involve writing pr...

The creation of the menu will involve writing procedural code, using decision logic, writing a loop, and using the case statement.  Although it is not required for grading, it is r

Mvc architecture, MVC Architecture Model/view/controller (MVC) is a program...

MVC Architecture Model/view/controller (MVC) is a program structure, currently regarded an executive design used in program technological innovation. The design isolates "domain lo

Perform dbscan clustering and k means, Perform Dbscan Clustering and K mean...

Perform Dbscan Clustering and K means I have a simple array of data. I need to perform dbscan clustering and k means based on the values in the array.detailed description  bel

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