Write a single program that calculates the geometric mean

Assignment Help MATLAB Programming
Reference no: EM13339647

Use MATLAB to write a single program that calculates the geometric mean, RMS average and harmonic mean for a set of numbers. Compare these values for each of the following sets of number.

23
20.5
23.5
24.5
23
20.5
18.5
12.5
28
10.5
25
23
19.5
22.5
30.5
25.5
0
17
28.5
27.5
24
24.5
22.5
9.5
26
22
27.5
21
30.5

Reference no: EM13339647

Questions Cloud

What value of r1 will maximize the power dissipated in r1 : Six resistors are joined to form a tetrahedron. Five of the resistors are identical (resistance R), and the sixth is R1. A potential difference ? is applied across one of the R resistors that adjoins the R1 resistor.
A huge gamble on a largely unknown person. : Organisations that need to recruIit constantly from outside are admitting to failure- they also take a huge gamble on a largely unknown person.' Discuss.
Where will saint see his reflection in the ornament : A spherical metallic Christmas tree ornament has a diameter of 6.41 cm. If Saint Nicholas is by the fireplace, 1.37 m away, where will he see his reflection in the ornament
What size would a sail have to be to accelerate a spaceship : If the intensity of the electromagnetic radiation produced by the Sun is about 1.4 kW/m2 near the Earth, what size would a sail have to be to accelerate a spaceship with a mass of 11.9 metric tons at 1.39 m/s2
Write a single program that calculates the geometric mean : Use MATLAB to write a single program that calculates the geometric mean, RMS average and harmonic mean for a set of numbers. Compare these values for each of the following sets of number.
Why is this possibility of a liquidity trap significant to : Money, Banking, and Monetary Policy: What do economists mean when they say that monetary policy can echibit cyclical asymmetry? How does the idea of a liquidity trap relate to cyclical asymmetry? Why is this possibility of a liquidity trap significan..
Find temperature distribution in water as function of t nd r : At t=0, the water is turned off and the surface of the pipe is maintained at 40° from then on (neglect the wall thickness of the pipe). Find the temperature distribution in the water as a function of r and t.
Stable inventory policy for a company : What are the advantages and disadvantages of a stable inventory policy for a company that has greatly fluctuating sales during the year and what type of production process lends itself to process costing? Provide an example.
What is the competitive equilibrium : An industry has a supply curve MC (or P) $/unit = 10Q0.9. Demand follows P $/unit = 100 – Q1.1. Total external social cost (pollution) (in $ total) = 20Q1.2.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Use matlab roots function to obtain the six roots

In the plot, you will see one root is obtained from an initial value that is close to another root. Can you explain by observing the plot why that is happening.

  Find the roots using matlab built-in functions roots & fzero

the following equation, what is the modified equation for a fixed-point iteration method. The roots of the function are x = -2.2020235, -0.4088152, and 1.11083871, how would you determine whether or not the method will converge on a root? If the tech..

  Write a system program for bus arbiter

The bus arbiter is a device used in multi-master system with shared bus. It is used to allocate the control of the shared system bus to one master at a time depending priority.

  Generate a sphere of diameter 3. create 3 vectors

Generate a sphere of diameter 3. Create 3 vectors representing the translation of this sphere along the x, y, and z axes. Generate the correct vectors given the description below: The sphere should be translated to (-10, -10, -10).

  Write a functions

The function range basis takes a matrix A as input, and outputs a basis (again written as columns) for the range space of A.

  Boundary conditions for the finite element model

The computer program or the finite element model for one value of a and the excel file for finite element results processing;Boundary conditions for the finite element model

  Finds the largest integer in the list recursively

Write a program that, given a list of 20 integers, finds the largest integer in the list recursively

  Determine the volume of the pyramid

Determine the volume of the pyramid. When the user enters every value, they will then be prompted also for either 'i' for inches, or 'c' for centimeters.

  Travelling salesman problem involves

The Travelling Salesman problem involves a salesman who has to visit a number of cities in a single closed tour. The salesman always starts and ends the tour in his home city and visits each other city on the tour exactly once.

  Develop your own matlab function for the fixed-point method

Develop your own Matlab function for the Fixed-point method. Use the approximate relative error as your stopping criterion. The first line of your function should be function [root,froot,ea,iter] = fixedpoint(func,xr,es,maxit)

  Vb and matlab to calculate the cumulative days

Create a function TotalDaysMonth(intYear, intMonth, strIndOrCum) in both VB and Matlab to calculate the cumulative days or number of days in a given month, depending on inputs, by employing array vector in VB or a vector matrix in Matlab.

  Write a user-defined matlab function

Write a user-defined MATLAB function that calculate the condition number of an (nxn) matrix by using the 1-norm. for the function name and arguments use c = condNum_one(A).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd