Explain two interpretations of the 2nd amendment. Which do you agree with and why?
In: Operations Management
1) Masaru Ibuka, founder and chairman of Japan's
Sony Corp, was asked in an interview, "What is the secret of your
success?" He said he had a ritual.
Preceding a business decision, he would drink herbal tea. Before he
drank, he asked himself, "Should I make this deal or not?" If the
tea gave him indigestion, he wouldn't make the deal. "I trust my
gut, and I know how it works," he said.
"My mind is not that smart, but my body is."
"My mind is not that smart, but my body is", which way of
thinking does this quote reflects? Explain your answer. .
Is it always right to do so? If not, what is the other way of
thinking to be followed? .
2) When German car manufacturer Volkswagen (VW) was
discovered in 2015 to have cheated on emissions test, the company’s
reputation was very badly affected. The company’s employees
reported a drop in trust for their company. It was the first time
this happens. VW
Employees’ feelings have changed as VW won
back the respect of its personnel
What is the type of problem Volkswagen was facing? Why? And how
this problem was solved?
made sure that everyone knew what happened and also what would
happen next. The company
also publicly admitted guilt. VW encouraged employees to express
their feelings and concerns.
Volkswagen’s efforts seem to have paid off.
and its image among the public also seems to have recovered.
In: Operations Management
This is an Inorganic C question. Answer all parts and show all work for full credit.
7. The bond angles of NH3, PH3, and AsH3 are 106.6°, 93.7°, 92.8°, respectively.
In: Chemistry
Suppose individual X scores in the population follow a normal distribution N(38, 20). A researcher draws numerous samples of sample size n = 100 from the population, and in each sample, she calculates the sample mean. Then 68% of these sample means should approximately fall within Group of answer choices (A) 34 and 40 (B) 34 and 38 (C) 38 and 44 (D) 36 and 40
In: Math
I want answers of the following questions
My lab assingment:
its a program written in netbean ide 8.2
My topic: Bank Account
Program code:
class Account{
int acc_no;
String name;
float amount;
void insert(int a,String n,float amt){
acc_no=a;
name=n;
amount=amt;
}
void deposit(float amt){
amount=amount+amt;
System.out.println(amt+" deposited");
}
void withdraw(float amt){
if(amount<amt){
System.out.println("Insufficient Balance");
}else{
amount=amount-amt;
System.out.println(amt+" withdrawn");
}
}
void checkBalance(){System.out.println("Balance is:
"+amount);}
void display(){System.out.println(acc_no+" "+name+"
"+amount);}
}
class TestAccount{
public static void main(String[] args){
Account a1=new Account();
a1.insert(832345,"Ali",1000);
a1.display();
a1.checkBalance();
a1.deposit(40000);
a1.checkBalance();
a1.withdraw(15000);
a1.checkBalance();
}}
Task: Each one of you was given a Lab assignment of choosing a real
world object to be represented as a programming object and writing
a class code for that object. You have been asked to mimic at least
3 states and 3 behaviors of that object.
Your theory assignment is to provide the detail analysis on your
part while you selected and mimic that object in programing
language. You are to provide brief insight and analysis you have
done in each the following:
1. What was your inspiration to choose that object?
2. Which 3 states you choose and why?
3. Do all the behaviors correspond directly to your states or not?
4. What were the challenges you faced with selecting the object?
5. If you were to asked to choose another object, which object
will you choose and why?
In: Computer Science
In: Psychology
The client needs this program written in Java. Your team is tasked to create a program that converts Fahrenheit to Celsius. Fahrenheit temperature of 87.6 degrees. Convert it to Celsius, and display the temperature in both units. Your output should look similar to the following:
Fahrenheit Temperature: 87.6
Celsius Temperature: 30.88
In: Computer Science
Define and explain naturalistic methodology. How is it different from a naturalistic cosmology (theory of how the universe began) and worldview?
In: Psychology
Identify the four sides of sustainable development and provide one example of each.
In: Operations Management
How would you find if numbers in an array element add up to a certain sum so for example if my array element consists of:
INPUT: 200, 10, 50, 20
and my output asks if these elements add to:
210? YES (200+10)
260? YES (200+10+50)
30? NO
What method would you suggest to look through the elements in an array (which im going to add through a text file) and determine if these sums exist in O(n^2)?
In: Computer Science
1) Fun Colors Inc. is a firm selling supplies for home improvement and decorating projects. At their founding in 1920, they chose to compete in the market by ensuring high product availability and variety. To support this strategy, they decided to keep 1-gallon cans of 75 different colors in the store with sufficient inventory that they would be able to meet customer demand for any color 98% of the time. A marketing study had shown that the demand for each color was more or less the same and independent of each other. The weekly demand forecast per color followed a normal distribution with a mean of 100 cans/week and a standard deviation of 40. The store ordered each colors from the factory located in Cincinnati, and the delivery time was around 2 weeks. Fun Colors paid $3.50/can.
a) How much safety stock of each color was required to support Fun Colors planned availability? (10 points)
b) Cost of capital for Fun Colors is 20% per year. What was Fun Colors’ annual holding cost for safety stock across all colors?
c) Shortly after Fun Colors entered the market, the industry’s technology changed tremendously. The competition was now implementing a new technology that enabled instant in-store customization of a color from one base-tone paint. To match the competition, Fun Colors examined switching to this new method of customization. To implement it, they would need to lease the mixing equipment. They would then stock a single base tone. (The dyes for coloring the base were produced locally and would only require a trivially small amount of in-store inventory.) The base paint would cost $3.50/gallon. Since the delivery for the base color would again be from Cincinnati, the lead-time would be 2 weeks.
There is a single vendor leasing the mixing equipment. What is the maximum Fun Colors should be willing to pay per month to lease the new machine?
In: Operations Management
This is my last assignment in a programming class I had to take as a prerequisite for a database course (seems odd). The instructor has been awful and I haven't learned much of anything. I use VBA at work and just can't follow C++. I'm stuck on this assignment and have no idea what I'm doing. I'm a database guy at work, I'm not a programmer. Please help.
In C++, a program that performs the following tasks:
1. Design a Book class that has three data members:
string title
int pages
double price
2. Add constructors and methods (as well as method parameters when necessary):
Book() // constructor(s)
getBookInfo() // print title, pages, price
setPrice() // change price
3. In the main() function, create two Book objects:
b1("C++ Programming", 834, 93.53)
b2("Data Structures", 217, 64.42)
4. Change the price of b2 to 55.46 using the setPrice() method.
5. Using cout, Print out book information using the getBookInfo() method as shown below:
C++ Programming 834 93.53
Data Structures 217 55.46
IN C++, a program that performs the following tasks:
1. Derive a TextBook class (child) from the Book class (parent).
2. Add new data members:
string school
double discount
3. Add new constructors and methods (as well as method parameters when necessary):
TextBook() // constructor(s)
compTextBookPrice() // price = price - discount
4. Override inherited methods:
getBookInfo() // print title, pages, price, school, discount
5. In the main() function, create two Book objects and two TextBook objects:
b1("C++ Programming", 834, 93.53)
b2("Data Structures", 217, 64.42)
tb1("Database", 365, 74.41, "YSU", 20.00)
tb2("Networks", 522, 92.58, "YSU", 20.00)
6. Using cout, print out book information as shown below:
C++ Programming 834 93.53
Data Structures 217 64.42
Database 365 54.41 YSU 20.00
Networks 522 72.58 YSU 20.00
In: Computer Science
4.4-4.6 The term arithmetic overflow refers to
the condition where the result of some computation is
outside the range of expected results. When a computation produces
a result with absolute value
smaller then the computer can represent we have arithmetic
underflow.
Answer the following 4 point questions regarding the detection of
incorrect computations when processing ALU instructions.
4.4 We have explored the potential for incorrect
answers caused by overflow when the ALU operates
on integers. For completeness, we need to examine the possibility
of underflow in integer ALU
operations. Either give an example of underflow or explain why
underflow is impossible for
integer ALU computations.
4.5 Can floating point arithmetic using the
IEEE standard format result in overflow? Either explain
why overflow is impossible for floating point or explain how the
presence of overflow can be
detected. Note: an example can be used when giving your answer, but
an example without
explanation is too poor to afford full credit.
4.6 Can floating point arithmetic using the
IEEE standard format result in underflow? Either explain
why underflow is impossible for floating point computations or
explain how the presence of underflow can be detected. Give an
example with an explanation.
In: Computer Science
1.
a) Write a C program to calculate |A-B|. You should type in A and B when running the program.
b) Write a C program using a function to calculate (A-B)^(1/2)
-If A > B, the result will be (A-B)^(1/2)
-If A < B,the result will be (B-A)^(1/2)i
-You should type in A and B when running the program.
In: Computer Science
Explain the Starving Time at Jamestown in the winter of 1609-1610
In: Operations Management