5 coins are tossed 3200 times using poison distribution the approximate probability of getting 5
heads 2 times
Answers
Answer:
(coin-flips 3200 1/2) → (1627 HEADS 1573 TAILS)
(coin-flips 3200 1/2)→ (1618 HEADS 1582 TAILS)
(coin-flips 3200 3/4) → (2387 HEADS 813 TAILS)
(coin-flips 3200 1/8) → (371 HEADS 2829 TAILS)
A simulation of flipping 1000 coins and recording number of heads with probability p of 1/2; then with p = 1/4; repeated 100 times. Note in bold number of runs.
(sim-coins 1000 1/2 100) → (498 490 485 496 496 494 509 489 490 504 483 502 508 482 497 492 515 476 487 499 539 528 502 524 507 491 508 484 506 485 500 515 501 487 485 475 502 497 492 510 497 497 476 480 491 485 506 490 525 480 509 494 517 498 492 510 505 502 507 510 507 500 468 516 499 510 486 502 507 524 509 507 490 503 494 496 488 495 491 513 506 514 509 502 476 482 483 469 518 497 506 464 474 514 494 509 492 491 500 512) The average is 498.
(sim-coins 1000 1/4 100)→ (261 253 228 264 254 260 241 245 246 211 269 238 262 233 246 208 254 260 239 267 240 247 241 287 266 254 241 253 243 254 232 261 252 258 255 242 271 276 240 258 256 209 244 246 254 257 233 248 257 247 242 249 241 260 247 276 232 259 236 268 248 230 249 272 244 262 249 251 262 254 248 234 220 263 280 252 252 247 253 235 247 266 269 241 227 257 263 231 259 235 262 227 260 262 255 239 253 275 253 238) The average was 249.5