
Derak J. answered 08/03/20
Former High School Teacher with PhD in Chemistry
I agree with J.R. S. above. That is exactly how I would do it.
I would also point out that 6.626x10-34 J-sec is Planck's constant, h, in case anyone was confused by that.
So the formula E=hν becomes 6.24x10-29 kJ = 6.626x10-34 J-sec * ν
Then just convert the 6.24x10-29 kJ to Joules by multiplying by 1000 J/kJ and divide by 6.626x10-34 J-sec to get the answer in 1/sec, which is Hz.
Then multiply by 1 MHz / 1x106 Hz to get the final answer in MHz.