COS in WPS Spreadsheet: Calculate Cosine and Horizontal Components
Learn WPS COS with radians, degree controls, projections and a complete coordinate-rotation example, using direct historical WPS evidence.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: COS(number) returns the cosine of a radian angle. For 60 degrees, =COS(60*PI()/180) has independently expected result 0.5. Convert degree inputs before applying COS.
Availability and version history
- Introduced: documented by 2019-06-10 in the official WPS lesson; original introduction is not established.
- Availability: WPS Office for Windows Personal; no numeric release is stated in the edition metadata.
- Scope: exact current supported builds remain unverified. The Windows lesson does not establish equivalent availability in other WPS clients.
- Checked: October 14, 2026 against function-specific documentation. Examples were independently calculated; no native WPS test was performed.
Syntax and input units
=COS(number)
The official WPS definition specifies radians and names PI()/180 or RADIANS for degree conversion. A heading such as Degrees or Radians keeps the intended unit visible. Changing a cell’s display format alone does not perform a conversion.
The lesson’s closing walkthrough sentence accidentally calls the answer a tangent. Its title, function name and formal definition consistently identify cosine; the examples below follow that definition.
Example 1: compare signed degree inputs
Enter 0, 60, 90, 180 and −60 in A2:A6. In B2 use and fill down:
=COS(A2*PI()/180)
Expected mathematical results are 1, 0.5, 0, −1 and 0.5. Cosine is even: negating an angle does not change its cosine. At the theoretical zero near 90 degrees, a native floating-point result may contain a very small residual.
=COS(RADIANS(A2)) expresses the same conversion. Use one conversion only; converting an already-radian value again changes the angle.
Example 2: project a length onto a horizontal axis
A fictional segment of length 12 makes an angle of 35 degrees with the positive horizontal axis:
=12*COS(35*PI()/180)
=12*SIN(35*PI()/180)
Expected horizontal and vertical components are approximately 9.829824531 and 6.882917236. Both use the same segment length and angle convention.
Their squared sum is mathematically 144, recovering the square of the length. This checks the pair of components; it does not justify mixing a degree input in one formula with a radian input in the other.
Advanced example: rotate an entire point
For an initial point x=3, y=4, rotate it counterclockwise by 30 degrees about the origin:
=3*COS(30*PI()/180)-4*SIN(30*PI()/180)
=3*SIN(30*PI()/180)+4*COS(30*PI()/180)
Expected coordinates are approximately 0.598076211 and 4.964101615. Rotation combines both original coordinates. Multiplying x by cosine alone gives a projection, not the complete rotated x-coordinate when y is nonzero.
The original squared distance is 3²+4²=25, and the rotated pair retains that squared distance mathematically. Substituting a rotation of zero should return the original point 3,4, a useful control before changing the angle.
Advanced example: sample a cosine signal
Place 0, 0.25, 0.5, 0.75 and 1 in D2:D6 as cycle fractions. In E2 enter:
=2+5*COS(2*PI()*D2)
Fill down. Expected values are 7, 2, −3, 2 and 7. Offset two moves the center of the signal, while amplitude five sets its distance from that center. The mathematical minimum is −3 and maximum is seven.
A sine signal with the same offset and amplitude begins at its midpoint instead. Choose the phase from the modeled data; the function name alone does not establish the intended starting position.
Inverse and precision checks
=ACOS(0.5)*180/PI() has principal result 60 degrees. It does not recover −60, even though COS at −60 also equals 0.5. ACOS explains the zero-to-pi return range.
For moderate numeric angles, the mathematical identity COS(x)²+SIN(x)²=1 is a useful paired check. Use the unrounded function results rather than manually retyping short decimals. Exact last-bit agreement, huge-angle behavior and a complete native type/error matrix are not established by this dated Windows lesson.
References and verification
- WPS Academy: COS lesson, 2019-06-10 (Chinese; Windows Personal scope).
- Editorial testing standards.
The direct WPS product lesson supports the stated function scope. Worked outputs are independent expectations, not captured native results or proof of support across all current WPS clients.