Calculate the sum of cubes. If the input is x, the sum of cubes is equal to: 13 + 23 + ... + x3 Take input for the number of cubes to sum. No error checking is needed. Specifically, you may assume that the input is always a positive integer Here are some sample runs: Enter how many cubes to sum: 1 1 Enter how many cubes to sum: 3 36 Enter how many cubes to sum: 4 100 Enter how many cubes to sum: 2 9

Answers

Answer 1

Answer:

In Python:

cubes = int(input("Enter how many cubes to sum: "))

sum = 0

for i in range(cubes+1):

   sum = sum + i**3

print(sum)

Step-by-step explanation:

This line prompts the user for the number of cubes

cubes = int(input("Enter how many cubes to sum: "))

This initializes sum to 0

sum = 0

This iterates through the inputted number

for i in range(cubes+1):

This calculates the sum of the cube of the numbers

   sum = sum + i**3

This prints the calculated sum

print(sum)


Related Questions

Can somebody help me with this before 9 am

Answers

he pays $4 for the baseball

Answer:

Step-by-step explanation:

1.       9.50+x=13.50

(x is for the missing amount)

2.       less because the total all together is 13.50 and 9.50 + x = 13.50 so it would have to be less.

3.        i did not do (sorry )

4..          13.50-9.50= 4 (he payed $4 for the baseball

5.  i did not do the last one

Please help ASAP!!!!!!

Answers

Answer:

3 / 5

Step-by-step explanation:

Favourable outcomes -> 2, 4, 5, 6, 8, 10, 12, 14, 15, 16, 18, 20

Number of favourable outcomes = 12

Total number of possible outcomes = 20

P (multiple of 5 or 2) = Number of favourable outcomes / Total number of

                                    possible outcomes

                                  = 12 / 20

                                  = 3 / 5

Hope it helps :)

Please mark my answer as the brainliest

im fumb so help me with this lol first person to tell me the right anwser will get marked as brainliest​

Answers

It is 25 percentage of sqaure

Refer to the figure and the information shown below to answer the following questions: (a) Name two similar triangles in the figure. (b) What is the common ratio between the similar triangles? (State the ratio as a comparison of the smaller triangle to the larger triangle and as a simplified fraction) T 6 VW || SU 9 U 3 S Response​

Answers

Step-by-step explanation:

I'd 78394327272 PWD DK2iW8

joel is designing a ramp for a bike trick. He draws this diagram. What is the value of x?

Answers

Answer:

x = -1

x = 5

Step-by-step explanation:

Use pythagorean theorem: a² + b² = c²

x² + (2x + 2)² = (2x + 3)²

Since these are quantities, you'll have to make them into quadratic equations.

(2x + 2)(2x + 2) = 4x² + 4x + 4x + 4

(2x + 3)(2x + 3) = 4x² + 6x + 6x + 9

x² + 4x² + 4x + 4x + 4 = 4x² + 6x + 6x + 9

Combine like terms

5x² + 8x + 4 = 4x² + 12x + 9

Move one side to set the equation equal to 0

x² - 4x - 5 = 0

Solve

x² - 5x + x - 5 = 0

x(x - 5) + 1(x - 5) = 0

(x + 1)(x - 5) = 0

x = -1, 5

We can check that these are correct by plugging them in for x and seeing if they are equal

For example

(-1)² + (2(-1) + 2)² = (2(-1) + 3)²

1 = 1

1
(4 x 100) + (3 x 10) + (7 x
What number is this in standard form

Answers

Answer:

437 that's easy

Step-by-step explanation:

help now pls RSM lol

Answers

Answer:

(−3  2/3 )(x)+57

Step-by-step explanation:

Ayyy I remember this question.

(−3  2/3 )(x)+57

Solve the inequality 5y + 4 < 3y + 17

Answers

Answer:

y < 13/2

Step-by-step explanation:

5y + 4 < 3y + 17

Subtract  3y from each side

5y -3y + 4 < 3y -3y + 17

2y +4 < 17

Subtract 4 from each side

2y + 4-4 < 17-4

2y < 13

Divide each side by 2

2y/2 < 13/2

y < 13/2

Answer:

y<13/2

Step-by-step explanation:

5y+4<3y+17

-3y.-4 -3y-4

2y<13

y<13/2

Three less than a certain number is 9. Find the number.

Answers

12 is the correct answer

Answer:

12 Im assuming.

1/2 ∙ 5/8?????????????????????//

Answers

Answer:

5/16

Step-by-step explanation:

1*5=5

2*8= 16

Thus your answer is 5/16

I HOPE THIS HELPS!!!!

an election ballot asks voters to select three city commissioners from a group of twelve candidates. in how many ways can this be done?

Answers

Answer:

Step-by-step explanation:

Since order does not matter [tex]_{12}C_3\\ \\ \frac{12!}{3!9!}\\ \\ 220[/tex]

simplify the equation.​

Answers

Answer:

C. [tex]3j^{3}l[/tex]

Step-by-step explanation:

1) First you cancel [tex]k^{2}[/tex] because they are completely the same. then you take out the constants and simply.

2)You then have to use the Quotient Rule:

[tex]\frac{x^{a} }{x^{b} } =x^{a - b}[/tex]

You should have ...

[tex]3j^{6-3} l^{5-4}[/tex]

3) Simplify 6 − 3 to 3.

[tex]3j^{3} l^{1}[/tex]

4) Simplify 5 − 4 to 1.

5) Use Rule of One: [tex]x^{1} =x[/tex]

Answer is !!!

[tex]3j^{3} l[/tex]

2.) 4x - 2y = 15
Algebraic expression:
Algebraic equation:
Term(s):
Coefficient(s);
Constant(s);
Variable(s):

Answers

Answer:

Step-by-step explanation:

Algebraic expression: 4x - 2y

Algebraic equation: 4x - 2y = 15

Term(s): 4x, -2y

Coefficient(s); 4, -2

Constant(s); no constants

Variable(s): x, y

expressions don't have an equal sign, equations do

terms are separated by operational signs (multiplication, division, addition, subtraction)

Coefficients are the numbers before variables

Constants aren't variables

Variables are letters

what is the answer to 4÷8/12

Answers

Answer:

2/12

PLZ tell me if I am wrong because am not usually to good at math

Keith and Allison go out to eat their bill was 63.16$ they only paid 50.03$ what was the percent discount of their coupon

Answers

Answer:

16.04%

Step-by-step explanation:

53.03$- 63.16$= -10.13

-10.13$/63.16$=-0.16038

rounding 8 making the 3 a 4

16.04%

"The sum of seven-eighths of a
number and 20 is 34 at minimum."

Answers

Answer:

Anything greater than or equal to 17.

Step-by-step explanation:

7/8 of 17 is 14.875

An expression is a way of writing a statement with more than two variables or numbers with operations such as addition, subtraction, multiplication, and division.

The number will be 16 or greater than 16.

What is an expression?

An expression is a way of writing a statement with more than two variables or numbers with operations such as addition, subtraction, multiplication, and division.

Example: 2 + 3x + 4y = 7 is an expression.

We have,

The sum of seven-eighths of a number and 20 is 34 at minimum.

This means,

(7/8)M + 20 = 34

7M/8 = 34 - 20

7M/8 = 14

7M = 14 x 8

M = 2 x 8

M = 16

This means,

The number will be 16 or greater than 16.

Thus,

The number will be 16 or greater than 16.

Learn more about expressions here:

https://brainly.com/question/3118662

#SPJ2

A windowpane is 15 inches tall and the diagonal distance from one corner to the other is
17 inches. How wide is the windowpane?

Answers

Answer:

I'd say 8 h given the provided nformation

Answer:

Step-by-step explanation:

Draw a picture. You have right triangles, so use the Pythagorean Theorem.

W² + 15² = 17²

W² = 17² - 15²

W² = 64

W = 8

Mike bought 3 dozen golf tees $2.19 per dozen and 4 dozen golf balls $19.99 per dozen. The sales tax was 6%. What was the sales total for the purchase?

Answers

Answer:

$91.72

Step-by-step explanation:

You multiply 2.19 by 3 to get 6.57 to know total cost for golf tees. You multiply 19.99 by 4 to get the cost for the golf balls 79.96. You add the total cost of golf balls (79.96) to the cost of the golf tees (6.57) to get the cost 86.53. Next multiply 86.53 by .06 to get the tax of 6%. You nd up with the number 5.19 for task so add 5.19 to 86.53 to get the total cost of $91.72.

Please tell the answer I'm unable to understand. Kindly explain also

Answers

Answer:

Q.9 32m

Q.10 4m

Step-by-step explanation:

Q.9 the answer is 32 though there is no answer in the options because

u will take the number of the squares multiplied by the area of one square

that is 8×4=32

Q.10 you will divide the area by the length given to get the length of the other side

that is 32÷8=4

Cathy deposited $100 in an account that has a simple interest rate of 3.4%. How much interest will she earn after 2 years?

Answers

Answer:

6.8% Intrest for 2 years.

Step-by-step explanation:

3.4% x2 is 6.8

Emelina spent the day at the mall. First, she bought six violas for $35
each. Later, she bought four hats for $80 each. After that, she found a
ten dollar bill. Also, she returned five violas. Write the total change to
Emelina's funds as an integer.

Answers

Answer:

345

Step-by-step explanation:

since she returned the 5 violas, we can just count the one she kept.She bought the four hats for 80 each4x80=320add 35 to 320 which equals 355subtract the 10 she found355-10=345

Find the slope of each line that passes through the given point.
(1,12) and (-5,-9)

Answers

Answer:

m  =  7 /2

Step-by-step explanation:

Answer:

Step-by-step explanation:

(1,12)(-5,-9)

m=7/2

A student records his weight, in pounds, at the end of every week after joining a local gym. The table shows part of the data he recorded.
Weeks (n)
Weight (w), in pounds
1 24
133.5 132 128.5
7
125
If the equation for a line-of-best fit for the data is approximately w = 134.75 – 1.4n, which statement is true?
The student weighed approximately 134.75 pounds at the time of joining the gym, and he gains an average of about 1.4 pounds each week.
The student weighed approximately 134.75 pounds at the time of joining the gym, and he loses an average of about 1.4 pounds each week.
The student weighed approximately 140 pounds at the time of joining the gym, and he gains an average of about 13.475 pounds each week.
The student weighed approximately 140 pounds at the time of joining the gym, and he loses an average of about 13.475 pounds each week.

Answers

Answer:

A

Because of the question it says

Plz help I will give brainiest

Answers

Answer:

Old Mae 24 feet per hr

Step-by-step explanation:

10
10
E
W7
Analiza la ilustración de la parcela dividida de un agricultor.
En cuantos metros cuadrados sembrará ajo?
15 m
250 m
maiz
¿Cuál será el área de siembra del cilantro?
125 m
cilantro
Cuál será el área de siembra del maiz?
25 m
frijol
old
¿Cuál será el área de siembra del frijol?
ección 57. Algo simple
Termina las multiplicaciones de la izquierda y anota los resu
correctos en la multiplicación de la derecha.
25
29
29​

Answers

Answer:

You do times and after you add

Step-by-step explanation:

A soccer player wants to eat no more than 700 Calories at a meal that includes a club sandwich and chips. The sandwich has 464 calories, and the chips have 7 calories each. Write, and solve, an equation (using c for the number of chips) to find out how many chips he can have. Explain.
HELP MEMEMEMEME

Answers

I believe the answer will be 12 and a half

Answer:700≥7c+464

Step-by-step explanation:

:)

What is the surface area of the rectangular pyramid? THIS IS WORTH 50 SO PLSSS

Answers

pabigay po example formula

Step-by-step explanation:

Surface Area Of Regular Pyramid By Using A Formula

surface area = area of base + 1/2 × perimeter of base × slant height.

What are the solutions to 2 * (x - 7) ^ 2 = 32 ?

Answers

Answer:

11 is answer

2 * (x - 7) ^ 2 = 32

(x-7)²=32/2

(x-7)²=16

x-7=√16

x-7=4

x=7+4=11

The solution of the given equation i.e. [tex]2 * (x - 7) ^ 2 = 32[/tex] should be considered as the 11.

Calculation of the given equation:

Since the given equation i.e. [tex]2 * (x - 7) ^ 2 = 32[/tex]

So,

[tex](x-7)^2=32/2\\\\(x-7)^2=16\\\\x-7=\sqrt 16[/tex]

x-7=4

So,

x=7+4=11

Therefore, we can conclude that The solution of the given equation i.e. [tex]2 * (x - 7) ^ 2 = 32[/tex] should be considered as the 11.

Learn more about solution here: https://brainly.com/question/24425531

What is the exponent for 9x9x9x9? help plz

Answers

Answer:

9^4

Step-by-step explanation:

There is 4 nines.

9*9*9*9 = 6561

9^4 = 6561

9^3 = 729

a parking lot is divided in 12 equal spaces. 3 of the spaces are used for employee parking. What fraction of the total number of spaces is not used for employee parking?

Answers

12-3 = 9 other spaces
9/12 of the spaces are not used for employee parking.
Most teachers want you to reduce that fraction, so 3/4.
Other Questions
Pyramids, which are some of theancient __ of Meroe can still bevisited today What does it mean when the characters say, Curley is handy What is the genotype (genes) ratio for this probability outcome for the offspring? What are 3 Nongovernmental (NGO) groups working to find solutions to Sea Turtle Conservation For the reaction? P4+? S8 - ? P4S10 what is the maximum amount of P4S10 whichcould be formed from 15.29 g of P4 and 17.66 gof Sg?Answer in units of g.Please hurry its due today and include the steps if you can Benvolio learns why Romeo has been so melancholy lately. What is the reason? C=0.4(285.7)+100(No answer choices) 33s^5t^4u^8 11st^3u^8 Tara has $320 in her savings account and plans to put all of the money that she earns thisweek [m] into her account. Complete the equation to represent the amount of money inTara's savings account (S) after she gets paid. Do not use $ in the equation. Ammonia is a covalent compound used in many cleaners. What is its chemical formula? N2O H2O NH3 HO3 Solve the following system of equations using the substitution method. The problem- y= -2x+11 3x + y = 18 What is the effect of temperature on the solubility of a solid in a liquid? Check all correct elements that you included in your question. format: "What is the effect of X on Y?" materials: solid dissolved in a liquid independent variable: temperature dependent variable: solubility A broadcast network is one in which a transmission from any one attached station is received by all other attached stations over a shared medium. Examples are a bus-technology local area network, such as Ethernet, and a wireless radio network. Discuss the need or lack of need for a network layer (OSI layer 3) in a broadcast network. what does -(-(-(-(-(8))))) mean The irreversible elementary gas-phase reaction is carried out isothermally at 305 K in a packed-bed reactor with 100 kg of catalyst. The entering pressure was 20 atm and the exit pressure is 2 atm. The feed is equal molar in A and B and the flow is in the turbulent flow regime, with FA0 10 mol/min and CA0 0.4 mol/dm3. Currently 80% conversion is achieved. What would be the conversion 5 Select the correct answer from the drop-down menu. Which word has a connotation that best fits the sentence? Last night, $1,000,000 was taken from the largest bank in the city. Find the value of x y and m HELLPPPPP AGAIN PLSSSSSSS COME ON MATHS At a chemical factory, the basic week is 40 hours, during a particular week Mr. James earned a gross wage of $518.00, but $148,00 was for overtime. Calculate Mr. James' basic rate of payment Simplify the fractions using the greatest common factor and division 4/8 =