When plotting a function that depends on FindRoot
, the function is not rendered.
I can calculate individual values. I sometimes get errors:
FindRoot::precw: The precision of the argument function (70.0001 -((10+10/(1+Power[<<2>>])) Log[x/10])/Log[10]==45) is less than WorkingPrecision (20.`).
This is similar to bug reported in "Is FindRoot wrong about its WorkingPrecision". I have tried changing the WorkingPrecision
and precision of input boundaries to no avail, Code:
attArea[x_] := 10*(1/(1 + Exp[(-5/250)*(x - 250)])) + 10
ca[Le_] := FindRoot[(Le - (attArea[x] * Log[10, x/10]) == 45), {x, 300}]
Plot[ca[LL], {LL, 70, 75}]
Any suggestions?
ca[Le_] := x /. FindRoot[(Le - (attArea[x]*Log[10, x/10]) == 45), {x, 300}]
$\endgroup$Table[{LL,ca[LL]}, {LL, 70, 75,1/10}]
, thenListPlot
$\endgroup$