



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




>> increment function
Answer: phi
>> general formula for differential equation solving with increment function
Answer: y_(i+1) = y_i + phih*
>> phi for euler's method (description)
Answer: slope at initial point
>> Euler's method: increasing accuracy
Answer: - decrease the step size
>> When will Euler's method provide error-free estimates (f' = 0)
Answer: If the solution curve is linear
>> Stability: definition
Answer: a method is unstable if error grow exponentially for problems without bounded solutions
>> major factors in stability
Answer: - differential equation
>> amplication factor: how to find it y_(i+1) = y_i(A) A is your amplication factor
Answer: rewrite equation y_(i+1) = y_i + phih as*
>> determining stability from amplication factor if absolute value of amplication factor is < 1, method is stable
Answer: if the absolute value of amplication factor > 1, method is unstable
>> conditionally stable
Answer: stable at some values of step size h, but not at others
>> unconditionally stable
Answer: stable at any step size h
>> ill-conditioned ODEs
Answer: ODEs that have errors that grow regardless of method
>> heun's method: verbal description of phi
Answer: average between current slope and slope at guess for next point (guess is made with Euler's method)
>> error of Heun's method
Answer: f''(s)h^3 / 12
>> midpoint method: what is phi? midpoint estimated through euler's method
Answer: slope at the midpoint between initial point and next point
>> most general form for phi
Answer: phi = a n k n + a n k n + a n k n + ... + a n k n
>> using ode [t,y] = solution arrays odefun: function that returns column vector of right-hand side of a system of first order ODEs tspan = interval over which to solve the problem y0 = y value at beginning of interval
Answer: [t,y] = ode45(odefun, tspan, y0)
>> non self-starting Heun's method vs regular heun's method Regular second point guess (yn): yn = y_i + f(x_i, y_i)h non self-starting second point guess yn_(i+1) = y_(i-1) + f(x_i, y_i)2h requires additional information (y_(i-1)) that we generally don't have
Answer: Involves changing the predicted slope by using a known point
>> 2 primary approaches to incorporate adaptive step size control
Answer: - step halving
>> step halving
Answer: perform one-step algorithm 2 different ways (full step and half step) and compare results. Difference between the two represents local truncation error
>> - embedded RK methods (RK-Fehlburg) This is the preferred method
Answer: perform 2 RK iterations of different orders and compare the results. Difference between the two represents local truncation error.
>> stiff system
Answer: system that involves rapidly changing components together with slowly changing ones
>> stability concerns for stiff systems so, changing the step size can result in an unstable ODE
Answer: conditionally stable ODEs are stable at some step sizes and not at others
>> how to better solve stiff systems
Answer: implicit solutions
>> steps to implicit euler's method y_(i+1) = y_i + h*f(t_(i+1),y_(i+1))
Answer: 1. recognize formula:
>> Implicit vs Explicit Euler's Method phi = f(t_i, y_i) Implicit: phi = f(t_(i+1), y_(i+1))
Answer: Explicit:
>> MATLAB ode solvers for stiff systems ode23s ode23t ode23b all use implicit methods
Answer: ode15s