typos,start giac notes
This commit is contained in:
@@ -238,7 +238,7 @@ Numeric combinations, as above, will be easier to check for correctness when var
|
||||
The calculator must use some rules to define how it will evaluate its instructions when two or more operations are involved. We know mathematically, that when $1 + 2 \cdot 3$ is to be evaluated the multiplication is done first then the addition.
|
||||
|
||||
|
||||
With the Google Calculator, typing `1 + 2 x 3 =` will give the value $7$, but *if* we evaluate the `+` sign first, via `1` `+` `2` `=` `x` `3` `=` the answer will be 9, as that will force the addition of `1+2` before multiplying. The more traditional way of performing that calculation is to use *parentheses* to force an evaluation. That is, `(1 + 2) * 3 =` will produce `9` (though one must type it in, and not use a mouse to enter). Except for the most primitive of calculators, there are dedicated buttons for parentheses to group expressions.
|
||||
With the Google Calculator, typing `1 + 2 x 3 =` will give the value $7$, but *if* we evaluate the `+` sign first, via `1` `+` `2` `=` `x` `3` `=` the answer will be 9, as that will force the addition of `1+2` before multiplying. The more traditional way of performing that calculation is to use *parentheses* to force an evaluation. That is, `(1 + 2) * 3 =` will produce `9` (though one must type it in, and not use a mouse to enter it). Except for the most primitive of calculators, there are dedicated buttons for parentheses to group expressions.
|
||||
|
||||
|
||||
In `Julia`, the entire expression is typed in before being evaluated, so the usual conventions of mathematics related to the order of operations may be used. These are colloquially summarized by the acronym [PEMDAS](http://en.wikipedia.org/wiki/Order_of_operations).
|
||||
@@ -374,7 +374,7 @@ The Google calculator has two built in constants, `e` and `π`. Julia provides t
|
||||
pi
|
||||
```
|
||||
|
||||
Whereas, `e` is is not simply the character `e`, but *rather* a [Unicode](../unicode.html) character typed in as `\euler[tab]`.
|
||||
Whereas, `e` is not simply the character `e`, but *rather* a [Unicode](../unicode.html) character typed in as `\euler[tab]`.
|
||||
|
||||
|
||||
```{julia}
|
||||
@@ -383,7 +383,7 @@ Whereas, `e` is is not simply the character `e`, but *rather* a [Unicode](../uni
|
||||
|
||||
:::{.callout-note}
|
||||
## Note
|
||||
However, when the accompanying package, `CalculusWithJulia`, is loaded, the character `e` will refer to a floating point approximation to the Euler constant .
|
||||
However, when the accompanying package, `CalculusWithJulia`, is loaded, the character `e` will refer to a floating point approximation to the Euler constant.
|
||||
|
||||
:::
|
||||
|
||||
@@ -515,7 +515,7 @@ So we have all these different, but related, uses to find logarithms:
|
||||
log(e), log(2, e), log(10, e), log(e, 2)
|
||||
```
|
||||
|
||||
In `Julia`, the "generic" function `log` not only has different implementations for different types of arguments (real or complex), but also has a different implementation depending on the number of arguments.
|
||||
In `Julia`, the "generic" function `log` not only has different implementations for different types of arguments (real or complex), but also a different implementation depending on the number of arguments.
|
||||
|
||||
|
||||
### Examples
|
||||
@@ -797,7 +797,7 @@ numericq(val)
|
||||
|
||||
###### Question
|
||||
|
||||
You are asked to cook chicken is an unfamiliar kitchen. Your recipe says to turn the oven to 200 Celsius, but you the oven is calibrated in Fahrenheit. Which value is closest?
|
||||
You are asked to cook chicken in an unfamiliar kitchen. Your recipe says to turn the oven to 200 Celsius, but you the oven is calibrated in Fahrenheit. Which value is closest?
|
||||
|
||||
```{julia}
|
||||
#| echo: false
|
||||
|
||||
Reference in New Issue
Block a user