t = 0:0.001:2;
v_yuk = 16.33 * sqrt(2) * sin(10*t - 1.5*pi/180);
i_yuk = 15.84 * sqrt(2) * sin(10*t + 54.8*pi/180);
plot(t, v_yuk, 'b', 'LineWidth', 1.5);
hold on;
plot(t, i_yuk, 'r', 'LineWidth', 1.5);
grid on;
title('Yuk Gerilimi ve Akimi Zamana Bagli Degisimi');
xlabel('Zaman t (saniye)');
ylabel('Gerilim (V) ve Akim (A)');
legend('v_{yuk}(t) [Gerilim]', 'i_{yuk}(t) [Akim]');
To embed this program on your website, copy the following code and paste it into your website's HTML: