# Checking an exponential equation

I would like my students to write a geometric equation for the sequence 2, 6, 18… I would like them to type in the answer as t(n)=2/3(3)^n. I have the answer written in the computation layer as
content:
when exp10.submitted and exp10.latex = “t(n)=\frac{2}{3}(3)^n” “\n\Good work !”
function(f): simpleFunction(exp10.latex,"n")