Segments AB and CD of the assembly are solid circular rods, and segment BC is a tube. If the assembly is made of 6061-T6 aluminum, determine the displacement of end D with respect to end A.

BE 1500 – Fall 2016 HW 4 Due: 9/29/16 (1:30 P.M.) 1. Write a function file that determines the following sum (for all odd n from 1 to 11) using a for loop. The starting point, ending point, and increment should be input to the function file. 2n+2 y=Σ n−2 function [sum1]=HW5P1(a,b,c) sum1=0; for i=a:b:c sum1=sum1+(2^(i+2))/(i-2); end 2 points 0.25 for correct function header 0.25 for comments 0.5 for initializing sum 0.5 for correct for statement 0.5 for correct sum1 statement 2. The geometric mean of a set of number1 x througn x is defined as the nth root of the prod