Changes
1 changed files (+7/-1)
-
-
@@ -31,8 +31,14 @@ nl_tests = [("Solve x^2 = 2", [x == -sqrt(2), x == sqrt(2)]), ("Is 42069 prime", False), (r"Take \begin{bmatrix}\frac{9}{10} & \frac{1}{10}\\\frac{3}{10} & \frac{7}{10}\end{bmatrix} to the power of 10 and get the answer as a decimal", matrix([[0.751511654400000, 0.248488345600000], [0.745465036800000, 0.254534963200000]])), (r"\frac{1^3e^{-1}}{3!}\frac{(1/2)^0e^{-1/2}}{0!}\frac{(1/2)^0e^{-1/2}}{0!}", e^(-2)/6), (r"\frac{1^3e^{-1}}{3!}\frac{(1/2)^0e^{-1/2}{0!}\frac{1/2)^0e^{-1/2}}{0!}", e^(-2)/6), ("Find the minimum of x^x on 0 to 10", (0.6922006275553464, 0.3678794331853406)), ("sum_{n=0}^oo 1/n! x^n", e^x), ("int 0 to x 2e^(-2y) dy", 1 - e^(-2*x)), ("Number of partitions of 69", 3554345), ("x' = (1-x^2)x", -x * (x^2-1) == 0), (r"e^{\log(\sqrt2)-3i\pi/4} rectangular form", -1-i), ("Answer to the ultimate question of life the universe and everything", 42), ] def run_nl_tests():
-