1) You construct barometers using multiple types of liquid, for each of the following liquids determine the height that would indicate the barometric pressure to be .90 atm. Give all answers to 3 significant digits.
Part 1. Mercury = .684 m
Part 2. Ethanol = 11.5 m
Part 3. Water = 9.30 m
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2)
A base guitar has 4 strings that are .86 m in length. Each need tuned to vibrate at a different frequency. And each have a mass per unit length of 3.32*10-3 kg/m
String 1 - 41 Hz
String 2 - 55 Hz
String 3 - 73 Hz
String 4 - 98 Hz
Part 1. What tension must each be tightened to? Give your answers to 3 significant digits
String 1: 16.5 N
String 2: 29.7 N
String 3: 52.3 N
String 4: 94.3 N
Part 2. If instead you wish to tighten the strings such that they all have the same tension, 55 N, what must the mass per unit length of each string be? Give your answers in scientific notation with 3 significant digits
Example: 3.32*10^-3 or 3.32*10^(-3)
String 1: 1.11*10^(-2) kg/m
String 2: 6.15*10^(-3) kg/m
String 3: 3.49*10^(-3) kg/m
String 4: 1.94*10^(-3) kg/m
PART 3: For the second part where the tension of every string is the same determine what you would expect the diameter of each of the strings to be.
In: Physics
The temperature T in a metal ball is inversely proportional to the distance from the center of the ball, which we take to be the origin. The temperature at the point (1, 2, 2) is 160°.
(a) Find the rate of change of T at (1, 2, 2) in the direction toward the point (3, 1, 4).
(b) Show that at any point in the ball the direction of greatest increase in temperature is given by a vector that points towards the origin.
In: Math
1. Find the :
(a) Inverse using explicit Gauss-Jordan elimination
(b) The eigenvalues
(c) Respective eigenvectors
(2 0 -2
0 4 0
-2 0 5)
In: Advanced Math
C4-2 From Recording Transactions (Including Adjusting Journal Entries) to Preparing Financial Statements and Closing Journal Entries (Chapters 2, 3, and 4) [LO 2-3, LO 3-3, LO 4-1, LO 4-2, LO 4-3, LO 4-4, LO 4-5, LO 4-6]
[The following information applies to the questions
displayed below.]
Brothers Harry and Herman Hausyerday began operations of their
machine shop (H & H Tool, Inc.) on January 1, 2016. The annual
reporting period ends December 31. The trial balance on January 1,
2018, follows (the amounts are rounded to thousands of dollars to
simplify):
|
Account Titles |
Debit |
Credit |
||||
|
Cash |
$ |
4 |
||||
|
Accounts Receivable |
4 |
|||||
|
Supplies |
11 |
|||||
|
Land |
0 |
|||||
|
Equipment |
68 |
|||||
|
Accumulated Depreciation |
$ |
7 |
||||
|
Software |
24 |
|||||
|
Accumulated Amortization |
8 |
|||||
|
Accounts Payable |
6 |
|||||
|
Notes Payable (short-term) |
0 |
|||||
|
Salaries and Wages Payable |
0 |
|||||
|
Interest Payable |
0 |
|||||
|
Income Tax Payable |
0 |
|||||
|
Common Stock |
83 |
|||||
|
Retained Earnings |
7 |
|||||
|
Service Revenue |
0 |
|||||
|
Salaries and Wages Expense |
0 |
|||||
|
Depreciation Expense |
0 |
|||||
|
Amortization Expense |
0 |
|||||
|
Income Tax Expense |
0 |
|||||
|
Interest Expense |
0 |
|||||
|
Supplies Expense |
0 |
|||||
|
Totals |
$ |
111 |
$ |
111 |
||
Transactions and events during 2018 (summarized in thousands of dollars) follow:
Data for adjusting journal entries as of December 31:
C4-2 Part 3
In: Accounting
Code and document the following functions using NON-RECURSIVE
ITERATION only.
Test the functions by calling them from a simple interactive main()
function using a menu, with different values used to select the
choice of function. Overall, you should have one C program (call it
Lab1.c) containing one main() function and 5 other functions, where
the functions are called based on an interactive user menu. The
program should contain a loop that permits users to enter a new
choice of function for each loop, until exit from the loop
explicitly.
1
Factorial(0) = 1;
Factorial(n) = n * (n-1) * . . . * 2 * 1
Requirement: n >= 0; reject with error message
otherwise
2
Fibonacci(0) = 0;
Fibonacci(1) = 1;
Fibonacci(n) = Fibonacci(n-1) + Fibonacci(n-2);
Requirement: n >= 0; reject with error message
otherwise
3
gcd (x, y) = x, if y=0
gcd (x, y) = gcd (y, x MOD y), if y > 0
Requirement: x and y both > 0; reject with error message
otherwise
4
Power(a,b) = ??
Requirement: a > 0, b > 0, b is an integer; reject with
error message otherwise
5
digProduct (x) = x if x <9
digProduct (x) = rightDigit * digProduct ( x/10)
Requirement: x is an unsigned integer (> 0); reject with
error message otherwise
Sample Interaction
Lab 1
1 - int Factorial(int n);
2 - int Fibonacci(int n);
3 - int Gcd(int x, int y);
4 - double Power(int a, int b);
5 – int digProduct (int x);
0 - QUIT
Please enter a selection: 6
Invalid Input.
Lab 1
1 - int Factorial(int n);
2 - int Fibonacci(int n);
3 - int Gcd(int x, int y);
4 - double Power(int a, int b);
5 – int digProduct (int x);
0 - QUIT
Please enter a selection: 1
Enter a positive Integer: 5
Answer: 120
Lab 1
1 - int Factorial(int n);
2 - int Fibonacci(int n);
3 - int Gcd(int x, int y);
4 - double Power(int a, int b);
5 – int digProduct (int x);
0 - QUIT
Please enter a selection: 4
Enter the first positive Integer: 2
Enter the second positive Integer: 3
Answer: 8
Lab 1
1 - int Factorial(int n);
2 - int Fibonacci(int n);
3 - int Gcd(int x, int y);
4 - double Power(int a, int b);
5 – int digProduct (int x);
0 - QUIT
Please enter a selection: 0
Goodbye!
In: Computer Science
Lab Reaction Rate and order of a Chemical Reaction
H3AsO3 (aq) + I3- (aq) + H2O (l) → HAsO42- (aq) + 3 I- (aq) + 4H+ (aq)
The data has been collected and pre-lab completed. Need help with the results.
Results
Laboratory temperature: 25°C
DATA TABLE 1:
|
Experiment |
[IO3]0 |
[H+]0 |
[H3AsO3]0 |
[I]0 |
|
1 |
.005 |
.00001 |
.0015 |
.05 |
|
2 |
.01 |
.00001 |
.0015 |
.05 |
|
3 |
.005 |
.00001 |
.0015 |
.1 |
|
4 |
.005 |
.00002 |
.0015 |
.05 |
DATA TABLE 2:
|
Experiment |
Δt (s) |
Δ[IO3-] |
Rate |
|
1 |
74 | ||
|
2 |
37.3 | ||
|
3 |
18.7 | ||
|
4 |
18.0 | ||
|
5 Temp: 35°C |
30 | ||
|
6 Temp: 45°C |
13.7 |
Questions
- Calculate Δ[IO3-] = (1/3)[H3AsO3]0 and record in Data Table 2. (Show calculation)
- Calculate the rates and record in Data Table 2 (Show calculations):
Rate=∆[IO3-]∆t
- Obtain the reaction orders with respect to IO3-, I-, and H+ by comparing the rates as described in the lab discussion. Show the rates you are comparing.
- Write the rate law for this reaction with the correct values for a, b, and c.
- Calculate the rate constant, k, for Experiments 1, 2, 3, and 4, using the above rate law and the rates and initial concentrations calculated in Data Table 1. (Show calculations)
Experiment 1:
Experiment 2:
Experiment 3:
Experiment 4:
- How does the calculated value for k compare for the first four experiments, all at 25°C?
2) Calculate the rate constant, k, at the higher temperatures used in Experiment 5 and 6. Remember that you used the same initial concentrations as in Experiment 1. (Show calculations)
Experiment 5:_______
Experiment 6:_______
How does k change as the temperature increases?
Explain why the value for k at higher temperatures is different from the experiments at the lower temperature.
In: Chemistry
The following data show the rankings of 11 states based on expenditure per student (ranked 1 highest to 11 lowest) and student-teacher ratio (ranked 1 lowest to 11 highest). Use Table 1 of Appendix B.
| State | Expenditure per Student | Student-Teacher Ratio |
| Arizona | 10 | 11 |
| Colorado | 5 | 8 |
| Florida | 4 | 6 |
| Idaho | 2 | 11 |
| Iowa | 7 | 4 |
| Louisiana | 10 | 3 |
| Massachusetts | 1 | 2 |
| Nebraska | 8 | 3 |
| North Dakota | 9 | 7 |
| South Dakota | 10 | 6 |
| Washington | 4 | 9 |
a. What is the rank correlation between expenditure per student and student-teacher ratio (to 2 decimals). Enter negative values as negative numbers.
Rs=
b. At the .05 significance level, does there appear to be a relationship between expenditure per student and student-teacher ratio?
z=
-p value is? (to 4 decimals)
Conclusion:
- Select your answer -We can conclude that there is a significant
relationship.We cannot conclude that there is a significant
relationship.
In: Statistics and Probability
TEST THE APPROPRIATE HYPOTHESIS. Include the null and alternate hypotheses, degrees of freedom, test statistic, rejection region, and decision.
You roll a die 48 times. the results as followed
Number 1 2 3 4 5 6
Frequency 4 13 2 14 13 2
Use a significance level of 0.05 to test the claim that the die is fair
In: Statistics and Probability
1) What is the best estimate for the distance covered between t=2 s and t=10 s by using Romberg integration (based on Trapezoidal rule)? Use three different h values of 2, 4 and 8.
|
t (s) |
2 |
4 |
6 |
8 |
10 |
|
v (m/s) |
0.166 |
0.55115 |
1.8299 |
6.0755 |
20.172 |
In: Advanced Math
The project will study the coordination of multiple threads using semaphores.
The design should consist of two things:
(1) a list of every semaphore, its purpose, and its initial value, and
(2) pseudocode for each function. Code Your code should be nicely formatted with plenty of comments. The code should be easy to read, properly indented, employ good naming standards, good structure, and should correctly implement the design. Your code should match your pseudocode.
Project Language/Platform
This project must target a Unix platform and execute properly on our cs1 or csgrads1 Linux server.
The project must be written in Java. Elevator Simulation In this project threads are used to simulate people using an elevator to reach their floor.
The threads to be used are as follows: Person:
1) 49 people are in line at the elevator at the beginning of the simulation (1 thread per person).
2) Each person begins at floor 1.
3) Each person randomly picks a floor from 2 to 10.
4) A person will wait for an elevator to arrive at floor 1.
5) A person will board the elevator only if there is room.
6) Once at the destination floor, the person exits the elevator.
Elevator:
1) There is 1 elevator (1 thread for the elevator).
2) The elevator can only hold 7 people.
3) The elevator begins on floor 1.
4) The elevator leaves after the 7th person enters.
Main
1) Creates all threads and joins all person threads.
2) When last person reaches their floor, the simulation ends.
Other rules:
1) Each activity of each thread should be printed with identification (e.g., person 1).
2) A thread may not use sleeping as a means of coordinating with other threads.
3) Busy waiting (polling) is not allowed.
4) Mutual exclusion should be kept to a minimum to allow the most concurrency.
5) The semaphore value may not obtained and used as a basis for program logic.
6) All activities of a thread should only be output by that thread. Sample output:
Your project’s output should match the wording of the sample output:
Elevator door opens at floor 1
Person 0 enters elevator to go to floor 5
Person 1 enters elevator to go to floor 2
Person 2 enters elevator to go to floor 8
Person 3 enters elevator to go to floor 4
Person 4 enters elevator to go to floor 6
Person 5 enters elevator to go to floor 7
Person 6 enters elevator to go to floor 2
Elevator door closes
Elevator door opens at floor 2
Person 1 leaves elevator
Person 6 leaves elevator
Elevator door closes
Elevator door opens at floor 4
Person 3 leaves elevator
Elevator door closes
Elevator door opens at floor 5
Person 0 leaves elevator
Elevator door closes
Elevator door opens at floor 6
Person 4 leaves elevator
Elevator door closes
Elevator door opens at floor 7
Person 5 leaves elevator
Elevator door closes
Elevator door opens at floor 8
Person 2 leaves elevator
Elevator door closes
Elevator door opens at floor 1
…
Simulation done
In: Computer Science