linear differential equation in matlab, MATLAB Programming

Problem 1:

 What are the different methods that can be used to solve a differential equation? Please provide a numbered list.

Problem 2:

 For a first order linear differential equation of the following general form, provide an expression for the general solution.

dy/dx .by=1

Problem 3:

For the following differential equation, provide the ode45() command used to solve it in MATLAB. Also, provide the function that stores this differential equation so that ode45 can invoke it.

Xy' -2y =x

 

 

Posted Date: 2/16/2013 7:41:53 AM | Location : United States







Related Discussions:- linear differential equation in matlab, Assignment Help, Ask Question on linear differential equation in matlab, Get Answer, Expert's Help, linear differential equation in matlab Discussions

Write discussion on linear differential equation in matlab
Your posts are moderated
Related Questions
1;write the matlab of LU decomposion that can do any n*n matrix by considering scaling and pivoting?

1. Given these sinusoids: x 1 (t) = 0.5cos(25t+20°),   x 2 (t)=0.85cos(25t+160°) and   x 3 (t)= 0.81cos(25t-145°) (a)  Subplot the phasors X 1 , X 2 and X 3 corresponding t

Error in variables statements: Error: The expression in the left of equals sign is not a valid target for an assignment. >>  By placing a semicolon at the end of the sta

An FIR filter has coefficients b = [ 1.0000   -0.6387    1.0214    0.8210   -0.7470    1.0920 ] (a) Find H(z) for the filter and plot its frequency response (magnitude and phase

Generates sin or cos wave using plot functions: The script generates an x vector; iterating through all the values from 0 to 2*π in steps of 2*π /40 gives sufficient points to

design a rc phase shift oscillator for a particular frequency of oscillation and generate a sinusoidal signal

The Colon Operator: If the values in the vector are regularly spaced, the colon operator is used to iterate through these values. For illustration, 1:5 results in all the inte


I am trying to implement this equation u_t=-\u_x\ using upwind scheme. and as a second step, I need to put some stopping function g(h) where u_t=-g(h)\u_x\ how can I write this on

Common form of a function definition: The common form of a function definition for a function which computes and returns one value looks like this: For illustration, t