i forgot last semicolon after last equation, i’ve corrected it, but the errors are the same anyway
Rcat is made of two terms (p3… and p5…) I suggest you break it up further as in:
Value Rcat1 = p3... ...; Value Rcat2 = p5... ...; Value Rcat = Rcat1 + Rcat2; Rarea = Rohm + Rcat + Ran;
This should help in isolating the error.
Rcat1 can be further broken down in numerator (p3 …) and denominator (p…):
Value num = p3... ...; Value deb = p... ...; Value Rcat1 = num / den;
try that !
There is an excess of parentheses, for example this:
Value num = p3*T*exp(p4/Teq);
try simplifying things until the matter gets clearer
now it told me that i’ve just 4 errors, better than before , i try topical the cursor in the parenthesis to correct them and it seems ok,
but now there’s a problem with pow!
and the problems of parenthesis is moved to line 128
from your last screenshot:
Yes, but in the previous screenshot I put the parenthesis in the correct way, but I have 4 errors anyway
As you see in the previuos screen, not the last one, parentheses matched
in the screenshot before the last one the first error on line 124 is about the pow function, and it is complaining because the function is called with just one argument.
pow should be called with 2 args, one is the mantissa the other is the exponent
try expanding the line 124 as in:
Value man = ... ...; Value expo(-1); den = P1*log(pow(man, expo));