Cho hàm số \(y=f\left(x\right)=1-\left|x\right|\)
a, Tính \(f\left(-5\right);f\left(\frac{-1}{2}\right);2\left(3\right)-\left(3f\left(1\right)-2f\left(3\right)\right):f\left(5\right)\)
b, Tính \(A=y_1+y_2+y_3+...+y_{2021}\)biết y1=1, y2=f(y1), yn+1=f(yn) với n là số nguyên dương