can you answer in matlab form thank you ah 19 abc=190 ade=142 af=10 Write a program that calculates the centroid of the
Posted: Tue May 24, 2022 7:45 am
can you answer in matlab form thank you ah 19 abc=190 ade=142 af=10 Write a program that calculates the centroid of the shaded area shown in the figure using the MATLAB program. In the program, the user should be asked to divide the area into sections and enter the coordinates of the centroids with two numbers (Xc and Yc) and the area of each section with a number (Ac) with the input function in vector form. Also, when the program is run, it is expected to display a table with Xc coordinates in the first column, Yc coordinates in the second column, Ac areas in the third column, Xc. Ac product values in the fourth column, and Yc. Ac product values in the fifth column. Following the table, it is expected that the coordinates of the centroid of the shaded area will be shown. Find the results with two digits after the comma.
can you answer in matlab form thank you ah 19 abc=190 ade=142 af=10 Write a program that calculates the centroid of the shaded area shown in the figure using the MATLAB program. In the program, the user should be asked to divide the area into sections and enter the coordinates of the centroids with two numbers (Xc and Yc) and the area of each section with a number (Ac) with the input function in vector form. Also, when the program is run, it is expected to display a table with Xc coordinates in the first column, Yc coordinates in the second column, Ac areas in the third column, Xc. Ac product values in the fourth column, and Yc. Ac product values in the fifth column. Following the table, it is expected that the coordinates of the centroid of the shaded area will be shown. Find the results with two digits after the comma.
ah abc O + ade af afg