445,531 views
5 votes
5 votes
A carpenter wants to make a ladder, but he want to calculate the required wood for it. The distance between each step is 1 foot Price of wood is 500 per foot calculate the price of wood as well. Example: Input: Output: Enter the length of ladder in foot: 25 Enter the width of ladder in foot: 2 Required wood in foot: 98 Cost of wood is: 49000

User Linjuming
by
2.6k points

1 Answer

19 votes
19 votes

Answer:

Part A

The required wood for the ladder is 98 feet

Part B

The cost of the wood is 49,000

Explanation:

Part A

The dimensions of the ladder to be made with wood are;

The distance between each step of ladder = 1 foot

The length of the ladder = 25 feet

The width of the ladder = 2 feet

The required wood = 2 × 25 feet/rail + 2 feet/steps × 24 steps = 98 feet

The required wood for the ladder = 98 feet

Part B

The cost of the wood = 500/foot × 98 feet = 49,000

The cost of the wood = 49,000

User Jmsinusa
by
2.8k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.