NUMERICAL ANALYSIS AND CONTROL OF BIFURCATION PROBLEMS (I): BIFURCATION IN FINITE DIMENSIONS