Problem 1) Colebrook equation is used to find a friction factor, f, in a pipe flow as given by:
Problem 2) Consider the following non-linear ordinary equation with an initial condition, y(t=0)=2.
Compute and plot the solution as a function of time from 0 to 3 using Euler’s explicit method. Use various step sizes and plot the error as a function of step size.
Problem 3) A chemical specie decays over time when is subject to air and simultaneously reproduced by another process as given by:
where c is the concentration of the specie and co is the initial condition. Compute and plot the concentration profile as a function of time from 0 to 1 second with an initial condition of 2000 using Euler’s implicit (backward) method.