sage: var('x,a') (x, a) sage: a*sin(x) a*sin(x) sage: (a*sin(x)).subs(a=4) 4*sin(x) sage: plot((a*sin(x)).subs(a=4), x, -pi, pi)
On Thursday, June 4, 2015 at 11:08:05 PM UTC+2, Ed Lazarus wrote: > > I would like the sagemath syntax for the mathematica > Plot[ a Sin[x] /.a -> 4, {x,-Pi,Pi} ]. > It seems quite difficult to do a search that will yield an answer. > Thanks to whomever. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.