Page 179 - 49A Field Guide to Genetic Programming
P. 179

B.4 Compiling and Running TinyGP                              165


            which can be simplified to
                                            x
                                   −a×x            x 2
                                x  +x+x×(x−c)  −    “   x 2  ”
                               x−b             2 +x)× d−
                                              ( x
                                                        e
            where
                                    a = 2.76609789995
                                     b = 10.240744822
                                     c = 3.9532436939
                                    d = 3.20011637632
                                     e = 12.6508398844
            Hardly an obvious approximation for the sine function, but still a very ac-
            curate one, at least over the test range.
   174   175   176   177   178   179   180   181   182   183   184