The program is an illustration of loops
What are loops?Loops are program statements that are used to perform repetition
The main programThe program written in Python, where comments are used to explain each line is as follows:
#This initializes sum to 0
summ = 0
#This gets input for the first number
num = int(input())
#This is repeated while num is not -1
while num!= -1:
#This calculates the sum
summ+=num
#This gets input for the num
num = int(input())
#This prints the sum
print(summ)
Read more about loops at:
https://brainly.com/question/16397886
How to solve right triangles with no sides or angles given.
What is the domain of 2x+4/x^2-4
Answer:
(2*(x^3-2x^2+2))/(x^2)
You need to paint your house to sell it. You can choose between two different painters, George and Henry. George will charge 90$ for the paint, and then $40 per hour. Henry will charge $120 for the paint and then $35 per hour.
After how many hours will the cost be the same?
If you estimate it will take about 10 hours to paint the room, who should you choose?
Answer:
At 6 hours the cost is the same. At 10 hours of service Henry is cheaper.
Step-by-step explanation:
This is simple. Follow my lead!
First we must create an equation for George
He charges $90 initially and then $40 per hour
So George's equation is:
[tex]y = 40x + 90[/tex]
Now let's find Henry's equation!
He charges $120 initially and then $35 per hour
So Henry's equation is:
[tex]y = 35x + 120[/tex]
1) To find when they will be the same, just set them equal to each other and solve for x.
[tex]40x + 90 = 35x + 120 \\ - 35x \\ 5x + 90 = 120 \\ - 90 \\ 5x = 30 \\ \div 5 \\ x = 6[/tex]
This means that when x = 6 or at 6 hours in the cost is the same!
2) Just solve both equations with x = 10
[tex]y = 40(10) + 90 \\ y = 400 + 90 \\ y = 490[/tex]
At 10 hours George's service costs $490!
[tex]y = 35(10) + 120 \\ y = 350 + 120 \\ y = 470[/tex]
At 10 hours Henry's service costs $470!
$470 is less than $490 so that means Henry is more cheaper!
Yay! We did it!
Brainliest Appreciated! If you have questions please don't hesitate to comment.
A crew of highway workers paved 2/15 mile in 20 min
If they work at the same rate what portion of a mile will the pave in one hour
(Please explain your answer)
Answer:
6/15 or simplified 2/5
Step-by-step explanation:
id.k if this is right :))
What are the dimensions of a rectangle with an area of 18 square inches and a perimeter of 18 inches? A) 9 in. x 2 in.B) 5 in. x 4 in.C) 6 in. x 3 in.D) 8 in. x 1 in.
Answer:
C
Step-by-step explanation:
Area: [tex]6 \times 3 = 18[/tex]
Perimeter: [tex]2 \times (6 + 3) = 18[/tex]
Answer:
C) 6 in. x 3
Step-by-step explanation:
area of rectangle: length * widthperimeter of rectangle: 2(length + width)using the formula:
area:
6 * 3
18 in²
perimeter:
2( 6 + 3)
2(9)
18 in
Hence proved that C is the right answer.
If the perimeter of RSTU is 72 and RV = 16,
find RT
Answer:32
Step-by-step explanation:
since rv is 16 just multiply by 2 and =32
Becuase it’s a rhombi each side is equal
A recipe for a cake calls for 3cups of water. Elisa accidentally put in 6 cups How many extra cups did she put in
A)5
B)4
C)1
D)3
NEED New help
Answer:
D) 3Step-by-step explanation:
originally she had to put in 3 cups
she accidentally put in 3
the amount of extra cups is 6-3
=3
What is an equation of the line that passes through the points (-5, -6) and (5, 6)?
Answer:
It would be -5 + -6 = 65
Step-by-step explanation:
Add it up to together by removing the -
A soccer ball has a radius of 11 cm. Using π ≈ 3.14 , what is the approximate volume of the soccer ball in cubic centimeters?
It can be noted that the volume of the ball which is a sphere will be 5572.45 cm³.
How to calculate volumeFrom the information given, the soccer ball has a radius of 11 cm. This will be calculated by using the volume of a sphere.
Volume = 4/3πr³
= 4/3 × 3.14 × 11³
= 5572.45 cm³
In conclusion, the correct option is 5572.45 cm³.
Learn more about volume on:
https://brainly.com/question/1972490
Simplify the expression below. (10x+1)3x+5(5x)
Answer:
38x
Step-by-step explanation:
{(10x+1)3x}+5(5x)
10x+3x+25x=38x
Answer:
2x*(15x+14)
Step-by-step explanation:
First Step:
(3 • (10x + 1) • x) + 25x
Second Step:
3x • (10x + 1) + 25x
Third Step:
.....
Fourth Step:
Pull out like factors :
30 x 2 + 28x = 2x • (15x + 14)
Final result :
2x • (15x + 14)
A box contains 2 red pencils, 15 blue pencils, 8 black pencils, and 5 green pencils. What is the best
description of the likelihood of selecting a blue pencil at random from the box?
Answer:
[tex] \frac{1}{2} [/tex]
Step-by-step explanation:
Red: 2, Blue: 15, Black: 8, Green: 5
Total number of pencil = 2 + 15 + 8 + 5 = 30 pencils
probability of picking a blue pencil at random= Number of blue pencil divided by Total number of pencil
=
[tex] \frac{15}{30} [/tex]
=
[tex] \frac{1}{2} [/tex]
Solve each system by using substitution.
Answer:
1: I think 14
Step-by-step explanation:
Answer:
See below.
(-1,-3), (1,-4), (1,-2)
Step-by-step explanation:
See the attached image. One may also graph the equations and find the point they intersect (attached).
What is the future value if $18733 is invested at 5.1% for 10 years, compounded quarterly
Answer:
Step-by-step explanation:
The compound interest formula is [tex]P(1+r/n)^{nt}[/tex]
P: the initial amount of cashr: interest raten: # of times that interest is compounded per time periodt: # of time periodsKnown information:
P: 18733r: 5.1% or 0.051n: quarterly or 4t: 10 yrsNow let's set up the equation:
Future amount: [tex]18733 (1+\frac{0.051}{4} )^{4*10}[/tex] [tex]=31,095.49[/tex]
Thus the future amount is $31.095.49.
Hope that helps!
please hurry! will give brainliest
Answer:
Step-by-step explanation:
If we think about a right triangle, we get that the hypotenuse is 24ft or the length of the ladder. The base of the ladder is 15ft away from the building which is the leg of the right triangle. The screenshot is the diagram (my drawing isn't that good lol:))
Thus we can use cosine function with the angle between the ladder and the ground since we need to find the angle and we get
[tex]cos\alpha = \frac{15}{24}[/tex]
and [tex]\alpha = 51.3 degrees[/tex]
The angle is 51.3 degrees hope that helps!
15. When x =9, which number is closest to the value of y on the line of best fit in the graph below?
12
1
9
17
CORRECT ANSWER GETS BRAINLIEST
Answer:
Plug in the 12 into the x's and find the ordered pair
Step-by-step explanation:
g(x) = 3/(x - 2) - 1
Find the inverse function
Answer:
2
Step-by-step explanation:
g(3)=3/(3-2)-1
3/1-1
3-1
2
what is 3 7/10+5 3/4+3/4 in simplest form
Answer:
10 1/5
Step-by-step explanation:
3 7/10 + 5 3/4 + 3/4
3 14/20 + 5 15/20 + 15/20
8 + 44/20
8 + 2 + 4/20
10 + 1/5
10 1/5
A number is the same as 16 less than 3 times itself. What is the number?
Answer:
-8
Step-by-step explanation:
-8 x 3 = -24
-24 is 16 units less than -8
The dimensions of a triangular lot are 176 feet by 77 feet by 152 feet. If the price of such land is $3 per square foot, how much does the lot cost?
Answer:
$17556
Step-by-step explanation:
*PLS HELP*
The Question Is In The Attachment
Answer:
Step-by-step explanation:
Rhombus:
Base = b = 14 in
altitude = h = 12 in
Area of rhombus = b*h = 14 * 12 = 168 in²
Triangle:
base = b = 12 in
Height = h = 14 in
[tex]Area \ of \ triangle = \dfrac{1}{2}bh=\dfrac{1}{2}*12*14=12*7=84 \ in^{2}[/tex]
Area of the figure = area of the rhombus + area of the triangle
= 168 + 84
= 252 in²
What are the answers of this question’s?
2) 8(-3w + 7)
3) 7(-8-3w)
4) 4(-2 + 9b) + 3
5) 7(-8 + 6d)
6) 5(-6q + 4)
7)-9(-8 + 39)
8) 2(-8y + 4) - 9y
9)-4d + 2(-6-7d)
10) 4p + 2(-9p - 8)
what is the equation of the line that passes through the point (-3,-8) and has a slope of 4?
please help
Step-by-step explanation:
the easiest approach with a given point and the slope of the line is the point-slope form :
y - y1 = a(x - x1)
where "a" is the slope, and (x1, y1) is a point on the line.
so, we get
y - -8 = 4(x - -3)
y + 8 = 4(x + 3)
if we need the slope-intercept form
y = ax + b
we now simplify the point-slope form
y + 8 = 4x + 4×3 = 4x + 12
y = 4x + 4
Simplify 7 + (−3). Please hurry
-10
-4
4
10
Answer: The answer is 4. 7+(-3) is like 7 minus 3.
Step-by-step explanation:
Answer:
4
Step-by-step explanation:
since the 3 is negative, you need to take 3 away from 7 = 4
Quadrilateral JKLM is a parallelogram. What is the m kjn
Answer:
solution: KL-2ML. LKIN=63x2=126*
Step-by-step explanation:
Mark me brainliest!!
Avery bought 23 rainbow and balloon stickers for her little sister. The rainbow stickers cost 1 cent apiece and the balloon stickers cost 6 cents apiece. If Avery spent exactly 113 cents, how many of each type of sticker did she buy?
Answer:
5 rainbows and 18 ballons
Step-by-step explanation:
113 ÷ 6 = 18.83333
18 balloons
6×18 = 108 ( total amount of balloons)
113 - 108 = 5
5+8 divided by 2
Someone pls tell me
Answer:
it's 6.5 5+8=13 divided by 2 is 6.5
Step-by-step explanation:
1. Solve: 3x42• (56 = 8x3)
Answer:126
Step-by-step explanation:40+40+40=120. 2x3 6. So 120+6= 126
If angle B measures 25°, what is the approximate perimeter of the triangle below? A right triangle is shown. Angle A is 90 degrees and angle B is 25 degrees. Side A B has a length of 4. 10. 3 units 11. 8 units 22. 1 units 25. 2 units.
Answer:
If angle B measures 25°, the approximate perimeter of the triangle is 10.48 units. A right triangle is shown. Angle A is 90 degrees and angle B is 25 degrees.
Step-by-step explanation:
a triangular sail has a base of 5m and a height of 10 m if the canvas costs 18 dollars a square meter, find the cost of canvas to make a sail
Answer:
$450
Step-by-step explanation:
Start by finding the area of the triangular sail.
[tex]A=\frac{1}{2}bh[/tex]
Substitute the given lengths into the equation:
[tex]A=\frac{1}{2}*5*10\\A=5*5\\A=25m^2[/tex]
Now, multiply this by 18 dollars per square meter.
[tex]25m^2(\frac{18}{1m^2})=25*18=450[/tex]