|
water displaced (mL) |
Time (seconds) |
|
2 |
174 |
|
4 |
218 |
|
6 |
273 |
|
8 |
317 |
|
10 |
376 |
|
12 |
421 |
|
14 |
456 |
|
16 |
502 |
|
18 |
584 |
|
20 |
614 |
|
22 |
679 |
|
water displaced (mL) |
Time (seconds) |
|
2 |
201 |
|
4 |
246 |
|
6 |
292 |
|
8 |
331 |
|
10 |
397 |
|
12 |
436 |
|
14 |
489 |
|
16 |
541 |
|
18 |
584 |
|
20 |
631 |
|
22 |
702 |
|
water displaced (mL) |
Time (seconds) |
|
2 |
194 |
|
4 |
229 |
|
6 |
285 |
|
8 |
328 |
|
10 |
382 |
|
12 |
413 |
|
14 |
469 |
|
16 |
512 |
|
18 |
590 |
|
20 |
622 |
|
22 |
691 |
(a) Assuming the undiluted catalyst solution is 1% mass/volume I3K, how many moles of I3K are present in reactions 1 and 3? The molecular weight of I3K is 420 g/mol.
(b) What is [I3K] present in reactions 1 and 3 in units of molarity?
(c) What is [I3K] present in reaction 2 in units of molarity?
Chart 1: 10 mL undiluted 1-2% IKI; and 5 ml 3% H2O2
Chart 2: 10 mL 0.5-1.0% IKI; and 5 ml 3% H2O2
Chart 3: 10 mL undiluted 1-2% IKI; and 5 ml 2.25% H2O2
In: Chemistry
In questions 7 – 9, a firm can spend $1,150 monthly on advertising in either the newspaper or on the radio. Marketing experts estimate that monthly sales can be increased by the following amounts:
|
Additional Units Sold Monthly |
||
|
Number of Ads Monthly |
Newspaper |
Radio |
|
1 |
1,000 |
1,800 |
|
2 |
750 |
1,500 |
|
3 |
500 |
1,200 |
|
4 |
400 |
1,000 |
|
5 |
250 |
600 |
The prices of newspaper and radio ads are $250 and $300 respectively.
7. In order to maximize monthly sales, the advertising budget should be allocated so that
8. If the advertising budget is increased to $2,250 per month, how should the budget be allocated to maximize sales?
9. In question 8 above, the values of MB(N)/P(N) and MB(R)/P(R) are both equal to
In: Economics
Microsoft Visual C++ Assembly language
Problem 3. Write a program that uses a loop to calculate the first seven values of the Fibonacci number sequence, described by the following formula: Fib(1) = 1, Fib(2) = 2, … Fib(n) = Fib(n-1) + Fib(n-2). Place each value in the EAX register and display it with a call DumpRegs statement inside the loop
For example:
Fib(1) = 1,
Fib(2) = 2,
Fib(3) = Fib(1) + Fib(2) = 3,
Fib(4) = Fib(2) + Fib(3) = 5,
Fib(5) = Fib(3) + Fib(4) = 8,
Fib(6) = Fib(4) + Fib(5) = 13,
Fib(7) = Fib(5) + Fib(6) = 21
Below is an assembly program template that you can refer, and complete the programming by filling in the codes into the specified place:
TITLE Midterm Programming Question 3
Comment !
Description: Write a program that uses a loop to calculate the first
seven values in the Fibonacci number sequence { 1,1,2,3,5,8,13 }.
Place each value in the EAX register and display it with a
call DumpRegs statement inside the loop.
!
INCLUDE Irvine32.inc
.code
main PROC
please fill in your code here
exit
main ENDP
END main
Please submit the source code of your assembly file (i.e. .asm) and the screenshot to show that your program works well
In: Computer Science
Consider the matrix B =
−1 1 1 2
−1 1 0 3
−2 2 1 −4
(a) Find ||B||F.
(b) It can be shown (See Saito, Lecture Notes, 5.7) that the 1-norm of a matrix A ∈ Rm×n can be written as ||A||1 = max 1≤j≤n||aj||1 whereaj is the jth column of A. Find||B||1.
(c) Find ||B||2.
(d) It can be shown (See Saito, Lecture Notes, 5.9) that the ∞-norm of a matrix A ∈ Rm×n can be written as kAk∞ = max
In: Math
Suppose A = {(a, b)| a, b ∈ Z} = Z × Z. Let R be the relation define on A where (a, b)R(c, d) means that 2 a + d = b + 2 c.
a. Prove that R is an equivalence relation.
b. Find the equivalence classes [(−1, 1)] and [(−4, −2)].
In: Advanced Math
Two dice are rolled. Let the random variable X denote the number that falls uppermost on the first die and let Y denote the number that falls uppermost on the second die.
(a) Find the probability distributions of X and Y.
| x | 1 | 2 | 3 | 4 | 5 | 6 |
| P(X = x) |
| y | 1 | 2 | 3 | 4 | 5 | 6 |
| P(Y = y) |
(b) Find the probability distribution of X +
Y.
| x + y | 2 | 3 | 4 | 5 | 6 | 7 |
| P(X + Y = x + y) |
| x + y | 8 | 9 | 10 | 11 | 12 |
| P(X + Y = x + y) |
In: Statistics and Probability
A machine with an initial purchase price of $29100 has a useful life of 10 years. The usage of this machine is forecasted to bring us the savings in the table below. At an interest rate of 0% how many years will it take to payback the investment?
|
Year |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|
Savings, $ |
7000 |
9000 |
5000 |
3000 |
4000 |
6000 |
5000 |
6000 |
4000 |
7000 |
|
1-2 years |
||
|
2-3 years |
||
|
3-4 years |
||
|
4-5 years |
||
|
5-6 years |
||
|
6-7 years |
||
|
7-8 years |
||
|
8-9 years |
||
|
More than 8 years |
In: Accounting
A social scientist would like to analyze the relationship between educational attainment (in years of higher education) and annual salary (in $1,000s). He collects data on 20 individuals. A portion of the data is as follows:
| Salary | Education | ||||
| 40 | 3 | ||||
| 53 | 4 | ||||
| ⋮ | ⋮ | ||||
| 38 | 0 | ||||
| Salary | Education | |
| 40 | 3 | |
| 53 | 4 | |
| 80 | 6 | |
| 42 | 2 | |
| 70 | 5 | |
| 50 | 4 | |
| 110 | 8 | |
| 38 | 0 | |
| 42 | 3 | |
| 55 | 4 | |
| 85 | 6 | |
| 40 | 2 | |
| 70 | 5 | |
| 60 | 4 | |
| 140 | 8 | |
| 40 | 0 | |
| 75 | 5 | |
| 65 | 4 | |
| 125 | 8 | |
| 38 | 0 | |
a. Find the sample regression equation for the model: Salary = β0 + β1Education + ε. (Round answers to 2 decimal places.)
Salaryˆ=Salary^= + Education
b. Interpret the coefficient for Education.
As Education increases by 1 unit, an individual’s annual salary is predicted to increase by $8,590.
As Education increases by 1 unit, an individual’s annual salary is predicted to increase by $10,850.
As Education increases by 1 unit, an individual’s annual salary is predicted to decrease by $8,590.
As Education increases by 1 unit, an individual’s annual salary is predicted to decrease by $10,850.
c. What is the predicted salary for an individual who completed 7 years of higher education? (Round coefficient estimates to at least 4 decimal places and final answer to the nearest whole number.)
SalaryˆSalary^ = $
In: Statistics and Probability
Here are the returns on two stocks.
| Digital Cheese | Executive Fruit | |||||||
| January | +19 | +8 | ||||||
| February | −3 | +1 | ||||||
| March | +5 | +4 | ||||||
| April | +7 | +17 | ||||||
| May | −4 | +2 | ||||||
| June | +3 | +4 | ||||||
| July | −2 | −3 | ||||||
| August | −8 | −2 | ||||||
a-1. Calculate the variance and standard deviation of each stock. (Do not round intermediate calculations. Round your answers to 2 decimal places.)
a-2. Which stock is the riskier if held on its own?
Digital Cheese
Executive Fruit
b. Now calculate the returns in each month of a portfolio that invests an equal amount each month in the two stocks. (Negative amounts should be indicated by a minus sign. Do not round intermediate calculations. Round your answers to 2 decimal places.)
c. Is the standard deviation more or less than half way between the variance of the two individual stocks?
In: Finance
imporant note (the language of compiler and programming llanguage)
Q1:
A positive integer number n is said to be perfect if the number is equal the sum of its divisors excluding the number itself.
Ex:
6 is perfect since the divisors are 1, 2, 3 & 1+2+3 6
28 is perfect since the divisors are 1, 2, 4, 7, 14 & 1+2+4+7+14 = 28
The function “mod” is defined in Xlisp, but the function “div” is not.
>(mod 18 7)
> 4
(a) Write a function “div” which when given two integers n, m and returns n div m.
Ex: > (div 18 7)
> 2
(b) Write a function “perfect” which receives a positive integer n and returns 1 if n is perfect and 0 otherwise.
That is:
>(perfect 28)
>1
(perfect 14)
>0
Hint: I believe you may need to define other functions in addition to div.
Q2 )The McLaurin series for ex as follows:
Write a function “EeX” which receives a number x and returns the value ex.
That is:
> (EeX 1)
> 2.71
Note: you need to define two functions:
That is,
> ( power 3 2)
>9
That is,
> ( factorial 5)
>120
Note: Stop the recursion when (xn/n!) < 0.001
(comp439)
In: Computer Science