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. It's very easy to understandπŸ‘πŸ»

    ReplyDelete
  9. It's very easy to understandπŸ‘πŸ»

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

    ReplyDelete
  11. 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
  12. It's helpful to easy undestand

    ReplyDelete
  13. it is easy practical to calculate momentum.

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

    ReplyDelete
  15. It's extremely simple to understand

    ReplyDelete
  16. Momentum calculation is very easy for understanding

    ReplyDelete
  17. easy find to square of any no

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

    ReplyDelete
  19. B-32- Gaurav kere
    Understood

    ReplyDelete
  20. It is very easy and useful

    ReplyDelete
  21. B 08 Pratik Gawand
    Thanks sir

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

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

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

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

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

    ReplyDelete
  27. B-1 shrutika gaikwad
    Well understood

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

    ReplyDelete
  29. B-41-Nikhil kokate
    Understood πŸ‘

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

    ReplyDelete
  31. B-05 nice practical πŸ‘πŸ‘

    ReplyDelete
  32. B-40 kajal manik kokate
    Nice practical

    ReplyDelete
  33. B-56-Lalit Patil
    Understood sir πŸ‘Œ

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

    ReplyDelete
  35. B-02-Ganesh Gaikwad
    Very Easy

    ReplyDelete
  36. 🀘🀘🀘

    ReplyDelete
  37. B-29 Pooja kedar
    Easy to understand

    ReplyDelete
  38. 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
  39. 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...