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