Enter engineering math expressions from your keyboard
Updated 30 Aug 2024
Use the following keystrokes to enter specially formatted characters, Greek letters, symbols, or functions for the correct or incorrect answer boxes in the numeric value or symbolic expression answer type.
Students can enter similar keystrokes to answer these kinds of questions on a computer. Otherwise they can use the engineering toolbar options provided above the answer box for this answer type.
For this math format | Type this from your keyboard | What the student types |
---|---|---|
(subscript) |
_
(underbar) |
_
(underbar) |
(exponent) |
^ | ^ |
(fraction)* |
/ |
/ |
(decimal point) |
. | . |
( and ) | ( and ) | |
[ and ] | [ and ] | |
{ and } | { and } | |
|
+ | + |
(minus sign) |
- (hyphen) | - (hyphen) |
(multiplication dot) |
* (asterisk) | * (asterisk) |
(square root)
|
sqrt | \sqrt |
(absolute value) |
abs | | |
(vector) |
i_evec | \vec |
(polar form complex number) |
cis | cis |
(complex conjugate) |
conj | conj |
Although students must enter the backslash (\) character before these terms in their typed responses, you don't need to enter the backslash when working with symbolic answers for the numeric value or symbolic expression answer type in the Simple Editor.
For this letter | Enter this from your keyboard |
---|---|
alpha | |
beta | |
gamma | |
Delta, delta | |
epsilon | |
eta | |
theta | |
kappa | |
lambda | |
mu | |
nu | |
pi | |
rho | |
Sigma, sigma | |
tau | |
phi | |
chi | |
Psi, psi | |
Omega, omega | |
EMF | |
hbar |
Note that functions are case sensitive.
By default, the arguments of trigonometric functions are in radians, not degrees. How to set the arguments to degrees for an item When the answer should be in degrees, be sure to specify this in the question instructions. (Otherwise, students may expect that they should be answering in radians.)
For this special function | Enter this from your keyboard |
What the student types |
---|---|---|
arccosine | acos(x) | arccos(x), acos(x), or cos^-1(x) |
arccotangent | acot(x) | arccot(x), acot(x), or cot^-1(x) |
arccosecant | ascs(x) | arcscs(x), ascs(x) or csc^-1(x) |
arcsecant | asec(x) | arcsec(x), asec(x), or sec^-1(x) |
arcsine | asin(x) | arcsin(x), asin(x), or sin^-1(x) |
arctangent | atan(x) | arctan(x), atan(x), or tan^-1(x) |
cosine | cos(x) | cos(x) |
cotangent | cot(x) | cot(x) |
cosecant | csc(x) | csc(x) |
natural exponential function (e = 2.71828...) | e^x or exp(x) Note: Avoid using the numeric value or symbolic expression answer type for large positive or negative exponents, such as exp(37000) or exp(-37000). Currently Mastering doesn’t always evaluate large exponents correctly. Instead, use another answer type, such as multiple choice or multiselect. |
e^x or exp(x) |
natural logarithm (base e) | ln(x) | ln(x) |
common logarithm (base 10) | log(x) | log(x) |
secant | sec(x) | sec(x) |
sine | sin(x) | sin(x) |
tangent | tan(x) | tan(x) |
The following special functions are available in Mastering for authors, but are not needed by students.
For this special function | Enter this from your keyboard |
Purpose and example |
---|---|---|
ceiling | ceil(value) |
Purpose: Example:
|
floor | floor(value) |
Purpose: Example: floor(8.6) returns 8 |
ifthenelse | ifthenelse(test,true_value,false_value) |
Purpose: Example:
|
integer | int(value) |
Purpose:
Example:
|
random | rand(range-start,range-end,exponent) |
Purpose:
Example:
|
round | round(value, exponent) |
Purpose:
Example:
|
significant digits | sigdig(value, exponent) |
Purpose:
Example:
|
To move the cursor within the answer: Use keyboard arrow keys (, , , ).