Display matrix g Creale matrix h with the first element equal t0 row col 3 of a the second element equal t0 rOw col 2 of €, and the third element equal t0 row 2, col 1 of b. Display matrix e Combine matrix b and matrix t0 creale matnx a one-dimensional matix with six rows and one column: Display matrix f Create matrix g from matrix: and the first three elements of matrix C, with four rows and three columns. Combine matrix and matrix d t0 create matnx two-dimensional matrix with three rows and two columns. Write Scilab script named HW6Prob04.sce, that will calculate thc follwing: Create the following matrices and use them in the exercises that follow:Ĭreale malrix called Irom the third column of matrix a. The acceleration due to gravity is 9.81 m/s? Use the meshgrid() function for your calculations Your answer should be two-dimensional matrix. Assume that the first uses mercury, with density of 13,560 kglm? and Ihe second uses water, with density of 1000 kglm. SOLVED: 3.) Write Scilab script named HW6Prob03.sce, that will calculate the following: A barometer is used to measure atmospheric pressure and is filled with high-density fluid: In the past, mercury was used but because of its toxic properties it has been replaced with a variety of other fluids The pressure is calculated using the equation: Puydro 0 g H Find the height to which the liquid column will rise for pressures from 0 to 100 kPa for two different barometers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |