State Function Vs Path Function Examples And Domains