Saturday 3 August 2019

Assignment No: 02 Momentum calculation

'''
Assignment No: 2
To accept an object mass in kilograms and velocity in meters per second and display its momentum.
Momentum is calculated as e=mc2 where m is the mass of the object and c is its velocity.
'''

try:
mass = float(input("Enter mass in kgs: ")) # m is mass in kgs
velocity = float(input("Enter velocity in m/s: ")) # c is velocity in m/s
momentum = mass*(velocity**2) # e=mc2
print('Momentum of object is', momentum)
except ValueError:
print("Enter mass and velocity in int/float")

120 comments:

  1. Understood. The program was easy to learn and run also.

    ReplyDelete
  2. Very nice program and easy to understand

    ReplyDelete
  3. Mass, velocity are find out in this programme
    They are very easy to understand

    ReplyDelete
    Replies
    1. momentum calculations programme is easy to understand and it runs ☺️😊

      Delete
  4. Easy to find mass and it well runs☺️😊

    ReplyDelete
  5. Successfully runned the program within 5 min

    ReplyDelete
  6. X=Thanks sir to help us ....make it easy to understand
    Print:(x)..... :)....("")

    ReplyDelete
  7. Practical is easy
    Understanding is important

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. Easy Momentum calculator, makes it easier and time saving .Such a shame they don't allow the use of such programs in exams though.

    ReplyDelete
  10. It's helpful to easy undestand

    ReplyDelete
  11. it is easy practical to calculate momentum.

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. It's extremely simple to understand

    ReplyDelete
  14. Momentum calculation is very easy for understanding

    ReplyDelete
  15. easy find to square of any no

    ReplyDelete
  16. B-24 Kakade Rahul
    easy to understanding..

    ReplyDelete
  17. B-32- Gaurav kere
    Understood

    ReplyDelete
  18. It is very easy and useful

    ReplyDelete
  19. B 08 Pratik Gawand
    Thanks sir

    ReplyDelete
  20. B-13-Ghumare Sonali Sudam
    Easy to understanding

    ReplyDelete
  21. B-11-Pratik Ghule
    Understood this program

    ReplyDelete
  22. B-04- Prathamesh Ganore
    Understood this program

    ReplyDelete
  23. B-15-soham gujrathi
    Understood
    Thanks sir

    ReplyDelete
  24. B-23-kadam tejashree
    Easily understood this program sir

    ReplyDelete
  25. B-1 shrutika gaikwad
    Well understood

    ReplyDelete
  26. B - 55/ Kalpesh patil
    Easy way to understanding
    Thanks sir

    ReplyDelete
  27. B-41-Nikhil kokate
    Understood 👍

    ReplyDelete
  28. B-20:-Lavanya JADHAV..
    Nice session ..

    ReplyDelete
  29. B-05 nice practical 👍👍

    ReplyDelete
  30. B-40 kajal manik kokate
    Nice practical

    ReplyDelete
  31. B-56-Lalit Patil
    Understood sir 👌

    ReplyDelete
  32. B-48-Pooja Murkute
    Easy to understand

    ReplyDelete
  33. B-02-Ganesh Gaikwad
    Very Easy

    ReplyDelete
  34. B-29 Pooja kedar
    Easy to understand

    ReplyDelete
  35. This is such a great post, and was thinking much the same myself. Another great update. https://python.engineering/python-opencv-cv2-cvtcolor-method/

    ReplyDelete
  36. A1-roll no-02
    thank you sir

    ReplyDelete

Microsoft’s latest Surface Pro X is now available in India

  Microsoft Surface Pro X 2020 is now available in India at a starting price of Rs 1,49,999.  Here's everything you would like to unders...