Answer the following questions: (a) Create a m-file for this fix) and save it as f.m. Write the contents of the (b)Use Matlab to graph f(x) and the difquo of f(x), using linspace (0, 50) on two d...
Matlab: please answer all 3 parts and show steps using Matlab inputs ONLY thank you Problem 3. Consider the function f(x) ei cos(2x). (1) Sketch its graph over the interval [0, r] by the following commands: (2) Using h-001 to compute the difference quotient for x = π/6 in [0, π]. The commands are: And the difference quotient is: (3) Using h = 0.01 to approximate the second derivative by computing the difífquo for x = π/6 in [0, π]....
please explain and do in matlab Problem 3. Consider the function f(x) e cos(2r). (1) Sketch its graph over the interval [0, m) by the following commands: (2) Using h = 0.01 π/6 in [0, π]. The commands are: to compute the difference quotient for z And the difference quotient is: ( 6 (3) Using h-0.01 to approximate the second derivative by computing the difdifquo for in [0, π). The commands are: And the difdifquo is: Problem 3. Consider the...
Create a Matlab code using ode45 function to solve the following two equations of a pendulum: m+M)x'' - ml'' cos + ml'' sin = F -x'' cos + l'' - g sin = 0 Force = 10N 5kg pendulum initial angle = 30 We were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe...
1. (2 pts each) The graph of some unknown function f is given below. 10 6/ 8-64-2 624 10 12 Use the graph to estimate the following quantities: (0 f (9) (g) f(4) b) lim (a) lim (e) (d) lim ( 6) (e) lim f(x) (c) lim f(x) if g(x)f(x) 6) a value of r where f is continuous but not differentiable (k) a value of r where f"(x) 0 and f"(x)>0 (1) the location of a relative maximum value...
2. (30) Answer the questions for the following distributions: (G) Normal(0, 1) (ii) t(15) (ii) x(12) (iv) F(4, 34) (a) Write down the probability density function (pdf (b) Sketch the pdf using hand drawing or R program. (c) At 5% significance level, indicate the rejection region of the right-tailed test. You may use R. 2. (30) Answer the questions for the following distributions: (G) Normal(0, 1) (ii) t(15) (ii) x(12) (iv) F(4, 34) (a) Write down the probability density function...
the code in the photo for this I.V.P dy/dx= x+y. y(0)=1 i need the two in the photo thank you New folder Bookmarks G Google dy/dx x+y, y(0)=1 2 h Exact Solution 1.8 Approximate Solution Mesh Points 1.6 -Direction Fied 1.4 1.2 1 0.8 04 0.2 0.3 0.1 0 X CAUsersleskandara\Desktop\New folder emo.m EDITOR PUBLISH VEW Run Section FILE NAVIGATE EDIT Breakpoints Run Run and FL Advance Run and Advance Time BREAKPOINTS RUN 1 - clear all 2 clc 3-...