Groups
Sign in
Groups
MIT App Inventor Forum
Conversations
Labels
About
Send feedback
Help
about tangent formula
33 views
chrome
company-network
emulator
mit-appinventor-2
specific-programming-issue
windows-xp
Skip to first unread message
Mike Ang
unread,
Feb 25, 2019, 7:25:20 PM
2/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Hi all, i did try to use tangent (radians) for my app,
when i compared by toggle between Sin and Tan, both answer is same. is there some wrong coding ?
1.jpg
2.jpg
TimAI2
unread,
Feb 26, 2019, 5:42:41 AM
2/26/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
I am not seeing that - see attached test aia
sintan.aia
ABG
unread,
Feb 26, 2019, 9:36:00 AM
2/26/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Tan() takes degrees, not radians.
See
http://appinventor.mit.edu/explore/ai2/support/blocks/math.html#tan
Because converting degrees to radians results in a smaller value,
your sin() and tan() values will be close together for small input values.
ABG
Mike Ang
unread,
Feb 26, 2019, 9:54:32 AM
2/26/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Thank Tim, i convert from degree to radians and the result is same, both sini and tan = 0.01371...
Dear ABG thanks for advise... will test out
degree to radian.jpg
Mike Ang
unread,
Feb 26, 2019, 10:08:10 AM
2/26/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Thank you both ABG and TIM, it works.
Since it only take in Degree, i do not need to convert it to Radian.
Thanks a million for fast respond and quick support. cheers
ABG
unread,
Feb 26, 2019, 10:16:57 AM
2/26/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
For the benefit of the next guy,
here's proof using Do It on the easiest of all angles,
45 degrees.
See attached.
ABG
sin_vs_tan_radians_vs_degrees.PNG
math.aia
Reply all
Reply to author
Forward
0 new messages