code: def true_pdf(x):
      pdf = 0.1 * stats.norm.pdf(x, loc=0, scale=0.5)
      pdf += 0.9 * stats.norm.pdf(x, loc=1, scale=0.5)
      return pdf
  
imports: import numpy
  from scipy import stats
  import matplotlib.pyplot
  import statsmodels.nonparametric.api
  from statsmodels.distributions.mixture_rvs import mixture_rvs
label_desc: Use image node_id 1 for calling a global function with example usage: true_pdf(x) and returns: pdf