Question

Create a 6x8 uniform random number integer set A in the range of -20 to 32....

Create a 6x8 uniform random number integer set A in the range of -20 to 32. Please determine the maximum, minimum values of the data set. Determine the square root of each element in A as well as the square of each element in A.

* MATLAB

. Given a range of temperatures between 298-350 K, determine the vapor pressure of water from the Antoine equation: ln(P*) = A − (B/C + T) where A = 23.7836, B = 3782.89, and C = -42.85. P* will be in (Pa).

*MATLAB

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

1)


clc
clear all
disp('Set A')
A=rand(6,8)*52-20

disp('Square root of A')
sqrt(A)

disp('Square of A')
A.^2

2)


clc
clear all
T=298:0.1:305;
A = 23.7836;
B = 3782.89;
C = -42.85;
disp('Vapor pressures')
P_st=exp(A-(B/C+T))
plot(T,P_st)

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Create a 6x8 uniform random number integer set A in the range of -20 to 32....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Use Random number generator (under Data Analysis) to simulate the following data set. Create 10 columns, each 20 points...

    Use Random number generator (under Data Analysis) to simulate the following data set. Create 10 columns, each 20 points long and use the following parameters: Number of variables (10), number of data point (20), Distribution (Normal), Mean (40), Standard Deviation (10), Random seed (1234). The data should be in columns: A,B,C,….,I,J. Randomly pick two columns (say Column B and Column H) and perform 2-sided t-test on these two data columns. Record the P-value and repeat this procedure several times (at...

  • summatize the following info and break them into differeng key points. write them in yojr own...

    summatize the following info and break them into differeng key points. write them in yojr own words   apartus 6.1 Introduction—The design of a successful hot box appa- ratus is influenced by many factors. Before beginning the design of an apparatus meeting this standard, the designer shall review the discussion on the limitations and accuracy, Section 13, discussions of the energy flows in a hot box, Annex A2, the metering box wall loss flow, Annex A3, and flanking loss, Annex...

  • I have this case study to solve. i want to ask which type of case study...

    I have this case study to solve. i want to ask which type of case study in this like problem, evaluation or decision? if its decision then what are the criterias and all? Stardust Petroleum Sendirian Berhad: how to inculcate the pro-active safety culture? Farzana Quoquab, Nomahaza Mahadi, Taram Satiraksa Wan Abdullah and Jihad Mohammad Coming together is a beginning; keeping together is progress; working together is success. - Henry Ford The beginning Stardust was established in 2013 as a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT