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
Len [333]
3 years ago
10

There is a school with 1,000 students and 1,000 lockers. On the first day of term the headteacher asks the first student to go a

long and open every single locker, he asks the second to go to every second locker and close it, the third to go to every third locker and close it if it is open or open it if it is closed, the fourth to go to the fourth locker and so on. The process is completed with the thousandth student. How many lockers are open at the end?
Mathematics
2 answers:
zloy xaker [14]3 years ago
5 0
As many were opened during the time period. Jk, I don't know. This is a hard one
FinnZ [79.3K]3 years ago
5 0
Hello,

answer: 31

I have make a programm in Qbasic

CONST Faux = 0
CONST Vrai = NOT (Faux)
CONST nb = 1000
DIM SHARED locker(nb) AS INTEGER
DIM i AS INTEGER, j AS INTEGER, answer AS INTEGER
'1 first student
FOR i = 1 TO nb: locker(i) = Vrai: NEXT i: ' CALL See
'2 2nd student
FOR i = 2 TO nb STEP 2: locker(i) = Faux: NEXT i: 'CALL See
FOR j = 3 TO nb
    FOR i = j TO nb STEP j
        locker(i) = NOT (locker(i))
    NEXT i
    'CALL See
NEXT j
answer = 0
FOR i = 1 TO nb
    IF locker(i) THEN answer = answer + 1
NEXT i
PRINT "answer="; answer
END

SUB See

SHARED locker() AS INTEGER
DIM i AS INTEGER
locker(0) = 0
FOR i = 1 TO nb
    PRINT locker(i);
    IF locker(i) THEN locker(0) = locker(0) + 1
NEXT i
PRINT locker(0)

END SUB


You might be interested in
Please help me! I need this asap (I was supposed to do it yesterday :/ )<br> Its in the picture UwU
FromTheMoon [43]

Answer:

Hewo!

Step-by-step explanation:

im not sure of the answer but i got the trick!

so for the length add 8 to the width and for the area multiply the width by 14

This should get you the correct answers :)

Hope i helped! :D

3 0
2 years ago
Will make brainliest if answered correctly
Komok [63]

Answer:

i think the answer is (B)

Step-by-step explanation:

The y value of a point where a vertical line intersects a graph represents an output for that input x value. If we can draw any vertical line that intersects a graph more than once, then the graph does not define a function because that x value has more than one output.

6 0
3 years ago
Read 2 more answers
{8x [1+(20-6)]}÷ 1/2=
IceJOKER [234]
You would do 20-6 which = 14. + 1 =15. times 8= 120 then divide that by 1/2 =  240 if you do 120 divided by .5 in a calculator thats what you get. i hope that helps you

7 0
3 years ago
Help me please I do not understand it.
fiasKO [112]
6x - 11 + 15x + 2 = 180

21x - 9 = 180

21x = 189

x = 9

—

D = 15(9) + 2

D = 135 + 2

D = 137
4 0
3 years ago
For the situation, write and solve an equation. Then, explain what your solution means. If you get stuck, try drawing a diagram
Ganezh [65]
Is this all the information on question
6 0
3 years ago
Read 2 more answers
Other questions:
  • Given the function f(x) = 4(2)x, Section A is from x = 1 to x = 2 and Section B is from x = 3 to x = 4.
    9·1 answer
  • 80=-8a please I need the answer
    8·1 answer
  • Write an algebraic expression for the following word phrase: the quotient of r and 12?
    8·2 answers
  • Dave and Stephanie have competing refreshment stand businesses. Dave's profit can be modeled with the polynomial 3c2 + 9c - 100
    15·1 answer
  • Which of the following correctly expresses the number in scientific notation 645,000,000
    5·1 answer
  • Choose the graph of the function f(x) = 1/2x - 2. Click on the graph until the correct graph appears. Will mark brainliset
    12·2 answers
  • I need help !!!!!!!!!!
    13·2 answers
  • What are the terms and coefficients of the expression?<br><img src="https://tex.z-dn.net/?f=12%20%2B%208r%20-%203%28s%20-%205%29
    10·1 answer
  • Which equation can be used to prove 1 + tan?(x) = sec2(x)?
    9·1 answer
  • I need help with this problem 11/16x8/77
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!