I am trying to use Mathematica to solve a system of 8 equations, but am not sure how to accomplish this. One of the issues is that when I do the work by hand a quadratic equation forms through solving. I have tried to solve in Mathematica a number of ways. Essentially, I want to solve for the variable r (in the very last equation), so that it is in terms of only P, k and K variables (no t variables), but when I launch this code, all Mathematica does is tell me what subscripts are. Any suggestions?
Solve{{a=k/(t*r),
b=p/(u*r),
1=r+q,
(1/2)(g*o*r-h*p*q)=i*k*p-j*m*r,
w=l*o/(m*p),
x=l/(s*r),
f=v*r^2/q^2,
z =(1/2)(1/2)(g*o*r-h*p*q)},
{z}}