summaryrefslogtreecommitdiff
path: root/3648/CH15/EX15.8/Ex15_8.sce
blob: 9141234206dca06254edd693484200d8acfc5f41 (plain)
1
2
3
4
5
//Example 15_8
clc();
clear;
//To show using lines of force that a charge suspended with in cavity induces an equal and opposite charge on surface
printf("Lines of force come out of positive charge q suspended in cavity.\nCavity \nsurface must possess a negative charge since lines of force go and terminate on q.\nTherefore a charge +q must exist on outer portions.")