Question: Problem 1 : 1 0 0 ( 5 0 + 5 0 ) Write a Python script to solve a system of ODE where up

Problem 1: 100(50+50)
Write a Python script to solve a system of ODE where up to 5 ODEs can be solved simultaneously using 4th order Runge-Kutta Method. Use your code and please solve the following set of ODEs (any two problem).
Chemical Engineering Problem:
An adiabatically operated reactor contains a mixture of chemicals. A chemical 'N' transfers to 'M' over a duration of time. 'C(t)' is the concentration of the chemical N at any point of time. Rate of reduction of the chemical N can be written as r=kC, where k=k0exp(-ART),T is the temperature of the mixture, R is Universal gas constant, A is activation energy. Applying the mass balance criterion we get the following ODEs
dCdt=-k0Cexp(-ART), with I.C: C(0)=10gmollit,k0=0.1 per sec.
dTdt=Cexp(-ART), with I.C: T(0)=200K,=1Kgmolsec,AR=200K
Solve the ODES and plot the result in graphical form (both C and T) for first 200 secs. Use different values of t and show which value of t will converge the results. Also plot C-T graph for all values of t. Can you see any pattern in it or it's just a chaos?
Environmental Engineering Problem:
A simple Lorenz equation for atmospheric fluid dynamics can be written as
dTdt=-10T+10y
dydt=28T-y-Tz
dzdt=-2.6667z+Ty
I.C: T=y=z=5 at t=0.t is in hours. T is temperature variation in atmosphere, y and z are horizontal and vertical directions.
Solve the ODES and plot the result in a graphical form (T,y&z) for first 20 hours. Use different values of t and show which values of t will converge the results. Also plot T-y graph and T-z graph for all ts. Can you see any pattern in it or it's just a chaos?
 Problem 1: 100(50+50) Write a Python script to solve a system

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!