Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python code for root finding problem. Do not use numpy or other python modules but math and copy. Give a well explained comments. The code

python code for root finding problem.

Do not use numpy or other python modules but math and copy. Give a well explained comments. The code should be as for python beginners, so be very didactical.

Please do no answer if it is 09.17.18 20:00 hrs GMT

image text in transcribed

image text in transcribed

Write a Python program that mcets the following requirements a) The program must have a function named Norm(x). This function has one argument named x, a b) The program has a function named CumNorn(xval). This function has one argument named xval, floating point number. This function must calculate and return the value of the Normal function as defined above, for the valuc of x passed in. (This should require 2 lines of code) a floating point number. This function must calculate and return the value of the Cumulative Normal function for the given xval. This function does NOT print anything. You must use numerical integration in this function Note that we cannot perform numerical integration with a lower limit of minus infinity. Instead, use a lower limit of (-5). That is surprisingly close enough. (This should require 2 or 3 lines of code c) The program has a function named InvCumNorm(given Value). This function has one argument named givenValue, a floating point number. This function must calculate and return the value of the Inverse Cumulative Normal for the given Value. This function does NOT print anything. You must use your Secant) fuction in this function. I suggest starting guesses in the near xval d) The main program: a. Calls Norm(1.5) and prints the answer, nicely formatted, with a label. Calls CumNorm(1.5) and prints the answer, nicely formatted, with a label. c. Calls InvCumNorm(0 90) and prints the answer, nicely formatted, with a label

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago

Question

Explain the various techniques of Management Development.

Answered: 1 week ago