;assignment 4(#1) function findel, value, arr diff = abs(arr - value) return, where(min(diff) eq diff) end