tried writing equation with $$