x^3/3

  1. H

    Help with series in C++

    Can anyone help me with these in C++? The program is supposed to display solution for series for a given value of n and x. There are two series 1. x - x^3/3! + x^5/5! - x^7/7! + x^9/9! ...... till x^(2n+1)/(2n+1)! 2. 1 - x + x^2/2 - x^3/3 + x^4/4 - x^5/5 ....... till x^n/n Thanks in advance.
Top