summaryrefslogtreecommitdiff
path: root/2975/CH29/EX29.7w/Ex29_7w.sce
blob: 3b67e222461eb3af251f4fc2c44de1b17f0f4cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//developed in windows 8 operating system 64bit
//platform Scilab 5.4.1
//example 29_7w

clc;clear;
//Given Data

elec_field=4*10^5;      //Value of Electric field (Unit:N/C)
mass=1*10^-4;           //Mass of the water droplet (Unit:kg)
gravity=9.8;            //Value of gravity (Unit:m/s^2)

//Calculation

charge=mass*gravity/elec_field;     //Calculation of the charge (Unit:C)

disp(charge,"The charge on the droplet is (Unit: C)");