News Latest Technology, How to Fix Apple iPhone, contrast and brightness, Wireless Headphone, android KitKat stock firmware, XiaoMi Mi Pad, Tracfone Promo

Jumat, 27 Desember 2013

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 - with more and more gadgets of new products, we should be literate technology because the product is made with the purpose to further facilitate our lives, on the blog News Latest Technology we will discuss about new and old products, we will explain the full pungsi, well now we will first clean up about 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 data to make this article so you do not deleted information. 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);
}
}




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

hopefully the information we provide about C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number we provide can be useful for your life especially in determining the gadget according to your requirement.

just smell you finished reading the article about C# Program to print sum of the factorial of odd series multiply with x where power of x is square of corresponding number if intend to share or just bookmark please use link https://memesmemosos.blogspot.com/2013/12/c-program-to-print-sum-of-factorial-of.html to get more information about gadget please visit other pages on this blog that we guarantee super complete.

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

1 komentar:

  1. This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.

    aol email technical support number
    att email customer support number
    roadrunner email support
    Yahoo email support number

    BalasHapus