State Function And Path Functions Examples