checking flying equation