1)

The domain and range of the function f given by f(x)= 2-|x-5| is


A) Domain = $R^{+}$ , range = (-$\infty$,1]

B) Domain =R, Range =(-$\infty$,2]

C) Domain =R , Range =(-$\infty$,2]

D) Domain =$R^{+}$, Range = (-$\infty$ ,2]

Answer:

Option B

Explanation:

Given  f(x)=2-|x-5|

 Domain of f(x)  is defined for all real values  of x

 since ,|x-5|  $\geq 0\Rightarrow-|x-5|\leq0$

$\Rightarrow2-|x-5|\leq2\Rightarrow f(x)\leq 2$

 Hence , range of f(x)  is (-$\infty$,2]