Compute the sine value which is multiples of pi in R Programming – sinpi() Function Last Updated : 10 Jun, 2020 Improve Improve Like Article Like Save Share Report sinpi() function in R Language is used to compute the sine value of x which is the multiples of pi. Syntax: sinpi(x) Parameters: x: Numeric value, array or vector Example 1: # R program to illustrate # sinpi function # Calling the sinpi() function sinpi(0.5) sinpi(1) Output: [1] 1 [1] 0 Example 2: # R program to illustrate # sinpi function # Calling the sinpi() function sinpi(1 / 4) sinpi(2 / 5) Output: [1] 0.7071068 [1] 0.9510565 Like Article Suggest improvement Previous Find roots or zeros of a Polynomial in R Programming - polyroot() Function Next Compute the tangent value which is multiples of pi in R Programming – tanpi() Function Share your thoughts in the comments Add Your Comment Please Login to comment...