Ask Your Question

serk12's profile - activity

2019-10-25 21:45:31 +0200 commented answer Differential of a integral?

Thank you so much for an answer so well developed

2019-10-25 21:44:18 +0200 received badge  Scholar (source)
2019-10-24 23:55:26 +0200 asked a question Differential of a integral?

So I'm trying to calculate the frenet thrihedrom in the "clasic" way, (doing an arc length and his integrals) but sage don't let me do a diff of a integral. Here ismy code:

var('t, n')
assume(n > 0)
c=vector((t,t**2,t**3))

l=sqrt(1+4*t*t+9*t**4)
L= l.integral(t, 0, n)

C=vector((t/L,(t/L)**2,(t/L)**3))
T=C.diff(t)

I get this error:

AttributeError: 'sage.rings.rational.Rational' object has no attribute 'diff'

Any idea of how to do a Diff of a integral?