|
function based
|
Please choose a function:
|
f(x,y)= x^2 + y^2 |
|
f(x,y)=2x+3y^3 |
|
f(x,y)=1/(x^2+y^2+1) |
|
A function defined by yourself:
Please type the evaluation program of your function here
using FORTRAN rules.
Your final statement must be
fu=
You may use the constants pi, e(=exp(1)), sqrt2(=1.414...),
the integer variables i,j,k, the logicals bool1,bool2,bool3
and the double precision variables sum,h1,h2,h3,h4,u(100),v(100),a(100,100)
which are all intialized with zero resp. .false. .
The routine has the parameters x, y
(double, input) and must return fu (double out).
never change x or y!.
first is a local integer and set 0 before calling the function the
first time.
You may use this in order to initialize some local data and set it 1
afterwards to avoid multiple such initialization. Your settings of the local
variables are preserved during program execution.
|
|
| own (x,y,z)-data : |
n=
3 <= n <= 2500 !
Please type here the list of n points (x,y,z) as 3*n numbers:
you might require here evaluation of the interpolating function
at a set of points (must be inside of a triangle, not on an edge!):
num=
important! 0 <= num <= 20
For num > 0 type here a consecutive list of 2*num numbers.
do not write outside the textarea!
|