1) Calculate the pH of 1.0 L of the solution upon addition of 0.010 mol of solid NaOH to the original buffer solution.
2) Calculate the pH of 1.0 L of the solution upon addition of 30.0 mL of 1.0 MHCl to the original buffer solution.
3) A 1.0L buffer solution contains 0.100 molHC2H3O2 and 0.100 molNaC2H3O2. The value of Ka for HC2H3O2 is 1.8×10−5.
3A) Calculate the pH of the solution upon the addition of 0.015 mol of NaOH to the original buffer.
3B) Calculate the pH of the solution upon the addition of 10.0 mL of 1.00 MHCl to the original buffer.
In: Chemistry
Which of the following 1.0 L mixtures has the greatest buffering capacity?
A
0.1 M NH4Cl +0.2 M NH3
B
1.0 M NH4Cl + 0.1 M NH3
C
0.2 M NH4Cl +0.8 M NH3
D
1.0 M NH4Cl + 1.2 M NH3
Arrange the following mixtures of buffer solutions in an increasing order of their pH values.
Drag and drop to order
1
A
0.10 M KF/0.10 M HF
2
B
0.20 M KF/0.10 M HF
3
C
0.10 M KF/0.20 M HF
In: Chemistry
Problem 4 (20 pt.)
Given the following dataset:
|
? |
? |
? |
Class |
|
2.5 |
1.5 |
3.5 |
- |
|
0.5 |
1.0 |
1.5 |
+ |
|
0.5 |
0.5 |
1.0 |
+ |
|
2.0 |
2.5 |
2.5 |
+ |
|
1.0 |
2.0 |
3.0 |
- |
|
2.0 |
3.0 |
1.5 |
- |
Supposethatyouwanttoclassifyanobservation?=(?.?, ?.?, ?.?)using?-NearestNeighbors with Euclidean distance as the proximity metric. Answer the following questions:
(8 pts.) What is the distance between ? and every observation in the dataset?
(3 pts.) What is the predicted class label for ? if ? = ??
(3 pts.) What is the predicted class label for ? if ? = ??
(3 pts.) What is the predicted class label for ? if ? = ??
(3 pts.) What is the predicted class label for ? if ? = ??
In: Computer Science
Collect Customer Data - Part 2
Prompt: "Starting Odometer Reading:\n"
Variable: odoStart = ?
Prompt: "Ending Odometer Reading:\n"
Variable: odoEnd = ?
Add code to PRINT odoStart and odoEnd variables as well as the totalMiles to check your work.
The following data will be used as input in the test:
import sys
'''
Section 1: Collect customer input
'''
#Add customer input 1 here, rentalCode = ?
#Collect Customer Data - Part 2
#4)Collect Mileage information:
#a) Prompt the user to input the starting odometer
reading and store it as the variable odoStart
#Prompt -->"Starting Odometer Reading:\n"
# odoStart = ?
#b) Prompt the user to input the ending odometer reading and store it as the variable odoEnd
#Prompt -->"Ending Odometer Reading:"
# odoEnd = ?
#c) Calculate total miles
#Print odoStart, odoEnd and totalMiles
# Calculate Charges 2
## Calculate the mileage charge and store it
as
# the variable mileCharge:
#a) Code 'B' (budget) mileage charge: $0.25 for each mile driven
#b) Code 'D' (daily) mileage charge: no charge if
the average
# number of miles driven per day is 100 miles or less;
# i) Calculate the averageDayMiles
(totalMiles/rentalPeriod)
# ii) If averageDayMiles is above the 100 mile per
day
# limit:
# (1) calculate extraMiles (averageDayMiles -
100)
# (2) mileCharge is the charge for extraMiles,
# $0.25 for each mile
#c) Code 'W' (weekly) mileage charge: no charge if
the
# average number of miles driven per week is
# 900 miles or less;
# i) Calculate the averageWeekMiles (totalMiles/
rentalPeriod)
# ii) mileCharge is $100.00 per week if the average number of miles driven per week exceeds 900 miles
Im getting a Error on my Script at line 55:
LAST RUN on 9/14/2019, 8:44:31 AM
Check 1 failed
Output:
File "rental_car-customer-data-2.py", line 55 elif rentalCode == 'W' or rentalCode=='w': ^ SyntaxError: invalid syntax
Expected:
Starting Odometer Reading: Ending Odometer Reading: 1234 2222 988
My Script:
import sys
'''
Section 1: Collect customer input
'''
#Add customer input 1 here, rentalCode = ?
rentalCode = input("(B)udget, (D)aily, or (W)eekly
rental?\n")
print (rentalCode)
#Collect Customer Data - Part 2
#4)Collect Mileage information:
#a) Prompt the user to input the starting odometer
reading and store it as the variable odoStart
#Prompt -->"Starting Odometer Reading:\n"
# odoStart = ?
odoStart = input('Starting Odometer Reading: ')
#b) Prompt the user to input the ending odometer
reading and store it as the variable odoEnd
#Prompt -->"Ending Odometer Reading:"
# odoEnd = ?
odoEnd = input('Ending Odometer Reading: ')
#c) Calculate total miles
totalMiles = int(odoEnd) - int(odoStart)
#Print odoStart, odoEnd and totalMiles
print (odoStart)
print (odoEnd)
print (totalMiles)
# Calculate Charges 2
## Calculate the mileage charge and store it
as
# the variable mileCharge:
#a) Code 'B' (budget) mileage charge: $0.25 for each
mile driven
if rentalCode == "B" or rentalCode=='b':
mileCharge = totalMiles * 0.25
#b) Code 'D' (daily) mileage charge: no charge if the
average
# number of miles driven per day is 100 miles or less;
# i) Calculate the averageDayMiles
(totalMiles/rentalPeriod)
elif rentalCode == "D" or rentalCode=='d':
rentalPeriod = int(input('Enter days rented: '))
averageDayMiles = totalMiles/rentalPeriod
if averageDayMiles <= 100:
mileCharge=0
# ii) If averageDayMiles is above the 100 mile per
day
# limit:
# (1) calculate extraMiles (averageDayMiles -
100)
else:
# (2) mileCharge is the charge for extraMiles,
# $0.25 for each mile
mileCharge = (averageDayMiles-100) *0.25
#c) Code 'W' (weekly) mileage charge: no charge if
the
# average number of miles driven per week is
# 900 miles or less;
elif rentalCode == 'W' or rentalCode=='w':
rentalWeek = int(input('Enter rental week: '))
averageWeekMiles = totalMiles / rentalWeek
if averageWeekMiles<=900:
mileCharge=0
else:
mileCharge=100*rentalWeek
print('Charges : ${}'.format(mileCharge))
# i) Calculate the averageWeekMiles (totalMiles/
rentalPeriod)
# ii) mileCharge is $100.00 per week if the average number of miles driven per week exceeds 900 miles
In: Computer Science
1) “Demand” is best defined as the relationship between:
2) A home theater system and an HD television would be considered an example of:
A) substitute goods.
3) Many people consider hot dogs to be an inferior good. For such people, all else held constant, a decrease in income would cause their demand for hot dogs to:
4) If movies on DVD for home rental and movies seen at a theater are substitutes, and the price of movies seen at a theater increases, the demand for movies on DVD will:
A) increase.
5) Which of the following is not considered a factor that influences supply?
A) Technology.
6) For the U.S. economy, the largest expenditure category is:
A) government expenditures.
7) Greater consumer confidence, wealth, available consumer credit, and disposable income ________ personal consumption expenditures.
8) Higher expected profits and business confidence ________ investment spending.
A) decrease
9) Appreciation of the U.S. dollar will ________ exports and ________ imports, other things equal.
10) The reserve requirement is 0.20. What is the simple deposit multiplier?
A) 1
11) The interest rate that commercial banks charge each other for loans of reserves to meet their minimum reserve requirements is called:
A) treasury bill rate.
12) An increase in the reserve requirement would:
In: Economics
A student creates a buffer mixing 50. mL of 1.0 M Acetic Acid with 25 mL of 1.0 M Sodium Hydroxide. The buffer is then mixed with 10. mL of 2.0 M hydrobromic acid. What is the pH of the final solution?
The Ka of acetic acid is 1.8 x 10-5
In: Chemistry
Many lakes in the Adirondack State Park in New York are carefully managed. At some lakes, fines are levied for introducing non-intended fish into the lake. Why would such a rule exist? (Answer this question from an externality perspective!)
In: Economics
Many hotels have implemented aggressive recycling programs. Assume an employee within the hotel approached you about starting a comprehensive recycling program. What factors would influence the hotel’s decision to make a commitment to such a program?
In: Operations Management
Explain what is meant by the Theme Park internal and external business environment and use the acronym P.E.S.T with appropriate examples to clarify your explanation. Also, discuss using how new rides can be both interactive and educational.
In: Operations Management
Beta and required rate of return
A stock has a required return of 12%; the risk-free rate is 2.5%; and the market risk premium is 3%.
What is the stock's beta? Round your answer to two decimal
places.
B. If the market risk premium increased to 9%, what would happen to the stock's required rate of return? Assume that the risk-free rate and the beta remain unchanged.
1. If the stock's beta is equal to 1.0, then the change in required rate of return will be greater than the change in the market risk premium.
2. If the stock's beta is equal to 1.0, then the change in required rate of return will be less than the change in the market risk premium.
3. If the stock's beta is greater than 1.0, then the change in required rate of return will be greater than the change in the market risk premium.
4. If the stock's beta is less than 1.0, then the change in required rate of return will be greater than the change in the market risk premium.
5. If the stock's beta is greater than 1.0, then the change in required rate of return will be less than the change in the market risk premium.
-Select-
New stock's required rate of return will be _______ %. Round your
answer to two decimal places.
In: Finance