X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=blobdiff_plain;f=scilab%2Fmodules%2Fdifferential_equations%2Fhelp%2Fen_US%2Fbvode.xml;h=d9b5d353f9ed812e2c53fd45c7b1b311336ef0fa;hp=ae230cda8f95bfa775e7eaaca58d2fc3c83ed45a;hb=baf7ff4b6da3b5670426991e1ed38f95a03d2440;hpb=bf7f7cb03737a45277403220b4d69c9be8e749be diff --git a/scilab/modules/differential_equations/help/en_US/bvode.xml b/scilab/modules/differential_equations/help/en_US/bvode.xml index ae230cd..d9b5d35 100644 --- a/scilab/modules/differential_equations/help/en_US/bvode.xml +++ b/scilab/modules/differential_equations/help/en_US/bvode.xml @@ -56,7 +56,7 @@ N a scalar with integer value, number of differential equations - (N <= 20). + (N <= 20). @@ -213,7 +213,7 @@ = 0 - causes bvode to generate a uniform initial + causes bvode to generate a uniform initial mesh. @@ -228,12 +228,9 @@ = 1 - if the initial mesh is provided by the user. - it is defined in fspace as follows: the mesh + if the initial mesh is provided by the user it is defined in fspace as follows: the mesh will occupy fspace(1), ..., fspace(n+1). The user needs to supply only - the interior mesh points fspace(j) = x(j), - j = 2, ..., n. - + the interior mesh points fspace(j) = x(j),j = 2, ..., n. @@ -286,8 +283,8 @@ = 3 if a former mesh and approximate solution - coefficients are provided by the user in fspace , and the - new mesh is to be taken twice as coarse; i.e.,every + coefficients are provided by the user in fspace, and the + new mesh is to be taken twice as coarse; i.e. every second point from the former mesh. @@ -360,7 +357,7 @@ an array of dimension ntol=ipar(4). ltol(j) = l specifies that the j-th tolerance in - the tol array controls the error in the l-th + the tol array controls the error in the l-th component of @@ -375,8 +372,8 @@ - - . It is also required that: + . + It is also required that: 1 <= ltol(1) < ltol(2) < ... < ltol(ntol) @@ -532,7 +529,7 @@ x_up, which are to be included in every mesh. The code requires that all side condition points other than x_low and x_up (see - description of zeta ) be included as fixed points in + description of zeta) be included as fixed points in fixpnt. @@ -1431,7 +1428,7 @@ function [dmval,zu]=fsub(x,parameters) The problem 1 describes a - uniformy loaded beam of variable stifness, simply supported at both + uniformly loaded beam of variable stiffness, simply supported at both end. It may be defined as follow : @@ -2146,7 +2143,7 @@ xt=sqrt(2*(gam-1)/gam) fixpnt=[ ];//All boundary conditions are located at x_low and x_up collpnt=4; nsizef=4+3*M+(5+collpnt*N)*(collpnt*N+M)+(2*M-2)*2*M ; -nsizei=3 + collpnt*N+M;; +nsizei=3 + collpnt*N+M; nmax=200; // nonlin collpnt n ntol ndimf ndimi iprint iread iguess rstart nfxpnt ipar=[1 collpnt 10 4 nmax*nsizef nmax*nsizei -1 0 0 0 0 ] @@ -2222,7 +2219,8 @@ N=101; x=linspace(a,b,N)'; // We have s(n)-(n+1/2)*pi -> 0 for n to infinity. -la0=input('n-th eigenvalue: n= ?');la0=(%pi/2+la0*%pi)^2; +la0=evstr(x_dialog('n-th eigenvalue: n= ?','10')); +la0=(%pi/2+la0*%pi)^2; z=bvodeS(x,m,n,a,b,fsub,gsub,zeta,ystart=list(ystart,la0)); // The same call without any display @@ -2233,7 +2231,7 @@ z=bvodeS(x,m,n,a,b,fsub,gsub,zeta,ystart=list(ystart,la0),iprint=-1); clf() plot(x,[z(1,:)' z(2,:)']) xtitle(['Startvalue = '+string(la0);'Eigenvalue = '+string(z(3,1))],'x',' ') -legend(['y(x)';'y''(x)']) +legend(['y(x)';'y''(x)']); ]]> function rhs=fsub(x,z)