Risposto
Please Answer My Question
x=0:0.1:2*pi; subplot(2,2,1); plot(x,sin(x)); subplot(2,2,2); plot(x,cos(x)); subplot(2,2,3); plot(x,exp(-x)); subplot(2,2,4...

circa 2 anni fa | 0

Risposto
Help with piecewise function? Can't use else/if?
And what about this code ??? x=-5:0.1:5; g=-1+(abs(x)<=pi).*(1+cos(x)); plot(x,g) Do you like it ???

circa 2 anni fa | 1

Risposto
Trying to do a animation of tangent line and secant line for my calc class.
Here I put the animation in mp4 for you: https://www.youtube.com/watch?v=PQ9Tgcwc6JQ I hope you like it...!!!

circa 2 anni fa | 0

Risposto
Trying to do a animation of tangent line and secant line for my calc class.
I hope that this script is that you're looking for: x=-1:0.01:6; s=[-2 2]; for u=-pi/2:pi/360:4*pi; t=3+2*sin(u); pl...

circa 2 anni fa | 0

Risposto
Find the extreme value (s) of z = 2x1^2 - x1x2 + 4x2^2 + x1x3 + x3^2 + 2 and using the Hessian matrix check whether the extreme value (s) is / are maximum or minimum.
The gradient of the function z(x1,x2,x3) is (4*x1-x2+x3,-x1+8*x2,x1+2*x3) and so, the function z has the origin as its unique cr...

circa 2 anni fa | 0