计算心形线 r = 1 + costheta 的面积(极坐标): A = (1)/(2)integrate from 0 to 2pi of r^2 dtheta 。