Being a 4th year mech. engineering student, you would think I could figure this out. But, for some reason, I can't get the right values. I am designing a bend test fixture for a company I am co-oping for, and although the idea isn't final yet, I figured I'd get a head start on this particular idea. I am looking to setup MATLAB code to give the X- and Y-coordinates for the bend test idea pictured below. The idea came from an article that gave some formulas, but they didn't really help me in my MATLAB code. Here are the formulas given, and the schematic of the fixture: θ = L0/r X = (L0/θ)*sin(θ) Y = (L0/θ)*[1–cos(θ)] where (inputs): r = bend radius L0 = specimen length [PLAIN]http://a.imageshack.us/img251/2532/idea2schem.png [Broken] Can anyone give me a clue as to how I would be able to calculate the X- and Y-coordinates for this setup? We will have two linear motors driving these directions, and would like to go from straight to bent to straight to bent the other direction. Let me know what you can come up with... Thanks.