# 2023 You re a programmer working for a large aerospace company One of the aerospace engineers comes to you asking for | Assignment Collections

Computer Science 2023 C# Coding– Shell Is Attached

2023 You re a programmer working for a large aerospace company One of the aerospace engineers comes to you asking for | Assignment Collections

You’re a programmer working for a large aerospace company.  One of the aerospace engineers comes to you asking for help.

“I would like a program to help me calculate the airspeed of an object when I know its speed and direction over the ground, and I know the speed and direction of the wind. For example, if an object is moving east (i.e. 90 degrees) at 10 mph and the wind is coming from the east (i.e. 90 degrees) at 5 mph, then the object is experiencing 15 mph of airspeed because it’s moving directly into the wind. When the wind is not directly in front or behind, though, trigonometry comes into play. The formula looks like this:

Airspeed = (wind_speed * cosine (absolute_value(object_direction – wind_direction)) + object_speed

Can you write me a program that asks me for object direction, object speed, wind direction, and wind speed which then calculates airspeed for me? Don’t forget that the wind direction is the direction the wind is coming from. I need it to do this over and over until I enter zeros for all of those things. I’d like the output to look like this:”  (he draws the below on the whiteboard)

Object direction:  90
Object speed:  10
Wind direction:  90
Wind speed:  5
Airspeed = 15
Object direction:  90
Object speed:  10
Wind direction:  70
Wind speed:  5
Airspeed = 14.6984631039295
Object direction:  0
Object speed:  0
Wind direction:  0
Wind speed:  0

You’ll need to use the Math.Cos and Math.Abs methods. You also need to convert the object direction and wind direction into radians since that’s what Math.Cos uses. Recall that you need to multiply your value in degrees by pi/180 (i.e. degrees * pi/180). Pi in C# is Math.PI so you don’t have worry about the actual 3.14159… number. All your variables should be declared as doubles.

The following should help you get started (and is mirrored in the comments in the provided shell).

-Get user input

-Convert object direction and wind direction to radians

-Calculate airspeed using the above formula (don’t forget to take the absolute value of the direction subtraction)

-Output the airspeed for the user

-Get user input and stop when all zeros are entered

We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.

## Place Order Now

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational