Problem 1: MATLAB contains functions to calculate the natural logarithm (log), the logarithm to the base...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Problem 1: MATLAB contains functions to calculate the natural logarithm (log), the logarithm to the base 10 (log10), and the logarithm to the base 2 (log2). However, if you want to find a logarithm to another base-for example, base b-you'll have to do the math yourself with the formula log, (x) log. (b) What is the log of 10 when b is defined from 1 to 10 in increments of 1? Hint: You can create an array of values from 1 to 10 and perform the calculation using a single expression without having to calculate each of the results individually. log, (x) = Problem 2: Chemical reaction rates are proportional to a rate constant k that changes with temperature T according to the Arrhenius equation For a certain reaction, k = koe-Q/RT Q = 8000 cal/mol R = 1.987 cal/mol K ko = 1200 min-¹ Find the values of k for temperatures from 100 K to 500 K, in 50° increments. You can create a table of your results using the MATLAB command table (varl', var2') where var1 and var2 are the arrays containing the data "row-wise", i.e. var1 can be the array of temperatures T, and var2 the results k. Problem 3: The following vector G = [68, 83, 61, 70, 75, 82, 57, 5, 76, 85, 62, 71, 96, 78, 76, 68, 72, 75, 83,93] represents the distribution of final grades in a dynamics course. Compute the mean, median, mode, and standard deviation of G. Use MATLAB to determine the number of grades in the array (don't just count them) and to sort them into ascending order. Problem 4: Using the plot command in MATLAB, generate a plot of Distance vs. Time from following data on a rectilinear scale graph. Add the axis labels to the plot and activate the background grid. Time, s ON 0 2 4 6 8 10 12 24 14 H 16 18 Distance, ft 0 0.33 4.13 6.29 6.85 11.19 13.29 13.96 16.33 18.17 Using the loglog and semilogy commands, generate a plot of the same data on a log-log and semi- log-y scale graph, respectively. Include the appropriate axis labels and the grid on these plots. Problem 1: MATLAB contains functions to calculate the natural logarithm (log), the logarithm to the base 10 (log10), and the logarithm to the base 2 (log2). However, if you want to find a logarithm to another base-for example, base b-you'll have to do the math yourself with the formula log, (x) log. (b) What is the log of 10 when b is defined from 1 to 10 in increments of 1? Hint: You can create an array of values from 1 to 10 and perform the calculation using a single expression without having to calculate each of the results individually. log, (x) = Problem 2: Chemical reaction rates are proportional to a rate constant k that changes with temperature T according to the Arrhenius equation For a certain reaction, k = koe-Q/RT Q = 8000 cal/mol R = 1.987 cal/mol K ko = 1200 min-¹ Find the values of k for temperatures from 100 K to 500 K, in 50° increments. You can create a table of your results using the MATLAB command table (varl', var2') where var1 and var2 are the arrays containing the data "row-wise", i.e. var1 can be the array of temperatures T, and var2 the results k. Problem 3: The following vector G = [68, 83, 61, 70, 75, 82, 57, 5, 76, 85, 62, 71, 96, 78, 76, 68, 72, 75, 83,93] represents the distribution of final grades in a dynamics course. Compute the mean, median, mode, and standard deviation of G. Use MATLAB to determine the number of grades in the array (don't just count them) and to sort them into ascending order. Problem 4: Using the plot command in MATLAB, generate a plot of Distance vs. Time from following data on a rectilinear scale graph. Add the axis labels to the plot and activate the background grid. Time, s ON 0 2 4 6 8 10 12 24 14 H 16 18 Distance, ft 0 0.33 4.13 6.29 6.85 11.19 13.29 13.96 16.33 18.17 Using the loglog and semilogy commands, generate a plot of the same data on a log-log and semi- log-y scale graph, respectively. Include the appropriate axis labels and the grid on these plots.
Expert Answer:
Answer rating: 100% (QA)
Problem 1 Solution Problem 2 Solution Problem 3 Solut... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Cabana Cruise Line offers cruise ship service to various tropical locations throughout the globe. The company is considering the addition of a new cruise ship to its fleet in order to expand service...
-
Use MATLAB to construct a matrix A by setting A = vander(1 : 6); A = A - diag(sum(A)) (a) By construction, the entries in each row of A should all add up to zero. To check this, set x = ones(6, l)...
-
4. Given A= 5.0,0,45,B= 3.0,0 = 270, determine the magnitude and direction of vector C given C=A+B. Show your work. 5. Consider y = y + Voyt - gt. a. Rearrange the expression to look like the...
-
A disadvantage of many profitsharing remuneration plans is that: Group of answer choices They align shareholders' and managers' objectives. They do not incentivize management to change their...
-
Porter has a capital balance of $420,000 after adjusting assets to fair market value. Billings contributes $200,000 to receive a 30% interest in a new partnership with Porter. Determine the amount...
-
A manufacturer of detergent claims that the contents of boxes sold weigh on average at least 16 ounces. The distribution of weight is known to be normal, with a standard deviation of 0.4 ounce. A...
-
1.5 MNEs and LIBOR. Most MNEs either take loans in eurocurrencies or issue eurobonds with a floating coupon rate tied to the LIBOR. Explain how MNES were affected by the LIBOR scandal.
-
Kalinas Doll Company produces handmade dolls. The standard amount of time spent on each doll is 2.0 hours. The standard cost of labor is $10 per hour. The company planned to make 8,000 dolls during...
-
Question 2: Accounting Analytics Your manager has just arranged for 20,000 rows of data to be extracted from the accounting system. The data relates to the products that the organisation has sold to...
-
Prepare journal entries for the above transactions. Aylmer Industries Inc. (Aylmer) has been in business since 2018. Aylmer has two main business segments. This first segment is the construction of...
-
Review the implied terms in the Sale of Goods Acts and select the two most important implied terms in the sale of goods. Justify your selection according to the commercial or legal protections...
-
On a summer day the air temperature is \(30^{\circ} \mathrm{C}\) and the relative humidity is \(55 \%\). Water evaporates from the surface of a lake at a rate of \(0.08 \mathrm{~kg} / \mathrm{h}\)...
-
Another term or description for natural variation is what?
-
A production process that exhibits only natural variation would be considered what?
-
Why would a consumer tolerate a certain amount of defectiveness in a product? When is this more common?
-
A major advantage of using SPT is the minimization of average flowtime. What is a disadvantage of the use of SPT?
-
Solve the following (initial)-boundary value problem, Check your answers by substituting. Ex- plain all the steps clearly a. 5 +2 = 8, b. satisfying the Cauchy condition: u = 3 on the line y = 3x. x...
-
Compare and contrast licensing and subcontracting.
-
For each of the following situations, indicate whether the taxpayer(s) is (are) required to file a tax return for 2012. Explain your answer. a. Helen is a single taxpayer with interest income in 2012...
-
Deborah purchases a new $30,000 car in 2012 to use exclusively in her business. If Deborah does not elect to expense or take bonus depreciation in 2012 and holds the car until it is fully...
-
In 2012, Michael has net short-term capital losses of $2,000, a net long-term capital loss of $45,000, and other ordinary taxable income of $45,000. a. Calculate the amount of Michael's deduction for...
-
1. Peter Oiler was a truck driver at the grocery chain Winn-Dixie. He was also a transvestite he liked to dress as a woman. When his supervisor at Winn-Dixie found out about his cross-dressing, Oiler...
-
3. When Walton Weiner interviewed for a job with McGraw-Hill, Inc., he was assured that the company would not terminate an employee without "just cause." Weiner also signed a contract specifying that...
-
4. ETHICS John Mundorf hired three women to work for Gus Construction Co. as traffic controllers at road construction sites in Iowa. Male members of the construction crew incessantly referred to the...
Study smarter with the SolutionInn App