Currently browsing category

C Programs

Contains examples of C programming

Find the sum of cos(x) series

/* Write a C program to find the sum of cos(x) series */ #include<stdio.h> #include<math.h> void main() { int n,x1,i,j; float x,sign,cosx,fact; …