Instead of 84 lines of code, with no idea what the problem is, compose the program in steps and test after each step. To get you started: (note the difference between final three lines here, and your code).
try:
# Python2
import Tkinter as tk
except ImportError:
# Python3
import tkinter as tk
import math
import cmath
class RootFinder():
def __init__(self, master=None):
self.fr = tk.Frame(master)
self.fr.grid()
self.create_widgets()
def create_widgets(self):
self.labelf=tk.Label(self.fr, text="What is f(x)?", font='Arial 10 bold', pady=5)
self.labelf.grid(row=0, column=0, sticky='w')
self.sqrcoeff=tk.Entry(self.fr, width=5)
self.sqrcoeff.grid(row=1, column=0)
self.sqrcoeff.insert(0, '1')
root = tk.Tk()
RF = RootFinder(root)
root.mainloop()