Using matlab code and without using numerical method
TASK 3 2 MARKS-LO9J] The outflow concentration from a reactor is measured at a number of times over a 24-hour period: t (hr) (m/ 15510 12 14 16 18 2024 5 3 1.2 1 15 23 21 5 55 The flow rate for the outflow in m/s can be computed with the following equation: Q(t)-20 + 10sinG4(t-10) The flow-weighted average concentration leaving the reactor over time t is given by A Create a figure with 2 subplot panels vertically stacked. In the top panel, plot Qlt)'cit) against t with blue circles and a continuous line. In the bottom panel, plot Qle) against t with red squares and a continuous line and determine which numerical integration methods to use and for which determine the flow-weighted averaged concentration after 24 hours. Ensure pezoidal, Simpson's 1/3 and Simpson's 3/8 rules. Use Simpson's 1/3 at lower values s 3/8 at higher values of t. Write an fprintf statement for the flow-weighted B. Observe you use of t and average. Determine the maximum Q(t)0(t) value and the time that it occurs. Print these values through an fprintf statement. C. TASK 3 2 MARKS-LO9J] The outflow concentration from a reactor is measured at a number of times over a 24-hour period: t (hr) (m/ 15510 12 14 16 18 2024 5 3 1.2 1 15 23 21 5 55 The flow rate for the outflow in m/s can be computed with the following equation: Q(t)-20 + 10sinG4(t-10) The flow-weighted average concentration leaving the reactor over time t is given by A Create a figure with 2 subplot panels vertically stacked. In the top panel, plot Qlt)'cit) against t with blue circles and a continuous line. In the bottom panel, plot Qle) against t with red squares and a continuous line and determine which numerical integration methods to use and for which determine the flow-weighted averaged concentration after 24 hours. Ensure pezoidal, Simpson's 1/3 and Simpson's 3/8 rules. Use Simpson's 1/3 at lower values s 3/8 at higher values of t. Write an fprintf statement for the flow-weighted B. Observe you use of t and average. Determine the maximum Q(t)0(t) value and the time that it occurs. Print these values through an fprintf statement. C