Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose two numbers which the products of their one - step increments are added to an initial value of the second number. ( a )

Suppose two numbers which the products of their one-step increments are added to an initial value of the
second number.
(a) Draw the flow chart of this summing process provided that the initial value of the second number will be
the same for all incremental steps of the second number.
(b) Build and write on the answer sheet a m-script running the algorithm of the problem describing Part (a)
(c) Add explanation (comment) for each line of this MATLAB Code.
(d) Show the screen shot after running the m-script when the initial value of the first number is 1 and that of
the second number is 5 and the final values of the increments for the first and second numbers are 2 and 3
respectively and with one-step increment.
Table shows the density () of N2 as a function of pressure (P) at T=200K.
(a) Using these data, build a m-script to estimate the virial coefficients of the virial equation of state given by;
Z=PRT=1+B+C2+D3
where R is the gas constant (=0.08206liter*atmmol*K).
(b-i) Plot also P(atm) vs (mol/liter) graph including the curve fitting the data and the data by using also the
same m-script.
(b-ii) Insert the title of the plot
(b-iii) Indicate as axis labels the related variables on the x- and y-axis.
(b-iv) Insert a legend indicating the fitted curve and the data.
For the following equations;
x=e-itsint;y=e-itcost;z=it
(a) Sketch the flow-chart of a program which generates three-dimensional curve of these equations
(b) Write a m-script generating a three-dimensional curve as the parameter t is varied and;
(c) Add comments in your m-script.
(d) Run the m-script over some range by entering values from t=0 to t=10 and with;
(d-i)1=-0.05,1=-0.05,1=1
(d-ii)2=-0.01t,2=-0.1t,1=2
(d-iii)3=-0.05t,3=-0.05t,3=0.1
(e) Show the screenshot of the plot.
(e-i) Add title to the plot.
(e-ii) Add labels for axes
(e-iii) Add legend representing the generated curves
Good Luck..
image text in transcribed

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

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions

Question

How satisfied are you with this attitude?

Answered: 1 week ago

Question

Where is your key public located geographically?

Answered: 1 week ago

Question

What is the socioeconomic status of your key public?

Answered: 1 week ago