Need Library source

what I posted was not code but rather a written notation from my original worksheets of a section of code that I had used originally.