Professional Documents
Culture Documents
Exam2 - Problems
Exam2 - Problems
variance :
- Input : list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 456, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9]
- Formular of factorial :
B. Taylor series
- 다음은 대표적인 테일러 급수들 입니다
- These are the typical Taylor series. (When L is infinity)
2023 의공학프로그래밍 Week 03
B-(1). Exponential
- A 에서 만든 리스트와 테일러 급수를 이용하여, 의 근사적인 값을 출력하세요 (오차 0.01
이하 허용)
- Print the approximate value of by using the list from problem A and Taylor series. (0.01 or less
of error allowed)
B-(2). cos x
- A 에서 만든 리스트와 테일러 급수를 이용하여, cos(5)의 근사적인 값을 출력하세요 (오차 0.01
이하 허용) (각도 단위 : radian)
- Print the approximate value of cos(5) by using the list from problem A and Taylor series. (0.01 or
less of error allowed) (Unit of angle : radian)
B-(3). sin x
- A 에서 만든 리스트와 테일러 급수를 이용하여, sin(5)의 근사적인 값을 출력하세요 (오차 0.01
이하 허용) (각도 단위 : radian)
- Print the approximate value of sin(5) by using the list from problem A and Taylor series. (0.01 or less
of error allowed) (Unit of angle : radian)
Problem 3. Normalization
- 다음 주어진 리스트의 값들을 주어진 공식을 이용하여 모두 0~1 사이 값으로 정규화 하시오
(이 때, 소수점 둘째 자리까지 반올림)
- 그 후 정규화된 리스트를 출력하시오
- Normalize all values of the given list. (Round the value off to two decinal places)
- Then, print the result