Se está descargando tu SlideShare. ×

# Please write a MATLAB code that will perform the following operations-.docx

Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio Cargando en…3
×

1 de 1 Anuncio

# Please write a MATLAB code that will perform the following operations-.docx

Please write a MATLAB code that will perform the following operations:
Consider the system of ordinary differential equations where xi are the concentration of species in a chemical reaction and k\'s are the rate constants. The rate constants are given by k1 = .13 times 10-l0, k2 = .39 times 10-n, k3 = .14 times 10-12, k4= .4 times 10-10. The initial concentrations are given by x1(0) 1. times 10+11, X2(0) = 1.times 10+11, x3(0) = x4(0) = x5(0) = x6(0) = 0. [RK = Runge-Kutta] Use two different methods to intergate the equations forward until the reaction is complete (x = 0). Use the RK-Fehlberg and use a lower order RK method. Study the accuracy of the schemes at equilibrium. How close is it to zero, (i.e, x. = 0 or f(x) = 0 at final time.) Plot the time history of the concentrations as a function of time.
Solution
sorry your image font is not clear. then how can i give solution.
thank you...
.

Please write a MATLAB code that will perform the following operations:
Consider the system of ordinary differential equations where xi are the concentration of species in a chemical reaction and k\'s are the rate constants. The rate constants are given by k1 = .13 times 10-l0, k2 = .39 times 10-n, k3 = .14 times 10-12, k4= .4 times 10-10. The initial concentrations are given by x1(0) 1. times 10+11, X2(0) = 1.times 10+11, x3(0) = x4(0) = x5(0) = x6(0) = 0. [RK = Runge-Kutta] Use two different methods to intergate the equations forward until the reaction is complete (x = 0). Use the RK-Fehlberg and use a lower order RK method. Study the accuracy of the schemes at equilibrium. How close is it to zero, (i.e, x. = 0 or f(x) = 0 at final time.) Plot the time history of the concentrations as a function of time.
Solution
sorry your image font is not clear. then how can i give solution.