Question: How do you do this on matlab? 5. Plotting the WGS reaction Convert wgs_conversion from class 1 to an element by element form. Remember: k=10^(-2.4198+0.0003855*T+2180.6/T);
How do you do this on matlab? 5. Plotting the WGS reaction Convert wgs_conversion from class 1 to an element by element form. Remember: k=10^(-2.4198+0.0003855*T+2180.6/T); and (k-1) * x^2 + (-2*k) x + k = 0 As a scaffold: Take in T and return x Calculate k Calculate a, b and c of the quadratic equation Use the quadratic equation to solve for x Build an array of temperature that range from 300 to 800 in 25 increments. Determine the conversion at all temperatures. Use the plot command to plot conversion (x) against (T) Now make the line red using >> plot(T,x,r) What does the r stand for and do? What would using g do? What about b,y,k? Now make the line dashed using >>plot(T,x,--) What does the do? What happens when you use . -. -.? Use the scatter function to build a scatter plot with red elements, plotting T vs. x.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
