For positive integers, define $\operatorname{Euclid}(a,b)$ as follows: if $a\bmod b=0$, return $b$; otherwise return $\operatorname{Euclid}(b,a\bmod b)$. Here $a\bmod b$ is the remainder when $a$ is divided by $b$. What is $\operatorname{Euclid}(36,50)$?
Code notation: def defines a function; if/else selects a branch; return gives its result; print displays it; % means remainder and == tests equality.
Rectangle $ABCD$ is divided by perpendicular segments $EF$ and $GH$, meeting at $O$, into four rectangles. The areas of $BEOG,ECHO,GOFA$ are respectively $6,9,8$ square units. Find the area of $OHDF$.
Let $f(x)=3x^2-2x+5$, $A=(3,f(3))$, and $B=(3+\delta,f(3+\delta))$ for small nonzero $\delta$. As $\delta\to0$, what value does $R=\frac{f(3+\delta)-f(3)}{\delta}$ approach?