diff --git a/Documentation1.md b/Documentation1.md index 28f94fa..7e1692c 100644 --- a/Documentation1.md +++ b/Documentation1.md @@ -1,19 +1,28 @@ -# Name: +Name: Finddisplacement -## Examples: -Insert examples here. +Examples: +float displacement, float acc, float time, float x) { + displacement = x; + displacement = acc * time; + + Finddisplacement(5,5,5,5); + Finddisplacement(15,15,15,15); + Finddisplacement(25,25,25,25); -## Description: -Insert description here +Description: +Finds the displacement when given acceleration and time or any other variation of having 2 variables -## Syntax: -Demonstrate syntax here +Syntax: + (a, b, c, d) { + +Parameters: -##Parameters: -Name and describe parameters here + a int displacement + b int acc + c int time + d x value -##Returns: -What type of data does it return? +Returns: int + +Other notes: Physics equation -##Other notes: -Anything else? diff --git a/Documentation2.md b/Documentation2.md index 28f94fa..846d32c 100644 --- a/Documentation2.md +++ b/Documentation2.md @@ -1,19 +1,15 @@ -# Name: +Name: ConvertFahrenheitToCentigrade -## Examples: -Insert examples here. +Examples: ConvertFahrenheitToCentigrade (32); Cdegree -= 32; //fahrenheit minus 32 Cdegree = Cdegree/1.8; //(fahrenheit minus 32) divided by 1.8 -## Description: -Insert description here +Description: Converts fahrenheit temperatures into centigrade. -## Syntax: -Demonstrate syntax here +Syntax: ConvertFahrenheitToCentigrade (a); Cdegree -= 32; //fahrenheit minus 32 Cdegree = Cdegree/1.8; //(fahrenheit minus 32) divided by 1.8 -##Parameters: -Name and describe parameters here +Parameters: -##Returns: -What type of data does it return? +a float value of fahrentheit temperaure being converted. -##Other notes: -Anything else? +Returns: Cdegree + +Other notes: Mathematics diff --git a/Documentation3.md b/Documentation3.md index 28f94fa..884556e 100644 --- a/Documentation3.md +++ b/Documentation3.md @@ -1,19 +1,16 @@ -# Name: +Name: drawScene(); -## Examples: -Insert examples here. +Examples: fill(0,255,255); line(40,100,40,170); //body line(40,170,20,230); //left leg line(40,170,60,230); //right leg line(40,130,20,170); //left arm line(40,130,60,170); //right arm line(0,250,800,250); //Sidewalk line(0,200,800,200); //Sidewalk line(15,200,40,250); //Sidewalk line(100,200,130,250); //Sidewalk line(185,200,215,250); //Sidewalk line(265,200,295,250); //Sidewalk line(340,200,370,250); //Sidewalk line(430,200,460,250); //Sidewalk line(510,200,550,250); //Sidewalk line(600,200,630,250); //Sidewalk line(670,200,700,250); //Sidewalk line(770,200,800,250); //Sidewalk fill(0,250,250); //fill head with the color cyan ellipse(40, 100, 20, 20);// head -## Description: -Insert description here +Description: Draws a stick figure man walking on a sidewalk. Scenery Type function -## Syntax: -Demonstrate syntax here +Syntax: -##Parameters: -Name and describe parameters here +line(x1, y1, x2, y2) line(x1, y1, z1, x2, y2, z2) -##Returns: -What type of data does it return? +Parameters +x1 float: x-coordinate of the first point y1 float: y-coordinate of the first point x2 float: x-coordinate of the second point y2 float: y-coordinate of the second point z1 float: z-coordinate of the first point z2 float: z-coordinate of the second point -##Other notes: -Anything else? +Returns: void + +Other notes: line(); ecclipse();