Question: using matlab only a - at 2 = ac 020 Problem 4: Solve the diffusion equation for a gaseous compound released from an experiment in

using matlab only

using matlab only a - at 2 = ac 020 Problem 4:

a - at 2 = ac 020 Problem 4: Solve the diffusion equation for a gaseous compound released from an experiment in a lab: D using an explicit methodology (forward difference in time, central difference in space). Solve over a spatial domain of xe [-5 m, 5 m] and t e [0,100 s] for D = 1.45e-3 m/s. Assume at t = 0, C = 5 for x [-1 m, 1 m] and is zero elsewhere. Assume there is zero diffusion through the walls of the lab (x = -5 and 5), such that the derivative is zero, also known as a no flux condition: 0. Use 101 nodes in x, and use however many timesteps are required for stability. ac a - at 2 = ac 020 Problem 4: Solve the diffusion equation for a gaseous compound released from an experiment in a lab: D using an explicit methodology (forward difference in time, central difference in space). Solve over a spatial domain of xe [-5 m, 5 m] and t e [0,100 s] for D = 1.45e-3 m/s. Assume at t = 0, C = 5 for x [-1 m, 1 m] and is zero elsewhere. Assume there is zero diffusion through the walls of the lab (x = -5 and 5), such that the derivative is zero, also known as a no flux condition: 0. Use 101 nodes in x, and use however many timesteps are required for stability. ac

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 Accounting Questions!