Contents    Page-10    Prev    Next    Page+10    Index   

Solving Physics Story Problems

By combining the techniques we have discussed with a simple English parser, a remarkably small Lisp program can solve physics problems stated in English:

>(phys '(what is the area of a circle
              with radius = 2))


>(phys '(what is the circumference of a circle
              with area = 12))


>(phys '(what is the power of a lift
              with mass = 5 and height = 10
              and time = 4))