Explain what types of financial and management goals Medi-Supply might have as the company moves forward to look for investors. (75–150 words, or 1–2 paragraphs)
In: Finance
The wavelength of the four Balmer series lines for hydrogen are found to be 410.1, 434.3, 486.6, and 655.9 nm. What average percentage difference is found between these wavelength numbers and those predicted?
In: Physics
In C++, create two vectors, one a vector of ints and one a vector of strings. The user will fill each one with data, and then your program will display the values.
Sample Output
The following is an example of output for this program:
Enter int: 3
Enter int: 12
Enter int: 4
Enter int: 0
Your list is:
3
12
4
Enter string: The
Enter string: quick
Enter string: brown
Enter string: fox
Enter string: jumps
Enter string: over
Enter string: the
Enter string: lazy
Enter string: dog
Enter string: quit
Your list is:
The
quick
brown
fox
jumps
over
the
lazy
dog
In: Computer Science
Can I get detailed explanation about the following topics
Keyword Queries
Boolean Queries
Phrase Queries
Proximity Queries
Natural Language Queries
Wildcard Queries
Rather than the solution for Chapter 27, proplem 18RQ in Fundamentals of database system (6th Edition) and also provide me with examples
Regards
In: Computer Science
A speeding car is traveling along a straight road with a constant speed of 100 km/hour. It passes a police car. The officer starts 5.00 s after the speeder passes. The police car accelerates uniformly (i.e., at a constant acceleration) for 10.0 s, at the end of which its speed is 120 km/hour. After that, the police car moves with the constant speed of 120 km/hour till it reaches the speeding car.
How far ahead of the police car is the speeding car when the police car stops accelerating? How long after it stops accelerating does the police car reach the speeding car?
In: Physics
To what extent can the transmedia storytelling approach be used for marketing non entertainment products? What contextual factors would determine the applicability and effectiveness of this approach?
In: Operations Management
If 1) the expected return for Litchfield Design stock is 10.66 percent; 2) the dividend is expected to be 2.99 dollars in 2 year(s), 4.4 dollars in 4 years, and 8.08 dollars in 8 years; and 3) after the dividend is paid in 8 years, the dividend is expected to grow by 3.04 percent per year forever, then what is the current price of the stock? If no expected dividend is mentioned for a given year, assume the expected dividend is $0 for that year.
In: Finance
using java. using eclipse. write a program that asks to enter 3 real numbers using GUI. print the sum if all 3 numbers are positive, print the product of the 2 positive numbers if one is negative, use one nested if statement. all output should be to dialog and the console. ...... So i have most of this program done, i just cant figure out how to get the product of the 2 positve numbers to print to the console and dialog. Here is what I have so far.... i know the if and else if statements are correct, i just dont know how to get the if and else if to print to console and dialog correctly for the product.
import java.util.Scanner;
import javax.swing.JOptionPane;
public class Project3 {
public static float getFloat(){
String s = JOptionPane.showInputDialog("Enter a real
number");
return Float.parseFloat(s);
}
public static void main(String[] args) {
float x = getFloat();
float y = getFloat();
float z = getFloat();
// if all three are positive print the sum
if(x>0 && y>0 && z>0)
System.out.printf("Sum:%8.2f\n", (x+y+z));
//if two of the three are positive print the
product
else if((x>0 && y>0 &&
z<0)||(x>0 && y<0 && z>0)||(x<0
&& y>0 && z>0));
System.out.printf("Product:%8.2f",((x*y)||(x*z)||(y*z)));
JOptionPane.showMessageDialog(null,
"Sum:"+(x+y+z)+"\nProduct:"+((x*y)||(x*z)||(y*z)));
Scanner scan=new Scanner(System.in);
System.out.println("\nEnter 2 real numbers");
// if both are negative print the quotient
float a = scan.nextFloat();
float b = scan.nextFloat();
if(a<0 && b<0)
System.out.printf("Quotient:%8.2f", (a/b));
JOptionPane.showMessageDialog(null,
"Quotient:"+(a/b));
System.exit(0);
}
}
In: Computer Science
*I JUST WANT A GENERAL WALKTHROUGH OF HOW TO DO THIS. PSEUDOCODE IS FINE. THANK-YOU. THIS IS IN C THE PROGRAMMING LANGUAGE.*
The program will require the following structure:
struct _data {
char *name;
long number;
};
The program will require command line arguments:
int main(int argv, char **argc) {
Where argv is the number of arguments and argc is an array
holding the arguments (each is a string). Your program must catch
any case where no command line arguement was provided and print
a warning message (see below).
You MUST include/use the following functions, defined as follows:
int SCAN(FILE *(*stream)) - this function will open the file/stream
and return an integer indicating how many lines there are. Note that
I need to pass stream, which is a pointer, by reference. So I am
passing this as a pointer to a pointer.
struct _data *LOAD(FILE *stream, int size) - this function will
rewind file, create the dynamic array (of size), and read in the
data, populating the _data struct dynamic array. Note that stream
is passed by value this time. The function then returns the populated
array of struct.
void SEARCH(struct _data *BlackBox, char *name, int size) - this function
will get the dynamic array of struct passed to it, the name we are looking
for, and the size of the array. This function will then search the dynamic
array for the name. See below for examples.
void FREE(struct _data *BlackBox, int size) - this function will free up
all of the dynamic memory we allocated. Take note of the number of times
malloc/calloc were called, as you need to free that same number.
Finally, the data file will be called hw5.data and will be formatted as:
ron 7774013
jon 7774014
tom 7774015
won 7774016
HINTS:
------
Functions that will make things much easier:
getline()
feof()
strtok()
atoi()
SAMPLE RUNS:
------------
Case 1 - No command line argument provided.
[yourname@chef junk]$ ./CS230-5
*******************************************
* You must include a name to search for. *
*******************************************
Case 2 - Provided name is NOT in the list.
[yourname@chef junk]$ ./CS230-5 joe
*******************************************
The name was NOT found.
*******************************************
Case 3 - Provided name is in the list.
*******************************************
The name was found at the 2 entry.
*******************************************
In: Computer Science
In: Operations Management
Recalculate the percent dissociation of 0.19M HN3 in the presence of 0.19M HCl.
In: Chemistry
In the figure the four particles form a square of edge length a = 5.60 cm and have charges q1 = 9.22 nC, q2 = -21.8 nC, q3 = 21.8 nC, and q4 = -9.22 nC. What is the magnitude of the net electric field produced by the particles at the square's center?
In: Physics
One year ago, you bought a put option on 500,000 euros with an expiration date of one year. You paid a premium on the put option of $.03 per unit. The exercise price was $1.30. Assume that one year ago, the spot rate of the euro was $1.29, the one-year forward rate exhibited a discount of 3%, and the one-year futures price was the same as the one-year forward rate. From one year ago to today, the euro depreciated against the dollar by 2 percent. Today the put option will be exercised (if it is feasible for the buyer to do so).
a. Determine the total dollar amount of your profit or loss from your position in the put option.
b.Now assume that instead of taking a position in the put option one year ago, you sold a futures contract on 500,000 euros with a settlement date of one year. Determine the total dollar amount of your profit or loss.
In: Finance
Express the following bit patterns in hexadecimal.
01000101011001110100010101100111
10001001101010111000100110101011
11111110110111001111111011011100
00000010010100100000001001010010
In: Computer Science
Python Questions
Suppose we run the Python program my_program.py from command line like this:
Python my_program.py 14 CSC121
Which of the following statement in my_program.py will display CSC121?
| A. |
import sys print(sys.argv) |
|
| B. |
import sys print(sys.argv[0]) |
|
| C. |
import sys print(sys.argv[1]) |
|
| D. |
import sys print(sys.argv[2]) |
from datetime import datetime dob = datetime(2015, 1, 1)
Which of the following statements will change year to 2018?
| A. |
dob.year=2018 |
|
| B. |
dob.replace(year=2018) |
|
| C. |
dob = dob.replace(year=2018) |
|
| D. |
dob.set_year(2018) |
10 points
QUESTION 4
from datetime import datetime dob = datetime(2011,12,10) today = datetime.now() age = today - dob
What is the type of age?
| A. |
int |
|||||||||||||
| B. |
float |
|||||||||||||
| C. |
datetime |
|||||||||||||
| D. |
timedelta Which of the following functions returns integers between 0 and 20 that are divisible by both 2 and 3?
|
In: Computer Science