In: Statistics and Probability
How do I plug in the finite function in excel?
The QUADF function of Excel will be Very useful while doing this
The Syntax is :
=QUADF(f, x, a, b,
[options])
The Integral will look like:
With optional arguments, you can override the default integration algorithm as well as supply singular points for the integrand f(x) if applicable.
You will understand it better using the Below Example
Suppose we have the following finite function:
Steps:
Type the Formula into an Empty Cell (NOTE: Excel will throw Error if you Simply Type variable as X. You will have to Type it as X1)
Now give Reference of this Cell to Quad Function
You will get answer as:
Excel reports the error #DIV/0! for the formula in A1 since X1 is undefined. This error can be ignored since X1 serves only as a dummy variable for the integrand function and its value is irrelevant for the integration computed in A2.
The Final Answer is in A2
NOTE: Just incase you want to use Infinite Function, you can use INF & -INF
Please UpVote. It Helps. Thank You