// Example 6.18 // This is an analytical problem and need not be coded.