James Clerk Maxwell ( born 13 June 1831 in Edinburgh â `` died 5 November 1879 ) was a Scottish mathematician , physicist and discoverer of Maxwell 's equations . James Clerk Maxwell ( 13 June 1831 â `` 5 November 1879 ) was a Scottish physicist and mathematician .