pit1 0 Newbie Poster

help me on how i can write a program for solving integrals using recursive subroutines for example: For given borders integrating A and B. calculate value a certain integral of the form:
integral(1,x/((cos)^(n))x={((1)/(n-1))·((sinx)/(((cos)^(n-1))x))+n-2/(n-1)integral(((,x)/(((cos)^(n-2))x)) if n≥2
equal to lntan(pi/4+x/2)if n=1
and equal to x if n=0.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.