use quarto, not Pluto to render pages

This commit is contained in:
jverzani
2022-07-24 16:38:24 -04:00
parent 93c993206a
commit 7b37ca828c
879 changed files with 793311 additions and 2678 deletions

View File

@@ -165,11 +165,9 @@ That would be an enormous growth. Don't worry: "Exponential growth
cannot continue indefinitely, however, because the medium is soon
depleted of nutrients and enriched with wastes."
```julia; echo=false
note("""
The value of `2^n` and `2.0^n` is different in `Julia`. The former remains an integer and is subject to integer overflow for `n > 62`. As used above, `2^(n/6)` will not overflow for larger `n`, as when the exponent is a floating point value, the base is promoted to a floating point value.
""")
```
!!! note
The value of `2^n` and `2.0^n` is different in `Julia`. The former remains an integer and is subject to integer overflow for `n > 62`. As used above, `2^(n/6)` will not overflow for larger `n`, as when the exponent is a floating point value, the base is promoted to a floating point value.
##### Example
@@ -366,11 +364,9 @@ If $1/10$ of the original carbon ``14`` remains, how old is the item? This amoun
-5730 * log2(1/10)
```
```julia; echo=false
note("""
(Historically) Libby and James Arnold proceeded to test the radiocarbon dating theory by analyzing samples with known ages. For example, two samples taken from the tombs of two Egyptian kings, Zoser and Sneferu, independently dated to ``2625`` BC plus or minus ``75`` years, were dated by radiocarbon measurement to an average of ``2800`` BC plus or minus ``250`` years. These results were published in Science in ``1949``. Within ``11`` years of their announcement, more than ``20`` radiocarbon dating laboratories had been set up worldwide. Source: [Wikipedia](http://tinyurl.com/p5msnh6).
""")
```
!!! note
(Historically) Libby and James Arnold proceeded to test the radiocarbon dating theory by analyzing samples with known ages. For example, two samples taken from the tombs of two Egyptian kings, Zoser and Sneferu, independently dated to ``2625`` BC plus or minus ``75`` years, were dated by radiocarbon measurement to an average of ``2800`` BC plus or minus ``250`` years. These results were published in Science in ``1949``. Within ``11`` years of their announcement, more than ``20`` radiocarbon dating laboratories had been set up worldwide. Source: [Wikipedia](http://tinyurl.com/p5msnh6).
### Properties of logarithms
@@ -503,8 +499,8 @@ Which is bigger $e^2$ or $2^e$?
```julia; hold=true; echo=false
choices = ["``e^2``", "``2^e``"]
ans = e^2 - 2^e > 0 ? 1 : 2
radioq(choices, ans)
answ = e^2 - 2^e > 0 ? 1 : 2
radioq(choices, answ)
```
@@ -514,8 +510,8 @@ Which is bigger $\log_8(9)$ or $\log_9(10)$?
```julia; hold=true; echo=false
choices = [raw"``\log_8(9)``", raw"``\log_9(10)``"]
ans = log(8,9) > log(9,10) ? 1 : 2
radioq(choices, ans)
answ = log(8,9) > log(9,10) ? 1 : 2
radioq(choices, answ)
```
###### Question
@@ -529,8 +525,8 @@ raw"``\frac{\log(2)\log(3)}{\log(5)\log(4)}``",
raw"``2/5``",
raw"``\frac{\log(5)\log(4)}{\log(3)\log(2)}``"
]
ans = 1
radioq(choices, ans)
answ = 1
radioq(choices, answ)
```
###### Question
@@ -538,8 +534,8 @@ radioq(choices, ans)
Does $12$ satisfy $\log_2(x) + \log_3(x) = \log_4(x)$?
```julia; hold=true; echo=false
ans = log(2,12) + log(3,12) == log(4, 12)
yesnoq(ans)
answ = log(2,12) + log(3,12) == log(4, 12)
yesnoq(answ)
```
@@ -563,8 +559,8 @@ for each?
```julia; hold=true; echo=false
choices = ["``1000`` times", "``100`` times", "``10`` times", "the same"]
ans = 2
radioq(choices, ans, keep_order=true)
answ = 2
radioq(choices, answ, keep_order=true)
```
###### Question
@@ -600,8 +596,8 @@ choices = [
raw"``x \geq 1 + \log(x)``",
raw"``x \leq 1 + \log(x)``"
]
ans = 1
radioq(choices, ans)
answ = 1
radioq(choices, answ)
```
@@ -623,8 +619,8 @@ choices = [
raw"``\log(1-x) \geq -x - x^2/2``",
raw"``\log(1-x) \leq -x - x^2/2``"
]
ans = 1
radioq(choices, ans)
answ = 1
radioq(choices, answ)
```
###### Question
@@ -634,8 +630,8 @@ reciprocal property of exponents, $a^{-x} = (1/a)^x$, is at play here.)
```julia; hold=true; echo=false
choices = ["``-y``", "``1/y``", "``-1/y``"]
ans = 1
radioq(choices, ans)
answ = 1
radioq(choices, answ)
```
Based on this, the graph of $\log_{1/a}(x)$ is the graph of
@@ -647,8 +643,8 @@ L"Flipped over the $x$ axis",
L"Flipped over the $y$ axis",
L"Flipped over the line $y=x$"
]
ans = 1
radioq(choices, ans)
answ = 1
radioq(choices, answ)
```
@@ -662,8 +658,8 @@ choices = [
raw"``a^{y-x}``",
raw"``a^{y-x} \cdot (a^x - 1)``"
]
ans = 1
radioq(choices, ans)
answ = 1
radioq(choices, answ)
```
Using $a > 1$ we have:
@@ -674,8 +670,8 @@ choices = [
L"as $a^x > 1$, $a^y > a^x$",
"``a^{y-x} > 0``"
]
ans=1
radioq(choices, ans)
answ=1
radioq(choices, answ)
```
If $a < 1$ then:
@@ -686,6 +682,6 @@ L"as $a^{y-x} < 1$ as $y-x > 0$, $a^y < a^x$",
L"as $a^x < 1$, $a^y < a^x$",
"``a^{y-x} < 0``"
]
ans = 1
radioq(choices, ans)
answ = 1
radioq(choices, answ)
```