Hi Boris,
Here is what I do:
# Define the variables:
var('GAMA BETA THETA')
# Create a dictionary with the parameter values for plotting:
pars = dict(GAMA=1,BETA=1,THETA=10)
# Define the symbolic function
J1(x) = GAMA*x + BETA*x^2 + THETA
# Substitute the parameters into the equation and plot it:
plot(J1(x).subs(pars),0,1)
Hope this helps.
Regards,
Stan
On Nov 11, 12:09 am, kex <[EMAIL PROTECTED]> wrote:
> Thank you,
> if I assign a value I lose symbolic expression ?
> If I set GAMA=1 than gama in equation is not a letter/symbol of gama
> but it is a number that was asigned to gama?
> I though that I can keep the expression in symbolic notation and still
> plot/calculate the equation.
>
> So this means that the moment I asign values to a symbolic expression
> I lose the symbolic notation
> but than I am able to do plots of my function
>
> Thank you for your help Simon,
> Bye
> Boris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---