From ccc8f122c3edf7ce3e4a4c555057be0ee8e5e763 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Mon, 2 Dec 2024 12:17:51 -0500 Subject: [PATCH] fix more typos --- ch_1_intro.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ch_1_intro.md b/ch_1_intro.md index 47e7b06..9ed9315 100644 --- a/ch_1_intro.md +++ b/ch_1_intro.md @@ -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!`: ```