Week -2
1.

Source to the solenoid is provided by a controlled voltage source where the physcial signal is provided by a step source from simulink block where voltage is given for 2 sec and then it is taken down.
Postion of the plunger of a solenoid is sensed by a translational sensor, when the source is connected to the solenoid the plunger moves from its initial position i.e., 5mm to 0mm and when source is taken off due to the spring connected in solenoid aftr going through damped oscillations plunger settles down to its initial position.
2.

here the temperature for thermistor is given by the controlled temperature source assisted with step sources to give the signals as per given question.
A resistor is connected in series with thermister and voltage across it is sensed and given to a switch where the switch should be ON when the temperture acorss the thermistor is greater than 25 deg (298K). so we need to set the threshold value of switch to a value which is the voltage across the resistor corresponding to the 298K temperature and we can obtain a signal which is shown above where switch output is 1 when temperature is above 298K and 0 otherwise.