Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ONLY MATLAB ONLY MATLAB ONLY MATLAB ONLY MATLAB ONLY MATLAB ONLY MATLAB fix this code which is taking both derivative and integral of a function.Share

ONLY MATLAB ONLY MATLAB ONLY MATLAB ONLY MATLAB ONLY MATLAB ONLY MATLAB fix this code which is taking both derivative and integral of a function.Share the output and sketch the graph via matlab ..(Without graph the answer will not accepted.)

syms t t=0:0.1:15 v0 = t; x0 = t; y0 = t; g = 9.81; x = (v0)*cos(t).*t+(x0); y = (v0)*sin(t).*t-0.5*g.*t.^2+(y0); d = ((v0)*sin(t)+sqrt((v0*sin(t))^2+2*g*(y0)))/g; diff(x) diff(y) diff(d) int(x) int(y) int(d) figure for=i=1:length(t) x=vo*t(i); y=vo*t(i)-g*t(i)^2; plot(x,y) axis equal xlabel('x') ylabel('y') drawnow end

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

5. Identify and describe nine social and cultural identities.

Answered: 1 week ago

Question

2. Define identity.

Answered: 1 week ago

Question

4. Describe phases of majority identity development.

Answered: 1 week ago