+ Reply to Thread
Results 1 to 3 of 3

determine sine minimum and maximum within an interval

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    Brunssum
    MS-Off Ver
    Excel 2003
    Posts
    17

    Question determine sine minimum and maximum within an interval

    Hello,

    I'm trying to determine the minimum and maximum value of the sine function within a set interval. I can't find an easy way to do this so I'm asking here for help.

    The two input values are variable and lie within the range of -90º to + 450º. It's easy to determine the value of the sine function for the start and end of the interval, e.g. sin(-35) and sin(276), but how do I determine if there is an absolute maximum (with value 1) or absolute minimum (with value -1) within that range?
    I would then implement a check to determine the maximum and the minimum values of those at maximum 4 different values.
    If possible I prefer not to have a VBA solution, but if it's easier or better that would still be OK.

    Any help is appreciated!

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,823

    Re: determine sine minimum and maximum within an interval

    Since you know that the absolute maximum value for the sine function occurs at 90° (pi/2 radians), then you could simply test for minimum angle<=90<= maximum angle. Similar for the absolute minimum of the sine function. If your defined angle intervals does not include these two points, then you need only evaluate the sine function at the endpoints of the interval and determine which is max and which is min for that interval.

    If you wanted to, you might consider a generic numeric approach. In Excel, this might be easiest using the Solver add-in. Enter the sine function and the interval in a spreadsheet. Then set up the Solver model to maximize (or minimize) the cell with the sine function by changing the angle subject to constraints that the angle is between the defined angles.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    04-19-2013
    Location
    Brunssum
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: determine sine minimum and maximum within an interval

    That's exactly what I needed to know!

    I was testing and analysing the separate intervals between peaks intead of just testing for the peaks themselves, which is a lot easier! I was so close and just didn't think of it...

    Thank you for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. minimum value out of maximum values
    By shamym in forum Excel General
    Replies: 9
    Last Post: 01-21-2015, 05:42 AM
  2. Minimum and maximum value of a group
    By dvnr_76 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2014, 02:04 AM
  3. [SOLVED] Determine if whole number exists between a minimum and maximum value
    By ocgiraffe in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-14-2014, 11:07 AM
  4. How to find the minimum value of an unknown interval?
    By marlonsaveri in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2011, 01:37 PM
  5. Maximum and Minimum
    By lurchybold in forum Excel General
    Replies: 6
    Last Post: 10-13-2010, 11:04 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1