Determine the height of a 25-foot ladder

Assignment Help Basic Computer Science
Reference no: EM131394592

If a 20-foot ladder is placed on the side of a building at a 85-degree angle, as shown in Figure 3.9, the height at which the ladder touches the building can be calculated as height = 20 × sin 85°. Calculate this height by hand, and then write, compile, and run a C++ program that determines and displays the value of the height. After verifying that your program works correctly, use it to determine the height of a 25-foot ladder placed at an angle of 85 degrees.

1529_2b0d69ca-721b-42d2-b982-984799a93eca.png

Reference no: EM131394592

Questions Cloud

Write an informative essay that increases readers knowledge : Write cohesive paragraphs, a thesis statement that is fully supported throughout the essay, an introduction, and a conclusion that are free of punctuation, grammar, and spelling errors.
Identify an unethical business decision you have experienced : Identify an unethical business decision you have experienced either in the business for which you work, or one with which you are familiar from current events.
Write a c++ program to calculate the elapsed time : Write a C++ program to calculate the elapsed time it takes to make a 183.67-mile trip. The equation for computing elapsed time is elapsed time = total distance / average speed. Assume that the average speed during the trip is 58 miles per hour.
Develop your leadership skill set : Write a 200- to 350-word summary of your score, describing your strengths and weaknesses, and how you plan to develop your leadership skill set.
Determine the height of a 25-foot ladder : After verifying that your program works correctly, use it to determine the height of a 25-foot ladder placed at an angle of 85 degrees.
Determine which one would be most appropriate for dominos : BUS499- Evaluate alternative structures to determine which one would be most appropriate for Domino's to consider and discuss likely benefits Domino's would realize from adopting that structure.
Compare and contrast strategic control and financial control : BUS499- Compare and contrast strategic controls and financial controls. Provide specific examples of how each may be used to best serve a corporation.
How does data leakage occur in an organization : The focus of the research paper is Data Leakage. How does data leakage occur in an organization? What are the common causes of this problem?
Describe the distributions of the two variables : What are the variables in this study? For each, indicate whether it is quantitative or categorical and what the units are.- Here are histograms of calcium concentration and mortality. Describe the distributions of the two variables.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Analyse a packet capture dump file

This assignment question requires that you analyse a packet capture dump file and provide comments explaining each packet. See assignment 1 page of the course website. This pcap file contains a SMTP transaction between a client and server. Your ..

  Calculate maximum velocity in string and state its location

A string π m long is stretched until the wave speed is 40 m/s. It is given an initial velocity of 4 sin x from its equilibrium position. Determine the maximum displacement and state its location and when it occurs.

  Write a three-page executive summary of current directions

Then write a three-page executive summary of current directions in business rules and their potential impact on systems development and maintenance.

  Evaluate e x using the built-in exponential function

Show all steps of the developing expansion on separate rows. Also, evaluate e x using the built-in exponential function.

  What is the total size of the packet

In SCTP, a SACK chunk reports the receipt of three out-of-order data chunks and five duplicate data chunks. What is the total size of the chunk in bytes?

  What continuing education is required for the holder

what continuing education is required for the holder of a CISSP to remain current and in good standing.

  In gymnastics or diving competition

In gymnastics or diving competition,each contestant's score is calculated by dropping the lowest and higher scores and then adding the remaining scores. Write a complete C++ program that allows the user to enter eight judges' scores and output the to..

  How much longer it takes to byte-swap integers

Using both your own htonl and (if little-endian hardware is available) the standard library version, run appropriate experiments to determine how much longer it takes to byte-swap integers versus merely copying them.

  Simpl program prove by structural induction

Let c be an arbitrary SIMPL program and assume that judgment ßs' holds for some store s'. Prove by structural induction that x Î pre(s'), where pre(s') denotes the preimage of s'.

  How to convert power to hex

How to Convert 11001010 to the 2nd power to hex

  Find the savings plan balance

Find the savings plan balance after 2 years with an APR of 7%and monthly payments of $250.

  Create a console-based program and a gui application

create a console-based program and a GUI application, which justifies the following conditions: The Main() method prompts the user for an integer value and, in turn, passes the value to a method that squares the number and a method that cubes the ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd