Slide 1Part 3. Description of a function code 1 Slide 2 Part 3. Description of a function code 2 As an example we will write a function code to find the outside diameter…