Answer:
34
Step-by-step explanation:
First we need to do 2/3*21, which equals 14 as 3 and 21 can be simplified to 1 and 7. 7 * 2/1= 14. Then we add the 20 to 14, 20+14= 34
In order to solve this, we need to figure out how much ONE student spends.
![\frac{12dollars}{4students} = 3](https://tex.z-dn.net/?f=%20%5Cfrac%7B12dollars%7D%7B4students%7D%20%3D%203%20)
dollars per student.
If 10 student spent for lunch, we just have to multiply our number by how much each student spends.
Answer:
20.00
Explanation:
You can see that with every two coffees the amount is decreasing by 3.50 each time
The slope is -1.75 which is for every one coffee so this multiplied by 2 = 3.50
Answer:
Recursive algorithms call itself with simpler or smaller input values. They can be used to solve large problems by using the solutions to minor parts of the problem, these minor problems are then further broken down to solvable cases.
Given the input as a sequence;
max(![z_{1}, z_{2}, ... z_{k}: integers)](https://tex.z-dn.net/?f=z_%7B1%7D%2C%20z_%7B2%7D%2C%20...%20z_%7Bk%7D%3A%20integers%29)
if
return ![z_{1}](https://tex.z-dn.net/?f=z_%7B1%7D)
else
![c=max(z_{1}, z_{2},...z_{k-1})](https://tex.z-dn.net/?f=c%3Dmax%28z_%7B1%7D%2C%20z_%7B2%7D%2C...z_%7Bk-1%7D%29)
if
>
return ![c](https://tex.z-dn.net/?f=c)
else return ![z_{1}](https://tex.z-dn.net/?f=z_%7B1%7D)
#3. For each hour worked, the employee makes $15/hour. This is true for every hour he works, so if he works for 4 hours he will make $60.
#4. For every second, the hot air balloon increases height by 5 feet.
#5. X&Y are proportional because for every hour, 5 feet are gained. Thus, after 7 hours, 35 feet are gained.
Thats all i have time to do right now. Good luck :)