Ok, I have it and changed it's properties to run as an executable.
If this is a script, I think I see what they are now. It's preconfigured computer language to do something,
and you edit it to do what you want with certain values. Then terminal runs it and gives you useful output.
Ok, here goes:
1. Assuming I can indeed edit this, could I change the line of
to this instead:
#calc_ratio = (wheel1 * wheel2 ) / (pinion1 * pinion2)
#calc_ratio = [(wheel1 / pinion1) * ( wheel2 / pinion2)]
And if I can, could I add more wheels & pinions if I want to try, in this form:
#calc_ratio = [(wheel1 / pinion1) * ( wheel2 / pinion2) * (wheel3 / pinion3) * -ETC-]
2. I see "delta" must equal the error exponentially expressed you mentioned before. Could that, say, be made equal to ZERO,
or at least further out than it is now? This clock needs whatever ratio that gives the smallest error possible- I'll add as many gears
as needed to get that zero error. If it takes 20 gears, so be it. This is to help with an exceptionally precise astronomical clock.
More gears will be used if needed- error is being thought of in long term- 100 years and beyond cumulative.
3. Obviously we are specifying the gear tooth numbers, and then terminal calculates the results of their combination in different orders.
Could this be done without numbers specified, and the computer finds the lowest number of gear teeth to achieve it as variables
w,x,y,& z (and so on)? I'm sure if the answer is yes, I'm looking at LOOOOOONG calculation times.
It is enabled to run as an executable, which I have done with other things before. This however is not running. I tried
running in terminal, nothing happens. Run does nothing too. Display brings up the text to edit. I can't seem to do anything
to run it.
Why are the wheel & pinion numbers defined as 3 different things? Once in pink, again a different number in blue, and near the end as its value +1.
What are the purposes of the values endw and endp (end wheel and end pinion)?
Aside from those, I don't think I understand how it works. I know the values must be constraints, but it's hard to visualize.
And yes, I do have a decent math background (integral/differential engineering calculus, as a non-engineer, but an A- 5 years ago...)