You may use HoldForm
along with Inactivate
to produce the results you seek.
First I suggest changing the input of your subscripts so they are not multiplying the indices. You can do this by inserting Esc,Esc in between the indices to have them not multiply. The full form is then Subscript[f, c, d]
.
Moving on:
ClearAll[showSubstitution];
Attributes[showSubstitution] = {HoldAll};
showSubstitution[sym_, formula_] :=
HoldForm[sym] == HoldForm[formula] ==
Inactivate[formula, Except[Subscript]] == formula
showSubstitution
takes the symbol of the formula ($f_{c,d}$) and the formula ($\frac{\alpha _{c,c} f_{c,k}}{\gamma _c}$) and displays the substitution steps to the result. It does loose the fraction formatting on the substitution as the denominator is taken to be the value to power -1.
Subscript[f, c, k] = 1;
Subscript[α, c, c] = 30;
Subscript[γ, c] = 1.5;
Subscript[f, c, d] = (Subscript[f, c, k]*Subscript[\[Alpha], c, c])/Subscript[\[Gamma], c]
showSubstitution[Subscript[f, c, d],
(Subscript[f, c, k] Subscript[α, c, c])/Subscript[γ, c]]
$\gamma _c=1.5;$
$\alpha _{c,c}=30;$
$f_{c,k}=1;$
$f_{c,d}=\frac{\alpha _{c,c} f_{c,k}}{\gamma _c};$
$\text{showSubstitution}\left(f_{c,d},\frac{\alpha _{c,c} f_{c,k}}{\gamma _c}\right)$
$f_{c,d}=\frac{f_{c,k} \alpha _{c,c}}{\gamma _c}=1*30*1.5{}^{\wedge}(-1)=20.$
HoldForm
(and HoldAll
on the function attributes) keeps the symbols from being replaced with their values. Inactivate
allows the values to be substituted in but prevents the functions from executing. Subscript
is Except
ed so the symbols with subscripts will resolve.
Hope this helps.