i have a task of Matlab. kindly check the attach image.ANY ONE QUESTION 11:42 online.yildiz.edu.tr upload the
Fantastic news! We've Found the answer you've been seeking!
Question:
i have a task of Matlab. kindly check the attach image.ANY ONE QUESTION
Transcribed Image Text:
11:42 online.yildiz.edu.tr upload the homework to the system by the deadline. The written programs should be added to the homework. 1/4 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 Xç 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. Note 1: Parametric student number Example: 10043052 (abcdefgh respectively) Note 2: abc, ade, and afg are a three-digit number while af and ah are a two-digit number. Note 3: If a is 0, it will be taken as 3. K 1: HOMEWORK 2: ah t (day) 1 T (°C) 2f 2g 2 3 2h abc ALn = (T/3) e L:Length (cm) t : Time (day) T: Temperature (°C) ALi The equation below shows the daily growth rate of crops. Calculate by using MATLAB how many days after planting the seeds the height of the crops exceds 1gh cm. (@ t=0, ALo=0) Show the result as a whole number. 4 5 6 2f -0.04t Note: Parametric student number + 2g O 2h 2f ALi+1 Example: 10043052 (abcdefgh respectively) ade 7 8 9 af 2g 2h ALi+2 D 10 afg 2f X 11 2g 2h **** **** L 11:42 online.yildiz.edu.tr upload the homework to the system by the deadline. The written programs should be added to the homework. 1/4 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 Xç 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. Note 1: Parametric student number Example: 10043052 (abcdefgh respectively) Note 2: abc, ade, and afg are a three-digit number while af and ah are a two-digit number. Note 3: If a is 0, it will be taken as 3. K 1: HOMEWORK 2: ah t (day) 1 T (°C) 2f 2g 2 3 2h abc ALn = (T/3) e L:Length (cm) t : Time (day) T: Temperature (°C) ALi The equation below shows the daily growth rate of crops. Calculate by using MATLAB how many days after planting the seeds the height of the crops exceds 1gh cm. (@ t=0, ALo=0) Show the result as a whole number. 4 5 6 2f -0.04t Note: Parametric student number + 2g O 2h 2f ALi+1 Example: 10043052 (abcdefgh respectively) ade 7 8 9 af 2g 2h ALi+2 D 10 afg 2f X 11 2g 2h **** **** L
Expert Answer:
Answer rating: 100% (QA)
Solution k means clustering Syntax idx kmeansXk idx kmeansXkNameValue idxC kmeans idxC... View the full answer
Related Book For
Fundamentals of Cost Accounting
ISBN: 978-0077398194
3rd Edition
Authors: William Lanen, Shannon Anderson, Michael Maher
Posted Date:
Students also viewed these programming questions
-
- 17 Assume i=5, and the statement while (i-- > 0), then the number of iterations is 4 Select one: out of O a. False O b. True question
-
I have a task to make power point from this journal http://www.airccse.org/journal/cnc/6614cnc05.pdf can you help me and give the point2 and topic what should i explain in my power point i have no...
-
i have a task to make a 3 bit comparator circuit with the criteria below: 1. Active input Low 2. Active Output High 3. Active Enable High please explain what is active input low, active output high,...
-
How important it is to educate ourselves environmental issues impacting the future of tourism i.e., climate change The COVID-19 pandemic has changed the tourism industry forever and will impact our...
-
In an effort to reduce alcohol consumption, the government is considering a $ 1 tax on each gallon of liquor sold (the tax is levied on producers). Suppose that the supply curve for liquor is upward...
-
A personnel director interviewing 11 senior engineers for four job openings has scheduled six interviews for the first day and five for the second day of interviewing. Assume that the candidates are...
-
The force of friction is one of the most common forces that affects our everyday lives, and there are many situations where we either want to minimize or maximize it. Consider a children's playground...
-
Refer to the preceding facts for Packards acquisition of Stude common stock. On January 1, 2012, Packard held merchandise acquired from Stude for $10,000. This beginning inventory had an applicable...
-
3. You purchased a 3 year coupon bond one year ago. Its par value is $1,000 and coupon rate is 6%, paid annually. At the time you purchased the bond, its yield to maturity was 6.5%. Suppose you sell...
-
The Laurenster Corporation is getting into the construction business. A list of activities and their optimistic, most likely, and pessimistic completion times are given in the following table for the...
-
The velocity of a passing train has to be determined. We measure the time (4.2 s) and the distance (200 m). The standard deviation of the time measurement is 0.15 seconds, the standard deviation of...
-
Who invest not less than US$500,000 in the Multi Facility Economic Zones (MFEZ) or a priority sector or product under the ZDA Act, are entitled to one of the following fiscal incentives?
-
A contracted fee schedule has been agreed to by a Provider with an Insurance Company. In this example, a service is $250 per the Provider's fee schedule. The contracted amount is $200.Can the...
-
As a wholesaler, Hadina not only stocks the products but provides credit, delivers the products, and helps price and sell he products. What type of wholesaler is she?
-
How do resource utilization patterns and reallocation of resources relate to student performance?Items to consider in your discussion are why we reallocate resources and how do we reallocate so it...
-
A nonprofit offers you an internship with no pay, but will pay off your student debt today valued at $77,000 (assume no interest will accumulate on it over the next two years). Will you accept the...
-
Calculate the flux integral. Jg(34 +3zk). Nds where S is z = + y with 0x2,0 y 1, N oriented upward f(31 +32k). Nds 4
-
In Problem 8.43, determine the smallest value of for which the rod will not fall out of the pipe. IA -3 in.-
-
Currently, generally accepted accounting principles (GAAP) in the United States require firms to expense research and development (R&D) costs as period costs. Therefore, when the resulting product is...
-
How is computing the cost of customers the same as computing the cost of products? How is the computation different?
-
What are some of the factors that a company needs to consider in addition to cost savings when deciding whether to outsource a service department, such as Information Services?
-
Visa, MasterCard, American Express, and Discover control practically all credit card transactions in the United States. The credit card industry is a two-sided market; that is, cardholders benefit...
-
Clarett sought summary judgment on the merits of his antitrust claim. The NFL asserted that Clarett lacked antitrust standing and, as a matter of law, that the eligibility rules were immune from...
-
In June 2014, Penn State Hershey Medical Center and PinnacleHealth System signed a letter of intent for a proposed merger. Hershey is located in Hershey, in Dauphin County in Pennsylvania and...
Study smarter with the SolutionInn App