Using simpleFunction with ln x

I am getting the Nan message in cell(3,2)
.
Unable to use simple function with `+Cā€™

image

Clip off the RHS and use simpleFunction on that - eg. h=simpleFunction(parseEquation(t.cellContent(3,1)).rhs,"x","C")

Otherwise you will have to specifically define the function to be h(x,C) for simpleFunction to recognise it correctly.

1 Like