Mathcad Lecture #1 In-class Worksheet Mathcad Basics

Similar documents
MET 107 Getting Started in Mathcad Document Set 1. The majority of these documents are taken from the Mathcad Resources (Help) pages.

SHORT CUT GUIDE TO MATHCAD. J. (:. McGee and W. D. Holland

Using the Equation Palette

Introduction to Mathcad

Maple Quick Start. Maplesoft, a division of Waterloo Maple Inc.

The MathType Window. The picture below shows MathType with all parts of its toolbar visible: Small bar. Tabs. Ruler. Selection.

Unit 12. Electronic Spreadsheets - Microsoft Excel. Desired Outcomes

Using Mathcad to Perform Mathematics Charles Nippert

The Mathcad Workspace 7

John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad is not the specialist's ultimate mathematical simulator

Excel Intermediate

EXCEL TUTORIAL.

Using Arrays and Vectors to Make Graphs In Mathcad Charles Nippert

Lecture- 5. Introduction to Microsoft Excel

Excel 2016: Part 1. Updated January 2017 Copy cost: $1.50

SUM - This says to add together cells F28 through F35. Notice that it will show your result is

EXCEL 98 TUTORIAL Chemistry C2407 fall 1998 Andy Eng, Columbia University 1998

EXCEL BASICS: MICROSOFT OFFICE 2010

PTC Mathcad Prime 3.1 Keyboard Shortcuts

Step 2: Headings and Subheadings

PTC Mathcad Prime 3.0 Keyboard Shortcuts

Cell to Cell mouse arrow Type Tab Enter Scroll Bars Page Up Page Down Crtl + Home Crtl + End Value Label Formula Note:

Activity 1 Creating a simple gradebook

EXCEL BASICS: MICROSOFT OFFICE 2007

EXCEL 2007 TIP SHEET. Dialog Box Launcher these allow you to access additional features associated with a specific Group of buttons within a Ribbon.

Working with Algebraic Expressions

Access 2003 Introduction to Report Design

Excel 2010: Basics Learning Guide

Excel Basics. TJ McKeon

Microsoft Excel 2010 Basics

Introduction to Excel 2013

Grade 8 FSA Mathematics Practice Test Guide

Contents Microsoft Excel Lesson 1: Entering Text and Numbers...4 The Microsoft Excel Window...4 The Microsoft Office Button...

Put the Graphs for Each Health Plan on the Same Graph

FSA Geometry EOC Practice Test Guide

Introduction to Mathcad

Summer Packet 7 th into 8 th grade. Name. Integer Operations = 2. (-7)(6)(-4) = = = = 6.

Lab 1: Getting familiar with LabVIEW: Part I

Excel 2010: Getting Started with Excel

Working with Microsoft Excel. Touring Excel. Selecting Data. Presented by: Brian Pearson

SAMLab Tip Sheet #1 Translating Mathematical Formulas Into Excel s Language

FSA Algebra 1 EOC Practice Test Guide

PART ONE 1. LAYOUT. A file in Excel is called a Workbook. Each Workbook is made up of Worksheets (usually three but more can be added).

Standardized Tests: Best Practices for the TI-Nspire CX

STAR OFFICE WRITER. Lesson 2

WEEK NO. 12 MICROSOFT EXCEL 2007

TI-84+ GC 3: Order of Operations, Additional Parentheses, Roots and Absolute Value

Mathcad Lecture #3 In-class Worksheet Functions

Lecture 3 - Template and Vectors

YOGYAKARTA STATE UNIVERSITY MATHEMATICS AND NATURAL SCIENCES FACULTY MATHEMATICS EDUCATION STUDY PROGRAM

INTRODUCTION... 1 UNDERSTANDING CELLS... 2 CELL CONTENT... 4

Using Formulas and Functions

COMPUTER TRAINING CENTER

INFORMATION SHEET 24002/1: AN EXCEL PRIMER

Final Exam: Precalculus

1. Math symbols Operation Symbol Example Order

2.Simplification & Approximation

Introduction to Microsoft Excel 2010

Status Bar: Right click on the Status Bar to add or remove features.

Reference and Style Guide for Microsoft Excel

EXCEL 2003 DISCLAIMER:

The major change in Word is the ribbon toolbar. The File menu has been replaced with a button.

Computer Nashua Public Library Introduction to Microsoft Word 2010

Getting to Know Maple

Excel Simple Worksheets (with Functions)

Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving Excel Tutorial VIII

Introduction to Excel

Section 7.6 Graphs of the Sine and Cosine Functions

The first time you open Word

FSA Algebra 1 EOC Practice Test Guide

PARTS OF A WORKSHEET. Rows Run horizontally across a worksheet and are labeled with numbers.

Les s on Objectives. Student Files Us ed

Creating a Spreadsheet by Using Excel

Indispensable tips for Word users

Microsoft How to Series

1-6 Order of Operations

Word Tips & Tricks. Status Bar. Add item to Status Bar To add an itme to the status bar, click on the item and a checkmark will display.

2.2 Order of Operations

The New York Society Library Presents:

The American University in Cairo. Academic Computing Services. Word prepared by. Soumaia Ahmed Al Ayyat

Microsoft Excel 2010 Handout

Welcome. Please Sign-In

Creates a 1 X 1 matrix (scalar) with a value of 1 in the column 1, row 1 position and prints the matrix aaa in the command window.

How to use Excel Spreadsheets for Graphing

Using Basic Formulas 4

IT ACADEMY LESSON PLAN

hp calculators HP 50g Algebraic and RPN Operating Modes Calculation Modes A simple example - the area of a piece of carpet Setting the mode

MS Excel Henrico County Public Library. I. Tour of the Excel Window

Using Microsoft Word. Paragraph Formatting. Displaying Hidden Characters

MS Excel Henrico County Public Library. I. Tour of the Excel Window

Excel Basics 1. Running Excel When you first run Microsoft Excel you see the following menus and toolbars across the top of your new worksheet

1 THE PNP BASIC COMPUTER ESSENTIALS e-learning (MS Excel 2007)

Microsoft Excel 2010 Tutorial

PTC Mathcad Prime 3.0

Cool Things To Do with Word, Excel & PowerPoint!

Excel Macros, Links and Other Good Stuff

Excel 2003 Essentials

The same can also be achieved by clicking on Format Character and then selecting an option from the Typeface list box.

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013

Microsoft Office. Microsoft Office

Transcription:

Mathcad Lecture #1 In-class Worksheet Mathcad Basics At the end of this lecture, you will be able to: Evaluate mathematical expression numerically Assign variable and use them in subsequent calculations Distinguish between the different types of Mathcad "equal signs" and use each appropriately Construct complex mathematical equations involving ()'s, exponents, square roots, etc. Perform symbolic algebraic manipulations using both the menu-based method and toolbar method. Format Mathcad sheets for readability by highlighting regions, changing answer precision, and aligning regions. 1. Evaluating Expressions Numerically Explanation The red crosshair indicates the insertion point on the worksheet. You can begin typing numbers and mathematical symbols + is for addition - is for subtraction / is for division * is for multiplication Try typing 15-8/104.5= 8 15 14.93444976076555 104.5 Try typing 15-8<space>/104.5= 15 8 1044.5 0( x 1) The blue horizontal line indicates what is currently selected The blue vertical line indicates the insertion point Change the selection portion by pressing <space> Toggle the insertion point between one end of the selection to the other by pressing <insert> Left and right arrow keys can be used to move the insertion point.. Assigning and Using Variables Explanation Variables can be created to store values A variable can be given almost any name, from single letters to words

Assign a variable by typing the desired name followed by : followed by a numerical value. Once a variable is assigned, it can be used in subsequent calculations. a 5 a 5 Notice that the result of typing : is := Colon (:) is called the assignment operator. Caution: The order of variable assignment is important. x 5 y 10 x y 15 x y 3 Different Types of Equal Signs Explanation Mathcad evaluates expressions from Left to Right and Up to Down Consequence: Variables must be assigned before they are used. Up to this point, we have seen two types of equal signs; = and := There are actually four types of equal signs in Mathcad 1. Assignment Operator (discussed above) Keystroke is : f 3. Display Value (seen above) Keystroke is = f 3 3. Global Assignment Operator Keystroke is ~ h is defined everywhere "above" and "below" h 4. Symbolic Assignment Keystroke is <ctrl>= We will use this more later. PV = nr T Notice the keystroke and associated symbol of each type of equal sign Usually don't want to use global variables except for such things as Avogadro's

number or the gas constant. Cautions Mathcad has several predefined variables. (Help => Built-in Constants) π 3.14 c.998 10 8 m g 9.807 m s s R 0.556 K e.718 You can reassign variables. Be sure you don't do so inadvertently. 4. Common Mathematical Operations Explanation Notice the green underlining on g. This means you reassigned the variable. (You can turn off this warning in the Tools/Preferences menu.) Mathcad has almost any mathematical operator you need. These are found on Tool Palettes or can be inserted with various keystrokes The table below has a list of common operations and the associated keystrokes The main Tool Palette can be accessed by selecting View/Toolbars/Math. Several other palettes can then be accessed by clicking on the icons. The calculator icon has several common operations. Keystroke Description + Add - Subtract * Multiply / Divide <Shift>6 Power x^y Absolute Value \ Square root <Ctrl>\ Nth root Enlarges the selected part of an expression. Space within a variable <Space Bar> name turns it into text <Ctrl><Enter> Addition with a line break (To place long expression on two lines) Toggles the insertion point between the front and back of the <Insert> expression. Creates a text box.. Text subscript as part of a variable name. [ Vector/Matrix subscript <Ctrl>g Changes the preceding character to the corresponding Greek letter.

Practice Evaluate the following when x = 11 and y = -3 xy, x/y, x y, x y y,,, (x+3) -y x x : Label vs. vector subscripts A variable label may contain subscripts. Two types of subscripts are found in Mathcad. Each does something different. Typing a period (.) will give you a "label" subscript. Typing a bracket ([) will give you a vector subscript. Label Subscripts Using the Period Key Vector Subscripts Using the Bracket Key We will learn more about this type of subscript later. Using the wrong subscript is a common mistake that brings long hours of debugging. Note that each type looks identical when not selected. When a variable with a "label" subscript is selected, a small period appears in the subscript to remind you how the subscript was made. 5. Editing Expressions Editing is often frustrating in Mathcad because as you delete or add numbers or variables Mathcad might add ()'s when they are not wanted. In general, the best way to do it is to place the insertion bar before the variable and number to be deleted and press the delete key. If you try to go behind the variable to be selected and press the backspace key, you have more problems. More specific tips are now discussed. Change a value Place the insertion point where the error is and either delete or backspace. R g 8.14 Should be 8.314

Change an operator Place the insertion point where the error is and either delete or backspace. r A = πr Should have := Add a minus sign Placing the insertion point to the right of the open place holder will add a minus sign, not a subtraction operator. Placing the insertion point to the left of the operator will yield a subtraction sign. r B = 18x 3y left of placeholder right of placeholder 6. Symbolic Manipulations Essentially two methods are available to perform symbolic manipulations. You can use either the Symbolics menu or the Symbolic tool palette. The difference between the two is in recalculation. If you use the tool palette, all previous calculations and variable assignments are honored and the symbolic operation is recalculated whenever a change is made. If you use the pull-down menu, previous calculations are not honored and symbolic operation is only done once (is not recalculated when changes are made). The output of the pull-down menu can be made more readable by changing the Evaluation Style. Tool palette Pull down menu Notice that if the value of z is changed, the answer to the first symbolic operation changes but not the second. Notice that if the z is deleted, the answer to the first symbolic operation second are the same. Remember to select the entire expression to be simplified when using the pull-down menu.

Remember to select the entire expression to be simplified when using the pull-down menu. Practice Use both the symbolics pull-down menu and the symbolic tool palette to perform the following operations. x 3x 4 1. Simplify x 5 x 4. Expand x y 3. Factor x 8x 16 7. Formatting Mathcad You can do several things to make Mathcad easier to read. Change the margins to 0.5 or 1.0 in instead of the 1. inches Highlight results a 1 b a b 3

Align regions b a 1 a b 3 a b 1 Change precision You can change the number of significant digits shown by first clicking on the equation or answer of interest and then go to Format then Results and then type in the number significant digits. Greek Letters Greek letters can be obtained using the Greek Tool Palette or by typing the corresponding Roman letter and hitting <ctrl>g. 8. Mathcad Help The Mathcad Help menu is actually very good. Often, the help menu has Quick Sheets which are actual Mathcad documents that you can copy and paste into your worksheet. if you have a problem with Mathcad, or don't know how to do something, check the help menu. 9. More Practice A. Entering/Editing Equations Input the following equations into Mathcad. c b d a ans a k dl e (6x ri ) k dt / erf (6x ri ) k dt 1 1

B. Trig Functions Answer the following and explain how you determined your answer. When using trigonometric functions, what are the units on the angle? At what angle will the cosine be equal to 0.5? C. The pressure of an Ideal Gas In an industrial process, you are compressing lbmol of nitrogen. The temperature and volume before the compression are 500 R and 600 ft 3 respectively. After the compression, the temperature and volume are 600 R and 400 ft 3 respectively. What is the change in pressure if nitrogen can be assumed to be an ideal gas. Note: Rg = 10.73 ft 3 psia lbmol -1 R -1.