Scratch Lab 7

My Scratch Projects

Descriptions About Each Problem

Problem 1

The Objective

Create a block that takes four parameters. These parameters should stand for the x and y coordinates for two points. Use the parameters to calculate the distance between two points.

My Solution

I attacked this problem by creating a block defining the distance formula. Then I separated individual code asking commnands and placed the distance formula block in the code.

Problem 4

The Objective

Create a block that takes two parameters, length and width. The block should then complete the following:

My Solution

Similarly to the last problem, I embedded all my variables within the block. I defined the variables rectangle length, area, width, and triangle length. I embedded the block by activiating it within the other code.





Click Here to see my writeup

Click HERE to return to homepage.