Skip to content

Commit b3a77d2

Browse files
committed
Calculadora R
1 parent d6085da commit b3a77d2

2 files changed

Lines changed: 79 additions & 2 deletions

File tree

scripts/tema1/04-calculadora.R

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
2*(3+5/2)
2+
3+
2*((3+5)/2)
4+
5+
2/3+5
6+
7+
2%/%3+5
8+
9+
2%%3
10+
11+
2^3*5
12+
13+
2^-4
14+
15+
2^(-4)
16+
17+
725%/%7
18+
19+
725%%7
20+
# D = d * q + r
21+
# r = D - d * q
22+
# q = D %/% d
23+
# x = D %% d
24+
725 - 103*7
25+
26+
pi
27+
28+
2*pi
29+
30+
3^pi
31+
32+
pi^2
33+
34+
Inf
35+
36+
-Inf
37+
38+
NA
39+
40+
NaN
41+
42+
5/0
43+
44+
0/0
45+
46+
2^50# = 1.1259e+15 = 1125900000000000
47+
48+
2 ^(-15) # 3.051758e-05 = 0.00003051758
49+
50+
c(2^30, 2^(-15), 1, 2, 3/2)
51+
52+
53+
sqrt(25)
54+
55+
exp(1)
56+
57+
log(pi)
58+
59+
log(32, 2)
60+
61+
abs(-pi)
62+
63+
factorial(7)
64+
65+
factorial(4)
66+
67+
factorial(0)
68+
69+
choose(5, 3)
70+
71+
choose(3,5)
72+
73+
log(4^6, 4)
74+
75+
6^log(4,6)
76+
77+
choose(5,2)

teoria/Tema1.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ <h2 data-config-subtitle><!-- populated from slide_config.json --></h2>
394394
</article></slide><slide class=""><hgroup><h2>Números en coma flotante</h2></hgroup><article id="numeros-en-coma-flotante">
395395

396396
<table class = 'rmdtable'>
397-
<col width="29%" />
398-
<col width="29%" />
397+
<col width="29.166667%" />
398+
<col width="29.166667%" />
399399
<tr class="header">
400400
<th align="left">Código</th>
401401
<th align="left">Función</th>

0 commit comments

Comments
 (0)