Please specify the dimension of your testcase here. It must be in the range 1,..,10: n=
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). They 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 d. The left hand side of this must be d(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. d(1)=-4.d0*y(1)+y(1)*y(2)*x+3.d0*y(2) d(2)=1.d0*y(1)-2.d0*y(2)-x*y(1)*y(2)+0.1d0
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 w, all of dimension n. You must formulate these such that the condition w = 0 corresponds to R(ya,yb) = 0. You must obey the FORTRAN conventions. The problem variables n, m 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). w(1)=ya(1)-ya(2)-1.d0 w(2)=3.d0*yb(1)-yb(2)-2.d0 c****** these are linear inhomogeneous conditions
Select two components of y for plotting: index1=index2=1 is allowed
Here you must choose the initial guesses and some parameters for BVPSOL
tol =
hmax =
maxord =
itmax =
info =
Warning!!! - This may take some time.
Click on "evaluate", in order to submit your input.
30.10.2012