Determine what is the size of variable test

Assignment Help Civil Engineering
Reference no: EM13316635

1. If b is a matrix that is 12 rows by 8 columns then, we execute this command in MATLABb = b' then the size of b is
a. 12x12
b. 8x8
c. 8x12
d. 12x8

2. If MATLAB displays a =1.0110e+002, then
b. a = 1011
c. a = 1.011
d. a = 101.1

3. If a = e5, how would enter it in MATLAB?
a. a = 1e5
b. a = e^5
c. a = e5
d. a = exp(5)

4. What is the value for 60o in radians? If "format long" is used before displaying the result.
a. 1.05
b. 1.047197551196598
c. 1.047197551
d. 1.0472

5. Arrange the steps to solve problems in engineering and science (a-e)
State the Problem
Describe the input and output
Develop an algorithm
Solve the problem
Test the solution

6. Which of the following commands can be executed in MATLAB, if the variables m and c are defined prior to the command you select? Select all that may apply.
a. E = m*c*c
b. E = m*c^2
c. E = M*c2
d. E = mc^2
e. E = mc2
f. E = m*C^2

7. "ans" variable can be ONLY scalar value.
True False

8. Arrange the order of calculations perfomred in MATLAB.(a-d)
Parentheses first
Exponentiation
Multiplication / division
Addition / subtraction

9. If you want to compute 8 + 12, then multiply the result by 5, which command would you use in MATLAB?
a. (8+12)*5
b. (8+12]*5
c. [8+12]*5
d. {8+12}*5

10. If "b" is defined in MATLAB as:b = 1.0e+003 * Columns 1 through 7 0.1040 0.2080 0.3120 0.4161 0.5201 0.6241 0.7281 Columns 8 through 10 0.8321 0.9361 1.0402
What is b(7)?
a. 7.281
b. 0.7281
c. 728.1
d. 72.81

11. You can't use MATLAB on the Cloud in research and commercial applications.
True False

12. A vector is defined in MATLAB the same as is defined in Algebra.
True False

13. You can name a variable "ans" that you will be using later in other computations.
True False

14. Which of the following results in 1000?
a. e3
b. 1e3
c. 1*e3
d. 10exp(3)

15. How many elements are in variable A, if A = linespace(15,100,35)?
a. A is not defined
b. 1
c. 100
d. 35

16. If the size of b is shown on the workspace menu for MATLAB as 4x4, what type of variable b is?
a. Vector
b. 4-D matrix
c. 2-D matrix
d. Scalar

17. If we have the following commends in MATLAB:x = 10Range = [x:x/25:2*x],How many elements are stored in Range?
a. 25
b. 26
c. 20
d. 10

18. Which commend in MATLAB is used to list variables and their sizes?
a. variablesize
b. varsize
c. who
d. whos

19. It is not possible in MATLAB to generate 3-D arrays.
True False

20. Which command in MATLAB is to delete all the variables stored in the workspace?
a. clc
b. clear
c. cls
d. delete all

21. If you want to save data stored in workspace in MATLAB into a file name mydata.dat, which commend(s) do you use?
a. save workspace mydata.dat
b. save variables mydata.dat
c. save all mydata.dat
d. save mydata.dat

22. If variable Test(i,j) is selected so the first column represents the student number (1,2,..., 32), 2nd column represents the score of the first homework, 3rd column represents the score of the 2nd homework, etc. If there is a total of 6 homework for this class, what is the size of Test?
a. (32,6)
b. (32,7)
c. (6,32)
d. (7,32)

Reference no: EM13316635

Questions Cloud

A baby bomber manager of a generation y subordinate : A baby bomber manager of a Generation Y subordinate may
Determine the rms current in the circuit : An ac generator producing 10 V (rms) at 300 rad/s is connected in series with a 25-? resistor, The rms current in the circuit (in mA) is
Determine the velocity with a static pressure in pipe : Water with a static pressure of 1.96kN/M2 flows through an 800 mm diameter pipe. A pitot tube pressure gage in this pipe reads a pressure of 5.88 kN/M2. Determine the velocity (V)
How high above the ground does it go before coming to a stop : A 5.60 kg of mass is pressed against a spring with a spring constant of 12500 N/m. how high above the ground does it go before coming to a stop
Determine what is the size of variable test : If variable Test(i,j) is selected so the first column represents the student number (1,2,..., 32), 2nd column represents the score of the first homework, 3rd column represents the score of the 2nd homework, etc.
Will the study involve physical stress to the human subjects : Study involve physical stress to the human subjects such as might result from heat, noise, electric shock, pain, sleep loss, deprivation of food and drink, drugs, alcohol?
Find the rms voltage across the capacitor : An ac generator producing 20 V (rms) at 200 rad/s is connected in series with a 50-%uF057 resistor, The rms voltage (in volts) across the capacitor is
Find the power factor when frequency is given : A series circuit consists of a 15-%uF057 resistor, a 35-mH inductor, and a 25-%uF06DF capacitor. If the frequency is 100 Hz the power factor is
Find the average current that flows through the resistor : One hundred turns of insulated copper wire are wrapped around an iron core of cross-sectional area 0.100 m2. find the average current in amperes that flows through the resistor

Reviews

Write a Review

Civil Engineering Questions & Answers

  How to estimate the time of submersion in years

Apiece of corroded steel plate was found in a submerged ocean vessel. it was estimated that the original area of the plate was 62.5cm 2 and approximately 2.8k had corroded away during the submersion.

  How long the train blocked the crossing

Assuming constant acceleration, determine how long the train blocked the crossing. Dis- regard the width of the crossing.

  Determine the dimensions of the pit that minimizes cost

Assume excavation costs at $100/m3, side lining costs at $50/m2, and cover cost at 25/m2. Determine the dimensions of the pit that minimize cost -If the side slope is unconstrained and -If the side slope must me less than 450

  How many cubic feet of seawater

how many cubic feet of seawater, density 60 lb/ft^3, must be processed to recover 1 ton of magnesium, 1,272 ppm?

  Resulting center of gravity

The section of the plywood in the 3rd quadrant is sawed off and the resulting piece is then glued squarely over the 4th quadrant portion of the plywood with glue of negligible weight.What are the x- and y-coordinates of the resulting center of gra..

  Compute the elastic modulus and the shear modulus

a cylindrical specimen of a metal alloyed in stressed in compression. If its original and final diameters are 40.00 and 40.10 mm, respectively , and its final length is 120.00 mm, compute its original length(L0)

  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"

  What should the volume of each reactor be to produce

The wastewater has a flow rate of 150 m3/hr, and is treated in a series of two completely mixed flow reactors which each have an equal volume. If the influent VOC concentration is 10 mg/L, what should the volume of each reactor

  Compute the total energy per unit weight

A fluid flowing in a pipe 30cm in diameter has a uniform velocity of 4m/s. The pressure at the center of the pipe is 40KPa, and the elevation of the pipe's centerline above an assumed datum is 4.5m. Compute the total energy per unit weight of the ..

  How will alum floc described in part d need to enter basin

A water treatment plant with a maximum daily flow of 4.4 m3/s is treating surface water with a minimum ambient temperature of -1°C (30°F). The water is coagulated with alum and the alum floc was measured to have a settling velocity of 1.6 m/h at 1..

  Design square column footing for in square tied interior

Design a square column footing for a 18-in square tied interior column that supports a dead load D= 220 k and a live load L=180 k. The column isreinforced with eight bars, the base of the footing is 4 ft below grade

  Determine the linear interpolation function of displacement

Consider a 2D triangular element with the three vertices at 1[1,1], 2[1,2] and 3[2,2]. the displacements at these t hree points are [0.1,0.1], [0.3,0.2] and [0.4, 0.3] mm for point 1,2,and 3 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