Part#1
Part#2
Part#3
Please answer these questions. Thnks
In: Computer Science
1. Define a struct for a soccer player that stores their name, jersey number, and total points scored.
2. Using the struct in #1, write a function that takes an array of soccer players and its size as arguments and returns the average number of points scored by the players.
3. Using the struct in #1, write a function that takes an array of soccer players and its size as arguments and returns the index of the player who scored the most points.
4. Using the struct in #1, write a function that sorts an array of soccer players by name.
5. Using the struct in #1, write a function that takes an (unsorted) array of soccer players and its size and a number as arguments, and returns the name of the soccer player with that number. It should not do any extra unnecessary work.
in c++ please
In: Computer Science
A wheel is rotating freely at angular speed 530 rev/min on a shaft whose rotational inertia is negligible. A second wheel, initially at rest and with 5 times the rotational inertia of the first, is suddenly coupled to the same shaft. (a) What is the angular speed of the resultant combination of the shaft and two wheels? (b) What fraction of the original rotational kinetic energy is lost?
In: Physics
NPV
Your division is considering two projects with the following cash flows (in millions):
0 | 1 | 2 | 3 |
Project A | -$20 | $5 | $9 | $12 |
Project B | -$13 | $8 | $7 | $3 |
What are the projects' NPVs assuming the WACC is 5%? Round your
answer to two decimal places. Do not round your intermediate
calculations. Enter your answer in millions. For example, an answer
of $10,550,000 should be entered as 10.55. Negative value should be
indicated by a minus sign.
Project A $ _____ million
Project B $ _____ million
What are the projects' NPVs assuming the WACC is 10%? Round your
answer to two decimal places. Do not round your intermediate
calculations. Enter your answer in millions. For example, an answer
of $10,550,000 should be entered as 10.55. Negative value should be
indicated by a minus sign.
Project A $ _____ million
Project B $ _____ million
What are the projects' NPVs assuming the WACC is 15%? Round your
answer to two decimal places. Do not round your intermediate
calculations. Enter your answer in millions. For example, an answer
of $10,550,000 should be entered as 10.55. Negative value should be
indicated by a minus sign.
Project A $ _____ million
Project B $ _____ million
What are the projects' IRRs assuming the WACC is 5%? Round your
answer to two decimal places. Do not round your intermediate
calculations.
Project A _____ %
Project B _____ %
What are the projects' IRRs assuming the WACC is 10%? Round your
answer to two decimal places. Do not round your intermediate
calculations.
Project A _____ %
Project B _____ %
What are the projects' IRRs assuming the WACC is 15%? Round your
answer to two decimal places. Do not round your intermediate
calculations.
Project A _____ %
Project B _____ %
If the WACC was 5% and A and B were mutually exclusive, which
project would you choose? (Hint: The crossover rate is
3.86%.)
?
If the WACC was 10% and A and B were mutually exclusive, which
project would you choose? (Hint: The crossover rate is
3.86%.)
?
If the WACC was 15% and A and B were mutually exclusive, which
project would you choose? (Hint: The crossover rate is
3.86%.)
?
In: Finance
You will write a program in Scheme which compares the accuracy of two medical tests for diagnosing a particular disease.
The input to your program will be a list of data about a collection of patients specifying
The input format will be a sequence of entries of this form:
For example, the list
1 0 0 0 2 1 1 0 3 1 1 1
In: Computer Science
Your goal in functional modeling is to depict what activities users perform and how the system reacts to those activities. This type of model expresses the high-level functionality of the system from the users’ perspective. For this Application, use the WestEast College case and create an activity diagram that depicts the system’s interactions with the students. Explain and justify the choices you made in your model. Cite your sources according to APA guidelines. Submit your assignment by Day 7.
In: Computer Science
Just make it very simple
For any of the business-related projects you are familiar with, provide a brief overview to remind everyone of the project. After the overview, describe the project performance measurement and evaluation system. Did it measure the important aspects of the project? Why or why not? What changes would you recommend?
In: Operations Management
Catherine (wife) and Peter (husband) Mallen had lived together unmarried for some four years when Catherine got pregnant and a marriage was arranged. Peter asked Catherine to sign a prenuptial agreement. Although his financial statement attached to the agreement did not state his income at $560,000 per year, it showed he was wealthy, and she had lived with him for four years and knew from their standard of living that he had significant income. Catherine contends that failure to disclose Peter’s income was a nondisclosure of a material fact when the agreement was drawn up and that accordingly the agreement is not valid. Peter contends that he fully disclosed his net worth and that Catherine was well aware of his significant income. Further, he contends that disparities in the parties’ financial status and business experience did not make the agreement unconscionable.
Please answer ALL of the following questions in your discussion:
Was the agreement obtained through fraud?
Was the agreement obtained through duress?
Was the agreement obtained through nondisclosure of material facts?
Was the agreement unconscionable?
In: Operations Management
The Compton Effect. X-rays of wavelength ? = 61.0 pm are scattered from a thin foil of boron. What is the wavelength of the Compton scattered photons detected at the following angles (relative to the incident beam)? (Your answer should use three significant figures.)
(a) 15
In: Physics
The Saleemi Corporation's $1000 bonds pay 5 percent interest annually and have 9 years until maturity. You can purchase the bond for $1135.
a.)What is the yield to maturity on this bond?
b.)Should you purchase the bond if the yield to maturity on a comparable-risk bond is 5 percent?
In: Finance
I need a java flowchart diagram for the following code:
import java.util.*;
public class Main
{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
System.out.print("Enter the input
size: ");
int n=sc.nextInt();
int arr[]=new int[n];
System.out.print("Enter the
sequence: ");
for(int i=0;i<n;i++)
arr[i]=sc.nextInt();
if(isConsecutiveFour(arr))
{
System.out.print("yes the array
contain consecutive number:");
for(int i=0;i<n;i++)
System.out.print(arr[i]+" ");
}
else
System.out.print("Not a consecutive
sequence");
}
public static boolean isConsecutiveFour(int[]
values){
int c=0;
//consecutive seq :- 1 2 3 4 5
whose dffirence is 1
for(int
i=0;i<values.length-1;i++)
{
if(values[i]+1==values[i+1])
c++;
}
if(c+1==values.length)
return true;
else
return false;
}
}
In: Computer Science
REFLECTION ABOUT GENERAL, ORGANIC, AND BIOLOGICAL CHEMISTRY. 3-5 PARAGRAPH PLEASE :)
Why is it important for a nursing students to learn biochemistry?
How would you apply biochemistry to your daily life?
In: Nursing
The main purpose of this individual assignment is to learn about Cultural Competence to increase professionalism and become more job ready in the multicultural workforce.
For this individual assignment, please do the following:
In: Operations Management
Please give full explanation.
Assume that the program counter (PC) is set to 0x00000000.
Describe
how each of the instructions below could be used to set the next
value of PC to 0x0FFFFFFC.
j, beq, jr, jal, bne
In: Computer Science
What kind of network management protocols are available? What information can these protocols provide? Explain it with example.
In: Computer Science