Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2005-08-07 02:03:47

wcy
Member
Registered: 2005-08-04
Posts: 117

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

Offline

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

kylekatarn
Member
Registered: 2005-07-24
Posts: 445

Re: Frequency of letters in the English language

Thats usefull in cryptography::frequency analysis

Offline

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

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,529

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

Offline

Board footer

Powered by FluxBB