Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A program that calculates the center of gravity of the shaded area shown in the figure using the MATLAB program. Write a program. In the

A program that calculates the center of gravity of the shaded area shown in the figure using the MATLAB program.
Write a program. In the program, the user divides the area into sections and determines the centers of gravity.
enter the coordinates in vector form with two numbers (XC and YC) and the area of each section with one number (AC).
It should be requested to enter with the function. Additionally, when the program is run, XC coordinates appear in the first column,
YC coordinates in the second column, AC fields in the third column, the product Xc Ac in the fourth column
It is expected to show a table with values and the product values Yc Ac in the fifth column.
Following the table, the coordinates of the center of gravity of the shaded area are expected to be shown.
Find the results with two digits after the comma.
Note 1: Parametric student number
Example: 22042903(abcdefgh respectively)
Note 2: abc, ade and afg are three-digit numbers and af and ah are two-digit numbers.
Note 3: If a is 0, it will be taken as 3.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions