Solve the following problems using MATLAB script (write one .m file per problem): Create two variables...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Solve the following problems using MATLAB script (write one .m file per problem): Create two variables x and y and store numbers in them. Write an expression that would be true if the value of x is greater than 5 or if the value of y is less than 10, but not if both of those are true. 1. 2. An environmental engineer has determined that the cost C of a containment tank will be based on the radius r of the tank: 32430 I Create a variable for the radius, and then for the cost. C = +428TI The geometric mean g of n numbers x is defined as the nth root of the product of X: Xi g = X1 X2 X3...Xn (This is useful, e.g., in finding the average rate of return for an investment, which is something you'd do in engineering economics.) If an investment returns 15% the first year, 50% the second, and 30% the third year, the average rate of return would be (1.15*1.50*1.30)/3). Compute this. 3. 4. 5. A sphere has a radius of 24 cm. A rectangular prism has sides of a, a/2, and a/4. (a) Determine a of a prism that has the same volume as the sphere. (b) Determine a of a prism that has the same surface area as the sphere. n! r!(n-r)! a/2 The number of combinations C,, of taking r objects out of objects is given by: a/4 C6, 2C43, 4 C49,6 (Use the built-in function factorial.) Cnr (a) Determine how many combinations are possible in a lottery game for selecting 6 numbers that are drawn out of 49. (b) Using the following formula, determine the probability of guessing two out of the six drawn numbers. Solve the following problems using MATLAB script (write one .m file per problem): Create two variables x and y and store numbers in them. Write an expression that would be true if the value of x is greater than 5 or if the value of y is less than 10, but not if both of those are true. 1. 2. An environmental engineer has determined that the cost C of a containment tank will be based on the radius r of the tank: 32430 I Create a variable for the radius, and then for the cost. C = +428TI The geometric mean g of n numbers x is defined as the nth root of the product of X: Xi g = X1 X2 X3...Xn (This is useful, e.g., in finding the average rate of return for an investment, which is something you'd do in engineering economics.) If an investment returns 15% the first year, 50% the second, and 30% the third year, the average rate of return would be (1.15*1.50*1.30)/3). Compute this. 3. 4. 5. A sphere has a radius of 24 cm. A rectangular prism has sides of a, a/2, and a/4. (a) Determine a of a prism that has the same volume as the sphere. (b) Determine a of a prism that has the same surface area as the sphere. n! r!(n-r)! a/2 The number of combinations C,, of taking r objects out of objects is given by: a/4 C6, 2C43, 4 C49,6 (Use the built-in function factorial.) Cnr (a) Determine how many combinations are possible in a lottery game for selecting 6 numbers that are drawn out of 49. (b) Using the following formula, determine the probability of guessing two out of the six drawn numbers.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these databases questions
-
Exercise 4 In 2019 Karly Company had a break-even point of $800,000 based on a selling price of $10 per unit and fixed costs of $320,000. In 2020 the selling price and variable costs per unit did not...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Comparative income statements are available for Johanna's Fine Furs: Required Perform horizontal and vertical analyses on each of the items in the above comparative income statements. Round...
-
India Fund, Inc. (IFN) is a close-ended equity mutual fund launched by the Blackstone Group, Asset Management Arm. Although it promises impressive returns, it does so at the cost of greater risk. An...
-
Let us consider the possibility of an infinite automaton that starts with this infinite binary tree: Let L be any infinite language of strings of a's and h's whatsoever. Show that by the judicious...
-
Link the following environmental transactions and events with the relevant environmental accounting system: 1 A tax on emissions of carbon dioxide 2 Capital expenditure on a water-recycling plant 3 A...
-
Exit gas from a chlorinator consists of a mixture of 20 mol% chlorine in air. This concentration is to be reduced to 1% chlorine by water absorption in a packed column to operate isothermally at 20C...
-
Suppose a deposit intermediary receives $1,000,000 in savings deposits. Of these deposited funds, $200,000 is invested in short-term government securities and $800,000 is used to make 25-year...
-
1. Suppose you wanted to predict Winnings ($) using only the number of poles won (Poles), the number of wins (Wins), the number of top five finishes (Top 5), or the number of top ten finishes (Top...
-
Which statement below is false about the difference between the effective annual rate (EAR) and the annual percentage rate (APR)? EAR would be equal to APR when the compounding frequency is annual....
-
Indicate whether each of the following statements is true or false by writing T or F in the answer c olumn. Federal law requires that employers establish employee assistance programs.
-
How do profit potential and legal considerations affect a firms credit policy?
-
What is a trading venue?
-
Indicate whether each of the following statements is true or false by writing T or F i n t he a nswer c olumn. Applying the provisions of Superfund has been an easy process, and it has it met with...
-
What is seasonal dating?
-
Find the points on the cone z 2 = x 2 + y 2 that are closest to the point ( 8 , 2, 0). (x, y, z) = (x, y, z) (smaller z-value) (larger z-value)
-
1. Following are information about Alhadaf Co. Cost incurred Inventory Purchases Sales Adverting expense Salary Expense Depreciation Beginning Inventory Ending Inventory Amount 118,000 350.000 90,000...
-
Compute the expected frequencies under the null hypothesis of independence. The General Social Survey polled 1280 men and 1531 women to determine their level of education. The results are presented...
-
Heart attack: The following table presents the number of hospitalizations for myocardial infarction (heart attack) for men and women in various age groups. a. What is the probability that a randomly...
-
Power: A test of Ho: p = 100 versus If f. p > 100 will be made at a significance level of a = 0.01. The population standard deviation is a = 50 and the sample size is n = 75. Find the power of the...
-
What statutory and mandatory professional pronouncements require a review to be published?
-
List two items that may be found in the operating section and two items that may be found in the financial review section of an OFR.
-
What statutory and mandatory professional requirements require directors to submit a report to shareholders?
Study smarter with the SolutionInn App