1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vaieri [72.5K]
3 years ago
15

Use a while loop to determine how many terms in the series 3k^2 are required for the sum to surpass 2000

Mathematics
2 answers:
Bumek [7]3 years ago
6 0
Using JAVA:
int sum = 0;       
int k = 1;       
while(sum  <= 2000) {           
sum += 3*k*k;           
 k++;       
 }               
System.out.println(k);

Output: 14

Which means it will take 14 terms for the series to surpass 2000


neonofarm [45]3 years ago
4 0
I am assuming k starts at 0. Python code (or pseudocode) would be this:
-------------------------------
S = 0
count_term = 0
k = 0
while S <= 2000:     S = S + 3*k**2
    count_term = count_term + 1     k = k + 1

print(count_term)
-------------------------------

It will print 14

If k should start at other number then just replace number at third line and execute it.
You might be interested in
How do you write an equation for "a number decreased by negative 7 is the same thing as 48
just olya [345]
N-(-7)=48 I'm not sure though
3 0
3 years ago
Read 2 more answers
Share £90 in the ratio 1:5<br> HELP ME PLEASE
ZanzabumX [31]

Answer:

the answer is 15:75

Step-by-step explanation:

(1+5)=6

£90/6=15

So, (1×15):(5×15)

=15:75

7 0
3 years ago
Solve for y. show work. 4(y+3)−2y+7
olga_2 [115]
Dude I don’t feel like working
5 0
3 years ago
Read 2 more answers
I leave my family's vacation cabin at 8 a.m. and start driving home at a nice, safe 45 mph. Two hours later, my husband, who alw
Murljashka [212]

Answer:

2:30 pm

Step-by-step explanation:

In two hours (from 10am), she is 45 * 2 = 90 miles from vacation cabin.

From then on her average is still 45 mph and her husband's is 65 mph. So, husband catches her 20 miles (65-45=20) in every hour.

<em>The husband has to catch up 90 miles. How long would it take if he is catching up at 20 miles an hour?</em>

<em>90/20 = 4.5 hours</em>

<em />

<em>So husband starts at 10am and 4.5 hours form that time is 2.30pm</em>

6 0
3 years ago
HELP PLEASE!!!
jonny [76]
Can you post a picture?
6 0
3 years ago
Other questions:
  • What is 4 13/20 as a decimal
    9·2 answers
  • The temperature of a cooling liquid over time can be modeled by the exponential function T(x) = 60(1/2)^(x/30) + 20, where T(x)
    8·1 answer
  • Factor completely. 21a^2 - 57a + 30
    14·2 answers
  • Matthew bought 4 new compact discs at $16.99 each and a carrying case for $35.89. He paid 2007-03-04-00-00_files/i0250000.jpg% s
    12·2 answers
  • A regular octagon rotates 360 about its center. How many times does the image of the octagon coincide with the preimage during t
    14·1 answer
  • How does factoring help solve quadratic equations?
    11·1 answer
  • Please help me its really important
    12·1 answer
  • Help me PLEASE NO LINKSSSSSSS
    14·1 answer
  • Month
    13·1 answer
  • Please help me I need this for exam tomorrow and can u please show the working
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!