sunspot Posted January 20, 2021 Posted January 20, 2021 In the MINDSTORMS app on the word-block side, sin() and cos() appear to work as expected, with the argument in degrees. But tan() does not give the right answer with the argument in degrees or in radians. For example, I'm getting tan(30) = -2.1e-7 and tan(30*3.14157/180) = -0.075, when I expect tan(30 degrees) = 0.58. If I switch over to text based input, math.tan() works as expected, with radians as input. Is anybody else confused by this in the word blocks or maybe already figured out what I'm overlooking? Quote
David Lechner Posted January 20, 2021 Posted January 20, 2021 Sounds like a bug in the software to me. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.