Results 1 to 5 of 5

Math Help - calculating angles between two ranges

  1. #1
    Newbie
    Joined
    Oct 2010
    Posts
    2

    calculating angles between two ranges

    I have a set of angles(finite set) these are float numbers.
    I need the formula to return all angles from my set that lie within a given range
    Example
    my set{20.33,35.55,330.00,30.00,50.00}
    i will give input two angles 30,330 and i want it to return all the angles within this range.
    Also that 330,30 is also a valid range.

    Thanks in advance
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,540
    Thanks
    780
    If A is the set of angles, then the angles between \alpha and \beta are \{\gamma\in A\mid \alpha\le\gamma\le\beta\}.

    I am not sure you wanted this answer, but if not, could you explain better what kind of formula you need (a mathematical expression, Excel formula, a C program, etc.)?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Oct 2010
    Posts
    2

    Require c++ code

    I require a c++ code for this problem.
    Just an addition, I can only have angles from the range of 0-360 and they can wrap around i.e.330,30 is also a valid bound
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,540
    Thanks
    780
    Well, that's definitely not trigonometry. This would depend on how you represent sets in C++. Also, do you want to show some effort (e.g., attempt a solution), according to the forum rules?
    Follow Math Help Forum on Facebook and Google+

  5. #5
    MHF Contributor

    Joined
    Apr 2005
    Posts
    15,792
    Thanks
    1532
    There are, after all, an infinite number of angles between, say, 30 and 60 degrees- every number between 30 and 60 corresponds to an angle. Are you asking for whole degrees?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Ranges without the aid of a calculator Help
    Posted in the Pre-Calculus Forum
    Replies: 2
    Last Post: August 21st 2010, 08:33 PM
  2. Calculating the angles of the following triangle
    Posted in the Trigonometry Forum
    Replies: 2
    Last Post: August 9th 2010, 02:55 PM
  3. Nulls and Ranges
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: November 10th 2009, 12:38 AM
  4. Percentile Ranges
    Posted in the Statistics Forum
    Replies: 2
    Last Post: November 6th 2009, 04:52 PM
  5. Domains and Ranges
    Posted in the Pre-Calculus Forum
    Replies: 10
    Last Post: March 7th 2008, 06:03 PM

Search Tags


/mathhelpforum @mathhelpforum