I'm drafting finger groove for a custom part for a machine shop. It's a curve that needs to be defined mathematically, both for CAD and their tooling. No, we can't do two straight lines. It needs to match a line that passes through the points:
(0 , 0.08625) --> (0.4375 , 0) --> (1.0625 , 0.0625)
I'd be grateful if someone could show me how to create a math formula for this.
(0 , 0.08625) --> (0.4375 , 0) --> (1.0625 , 0.0625)
I'd be grateful if someone could show me how to create a math formula for this.
-
There are infinitely many curves that could do this.
If you want the easiest answer, you could use a parabola as an approximation.
Put the points in two columns in excel. Make a scatterplot.
Now, right click on the data and add a trendline. Select type polynomial, and enter 2 for order. Make sure the display equation on chart box is checked.
Alternatively, a circle arc could also fit the three points, but it is an algebra nightmare to even begin to attempt. Unless you see a pattern immediately.
If you want the easiest answer, you could use a parabola as an approximation.
Put the points in two columns in excel. Make a scatterplot.
Now, right click on the data and add a trendline. Select type polynomial, and enter 2 for order. Make sure the display equation on chart box is checked.
Alternatively, a circle arc could also fit the three points, but it is an algebra nightmare to even begin to attempt. Unless you see a pattern immediately.
-
Use y = ax^2 +bx + c
plug in each of your (x,y) values and get an equation in a, b, and c for each point.
solve the three equations for the values of a, b, and c
plug in each of your (x,y) values and get an equation in a, b, and c for each point.
solve the three equations for the values of a, b, and c