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 output a triangle wave, 1.) Write a flowchart and program to do ...

1.) Write a flowchart and program to do the following: A pressure sensor in a cooling system measures the pressure of the refrigerant and is connected to Port -1 of the 8051. If th

Define a prolog predicate that asserts list, Define a Prolog predicate flat...

Define a Prolog predicate flatten(List, FlattenedList)  that asserts List  is any nested list of atoms and  FlattenedList  is the same list with the nesting removed. The atom [] sh

Fortran source code, For this programming assignment, you are to develop a ...

For this programming assignment, you are to develop a Fortran 90/95/2003 program to automate a useful task. The aim of the assignment is for you to reveal your competence in the Fo

Design and implement instantiable classes, Overview Goals: The goals for...

Overview Goals: The goals for this assignment are Design and implement instantiable classes. Use arrays of objects. Read from and write to files. Implement basic

Information management system, Write a detailed description on how you woul...

Write a detailed description on how you would go about planning information system for an organisation

Matlab fem, I need a program that writes the first column of the matrix. T...

I need a program that writes the first column of the matrix. The numbers in this column follow the pattern below: 1. Numbers start at 1 and count up to ''nels'' in increments of

Namererror, how do u define a letter in python "NameError: name ''r'' is n...

how do u define a letter in python "NameError: name ''r'' is not defined"

Operating systems, I do have an assignment in operating systems programming...

I do have an assignment in operating systems programming ... how can i attach my file?

Write a perl script that accepts two integer arguments, 1. Write a Perl scr...

1. Write a Perl script that accepts exactly 2 integer arguments where the first argument must be less than the second argument. The script will print a comma separated list of inte

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