Find Jobs
Hire Freelancers

Heads or Tails(Coin Toss)

$20-25 USD

Ukończony
Opublikowano ponad 20 lat temu

$20-25 USD

Płatne przy odbiorze
When a fair coin is tossed, the only posssible outcomes are Heads (H) and Tails (T). When a coin is tossed many times, the outcomes can be represented as a sequence of Hs and Ts. In this project, we will analyze the sequence of outcomes from tossing a fair coin. You should note that this analysis applies to computer data as well since we could denote Heads using 1 and Tails using 0 rather than H and T. Such analysis can be applied to message encoding and compression. One important aspect of analyzing such a sequence is the number and lengths of the embedded "runs". A "run" is a sequence of consecutive Heads or Tails. For example, in the sequence HHHHTTHHTTTHT, there is a run of 4 Hs, a run of 2 Ts, a run of 2 Hs, a run of 3 Ts, a run of 1 H and finally a run of 1 T. We will count the number of runs of each length for both Heads and Tails. In theory, if we toss a fair coin N times, there is a (very small, teeny, tiny) non-zero probability that all N tosses will be Heads or all N tosses will be Tails. Therefore, in theory the longest possible run for N tosses is N. In an award-winning paper (College Math Journal, Vol 21, 1990), Mark Schilling calculates that the expected longest run for N tosses is the integer closest to log2(N / 2) plus or minus 3, which is much less than N. Our program will help validate Mark's theory. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). 4) Please Take a look at the Attached File for the Description. ## Platform Unix, C++, Using a Makefile...Read the attached Document.
Identyfikator projektu: 2980051

Informację o projekcie

17 ofert
Zdalny projekt
Aktywny 21 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
See private message.
$17 USD w 3 dni
4,9 (25 opinii)
4,0
4,0
17 freelancerzy składają oferty o średniej wysokości $14 USD dla tej pracy
Awatar Użytkownika
See private message.
$12,75 USD w 3 dni
5,0 (29 opinii)
5,3
5,3
Awatar Użytkownika
See private message.
$8,50 USD w 3 dni
4,9 (37 opinii)
4,6
4,6
Awatar Użytkownika
See private message.
$17 USD w 3 dni
4,9 (48 opinii)
3,8
3,8
Awatar Użytkownika
See private message.
$17 USD w 3 dni
4,9 (36 opinii)
3,8
3,8
Awatar Użytkownika
See private message.
$17 USD w 3 dni
5,0 (19 opinii)
3,6
3,6
Awatar Użytkownika
See private message.
$18,70 USD w 3 dni
4,7 (15 opinii)
3,8
3,8
Awatar Użytkownika
See private message.
$4,25 USD w 3 dni
5,0 (16 opinii)
3,5
3,5
Awatar Użytkownika
See private message.
$21,25 USD w 3 dni
3,4 (12 opinii)
4,0
4,0
Awatar Użytkownika
See private message.
$21,25 USD w 3 dni
4,6 (12 opinii)
2,4
2,4
Awatar Użytkownika
See private message.
$11,05 USD w 3 dni
3,8 (16 opinii)
2,7
2,7
Awatar Użytkownika
See private message.
$4,25 USD w 3 dni
5,0 (3 opinii)
1,3
1,3
Awatar Użytkownika
See private message.
$6,80 USD w 3 dni
3,5 (1 opinia)
0,8
0,8
Awatar Użytkownika
See private message.
$17 USD w 3 dni
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
See private message.
$21,25 USD w 3 dni
5,0 (2 opinii)
0,0
0,0
Awatar Użytkownika
See private message.
$17 USD w 3 dni
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
See private message.
$3,40 USD w 3 dni
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga UNITED STATES
Baltimore, United States
4,9
5
Członek od mar 7, 2003

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.