clear all
close all
%1st example
r=3; x0=0.2;
figure(1)
cob_web(r,x0)
%1st example
r=1.5; x0=0.5;
figure(2)
cob_web(r,x0)
%Matlab function for Cobweb plot
function cob_web(r,x0)
%alpha and x0 are the input for cobweb plot
%Function for which Cobweb plot have to
draw
f=@(x) r.*x.^2./(1+x.^2);
t=x0;
%plotting the function
xx=linspace(0,1,100);
yy=f(xx);
%plotting the lines for cobweb
hold on
plot(xx,yy,'b','Linewidth',2)
plot(xx,xx,'b','Linewidth',2)
plot([x0 x0],[0 f(x0)],'r')
%changing points after each iterations
for i=1:500
x1=x0;
y1=f(x1);
x2=f(x1);
y2=f(x1);
x3=f(x1);
y3=f(f(x1));
plot([x1 x2],[y1
y2],'r')
plot([x2 x3],[y2
y3],'r')
x0=x3;
end
%title and lebeling of curve
title(sprintf('Cobweb plot for r=%2.2f and
x0=%2.2f',r,t))
xlabel('x')
ylabel('y')
box on
fprintf('Stable equilibrium point for a=%f and
x0=%f is %f\n',r,t,x0)
end
%%%%%%%%%%%%%%%% End of Code %%%%%%%%%%%%%%%
9. For the model 1 +32 (a) Find the formula(s) for the fixed point(s) if r...
(1 point) Find the inverse Laplace transform of 2s + 9 $2 + 23 S> 0 y(t) =
The crmping tool is used to crimp the end of the wire E Tigure 1) Part A ir a force or -19 ) is applied to the handles, determine the average shear stro s in the pin at The pin s su ted to double ste and has a dia nct of ว 2 n Express your answer to three significant figures and include the appropriate units. (m)an,-1 Value Units Submit Rฉquest Answer Figure 1 ot1 Provide Feedback Next >...
4. Let X be continuous random variable whose PDF is given by for r>1 otherwise, where 0 is an unknown scalar parmeter. (a) Find the maximum likelihood estimator of . (b) Find a method-of-moments estimator of θ for the case when θ > 1. (c) Why can we not find a method-of-moments estimator when θ < 1? 151 151 151
Question 4 Consider a point in a structural member that is subjected to plane stress. Normal and shear stress magnitudes acting on horizontal and vertical planes at the point are S-15 ksi, s - 7 ksi, and Sy- 11 ksi a) Draw Mohr's circle for this state of stress. (b) Determine the principal stresses (σ01 > σ02) and the maximum in-plane shear stress Tnax acting at the point. c Find the smallest rotation angle θρ counterclockwise is positive dock ise...
s={(8.60) :) :) is a basis of M3x2(R)? (d) (1 point) The set = {(1 9:(. :) : 6 1) (1 1) (1 :) :()} is linearly independent. (e) (1 point) For a linear transformation A:R" + Rd the dimension of the nullspace is larger than d. (f) (1 points) Let AC M4x4 be a diagonal matrix. A is similar to a matrix A which has eigenvalues 1,2,3 with algebraic multiplicities 1,2, 1 and geometric multiplicities 1,1, 1 respectively. 8....
Find G(s)= H2(s)/Q(s) 1.- - For the system shown in the figure, ?+q> Tanque 2 Tanque HEMU H + hz H+hi * 0+2 Q1 +91 where Q(s) is the input liquid flow, H(s) is the height of tank 1, H2(S) is the height of tank 2. Qe(s) is the output liquid flow, R and R2 are the valves resistance and C and C2 are the capacitance of tank 1 and tank 2. Obtain the Block Diagram and the Transfer Function...
3) Given the system function of a discrete time filter 1-2z-1 10.4z-1 with R. 0. C: Iz| > 0.4 The unit sample response h[n] is a) h[n] =-58m] 6(0.4")u[n] b) h[n]- -56[n] 60-0.4)"ufn] c) h[n] = (-0.4n)2[n]-2 (-0.4n-1)u[n-1] d) h[n] = (-0.4)"u[n]-2(-0.4)"-111[n-1] e) b and c f) b and d g) a and d h) a and c i) none of the above hint: use Partial Fraction Expansion
Consider the standard two-periods consumption model where consumers have the utility func- tion u(c)-S Furthermore, let a =0, y 0,and y-1. where 0 < ? and ? > 1 are parameters (a) Write down the consumer problem (b) Find the first order conditions. (c) Find the optimal consumption plan (c and c as function of variables ans parameters "given" to the consumer) Set ?-05, ? (d) (e) Set ?-2, ?-0.5 and r-0.02. Which consumption is larger, present or future? why?...
Part 1 (0.3 point) OSeeHint Oliver, amasked crime fighter, and Malcolm, his villainous counterpart both use arrows on a regular basis. Together, they are the main consumers of arrows in their local market. Their demand schedules for arrows are given below Price per arraw $140 $90 $60 $30 S0 Oliver's demand Malcolm's demand (arrows per week] arrows per week) 20 40 60 80 30 40 50 60 Using the point plotting tool, interpret the demand schedule to plot fin oints...
Q4) [5 points] Consider the following two algorithms: ALGORITHM 1 Bin Rec(n) //Input: A positive decimal integer n llOutput: The number of binary digits in "'s binary representation if n1 return 1 else return BinRec(ln/2)) +1 ALGORITHM 2 Binary(n) tive decimal integer nt io 's binary representation //Output: The number of binary digits in i's binary representation count ←1 while n >1 do count ← count + 1 return count a. Analyze the two algorithms and find the efficiency for...