20165207

1722 days 전, req134679 작성

20165207 김다빈 p.37,38,41,42 실습 
       
var('t') f(t)=3*cos(2*t) polar_plot(f(t), (t, 0, 2*pi)) 
       
1/2*integral(f(t)^2,t,-pi/4, pi/4) 
       
9/8*pi
9/8*pi
limit((x^2-1)/(x-1), x=1) 
       
2
2
var('x') f(x)=(x^2-1)/(x-1) n=10 for i in range(1, n): s=(1+1/(10^i)).n() print "x=",s,"f(x)=",f(s).n() for i in range(1,n): s=(1-1/(10^(n-i))).n() print "x=",s,"f(x)" ,f(s).n() 
       
x= 1.10000000000000 f(x)= 2.10000000000000
x= 1.01000000000000 f(x)= 2.01000000000000
x= 1.00100000000000 f(x)= 2.00099999999992
x= 1.00010000000000 f(x)= 2.00009999999939
x= 1.00001000000000 f(x)= 2.00001000000083
x= 1.00000100000000 f(x)= 2.00000100008890
x= 1.00000010000000 f(x)= 2.00000009992007
x= 1.00000001000000 f(x)= 2.00000000000000
x= 1.00000000100000 f(x)= 2.00000000000000
x= 0.999999999000000 f(x) 2.00000000000000
x= 0.999999990000000 f(x) 1.99999998889777
x= 0.999999900000000 f(x) 1.99999990007993
x= 0.999999000000000 f(x) 1.99999900002212
x= 0.999990000000000 f(x) 1.99998999999917
x= 0.999900000000000 f(x) 1.99989999999950
x= 0.999000000000000 f(x) 1.99899999999997
x= 0.990000000000000 f(x) 1.99000000000000
x= 0.900000000000000 f(x) 1.90000000000000
x= 1.10000000000000 f(x)= 2.10000000000000
x= 1.01000000000000 f(x)= 2.01000000000000
x= 1.00100000000000 f(x)= 2.00099999999992
x= 1.00010000000000 f(x)= 2.00009999999939
x= 1.00001000000000 f(x)= 2.00001000000083
x= 1.00000100000000 f(x)= 2.00000100008890
x= 1.00000010000000 f(x)= 2.00000009992007
x= 1.00000001000000 f(x)= 2.00000000000000
x= 1.00000000100000 f(x)= 2.00000000000000
x= 0.999999999000000 f(x) 2.00000000000000
x= 0.999999990000000 f(x) 1.99999998889777
x= 0.999999900000000 f(x) 1.99999990007993
x= 0.999999000000000 f(x) 1.99999900002212
x= 0.999990000000000 f(x) 1.99998999999917
x= 0.999900000000000 f(x) 1.99989999999950
x= 0.999000000000000 f(x) 1.99899999999997
x= 0.990000000000000 f(x) 1.99000000000000
x= 0.900000000000000 f(x) 1.90000000000000