Following code snippet for Above Question :
# Variable A is for first part of Question
A = c(seq(1, 12, by=0.5))
print("Output of first part of Question is")
print(A)
print("----------------------------")
# Variable B is for second part of Question
B = c(seq(1:10)^3)
print("Output of second part of Question is")
print(B)
print("----------------------------")
# Variable C is for third part of Question
C = c(seq(1,49))
#Iterating the elements of Vector C
for(i in C)
{
#Condition to check for Even Number
if(i%%2 == 0)
{
#Replacing even number with zero
C[C==i] <- 0
}
}
print("Output of third part of Question is")
print(C)
10 Vectors Exercise 2.3. Create the following vectors in R using seq) and/or rep(). A of...
17.6 Based on the information in Appendix D,
calculate the pH and trimethylammonium ion concentration of a
solution of trimethylamine, (CH3) 3N, 0.075 M, and
trimethylammonium chloride, (CH3) 3NHCl, 0.10 M.
CONSTANTS OF AQUEOUS BALANCE Кок LO X 107 3.0 X 10-12 X L6 X 10 12 Kat 18 X 105 5.6 X 10- 5.1 X 10-10 3 X 10 6.3 X 105 5.8 X 10 10 15 X Ls 43 X 10 14 X 1st 1 x 102 74...
Exercise 5-13 (Static) Solving for unknowns; annuities (LO5-9) For each of the following situations involving annuities, solve for the unknown. Assume that interest is compounded annually and that all annuity amounts are received at the end of each period. (/= interest rate, and n=number of years) (FV of $1. PV of $1. FVA of $1. PVA of $1. FVAD of $1 and PVAD of $1) (Use appropriate factor(s) from the tables provided. Round your final answers to nearest whole dollar...