SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-05-13, 10:32 PM   #1
Dorjun Driver
Loader
 
Join Date: Jul 2012
Location: The Upper Left Edge
Posts: 81
Downloads: 77
Uploads: 0
Default

Quote:
Originally Posted by Dignan View Post
<-- is my face right now. I think I am beginning to understand what you are saying. I'm going to re-read this later and try to digest. Thanks for the explanation. So what I've done is plug this formula by Dorjun into an app called MagiCALc. It's a scientific calculator for the iphone. Here's what I've got.

Lead Angle = asin (V sin A / (V ^ 2 + T ^ 2 - 2VT cos A) ^ 1/2)
V= Target speed
T= Torpedo Speed
A= Track angle/Intercept angle.

The program automatically recognizes my variables and asks for input. When I input the following values for each as a test...

V(Target speed) = 9
T (Torp speed) = 30
A (Intercept angle) = 75

...it spits out (= -0.11)
I take this to mean an 11 degree lead angle. Is that how I should be doing this?

I tried it with a different lead angle variable again to be sure.
V(Target speed) = 9
T (Torp speed) = 30
A (Intercept angle) = 135

and it spit out (=0.02). or a 2 degree lead angle
That doesn't seem right to me. Can anyone see what I've done wrong here? Is my formula off? Do I need to make the calculator see my output "Lead Angle" as an angle and not a straight number value or something?

Pisces, thanks again for the trig refresher. While I love playing this game, this has reminded me why I was a "social science" person
.
What Pisces said. It appears your calculator wants radians as input. Sooo:

asin (V sin RADIANS(A) / (V ^ 2 + T ^ 2 - 2VT cos RADIANS(A) ^ 1/2)

Or something to that effect. The output of asin(whatever), may be considered a scalar. But it ain't.

Your inputs from above should spit out 17.4 and 9.9 respectively.

Now. Who's working on the Q and D spread calculator?
Dorjun Driver is offline   Reply With Quote
Old 03-05-13, 10:50 PM   #2
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by Dorjun Driver View Post
What Pisces said. It appears your calculator wants radians as input. Sooo:

asin (V sin RADIANS(A) / (V ^ 2 + T ^ 2 - 2VT cos RADIANS(A) ^ 1/2)

Or something to that effect. The output of asin(whatever), may be considered a scalar. But it ain't.

Your inputs from above should spit out 17.4 and 9.9 respectively.

Now. Who's working on the Q and D spread calculator?
Ok, thanks. I'll see if I can figure out how to switch it to Radian output.

Before I try, doesn't putting "sin" before my A make it read that input as radians?
__________________

Last edited by Dignan; 03-05-13 at 11:02 PM.
Dignan is offline   Reply With Quote
Old 03-05-13, 11:00 PM   #3
Dorjun Driver
Loader
 
Join Date: Jul 2012
Location: The Upper Left Edge
Posts: 81
Downloads: 77
Uploads: 0
Default

No no no! Just use the radians() function to convert your degree input to the format your calculators sin()/cos() functions want.

While hell is breaking loose we don't want to be dividing stuff by transcendental numbers! Next thing you know, you'll want to compute just how close you can shave that shot. Anywhere in the engine room will be fine. Honest.
Dorjun Driver is offline   Reply With Quote
Old 03-06-13, 08:27 AM   #4
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by Dorjun Driver View Post
No no no! Just use the radians() function to convert your degree input to the format your calculators sin()/cos() functions want.

While hell is breaking loose we don't want to be dividing stuff by transcendental numbers! Next thing you know, you'll want to compute just how close you can shave that shot. Anywhere in the engine room will be fine. Honest.
Ha! 10-4 on that. The calculator I'm using removes the parentheses from the sin(A) and Cos(A)when I try to save it. That seems to be my problem. I'll putz with it some more. Thanks
__________________

Last edited by Dignan; 03-06-13 at 09:50 AM.
Dignan is offline   Reply With Quote
Old 03-06-13, 11:19 AM   #5
Pisces
Silent Hunter
 
Join Date: Dec 2004
Location: AN9771
Posts: 4,839
Downloads: 309
Uploads: 0
Default

To switch between degrees and radian and gradians on a Casio you have to press the mode button and then 4, 5, or 6. See the legend under the display.

Quote:
Your inputs from above should spit out 17.4 and 9.9 respectively.
Agreed. If you get a number like 0.11 as a result for degrees, then it will infact be 0.11 degrees, NOT 11.

If it was a logarithmic sliderule then that decimal point fudging might make sense. But that method doesn't hold with a digital scientific calculator.
Pisces is offline   Reply With Quote
Old 03-06-13, 03:45 PM   #6
Pisces
Silent Hunter
 
Join Date: Dec 2004
Location: AN9771
Posts: 4,839
Downloads: 309
Uploads: 0
Default

Oh yeah, I forgot to add:

Dorjun Driver's formula can be significantly simplified if you know the AOB:

Deflection = arcsin ( Vship * sin AOB / Vtorpedo)
Pisces is offline   Reply With Quote
Old 03-06-13, 04:37 PM   #7
Dorjun Driver
Loader
 
Join Date: Jul 2012
Location: The Upper Left Edge
Posts: 81
Downloads: 77
Uploads: 0
Default

The object of the exercise was to develop a solution with as little information about the target as possible, i.e., speed. All other data are up to the sub driver.
Dorjun Driver is offline   Reply With Quote
Old 03-06-13, 05:29 PM   #8
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by Pisces View Post
Oh yeah, I forgot to add:

Dorjun Driver's formula can be significantly simplified if you know the AOB:

Deflection = arcsin ( Vship * sin AOB / Vtorpedo)
When you say AOB for this formula do you mean the AOB Of the target at the given moment you compute the solution or do you mean the intercept/track angle formed by the sub course and target course? I guess I dont understand the difference between aob and track angle in this situation.

EDIT: I continue to have a hell of a time getting this formula to work on my scientific calculator. It just doesn't want to recogize my A input as radians. I've tried everything. What would I have to multiply my angle input (A in this case) by to convert it to RADIANS within the formula? Maybe I'll have to do it that way. For instance:

Lead Angle = asin (V sin (conversion value for Radians)A / (V ^ 2 + T ^ 2 - 2VT cos (
conversion value for Radians)A) ^ 1/2).

what would this value have to be? pi/180? A(pi)/180? A*(
57.29577951 / pi), as mentioned before by pisces? I appreciate all the help thus far.


__________________

Last edited by Dignan; 03-06-13 at 10:32 PM.
Dignan is offline   Reply With Quote
Old 03-07-13, 12:43 PM   #9
Dorjun Driver
Loader
 
Join Date: Jul 2012
Location: The Upper Left Edge
Posts: 81
Downloads: 77
Uploads: 0
Default

No parallax, no reach, and no turning radius. KISS
Dorjun Driver is offline   Reply With Quote
Old 03-07-13, 09:03 PM   #10
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by Dorjun Driver View Post
What Pisces said. It appears your calculator wants radians as input. Sooo:

asin (V sin RADIANS(A) / (V ^ 2 + T ^ 2 - 2VT cos RADIANS(A) ^ 1/2)

Or something to that effect. The output of asin(whatever), may be considered a scalar. But it ain't.

Your inputs from above should spit out 17.4 and 9.9 respectively.

Now. Who's working on the Q and D spread calculator?
Ok, I think I'm close to cracking this. I figured out the radian functions on my calculator are a different set of buttons with the "degree symbol" after it, ironically (see below)

La = asin˚ (V sin˚ A / (V ^ 2 + T ^ 2 - 2VT cos˚ A) ^ 1/2)

V=target speed
T=Torp speed
A=track angle


When I input the following like before
V=9
T=30
A=75

...I get 15.5 for a lead angle. Not the 17.4 Dorjun said I should get but closer. Anyone see any flaws with this formula now that the trig functions are set to radians?
__________________

Last edited by Dignan; 03-07-13 at 09:34 PM.
Dignan is offline   Reply With Quote
Old 03-07-13, 11:23 PM   #11
Dorjun Driver
Loader
 
Join Date: Jul 2012
Location: The Upper Left Edge
Posts: 81
Downloads: 77
Uploads: 0
Default

I don't know what to tell ya. Using your formula above I keep getting 17.4. I could be entering the same wrong numbers repeatedly, but...
Dorjun Driver is offline   Reply With Quote
Old 03-08-13, 12:09 AM   #12
BigWalleye
Sea Lord
 
Join Date: Jul 2012
Location: On the Eye-lond, mon!
Posts: 1,973
Downloads: 465
Uploads: 0


Default

Maybe the point of confusion is that the intercept angle in Dorjun Driver's original diagram is NOT the track angle, but 180-the track angle. And what is marked as "theta sub track" in DD's second diagram is actually the intercept angle, again 180-the track angle. Track angle - whether ownship track angle or torpedo track angle - is equal to the AoB at the point where the tracks intersect, either ownship track and target track or torpedo track and target track. In either case, the intercept angle is 180-(AoB at intercept). I'm pretty sure Dignan will get the correct result if he uses 180-Track angle in his calculations. And DD's formula is correct for intercept angle not AoB and not track angle.

BTW, I believe that what is marked as "theta sub torpedo track" is in fact the torpedo track angle. It is only "theta sub track" which is on the wrong side of ownship track line.

Or I'm trying to figure this out too late at night and have it all wrong....

"I'm getting too old for this ****"! - Danny Glover, Lethal Weapon

Further clarification: Please see the diagram on Page 1-12, SLM-1.

Last edited by BigWalleye; 03-08-13 at 12:26 AM.
BigWalleye is offline   Reply With Quote
Old 03-08-13, 03:25 AM   #13
TorpX
Silent Hunter
 
Join Date: Sep 2010
Posts: 3,969
Downloads: 153
Uploads: 11
Default

BW, you are right about the angles not being marked off right. The track angle should be taken from where the target is going to where the sub is. The torpedo track angle, TTa is not always the same as the track angle, Ta, but as this thread is titled "Zero gyro shooting", the TTa should be the same as the Ta. Trying to make use of formulas derived for zero gyro shots in non-zero gyro shots will likely lead to disappointment and frustration.


BTW, for this:
V=target speed
T=Torp speed
A=track angle

When I input the following like before
V=9
T=30
A=75


I get a lead angle of 15.05 deg.
TorpX is offline   Reply With Quote
Old 03-08-13, 03:44 AM   #14
Dorjun Driver
Loader
 
Join Date: Jul 2012
Location: The Upper Left Edge
Posts: 81
Downloads: 77
Uploads: 0
Default

Quote:
Originally Posted by BigWalleye View Post
Or I'm trying to figure this out too late at night and have it all wrong....
Too late? Way too early my friend, way too early. Late or early, I think my second diagram is correct.

Whatever the correct nomenclature, if the target is steaming along the green line, and you fire your torpedo when the target arrives at the intersection of the green and blue lines, and the torpedo travels down the red line, the torpedo and target will meet at the intersection of the red and green lines. Much to the target's chagrin.

And for the record, using “the formula” as written, I achieve accuracy sufficient to put my torpedoes pretty much where I aim—under the stack, 5’ below indicated draft—every shot. Discounting duds and deep runners, I’ve yet to use more than one fish to sink ships displacing, up to and including, 8150 tons. So there.

TorpX, I'm still getting 17.4 degrees. Perhaps I transcribed my "working" Casio/Excel formula improperly. I'll check into it.

If I were Bill O'Reilly, I'ld be tempted to let this whole thing go with a simple "You can't explain that!" But I'm not, so I won't.

TMC/RSRDC/OTC
Dorjun Driver is offline   Reply With Quote
Old 03-08-13, 04:52 AM   #15
Dorjun Driver
Loader
 
Join Date: Jul 2012
Location: The Upper Left Edge
Posts: 81
Downloads: 77
Uploads: 0
Default

I can find nothing amiss on either platform.

If anyone knows how to attach an Excel sheet, I'll be happy to share.
Dorjun Driver is offline   Reply With Quote
Reply

Tags
torpedo, trigonometry, zero gyro

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 03:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.