Computer Science, asked by aditisingh12468, 9 months ago

This question is for computer geeks plz answer​

Attachments:

Answers

Answered by mamtachaudhary782
0

Explanation:

Java program to get the sum of the series

import java.io.*;

class MathSeries {

// Function to get the series

static double Series(double x, int n)

{

double sum = 1, term = 1, fct, j, y = 2, m;

// Sum of n-1 terms starting from 2nd term

int i;

for (i = 1; i < n; i++) {

fct = 1;

for (j = 1; j <= y; j++) {

fct = fct * j;

}

term = term * (-1);

m = Math.pow(x, y) / fct;

m = m * term;

Answered by pandurangrajput7
0

cornucopia forgotten roundup Aldo sorrowful do oregano 8 ROFL

Similar questions