Question: MATLAB Hello, I need to plot a piecewise function using MATLAB: m=60; g=32.2; k1=11; k2=110; So basically, I need to plot both equations in the

MATLAB

Hello, I need to plot a piecewise function using MATLAB:

m=60; g=32.2; k1=11; k2=110;

MATLAB Hello, I need to plot a piecewise function using MATLAB: m=60;

So basically, I need to plot both equations in the same graph for g=32.2; k1=11; k2=110; So basically, I need to plot both equations in and the same graph for and These are my equations in case you

These are my equations in case you need:

V1=((m*g)/k_1)*(exp(((-k_1*t1)/m)-1));

V2=((m*g)/k_1)*(exp(((-k_2*(t2))/m)))*(exp((-k_1*t2)/m)-1)+((m*g)/k_2)*(exp(((-k_2*(t2))/m)-1));

v(t)={k1mg(ek1t/m1),k1mgek2(ttd)/m(ek1td/m1)+k2mg(ek2(ttd)/m1),0t

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!