Using the bash shell of puTTy, write a script to compute the
Maclaurin series of e^x.
1. The number of terms is entered by the user.
2. Show the series expansion.
ex) #of terms = 3
e=***.****
n=1: 1 = ***.****
n=2: 1+1/(1!) = ***.****
n=3: 1+1/(1!)+1/(2!) = ***.****
3. All real numbers are output as 10.5f.
Using the bash shell of puTTy, write a script to compute the Maclaurin series of e^x. 1. The number of terms is entered
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am