You are on page 1of 1

Useful keystrokes in Mathcad

Operation Mathcad Prime Mathcad 14 or 15


Define variable : same
Evaluate variable or expression (can use in the same 
line as defining a variable if desired) = same
Equality test or desired equality in solve block Ctrl = same
Select item(s) to move or delete Click and drag to draw box around item(s)
Subscript variable Ctrl ‐ .
Create vector or matrix Ctrl m Ctrl m
Add row to vector or matrix Shift Enter Ctrl m, specify number, click Insert
Add column to vector or matrix Shift Space Ctrl m, specify number, click Insert
Select single element from vector or matrix (first 
element=ORIGIN variable, zero by default) [ then element number same
Greek letter Use Symbols toolbar or type English letter and then Ctrl g
Create Solve block Toolbar button or Ctrl 1 Type the word, Given
Range variable (may be used for plotting) , , then ;
Text box Ctrl t "
Text variable " Varaiable name then : then "
Define a function (Needed for plotting.  example: y as a 
function of x) y(x):x+3 same
Evaluate function at certain value y(4)=   (Mathcad outputs 7) same

Tips
Mathcad reads from left to right, then from top to bottom.  You need to define a variable above or to the left of the place 
where you want to use the variable.
Type units when entering a number (including when defining a variable) or outputting a number, but not when using a 
variable; the units are stored inside the variable once you define it.
The unit pound is a unit of force.  Mathcad calls this unit "lbf".  The unit in Mathcad called "lb" is a unit of mass and should 
rarely be used.
When defining a range variable, three numbers are used: the first item, the second item, and the last item.  For example: 
A:=0,1..5 puts the values 0,1,2,3,4,5 in the variable A.  B:=7,7.2..8.2 puts 7.0,7.2,7.4,7.6,7.8,8.0,8.2 in B.  You will not get the 
result you expect if you type C:=7,1..11 because 1 does not come after 7.
Mathcad is case sensitive (Capital letters matter).
Occasionally, typos can create internal errors, so that even after fixing the typo you still do not get the result you are 
expecting.  This usually happens inside of a Solve block.  If you are sure you have fixed all the errors in your Solve block but it 
still is not working, try re‐typing the contents of the block to see if that fixes the problem.

Compiled by Dr. Timothy Reeves

You might also like