Draw graph in given domain and solve equations