For a school project, I'm trying to make an automated flight planner, considering mainly the differences in flight paths according to wind.
Now I've heard that flying with/against the wind affects airspeed. But I really don't know any specific(even empirical) laws on determining by how much it does so.
What's more, I've also heard about gas savings through these effects. That I would have pretty much no idea of how to calculate but that's less important.
Basically if anyone can point me in the right direction to figure out how to figure out solid speed gains, I'd be grateful, even moreso if I can find out the theoretical origins of such laws.
(The only thing I found that I think is close to what I want is this, but I have no clue what the laws derive from)