Paragraph Styles 30 Develop a MATLAB function to calculate a root of a polynomia
ID: 3864008 • Letter: P
Question
Paragraph Styles 30 Develop a MATLAB function to calculate a root of a polynomial equation by Newton- Raphson method. Calculate the specific volume of n-butane, at a given temperature and pressure, by using the Soave Redlich-Kwong equation of state RT aa V-b v (v+b) The equation constants, a and b. are obtained from 0,4279 R2T2 Ea ab 0.0867 RT Eg. a. where Tc and Pc are critical temperature and pressure, respectively. The variable ou is an empirical function of temperature 1 ts 1 Eq. 6 The value of S is a function of the acentric factor w, ofthe gas 0.48508 1.55171 a 0.15613w2 l The physical properties ofn-butane are Te-425.2 K.Pc 3797 kPa, co 0.1931 and the universal gas constant R 8314 Ikmo, KExplanation / Answer
MATLAB provides various commands for managing a session. The following table provides all such commands
Commands for Working with the System
MATLAB provides various useful commands for working with the system, like saving the current work in the workspace as a file and loading the file later.
It also provides various commands for other system-related activities like, displaying date, listing files in the directory, displaying current directory, etc.
The following table displays some commonly used system-related commands
Command Purpose clc Clears command window. clear Removes variables from memory. exist Checks for existence of file or variable. global Declares variables to be global. help Searches for a help topic. lookfor Searches help entries for a keyword. quit Stops MATLAB. who Lists current variables. whos Lists current variables (long display).Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.