How to use Sine in SpringBoot
This article mainly introduces how to use Sine in SpringBoot, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Problem description
FJ recently offered a mathematical analysis course for his cows, and FJ knew that to learn this course well, he must have a good basic skill in trigonometric functions. So he is going to play a game of "Sine Dance" with the cows to teach for fun and improve the cows' computing power. Might as well set up:
An=sin (1-sin (2+sin (3-sin (4 + …) Sin (n))...)
Sn= (… (A1roomn) A2+n-1) A3+... + 2) An+1
FJ wants the cows to calculate the value of Sn. Please help FJ print out the complete expression of Sn so that the cows can do the problem.
Input format
There is only one number: n