Analysis of pricing financial derivatives under regime-switching economy