//Example NO.12.5 //Page No.358 //To find frequency. clc;clear; e = (1.6*10^-19);//value of electron. V = (6*10^-6);//Voltage applied across the junction -[V] h = (6.626*10^-34);//Planck's constant v = ((2*e*V)/h);//Frequency of ac signal printf("\nFrequency of ac signal is %3.3e Hz",v);