Re: Conversion radians to degrees

150 views
Skip to first unread message
Message has been deleted

Taifun

unread,
Apr 24, 2015, 7:36:50 PM4/24/15
to app-inventor-de...@googlegroups.com
use Do it to debug your blocks, see also tip 4 here

Top 5 Tips: How to learn App Inventor

also it would help if you provide an example: which result do you get and which result do you expect?
Taifun
PS: for questions, please use the main forum next time https://groups.google.com/forum/?pli=1#!forum/mitappinventortest
Thank you.

Abraham Getzler

unread,
Apr 25, 2015, 9:36:01 PM4/25/15
to app-inventor-de...@googlegroups.com
You made two mistakes.

atan is different from tan, sin, cos.
The leading "a" stands for "the angle whose ... is."
So it takes a ratio and gives you an angle,
the opposite from tan, which takes an angle
and gives you a ratio.
So with atan, the radian conversion should happen 
to the output of atan, not to the input.

The second mistake was posting to this quiet lonely library, instead of to the main support board. 

ABG

On Fri, Apr 24, 2015 at 7:26 PM, ebarbosa <eliana...@gmail.com> wrote:
Hi!
I'm making a calculator, and need to convert the tan and atan to radians. The tan conversion to radians is correct, but the result of the conversion of atan to radians is going wrong..

Could anyone help with this please?

--
(you have received this message from the App Inventor Developers Library)
---
You received this message because you are subscribed to the Google Groups "App Inventor Developers Library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-develope...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

ebarbosa

unread,
May 12, 2015, 2:50:46 PM5/12/15
to app-inventor-de...@googlegroups.com
Thank you! That was it. Now correct, it was only changing the atan conversion for degrees to radians.

OK for the second mistake.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-developers-library+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages