Azzera filtri
Azzera filtri

Just for clarification below is the question again (d^2 y)/(dx^2 )+4dy/dx+3y=0 subject to initial condition where dy/dx=4 and y=4. Can you help me explain how this can be solved?

2 visualizzazioni (ultimi 30 giorni)
Just for clarification below is the question again
(d^2 y)/(dx^2 )+4dy/dx+3y=0 subject to initial condition where dy/dx=4 and y=4.
Can you help me explain how this can be solved?
  4 Commenti
Walter Roberson
Walter Roberson il 5 Nov 2016
Modificato: Walter Roberson il 5 Nov 2016
Joshua Amuga comments to KSSV:
IVP :=ode({y''(x)+4*y'(x)+3*y,y(0)=3,y'(0)=4},y(x));
Undefined function or variable 'IVP'.
Walter Roberson
Walter Roberson il 5 Nov 2016
Joshua Amuga: you have attempted to use MuPAD syntax in MATLAB. You need to command
nb
and then use the command in the MuPAD notebook that opens.

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 2 Nov 2016
dsolve() or one of the ode* routines.
  2 Commenti
Joshua Amuga
Joshua Amuga il 2 Nov 2016
Modificato: Walter Roberson il 5 Nov 2016
ode({y''(x)+4*y'(x)+3*y,y(0)=3,y'(0)=4},y(x));
i keep getting an error. Can you help me write the code
Walter Roberson
Walter Roberson il 5 Nov 2016
You are attempting to use MuPAD syntax in MATLAB. The solution you posted of
dsolve('D2y-4*Dy+3*y','y(0)=3','Dy(0)=4')
appears to me to be valid.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by