Question: what is the difference between scalar and vector function?
Answer: vector function has both quantities magnitude and direction whereas scalar has only one quantity which is magnitude.