Question 1 (20 marks)Consider an Exponential distribution, that is the probability distribution of the time between events in a ···
Consider an Exponential distribution, that is the probability distribution of the time between events in a Poisson point process, i.e., a process in which events occur continuously and independently at a constant average rate. The probability density function of the Exponential distribution is expressed as the following
p(x) = λe-λx
Assume that the rate parameter of the distribution is λ = 1.5.
Numerically compute p(0 < x < 4).
(a) [5 marks] Apply single application trapezoidal rule.
(b) [5 marks] Apply multiple-application trapezoidal rule with n = 4.
(c) [5 marks] Apply multiple-application trapezoidal rule with n = 8.
(d) [5 marks] Calculate the relative error for (a), (b) and (c) given the exact solution is 0.9975. Also, show that the relative error is roughly inversely proportional to n .
NOTE: Round to 6 decimal points when necessary.Term 2, 2019
We have the following ordinary differential equation (ODE)
(a) [3 marks] Convert the above ODE into a system of first-order ODEs.
(c) [10 marks] When x = 0, we have T = 1.00; when x = 1.5, we have T = 2.981689. Use Finite-Difference Method and a step size of ∆x = 0.5 to estimate T for x = 0.5 and x = 1.0.
NOTE: Round to 6 decimal points when necessary.