Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

image text in transcribedimage text in transcribed

(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

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

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions