Example of small programs with forms, function, field-input, field-output and a complex calculation

Here you see 6 examples of calculations. Most of the calculations are fuctions about recursion. One is about the calculation of a sinus.

Results:

xxxx
xxxx
xxxx
xxxx
xxxx



xxxx
xxxx
xxxx

Comments:

Do you see the difference between them?

The function 'function11' and 'facultA' needs the function 'fac'. The function 'facultB' needs 'facAltn'. We call them 'nested fuctions'.

Remarks:

If you see numbers as 1.1240007277776077e+21 than you have to know that that is 1.124 x 10 21. We call that the e-way of notation of a broken value.

Enschede, 9 januari 2001