EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

15
JVLS04 1 EG413 Computer Aided Engineering EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step Tutorial 1: Mathcad, step-by-step G. Mustoe

description

EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step. G. Mustoe. Purpose and Setup. Demonstrate how to use MATHCAD basics in Tutorial 1 - PowerPoint PPT Presentation

Transcript of EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

Page 1: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 1

EG413 Computer Aided EngineeringEG413 Computer Aided Engineering

Tutorial 1: Mathcad, step-by-stepTutorial 1: Mathcad, step-by-step

G. Mustoe

Page 2: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 2

Purpose and SetupPurpose and Setup

• Demonstrate how to use MATHCAD basics in Tutorial 1

• Note, these instructions only explain the major MATHCAD commands used, not a complete description of every line of MATHCAD commands for Tutorial 1

• While performing the step-by-step MATHCAD solution have a copy of Tutorial 1 equations at hand

Page 3: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 3

Mathcad Commands required for Tutorial Mathcad Commands required for Tutorial 11

•Use Text mode•Use Equation mode and <space> •Copy and paste a picture•Define a variable•Evaluate a variable•Define a function•Evaluate a function•Create a range variable (integers)•Define a vector using an array subscript•Make an x-y plot

Page 4: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 4

Mathcad – Text modeMathcad – Text mode

“Tutorial 1 – Linear ..

Page 5: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 5

Mathcad – Equation modeMathcad – Equation mode

AL:0.5*0.55

AL=

Page 6: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 6

Mathcad – Copy and paste and pictureMathcad – Copy and paste and picture

1. Select

2. Select region To be copied

3. Select copy

Page 7: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 7

Mathcad – Paste picture into MCAD sheetMathcad – Paste picture into MCAD sheet

Select edit->Paste Special->device independent bitmap

Page 8: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 8

Mathcad – Toolbars and use of <space Mathcad – Toolbars and use of <space bar>bar>

Click on three toolbars:Calc., Matrix, Greek

Alpha:AL-AU<space>

Page 9: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 9

Mathcad – Use of <space bar>Mathcad – Use of <space bar>

Alpha:AL-AU<space>/AU

NOTE: See what happens if <space> is not used in above equation!!

Page 10: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 10

Mathcad – Function definitionMathcad – Function definition

NOTE: Use of <space> 3 times

Page 11: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 11

Mathcad – Function evaluation and Mathcad – Function evaluation and display sig figsdisplay sig figs

Double click #, and define 6 dec. places

Page 12: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 12

Mathcad – range variables and vectorsMathcad – range variables and vectors

i:1,2;10

X[i:(i-1)*L/9

NOTE: you can use [ or click hereto define an array subscript

Page 13: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 13

Mathcad - xy plotMathcad - xy plot

Page 14: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 14

Mathcad - xy plot (continued)Mathcad - xy plot (continued)

After selecting xy plot, insert U and X at placeholder locations

NOTE: To insert titles, legends, etc.,Double click on the graph, and select appropriate features

Page 15: EG413 Computer Aided Engineering Tutorial 1: Mathcad, step-by-step

JVLS04 15

Concept QuestionsConcept Questions

1. What are MathCAD's two main modes?2. How do you define a function in MathCAD?3. How do you debug a MathCAD spreadsheet?4. In what order are values calculated in

MATHCAD?5. What is a range variable and why are they

used? Give an example.6. Explain the difference between the two

different types of subscript variables in MathCAD and how you use each.