Question: Read and extract data from the file studentdata . Calculate the BMI using formula BMI=weight/(height) 2 . Create a plot of age versus BMI with

Read and extract data from the file studentdata. Calculate the BMI using formula BMI=weight/(height)2. Create a plot of age versus BMI with appropriate labels and titles

Python Script

age weight height
22 44 5.1
24 50 5.2
26 55 5.3
28 58 5.4
30 60 5.5
32 65 5.6
34 68 5.7
36 70 5.8
38 73 5.9
40 78 5.1
42 80 5.11
44 84 5.11
46 86 6
48 88 6.1
50 90 6.1
21 43 5.2
23 48 5.3
25 56 5.4
26 59 5.5
27 61 5.6
28 66 5.7
29 69 5.8
31 71 5.9
33 73 5.1
35 77 5.11
37 82 5.11
38 83 6
39 90 6.1
40 92 6.1
41 90 6.2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!