Difference between revisions of "Recursive Functions"

From ACSL Category Descriptions
Jump to: navigation, search
(Created page with "== Online Resources == ===ACSL Videos=== The following videos show the solution to problems that have appeared in previous ACSL contests. {| |- | <youtube width="300" heig...")
 
(Online Resources)
Line 1: Line 1:
 
== Online Resources ==
 
== Online Resources ==
 +
 +
Math?? $x=y$ and $$x=y$$
 +
 +
$$
 +
f(x)=\left\{
 +
\begin{array}{c l}
 +
    x & x>0\\
 +
    -x & x<0
 +
\end{array}\right
 +
$$
 +
  
 
===ACSL Videos===
 
===ACSL Videos===
Line 10: Line 21:
 
| [https://youtu.be/OjZSIXStSr8 ''Recursion Example 1'' ('''CalculusNguyenify''')]
 
| [https://youtu.be/OjZSIXStSr8 ''Recursion Example 1'' ('''CalculusNguyenify''')]
  
The video walks through the solution to a straight-forward single-variable recursive function, that is, $f(x)....$.  
+
The video walks through the solution to a straight-forward single-variable recursive function, that is, $f(x)=\left\{....\right$.  
 
The problem
 
The problem
 
appeared in ACSL Senior Division Contest #1, 2014-2015.
 
appeared in ACSL Senior Division Contest #1, 2014-2015.
Line 18: Line 29:
 
| [https://youtu.be/MWdGTVCLI8g ''Recursion Example 2'' ('''CalculusNguyenify''')]
 
| [https://youtu.be/MWdGTVCLI8g ''Recursion Example 2'' ('''CalculusNguyenify''')]
  
The video walks through the solution to a 2-variable recursive function, that is, $f(x,y)....$. The problem
+
The video walks through the solution to a 2-variable recursive function, that is, $f(x,y)={....$. The problem
 
appeared in ACSL Senior Division Contest #1, 2014-2015.
 
appeared in ACSL Senior Division Contest #1, 2014-2015.
  
-
+
|-
 
| <youtube width="300" height="180">https://youtu.be/5P5iK-5heEc</youtube>
 
| <youtube width="300" height="180">https://youtu.be/5P5iK-5heEc</youtube>
 
| [https://youtu.be/5P5iK-5heEc ''Recursive Functions ACSL Example Problem'' ('''Tangerine Code''')]
 
| [https://youtu.be/5P5iK-5heEc ''Recursive Functions ACSL Example Problem'' ('''Tangerine Code''')]
  
The video walks through the solution to a 2-variable recursive function, that is, $f(x,y)....$.  
+
The video walks through the solution to a 2-variable recursive function, that is, $f(x,y)={....$.  
  
 
|}
 
|}
  
---Other Videos===
+
===Other Videos===
  
 
The follow YouTube videos cover various aspects of this topic; they were created by authors who are not involved (or aware) of ACSL, to the best of our knowledge. Some of the videos contain ads; ACSL is not responsible for the ads and does not receive compensation in any form for those ads.
 
The follow YouTube videos cover various aspects of this topic; they were created by authors who are not involved (or aware) of ACSL, to the best of our knowledge. Some of the videos contain ads; ACSL is not responsible for the ads and does not receive compensation in any form for those ads.

Revision as of 09:42, 31 July 2018

Online Resources

Math?? $x=y$ and $$x=y$$

$$ f(x)=\left\{ \begin{array}{c l}

    x & x>0\\
    -x & x<0

\end{array}\right $$


ACSL Videos

The following videos show the solution to problems that have appeared in previous ACSL contests.

Recursion Example 1 (CalculusNguyenify)

The video walks through the solution to a straight-forward single-variable recursive function, that is, $f(x)=\left\{....\right$. The problem appeared in ACSL Senior Division Contest #1, 2014-2015.

Recursion Example 2 (CalculusNguyenify)

The video walks through the solution to a 2-variable recursive function, that is, $f(x,y)={....$. The problem appeared in ACSL Senior Division Contest #1, 2014-2015.

Recursive Functions ACSL Example Problem (Tangerine Code)

The video walks through the solution to a 2-variable recursive function, that is, $f(x,y)={....$.

Other Videos

The follow YouTube videos cover various aspects of this topic; they were created by authors who are not involved (or aware) of ACSL, to the best of our knowledge. Some of the videos contain ads; ACSL is not responsible for the ads and does not receive compensation in any form for those ads.