var('G')
GAMA=var('gamma')
BETA=var('beta')
PSI=var('psi_c')
THETA=var('theta')
N=var('N')
MI=var('mu')
J1(x)=var('J_e1')
JR=var('J_R')
PI=var('pi')GAMA==1 BETA==1 THETA==10 N==1000 MI==1 JR==0 PI==3 PSI==x G = GAMA * (exp(PSI) + BETA*sqrt(THETA)*exp(PSI/THETA)) / sqrt(2*PI*(N^2 * MI - 2*PSI)) J1(x)=(1- (JR/sqrt(N^2 - 2*PSI/MI)))*exp(PSI) / (sqrt(2*PI*MI)*(1+BETA +G)) show(G) show(J1(x)) line([(x,J1(x)) for x in [-100,..,0]]) Iine command gives me an error : TypeError: float() argument must be a string or a number Why is this so ? My goal here is to have a nice forumula and plot a graph blow that formula Lateron I ll try to fit some experimental data and stuff like that Thank you, 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 -~----------~----~----~----~------~----~------~--~---
