Chapter 11-SOLVING EQUATIONS IN EXCEL USING GOAL SEEK

Slides:



Advertisements
Similar presentations
DAY 10: MICROSOFT EXCEL – CHAPTER 8 MICROSOFT EXCEL – CHAPTER 9 MICROSOFT EXCEL – CHAPTER 10 Akhila Kondai September 23, 2013.
Advertisements

259 Lecture 2 Spring 2013 Finance Applications with Excel – Simple and Compound Interest.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas.
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T4 PROBLEM SOLVING USING EXCEL Goal Seek, Solver & Pivot Tables.
Decision Analysis Tools in Excel
Chapter 4 Financial Functions, Data Tables, and Amortization Schedules
Consider the graphs of f(x) = x – 1 and f(x) = lnx. x y y = x – 1 y = lnx (1.0) Sections 2.6, 2.7, 2.8 We find that for any x > 0, x – 1 > lnx Now, suppose.
With Microsoft Excel 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2010.
GOAL SEEK AND SOLVER Both of these tools come with the standard Excel package, but Solver has to be installed. If it is not on your computer, do the following:
Microsoft Excel How to do a quick loan using PMT.
Sections 2.1, 2.2, 2.3, 2.4, 2.5 Interest problems generally involve four quantities: principal(s), investment period length(s), interest rate(s), accumulated.
Non-Linear Simultaneous Equations
Section 1.1, Slide 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 8.2, Slide 1 Consumer Mathematics The Mathematics of Everyday Life 8.
Spreadsheets in Finance and Forecasting Presentation 8: Problem Solving.
Excel Chapters -5,6. Pivot Table  When you have a lot of data, it can sometimes be difficult to analyze all of the information in your worksheet.  PivotTables.
CTS130 Spreadsheet Lesson 19 Using What-If Analysis.
Goal Seek and Solver. Goal seeking helps you n Find a specific value for a target cell by adjusting the value of one other cell whose value is allowed.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Exploring Microsoft Office Excel 2007 Chapter 8 What-if Analysis Robert Grauer, Keith.
Decision Making Using Excel
Newton’s Method, Root Finding with MATLAB and Excel
AS Level ICT Data entry: Creating validation checks.
DAY 9: MICROSOFT EXCEL – CHAPTER 6 Sravanthi Lakkimsetty Sept 16, 2015.
Chapter 5.3. Give an algebraic expression that represents the sequence of numbers. Let n be the natural numbers (1, 2, 3, …). 2, 4, 6, … 1, 3, 5, … 7,
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 3 Polynomial and Rational Functions.
PMT and What if analysis. PMT  The Microsoft Excel PMT function returns the payment amount for a loan based on an interest rate and a constant payment.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 6 ANALYZING DATA STATISTICALLY There are several commonly used parameters that allow us to draw conclusions about the characteristics of a data.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
5.1 Exponential Functions
Setting up Solver Add-in for Excel
Solver Feature Excel’s KY San Jose State University Engineering 10.
Chapter 14 Partial Derivatives
Chapter 8 LOANS.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
MS EXCEL PART 4.
Personal Financial Management
Chapter 8 - Interval Estimation
Chapter 3 Mathematics of Finance
Chapter 3 Mathematics of Finance
Chapter 3 Mathematics of Finance
MS EXCEL PART 6.
Numerical Methods and Analysis
Solver & Optimization Problems
Numerical Methods.
Introduction to Recurrence Relations
12 P Prologue: Calculator Arithmetic.
Microsoft Office Illustrated
Excel Solver.
Microsoft Excel 2003 Illustrated Complete
Grauer and Barber Series Microsoft Excel Chapter Three
Exploring Microsoft® Excel® 2016 Series Editor Mary Anne Poatsy
Finance Applications with Excel – Simple and Compound Interest
Numerical Methods.
Wyndor Example; Enter data
Exponential Functions
Navya Thum February 13, 2013 Day 7: MICROSOFT EXCEL Navya Thum February 13, 2013.
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Solving Quadratic Equations using Square Roots
Quadratic Equations and Functions
Excel: Solver Participation Project
Chapter 3.
Microsoft Excel 2007 Introduction to Spreadsheet Programs
Break-Even Analysis.
Solving Systems of Equations by the Substitution and Addition Methods
Aniko Balogh CEU Computer & Statistics Center
Mathematical Explorations
2.3. Measures of Dispersion (Variation):
1 Newton’s Method.
Presentation transcript:

Chapter 11-SOLVING EQUATIONS IN EXCEL USING GOAL SEEK To solve a single algebraic equation with Goal Seek, proceed as follows: 1. Enter an initial guess in one of the cells on the worksheet. 2. Enter a formula for the equation, in the form f(x) = 0, in another cell. Within this formula, express the unknown quantity x as the cell address containing the initial guess. 3. From the Ribbon’s Data tab, click on the What-If Analysis button within the Data Tools group. Then select Goal Seek from the resulting drop-down menu. 4. When the Goal Seek dialog box appears, enter the following information: (a) The address of the cell containing the formula in the Set cell entry location. (b) The value 0 in the To value entry location. (c) The address of the cell containing the initial value in the entry location labeled By changing cell. Then select OK.

Example 11.5 Solving a Polynomial Equation in Excel Using Goal Seek In Example 11.2, we found that the equation 𝑓(𝑥) = 2 𝑥 5 − 3 𝑥 2 − 5 = 0 has a real root at approximately x = 1.4. We will now use Excel’s Goal Seek feature to obtain a more accurate solution. Let us select the value x = 1.4 as a first guess, since we already know that this is the approximate value of the root.

Example 11.6 Convergence Considerations Sometimes a great deal can be learned by studying a problem whose solution is well known. Thus, let us use Goal Seek to determine the roots of the equation tan⁡(𝑥) = 0 within the interval 0 ≤ x ≤ π. Anyone who has ever taken a course in trigonometry should recognize that this equation has roots at x = 0 and x = π, and a discontinuity at x = π/2.

Problem 11.17 Determine the smallest positive root and the largest negative root (the negative root closest to the origin) for the equation: 𝑥 tan⁡𝑥 = 2

SOLVING EQUATIONS IN EXCEL USING SOLVER Excel includes another feature, called Solver, which may be able to obtain a converged solution when Goal Seek cannot. Solver is entirely independent of Goal Seek. To solve a single equation with Solver, proceed as follows: 1. Enter an initial guess in one of the cells on the worksheet. 2. Enter a formula for the equation, in the form f(x) = 0, in another cell. Within this formula, express the unknown quantity x as the cell address that contains the initial guess. 3. From the Ribbon’s Data tab, click on Solver within the Analysis group. The Solver Parameters dialog box will then appear. Like Goal Seek, convergence is not guaranteed. Hence, Solver will generate an error message if the computation does not converge, or if a mathematical error (e.g., an attempt to calculate the square root of a negative number) is detected during the course of the computation. Solver will also generate an error message if it detects a circular reference in the formula for f(x).

Example 11.7 Solving a Polynomial Equation in Excel Using Solver In several previous examples we solved the polynomial equation 𝑓(𝑥) = 2 𝑥 5 − 3 𝑥 2 − 5 = 0 and found a positive real root in the vicinity of x = 1.4. Let us now use Solver to find a root of this equation, with the added restriction that x ≥ 0. Use a convergence criterion of 10-5 (i.e., 0.00001).

Problem 11.19 Many consumers buy expensive items, such as cars and houses, by borrowing the purchase cost from a bank and then repaying the loan on a constant monthly basis. If P is the total amount of money that is borrowed initially, the amount of the monthly payment, A, can be determined from the formula 𝐴=𝑃 𝑖 (1+𝑖) 𝑛 (1+𝑖) 𝑛 −1 where i is the monthly interest rate, expressed as a fraction (not a percentage), and n is the total number of payments. Suppose you borrow $10,000 to buy a car. If you are required to repay $350 each month for 36 months, what is the corresponding monthly interest rate?