Professional Documents
Culture Documents
Q2. Suppose the surface area of a circle equals 25, what is the radius?
Q3. What is the probability density at x=0 of a normally distributed random variable x with mean (mu) equal to zero,
and standard deviation (sigma) equal to one?
𝑖
ln (𝑀 + 1)
−𝑖
𝑛= 𝑃
ln(1 + 𝑖)
a. Calculate the number of payment terms n for a mortgage with a principle balance of 200,000, monthly
interest rate of 0.5%, and monthly payment amount of 2000.
b. Now construct a vector n of length 6 with the results of this calculation for a series of monthly payment
amounts: 2000, 1800, 1600, 1400, 1200, 1000.
Q5. Find out for whether the second number is a multiple of the first number
a. 530, 1429410
b. 77, 13960
c. 8, 391600
Q8. Create a vector of size 5 and use sort() and order() functions for arrangement of values of the entered vector.
Describe what does order() do and how it is different from sort().