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