Dear Boris,
On Nov 10, 9:56 pm, kex <[EMAIL PROTECTED]> wrote:
> GAMA==1
> BETA==1
> THETA==10
> N==1000
> MI==1
> JR==0
> PI==3
> PSI==x
Are these supposed to be assignments?
If "yes", it should be
GAMA=1
BETA=1
THETA=10
etc.
When you do
GAMA==1
where GAMA is a variable, you just create a formal equation, but GAMA
is not assigned a value
> J1(x)=(1- (JR/sqrt(N^2 - 2*PSI/MI)))*exp(PSI) / (sqrt(2*PI*MI)*(1+BETA
> +G))
> line([(x,J1(x)) for x in [-100,..,0]])
Without the assignment, J1(x) not only depends on x but on several
other variables (BETA, for example). So, when you try to plot, it
wouldn't work because you don't get a real number when you insert a
value for x.
Yours
Simon
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---