clc
clear
f = input('Enter the force applied in lbs: ');
p_c = input('Enter point closest to pivot: ');
p_f = input('Enter point farthest from pivot: ');
filename = input('name of file is: ','s');
points = input(' # of points to calculate: ');
x = [p_c;rand(points,1)*p_f-p_c+p_c;p_f]...