Written in JAVA Coding
Write a java project that reads a sequence of up to 25 pairs of names and postal (ZIP) codes for individuals (sample input data is attached). Store the data in an object designed to store a first name (string), last name (string), and postal code (integer). Assume each line of input will contain two strings followed by an integer value, each separated by a tab character. Then, after the input has been read in, print the list in an appropriate format to the screen.
In: Computer Science
A German bond that pays annual coupons of 4.5%, has a par value of €1,000, and a YTM of 3.9%. Assuming there are 19 years until maturity, what is the current price of this bond?
In: Finance
AVZ is a start-up company who is using all its cash to growth so it does not plan to pay dividends for the next 5 years. The company then plans to start paying annual cash dividends starting in year 6 of $4.00 for 14years. Thereafter, the company will assume a constant growth dividend policy and the estimated growth rate in dividends forever after that point is 4%. The price of the stock is set to yield a return of 10%. What is the price of this stock today?
The price today is $
MMM Inc. has an annual cash dividend policy that raises the dividend each year by 10.00%. Last year's dividend was $1.70 per share. Investors want a 17% return on this stock. What is the price today of this stock if the company will be in business for five years and not have a liquidating dividend (there is no selling price - stock simply cease to exist with no value then)?
The price of this stock today is?
G-2 Inc. expects the following dividend pattern over the next seven years:
Year 1 |
Year 2 |
Year 3 |
Year 4 |
Year 5 |
Year 6 |
Year 7 |
|
$1.50 |
$1.56 |
$1.62 |
$1.68 |
$1.75 |
$1.82 |
$1.90 |
The company will then have a constant dividend of $1.97 forever. What is the price of this stock today (year 0) if an investor wants to earn 14% rate of return?
In: Finance
Megan, 15 years old, confides to you that she and her boyfriend have had sex a few times. Megan is concerned about getting pregnant but does not know much about contraception. She says that talking to her parents about sex and contraception is out of the question. 1. How can you help Mega make responsible decisions concerning her sexuality? 2. What problems have you seen in adolescents who become parents? 3. As a community nurse, what are your concerns about this teenager and what would be your priorities to address with this pregnant teenager?
In: Nursing
Fox Company manufactures a specialty brass hardware item that it sells to com-
panies that use it as an attachment for the garden hoses they manufacture. During the most recent
month, there were 1,500,000 units in opening inventory. During the month 6,000,000 units were
entered into production and 7,000,000 were completed. The units in ending inventory were 100%
complete with respect to materials costs and 90% complete with respect to conversion costs. The
accounting records show that there were $3,000,000 of materials costs and $750,000 of conver-
sion costs in opening inventory, and in the current month, materials costs of $11,250,000 and
conversion costs of $5,955,000 were added.
Required
(a) Compute the cost per equivalent unit for materials.
(b) Compute the cost per equivalent unit for conversion.
(c) Compute the materials cost in ending work in process.
(d) Compute the conversion cost in ending work in process.
(e) Compute the material costs transferred out.
(f) Compute the conversion cost transferred out
In: Accounting
Choose 1 Microcontroller from each company and write a report on the internal architecture of 3-4 pages
Following are companies:
◼️Intel ◼️Analog Devices ◼️TI ◼️Atmel ◼️AMD
In: Computer Science
What is your view on the “returns” of a college degree? Remember that the cost is not only the tuition, but also the opportunity lost due to the hours you have to devote to it. Given that, is it worth it? What about a graduate degree?
In: Operations Management
________________ by one party to a contract entitles the other party to sue immediately for damages or other remedies.
a. |
Request for specific performance |
|
b. |
Denial of a request for restitution |
|
c. |
Demand of assurance of performance |
|
d. |
Anticipatory repudiation |
If an employer is charged with violating anti-discrimination laws, the employer could defend itself by claiming its action was based on
a. |
bona fide occupational qualification |
|
b. |
business necessity |
|
c. |
all of the choices are possible employer defenses. |
|
d. |
seniority |
According to the textbook, the term ‘ethics’ refers to _________ .
a. |
those behaviors that result in good publicity for a company |
|
b. |
a conscious system in place for making decisions with moral dimensions |
|
c. |
behavior people engage in when others are watching |
|
d. |
the generally accepted standards of right and wrong in a given society |
According to the textbook, the term ‘ethics’ refers to _________ .
a. |
those behaviors that result in good publicity for a company |
|
b. |
a conscious system in place for making decisions with moral dimensions |
|
c. |
behavior people engage in when others are watching |
|
d. |
the generally accepted standards of right and wrong in a given society |
In: Finance
Discussion # 1- Nature vs. Nurture
The biggest debate in psychology, seemingly, is the one about the origin of what makes us who we are. This debate is simply referred to as the 'Nature vs. Nurture' debate. The side of nature is what we are studying in this course, the biological influences and genetics that we come into this world with (what mom and dad gave us). The nuture side of things is simply the experiences we have in life, the friends and family, and how we were raised. It's obvious that it is a combination of these 2 elements, but what do you think that split might be and why?
For example, as a "neuro nerd", I believe the split is 80% biology/genes, and 20% environment. Not everybody feels that way, nor should they. What I would like you to do this week is to make an initial post stating what percent you think is biological and what percent is environment (50/50 maybe?) and why you think it is that way.
In: Psychology
c++
Write a program that displays the status of an
order.
a) Program uses 2 functions (in addition to main ()).
b) The first function asks the user for the data below and stores
the input values in reference parameters.
c) Input data from user: # of spools ordered, # of spools in stock,
any special shipping & handling charges over and above the $10
rate.
d) The second function receives as arguments any values needed to
compute and display the following information:
e) # of spools ready to ship from current stock, # of ordered
spools on backorder (if ordered > in stock),
f) Total sales price of portion ready to ship (# of spools ready to
ship X $100),
g) Total shipping and handling charges on the portion ready to
ship, Total of the order ready to ship.
h) Shipping & handling parameter in 2nd function should have a
default argument of $10.00.
I) Input validation: Do not accept numbers < 1 for spools
ordered,
J) Input validation: Do not accept numbers < 0 for spools in
stock or for shipping & handling charges.
In: Computer Science
In a lab where the Helmholtz coil equation combined with energy conservation is used to determine the charge per mass ratio of the electron what are some random and systematic errors, how can they be minimized, and what does a vector diagram of the experiment look like? Can you explain to me how an experiment of this sort would look?
In: Physics
(+30) Write a python program per the following specifications:
At this point you should have a total of 50000 observations
NOTE: sd should be > 100
‘Yes’ if it is within the range calculated in 5c
‘No’ if it is not
my work:
import random import math myArray=[] a=0 b=1 size= 50 j=0 n=1000 #populate array with size=50 random integers in range 0-1 and repeat for 1000 times while(j<n): for k in range(size): randNum=random.randint(a,b) myArray.insert(k,randNum) j=j+1 #display array size print("size of my array is ",len(myArray)) #print myArray 50 values per line k=0 sub=[] while(k<len(myArray)): sub=myArray[k:k+50] print("...",k,sub) k=k+50 #count no. of ones and zeroes zeros=0 ones=0 i=0 while(i<len(myArray)): if(myArray[i]==1): ones=ones+1 else: zeros=zeros+1 i=i+1 print("number of 1 is ",ones) print("number of 0 is ",zeros) #calculate mean and SD of binomial distribution #probability of occurence of 1 is p = 1/2 and occurence of 0 is q =1/2 #mean of Binomial distribution = np #SD(standard deviation) of Binomial distribution = (npq)^1/2 #here n=50000 or length of array n=len(myArray) p=0.5 q=0.5 mean= n*p #expected mean of no of ones sd = math.sqrt(n*p*q) print("===============================") print("mean of 1s in My Array: ",mean," sd(standard deviation): ",sd) Lrange=int(round(mean-sd)) Rrange=int(round(mean+sd)) print("range: mean+-sd: ",Rrange," ",Lrange) #round off the range to nearest integer #check if no of ones is within range if(ones>= Lrange and ones<= Rrange): output="Yes" else: output="No" print("Actual number of ones is within the range mean+-sd ??? Ans is: ", output)
getting error line 11
for k in range(size):
^
IndentationError: expected an indented block please
help
In: Computer Science
Given an array of n numbers, not necessarily in sorted order,
we
wish to find: (i) the range (max - min) and (ii) the interquartile
range (IQR) of the numbers.
IQR is defined as the difference between the number at the 25%
percentile and the number at the
75% percentile. What is the exact number of comparisons needed for
computing the range and
why? Using any algorithm from the chapters of the textbook covered
so far as a subroutine, give
an efficient algorithm for computing IQR and analyze its time
complexity (you do NOT need to
analyze the subroutine if you remember its time complexity). Show
all steps.
(b) Given positive integers, x and n, as input, we wish to compute
efficiently the number xn. What
is the size of the input and why? How many multiplications are
required by the straightforward
algorithm that initializes an output variable to x and does output
= output * x repeatedly until
output = xn. Is this a polynomial-time algorithm?
Explain precisely and in detail.
In: Computer Science
Write a program that asks the user to enter the total precipitation for each of the twelve months of the year into a list. The program should calculate and display the total precipitation for the year, the average monthly precipitation, and the months with the highest and lowest precipitation amounts. FYI: precipitation is measured in inches.
Assume that precipitation amounts are floating-point numbers. You will need a list to store the precipitation amounts and another list to store the names of the months.
Here is a sample run:
Enter total precipitation for January: 3.44 Enter total precipitation for February: 3.01 Enter total precipitation for March: 4.32 Enter total precipitation for April: 4.12 Enter total precipitation for May: 4.37 Enter total precipitation for June: 4.60 Enter total precipitation for July: 5.05 Enter total precipitation for August: 3.98 Enter total precipitation for September: 4.53 Enter total precipitation for October: 3.82 Enter total precipitation for November: 3.94 Enter total precipitation for December: 4.23 Total precipitation: 49.41 inches. Average precipitation: 4.12 inches. July has the highest precipitation: 5.05 inches. February has the lowest precipitation: 3.01 inches.
Notes:
PLEASE CODE IN PYTHON PROGRAMMING LANGUAGE
In: Computer Science