Code 1
A simpler definition of LineSlope to illustrate my question.
How can this call to Minimize work when SSSw is not even an argument in LineSlope?
Q1: In the Minimize call, is SSSw = 2 substituted as a starting value for Sw?
Q2: And why doesn't Minimize need to use both arguments of LineSlope?
Code 2