Word & Excel This is an introduction to the use of the equation editor in Word. Those expressions can then be copied and pasted into Excel and elsewhere.

Slides:



Advertisements
Similar presentations
Functions Linear and Quadratic. Functions Linear and Quadratic.
Advertisements

Chapter 11-Functions of Several Variables
Example 2.2 Estimating the Relationship between Price and Demand.
Parameterizing a Geometry using the COMSOL Moving Mesh Feature
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
Lesson 14 Creating Formulas and Charting Data
FTP Biostatistics II Model parameter estimations: Confronting models with measurements.
Computational Methods in Physics PHYS 3437
EARS1160 – Numerical Methods notes by G. Houseman
Chapter 17 Design Analysis using Inventor Stress Analysis Module
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
PHYS2020 NUMERICAL ALGORITHM NOTES ROOTS OF EQUATIONS.
Graphing With Excel 2010 University of Michigan – Dearborn Science Learning Center Based on a presentation by James Golen Revised by Annette Sieg…
Tensile Testing – Data Sheet Please fill in your name, group members, data and instructor’s name Mark gage length indents using the hammer Measure the.
Data Tutorial Tutorial on Types of Graphs Used for Data Analysis, Along with How to Enter Them in MS Excel Carryn Bellomo University of Nevada, Las Vegas.
Indiana Council of Teachers for a copy of this presentation
Spreadsheet Problem Solving
Non-Linear Simultaneous Equations
Square and Cube Roots Roots and Radicals Mr. O.
Graphing in Excel X-Y Scatter Plot SCI 110 CCC Skills Training.
Simple Linear Regression
Types of Graphs Creating a Graph With Microsoft Excel.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Exploratory Data Analysis. Computing Science, University of Aberdeen2 Introduction Applying data mining (InfoVis as well) techniques requires gaining.
Tutor: Prof. A. Taleb-Bendiab Contact: Telephone: +44 (0) CMPDLLM002 Research Methods Lecture 9: Quantitative.
CIITS Institute: Creating District Curriculum & Materials Copyright © 2012 Schoolnet, Inc. All rights reserved.
1. The Simplex Method.
1 Lesson 19 Creating Formulas and Charting Data Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Tidewater Community College
Sample size vs. Error A tutorial By Bill Thomas, Colby-Sawyer College.
Linear Programming: Basic Concepts
CHAPTER 5 EXPRESSIONS AND FUNCTIONS GRAPHING FACTORING SOLVING BY: –GRAPHING –FACTORING –SQUARE ROOTS –COMPLETING THE SQUARE –QUADRATIC FORMULA.
9 Torsion.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Roots and Radicals. Radicals (also called roots) are directly related to exponents.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
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.
Rev.S08 MAC 1140 Module 9 System of Equations and Inequalities I.
Risk Analysis & Modelling
SSAC2007.QA154.ND1.1 What is the Largest-Volume, Open-Top, Rectangular Box You Can Make from a Sheet of Cardboard? – Exploring Polynomial Functions Core.
Review of fundamental 1 Data mining in 1D: curve fitting by LLS Approximation-generalization tradeoff First homework assignment.
D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion.
Lecture 29 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
DAY 9: MICROSOFT EXCEL – CHAPTER 6 Sravanthi Lakkimsetty Sept 16, 2015.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Lesson 9: Using What if Analysis Justin Siddiqi, Jacob Manera, Michael Moreno.
The previous cubic is entered in Excel in away that may be read easily Note the ‘ name box’ is used here to give the numerical content of the cell a name,
CHAPTER 5 EXPRESSIONS AND FUNCTIONS GRAPHING FACTORING SOLVING BY: –GRAPHING –FACTORING –SQUARE ROOTS –COMPLETING THE SQUARE –QUADRATIC FORMULA.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
CIVE1620- Engineering Mathematics 1.1 Lecturer: Dr Duncan Borman Differentiation –complex functions - Product Rule - Quotient Rule 2 nd Derivatives Lecture.
Excel and the use of the Solver This is an introduction into the use of the numeric Solver embedded in Excel. Initially we will see how we can use it to.
Roots and Radicals. Radicals (also called roots) are directly related to exponents. Roots and Radicals.
Section 8 Numerical Analysis CSCI E-24 José Luis Ramírez Herrán October 20, 2015.
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
Plotting in Excel Ken youssefi Engineering 10.
Plotting in Excel KY San Jose State University Engineering 10.
Excel and the use of the Solver
Excel’s Solver Use Excel’s Solver as a tool to assist the decision maker in identifying the optimal solution for a business decision. Business decisions.
Solver Feature Excel’s KY San Jose State University Engineering 10.
Solver Feature Excel’s KY San Jose State University Engineering 10.
Excel - Data Analysis Dr. Theodore Cleveland University of Houston
Claim 1 Smarter Balanced Sample Items Grade 8 - Target D
Excel Solver IE 469 Spring 2017.
Lesson 2 Tables and Charts
Excel Solver IE 469 Spring 2018.
Dr Huw Owens Room B44 Sackville Street Building Telephone Number 65891
Quadratic Equations and Functions
Excel Solver IE 469 Fall 2018.
Claim 1 Smarter Balanced Sample Items Grade 8 - Target D
Excel Solver IE 469 Spring 2019.
Presentation transcript:

Word & Excel This is an introduction to the use of the equation editor in Word. Those expressions can then be copied and pasted into Excel and elsewhere. I suggest that for our design reports, equations may be written by hand into a printed Excel report. This is also an introduction into the use of Excel to do all the necessary calculations for our design reports. The use of the numeric solver embedded in Excel is used to find the obvious roots of 2 nd and 3 rd order polynomials. Then it is used to find solution of very elaborate simultaneous non linear equations. Ultimately this numeric solver is used to find numeric ‘optimal’ solutions, to design problems that must be completely prescribed, but which otherwise are beyond a most normal human to judge. You must note that the solver does not ‘invent’ a solution, it merely finds the combination of values, that give the required end result. 1

The previous cubic is entered in Excel in away that may be read easily Note the ‘ name box’ is used here to give the numerical content of the cell a name, not just cell coordinates, that may then be used in equations. Subscripted variables may be represented with underscores eg x_1, a_2 etc. Excel has vector and matrix functions but it is not represented as done in Matlab name box Cell C12 is named ‘a_2’ (see the name box) and its value is -3.5, it is calculated as the sum of the 3 coefficients x_1, x_2 & x_3 This is just text reminding the user what this s.s. is about This is just text reminding the user the name of the variable in the cell to its right 2

Title indicating the purpose of this spread sheet Name of s.s. file Description of variable Symbol used in equations Value of variable units Equation to calculate variable An example of a layout for a s.s. The intentions is to make the file easily readable, used by others expanded by yourself and assessed by your supervisor. If your marker or supervisor cannot understand they will not give you the benefit of the doubt they will mark you down. 3

Right clicking on data point allows selection of data points altering their default point presentation in size, type, colour and fill And selection of line of ‘best’ fit ie the Tredline 4

Here selecting a cubic trendline must provide us with a near perfect fit. The full equation of the Trendline line may also be shown. This is a useful tool to arrive at an equation representing noisy data. 5

We copied a single pair of independent and dependent variables to B26 & C26. Select Tools/Solver, this permits the selection of the object function, ie the ‘ Target Cell ’ and the independent variable(s), ie ‘ Changing Cells ’. Note that the starting values of the search for the maximum ‘y’ are the values in the cells B26 & C26. The solver is a numeric not an a symbolic tool, it will gives only approximations. Cells B26 and C26 6

Here the correctness of the Solver ’s solution can only be verified within the resolution of the graph, but the range and density of the gridlines on the graph can be adjusted to give better resolution. The equation of the Trendline is available - good for random variables Local maximum, approximately (-0.6,15) 7

We now seek to find the min value of the cubic, using x = -4 as the starting point. The Solver finds the nearest or local condition required of the object function. The solver does not execute a global or a guided search. This initial condition for x & y tend to negative infinity, to limit the search we can add constraints. 8

In the search for some ‘optimal’ solution in design, where there are multiple variables, it is often necessary to use constraining relationships to eliminate nonsense answers. We have a rectangular prism representing a container for which we want to minimise the cost of the material or limit the heat transfer through the surfaces. The question is what are the proportions of the sides so that the surface area is a minimum. If we search for the smallest surface area, L, W & H will all tend to 0. Giving a box of no volume. An appropriate constraint may be taken to be that the volume be =1. 9

The search is then for the dimensions of a rectangular prism with the smallest surface area but fixed volume. Here we used a Volume =1 as the constraint. Fortunately essentially all practical engineering problems have fairly easily recognisable solutions, obvious constraints and limited pitfalls, unlike the sort of functions that mathematicians are fond of examining. What do you expect the lengths of the sides to be? 10

The search for the lengths of the length sides of a 13 dimension prism, of min surface area, but which meets 10 boundary conditions, ie all volumes from the 3 rd dimension to the 13 th are all required to be 1. Limits to: time, cycles, tolerance, method of approximations etc. The previous example is deceptively easy and quick. In an attempt to search for the limitations in the capacity of PCs and this solver, the 3 dimensional prism can be extended to higher dimensions 11

Not so long ago a PC would bog down long before the 13 th dimension, not at all now. A few years ago a 1 mega-flop computer would cost $1 M. To day new PCs can do much better. It would take a human with a calculator more than 2 years to do a mega- flop. This indicates to me that the ultimate power of PCs has barely been explored. 12

The function for the 13 th dimension surface area has 78 non linear terms !! 13

14 OVERVIEW ON THE USE OF THE SOLVER It may not initially be entirely obvious to you, but the solver is not psychic, the value in the cell that you try to ‘optimise’ must be a function of the cells that you declare as variables. The boundary conditions can be limits to the variables themselves or functions of those variables. The objective function, that you wish to come to some desired value, here referred to as the Target Cell, can be set to maximise, minimise or reach a particular value. The independent variables, that is the cells that you can declare as variables, are identified within By Changing Cells box. hence it is necessary that you have a continuous chain of relationships (equations), beginning with the independent variables to the objective function. This chain must extend to teach of the constraints, identified within Subject to the Constraints. If you have any discontinuity from the independent variables to the dependent variables, you will get nonsense. You can also generate nonsense many other ways. The advantage of this ‘Solver’ is that you get feedback very quickly

A real and very useful application is to find the parameters of a pair of gears that have an equal margin of safety against failure in 4 areas, two in each gear: Compressible failure A, on each. Tensile failure at B, at the base of opposite teeth. A chain is no stronger that its weaker link. The lowest factor of safety limits the capacity of the gear pair 15

Each variable shown here is a function of other variables. There are 2 sets of such equations one for each gear In a gear box there are many such sets, and in an industrial plant there may be many such boxes 16

If we are provided with the mean and alternating pressures in the cylinder: Pm, Pa, for n number of bolts, of grade X.Y we can calculate the diameter d and length l that will give a mean and alternating stresses σm, σa in the bolts, that will be below the Gerber parabola. The diameter and length of the bolts will determine the dimensions of the flange, D & C and hence its volume V. All this will give us just a ‘working solution’ not the lightest nor the cheapest. We can find an ‘optimal’ solution for this design by begging from where we finished and going backwards. We can set the solver to find the smallest volume V(d,l) by varying n, d, l, such that σm, σa will be below the Gerber parabola, for the given the pressures Pm, Pa. 17