Question: Use MATLAB to solve this Problem 1. Consider a reactive diffusion for a component in a spherical pellet. The first-order chemical reaction for the component
Use MATLAB to solve this

Problem 1. Consider a reactive diffusion for a component in a spherical pellet. The first-order chemical reaction for the component takes place as it diffuses from the outer surface of the sphere to the center (radial diffusion only). There is convection in this process and it can be assumed to be at steady-state. The concentration of the component at the surface is constant at Cs dr2 r dr D dC ?.?.'s: Solve this ODE problem using the a) Cash-Karp Runge-Kutta Fehlberger method b) Finite-difference matrix method Given: Pellet radius R 1 cm, D- 0.3 cm2/s, k 6.4 1/s, Cs 0.2 mol/cm3. Use a step-size h ?r 0.1 cm and 0.05 cm Plot and compare the results in a single graph. Problem 1. Consider a reactive diffusion for a component in a spherical pellet. The first-order chemical reaction for the component takes place as it diffuses from the outer surface of the sphere to the center (radial diffusion only). There is convection in this process and it can be assumed to be at steady-state. The concentration of the component at the surface is constant at Cs dr2 r dr D dC ?.?.'s: Solve this ODE problem using the a) Cash-Karp Runge-Kutta Fehlberger method b) Finite-difference matrix method Given: Pellet radius R 1 cm, D- 0.3 cm2/s, k 6.4 1/s, Cs 0.2 mol/cm3. Use a step-size h ?r 0.1 cm and 0.05 cm Plot and compare the results in a single graph
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
