MTK Android Based Phone IMEI Write Tool, DirecTV Now Launch Will Include Zero Rated Bandwidth on the Mobile Network, video entertainment product with a heavy mobile, Smartphone Apps Drive Content Usage, It will not surprise you that smartphones now are the ways most people interact with the Internet, Social Networking Web Server via Arbitrary Code Execution, Released Add New Method FOR Reset FRP Samsung

Friday, December 27, 2013

All New C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number

All New C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number - do you know that every day there are new gadgets that are created with new advantages to simplify your life, on the blog Gadget Center we will discuss about the latest gadgets and gadgets that have long ranging from speck and price, now we will discuss about All New C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number we have collected a lot of news to make this article to be really useful for you, please see.

Articles : All New C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number
full Link : All New C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number
Article Csharp, Article programs,

You can also see our article on:


All New C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number

C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number

Program Statement:
Write a program to display the sum of the following series i.e. sum of the factorial of odd series multiply with x where power of x is square of corresponding number.
X1*1! + X9*3! + X25*5! + X49*7! + X81*9! + . . . + Xn2*n!

Solution:
 class _power
{
long n, f, x, sum = 0;
public long power(long a, long b)
{
long res = 1;
for (int i = 1; i <= b; i++)
res = res * a;
return res;
}
public void cal()
{
Console.WriteLine("\n\t\tSeries X^1*1! + X^9*3 +...+X^n2*n! \n");
Console.Write("\n\t\tEnter value of x : ");
x = Convert.ToInt32(Console.ReadLine());
Console.Write("\n\t\tEnter ending point : ");
n = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i <= n; i++)
{
if (i % 2 != 0)
{
f = 1;
for (int j = i; j >= 1; j--)
f = f * j;
sum = sum + ((power(x, i * i)) * f);
}
}
Console.WriteLine("\n\t\tResult = {0}\n", sum);
}
}




article titled All New C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number has been completed in the discussion

hopefully information about All New C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number can provide benefits for you in determining the gadget to suit your needs so much easier in living everyday life.

you just read the article entitled All New C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number if you feel this information is useful for you and want to bookmark it or want to share it please use link https://mjoaobrum.blogspot.com/2013/12/all-new-c-program-to-print-sum-of.html.

Tag : , ,
Share on Facebook
Share on Twitter
Share on Google+
Tags :

0 comments:

Post a Comment