Answer:
Add a colon to the end of the statement
Step-by-step explanation:
Given
x = 1
while(x < 26)
print(x)
x = x + 1
Required
Spot and fix the error
Every lines of the given code segment is correct except the second line.
The syntax of a while loop is:
while(condition):
Comparing while(condition): to while(x < 26),
we'll see that while(x < 26) has a missing colon.
So, the error in the program is a missing colon and the solution is (option a) adding a colon to the end of the while statement
So, the correct code segment is:
x = 1
while(x < 26):
print(x)
x = x + 1
Lisa puts $8,000 in an account that earns 12% simple annual interest. If she leaves her money in the account for 4 years, how much interest will she earn?
Answer:
392000
Step-by-step explanation:A=p(1+
please help with this question!
♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️
a ) Two matrices cannot be multiplied.
♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️
b )
The answer is | 20 - 4 - 12 |
| 8 2 19 - |
♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️
Please answer this..........
Answer:
The answer would be 126
Step-by-step explanation:
you add 28+35 which is 63, then you multiply by 8 which is 504 and you multiply by 1/4 which is 126 :)
Assume that y varies directly with x. If y= 2/5 when x= 1/3, find y when x = 1/4
Step-by-step explanation:
y1/x1=y2/x2
2/5÷1/3=y÷1/4
y=3/10=0.3
Por un kilo y medio de merluza se ha pagado 21,30 €. A cuanto estaba el kilo?
Lo siento mucho, no hablo muy bien español ... ¡Ojalá pudiera! Sería mucho más útil de esa manera
Which relationship between the legs and the hypotenuse of the right triangle is correct?
Answer:The answer is the option C
Step-by-step explanation:we know that
In a right triangle the Pythagorean Theorem states that
where
c is the hypotenuse (the greater side)
a,b are the legs of the right triangle
in this problem we have
substitute the values
Answer:
15^2 + 16^2= x^2
Step-by-step explanation:
I took the usa test prep test and this is how you calculate it
Steven is comparing the cost of a fresh lobster dinner at two different restaurants. The first
restaurant charges $51 for the meal, plus $2 per pound for the lobster he picks. At the
second restaurant, Steven would pay $4 per pound for the lobster, in addition to $19 for the
meal. Steven realizes that, in theory, dinner at both restaurants could cost the same amount
if the lobster had a certain weight. How much would Steven pay for his dinner? What is the
weight?
Answer:
Step-by-step explanation:
2x+51=4x+19
32=2x
x=16. The weight is 16 pounds
plug it back in to find the cost
32+51=83. 64+19 = 83. The cost is 83 dollars
If there are 3 apples for every 4 oranges, how many apples would you have if you had 20 oranges?
Answer:
6 Apples
Step-by-step explanation:
There would be six apples and 2 oranges left over.
Hope this Helps!
:D
Answer:
I was kind of confused on this one but is it 15 apples?
Step-by-step explanation:
3, 6, 9, 12, 15
4, 8, 12, 16, 20
I think the answer is 15 apples.
54÷6+0.42×(9×8÷2+82)
Answer:
58.56
Step-by-step explanation:
A freight train traveling along a certain route uses 12 units of fuel per mile plus an additional 2.2 units of fuel per mile for each railcar on the train. Let N represent the number of railcars on the train. What is an expression for f(N), the total number of units of fuel used per mile? find f(12). How many railcars does the train have if f(N)=34?
Answer:
[tex]38.4\ \text{units of fuel/mile}[/tex]
10
Step-by-step explanation:
Let [tex]N[/tex] represent the number of rail cars on the train
Each rail car adds 2.2 units of fuel per mile.
Fixed fuel consumption is 12 units of fuel per mile
The function of fuel consumption per mile is
[tex]f(N)=12+2.2 N[/tex]
when
[tex]N=12[/tex]
[tex]f(12)=12+2.2\times 12\\\Rightarrow f(12)=38.4\ \text{units/mile}[/tex]
[tex]\boldsymbol{f(12)=38.4\ \text{units/mile}}[/tex]
[tex]f(N)=34\\\Rightarrow 12+2.2N=34\\\Rightarrow N=\dfrac{34-12}{2.2}\\\Rightarrow N=10[/tex]
So, the number of rail cars when [tex]f(N)=34[/tex] is 10.
Gabriella ran several laps around a 1/4-mile track. Then she ran 2 1/2 miles on a trail. In all, she ran 4 miles. Write and solve an equation to find l, the number of laps Gabriella ran.
9514 1404 393
Answer:
1/4×l +(2 1/2) = 4l = 6Step-by-step explanation:
For l laps around a 1/4 mile track, the total distance is ...
l×(1/4)
After adding 2 1/2 miles to that, Gabriella's total distance was 4 miles:
l×(1/4) +(2 1/2) = 4 . . . . an equation to find l
__
We can solve this equation by subtracting 2 1/2, then multiplying by 4.
l×(1/4) = 1 1/2
l = 4(1 1/2)
l = 6
Gabriella ran 6 laps on the track.
Solve for x
-22=2(x-10)
Answer:
−
2
2
=
2
(
−
1
0
)
x-22={\color{#c92786}{2(x-10)}}
x−22=2(x−10)
−
2
2
=
2
−
2
0
Step-by-step explanation:
Answer:
x=-21
Step-by-step explanation:
first expand the brackets
-22=2x-20
then make x on its own
-42=2x
then dived by 2
-21=x
Greta offers to buy a team photo for 15 of her teammates, but 6 of them don't want one. If a team photo costs $2, how much will Greta spend on her teammates? Choose the correct expression and solution to this problem .
Answer:
$18
Step-by-step explanation:
If a person walks 1/4 of a mile in 1/8 of an hour. Determine how many miles they are running per hour.
Answer:
1&1/8 m/h
Step-by-step explanation:
2/8 of a mile = 1/8 of an hour
add 7/1 to both sides thats 1 and 1/8 of a mile in 1 hour
What is the equation of in line slope intercept from that has a slope of 4 and goes through the point -8 -16
Answer:
Step-by-step explanation:
is your qustion like -8-16 because its -24
Answer:
y = 4x + 16
Step-by-step explanation:
The equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y- intercept )
Here m = 4, thus
y = 4x + c ← is the partial equation
To find c substitute (- 8, - 16) into the partial equation
- 16 = - 32 + c ⇒ c = - 16 + 32 = 16
y = 4x + 16 ← equation of line
Help! I Greatly appreciated it.
it is proportional
cause it is trust me
Answer: it's proportional
Step-by-step explanation:
Brendon sells tires at the local auto parts store. He told a customer that the tire width for a new tire was 21.5 centimeters. Which of the following describes the tire width for the new tire? please help thank you!!!
A)21.5 feet
B)215 inches
C) 21.5 meters
D)215 millimeters
Answer:
Choice D
Step-by-step explanation:
When you convert a unit to a smaller unit it will always get bigger so in this case you will move the decimal point to the right so 21.5 will become 215.
Answer:
D) 215 millimeters
Step-by-step explanation:
While traveling in Canada, a police officer pulls you over for speeding. The posted speed limit is 100
km/hr. She asks you if you know how fast you were driving. You suddenly realize that your
speedometer's "100" measures miles/hr, not km/hr. How fast were you going?
Answer:
Speeding at 160.934 km/hr
Step-by-step explanation:
1 mile = 1.609344 kilometers
1.609344 * 100 = 160.934 kilometers
ANSWER ASAP PLEASE & SHOW UR WORK!!!
Find the real or imaginary solutions. x^4 + 3x^2 - 18 = 0
Answer:
[tex]x_1=\mathbf{i}\sqrt{6},\ x_2=-\mathbf{i}\sqrt{6},\ x_3=\sqrt{3},\ x_4=-\sqrt{3}[/tex]
Step-by-step explanation:
Biquadratic Equations
Solve:
[tex]x^4 + 3x^2 - 18 = 0[/tex]
The biquadratic equations are equations of degree 4 without the terms of degree 1 and 3.
Solving such equations requires to express the equation as a second-degree equation with [tex]x^2[/tex] as the variable.
Rewriting the equation:
[tex](x^2)^2 + 3(x^2) - 18 = 0[/tex]
The quadratic equation can be factored as:
[tex](x^2+6)(x^2-3)=0[/tex]
It leads to two equations:
[tex]x^2+6=0[/tex]
[tex]x^2-3=0[/tex]
The first equation has imaginary roots. Solving for x:
[tex]x^2=-6[/tex]
[tex]x=\pm\sqrt{-6}[/tex]
[tex]x_1=\mathbf{i}\sqrt{6}[/tex]
[tex]x_2=-\mathbf{i}\sqrt{6}[/tex]
Where
[tex]\mathbf{i}=\sqrt{-1}[/tex]
The second equation has two real roots:
[tex]x^2-3=0[/tex]
[tex]x^2=3[/tex]
[tex]x=\pm\sqrt{3}[/tex]
[tex]x_3=\sqrt{3}[/tex]
[tex]x_4=-\sqrt{3}[/tex]
The roots are:
[tex]\mathbf{x_1=\mathbf{i}\sqrt{6},\ x_2=-\mathbf{i}\sqrt{6},\ x_3=\sqrt{3},\ x_4=-\sqrt{3}}[/tex]
Mr.West bought merchandise totaling $3,500. His overhead was $1,200. He sold the merchandise for $5,000. Find his percent on the profit based on the cost, to the nearest whole percent.
plz answer fast i rlly need it now
Answer:
17.647 = 18%
Step-by-step explanation:
I hope this helps also pls rate brainliest
3x+2=2x+2+x
How many solutions does the equation have? Explain why and how
Step-by-step explanation:
3x-2x -x = 2-2
x=0
the solutions =2
1) must moves the numbers
2) solve them
Write a factored equation that has the solutions x=6 and x=-1
Answer:
y = (x - 6)(x + 1)
Step-by-step explanation:
Use factored form, y = a(x - r1)(x - r2), where r1 and r2 are roots.
Since the solutions are 6 and -1, plug in these numbers:
y = (x - 6)(x + 1)
So, the factored equation is y = (x - 6)(x + 1)
Answer: (x-6)(x+1)
Step-by-step explanation:
The pair of points lies on the same line with the given slope. Find x.
(4,6). (x, 12); slope = 2
Answer:
x=7
Step-by-step explanation:
I got this because it is rise over run
[tex]\frac{rise}{run} =\frac{6}{?} =2[/tex]
The missing number would be 3, and if you add that three to 4 you get 7. which means that the answer is...
(7,12)
Hope this helps you!!!Which of the following equations has exactly one solution? A. 4 x − 4 + 2 x = 6 x − 4 B. 4 x − 8 = 4 ( x − 4 ) C. 3 x + 5 = 2 x − 6 D. 2 ( 4 x + 5 ) = 8 x + 10
Answer:
C. 3x + 5 = 2x -6
Step-by-step explanation:
y=−2x+9 write in standard form
Answer:
2 x − y = − 9
Step-by-step explanation:
I am not 100% sure but I think this is right.
Answer:
Step-by-step explanation:
2x+y=9
f(x)=2x+3 g(x)=x-4 Find (fg)(x) (Hint use FOIL)
Answer:
2x^2-5x-12
Step-by-step explanation:
using foil this should be the answer, do you need the solution values?
State the slope and y-intercept of the graph of y - x = -2.
Answer:
the slope is 1
the y-int is -2
Answer:
Slop=1 y-intercept=-2
Step-by-step explanation:
Chet started to slow his eating speed down later in the evening. He was
now eating only 1/4 of a turkey every 2 hours. What was his unit rate
later in the evening?
Answer:
The unit rate is:
1/8 turkey/per hour.Step-by-step explanation:
As Chet was eating 1/4 of a turkey every 2 hours.
This tells us that every two hours, Chet will eat 175 1/4 of a turkey.
Unit rate basically means 'how much of something per 1 unit of something else'.A unit rate is a rate with a denominator of 1 unit.
This means, in 1 hour, Chet will eat half of what he eats every 2 hours.
so Chet will eat [tex]\frac{\frac{1}{4}}{2}=\frac{1}{8}[/tex] of a turkey in 1 hour.
i.e.
[tex]\frac{\frac{1}{4}}{2}=\frac{1}{8}[/tex]
Therefore, the unit rate is:
1/8 turkey/per hour.Allison has a $35 budget for the county fair. She spends $15 at a craft booth and she wants to buy some kettle corn for her friends that cost $4 for each bag.
Let x = number of friend's
Answer: she can buy it for 5 friends
Step-by-step explanation:
$35(budget)- $15(craft booth) =$25
then $25 divided by $4 equals 5
So 5 people she can but for.
0.409 +0.681
can you add this with the repeating decimals?
Answer:
Yes, you can and the answer would be 1.09.
Step-by-step explanation: