1. Sonia has to travel a distance of 450km by car.
She knows that the
permitted speed limit is 100km/hr, but due to traffic conditions the average
take to cover the distance. (Hint 𝑇𝑖𝑚𝑒 = 𝑇𝑜𝑡𝑎𝑙 𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒/ 𝐴𝑣𝑒𝑟𝑎𝑔𝑒
speed is 60km/hr. Write Python script to find out how much time will she
𝑆𝑝𝑒𝑒)
2. Mahmood has taken a loan of Rs 40000 from Ashwin at a rate of 8% per
annum simple interest. After 6 years Mahmood wants to repay the loan in
full-and-final including interest. Write Python code to calculate and display
( Hint 𝑆𝑖𝑚𝑝𝑙𝑒 𝐼𝑛𝑡𝑒𝑟𝑒𝑠𝑡 =( 𝑃𝑟𝑖𝑐𝑖𝑝𝑎𝑙 x 𝑅𝑎𝑡𝑒 x 𝑇𝑖𝑚𝑒) /100 )
the interest and total amount to be paid by Mahmood to settle the account.
3. BMI (Body Mass Index) of a person is used as a screening tool to indicate
whether the person is. underweight, overweight, obese or a healthy weight
for his/her height
𝐵𝑀𝐼 = 𝑚(𝑖𝑛 𝑘𝑔)/ ℎ𝑒𝑖𝑔ℎ𝑡2 (𝑖𝑛 𝑚)
BMI is calculated as follows:
Write Python script to calculate the BMI of a person.