Computer Science, asked by fsukam, 9 months ago

Write A java program to find the sum of the given series a-a^3/5+a^5/9-a^7/13

Answers

Answered by vandanarai106
1

/*Program to find sum of a given series*/

class drx

{

public void fnc(int a)

{

float s=[a-{(a^3)/5}] + [(a^5)/9] - [(a^7)/13];

System.out.println("The sum is"+s);

}//end of function

}//end of class

Similar questions