subject
Engineering, 29.02.2020 03:21 darrenmcfadden220

Answers are to be reported as pX= where X is the problem number. * For example the answer to problem i should be reported as pl- $ if it is a single part question, and pla= if it is a multipart $ question. This is how to report your answer for a single part question pl = sind (180); * This is how to report your answer for a multi-part question p2a = exp(-2*pi); p2b = fix (2*pi); p2c = mean (1:5); p2d = 'my answer is ...'; Problem 4: Use nested for loops to perform the following exercises. Do not use MATLB built-in function. (a) Create the 3-D function: M(x, y, z) = e-(sin(2x)cos(4y)tanh(z)]' in a rectangular domain with x = (-2:0.01:2]; y = (-1:0.01:1] and z = [0:0.01:1). Matrix M should have the dimension of length(x) by length(y) by length(z). Set p4a=M. (b) Compute the average value of M over the entire rectangular domain and put the answer into p4b. The answer should be a single number. (c) Compute the average values of M over the x-y planes and put the answer into p4c. The answer should be a vector with the dimension of length(z). (d) Compute the average values of M along the z-direction and put the answer into p4d. The answer should be a 2-D matrix with the dimension of length(x) by length(y). (e) Create figure 1. Use function surf to plot the answer in part (d), e. g. p4d, versus x and y. Remember to label the axes and give the figure a title. Set p4e='See figure 1'.

ansver
Answers: 3

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, jadeochoa4466
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
image
Engineering, 04.07.2019 18:10, qwertylol12345
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
image
Engineering, 04.07.2019 18:10, ijohnh14
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
image
Engineering, 04.07.2019 18:10, soreese02
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
You know the right answer?
Answers are to be reported as pX= where X is the problem number. * For example the answer to problem...

Questions in other subjects:

Konu
Spanish, 26.02.2021 23:50
Konu
Mathematics, 26.02.2021 23:50
Konu
Mathematics, 26.02.2021 23:50