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)
Solutions Step 1 Solution k means clustering Syntax idx kmeansXk ... 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...
-
Gordon & Moore, CPAs, were the auditors of Fox & Company, a brokerage firm. Gordon & Moore examined and reported on the financial statements of Fox, which were filed with the Securities and Exchange...
-
Find the volume of the solid of revolution generated by revolving about the x-axis the region under each of the following curves. y = 4 - x 2 from x = -2 to x = 2
-
Name the five activities that organizations need to engage in to improve business-IT alignment.
-
The following unadjusted trial balance is prepared at fiscal year-end for Nelson Company. Rent expense and salaries expense are equally divided between selling activities and the general and...
-
Last month when Holiday Creations, Incorporated, sold 39,000 units, total sales were $156,000, total variable expenses were $131,040, and fixed expenses were $38,000. Required: 1. What is the...
-
Following is the unadjusted trial balance for Alcorn Institute as of December 31, 2011, which initially records prepaid expenses and unearned revenues in balance sheet accounts. The Institute...
-
(a) What happens to the price of a 1 year bond with a face value 1,000 and a coupon of 8% when the interest rate decreases from 8% to 6%. [5] (b) Calculate the present value of the following: (i) A...
-
- Use the Net income for tax purposes Federal tax payable before tax credit (Gross tax) Tax credits available Federal tax payable for 2020. (Do not consider provincial tax payable) information to...
-
How much is the income taxes of Mr. and Mrs. A if opted to use th 8% income tax option?
-
Imagine that you were a project manager for an exercise trail being built in a city park, which is in the planning phases. After carefully gathering all the stakeholder requirements and information...
-
2. In 2000, 942.5 million Compact Discs (CDs) were sold. From 2000 through 2012, sales of CDs declined at an average rate of 12.3% per year. a. Complete the model below by filling in the appropriate...
-
Frogs have been breeding like flies at the Enormous State University (ESU) campus! Each year, the pledge class of the Epsilon Delta fraternity is instructed to tag all the frogs residing on the ESU...
-
I = 18 sin(100nt + 40) I = 12 sin(100nt) Representing 1 and 1 as phasors, determine the resultant current IT and its phase angle using phasor addition for I + 1. 000
-
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?
-
If so, is it similar to one of the three formats illustrated in this chapter? If not, how is it different?
-
Have you ever seen your companys organization chart? If so, how decentralized is it?
-
Do you perform all four elements? If not, why not?
Study smarter with the SolutionInn App