human
Program to get the Sum of series : 1 | Function to get the series.
Computing sum of remaining n - 1 terms ..
Driver Code"
Solution in Python:
assistant
#Here is code to program to get the Sum of series : 1 and the other steps required.
 def Series ( x , n ) :
	sum = 1
	term = 1
	fct = 1
	p = 1
	multi = 1
	for i in range ( 1 , n ) :
		fct = fct * multi * ( multi + 1 )
		p = p * x * x
		term = ( - 1 ) * term
		multi += 2
		sum = sum + ( term * p ) / fct
	return sum
x = 9
n = 10
print ( ' % .4f ' % Series ( x , n ) )