import tkinter as tkfrom tkinter import ttkimport matplotlib.pyplot as pltimport numpy as np# 함수 정의def f(x): return np.sin(x) # 예: f(x) = sin(x)def g(x): return x**2 # 예: g(x) = x^2# 합성 함수 h(x) = f(g(x))def h(x): return f(g(x))# 그래프 그리기 함수def plot_graph(): try: x_min = float(entry_x_min.get()) x_max = float(entry_x_max.get()) x_values = np.linspace(x_min, x_max..