ProjectMOSAIC / mosaicCalc

Calculus in R
12 stars 4 forks source link

findZeros(f(x) ~ x) #11

Open dtkaplan opened 3 years ago

dtkaplan commented 3 years ago

In a {learnr} exercise, commands like these don't work

f <- makeFun(sin(x)*exp(-x) ~ x)
findZeros(f(x) ~ x)

But they work in outside of {learnr}. You've seen this problem before, having to do with using the global rather than the parent environment.