Why?
see here:
In [1]: sys = 5
In [2]: sys
Out[2]: 5
In [3]: import sys as system
In [4]: system
Out[4]:
In [5]: sys
Out[5]: 5
On Tuesday, December 2, 2014 6:27:16 PM UTC+1, Dan Drake wrote:
>
> On Tue, 02 Dec 2014 at 08:49AM -0800, SiL588 . wrote:
> > but it gives the following error:
On Tue, 02 Dec 2014 at 08:49AM -0800, SiL588 . wrote:
> but it gives the following error:
> TypeError: 'module' object does not support item assignment
>
> What does it mean? It seems a pretty simple operation to me and I can't
> understand what it is that i'm doing wrong.
In addition the proble
I see numerous problems in your code snippet:
* variables v, psi_d and l (the letter ell in your definition of rp_f) are not
defined
* you define rV_ra in the first line but refer to rV_fa inside the for loop
* the list sys is not defined
The following code snippet works:
v = 1
psi_d = 1
rV_ra=ve
Hi everybody, i'm new to sage and i'm having problems solving a two
equations system and in particular with a for-loop assignament.
Here's what i've got:
rV_ra=vector([v, 0, 0])
omega_ra = vector([0,0,psi_d])
rp_f = vector([l,0,0])
ans1=rV_ra+omega_ra.cross_product(rp_f)
for i in range (0,3):