From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1172/CH2/EX2.14/Example2_14.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1172/CH2/EX2.14/Example2_14.sce (limited to '1172/CH2/EX2.14/Example2_14.sce') diff --git a/1172/CH2/EX2.14/Example2_14.sce b/1172/CH2/EX2.14/Example2_14.sce new file mode 100755 index 000000000..401450f2a --- /dev/null +++ b/1172/CH2/EX2.14/Example2_14.sce @@ -0,0 +1,12 @@ +clc +// Given That +solar_const = 2 // energy received by earth from sun in Cal/min cm2 +mu_not = 1.2566e-6 // universal constant +epsilon_not = 8.85e-12 // universal constant +//Sample Problem 14 Page No. 86 +printf("\n # Problem 14 # \n ") +ratio = sqrt(mu_not / epsilon_not) // constant +E = sqrt (ratio *4.2 * solar_const / 6e-3) +E_not = E * sqrt(2) //calculation of Amplitude of electric vectors +H_not = E_not / ratio//calculation of Amplitude of magnetic vectors + printf("Amplitude of electrical and magnetic vectors are given as %f V/m and %f A/m",E_not,H_not) -- cgit