// Example 7.5.8 page 7.27 clc; clear; ne=3.9d6; //electrons collected np=6d6; //photons incident eta=100*ne/np; //computing efficiency printf("\nQuantum efficiency is %d percent.",eta);