subject
Mathematics, 23.03.2020 18:27 rosyjesus297

A man is standing on an infinite ladder. In one move, he can either go up (with probability 0.5), or stay where he is (with probability 0.5). Please simulate one trip and print out the number of steps the man takes to move 100 steps up from his initial position. Hint: consider using inline if statement

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 20.06.2019 18:02
How do you graph linear equation x+y=4
Answers: 3
question
Mathematics, 21.06.2019 15:00
Ateacher has $80 to buy workbooks. each work book cost $3. if she buys as many workbooks as possible, how much money does she have leftover? a) $2 b) $4 c) $6 d) $8
Answers: 1
question
Mathematics, 21.06.2019 20:30
If a 36 inch yardstick casts a 21 foot shadow, how tall is a building whose shadow is 168 feet? what is the scale factor
Answers: 1
question
Mathematics, 21.06.2019 23:00
Suppose that 15 inches of wire cost 60 cents. at the same rate, how much (in cents) will 12 inches of wire cost
Answers: 2
You know the right answer?
A man is standing on an infinite ladder. In one move, he can either go up (with probability 0.5), or...
Questions
question
History, 01.07.2021 15:40
Questions on the website: 13722367