| 
        
        
        
       
        
        Matlab Help Please! 
       
                  
        Hi, 
 Can someone help me with this question:
 
 Define a general function
 
 heunstep(f,tcurr,tnext,xcurr,par) that will take one step of Heun's
 method to solve a system of first order initial value problems.
 
 f is the handle to a function for evaluating the first derivatives.
 tcurr is the current value of the independent variable, tnext is the
 value of the independent variable at which the solution is sought,
 xcurr is a column vector containing the current values of the
 dependent variables, and par is a vector containing any additional
 parameters required in the evaluation of f.
 
 heunstep should return a column vector containing the values of the
 dependent variables at tnext. Design heunstep so that if par is the
 empty matrix, f will be evaluated at t and x by feval(f,t,x) while
 if par is not empty, f is evaluated at t and x by feval(f,t,x,par).
 
 I am stuck with question for few days . Please I would
 Appreciate if I ca have some help
 
 Brad
 |