How To Input An Array Into A Function In Math