%Problem 2 - Write a program that finds the time value at a specific
%percentage of the overall arc length.
%Bracketing Interval = [0,1]
f = @(x)((0.3+7.8*x-14.1*x^2)^2+(0.3+1.8*x-8.1*x^2)^2)^(1/2);
val = bisarclen(.5,.001,f);
sprintf('Time Position at 50 percent of the curve length with a tolerance of .001 is %4.4f',val)
clear