Question: Use Python You will test your functions and using the particular numerical values and functions given. When we grade your assignment, we will run your

Use Python

Use Python You will test your functions and using the particular numericalvalues and functions given. When we grade your assignment, we will runyour program with those given numerical values, looking for correct answers. Thenwe will change the numerical values (including changing the SIZES of thearrays) and look for correct answers for those modified values as well.We will only use numerical values, array sizes and functions that make

You will test your functions and using the particular numerical values and functions given. When we grade your assignment, we will run your program with those given numerical values, looking for correct answers. Then we will change the numerical values (including changing the SIZES of the arrays) and look for correct answers for those modified values as well. We will only use numerical values, array sizes and functions that make sense. We will not be testing your program to see how it handles bad data. In this assignment, you must use variables, loops, if statements, your own function definitions and function calls to write the required 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 reasonable comments in your code. See your MAE 3013 textbook and the MAE 3013 Equation Sheet for a reminder of: The Secant Method for finding the solution (root or zero) or a nonlinear equation The Simpson's 1/3 rule for numerical integration The Gauss-Jordan elimination method for finding an inverse matrix. a) Write a function defined as: def Probability (PDF, args, C, GT=True) : 1 PDE: is the Gaussianormal probability density function f(x) = which takes 1 2 argument containing values for x, u (population mean), and o (population standard deviation). args: is a tuple containing u and o c: is a floating point value GT: is a boolean indicating if we want the probability of x being greater than =True) or less than (GT=False) To find the probability of x181.00N(175,3)=Z.ZZ b) Write a function defined as: def Secant (fcn, x0, xl, maxiter=10, xtol=le-5): Purpose: use the Secant Method to find the root of fen(x), in the neighborhood of x0 and xl. fcn: the function for which we want to find the root XO and 181.00N(175,3)=Z.ZZ b) Write a function defined as: def Secant (fcn, x0, xl, maxiter=10, xtol=le-5): Purpose: use the Secant Method to find the root of fen(x), in the neighborhood of x0 and xl. fcn: the function for which we want to find the root XO and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!