Which mathematician became the Fellow of the Royal Society of Edinburgh in the year 1783? Matthew Stewart…