Graph the given function using the given values of x . Also use the graph to determine the domain and range of the function.
h(x)=∣x−3∣;x=0,1,2,3,4,5,6
Solution:
h(0)=∣0−3∣=∣−3∣=3
h(1)=∣1−3∣=∣−2∣=2
h(2)=∣2−3∣=∣−1∣=1
h(3)=∣3−3∣=∣0∣=0
h(4)=∣4−3∣=∣1∣=1
h(5)=∣5−3∣=∣2∣=2
h(6)=∣6−3∣=∣3∣=3

Domain x∈R
Range y∈[0,+∞)
Comments