Kernel: Julia 1.7.3
Laboratorio 2 - Python
@author: Roberto Mendoza
In [4]:
In [5]:
In [13]:
Out[13]:
0
In [14]:
Out[14]:
true es un boolean
If I have my savings today of S/.1,000.00. How much will my savings be worth in 10 years at an interest rate of 2.5%?
In [17]:
Out[17]:
2 : 1025.0
3 : 1050.625
4 : 1076.890625
5 : 1103.812890625
6 : 1131.4082128906248
7 : 1159.6934182128903
8 : 1188.6857536682123
9 : 1218.4028975099175
10 : 1248.8629699476653
In [6]:
Out[6]:
31
33
35
34
30
In [8]:
Out[8]:
Ejecutanto 1
Ejecutanto 2
Ejecutanto 3
Ejecutanto 4
Ejecutanto 5
Ejecutanto 6
Ejecutanto 7
Ejecutanto 8
Ejecutanto 9
Ejecutanto 10
Ejecutanto 11
Ejecutanto 12
Ejecutanto 13
Ejecutanto 14
Ejecutanto 21
Ejecutanto 22
Ejecutanto 23
Ejecutanto 24
Ejecutanto 25
Ejecutanto 26
Ejecutanto 27
Ejecutanto 28
Ejecutanto 29
Ejecutanto 30
Ejecutanto 31
Ejecutanto 32
Ejecutanto 33
Ejecutanto 34
Ejecutanto 35
Ejecutanto 36
Ejecutanto 37
Ejecutanto 38
Ejecutanto 39
Ejecutanto 40
Ejecutanto 41
Ejecutanto 42
Ejecutanto 43
Ejecutanto 44
Ejecutanto 45
Ejecutanto 46
Ejecutanto 47
Ejecutanto 48
Ejecutanto 49
Ejecutanto 50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
In [7]:
Out[7]:
50-element Vector{Int64}:
1
2
3
4
5
6
7
8
9
10
11
12
13
⋮
39
40
41
42
43
44
45
46
47
48
49
50
In [11]:
Out[11]:
902970
In [14]:
Out[14]:
(144, 9, "La multiplicación del cuadrado es: 144")
9
In [46]:
Out[46]:
(144, 9, "La multiplicación del cuadrado es: 144")
"La multiplicación del cuadrado es: 144"
In [16]:
Out[16]:
"Large number. Get only the result variable 0"
In [18]:
Out[18]:
77.44000000000001
77
In [21]:
Out[21]:
6×2 Matrix{Float64}:
-0.566139 -1.26491
-0.566139 0.0
0.113228 0.0
0.792594 1.26491
1.47196 0.948683
-1.2455 -0.948683
In [ ]:
In [20]:
Out[20]:
2×1 Matrix{Float64}:
2.8333333333333335
5.0
In [1]:
Out[1]:
UndefVarError: diagind not defined
Stacktrace:
[1] top-level scope
@ In[1]:9
[2] eval
@ .\boot.jl:373 [inlined]
[3] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1196
In [24]:
Out[24]:
6×6 Matrix{Int64}:
2 2 3 4 5 1
2 2 3 4 5 1
2 2 3 4 5 1
2 10 3 5 5 1
2 12 3 4 5 1
2 11 3 4 20 1
In [ ]:
In [31]:
In [32]:
Out[32]:
6×2 DataFrame
Row │ var1 var2
│ Int64 Int64
─────┼──────────────
1 │ 2 1
2 │ 2 2
3 │ 3 3
4 │ 4 4
5 │ 5 5
6 │ 1 6Conocer los inputs de una función en Julia
In [22]:
Out[22]:
2×6 Matrix{Int64}:
4 4 6 8 10 2
2 10 10 18 16 4