twpayne/igc2kmz

Formula to calculate climb with energy compensation seems to be false

scls19fr opened this issue · 1 comments

Hi Tom,

As I said in #5
Formula to calculate climb with energy compensation seems to be false

Kind regards

You need to store previous speed to be able to calculate d v^2 / dt = (v1^2 - v2^2 ) / dt

you can also use (u^n)' = n u' u^(n-1)
and so d v^2 / dt = 2 * dv / dt * v

but anyway you need to know previous speed to be able to calculate dv/dt