Question: (THIS QUESTION BELOW IS TO FIND THE SOLUTION WHEN SEARCHING GOOGLE. I WOULD LIKE THE ENTIRE QUESTION ANSWERED IF POSSIBLE PLEASE) a) Write a function

 (THIS QUESTION BELOW IS TO FIND THE SOLUTION WHEN SEARCHING GOOGLE.I WOULD LIKE THE ENTIRE QUESTION ANSWERED IF POSSIBLE PLEASE) a) Write

(THIS QUESTION BELOW IS TO FIND THE SOLUTION WHEN SEARCHING GOOGLE. I WOULD LIKE THE ENTIRE QUESTION ANSWERED IF POSSIBLE PLEASE)

a) Write a function to fit data to a line of the form y=ax+b. Use the following equations to obtain the line properties (the function name is myline):

Please type in MATLAB Language and also include the codes inputs and outputs. I would like to see a detailed explanation of the problem so I fully understand what's going on behind the question. Please and Thank you

HW 8 PROBLEM 1 a) Write a function to fit data to a line of the form y ax+b. Use the following equations to obtain the line properties (the function name is myline): b) Use these four data points (1,1), (2,2), (4,20, (5,3 to test your function. c) Verify your function by comparing your result with the one obtained by Matlab function polyfit. PROBLEM 2 For this problem use the myline function that you developed in Problem 1 Many physical processes can be modeled by an exponential equation. For example, chemical reaction rates depend on a reaction-rate constant that is a function of temperature and activation energy k koe In this equation, R- universal gas constant, 8.314 kJ/kmol K, activation energy, in kUkmol, T-temperature, in K, and ko whose units depend on characteristics of the reaction One possibility is s 1. One approach to finding the values of ko and g from experimental data is to plot the natural logarithm of k on the y-axis and l Ton the x-axis. This should result in a straight line with slope -OR and intercept ln (ko that is, RT since the equation now has the form Fax +b with y ln (k x- 1/T, a E-OR and b ln (k

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!