| ... |
... |
@@ -77,14 +77,19 @@ The command \substitute is used for the evaluation of a function and for the com |
| 77 |
77 |
Here are two examples for the evaluation of a function: |
| 78 |
78 |
### Example evaluation of a function |
| 79 |
79 |
```LaTeX |
| 80 |
|
-% field is real |
| 81 |
|
- |
| 82 |
80 |
\number{a}{1} |
| 83 |
81 |
\function{f}{2*x^2 -1} % defines a function f of the variables x |
| 84 |
82 |
\substitute[normalize]{f(1)}{f}{x}{a} % evaluation at x=1. |
| 85 |
83 |
``` |
| 86 |
84 |
The function $$f(x) = 2x^2 - 1$$ evaluated at $$x=2$$ yields $$f(1) = 7$$ |
| 87 |
85 |
|
|
86 |
+```LaTeX |
|
87 |
+\number{a}{1} |
|
88 |
+\function{f}{2*x^2 -y} % defines a function f of the variables x and y |
|
89 |
+\substitute[normalize]{f(1,y)}{f}{x}{a} % evaluation at x=1. |
|
90 |
+``` |
|
91 |
+The function $$f(x,y) = 2x^2 - y$$ evaluated at $$x=1$$ yields $$f(1,y) = 2-y$$ |
|
92 |
+ |
| 88 |
93 |
## Composition of two functions |
| 89 |
94 |
### Example composition of functions |
| 90 |
95 |
```LaTeX |
| 91 |
96 |
|