||'''Book'''|| Advanced Engineering Mathematics || ||'''Author'''|| Erwin Kreyszig || ||'''Edition'''|| 8th Edition || /* code_begins */ {{{ bn,n =var('bn,n') # f(x) is odd as seen by the figure bn=2/pi*(integral(3*x*(pi^2-x^2)*cos(n*x),x,-pi,pi)) print 'bn=',bn #Plotting the function x=var('x') f1=function('f1',x) f1=3*x*(pi^2-x^2) f1.plot(xmin=-pi,xmax=pi) }}} /* code_ends */ * '''Solution by''': * Snehal Mitragotri, Ex-student, IIT Roorkee * Aashita Kesarwani, Student, IIT Roorkee * Tale PrafullKumar, Student, IIT Roorkee