In the following three fields you will specify the computation of f(x,y,y'), g1(y(a),y'(a)), g2(y(b),y'(b)) These pieces of code have a common structure: for your computation you might use here variables i,j,k (e.g. for loops or counting), the logicals bool1, bool2 , bool3, a vector of 100 components v(.) , the variables h1,h2,h3,h4 (e.g. for intermediate calculations) which all are initialized with zero resp. false and the constants pi, e, sqrt2 (with their mathematical meaning). No other variables can be used. remember the special role of the first 6 columns in these pieces of code! Here follows the code for f. The input variable names are x, y, ys, with the meaning ys=y'(x). The output must be named yss yss= 2.d0*ys/x-(1.d0+2.d0/x**2)*y Here follows the code for g1. The input variable names are ya, yas. The result must be named g1. You must formulate the boundary condition as g1(ya,yas)=0. Due to a curious error in JAKEF you must write a von Neumann condition by adding and finally subtracting ya, for example the condition y'(a) = 1 must be written as g1= ya + (yas-1.d0) -ya . The same applies for g2! g1=3.d0*ya+yas+2.d0*pi+1.d0 And here the code for g2. The input variable names are yb,ybs. The result must be named g2. You must code this as g2(yb,ybs)=0 g2=2.d0*yb-ybs+3.d0*pi-1.d0 Here you may choose whether to use fictitious points or not no appears as version 1 in the plots yesappears as version 2 in the plots
Here you may choose whether to use fictitious points or not
Please specify the number of grid points here: this must be in the range {3,1000} N =
Here you decide whether to use some default values or to specify these explicitly:
Please specify here the interval bounds a = b =
Please specify whether you know the exact solution or not:
Here you decide whether to generate the initial guess for the solution internally or to specify it directly:
Warning!!! - This may take some time.
Click on "evaluate", in order to submit your input.
02.06.2016