The commercial concentrated hydrochloric acid is rated at 38 w/w%. The density of the solution is d = 1.18g.mL. Calculate the molarity of HCl (cHCl), molality of HCl (cR,HCl), and the mole fraction of HCl (xHCl).
In: Chemistry
Linked List
Course Outcome:
CLO3 Build computer programs to implement appropriate data structures for solving computing problems in a time frame given. (P3, PLO3)
Task
Write a complete program by applying linked list data structure that will perform the following operation on any records:
Your program also should be able to display the number of record in the linked list. Put your creativity to produce the program.
Your Submission should have the following components:
In: Computer Science
Describing
1. Accounts receivable—
2. Note receivable—
3. Inventories—
4. Investments—
5. Prepaid expenses—
6. Land—
7. Equipment, net—
8. Patent—
9. Note payable—$
10. Interest payable—
11. Common stock—
In: Accounting
Use the following table to answer questions 1 - 6:
State of Economy |
Probability of State of Economy |
Asset A Rate of Return |
Asset B Rate of Return |
Boom |
0.3 |
0.13 |
0.08 |
Normal |
0.5 |
0.06 |
0.05 |
Recession |
0.2 |
-0.05 |
-0.01 |
What is the expected return for asset A?
What is the expected return for asset B?
What is the standard deviation for asset A?
What is the standard deviation for asset B?
What is the expected return of a portfolio that has 70% in Asset A and 30% in Asset B?
The standard deviation of the 70% A and 30% B portfolio most likely should:
|
|||
|
|||
|
In: Finance
JAVA
Write nested while loop that will print out this pattern, based upon a number entered by the user. User enters 4: 1234 1234 1234 1234 User enters 2: 12 12
In: Computer Science
In: Computer Science
Answer the following questions in an Excel file. Each questions with multiple parts requires a separate answer. Label your steps and show each answer (1, 2, 3, and 4) in a separate Excel tab. For problems that require a written answer, use a text box in Excel to record the text.
In: Finance
Write the following questions as queries in RELATIONAL ALGEBRA. Use only the operators discussed in class (select, project, Cartesian product, join, union, intersection, set difference and renaming).
The following database schema is given:
ATHLETE(name,age,height,weight,country) RACE(id,location,date,time-start,distance) COMPETES(aname,rid,time,position)
where ATHLETE has information about runners (their name, age, height, weight, and nationality); RACE has information about races (id, location, date when it’s held, time it starts, and distance ran); and COMPETES keeps track of which runners run on with race, the time it took them to complete the race, and their position on it (winner = ’1’, second = ’2’, third = ’3’, and so on).
(a) List the names of athletes under 30 years old from Norway that have ran a marathon (distance=26.2).
(b) List the names of athletes who have finished a race in 1st position and another race in second position.
(c) List the names of athletes who have never won a race (win=1st position).
(d) (*) List the races (id) where all the athletes were under 30 years old.
In: Computer Science
Tamarisk Manufacturing has old equipment that cost $58,000. The equipment has accumulated depreciation of $27,200. Tamarisk has decided to sell the equipment. (Credit account titles are automatically indented when amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.) (a) What entry would Tamarisk make to record the sale of the equipment for $32,000 cash? (b) What entry would Tamarisk make to record the sale of the equipment for $15,000 cash?
In: Accounting
App is crashing at startup? Any idea? Thanks! import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import java.util.ArrayList; import java.util.Random; public class MainActivity extends AppCompatActivity { private EditText teamOneText; private EditText teamTwoText; private Button selectButton; private TextView resultView; Random r = new Random(); ArrayList<EditText> editTextList = new ArrayList<>(); ArrayList<String> editTextValues = new ArrayList<>(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); editTextList.add(teamOneText); editTextList.add(teamTwoText); for(int i=0;i<editTextList.size();i++){ editTextValues.add(editTextList.get(i).getText().toString()); } teamOneText = findViewById(R.id.team_one); teamTwoText = findViewById(R.id.team_two); resultView = findViewById(R.id.result_view); selectButton = findViewById(R.id.select_button); selectButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { resultView.setText(editTextValues.get(r.nextInt(editTextValues.size()))); } }); } }
activity_main.xml
<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <TextView android:id="@+id/result_view" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Result shown here" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.70" /> <Button android:id="@+id/select_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Select Random Team" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.40" /> <EditText android:id="@+id/team_one" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ems="10" android:inputType="textPersonName" android:text="Team's name" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.70" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.15" /> <EditText android:id="@+id/team_two" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ems="10" android:inputType="textPersonName" android:text="Team's name" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.70" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.25" /> <TextView android:id="@+id/team1_label" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Team 1" android:textSize="18sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.15" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.16" /> <TextView android:id="@+id/team2_label" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Team 2" android:textSize="18sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.15" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.26" /> </androidx.constraintlayout.widget.ConstraintLayout>
strings.xml
<resources> <string name="app_name">TeamSelector</string> </resources>
In: Computer Science
A three phase source supplies a building with 18 KV which has a group of four 3-phase loads as follows:
LOAD 1: Wye connected; S=444 KVA and 0.84 lagging power factor
LOAD 2: Delta connected; S=693.75 KVA and 0.64 leading power factor
LOAD 3: Wye connected; Z= 140 + j240 Ω
LOAD 4: Unbalanced wye-connected and grounded load, with Za = 14+j3 Ω , Zb = 5-j24Ω and Zc =1+j14 Ω
What is the current phasor flowing through each conductor?
In: Electrical Engineering
I need to write a story using 50 medical terminology terms that could be sad or fun or song?
In: Nursing
Conservation of Angular Momentum
A female figure skater is spinning on ice. Assume that that the surface is basically frictionless. The skater is wearing weighted bracelets as part of the costume for the performance. These weighted bracelets weight .75 kg each. The skater has a spinning routine in the middle of the performance and initially starts spinning with arms stretched wide such that the weighted bracelets are 1 m from the axis of rotation. She has an initial angular velocity of 2LaTeX: \pi π rad/s with an initial moment of inertia of 2.5 kg * m2. The skater then pulls her arms in towards her chest so that the weighted bracelets are just 10 cm from the axis of rotation as this will allow a faster spin, her moment of inertia drops to 2.1 kg * m2.
Part 1. What is the initial angular velocity of this skater. (answer should be a whole number)
rev/s
Part 2. What is the initial kinetic energy the skater has? (give your answer to the nearest J)
J
Part 3. What is the final angular velocity of this skater. (give your answer to 3 significant digits)
rev/s
Part 4. What is the final kinetic energy the skater has? (give your answer to the nearest J)
J
In: Physics
The following class keeps track of how many flavors are at an ice-cream place, and the number of calories of each flavor. The calories of each flavor ice-cream are positive values of type unsigned int and are stored as a dynamically allocated array. The first data member is a pointer that will point to the first element of the array. This array will be of an arbitrary size. The default size of the array shall be 25, but may be specified by the user at the time of construction. The second data member represents the size of the array, i.e. the number of menu items, and is stored as size_t.
class IcrecreamCalories {
private:
unsigned int* calories;
size_t num;
public:
// constructors (default, one arg, and copy)
IcecreamCalories();
IcecreamCalories( unsigned int numberOfFlavors);
IcecreamCalories( const IcecreamCalories& original);
// destructor
~IcecreamCalories();
// Member function
int calorieAtIndex( int index );
};
Please answer the following two questions, typing the item number before each answer:
i) Why MUST the parameter of the copy constructor be of type constant reference?
ii) If this is in the Class Specification (header) file IcecreamCalories.hpp, write the function definitions that would be in the Class Implementation (source) file IcecreamCalories.cpp.
In: Computer Science
One year ago, your company purchased a machine used in manufacturing for $ 120,000. You have learned that a new machine is available that offers many advantages; you can purchase it for $ 140,000 today. It will be depreciated on a straight-line basis over ten years, after which it has no salvage value. You expect that the new machine will contribute EBITDA (earnings before interest, taxes, depreciation, and amortization) of $ 55,000 per year for the next ten years. The current machine is expected to produce EBITDA of $ 23,000 per year. The current machine is being depreciated on a straight-line basis over a useful life of 11 years, after which it will have no salvage value, so depreciation expense for the current machine is $ 10,909 per year. All other expenses of the two machines are identical. The market value today of the current machine is $ 50,000. Your company's tax rate is 40 %, and the opportunity cost of capital for this type of equipment is 12 %. Is it profitable to replace the year-old machine?
In: Finance