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
* this is pretty difficult for me , provide details if necessary * // ANSWER ASAP //
fredd [130]

Answer:

A.

Step-by-step explanation:

1 radian = 180/π

So

Multiplying both sides by 25π/18

We'll get,

25π/18 (r) = (180/π)×(25π/18)

= (180×25)/18

= 10×25

= 250 degrees

5 0
3 years ago
Solve for x:
mariarad [96]

Answer:The value of x can be calculated by the following steps;

Step-by-step explanation:

8 0
3 years ago
I neeed youurr help please can u solve this ??
Brilliant_brown [7]

Answer:

sorry my brian aint working

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
Help 8th grade math pls ;-;
Sever21 [200]

Answer:

19.1 feet

Step-by-step explanation:

Length of the ladder = 20 feet

Distance from the ladder to the wall = 6 feet

Height of the ladder on the wall = x

x² + 6² = 20²

x² = 20² - 6²

x² = 364

x = 19.1 feet (Rounded to nearest tenth)

6 0
2 years ago
Item 3<br> Graph y= –73x+2.<br><br><br><br><br><br><br><br><br><br> Plz Help 100 points
zhenek [66]
The slope is -73
Y-intercept is (0,2)

7 0
2 years ago
Other questions:
  • HELP ME PLEASE PLEASE I NEED HELP
    10·1 answer
  • What is 6/10 as a terminating decimal?
    9·1 answer
  • The square pyramid has a volume of 486 cubic inches. What is the value of x?
    10·2 answers
  • 40 POINTS PLEASE HELP
    6·1 answer
  • Solve for x<br><img src="https://tex.z-dn.net/?f=%20%5Cfrac%7Bx%7D%7Ba%7D%20%20%3D%20%20%5Cfrac%7Bx%7D%7Bb%7D%20" id="TexFormula
    5·1 answer
  • a gold bar that is 16 centimeters by 2.5 centimeters by 5 centimeters has a density of 19.3 grams per cubic centimeter. what is
    9·2 answers
  • Solve for x and write your answer in simplest form.<br> 1=4/5-(x-4/5)+5/4x
    11·1 answer
  • Cuanto es la tercera parte de 15,000​
    15·1 answer
  • Solve for y<br> 5y-(-2)&lt;17<br> write you answer as an inequality , starting with y &gt; or y
    11·1 answer
  • Apply Euclid algorithm to find HCF of number 4052 and 420​
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!