-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmathFunctionObjects.9.paradocs.demo.jl
87 lines (72 loc) · 2.22 KB
/
mathFunctionObjects.9.paradocs.demo.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
### A Pluto.jl notebook ###
# v0.12.21
using Markdown
using InteractiveUtils
# ╔═╡ eb3b3be0-67d1-11eb-144b-2f9581950503
md"""
#### Math can be easy!
#### When you come on someting new
#### $~~~~$just think in simple steps.
"""
# ╔═╡ 66294030-67d3-11eb-25b1-8d25703546db
md"""
#### sqrt()
##### ??? What is this?
#### Pluto 🛡️ to the rescue!
##### Doing Things have a name.$~~$ This name is $~~ sqrt$
##### The $~~$()$~~$ is a place for something to worked on.
##### Doing Things can teach a new name to do the same work.
##### We may like one,$~$ but both will do the same job.
"""
# ╔═╡ f4835c0a-67db-11eb-134c-85092b5a1ced
md"""
##### Looking for a short
##### cut across a square 🔲?
##### Walking on the edges is longer.
##### But corner to corner is shortest.
##### We call the shortest, the root 🥕.
"""
# ╔═╡ 1976e31c-67df-11eb-2d4a-1d8e612a99a9
md"""
##### sqrt() is a Doing Thing
##### and is called a function.
##### It can tells how far it
##### is across a 1 by 1 🔲
##### Instead of going on the sides,
##### place 1 + 1 inside of ()
"""
# ╔═╡ fca3b432-86f8-11eb-3086-b3adfccd0cda
sqrt(1+1)
# ╔═╡ 84554b8a-67ce-11eb-2e10-7550cbde4485
md"""
##### Hard to think that $~$sqrt$~$ means square root?
##### I bet you will never forget
## 🔲🥕
##### Let's use $~$=$~$ to make a new Doing Thing.
"""
# ╔═╡ f8c8c828-67d0-11eb-16b6-f384a4a4a5df
🔲🥕 = sqrt
# ╔═╡ 279bdd4e-67e2-11eb-1adb-b98afc7e812e
md"""
##### Yes, it works!
##### Tomorrow, will you remember?
### 🔲🥕 $~~~~or~~~~~$ sqrt
"""
# ╔═╡ 1c3a7e52-67d1-11eb-0c5a-a5b36b4fc989
🔲🥕(1+1)
# ╔═╡ 7dab943e-86f9-11eb-284d-4fb84d4c9b63
md"""
##### Wow!$~~$ The long way is 2.
##### But the short way is not even 1 and 1/2.
"""
# ╔═╡ Cell order:
# ╠═eb3b3be0-67d1-11eb-144b-2f9581950503
# ╠═66294030-67d3-11eb-25b1-8d25703546db
# ╠═f4835c0a-67db-11eb-134c-85092b5a1ced
# ╠═1976e31c-67df-11eb-2d4a-1d8e612a99a9
# ╠═fca3b432-86f8-11eb-3086-b3adfccd0cda
# ╠═84554b8a-67ce-11eb-2e10-7550cbde4485
# ╠═f8c8c828-67d0-11eb-16b6-f384a4a4a5df
# ╠═279bdd4e-67e2-11eb-1adb-b98afc7e812e
# ╠═1c3a7e52-67d1-11eb-0c5a-a5b36b4fc989
# ╠═7dab943e-86f9-11eb-284d-4fb84d4c9b63