Question: In this assignment, you must use variables, loops, if statements, your own function definitions and function calls and callback functions. For now, you may NOT
In this assignment, you must use variables, loops, if statements, your own function definitions and function calls and callback functions. For now, you may NOT use any of the powerful functions available in python modules, with two exceptions: you may import functions from the math module and the copy module.
You must include docstrings for all your functions and reasonable comments throughout your code.
See your MAE textbook for a reminder of:
The Secant Method for finding the solution root or zero or a nonlinear equation.
The Simpson's rule for numerical integration.
The GaussSidel method in section
a Write a function defined as: lef ProbabilityPDF args, True :
PDE: is a callback function for the Gaussiannormal probability density function The callback function PDF should take a single argument as a tuple, which contains values for population mean and population standard deviation
args: is a tuple containing and
c: is a floating point value ie the upper limit of integration
GT: is a boolean indicating if we want the probability of being greater than True or less than GIFalse
To find the probability of
you should use the Simpson's rule integrate between the
Write and call a function that uses your function find:
: probability given a normal distribution with
Print your findings the
the following format:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
