Professional Documents
Culture Documents
Lectura 5
Lectura 5
1
In[ ]:= Piecewise{0, x ≤ 10}, * 40 - x, 10 < x ≤ 40, {0, x > 40}
función a trozos 450
0 x ≤ 10
40-x
Out[ ]= 10 < x ≤ 40
450
0 True
1
In[ ]:= PlotPiecewise{0, x ≤ 10}, * 40 - x, 10 < x ≤ 40, {0, x > 40}, {x, 0, 50}
repr⋯ función a trozos 450
0.07
0.06
0.05
0.04
Out[ ]=
0.03
0.02
0.01
10 20 30 40 50
1
Out[ ]=
3
11
Out[ ]=
36
11
In[ ]:=
36.
Out[ ]= 0.305556
Out[ ]= 2025 k π
45
∫0 (2 * π * k * r) ⅆr = 1
2025 k π = 1
1
k= 2025 π
2
In[ ]:= f[x_] := *r
2025
- Probability that the dart lands exactly 5 cm from the center
No se puede realizar, debe haber un intervalo
-Probability that the dart lands 5-8 cm from the center?
8 2
In[ ]:= * r ⅆr
5 2025
13
Out[ ]=
675
13
In[ ]:=
675.
Out[ ]= 0.0192593
Probability that when you have thrown two darts, at least one of them lies 5-8 cm from the
center?
P(D1 ⋃ D2) = P(D1)+(D2)-P(D1⋂D2)
= 0.0192+0.0192-0.0192*0.0192
In[ ]:= 0.0192 + 0.0192 - 0.0192 * 0.0192
Out[ ]= 0.0380314