Thank you very much. You have been most helpful. I wish you a nice weekend. Kind regards Patrice
Le vendredi 15 mars 2013 09:42:34 UTC+1, Patrice Haldemann a écrit : > I recently started to learn Python and I have stumbled over an issue since > quite a few days. > How to evaluate a function at let say x=2. > > example > h=diff(sin(x)) > print(h(2.)) > =cos(x) > > or > > print (N(h(x),2.) > =cos(x) > > or > > print (h(x).evalf(2.)) > =cos (x) > > but never the value of cos(2.) > > Could you please help me > > thanks > > Patrice > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.