use sin of double