Question: Exercise 4.3 Write a javascript that to compute Einsteins famous equation which transfer mass into energy. The equation says E = MC2 where E is
Exercise 4.3 Write a javascript that to compute Einsteins famous equation which transfer mass into energy. The equation says E = MC2 where E is energy and its unit is Joules and M is mass its unit is Kilogram and C is the light speed which is 299 792 458 (meter per second) . Ask user to enter mass in Kilogram then calculate the Energy in Joules when the mass is converted into energy.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
