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 turtle swims faster. In fact, the turtle swims 812 cm/min faster.
Answer:
Step-by-step explanation:
5 cups per day.....1 cup = 8oz.....so 5 cups = (5 * 8) = 40 oz
cut down by 75%....means ur only drinking 25%
25% of 40 oz =
0.25(40) = 10 oz per day <===
Number of toothpicks required per student = At least 9
Total number of students = 30
Number of toothpicks required for the entire class = At least 9 × 30 = At least 270
Number of toothpicks in the bag in the class storage room = 50
Additional number of toothpicks required to be bought to make sure there are enough toothpicks = 270 - 50 = 220
Hence, she needs to buy 220 toothpicks.
Answer:
Ordering a soft drink is independent of ordering a square pizza.
Step-by-step explanation:
20% more customers order a soft drink than pizza, therefore they cannot be intertwined.
Given: P(A)=0.5 & P(B)=.7
P(A∩B) = P(A) × P(B)
= 0.5 × .7
= 0.35
P(A∪B) = P(A) + P(B) - P(A∩B)
= 0.5 + .7 - 0.35
= 0.85
P(AΔB) = P(A) + P(B) - 2P(A∩B)
= 0.5 + .7 - 2×0.35
= 0.5
P(A') = 1 - P(A)
= 1 - 0.5
= 0.5
P(B') = 1 - P(B)
= 1 - .7
= 0.3
P((A∪B)') = 1 - P(A∪B)
= 1 - 0.85
= 0.15