MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 1, Problem 33P
The greatest common divisor is the largest positive integer that divides the numbers without a remainder. For example, the greatest common divisor of 8 and 12 is 4. Use the MATLAB Help Window find a MATLAB built-in
(a) 91 and 147 is 7.
(b) 555 and 962 is 37.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Morningstar tracks the total return for a large number of mutual funds. The following table shows the total return and the number of funds for four categories of mutual funds.
Click on the datafile logo to reference the data.
DATA file
Type of Fund
Domestic Equity
Number of Funds
Total Return (%)
9191
4.65
International Equity
2621
18.15
Hybrid
1419
2900
11.36
6.75
Specialty Stock
a. Using the number of funds as weights, compute the weighted average total return for these mutual funds. (to 2 decimals)
%
b. Is there any difficulty associated with using the "number of funds" as the weights in computing the weighted average total return in part (a)? Discuss. What else might be used for weights?
The input in the box below will not be graded, but may be reviewed and considered by your instructor.
c. Suppose you invested $10,000 in this group of mutual funds and diversified the investment by placing $2000 in Domestic Equity funds, $4000 in International Equity funds, $3000 in Specialty Stock…
The days to maturity for a sample of five money market funds are shown here. The dollar amounts invested in the funds are provided.
Days to
Maturity
20
Dollar Value
($ millions)
20
12
30
7
10
5
6
15
10
Use the weighted mean to determine the mean number of days to maturity for dollars invested in these five money market funds (to 1 decimal).
days
c. What are the first and third quartiles?
First Quartiles (to 1 decimals)
Third Quartiles (to 4 decimals)
× ☑
Which companies spend the most money on advertising? Business Insider maintains a list of the top-spending companies. In 2014, Procter & Gamble spent more than any other company, a whopping $5 billion. In second place was Comcast, which spent $3.08 billion (Business Insider website, December 2014). The top 12 companies and
the amount each spent on advertising in billions of dollars are as follows.
Click on the datafile logo to reference the data.
DATA file
Company
Procter & Gamble
Comcast
Advertising
($billions)
$5.00
3.08
2.91
Company
American Express
General Motors
Advertising
($billions)
$2.19
2.15
ETET
AT&T
Ford
Verizon
L'Oreal
2.56
2.44
2.34
Toyota
Fiat Chrysler
Walt Disney Company
J.P Morgan
a. What is the mean amount spent on advertising? (to 2 decimals)
2.55
b. What is the median amount spent on advertising? (to 3 decimals)
2.09
1.97
1.96
1.88
Chapter 1 Solutions
MATLAB: An Introduction with Applications
Ch. 1 - Prob. 1PCh. 1 - Calculate: (a) 8+802.6+e3.53 (b)...Ch. 1 - Calculate: (a) 23+453160.7+log10589006 (b)...Ch. 1 - Calculate: (a) 3.822.754125+5.2+1.853.5 (b)...Ch. 1 - Calculate: (a)sin0.2cos/6+tan72 (b)...Ch. 1 - Define the varialbe z as z = 4.5; than evaluate:...Ch. 1 - Define the variable t as t= 3.2; then evalute: (a)...Ch. 1 - Define the variable xandy as x = 6.5 and y = 3.8;...Ch. 1 - Define the variables a, b, c, and d as: c= 4.6, d...Ch. 1 - Two trigonometric identities are given by: (a)...
Ch. 1 - Two trigonometric identities are given by: (a)...Ch. 1 - Define two variables: alpha =8, and beta = 6....Ch. 1 - Given: x2cosxdx=2xcosx+x22sinx . Use MATLAB to...Ch. 1 - A rectangular box has the dimensions shown. (a)...Ch. 1 - The are length of a segment of a parabola ABC is...Ch. 1 - The three shown circles, with radius 15 in., 10.5...Ch. 1 - A frustum of cone is filled with ice cream such...Ch. 1 - 18. In the triangle shown a =27 in., b 43 in.,...Ch. 1 - For the triangle shown, a = 72°, ß=43°, and its...Ch. 1 - The distance d from a point P (xp,yp,zp) to the...Ch. 1 - The perimeter of an ellipse can be approximated...Ch. 1 - A total of 4217 eggs have w be packed in boxes...Ch. 1 - A total of 777 people have to be transported using...Ch. 1 - Change the display to format long g. Assign the...Ch. 1 - The voltage difference Vabbetween points a and b...Ch. 1 - The current in a series RCL circuit is given by:...Ch. 1 - The monthly payment M of a mortgage P for n years...Ch. 1 - The number of permutations nProf taking r Objects...Ch. 1 - The number of combinations Cn,r of taking r...Ch. 1 - The equivalent resistance of two resistors R1and...Ch. 1 - The output voltage Voutin the circuit shown is...Ch. 1 - Radioactive decay of carbon-14 is used for...Ch. 1 - The greatest common divisor is the largest...Ch. 1 - The amount of energy E (in joules) that is...Ch. 1 - According to the Doppler effect of light, the...Ch. 1 - Newton’s law of cooling gives the temperature T(t)...Ch. 1 - The velocity v and the falling distance d as a...Ch. 1 - Use the Help Window to find a display format that...Ch. 1 - Gosper’s approximation for factorials is given by:...Ch. 1 - According to Newton’s law of universal...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.Similar questions
- Martinez Auto Supplies has retail stores located in eight cities in California. The price they charge for a particular product in each city are vary because of differing competitive conditions. For instance, the price they charge for a case of a popular brand of motor oil in each city follows. Also shown are the number of cases that Martinez Auto sold last quarter in each city. City Price ($) Sales (cases) Bakersfield 34.99 501 Los Angeles 38.99 1425 Modesto 36.00 294 Oakland 33.59 882 Sacramento 40.99 715 San Diego 38.59 1088 San Francisco 39.59 1644 San Jose 37.99 819 Compute the average sales price per case for this product during the last quarter? Round your answer to two decimal places.arrow_forwardConsider the following data and corresponding weights. xi Weight(wi) 3.2 6 2.0 3 2.5 2 5.0 8 a. Compute the weighted mean (to 2 decimals). b. Compute the sample mean of the four data values without weighting. Note the difference in the results provided by the two computations (to 3 decimals).arrow_forwardExpert only,if you don't know it don't attempt it, no Artificial intelligence or screen shot it solvingarrow_forward
- For context, the image provided below is a quesion from a Sepetember, 2024 past paper in statistical modelingarrow_forwardFor context, the images attached below (the question and the related figure) is from a january 2024 past paperarrow_forwardFor context, the image attached below is a question from a June 2024 past paper in statisical modelingarrow_forward
- For context, the images attached below are a question from a June, 2024 past paper in statistical modelingarrow_forwardFor context, the images attached below (question and related graph) are from a February 2024 past paper in statistical modelingarrow_forwardFor context, the images attached below are from a February 2024 past paper in statistical modelingarrow_forward
- For context, the image provided below is a question from a September, 2024 past paper in statistical modelingarrow_forwardFor context, the image below is from a January 2024 past paper in statistical modelingarrow_forwardFor context, the image provided below is a question from a September, 2024 past paper in statistical modelingarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillAlgebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal LittellAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage
- Holt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGALElementary AlgebraAlgebraISBN:9780998625713Author:Lynn Marecek, MaryAnne Anthony-SmithPublisher:OpenStax - Rice University
Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Algebra: Structure And Method, Book 1
Algebra
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:McDougal Littell
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Holt Mcdougal Larson Pre-algebra: Student Edition...
Algebra
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL
Elementary Algebra
Algebra
ISBN:9780998625713
Author:Lynn Marecek, MaryAnne Anthony-Smith
Publisher:OpenStax - Rice University
Propositional Logic, Propositional Variables & Compound Propositions; Author: Neso Academy;https://www.youtube.com/watch?v=Ib5njCwNMdk;License: Standard YouTube License, CC-BY
Propositional Logic - Discrete math; Author: Charles Edeki - Math Computer Science Programming;https://www.youtube.com/watch?v=rL_8y2v1Guw;License: Standard YouTube License, CC-BY
DM-12-Propositional Logic-Basics; Author: GATEBOOK VIDEO LECTURES;https://www.youtube.com/watch?v=pzUBrJLIESU;License: Standard Youtube License
Lecture 1 - Propositional Logic; Author: nptelhrd;https://www.youtube.com/watch?v=xlUFkMKSB3Y;License: Standard YouTube License, CC-BY
MFCS unit-1 || Part:1 || JNTU || Well formed formula || propositional calculus || truth tables; Author: Learn with Smily;https://www.youtube.com/watch?v=XV15Q4mCcHc;License: Standard YouTube License, CC-BY