Challenge 45 – How High Will I Go?
To perform effectively as a software application developer, one must be acquainted with various facets of application development. To test the skills of application developers, Superior Consulting Services (SCS) offers a series of technical coding challenges designed to challenge and educate application developers. This blog addresses problem solving and algorithm development, and presents SCS’ forty fifth (45th) challenge: How High Will I Go?
Let’s get ready to rumble
Each SCS challenge will require the user to solve a problem. All questions are designed to be solvable by mid-level application developers in one hour or less. The 45th challenge is shown below.
A Physicist is interested in creating a function that will help her determine, how high a rock will travel, given the following inputs:
- Rock Weight (input 0.0 – 10,000 pounds)
- Initial Velocity (input 0.0 – 1000.0 feet per second)
- Launch Angle (input 1.0 – 90.0 degrees)
The output of the equation will be maximum height off the ground in inches.
- No air friction or wind
- Constant Earth gravity
- Write a function that will compute how high a rock will travel given a weight, velocity, and launch angle.
- Accuracy should be to the nearest 0.1 inch.
- Contestant challenge submittals should be emailed to firstname.lastname@example.org, Subject Line SCS Coding Challenge #45.
- Responses to Challenge #45 should be received by 5:00 pm CDT, December 31st, 2018.
- In the event of a tie between two or more winning solutions, the first solution received will receive the prize; however, all submitters with good solutions will be recognized.
- Employees of SCS are not eligible to participate in the coding challenge.
The best solution submitted will receive an Amazon.com gift certificate worth $25.00 (U.S. dollars) and have the winning solution, along with the winner’s name, on the SCS website: www.teamscs.com.