已定义 double 类型的变量 r 和 theta ,分别表示图中圆半径和圆心角。下列表达式中可以求出弦长 s 的是 ( )

- A.
r * cos (theta) - B.
r * cos (theta / 2) * 2 - C.
r * sin (theta) - D.
r * sin (theta / 2) * 2
g8-06144.in输出g8-06144.out已定义 double 类型的变量 r 和 theta ,分别表示图中圆半径和圆心角。下列表达式中可以求出弦长 s 的是 ( )

r * cos (theta)r * cos (theta / 2) * 2r * sin (theta)r * sin (theta / 2) * 2