to write down a function in a piece of paper. You just type in the function name, followed by open parenthesis ( and the argument(s) that are separated by comma(,) and the close parenthesis ), then type the assignment operator – colon(:) followed by typing in the expression(formula) for the given function.
For example to define a function f(x) = 4x + 3, we would type f(x):4x+3, notice you don’t need to type the multiplication operator between 4 and x as Mathcad automatically insert it for you. However, if you want to define a function such as f(t; y) = 3t + ty, you would need to specifically type in the multiplication operator *, as shown,
f(t,y):3t^2+t*y
also notice that we should type no space between terms as Mathcad will insert it for us when we type in a arithmetic operator. When typing in an expression involving more than one terms, space character serves as grouping operator. Hitting space bar will cause Mathcad to group term together. This is useful when entering expression like
here we will need to group x + 3 together by
press space bar before we type the division operator(/). Another usage of space is to move out the superscript or subscript mode.
Korchak Tatiana Viktorovna «KhAI» Informatics Department 19