> Here is the KBH code with an additional historical note:
This math a group; this is not a computer group. Though we know some programming languages, what the heck is KBH? More importantly, simply state your three equations in mathematical language, if you're asking a question about solving them. If instead, you're asking about your code, then find a computer group.