||'''Book'''|| Advanced Engineering Mathematics || ||'''Author'''|| Erwin Kreyszig || ||'''Edition'''|| 8th Edition || /* code_begins */ {{{ x = var('x') y=function('y',x) DE = diff(y,x,2)+3*diff(y,x)+2*y-4*x^2 print "GS:", desolve(DE, [y,x]) #check for particular solution yp = 2*x^2 - 6*x + 7 V = diff(yp,x,2)+3*diff(yp,x)+2*yp-4*x^2 if V == 0: print "yp = ", yp, "is a particular solution" else: print "yp = ", yp, "is not a particular solution" }}} /* code_ends */ * '''Solution by''': * Zubin Mehta, Student, IIT Bombay