K

@kimberly111103

7

Octave
2 hours ago
clc clear x = (-5, 5, 1000); y = 2*x.*sin(x).*cos(x) + x.^3; plot(x, y, 'LineWidth', 2); title('y = 2x sin(x) cos(x) + x^3'); xlabel('x'); ylabel('y');

6

Octave
3 hours ago
clc clear A = [2 -3 5 4; 6 4 -2 7; 9 -5 8 -3; 11 7 3 6]; b = [18; 31; 27; 64];

5

Octave
3 hours ago
clc clear plot([-6 -2], [-3 -3], 'b', 'LineWidth', 2); hold on; plot([-2 3], [2 2], 'b', 'LineWidth', 2); plot([3 7], [5 5], 'b', 'LineWidth', 2); hold off; title('Kimberly Randle');

4

Octave
3 hours ago
clc clear a = 2; t = (0: 2*pi: 1000); x = a*cos(3*t).*cos(t); y = a*cos(3*t).*sin(t); plot(x, y, 'LineWidth', 2);

3

Octave
3 hours ago
clc clear x = -3 + 45i; y = 5 - 2i; w = y/x z = exp(y) r = sqrt(y) s = y*x^2

2

Octave
3 hours ago
clc clear A = [1 -2 3; 4 5 -6; -7 8 9]; B = A(2:3, 1:2) C = A.^(-2) I = eye(2); D = B + I E = A(:,1) * A(1,:)

1

Octave
3 hours ago
clc clear a = pi/2; t = pi/6; numerator = 6*sqrt(2)*(asin(2*t)-2)^2 *(3*acos(t)-2)*tan(t); denominator = a*sqrt(73-80*cos(t)^2+9*sin(2*t));

hw2

Octave
5 days ago
clc clear t = 0:0.01:10; xA = 0.6 .* t; xB = 0.05 .* t.^2 + 0.1 .* t + 0.5; plot(t, xA, 'b-', 'LineWidth', 2); plot(t, xB, 'r-', 'LineWidth', 2);

lab 4

Octave
2 weeks ago
clc clear X=[2 4 7] Y=[2 -4 7] magX= norm(X) magY= norm(Y) sumXY= X+Y

hw4

Octave
2 weeks ago
clc clear x = (-pi: pi: 1000); f = ones(size(x)); f(x < 0) = -1; F = (4/pi) * (sin(x) + sin(3*x)/3 + sin(5*x)/5 + sin(7*x)/7);

hw3

Octave
2 weeks ago
clc clear r = 10; phi = (0:4*pi:1000); x = r*(phi - sin(phi)); y = r*(1 - cos(phi)); plot(x,y)

hw3

Octave
2 weeks ago
clc clear x = -5 - 7i; y = 3 + 4i; a = x + y b = x * y c = x / y

hw2

Octave
2 weeks ago
clc clear a = 1.21; b = 2.04; c = 1.72; d = 0.85; f = 17.83; x = 1 + a/b + c/f^2

hw2

Octave
2 weeks ago
clc clear x = 5; y = 2; a = (y*x^3)/(x-y) b = (3*x)/(2*y) c = (3/2)*x*y d = x^5/(x^5-1)

hw1

Octave
3 weeks ago
clear clc t=0:0.01:10; P= 5*exp(-0.3*t) + 4*cos(2*t); plot(t,P) title('Kimberly Randle') xlabel('Time (years)') ylabel('Population P (thousands')

5

Octave
4 months ago
clc clear f = @(x) 2*x.^2 - 5*x + 7; x = -2:0.1:4; y = f(x); plot(x,y,'b','LineWidth',2) grid on xlabel('x')

5

Octave
4 months ago
clc clear x = [0 3 6 9 12 15 18 21 24 27 30]; y = [5.13 3.20 2.46 1.74 1.18 1.03 0.574 0.424 0.293 0.197 0.155]; p = polyfit(x, log(y), 1); b = p(1); a = exp(p(2));

4

Octave
4 months ago
clc clear x = -10:0.5:10; y = -10:0.5:10; [X, Y] = meshgrid(x, y); Z = X.^2 - 2.*X.*Y + 4.*Y.^2;

3

Octave
4 months ago
clc clear t = linspace(0, 2, 5000); vS = 2*sin(2*pi*t); vL = zeros(size(t)); for i = 1:length(t) if vS(i) > 1

2

Octave
4 months ago
clc clear t = linspace(-20*pi, 20*pi, 5000); x = sin(t) .* (exp(cos(t)) - 2*cos(4*t) + (sin(t/12)).^5); y = cos(t) .* (exp(cos(t)) - 2*cos(4*t) + (sin(t/12)).^5); plot(x, y, 'b', 'LineWidth', 1.5); title('Final Exam Problem No. 2, Kimberly Randle