Simple but long proof...

All,

First off I hope this is the right forum, if not let me know and I will gladly move it.

I am a developer and have recently been given the equation and proof below to turn into code. I know it is a lot to ask but if someone could help me solve this step by step I can use this to program from. I have honestly spent hours and have yet been able to come up with the same answer. Any help is greatly appreciated!!

Re: Simple but long proof...

I am actually just trying to verify that this equation does indeed solve to the expected result. My math is not strong enough for me to tell if there is a something wrong with how I am coding it, or if there is something wrong with the proof. I do see the missing closing bracket. I will follow up on that and verify its location. I really appreciate your help.

Re: Simple but long proof...

Also, the |_ _| brackets shown (beginning and end of equation) mean the "floor function"
(as example, if 3.746... then 3 is result), which makes no sense given your expected
results of HG= 0.112113426675006

I assume e = Euler number.

The "powers" are quite difficult to discern; can you show them in a clear way?

Re: Simple but long proof...

OK. You have RHSX = 0. Is that ok? Means RHSX^(1 - RHB) = 0.

Finally, on powers:
the right portion of 2nd line of equation shows e^[-RHR / (1 - RHB)] * (another expression) :
is the "other expression" part of the "power", or is it just a subsequent multiplication?

Re: Simple but long proof...

OK the flooring brackets are meant to be parenthesis.
The missing half bracket is supposed to include the rest of the line. .75*RHK*(...(1/1-RHM))
e^[-RHR / (1 - RHB)] * (another expression) - this is part of the power

You have been a tremendous help on this. I really appreciate it, I had no idea there were this many anomalies in this equation.

Re: Simple but long proof...

T is for a duration variable. The objective of this equation is to calculate the amount a tree has grown for a single cycle and the duration of the cycle is specified by T.

HOKAY!! Now I see why parts of your equation are a bit like Future Value of money formulas...
The using of e^(.....) is obviously for continuous compounding.

Well, I entered your formula along with the values of the variables (I use UBasic programming)
but cannot come anywhere near .112113.... as solution: I get 0.006953....

You got that formula from "WHO"?

Again, I'll tell you that I don't understand what you mean by needing "help in coding".
Let's take something simple:
A = u + v + w^x
u=4, v=5, w=2, x=3
Much smaller/simpler than your problem, but works same way.
To "code" that in UBasic:

Re: Simple but long proof...

Man after many rounds with the provider of that #$@! equation I finally got it worked out. I started off assuming the equation was right and my math was wrong. Turns out there were several errors in there that were a result of him not knowing how to specify his needs in an equation. Below is the working C# code that produces the desired result. You will notice a couple of bounding statements that weren't in the original equation!!

You have no idea how much you helped me man, truely appreciate it. I was losing my mind!