Get the r^2 value for an exponential regression in a note

Hi all! I’m trying to find a way to pull out the r^2 value from an exponential regression in a graphing component.

After students write an exponential equation (in the full-screen graph or in a math input), I want to be able to create a variable for their equation’s r^2 value. Then, I’d use that to 1) show them the r^2 value in a note and 2) aggregate the r^2 values so I could compare different students’ models (and ID the model with the highest r^2)

I don’t believe the workaround for linear regressions works here. ie. Using A= (corr(x1,y1))^2

Here are the relevant slides: Exponential Regression Test • Activity Builder by Desmos

In case someone encounters the same issue: I found a workaround. It’s not the most elegant, but I believe it works.

I defined a new variable in the graphing calculator using the r^2 formula.
Screen Shot 2022-03-01 at 1.49.45 PM