-->
当前位置:首页 > 题库

PROGRAMMING:Polar coordinates → rectangular coordinates

Luz5年前 (2021-05-10)题库540
Please write a program to input the polar coordinates of the point ($$R $$, $$$theta $$), and output the rectangular coordinates ($$x $$, $$y $$).
####Input format
>$$R $$and $$theta$$
Where: $$$theta $$is in radians.
####Output format
>$$x $$and $$Y$$
Requirements: $$x $$, $$y $$all output 4 decimal places (rounding the last place).
####Input sample
```in
1.5 0.9272952180016122324285
```
####Output sample
```out
0.9000 1.2000
```







answer:If there is no answer, please comment