general equation