C#
Write a program in C# that prompts the user for a name, Social Security number, hourly pay rate, and number of hours worked. In an attractive format, dis- play all the input data as well as the following: » Gross pay, defined as hourly pay rate times hours worked » Federal withholding tax, defined as 15% of the gross pay » State withholding tax, defined as 5% of the gross pay » Net pay, defined as gross pay minus taxes
In: Computer Science
should High Frequency trading be more regulated or not and explain why it should or shouldn't be more regulated ?
In: Finance
One of the main functions of saliva is to buffer against acid from food and plaque, which contributes significantly to the formation of cavities. While there are several buffers in saliva, carbonic acid (H2CO3) has the highest concentration and has the greatest effect on pH.
(a) While the salivary concentration of carbonic acid stays at a fairly constant 1.3 mM, the level of bicarbonate (HCO3-) can vary with the rate that saliva flows from salivary glands. For low flow rates, the bicarbonate concentration is around 2 mM; for medium flow rates, it is 30 mM; and for high flow rates, around 60 mM. The pKa of carbonic acid at body temperature is 6.1. Assuming that the pH of Saliva is determined primarily by carbonic acid and bicarbonate, determine the pH of saliva for each of the three flow rates. The normal pH of saliva is about 6.3.
(b) The most prevalent bacterium in the mouth, streptococcus mutans, breaks down sugar and releases lactic acid (pKa = 3.86). If S. mutans has produced 10^-8 moles of lactic acid since your last swallow, what is the pH of your saliva? What would the pH be without the bicarbonate buffer? Assume that your mouth contains about 1 mL of saliva and that your saliva is flowing at a low rate.
(c) You take a drink of orange juice, and after you swallow, 0.5 mL remains in your mouth. What is the pH of your saliva if your mouth contains 1 mL of pure saliva, and if you model orange juice as 1.0 mM citric acid (pKa = 3.13; assume only one dissociation).
(d) Why do some toothpastes contain baking soda (sodium bicarbonate)?
In: Chemistry
A eco-conscious dad notices that we left the computer and light on from the last homework. After scolding us about the electrical bill, he turns them both off, and they eventually cool to the ambient temperature of 25 oC.
a) What is the total change in entropy for the computer chip (or bulb) for this cooling process? Find the total entropy change for the universe. (Recall that the chip is 50. g silicon, 20. g copper, and 65 g. polyvinyl chloride, initially running at a temperature of 75 oC.)
b) Find the specific entropy change for the light bulb in this cooling process. Calculate the specific entropy generated for the bulb. (The light bulb is initially filled with argon, an ideal gas, at a temperature of 65.0 oC a volume of 40. cm3 and a pressure of 103.8 kPa. Neglect the glass and metal comprising the rest of the light bulb.)
In: Chemistry
Part 4: Explain in a couple of paragraphs how public key
encryption can be used to implement a digital signature. Be sure
you are very clear on when a private key is used and when a public
key is used.
Part 5: Generally, a digital signature involves encrypting a
cryptographic hash, or digest, generated from the message. Explain
why we do not encrypt the message itself. You can answer this
question in one sentence.
Part 6: For each of the following scenarios below, tell what type
of encryption is most appropriate and in a sentence or two explain
the reasoning for your choice.
1. Alice wants to send a confidential message to Bill, whom she has
never met and who lives in a distant country.
2. Charlie wants to be sure that no one but he can see the
financial and medical records he has stored on his computer.
3. David needs a way to check that large computer files stored on
corporate servers have not been modified.
4. Eddard uses a "cloud" backup service; he wants to be sure the
operators of the service cannot read his files.
5. Frank needs to send a message to George. The message need not be
confidential, but George must be assured that it actually came from
Frank.
In: Computer Science
Two different forecasting techniques (F1 and F2) were used to
forecast demand for cases of bottled water. Actual demand and the
two sets of forecasts are as follows:
PREDICTED DEMAND | |||
Period | Demand | F1 | F2 |
1 | 68 | 62 | 64 |
2 | 75 | 66 | 62 |
3 | 70 | 71 | 70 |
4 | 74 | 67 | 73 |
5 | 69 | 73 | 76 |
6 | 72 | 67 | 79 |
7 | 80 | 73 | 79 |
8 | 78 | 77 | 80 |
a. Compute MAD for each set of forecasts. Given
your results, which forecast appears to be more accurate?
(Round your answers to 2 decimal place.)
MAD F1 | |
MAD F2 | |
F1 ,F2 , None (pick one) appears to be more
accurate.
b. Compute the MSE for each set of forecasts.
Given your results, which forecast appears to be more accurate?
(Round your answers to 2 decimal
places.)
MSE F1 | |
MSE F2 | |
F2 , F1 , None (pick 1) appears to be more
accurate.
c. In practice, either MAD or
MSE would be employed to compute forecast errors. What factors
might lead a manager to choose one rather than the other?
Either one might already be in use, familiar to users, and have
past values for comparison. If (Click to
select) tracking signals control
charts are used, MSE would be natural;
if (Click to select) tracking
signals control charts are used, MAD would be
more natural.
d. Compute MAPE for each data set. Which forecast
appears to be more accurate? (Round your intermediate
calculations to 2 decimal places and and final answers to 2 decimal
places.)
MAPE F1 | |
MAPE F2 | |
F1, F2 ,None (pick 1) appears to be more accurate.
In: Operations Management
Joe is a 25 year-old single worker who receives no coverage for health care from his employer. Joe has a non-fatal medical condition that can be treated at a price of $60 per treatment. Discuss how the out-of-pocket cost that Joe pays for health care will change if he switches jobs to a new employer that offers health care coverage with each of the options below. (12 points, 4 points each)
A. a $250 per year calendar-year deductible.
B. a 75/25 participating deductible in which the insurer pays three-quarters of the cost.
C. an HMO that satisfies the traditional federal standards for qualification with a $20 copay
In: Operations Management
Implementing Polynomials using Singly Linked List in C++
5. reverse the order of the terms in a polynomial (see “Additional
Specifications,” below)
III. The Test Class
The main method of your test class will create a Polynomial object
and then read and process a series of operations
The operations are:
1. INSERT X Y
Insert a new term with coefficient X and exponent Y into its proper
place in the polynomial
(insert method : adds terms to the list in descending order of
power)
2. DELETE X Y
Remove the term with coefficient X and exponent Y from the
polynomial
3. REVERSE
Reverse the order of the terms of the polynomial
4. 1st DEV
to find the first derivatives of the polynomial
2nd DEV
to find the
second derivatives of the polynomial
Each operation is to be carried out by calling a method of the
Polynomial class
Each operation read must be “echo printed” to the screen
After each operation, print the updated polynomial by calling the
toString() method
For the Derivatives operation, print the string returned
-----------------------------------------------------------------------------
In: Computer Science
DESIGN A FLOWCHART IN THE APPLICATION FLOWGORITHM
Number Analysis Program Design a program that asks the user to enter a maximum of 20 numbers. The program should store the numbers in an array and then display the following data: -The lowest number in the array. -The highest number in the array. -The total of the numbers in the array. -The average of the numbers in the array.
PLEASE AND THANK YOU
In: Computer Science
subject DBA
use mysql workbench and select my guitar shop database as default schema
Problem8
Write a script that implements the following design in a database named my_web_db:
users downloads Products
*user_id INT * download_id INT * product_id INT
*email_address VARCHAR(100) * user_id INT * product_name VARCHAR(45)
*first_name VARCHAR(45) *download_date DATETIME
*last_name VARCHAR(45) * filename VARCHAR(50)
*product_id INT
Details
Solution fill in the blanks :-
______DATABASE ____________ ;
CREATE DATABASE my_web_db ___________ ;
USE my_web_db;
_________ TABLE _______
user_id INT PRIMARY _______ AUTO_INCREMENT,
email_address VARCHAR(100) UNIQUE,
first_name VARCHAR(45) NOT NULL,
last_name VARCHAR(45) NOT NULL
) ___________ ;
__________ products (
product_id INT ________ AUTO_INCREMENT,
product_name VARCHAR(45) UNIQUE
__________
____________
download_id INT PRIMARY KEY,
____________ INT NOT NULL,
download_date DATETIME NOT NULL,
filename __________ NOT NULL,
product_id INT NOT NULL,
___________ fk_downloads_users
_____________ KEY (user_id )
REFERENCES users (user_id),
_______________
_______________ product_id)
REFERENCES products _______________
) ENGINE = _________ ;
In: Computer Science
what does this code means. Explain each line (briefly)
Book.findOneAndUpdate[{isbn:req.params.isbn},
{$set:{authFName:req .body.authFName,
authLName: req.body.authLName}, {new:true}}
In: Computer Science
Could you please explain ray tracing for mirrors, how do you know which way the traces go and why, I'm having trouble figuring out where the object is vs. the image. Thank you
In: Physics
2.)Why is it difficult for labor negotiators to switch from traditional to integrative bargaining? What recommendations would you make for negotiators trying to make this switch? Why is it more difficult for union negotiators to make this change compared to company negotiators.
In: Operations Management
An ambulance is traveling towards the scene of an accident at 40 m/s. Since this is a rather high speed the ambulance is blaring its siren that has a frequency of 325 Hz. The speed of sound is around 340 m/s
Part 1. Find the wavelength of the sound waves in front of the ambulance. Give your answer to 3 significant digits
m
Part 2. Due to the Doppler Effect what is the effective frequency of this sound to the listener fL? Give your answer to 3 significant digits
Hz
Part 3. Use this new frequency and that the amplitude of the sound waves are 3.85 cm to find what the intensity of the sound wave is to an observer standing at the crash site when the ambulance is 1000 m away?
Give your answer to 3 significant digits
W/m2
Part 4. What is the intensity when the ambulance is parked 10 m away from the crash site? Give your answer to 3 significant digits
W/m2
Part 5. What is the intensity level for both? Give your answer to the nearest decibel
1000 m: dB
10 m: dB
In: Physics
STEP 1: Your assignment is to choose one of your OWN behaviors that you would like to modify, using the conditioning principles you learned about in the text. Consider bad habits you might be interested in changing, such as biting your nails, procrastinating, not exercising, etc. You can utilize principles of classical or operant conditioning, recruit others to help you, employ successive approximations and shaping and modify schedules of reinforcement in order to improve your life.
You must spend at least 10 solid days devoted to this project in order to see solid results. Please get started right away.
STEP 2: Write a 2-3 page paper (500-800 words) about your project that explains your project, the type of conditioning you used, and the methods and procedures used to execute your project. You should explain the process of shaping the behavior and utilize any or all appropriate vocabulary. Finally, include a discussion of the results and an analysis of recommendations for improvement or future changes.
In: Psychology