Week -2
door bell simulink model 
the pulse generator is used to create puleses at regular interval
the switch block used is controlled by external physical signal if the external physical signal is greater than the thresold parameters then the switch is closed otherwise switch switch is open
the positive terminal of the switch is connected to switch and negitive terminal is connected to electrical referance
the solenoid block is connected with battery and switch
the ideal translation sensor is connected with solenoid block
scop is connected to ideal translation
ps similink convert the physical signal to simulink signal and one solver configuration is connected

the time period is given 2s to pulse generator to open and close the switch ,when switch is closed the solenoid blocks recevise electrical power from the battry and plunger is moved port r to c and hit the bell and produse the sound
simulink model of thermistor:
signal builder block is used to input the values as per the given condition
at point 1 time =0
tem=293k
at pint 1 time=10s
tem=293k
at point3 time=10s
tem=300k
at point4 time=30s
temp=300k
at point 5 time=30s
temp=296k
at point 6time=50s
temp=296k
controlled temperature source repersent an ideal source of thermal energy,that maintain the heat flow rate
theristor is a type of resistor whose resistor whose resistanc eis based upon temperature
a linear resistor is used to control the current from battery
the voltage sensor is used to convert the voltage measurment between two points into a physical signal
electrical referance block is given and one solver configuration block is connected

from 0 to 10s fan is off condition becouse temprature is 293k which is below the thresold 298kk,which is below the thresold 298k,after 10s temperature gose to 300k then the switch will be in on condition as the temperature exceed 298k.after 30s fan will turn off as the temperature comes down to 296k which is below the thresold temperature of 298k