Unformatted text preview: 2. BASIC USAGE OF Mathcad 15 Figure 17. Click at Diﬀerent 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 editors to copy, paste, and cut selected region(s).
2.2. Deﬁne Variables and Functions. As in all computational
program, when a computation involving a variable of functions, the
variable or function must be deﬁned before its use unless the function is
predeﬁned in Mathcad . Mathcad predeﬁnes many functions, such as all
trigonometric function, exponential function and logarithm function.
The following table list most frequently used predeﬁned functions
sin(x) cos(x) cos(x) Display Remark
sin(x) when type sin(π) = , you will
get 0, since sin(π ) = 0 cos(x) when type cos(π ) = , you will
get −1, since cos(π ) = −1 tan(x) tan(x) tan(x) when type tan(π ) = , you will
get 0, since tan(π ) = 0 exp(x) exp(x) exp(x) this is exponential function,
you can also type e∧ , you will
get e in you can enter an valid
expression Φ(x) F[Ctrl]g(x) Φ(x) Heaviside function deﬁned by
0 if x < 0
1 if x ≥ 0 ln(x)
natural logarithm function
Table 4. Mathcad Some Predeﬁned Functions
2.2.1. Deﬁne Variables. There are two type variables in Mathcad ,
a normal variable which holds one value, and a range variable which,
like vectors in math, holds multiple values. The variable name is
any sequence of letters and digits that begin with a letter such as
a, a1, bx12, etc. To deﬁne a normal variable you just click any clear
region and type the name of the variable followed by :, which bring up ...
View Full Document