{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


MathCAD.page06 - y has the same value as x 3 here...

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

View Full Document Right Arrow Icon
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 + 3 will be enter differently according to the meaning of the expression, (1) Entering it as y:x+3 when x value has been defined before this expression and you want y to be the value of x plus 3, i.e. assign the value of x + 3 to y . (2) Entering it as y(x):x+3 when we want to set y as a function of x defined as x + 3. (3) Entering it as y[Ctrl]=x+3 when we like to compare y and x + 3, i.e. to logically determine if
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: y has the same value as x +3 , here ‘[Ctrl]=’ mean enter ‘=’ while hold the ‘[Ctrl]’ key. We can get the logic equal sign = from the Boolean Toolbar as shown below. Notice you also get ≤ , ≥ , 6 =, and other logic operation from the Boolean Toolbar. Figure 8. Boolean Toolbar The global assignment operator ≡ (shortcut ∼ ) is to assign an value (expression) to a variable (a function) so it can be referred in any place of the work area. The following screen shot illustrates the difference between =, :=, = , and ≡ ,...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online