Project #78612 - MATLAB

 

Create a single *.m script file that completes the problems listed below. Make sure you read and follow all the instructions.

Problem 1: Terminal velocity is defined as the velocity at which the force of an object falling is balanced by the drag force from the air when an object falls from a sufficient height. The terminal velocity may be calculated using the formula

2mg ρACd

Where vt is the terminal velocity, m is the mass of the object (kg), g is acceleration due to gravity (9.81 m/s2), ρ is the density of air (1.18 kg/m3), A is the cross section of the object (m2), and Cd is the drag coefficient (use 0.3).

Use the logspace function to create a row vector that contains the values of 100, 1000, 10000, and 100000 kg. Using this row vector and array operators/functions calculate the terminal velocity vector in m/s assuming the cross section of the object is 45 m2. (Do NOT write an assignment statement for each element of the row vector) Convert these values to mi/hr.

Problem 2: A local lumber yard sells oak, walnut, pine, cherry, and mahogany paneling in 4 by 8 foot sheets. The lumber yard pays $10.25 per sheet for the oak, $15.78 per sheet for walnut, $9.76 per sheet for pine, $18.37 per sheet for cherry, and $22.45 for mahogany. The lumber yard charges $15.85 per sheet for the oak, $22.45 per sheet for walnut, $13.67 per sheet for pine, $25.19 per sheet for cherry, and $31.55 for mahogany. During December the lumber yard sold 221 sheets of oak paneling, 189 sheets of walnut paneling, 245 sheets of pine paneling, 217 sheets of cherry paneling, and 168 sheets of mahogany paneling.

Create 3 row vectors, one for the cost per sheet to lumber yard for the paneling, one for the price the customer pays per sheet for the paneling, and one for the number of sheets of paneling for each type of wood that was sold during the month.

Use appropriate functions to calculate the following (you should only use one command for each task:

  1. The total number of sheets of paneling sold.

  2. The income for the lumber yard for selling the paneling,

  3. The profit for the lumber yard for selling the paneling.

Do not use loops and store all your values in variables other than the default variable ans

Subject Computer
Due By (Pacific Time) 08/09/2015 12:00 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy