041 sym deriv

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

1e0
0e0
(2e0*x)
(3e0*x*x)
1e0
π
(-1e0*inv(x)*inv(x))
(5e-1*inv(√(x)))
0e0
((2e0*x)+π)

Expected output

1e0
0e0
(2e0*x)
(3e0*x*x)
1e0
π
(-1e0*inv(x)*inv(x))
(5e-1*inv(√(x)))
0e0
((2e0*x)+π)

Flows

flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: x)
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: π)
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: x*x)
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: x*x*x)
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: (x+π))
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: π*x)
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: inv(x))
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: √(x))
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: x/x)
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (expr: (x*x)+(π*x))

Test Configuration

MUST_RUN