# L2 - CGN 3421 Computer Methods Gurley Lecture 2 Mathcad Basics Operators Addition Subtraction Specify evaluation order Multiplication Division ^

This preview shows pages 1–4. Sign up to view the full content.

CGN 3421 - Computer Methods Gurley Lecture 2 Mathcad Basics page 12 of 20 Lecture 2 Mathcad Basics Operators + Addition, - Subtraction, * Multiplication, / Division, ^ Power ( ) Specify evaluation order Order of Operations ( ) ^ highest level, first priority * / next priority level + - last operations to be performed y := 2 x := 3 * y^2 x = 12 y := 2 x := (3*y)^2 x = 36 y := 2 x := 3 * y + 2 x = 8 z := 3*6+6*2/4 z = 21 x := 5^2/2 x = 12.5 Homework Format and Template: We’ll each develop a simple template to use to start any new homework. The idea of a template is to lay- out the basic structure of what goes into a homework assignment, minus the actual input, calculations, and output necessary for a specific assignment. To create template: Simply start a new worksheet and type in what you want on the template. Then use Save As and pick the mathcad Template option. To use template: From mathcad, open the template through the File --> Open command and change the Files of Type box at the bottom to Mathcad Template. Before adding any information to the template, save it as a standard worksheet of desired name by using File --> Save As. Note that the Save as Type box at the bottom auto- matically is set to standard Mathcad Worksheet format. Choose a name and save. Now the original tem- plate is preserved for the next use, and you can begin work on your new assignment.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
CGN 3421 - Computer Methods Gurley Lecture 2 Mathcad Basics page 14 of 20 Sample Homework Template Computer Methods in Civil Engineering CGN 3421 Fall Semester, 2001 Kurt Gurley HW#: HW Title: Problem Statement: Observations: Pseudocode: ORIGIN 1 INPUT SECTION CALCULATIONS SECTION OUTPUT SECTION page break

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 05/18/2011 for the course CGN 3421 taught by Professor Long during the Spring '08 term at University of Florida.

### Page1 / 9

L2 - CGN 3421 Computer Methods Gurley Lecture 2 Mathcad Basics Operators Addition Subtraction Specify evaluation order Multiplication Division ^

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online