summaryrefslogtreecommitdiff
path: root/2681/CH1/EX1.3/Ex1_3.sce
blob: 6046dd1bdbdc921ee5e38acbd78522b715e74e75 (plain)
1
2
3
4
5
6
7
8
9
//DETERMINE TOTAL FIELD AT A POINT ,P DUE TO ALL THE THREE CHARGES.
//given
clc
E1=[1 2 -1]//at p due to 1uc
E2=[0 1 3]//due to 2uc
E3=[2 -1 0]//due to 3uc
//total field at p due to all these three charges is given by:
E=E1+E2+E3//resultant of all the three charges
disp(E,'the fiel at point p due to all the charges')//N/C