https://github.com/mugbug/numpy-review
https://github.com/mugbug/numpy-review
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mugbug/numpy-review
- Owner: mugbug
- Created: 2018-09-12T23:10:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-14T03:15:50.000Z (over 7 years ago)
- Last Synced: 2025-01-03T06:11:30.899Z (over 1 year ago)
- Language: Python
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solução EPC0
## Questão 1
a) `x = [-1.3, 1.73205081, 4.8]`\
b) `x = [-1.3, 1.73205081, 4.8, 1.73205081]`\
c) `y = [[1, 2, 3, 4]]`\
d) i. `x + y = [[-0.3, 3.73205081, 7.8, 5.73205081]]`\
ii. `x - y = [[-2.3 -0.26794919 1.8 -2.26794919]]`\
iii. `y’ = [[1], [2], [3], [4]]`\
iv. `x * y = [[-1.3, 3.46410162, 14.4, 6.92820323]]`\
v.
x * y’ = [[-1.3, 1.73205081, 4.8, 1.73205081],
[-2.6, 3.46410162, 9.6, 3.46410162],
[-3.9, 5.19615242, 14.4, 5.19615242],
[-5.2, 6.92820323, 19.2, 6.92820323]]
vi. `x .* y = 23.49230484541326`\
vii. `x ./ y = [[-1.3, 0.8660254, 1.6, 0.4330127]]`\
viii. `x .^ y = [[-1.3, 3.0, 110.592, 9.0]]`\
ix. `z = [x y] = [-1.3, 1.73205081, 4.8, 1.73205081, 1.0, 2.0, 3.0, 4.0]`
## Questão 2
a) `[0, 2, 4, 6, 8]`\
b) `[1, 2, 3, 4]`\
c) `(4, 4)`\
d) `v2 = [0, 2, 4, 6, 8, 10]`
## Questão 3

## Questão 4

## Questão 5

## Questão 6*

> *foi utilizado size = 1000 para que o gráfico tenha o comportamento esperado