Problem 19
Write a Scheme function to evaluate the polynomial \(2 x^{3}-5 x+1\). Include the code for all the subfunctions you use.
Problem 22
Here is the beginning of a Prolog program about a family. The facts are male (eli). male (bill). male(joe). female (mary). female (betty). female (sarah). parentof (eli, bill). parentof (mary, bill). parentof (bill, joe). parentof (bill, betty). parentof (bill, sarah). The declaration male (eli). asserts that Eli is male, and parentof (mary, bill). parentof (bill, joe). parentof (bill, betty). parentof (bill, sarah). The declaration male (eli). asserts that Eli is male, and parentof (eli, bill) asserts that Eli is Bill's parent. Draw a "family tree" based on these facts. parentof(eli, bill) asserts that Eli is Bill's parent. Draw a "family tree" based on these facts.