Find Jobs
Hire Freelancers

Heads or Tails(Coin Toss)

$20-25 USD

Selesai
Dibuat lebih dari 20 tahun yang lalu

$20-25 USD

Dibayar ketika dikirim
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.
ID Proyek: 2980051

Tentang proyek

17 proposal
Proyek remot
Aktif 21 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
See private message.
$17 USD dalam 3 hari
4,9 (25 ulasan)
4,0
4,0
17 freelancer menawar dengan rata-rata $14 USD untuk pekerjaan ini
Avatar Pengguna
See private message.
$12,75 USD dalam 3 hari
5,0 (29 ulasan)
5,3
5,3
Avatar Pengguna
See private message.
$8,50 USD dalam 3 hari
4,9 (37 ulasan)
4,6
4,6
Avatar Pengguna
See private message.
$17 USD dalam 3 hari
4,9 (48 ulasan)
3,8
3,8
Avatar Pengguna
See private message.
$17 USD dalam 3 hari
4,9 (36 ulasan)
3,8
3,8
Avatar Pengguna
See private message.
$17 USD dalam 3 hari
5,0 (19 ulasan)
3,6
3,6
Avatar Pengguna
See private message.
$18,70 USD dalam 3 hari
4,7 (15 ulasan)
3,8
3,8
Avatar Pengguna
See private message.
$4,25 USD dalam 3 hari
5,0 (16 ulasan)
3,5
3,5
Avatar Pengguna
See private message.
$21,25 USD dalam 3 hari
3,4 (12 ulasan)
4,0
4,0
Avatar Pengguna
See private message.
$21,25 USD dalam 3 hari
4,6 (12 ulasan)
2,4
2,4
Avatar Pengguna
See private message.
$11,05 USD dalam 3 hari
3,8 (16 ulasan)
2,7
2,7
Avatar Pengguna
See private message.
$4,25 USD dalam 3 hari
5,0 (3 ulasan)
1,3
1,3
Avatar Pengguna
See private message.
$6,80 USD dalam 3 hari
3,5 (1 ulasan)
0,8
0,8
Avatar Pengguna
See private message.
$17 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
See private message.
$21,25 USD dalam 3 hari
5,0 (2 ulasan)
0,0
0,0
Avatar Pengguna
See private message.
$17 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
See private message.
$3,40 USD dalam 3 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED STATES
Baltimore, United States
4,9
5
Anggota sejak Mar 7, 2003

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.