Question
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
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 users input for range (R) in yards and print out the Time-of-Flight (tflight) in seconds, Maximum Height reached (hMAX) in feet, and the Angle Trajectory (0) in degrees.
check your answers with the C programming language. Helpful Hints:
Neglect the effects of air-resistance and curvature of the earth. tflight = "9 _2vo sin 0 MAX =- _ v sine 29 _ c sin 20 Helpful Hints: sine = - 3 * cos(20) sin(20) = 2 sin cos Bhaskara's Sign Approximation 40(180 0) sin 0 = 40500 0(180 0). Neglect the effects of air-resistance and curvature of the earth. tflight = "9 _2vo sin 0 MAX =- _ v sine 29 _ c sin 20 Helpful Hints: sine = - 3 * cos(20) sin(20) = 2 sin cos Bhaskara's Sign Approximation 40(180 0) sin 0 = 40500 0(180 0)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started