📅  最后修改于: 2022-03-11 14:52:35.048000             🧑  作者: Mango
static double[] cari(double r, double theta) {
theta = (theta / 180) * Math.PI;
return new double[]{r * Math.cos(theta), r * Math.sin(theta)};
}