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:
Answer:
Step-by-step explanation:
Your r^2 times pi is the area of the base, h is the height, and 1/3 is 1/3 of a cylinder.
Answer:Find the least common denominator of the two fractions from part B. To do this, list and compare the first five multiples of the denominators. The smallest number that appears in both lists is the least common denominator. Show your work.
Step-by-step explanation:
Answer:
Step-by-step explanation:
a = 2, b = 1, c = -3
We need to factor this by finding the product of a and c, then from there find which factors of a * c will either add or subtract to give us b.
a * c = 6 and the factors of 6 and 1 and 6, 2 and 3. Well, 6 - 1 doesn't equal 1 and neither does 6 + 1. So our factors are 3 and 2. In order to combine those to get a 1 (our b), we will subtract 2 from 3 since 3 - 2 = 1. That means that 3 is positive and 2 is negative. Filling in the formula with 3 and 2 in place of 1 looks like this (always remember to put the absolute value of the largest number first):
Group the first 2 terms together and the second 2 term together in order to factor:
and factor out what's common in each set of parenthesis.
Notice that when we factor out a -1 from the second set of parenthesis, we can distribute it back in to get the equation we started with. We know that factoring by grouping "works" if what is inside both sets of parenthesis is exactly the same. Ours are identical: (2x + 3). That is common now, and can be factored out:
That matches your first choice
208c + 52v = 5460
v = c + 10
where c = the price for a car rental and v = the price for a van rental.
To solve this system, use substitution; the second equation says v is equal to c + 10, so plug in "c + 10" for v in the first equation and solve for c:
208c + 52(c + 10) = 5460
208c + 52c + 520 = 5460
260c + 520 = 5460
260c = 4940
c = 19
Now that we have c, we can plug it in to the second equation to find v:
v = (19) + 10
v = 29
So, c = 19 and v = 29, meaning that
The cost of a car rental is $19 and the cost of a van rental is $29.