Hi guys, back again. 
It seems that I can never find what I look for in the reference documents, 
but it always becomes embarrassingly easy once someone explains it to me.

I've been playing around with the displacement reaction for viscous drag 
ballistics, and have derived the following equation:

final = s == t*v_t + ((v_0 - v_t)/k)*(1 - e^(-k*t)) + s_0

Now one treatment suggests replacing s, s_0, v_t and v_0 with 3 dimensional 
vectors, so that you can calculate all dimensions in one go, but when I 
attempt to do the following:

final.subs(s_0 == vector([0,0,0]))

I get:
TypeError: subs takes either a set of keyword arguments, a dictionary,
or a symbolic relational expression

I'm assuming that I need to define the original equation in a vector space, 
but have no idea how to do this.
Any suggestions?

Joal Heagney

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to