Help recursively describe the function cos(x,k) in pascal , where
cos(x,k)
pascal
cos(x,k)=cos(cos(..cos(x)..))(k косинусов)
function cosk(x: Real; k: LongInt): Real; begin if k <= 0 then begin cosk := cos(x); end else cosk := cosk(x, k - 1); end;
Source: https://ru.stackoverflow.com/questions/386176/More articles:Condition in referenceAre there any dll components to save the state of a C # program?Why stop on this one - sda.Fill (dt)?Android, the picture jumps when the on-screen keyboard appearsHow to encrypt the link in the source code of the page?Reading a two-dimensional array from a fileWhat exception to throw in Delphi so that it can be caught inside .NETRegular expression preg_match (Search all characters except numbers)Consistent appearanceQuestions instead of Russian lettersAll Articles