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, 07:31   #16
Registered User

Join Date: Oct 2010
Posts: 50
Re: Trigonometry question...

Quote:
Originally Posted by OldFrog75 View Post
What goes inside the parentheses for PI()? Didn't quite understand that.
Nothing go in the parentheses. The () tells excel that PI() is a function and to evaluate it. Excel then evaluates it by replacing PI() with the mathematical value of pi (3.1415926...) to very high precision. It is just a querk in Excel's programming language.

Doug
dougdaniel is offline   Reply With Quote
Old 30-03-2015, 13:06   #17
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
Nothing, if you enter PI() then the value for pi is inserted.
I'm using Excel spreadsheet and not getting the right answers. Might be using wrong formulas for example:

=COS(30)
=1/COS(30)
=1/(COS(2*PI()/30))

None of these formulas give me the expected result:

A = 0.15; not 0.866
B = 6.48; not 1.15
C = 1.02; not 1.15

It appears I have to convert to radians or something.
OldFrog75 is offline   Reply With Quote
Old 30-03-2015, 13:15   #18
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...

Simplest way to handle the degrees to radians in Excel:

=1/COS(RADIANS(30))
StuM is offline   Reply With Quote
Old 30-03-2015, 13:19   #19
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
I'm using Excel spreadsheet and not getting the right answers. Might be using wrong formulas for example:

=COS(30)
=1/COS(30)
=1/(COS(2*PI()/30))

None of these formulas give me the expected result:

A = 0.15; not 0.866
B = 6.48; not 1.15
C = 1.02; not 1.15

It appears I have to convert to radians or something.
The formula given by Dougdaniel is incorrect.
This is the correct one.

L8 is the distance in a straight line:

Quote:
Originally Posted by Seaworthy Lass View Post
... the distance travelled tacking =L8/(COS(2*PI()*L7/360))
Where L7 is the angle off the true wind in degrees.

OldFrog, if you are using a calculator, it may have a cos button. Just check 'deg' is written in tiny writing in the corner of the screen (if not, press the deg/rad button), enter the angle off the true wind and hit 'cos'.

All you need to do is divide the actual straight line distance by this figure and you have the distance travelled tacking .

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 30-03-2015, 13:34   #20
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
The formula given by Dougdaniel is incorrect.
This is the correct one.

L8 is the distance in a straight line:

Thanks. That works.

But why doesn't "=COS(30)" or "1/COS(30)"?


Never mind. I figured it out. Should be:

"=COS(Radians(30))" or "1/COS(Radians(30))"
OldFrog75 is offline   Reply With Quote
Old 30-03-2015, 13:37   #21
Registered User

Join Date: Oct 2010
Posts: 50
Re: Trigonometry question...

Quote:
Originally Posted by OldFrog75 View Post
I'm using Excel spreadsheet and not getting the right answers. Might be using wrong formulas for example:

=COS(30)
=1/COS(30)
=1/(COS(2*PI()/30))

None of these formulas give me the expected result:

A = 0.15; not 0.86
B = 6.48; not 1.15
C = 1.02; not 1.15
I have prepared an excel spreadsheet for you and uploaded it.
In it, you enter the straight line distance in B1. This will be the long side of your isosceles triangle.
Enter the angle off the wind in degrees in B2.
I convert degrees to radians for you. The answer will appear in B3.
Then the distance over the bottom appears in B4.

Your third formula is almost right.

If you had tried:
Distance over bottom = straight line distance / (COS(2*PI()*)Angle off wind/360)), you would have had it.

To convert from degrees to radians, divide the angle in degrees by 360 and multiply by the result by twice pi.
dougdaniel is offline   Reply With Quote
Old 30-03-2015, 13:41   #22
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
Simplest way to handle the degrees to radians in Excel:

=1/COS(RADIANS(30))
I just pulled the old netbook out to have a play .

Neat shortcut .
Rather than dividing into 1 though, the top figure need to be the straight line distance.

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 30-03-2015, 13:42   #23
Registered User

Join Date: Oct 2010
Posts: 50
Re: Trigonometry question...

Quote:
Originally Posted by dougdaniel View Post
I have prepared an excel spreadsheet for you and uploaded it.
In it, you enter the straight line distance in B1. This will be the long side of your isosceles triangle.
Enter the angle off the wind in degrees in B2.
I convert degrees to radians for you. The answer will appear in B3.
Then the distance over the bottom appears in B4.

Your third formula is almost right.

If you had tried:
Distance over bottom = straight line distance / (COS(2*PI()*)Angle off wind/360)), you would have had it.

To convert from degrees to radians, divide the angle in degrees by 360 and multiply by the result by twice pi.
I didn't know about the RADIANS operator. That's the easiest way. Doug
dougdaniel is offline   Reply With Quote
Old 30-03-2015, 13:43   #24
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 OldFrog75 View Post
Thanks. That works.

But why doesn't "=COS(30)" or "1/COS(30)"?
Because Excel trig functions work on radians, not degrees. One radian is approximately 57 degrees. So Cos(30) calculates the cosine of 30 radians which is approximately 1719 degrees.
StuM is offline   Reply With Quote
Old 30-03-2015, 13:47   #25
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 dougdaniel View Post

If you had tried:
Distance over bottom = straight line distance / (COS(2*PI()*)Angle off wind/360)), you would have had it.
Nearly right.
You need to leave out the bracket I have underlined

See the formula I gave above (or Stu's neat shortcut).

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 30-03-2015, 14:02   #26
Registered User

Join Date: Oct 2010
Posts: 50
Re: Trigonometry question...

Hi SWL,

Perhaps you can explain why my formula works for me but not you? Did you try the attached spreadsheet?
dougdaniel is offline   Reply With Quote
Old 30-03-2015, 14:10   #27
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 dougdaniel View Post
Hi SWL,

Perhaps you can explain why my formula works for me but not you? Did you try the attached spreadsheet?
I could not see an attached spreadsheet.

Doug, the extra bracket before the word Angle is incorrect.
I have just plugged this in and I get an error message.

Use:
Distance over bottom
= straight line distance/(COS(2*PI()*Angle off wind/360))

NOT
Distance over bottom
= straight line distance / (COS(2*PI()*)Angle off wind/360))

I am sure you have just popped that extra bracket there in error
Please check again.

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 30-03-2015, 14:11   #28
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
Because Excel trig functions work on radians, not degrees. One radian is approximately 57 degrees. So Cos(30) calculates the cosine of 30 radians which is approximately 1719 degrees.

Yeah I finally figured that out. Got my spreadsheet together. Thanks everybody for all your help.

OldFrog75 is offline   Reply With Quote
Old 30-03-2015, 14:14   #29
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 dougdaniel View Post
I have prepared an excel spreadsheet for you and uploaded it.
In it, you enter the straight line distance in B1. This will be the long side of your isosceles triangle.
Enter the angle off the wind in degrees in B2.
I convert degrees to radians for you. The answer will appear in B3.
Then the distance over the bottom appears in B4.

Your third formula is almost right.

If you had tried:
Distance over bottom = straight line distance / (COS(2*PI()*)Angle off wind/360)), you would have had it.

To convert from degrees to radians, divide the angle in degrees by 360 and multiply by the result by twice pi.
Never got the spreadsheet or can't find it. Thanks for the effort but I finally got the formulas straight and was able to build the spreadsheet I wanted.

OldFrog75 is offline   Reply With Quote
Old 30-03-2015, 15:15   #30
Registered User

Join Date: Aug 2009
Location: between the devil and the deep blue sea
Boat: a sailing boat
Posts: 20,437
Re: Trigonometry question...

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
barnakiel 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 02:44.


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.