A function g is defined by g:x→3−2sinx,for 0◦ ≤x≤A◦,where A is a constant.
(i) State the largest value of A for which g has an inverse.
(ii)When A has this value, obtain an expression, in terms of x, for g−1(x).