Building functions in F18
-
Of the starter functions \(Id_R\), constants, \(sin(x)\), which are needed to generate \(cos(x)\), taking advantage of the identity \(cos(x) = sin(x + \pi/2)\)?
All 3 are needed; we use \(Id_R\) to get \(x\), \(\pi/2\) is a constant, and of course, we need \(sin()\). -
In the above process, which of the following rules are used?
Addition is needed to derive \(x + \pi/2\) and composition is needed to compose \(sin()\) and \(x + \pi/2\).