problem 5 assume you gathered the following table of temperature and p
Problem 5: Assume you gathered the following table of temperature and pressure data in your laboratory for a 1 kg(=m) cylinder of nitrogen (standard atomic weight (Wa) of N2 is 28.014 g/mol) held at a constant volume of 10 m³:
Write a MATLAB M-file that uses linear regression to find the value of the universal gas constant R in the ideal gas law: pV = nRT where p= pressure, V = volume, n= moles of gas, and T = temperature in °K. Note: number of moles n=mass/atomic weight, when used in correct units. The M-file must also compute the coefficient of determination (r?) for the linear fit to the data and the true relative percent error (ɛ) between the value of R you find and the standard value found in the literature.Turn in a copy of your M-file and a printout of the command window showing your results for R, r, and Et.
*The amount will be in form of wallet points that you can redeem to pay upto 10% of the price for any assignment. **Use of solution provided by us for unfair practice like cheating will result in action from our end which may include permanent termination of the defaulter’s account.Disclaimer:The website contains certain images which are not owned by the company/ website. Such images are used for indicative purposes only and is a third-party content. All credits go to its rightful owner including its copyright owner. It is also clarified that the use of any photograph on the website including the use of any photograph of any educational institute/ university is not intended to suggest any association, relationship, or sponsorship whatsoever between the company and the said educational institute/ university. Any such use is for representative purposes only and all intellectual property rights belong to the respective owners.