summaryrefslogtreecommitdiff
path: root/3411/CH13/EX5.2.u2/Ex5_2_u2.sce
blob: 66090bb4adca8ece5601264d8e27dc0cd7056f39 (plain)
1
2
3
4
5
6
7
8
9
//Example 5_2_u2
clc();
clear;
//To calculate the maximum current density
hc=7.9*10^3    //units in amp/met
d=10^-3             //units in met
ic=hc*%pi*d         //units in amp
critcurrentden=(ic*4)/(%pi*d^2) //units in amp/met^2
printf("The critical current density is %d amp/met^2",critcurrentden)