fix more typos

This commit is contained in:
Scott Richmond 2024-12-02 12:17:51 -05:00
parent 71446981b6
commit ccc8f122c3

View File

@ -842,8 +842,8 @@ Putting (7) and (6) togetherand solving for e gives
(8) e = 2*R*sin(1/2n) <-- Second problem solved.
```
Review the following trig functions: sine, cosine, and tangent.
What is ani arctangent?
Review the following trig functions: `sin`e, `cos`ine, and `tan`gent.
What is an arctangent (`atan`)?
Draw some diagrams to explain each of these functions.
Glue them on the inside cover of your notebook.
@ -851,20 +851,21 @@ Glue them on the inside cover of your notebook.
Here's how far we have gotten with `cngon!`:
```
fn cngon! (n, rad) -> {
fn cngon! (n, radius) -> {
penup! ()
forward! (rad)
forward! (radius)
right! (angle)
pendown! ()
ngon! (n, edge)
left! (angle)
penup! ()
back! (rad)
back! (radius)
pendown! ()
}
```
Now we can use `let` bindings to give `angle` and `edge` with the needed values, by translating our equations into Ludus code.
Now we can use `let` bindings to bind the names `angle` and `edge` to the necessary values, by translating our equations into Ludus code.
Here is the finished `cngon!`:
```