向右平移m
y=-(x-2-m)^2-4
向上平移n
y=-(x-2-m)^2-4+n
带入两个点
-(5+m)^2-4+n=5
-25-m^2-10m-4+n=5
m^2+10m+34-n=0(1)
-(3+m)^2-4+n=3
-9-m^2-6m-4+n=3(2)
(1)+(2)
4m+21=3
m=6
n=88
向右平移m
y=-(x-2-m)^2-4
向上平移n
y=-(x-2-m)^2-4+n
带入两个点
-(5+m)^2-4+n=5
-25-m^2-10m-4+n=5
m^2+10m+34-n=0(1)
-(3+m)^2-4+n=3
-9-m^2-6m-4+n=3(2)
(1)+(2)
4m+21=3
m=6
n=88