Suppose that MERCEDES COMPANY has announced that some of the cars that they sold( of each of the 3 MODELS X, Y and Z) in NORTH CYPRUS last year (2019) has turned out to be DEFECTIVE.
The respective number of Non- Defective and Total Number of Mercedes cars sold for each Model have been reported to be as follows;
MODEL
X Y Z
NUMBER OF NON DEFECTIVE CARS SOLD 150 50 500
TOTAL NUMBER OF CARS SOLD 300 500 800
Suppose that we randomly select 2 different (First and Second) consumers each of whom purchased a new MERCEDES car in 2020. Given this experiment answer all of the following 10 questions.
Q1) What is the probability of the first consumer’s car to be MODEL X?
Q2)What is the probability of the first consumer’s car to be either MODEL Y or MODEL Z?
Q3)What is the probability of the second consumer’s car to be either MODEL X or MODEL Y?
Q4) What is the probability of the first consumer’s car to be either DEFECTIVE or MODEL Y?
Q5) What is the probability of the second consumer’s car to be either NON-DEFECTIVE or MODEL Z?
Q6)If the second consumer’s car is MODEL Y, what is the probability that İt is NON-DEFECTIVE?
Q7) If the first consumer’s car is NON-DEFECTIVE what is the probability that it is MODEL Z?
Q8) What is the probability of the cars of both of these 2 consumers to be DEFECTIVE?
Q9)If the car of the first consumer is MODEL Z what is the probability of the car of the second consumer to be MODEL X?
Q10) If the car of the second consumer is DEFECTIVE, what is the probability of the car of the first consumer to be MODEL Y?
In: Statistics and Probability
Evans:
Evans Enterprises has bought a prime parcel of beachfront property and plans to build a luxury hotel. After meeting with the architectural team, the Evans family has drawn up some information to make preliminary plans for construction. Excluding the suites, which are not part of this decision, the hotel will have four kinds of rooms: beachfront non-smoking, beachfront smoking, lagoon view non-smoking, and lagoon view smoking. To decide how many of each of the four kinds of rooms to plan for, the Evans family will consider the following information.
After adjusting for expected occupancy, the average nightly revenue for a beachfront non-smoking room is $175. The average nightly revenue for a lagoon view non-smoking room is $130. Smokers will be charged an extra $15.
Construction costs vary. The cost estimate for a lagoon view room is $12,000 and for a beachfront room is $15,000. Air purifying systems and additional smoke detectors and sprinklers ad $3000 to the cost of any smoking room. Evans Enterprises has raised $6.3 million in construction guarantees for this portion of the building.
There will be at least 120 but no more than 180 beachfront rooms.
Design considerations require that the number of lagoon view rooms be at least 1.5 times the number of beachfront rooms, and no more than 2.5 times that number.
Industry trends recommend that the number of smoking rooms be no more than 50% of the number of non-smoking rooms.
There should be at least 45 rooms of each kind.
What is the optimal solution?
What is the optimal value of the objective function?
For what values of the objective coefficient will the above solution be valid? Include ranges for all decision variables.
If the budget increases to 7 million what is the change in the objective function? What is the shadow price for budget?
In: Operations Management
I have the following python code. I get the following message when running it using a test script which I cannot send here:
while textstring[iterator].isspace(): # loop until we get other than space character
IndexError: string index out of range. Please find out why and correct the code.
def createWords(textstrings):
createdWords = [] # empty list
for textstring in textstrings: # iterate through each string in trxtstrings
iterator = 0
begin = iterator # new begin variable
while (iterator < len(textstring)): # iterate through each character in the string
finished = iterator # new finished character
while textstring[iterator].isspace(): # loop until we get other than space character
iterator = iterator+1
word = textstring[begin:finished+1].strip() # extract the word from begin position to before the space character,
# textstring[begin,finshed] ; strip() will remove white spaces at ends
if (word): # if word is not empty
createdWords.append(word) # append new word to createWords
begin = iterator # update begin value with current iterator position
if (textstring[iterator]).isalpha():
if (textstring[iterator].isupper()): # if letter is in uppercase change it to lower case by using letter.lower() method.
textstring = textstring[:iterator] + textstring[iterator].lower() + textstring[iterator+1:]
print(textstring[iterator],"this a letter")
elif (textstring[iterator]).isdigit():
print(textstring[iterator],"is a digit")
else:
print(textstring[iterator],"this a symbol")
word = textstring[begin:finished].strip() # extract the word from begin position to before the symbol character,
# textstring[begin,finshed] ; strip() will remove white spaces at ends
createdWords.append(word) # append new word to createWords
begin = iterator # update begin value with current iterator position
iterator= iterator+1 # increment iterator value
word = textstring[begin:iterator].strip() # extract the word from begin position to the end of the string
createdWords.append(word) # append new word to createWords
return createdWords # return createWordsIn: Computer Science
SOLUTION IN JAVA LANGUANGE NEEDED. JAVA LANGUAGE
QUESTION.
NOTE - Submission in parts. Parts required - Dog Class
Code, Dog Manager Class Code and the main code. Please
differentiate all three in the answer.
This Assignment is designed to take you through the process of creating basic classes, aggregation and manipulating arrays of objects.
Scenario:
A dog shelter would like a simple system to keep track of all the dogs that pass through the facility.
The system must record for each dog:
dogId (int) - must be unique
name (string)
age (double) - cannot be less than 0 or more than 25
breed (string)
sex (char) – m for male, f for female
foundHome (bool) - true means the dogs has been places in a home false otherwise.
You must create an object oriented solution with a text based menu as summarized on the next page. The system must check that valid data is entered. For example, the menu has four items so only 1 to 5 must be allowed as input from the menu.
Summary of Operations
System Menu:
Add dog
View all dogs
View all available dogs
View dog
Update dog home status
exit
Overview:
Add Dog:
When a dog is added to the system, you must check that the dogId is not already used in the system. All new dogs have no home as yet (foundHome = false).
View all Dogs:
This menu option shows all dogs in the system. This includes dogs that have a home and those that do not.
View all available dogs:
Shows all dogs in the system, that have no homes as yet.
View dog:
Asks the user for a dogId and then displays the dog information if found and “There is no dog with that id..” if it is not found.
Update dog home status:
Asks the user for a dogId. If a dog with that id is found, the “foundHome” status is changed to true and the dog information is to be displayed. If the dog is not found the message “There is no dog with that id..” should be displayed.
In: Computer Science
NOTE - Submission in parts. Parts required - Dog Class Code, Dog
Manager Class Code and the main code. Please differentiate all
three in the answer.
This Assignment is designed to take you through the process of creating basic classes, aggregation and manipulating arrays of objects.
Scenario:
A dog shelter would like a simple system to keep track of all the dogs that pass through the facility.
The system must record for each dog:
dogId (int) - must be unique
name (string)
age (double) - cannot be less than 0 or more than 25
breed (string)
sex (char) – m for male, f for female
foundHome (bool) - true means the dogs has been places in a home false otherwise.
You must create an object oriented solution with a text based menu as summarized on the next page. The system must check that valid data is entered. For example, the menu has four items so only 1 to 5 must be allowed as input from the menu.
Summary of Operations
System Menu:
Overview:
Add Dog:
When a dog is added to the system, you must check that the dogId is not already used in the system. All new dogs have no home as yet (foundHome = false).
View all Dogs:
This menu option shows all dogs in the system. This includes dogs that have a home and those that do not.
View all available dogs:
Shows all dogs in the system, that have no homes as yet.
View dog:
Asks the user for a dogId and then displays the dog information if found and “There is no dog with that id..” if it is not found.
Update dog home status:
Asks the user for a dogId. If a dog with that id is found, the “foundHome” status is changed to true and the dog information is to be displayed. If the dog is not found the message “There is no dog with that id..” should be displayed.
In: Computer Science
Country Profile
Choose a country.
This assignment will be completed on your own. The object of this assignment is to analyze the economic health and productivity of a country. You will need to gather data and then analyze the data and supply a recommendation as to whether your fictional boss should open a business in this country. Begin by gathering economic data, a list of where to start is below (these are only some, you should think of other data points that will aid your analysis:
GDP
Population
Inflation rate
Unemployment rate
Worker productivity (there are a number of calculations for this)
Exchange rate
Total debt – government and individual
Government deficits
Mean or median population age
Labour force participation rate
Exports
Imports
Once you have gathered sufficient data please analyze that data to determine if this country would be a good country to open a business in.
This paper should be 2-3 pages long and use proper APA citations.
In: Economics
As an IT professional, you are likely to face many situations when a decision needs to be made. In many cases, the decision or choice is straight forward, requiring only technical and business judgement. In other cases, the situation is ambiguous from an ethical or professional viewpoint and you might not be certain of which decision is the right one.
Context of Choosen Workplace: Application developer
-Explain the context of the chosen workplace
. -Explain the ambiguous scenario you selected and clarify the source of ambiguity.
-Analyse the given scenario in the light of the ethical and professional responsibility of IT professionals and the relevant codes of conduct and professional practice. Point to any moral or professional dilemmas or questions that may rise in this situation.
-Discuss the available decisions or choices, and analyse them from ethical and professional viewpoints. -Advise on the best course of action, choice or conclusion for this scenario, and justify it.
Use external credible and scholarly resources to support your post
WIRTE YOURE citations and references
In: Computer Science
This week has focused on using several cost analysis tools to determine how well products contribute to a company’s profitability. However, all of these tools are internally used and not required to be published outside of an organization. Instead, external stakeholders rely on the three key financial statements reviewed in Unit 1:
If a company’s CVP analyses showed it was not operating at break-even, where on the financial statements might one be able to see this impact (i.e., specific line items on the statements)?
As portfolio activities are to be self-reflective, please make sure to connect the portfolio assignment to:
The Portfolio Activity entry should be a minimum of 500 words and not more than 750 words. Use APA citations and references if you use ideas from the readings or other sources.
In: Accounting
Locate a scholarly article in a psychology journal that utilizes a hypothesis or research question. Use e-library resources attached in course materials and document PSY380-LibraryResources, if you need help finding an article. You will answer each question below with full complete sentences using solid academic writing. Use in-text citations when needed. A reference page with all resources listed using APA formatting is expected.
Respond to the following questions about your scholarly article. You may answer the questions directly in this document or you may complete the assignment on a separate document.
In: Statistics and Probability
The purpose of the financial management is to maximize shareholders wealth. What is the meaning of shareholders wealth maximization? If a company attempts to maximize its shareholders wealth, is this good or bad for society? Explain by providing some examples. Do you think maximizing shareholders’ wealth also applies in Saudi Arabia?
Search the SEU library or the Internet for an academic or industry-related article. Select an article that relates to these concepts and explain how it relates to doing business in Saudi Arabia.
For your discussion post, your first step is to summarize the article in two paragraphs, describing what you think are the most important points made by the authors (remember to use citations where appropriate). For the second step, include the reference listing with a hyperlink to the article. Do not copy the article into your post and limit your summary to two paragraphs. Let your instructor know if you have any questions and enjoy your search.
In: Finance