mrtangent
Chemical
- Aug 4, 2003
- 103
Does anyone have a good example of how to solve a non-linear function using the function command ?
for example.
if you want to know the level corresponding to a particular height in a cyindral tank you need to solve
A= r^2 cos-1 (r-H/r)- [(r-H) * (2rH-H^2)^0.5]
for H knowing r and A.
I remember some linear programming - golden section search maybe but wondered if anyone has any good examples ?
(I done this using a V-LOOKUP table for varing H,r and outputs of A but there must be a function way to do this).
Sorry if this is a dumb qustion.
for example.
if you want to know the level corresponding to a particular height in a cyindral tank you need to solve
A= r^2 cos-1 (r-H/r)- [(r-H) * (2rH-H^2)^0.5]
for H knowing r and A.
I remember some linear programming - golden section search maybe but wondered if anyone has any good examples ?
(I done this using a V-LOOKUP table for varing H,r and outputs of A but there must be a function way to do this).
Sorry if this is a dumb qustion.