Book
Advanced Engineering Mathematics
Author
Erwin Kreyszig
Edition
8th Edition
g(x) = pi-x a0 = integrate(g(x)/pi , (x,0,2*pi)) G(x)=a0 for n in range(1,8): an = integrate(g(x)*cos(n*x)/pi, (x,0,2*pi)) bn = integrate(g(x)*sin(n*x)/pi, (x,0,2*pi)) G(x) = G(x)+an*cos(n*pi/pi*x) + bn*sin(n*pi/pi*x) print G(x)
Solution by:
- SHUBHAM MITTAL, STUDENT, IIT ROORKEE
- AMIT TEWARI, STUDENT, IIT ROORKEE
- RACHIT JHA, STUDENT, IIT ROORKEE
- ARNAB BASU, STUDENT, IIT ROORKEE