The canonical sci-fi short story about this is the darkly humorous "Computers Don't Argue", written by Gordon Dickson all the way back in 1965.
Link: http://www.atariarchives.org/bcc2/showpage.php?page=133
Link: http://www.atariarchives.org/bcc2/showpage.php?page=133