The constants are listed and I'm trying to use the 'syms' and 'solve' commands. I want to try and solve them for a, b and c. The three equations are inside the 'solve'. When I run it it just seems to give errors on lines that don't even exist. My code so far is as follows:
H=14;K=24.66;L=80;D=60;syms a b c ;S=solve([H == a+(exp(b*c) + exp(-b*c))/(2*b), K== a +(exp(b(D-c)) + exp(-b(D-c)))/(2*b),L == (exp(b(D-c)) - exp(-b(D-c)) + exp(b*c) - exp(-b*c))/(2*b)], [a, b, c])
Best Answer