Baruch Spinoza said this quote
“ I should attempt to treat human vice and folly geometrically... the passions of hatred, anger, envy, and so on, considered in themselves, follow from the necessity and efficacy of nature... I shall, therefore, treat the nature and strength of the emotion in exactly the same manner, as though I were concerned with lines, planes, and solids. ”