**Assignment 1 Question (10 marks)**

**Deadline**Week 8 (13 May 2022, 12 noon)

**Question**

The estimated mass of a planet can be calculated by treating the planet as a spherical object with varying density, as illustrated in Figure 1. In an estimation, the planet of interest is known to have an outer diameter of m. The density varies linearly from the center, to the surface, as stated in Table 1. Based on this information, generate the density function, . Then, calculate the estimated mass of this planet.