SJ001 / AI-Feynman

MIT License
638 stars 188 forks source link

Example 1 #62

Open agrundner24 opened 2 years ago

agrundner24 commented 2 years ago

Thanks for the great library!
I tried the examples and am not able to find the correct equation for the first one (that corresponds to equation I.10.7).

The three proposed most accurate solutions are: 21.147941741474437 4.4023519068071595 528282.2288168592 72.72957720685174 21.14657200123685 (1.027865342420x0)(0.567594535354exp(cos((exp((x1/x2))((x1/x2)-1))))) 20.94434228941661 4.388264209301445 526591.7051161734 117.58535180670597 20.94108385704959 (1.027865319627(x0-sin(pi)))(1.840668027386+cos((pi/cos(cos(cos((x1/x2))))))) 20.944329974357988 4.388262802176269 526591.5362611522 117.93385566907727 20.94106343228129 (0.327179691053(x0pi))*(1.840668027386+cos((pi/cos(cos(cos((x1/x2)))))))

Then the list of good solutions is often led by constant expressions: 31.519788162550423 4.978204669907707 597384.5603889248 0.0 31.520197511469828 (1.03x0)(tan(-666.000000000000sin(pi))) 29.618395981369655 4.888403986059739 586608.4783271687 42.292034169785026 29.618034231319296 -0.013462039838+pi 31.512156565639536 4.868975990415515 584277.1188498618 42.660651541187015 29.221857681044533 asin(0.004345259981pi)

How come the first expression supposedly has a complexity of only 0? Example 2 and the example from the Medium article both work fine.