tropostudio
Senior Member
- Joined
- Dec 17, 2014
- Messages
- 178
- Reaction score
- 58
- Location
- St. Paul, MN, USA
I am using Excel Solver in the Recalc button. That is used when you change the approximation interval. 'n' in cell C4 can vary from 8-2048 in both the Euler Spiral or Horn Curve worksheets. I'll start with the Euler Spiral worksheet because it was easier to put together and the first one I did.
Orange cells are for input. gey cells with orange type are calculations. Cells below the calcs are arrays that are resized and recalculated when you use the Re-Calc button. Total curve length, S, andMaximum Curvature, kmax can be adjusted, but if you are looking for the curve that ranges through x=1 to x=o, you can leave those alone. I usually leave C7, kmin, =0. That is at x=1, and asymptotic to a vertical line
It is possible to do an ad-hoc Solver routine that sets J10 to 1 by varying C6, but it really works better to 'bit bang' C6 until you get a value at J10 close to 1. The yellow highlighting indicates we are looking at varies from theta = o - pi/2 rad. O10 is the scaling factor that normalizes x max to x=1. R10 is the normalized total energy in the curve. You can look through the cell formulas and VBA macros to figure out the est. The Re-Calc Curve button cycles through updating the values and re-drawing the charts.
I'll get to the Horn Curve later, but it's similar. The geometry is just more work and calculation time than it takes to graph an Euler Spiral.
Orange cells are for input. gey cells with orange type are calculations. Cells below the calcs are arrays that are resized and recalculated when you use the Re-Calc button. Total curve length, S, andMaximum Curvature, kmax can be adjusted, but if you are looking for the curve that ranges through x=1 to x=o, you can leave those alone. I usually leave C7, kmin, =0. That is at x=1, and asymptotic to a vertical line
It is possible to do an ad-hoc Solver routine that sets J10 to 1 by varying C6, but it really works better to 'bit bang' C6 until you get a value at J10 close to 1. The yellow highlighting indicates we are looking at varies from theta = o - pi/2 rad. O10 is the scaling factor that normalizes x max to x=1. R10 is the normalized total energy in the curve. You can look through the cell formulas and VBA macros to figure out the est. The Re-Calc Curve button cycles through updating the values and re-drawing the charts.
I'll get to the Horn Curve later, but it's similar. The geometry is just more work and calculation time than it takes to graph an Euler Spiral.
