21
2.2.2. : .
3/7
2.2.3. : .
18.0000000000000
2.2.4. : .
-9
2.2.5. : .
32
:
2.2.6. : .
- i>Back Space;
- i>Delete.
abs(x) | |x| | ) | ||||||
sqrt(x) | ||||||||
factorial(n) | n! | (n!=1∙2∙3∙...∙n) | ||||||
sin(x) | sin x | tr> | cos(x) | cos x | tr> | tan(x) | tg x | |
cot(x) | ctg x | |||||||
asin(x) | arcsin x | tr> | acos(x) | arccos x | tr> | atan(x) | arctg x | |
acot(x) | arcctg x |
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