a) Ta có: \(A=-\frac{5}{12}+\frac{1}{2}+\left(\frac{7}{12}+\frac{8}{16}\right)\)
\(=\frac{-5}{12}+\frac{7}{12}+\frac{8}{16}+\frac{8}{16}\)
\(=\frac{2}{12}+1\)
\(=\frac{2}{12}+\frac{12}{12}=\frac{14}{12}=\frac{7}{6}\)
b) Ta có: \(B=\frac{2}{3}+1-\frac{5}{8}+\frac{1}{3}-\frac{4}{16}\)
\(=1+1-\frac{10}{16}-\frac{4}{16}\)
\(=2-\frac{7}{8}\)
\(=\frac{16}{8}-\frac{7}{8}=\frac{9}{8}\)