Calculating endpoint for a function so arc length equals l. I'm trying to simulate a line hanging from a given point using a quadratic function. The line is located at point (x_0, y(x_0)) where y is my quadratic function.
Jaelyn Payne
Answered question
2022-10-23
Calculating endpoint for a function so arc length equals l.
I'm trying to simulate a line hanging from a given point using a quadratic function.
The line is located at point where y is my quadratic function.
Now, the line has length l, and I simulate it hanging and swinging from side to side by changing the quadratic and linear coefficient. This isn't really important in the problem, but I mention it just to give You a full picture.
Now, the problem is, that when I change the coefficients of the formula, the length of the line changes as well, and I have to pick a point in which the line will end so the length can stay the same.
Of course, the simplest way is just to pick a point such that distance from to is equal to l, but this actually calculates the straight-line distance, not the arc length, so for certain coefficeints this becomes really inacurate.
So, the proper way to find would be solving this equation:
For a proper . However, after integrating it's really complicated to "extract" from the equation.
Thinking about this, I have found a stupid idea that doesn't work, but I dont know why, and this is the main point of my question.
So, for this integral exists a antiderivative F(x), so this whole equation can be represented as:
So:
Now, l is a constant, and is set (I'm just solving for ), so is a constant as well. This means, that I just can differentiate the whole equation over and get:
Which is obviously wrong, because it doesn't depend at all on values of l and .
So now, I have two questions: 1. Why is my differentiaton step wrong? 2. Is there any way to simplify solving for this integral?