|
Home » ASP Home » Math Home » Nautical/Flight Functions
A D V E R T I S E M E N T
Title |
Nautical/Flight Functions |
Description |
The Nautical/Flight functions perform various calculations useful for planning trips. The definitions and arguments of each function is below.
miles per hour to knots ----------------------- function name: MPHToKt purpose: converts miles per hour to knots arguments: mph miles per hour as double returns: double
knots to miles per hour ----------------------- function name: KtToMPH purpose: converts knots to miles per hour arguments: knots knots as double returns: double
miles to nautical miles ----------------------- function name: miToNautMi purpose: converts miles to nautical miles arguments: miles miles as double returns: double
nautical miles to miles ----------------------- function name: nautMiToMi purpose: converts nautical miles to miles arguments: nauticalmiles nautical miles as double returns: double
flight time in minutes ----------------------- function name: minsInFlight purpose: calculates total flight time in minutes arguments: nauticalmiles nautical miles to travel as double knots air speed in knots as double returns: double
nautical miles flown ----------------------- function name: nautMiFlown purpose: calculates the nautical miles flown arguments: knots air speed in knots as double minutes minutes elapsed as double returns: double
average speed in knots ----------------------- function name: ktSpeed purpose: calculates the average speed in knots arguments: nauticalmiles nautical miles travelled as double minutes minutes elapsed as double returns: double
hours to minutes ----------------------- function name: hrMins purpose: converts hours to minutes arguments: hour hours as double returns: double
seconds to minutes ----------------------- function name: sdMins purpose: converts seconds to minutes arguments: seconds seconds as double returns: double
gallons of fuel needed ----------------------- function name: galFuel purpose: calculates the minimum number of gallons of fuel needed for a given trip time. arguments: minutes minutes as double gallonsPerHour gallons per hour consumed by craft as double returns: double
|
Category |
ASP » Math |
Hits |
380978 |
Code |
Select and Copy the Code
|
|
|
Related Source Codes
A D V E R T I S E M E N T
|
Subscribe to SourceCodesWorld - Techies Talk |
New! Click here to Add your Code!
ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home
Source Codes Home Page | |
|