apply equation