Skip to first unread message

nant...@gmail.com

unread,
Jul 27, 2014, 3:13:03 PM7/27/14
to mitappinv...@googlegroups.com
I need to my apps for math, make calcs using the functions arc sin, arc cos and arc tan. How can do it?

SteveJG

unread,
Jul 27, 2014, 3:30:22 PM7/27/14
to mitappinv...@googlegroups.com
These all exist in the Math blocks, accessed from the Blocks screen.

Regards, Steve


sin, cos, tan, asin, acos, atan



convert radians to degrees, convert degrees to radians

nant...@gmail.com

unread,
Jul 28, 2014, 3:05:39 PM7/28/14
to mitappinv...@googlegroups.com
Thanks so much to SteveJG.

ebarbosa

unread,
Apr 20, 2015, 6:41:18 PM4/20/15
to mitappinv...@googlegroups.com
Hi!
I need to calculate sine in radians, how can I do it?

By the way I tried, the answers are incorrect. Could anyone help me?
Thanks.
sin_in_radians.jpg

Taifun

unread,
Apr 20, 2015, 6:50:37 PM4/20/15
to mitappinv...@googlegroups.com
use Do it to debug your blocks

see also tip 4 here

Top 5 Tips: How to learn App Inventor


and: first do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
 Top 5 Tips: How to learn  App Inventor

You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.


It would really help if you provided a screenshot of your relevant blocks incl. Do it result, so we can see what you are trying to do, and where the problem may be.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         


ebarbosa

unread,
Apr 20, 2015, 7:12:10 PM4/20/15
to mitappinv...@googlegroups.com
Thank you!


I'm making a calculator that calculates sine, cos and tan, and to be able to calculate in degrees or radians.

So I did a checkbox for degrees and radians to another, and the result should be according to the option chosen. So if a person marks the radians option, and then calculates the sine of a number, the result should be the sine of that number in radians...


sin_in_radians2.jpg
screen2.jpg

Taifun

unread,
Apr 20, 2015, 7:22:44 PM4/20/15
to mitappinv...@googlegroups.com
are you sure, you know what you are doing?
what about trying the Do it functionality?
Taifun


ebarbosa

unread,
Apr 24, 2015, 7:42:39 PM4/24/15
to mitappinv...@googlegroups.com
Yes, I used Do it. Managed to solve this part, everything ok.
But there is another question now. I need to convert to radians tan and atan. The tan conversion to radians is correct, but the result of the conversion of atan to radians is going wrong ...

It's strange work for some and not for everyone..
atan_in_radians.jpg

Taifun

unread,
Apr 24, 2015, 7:47:40 PM4/24/15
to mitappinv...@googlegroups.com
Reply all
Reply to author
Forward
Message has been deleted
0 new messages