Question: Matlab Create ONE MATLAB script to solve the following problems. Your script must be named: SectionxX_YourLastName_YourFirstName_HW1, Where XX is your section's number (le, my file
Create ONE MATLAB script to solve the following problems. Your script must be named: SectionxX_YourLastName_YourFirstName_HW1, Where XX is your section's number (le, my file would be: Section57 Algheshyan_Fahad HN1.m), submitted through Blackboard by the due date and time, and the script must follow the MATLAB Requirements stated at the end of this assignment Problem 1 A box has a height of 6 cm and a square base with an edge of x , create a nicely formatted table that shows the value of x, the volume of the box, and the surface area of the box. Use 1sxs3, with an increment of 0.25 cm. Problem 2: Burning one gallon of gasoline in your car produces 19.4 pounds of CO. Calculate the amount of CO2 emitted during a year for the user's vehicle. You should ask the user for the vehicle's fuel efficiency in mpg, and total mileage traveled in one year your solution will return the amount of CO2 emitted by the user's vehicle during that one year. Mileage Problem 3 Chemical reaction rates are proportional to a rate constant k that changes with temperature according to the Arrhenius equation: k = koe-RT For a certain reaction, Q = 8000 cal/mol R = 1.987 cal/mol K ko = 1200 min-1 Find the values of k for 11 linearly spaced temperatures (T) from 100 K to 500 K inclusively. Create a nicely formatted and labeled table of your results.(Note, use the proper MATLAB command for e) Problem 4: Create the following matrices then use them in the following questions -H c=[12 18 21 15 3 22 14 3 82 (Note: in the following questions you must use matrix manipulation operations referring to the above matrices) [22: 5; 82]: a) Create a matrix called d from the third column of matrix a. (Hint, typing d would be wrong!)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
