diff options
author | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
commit | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch) | |
tree | 612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3875/CH1/EX1.5/Ex1_5.sce | |
parent | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff) | |
download | Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2 Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip |
Modified the code
Diffstat (limited to '3875/CH1/EX1.5/Ex1_5.sce')
-rw-r--r-- | 3875/CH1/EX1.5/Ex1_5.sce | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3875/CH1/EX1.5/Ex1_5.sce b/3875/CH1/EX1.5/Ex1_5.sce index 95bf614ca..e40506873 100644 --- a/3875/CH1/EX1.5/Ex1_5.sce +++ b/3875/CH1/EX1.5/Ex1_5.sce @@ -14,4 +14,4 @@ L_omega=L*omega //in ohm C=1/((L_omega-R)*omega)
mprintf("Resistance is = %d ohm\n",R) //The answers vary due to round off error
-mprintf("Capacitance is = %2.2e F\n",C)
+mprintf("Capacitance is = %2.1f mF\n",C/10^-6) //converting from F to mF dividing by 10^-6
|