s. (15 pts)Consider all possible funtions B be a function where |4 - m and lB-n...
e (4 marks) Let m be an integer with the property that m 2 2. Consider that X1, X2,.. ., Xm are independent Binomial(n,p) random variables, where n is known and p is unknown. Note that p E (0,1). Write down the expression of the likelihood function We assume that min(x1, . . . ,xm) 〈 n and max(x1, . . . ,xm) 〉 0 5 marks) Find , and give all possible solutions to the equation dL dL -...
2. Which of the following recursive functions, written in a fictitious language, are tail recursive? Select all that are A. function f(n) ifn<2 else f(n-1) + f(n-2) end If m=0 else B. function g(m,n) g(m-1,m'n) C. function h(n) if n 100 else 3 h(n+5) end D. function j(m.n) IT m=n 100 j(m-n,n) 10 j(n,n-m) elseif mn else
2. Which of the following recursive functions, written in a fictitious language, are tail recursive? Select all that are A. function f(n) ifn
please solve for all
4. (15 pts) (Compound quadrature) a) Approximate the integral Ja dr by ma (Midpoint rule with N-4), t4 (Trapezoidal rule wi N-4), and s4 (Simpson's rule with M-4) respectively. b) Give the corresponding absolute errors for ma, t4 and s d and s4 respectively. (Exact value J
4. (15 pts) (Compound quadrature) a) Approximate the integral Ja dr by ma (Midpoint rule with N-4), t4 (Trapezoidal rule wi N-4), and s4 (Simpson's rule with M-4) respectively....
1-Is it possible to run a program without a main() function? Yes No 2- How many main() functions can one have in a program? 2 This depends on what compiler you use. As many as you like 1 3- What does the following code fragment leave in x? char a = 'A'; int x = sizeof (a); 1 Depends on what compiler you use. 4 2 4- True or false: In a C program I can have two functions with...
Question 1 1 pts What is the kinetic energy of a man who weighs 980N who is riding in a car traveling 40 km per hour? Express your answer in Joules, but don't type the unit in the answer box. Round to the nearest whole number. (Careful with the units) 1 pts Astudent slides her 80.0-kg desk across the level floor of her dormitory room a distance 4.00 m at constant speed. If the coefficient of kinetic friction between the...
Problem 15. (20 pts) Consider a damped driven oscillator with the following parameters s-100 N/m b=0.5kg/s m= 1 kg Fo=2N A) Find the resonant frequency, w. B) Find the damping rate y C) What is the quality factor Q for this oscillator? D) Is this oscillator lightly damped, critically damped, or heavily damped? E) Find the steady state amplitude when the oscillator is driven on resonance (Ω=w). F) Find the steady state amplitude when Ω_w+γ/2. G) Find the average power...
(1) Give a formula for SUM{i} [i changes from i=a to i=n], where a is an integer between 1 and n. (2) Suppose Algorithm-1 does f(n) = n**2 + 4n steps in the worst case, and Algorithm-2 does g(n) = 29n + 3 steps in the worst case, for inputs of size n. For what input sizes is Algorithm-1 faster than Algorithm-2 (in the worst case)? (3) Prove or disprove: SUM{i**2} [where i changes from i=1 to i=n] ϵ tetha(n**2)....
i need help with all these questions please
Question 23 4 pts Which of these liquids is most likely to have the lowest (slowest) rate of evaporation (g/min) and why? Select the single best answer. H H H HH :01 IH terbaru H 11 HHH cnc- 7 H H H ica H 나 Hit 4 c B A ΟΟΟΟΟΟ C, because it has the highest molar mass. A, because this molecule has the lowest molar mass.. B, because it has...
kindly answer all
Consider the following molecules A-O to answer questions 1-11: OH Molecule A Molecule B Molecule C H2N Molecule D Molecule E Molecule F OH Molecule G Molecule H Molecule I ū Molecule J Molecule K Molecule L HN Molecule M Molecule N Molecule o To open this im B. (0.5 mark) Yes or No: Does molecule A have one or more) asymmetrics carbon atoms that acts as stereocenters? Submit A Tries 0/1 9. (1 mark) Which molecule,...
1 Particle in a Box with a Bump (based on B&J 4.11) Consider a particle of mass m in a 1-D double well with potential given by Vo, 05\x\<b V(x) = { 0, b<\x<c 100, [x]>c . We will study the lowest energy states, for which 0 <E<V, corresponding to tunnelling between the two wells. (a) Write down the time-independent Schödinger equation in the three regions -c<x<-b, –b< <b, and b< I< c. Write down the most general wavefunction solution...