Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions Documentation1.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
# Name:
# Name: power()

## Examples:
Insert examples here.
power (x, 5, 30)


## Description:
Insert description here
Returns power when the variables force(f), velocity(v), and cosine theta(t) are input into the function. Note the order of inputting variables is f, v, then t.

## Syntax:
Demonstrate syntax here
float power (float f, float v, float t) {
float power= f * v * cos(t);
return power;

##Parameters:
Name and describe parameters here
Float power
Float f
Float v
Float t

Function is a float!

##Returns:
What type of data does it return?
Returns numerical data.

##Other notes:
Anything else?

20 changes: 14 additions & 6 deletions Documentation2.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
# Name:
# Name: function

## Examples:
Insert examples here.
function (2, 15, 20, x)

## Description:
Insert description here
Returns the value of a trinomial(y) when a, b, c, and x are input into the function.

## Syntax:
Demonstrate syntax here
float function (float a, float b, float c, float x) {
float y = sq(a*x)+(b*x)+c;
return y;
}

##Parameters:
Name and describe parameters here
Float a
Float b
Float c
Float x

Function is a float

##Returns:
What type of data does it return?
Returns numeric data

##Other notes:
Anything else?
22 changes: 15 additions & 7 deletions Documentation3.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
# Name:
# Name: drawcircle

## Examples:
Insert examples here.
drawcircle(100, 100, 100, 20)

## Description:
Insert description here
Inserts a circle at mouseX and mouseY into the drawing. The color and diameter of the circle can be input by defining red, blue, green and diam.

## Syntax:
Demonstrate syntax here
void drawcircle (float red, float blue, float green, float diam) { noStroke();
fill(red, blue, green);
ellipse(mouseX, mouseY, diam, diam);
}

##Parameters:
Name and describe parameters here
Float red
Float blue
Float green
Float diam

Function is a void

##Returns:
What type of data does it return?
Function returns visual data

##Other notes:
Anything else?

Binary file added ~$cumentation1.md
Binary file not shown.
Binary file added ~$cumentation2.md
Binary file not shown.
Binary file added ~$cumentation3.md
Binary file not shown.