Tech News, Huawei stock ROMs / firmware, Infinity Box Chinese Miracle 2 MTK v 1.58 setup, D&G Unlocker Tools "Bypass FRP Lock" Full Setup Installer Free, Dream league soccer apk+data download, Ultimate Multi Tool GSM v Setup, Huawei FRP Lock Bypass Tool Software Latest Version Free, True Smart Max 4.0 Plus unlock sim all, Itel 5020 Stock Firmware, GTA Vice City Ultra Compressed from 1.38 GB to 257 mb for Android, How To Unbrick Qualcomm Android Devices

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 - How are you, friend? welcome to our blog super full Tech News, well now we will discuss the information you find on the search engines like google and other information that will we say this time is C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number, we always strive to show you the complete information for you, all right please see:

Articles : 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 : 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:


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);
}
}




Information about the 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 conveyed

A few of our information about the C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number, I hope you can exploit carefully

You have finished reading C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number and many articles about Tech News in our blog this, please read it. and url link of this article is https://hibbydabby.blogspot.com/2013/12/c-program-to-print-sum-of-factorial-of.html Hopefully discussion articles on provide more knowledge about the world of new tech gadgets and tech news.

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

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

0 komentar:

Post a Comment