EZ Graph - Cotangent Function, Vertical Scaling and Translation Variables, Radians

Click the 'Draw graph' button in the lower left corner of the EZ Graph app. Explanation below.

Here is the conventional notation for these cotangent functions and the translation to the computer language type of notation used with EZ Graph:

 

f1(x) = (a)cot(x - h) + k translates to EZ Graph as f1(x) = a * (1/tan(x - h)) + k
f2(x) = cot(x) translates to EZ Graph as f2(x) = 1/tan(x)

 

Since EZ Graph does not have a built in cotangent function, we substitute the reciprocal of the tangent function (1/tan(x)) for the cotangent function (cot(x)).

Notice that conventional notation does not require a multiplication operator (between (a) and cot(x - h)) while the EZ Graph notation does (the * between a and (1/tan(x - h))).

Also note that no parentheses are required to force precedence. Multiplication proceeds before addition automatically, and that's just what we want.

 


Custom Search