Answer:
Step-by-step explanation:
{z - some integer}
2z+1 - the smallest number
7(2z+1) - seven times the smallest number
2z+1+2=2z+3 - the middle number
2z+3+2 = 2z+5 - the largest number
2(2z+5) - twice the largest number
7(2z+1) + 2(2z+5) - the sum of 7 times the smallest and twice the largest
7(2z+1) + 2(2z+5) = -91
14z + 7 + 4z + 10 = -91
-17 -17
18z = -108
÷18 ÷18
z = -6
2z+1 = 2(-6)+1 = -12 + 1 = -11
2z+3 = 2(-6)+3 = -12 + 3 = -9
2z+5 = 2(-6)+5 = -12 + 5 = -7
To solve this problem, we denote the smallest odd integer as 'x' and set up the equation 7x + 2(x+4) = -91. By solving this equation, we find that the smallest integer is -15.
To find the three consecutive odd integers, let us denote the smallest odd integer as x; therefore, the next two consecutive odd integers would be x + 2 and x + 4, respectively. The problem states that the sum of seven times the smallest integer and twice the largest integer equals to -91. So, we can translate this into the equation, 7x + 2(x+4) = -91. Solving this gives us x = -15. Hence the smallest integer is -15. The full solution is as follows:
#SPJ3
Answer: A: $7.67. B: No. C: Because amount of change that was supposed to be given is supposed to be $2.24
Step-by-step explanation:
If I get it wrong i'm sorry
3
- 1/3
-3
1/3
Answer:
The answer is: 3
Step-by-step explanation:
1. At the begining of the program we start by declairing the variables:
double x=1, double y=1 and int i=0.
2. The structure do...while is used to defined the loop. x<2.5 is the finalization condition of the loop. i is the counter of the loop.
y=x/2 is the first calculation
x=x+y is the second one. Here is where the values of the variable x changes.
a) for the first iteration, the values of y and x are shown below:
The variable x is minor to 2.5 so the loop will continue computing.
b) the second iteration, the values of y and x are shown below::
The variable x is still minor to 2.5 so the loop will continue computing.
c) third iteration:
The condition x<2.5 is not true so the loop ends.
3. System.out.print(i + " "); displays the value of the variable i wich value is 3.
Therefore the number 3 is display.