Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a function to calculate the Gaussian 1 x-m f(x) = exp 2S for arbitrary mean value m and standard deviations as parameters. Name

Write a function to calculate the Gaussian 1 x-m f(x) = exp 2S for arbitrary mean value m and standard deviations as parameters. Name it as you like such that you can use it in the following: Write a function 'myerror_function()' which takes four numbers as input in the order: lower integration limit, higher integration limit, mean value and standard deviation. Integrate the Gaussian function with the given parameters, something that can't be done analytically. Return the calculated integral value (including its error), noting that a manual return value using math.erf() or similar will be moderated to zero marks. This integral represents a special mathematical function, the Error function which you can look up and research for instance starting with the existing error function in the Python math module, math.erf (). It is important for anyone working with data. Answer: (penalty regime: 10, 20, ... %) 1 2

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_2

Step: 3

blur-text-image_3

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

Statistics For Business Decision Making And Analysis

Authors: Robert Stine, Dean Foster

2nd Edition

978-0321836519, 321836510, 978-0321890269

More Books

Students also viewed these Programming questions

Question

Describe the contributions of Keller and Marion Breland.

Answered: 1 week ago

Question

=+1. Describe at least four different sexual orientations.

Answered: 1 week ago