I have made this tutorial to explain you how to use equations.
Remember the use of equations could be trick, specially at CSWP exam, link the values of equations is simple, but build the model in a way it rebuild as intended as you change the values, is another history.
Anyway, I hope this little tutorial helps you understand how to use it, and sure to help you out at your certification test.
All the best.
I will be making a cube as example for this tutorial, but once you learn the use you can apply the knowledge in any of your designs.
By default, Equations are not visible at Design Tree, we must start our tutorial by activating it.
First of all, open your SolidWorks and before making any new part, go to Menu and choose Options.
This will open SolidWorks System Options.
Once there at left list choose FeartureManager.
At right place you can see Equations, click the drop down menu and change it from Automatic to Show.
Now start a new model.
As you can see at your Design Tree, Equations is visible now.
Before start to model, right click Equations icon and choose Manage Equations.
The following pop up window you show, and now we will start to insert the values.
First click on the blank line right below Global Variables and type A.
Next, click on Value / Equation and enter the value 100. Once done press enter.
As you can see now, our Global Variable "A", Evaluates to 100 and we have a new blank line to make new Variables.
Now lets make one B variable. As you can see you can make use of arithmetical signs to get any results you want.
For the C variable, I will be using another variable to get a value I want.
After you type the name of the variable, click on Value and choose the Global Variable A.
Now to complete our set up make it divided by 2. You should have the same results as the picture.
If it is right, click OK to save your set up.
For next step, create a sketch and make a rectangle (in any plane you want).
Now time to link the dimensions to the values you previously set up.
Use Smart Dimension as usual, but instead of the values type the signal "=" (equal), doing so, like the picture, the pop up to link the value showing the Variables you already made will show.
Click on the option A (100).
The result should be this.
Press enter and you will see it changes the A for 100, but not like usual it has a Globe icon on its left.
Press enter (or click on the green check) to close the dimension edit, and you will see the result. Note that the dimension has the Equation Symbol before the Value, it means that your dimension is linked.
Now lets do the same with the other dimension of our rectangle, linking it to the variable B. The result should be like the picture.
Now lets close our Sketch and extrude it. As in the sketch, instead of value, let type the equal signal (=) to be able to link its value.
Once again you will notice the globe icon at the left side of the value.
Click Ok to finish the operation.
Now all the values of your model are linked.
To change the values you must right click Equations on your Design Tree and choose Manage Equations, just like you did to first set up it.
Now we can change the values to see if it works as we want to, change the values as the picture.
Click OK and rebuild your model.
Note that if the values you change at equations makes the model geometrically impossible to build, you will get build error message, also if you are building a model with fixed and linked (equations) dimension, you must pay attention how to build, how to link the values, especially at CSWP Exam, instead of help it could mess all your model and make you lose a precious time trying to figure out what is wrong with the model. But if you do good, it saves you a lot of time.