]> Examples

Examples

  1. Suppose that you are using Euler's method and you estimate that your solution at a certain time point f(t29) is ε= 10 3 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaeqyTduMaeyypa0JaaGymaiaaicdadaahaaWcbeqaaiabgkHiTiaaiodaaaaaaa@3BE6@ .

    How much would you have to reduce the time step h in the solution algorithm to reduce the error at this point to ε= 10 5 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaeqyTduMaeyypa0JaaGymaiaaicdadaahaaWcbeqaaiabgkHiTiaaiwdaaaaaaa@3BE8@ ?

    You would reduce it by 100x because Euler's method is a first order method.

  2. Suppose that you are using a second order method and you wish to reduce the error in your solution from 10-3 to 10-5.

    How much would you have to reduce the time step h?

    You would reduce h by 10x because a second order method reduces error such that ε h 2 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaeqyTduMaeSipIOJaamiAamaaCaaaleqabaGaaGOmaaaaaaa@3A93@ .