1. Generate 1000 samples from a gaussian distribution with mean 480mV and standard deviation of 5%.
2. For each generated sample V₁ (among the 1000 samples), calculate the corresponding Subthreshold and ON Current.
3. Generate a file variation_analysis.txt containing 4 columns as shown below, fist column contains the Sample Number, second column enumerates the value of V₁, third column represents the calculated Subthreshold Current and fourth column represents the ON Current values.
4. The final row should contain the maximum and minimum ratio of Imax Imin of the values in columns 3 and 4.
Fig: 1
Fig: 2