Informatiker Board (http://www.informatikerboard.de/board/index.php)
- Themengebiete (http://www.informatikerboard.de/board/board.php?boardid=1)
-- Theoretische Informatik (http://www.informatikerboard.de/board/board.php?boardid=5)
--- Entropie ohne Taschenrechner ausrechnen? (http://www.informatikerboard.de/board/thread.php?threadid=3340)
Geschrieben von jwagner am 01.12.2016 um 11:33:
Entropie ohne Taschenrechner ausrechnen?
Ich muss für meine Prüfung auf einen Taschenrechner verzichten, doch weiß ich leider nicht wie ich mit einem Logarithmus Brüche ausrechnen sollte!
Übung:
Zeichen: Häufigkeit:
A 9
B 12
C 16
D 2
E 9
Also um die Entropie auszurechnen würde ich es so machen:
0,18*log(1/0,18)+0,25*log(1/0,25)+...
Aber wie denn ohne TR?
Vielen Dank schon im Vorraus!
Forensoftware: Burning Board, entwickelt von WoltLab GmbH