Define the skeleton of the new function

Display Figure 5.

Enter the name of the new function in the text field at the top of Figure 5.

Click the Number button to specify that the function will return a value of type Number

Leave everything else as it is in Figure 5 and click the OK button.

Figure 5. Function creation dialog in program named Alice0135b.