Let a function $ f $ be continuous and differentiable for all $ x $, such that it satisfies $$ f ( x + y ) f( x - y ) = f ^ 2 ( x ) \text . $$ Given that $ f ( 0 ) $ is nonzero and $ f ( 1 ) $ is $ 1 $, find $ f $.
I tried replacing $ x $ by $ y $ and then by $ - x $, but was not able to proceed further.