answersLogoWhite

0


Best Answer

exponential series

#include<stdio.h>

#include<conio.h>

#include<math.h>

void main()

{

int i,x,n;

float e=1,denominator=1;

clrscr();

printf("Enter the value of x,n\n");

scanf("%d,%d",&x,&n);

while(i<=n)

{

e+=(float)(pow(x,i)/denominator);

denominator*=i;

++i;

}

printf("answer is %f",e);

}

User Avatar

Wiki User

βˆ™ 7y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C program for exponential series
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a c program to accept a numbers and generate square root cube and exponential values?

write a c program to accept a number and generate a square root cube and exponential values


Program for sin series in c language?

find the program in c-pgms.blogspot.com


Write a c program Fibonacci series using for loop in java?

Exactly what do you mean by 'C program in Java'


What are forecasting models?

1) forecasting for stationary series A- Moving average B- Exponential Smoothing 2) For Trends A- Regression B- Double Exponential Smoothing 3) for Seasonal Series A- Seasonal factor B- Seasonal Decomposition C- Winters's methode


Write a c program to solve cos series?

Please do.


Write a C program to print the following series 112 122 . 1n2?

write a program to print the series 1/12+1/22+.........+1/n2 ?


What is the difference of exponential functions and geometric series?

chicken


Can you explain the program of Fibonacci series in c?

You mean you have written a program, but you don't understand it? Well, how could I explain it without seeing it?


What is the c program to find fibnocci series?

#include&lt;stdio.h&gt; #include&lt;conio.h&gt; void main() { }


How do you write a C program to Calculate the Series. The Value of x and n must take from input terminal.?

Reference:cprogramming-bd.com/c_page2.aspx# sum the series


Program to generate Fibonacci series using storage class in c plus plus?

i dn't know. haha


Can you have the program in C plus plus for recursive function generating a series of terms?

Yes, this can be done. For example for Fibonacci series. You will find plenty of examples if you google for the types of series you need to be generated.