summaryrefslogtreecommitdiff
path: root/1271/CH18/EX18.6/example18_6.sce
blob: 01f940a712b4cc04d444537e5ba0f5bd88aa69b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc 
// Given that 
X = 9.4e-2 // magnetic susceptibility
mu_ = 4 * %pi * 1e-7 // magnetic permeability of space
// Sample Problem 6 on page no. 18.23
printf("\n # PROBLEM 6 # \n")
printf("Standard formula used \n ")
printf(" mu_r = 1 + Chi \n")
mu_r = 1 + X
mu = mu_ * mu_r
printf("\n Absolute permeability is %e N/A^2.\n Relative permeability is %f.",mu,mu_r)