Hi all!

I've found a strange issue in some problems requiring formula response.

I have a simple question to enter the formula for the resonant frequency.

An example of correct answer is (in other variations the formula could be a bit 
more complex than this one)

1/(2*pi*sqrt(L*C))

The correct solution is checked by sampling L and C values.

When I am entering the answer, I can see that LON-CAPA recognizes it because it 
displays the formatted formula as I am entering it:

[cid:image003.jpg@01D5A05B.449F5B20]



But when I press submit, I got the response:

“unable to understand formula”



By experimenting with this, I found that the issue happens because of “pi” 
being a part of the answer.

If pi is replaced with 3.141, everything would work.

But it feels weird asking students to enter 3.141 instead of pi; besides, I 
don’t even want to give them a hint that pi is a part of the answer.



Why is this happening? Apparently LON-CAPA knows what “pi” means because it 
displays it correctly.



Thanks!

Grigory




_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

Reply via email to