0% found this document useful (0 votes)
8 views1 page

Maclaurin Series for Sine and Cosine

The document describes the infinite Maclaurin series for the sine and cosine functions, providing their mathematical expressions in both expanded and summation notation. It also includes a task to write a Python program that calculates the values of sin(x) and cos(x) for a given input x, and verifies the identity sin²(x) + cos²(x) = 1. The focus is on the mathematical properties and programming implementation of these trigonometric functions.

Uploaded by

Shivam Singh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Maclaurin Series for Sine and Cosine

The document describes the infinite Maclaurin series for the sine and cosine functions, providing their mathematical expressions in both expanded and summation notation. It also includes a task to write a Python program that calculates the values of sin(x) and cos(x) for a given input x, and verifies the identity sin²(x) + cos²(x) = 1. The focus is on the mathematical properties and programming implementation of these trigonometric functions.

Uploaded by

Shivam Singh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

The sine and cosine functions can be expressed as infinite Maclaurin series:

Sine Function:
x3 x5 x7 x9
sin(x) = x − + − + − ···
3! 5! 7! 9!
In summation notation:

X x2n+1
sin(x) = (−1)n
n=0
(2n + 1)!

Cosine Function:
x2 x4 x6 x8
cos(x) = 1 − + − + − ···
2! 4! 6! 8!
In summation notation:

X x2n
cos(x) = (−1)n
n=0
(2n)!

Write a Python program to calculate the values of sin x and cos x for an input
x and further verify that sin2 x + cos2 x = 1

You might also like