︠f2cc8b9a-a041-4935-8a89-eedf78441404︠
\textbf{My First work in sage}\\
Here is a problem related to limit.\\
\newline
\noindent \[ \lim_{x \rightarrow \infty}\frac{2x^3-1}{3x}\]\\
\newline
︡8eb78e35-07f0-46ac-8f32-2242aa1052a8︡︡
︠daf23e53-6344-4f14-a7ad-430170ce67ec︠
This is a sample of html form
︡41e1bf09-9c51-4fe0-b0dc-535ecb5d9094︡{"html": "This is a sample of html form
\n"}︡
︠83a5e2df-4a1e-4ba8-9efe-91344ff9c6b2︠
linspace(0,pi)
x=(0,10);
y=(0,pi);
plot(x,y)
grid on
︡14ba29b6-b8fa-42da-aa73-23db03190228︡{"stderr": "Traceback (most recent call last):\n File \"\", line 1, in \n File \"/home/sage/sagenb/sage_notebook/worksheets/hari/3/code/4.py\", line 10, in \n grid on''', '/home/sage/sagenb/sage_notebook/worksheets/hari/3/cells/3')\n File \"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/server/support.py\", line 353, in syseval\n return system.eval(cmd, sage_globals, locals = sage_globals)\n File \"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/interfaces/expect.py\", line 974, in eval\n return '\\n'.join([self._eval_line(L, **kwds) for L in code.split('\\n') if L != ''])\n File \"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/interfaces/expect.py\", line 636, in _eval_line\n self._start()\n File \"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/interfaces/matlab.py\", line 209, in _start\n Expect._start(self)\n File \"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/interfaces/expect.py\", line 458, in _start\n self.__name, cmd, self._install_hints())\nRuntimeError: Unable to start matlab because the command 'matlab -nodisplay' failed.\n\n You must obtain the program MATLAB in order to use MATLAB\n from SAGE. You can read all about MATLAB at\n http://www.mathworks.com/\n\n You might have to buy MATLAB or get away with setting up a remote connection to a server running Maple. Type\n print matlab._install_hints_ssh()\nfor hints on how to do that)."}︡
︠eca7251c-030f-4bc7-b97e-92d8db0b7ad5︠
circle((1,0), 0.5, rgbcolor=(1,0,1))
︡b9d03a34-89f6-4522-ba3e-a2926cd1d0d9︡{"html": "
"}︡
︠f814436e-a9ea-469c-affb-8817f49d389f︠
u, v = var('u,v')
fx = (1+cos(v))*cos(u)
fy = (1+cos(v))*sin(u)
fz = -tanh((2/3)*(u-pi))*sin(v)
parametric_plot3d([fx, fy, fz], (u, 0, 2*pi), (v, 0, 2*pi),
frame=False, color="red")
︡85089755-ca88-48c3-af9a-fd54940cf9c8︡︡
︠075b3114-5870-4665-aa82-0af5f976f20e︠
fx = sin(x)
plot([fx],(x,-5,5),rgbcolor=(1,0,1))
︡41792999-5079-46fc-a50e-ddcd538257b6︡{"html": "
"}︡