Assignment 4 Magnification Factor
Assignment 4 Magnification Factor
Assignment # 4
Magnification Factor
Roll No 035
% Plot results
figure;
plot(omega_range, max_amplitudes/delta);
xlabel('Frequency Ratio (\omega/\omega_n)');
ylabel('Maximum Amplitude');
title('Force Vibration with Viscous Damping');
legend(strcat('\zeta = ', cellstr(num2str(zeta_values'))));
grid on;
Results
MATLAB Code for Phase Angle
% Define the range of r values
r = linspace(0, 5, 100);
for i = 1:length(zeta_values)
zeta = zeta_values(i);
phi_rad =atan((2 * zeta * r) ./ (1 - r.^2));
hold off;