Hey guys,(adsbygoogle = window.adsbygoogle || []).push({});

I am real need of some help here. Basically I have a test tomorrow and the following question was on last years test and its completely over my head as I haven't done Maths in years.

I have to use the following formula:

http://img78.imageshack.us/img78/5953/entropyformulacq4.jpg [Broken]

To calculate the following:

An image, 500 pixels by 400 pixels, consists of 80000 Blue, 6000 Orange, 8000 Red, 2000 Yellow, 50000 Indigo, 40000 Green, 4000 Violet pixels, 10000 Turquoise pixels.

(iv) Calculate Entropy in bits based on Shannon’s formula. (Show how you derived the result)

--

Any help will be greatly appreciated as I'm basically fooked for this test.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Calculating Entropy using Shannons Formula

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**