What are The rules for expensing v capitalizing investigation expenses and the differences between the two terms?
In: Accounting
Add 111 0011 to 100 1100 and show the V and C bits (seven bits)
In: Computer Science
Prepare and submit a case brief for the case of Meinhard v. Salmon 164. N.E. 545
In: Accounting
2. Criteria of abnormality and the mental disorder classification (DSM-V)
minimum 625 words.
In: Psychology
Draw and explain the P-V graph for both adiabatic and isothermal processes and explain the difference.
In: Physics
Python 3 Functions that give answers
Define and complete the functions described below.
* function name: get_name
* parameters: none
* returns: string
* operation:
Here, I just want you to return YOUR name.
* expected output:
JUST RETURNS THE NAME...TO VIEW IT YOU CAN PRINT IT AS
BELOW
>>> print(get_name())
John
* function name: get_full_name
* parameters: fname (string)
lname (string)
first_last (boolean)
* returns: string
* operation:
Return (again, NOT print) the full name based on the first and last
names
passed in as arguments. The first_last argument will be True if you
should
return the name as <fname lname> and False if you shoudl
return the name
as <lname, fname>.
* expected output:
# just return the name
>>> print(get_full_name("John","Doe",True))
John Doe
>>> print(get_full_name("John","Doe",False))
Doe John
* function name: get_circle_area
* parameters: radius (float)
* returns: float
* operation:
Return the area of a circle with the given radius. Use 3.14 as Pi.
And Google if for
some reason you've forgotten how to get the area of a circle.
* expected output:
Just return the value
>>> print(get_circle_area(5.0))
78.5
>>> print(get_circle_area(2.5))
19.625
In: Computer Science
Write a program that prompts the user to enter the number of
students and each student’s name and score, and finally displays
the student with the highest score and the student with the
second-highest score. Use the next() method in the Scanner class to
read a name rather using the nextLine() method.
This is my code , but i get this error Enter the number of
students: Exception in thread "main"
java.util.InputMismatchException
at java.util.Scanner.throwFor(Scanner.java:871)
at java.util.Scanner.next(Scanner.java:1494)
at java.util.Scanner.nextInt(Scanner.java:2139)
at java.util.Scanner.nextInt(Scanner.java:2095)
at Exercise05_09.main(Exercise05_09.java:16)
import java.util.Scanner;
public class Exercise05_09 {
public static void main(String[] args) {
// Create a Scanner
Scanner input = new
Scanner(System.in);
// Prompt the user to enter the
number of students
System.out.print("Enter the number
of students: ");
int numberOfStudents =
input.nextInt();
int score,
// Holds students' score
highest = 0,
// Highest
score
secondHigest =
0; // Second highest score
String name = "",
// Holds students' name
student1 = "", // Highest scoring
student name
student2 = ""; // Second highest
scoring student name
// Prompt the user to enter each
students' name and score
System.out.println("Enter each
students' name and score:");
for (int i = 0; i <
numberOfStudents; i++) {
System.out.print(
"Student: " + (i + 1) + "\n Name: ");
name =
input.next();
System.out.print(" Score: ");
score =
input.nextInt();
if (i == 0)
{
// Make the first student the highest scoring
student so far
highest = score;
student1 = name;
}
else if (i == 1
&& score > highest) {
// Second student entered scored
// higher than first student
secondHigest = highest;
highest = score;
student2 = student1;
student1 = name;
}
else if (i == 1)
{
// Second student entered scored
// lower than first student
secondHigest = score;
student2 = name;
}
else if (i >
1 && score > highest && score > secondHigest)
{
// Last student entered has the highest
score
secondHigest = highest;
student2 = student1;
highest = score;
student1 = name;
}
else if (i >
1 && score > secondHigest) {
// Last student entered has the second highest
score
student2 = name;
secondHigest = score;
}
}
// Display the student with the
hightest score
// and the student with the
second-hightest score.
System.out.println(
"Higest scoring
student: " + student1 +
"\nSecond Higest
scoring student: " + student2);
}
}
In: Computer Science
1.) The National Ambient Air Quality Standard (NAAQS, 1997) for ozone (O3) is 0.08 ppm(v). Express that standard in Micrograms/Meters3 assuming atmospheric conditions of 1 atm of pressure 22 degrees celsius.
2.) Assume that automobile exhaust gas contains 1% by volume carbon monoxide (CO). If the atmospheric conditions are 0.9 atm and 21 degrees ceslsius.
A.) What is the concentration of CO in ppm(v)?
B.) What is the concentration of CO in mg/m3?
In: Chemistry
True or False and support your decision
1.) if Ax=0 has only one trivial solution, then Ax=0 has a unique
solution.
2.)The linear system given by Ax=0 consisting of 3 equations and 4 unknowns has infinitely many solutions
3.) If the vector set {v,u,w} is linearly independent, then w is a linear combination of u and v
4.) If A is a 3by5 matrix with 3 pivots,then the columns of A span R5
In: Advanced Math
If you add 39 mL of distilled water to 48 mL of a 15 % (m/v) NaOH solution, what is the new concentration in % (m/v)?
A 21.8 g sample of water contains how many water molecules?
An unknown hydrocarbon compound was analyzed for hydrogen by elemental analysis and results show that it contains 15.88 % H. What is the empirical formula?
Determine the empirical formula of the compound with the following composition by mass: 92.26 percent C and 7.74 percent H.
In: Chemistry