saving . . . saved Solution to Exercise 2. Is is correct? has been deleted. Solution to Exercise 2. Is is correct? has been hidden .
Solution to Exercise 2. Is is correct?
##### Question
I have tried the exercise 2 question as follows:

S = [0.19, 0.38, 0.57, 0.77, 0.96, 1.15, 1.34, 1.54, 1.73]

n = [10.74, 14.01, 18.52, 20.23, 22.88, 24.59, 27.55, 28.48, 30.20]

delta_S = [0.006, 0.006, 0.005, 0.003, 0.004, 0.007, 0.004, 0.004, 0.007]

delta_n = [0.61, 0.69, 0.53, 0.38, 0.46, 0.37, 0.46, 0.46, 0.37]

nsquare = square(n)

Plot 1:
plot(S,n,'.')
errorbar(S, n, xerr = delta_S, yerr = delta_n, fmt = 'bo')

Each point is of the form: <img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN8AAAEdCAYAAACMrrInAAAJ3klEQVR4Ae3awW4g1RkFYfMcwPuv2PJeSCyRHLWIxYRkkcWUOv/JZ8nCjNDpe6u65BkPH58+EEDgFQIfrzzVQxFA4FN8XgIEXiIgvpfAeywC4vMOIPASAfG9BN5jERCfdwCBlwiI7yXwHouA+LwDCLxEQHwvgfdYBMTnHUDgJQLiewm8xyIgPu8AAi8REN9L4D0WAfF5BxB4iYD4XgLvsQiIzzuAwEsExPcSeI9FQHzeAQReIiC+l8B7LALi8w4g8BIB8b0E3mMREJ93AIGXCIgvBP/775+fHx9/fj5f+0DgWwLi+5bGd/5afN8Z6Nic+EKh4gvhDkyLL5QovhDuwLT4QoniC+EOTIsvlCi+EO7AtPhCieIL4Q5Miy+UKL4Q7sC0+EKJ4gvhDkyLL5QovhDuwLT4QoniC+EOTIsvlCi+EO7AtPhCieIL4Q5Miy+UKL4Q7sC0+EKJ4gvhDkyLL5QovhDuwLT4QoniC+EOTIsvlCi+EO7AtPhCieIL4Q5Miy+UKL4Q7sC0+EKJ4gvhDkyLL5QovhDuwLT4QoniC+EOTIsvlCi+EO7AtPhCieIL4Q5Miy+UKL4Q7sC0+EKJ4gvhDkyLL5QovhDu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3fTm1AMExDcg0RVuEhDfTW9OPUBAfAMSXeEmAfHd9ObUAwTENyDRFW4SEN9Nb049QEB8AxJd4SYB8d305tQDBMQ3INEVbhIQ301vTj1AQHwDEl3hJgHx3fTm1AMExDcg0RVuEhDfTW9OPUBAfAMSXeEmAfHd9ObUAwTENyDRFW4SEN9Nb049QEB8AxJd4SYB8d305tQDBMQ3INEVbhIQ301vTj1AQHwDEl3hJgHx3fTm1AMExDcg0RVuEhDfTW9OPUBAfAMSXeEmAfHd9ObUAwTENyDRFW4SEN9Nb049QEB8AxJd4SYB8d305tQDBMQ3INEVbhIQ301vTj1AQHwDEl3hJgHx3fTm1AMExDcg0RVuEhDfTW9OPUBAfAMSXeEmAfHd9ObUAwTENyDRFW4SEN9Nb049QEB8AxJd4SYB8d305tQDBMQ3INEVbhIQ301vTj1AQHwDEl3hJgHx3fTm1AMExDcg0RVuEhDfTW9OPUBAfAMSXeEmAfHd9ObUAwTENyDRFW4SEN9Nb049QEB8AxJd4SYB8d305tQDBMQ3INEVbhIQ301vTj1AQHwDEl3hJgHx3fTm1AMExDcg0RVuEhDfTW9OPUBAfAMSXeEmAfHd9ObUAwT+Acw6xqkL2QZkAAAAAElFTkSuQmCC">
Similarly Plot2:
plot(S,nsquare,'.')
errorbar(S, nsquare, xerr = delta_S, yerr = delta_n, fmt = 'bo')

Here we have to zoom a lot more to see the error in the measurement data.
Kindly comment whether it is correct or not.

Python-3.4.3 Plotting-Data 05-06 min 30-40 sec 04-04-21, 6:26 p.m. mohnishb11