bennygod
Structural
- Dec 5, 2005
- 6
Now i've done a search on this site and have seen numerous threads around this subject, but they don't seem to fully answer my question (as they often revert to looking up values from the tables in DIN 5480-2). I'm putting together a spreadsheet that automatically calculates all the data that is listed in the data table in section 9 (Figure 6) of DIN 5480-1. The idea behind these spreadsheet is that the designer need not use the DIN standard or need to look up tables. They simply define the module, no. teeth, tolerance, etc. The final information in the data table concerns the inspection dimensions between pins (Hubs - M1) and across pins (Shafts - M2). Now to determine this you need to solve for β. The standard gives you a BASIC program to iterate to the solution:
10 Print "inv(BETA)"
20 Input B
30 V=0.5
40 A=1/TAN(V)-1/(V+B)
50 If ABS(A)>0.000001 then V=A+V:GOTO 40
60 BETA=(A+V)*57.29577951
70 Print "BETA=";BETA;"Grad
80 End
Now, I wanted to use circular references to determine the value, to avoid macro enabling the workbook or needing the user to click any buttons. I'm having issues with the result. Has anyone any experience with this or has done similar? I'd appreciate any guidance you might be able to offer.
cheers,
10 Print "inv(BETA)"
20 Input B
30 V=0.5
40 A=1/TAN(V)-1/(V+B)
50 If ABS(A)>0.000001 then V=A+V:GOTO 40
60 BETA=(A+V)*57.29577951
70 Print "BETA=";BETA;"Grad
80 End
Now, I wanted to use circular references to determine the value, to avoid macro enabling the workbook or needing the user to click any buttons. I'm having issues with the result. Has anyone any experience with this or has done similar? I'd appreciate any guidance you might be able to offer.
cheers,