Use matlab to determine how many days the price of stock a

Assignment Help Civil Engineering
Reference no: EM13544525

The arrays price_A,price_B,price_C given below contain the price in dollars of three stocks over 10 days.

a) Use MATLAB to determine how many days the price of stock A was above both the price of stock B and the price of stock C.

b) Use MATLAB to determine how many days the price of stock A was above either the price of stock B or the price of stock C.

price_A = [19, 18, 22, 21, 25, 19, 17, 21, 27, 29]

price_B = [22, 17, 20, 19, 24, 18, 16, 25, 28, 27]

price_C = [17, 13, 22, 23, 19, 17, 20, 21, 24, 28]

Reference no: EM13544525

Questions Cloud

Determine the force of gravity acting between them compare : Two particles have a mass of 8 Kg and 12 Kg respectively. if they are 800 mm apart, determine the force of gravity acting between them. Compare this result with the weight of each particle.
Evaluate the impact of these changes on ridership : If the elastic values of Bus service demand with respect to fare & headway are -0.35 & -0.7 respectively. A Bus service system which currently carries 56,000 passengers per day plans
The demanded is equal to the quantity supplied : At the equilibrium price, the demanded is equal to the quantity supplied. At any other price (called a disequilibrium price) there is either a shortage or surplus. Calculate the amount of the shortage at a price of$ 5.30.
Give an example of a commerical product that embodies : Prescribes that design, to be sustainable, may incorporate the integral linking of two or more components such that each component both derives and supplies benefits from and to the other
Use matlab to determine how many days the price of stock a : Use MATLAB to determine how many days the price of stock A was above both the price of stock B and the price of stock C.
Computations are to be made for a street curve with : Knowing that each of the shafts AB, BC, and CD consists of a solid circular rod, determine (a) the shaft in which the maximum shearing stress occurs, (b) the magnitude of that stress.
Difference between receipts and payments : Is accounting profit equal to the difference between receipts and payments. Economic profit is the difference between receipts and the values of all factors of production? Explain.
Evaluate recent national economic policies : Evaluate recent national economic policies as they relate to the magnitude of the trade deficit and analyze the arguments for protectionist policies and the effect, if any, upon the trade deficit
Portion of the building for video game rentals : While the prospect of adding an additional $1,200 to World of Videos's bottom line was enticing, the owner was also contemplating using the additional space to rent video games. What is the opportunity cost of using the unused portion of the b..

Reviews

Write a Review

Civil Engineering Questions & Answers

  Determine what is the convective acceleration midway

A nozzle is shaped so that the velocity of flow varies linearly from base to tip. Assuming quasi-one-dimensional flow, what is the convective acceleration midway if v-base= 1 ft/sec, v-tip = 4 ft/sec, and L=18"

  Determine the net power produced by the cycle

An open system Brayton cycle has a heat input of 500 kW. The pressure ratio of is 15 and the mass flow rate of air through the engine is 1 kg/s. Right before compression the temperature of the air is 273K and the pressure is 70 kPa.

  Determine the additional normal force exerted by the ground

Each wheel of an automobile has a weight of 48 lb, a diameter of 23 in., and a radius of gyration of 9 in. The automobile travels around an unbanked curve of radius 450 ft at a speed of 65 mi/h.

  Determine the length of pipe required at the linear velocity

A wastewater treatment plant must disinfect its effluent before discharging the wastewater to a near-by stream. The wastewater contains 4.5*105 fecal coliform colony-forming units (CFU) per liter.

  Calculate its elongation when a load of 300 n is applied

Consider a cylindrical nickel wire 2.0 mm in diameter and 3 x 10^4 mm long. Calculate its elongation when a load of 300 N is applied. Assume that the deformation is totally elastic.

  Determine a composite scs runoff curve number for basin

determine a composite scs runoff curve number for a 600acre basin that is totally within soil group C. the land use is 40% contoured row crops in poor hydrologic condition. 60% native pasture in fair hydrologic condition.

  Compute the change in volume of water stored over one year

Annual rainfall over the watershed is 36 inches and the annual runoff from the catchment is 12 inches. Evaporation from the reservoir averages 40 inches per year. The municipal water demand equals 100 million gallons per day

  Calculate the detention time

As a consulting engineer you are hired to evaluate the operation and the unit processes within the plant and make recommendations for improvements. You are asked to consider the following units.

  Find pounds of ferric chloride per million gallons are used

a ferric chloride dosage of 40 mg/l and an equivalent dosage of lime are used to coagulate a water. (a) how many pounds of ferric chloride per million gallons are used

  What was students associated perception per reaction time

the student strikes the sign at a speed of 25 mi/h. if the student was traveling at 55 mi/h when the sign was first spotted, what was the students associated perception/ reaction time

  Depth of aggregate of wheel load over soil

A 2000-lb wheel load is to be supported by aggregate over soil with a maximum bearing pressure of 1000 lb/sqft. What depth of aggregate is needed if the angle theta is 40 degrees?

  Determine the entrance losses after 36 hours of pumping

Observation wells are located 10 meter and 50 meters from the pumped well. After pumping continuously for 36 hours the drawdowns were 3.6 meters and 1.20 meters respectively.

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