Professional Documents
Culture Documents
3. The formula E = mc2 states that the equivalent energy (E) can be
calculated as the mass (m) multiplied by the speed of light (c = about
3×108 m/s) squared. Write a Python program that accepts the mass of
an object and determines its energy.
6. WAPP to input three numbers and display the largest and smallest
number.
9. WAPP to display the sum of the square of its digits (eg. for 163 output
will be 46 (1+36+9) ).
10. WAPP to print the table of a number. The number has to be received by
the user.
11. WAPP to calculate the amount for a telephone bill as per the given
instructions.
13. WAPP in python to input the value of x and n and print the sum of the
following series:
(a) 1+x+x2+x3+x4+ ............xn
(b) 1-x+x2-x3+x4+ ......... xn
15. WAPP to accept a number from the user, convert it into a binary
number and display it. (Note: bin function should not be used)
16. WAPP to compute the Greatest Common Divisor (GCD) and Least
Common Multiple of two integers
22. WAPP to create a dictionary to store name (key) & marks of 5 subjects
as Tuple (value) of n students of a class and display the names of
students who have average marks above 75.