Friday, July 10, 2015

LOG - JULY 10th

Read up on the concepts required for the grid implementation. Added numerical integration to the code. Depending on the step count( number of terms) ,performance and accuracy required the code chooses the most optimum one suited for the purpose at hand.
Commits :  
https://github.com/1sand0s/Inter_Haptics/commit/4ca5fc5fa3a42b2df267d63afdb12ae493753a8d

1. Trapezoidal 

     Best suited for small step counts and generally when the stress is on performance rather
     than accuracy. Approximates the function curve using trapezoids.


2. Simpson's 1/3

    Best suited when the step count is even. Greater accuracy than that computed using trapezoidal.
    Approximates the function curve using quadratic polynomials(parabolas).



3. Simpson's 3/8

     Best suited when the step count is multiple of 3. Greater accuracy than that of trapezoidal.
     Approximates the function curve using cubic polynomials.

No comments:

Post a Comment