周村嘉源幼稚园:这道几何题怎么解?(英文)

来源:百度文库 编辑:高考问答 时间:2024/05/06 06:54:58
Two circles of equal radius r have their centers separated by a distance d. Write a program
that accepts these two parameters (i.e. r and d, specified in meters) and compute the size
of the overlapping area A (specified in m2). Note that the circles may not overlap at all,
depending on the value d.

两个圆的中心,具有同等半径r,隔着一段距离d. 写程序输入两个参数(即r与d,单位米)计算输出重叠区的面积(规定为m2). 注意两个圆可以不重叠,取决于d的值。