subject

A) (1 pt) load the file steam. txt. this would create a 3 column matrix with the name steam that has all the data in the file. b) (3 pts) assign column 1, 2, and 3 of steam to variables t, vf, and vg, respectively. c) (3 pts) use vf and vg in equation (1) to create 3 more column vectors, which will be the specific volume at x = 0.25, 0.5, and 0.75. d) (2 pts) now your program must create a matrix steam_mod where the 1st column is the temperature, as before, while columns 2 to 6 will be the specific volume at x = 0, 0.25, 0.5, 0.75 and 1, respectively. e) (1 pt) save steam_mod in another ascii file steam_mod. dat. f) (2 pts) using the disp() function with format short g, display the 1st 30 rows of steam_mod as t v(x=0) v(x=0.25) v(x=0.5) v(x=0.75) v(x=1)

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:00, sophiawatson70
Create a cell reference in a formula by typing in the cell name or         a. right-clicking the cell. b. clicking the cell. c. clicking the column where the cell is located. d. clicking the row where the cell is located.
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, abdulbasharee99
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
image
Computers and Technology, 24.06.2019 02:00, arubright177
Write an expression that will cause the following code to print "equal" if the value of sensorreading is "close enough" to targetvalue. otherwise, print "not equal". ex: if targetvalue is 0.3333 and sensorreading is (1.0/3.0), output is:
Answers: 1
image
Computers and Technology, 24.06.2019 02:00, akatherine1738
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
You know the right answer?
A) (1 pt) load the file steam. txt. this would create a 3 column matrix with the name steam that has...

Questions in other subjects:

Konu
Mathematics, 16.04.2020 16:05