Neuron 101

Math foundations / Vector

Türkçe

Plate1

Unit 1 · Topic 1 of 11

Vector

Easy, 5 min, 7 steps

temperaturerain
Keyboard: left and right arrows change the step, space plays and pauses.

Step 1 of 7 Table row

One row of a table

A morning has two measurements: a temperature of 6 degrees and 3 millimetres of rain. These two numbers are a single row of a data table.

Open in Colab
  1. v = [6.0, 3.0]
  2. sicaklik = v[0]
  3. yagis = v[1]
  4. kare = v[0] ** 2 + v[1] ** 2
  5. uzunluk = kare ** 0.5
  6. print(v, uzunluk)
x
6
y
3
uzunluk
6.71