# Self Checking Table- in respect to y!

Hi Everyone,

I’m trying to create an activity where students break down the problem prior to actually evaluating. I’ve run into a problem, for this problem I’m integrating with respect to y, so my equations are x=… and I can’t get the table to recognize the correct functions? Any Advice?

I’m on slide 8 of this activity. Area Between Two Curves Practice • Activity Builder by Desmos

Here is the code I have written. I’ve tried switching the x and y values, using only one check point, but nothing seems to help.
#tablevalues
a1=Table8.cellContent(1,2)
a2=Table8.cellContent(2,2)
a3=Table8.cellContent(3,2)
a4=Table8.cellNumericValue(4,2)
a5=Table8.cellNumericValue(5,2)
a6=Table8.cellContent(6,2)

checkf1=simpleFunction(a2).evaluateAt(1)=-3

checkf2=simpleFunction(a3).evaluateAt(-2)=-4

checkf3=simpleFunction(a6).evaluateAt(3.4)=-3.2

cellSuffix(1,2):
when a1=“y” “
otherwise “

cellSuffix(2,2):
when checkf1 “
otherwise “

cellSuffix(3,2):
when checkf2 “
otherwise “

cellSuffix(4,2):
when a4=-3 “
otherwise “

cellSuffix(5,2):
when a5=-2 “
otherwise “

cellSuffix(6,2):
when checkf3 “
otherwise “

`checkf1=simpleFunction(a2,"y").evaluateAt(1)=-3`