Differences between revisions 1 and 2
Revision 1 as of 2010-08-11 12:12:52
Size: 443
Editor: msunyuma
Comment: still great scope of improvement
Revision 2 as of 2010-08-12 10:06:08
Size: 499
Editor: msunyuma
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
y = function('y', x)
Line 10: Line 11:
d_y=derivative(y,x)  d_y=derivative(y,x)
Line 12: Line 13:
y = var('y')
c_val=solve([c==y*exp(-2*x)], c)
Line 13: Line 16:
d_y=d_y.subs(c_val[0])
print d_y
Line 14: Line 19:
print "d_y=" ,d_y
print "where c=y*exp(-2*x)"
  • Book

    Advanced Engineering Mathematics

    Author

    Erwin Kreyszig

    Edition

    8th Edition

x,c=var('x,c')
y = function('y', x)
y=c*exp(2*x)
d_y=derivative(y,x)
# d_y is the first derivative of y wrt x
y = var('y')
c_val=solve([c==y*exp(-2*x)], c)

d_y=d_y.subs(c_val[0])
print d_y

  • Solution by:

    • <sunny mehrotra>, <student>, <IIT Roorkee>

    • <sharat s.i>, <student>, <IIT Roorkee>

SageDays/Kreyszig-1.8-5 (last edited 2010-08-12 10:06:08 by msunyuma)