Calculate Energy Using Plancks Constant