Top Posters
Since Sunday
a
5
k
5
c
5
B
5
l
5
C
4
s
4
a
4
t
4
i
4
r
4
r
4

Question 1 

Suppose you have $3,600 to invest in Securities A and B. Security A has an expected return of 6% and a beta of 0.5. Stock B has an expected return of 20% and a beta of 1.8. What is the expected return on the portfolio if the portfolio beta is 2.0?

▸ 22.15%

▸ 24.00%

▸ 23.65%

▸ 22.22%

Answer

Click to Reveal

Please Login or Register to use this feature.

Question 2 



At 1 bar, how much energy is required to heat 77.0 g H20(s) at —10.0 •C to H20(g) at 141.0 QC? Use the heat transfer
constants found in this table.
Step 1: How much energy is needed to heat 77.0 g H20(s) from —10.0 •C to 0.0 •C? The specific heat of H20(s) is
c 2.087

Good day. I was wondering if you could look into this question.

Thank you!

Answer

Click to Reveal
Hi s.h_math

I think the steps shown here should be helpful:



Does that help?

Question 3 

Is it possible to receive a solution set for the following lab?


Thanks a lot!

LAB #4
Purpose:
The purpose of this lab is to learn to apply the selection
control structures in writing a C program to solve a given problem.
Before the lab:
1. Read your notes concerning logical expressions, the if and switch
statements.
During the lab:
PART I: PROGRAMMING EXERCISES
Exercise #1:
a. Using Geany, write a C program that prompts and asks the user for
two assignment marks (a1 and a2) and two test marks (t1 and t2).
All four variables are integer variables and are in % (out of 100). You
program should display the four marks properly lalebed to check if
the input has been successful.
b. Next, calculate and display the average of the four marks.
c. The program should continue to add on to what you have written by
using an if statement to assign the letter 'A' to a char variable named
"grade" if the average is greater than or equal to 80. The program
should print out the grade as a single letter using %c to output the
variable "grade". Repeat running your program with different input
data, and be sure to input the marks so that at least one trial case
gives an 'A'. Afterwards change the output (printf) statement so that
a "label" is produced. Recall that this is so that when looking at the
screen you will know what the number you see is meant to represent.
(eg: "The grade is A", as opposed to just 'A'.)
d. The program should then expand this into an if/else statement to
assign the letter 'A' to a char variable named grade if the average is
greater than or equal to 80, or 'B' if the average is less than 80. Test
this with the marks 80 85 75 85 and then run the program again with
marks 75 65 70 75.
e. The program should then use an if statement inside the else branch
to additionally separate out the averages less than 80. If the average
is less than 80 (all marks in this else part will be) the inner if
statement will assign the grade as 'B' if the average is greater than or
equal to 70 and 'C' if the average is less than 70. This time, create
your own sets of four marks to test that the program separates the
'B' and 'C' grades.
f. Continue the use of if statements in the else sections as you create
them to separate grades into 'C' vs 'D' ('C' is greater than or equal to
60, but of course still less than 70; 'D' is for marks less than 60 but
more than or equal to 50; and 'F' if the mark is less than 50. Again,
check this with several of your own sets of four marks.
g. Modify and Check your program with example grades so that the
output looks like this:
Enter Assignments Grades: 80 70
Enter Test Grades: 60 70
The average is: 70%
The letter grade is: B
Make sure the averages and letter grades are correct for every set of
grades and have your program checked by the TA.
Exercise #2:
a. Modify the program written for Exercise #1 to add the following rule:
"If either test mark t1 or t2 is less than 50, change the grade to an
'F'.". now check your program with this set of data: 80 60 45 80. If
should be an 'F' with the new rule.
Exercise #3:
a. Using Geany, ask the user for a warship class by a letter ('S', 'C', 'D',
'F' and 'A'). Use a switch statement to display the warship class name
(S for Submarine, C for Cruiser, D for Destroyer, F for Frigate and A
for Aircraft Carrier). Display a message that the ship is unknown if
the user enters any other letter. (Note: accept also the lowercase
version of the letters)
Exercise #4:
a. The National Earthquake Information Centre has asked you to write a
program implementing the following decision table to characterize an
earthquake based on its Richter scale number.
Richter scale number (n) Characterization
n < 5.0 Little or no damage
5.0 ≤ n < 5.5 Some damage
5.5 ≤ n < 6.5 Serious damage: Walls may crack or fall
6.5 ≤ n < 7.5 Disaster: Houses and buildings may collapse
n ≥ 7.5 Catastrophe: Most buildings destroyed
Could you do this program with a switch statement. If not, what is
the reason?
Exercise #5:
a. Without a computer evaluate the following expression: 1 && (30 %
10 >= 0) && (30 % 10 <=3)
b. Is either set of parentheses required?
c. Write the complement the the expression using the NOT operator.
d. Write the complement of the expression using the DeMorgan
Theorem.
PART II: DISCOVERY ACTIVITIES
i. Using your text book, or an Internet search (do not ask friends or TA)
or simply by experimenting with Quincy, explain in a few sentences
the differences between the = and == operators and why if (x = 0)
is always false.
PART III: LAB REPORT SUBMISSION
1. Submit the .c files for programming exercises 1 to 5.
2. Submit the text file containing the answer to the discovery question.
3. Submit on D2L/Brightspace under Lab #4. Submissions are due at
the end of the lab session. You must submit your work before leaving
the lab.
After the lab:
1. Review the steps you took to perform the various operations in the
lab.
Homework:
• On paper (no computer needed), do the following programming
(write the code by hand as you would on a test or an exam).
• Show your homework to your lab assistant at the beginning of
next week's lab.
• If you wish, you may try your solution with the computer to see if
you got the correct solution (no need to show the computer
version).
Last modified: January 06 2022 10:24:03.

Answer

Click to Reveal

Please Login or Register to use this feature.

Question 4 


Complete combustion of 4.80 g of a hydrocarbon produced
3 g of C02 an
What is the empirical formula for the hydrocarbon? Insert subscripts as necessary.
9 g of H
2
empirical formula:
CH

Answer

Click to Reveal
Again I found a similar example with its answer, here it is. If it is not helpful, let me know!

The complete combustion of 8.20 g of a hydrocarbon produced 25.1 g of CO2 and 12.0 g of H2O. What is the empirical formula for the hydrocarbon? Insert subscripts as necessary.

Question 5 

I am so clueless on how I can get this? I've tried ever calculation in the other hw and on my last try thankfully I still have the same set hw to do similar qs
Post Merge: 2 months ago

This is what I was doing as per calculations:

83.0 x 1 /64.1 x 3/8  x 257
83 x 1/34.1 x 3/16 x 257

What is the maximum mass of S8 that can be produced by combining 83.0 g of each reactant?
8S02 + 16H2S —4 3S8 + 16H20
Step 1: Convert 83.0 g S02 to moles and determine the number of moles of S8 that can form from the available amount of S02
83.0 g S02
moles of S8 produced from S02
mol S02
mol S8

Step 2: Convert 83.0 g 1--12 S to moles and determine the number of moles of S8 that can form from the available amount of 1-12 S.
83.0 gH2S
moles of S8 produced from 1--12S:
mol H2S
mol S8

Step 3: Identify the limiting reactant.
2
Calculate the mass of S8 produced from the number of moles of S8 produced from the limiting reactant.

Answer

Click to Reveal

Please Login or Register to use this feature.

Question 6 

I'm not sure why I'm having trouble with these step-by-step questions. It keeps marking them wrong.

The flask contains 10.0 mL of HCI and a few drops of
phenolphthalein indicator. The buret contains
0.230 M NaOH. It requires 16.6 mL of the NaOH solution
to reach the end point of the titration.
What is the concentration of the HCI solution?

Step 1: How many moles of NaOH are present in 16.6 mL
of 0.230 M NaOH?
moles of NaOH:
mol

Step 2: How many moles of HCI are in the
10.0 mL sample?

Step 3: What is the concentration of the HCI solution?

Answer

Click to Reveal

Please Login or Register to use this feature.

Question 7 



Write the acidic equilibrium equation for HC6H5O. Be sure to include the proper phases for all species within the reaction.

Answer

Click to Reveal
I don't have a minus sign in my box only +

Question 8 

Hey,

I needed help solving how much the surplus increases I’m not sure how to get that. Is it possible if you could show some calculations?

Thank you

Answer

Click to Reveal
I’m sorry about this, my question was for the second question that’s the answer I didn’t get. Ik how to find surplus.

Question:According to the graph the consumer surplus increases by $___ as a result of subsidy
Post Merge: A year ago

Would it be 10?

Question 9 

Guaranteed occupancy can penalize the public jurisdiction if the crime rate decreases.

• true

• false

Answer

Click to Reveal

Please Login or Register to use this feature.
Explore
Post your homework questions and get free online help from our incredible volunteers
  1451 People Browsing
 116 Signed Up Today