// Exa 8.10 clc; clear; close; // Given data f_x= 1000;// in Hz Y= 2;// points of tangency to vertical line X= 5;// points of tangency to horizontal line f_y= f_x*X/Y;// in Hz disp(f_y,"Frequency of vertical input in Hz")