Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 30-03-2015, 16:14   #31
Registered User
 
StuM's Avatar

Cruisers Forum Supporter

Join Date: Nov 2013
Location: Port Moresby,Papua New Guinea
Boat: FP Belize Maestro 43 and OPBs
Posts: 12,891
Re: Trigonometry question...

For any practical tacking course in a sailboat, plane geometry is close enough.
StuM is offline   Reply With Quote
Old 30-03-2015, 22:12   #32
Moderator
 
Seaworthy Lass's Avatar

Cruisers Forum Supporter

Join Date: Oct 2008
Boat: Bestevaer 49
Posts: 16,151
Re: Trigonometry question...

Quote:
Originally Posted by barnakiel View Post
That's only when the WPTs are close by. For distant WPTs you will be using spherical geometry and cos of the angle will not apply. See orthodrome distance and spherical triangle formulas.

b
It is close enough for several dozen nm.
It is primarily an academic exercise anyway - the true wind cannot be expected to stay constant in direction, so a huge error is introduced there.
__________________
SWL (enthusiastic amateur)
"To me the simple act of tying a knot is an adventure in unlimited space." Clifford Ashley
"The cure for anything is salt water: sweat, tears or the sea." Isak Dinesen

Unveiling Bullseye strops for low friction rings
Seaworthy Lass is offline   Reply With Quote
Old 31-03-2015, 00:56   #33
Registered User

Join Date: Aug 2013
Location: Back in Montt.
Boat: Westerly Sealord
Posts: 8,187
Re: Trigonometry question...

Quote:
Originally Posted by OldFrog75 View Post
I'm trying to compute the distance to a waypoint for a 1 degree change in heading off the wind.

I know 1 degree off course translates to 1 mile off course for every 60 miles sailed. I also know that a boat trying to sail to a waypoint directly into the wind with only one tack will sail a course more or less resembling an isosceles triangle.

My question is: how does one determine the length of the two legs given different degrees off the wind, which when added together will give total distance sailed. ...........

Why not just pick up a second hand copy of Nories Nautical Tables and use the Traverse tables that you shall find therein? What you are trying to do is a very simple example of the "Day's Work" problem....
__________________
A little bit about Chile can be found here https://www.docdroid.net/bO63FbL/202...anchorages-pdf
El Pinguino is offline   Reply With Quote
Old 31-03-2015, 07:11   #34
Registered User
 
OldFrog75's Avatar

Join Date: Feb 2013
Location: Santa Monica, CA
Boat: Club Sailor; various
Posts: 922
Re: Trigonometry question...

Quote:
Originally Posted by El Pinguino View Post
Why not just pick up a second hand copy of Nories Nautical Tables and use the Traverse tables that you shall find therein? What you are trying to do is a very simple example of the "Day's Work" problem....
I might ultimately do that very thing but for now I'm having too much fun playing with my spreadsheets. I'm getting to that age where it's always good to exercise the mind anyway I can and creating a table vs. buying one helps with that.

Now that I've gotten some familiarity with the Sin, Radian, and COS functions in Excel, I'm working on Trigonometry question #2 - total distance sailed to a way point various degrees off the wind given different tacking angles.

Perhaps a totally meaningless endeavor but it keeps me busy. SWL has her knots (among other things); I have my numbers.

Thanks again to everyone who helped me yesterday.

OldFrog75 is offline   Reply With Quote
Old 31-03-2015, 22:41   #35
Registered User

Join Date: Apr 2007
Location: Australia
Boat: Island Packet 40
Posts: 6,460
Images: 7
Re: Trigonometry question...

The value of a radian in degrees is 360/2Pi I think although in theory it's never going to be exact.
RaymondR is offline   Reply With Quote
Old 31-03-2015, 23:27   #36
Moderator
 
Seaworthy Lass's Avatar

Cruisers Forum Supporter

Join Date: Oct 2008
Boat: Bestevaer 49
Posts: 16,151
Re: Trigonometry question...

Quote:
Originally Posted by RaymondR View Post
The value of a radian in degrees is 360/2Pi I think although in theory it's never going to be exact.
In theory it will always be exact .

Explanation:

The definition of pi is the ratio between a circle's circumference and its diameter (ie circumference/diameter). The diameter is twice the radius (r)
This leads to pi = circumference/2r
So circumference = 2 pi r

The definition of a radian is the angle subtended by an arc that is equal in length to its radius. As a circle's circumference is 2 pi r, this means there are 2 pi radians in a circle.

So given there are 360 degrees in a circle and 2 pi radians in a circle, one radian equals 360/2 pi.

All of this is exact in theory .

Where the precision breaks down in practice is that the value of pi goes on forever without repeating (mind boggling isn't it!).

I think excel spreadsheet use a value up to 15 digits. Close enough to being precise for even the most exacting sailor's needs .

SWL
__________________
SWL (enthusiastic amateur)
"To me the simple act of tying a knot is an adventure in unlimited space." Clifford Ashley
"The cure for anything is salt water: sweat, tears or the sea." Isak Dinesen

Unveiling Bullseye strops for low friction rings
Seaworthy Lass is offline   Reply With Quote
Old 31-03-2015, 23:53   #37
Registered User
 
StuM's Avatar

Cruisers Forum Supporter

Join Date: Nov 2013
Location: Port Moresby,Papua New Guinea
Boat: FP Belize Maestro 43 and OPBs
Posts: 12,891
Re: Trigonometry question...

Quote:
Originally Posted by Seaworthy Lass View Post
In theory it will always be exact .

..
All of this is exact in theory .

Where the precision breaks down in practice is that the value of pi goes on forever without repeating (mind boggling isn't it!).
...
I think excel spreadsheet use a value up to 15 digits. Close enough to being precise for even the most exacting sailor's needs
In theory, there is no difference between theory and practice.
In practice, there is.
(not Yogi Bera!)

But 15 digits precision means that you could potentially by out by 0.04 nanometers in a circumnavigation of the earth (40,000 Km)
StuM is offline   Reply With Quote
Old 01-04-2015, 00:10   #38
Moderator
 
Seaworthy Lass's Avatar

Cruisers Forum Supporter

Join Date: Oct 2008
Boat: Bestevaer 49
Posts: 16,151
Re: Trigonometry question...

Quote:
Originally Posted by StuM View Post
But 15 digits precision means that you could potentially by out by 0.04 nanometers in a circumnavigation of the earth (40,000 Km)
I was wrong then. It is not "close enough to being precise for even the most exacting sailor's needs". We have some very exacting sailors here on CF .

SWL
__________________
SWL (enthusiastic amateur)
"To me the simple act of tying a knot is an adventure in unlimited space." Clifford Ashley
"The cure for anything is salt water: sweat, tears or the sea." Isak Dinesen

Unveiling Bullseye strops for low friction rings
Seaworthy Lass is offline   Reply With Quote
Old 01-04-2015, 00:11   #39
Moderator
 
Seaworthy Lass's Avatar

Cruisers Forum Supporter

Join Date: Oct 2008
Boat: Bestevaer 49
Posts: 16,151
Re: Trigonometry question...

Quote:
Originally Posted by OldFrog75 View Post
Now that I've gotten some familiarity with the Sin, Radian, and COS functions in Excel, I'm working on Trigonometry question #2 - total distance sailed to a way point various degrees off the wind given different tacking angles.

Perhaps a totally meaningless endeavor but it keeps me busy. SWL has her knots (among other things); I have my numbers.
OldFrog, we have something in common - I love numbers too .
And trigonometry is just a puzzle, not unlike crossword puzzles or sudoku . Not meaningless endeavours at all.

The puzzle you have set yourself is more challenging than the first exercise where your destination was directly into wind.
It still only needs the most basic principles applied, but more triangles need to be solved, so the whole thing becomes more complex.

If you haven't done much trigonometry before, here are the basics:

- The three angles inside any triangle add up to 180 degrees.

- If you have a right angled triangle (ie one side is perpendicular to another), then the sum of the squares of the two short sides equals the square of the long side.

- The relationship between the angles and the sides is given by the sin, cos, tan functions (found on many even basic calculators nowadays).
sin angle = length side opposite to the angle/ length of the longest side
cos angle = length side adjacent to the angle/ length of the longest side
tan angle = length side opposite to the angle/ length side adjacent to the angle

The angle can be specified in degrees or radians, but as you have found out excel only takes radians, so you need to convert (or tell excel to convert, as Stu showed you how).

To solve any problem like the one you have set yourself, you need to draw a diagram of the situation and then find how you can draw in right angled triangles so you can solve the problem using the above tools (setting this up is usually the key to solving the problem).

You just need two bits of info to solve any right angled triangle - one of the two smaller angles and the length one of the sides, or the length of two of its sides. From this you can determine all three angles and the length of all three sides.

If you are keen to pursue this, just yell if you need any help. This is a fun puzzle .

SWL
__________________
SWL (enthusiastic amateur)
"To me the simple act of tying a knot is an adventure in unlimited space." Clifford Ashley
"The cure for anything is salt water: sweat, tears or the sea." Isak Dinesen

Unveiling Bullseye strops for low friction rings
Seaworthy Lass is offline   Reply With Quote
Old 01-04-2015, 00:59   #40
Registered User

Join Date: Apr 2007
Location: Australia
Boat: Island Packet 40
Posts: 6,460
Images: 7
Re: Trigonometry question...

Quote:
In theory it will always be exact
Oh good, someone has finally worked out Pi to a sufficient number of decimal places to get an absolutely exact value. I was not aware of that (either that or they finally reached infinity and consider that good enough?)

(This thread could rapidly go the way of the Arctic (or was it Antarctic) ice cover one)
RaymondR is offline   Reply With Quote
Old 01-04-2015, 01:06   #41
Moderator
 
Seaworthy Lass's Avatar

Cruisers Forum Supporter

Join Date: Oct 2008
Boat: Bestevaer 49
Posts: 16,151
Re: Trigonometry question...

Quote:
Originally Posted by Seaworthy Lass View Post
If you haven't done much trigonometry before, here are the basics:

- The three angles inside any triangle add up to 180 degrees.

- If you have a right angled triangle (ie one side is perpendicular to another), then the sum of the squares of the two short sides equals the square of the long side.

- The relationship between the angles and the sides is given by the sin, cos, tan functions (found on many even basic calculators nowadays).
sin angle = length side opposite to the angle/ length of the longest side
cos angle = length side adjacent to the angle/ length of the longest side
tan angle = length side opposite to the angle/ length side adjacent to the angle

The angle can be specified in degrees or radians, but as you have found out excel only takes radians, so you need to convert (or tell excel to convert, as Stu showed you how).

To solve any problem like the one you have set yourself, you need to draw a diagram of the situation and then find how you can draw in right angled triangles so you can solve the problem using the above tools (setting this up is usually the key to solving the problem).

You just need two bits of info to solve any right angled triangle - one of the two smaller angles and the length one of the sides, or the length of two of its sides. From this you can determine all three angles and the length of all three sides.
Pictures tell a thousand words, so here is a diagram of all the trig basics you need to know (nothing else needed). This will make it clearer:

__________________
SWL (enthusiastic amateur)
"To me the simple act of tying a knot is an adventure in unlimited space." Clifford Ashley
"The cure for anything is salt water: sweat, tears or the sea." Isak Dinesen

Unveiling Bullseye strops for low friction rings
Seaworthy Lass is offline   Reply With Quote
Old 01-04-2015, 02:55   #42
Registered User
 
StuM's Avatar

Cruisers Forum Supporter

Join Date: Nov 2013
Location: Port Moresby,Papua New Guinea
Boat: FP Belize Maestro 43 and OPBs
Posts: 12,891
Re: Trigonometry question...

OK, I'm sitting in a hotel room in Buka with nothing else to do so:


Vertical lines are Wind direction
CD is at 90 degrees to Wind Direction

Code:
DAC = TA (tacking Angle)
DAB = WA (Wind angle)

Since wind lines are parallel,
     ACD = 90 - TA
and BCA = 90 - TA

A =  TA - WA
C = 180 - 2TA

The three angles of a triangle add up  to 180, so

     B = 180 - (180 -2TA)  -(TA - WA)
         = 2TA - TA + WA
         = TA + WA
Let c = 1

The Law of Sines :
  a        b          c   
----  =  ----   =   ----
sin(A)   sin(B)    sin(C)

a = sin(A)  and   b =   sin(B) 
  --------            ---------
   sin(C)              sin(C)

so DISTANCE SAILED (b + c)
     sin(A) + sin(B)
=    ---------------
        sin(C)

   sin(TA - WA) + sin(TA + WA)
=  --------------------------
       sin (180 - 2TA)
Here's an Excel spreadsheet that does it:




and the formula for Cell B5:

=(SIN(RADIANS(B1-B2))+SIN(RADIANS(B1+B2)))/SIN(RADIANS(180-2*B1))*B3

and not a single right angled triangle used
StuM is offline   Reply With Quote
Old 01-04-2015, 07:48   #43
Registered User
 
andres's Avatar

Join Date: May 2009
Location: Uruguay
Boat: Wharram Tiki 26
Posts: 40
Re: Trigonometry question...

Hi Stum,

I think your formula can be simplified using some trigonometric formulas:

sin(A-B) = sin(A) cos(B) - cos(A) sin(B)
sin(A+B) = sin(A) cos(B) + cos(A) sin(B)

then

sin(A-B) + sin(A+B) = 2 sin(A) cos(B)

and

sin(180-2A) = sin(2A)
sin(2A) = sin(A+A) = 2 sin(A) cos(A)

so

sin(180-2A) = 2 sin(A) cos(A).

then

[sin(A-B) + sin(A+B)/[sin(180-2A)] = [2 sin(A) cos(B)]/[2 sin(A) cos(A)]
= cos(B)/cos(A).

Taking A= TA and B = WA, we get

[sin(TA-WA) + sin(TA+WA)/[sin(180-2A)] = cos(WA)/cos(TA)

When your destination is exactly in the direction of the wind, then WA=0 and you get 1/[cos(TA)]; this is the case first proposed by OldFrog75.
In this last situation your triangle ABC is isosceles and DCA is a rectangular triangle.

But your formula is more general.
andres is offline   Reply With Quote
Old 01-04-2015, 08:02   #44
Registered User
 
OldFrog75's Avatar

Join Date: Feb 2013
Location: Santa Monica, CA
Boat: Club Sailor; various
Posts: 922
Re: Trigonometry question...

Quote:
Originally Posted by Seaworthy Lass View Post
OldFrog, we have something in common - I love numbers too .

And trigonometry is just a puzzle, not unlike crossword puzzles or sudoku . Not meaningless endeavours at all.

The puzzle you have set yourself is more challenging than the first exercise where your destination was directly into wind.
It still only needs the most basic principles applied, but more triangles need to be solved, so the whole thing becomes more complex.

You just need two bits of info to solve any right angled triangle - one of the two smaller angles and the length one of the sides, or the length of two of its sides. From this you can determine all three angles and the length of all three sides.

If you are keen to pursue this, just yell if you need any help. This is a fun puzzle .

SWL
Thanks for the encouragement. Spent a few hours working on it yesterday and finally got the spreadsheet finished using some of the logic you expressed but primarily SIN functions.

Set it up so I can adjust for various degrees of pointing ability and wind shift (independent variables) to determine how that affects total distance sailed to the waypoint.

Although "finished", I'm sure I'll continue tweaking it until absolutely certain my formulas and assumptions are correct, the most challenging for me being the angle at the first tack for a given degree of wind shift. Might never use it but it sure is pretty.
OldFrog75 is offline   Reply With Quote
Old 01-04-2015, 08:23   #45
Registered User
 
OldFrog75's Avatar

Join Date: Feb 2013
Location: Santa Monica, CA
Boat: Club Sailor; various
Posts: 922
Re: Trigonometry question...

Quote:
Originally Posted by StuM View Post
OK, I'm sitting in a hotel room in Buka with nothing else to do so:


Vertical lines are Wind direction
CD is at 90 degrees to Wind Direction

Code:
DAC = TA (tacking Angle)
DAB = WA (Wind angle)

Since wind lines are parallel,
     ACD = 90 - TA
and BCA = 90 - TA

A =  TA - WA
C = 180 - 2TA

The three angles of a triangle add up  to 180, so

     B = 180 - (180 -2TA)  -(TA - WA)
         = 2TA - TA + WA
         = TA + WA
Let c = 1

The Law of Sines :
  a        b          c   
----  =  ----   =   ----
sin(A)   sin(B)    sin(C)

a = sin(A)  and   b =   sin(B) 
  --------            ---------
   sin(C)              sin(C)

so DISTANCE SAILED (b + c)
     sin(A) + sin(B)
=    ---------------
        sin(C)

   sin(TA - WA) + sin(TA + WA)
=  --------------------------
       sin (180 - 2TA)
Here's an Excel spreadsheet that does it:




and the formula for Cell B5:

=(SIN(RADIANS(B1-B2))+SIN(RADIANS(B1+B2)))/SIN(RADIANS(180-2*B1))*B3

and not a single right angled triangle used
Hallelujah! I set up my spreadsheet formulas differently than yours but when I entered the independent variables (TA, Wind, Distance) in your example and hit the enter button I got the exact same result for distance sailed.

My biggest skepticism was trusting that I was correct in my assumption that (C = 180 -2TA).

Now that a second party has confirmed that to be true, I feel much more confident in my results.

Thanks for playing!
OldFrog75 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Technical question - bank state-of-charge question Zanshin Electrical: Batteries, Generators & Solar 11 17-01-2014 11:10
Age old question.. or is an old question of age? xeon_tsd Dollars & Cents 27 24-02-2013 05:47
Question About a Question... J Ventura Forum Tech Support & Site Help 1 15-03-2010 08:26
KEEL/BALLAST QUESTION?? PLUS EXTRA CREDIT QUESTION ;) stephenronning Monohull Sailboats 3 21-03-2009 03:19

Advertise Here


All times are GMT -7. The time now is 22:26.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.