mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
1.1 KiB
1.1 KiB
Exercises
Elsewhere in this book we have covered methods that will allow you to solve the discharge problem on the previous page, for example, propagation of uncertainty, functions of random variables, etc. Try the following exercises to evaluate the distribution of q. In each case, you should be able to define both the distribution of q as well as the value of q_{design}:
- Define the distribution of
q_1andq_2as LogNormal using Scipy, then evaluate the distribution ofqusing Monte Carlo Simulation - Approximate the distributions of
q_1andq_2using only their moments and use error propagation to approximate the distribution ofq - Use the moments to define Normal distributions for
q_1andq_2, then find the distribution ofq(hint: it should also be Normal, and you can solve for it analytically) - Use the moments to define Normal distributions for
q_1andq_2, then use the multivariate normal distribution in Scipy to define a correlation coefficient and explore what the effect of dependence betweenq_1andq_2has on the result.
Solutions to these exercises are on the next page.