1. A rigid tank with a volume of 1.8 m3 contains 15 kg of saturated liquid vapor mixture of water at 90oC. Now the water is slowly heated. Determine the temperature at which the liquid in the tank is completely vaporized. Also, show the process on a T-v diagram with respect to saturation lines. (5 marks)

2. A 0.5 m3 vessel contains 10 kg of refrigerant-134a at -20oC. Determine (a) the pressure, (b) the total internal energy, and (c) the volume occupied by the liquid phase. (8 marks)

3. A tank whose volume is unknown is divided into two parts by a partition. One side of the tank contains 0.01 m3 of refrigerant-134a that is a saturated liquid at 0.8 MPa, while the other side is evacuated. The partition is now removed, and the refrigerant fills the entire tank. If the final state of the refrigerant is 20oC and 400 kPa, determine the volume of the tank. (4 marks)

4. As shown in Figure 1, a 0.5 m3 rigid tank containing hydrogen at 20oC and 600 kPa is connected by a valve to another 0.5 m3 rigid tank that holds hydrogen at 30oC and 150 kPa. Now the valve is opened and the system is allowed to reach thermal equilibrium with the surroundings, which are at 15oC. Determine the final pressure in the tank. (4 marks)

Figure 1
5. Nitrogen at 150 K has a specific volume of 0.041884 m3/kg. Determine the pressure of the nitrogen, using (a) the ideal gas equation and (b) the Beattie-Bridgeman equation. Compare your results to the experimental value of 1000 kPa. (9 marks)

Date of submission: 19th October 2011 (EH2211A)/20th October 2011 (EH2201B)

...specify in a variable declaration?
You must specify the variable type and an identifier.
int n; // type - int, identifier - n
6. What value is stored in uninitialized variables?
is a variable that is declared but is not set to a definite known value before it is used.
Algorithm workbench
3. Write assignment statements that perform the following operations with the variables a, b, and c.
a. Adds 2 to a and stores the result in b
b. Multiplies b times 4 and stores the result in a
c. Divides a by 3.14 and stores the result in b
d. Subtracts 8 from b and stores the result in a
Assignment statements that perform operations with the variables a, b, and c* (*Actually none of these operations involves the variable c at all... is this an error, or a 'trick answer'?):
b = a + 2
a = b * 4
b = a / 3.14
a = b – 8
4. Assume the variables result, w, x, y, and z are all integers, and that w = 5, x = 4, y = 8, and z = 2. What value will be stored in result in each of the following statements?
a. Set result = x + y
b. Set result = z * 2
c. Set result = y / x
d. Set result = y – z
result = x++ - y;
Answer -4
result = 4 – 8 = -4
result = ++w + y;
Answer
w = w + 1 = 5 + 1 = 6
result = 6 + 8 = 14
5. Write a pseudocode statement that declares the variable cost so it can hold real numbers.
Declare Real price= 0.00
Display "the original price."
Input item original price
Display "price"
6. Write a...

...Week 1 Activity—Pseudocode and Visual Basic
-------------------------------------------------
TCO 1—Given a simple business problem, design and desk-check a solution that is expressed in terms of pseudocode, flowchart, and/or input-process-output (IPO) diagrams.
-------------------------------------------------
Assignment
This activity will assist you in the understanding of how output should appear after statements are executed (results) and how to write proper pseudocode, as well as the relationship between pseudocode, flowcharts, and programming language code.
1. Show the result of each pseudocode program.
2. Also rewrite the pseudocode statements or flowchart using Assignment statements.
Rubric
When completed, compile the following documents together neatly in order.
1) This instruction sheet first
2) Your answer sheet second
Point distribution for this activity:
Activity |
Document | Points possible | Points received |
Problem #1 | 6 | |
Problem #2 | 6 | |
Problem #3 | 8 | |
Total Points | 20 | |
Example
The variable A starts with value 5.
Add 1 to A
Display the value of A on the screen.
Example Output
-------------------------------------------------
-------------------------------------------------
6
-------------------------------------------------
Example Pseudocode...

...Proportions
Problem 1
Bear population. To estimate the size of the bear population on the Keweenaw Peninsula, conservationists captured, tagged, and released 50 bears. One year later, a random sample of 100 bears included only 2 tagged bears. What is the conservationist's estimate of the size of the bear population?
I think using a simple ratio equation would work here,
let b = bear population
=
cross multiply
2b = 50*100
2b=5000 divide 2 by 5000
5000 =b
2
b=2500 answer
Problem 2
For the second problem in this assignment I am asked to solve this equation for y. The first thing I notice is that it is a single fraction (ratio) on both sides of the equal sign so basically it is a proportion which can be solved by cross multiplying the extremes and means.
y-1 = -3 this problem is a proportion
x+3 4
y-1 (x+3 = -3 (x+3) multiply both sides by x+3 – using the extreme means
x+3 4 property
y-1= -3x+3 add 1 to 3. A number that appears to be a solution but causes 4 0 in a denominator is called an extraneous solutions
y=-3x+4
4 answer
The form of equation I ended up with in problem 10 would be a linear equation. I noticed that the coefficient of x is different than the original problem is that x+3 and in my problem it is -3x/4. I could solve the problem by cross...

...[pic]
ASSIGNMENT SUBMISSION AND ASSESSMENT
_________________________________________________________________________
OUMM3203
PROFESSIONAL ETHICS
(PLEASE EDIT WHERE NECESSARY-THIS IS ONLY SUGGESTIONS FOR THE ASSIGNMENT’S GENERAL INSTRUCTIONS)
_________________________________________________________________________
INSTRUCTIONS TO STUDENTS
1. This assignment contains only ONE (1) question that is set in the language of the printed module for the course.
2. Answer in _______ or English.
3. Download the language version of the assignment template concerned from the MyVLE for preparation and submission of your assignment. Your assignment should be typed using 12 point Times New Roman font and 1.5 line spacing.
4. Your assignment should be between 2500 to 3000 words excluding references. The number of words should be shown at the end of your assignment. Do not copy the assignment question and instructions to your answer.
5. You must submit your assignment ON-LINE via the MyVLE. Refer to the portal for instructions on the procedures to submit your assignment on-line. You are advised to keep a copy of your submitted assignment for personal reference.
6. You can submit your assignment ONCE only in a SINGLE file.
7. Your assignment must be...

...PT1420 - Unit 5 Homework and Lab Assignment
Unit 5 Assignment1: Homework
1.) Design an if-then statement that assigns 20 to the variable y and assigns 40 to the variable z if the variable x is greater than 100. (Simple if statement)
If x > 100 then
Y=20
Z=40
End if
2.) Design an if-then statement that assigns 0 to the variable b and assigns 1 to the variable c if variable a is less than 10. (Simple if statement)
3.) Design an if-then-else statement that assigns 0 to variable b if variable a is less than 10, otherwise it should assign 99 to variable b. (Alternative if statement)
If a < 10 then
B = 0
Else
B = 99
End f
4.) The symbols >, <, and == are all Relational operators.
5.) The if-then statement is an example of a conditioal structure.
6.) The Selection structure is based on boolean logic.
7.) The if-else statement is know as a dual alternative decision structure.
8.) A nested if statement is used to ask multiple questions before deciding what processing path to take.
True False
*****************************************************************
Unit 5 Labs
1.) Lab 5.1: Evaluating Conditions with Relational Operators.
Critical Review
A relational operator determines whether a specific relationship exists between two values.
Relational operators
Operator
Meaning
Boolean Expression
>
Greater than
X > Y
<
Less...

...Institute Approved Centre
Level 5 Extended Diploma in Management and Leadership
Written Assessment – 5
Unit 5001V1
Instruction Sheet
Assignment: Unit 5001V1 – Personal development as a manager and leader
Level: 5
Lecturer: Ian Laing
Date of Issue: 13th May 2015
Date Due In: 26th June 2015
Format: Word Document submitted to:
ianlaing@ihlassociates.karoo.co.uk
Assessment Outline
Candidates are to write an essay of between 2500 and 3000 words excluding appendices about how to improve their own management and leadership skills and competencies to help meet your performance objectives. You should also write about how you develop effective working relationships to help you deal with a variety of situations in the workplace which will require you to support and promote staff welfare.
Your essay should be based on research, investigation and analysis which you have carried out yourself making sure that you acknowledge sources and include appropriate references, bibliography and appendices in support of your investigation and argument.
The essay should answer the following questions demonstrating your knowledge and understanding of the topics covered by this unit.
1. Identify the importance of continual self-development in achieving organisation objectives. Also assess your current skills and competencies against your defined...

...Week 1 Activity – Pseudocode
-------------------------------------------------
TCO #1– Given a simple business problem, design and desk-check a solution algorithm that is expressed in terms of pseudocode or program notes and input-process-output (IPO) analysis leading to a flow chart.
-------------------------------------------------
Assignment:
This activity will assist you in the understanding of how output should appear after statements are executed (results) and how to write proper pseudocode.
1. Show the result of each pseudocode program.
2. Also rewrite the pseudocode statements using Assignment statements.
Rubric:
When completed compile the following documents together neatly in 1 & 2 order:
1) This instruction sheet first
2) Your answer sheet, second
Point distribution for this activity:
Pseudocode Activity |
Document: | Points possible: | Points received |
Problem #1 | 6 | |
Problem #2 | 6 | |
Problem #3 | 8 | |
Total Points | 20 | |
Problem #1:
The variable X starts with the value 0.
The variable Y starts with the value 5.
Add 1 to X.
Add 1 to Y.
Add X and Y, and store the result in Y.
Display the value in Y on the screen.
Output #1:
-------------------------------------------------...