The data file includes the text of three books of the Bible (Joshua, Jonah and Philippians) using the ESV translation.  While these are all great books, our only interest for this project is how often each letter is used.  5) a) How many possible ways are there to assign actual letters of the text to the encrypted letters in a message? (Hint: “A” could be assigned to any one of the 26 letters, including itself.  Once “A” has been assigned, “B” can be assigned to any letter except the letter that corresponds to “A”). b) As your answer to part (a) makes clear, there are a super-high number of possible ways all the letters could be assigned.  Knowing something about each letter’s relative frequency dramatically reduces the number of likely combinations.  For example, if there were only 3 possible options for each encrypted letter in the message, then how many possible ways would there be to assign real letters to the letter in the encrypted message?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

The data file includes the text of three books of the Bible (Joshua, Jonah and Philippians) using the ESV translation.  While these are all great books, our only interest for this project is how often each letter is used. 

5) a) How many possible ways are there to assign actual letters of the text to the encrypted letters in a message? (Hint: “A” could be assigned to any one of the 26 letters, including itself.  Once “A” has been assigned, “B” can be assigned to any letter except the letter that corresponds to “A”).

b) As your answer to part (a) makes clear, there are a super-high number of possible ways all the letters could be assigned.  Knowing something about each letter’s relative frequency dramatically reduces the number of likely combinations.  For example, if there were only 3 possible options for each encrypted letter in the message, then how many possible ways would there be to assign real letters to the letter in the encrypted message?

Letters Frequency Relative Fr Lower Bound Upper Bound
Q
5 0.000212 2.63984E-05 0.000398
Z
6
0.000254 5.08478E-05 0.000457
0.000719 0.000377282 0.001061
X
17
J
K
V
B
134 0.005669 0.004711853 0.006626
143 0.00605 0.005061402 0.007039
257 0.010873 0.009550911 0.012195
323 0.013665 0.012184948 0.015145
379 0.016034 0.014432707 0.017635
416 0.0176 0.015923667 0.019276
442 0.018699 0.017127129 0.020271
513 0.021703 0.020041148 0.023365
586 0.024792 0.022809723 0.026774
603 0.025511 0.023500926 0.027521
609 0.025765 0.023745207 0.027785
703 0.029742 0.027576348 0.031908
935 0.039557 0.037072109 0.042042
1097 0.04641 0.043728076 0.049092
1362 0.057622 0.054651246 0.060593
1381 0.058425 0.055434893 0.061415
1407 0.059525 0.05650864 0.062541
1503 0.063587 0.060476159 0.066698
1689 0.071456 0.068172171 0.07474
1810 0.076575 0.073184965 0.079965
2235 0.094555
0.090824791 0.098285
2237 0.09464 0.09090829 0.098372
2845 0.120362 0.11621383
0.12451
23637
Puus
C
W
M
Y
F
U
L
D
R
||
SZIATO
N
H
E
SUM
Transcribed Image Text:Letters Frequency Relative Fr Lower Bound Upper Bound Q 5 0.000212 2.63984E-05 0.000398 Z 6 0.000254 5.08478E-05 0.000457 0.000719 0.000377282 0.001061 X 17 J K V B 134 0.005669 0.004711853 0.006626 143 0.00605 0.005061402 0.007039 257 0.010873 0.009550911 0.012195 323 0.013665 0.012184948 0.015145 379 0.016034 0.014432707 0.017635 416 0.0176 0.015923667 0.019276 442 0.018699 0.017127129 0.020271 513 0.021703 0.020041148 0.023365 586 0.024792 0.022809723 0.026774 603 0.025511 0.023500926 0.027521 609 0.025765 0.023745207 0.027785 703 0.029742 0.027576348 0.031908 935 0.039557 0.037072109 0.042042 1097 0.04641 0.043728076 0.049092 1362 0.057622 0.054651246 0.060593 1381 0.058425 0.055434893 0.061415 1407 0.059525 0.05650864 0.062541 1503 0.063587 0.060476159 0.066698 1689 0.071456 0.068172171 0.07474 1810 0.076575 0.073184965 0.079965 2235 0.094555 0.090824791 0.098285 2237 0.09464 0.09090829 0.098372 2845 0.120362 0.11621383 0.12451 23637 Puus C W M Y F U L D R || SZIATO N H E SUM
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman