Skip to main content

equation solving - Use of FindRoot iteratively




I defined an equation F[l] (with l been the unknown parameter) and i solved it numerically using the command FindRoot.


FindRoot[F[l] == 115.58, {l, 0.1}]

I want to do the same computation equating F[l] with numbers that are part of an array (name DATA) but i don't use the appropriate command (see below).


FindRoot[F[l] == DATA[[i, 1]], {l, 0.1}, {i, 1, 330}]

Here is the error message


"Form of start specification {1,330} in {i,1,330} is inconsistent with other \
start specifications."


What is your advise?




Comments