General public seems to accept the yield management. It is to match the demand curve by charging based on differences in the passengers’ willingness to pay. People accept the management, because they think it is fair for people to pay higher price to get a ticket or a good if they really think they need it. For the airline , the management challenge is to identify those differences and price according to the demands. There are people who have to get on the airplane to go to somewhere emergency. They book the tickets in a really short time, if the airplane is almost full, the price will go up a lot; if the airplane is half full, he probably get a cheaper price for the ticket. Also the seat preference will be another demand for setting different prices. From my limit flight experiences, the seats with cheaper price usually are set in a limit choice. It means passengers who purchase the tickets only have few seats choices. If I overheard the person in front of you in line getting a better room rate at a Hilton Hotel, I probably will comfort myself her/his room is not as good as mine. It happens that people could get a cheaper even free room or ticket if she/he has time to find out the hotel is full or empty. But I would not do that, it’s time consuming and it is usually for people not follow the schedule. People who tend to get the better fare, they could wait until the last minute, and they will ask if there is any cheaper or free ticket go to the destination. And they also could book ahead from other people to get cheaper tickets with limited choice of seats.
...
Short answers
5. What two things must you normally 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...
...[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 submitted between...
...PT1420 - Unit 5 Homework and Lab Assignment
Unit 5 Assignment 1: 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 than
X < Y
>=
Greater than or equal to
X >= Y
<=
Less than...
...
Chartered Management 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...
...
Week 2 Assignment
Yasir Shakoor
Intermediate Algebra MAT222
Professor Perez
09/01/2014
For our Week 2 assignment, in Intermediate Algebra, we were asked to solve the problem number 68 on page 539 of Elementary and Intermediate Algebra. aside from completing the problem, we were also asked to write a two to three page paper while including the five given vocabulary words for the week. Please see the problem below:
Shipping restrictions. The accompanying graph shows all of the possibilities for the number of refrigerators and the number of TVs that will fit into an 18-wheeler.
a)
Write an inequality to describe this region.
b)
Will the truck hold 71 refrigerators and 118 TVs?
c)
Will the truck hold 51 refrigerators and 176 TVs?
Kindly consider the five given vocabulary words:
Solid line
Dashed line
Parallel
Linear inequality
Test point
In order to solve the problem, we need to be aware that the formula to solve any linear equation is y=mx+b. with the said, we can say that we have our y- intercept which is 330. (The ordered pair 0,330 demonstrates that the y coordinate is 330). Since we have our y- intercept, we will now discover what our slope is. The formula to determine any slope of a line is
m=y1- y2
x1-x2
M= 330-0
0-100
After performing division and simplifying, we have found that the slope of our line is -3.
a) Write an inequality to describe this region.
The inequality to...
...Proportions
Tara Lint
MAT 222 Week 1 Assignment
Instructor: James Segala
August 18, 2013
Solving Proportions
Proportions exist in the real world. For example, in finding out the price of a unit, or the population of a specific species. The first problem that we are working with states that “. 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?(Dugolpolski, 2012)
In reading over the “Bear Population” #56 on page 437 (Dugolpolski, 2012), the concept of proportions allow the assumption that the ratio of originally tagged bears to the whole population is equal to the ratio of recaptured tagged bears to the size of the sample. The estimated solution, variables will be defined and rules for solving proportions are used.
The ratio of originally tagged bears to the whole population is 50/x.
The ratio of recaptured tagged bears to the sample size is 2/100.
50=2 This is the proportion set up and ready to solve. This is the step where we will cross multiply.
x 100 at this point. The extremes are 100 and 50. The means are x and 2
100(50)=2x
50002=2x2 Divide both sides by 2
X=2500 The bear population of Keweenaw Peninsula is estimated to be around 2500.
For the second problem of this...
...conEcon345 Money and Banking Assignment 1
Zhongli Sui (Bill) 31438104
a). What is YTM(i) for bond A and B? which one is highest?
Bond A: 1000 = 1001+i + 901+i2 + 80(1+i)3 + 70(1+i)4 + 60(1+i)5 + 600(1+i)5
i(A) = 0
Bond B: 1000 = 1001+i + 1001+i2 + 100(1+i)3 + 100(1+i)4 + 40(1+i)5 + 400(1+i)5
i(B) = - 0.04419415
Bond A has higher yield than Bond B. ( 0 > -0.044195)
b). Suppose i=0.05 for both bond A and B, which bond has higher price?
Bond A:
P = 1001+0.05 + 901+0.052 + 80(1+0.05)3 + 70(1+0.05)4 + 60(1+0.05)5 + 600(1+0.05)5 = $820.69
Bond B:
P = 1001+0.05 + 1001+0.052 + 100(1+0.05)3 + 100(1+0.05)4 + 40(1+0.05)5 + 400(1+0.05)5 = $699.35
c). Is there an identical i that i(t)=i(t+1)=i(t+2)=… that makes bond price for A and B identical?
1001+i + 901+i2 + 80(1+i)3 + 70(1+i)4 + 60(1+i)5 + 600(1+i)5
= 1001+i + 1001+i2 + 100(1+i)3 + 100(1+i)4 + 40(1+i)5 + 400(1+i)5
When i = 100%, both bond A and bond B have price equal to $107.50
Which bond is more risky?
If all the information is correct, bond A is more risky in year 1 to 4, and bond B is more risky at year 5 due to the CEO resign....
...Running head: WEEK 1
Week One Assignment
Patrick Cain
Mat222: Intermediate Algebra
Joseph Oslakovic
August 27, 2012
Week One Assignment
I will set up two ratios and show an appropriate variable and write the equation. First problem is: 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?
In the Capture-Recapture method we notice that we are supposed to assume that the ratio of the original 50 tagged bears to the entire population is equal to the ratio of the recaptured tagged bears to the size of the sample (Dugopolski, 2012). First, we will set up the ratios.
Ratio of original tagged bears tot eh whole population is 50
X
The ratio of the recaptured tagged bears are 2
100
50 = 2 This is the proportion ready to solve. I will cross multiply
x 100 setting the extremes equal to the means.
100 (50) = 2x 100 and 50 are the two extremes, while x and 2 are the means.
5000 = 2x Divide both sides by 2.
2...