Group Abstract Group Abstract

Message Boards Message Boards

Use NSolve for a variable in degrees?

Posted 5 years ago
POSTED BY: Robin Ruatta
6 Replies
Posted 5 years ago

If a = 40 Degree and A = 2, why Sin[40 Degree] / 4?

POSTED BY: Sarah Smith
Posted 5 years ago

In this case NSolve will in general return 2 solutions, if the solutions are restricted to be in the triangle angle range 0 to 180 degrees

In[1]:= Replace[b, NSolve[Sin[20 Degree]/4 == Sin[b]/6 && 0 < b < 180 Degree, b]]/Degree // Round

Out[1]= {31, 149}
POSTED BY: Hans Milton
Posted 5 years ago

Thanks! I'll look into what the commands mean, not sure about replace and the && part but this helped a lot! Appreciate it!

POSTED BY: Robin Ruatta
Posted 5 years ago

If a = 40 Degree and A = 2, why Sin[40 Degree] / 4?

POSTED BY: Rohit Namjoshi
Posted 5 years ago

That was just an accidental mistake, I just saw it too while rereading my thread.

POSTED BY: Robin Ruatta
Posted 5 years ago

Also, by the way, it would be cool to know if there is a way to quickly make a code so that I can eventually plug in the angles and sides I'm given, and have Mathematica output all 3 angles and sides? Thanks for your help!

POSTED BY: Robin Ruatta
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard