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

  Use java 5 to create a generic class drawingbox with a type

Use Java 5 to create a generic class DrawingBox with a type parameter that simulates drawing an item at random out of a box. This class could be used for simulating a random drawing.

  Write a function to represent the daily cost of payroll

Write inequalities to represent the number of day-shift workers, the number of night-shift workers, and the total number of workers needed.

  Discuss currently used tools and recommended measures to def

Web phishing, pharming and vishing are popular web based scams. Discuss currently used tools and recommended measures to defeat this kind of attacks efficiently? Specifically focus on solutions that can be implemented at the network infrastruc..

  Design a 16 × 16 cross-bar switch multiprocessor system

Design a 16 × 16 cross-bar switch multiprocessor system using microprocessors (any type) for the master-slave mode of operation. Give details at the block diagram level of the major components.

  Why are people still buying the given tape drives

Use the Web to find the state-of-the-art in tape system capacity and speed. Why are people still buying these tape drives? Will solid-state drives and Cloud storage change this?

  Formal orientation programs

Should companies offer formal orientation programs for all new employees, or should they be designed and run by each individual supervisor, manager, or department head? (Support your answer.)

  Which of the following linux distros are based on debian

Which of the following Linux distros are based on debian?

  Strayer library to research articles on ethical issues

You may also use the Internet or the Strayer Library to research articles on ethical issues in information systems and choose one (1) ethics issue of interest to you.

  Draw the resource allocation graph

Suppose further that process 1 holds one unit of resources B and C and is waiting for a unit of A; that process 2 is holding a unit of A and waiting on a unit of B; and that process 3 is holding one unit of A, two units of B, and one unit of C. Dr..

  Exception handling to deal with input or output errors

Exception handling to deal with input or output errors

  Which of the following may be used as variable names in java

Can a Java program have two different variables with the names a Variable and a variable?

  Textbook ordering system deployment diagram

System architects and analysts use unified modeling language (UML) deployment diagrams to model the configuration of the hardware and software components of a system and how they will be deployed in a production environment. In other words, dep..

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