2020-수학-가형-홀수-1

문제

2020-수학-가형-홀수-1

풀이

%%capture
!pip install --upgrade sympy watermark
from sympy import *
a = Point(3,1)
b = Point(-2,4)
c=a+Rational(1,2)*b
sum(c[i] for i in range(2))
\[\displaystyle 5\]

##실행환경

%load_ext watermark
%watermark -m -v --iversions
Python implementation: CPython
Python version       : 3.8.6
IPython version      : 7.19.0

Compiler    : GCC 7.5.0
OS          : Linux
Release     : 4.14.117-grsec-grsec+
Machine     : x86_64
Processor   : x86_64
CPU cores   : 8
Architecture: 64bit

sympy: 1.7.1