Octave or Mat lab coding to be used 2.1. Use fzero() to determine the solution to the
Fantastic news! We've Found the answer you've been seeking!
Question:
Octave or Mat lab coding to be used
Transcribed Image Text:
2.1. Use fzero() to determine the solution to the polynomial below. cos (VIP(x)l) -sin(x) = 0 (fzero)| y = x3 - 2 P(x) = polyfit(x, y,7) (8) 2.2. The reaction A + B takes place in a liquid-phase batch reactor at a constant temperature. The initial concentration of A is 1.2 mol/L. Determine the time required to achieve 75 % of the maximum possible conversion if the forward reaction is second order and the reverse reaction is first order: kį = 0.4 moLmin and k, = 0.1 min-1. Hint: TA = -k,C, + k,Gg CA = CA0 - x = 1.2 - x C = Cgo + x = 0+x = x %3D For maximum conversion dCA TA = = 0 dt TA = -0.4(1.2 – x)² + 0.1x = 0 Simplify and determine the roots of the equation. (2) [10 marks] 2.1. Use fzero() to determine the solution to the polynomial below. cos (VIP(x)l) -sin(x) = 0 (fzero)| y = x3 - 2 P(x) = polyfit(x, y,7) (8) 2.2. The reaction A + B takes place in a liquid-phase batch reactor at a constant temperature. The initial concentration of A is 1.2 mol/L. Determine the time required to achieve 75 % of the maximum possible conversion if the forward reaction is second order and the reverse reaction is first order: kį = 0.4 moLmin and k, = 0.1 min-1. Hint: TA = -k,C, + k,Gg CA = CA0 - x = 1.2 - x C = Cgo + x = 0+x = x %3D For maximum conversion dCA TA = = 0 dt TA = -0.4(1.2 – x)² + 0.1x = 0 Simplify and determine the roots of the equation. (2) [10 marks]
Expert Answer:
Answer rating: 100% (QA)
MATLAB R2021a HOME PLOTS PPS LIVE EDITOR INSERT VIEW Sign In Compare Aa Normal Refactor E Section Br... View the full answer
Posted Date:
Students also viewed these programming questions
-
Given the integral below: cos(x) dx Hint x is in radians Evaluate the integral analytically. Use four significant figures. (2) 1.2. Evaluate the integral using the trapezoidal rule using a for loop....
-
OCTAVE OR MATLAB CODING TO BE USED!!! 3.1. The exothermic reaction A - B+C was carried out adiabatically in a PFR and the following data was recorded: 0.45 0.5 0.6 0.8 00.2 1.0 1.67 0.4 0.9 -rA (mol...
-
Use Matlab or Octave coding Using Netwon-Raphason method write an m-file to find the roots of the given equation, limit the program to three iterations. f(x) = x3 x 1 Le the initial guess be equal...
-
The firm is considering between two mutually exclusive projects, Project A and Project B, that each require an upfront investment of $100m and are expected to produce free cash flow (FCF) only at the...
-
One electron collides elastically with a second electron initially at rest. After the collision, the radii of their trajectories are 1.00 cm and 2.40 cm. The trajectories are perpendicular to a...
-
Refer again to the financial statements for WestJet in Appendix II, looking at the consolidated statements of cash flows. Notice the same cash dividends paid during the year ended December 31, 2016...
-
Use Table XV in Appendix B to find the value of A, for each of the following sample sizes. a.n=3 b.n=10 c. n=22
-
Condensed financial data of Cheng Inc. follow. Additional information: 1. New equipment costing $85,000 was purchased for cash during the year. 2. Old equipment having an original cost of $57,500 was...
-
If KG corp has a net operating loss carryforward of 78.3 million, and 75 million in taxable income, what is their income tax payable? Tax rate is 40%
-
This Mini Practice Set will help you review all the key concepts of the accounting cycle for a merchandising company, along with the integration of payroll. Betty Loeb took over the business now...
-
Sketch 0=-45 in standard position. A Drag to show the angle.
-
# III: Worksheet 3 1. A 20 kg mass is allowed to accelerate down a frictionless 15 ramp. 20 kg 15 a. Draw a force diagram for the block. b. Determine the value of the x-component of the force of...
-
3.Baker Corporation has provided the following production and average cost data for two levels of monthly production volume. The company produces a single product Production Volume: 1,000 units:...
-
Suppose that you own the only company in the market to produce a certain product, and therefore you can determine the market price P dollars for each unit. Due to government regulations, the price of...
-
describes how the blast pressure front can bounce off solid, immovable obstacles and be redirected in another direction in a linear angle to the angle of the obstacle hat was struck
-
As the accounting clerk, you are tasked by the CFO to determine the cost of goods sold of Del Mundo Company for the year ended December 31, 2020. During Operating cost data annd inventory account...
-
Casper's Cookie Company comparative balance sheets are presented below. 2020 2019 Cash 5,300 3,700 |A/R 21,200 23,400 Inventory 9,000 7,000 Land 20,000 26,000 Buildings 70,000 70.000 Acc. Depr. -...
-
A sprinkler head malfunctions at midfield in an NFL football field. The puddle of water forms a circular pattern around the sprinkler head with a radius in yards that grows as a function of time, in...
-
What is the difference between data that are stored off-line and data that are stored online? AppendixLO1
-
What are the five fundamental principles of accounting information systems? AppendixLO1
-
What is direct posting of sales invoices? AppendixLO1
Study smarter with the SolutionInn App