Zookal
Zookal

We’d love to hear any feedback or comment from you!

© 2011-2021 Zookal Pty Ltd

View question and answer

From our collection of questions and answers
Engineering · Computer Science
Question details

4 MARKS QUEStION 3 Background You are part of a team working for the United Nations Environment Programme (UNEP) to investigate the deforestation process in Borneo. You are provided six images of the forest area in Borneo from 1950-2020 which comprise of historical and projection data. Forests are represented as green pixels and deforested areas as yellow pixels. Q3a In the Q3a.m file, use the imread() function to read the images. For each year (1950, 1985, 2000, 2005, 2010, 2020), calculate the percentage forested area (PFA) which is defined as: forest area green pixels PFA 10096-greenandyellow pixe >< 100% green and Write the year, forested area, total land area and PFA to a file named BorneoForestData.txt. The file should look like the following Forest Area T tal Land Area (%) Year 1950 1985 PEA Hint: Green (forest) in grayscale 75 to 115 (inclusive) Light blue (water) in grayscale 240 Black (text) in grayscale 0 All other colours in grayscale represent land You should still have five figure windows by the end of this task. Q3b In the Q3b.m file, plot the PFA against the year as blue circles in a new figure. You believe that the data can be appropriately represented by either an exponential model or a 2nd order polynomial model. Find the coefficients for each model based on the form of the equations below: Exponential model: PFA-aePt 2nd order polynomial model: PFA at2 bt c where a, B, a, b, c are coefficients, and t represents the year Plot both fitted models for years 1950 to 2100 (yearly increments) on the newly created figure. Print the equations of the fitted models to the command window using the exponential specifier for fprintf You should have six figure windows by the end of this task.In the Q3c.m file, perform the Newton-Raphson method on both models described in Q3b to estimate the year when Borneo will have no forests left. Perform the root-finding method using precision values of 1e-1, 1e-2, 1e-3 1e-10, and present the results in a tabular structure in the command window similar to the following. Year Exponential P?? P?? P?? Year Precision 1e-01 1e-02 1e-03 Polynomial P?? Print one sentence that states whether the exponential or polynomial model is more appropriate and provide justification for your choice You should still have six figure windows by the end of this task. You are asked to further investigate the 2nd order polynomial model considering the effect of neglecting the a coefficient. Thus, the two ordinary differential equations that may model the Borneo deforestation data are: Model 1 d(PFA) 2at+ b (quadratic) Model 2 d(PFA) (linear): dt where a and b are the coefficients from the 2nd order polynomial model (see 03b) In the Q3d.m file, solve the annual PFA in Borneo by applying the midpoint method to both models. Use a step size of 0.001 years and the PFA value calculated for 1950 as the initial condition. The range of years should span 1950 to 2100 In a 1x2 subplot figure, plot the following: PFA obtained in Q3a against the year as blue circles. [both panels] PFA values obtained by solving Model 1 as a red line. [left panel] PFA values obtained by solving Model 2 as a black line. [right panel] Remember to include a legend. Use fprintf to provide a one-sentence explanation for why model 2 does not provide an appropriate linear fit of the PFA data You should have seven figure windows by the end of this task. Poor Programming Practices Includes, but is not limited to, poor coding style or insufficient comments or unlabeled figures, etc.) [-2 MarkS]

Answer
Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.

Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.Find step-by-step answers from expert tutors to questions asked by students like you. Start 14-day free trial.