Please specify the dimension of your testcase here. It must be in the range 1,..,10: n=
Please specify the number of initial grid points here: this must be in the range {3,1000} minit =
Select two components of y for plotting. index1=index2=1 is allowed
Here you decide whether to use some default values or to specify these explicitly:
Please write here the piece of code which computes the functions F1,...,Fn which make up the ode's right hand side F(x,y). This must have the mathematical structure Fi = Fi(x,y(1),...,y(n)). You must obey the FORTRAN conventions. Input values are n, x, y, output value is f. The left hand side of this must be f(i) = with i ranging from 1 to n. 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. c******** dummy for the case of using predefined c******** y''+y-1=0, y(0)=0, y'(pi)=-1 => y(x)=-cos(x)+sin(x)+1 f(1)=y(2) f(2)=-y(1)+1.d0
Please write here the piece of code which computes the functions R which make up the boundary conditions: The input variables are the vectors ya and yb and the result is a vector r, all of dimension n. You must formulate these such that the condition r = 0 corresponds to R(ya,yb) = 0. You must obey the FORTRAN conventions. The problem variable n can be used. You might use here local 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). c**** boundary conditions y(0)=0 y'(pi)=-1 y=y_1, y'=y_2 r(1)=ya(1) r(2)=yb(2)+1.d0 c****** these are linear inhomogeneous conditions
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.
04.06.2016