Computer Science, asked by sparshchoudhary930, 3 months ago

Write menu driven program in Python using user defined functions sin(x, n) and cos
(x,n) to calculate the value of sin(x) and cos(x) using its Taylor series expansion up
to n terms. Compare the values of sin(x) and cos(x) for different values of n with the
correct value (taken from inbuilt function).

Answers

Answered by amankumar991123
1

Answer:

Here if you want to take sin, cos functions you can also import math library for finding value of sin,cos,tan and other functions

Similar questions