ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 27 Jan 2018 19:23:28 +0100I am unable to plot a graph and it does not let me executehttps://ask.sagemath.org/question/40789/i-am-unable-to-plot-a-graph-and-it-does-not-let-me-execute/ Good afternoon, my name is Benjamin Gonzalez Jr.
I need help on how to graph -4sin(2x-pi) on cocalc/sage. I tried everything I could but unfortunately I wasn't able to. I need to plot it and figure out x mins, xmax, etc...... also amplitude, phase, period, midpoint, etc. Thanks you so much! Please answer as soon as possible. Thanks!Fri, 26 Jan 2018 20:26:42 +0100https://ask.sagemath.org/question/40789/i-am-unable-to-plot-a-graph-and-it-does-not-let-me-execute/Answer by tmonteil for <p>Good afternoon, my name is Benjamin Gonzalez Jr.
I need help on how to graph -4sin(2x-pi) on cocalc/sage. I tried everything I could but unfortunately I wasn't able to. I need to plot it and figure out x mins, xmax, etc...... also amplitude, phase, period, midpoint, etc. Thanks you so much! Please answer as soon as possible. Thanks!</p>
https://ask.sagemath.org/question/40789/i-am-unable-to-plot-a-graph-and-it-does-not-let-me-execute/?answer=40796#post-id-40796Look like homework, you can get information about the `plot` function by typing:
sage: plot?
Sat, 27 Jan 2018 11:36:11 +0100https://ask.sagemath.org/question/40789/i-am-unable-to-plot-a-graph-and-it-does-not-let-me-execute/?answer=40796#post-id-40796Answer by Sébastien for <p>Good afternoon, my name is Benjamin Gonzalez Jr.
I need help on how to graph -4sin(2x-pi) on cocalc/sage. I tried everything I could but unfortunately I wasn't able to. I need to plot it and figure out x mins, xmax, etc...... also amplitude, phase, period, midpoint, etc. Thanks you so much! Please answer as soon as possible. Thanks!</p>
https://ask.sagemath.org/question/40789/i-am-unable-to-plot-a-graph-and-it-does-not-let-me-execute/?answer=40810#post-id-40810You might have to write `-4*sin(2*x-pi)` instead of `-4sin(2x-pi)` since implicit multiplication is not available by default.Sat, 27 Jan 2018 19:23:28 +0100https://ask.sagemath.org/question/40789/i-am-unable-to-plot-a-graph-and-it-does-not-let-me-execute/?answer=40810#post-id-40810