CoCalc Shared Files2020-01-17-091722.sagewsOpen in CoCalc with one click!
Author: Andrea Moreno
Views : 68
3
3
1775
1775
2*2
4
10/4
5/2
1775/6
1775/6
2.5^6
244.140625000000
"I'm learning programming!"
"I'm learning programming!"
"What's in memory?"
"I'm learning programming!"
"I'm learning programming!"
mice=3
prod=7*94
mice
3
a=2*26
b=29*12
val=v*b
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "", line 1, in <module> NameError: name 'v' is not defined
-It programs the the value to a specific variable.
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 -It programs the the value to a specific variable. ^ SyntaxError: invalid syntax
a=67*45
b=93*442
a+b
44121
c=76.2
d=35.1
sqrt(c+d)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "", line 1, in <module> NameError: name 'c' is not defined
bignum=3^20
The variable that had 3 was 'mice.'
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 The variable that had Integer(3) was 'mice.' ^ SyntaxError: invalid syntax
dalmations=100
dalmations+1
101
The value of dalmations in the first line is 100 then 101 when added 1.
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 The value of dalmations in the first line is Integer(100) then Integer(101) when added RealNumber('1.') ^ SyntaxError: invalid syntax
num=5
num+2
7
The last 2 exercises and exercise 9 consist of CoCalc's memory.
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 The last Integer(2) exercises and exercise Integer(9) consist of CoCalc's memory. ^ SyntaxError: invalid syntax
sqrt(37)
sqrt(37)
ln(27.5)
3.31418600467253
sqrt(abs(625-810))
sqrt(185)
sqrt(ln(5^8.7))
3.74193931513816
a=625
b=810
sqrt(abs(a-b))
sqrt(185)
c=5
d=8.7
sqrt(ln(5^8.7))
3.74193931513816
abs=-2
ln(35.0)
3.55534806148941
ln(4)^19
524288*log(2)^19
ln(5)^19
log(5)^19
ln(23)^19
log(23)^19
ln(7)*5+sqrt(7)
sqrt(7) + 5*log(7)
ln(3)*7+sqrt(9)
7*log(3) + 3
ln(8)*5+sqrt(3)
sqrt(3) + 15*log(2)
plot(sqrt(x),(x,-5,5))
verbose 0 (3698: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 100 points. verbose 0 (3698: plot.py, generate_plot_points) Last error message: 'math domain error'
plot(abs(x),(x,-10,10))
plot(5*x^4),(x,-2,2)color=green
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 plot(Integer(5)*x**Integer(4)),(x,-Integer(2),Integer(2))color=green ^ SyntaxError: invalid syntax
Became very confused in this part..
@interact(m=(-10,10))
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 @interact(m=(-Integer(10),Integer(10))) ^ SyntaxError: unexpected EOF while parsing
@interact (m=-2,3)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 @interact (m=-Integer(2),Integer(3)) ^ SyntaxError: unexpected EOF while parsing
Error occurs.
@interact (m=-5,3)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 @interact (m=-Integer(5),Integer(3)) ^ SyntaxError: unexpected EOF while parsing
simplify(x^2)^(1/2)
sqrt(x^2)
assume(x>=0)
ae22cf9d-6b20-4fe2-a63d-958656e70438
3
3
1775
1775
2*2
4
10/4
5/2
1775/6
1775/6
2.5^6
244.140625000000
"I'm learning programming!"
"I'm learning programming!"
"What's in memory?"
"I'm learning programming!"
"I'm learning programming!"
mice=3
prod=7*94
mice
3
a=2*26
b=29*12
val=v*b
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "", line 1, in <module> NameError: name 'v' is not defined
-It programs the the value to a specific variable.
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 -It programs the the value to a specific variable. ^ SyntaxError: invalid syntax
a=67*45
b=93*442
a+b
44121
c=76.2
d=35.1
sqrt(c+d)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "", line 1, in <module> NameError: name 'c' is not defined
bignum=3^20
The variable that had 3 was 'mice.'
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 The variable that had Integer(3) was 'mice.' ^ SyntaxError: invalid syntax
dalmations=100
dalmations+1
101
The value of dalmations in the first line is 100 then 101 when added 1.
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 The value of dalmations in the first line is Integer(100) then Integer(101) when added RealNumber('1.') ^ SyntaxError: invalid syntax
num=5
num+2
7
The last 2 exercises and exercise 9 consist of CoCalc's memory.
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 The last Integer(2) exercises and exercise Integer(9) consist of CoCalc's memory. ^ SyntaxError: invalid syntax
sqrt(37)
sqrt(37)
ln(27.5)
3.31418600467253
sqrt(abs(625-810))
sqrt(185)
sqrt(ln(5^8.7))
3.74193931513816
a=625
b=810
sqrt(abs(a-b))
sqrt(185)
c=5
d=8.7
sqrt(ln(5^8.7))
3.74193931513816
abs=-2
ln(35.0)
3.55534806148941
ln(4)^19
524288*log(2)^19
ln(5)^19
log(5)^19
ln(23)^19
log(23)^19
ln(7)*5+sqrt(7)
sqrt(7) + 5*log(7)
ln(3)*7+sqrt(9)
7*log(3) + 3
ln(8)*5+sqrt(3)
sqrt(3) + 15*log(2)
plot(sqrt(x),(x,-5,5))
verbose 0 (3698: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 100 points. verbose 0 (3698: plot.py, generate_plot_points) Last error message: 'math domain error'
plot(abs(x),(x,-10,10))
plot(5*x^4),(x,-2,2)color=green
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 plot(Integer(5)*x**Integer(4)),(x,-Integer(2),Integer(2))color=green ^ SyntaxError: invalid syntax
Became very confused in this part..
@interact(m=(-10,10))
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 @interact(m=(-Integer(10),Integer(10))) ^ SyntaxError: unexpected EOF while parsing
@interact (m=-2,3)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 @interact (m=-Integer(2),Integer(3)) ^ SyntaxError: unexpected EOF while parsing
Error occurs.
@interact (m=-5,3)
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1234, in execute flags=compile_flags), namespace, locals) File "<string>", line 1 @interact (m=-Integer(5),Integer(3)) ^ SyntaxError: unexpected EOF while parsing
simplify(x^2)^(1/2)
sqrt(x^2)
assume(x>=0)