Advanced Excel. Table of Contents. Lesson 3 Solver

Similar documents
AutoCAD 2D. Table of Contents. Lesson 1 Getting Started

Appendix A. Selected excerpts from behavior modeling session Examples of training screens

NX 7.5. Table of Contents. Lesson 3 More Features

Table of Contents. Lesson 1 Getting Started

Try what you learned (and some new things too)

How To Handbook For Learners

2. Now you need to create permissions for all of your reviewers. You need to be in the Administration Tab to do so. Your screen should look like this:

Davis Art Images: Create and Share Slideshows

Environmental Stochasticity: Roc Flu Macro

Faculty Lecture Capture Guide

2809 CAD TRAINING: Part 1 Sketching and Making 3D Parts. Contents

CHM 109 Excel Refresher Exercise adapted from Dr. C. Bender s exercise

Star Defender. Section 1

GAME:IT Junior Bouncing Ball

G54GAM Lab Session 1

Physics 253 Fundamental Physics Mechanic, September 9, Lab #2 Plotting with Excel: The Air Slide

Selecting the Right Model Studio PC Version

Microsoft Excel Math Formula Guide

Term Definition Introduced in: Tab(s) along the ribbon that show additional programs or features (e.g. Acrobat )

nvision Actuals Drilldown (Non-Project Speedtypes) Training Guide Spectrum+ System 8.9 November 2010 Version 2.1

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert

Solving tasks and move score... 18

Office 2016 Excel Basics 24 Video/Class Project #36 Excel Basics 24: Visualize Quantitative Data with Excel Charts. No Chart Junk!!!

GAME:IT Junior Bouncing Ball

CCG Referral App - Northern Ireland

Comparing Across Categories Part of a Series of Tutorials on using Google Sheets to work with data for making charts in Venngage

CHM 152 Lab 1: Plotting with Excel updated: May 2011

Online Courses with the Writers Workshop

Completing the PMP Application

EXERCISE 1: CREATE LINE SPARKLINES

This is a fun, fast-paced course!! To avoid flat tires and crashes that will take you out of the race, carefully read this entire presentation.

Experiment P55: Light Intensity vs. Position (Light Sensor, Motion Sensor)

Spreadsheets 3: Charts and Graphs

Ziggy MacDonald University of Leicester

Legacy FamilySearch Overview

Assignment 5 due Monday, May 7

Kodu Game Programming

Section Table of Contents: Section 11.0

Motion Blur with Mental Ray

Digital Projection Entry Instructions

This tutorial will lead you through step-by-step to make the plot below using Excel.

Physical Inventory System User Manual. Version 19

Lab 4 Projectile Motion

Table of Contents. Creating Your First Project 4. Enhancing Your Slides 8. Adding Interactivity 12. Recording a Software Simulation 19

ENSC 470/894 Lab 3 Version 6.0 (Nov. 19, 2015)

CHATS Meals On Wheels Online Ordering User Guide

Using AutoCrat with Google Forms/Sheets

Lab 4 Projectile Motion

Chapter 4 Instructions

Welcome to 6 Trait Power Write!

Introducing the 2014 GED Test Item Samplers

Math 1310: Intermediate Algebra Computer Enhanced and Self-Paced

Digital Projection Entry Instructions

AP Art History Flashcards Program

Setup and Walk Through Guide Orion for Clubs Orion at Home

FWVSS (Food, Waterborne, Vectorborne Surveillance System) Training Manual - Arbovirus Surveillance - Sentinel Chicken

things you should know first: Technology Tablets Download free app Puffin Acdemy. More info in the Resources page on your educator dashboard.

Excel Manual X Axis Scales 2010 Graph Two X-

Following this guide will make step 1 a snap. FOLLOW IT CLOSELY And This Is Elementary SIMPLE!

Graphing with Excel. Data Table

OverDrive for Kindle, Kindle Paperwhite, Kindle Voyage, and Kindle Oasis (not Kindle Fire and Fire Tablet) Contents

Experiment P01: Understanding Motion I Distance and Time (Motion Sensor)

National Curriculum Statement: Substitute values into formulas to determine an unknown (ACMNA234)

7.1 Solving Quadratic Equations by Graphing

PRINTING ON YOUR IPAD

Unit 3.11 Introduction to Absolute & Polar Coordinates in AutoCAD Ardrey Kell High School Charlotte, NC Date: 11/18/13 (Revision II)

Excel Tool: Plots of Data Sets

Knowledge Base: How to use the Asphere Module

QUICKSTART

PREDICTOR INDICATOR FOREX LIBRA CODE

After you have completed the tutorial, you will be given an initial knowledge check by ALEKS to determine what topics you already know so ALEKS can

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information

Activity Sketch Plane Cube

Create a game in which you have to guide a parrot through scrolling pipes to score points.

Introduction to NeuroScript MovAlyzeR Handwriting Movement Software (Draft 14 August 2015)

uiulearn TUTORIAL INTEGRATIONS> HOW TO USE PANOPTO (STUDENT)

TABLE OF CONTENTS. Logging into the Website Homepage and Tab Navigation Setting up Users on the Website Help and Support...

In this project you ll learn how to create a game, in which you have to match up coloured dots with the correct part of the controller.

Resources to help clients optimize their move online

VISSIM Vehicle Actuated Programming (VAP) Tutorial

Experiment P02: Understanding Motion II Velocity and Time (Motion Sensor)

LESSON ACTIVITY TOOLKIT 2.0

Getting Started Guide

My Blogs: To Add New Blog Post: o Click on the My Learn360 link. You will then see eight different tabs (below).

[DOING AN ODA: STEP-BY-STEP INSTRUCTIONS]

To begin you need to log on to the Missouri Connections website.

Building a Personal Portfolio in Blackboard UK SLIS

M-16DX 16-Channel Digital Mixer

My Star Cards - StarCash

Scratch for Beginners Workbook

How to prepare your files for competition using

ECE 497 Introduction to Mobile Robotics Spring 09-10

Navigating our Job Board is quick and easy!

SPREADSHEET SET-UP. To switch simply click on the gear icon in the upper-left side of the page. Then click Experience the new Drive

OverDrive for PC, Mac, and Nook or Kobo ereaders. Contents

Peer Connections Online Appointment Scheduling via Spartan Connect!

Welcome to JigsawBox!! How to Get Started Quickly...

Chapter 16: Batch Scanning

Create a CaFE Account (for those who do not have one) In order to submit entries for the FWS Annual Exhibition and/or the Online Show, you need to:

NET PAY USING EXCEL***

Transcription:

Advanced Excel Lesson 3 Solver Pre-reqs/Technical Skills Office for Engineers Module Basic computer use Expectations Read lesson material Implement steps in software while reading through lesson material Complete quiz on Blackboard Submit completed assignment on Blackboard Attend help sessions as necessary Post comments on lesson web page Objectives/Measurables Learn how to use Solver for Max/Min problems, measured via score on assignment Understand the applications of Solver, measured via Blackboard quiz score Table of Contents Advanced Excel... 1 Lesson 3 Solver... 1 Pre-reqs/Technical Skills... 1 Expectations... 1 Objectives/Measurables... 1 1. Introduction... 1 1.1 Install Solver... 2 2. Solver for Equations... 3 3. Solver for Optimization... 4 3.1 Profit Maximization... 4 Conclusion... 7 1. Introduction Solver is an Excel application that can be applied to a spreadsheet with formulas to find the maximum or minimum value of the result of a cell formula. As you already know from the projectile motion spreadsheet, the value in one cell can depend of the value in many other cells which in turn may depend on other cells. If you wanted to find the absolute maximum distance that it can shoot while staying inside the parameters, you could continue guessing input values for a long time until you find the max distance, or you could set up Solver and have it do the hard work. 1

1.1 Install Solver In order to use Solver first you must install the add-in from the options menu. Click on the Office Button in the top left corner, and then select the Excel Options button at the bottom of the drop down menu (click the File button then select Options in Excel 2010) The Excel Options window should open, in the left pane select add-ins Figure 1 - Add-Ins - Excel Options On the bottom of the scroll box there is Solver Add-in, select it and then click on the Go button near the bottom of the window. Figure 2 - Add-Ins That should make the Add-Ins window open, on this check the box next to Solver Add-in and click OK Depending on the computer you are on, an error message might pop up saying Microsoft Office Excel can run this Add-In. This feature is not currently installed, would you like to install it now? simply hit install and wait for Excel to finish. This could take a few minutes. Once it is finished, you are ready to use Solver 2

2. Solver for Equations Before you use Solver on the projectile problem, you ll set up Solver to find a solution to a mathematic equation, in this case the general form of the Polynomial equation, but could be applied to almost any problem. Download Polynomial from the IDE 20 website Figure 3 - Polynomial Select cell B3, the Right Side value, this is the value of Ax 2 +Bx+C. If all the coefficients and the value for x are correct, this value will be zero. Click the Solver button to the far right on the Ribbon under the Data tab Solver Parameters window should open Figure 4 - Solver on the Ribbon Figure 5 - Solver Parameters (2007 Left, 2010 Right) This is an extremely powerful Excel tool; it tests a cell for a desired value while varying the values in other cells according to constraints to change the tested value. Let s go through the parts of the window: Set Target Cell (2007) or Set Objective (2010) is the cell that solver will test, either for a Max/Min or a specific value Equal To (2007) To (2010) is where you designate Max/Min or the target value 3

By Changing Cells are the cells that you are allowing Solver to change in order to change the tested value to Max/Min or the value Subject to the Constraints sets limitations of how much Solver is allowed to change the cells Select Value of: and make sure that the value is 0 This tells Solver that you want to make the value in the cell B3 equal to 0 The cells that contribute to the value in B3 are cells B4 through B7, however to solve a quadratic, you are only allowed to change x as everything else is constant. So in By Changing Cells: enter or select x, cell B7 This allows Solver to change the x value any way it wants to make the value in B3 equal to 0 Lets run this problem, click Solve The value should change and the Solver Results Window should open Select Keep Solver Solution and click OK There should be a value of 2, this is one solution to the Polynomial This will work for any values of A, B and C, if you change the coefficients, you will need to refresh the problem, which can be done by clicking the solver button; Excel saves the criteria you entered into solver to make recalculation quick. 3. Solver for Optimization While you could enter any value into the Quadratic Solution Generator for solver to calculate, it still doesn t come close to what Solver is actually capable of. Next, we will solve a problem with multiple constraints and changeable values. 3.1 Profit Maximization You are the engineer in charge of a computer hardware manufacturing plant; you need to decide what products you are going to produce in order to maximize profit. You have the all the relevant data in a spreadsheet, you just need to run Solver to find the number of each product to produce. Open the Manufacturing spreadsheet off the website Figure 6 - Solver Problem The top part of the sheet is just data on the different products. Under that are the number of Machine hours and Labor hours available, these will act as limits for Solver. Below that is all the data formatted into a chart On the left is all the raw data, and on the right is all the totals Select cell G15, and open solver 4

Figure 7 - Solver Parameters Solver should have imported cell G15 into the target cell box, if not set the Target Cell to G15 In this Problem we want the maximum profit possible, so select Max Next, you have to specify which cells Solver is allowed to change, the variable in this case is the number of units of each product With the By Changing Cells box active, select cells F12:F14 For this problem there a few constraints, click the Add button, which opens this window Figure 8 - Constraint Window First, it is important that the number of units produced is less than the demand, while in the first box select F12:F14, choose less than or equal to in the drop down box, and while in the second box select E12:E14, then hit Add Figure 9 - First Constraint This is just a more compact way of telling solver to check that F12 <= E12, F13<= E13, and F14 <= E14, Next, Select Labor Hours, cell H15, and constrain it to be less than or equal to Labor Hours Available, cell B8 5

Figure 10 - Second Constraint Same thing for Machine hours (cell I14 < = B9). Figure 11 - Third Constraint Finally, it is only possible to create whole (integer) numbers of units, it is impossible to profit from.333 of a keyboard. Select F12:F14, choose int from the drop down box, hit OK This tells Solver that you only want integers in those cells Figure 12 - Fourth Constraint Back on the first window, click Solve. Solver should again adjust the numbers, and then ask if you want to keep the numbers it calculated, click Keep Solver Solution. Figure 13 - Solver Window 6

Figure 14 - Result Conclusion As you can see Solver can quickly find solutions for complex problems, and this problem is far from Solver s limit. Solver is frequent use in engineering applications to solve minimum value, maximum value (such as a Figure of Merit) and target problems. Assignment Use the ProjectileMotion spreadsheet from Lesson 01 as a starting point. Use Solver to find the angle of launch and launch velocity necessary to hit a target 300m away with a cliff height of 10m. The angle of launch must be between 30 and 60 degrees and has to be an integer (express these things as constraints). Input values should be: Cliff Height (B4): 10 Total Distance (B8): 300 Points will be assigned as follows: Correct projectile motion formulas (from Lesson 01) (2) 30 degree min constraint (2) 60 degree max constraint (2) Angle integer constraint (2) Solver setup correctly and successfully solved (2) Submit an Excel spreadsheet with Solver set up for this problem and a valid result from Solver saved. 7