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

Program to reads a sequence of integer numbers , Task: This assignment...

Task: This assignment is about writing programmes and Web Services in C#: 1) Develop a console programme that reads a sequence of integer numbers from the console and sorts

Java source code classes and objects, Design and implement a stringed music...

Design and implement a stringed musical instrument class using the following guidelines: a. Data fields for your instrument should include number of strings, an array of stri

Code a simulation of image compression , Your task will be to code a simula...

Your task will be to code a simulation of image compression based on the approximate low rank structure of the set of image patches. You will write functions .code = my block compr

Algorithm to compute a minimum cover time and space, Given strings s 1 and...

Given strings s 1 and s 2 of lengths m and n respectively, a minimum cover of s 1 by s 2 is a decomposition s1 = w 1 w 2 .... wk, where each w i is a non-empty substring of s

Create an application to run in the amazon ec2 service, In this assignment ...

In this assignment you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application. You

Help with c assignment, You will design and implement a program that will •...

You will design and implement a program that will • analyse the various characteristics of a maze, represented by a particular coding of its basic con- stituents into numbers store

Brent''s method, This is what I have so far def root_brent(f, a, b, errorl...

This is what I have so far def root_brent(f, a, b, errorlimit = tinyerror, n = -1, r_i = 0): # f(a) and f(b) must have opposite signs poly = remove_multiple_roots(poly) counter

Write use case description for the process, The following is the process an...

The following is the process an account holder of eBroker, a discount online brokerage firm, uses to sell stocks.  The user first logs in by entering the username and password.

insertion sort algortihm, Define a higher order version of the insertion s...

Define a higher order version of the insertion sort algortihm. That is define functions insertBy :: Ord b => (a->b) -> a -> [a] -> [a] inssortBy :: Ord b => (a->b) -> [a] ->

Create a reservation system, Villa La Fourche Ltd is a small family busines...

Villa La Fourche Ltd is a small family business situated in the East Coast of Mauritius, more precisely Trou d'eau Douce.   The compound comprises of 6 independent villas, each of

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