CHAPTER 1
Introduction to Mathcad
Mathcad is a product of MathSoft inc. The Mathcad can help us to
calculate, graph, and communicate technical ideas. It lets us work with
mathematical expressions using standard math notation - but with the
added ability t
2. BASIC USAGE OF Mathcad
13
Practice
Start Mathcad and practice all shortcut keys (hot-key) listed in the
four tables.
2. Basic Usage of Mathcad
One can use Mathcad as ordinary graphic calculator in doing arithmetic computing like 3 + 5 = 8 , dening and
14
1. INTRODUCTION TO Mathcad
and another screen shot for selected text region,
Figure 15. Select Text Region
To select one or more regions on the screen, move the mouse to the
starting point and hold down right button and move the mouse. A
selecting box
2. BASIC USAGE OF Mathcad
15
Figure 17. Click at Dierent Location
or hold the [Shift] down and using the arrow keys to choose the selection
as in most text editors.
Furthermore, we can use [Ctrl]C (copy), [Ctrl]V (paste), and [Ctrl]X
(cut) as in most text
16
1. INTRODUCTION TO Mathcad
the assignment operator :=, and followed by the numeral value. For
example the keystrokes x:23 denes a variable named x whose value
is 23, which is displayed as a := 23 in the worksheet.
To dened a range variable, usually an
2. BASIC USAGE OF Mathcad
Type
x^2+3x
Display Remark
x2+3x
No space is typed
17
after ^ so
Mathcad continue entering the
expression as exponents.
x^2 +3x
x2 + 3 x
A space is typed after ^
so Mathcad exists the power
mode and enter 3x as another
term.
x[2+
18
1. INTRODUCTION TO Mathcad
is displayed. That might be due to our variable only has one value,
so only a dot is plotted. To see if this is the case, double click the
graph box, a popup window will show, by specifying the thickness of
the trace we will
2. BASIC USAGE OF Mathcad
19
Figure 19. Graph of two function in one graphing box
Notice, in this second screen shot t has only one value 2, so the
graph displayed as one point(green). We have changed the weight of
the trace to 5 so the point is big green
20
1. INTRODUCTION TO Mathcad
(a) f (t) = 2t et
(4) (b) f (t, x) = t2 4t sin(x)
2x x
(5) (c) f (t, x) = 2txe (x) .
cos
(6) Graph function f (t) = t2 2t 1
(a) without specifying value for t.
(b) dene t = 0, 0.1 5
(c) Graph g (t) = 4 sin(t) in the same char
2. BASIC USAGE OF Mathcad
21
You should format the text region so that the color of text is dierent
than math expression. You can choose color for text from Format
>Style select normal and click modify, then change the settings for
font. You can do this f
12
1. INTRODUCTION TO Mathcad
The following table list keystrokes for assignment plus relational
operators.
Keystroke Usage
Entering text
:
assignment
;
range
Type
a:3
a:1;
Display
Remark
a := 3
a := 1 . . .
a 3
a3
assign 3 to a globally
a:[Ctrl][=]1;
a<
1. USER INTERFACE: MENUS AND TOOLBARS
11
1.4. Shortcut keystrokes. Besides using menus or popup menu
toolbars to insert item into working place, we can (should) use shortcut
keystrokes (or hot keys) to accomplish the same goals.
One important concept in e
2
1. INTRODUCTION TO Mathcad
1. User Interface: Menus and Toolbars
Since MathCad is a window program as shown in the following
screen shot after run the Mathcad program.
Figure 1. Mathcad Window
The blank area is the work area that allow us typing and eva
1. USER INTERFACE: MENUS AND TOOLBARS
3
Figure 3. Menu Bar
Mathcad has nine popup toolbars that for entering math formulas,
mathematical symbol, graphing, programming, etc. We can choose to
bring up each one at a time or bring up the top level popup menu
4
1. INTRODUCTION TO Mathcad
Practice
(1) Start the Mathcad program and explore it top menu system by
click on each menu item.
(2) Bring up the Math popup menu toolbar, move mouse over
each icon to see the caption.
(3) Click each icon of the Math popup to
1. USER INTERFACE: MENUS AND TOOLBARS
5
The most frequently use menu selection in the matrix popup toolbar
is the create matrix icon,
which upon click will bring up a dialog box that allow us to create
a matrix with specied number of rows and columns. Ano
6
1. INTRODUCTION TO Mathcad
In the automatic execution mode, after we type 3+2= we get
3 + 2 = 5.
If we want to assign 2 to variable x we will have to type x:2 , which
will be displayed as x:=2 in the work area. Therefore, a mathematical
expression
y =x+
1. USER INTERFACE: MENUS AND TOOLBARS
7
The reason behind these dierences and using of Mathcad is that
scans your input from top to bottom and left to right as illustrated in
the following diagram.
Scan Start
Top-Left
to
/ Right
to
Bottom
So a variable or
8
1. INTRODUCTION TO Mathcad
Figure 9. Calculus Toolbar
1.2. The Insert Menu. The Insert menu,among other features,
allows a user insert a text region in the Mathcad work place or math
region inside text region,
Figure 10. Insert Menu
In side the text reg
1. USER INTERFACE: MENUS AND TOOLBARS
9
A third usage we are interested in the Insert menu is to insert a
graphic region, a matrix, and a special build in function. The following
screen shot shows the case of inserting a matrix.
Figure 11. Insert a Matrix
10
1. INTRODUCTION TO Mathcad
The following screen shot shows the case of evaluating an expression
symbolically.
Figure 13. Evaluate
Another screen shot to show nding Laplace transform symbolically.
Figure 14. Laplace Transform
Practice
(1) Find dierence
22
1. INTRODUCTION TO Mathcad
[-] entering
3x 2y + 4z = 1
x + 2y + z
=3
5x 8y + 22z = 11,
notice, you use [Ctrl][=] to enter the logic equal sign =.
[-] Enter keyword Find following by (x, y, z ), then press
[Ctrl][.]
Compare the solution obtained in abo