Write a C program to calculate the following sum:
Sum = 1-x^2/2!+x^4/4!-x^6/6!+x^8/8!-x^10/10!
#include<stdio.h> #include<conio.h> #include<math.h> void main() { int i,n=10,x; long int fact=1; float sum=1; printf(“Enter the x value:”); scanf(“%d”, &x); for(i=1;i<=n;i++) { fact=fact*i; if(i%2==0) { if(i==2||i=10||i==6) sum+= -pow(x,i)/fact; else sum+=pow(x,i)/fact; } } printf(“sum is %f”, sum); }
Write a C- Program To Determine If The Given String Is A Palindrome Or Not.
What do you mean by co-channel interference and system capacity?
Briefly differentiate between CDMA and GSM technologies.
Distinguish Testing vs. Quality Control & Assurance and Audit