Hello everyone!
I'm hoping anyone can help me with a problem. I need a macro that finds me a certain value bewtween two preasigned values while a certain condition is met.
Now these are my values from a sheet in excel
All these values are known and fixed except Nrd; and i'm looking for ec while Nrd=Ned. The value Nrd depends on the value k, hence it depends on the value ec. The condition for ec is that it must be 0>ec>ecu (ecu is negative). Nrd is calculated in excel in table form.Please Login or Register to view this content.
I introduced a value G that is an alloved error for the result like abs(G)=abs(Nrd)-abs(Ned). So instead of Nrd=Ned the condition can also be satisfactory if G<0.1 (I assumed this if the calculation takes alot of time), so it's a like a precision limit for ec.
If needed the ec value can go in a step of let's say 0.0000001 (or smaller if doesn't take too long to calculate).
Thanks in advance!
DamirDz
Bookmarks