Compare commits

...

10 Commits

Author SHA1 Message Date
zleyyij
9d284449dd vault backup: 2024-08-31 14:55:24 2024-08-31 14:55:24 -06:00
zleyyij
a3e58cda87 vault backup: 2024-08-31 14:49:50 2024-08-31 14:49:50 -06:00
zleyyij
e5ae89b884 vault backup: 2024-08-31 14:39:50 2024-08-31 14:39:50 -06:00
zleyyij
99b48aa5d5 vault backup: 2024-08-31 14:34:50 2024-08-31 14:34:50 -06:00
zleyyij
e891618556 vault backup: 2024-08-31 14:29:50 2024-08-31 14:29:50 -06:00
zleyyij
18005358d8 vault backup: 2024-08-31 14:24:50 2024-08-31 14:24:50 -06:00
zleyyij
c0b547767d vault backup: 2024-08-31 14:19:50 2024-08-31 14:19:50 -06:00
zleyyij
b8be194f0a vault backup: 2024-08-31 14:14:50 2024-08-31 14:14:50 -06:00
zleyyij
22fdfdff3e vault backup: 2024-08-31 14:09:50 2024-08-31 14:09:50 -06:00
zleyyij
e68f048afb vault backup: 2024-08-31 14:04:50 2024-08-31 14:04:50 -06:00

View File

@ -4,12 +4,11 @@
1. Assume an action set of {add \<ingredient>, stir, bake, cool}. Draw a flowchart, using the paradigm discussed in class, to show the process of baking a banana cake. Use Google to find a typical list of ingredients. 1. Assume an action set of {add \<ingredient>, stir, bake, cool}. Draw a flowchart, using the paradigm discussed in class, to show the process of baking a banana cake. Use Google to find a typical list of ingredients.
2. Represent the flowchart from problem 1 as pseudocode. 2. Represent the flowchart from problem 1 as pseudocode.
## Diagram ## Flowchart
```d2 ```d2
vars: { vars: {
d2-config: { d2-config: {
dark-theme-id: 200 dark-theme-id: 200
layout-engine: elk
} }
} }
grid-columns: 3 grid-columns: 3
@ -75,3 +74,46 @@ end: {
4. Represent the flowchart from problem 3 as pseudocode. 4. Represent the flowchart from problem 3 as pseudocode.
%%
Assuming a step distance of 2.5 feet.
Shady path:
Turn to 270 degrees
Walk 112 steps
Turn to 225 degrees
Walk 124 steps
Turn to 270 degrees
Walk 361 steps
Turn to 0 degrees
Walk 176 steps
Turn to 270 degrees
Walk 62 steps
Sunny path:
Turn to 270 degrees
Walk 73 steps
Turn to 0 degrees
Walk 94 steps
Turn to 275 degrees
Walk 467 steps
Turn to 180 degrees
Walk 86 steps
Turn to 270 degrees
Walk 80 steps
%%
## Flowchart
```d2
vars: {
d2-config: {
dark-theme-id: 200
}
}
classes: {
}
beginning: {shape: oval}
end: {shape: oval}
```