Monte Carlo Integration in Excel

Slides:



Advertisements
Similar presentations
Lab 1: Excel as Calculator. Let’s get started! Open a new Excel spreadsheet. If necessary, hit to maximize the sheet. You may need to move the top bar.
Advertisements

Outline/Coverage Terms for reference Introduction
Leaving Certificate Higher Level
Section Volumes by Slicing
Finding Limits Using Tables and Graphs Sections 11.1.
Areas and Definite Integrals. Objectives Students will be able to Calculate a definite integral. Calculate the area between a curve and the x-axis over.
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
Exponential Functions
Area Between Two Curves 7.1. Area Formula If f and g are continuous functions on the interval [a, b], and if f(x) > g(x) for all x in [a, b], then the.
Finding Percentages. Profits are up by 97%.
Solving Equations with Brackets or Fractions. Single Bracket Solve 3(x + 4) = 24 3x + 12 = 24 3x + 12 – 12 = x = 12 x = 4 Multiply brackets out.
Monte Carlo Integration in Excel
Simulation of Random Walk How do we investigate this numerically? Choose the step length to be a=1 Use a computer to generate random numbers r i uniformly.
D MANCHE Finding the area under curves:  There are many mathematical applications which require finding the area under a curve.  The area “under”
1 RecurringDecimals Press Ctrl-A ©2009 – Not to be sold/Free to use Stage 5 Year 9.
A. What is the definition of Domain? B. What is the definition of Range? Your answers should be a complete sentence.
Spreadsheet Lesson 2 Class 8E. Lesson Objective To understand what a formula & function is. To understand the difference between formulas and functions.
In this section, we will investigate indeterminate forms and an new technique for calculating limits of such expressions.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt X mixed # equations dividing fractions.
In this section, we will introduce the definite integral and begin looking at what it represents and how to calculate its value.
Substitution 1. Calculate a + b – c If a = 10 b = 8 and c = 12 When g = 6 and h = 14 2t 2 – 4t 2 t = 4 and t =6 ½ w + ¼ h w = 12 and h = 20.
Today in Pre-Calculus Do NOT need a calculator Go over homework
P roblem of the Day - Calculator Let f be the function given by f(x) = 3e 3x and let g be the function given by g(x) = 6x 3. At what value of x do the.
How to solve an AP Calculus Problem… Jon Madara, Mark Palli, Eric Rakoczy.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt FunctionsSlopeGraphs.
Multiplying Fractions. When we multiply a fraction by an integer we: multiply by the numerator and divide by the denominator For example, × = 54.
Application: Area under and between Curve(s) Volume Generated
CSCI-455/552 Introduction to High Performance Computing Lecture 9.
Algebra 2A 7.1 September 19, Objectives Simplify rational expressions Simplify rational expressions Identify rational functions. Identify rational.
Finding A Fraction…... The football players below make up a red and a blue team.How many are in each team ? How many players will be in each team ? 5.
Unit 3 Lesson 17 Graphing Inequalities Solve for y (make sure the y is on left) Decide if the line is dotted or solid Use the y-intercept and slope Shade.
Function Notation Assignment. 1.Given f(x) = 6x+2, what is f(3)? Write down the following problem and use your calculator in order to answer the question.
MAT 4830 Mathematical Modeling 04 Monte Carlo Integrations
Volumes by Slicing 7.3 Solids of Revolution.
Equations of Circles. You can write an equation of a circle in a coordinate plane, if you know: Its radius The coordinates of its center.
 A.4f Apply these skills to solve practical problems.  A.4b Justify steps used in solving equations.  Use a graphing calculator to check your solutions.
Section Volumes by Slicing 7.3 Solids of Revolution.
4-6 Solving Equations with Fractions What You’ll Learn ► To solve one – step equations ► To solve two – equations.
Section 4.4 The Fundamental Theorem of Calculus. We have two MAJOR ideas to examine in this section of the text. We have been hinting for awhile, sometimes.
Copyright © Cengage Learning. All rights reserved. Functions 1 Basic Concepts.
Section 9.4 – Solving Differential Equations Symbolically Separation of Variables.
Writing Equations Objective: By the end of this section students will be able to write the equation of line from word problems, tables and scatter plots.
6.6 Area Between Two Curves
28 – The Slant Asymptote No Calculator
INTEGRATION.
Area Bounded by Curves sin x cos x.
5-Minute Check Lesson 3-4.
Area a b x y When the portion of the graph of y = f(x) is below the x-axis between x = a and x = b then the value of will be negative.
Relations, Functions, and Linear Equations
The graph of f(x) is depicted on the left. At x=0.5,
Objective: To solve systems of second degree equations
What fraction is marked on the number line by the letter A?
A graphing calculator is required for some problems or parts of problems 2000.
Define evaluate and compare functions
73 – Differential Equations and Natural Logarithms No Calculator
Finding the Total Area y= 2x +1 y= x Area = Area =
Finding the Total Area y= 2x +1 y= x Area = Area =
The Quadratic Curve Wednesday, 01 May 2019.
y x y = x + 2 y = x + 4 y = x – 1 y = 6x – 3 y = 2x y = ½x y = 3x + 1
Rational Numbers Recurring Decimals.
11.1: Length of a Curve.
Adding integers Subtracting integers 2.4 Multiplying and
Graphing Functions x f(x) = 2x (2) + 7 = (3) + 7 = 13 4
Section Volumes by Slicing
Math-7 NOTES 1) 3x = 15 2) 4x = 16 Multiplication equations:
Substitution 1. Calculate a + b – c If a = 10 b = 8 and c = 12
Integrated Math Three – Quarter 1 Benchmark Review
If {image} choose the graph of f'(x).
The Quadratic Curve Monday, 27 May 2019.
Introduction CSE 541.
Presentation transcript:

Monte Carlo Integration in Excel

Integration Who integrating can be calculated: If y=x Then the graph representation of this equation will be as follow: y x If we want to for example to find the area under this carve when starting from x=0 to 2 (note y=x) then only way to do that is to use the integral :    

Monte Carlo Integration Another way for calculated the integration function: x B f(x)

A y x B f(x)

A y x B f(x)

Setting up Excel Spreadsheet Random Number Generator Rand()*(b-a)+a Generate a number between a and b The “Status” If(X<f(X), “below”, “above”) If value of f(X) > Y then mark “below” The “Count” If(Status=“below”,1,0) If value of status is “below” then count a “hit” Making sense of data Take total number of hits and divide by total number of points to find fraction under function Multiply calculated fraction by area of “box” to find the area under the curve.

Setting up Excel Spreadsheet