2 1/5: 11/5, 22/10, 33/15, 44/20 etc.
1 5/6: 11/6, 22/12, 33/18, 44/24, etc.
Answer:
2
I am taking my first programming course, so my apologies if this is a dumb question/possibly classified by the wrong category on this site. One of the exercise problems I am working on is the following:
Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. Note: There are 12 inches in a foot. Ex:
print_total_inches(5, 8) prints:
Total inches: 68
Step-by-step explanation:
The ladder leaning against the wall forms a right angled triangle with the gound and the wall. So we can use the formula:a² + b² = c²The ladder is the hypotenuse c²The vertical leg is b²The base or horizontal leg is a²We need to find the length of the base a², so:a² = c² - b²a² = 5² - 4²a² = 25 - 16a² = 9a = √9a = 3<span>Therefore the bottom of the ladder must be 3 feet from the wall.
Example:
</span>If the 24 foot ladder is leaned on the house with the bottom 8 feet from the base the wall of the house, then it will form a right angled triangle.The base of the triangle will be 8 feet while the 24 foot ladder forms the hypotenuse. We need to find out the height from the base of that wall to the point the ladder touches the wall.Let the hypotenuse be CLet the base be BLet the height be AWe use this formula: A squared + B squared = C squaredA sq + 8 sq = 24 sqA sq + 64 = 576A sq = 576 - 64A sq = 512A = Square root 512A = 22.6To the nearest 10th this will be 23<span>So the answer is 23 feet.</span>
Answer:
2.3333333333
Step-by-step explanation:
2+1/3
= 2.3333333333
= 233.33333333%