version 1.2, 2002/07/18 15:52:27
|
version 1.3, 2004/05/10 14:27:33
|
Line 4 With variables, you can store strings or
|
Line 4 With variables, you can store strings or
|
you to manipulate these strings or numbers. Functions work like mathematical |
you to manipulate these strings or numbers. Functions work like mathematical |
functions: They take some number of arguments in, and return one argument, |
functions: They take some number of arguments in, and return one argument, |
usually a number or a string for our purposes. There are a lot of functions |
usually a number or a string for our purposes. There are a lot of functions |
available in LON-CAPA. You can see a complete list at http://mileva.lite.msu.edu/loncapadocs/homework/homework5.html. |
available in LON-CAPA. You can see a complete list at |
|
\ref{all functions table}. |
|
|
For now, let's just look at some simple examples. |
For now, let's just look at some simple examples. |
|
|
% |
% |