diffn by two methods
dy/dt

method #1
t=sin y
y=sin^-1 t

diff both side w.r.t 't'

dy/dt = 1/sqrt [1-t^2]

method #2
t=sin y
sin y=t
cos y.dy/dt=1
dy/dt=1/cos y

which one of two method is right and why??