//chapter-14,Example14_10,pg 511 //for barium titanate, g cost. is taken as 0.04Vm/N. (it varies depending in composition and processing) t=1.3*10^-3//thickness g=0.04//const. f=2.2*9.8//force w=4*10^-3//width l=4*10^-3//length p=(f/(w*l))//pressure Vo=g*t*p//voltage along load application printf("voltage along load application\n") printf("Vo=%.2f V",Vo)