Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Calculating Entropy using Shannons Formula

  1. Jan 14, 2009 #1
    Hey guys,
    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.
    Last edited by a moderator: May 3, 2017
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted