Question: Task 5 : Implement the position _ warren _ truss _ vertices function in the code cell below. # This function determines the x ,
Task : Implement the positionwarrentrussvertices function in the code cell below. # This function determines the xy coordinates of each of the vertices in the top row and bottom row of a Warren Truss. # Parameters: # horizontalspanlength is the total distance that the bridge spans from the leftmost bottom vertice to the rightmost bottom vertex # numberofsegments is the integer number of segments across the bottom of the bridge. # Return values: # a tuple containing two lists of vertices for the top and bottom rows. def positionwarrentrussverticeshorizontalspanlength, numberofsegments : # do not change this line in any way the function name and parameters must remain exactly as specified here pass # ToDo: replace this line by your code # This function determines the xy coordinates of each of the vertices in the top row and bottom row of a Warren Truss. # Parameters: # horizontalspanlength is the total distance that the bridge spans from the leftmost bottom vertice to the rightmost bottom vertex # numberofsegments is the integer number of segments across the bottom of the bridge. # Return values: # a tuple containing two lists of vertices for the top and bottom rows. def positionwarrentrussverticeshorizontalspanlength, numberofsegments : # do not change this line in any way the function name and parameters must remain exactly as specified here pass # ToDo: replace this line by your code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
