in java A drone is flown on a path across the White Mountains of New Hampshire. The
Question:
in java
A drone is flown on a path across the White Mountains of New Hampshire. The drone handler needs to keep track of the following information: longitude, latitude, and altitude. Create a program that will hold a multi-dimensional array of up to 50 points. Allow the user to enter points in different modes: either a single point or multiple points. You should allow the user to quit entering points before reaching 50. Using separate methods, your program should determine: the distance between the start and the end position, the minimum altitude, the maximum altitude the altitude range. Make sure you output this information in the main method, not in your new methods. You may use a class if you wish! the formula for the great circle distance (in km) (to find out the distance between the start and end) is d = radius * arccos(sin(lat1)*sin(lat2)+cos(lat1)*cos(lat2)*cos(long2-long1)) where radius = 6371 km Convert degrees (which lat and long are typically stored in) to radians using Math.toRadians method. Test Data (format: latitude, longitude, altitude): 53.70593765769079,-82.57468044757844,4099.081 53.706434028614076,-82.5667840242386,4505.906 53.706930395427094,-82.55923092365266,4509.186 53.70742675812981,-82.55236446857454,4574.803 53.70717857729224,-82.54206478595735,4614.173 53.70767493793984,-82.5338250398636,4568.241 53.70767493793984,-82.52421200275423,4368.110 53.70767493793984,-82.50979244709016,4381.234 53.70767493793984,-82.49914944171907,4469.816 53.70767493793984,-82.49331295490266,4309.055 53.70767493793984,-82.48610317707063,4253.281 53.70618584366623,-82.46928036212923,4450.131 53.70519309359915,-82.46550381183626,4400.919 53.70171833889157,-82.45966732501985,4099.081 53.70022909664903,-82.45417416095735,4213.911 53.69650582920287,-82.45005428791048,4125.328 53.69303057099384,-82.44799435138704,3846.457 53.69079637008003,-872.44456112384798,3902.231 53.69005161794633,-82.440784573555,3843.176 53.689306856564805,-82.43082821369173,3921.916
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi