Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: √ ∞ ≠ ≤ ≥ ≈ ⇒ ∈ Δ θ ∴ ∑ ∫ π -

Login

Username

Password

Not registered yet?

#1 2005-08-08 00:03:47

wcy
Full Member

Offline

Frequency of letters in the English language

i created a program to analyse the frequency of letters and punctuation in English (related to statistics in maths):
http://geocities.com/chengyuanwu/adv_frequency_analyser.html

As expected, e is the most common letter

Here is one sample report:
Total no. of different characters: 74   
1) " "---195(enter)
2) " "---195
3) " "---1026(space)
4) "!"---1
5) "'"---4
6) "("---29
7) ")"---29
8) ","---21
9) "-"---73
10) "."---58
11) "/"---2
12) "0"---9
13) "1"---17
14) "2"---8
15) "3"---12
16) "4"---10
17) "5"---12
18) "6"---8
19) "7"---10
20) "8"---9
21) "9"---9
22) ":"---17
23) ";"---1
24) ">"---1
25) "a"---509
26) "b"---55
27) "c"---184
28) "d"---173
29) "e"---512
30) "f"---73
31) "g"---106
32) "h"---138
33) "i"---351
34) "j"---20
35) "k"---61
36) "l"---204
37) "m"---101
38) "n"---343
39) "o"---305
40) "p"---73
41) "r"---328
42) "s"---379
43) "t"---311
44) "u"---140
45) "v"---33
46) "w"---83
47) "x"---11
48) "y"---60
49) "z"---13
50) "|"---3
51) ""---1
52) ""---13
53) ""---6
54) ""---5
55) ""---6
56) ""---5
57) ""---1
58) "中"---7
59) "体"---2
60) "台"---5
61) "国"---5
62) "文"---2
63) "日"---6
64) "本"---6
65) "港"---5
66) "灣"---5
67) "版"---15
68) "简"---1
69) "繁"---1
70) "語"---1
71) "香"---5
72) "국"---6
73) "어"---1
74) "한"---6

 

#2 2005-08-08 00:17:07

kylekatarn
Power Member

Offline

Re: Frequency of letters in the English language

Thats usefull in cryptography::frequency analysis

 

#3 2005-08-08 07:56:04

MathsIsFun
Administrator

Offline

Re: Frequency of letters in the English language

Or in hangman !


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman
 

Board footer

Powered by FluxBB