I have been giving a go, there do seem to be some variations between the two(and I need a magnifier to read the output), but nothing I can put a finger on, yet. wrote a short bit of code for an offline shroud/transition thingy.
INPUT "smaller tube dia"; d1
INPUT "larger tube dia"; d2
INPUT "length of transition"; l
y = (d2 - d1) / 2
sa = 1 / SQR((l / y) ^ 2 + 1)
a = 360 * sa
a2 = sa * 2
r1 = d1 / (2 * sa)
r2 = d2 / (2 * sa)
PRINT "r1 = "; r1
PRINT "r2 ="; r2
PRINT "angle ="; a
still need to figure out/remember how to format the output, don't really need 8 decimal point accuracy, and it isn't idiot proof, but it works.
Rex
ah, for the days when, if I wanted to write a program to pick lotto numbers I could just fire up Qbasic (or do a simple one line equation). anyone try Qb64 (or have other suggestions for a basic editor/interpreter)? thanks
Rex
Enter your email address to join: