MathCAD.page15 - 2. BASIC USAGE OF Mathcad 15 Figure 17....

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2. BASIC USAGE OF Mathcad 15 Figure 17. Click at Different 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. Define Variables and Functions. As in all computational program, when a computation involving a variable of functions, the variable or function must be defined before its use unless the function is predefined in Mathcad . Mathcad predefines many functions, such as all trigonometric function, exponential function and logarithm function. The following table list most frequently used predefined functions Function sin(x) Type 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 defined by 0 if x < 0 Φ(x) = 1 if x ≥ 0 ln(x) ln(x) ln(x) natural logarithm function Table 4. Mathcad Some Predefined Functions 2.2.1. Define 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 define a normal variable you just click any clear region and type the name of the variable followed by :, which bring up ...
View Full Document

Ask a homework question - tutors are online