Expert systems with applications