Question: Program in Java The Taylor series for the exponential function e* is r +-+-+-+-+-+--=l+, z + + 2 6 24 120 + + + ...-
Program in Java

The Taylor series for the exponential function e* is r" +-+-+-+-+-+--=l+, z + + 2 6 24 120 + + + ...- Write a function with recursion that gets x and finds the approximate value of e* using the series above using the first n terms. Note: For the factorial part write a simple function factorialFunc(int num) without recursion (using just a for loop) that calculates factorial(puro) - num! and then call it in your recursive function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
