| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168753Image: ubuntu2004
21
2.2.2. : .
3/7
2.2.3. : .
18.0000000000000
2.2.4. : .
-9
2.2.5. : .
32
7
2.2.7. : .
120
2.2.8. : .
sqrt(2)
\sqrt{2}$ float() RR().
1.4142135623730951
1.41421356237310
2.2.9. : .
sin(2)
0.909297426825682
Answer:
cos(15)= -0.759687912859
. SAGE , ).
2.2.10. sin, cos, tg, ctg \alpha = \frac{\pi}{4}$. .
sin(pi/4)= 0.707106781187
cos(pi/4)= 0.707106781187
tg(pi/4)= 1.0
ctg(pi/4)= 1.0
-5
2.2.12. , , .
360
, i> /i>. var(),
t + 2
,
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/notebook/sage_notebook/worksheets/admin/59/code/39.py", line 7, in <module>
exec compile(ur'sqrt(x**Integer(2)+y**Integer(2))' + '\n', '', 'single')
File "/usr/local/sage/local/lib/python2.5/site-packages/sympy/plotting/", line 1, in <module>
NameError: name 'y' is not defined
(x, y)
sqrt(y^2 + x^2)
19
7.06400000000000