The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
(41) Aviation - Point of Safe Return
12-10-2020, 09:38 PM (This post was last modified: 12-11-2020 12:48 AM by WrongWay.)
Post: #1
(41) Aviation - Point of Safe Return
I wrote a program to calculate the Point of Safe Return for an aircraft. It requires inputs of Total Fuel available to burn, (put everything minus whatever reserve you need), Average fuel flow, True Airspeed (kts), Average Wind Component. Output is in Nautical Miles. Comments about optimizations are appreciated
Code:

LBL "PSR"
"TOTAL FUEL?"
PROMPT
"FUEL FLOW?"
PROMPT
/
"TAS?"
PROMPT
STO 00
"AVG WND COMP?"
PROMPT
STO 01
+
STO 02
RCL 00
RCL 01
-
STO 03
*
*
RCL 02
RCL 03
+
/
FIX 01
"PSR NM:"
ARCL X
AVIEW
FIX 4
END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(41) Aviation - Point of Safe Return - WrongWay - 12-10-2020 09:38 PM



User(s) browsing this thread: 1 Guest(s)