Professional Documents
Culture Documents
0 Essentials
Course Objectives
In this course, you will learn how to:
Training Agenda
Module 4: Variables
Module 5: Functions
Module 9: Units
Training Agenda
Objectives
After completing this module, you will be able to:
Opening Mathcad
This process enables you to open Mathcad, a new worksheet, or an existing file.
To get started:
Mathcad Worksheets
Display and calculate your work in Mathcad worksheets.
Math, text, and other elements are contained in
regions in your worksheet. The following types
of regions are available:
Math
Table
Plot
Solve Block
Image
Text Block or Box
MCDX
MCTX
XPS
Objectives
After completing this module, you will be able to:
Text Regions
Mathcad supports calculation documentation through the use of text regions.
Text regions:
Font
Size
Color
Other standard text properties
Expressions
Definitions
Functions
Matrices
Figure 1 Embedded Live Math
Math styles
Text styles
Page defaults
Headers and footers
Numerical formats
Unit systems
Calculation mode
Plot values
Objectives
After completing this module, you will be able to:
Using Operators
Operators are symbols, such as the plus sign (+) and the minus sign (-), that link variables and numbers together to
form expressions.
When typing or modifying a mathematical
expression in Mathcad you can:
Insert an operator.
Identify the operands.
Modify an existing operator.
Figure 1 Mathcad Expression Using
Multiple Operators
Placeholders
Operators
Symbols
Constants
Result Format
Display Precision
Show Trailing Zeros
Complex Values
Figure 1 Results Group: Math Formatting Tab
Implied Multiplication
Mathcad supports implied multiplication.
Implied multiplication:
i, j.
Module 4: Variables
Mathcad Prime 3.0 Essentials
Objectives
After completing this module, you will be able to:
Define a variable.
Evaluate a variable.
Define a global variable.
Assign an expression retroactively.
Use literal subscripts.
Defining a Variable
A variable may equal a scalar, array, string, or range of scalar values.
Variables in Mathcad:
Variable names.
Representing derivatives in partial differential
equations.
Module 5: Functions
Mathcad Prime 3.0 Essentials
Objectives
After completing this module, you will be able to:
Objectives
After completing this module, you will be able to:
A starting value.
An ending value.
A second value specified, if not using a unit
step.
Objectives
After completing this module, you will be able to:
Control calculations.
Use calculation options.
Use areas.
Controlling Calculations
By default, Mathcad opens in Auto Calculation mode. In this mode, all results are automatically updated.
You can control calculations in Mathcad by:
Approximate Equality
ORIGIN in Strings
Strict Singularity Check
Multithreading
Units/Constants in Symbolics
Using Areas
Calculations in Mathcad can be enclosed in an area and collapsed and/or disabled.
To enclose calculations in an area:
Insert an area.
Type calculations in the area.
Objectives
After completing this module, you will be able to:
Manual entry.
Defining each element using a range variable.
Importing data from a file.
Elements in an array:
Manual entry.
Populating an array element-by-element.
Using range variables.
A single element.
An entire column or row.
A subset, or submatrix of data.
Figure 1 Original Matrix
Nested Arrays
An array may contain an element that is another array.
An array embedded within another array is called
a nested array.
Functions group.
Module 9: Units
Mathcad Prime 3.0 Essentials
Objectives
After completing this module, you will be able to:
CGS
USCS
Using Units
Mathcad enables you to multiply values by built-in units or custom defined units.
Using Mathcad you can:
Arrays.
Range variables.
Kelvin.
Rankine.
Degrees Fahrenheit.
Degrees Celsius.
Objectives
After completing this module, you will be able to:
User-defined functions.
Built-in functions.
A quickplot.
Figure 1 User-Defined Function
Axes Formatting
Log scale
Cross axes at 0,0
Tick marks
Tick mark values
Axis expressions
Figure 1 Default Plot
Objectives
After completing this module, you will be able to:
Define variables.
Create and evaluate equations.
Use operators.
Define range variables.
Create and use matrices.
Create a 2D plot.
Figure 1 Shaft
Objectives
After completing this module, you will be able to:
Appearance.
Axes.
View control.
Suppressing the plot arguments.
Objectives
After completing this module, you will be able to:
Objectives
After completing this module, you will be able to:
Symbolics
Mathcad can perform operations on symbolic expressions, expressions that contain variables or mathematical
symbols, and return results in symbolic form.
You can perform symbolic calculations on:
Variables
Functions
Symbolic Calculation
When you evaluate an expression with the Symbolic Evaluation operator, Mathcad simplifies the result by
performing arithmetic and combining like variables.
Symbolic keywords provide an additional level of
control over symbolic evaluation.
Figure 1 Symbolic Evaluation
Symbolic Algebra
You can use keywords to algebraically simplify, expand, or factor expressions.
Mathcad contains the following algebraic
keywords:
simplify
expand
factor
Objectives
After completing this module, you will be able to:
Guess values
Constraint listing
Solution statement
Objectives
After completing this module, you will be able to:
Constrained Optimization
Constrained optimization in Mathcad requires a solve block construct because you specify the constraints that the
variables must satisfy.
Constrained optimization requires:
An objective function to optimize and constraints that must be satisfied within the optimization.
Guess values for each independent variable.
Unconstrained Optimization
You can solve unconstrained optimization problems in Mathcad with or without using a solve block.
To solve an unconstrained optimization problem:
Objectives
After completing this module, you will be able to:
Objectives
After completing this module, you will be able to:
Create a program.
Use conditional statements.
Use looping constructs.
Creating a Program
Mathcad's programming operators enable the extension of Mathcad's functionality when writing customized
functions and processes for calculations.
You can access Mathcad's programming operators by selecting the Math tab, and clicking
Programming
Conditional Statements
Mathcad provides operators to enable conditional program branching.
The operators that enable conditional branching
are:
if
else
else if
also if
Looping Constructs
Mathcad looping constructs enable you to iterate any combination of expressions in a way that is difficult to
execute with range variables or other constructs.
Two program looping constructs are available:
For loops.
While loops.
Objectives
After completing this module, you will be able to:
Importing Data
Mathcad works with files and functionality from other applications, such as Excel and Matlab.
There are a variety of methods that you can use to
import data into Mathcad:
Exporting Data
Mathcad supports writing data stored in a vector or matrix to a data file.
Mathcad provides multiple file output options for
exporting data to a data file:
Objectives
After completing this module, you will be able to:
Smooth data.
Interpolate data.
Regress data.
Data Analysis
Mathcad supports a variety of data analysis options.
The data analysis options supported in Mathcad
include:
Smoothing
Interpolation
Regression
Smoothing Data
A data smoother takes a set of data and returns a new set that contains less noise than the original set; however, it
still retains the basic shape and properties of the original data.
Mathcad provides three smoothing functions.
medsmooth
ksmooth
supsmooth
Interpolating Data
Interpolation draws lines, or polynomial curves, between data points to predict values that are not in the data set.
Mathcad supports several types of interpolation.
The following two types are discussed here:
Linear Interpolation
Cubic Spline Interpolation
Regressing Data
Parametric, or regression, methods approximate the parameters of a function to a set of data.
Mathcad supports several types of regression
methods. The following are discussed here:
Linear Regression
Polynomial Regression
Objectives
After completing this module, you will be able to: