Question: PLEASE!! Help with the code in MIPS. Thanks ENIAC (Electronic Numerical Integrator and Computer) was on of the first general pur- pose computers and was

PLEASE!! Help with the code in MIPS. ThanksPLEASE!! Help with the code in MIPS. Thanks ENIAC (Electronic Numerical Integrator

ENIAC (Electronic Numerical Integrator and Computer) was on of the first general pur- pose computers and was developed primarily to calculate artillery firing tables used by Naval ships and Army artillery cannons. The benefit of ENIAC was the increase of performance compared to hand calculations, increasing the speed of calculations from 20 hours to 30 seconds (not including 'programming' time). The main 16-inch guns on the USS Missouri (BB-63) shoot a 2700-pound projectile at an initial velocity of 2500 foot per second and have a maximum range of 24 miles. Given the information above and your knowledge from physics write a program in MARS MIPS that takes a user's input for range (R) in yards and print out the Time-of-Flight (t flight) in seconds, Maximum Height reached (hmax) in feet, and the Angle Trajectory (0) in degrees. Neglect the effects of air-resistance and curvature of the earth. 2v, sine t flight (1) 9 v sin? 0 hMAX (2) 29 v sin 20 R (3) g Be sure to write a professional report and check your answers with a second version of your program written in 'C'. Note in your report where and what your error is and why that error exist. Helpful Hints: 1 1 sin0 - * cos(20) 2 2 sin(20) = 2 sin cos 0 Bhaskara's Sign Approximation (Degrees) sin e 40(180 - 0 40500 0(180 - A) ENIAC (Electronic Numerical Integrator and Computer) was on of the first general pur- pose computers and was developed primarily to calculate artillery firing tables used by Naval ships and Army artillery cannons. The benefit of ENIAC was the increase of performance compared to hand calculations, increasing the speed of calculations from 20 hours to 30 seconds (not including 'programming' time). The main 16-inch guns on the USS Missouri (BB-63) shoot a 2700-pound projectile at an initial velocity of 2500 foot per second and have a maximum range of 24 miles. Given the information above and your knowledge from physics write a program in MARS MIPS that takes a user's input for range (R) in yards and print out the Time-of-Flight (t flight) in seconds, Maximum Height reached (hmax) in feet, and the Angle Trajectory (0) in degrees. Neglect the effects of air-resistance and curvature of the earth. 2v, sine t flight (1) 9 v sin? 0 hMAX (2) 29 v sin 20 R (3) g Be sure to write a professional report and check your answers with a second version of your program written in 'C'. Note in your report where and what your error is and why that error exist. Helpful Hints: 1 1 sin0 - * cos(20) 2 2 sin(20) = 2 sin cos 0 Bhaskara's Sign Approximation (Degrees) sin e 40(180 - 0 40500 0(180 - A)

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!