Question: Java COMP163 Global Direction Program Write a program with a Graphical User Interface (GUI) that will display the direction from Greensboro to atan2( sin(longitude -

Java  Java COMP163 Global Direction Program Write a program with a Graphical
User Interface (GUI) that will display the direction from Greensboro to atan2(

COMP163 Global Direction Program Write a program with a Graphical User Interface (GUI) that will display the direction from Greensboro to atan2( sin(longitude - gboroLongcoslatitude), cos(gboroLat) any point on the globe. The direction can be calculated by *sin( latitude)- sin gboroLat) * cos( latitude) *cos( longitude -gboroLong)) where: longitude latitude gboroLong is the longitude of the destination in radians is the latitude of the destination in radians is the longitude of Greensboro in radians ts the latitude of Greensboro in radians Positive latitudes are north of the equator, negative latitudes are south. Positive longitudes are east of the zero meridian and negative longitudes are to the west. Note that atan2 is a method of the Math class that takes two parameters separated by a comma. The program should input the latitude and longitude of the destination as degrees and minutes. You will have to convert to radians using the equation radians(etegrees 6180 minutes) 60 180 180 Convert the calculated direction in radians to degrees by degrees - radians Some interesting locations city latitude longitude deg, mindeg, min Greensboro San Francisco London Paris Mecca Perth Mumbai 36 4 -79-47 122-47 377 51 30 48 51 21 25" 2 21 39 48 31 -57115 51 19* 1 72 51

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!