Python program to find the sum of sine series
Given n and x, where n is the number of terms in the series and x is the value of the angle in degree. The Task here is, write a program to calculate the sum of sine series of x.
Input: n = 10 x = 30 Output: sum of sine series is 0.5 Input: n = 10 x = 60 Output: sum of sine series is 0.87
Below is the program to calculate the sum of sine series:
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.