Terminology: 1.Thickness of internal coating of an analytical column (meaning, the purpose and the range of them (in um) 2.Carrier gas in GC and Eluent in LC ( general purpose, what is the general carrier media, gas or eluent, for GC amd LC 3. Isocratic and gradient program of HPLC 4. FID detector (full name, flow of the gases for flame, best use for what compounds)
In: Chemistry
In: Computer Science
You have looked at the current financial statements for Reigle
Homes, Co. The company has an EBIT of $2,930,000 this year.
Depreciation, the increase in net working capital, and capital
spending were $229,000, $94,000, and $435,000, respectively. You
expect that over the next five years, EBIT will grow at 20 percent
per year, depreciation and capital spending will grow at 25 per
year, and NWC will grow at 15 per year. The company currently has
$15,900,000 in debt and 465,000 shares outstanding. After Year 5,
the adjusted cash flow from assets is expected to grow at 3 percent
indefinitely. The company’s WACC is 8.3 percent and the tax rate is
35 percent.
What is the price per share of the company's stock? (Do not
round intermediate calculations and round your answer to 2 decimal
places, e.g., 32.16.)
Share price
$
In: Finance
What is the circuit diagram of password based door lock system project by using interface 8088 microprocessor with peripherals Ics ( PPI , PIT and PIC ) and what is code by using assembly language ?
notes:
1- this question related to microprocessor Interface subject
.
2- I need answer after 4 hour very necessary , please
In: Computer Science
java programming
You will be given two interfaces and two abstract classes, FileTextReader, FileTextWriter, AbstractFileMonitor, and AbstractDictionary. Your job is to create two classes the first class should be named FileManager, the second class should be named Dictionary. The FileManager will implement the interfaces FileTextReader and FileTextWriter and extend the clas AbstractFileMonitor. Your class signature would look something like the following:
public class FileManager extends AbstractFileMonitor implements FileTextReader, FileTextWriter{...
The constructor signature of the FileManager should look like the following:
public FileManager(String filePath){...
The Dictionary will extend the abstract class AbstractDictionary. Your class signature would look something like the following:
public class Dictionary extends AbstractDictionary {...
The constructor signature of the Dictionary should look like the following:
public Dictionary(String path, FileManager fileManager) throws IOException {...
Please read the programmatic documentation of the two interfaces and abstract classes to gain an understanding of what each function should do. This assignment will test your knowledge of reading and writing to a text file, implementing interfaces, extending abstract classes, throwing exceptions and working with collections specifically sets.
This project is accompanied by two test classes, ManagerTest, and DictionaryTest. They will test the functionality of the functions in the interfaces and the abstract methods of classes. Its recommended that you implement the FileManager before working on the AbstractDictionary.
Abstract Dictionary
package homework;
import java.io.IOException;
import java.util.Objects;
import java.util.Set;
* A class that holds a collection of words read from a text
file. The collection of words is used in the methods of this
class
* methods provided in this class.
public abstract class AbstractDictionary
{
private final FileTextReader
FILE_READER;
private final Set ALL_WORDS;
/**
* Creates an abstract dictionary of words using the
text file at the specified path.
* @param path a path to a text file containing a
dictionary of words
* @param dictionaryFileReader the FileReader used to
read from the text file at the specified path
* @throws IOException thrown if there is a problem
reading the file at the path
*/
public AbstractDictionary(String path,
FileTextReader dictionaryFileReader) throws IOException {
Objects.requireNonNull(dictionaryFileReader, "The File reader can
not be null");
Objects.requireNonNull(path, "The
path can not be null");
FILE_READER = dictionaryFileReader;
ALL_WORDS =
FILE_READER.getAllLines(path);
}
/**
* Returns a set of all the words contained in the
dictionary text file.
* @return a set containing all the words in the
dictionary file.
*/
public Set getAllWords(){
return ALL_WORDS;
}
/**
* Counts the number of words in this Dictionary that
start with the specified prefix and have a length that is equal or
greater
* than the specified size. If size the specified size
is less than 1 then word size is not taken into account.
* @param prefix the prefix to be found
* @param size the length that the word must equal or
be greater than. If a value less than 1 is specified, all words
regardless of their
* characters size should be considered. In other words
if the size parameter is < 1 word size is disregarded in the
calculations.
* @param ignoreCase if true this will ignore case
differences when matching the strings. If false this
considers
* case differences when matching the strings
* @return The number of words that start with the
specified prefix
* @throws IllegalArgumentException if the specified
string is null or empty (Meaning contains no characters or only
white space or blank)
*/
public abstract int countWordsThatStartWith(String prefix, int size, boolean ignoreCase) throws IllegalArgumentException;
/**
* Tests if this Dictionary contains at least one word
with a length equal to or greater than the specified size that
starts with the specified prefix.
* If size the specified size is less than 1 then word
size is not taken into account.
* @param prefix the prefix to be found
* @param size the length that the word must equal or
be greater than. If a value less than 1 is specified, all words
regardless of their
* characters size should be considered. In other words
if the size parameter is < 1 word size is disregarded in the
calculations.
* @param ignoreCase if true this will ignore case
differences when matching the strings. If false this
considers
* case differences when matching the strings
* @return The number of words that start with the
specified prefix
* @throws IllegalArgumentException if the specified
string is null or empty (Meaning contains no characters or only
white space)
*/
public abstract boolean
containsWordsThatStartWith(String prefix, int size, boolean
ignoreCase) throws IllegalArgumentException;
* Returns a set of all the words within in this
Dictionary that start with the specified prefix and have a length
that is equal or greater
* than the specified size. If size the specified size
is less than 1 then word size is not taken into account.
* @param prefix the prefix to be found
* @param size the length that the word must equal or
be greater than. If a value less than 1 is specified, all words
regardless of their
* characters size should be considered. In other words
if the size parameter is < 1 word size is disregarded in the
calculations.
* @param ignoreCase if true this will ignore case
differences when matching the strings. If false this
considers
* case differences when matching the strings
* @return A list of all strings that start with the
specified prefix
* @throws IllegalArgumentException if the specified
string is null or empty (Meaning contains no characters or only
white space)
public abstract Set
getWordsThatStartWith(String prefix, int size, boolean ignoreCase)
throws IllegalArgumentException;
}
AbstractFileMonitor
package homework;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.security.DigestInputStream;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
* A class with methods to monitor a text file.
public abstract class AbstractFileMonitor {
private MessageDigest messageDigest;
private int currentCheckSum;
private boolean hasChanged = false;
private long nextUpateTime = 0;
public AbstractFileMonitor(String path){
setFilePath(path);
}
* Updates the variables that correspond to the file
being monitored
* This function has been throttled such that it will
only update values every 250 ms. In other words successive calls to
this
* function in time intervals that are less than 250 ms
will yield no change.
* @throws IOException Thrown if any type of I/O
exception occurs while writing to the file
* @throws IllegalStateException If the {@link
#setFile(String)} method in not invoked with a proper file prior to
invocation of this
* @throws NoSuchAlgorithmException If the computer's
OS is missing the SHA-256 hashing algorithm
* method. In other words if no file is currently set
to be monitored.
public void update() throws IOException,
IllegalStateException, NoSuchAlgorithmException {
if(messageDigest ==
null){
messageDigest =
MessageDigest.getInstance("SHA-256");
}
if(nextUpateTime >
System.currentTimeMillis()) {
hasChanged =
false;
return;
}
nextUpateTime =
System.currentTimeMillis() + 250;
File file = new
File(getFilePath());
if(!file.exists())
return;
try (DigestInputStream dis = new DigestInputStream(new
FileInputStream(getFilePath()), messageDigest)) {
while (dis.read() != -1) ;
messageDigest = dis.getMessageDigest();
}
StringBuilder result = new StringBuilder();
for (byte b : messageDigest.digest()) {
result.append(String.format("%02x", b));
}
hasChanged = currentCheckSum !=
result.toString().hashCode();
currentCheckSum = result.toString().hashCode();
}
* Tests if the file being monitored has changed since
the last time {@link #update()} was invoked
public boolean hasChanged(){
return hasChanged;
}
public abstract void setFilePath(String path);
public abstract String getFilePath() throws
IllegalStateException;
}
FileTextReader
package homework;
import java.io.IOException;
import java.util.Collection;
import java.util.List;
import java.util.Set;
public interface FileTextReader{
public String readText(String path) throws
IOException;
* @throws IOException Thrown if any type of I/O
exception occurs while writing to the file
public Set getAllLines(String path) throws
IOException;
* @throws IOException Thrown if any type of I/O
exception occurs while writing to the file
public String getLastLine(String path) throws
IOException;
}
FileTextWriter
package homework;
import java.io.IOException;
public interface FileTextWriter {
* @throws IOException Thrown if any type of I/O
exception occurs while writing to the file
* @throws IllegalArgumentException if the specified
string is null or empty (Meaning contains no characters or only
white space)
public void writeToFile(String string,
String path) throws IOException,
IllegalArgumentException;
}
In: Computer Science
Why is it significant that arginine vasopressin is expressed in squirrel monkeys and the amino acid sequence is identical to humans?
In: Biology
In the sigma-model of spontaneous symmetry breaking, we have degenerate vacuum states. But if we don't pick up a particular value of VEV, we won't have any symmetry breaking. As I read from a book, in field theory at finite volume, there would be no problem; but at infinite volume, we are forced to choose a value of the ? field. But why?
In: Physics
Calculate the Kovats retention index for an unknown using the following retention times: 1.8 min for CH4, 11.7 min for octane, 14.4 min for the unknown, and 18.5 min for nonane.
In: Chemistry
the following selected financial statement information is for Stevens Company
December 31
2017 2016 Changes in assets
Current Assets
Cash $ 86,000 $71,000
Accounts receivable 24,000 20,000
Merchandise inventory 20,000 27,000
Prepaid expenses 10,000 8,000
Current Liabilities
Accounts payable 41,000
44,000
Income taxes payable 6,000 11,000
Other data for the Year Ended December 31, 2017
From the income statement:
Net income $146,000
Depreciation expense 32,000
Loss on sale of equipment
9,000
From accounting records:
Capital expenditures 44,000
Required:
a. Using the indirect method, prepare the operating
activities section of the statement of cash flows for Stevens
Company for the year ended December 31, 2017.
b. Calculate the following cash measures:
(1) Operating cash flow ratio (round to
the nearest tenth of a percent).
(2) Capital expenditure ratio (round to
the nearest tenth of a percent).
(3) Free cash flow
In: Accounting
A ball is thrown straight up from the edge of the roof of a building. A second ball is dropped from the roof a time of 1.16 s later. You may ignore air resistance.
a. If the height of the building is 19.0 m , what must the initial speed be of the first ball if both are to hit the ground at the same time?
b. Consider the same situation, but now let the initial speed v0 of the first ball be given and treat the height h of the building as an unknown. What must the height of the building be for both balls to reach the ground at the same time for v0 = 9.00 m/s .
c. If v0 is greater than some value vmax, a value of h does not exist that allows both balls to hit the ground at the same time. Solve for vmax.
d. If v0 is less than some value vmin, a value of h does not exist that allows both balls to hit the ground at the same time. Solve for vmin.
In: Physics
| Buffer A | Buffer B | |
| Mass of NaC2H3O2 | 0.2449 | 2.449 |
| Volume of buffer | 100 | 100 |
| M of concentration HC2H3O2 | 0.1 | 0.1 |
| Initial pH of buffer | 3.93 | 4.02 |
| V of 0.50 NaOH increase by 2 units | 2.2 | 17.3 |
| V of 0.50 HCl decrease by 2 units | 1.7 | 4.5 |
| V of 0.50 NaOh at eqievalence point | 2.33 | 19 |
A)Buffer capacity has a rather loose definition, yet it is an important property of buffers. A commonly seen definition of buffer capacity is:
In: Chemistry
In the story "Superman and Me" by Sherman Alexie, The story opens by giving some reason people need to read. Which of those reasons do you think apply to Alexie? Why does he need to read?
In: Psychology
Taking the density of air to be 1.29 kg/m3, what is the magnitude of the linear momentum of a cubic meter of air moving with the following wind speeds?
a) 15 km/h
b) 74 mi/h—the wind speed at which a tropical storm becomes a hurricane
In: Physics
This is for a Java class.
Description:
The goal of this project is to create a “personal lending library” tool. The user wants to keep track of their movies and games – which ones they own, whether or not they are currently loaned out to anyone, and if so, who they were loaned to and on what date. For each item in the library, the program should know its title and format. For a movie, the format is BlueRay or DVD. For a game, the format is the platform the game runs on, such as Windows, Mac, XBox, Playstation, etc. The program should be capable of storing up to 100 items in the library. Right now our library will be wiped when the program terminates, but in the next half of the class we will learn how to make the information stick around between program executions.
The program should be capable of the following actions:
Sample Run:
What would you like to do? 1
What is the title? Star Wars
What is the format? DVD
What would you like to do? 1
What is the title? Bioshock Infinite
What is the format? XBox 360
What would you like to do? 2
Which item (enter the title)? Aliens
I'm sorry, I couldn't find Aliens in the library.
What would you like to do? 2
Which item (enter the title)? Bioshock Infinite
Who are you loaning it to? Mike
When did you loan it to them? April 2nd
What would you like to do? 2
Which item (enter the title)? Bioshock Infinite
Who are you loaning it to? James
When did you loan it to them? April 5th
Bioshock Infinite is already on loan to Mike
What would you like to do? 3
Star Wars (DVD)
Bioshock Infinite (XBox 360) loaned to Mike on April 2nd
What would you like to do? 4
Which item (enter the title)? Star Wars
Star Wars is not currently on loan
What would you like to do? 4
Which item (enter the title)? Aliens
I'm sorry, I couldn't find Aliens in the library.
What would you like to do? 4
Which item (enter the title)? Bioshock Infinite
What would you like to do? 3 Star Wars (DVD)
Bioshock Infinite (XBox 360)
What would you like to do? 5 Goodbye!
Suggestions:
You have freedom to design your program however you want, provided that it meets the requirements and follows good design principles. However, if you would like some ideas of where to start, they are provided in this section. This program lends itself well to having two classes, MediaItem and Library, with the fields and methods described below.
MediaItem
fields:
String title String format boolean onLoan String loanedTo
String dateLoaned
methods:
MediaItem()– Constructor to initialize the fields of this media item to default values (null for Strings and false for booleans)
MediaItem(String title, String format)– Constructor to initialize the title and format of this media item. onLoan should be initialized to false. getter and setter methods for all class fields (title, format, onLoan, loanedTo, dateLoaned)
void markOnLoan(String name, String date) – Sets onLoan to true and sets the loanedTo and dateLoaned fields to the parameter values. If onLoan is already true, print an error message saying this item is already loaned out.
void markReturned()– Sets onLoan to false. If onLoan was already false, print an error message saying this item is not currently loaned out.
Library
fields:
MediaItem[] items – An array to hold all of the items in the library. This needs to be big enough to hold 100 items. int numberOfItems– The number of items actually stored in the array. This needs to be incremented whenever a new item is added.
methods:
int displayMenu()– Show the menu of options to the user and read in their choice. Repeat until the user enters a valid option. Then return the option they chose.
void addNewItem(String title, String format)– Create the new MediaItem object, add it to the items array, and increment the numberOfItems variable by one.
void markItemOnLoan(String title, String name, String date)– Iterate through the items array and find the item with the correct title. Call that item's markOnLoan method. If you cannot find the correct item in the array, display an error message.
String[] listAllItems()– Create a String array big enough to hold all of the items in the items array. Iterate through the items array, up to the numberOfItems that array contains. For each item, create a String containing its title and format. If the item is on loan, also include in the string who the item was loaned to and when. Add this string to the String array. When you have converted all of the items to strings, return the String array.
void markItemReturned(String title)– Iterate through the items array and find the item with the correct title. Call that item's markReturned method. If you cannot find the correct item in the array, display an error message.
public static void main(String[] args)– The main method will drive your Library program by repeatedly displaying the menu to the user, prompting the user for any required information, and calling the appropriate method. Similarly, if the method returns information, this data should be displayed from within the main method rather than the Library method. For instance, if the user chooses option 2 (mark an item as on loan), your main method should prompt the user for the title of the item, the name of the person it was loaned to, and the date on which it was loaned, and then call the Library class's markItemOnLoan method with these values. You should not have the markItemOnLoan method get the input from the user directly, because that locks your code into a particular interface (text input).
In: Computer Science
This problem is to analyze ARP(including requests and response) when direct delivery and ARP(including request and response) when indirect delivery using wireshark. Can you help me?
In: Computer Science