'''
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")
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")
Easy
ReplyDeleteEasy
ReplyDeleteEasy to learning
ReplyDeleteEasy to learning
ReplyDeleteUnderstanding
ReplyDeleteVery easy practical
ReplyDeleteEasy to learning...
ReplyDeleteVery easy it is
ReplyDeleteEasy
ReplyDeleteEasy
ReplyDeleteEasy to learn
ReplyDeleteEasy practical
ReplyDeleteEasy
ReplyDeleteUnderstood. The program was easy to learn and run also.
ReplyDeleteEasy to learning
ReplyDeleteIt's easy to understand
ReplyDeleteNice
ReplyDeleteVery easy to learn
ReplyDeleteEasy to perform
ReplyDeleteEasy to perform
ReplyDeleteVery nice program and easy to understand
ReplyDeleteToo easy
ReplyDeleteEasy to learning
ReplyDelete👍
ReplyDeleteEasy
ReplyDeleteQuite easy
ReplyDeleteNice and easy program
ReplyDeleteEasy to learn
ReplyDeleteEasy to learn
ReplyDeleteNice
ReplyDeleteGreat practical
ReplyDeleteMass, velocity are find out in this programme
ReplyDeleteThey are very easy to understand
momentum calculations programme is easy to understand and it runs ☺️😊
DeleteEasy to find mass and it well runs☺️😊
ReplyDeleteSuccessfully runned the program within 5 min
ReplyDeleteEasy to understand
ReplyDeleteEasy to understand
ReplyDeleteVery nice practical😊
ReplyDeletePractical is easy
ReplyDeleteX=Thanks sir to help us ....make it easy to understand
ReplyDeletePrint:(x)..... :)....("")
Easy
ReplyDeleteNice
ReplyDeleteEasy to understand..
ReplyDeleteNice
ReplyDeleteEasy
ReplyDeleteit really helpful
ReplyDeletePractical is easy
ReplyDeleteUnderstanding is important
It's very easy to understand👍🏻
ReplyDeleteIt's easy and helpful.
ReplyDeleteIt's very easy to understand👍🏻
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteEasy Momentum calculator, makes it easier and time saving .Such a shame they don't allow the use of such programs in exams though.
ReplyDeleteI understand these program
ReplyDeleteEasy to understand
ReplyDeleteNice Program
ReplyDeleteEasy to understand
ReplyDeleteIt's helpful to easy undestand
ReplyDeleteIt's very helpful and easy!!!
ReplyDeleteUnderstand
ReplyDeleteit is easy practical to calculate momentum.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteEasy for understanding
ReplyDeleteEasy for understanding
ReplyDeleteIt's extremely simple to understand
ReplyDeleteMomentum calculation is very easy for understanding
ReplyDeleteEasy to understand
ReplyDeleteVery easy to understand
ReplyDeleteEasy to understand.
ReplyDeleteUnderstand
ReplyDeleteEasy to understand
ReplyDeleteIt is easy to understand.
ReplyDeleteIt is easy to understand.
ReplyDeleteIt is easy to understand.
ReplyDeleteEasy to understanding. .
ReplyDeleteEasy to understanding. .
ReplyDeleteEasy to learning
ReplyDeleteVery good in understanding
ReplyDeleteDone 👍
ReplyDeleteNice practical 👍
ReplyDeleteeasy find to square of any no
ReplyDeletegood.....
ReplyDeleteunderstand....
ReplyDeleteB-24 Kakade Rahul
ReplyDeleteeasy to understanding..
B-32- Gaurav kere
ReplyDeleteUnderstood
It is very easy and useful
ReplyDeleteB 08 Pratik Gawand
ReplyDeleteThanks sir
B-13-Ghumare Sonali Sudam
ReplyDeleteEasy to understanding
B-11-Pratik Ghule
ReplyDeleteUnderstood this program
Understood
ReplyDeleteB-04- Prathamesh Ganore
ReplyDeleteUnderstood this program
B-15-soham gujrathi
ReplyDeleteUnderstood
Thanks sir
B-23-kadam tejashree
ReplyDeleteEasily understood this program sir
B-06-ANISH GAVALI
ReplyDeleteUnderstood
B-1 shrutika gaikwad
ReplyDeleteWell understood
B - 55/ Kalpesh patil
ReplyDeleteEasy way to understanding
Thanks sir
B-41-Nikhil kokate
ReplyDeleteUnderstood 👍
B-Ghuge Archana
ReplyDeleteB-10 Ghuge Archana
ReplyDeleteB-10 Ghuge Archana
ReplyDeleteB-20:-Lavanya JADHAV..
ReplyDeleteNice session ..
Very nice session 👍
ReplyDeleteB-05 nice practical 👍👍
ReplyDeleteB-40 kajal manik kokate
ReplyDeleteNice practical
Understood sir
ReplyDeleteB-47-Vaibhav more
ReplyDeleteUnderstood sir
B-56-Lalit Patil
ReplyDeleteUnderstood sir 👌
B-19-shrutika holkar
ReplyDeleteGood
B-48-Pooja Murkute
ReplyDeleteEasy to understand
B-02-Ganesh Gaikwad
ReplyDeleteVery Easy
🤘🤘🤘
ReplyDeleteB-29 Pooja kedar
ReplyDeleteEasy to understand
Nice program sir very help ful
ReplyDeletenice program
ReplyDeleteThis is such a great post, and was thinking much the same myself. Another great update. https://python.engineering/python-opencv-cv2-cvtcolor-method/
ReplyDeleteVery simple sir
ReplyDeletec-30 Prajwal Supekar
ReplyDeleteflowchart SEND
ReplyDeleteA1-roll no-02
ReplyDeletethank you sir
batch-A1
ReplyDeleteroll no-05
A1 - roll no-13
ReplyDelete