ByUndeterminedCoefficients - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Packages : ODEs : Computation : Solve : ByUndeterminedCoefficients

Student[ODEs][Solve]

  

ByUndeterminedCoefficients

  

Solve a linear ODE by the method of undetermined coefficients

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

ByUndeterminedCoefficients(ODESYS, y(x))

Parameters

ODE

-

equation; a linear ordinary differential equation

y

-

name; the dependent variable

x

-

name; the independent variable

Description

• 

The ByUndeterminedCoefficients(ODE, y(x)) command finds the solution of a linear ODE by the method of undetermined coefficients.

Examples

withStudentODEsSolve:

ode1diffyx,x,x+2diffyx,x+2yx=sinx

ode1ⅆ2ⅆx2yx+2ⅆⅆxyx+2yx=sinx

(1)

ByUndeterminedCoefficientsode1,yx

ypx=2cosx5+sinx5

(2)

ode2diffyx,x,x+4diffyx,x+4yx=exp2x

ode2ⅆ2ⅆx2yx+4ⅆⅆxyx+4yx=ⅇ2x

(3)

ByUndeterminedCoefficientsode2,yx

ypx=ⅇ2xx22

(4)

ode3diffyx,x,x4diffyx,x+4yx=x2

ode3ⅆ2ⅆx2yx4ⅆⅆxyx+4yx=x2

(5)

ByUndeterminedCoefficientsode3,yx

ypx=14x2+12x+38

(6)

Compatibility

• 

The Student[ODEs][Solve][ByUndeterminedCoefficients] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

dsolve

Student

Student[ODEs]

Student[ODEs][Solve]