how to numerical integration from an ODE?

given: yi=[0.0053 0.007 0.0029 0.9847], i=1:4 , n=4, Ai=[-1.0786 -1.0774 -1.0275 1.0000], Bi=[-100.8850 -100.9216 -102.5301 0] now please write the respective codes for numerical integration of following ODE and obtain a secondary values for yi:
dyi/dyn=yi/yn*(Ai-(Bi*sigma(A(i-1)*y(i-1)/sigma(B(i-1)*Y(i-1)))) for i=2:n-1
but for both of sigmas i varies from 2 to n+1. and yn varies from 0.5178 to 0.9847.

1 Comment

Jan
Jan on 6 Nov 2012
Edited: Jan on 6 Nov 2012
Did you explain the meaning of "sigma" anywhere - "varies from 2 to n+1" is not useful, when "n" is unknown...

Sign in to comment.

Answers (1)

Jan
Jan on 6 Nov 2012
What have you tried so far and which difficulties occurred?
This forum is not populated by scientist who are desperately waiting to solve otherones homework. I mention this only, if there is any doubt about this.

Products

Asked:

on 6 Nov 2012

Community Treasure Hunt

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

Start Hunting!