blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15 values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7 values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36 values | src_encoding stringclasses 17 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 15 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
858d0e6bf3229bff602f972f6460f1be89f3c01e | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH18/EX18.4/Example18_4.sce | ecef9522f5653bcf83ffd47c528a67b9dd7c3695 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | Example18_4.sce | //Given that
L = 10 //in meter
Ps = 1.6*10^4
//Sample Problem 18-4a
printf("**Sample Problem 18-4a**\n")
r = 12 //in meter
I = Ps/(2*%pi*r*L)
printf("The intensity of the sound at a distance %dm is equal to %fW/m^2\n", r, I)
//Sapmle Problem 18-4b
printf("\n**Sample Problem 18-4b**\n")
Ad = 2*10^-4 //in m^2
Pd = I*Ad
printf("The sound energy intercepted by the acoustic detector is %eW", Pd) |
782eff19e1a34771c10916a33c3af65bd605a4b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH4/EX4.10/Ex4_10.sce | 937f7b1b7d77e8351994e81403c7df67368e43a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,440 | sce | Ex4_10.sce | // Problem no 4.4.10,Page No.100
clc;clear;
close;
w=10 //KNm //u.d.l on L_AD
F_D=20 //KN //Pt Load at D
M_C=240 //KNm //moment at Pt C
L_DC=2;L_CB=2 //m //Length of DC and CB
L_AD=4 //m //Length of AD
L=8 //m //Length of Beam
//Calculations
//Calculations
//Let R_A & R_B be the reactions at A & B
//R_A+R_B=60
//Taking Moment at A
//M_A=0=-R_B*L-M_C+F_D*L_AD+w*L_AD**2*2**-1
R_B=-(M_C-F_D*L_AD-w*L_AD**2*2**-1)*L**-1
R_A=60-R_B
//Shear Force Calculations
//Shear Force at B
V_B=R_B
//Shear Force at C
V_C=V_B
//Shear Force at D
V_D1=V_B
V_D2=V_D1-F_D
//Shear Force at A
V_A=V_D2-w*L_AD
//Bending Moment Calculations
//Bending Moment at B
M_B=0
//Bending Moment at C
M_C1=R_B*L_CB
M_C2=M_C+R_B*L_CB
//Bending Moment at D
M_D=R_B*(L_DC+L_CB)+M_C
//Bending Moment at A
M_A=R_B*L+M_C-w*L_AD**2*2**-1-F_D*L_AD
//Result
printf("The Shear Force and Bending Moment Diagrams are the results")
//Plotting the Shear Force Diagram
subplot(2,1,1)
X1=[0,L_CB,L_CB+L_DC,L_CB+L_DC,L_CB+L_DC+L_AD]
Y1=[V_B,V_C,V_D1,V_D2,V_A]
Z1=[0,0,0,0,0]
plot(X1,Y1,X1,Z1)
xlabel("Length x in m")
ylabel("Shear Force in kN")
title("the Shear Force Diagram")
//Plotting the Bending Moment Diagram
subplot(2,1,2)
X2=[0,L_CB,L_CB,L_CB+L_DC,L_CB+L_DC+L_AD,L_CB+L_DC+L_AD]
Y2=[M_B,M_C1,M_C2,M_D,M_A,0]
Z2=[0,0,0,0,0,0]
plot(X2,Y2,X2,Z2)
xlabel("Length in m")
ylabel("Bending Moment in kN.m")
title("the Bending Moment Diagram")
|
f774e560ea502e5687dd4d0f731cd37812cbc5e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.8/Ex2_8.sce | f8eab0fd2985e86c9c3acbfe4f5be706c0745f7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,263 | sce | Ex2_8.sce | //Calculations on Otto cycle
clc,clear
//Given:
r=8 //Compression ratio
T1=20+273 //Temperature at 1 in K
P1=1 //Pressure at 1 in bar
Q1=1800 //Heat added in kJ/kg
cv=0.718 //Specific heat at constant volume in kJ/kgK
g=1.4 //Specific heat ratio(gamma)
//Solution:
T2=T1*r^(g-1) //Temperature at 2 in K
T3=Q1/cv+T2 //Temperature at 3 in K (printing error)
P2=P1*(r)^g //Pressure at 2 in bar
P3=P2*(T3/T2) //Pressure at 3 in bar
T4=T3/r^(g-1) //Temperature at 4 in K
eta=1-1/r^(g-1) //Air standard efficiency
W1_2=cv*(T1-T2) //Work done for process 1-2 in kJ/kg
W3_4=cv*(T3-T4) //Work done for process 3-4 in kJ/kg
W=W1_2+W3_4 //Net work done for the cycle in kJ/kg
V1=cv*(g-1)*10^3*T1/(P1*10^5) //Ideal gas equation, Volume at 1 in m^3/kg
V2=V1/r //Volume at 2 in m^3/kg
V_s=V1-V2 //Swept volume in m^3/kg
mep=W*1000/(V_s*10^5) //Mean effective pressire in bar
//Results:
printf("\n The maximum temperature, T3 = %d K",T3)
printf("\n The maximum pressure, P3 = %.1f bar",P3)
printf("\n The temperature at the end of the expansion process, T4 = %d K",T4)
printf("\n The air standard efficiency, eta = %.1f percent",eta*100)
printf("\n The mean effective pressure of the cycle, mep = %.1f bar\n\n",mep)
//Answers in the book are wrong
|
aecfd286e21b3b96fdf799a06d31dd0e80004345 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH15/EX15.10/Ex15_10.sce | 270c4454a8625a4821fd5fefa4cedbcdf6f18ef5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Ex15_10.sce | clc;
funity=15000000;
Acl=500;
fc=funity/Acl;
BW=fc;
fc1=200000;
AcL=funity/fc1;
disp('kHz',fc/1000,"fc=");//The answers vary due to round off error
disp('',AcL,"AcL=");//The answers vary due to round off error
|
1680ae54371bb0936040cd990986f1aaed6abfbc | 25938fdd57f60ee5725a949bc87d6afd3cc4fe24 | /Practica3/NewtonMultivariable.sci | 5e08b3557f104d3fb3f51dc1426bd673ba7afeea | [] | no_license | Joaquin98/Metodos | a3df61366647a7c02a81bb0467befdcbbedb9426 | 5b30532431c111ca453f9d6b37ffa377616ba6a5 | refs/heads/master | 2020-04-04T05:13:27.646770 | 2018-12-07T12:25:43 | 2018-12-07T12:25:43 | 155,738,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 852 | sci | NewtonMultivariable.sci | // Newton Multivariable:
// - Convergencia: Es un metodo de punto fijo.
deff('y = f1(x)' , 'y = x(1)**2 + x(1)*x(2)**3 - 9')
deff('y = f2(x)' , 'y = 3*(x(1)**2)*x(2) - 4 - x(2)**3')
function y = fn(x)
y(1) = f1(x)
y(2) = f2(x)
endfunction
function y = J(x)
y = [2*x(1) + x(2)**3, 3*x(1)*x(2)**2 ; 6*x(2)*x(1), 3*x(1)**2 - 3*x(2)**2]
endfunction
function y = newton_multivariable(x0,f,J,e,it)
dif = e + 1
cant = 0
while dif > e & cant <> it
x1 = x0 - (inv(J(x0)) * f(x0))
dif = norm(x1-x0)
x0 = x1
cant = cant + 1
end
y = x1
endfunction
// -------------------- EJEMPLOS ----------------------------- //
x0 = [1.2,2.5]'
rA = newton_multivariable(x0,fn,J,10**(-2),50)
mprintf("Raiz Aproximada:")
disp(rA)
mprintf("Valor de la funcion en la raiz: ")
disp(fn(rA))
|
788572a11b48f6ba5266eea4c1e23b2cb34345f7 | 5b649d124ac1b442719c325922aad771d704f1ab | /TruthDataMain.sci | cbbafef7f0d72ce87f3054b47e8452066ff6e2fb | [] | no_license | Tornado128/TruthDataProcessing | 51522237dce4e8b598834d4f562af78ecc5e1a5d | a7b183028dfca9d82c83c6296b2b7d8f2149aa3b | refs/heads/master | 2022-10-28T12:32:49.920231 | 2020-06-13T18:35:02 | 2020-06-13T18:35:02 | 272,065,521 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,102 | sci | TruthDataMain.sci | clc
clear
cd C:\Users\ybozorgi.NEOTEKENERGYDAL\Desktop\Yaser\codes\TruthData
M = read_csv("WeeklyReport 12-20-16.csv");
exec('C:\Users\ybozorgi.NEOTEKENERGYDAL\Desktop\Yaser\codes\TruthData\TruthDataAnalysis\TruthData.sci', -1)
M = TruthData(M); //parsing and organizing the data
s=size(M);
StartDAYY=M(1,3); StartTIMEE=M(1,4)
StopDAYY=M(s(1),6); StopTIMEE=M(s(1),7)
//start=strcat([StartDAYY ' ' StartTIMEE]);
start=strcat([StartDAYY+' '+StartTIMEE]);
//stop=strcat([StopDAYY ' ' StopTIMEE]);
stop=strcat([StopDAYY+' '+StopTIMEE]);
exec('C:\Users\ybozorgi.NEOTEKENERGYDAL\Desktop\Yaser\codes\TruthData\TruthDataAnalysis\ParseWFADate.sci', -1)
on= ParseWFADate(start);
initialTime=on;
off = ParseWFADate(stop);
elapsedDAY=abs(etime(on,off))/60/60/24; //based on truth data
for i=1:1:s(1)
StartDAY(i)=M(i,3); StartTIME(i)=M(i,4)
StopDAY(i)=M(i,6); StopTIME(i)=M(i,7)
//start=strcat([StartDAY(i) ' ' StartTIME(i)]);
start=strcat([StartDAY+' '+StartTIME]);
//stop=strcat([StopDAY(i) ' ' StopTIME(i)]);
stop=strcat([StopDAY+' '+StopTIME]);
on= ParseWFADate(start);
off = ParseWFADate(stop);
dur(i)=etime(off,initialTime)/60/60/24; //startime is based on traces (it is one number) //on is beased on truth data
x(i)=dur(i)
oil(i)=strtod(M(i,11)); water(i)=strtod(M(i,12)); gas(i)=strtod(M(i,13))
end
PP=tabul(M(:,2));
Wells=PP(1); //tabulate all the wells
FrequencyOfWells=PP(2); //how many times each well is repeated
L=size(PP(2)); //number of wells
for i=1:1:L(1)
J=grep(M(:,2),Wells(i));
S(i,1:1:FrequencyOfWells(i))=J;
end
j=0
for i=1:1:L(1)
for k=1:1:max(PP(2))
if (S(i,k) ~=0) then
j=j+1;
N(1,j) = S(i,k); //organizing the ID of wells in order
end
end
end
x=0
for i=1:1:L(1)
x=FrequencyOfWells(i)+x
X(i)=x;
end
disp ("Number of Wells is: ")
disp( L(1))
plot(1:1:j,(oil(N)./(oil(N)+water(N)))','-o')
title('Oil Fraction in Liquid');
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(oil(N)./(oil(N)+water(N)))]','k-.')
scf()
plot(1:1:j,(oil(N)./(1000*.178*gas(N)+oil(N)+water(N)))','-o')
title('Oil Fraction in Total')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(oil(N)./(1000*.178*gas(N)+oil(N)+water(N)))]','k-.')
scf()
plot(1:1:j,(oil(N)+water(N))','-o')
title('Total Liquid Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(oil(N)+water(N))]','k-.')
scf()
plot(1:1:j,oil(N)','-o')
title('Oil Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(oil(N))]','k-.')
scf()
plot(1:1:j,water(N)','-o')
title('Water Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(water(N))]','k-.')
//plot([10 10]', [-100 100000]','k-.')
scf()
plot(1:1:j,gas(N)','-o')
title('gas Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(gas(N))]','k-.')
scf()
plot(1:1:j,(gas(N)./oil(N))','-o')
title('gas/oil Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 200]','k-.')
|
fef44ce3f61455edee4048e5572104b416f4f22a | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Closepar.sci | 64b93e1af2f4f62d40f497cdadb1a9a7ef79d3b6 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sci | Closepar.sci | // 08.05.31
function Closepar()
global Wfile FID
S='\end{minipage}'
if Wfile=='default'
mprintf('%s\n','%');
mprintf('%s',S);
else
mfprintf(FID,'%s\n','%');
mfprintf(FID,'%s',S);
end
Closephr();
endfunction
|
2b80868878b1b9809b0efc75557b365cb5c05004 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/int/%i_plot2d1.sci | 4e6c00ce8c436eb35331cc108a49b0afaf88469f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | sci | %i_plot2d1.sci | function %i_plot2d1(str,x,y,varargin)
plot2d1(str,double(x),double(y),varargin(:))
|
c3e4a3888efc5ee617e83e8833a0c6263e80027f | 1e68913ce1d4be628fef68d9d0644a52284d826c | /Resultados/ScilabPlot.sce | 6551fc23646a040dab865a0d83d76464b05c6851 | [] | no_license | higginsjia/IncompressibleFlow2D | 1b06a16fd29c894793e47bbdfca66423d4be172d | 06375b2614f1760abc8920f47c519c7e56213965 | refs/heads/master | 2020-12-05T12:10:00.335032 | 2016-01-04T14:17:25 | 2016-01-04T14:17:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,092 | sce | ScilabPlot.sce | //Scilab commands to visualize the results
//Comandos no Scilab para visualizar os resultados
//Grid
//Malha
iM=48
jM=48
//U vertical velocity profile and V horizontal velocity profile
//Perfil vertical da velocidade U e perfil horizontal da velocidade V
z = linspace(0,1,iM+2);
plot(z,U(floor(iM)/2,:))
plot(z,V(:,floor(iM)/2))
/U & V vector field plot
//Plot do campo vetorial U e V
UFull=U;VFull=V;
UFull(:,jM+1)=(UFull(:,jM+1)+UFull(:,jM+2))/2; UFull(:,jM+2)=[];
VFull(iM+1,:)=(VFull(iM+1,:)+VFull(iM+2,:))/2; VFull(iM+2,:)=[];
x = linspace(0,1,iM+1); y = linspace(0,1,jM+1);
[X,Y]=meshgrid(x,y);
scf(42); clf(42);
f=gcf();
f.color_map=jetcolormap(128);
colorbar(-0.5,0.5)
champ1(x,y,UFull,VFull,rect=[-0.01, -0.01,1.01,1.01], arfact=1)
//Colorplot U
x = linspace(0,1,iM+1); y = linspace(0,1,jM+1);
f=gcf();
f.color_map=jetcolormap(128);
colorbar(-0.5,0.5)
Sgrayplot(x,y,UFull, strf="042", zminmax=[-0.5,1])
//Colorplot V
x = linspace(0,1,iM+1); y = linspace(0,1,jM+1);
f=gcf();
f.color_map=jetcolormap(128);
colorbar(-0.5,0.5)
Sgrayplot(y,x,VFull, strf="042", zminmax=[-0.5,1])
|
572fb2697126e9f0aa298a79f3b86b352a165656 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_-_1_T._Singh_704.zip/Electrical_Machines_-_1_T._Singh_704/CH2/EX2.47/ex2_47.sce | 1cfa05a26292853ca8b3da1ac246a9e92b221d7b | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | ex2_47.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the input in Watts & efficiency of the generator
//Exam:2.47
;
;
O_p=50;//output of a machine (in KW)
O_p1=50*(10)^3;//output (in watts)
L_i=4000;//internal losses(in watts)
I_p=O_p1+L_i;//input(in watts)
disp(I_p,'input(in watts)=');
E=(O_p1/I_p)*100;//efficiency of the generator
disp(E,'efficiency of the generator(in %)=');
exit();
|
31d45aa8c1f5859fb2e7aa9c31827ec1f1eff63a | dc5a2fe4380e1453a12f15f5080b10f3ababb9de | /AutomationTools/bin/1.0/common/ATLAS/tools/txtfile/sh_bcc_all.tst | f6b95025e12049a09ae9d04f14dd84ef38838cd5 | [] | no_license | jameshilliard/PythonCode | f72ad62bb8b8cafbc94cbe7c0d3065343fdf0f98 | 422543bc049f57a67d53ec0b89caef076297cdc5 | refs/heads/master | 2020-04-09T00:06:25.689609 | 2015-03-14T13:14:34 | 2015-03-14T13:14:34 | 32,722,067 | 3 | 0 | null | 2015-03-23T09:21:52 | 2015-03-23T09:21:52 | null | UTF-8 | Scilab | false | false | 6,907 | tst | sh_bcc_all.tst | -v G_USER=jma
-v G_CONFIG=1.0
-v G_TBTYPE=bcc
-v G_TST_TITLE="My Network Broadband Connection Coax"
-v G_PROD_TYPE=MC524WR
-v G_HTTP_DIR=test/
-v G_FTP_DIR=/log/autotest
-v G_TESTBED=tb40
-v G_FROMRCPT=jma@actiontec.com
-v G_FTPUSR=root
-v G_FTPPWD=@ctiontec123
-v U_USER=admin
-v U_PWD=admin1
-v G_LIBVERSION=1.0
-v G_LOG=$SQAROOT/automation/logs
-v U_COMMONLIB=$SQAROOT/lib/$G_LIBVERSION/common
-v U_COMMONBIN=$SQAROOT/bin/$G_LIBVERSION/common
-v U_TBCFG=$SQAROOT/config/$G_LIBVERSION/testbed
-v U_TBPROF=$SQAROOT/config/$G_LIBVERSION/common
-v U_VERIWAVE=$SQAROOT/bin/1.0/veriwave/
-v U_MI424=$SQAROOT/bin/1.0/mi424wr/
-v U_TESTPATH=$SQAROOT/platform/1.0/verizon/testcases/bcc/json
# this value used to setup hytrust.cfg
-v U_DEBUG=3
-v U_RUBYBIN=$SQAROOT/bin/$G_LIBVERSION/rbin
-v U_VZBIN=$SQAROOT/bin/$G_LIBVERSION/vz_bin
-v U_COMMONJSON=$SQAROOT/platform/1.0/verizon2/testcases/common/json
-v U_COAX=1
# $G_PFVERSION=1.0
#-----------------------------
# Set up the test environment.
#-----------------------------
#-nc $SQAROOT/config/$G_CONFIG/common/testbedcfg_env.xml
-nc $SQAROOT/config/$G_CONFIG/common/testbedcfg.xml;
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/login_logout.xml
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/fw_upgrage_image.xml;pass=init
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/fw_upgrage_image.xml;pass=init
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/fw_upgrage_image.xml;fail=finish
-label init
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/reset_dut_to_default.xml
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/tc_init_dut.xml;pass=next
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/tc_init_dut.xml;pass=next
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/tc_init_dut.xml;fail=finish
-label next
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/tc_init_ping.xml;fail=finish
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/enable_tnet.xml
#-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/disable_ath1.xml
#------------------------------
# Test cases
#------------------------------
-nc $SQAROOT/platform/1.0/verizon2/testcases/common/tcases/set_default_time.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpclient_03006000809.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpclient_03006000810.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpclient_03006000811.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpclient_03006000812.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpdisable_03006000825.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelay_03006000819.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelay_03006000820.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelay_03006000821.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelay_03006000822.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelay_03006000823.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelay_03006000824.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelaynapt_03006000819.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelaynapt_03006000820.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelaynapt_03006000821.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelaynapt_03006000822.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelaynapt_03006000823.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcprelaynapt_03006000824.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpserver_03006000813.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpserver_03006000814.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpserver_03006000815.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpserver_03006000816.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpserver_03006000817.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dhcpserver_03006000818.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dnsserver_03006000844.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dnsserver_03006000845.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dnsserver_03006000846.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_dnsserver_03006000847.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000826.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000827.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000828.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000829.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000830.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000831.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000832.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000833.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000834.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000835.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000836.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000837.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000838.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000839.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000840.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000841.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000842.xml
-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_hostname_03006000843.xml
#-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_autoDetection_03006001080.xml
#-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_autoDetection_03006001081.xml
#-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_autoDetection_03006001082.xml
#-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_autoDetection_03006001083.xml
#-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_autoDetection_03006001084.xml
#-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_autoDetection_03006001085.xml
#-tc $SQAROOT/platform/1.0/verizon/testcases/bcc/tcases/tc_autoDetection_03006001086.xml
#------------------------------
# Checkout
#------------------------------
-label finish
-nc $SQAROOT/config/$G_CONFIG/common/finalresult.xml
-nc $SQAROOT/config/$G_CONFIG/common/uploadlog.xml
-nc $SQAROOT/config/$G_CONFIG/common/email.xml
|
1d5fa150885a52fec8e1121d565e31eb06b56ac7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH4/EX4.4/example_4_4.sce | 9ac2a41c672df6baa420715ed4c1f4dac336ff5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | example_4_4.sce | //Chapter 4
//Example 4.4
//chap3ex6
//Page 85
clear;clc;
//Given
f = 60;//in Hz
k = 8.85e-12;//in F/m
//From example 3.6
D_eq = 16.1;//in ft
D_a_a1 = 26.9;D_b_b1 = 21;D_c_c1 = D_a_a1 ;//in ft
//From Table A.1
d = 0.680;//in inches
//calculations
r = d /(2*12);
D_p_sC = (sqrt(D_a_a1 * r) * sqrt(D_b_b1 * r) * sqrt(D_c_c1 * r))^(1/3);
C_n = 2 * %pi * k / log(D_eq / D_p_sC);
B_c = 2 * %pi * f * C_n * 1609;//1609 to convert from m to mi
printf("\n\n Capacitance = %.3fe-12 F/m \n\n",C_n * 1e12)
printf("\n\n Capacitive susceptance = %.2fe-6 mho per mi per phase to neutral",B_c * 1e6) |
e01e58b5a37d53cd89c3546f330932349637d705 | dc628e7d8425aa0bb1460d2583f04c9969b4ec9c | /dlog-server/examples/iocaste/c1000.tst | ce835ce3c1b2ed725e8dd3ccf8478186386317d7 | [] | no_license | logicmoo/DLog | bc2c43523ccbc3747c381f2eb0e25960cfc8d6e1 | 855774c38c1eea119405fde0057cfdb1032006f0 | refs/heads/master | 2021-05-28T14:03:35.596790 | 2015-01-12T22:49:56 | 2015-01-12T22:49:56 | 27,461,790 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 82,230 | tst | c1000.tst | %Generated from '../examples/iocaste/c1000.dig'.
query(instances(aconcept('Good')), [i1]).
concept('Good').
concept('Patricide').
role(hasChild).
implies(and([some(arole(hasChild), and([aconcept('Patricide'), some(arole(hasChild), not(aconcept('Patricide')))]))]), aconcept('Good')).
implies(aconcept('Good'), and([some(arole(hasChild), and([aconcept('Patricide'), some(arole(hasChild), not(aconcept('Patricide')))]))])).
cassertion(not(aconcept('Patricide')), i1002).
cassertion(aconcept('Patricide'), i2).
rassertion(arole(hasChild), i1001, i1002).
rassertion(arole(hasChild), i1000, i1001).
rassertion(arole(hasChild), i999, i1000).
rassertion(arole(hasChild), i998, i999).
rassertion(arole(hasChild), i997, i998).
rassertion(arole(hasChild), i996, i997).
rassertion(arole(hasChild), i995, i996).
rassertion(arole(hasChild), i994, i995).
rassertion(arole(hasChild), i993, i994).
rassertion(arole(hasChild), i992, i993).
rassertion(arole(hasChild), i991, i992).
rassertion(arole(hasChild), i990, i991).
rassertion(arole(hasChild), i989, i990).
rassertion(arole(hasChild), i988, i989).
rassertion(arole(hasChild), i987, i988).
rassertion(arole(hasChild), i986, i987).
rassertion(arole(hasChild), i985, i986).
rassertion(arole(hasChild), i984, i985).
rassertion(arole(hasChild), i983, i984).
rassertion(arole(hasChild), i982, i983).
rassertion(arole(hasChild), i981, i982).
rassertion(arole(hasChild), i980, i981).
rassertion(arole(hasChild), i979, i980).
rassertion(arole(hasChild), i978, i979).
rassertion(arole(hasChild), i977, i978).
rassertion(arole(hasChild), i976, i977).
rassertion(arole(hasChild), i975, i976).
rassertion(arole(hasChild), i974, i975).
rassertion(arole(hasChild), i973, i974).
rassertion(arole(hasChild), i972, i973).
rassertion(arole(hasChild), i971, i972).
rassertion(arole(hasChild), i970, i971).
rassertion(arole(hasChild), i969, i970).
rassertion(arole(hasChild), i968, i969).
rassertion(arole(hasChild), i967, i968).
rassertion(arole(hasChild), i966, i967).
rassertion(arole(hasChild), i965, i966).
rassertion(arole(hasChild), i964, i965).
rassertion(arole(hasChild), i963, i964).
rassertion(arole(hasChild), i962, i963).
rassertion(arole(hasChild), i961, i962).
rassertion(arole(hasChild), i960, i961).
rassertion(arole(hasChild), i959, i960).
rassertion(arole(hasChild), i958, i959).
rassertion(arole(hasChild), i957, i958).
rassertion(arole(hasChild), i956, i957).
rassertion(arole(hasChild), i955, i956).
rassertion(arole(hasChild), i954, i955).
rassertion(arole(hasChild), i953, i954).
rassertion(arole(hasChild), i952, i953).
rassertion(arole(hasChild), i951, i952).
rassertion(arole(hasChild), i950, i951).
rassertion(arole(hasChild), i949, i950).
rassertion(arole(hasChild), i948, i949).
rassertion(arole(hasChild), i947, i948).
rassertion(arole(hasChild), i946, i947).
rassertion(arole(hasChild), i945, i946).
rassertion(arole(hasChild), i944, i945).
rassertion(arole(hasChild), i943, i944).
rassertion(arole(hasChild), i942, i943).
rassertion(arole(hasChild), i941, i942).
rassertion(arole(hasChild), i940, i941).
rassertion(arole(hasChild), i939, i940).
rassertion(arole(hasChild), i938, i939).
rassertion(arole(hasChild), i937, i938).
rassertion(arole(hasChild), i936, i937).
rassertion(arole(hasChild), i935, i936).
rassertion(arole(hasChild), i934, i935).
rassertion(arole(hasChild), i933, i934).
rassertion(arole(hasChild), i932, i933).
rassertion(arole(hasChild), i931, i932).
rassertion(arole(hasChild), i930, i931).
rassertion(arole(hasChild), i929, i930).
rassertion(arole(hasChild), i928, i929).
rassertion(arole(hasChild), i927, i928).
rassertion(arole(hasChild), i926, i927).
rassertion(arole(hasChild), i925, i926).
rassertion(arole(hasChild), i924, i925).
rassertion(arole(hasChild), i923, i924).
rassertion(arole(hasChild), i922, i923).
rassertion(arole(hasChild), i921, i922).
rassertion(arole(hasChild), i920, i921).
rassertion(arole(hasChild), i919, i920).
rassertion(arole(hasChild), i918, i919).
rassertion(arole(hasChild), i917, i918).
rassertion(arole(hasChild), i916, i917).
rassertion(arole(hasChild), i915, i916).
rassertion(arole(hasChild), i914, i915).
rassertion(arole(hasChild), i913, i914).
rassertion(arole(hasChild), i912, i913).
rassertion(arole(hasChild), i911, i912).
rassertion(arole(hasChild), i910, i911).
rassertion(arole(hasChild), i909, i910).
rassertion(arole(hasChild), i908, i909).
rassertion(arole(hasChild), i907, i908).
rassertion(arole(hasChild), i906, i907).
rassertion(arole(hasChild), i905, i906).
rassertion(arole(hasChild), i904, i905).
rassertion(arole(hasChild), i903, i904).
rassertion(arole(hasChild), i902, i903).
rassertion(arole(hasChild), i901, i902).
rassertion(arole(hasChild), i900, i901).
rassertion(arole(hasChild), i899, i900).
rassertion(arole(hasChild), i898, i899).
rassertion(arole(hasChild), i897, i898).
rassertion(arole(hasChild), i896, i897).
rassertion(arole(hasChild), i895, i896).
rassertion(arole(hasChild), i894, i895).
rassertion(arole(hasChild), i893, i894).
rassertion(arole(hasChild), i892, i893).
rassertion(arole(hasChild), i891, i892).
rassertion(arole(hasChild), i890, i891).
rassertion(arole(hasChild), i889, i890).
rassertion(arole(hasChild), i888, i889).
rassertion(arole(hasChild), i887, i888).
rassertion(arole(hasChild), i886, i887).
rassertion(arole(hasChild), i885, i886).
rassertion(arole(hasChild), i884, i885).
rassertion(arole(hasChild), i883, i884).
rassertion(arole(hasChild), i882, i883).
rassertion(arole(hasChild), i881, i882).
rassertion(arole(hasChild), i880, i881).
rassertion(arole(hasChild), i879, i880).
rassertion(arole(hasChild), i878, i879).
rassertion(arole(hasChild), i877, i878).
rassertion(arole(hasChild), i876, i877).
rassertion(arole(hasChild), i875, i876).
rassertion(arole(hasChild), i874, i875).
rassertion(arole(hasChild), i873, i874).
rassertion(arole(hasChild), i872, i873).
rassertion(arole(hasChild), i871, i872).
rassertion(arole(hasChild), i870, i871).
rassertion(arole(hasChild), i869, i870).
rassertion(arole(hasChild), i868, i869).
rassertion(arole(hasChild), i867, i868).
rassertion(arole(hasChild), i866, i867).
rassertion(arole(hasChild), i865, i866).
rassertion(arole(hasChild), i864, i865).
rassertion(arole(hasChild), i863, i864).
rassertion(arole(hasChild), i862, i863).
rassertion(arole(hasChild), i861, i862).
rassertion(arole(hasChild), i860, i861).
rassertion(arole(hasChild), i859, i860).
rassertion(arole(hasChild), i858, i859).
rassertion(arole(hasChild), i857, i858).
rassertion(arole(hasChild), i856, i857).
rassertion(arole(hasChild), i855, i856).
rassertion(arole(hasChild), i854, i855).
rassertion(arole(hasChild), i853, i854).
rassertion(arole(hasChild), i852, i853).
rassertion(arole(hasChild), i851, i852).
rassertion(arole(hasChild), i850, i851).
rassertion(arole(hasChild), i849, i850).
rassertion(arole(hasChild), i848, i849).
rassertion(arole(hasChild), i847, i848).
rassertion(arole(hasChild), i846, i847).
rassertion(arole(hasChild), i845, i846).
rassertion(arole(hasChild), i844, i845).
rassertion(arole(hasChild), i843, i844).
rassertion(arole(hasChild), i842, i843).
rassertion(arole(hasChild), i841, i842).
rassertion(arole(hasChild), i840, i841).
rassertion(arole(hasChild), i839, i840).
rassertion(arole(hasChild), i838, i839).
rassertion(arole(hasChild), i837, i838).
rassertion(arole(hasChild), i836, i837).
rassertion(arole(hasChild), i835, i836).
rassertion(arole(hasChild), i834, i835).
rassertion(arole(hasChild), i833, i834).
rassertion(arole(hasChild), i832, i833).
rassertion(arole(hasChild), i831, i832).
rassertion(arole(hasChild), i830, i831).
rassertion(arole(hasChild), i829, i830).
rassertion(arole(hasChild), i828, i829).
rassertion(arole(hasChild), i827, i828).
rassertion(arole(hasChild), i826, i827).
rassertion(arole(hasChild), i825, i826).
rassertion(arole(hasChild), i824, i825).
rassertion(arole(hasChild), i823, i824).
rassertion(arole(hasChild), i822, i823).
rassertion(arole(hasChild), i821, i822).
rassertion(arole(hasChild), i820, i821).
rassertion(arole(hasChild), i819, i820).
rassertion(arole(hasChild), i818, i819).
rassertion(arole(hasChild), i817, i818).
rassertion(arole(hasChild), i816, i817).
rassertion(arole(hasChild), i815, i816).
rassertion(arole(hasChild), i814, i815).
rassertion(arole(hasChild), i813, i814).
rassertion(arole(hasChild), i812, i813).
rassertion(arole(hasChild), i811, i812).
rassertion(arole(hasChild), i810, i811).
rassertion(arole(hasChild), i809, i810).
rassertion(arole(hasChild), i808, i809).
rassertion(arole(hasChild), i807, i808).
rassertion(arole(hasChild), i806, i807).
rassertion(arole(hasChild), i805, i806).
rassertion(arole(hasChild), i804, i805).
rassertion(arole(hasChild), i803, i804).
rassertion(arole(hasChild), i802, i803).
rassertion(arole(hasChild), i801, i802).
rassertion(arole(hasChild), i800, i801).
rassertion(arole(hasChild), i799, i800).
rassertion(arole(hasChild), i798, i799).
rassertion(arole(hasChild), i797, i798).
rassertion(arole(hasChild), i796, i797).
rassertion(arole(hasChild), i795, i796).
rassertion(arole(hasChild), i794, i795).
rassertion(arole(hasChild), i793, i794).
rassertion(arole(hasChild), i792, i793).
rassertion(arole(hasChild), i791, i792).
rassertion(arole(hasChild), i790, i791).
rassertion(arole(hasChild), i789, i790).
rassertion(arole(hasChild), i788, i789).
rassertion(arole(hasChild), i787, i788).
rassertion(arole(hasChild), i786, i787).
rassertion(arole(hasChild), i785, i786).
rassertion(arole(hasChild), i784, i785).
rassertion(arole(hasChild), i783, i784).
rassertion(arole(hasChild), i782, i783).
rassertion(arole(hasChild), i781, i782).
rassertion(arole(hasChild), i780, i781).
rassertion(arole(hasChild), i779, i780).
rassertion(arole(hasChild), i778, i779).
rassertion(arole(hasChild), i777, i778).
rassertion(arole(hasChild), i776, i777).
rassertion(arole(hasChild), i775, i776).
rassertion(arole(hasChild), i774, i775).
rassertion(arole(hasChild), i773, i774).
rassertion(arole(hasChild), i772, i773).
rassertion(arole(hasChild), i771, i772).
rassertion(arole(hasChild), i770, i771).
rassertion(arole(hasChild), i769, i770).
rassertion(arole(hasChild), i768, i769).
rassertion(arole(hasChild), i767, i768).
rassertion(arole(hasChild), i766, i767).
rassertion(arole(hasChild), i765, i766).
rassertion(arole(hasChild), i764, i765).
rassertion(arole(hasChild), i763, i764).
rassertion(arole(hasChild), i762, i763).
rassertion(arole(hasChild), i761, i762).
rassertion(arole(hasChild), i760, i761).
rassertion(arole(hasChild), i759, i760).
rassertion(arole(hasChild), i758, i759).
rassertion(arole(hasChild), i757, i758).
rassertion(arole(hasChild), i756, i757).
rassertion(arole(hasChild), i755, i756).
rassertion(arole(hasChild), i754, i755).
rassertion(arole(hasChild), i753, i754).
rassertion(arole(hasChild), i752, i753).
rassertion(arole(hasChild), i751, i752).
rassertion(arole(hasChild), i750, i751).
rassertion(arole(hasChild), i749, i750).
rassertion(arole(hasChild), i748, i749).
rassertion(arole(hasChild), i747, i748).
rassertion(arole(hasChild), i746, i747).
rassertion(arole(hasChild), i745, i746).
rassertion(arole(hasChild), i744, i745).
rassertion(arole(hasChild), i743, i744).
rassertion(arole(hasChild), i742, i743).
rassertion(arole(hasChild), i741, i742).
rassertion(arole(hasChild), i740, i741).
rassertion(arole(hasChild), i739, i740).
rassertion(arole(hasChild), i738, i739).
rassertion(arole(hasChild), i737, i738).
rassertion(arole(hasChild), i736, i737).
rassertion(arole(hasChild), i735, i736).
rassertion(arole(hasChild), i734, i735).
rassertion(arole(hasChild), i733, i734).
rassertion(arole(hasChild), i732, i733).
rassertion(arole(hasChild), i731, i732).
rassertion(arole(hasChild), i730, i731).
rassertion(arole(hasChild), i729, i730).
rassertion(arole(hasChild), i728, i729).
rassertion(arole(hasChild), i727, i728).
rassertion(arole(hasChild), i726, i727).
rassertion(arole(hasChild), i725, i726).
rassertion(arole(hasChild), i724, i725).
rassertion(arole(hasChild), i723, i724).
rassertion(arole(hasChild), i722, i723).
rassertion(arole(hasChild), i721, i722).
rassertion(arole(hasChild), i720, i721).
rassertion(arole(hasChild), i719, i720).
rassertion(arole(hasChild), i718, i719).
rassertion(arole(hasChild), i717, i718).
rassertion(arole(hasChild), i716, i717).
rassertion(arole(hasChild), i715, i716).
rassertion(arole(hasChild), i714, i715).
rassertion(arole(hasChild), i713, i714).
rassertion(arole(hasChild), i712, i713).
rassertion(arole(hasChild), i711, i712).
rassertion(arole(hasChild), i710, i711).
rassertion(arole(hasChild), i709, i710).
rassertion(arole(hasChild), i708, i709).
rassertion(arole(hasChild), i707, i708).
rassertion(arole(hasChild), i706, i707).
rassertion(arole(hasChild), i705, i706).
rassertion(arole(hasChild), i704, i705).
rassertion(arole(hasChild), i703, i704).
rassertion(arole(hasChild), i702, i703).
rassertion(arole(hasChild), i701, i702).
rassertion(arole(hasChild), i700, i701).
rassertion(arole(hasChild), i699, i700).
rassertion(arole(hasChild), i698, i699).
rassertion(arole(hasChild), i697, i698).
rassertion(arole(hasChild), i696, i697).
rassertion(arole(hasChild), i695, i696).
rassertion(arole(hasChild), i694, i695).
rassertion(arole(hasChild), i693, i694).
rassertion(arole(hasChild), i692, i693).
rassertion(arole(hasChild), i691, i692).
rassertion(arole(hasChild), i690, i691).
rassertion(arole(hasChild), i689, i690).
rassertion(arole(hasChild), i688, i689).
rassertion(arole(hasChild), i687, i688).
rassertion(arole(hasChild), i686, i687).
rassertion(arole(hasChild), i685, i686).
rassertion(arole(hasChild), i684, i685).
rassertion(arole(hasChild), i683, i684).
rassertion(arole(hasChild), i682, i683).
rassertion(arole(hasChild), i681, i682).
rassertion(arole(hasChild), i680, i681).
rassertion(arole(hasChild), i679, i680).
rassertion(arole(hasChild), i678, i679).
rassertion(arole(hasChild), i677, i678).
rassertion(arole(hasChild), i676, i677).
rassertion(arole(hasChild), i675, i676).
rassertion(arole(hasChild), i674, i675).
rassertion(arole(hasChild), i673, i674).
rassertion(arole(hasChild), i672, i673).
rassertion(arole(hasChild), i671, i672).
rassertion(arole(hasChild), i670, i671).
rassertion(arole(hasChild), i669, i670).
rassertion(arole(hasChild), i668, i669).
rassertion(arole(hasChild), i667, i668).
rassertion(arole(hasChild), i666, i667).
rassertion(arole(hasChild), i665, i666).
rassertion(arole(hasChild), i664, i665).
rassertion(arole(hasChild), i663, i664).
rassertion(arole(hasChild), i662, i663).
rassertion(arole(hasChild), i661, i662).
rassertion(arole(hasChild), i660, i661).
rassertion(arole(hasChild), i659, i660).
rassertion(arole(hasChild), i658, i659).
rassertion(arole(hasChild), i657, i658).
rassertion(arole(hasChild), i656, i657).
rassertion(arole(hasChild), i655, i656).
rassertion(arole(hasChild), i654, i655).
rassertion(arole(hasChild), i653, i654).
rassertion(arole(hasChild), i652, i653).
rassertion(arole(hasChild), i651, i652).
rassertion(arole(hasChild), i650, i651).
rassertion(arole(hasChild), i649, i650).
rassertion(arole(hasChild), i648, i649).
rassertion(arole(hasChild), i647, i648).
rassertion(arole(hasChild), i646, i647).
rassertion(arole(hasChild), i645, i646).
rassertion(arole(hasChild), i644, i645).
rassertion(arole(hasChild), i643, i644).
rassertion(arole(hasChild), i642, i643).
rassertion(arole(hasChild), i641, i642).
rassertion(arole(hasChild), i640, i641).
rassertion(arole(hasChild), i639, i640).
rassertion(arole(hasChild), i638, i639).
rassertion(arole(hasChild), i637, i638).
rassertion(arole(hasChild), i636, i637).
rassertion(arole(hasChild), i635, i636).
rassertion(arole(hasChild), i634, i635).
rassertion(arole(hasChild), i633, i634).
rassertion(arole(hasChild), i632, i633).
rassertion(arole(hasChild), i631, i632).
rassertion(arole(hasChild), i630, i631).
rassertion(arole(hasChild), i629, i630).
rassertion(arole(hasChild), i628, i629).
rassertion(arole(hasChild), i627, i628).
rassertion(arole(hasChild), i626, i627).
rassertion(arole(hasChild), i625, i626).
rassertion(arole(hasChild), i624, i625).
rassertion(arole(hasChild), i623, i624).
rassertion(arole(hasChild), i622, i623).
rassertion(arole(hasChild), i621, i622).
rassertion(arole(hasChild), i620, i621).
rassertion(arole(hasChild), i619, i620).
rassertion(arole(hasChild), i618, i619).
rassertion(arole(hasChild), i617, i618).
rassertion(arole(hasChild), i616, i617).
rassertion(arole(hasChild), i615, i616).
rassertion(arole(hasChild), i614, i615).
rassertion(arole(hasChild), i613, i614).
rassertion(arole(hasChild), i612, i613).
rassertion(arole(hasChild), i611, i612).
rassertion(arole(hasChild), i610, i611).
rassertion(arole(hasChild), i609, i610).
rassertion(arole(hasChild), i608, i609).
rassertion(arole(hasChild), i607, i608).
rassertion(arole(hasChild), i606, i607).
rassertion(arole(hasChild), i605, i606).
rassertion(arole(hasChild), i604, i605).
rassertion(arole(hasChild), i603, i604).
rassertion(arole(hasChild), i602, i603).
rassertion(arole(hasChild), i601, i602).
rassertion(arole(hasChild), i600, i601).
rassertion(arole(hasChild), i599, i600).
rassertion(arole(hasChild), i598, i599).
rassertion(arole(hasChild), i597, i598).
rassertion(arole(hasChild), i596, i597).
rassertion(arole(hasChild), i595, i596).
rassertion(arole(hasChild), i594, i595).
rassertion(arole(hasChild), i593, i594).
rassertion(arole(hasChild), i592, i593).
rassertion(arole(hasChild), i591, i592).
rassertion(arole(hasChild), i590, i591).
rassertion(arole(hasChild), i589, i590).
rassertion(arole(hasChild), i588, i589).
rassertion(arole(hasChild), i587, i588).
rassertion(arole(hasChild), i586, i587).
rassertion(arole(hasChild), i585, i586).
rassertion(arole(hasChild), i584, i585).
rassertion(arole(hasChild), i583, i584).
rassertion(arole(hasChild), i582, i583).
rassertion(arole(hasChild), i581, i582).
rassertion(arole(hasChild), i580, i581).
rassertion(arole(hasChild), i579, i580).
rassertion(arole(hasChild), i578, i579).
rassertion(arole(hasChild), i577, i578).
rassertion(arole(hasChild), i576, i577).
rassertion(arole(hasChild), i575, i576).
rassertion(arole(hasChild), i574, i575).
rassertion(arole(hasChild), i573, i574).
rassertion(arole(hasChild), i572, i573).
rassertion(arole(hasChild), i571, i572).
rassertion(arole(hasChild), i570, i571).
rassertion(arole(hasChild), i569, i570).
rassertion(arole(hasChild), i568, i569).
rassertion(arole(hasChild), i567, i568).
rassertion(arole(hasChild), i566, i567).
rassertion(arole(hasChild), i565, i566).
rassertion(arole(hasChild), i564, i565).
rassertion(arole(hasChild), i563, i564).
rassertion(arole(hasChild), i562, i563).
rassertion(arole(hasChild), i561, i562).
rassertion(arole(hasChild), i560, i561).
rassertion(arole(hasChild), i559, i560).
rassertion(arole(hasChild), i558, i559).
rassertion(arole(hasChild), i557, i558).
rassertion(arole(hasChild), i556, i557).
rassertion(arole(hasChild), i555, i556).
rassertion(arole(hasChild), i554, i555).
rassertion(arole(hasChild), i553, i554).
rassertion(arole(hasChild), i552, i553).
rassertion(arole(hasChild), i551, i552).
rassertion(arole(hasChild), i550, i551).
rassertion(arole(hasChild), i549, i550).
rassertion(arole(hasChild), i548, i549).
rassertion(arole(hasChild), i547, i548).
rassertion(arole(hasChild), i546, i547).
rassertion(arole(hasChild), i545, i546).
rassertion(arole(hasChild), i544, i545).
rassertion(arole(hasChild), i543, i544).
rassertion(arole(hasChild), i542, i543).
rassertion(arole(hasChild), i541, i542).
rassertion(arole(hasChild), i540, i541).
rassertion(arole(hasChild), i539, i540).
rassertion(arole(hasChild), i538, i539).
rassertion(arole(hasChild), i537, i538).
rassertion(arole(hasChild), i536, i537).
rassertion(arole(hasChild), i535, i536).
rassertion(arole(hasChild), i534, i535).
rassertion(arole(hasChild), i533, i534).
rassertion(arole(hasChild), i532, i533).
rassertion(arole(hasChild), i531, i532).
rassertion(arole(hasChild), i530, i531).
rassertion(arole(hasChild), i529, i530).
rassertion(arole(hasChild), i528, i529).
rassertion(arole(hasChild), i527, i528).
rassertion(arole(hasChild), i526, i527).
rassertion(arole(hasChild), i525, i526).
rassertion(arole(hasChild), i524, i525).
rassertion(arole(hasChild), i523, i524).
rassertion(arole(hasChild), i522, i523).
rassertion(arole(hasChild), i521, i522).
rassertion(arole(hasChild), i520, i521).
rassertion(arole(hasChild), i519, i520).
rassertion(arole(hasChild), i518, i519).
rassertion(arole(hasChild), i517, i518).
rassertion(arole(hasChild), i516, i517).
rassertion(arole(hasChild), i515, i516).
rassertion(arole(hasChild), i514, i515).
rassertion(arole(hasChild), i513, i514).
rassertion(arole(hasChild), i512, i513).
rassertion(arole(hasChild), i511, i512).
rassertion(arole(hasChild), i510, i511).
rassertion(arole(hasChild), i509, i510).
rassertion(arole(hasChild), i508, i509).
rassertion(arole(hasChild), i507, i508).
rassertion(arole(hasChild), i506, i507).
rassertion(arole(hasChild), i505, i506).
rassertion(arole(hasChild), i504, i505).
rassertion(arole(hasChild), i503, i504).
rassertion(arole(hasChild), i502, i503).
rassertion(arole(hasChild), i501, i502).
rassertion(arole(hasChild), i500, i501).
rassertion(arole(hasChild), i499, i500).
rassertion(arole(hasChild), i498, i499).
rassertion(arole(hasChild), i497, i498).
rassertion(arole(hasChild), i496, i497).
rassertion(arole(hasChild), i495, i496).
rassertion(arole(hasChild), i494, i495).
rassertion(arole(hasChild), i493, i494).
rassertion(arole(hasChild), i492, i493).
rassertion(arole(hasChild), i491, i492).
rassertion(arole(hasChild), i490, i491).
rassertion(arole(hasChild), i489, i490).
rassertion(arole(hasChild), i488, i489).
rassertion(arole(hasChild), i487, i488).
rassertion(arole(hasChild), i486, i487).
rassertion(arole(hasChild), i485, i486).
rassertion(arole(hasChild), i484, i485).
rassertion(arole(hasChild), i483, i484).
rassertion(arole(hasChild), i482, i483).
rassertion(arole(hasChild), i481, i482).
rassertion(arole(hasChild), i480, i481).
rassertion(arole(hasChild), i479, i480).
rassertion(arole(hasChild), i478, i479).
rassertion(arole(hasChild), i477, i478).
rassertion(arole(hasChild), i476, i477).
rassertion(arole(hasChild), i475, i476).
rassertion(arole(hasChild), i474, i475).
rassertion(arole(hasChild), i473, i474).
rassertion(arole(hasChild), i472, i473).
rassertion(arole(hasChild), i471, i472).
rassertion(arole(hasChild), i470, i471).
rassertion(arole(hasChild), i469, i470).
rassertion(arole(hasChild), i468, i469).
rassertion(arole(hasChild), i467, i468).
rassertion(arole(hasChild), i466, i467).
rassertion(arole(hasChild), i465, i466).
rassertion(arole(hasChild), i464, i465).
rassertion(arole(hasChild), i463, i464).
rassertion(arole(hasChild), i462, i463).
rassertion(arole(hasChild), i461, i462).
rassertion(arole(hasChild), i460, i461).
rassertion(arole(hasChild), i459, i460).
rassertion(arole(hasChild), i458, i459).
rassertion(arole(hasChild), i457, i458).
rassertion(arole(hasChild), i456, i457).
rassertion(arole(hasChild), i455, i456).
rassertion(arole(hasChild), i454, i455).
rassertion(arole(hasChild), i453, i454).
rassertion(arole(hasChild), i452, i453).
rassertion(arole(hasChild), i451, i452).
rassertion(arole(hasChild), i450, i451).
rassertion(arole(hasChild), i449, i450).
rassertion(arole(hasChild), i448, i449).
rassertion(arole(hasChild), i447, i448).
rassertion(arole(hasChild), i446, i447).
rassertion(arole(hasChild), i445, i446).
rassertion(arole(hasChild), i444, i445).
rassertion(arole(hasChild), i443, i444).
rassertion(arole(hasChild), i442, i443).
rassertion(arole(hasChild), i441, i442).
rassertion(arole(hasChild), i440, i441).
rassertion(arole(hasChild), i439, i440).
rassertion(arole(hasChild), i438, i439).
rassertion(arole(hasChild), i437, i438).
rassertion(arole(hasChild), i436, i437).
rassertion(arole(hasChild), i435, i436).
rassertion(arole(hasChild), i434, i435).
rassertion(arole(hasChild), i433, i434).
rassertion(arole(hasChild), i432, i433).
rassertion(arole(hasChild), i431, i432).
rassertion(arole(hasChild), i430, i431).
rassertion(arole(hasChild), i429, i430).
rassertion(arole(hasChild), i428, i429).
rassertion(arole(hasChild), i427, i428).
rassertion(arole(hasChild), i426, i427).
rassertion(arole(hasChild), i425, i426).
rassertion(arole(hasChild), i424, i425).
rassertion(arole(hasChild), i423, i424).
rassertion(arole(hasChild), i422, i423).
rassertion(arole(hasChild), i421, i422).
rassertion(arole(hasChild), i420, i421).
rassertion(arole(hasChild), i419, i420).
rassertion(arole(hasChild), i418, i419).
rassertion(arole(hasChild), i417, i418).
rassertion(arole(hasChild), i416, i417).
rassertion(arole(hasChild), i415, i416).
rassertion(arole(hasChild), i414, i415).
rassertion(arole(hasChild), i413, i414).
rassertion(arole(hasChild), i412, i413).
rassertion(arole(hasChild), i411, i412).
rassertion(arole(hasChild), i410, i411).
rassertion(arole(hasChild), i409, i410).
rassertion(arole(hasChild), i408, i409).
rassertion(arole(hasChild), i407, i408).
rassertion(arole(hasChild), i406, i407).
rassertion(arole(hasChild), i405, i406).
rassertion(arole(hasChild), i404, i405).
rassertion(arole(hasChild), i403, i404).
rassertion(arole(hasChild), i402, i403).
rassertion(arole(hasChild), i401, i402).
rassertion(arole(hasChild), i400, i401).
rassertion(arole(hasChild), i399, i400).
rassertion(arole(hasChild), i398, i399).
rassertion(arole(hasChild), i397, i398).
rassertion(arole(hasChild), i396, i397).
rassertion(arole(hasChild), i395, i396).
rassertion(arole(hasChild), i394, i395).
rassertion(arole(hasChild), i393, i394).
rassertion(arole(hasChild), i392, i393).
rassertion(arole(hasChild), i391, i392).
rassertion(arole(hasChild), i390, i391).
rassertion(arole(hasChild), i389, i390).
rassertion(arole(hasChild), i388, i389).
rassertion(arole(hasChild), i387, i388).
rassertion(arole(hasChild), i386, i387).
rassertion(arole(hasChild), i385, i386).
rassertion(arole(hasChild), i384, i385).
rassertion(arole(hasChild), i383, i384).
rassertion(arole(hasChild), i382, i383).
rassertion(arole(hasChild), i381, i382).
rassertion(arole(hasChild), i380, i381).
rassertion(arole(hasChild), i379, i380).
rassertion(arole(hasChild), i378, i379).
rassertion(arole(hasChild), i377, i378).
rassertion(arole(hasChild), i376, i377).
rassertion(arole(hasChild), i375, i376).
rassertion(arole(hasChild), i374, i375).
rassertion(arole(hasChild), i373, i374).
rassertion(arole(hasChild), i372, i373).
rassertion(arole(hasChild), i371, i372).
rassertion(arole(hasChild), i370, i371).
rassertion(arole(hasChild), i369, i370).
rassertion(arole(hasChild), i368, i369).
rassertion(arole(hasChild), i367, i368).
rassertion(arole(hasChild), i366, i367).
rassertion(arole(hasChild), i365, i366).
rassertion(arole(hasChild), i364, i365).
rassertion(arole(hasChild), i363, i364).
rassertion(arole(hasChild), i362, i363).
rassertion(arole(hasChild), i361, i362).
rassertion(arole(hasChild), i360, i361).
rassertion(arole(hasChild), i359, i360).
rassertion(arole(hasChild), i358, i359).
rassertion(arole(hasChild), i357, i358).
rassertion(arole(hasChild), i356, i357).
rassertion(arole(hasChild), i355, i356).
rassertion(arole(hasChild), i354, i355).
rassertion(arole(hasChild), i353, i354).
rassertion(arole(hasChild), i352, i353).
rassertion(arole(hasChild), i351, i352).
rassertion(arole(hasChild), i350, i351).
rassertion(arole(hasChild), i349, i350).
rassertion(arole(hasChild), i348, i349).
rassertion(arole(hasChild), i347, i348).
rassertion(arole(hasChild), i346, i347).
rassertion(arole(hasChild), i345, i346).
rassertion(arole(hasChild), i344, i345).
rassertion(arole(hasChild), i343, i344).
rassertion(arole(hasChild), i342, i343).
rassertion(arole(hasChild), i341, i342).
rassertion(arole(hasChild), i340, i341).
rassertion(arole(hasChild), i339, i340).
rassertion(arole(hasChild), i338, i339).
rassertion(arole(hasChild), i337, i338).
rassertion(arole(hasChild), i336, i337).
rassertion(arole(hasChild), i335, i336).
rassertion(arole(hasChild), i334, i335).
rassertion(arole(hasChild), i333, i334).
rassertion(arole(hasChild), i332, i333).
rassertion(arole(hasChild), i331, i332).
rassertion(arole(hasChild), i330, i331).
rassertion(arole(hasChild), i329, i330).
rassertion(arole(hasChild), i328, i329).
rassertion(arole(hasChild), i327, i328).
rassertion(arole(hasChild), i326, i327).
rassertion(arole(hasChild), i325, i326).
rassertion(arole(hasChild), i324, i325).
rassertion(arole(hasChild), i323, i324).
rassertion(arole(hasChild), i322, i323).
rassertion(arole(hasChild), i321, i322).
rassertion(arole(hasChild), i320, i321).
rassertion(arole(hasChild), i319, i320).
rassertion(arole(hasChild), i318, i319).
rassertion(arole(hasChild), i317, i318).
rassertion(arole(hasChild), i316, i317).
rassertion(arole(hasChild), i315, i316).
rassertion(arole(hasChild), i314, i315).
rassertion(arole(hasChild), i313, i314).
rassertion(arole(hasChild), i312, i313).
rassertion(arole(hasChild), i311, i312).
rassertion(arole(hasChild), i310, i311).
rassertion(arole(hasChild), i309, i310).
rassertion(arole(hasChild), i308, i309).
rassertion(arole(hasChild), i307, i308).
rassertion(arole(hasChild), i306, i307).
rassertion(arole(hasChild), i305, i306).
rassertion(arole(hasChild), i304, i305).
rassertion(arole(hasChild), i303, i304).
rassertion(arole(hasChild), i302, i303).
rassertion(arole(hasChild), i301, i302).
rassertion(arole(hasChild), i300, i301).
rassertion(arole(hasChild), i299, i300).
rassertion(arole(hasChild), i298, i299).
rassertion(arole(hasChild), i297, i298).
rassertion(arole(hasChild), i296, i297).
rassertion(arole(hasChild), i295, i296).
rassertion(arole(hasChild), i294, i295).
rassertion(arole(hasChild), i293, i294).
rassertion(arole(hasChild), i292, i293).
rassertion(arole(hasChild), i291, i292).
rassertion(arole(hasChild), i290, i291).
rassertion(arole(hasChild), i289, i290).
rassertion(arole(hasChild), i288, i289).
rassertion(arole(hasChild), i287, i288).
rassertion(arole(hasChild), i286, i287).
rassertion(arole(hasChild), i285, i286).
rassertion(arole(hasChild), i284, i285).
rassertion(arole(hasChild), i283, i284).
rassertion(arole(hasChild), i282, i283).
rassertion(arole(hasChild), i281, i282).
rassertion(arole(hasChild), i280, i281).
rassertion(arole(hasChild), i279, i280).
rassertion(arole(hasChild), i278, i279).
rassertion(arole(hasChild), i277, i278).
rassertion(arole(hasChild), i276, i277).
rassertion(arole(hasChild), i275, i276).
rassertion(arole(hasChild), i274, i275).
rassertion(arole(hasChild), i273, i274).
rassertion(arole(hasChild), i272, i273).
rassertion(arole(hasChild), i271, i272).
rassertion(arole(hasChild), i270, i271).
rassertion(arole(hasChild), i269, i270).
rassertion(arole(hasChild), i268, i269).
rassertion(arole(hasChild), i267, i268).
rassertion(arole(hasChild), i266, i267).
rassertion(arole(hasChild), i265, i266).
rassertion(arole(hasChild), i264, i265).
rassertion(arole(hasChild), i263, i264).
rassertion(arole(hasChild), i262, i263).
rassertion(arole(hasChild), i261, i262).
rassertion(arole(hasChild), i260, i261).
rassertion(arole(hasChild), i259, i260).
rassertion(arole(hasChild), i258, i259).
rassertion(arole(hasChild), i257, i258).
rassertion(arole(hasChild), i256, i257).
rassertion(arole(hasChild), i255, i256).
rassertion(arole(hasChild), i254, i255).
rassertion(arole(hasChild), i253, i254).
rassertion(arole(hasChild), i252, i253).
rassertion(arole(hasChild), i251, i252).
rassertion(arole(hasChild), i250, i251).
rassertion(arole(hasChild), i249, i250).
rassertion(arole(hasChild), i248, i249).
rassertion(arole(hasChild), i247, i248).
rassertion(arole(hasChild), i246, i247).
rassertion(arole(hasChild), i245, i246).
rassertion(arole(hasChild), i244, i245).
rassertion(arole(hasChild), i243, i244).
rassertion(arole(hasChild), i242, i243).
rassertion(arole(hasChild), i241, i242).
rassertion(arole(hasChild), i240, i241).
rassertion(arole(hasChild), i239, i240).
rassertion(arole(hasChild), i238, i239).
rassertion(arole(hasChild), i237, i238).
rassertion(arole(hasChild), i236, i237).
rassertion(arole(hasChild), i235, i236).
rassertion(arole(hasChild), i234, i235).
rassertion(arole(hasChild), i233, i234).
rassertion(arole(hasChild), i232, i233).
rassertion(arole(hasChild), i231, i232).
rassertion(arole(hasChild), i230, i231).
rassertion(arole(hasChild), i229, i230).
rassertion(arole(hasChild), i228, i229).
rassertion(arole(hasChild), i227, i228).
rassertion(arole(hasChild), i226, i227).
rassertion(arole(hasChild), i225, i226).
rassertion(arole(hasChild), i224, i225).
rassertion(arole(hasChild), i223, i224).
rassertion(arole(hasChild), i222, i223).
rassertion(arole(hasChild), i221, i222).
rassertion(arole(hasChild), i220, i221).
rassertion(arole(hasChild), i219, i220).
rassertion(arole(hasChild), i218, i219).
rassertion(arole(hasChild), i217, i218).
rassertion(arole(hasChild), i216, i217).
rassertion(arole(hasChild), i215, i216).
rassertion(arole(hasChild), i214, i215).
rassertion(arole(hasChild), i213, i214).
rassertion(arole(hasChild), i212, i213).
rassertion(arole(hasChild), i211, i212).
rassertion(arole(hasChild), i210, i211).
rassertion(arole(hasChild), i209, i210).
rassertion(arole(hasChild), i208, i209).
rassertion(arole(hasChild), i207, i208).
rassertion(arole(hasChild), i206, i207).
rassertion(arole(hasChild), i205, i206).
rassertion(arole(hasChild), i204, i205).
rassertion(arole(hasChild), i203, i204).
rassertion(arole(hasChild), i202, i203).
rassertion(arole(hasChild), i201, i202).
rassertion(arole(hasChild), i200, i201).
rassertion(arole(hasChild), i199, i200).
rassertion(arole(hasChild), i198, i199).
rassertion(arole(hasChild), i197, i198).
rassertion(arole(hasChild), i196, i197).
rassertion(arole(hasChild), i195, i196).
rassertion(arole(hasChild), i194, i195).
rassertion(arole(hasChild), i193, i194).
rassertion(arole(hasChild), i192, i193).
rassertion(arole(hasChild), i191, i192).
rassertion(arole(hasChild), i190, i191).
rassertion(arole(hasChild), i189, i190).
rassertion(arole(hasChild), i188, i189).
rassertion(arole(hasChild), i187, i188).
rassertion(arole(hasChild), i186, i187).
rassertion(arole(hasChild), i185, i186).
rassertion(arole(hasChild), i184, i185).
rassertion(arole(hasChild), i183, i184).
rassertion(arole(hasChild), i182, i183).
rassertion(arole(hasChild), i181, i182).
rassertion(arole(hasChild), i180, i181).
rassertion(arole(hasChild), i179, i180).
rassertion(arole(hasChild), i178, i179).
rassertion(arole(hasChild), i177, i178).
rassertion(arole(hasChild), i176, i177).
rassertion(arole(hasChild), i175, i176).
rassertion(arole(hasChild), i174, i175).
rassertion(arole(hasChild), i173, i174).
rassertion(arole(hasChild), i172, i173).
rassertion(arole(hasChild), i171, i172).
rassertion(arole(hasChild), i170, i171).
rassertion(arole(hasChild), i169, i170).
rassertion(arole(hasChild), i168, i169).
rassertion(arole(hasChild), i167, i168).
rassertion(arole(hasChild), i166, i167).
rassertion(arole(hasChild), i165, i166).
rassertion(arole(hasChild), i164, i165).
rassertion(arole(hasChild), i163, i164).
rassertion(arole(hasChild), i162, i163).
rassertion(arole(hasChild), i161, i162).
rassertion(arole(hasChild), i160, i161).
rassertion(arole(hasChild), i159, i160).
rassertion(arole(hasChild), i158, i159).
rassertion(arole(hasChild), i157, i158).
rassertion(arole(hasChild), i156, i157).
rassertion(arole(hasChild), i155, i156).
rassertion(arole(hasChild), i154, i155).
rassertion(arole(hasChild), i153, i154).
rassertion(arole(hasChild), i152, i153).
rassertion(arole(hasChild), i151, i152).
rassertion(arole(hasChild), i150, i151).
rassertion(arole(hasChild), i149, i150).
rassertion(arole(hasChild), i148, i149).
rassertion(arole(hasChild), i147, i148).
rassertion(arole(hasChild), i146, i147).
rassertion(arole(hasChild), i145, i146).
rassertion(arole(hasChild), i144, i145).
rassertion(arole(hasChild), i143, i144).
rassertion(arole(hasChild), i142, i143).
rassertion(arole(hasChild), i141, i142).
rassertion(arole(hasChild), i140, i141).
rassertion(arole(hasChild), i139, i140).
rassertion(arole(hasChild), i138, i139).
rassertion(arole(hasChild), i137, i138).
rassertion(arole(hasChild), i136, i137).
rassertion(arole(hasChild), i135, i136).
rassertion(arole(hasChild), i134, i135).
rassertion(arole(hasChild), i133, i134).
rassertion(arole(hasChild), i132, i133).
rassertion(arole(hasChild), i131, i132).
rassertion(arole(hasChild), i130, i131).
rassertion(arole(hasChild), i129, i130).
rassertion(arole(hasChild), i128, i129).
rassertion(arole(hasChild), i127, i128).
rassertion(arole(hasChild), i126, i127).
rassertion(arole(hasChild), i125, i126).
rassertion(arole(hasChild), i124, i125).
rassertion(arole(hasChild), i123, i124).
rassertion(arole(hasChild), i122, i123).
rassertion(arole(hasChild), i121, i122).
rassertion(arole(hasChild), i120, i121).
rassertion(arole(hasChild), i119, i120).
rassertion(arole(hasChild), i118, i119).
rassertion(arole(hasChild), i117, i118).
rassertion(arole(hasChild), i116, i117).
rassertion(arole(hasChild), i115, i116).
rassertion(arole(hasChild), i114, i115).
rassertion(arole(hasChild), i113, i114).
rassertion(arole(hasChild), i112, i113).
rassertion(arole(hasChild), i111, i112).
rassertion(arole(hasChild), i110, i111).
rassertion(arole(hasChild), i109, i110).
rassertion(arole(hasChild), i108, i109).
rassertion(arole(hasChild), i107, i108).
rassertion(arole(hasChild), i106, i107).
rassertion(arole(hasChild), i105, i106).
rassertion(arole(hasChild), i104, i105).
rassertion(arole(hasChild), i103, i104).
rassertion(arole(hasChild), i102, i103).
rassertion(arole(hasChild), i101, i102).
rassertion(arole(hasChild), i100, i101).
rassertion(arole(hasChild), i99, i100).
rassertion(arole(hasChild), i98, i99).
rassertion(arole(hasChild), i97, i98).
rassertion(arole(hasChild), i96, i97).
rassertion(arole(hasChild), i95, i96).
rassertion(arole(hasChild), i94, i95).
rassertion(arole(hasChild), i93, i94).
rassertion(arole(hasChild), i92, i93).
rassertion(arole(hasChild), i91, i92).
rassertion(arole(hasChild), i90, i91).
rassertion(arole(hasChild), i89, i90).
rassertion(arole(hasChild), i88, i89).
rassertion(arole(hasChild), i87, i88).
rassertion(arole(hasChild), i86, i87).
rassertion(arole(hasChild), i85, i86).
rassertion(arole(hasChild), i84, i85).
rassertion(arole(hasChild), i83, i84).
rassertion(arole(hasChild), i82, i83).
rassertion(arole(hasChild), i81, i82).
rassertion(arole(hasChild), i80, i81).
rassertion(arole(hasChild), i79, i80).
rassertion(arole(hasChild), i78, i79).
rassertion(arole(hasChild), i77, i78).
rassertion(arole(hasChild), i76, i77).
rassertion(arole(hasChild), i75, i76).
rassertion(arole(hasChild), i74, i75).
rassertion(arole(hasChild), i73, i74).
rassertion(arole(hasChild), i72, i73).
rassertion(arole(hasChild), i71, i72).
rassertion(arole(hasChild), i70, i71).
rassertion(arole(hasChild), i69, i70).
rassertion(arole(hasChild), i68, i69).
rassertion(arole(hasChild), i67, i68).
rassertion(arole(hasChild), i66, i67).
rassertion(arole(hasChild), i65, i66).
rassertion(arole(hasChild), i64, i65).
rassertion(arole(hasChild), i63, i64).
rassertion(arole(hasChild), i62, i63).
rassertion(arole(hasChild), i61, i62).
rassertion(arole(hasChild), i60, i61).
rassertion(arole(hasChild), i59, i60).
rassertion(arole(hasChild), i58, i59).
rassertion(arole(hasChild), i57, i58).
rassertion(arole(hasChild), i56, i57).
rassertion(arole(hasChild), i55, i56).
rassertion(arole(hasChild), i54, i55).
rassertion(arole(hasChild), i53, i54).
rassertion(arole(hasChild), i52, i53).
rassertion(arole(hasChild), i51, i52).
rassertion(arole(hasChild), i50, i51).
rassertion(arole(hasChild), i49, i50).
rassertion(arole(hasChild), i48, i49).
rassertion(arole(hasChild), i47, i48).
rassertion(arole(hasChild), i46, i47).
rassertion(arole(hasChild), i45, i46).
rassertion(arole(hasChild), i44, i45).
rassertion(arole(hasChild), i43, i44).
rassertion(arole(hasChild), i42, i43).
rassertion(arole(hasChild), i41, i42).
rassertion(arole(hasChild), i40, i41).
rassertion(arole(hasChild), i39, i40).
rassertion(arole(hasChild), i38, i39).
rassertion(arole(hasChild), i37, i38).
rassertion(arole(hasChild), i36, i37).
rassertion(arole(hasChild), i35, i36).
rassertion(arole(hasChild), i34, i35).
rassertion(arole(hasChild), i33, i34).
rassertion(arole(hasChild), i32, i33).
rassertion(arole(hasChild), i31, i32).
rassertion(arole(hasChild), i30, i31).
rassertion(arole(hasChild), i29, i30).
rassertion(arole(hasChild), i28, i29).
rassertion(arole(hasChild), i27, i28).
rassertion(arole(hasChild), i26, i27).
rassertion(arole(hasChild), i25, i26).
rassertion(arole(hasChild), i24, i25).
rassertion(arole(hasChild), i23, i24).
rassertion(arole(hasChild), i22, i23).
rassertion(arole(hasChild), i21, i22).
rassertion(arole(hasChild), i20, i21).
rassertion(arole(hasChild), i19, i20).
rassertion(arole(hasChild), i18, i19).
rassertion(arole(hasChild), i17, i18).
rassertion(arole(hasChild), i16, i17).
rassertion(arole(hasChild), i15, i16).
rassertion(arole(hasChild), i14, i15).
rassertion(arole(hasChild), i13, i14).
rassertion(arole(hasChild), i12, i13).
rassertion(arole(hasChild), i11, i12).
rassertion(arole(hasChild), i10, i11).
rassertion(arole(hasChild), i9, i10).
rassertion(arole(hasChild), i8, i9).
rassertion(arole(hasChild), i7, i8).
rassertion(arole(hasChild), i6, i7).
rassertion(arole(hasChild), i5, i6).
rassertion(arole(hasChild), i4, i5).
rassertion(arole(hasChild), i3, i4).
rassertion(arole(hasChild), i2, i3).
rassertion(arole(hasChild), i1, i1001).
rassertion(arole(hasChild), i1, i1000).
rassertion(arole(hasChild), i1, i999).
rassertion(arole(hasChild), i1, i998).
rassertion(arole(hasChild), i1, i997).
rassertion(arole(hasChild), i1, i996).
rassertion(arole(hasChild), i1, i995).
rassertion(arole(hasChild), i1, i994).
rassertion(arole(hasChild), i1, i993).
rassertion(arole(hasChild), i1, i992).
rassertion(arole(hasChild), i1, i991).
rassertion(arole(hasChild), i1, i990).
rassertion(arole(hasChild), i1, i989).
rassertion(arole(hasChild), i1, i988).
rassertion(arole(hasChild), i1, i987).
rassertion(arole(hasChild), i1, i986).
rassertion(arole(hasChild), i1, i985).
rassertion(arole(hasChild), i1, i984).
rassertion(arole(hasChild), i1, i983).
rassertion(arole(hasChild), i1, i982).
rassertion(arole(hasChild), i1, i981).
rassertion(arole(hasChild), i1, i980).
rassertion(arole(hasChild), i1, i979).
rassertion(arole(hasChild), i1, i978).
rassertion(arole(hasChild), i1, i977).
rassertion(arole(hasChild), i1, i976).
rassertion(arole(hasChild), i1, i975).
rassertion(arole(hasChild), i1, i974).
rassertion(arole(hasChild), i1, i973).
rassertion(arole(hasChild), i1, i972).
rassertion(arole(hasChild), i1, i971).
rassertion(arole(hasChild), i1, i970).
rassertion(arole(hasChild), i1, i969).
rassertion(arole(hasChild), i1, i968).
rassertion(arole(hasChild), i1, i967).
rassertion(arole(hasChild), i1, i966).
rassertion(arole(hasChild), i1, i965).
rassertion(arole(hasChild), i1, i964).
rassertion(arole(hasChild), i1, i963).
rassertion(arole(hasChild), i1, i962).
rassertion(arole(hasChild), i1, i961).
rassertion(arole(hasChild), i1, i960).
rassertion(arole(hasChild), i1, i959).
rassertion(arole(hasChild), i1, i958).
rassertion(arole(hasChild), i1, i957).
rassertion(arole(hasChild), i1, i956).
rassertion(arole(hasChild), i1, i955).
rassertion(arole(hasChild), i1, i954).
rassertion(arole(hasChild), i1, i953).
rassertion(arole(hasChild), i1, i952).
rassertion(arole(hasChild), i1, i951).
rassertion(arole(hasChild), i1, i950).
rassertion(arole(hasChild), i1, i949).
rassertion(arole(hasChild), i1, i948).
rassertion(arole(hasChild), i1, i947).
rassertion(arole(hasChild), i1, i946).
rassertion(arole(hasChild), i1, i945).
rassertion(arole(hasChild), i1, i944).
rassertion(arole(hasChild), i1, i943).
rassertion(arole(hasChild), i1, i942).
rassertion(arole(hasChild), i1, i941).
rassertion(arole(hasChild), i1, i940).
rassertion(arole(hasChild), i1, i939).
rassertion(arole(hasChild), i1, i938).
rassertion(arole(hasChild), i1, i937).
rassertion(arole(hasChild), i1, i936).
rassertion(arole(hasChild), i1, i935).
rassertion(arole(hasChild), i1, i934).
rassertion(arole(hasChild), i1, i933).
rassertion(arole(hasChild), i1, i932).
rassertion(arole(hasChild), i1, i931).
rassertion(arole(hasChild), i1, i930).
rassertion(arole(hasChild), i1, i929).
rassertion(arole(hasChild), i1, i928).
rassertion(arole(hasChild), i1, i927).
rassertion(arole(hasChild), i1, i926).
rassertion(arole(hasChild), i1, i925).
rassertion(arole(hasChild), i1, i924).
rassertion(arole(hasChild), i1, i923).
rassertion(arole(hasChild), i1, i922).
rassertion(arole(hasChild), i1, i921).
rassertion(arole(hasChild), i1, i920).
rassertion(arole(hasChild), i1, i919).
rassertion(arole(hasChild), i1, i918).
rassertion(arole(hasChild), i1, i917).
rassertion(arole(hasChild), i1, i916).
rassertion(arole(hasChild), i1, i915).
rassertion(arole(hasChild), i1, i914).
rassertion(arole(hasChild), i1, i913).
rassertion(arole(hasChild), i1, i912).
rassertion(arole(hasChild), i1, i911).
rassertion(arole(hasChild), i1, i910).
rassertion(arole(hasChild), i1, i909).
rassertion(arole(hasChild), i1, i908).
rassertion(arole(hasChild), i1, i907).
rassertion(arole(hasChild), i1, i906).
rassertion(arole(hasChild), i1, i905).
rassertion(arole(hasChild), i1, i904).
rassertion(arole(hasChild), i1, i903).
rassertion(arole(hasChild), i1, i902).
rassertion(arole(hasChild), i1, i901).
rassertion(arole(hasChild), i1, i900).
rassertion(arole(hasChild), i1, i899).
rassertion(arole(hasChild), i1, i898).
rassertion(arole(hasChild), i1, i897).
rassertion(arole(hasChild), i1, i896).
rassertion(arole(hasChild), i1, i895).
rassertion(arole(hasChild), i1, i894).
rassertion(arole(hasChild), i1, i893).
rassertion(arole(hasChild), i1, i892).
rassertion(arole(hasChild), i1, i891).
rassertion(arole(hasChild), i1, i890).
rassertion(arole(hasChild), i1, i889).
rassertion(arole(hasChild), i1, i888).
rassertion(arole(hasChild), i1, i887).
rassertion(arole(hasChild), i1, i886).
rassertion(arole(hasChild), i1, i885).
rassertion(arole(hasChild), i1, i884).
rassertion(arole(hasChild), i1, i883).
rassertion(arole(hasChild), i1, i882).
rassertion(arole(hasChild), i1, i881).
rassertion(arole(hasChild), i1, i880).
rassertion(arole(hasChild), i1, i879).
rassertion(arole(hasChild), i1, i878).
rassertion(arole(hasChild), i1, i877).
rassertion(arole(hasChild), i1, i876).
rassertion(arole(hasChild), i1, i875).
rassertion(arole(hasChild), i1, i874).
rassertion(arole(hasChild), i1, i873).
rassertion(arole(hasChild), i1, i872).
rassertion(arole(hasChild), i1, i871).
rassertion(arole(hasChild), i1, i870).
rassertion(arole(hasChild), i1, i869).
rassertion(arole(hasChild), i1, i868).
rassertion(arole(hasChild), i1, i867).
rassertion(arole(hasChild), i1, i866).
rassertion(arole(hasChild), i1, i865).
rassertion(arole(hasChild), i1, i864).
rassertion(arole(hasChild), i1, i863).
rassertion(arole(hasChild), i1, i862).
rassertion(arole(hasChild), i1, i861).
rassertion(arole(hasChild), i1, i860).
rassertion(arole(hasChild), i1, i859).
rassertion(arole(hasChild), i1, i858).
rassertion(arole(hasChild), i1, i857).
rassertion(arole(hasChild), i1, i856).
rassertion(arole(hasChild), i1, i855).
rassertion(arole(hasChild), i1, i854).
rassertion(arole(hasChild), i1, i853).
rassertion(arole(hasChild), i1, i852).
rassertion(arole(hasChild), i1, i851).
rassertion(arole(hasChild), i1, i850).
rassertion(arole(hasChild), i1, i849).
rassertion(arole(hasChild), i1, i848).
rassertion(arole(hasChild), i1, i847).
rassertion(arole(hasChild), i1, i846).
rassertion(arole(hasChild), i1, i845).
rassertion(arole(hasChild), i1, i844).
rassertion(arole(hasChild), i1, i843).
rassertion(arole(hasChild), i1, i842).
rassertion(arole(hasChild), i1, i841).
rassertion(arole(hasChild), i1, i840).
rassertion(arole(hasChild), i1, i839).
rassertion(arole(hasChild), i1, i838).
rassertion(arole(hasChild), i1, i837).
rassertion(arole(hasChild), i1, i836).
rassertion(arole(hasChild), i1, i835).
rassertion(arole(hasChild), i1, i834).
rassertion(arole(hasChild), i1, i833).
rassertion(arole(hasChild), i1, i832).
rassertion(arole(hasChild), i1, i831).
rassertion(arole(hasChild), i1, i830).
rassertion(arole(hasChild), i1, i829).
rassertion(arole(hasChild), i1, i828).
rassertion(arole(hasChild), i1, i827).
rassertion(arole(hasChild), i1, i826).
rassertion(arole(hasChild), i1, i825).
rassertion(arole(hasChild), i1, i824).
rassertion(arole(hasChild), i1, i823).
rassertion(arole(hasChild), i1, i822).
rassertion(arole(hasChild), i1, i821).
rassertion(arole(hasChild), i1, i820).
rassertion(arole(hasChild), i1, i819).
rassertion(arole(hasChild), i1, i818).
rassertion(arole(hasChild), i1, i817).
rassertion(arole(hasChild), i1, i816).
rassertion(arole(hasChild), i1, i815).
rassertion(arole(hasChild), i1, i814).
rassertion(arole(hasChild), i1, i813).
rassertion(arole(hasChild), i1, i812).
rassertion(arole(hasChild), i1, i811).
rassertion(arole(hasChild), i1, i810).
rassertion(arole(hasChild), i1, i809).
rassertion(arole(hasChild), i1, i808).
rassertion(arole(hasChild), i1, i807).
rassertion(arole(hasChild), i1, i806).
rassertion(arole(hasChild), i1, i805).
rassertion(arole(hasChild), i1, i804).
rassertion(arole(hasChild), i1, i803).
rassertion(arole(hasChild), i1, i802).
rassertion(arole(hasChild), i1, i801).
rassertion(arole(hasChild), i1, i800).
rassertion(arole(hasChild), i1, i799).
rassertion(arole(hasChild), i1, i798).
rassertion(arole(hasChild), i1, i797).
rassertion(arole(hasChild), i1, i796).
rassertion(arole(hasChild), i1, i795).
rassertion(arole(hasChild), i1, i794).
rassertion(arole(hasChild), i1, i793).
rassertion(arole(hasChild), i1, i792).
rassertion(arole(hasChild), i1, i791).
rassertion(arole(hasChild), i1, i790).
rassertion(arole(hasChild), i1, i789).
rassertion(arole(hasChild), i1, i788).
rassertion(arole(hasChild), i1, i787).
rassertion(arole(hasChild), i1, i786).
rassertion(arole(hasChild), i1, i785).
rassertion(arole(hasChild), i1, i784).
rassertion(arole(hasChild), i1, i783).
rassertion(arole(hasChild), i1, i782).
rassertion(arole(hasChild), i1, i781).
rassertion(arole(hasChild), i1, i780).
rassertion(arole(hasChild), i1, i779).
rassertion(arole(hasChild), i1, i778).
rassertion(arole(hasChild), i1, i777).
rassertion(arole(hasChild), i1, i776).
rassertion(arole(hasChild), i1, i775).
rassertion(arole(hasChild), i1, i774).
rassertion(arole(hasChild), i1, i773).
rassertion(arole(hasChild), i1, i772).
rassertion(arole(hasChild), i1, i771).
rassertion(arole(hasChild), i1, i770).
rassertion(arole(hasChild), i1, i769).
rassertion(arole(hasChild), i1, i768).
rassertion(arole(hasChild), i1, i767).
rassertion(arole(hasChild), i1, i766).
rassertion(arole(hasChild), i1, i765).
rassertion(arole(hasChild), i1, i764).
rassertion(arole(hasChild), i1, i763).
rassertion(arole(hasChild), i1, i762).
rassertion(arole(hasChild), i1, i761).
rassertion(arole(hasChild), i1, i760).
rassertion(arole(hasChild), i1, i759).
rassertion(arole(hasChild), i1, i758).
rassertion(arole(hasChild), i1, i757).
rassertion(arole(hasChild), i1, i756).
rassertion(arole(hasChild), i1, i755).
rassertion(arole(hasChild), i1, i754).
rassertion(arole(hasChild), i1, i753).
rassertion(arole(hasChild), i1, i752).
rassertion(arole(hasChild), i1, i751).
rassertion(arole(hasChild), i1, i750).
rassertion(arole(hasChild), i1, i749).
rassertion(arole(hasChild), i1, i748).
rassertion(arole(hasChild), i1, i747).
rassertion(arole(hasChild), i1, i746).
rassertion(arole(hasChild), i1, i745).
rassertion(arole(hasChild), i1, i744).
rassertion(arole(hasChild), i1, i743).
rassertion(arole(hasChild), i1, i742).
rassertion(arole(hasChild), i1, i741).
rassertion(arole(hasChild), i1, i740).
rassertion(arole(hasChild), i1, i739).
rassertion(arole(hasChild), i1, i738).
rassertion(arole(hasChild), i1, i737).
rassertion(arole(hasChild), i1, i736).
rassertion(arole(hasChild), i1, i735).
rassertion(arole(hasChild), i1, i734).
rassertion(arole(hasChild), i1, i733).
rassertion(arole(hasChild), i1, i732).
rassertion(arole(hasChild), i1, i731).
rassertion(arole(hasChild), i1, i730).
rassertion(arole(hasChild), i1, i729).
rassertion(arole(hasChild), i1, i728).
rassertion(arole(hasChild), i1, i727).
rassertion(arole(hasChild), i1, i726).
rassertion(arole(hasChild), i1, i725).
rassertion(arole(hasChild), i1, i724).
rassertion(arole(hasChild), i1, i723).
rassertion(arole(hasChild), i1, i722).
rassertion(arole(hasChild), i1, i721).
rassertion(arole(hasChild), i1, i720).
rassertion(arole(hasChild), i1, i719).
rassertion(arole(hasChild), i1, i718).
rassertion(arole(hasChild), i1, i717).
rassertion(arole(hasChild), i1, i716).
rassertion(arole(hasChild), i1, i715).
rassertion(arole(hasChild), i1, i714).
rassertion(arole(hasChild), i1, i713).
rassertion(arole(hasChild), i1, i712).
rassertion(arole(hasChild), i1, i711).
rassertion(arole(hasChild), i1, i710).
rassertion(arole(hasChild), i1, i709).
rassertion(arole(hasChild), i1, i708).
rassertion(arole(hasChild), i1, i707).
rassertion(arole(hasChild), i1, i706).
rassertion(arole(hasChild), i1, i705).
rassertion(arole(hasChild), i1, i704).
rassertion(arole(hasChild), i1, i703).
rassertion(arole(hasChild), i1, i702).
rassertion(arole(hasChild), i1, i701).
rassertion(arole(hasChild), i1, i700).
rassertion(arole(hasChild), i1, i699).
rassertion(arole(hasChild), i1, i698).
rassertion(arole(hasChild), i1, i697).
rassertion(arole(hasChild), i1, i696).
rassertion(arole(hasChild), i1, i695).
rassertion(arole(hasChild), i1, i694).
rassertion(arole(hasChild), i1, i693).
rassertion(arole(hasChild), i1, i692).
rassertion(arole(hasChild), i1, i691).
rassertion(arole(hasChild), i1, i690).
rassertion(arole(hasChild), i1, i689).
rassertion(arole(hasChild), i1, i688).
rassertion(arole(hasChild), i1, i687).
rassertion(arole(hasChild), i1, i686).
rassertion(arole(hasChild), i1, i685).
rassertion(arole(hasChild), i1, i684).
rassertion(arole(hasChild), i1, i683).
rassertion(arole(hasChild), i1, i682).
rassertion(arole(hasChild), i1, i681).
rassertion(arole(hasChild), i1, i680).
rassertion(arole(hasChild), i1, i679).
rassertion(arole(hasChild), i1, i678).
rassertion(arole(hasChild), i1, i677).
rassertion(arole(hasChild), i1, i676).
rassertion(arole(hasChild), i1, i675).
rassertion(arole(hasChild), i1, i674).
rassertion(arole(hasChild), i1, i673).
rassertion(arole(hasChild), i1, i672).
rassertion(arole(hasChild), i1, i671).
rassertion(arole(hasChild), i1, i670).
rassertion(arole(hasChild), i1, i669).
rassertion(arole(hasChild), i1, i668).
rassertion(arole(hasChild), i1, i667).
rassertion(arole(hasChild), i1, i666).
rassertion(arole(hasChild), i1, i665).
rassertion(arole(hasChild), i1, i664).
rassertion(arole(hasChild), i1, i663).
rassertion(arole(hasChild), i1, i662).
rassertion(arole(hasChild), i1, i661).
rassertion(arole(hasChild), i1, i660).
rassertion(arole(hasChild), i1, i659).
rassertion(arole(hasChild), i1, i658).
rassertion(arole(hasChild), i1, i657).
rassertion(arole(hasChild), i1, i656).
rassertion(arole(hasChild), i1, i655).
rassertion(arole(hasChild), i1, i654).
rassertion(arole(hasChild), i1, i653).
rassertion(arole(hasChild), i1, i652).
rassertion(arole(hasChild), i1, i651).
rassertion(arole(hasChild), i1, i650).
rassertion(arole(hasChild), i1, i649).
rassertion(arole(hasChild), i1, i648).
rassertion(arole(hasChild), i1, i647).
rassertion(arole(hasChild), i1, i646).
rassertion(arole(hasChild), i1, i645).
rassertion(arole(hasChild), i1, i644).
rassertion(arole(hasChild), i1, i643).
rassertion(arole(hasChild), i1, i642).
rassertion(arole(hasChild), i1, i641).
rassertion(arole(hasChild), i1, i640).
rassertion(arole(hasChild), i1, i639).
rassertion(arole(hasChild), i1, i638).
rassertion(arole(hasChild), i1, i637).
rassertion(arole(hasChild), i1, i636).
rassertion(arole(hasChild), i1, i635).
rassertion(arole(hasChild), i1, i634).
rassertion(arole(hasChild), i1, i633).
rassertion(arole(hasChild), i1, i632).
rassertion(arole(hasChild), i1, i631).
rassertion(arole(hasChild), i1, i630).
rassertion(arole(hasChild), i1, i629).
rassertion(arole(hasChild), i1, i628).
rassertion(arole(hasChild), i1, i627).
rassertion(arole(hasChild), i1, i626).
rassertion(arole(hasChild), i1, i625).
rassertion(arole(hasChild), i1, i624).
rassertion(arole(hasChild), i1, i623).
rassertion(arole(hasChild), i1, i622).
rassertion(arole(hasChild), i1, i621).
rassertion(arole(hasChild), i1, i620).
rassertion(arole(hasChild), i1, i619).
rassertion(arole(hasChild), i1, i618).
rassertion(arole(hasChild), i1, i617).
rassertion(arole(hasChild), i1, i616).
rassertion(arole(hasChild), i1, i615).
rassertion(arole(hasChild), i1, i614).
rassertion(arole(hasChild), i1, i613).
rassertion(arole(hasChild), i1, i612).
rassertion(arole(hasChild), i1, i611).
rassertion(arole(hasChild), i1, i610).
rassertion(arole(hasChild), i1, i609).
rassertion(arole(hasChild), i1, i608).
rassertion(arole(hasChild), i1, i607).
rassertion(arole(hasChild), i1, i606).
rassertion(arole(hasChild), i1, i605).
rassertion(arole(hasChild), i1, i604).
rassertion(arole(hasChild), i1, i603).
rassertion(arole(hasChild), i1, i602).
rassertion(arole(hasChild), i1, i601).
rassertion(arole(hasChild), i1, i600).
rassertion(arole(hasChild), i1, i599).
rassertion(arole(hasChild), i1, i598).
rassertion(arole(hasChild), i1, i597).
rassertion(arole(hasChild), i1, i596).
rassertion(arole(hasChild), i1, i595).
rassertion(arole(hasChild), i1, i594).
rassertion(arole(hasChild), i1, i593).
rassertion(arole(hasChild), i1, i592).
rassertion(arole(hasChild), i1, i591).
rassertion(arole(hasChild), i1, i590).
rassertion(arole(hasChild), i1, i589).
rassertion(arole(hasChild), i1, i588).
rassertion(arole(hasChild), i1, i587).
rassertion(arole(hasChild), i1, i586).
rassertion(arole(hasChild), i1, i585).
rassertion(arole(hasChild), i1, i584).
rassertion(arole(hasChild), i1, i583).
rassertion(arole(hasChild), i1, i582).
rassertion(arole(hasChild), i1, i581).
rassertion(arole(hasChild), i1, i580).
rassertion(arole(hasChild), i1, i579).
rassertion(arole(hasChild), i1, i578).
rassertion(arole(hasChild), i1, i577).
rassertion(arole(hasChild), i1, i576).
rassertion(arole(hasChild), i1, i575).
rassertion(arole(hasChild), i1, i574).
rassertion(arole(hasChild), i1, i573).
rassertion(arole(hasChild), i1, i572).
rassertion(arole(hasChild), i1, i571).
rassertion(arole(hasChild), i1, i570).
rassertion(arole(hasChild), i1, i569).
rassertion(arole(hasChild), i1, i568).
rassertion(arole(hasChild), i1, i567).
rassertion(arole(hasChild), i1, i566).
rassertion(arole(hasChild), i1, i565).
rassertion(arole(hasChild), i1, i564).
rassertion(arole(hasChild), i1, i563).
rassertion(arole(hasChild), i1, i562).
rassertion(arole(hasChild), i1, i561).
rassertion(arole(hasChild), i1, i560).
rassertion(arole(hasChild), i1, i559).
rassertion(arole(hasChild), i1, i558).
rassertion(arole(hasChild), i1, i557).
rassertion(arole(hasChild), i1, i556).
rassertion(arole(hasChild), i1, i555).
rassertion(arole(hasChild), i1, i554).
rassertion(arole(hasChild), i1, i553).
rassertion(arole(hasChild), i1, i552).
rassertion(arole(hasChild), i1, i551).
rassertion(arole(hasChild), i1, i550).
rassertion(arole(hasChild), i1, i549).
rassertion(arole(hasChild), i1, i548).
rassertion(arole(hasChild), i1, i547).
rassertion(arole(hasChild), i1, i546).
rassertion(arole(hasChild), i1, i545).
rassertion(arole(hasChild), i1, i544).
rassertion(arole(hasChild), i1, i543).
rassertion(arole(hasChild), i1, i542).
rassertion(arole(hasChild), i1, i541).
rassertion(arole(hasChild), i1, i540).
rassertion(arole(hasChild), i1, i539).
rassertion(arole(hasChild), i1, i538).
rassertion(arole(hasChild), i1, i537).
rassertion(arole(hasChild), i1, i536).
rassertion(arole(hasChild), i1, i535).
rassertion(arole(hasChild), i1, i534).
rassertion(arole(hasChild), i1, i533).
rassertion(arole(hasChild), i1, i532).
rassertion(arole(hasChild), i1, i531).
rassertion(arole(hasChild), i1, i530).
rassertion(arole(hasChild), i1, i529).
rassertion(arole(hasChild), i1, i528).
rassertion(arole(hasChild), i1, i527).
rassertion(arole(hasChild), i1, i526).
rassertion(arole(hasChild), i1, i525).
rassertion(arole(hasChild), i1, i524).
rassertion(arole(hasChild), i1, i523).
rassertion(arole(hasChild), i1, i522).
rassertion(arole(hasChild), i1, i521).
rassertion(arole(hasChild), i1, i520).
rassertion(arole(hasChild), i1, i519).
rassertion(arole(hasChild), i1, i518).
rassertion(arole(hasChild), i1, i517).
rassertion(arole(hasChild), i1, i516).
rassertion(arole(hasChild), i1, i515).
rassertion(arole(hasChild), i1, i514).
rassertion(arole(hasChild), i1, i513).
rassertion(arole(hasChild), i1, i512).
rassertion(arole(hasChild), i1, i511).
rassertion(arole(hasChild), i1, i510).
rassertion(arole(hasChild), i1, i509).
rassertion(arole(hasChild), i1, i508).
rassertion(arole(hasChild), i1, i507).
rassertion(arole(hasChild), i1, i506).
rassertion(arole(hasChild), i1, i505).
rassertion(arole(hasChild), i1, i504).
rassertion(arole(hasChild), i1, i503).
rassertion(arole(hasChild), i1, i502).
rassertion(arole(hasChild), i1, i501).
rassertion(arole(hasChild), i1, i500).
rassertion(arole(hasChild), i1, i499).
rassertion(arole(hasChild), i1, i498).
rassertion(arole(hasChild), i1, i497).
rassertion(arole(hasChild), i1, i496).
rassertion(arole(hasChild), i1, i495).
rassertion(arole(hasChild), i1, i494).
rassertion(arole(hasChild), i1, i493).
rassertion(arole(hasChild), i1, i492).
rassertion(arole(hasChild), i1, i491).
rassertion(arole(hasChild), i1, i490).
rassertion(arole(hasChild), i1, i489).
rassertion(arole(hasChild), i1, i488).
rassertion(arole(hasChild), i1, i487).
rassertion(arole(hasChild), i1, i486).
rassertion(arole(hasChild), i1, i485).
rassertion(arole(hasChild), i1, i484).
rassertion(arole(hasChild), i1, i483).
rassertion(arole(hasChild), i1, i482).
rassertion(arole(hasChild), i1, i481).
rassertion(arole(hasChild), i1, i480).
rassertion(arole(hasChild), i1, i479).
rassertion(arole(hasChild), i1, i478).
rassertion(arole(hasChild), i1, i477).
rassertion(arole(hasChild), i1, i476).
rassertion(arole(hasChild), i1, i475).
rassertion(arole(hasChild), i1, i474).
rassertion(arole(hasChild), i1, i473).
rassertion(arole(hasChild), i1, i472).
rassertion(arole(hasChild), i1, i471).
rassertion(arole(hasChild), i1, i470).
rassertion(arole(hasChild), i1, i469).
rassertion(arole(hasChild), i1, i468).
rassertion(arole(hasChild), i1, i467).
rassertion(arole(hasChild), i1, i466).
rassertion(arole(hasChild), i1, i465).
rassertion(arole(hasChild), i1, i464).
rassertion(arole(hasChild), i1, i463).
rassertion(arole(hasChild), i1, i462).
rassertion(arole(hasChild), i1, i461).
rassertion(arole(hasChild), i1, i460).
rassertion(arole(hasChild), i1, i459).
rassertion(arole(hasChild), i1, i458).
rassertion(arole(hasChild), i1, i457).
rassertion(arole(hasChild), i1, i456).
rassertion(arole(hasChild), i1, i455).
rassertion(arole(hasChild), i1, i454).
rassertion(arole(hasChild), i1, i453).
rassertion(arole(hasChild), i1, i452).
rassertion(arole(hasChild), i1, i451).
rassertion(arole(hasChild), i1, i450).
rassertion(arole(hasChild), i1, i449).
rassertion(arole(hasChild), i1, i448).
rassertion(arole(hasChild), i1, i447).
rassertion(arole(hasChild), i1, i446).
rassertion(arole(hasChild), i1, i445).
rassertion(arole(hasChild), i1, i444).
rassertion(arole(hasChild), i1, i443).
rassertion(arole(hasChild), i1, i442).
rassertion(arole(hasChild), i1, i441).
rassertion(arole(hasChild), i1, i440).
rassertion(arole(hasChild), i1, i439).
rassertion(arole(hasChild), i1, i438).
rassertion(arole(hasChild), i1, i437).
rassertion(arole(hasChild), i1, i436).
rassertion(arole(hasChild), i1, i435).
rassertion(arole(hasChild), i1, i434).
rassertion(arole(hasChild), i1, i433).
rassertion(arole(hasChild), i1, i432).
rassertion(arole(hasChild), i1, i431).
rassertion(arole(hasChild), i1, i430).
rassertion(arole(hasChild), i1, i429).
rassertion(arole(hasChild), i1, i428).
rassertion(arole(hasChild), i1, i427).
rassertion(arole(hasChild), i1, i426).
rassertion(arole(hasChild), i1, i425).
rassertion(arole(hasChild), i1, i424).
rassertion(arole(hasChild), i1, i423).
rassertion(arole(hasChild), i1, i422).
rassertion(arole(hasChild), i1, i421).
rassertion(arole(hasChild), i1, i420).
rassertion(arole(hasChild), i1, i419).
rassertion(arole(hasChild), i1, i418).
rassertion(arole(hasChild), i1, i417).
rassertion(arole(hasChild), i1, i416).
rassertion(arole(hasChild), i1, i415).
rassertion(arole(hasChild), i1, i414).
rassertion(arole(hasChild), i1, i413).
rassertion(arole(hasChild), i1, i412).
rassertion(arole(hasChild), i1, i411).
rassertion(arole(hasChild), i1, i410).
rassertion(arole(hasChild), i1, i409).
rassertion(arole(hasChild), i1, i408).
rassertion(arole(hasChild), i1, i407).
rassertion(arole(hasChild), i1, i406).
rassertion(arole(hasChild), i1, i405).
rassertion(arole(hasChild), i1, i404).
rassertion(arole(hasChild), i1, i403).
rassertion(arole(hasChild), i1, i402).
rassertion(arole(hasChild), i1, i401).
rassertion(arole(hasChild), i1, i400).
rassertion(arole(hasChild), i1, i399).
rassertion(arole(hasChild), i1, i398).
rassertion(arole(hasChild), i1, i397).
rassertion(arole(hasChild), i1, i396).
rassertion(arole(hasChild), i1, i395).
rassertion(arole(hasChild), i1, i394).
rassertion(arole(hasChild), i1, i393).
rassertion(arole(hasChild), i1, i392).
rassertion(arole(hasChild), i1, i391).
rassertion(arole(hasChild), i1, i390).
rassertion(arole(hasChild), i1, i389).
rassertion(arole(hasChild), i1, i388).
rassertion(arole(hasChild), i1, i387).
rassertion(arole(hasChild), i1, i386).
rassertion(arole(hasChild), i1, i385).
rassertion(arole(hasChild), i1, i384).
rassertion(arole(hasChild), i1, i383).
rassertion(arole(hasChild), i1, i382).
rassertion(arole(hasChild), i1, i381).
rassertion(arole(hasChild), i1, i380).
rassertion(arole(hasChild), i1, i379).
rassertion(arole(hasChild), i1, i378).
rassertion(arole(hasChild), i1, i377).
rassertion(arole(hasChild), i1, i376).
rassertion(arole(hasChild), i1, i375).
rassertion(arole(hasChild), i1, i374).
rassertion(arole(hasChild), i1, i373).
rassertion(arole(hasChild), i1, i372).
rassertion(arole(hasChild), i1, i371).
rassertion(arole(hasChild), i1, i370).
rassertion(arole(hasChild), i1, i369).
rassertion(arole(hasChild), i1, i368).
rassertion(arole(hasChild), i1, i367).
rassertion(arole(hasChild), i1, i366).
rassertion(arole(hasChild), i1, i365).
rassertion(arole(hasChild), i1, i364).
rassertion(arole(hasChild), i1, i363).
rassertion(arole(hasChild), i1, i362).
rassertion(arole(hasChild), i1, i361).
rassertion(arole(hasChild), i1, i360).
rassertion(arole(hasChild), i1, i359).
rassertion(arole(hasChild), i1, i358).
rassertion(arole(hasChild), i1, i357).
rassertion(arole(hasChild), i1, i356).
rassertion(arole(hasChild), i1, i355).
rassertion(arole(hasChild), i1, i354).
rassertion(arole(hasChild), i1, i353).
rassertion(arole(hasChild), i1, i352).
rassertion(arole(hasChild), i1, i351).
rassertion(arole(hasChild), i1, i350).
rassertion(arole(hasChild), i1, i349).
rassertion(arole(hasChild), i1, i348).
rassertion(arole(hasChild), i1, i347).
rassertion(arole(hasChild), i1, i346).
rassertion(arole(hasChild), i1, i345).
rassertion(arole(hasChild), i1, i344).
rassertion(arole(hasChild), i1, i343).
rassertion(arole(hasChild), i1, i342).
rassertion(arole(hasChild), i1, i341).
rassertion(arole(hasChild), i1, i340).
rassertion(arole(hasChild), i1, i339).
rassertion(arole(hasChild), i1, i338).
rassertion(arole(hasChild), i1, i337).
rassertion(arole(hasChild), i1, i336).
rassertion(arole(hasChild), i1, i335).
rassertion(arole(hasChild), i1, i334).
rassertion(arole(hasChild), i1, i333).
rassertion(arole(hasChild), i1, i332).
rassertion(arole(hasChild), i1, i331).
rassertion(arole(hasChild), i1, i330).
rassertion(arole(hasChild), i1, i329).
rassertion(arole(hasChild), i1, i328).
rassertion(arole(hasChild), i1, i327).
rassertion(arole(hasChild), i1, i326).
rassertion(arole(hasChild), i1, i325).
rassertion(arole(hasChild), i1, i324).
rassertion(arole(hasChild), i1, i323).
rassertion(arole(hasChild), i1, i322).
rassertion(arole(hasChild), i1, i321).
rassertion(arole(hasChild), i1, i320).
rassertion(arole(hasChild), i1, i319).
rassertion(arole(hasChild), i1, i318).
rassertion(arole(hasChild), i1, i317).
rassertion(arole(hasChild), i1, i316).
rassertion(arole(hasChild), i1, i315).
rassertion(arole(hasChild), i1, i314).
rassertion(arole(hasChild), i1, i313).
rassertion(arole(hasChild), i1, i312).
rassertion(arole(hasChild), i1, i311).
rassertion(arole(hasChild), i1, i310).
rassertion(arole(hasChild), i1, i309).
rassertion(arole(hasChild), i1, i308).
rassertion(arole(hasChild), i1, i307).
rassertion(arole(hasChild), i1, i306).
rassertion(arole(hasChild), i1, i305).
rassertion(arole(hasChild), i1, i304).
rassertion(arole(hasChild), i1, i303).
rassertion(arole(hasChild), i1, i302).
rassertion(arole(hasChild), i1, i301).
rassertion(arole(hasChild), i1, i300).
rassertion(arole(hasChild), i1, i299).
rassertion(arole(hasChild), i1, i298).
rassertion(arole(hasChild), i1, i297).
rassertion(arole(hasChild), i1, i296).
rassertion(arole(hasChild), i1, i295).
rassertion(arole(hasChild), i1, i294).
rassertion(arole(hasChild), i1, i293).
rassertion(arole(hasChild), i1, i292).
rassertion(arole(hasChild), i1, i291).
rassertion(arole(hasChild), i1, i290).
rassertion(arole(hasChild), i1, i289).
rassertion(arole(hasChild), i1, i288).
rassertion(arole(hasChild), i1, i287).
rassertion(arole(hasChild), i1, i286).
rassertion(arole(hasChild), i1, i285).
rassertion(arole(hasChild), i1, i284).
rassertion(arole(hasChild), i1, i283).
rassertion(arole(hasChild), i1, i282).
rassertion(arole(hasChild), i1, i281).
rassertion(arole(hasChild), i1, i280).
rassertion(arole(hasChild), i1, i279).
rassertion(arole(hasChild), i1, i278).
rassertion(arole(hasChild), i1, i277).
rassertion(arole(hasChild), i1, i276).
rassertion(arole(hasChild), i1, i275).
rassertion(arole(hasChild), i1, i274).
rassertion(arole(hasChild), i1, i273).
rassertion(arole(hasChild), i1, i272).
rassertion(arole(hasChild), i1, i271).
rassertion(arole(hasChild), i1, i270).
rassertion(arole(hasChild), i1, i269).
rassertion(arole(hasChild), i1, i268).
rassertion(arole(hasChild), i1, i267).
rassertion(arole(hasChild), i1, i266).
rassertion(arole(hasChild), i1, i265).
rassertion(arole(hasChild), i1, i264).
rassertion(arole(hasChild), i1, i263).
rassertion(arole(hasChild), i1, i262).
rassertion(arole(hasChild), i1, i261).
rassertion(arole(hasChild), i1, i260).
rassertion(arole(hasChild), i1, i259).
rassertion(arole(hasChild), i1, i258).
rassertion(arole(hasChild), i1, i257).
rassertion(arole(hasChild), i1, i256).
rassertion(arole(hasChild), i1, i255).
rassertion(arole(hasChild), i1, i254).
rassertion(arole(hasChild), i1, i253).
rassertion(arole(hasChild), i1, i252).
rassertion(arole(hasChild), i1, i251).
rassertion(arole(hasChild), i1, i250).
rassertion(arole(hasChild), i1, i249).
rassertion(arole(hasChild), i1, i248).
rassertion(arole(hasChild), i1, i247).
rassertion(arole(hasChild), i1, i246).
rassertion(arole(hasChild), i1, i245).
rassertion(arole(hasChild), i1, i244).
rassertion(arole(hasChild), i1, i243).
rassertion(arole(hasChild), i1, i242).
rassertion(arole(hasChild), i1, i241).
rassertion(arole(hasChild), i1, i240).
rassertion(arole(hasChild), i1, i239).
rassertion(arole(hasChild), i1, i238).
rassertion(arole(hasChild), i1, i237).
rassertion(arole(hasChild), i1, i236).
rassertion(arole(hasChild), i1, i235).
rassertion(arole(hasChild), i1, i234).
rassertion(arole(hasChild), i1, i233).
rassertion(arole(hasChild), i1, i232).
rassertion(arole(hasChild), i1, i231).
rassertion(arole(hasChild), i1, i230).
rassertion(arole(hasChild), i1, i229).
rassertion(arole(hasChild), i1, i228).
rassertion(arole(hasChild), i1, i227).
rassertion(arole(hasChild), i1, i226).
rassertion(arole(hasChild), i1, i225).
rassertion(arole(hasChild), i1, i224).
rassertion(arole(hasChild), i1, i223).
rassertion(arole(hasChild), i1, i222).
rassertion(arole(hasChild), i1, i221).
rassertion(arole(hasChild), i1, i220).
rassertion(arole(hasChild), i1, i219).
rassertion(arole(hasChild), i1, i218).
rassertion(arole(hasChild), i1, i217).
rassertion(arole(hasChild), i1, i216).
rassertion(arole(hasChild), i1, i215).
rassertion(arole(hasChild), i1, i214).
rassertion(arole(hasChild), i1, i213).
rassertion(arole(hasChild), i1, i212).
rassertion(arole(hasChild), i1, i211).
rassertion(arole(hasChild), i1, i210).
rassertion(arole(hasChild), i1, i209).
rassertion(arole(hasChild), i1, i208).
rassertion(arole(hasChild), i1, i207).
rassertion(arole(hasChild), i1, i206).
rassertion(arole(hasChild), i1, i205).
rassertion(arole(hasChild), i1, i204).
rassertion(arole(hasChild), i1, i203).
rassertion(arole(hasChild), i1, i202).
rassertion(arole(hasChild), i1, i201).
rassertion(arole(hasChild), i1, i200).
rassertion(arole(hasChild), i1, i199).
rassertion(arole(hasChild), i1, i198).
rassertion(arole(hasChild), i1, i197).
rassertion(arole(hasChild), i1, i196).
rassertion(arole(hasChild), i1, i195).
rassertion(arole(hasChild), i1, i194).
rassertion(arole(hasChild), i1, i193).
rassertion(arole(hasChild), i1, i192).
rassertion(arole(hasChild), i1, i191).
rassertion(arole(hasChild), i1, i190).
rassertion(arole(hasChild), i1, i189).
rassertion(arole(hasChild), i1, i188).
rassertion(arole(hasChild), i1, i187).
rassertion(arole(hasChild), i1, i186).
rassertion(arole(hasChild), i1, i185).
rassertion(arole(hasChild), i1, i184).
rassertion(arole(hasChild), i1, i183).
rassertion(arole(hasChild), i1, i182).
rassertion(arole(hasChild), i1, i181).
rassertion(arole(hasChild), i1, i180).
rassertion(arole(hasChild), i1, i179).
rassertion(arole(hasChild), i1, i178).
rassertion(arole(hasChild), i1, i177).
rassertion(arole(hasChild), i1, i176).
rassertion(arole(hasChild), i1, i175).
rassertion(arole(hasChild), i1, i174).
rassertion(arole(hasChild), i1, i173).
rassertion(arole(hasChild), i1, i172).
rassertion(arole(hasChild), i1, i171).
rassertion(arole(hasChild), i1, i170).
rassertion(arole(hasChild), i1, i169).
rassertion(arole(hasChild), i1, i168).
rassertion(arole(hasChild), i1, i167).
rassertion(arole(hasChild), i1, i166).
rassertion(arole(hasChild), i1, i165).
rassertion(arole(hasChild), i1, i164).
rassertion(arole(hasChild), i1, i163).
rassertion(arole(hasChild), i1, i162).
rassertion(arole(hasChild), i1, i161).
rassertion(arole(hasChild), i1, i160).
rassertion(arole(hasChild), i1, i159).
rassertion(arole(hasChild), i1, i158).
rassertion(arole(hasChild), i1, i157).
rassertion(arole(hasChild), i1, i156).
rassertion(arole(hasChild), i1, i155).
rassertion(arole(hasChild), i1, i154).
rassertion(arole(hasChild), i1, i153).
rassertion(arole(hasChild), i1, i152).
rassertion(arole(hasChild), i1, i151).
rassertion(arole(hasChild), i1, i150).
rassertion(arole(hasChild), i1, i149).
rassertion(arole(hasChild), i1, i148).
rassertion(arole(hasChild), i1, i147).
rassertion(arole(hasChild), i1, i146).
rassertion(arole(hasChild), i1, i145).
rassertion(arole(hasChild), i1, i144).
rassertion(arole(hasChild), i1, i143).
rassertion(arole(hasChild), i1, i142).
rassertion(arole(hasChild), i1, i141).
rassertion(arole(hasChild), i1, i140).
rassertion(arole(hasChild), i1, i139).
rassertion(arole(hasChild), i1, i138).
rassertion(arole(hasChild), i1, i137).
rassertion(arole(hasChild), i1, i136).
rassertion(arole(hasChild), i1, i135).
rassertion(arole(hasChild), i1, i134).
rassertion(arole(hasChild), i1, i133).
rassertion(arole(hasChild), i1, i132).
rassertion(arole(hasChild), i1, i131).
rassertion(arole(hasChild), i1, i130).
rassertion(arole(hasChild), i1, i129).
rassertion(arole(hasChild), i1, i128).
rassertion(arole(hasChild), i1, i127).
rassertion(arole(hasChild), i1, i126).
rassertion(arole(hasChild), i1, i125).
rassertion(arole(hasChild), i1, i124).
rassertion(arole(hasChild), i1, i123).
rassertion(arole(hasChild), i1, i122).
rassertion(arole(hasChild), i1, i121).
rassertion(arole(hasChild), i1, i120).
rassertion(arole(hasChild), i1, i119).
rassertion(arole(hasChild), i1, i118).
rassertion(arole(hasChild), i1, i117).
rassertion(arole(hasChild), i1, i116).
rassertion(arole(hasChild), i1, i115).
rassertion(arole(hasChild), i1, i114).
rassertion(arole(hasChild), i1, i113).
rassertion(arole(hasChild), i1, i112).
rassertion(arole(hasChild), i1, i111).
rassertion(arole(hasChild), i1, i110).
rassertion(arole(hasChild), i1, i109).
rassertion(arole(hasChild), i1, i108).
rassertion(arole(hasChild), i1, i107).
rassertion(arole(hasChild), i1, i106).
rassertion(arole(hasChild), i1, i105).
rassertion(arole(hasChild), i1, i104).
rassertion(arole(hasChild), i1, i103).
rassertion(arole(hasChild), i1, i102).
rassertion(arole(hasChild), i1, i101).
rassertion(arole(hasChild), i1, i100).
rassertion(arole(hasChild), i1, i99).
rassertion(arole(hasChild), i1, i98).
rassertion(arole(hasChild), i1, i97).
rassertion(arole(hasChild), i1, i96).
rassertion(arole(hasChild), i1, i95).
rassertion(arole(hasChild), i1, i94).
rassertion(arole(hasChild), i1, i93).
rassertion(arole(hasChild), i1, i92).
rassertion(arole(hasChild), i1, i91).
rassertion(arole(hasChild), i1, i90).
rassertion(arole(hasChild), i1, i89).
rassertion(arole(hasChild), i1, i88).
rassertion(arole(hasChild), i1, i87).
rassertion(arole(hasChild), i1, i86).
rassertion(arole(hasChild), i1, i85).
rassertion(arole(hasChild), i1, i84).
rassertion(arole(hasChild), i1, i83).
rassertion(arole(hasChild), i1, i82).
rassertion(arole(hasChild), i1, i81).
rassertion(arole(hasChild), i1, i80).
rassertion(arole(hasChild), i1, i79).
rassertion(arole(hasChild), i1, i78).
rassertion(arole(hasChild), i1, i77).
rassertion(arole(hasChild), i1, i76).
rassertion(arole(hasChild), i1, i75).
rassertion(arole(hasChild), i1, i74).
rassertion(arole(hasChild), i1, i73).
rassertion(arole(hasChild), i1, i72).
rassertion(arole(hasChild), i1, i71).
rassertion(arole(hasChild), i1, i70).
rassertion(arole(hasChild), i1, i69).
rassertion(arole(hasChild), i1, i68).
rassertion(arole(hasChild), i1, i67).
rassertion(arole(hasChild), i1, i66).
rassertion(arole(hasChild), i1, i65).
rassertion(arole(hasChild), i1, i64).
rassertion(arole(hasChild), i1, i63).
rassertion(arole(hasChild), i1, i62).
rassertion(arole(hasChild), i1, i61).
rassertion(arole(hasChild), i1, i60).
rassertion(arole(hasChild), i1, i59).
rassertion(arole(hasChild), i1, i58).
rassertion(arole(hasChild), i1, i57).
rassertion(arole(hasChild), i1, i56).
rassertion(arole(hasChild), i1, i55).
rassertion(arole(hasChild), i1, i54).
rassertion(arole(hasChild), i1, i53).
rassertion(arole(hasChild), i1, i52).
rassertion(arole(hasChild), i1, i51).
rassertion(arole(hasChild), i1, i50).
rassertion(arole(hasChild), i1, i49).
rassertion(arole(hasChild), i1, i48).
rassertion(arole(hasChild), i1, i47).
rassertion(arole(hasChild), i1, i46).
rassertion(arole(hasChild), i1, i45).
rassertion(arole(hasChild), i1, i44).
rassertion(arole(hasChild), i1, i43).
rassertion(arole(hasChild), i1, i42).
rassertion(arole(hasChild), i1, i41).
rassertion(arole(hasChild), i1, i40).
rassertion(arole(hasChild), i1, i39).
rassertion(arole(hasChild), i1, i38).
rassertion(arole(hasChild), i1, i37).
rassertion(arole(hasChild), i1, i36).
rassertion(arole(hasChild), i1, i35).
rassertion(arole(hasChild), i1, i34).
rassertion(arole(hasChild), i1, i33).
rassertion(arole(hasChild), i1, i32).
rassertion(arole(hasChild), i1, i31).
rassertion(arole(hasChild), i1, i30).
rassertion(arole(hasChild), i1, i29).
rassertion(arole(hasChild), i1, i28).
rassertion(arole(hasChild), i1, i27).
rassertion(arole(hasChild), i1, i26).
rassertion(arole(hasChild), i1, i25).
rassertion(arole(hasChild), i1, i24).
rassertion(arole(hasChild), i1, i23).
rassertion(arole(hasChild), i1, i22).
rassertion(arole(hasChild), i1, i21).
rassertion(arole(hasChild), i1, i20).
rassertion(arole(hasChild), i1, i19).
rassertion(arole(hasChild), i1, i18).
rassertion(arole(hasChild), i1, i17).
rassertion(arole(hasChild), i1, i16).
rassertion(arole(hasChild), i1, i15).
rassertion(arole(hasChild), i1, i14).
rassertion(arole(hasChild), i1, i13).
rassertion(arole(hasChild), i1, i12).
rassertion(arole(hasChild), i1, i11).
rassertion(arole(hasChild), i1, i10).
rassertion(arole(hasChild), i1, i9).
rassertion(arole(hasChild), i1, i8).
rassertion(arole(hasChild), i1, i7).
rassertion(arole(hasChild), i1, i6).
rassertion(arole(hasChild), i1, i5).
rassertion(arole(hasChild), i1, i4).
rassertion(arole(hasChild), i1, i3).
rassertion(arole(hasChild), i1, i2).
|
eb084a545226b1efbf2d4c48858b560b8647d574 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH7/EX7.12/Ex7_12.sce | bd73dac924b86f0b54174eb651482db502c5b28c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Ex7_12.sce | //Example 7.12
clc
clear
function [f] = fun1(x,y)
f = 1 / (x+y);
endfunction
x = 1:0.25:2;
y = x;
m = length(x);
n = length(y);
del = %nan*ones(m,n);
for j = 1:n
for i = 1:m
del(i,j) = fun1(x(i),y(j));
end
end
hx = x(2) - x(1);
for i = 1:m
I = del(i,1);
for j = 2:n-1
I = I + 2*del(i,j);
end
Itrap1(i) = hx/2 * (I+del(i,n));
end
Itrap1 = round(Itrap1*10^4)/10^4;
hy = y(2) - y(1);
Itrap2 = Itrap1(1)
for i = 2:n-1
Itrap2 = Itrap2 + 2* Itrap1(i);
end
Itrap2 = round(hy/2*(Itrap2+Itrap1(m))*10^4)/10^4;
disp(Itrap2,"I = ")
|
5222ba0dd88a1c6c8db3153741ee50f7a4797bb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH21/EX21.3/Example3.sce | 59adfd2ae1d297c9c556680a1a16df1a5c527d89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,560 | sce | Example3.sce | clear
flag=1
mode(-1)
clc
printf("Example 3 : Show the method of using eval in the shellscripts \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\n1. Here all instructions are preloaded in the form of a demo\n\nInitially the whole perl script is displaying and then \n the result of the same can be seen in the command line interpreter.\n\n2. PLEASE MAKE SURE THAT THE PERLSCRIPT INTERPRETER\nEXISTS IN THE SYSTEM\nOR THE COMMAND WOULD NOT WORK \n\n3. PRESS ENTER AFTER EACH COMMAND to see its RESULT\n\n4. PRESS ENTER AFTER EACH RESULT TO GO TO THE NEXT COMMAND\n")
halt('.............Press [ENTER] to continue.....')
halt("")
clc
printf("\tUNIX SHELL SIMULATOR(DEMO VERSION WITH PRELOADED COMMANDS)\n\n\n")
halt('')
clc
printf("\n# Enter the name of the shellscript file whichever you desire \n\n")
nam=input('$ cat ','s')
halt(' ')
i=0
i=i+1;f(i)='#!/bin/sh'
i=i+1;f(i)='# Script: dentry2.sh - Uses eval and shell functions'
i=i+1;f(i)='#'
i=i+1;f(i)='trap '+ascii(39)+'echo '+ascii(34)+'Program interrupted'+ascii(34)+';exit'+ascii(39)+' HUP INT TERM'
i=i+1;f(i)='. mainfunc.sh # Invokes functions valid_string() and anymore ()'
i=i+1;f(i)=''
i=i+1;f(i)='prompt1='+ascii(34)+'Employee id : '+ascii(34)+' ; prompt2='+ascii(34)+'Name : '+ascii(34)+'; prompt3='+ascii(34)+'Designation : '+ascii(34)+''
i=i+1;f(i)='prompt4='+ascii(34)+'Department : '+ascii(34)+' ; prompt5='+ascii(34)+'Date birth : '+ascii(34)+';prompt6='+ascii(34)+'Basic pay : '+ascii(34)+''
i=i+1;f(i)='rekord='
i=i+1;f(i)=''
i=i+1;f(i)='flname=`valid_string '+ascii(34)+'Enter the output filename: '+ascii(34)+' 8`'
i=i+1;f(i)='while true ; do'
i=i+1;f(i)=' while [ ${x:=1} -le 6 ] ; do # x first set to 1'
i=i+1;f(i)=' eval echo \$prompt$x '+ascii(39)+'\\c'+ascii(39)+' 1>&2'
i=i+1;f(i)=' read value$x'
i=i+1;f(i)=' rekord='+ascii(34)+'${rekord}`eval echo \\$value$x`|'+ascii(34)+''
i=i+1;f(i)=' x=`expr $x + 1`'
i=i+1;f(i)=' done'
i=i+1;f(i)=' echo '+ascii(34)+'$rekord'+ascii(34)+''
i=i+1;f(i)=' anymore '+ascii(34)+'More entries to add'+ascii(34)+' 1&>2 || break'
i=i+1;f(i)='done > $flname'
i=i+1;f(i)=''
i=i+1;f(i)='anymore() {'
i=i+1;f(i)=' echo '+ascii(34)+'\n$1 ?(y/n) : \c'+ascii(34)+' 1>&2'
i=i+1;f(i)=' read response'
i=i+1;f(i)=' case '+ascii(34)+'$response'+ascii(34)+' in'
i=i+1;f(i)=' y/Y) echo 1>&2 ; return 0 ;;'
i=i+1;f(i)=' *) return 1 ;;'
i=i+1;f(i)=' esac'
i=i+1;f(i)='}'
n=i
for i=1:n
printf("%s\n",f(i))
end
halt(' ')
clc
i=0
i=i+1;f(i)='@echo off'
i=i+1;f(i)='set /P flname=Enter the output filename: '
i=i+1;f(i)='if exist %flname% del %flname%'
i=i+1;f(i)='set response=y'
i=i+1;f(i)=':loop'
i=i+1;f(i)='if /I '+ascii(34)+'%response%'+ascii(34)+'=='+ascii(34)+'n'+ascii(34)+' goto endloop'
i=i+1;f(i)='echo.'
i=i+1;f(i)='set /P eid=Employee id : '
i=i+1;f(i)='set /P nam=Name : '
i=i+1;f(i)='set /P desig=Designation : '
i=i+1;f(i)='set /P dept=Department : '
i=i+1;f(i)='set /P dob=Date birth : '
i=i+1;f(i)='set /P bas=Basic pay : '
i=i+1;f(i)='echo.'
i=i+1;f(i)='echo %eid%:%nam%:%desig%:%dept%:%dob%:%bas%:>>%flname%'
i=i+1;f(i)='set /P response=More entries to add ?(y/n) : '
i=i+1;f(i)='goto loop'
i=i+1;f(i)=':endloop'
i=i+1;f(i)='pause>NUL'
i=i+1;f(i)='echo.'
i=i+1;f(i)='echo.'
i=i+1;f(i)='set /p res2= Do you want to see the file %flname%?(y/n) : '
i=i+1;f(i)='if /I '+ascii(34)+'%res2%'+ascii(34)+'=='+ascii(34)+'n'+ascii(34)+' goto endd'
i=i+1;f(i)='echo $ cat %flname%'
i=i+1;f(i)='type %flname%'
i=i+1;f(i)=':endd'
i=i+1;f(i)='pause>NUL'
n=i
if getos()=='Linux' then
printf("\n\nPlease Switch to windows and then execute using the instructions\n\nThank You \n\n")
halt(' ')
exit
end
v=mopen(nam+'.sh.bat','wt')
for i=1:n
mfprintf(v,"%s\n",f(i))
end
mclose(v)
printf("\n# type the following command in the command line interpreter as soon as it appears")
printf(" \n %c %s.sh %c[ENTER]\n\n",ascii(34),nam,ascii(34))
printf("\n$ %s.sh #to execute the perlscript",nam)
halt(' ')
dos('start')
printf("\n\n\n")
halt(' ---------------->Executing ShellScript in Command Line Prompt<-------------- ')
printf("\n\n\n$ exit #To exit the current simulation terminal and return to Scilab console\n\n")
halt("........# (hit [ENTER] for result)")
//clc()
printf("\n\n\t\t\tBACK TO SCILAB CONSOLE...\nLoading initial environment')
sleep(1000)
mdelete(nam+'.sh.bat')
mdelete('emp.lst')
|
699aad61a8e768bbe6e8436aa61bb8728d7d22d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH4/EX4.15/4_15.sce | 4cf8e046a02d784e4bda3e647555feae130466e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | 4_15.sce | clc;
disp("Example 4.15");
Re= 5e5;
f= 0.046/(Re^0.2)
ratio= 1+(3.75*((f/2)^0.5));
disp("the ratio is ");
disp(ratio);
disp("Note: The value shown in the book is 1.1453.");
|
bc13d01ca9e8c6338a10e66a5654291627b9d33b | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH22/EX22.7/example7.sce | 21823c4f4e640f87401eb519b0474e7b6cfd0829 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | example7.sce | // find output voltage, closed loop time constant
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 22-7, page 865
clear;clc; close;
// Given data
Avol=100000;// open loop voltage gain
Vin=8;// input voltage in volts
C=1*10^-6;// capacitance in faraday
R=2*10^3;// resistance in ohms
T=10^-3;// in seconds
// Calculations
t=R*C*(1+Avol);// closed loop time constant in seconds
V=(T*Vin)/(R*C);// magnitude of negative output voltage at end of pulse in volts
disp("seconds",t,"time constant=")
disp("Volts",V,"output voltage=")
// Result
// Closed loop time constant is 200 seconds
// Output voltage at end of pulse is -4 volts |
892b0c31b8aca499bd97e97dd6d6be81aa631dd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH9/EX9.10/Ex9_10.sce | 66561dca242bef77e15d852868a3709a5f8825ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | Ex9_10.sce | clc;
re=22.3; //Ohm
Hfe=200;
Zbase=Hfe*re; //Ohm
R1=18000; //Ohm
R2=4700; //Ohm
Req=(R1*R2)/(R1+R2); //Ohm
Zin=(Req*Zbase)/(Req+Zbase); //Ohm
rc=1150; //Ohm
RL=5000; //Ohm
Ai=Hfe*((Zin*rc)/(Zbase*RL));
disp(' ',Ai,"Ai=");//The answers vary due to round off error
|
a070c5f112e978be1012bbdf30975d355a9c6a80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH6/EX6.12/Example6_12.sce | 1fd3639f1627606c788fa94fecb2c5d5d85d8a04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | Example6_12.sce | //chapter-6,Example6_12,pg 495
d1=1.03*10^-2//separation of plates
theta=(6/5)//deflection of electron(1(deg.)12'=(6/5)deg.)
l=2.2*10^-2//length of deflection plate
Vap=2.2*10^3//accelerating potential
x=tan((%pi/180)*(6/5))//x=(d/D)(conversion into radian)
Vp=(x/l)*d1*Vap*2//potential between plates
printf("potential between plates\n")
printf("Vp=%.2f V\n",Vp) |
3407b96f12225922b054137f9f2a87a38af31f59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH6/EX6.3/6_3.sce | aa803566e524712dea944d55eb0da96c7905d01d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 679 | sce | 6_3.sce | clc;
miO=0.2314;//kg/kmole
miN=0.7553;//kg/kmole
miA=0.0128;//kg/kmole
miC=0.0005;//kg/kmole
m_O=31.999;//kg/kmole
m_N=28.013;//kg/kmole
m_A=39.948;//kg/kmole
m_C=44.010;//kg/kmole
niO=miO/m_O;//kmole
niN=miN/m_N;//kmole
niA=miA/m_A;//kmole
niC=miC/m_C;//kmole
n=niO+niN+niA+niC;//kmole
V_O=niO*100/n;
V_N=niN*100/n;
V_A=niA*100/n;
V_C=niC*100/n;
p=1;
piO=V_O*p/100;
piN=V_N*p/100;
piA=V_A*p/100;
piC=V_C*p/100;
disp("analysis of volume of Oxygen, Nitrogen, Argon and Carbon dioxide respectively are");
disp(V_C,V_A,V_N,V_O);
disp("partial pressure of Oxygen, Nitrogen, Argon and Carbon dioxide respectively are");
disp(piC,piA,piN,piO);
|
5fcb05998f2e0f05813fc3c65553e56a913dcc84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH21/EX21.10/21_10.sce | 788f9a734ad4ae5c3ffa98dd6220d8ea3241c1c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | 21_10.sce | //Circular ring
//refer fig. 21.9 (a) and (b)
//Radius of gyration about centre of the ring
//Kz^2=(((R1^2)+(R2^2))/(2))+R2^2
//thus
Kz=sqrt(((1+0.75*0.75)/(2))+(0.75^2))
T=2*%pi*sqrt(1.34375/(9.81*0.75)) //sec
printf("\nT=%.3f sec",T)
|
cea268b05a6c6e8b57750e1ee2d34f3d96a13471 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH6/EX6.1/Ex6_1.sce | 85e17166f7e6c6e54e5804c661c552543ed2889f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,130 | sce | Ex6_1.sce | //Example 6_1
clc;
clear;
close;
format('v',5);
//given data :
I0=10;//micro A
Vz=100;//V
R=1.5;//kohm
V=45;//V
///Part(a)
I=V/R;//mA(neglecting diode threshold voltage)
//I=I0*(exp(38.4*V)-1)//Diode Current Equation
Vd=(log(I*10^-3/(I0*10^-6)+1))/38.4;//V(Diode Voltage)
//Now calculating I again
I=(V-Vd)/R;//mA
disp(I,"(a) If diode is forward biased, Current(mA)");
//Part(b)
Vd=-V;//V(for reverse polarity of battery)
I=-I0;//micro A
//Voltage drop across resistor neglected
disp(I,"(b) If battery inserted with reverse polarity, Current(micro A)");
//Part(c)
Vz=10;//V
//in forward direction behaviour will remain same
I=V/R;//mA(neglecting diode threshold voltage)
//I=I0*(exp(38.4*V)-1)//Diode Current Equation
Vd=(log(I*10^-3/(I0*10^-6)+1))/38.4;//V(Diode Voltage)
//Now calculating I again
I=(V-Vd)/R;//mA
disp(I,"(c) If diode is forward biased, Current(mA)");
//reverse direction
//load line dataV=30;//
V=30;//V
I=-30;//mA
V1=20;//V//from Load Line
Idash=I*V1/V;///A
disp(Idash,"(c) If battery inserted with reverse polarity, Current(mA)");
//Answer in the book is not accurate,
|
41a509885f1897f48f40c18d6cbd1eb01c9db7ab | 027ab3ee9ca52dffe8658db7b784a6e724959f64 | /Controle/01-introducao/02-circuitoRC_1ordem_MF.sce | 89e1be3f4218135627445b1939e7cca2c4b84d75 | [
"MIT"
] | permissive | davidolivaa/ufabc-ieee-orion-adcs | 17c5671fd1dedc4059b6aa4562874f504ac1ccad | 64a64fb3f69cfb95f56b86ee8fcb66d56e66c7ea | refs/heads/main | 2023-08-15T05:09:53.420505 | 2021-09-12T19:40:16 | 2021-09-12T19:40:16 | 369,026,218 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,488 | sce | 02-circuitoRC_1ordem_MF.sce | //circuito RC em malha aberta
//valores do resistor e capacitor
R = 20e3; C = 10e-6;
//funçao poly cria polinomios a partir de 3 parametros
numerador = poly([1], 's', 'c')
denominador = poly([1 R*C], 's', 'c')
//funçao syslin vai criar a funçao de transferencia em malha aberta
P_s = syslin('c', numerador, denominador)
disp('FT malha aberta', P_s)
//cria a funçao de transferencia do controlador
C_s = poly([3], 's', 'c')
//cria a funçao de transferencia do sensor
H_s = poly([1], 's', 'c')
//cria a funçao de transferencia em malha fechada
G1_s = (C_s*P_s)/(1+C_s*P_s*H_s)
disp('FT malha fechada', G1_s)
// tempos criados com a funçao linspace que cria vetores, esses tempos serao usados como parametros para encontrar a resposta ao degrau
t = linspace(0, 1, 1e3); t1 = linspace(-0.2, 1, 1e3) // degrau unitario
y_degrau = [0*t1(t1<=0)t1(t1>0)./t1(t1>0)] //cria o grafico para o degrau, 0 quando t1 é menor que 0 e t1 quando é maior
y_sistema = csim('step', t, G1_s) // funçao que calcula a resposta ao degrau
scf(1); clf(1); //comando que faz os dois graficos ficarem na mesma figura
plot(t1, y_degrau, 'r-', 'LineWidth', 3); plot(t, y_sistema, 'b-', 'LineWidth', 3)
title "Circuito RC em malha fechada" fontsize 5
xlabel "$tempo (s)$" fontsize 5
ylabel "$V \ (V)$" fontsize 5
L=legend(['degrau unitario', 'resposta ao degrau'], 'font_size', 4, 4)
L.font_size=4
set(gca(), 'font_size', 5)
set(gca(), 'grid', [1 1])
set(gca(), 'data_bounds', [-0.01 -0.01; 1 1.1])
|
ee51b6749b244b7dbfab1a45f1cef99bc2126764 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH18/EX18.04/18_04.sce | d0adb3b574e25efc078260ed0e13ac01dafecf9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | 18_04.sce | //Problem 18.04: In the inverting amplifier of Figure 18.5, Ri = 1 kohm and Rf = 2 kohm. Determine the output voltage when the input voltage is: (a)+0.4 V (b) -1.2 V
//initializing the variables:
Rf = 2000; // in ohms
Ri = 1000; // in ohms
Vi1 = 0.4; // in Volts
Vi2 = -1.2; // in Volts
//calculation:
Vo1 = -1*Rf*Vi1/Ri
Vo2 = -1*Rf*Vi2/Ri
printf("\n\n Result \n\n")
printf("\n output voltage when the input voltage is 0.4V is %.1f V and when the input voltage is -1.2V is %.1f V",Vo1, Vo2) |
f359e5deb1a2c51886c5209706fb893fff636eda | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH11/EX11.5/EX11_5.sce | 666505c5e0dc990fd596f218a55df7db4d3213a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,396 | sce | EX11_5.sce | //Example11.5 // determine the analog output voltage
clc;
clear;
close;
Vref = 12 ;
BI = 101 ; BI = 111 ; BI = 011 ; BI = 001 ; BI = 100 ;
Rf = 40*10^3 ;
R = 0.25*Rf ;
// The output voltage of given binary weighted resistor D/A converter is defined as
// Vo = -(Rf*Vref/R)*(2^0*b0+2^-1*b1+2^-2*b2) ;
// Vo = -(Rf*Vref/R)*(b0+2^-1*b1+2^-2*b2) ;
// for the given value Rf,R and Vref the output voltage
// Vo = -48*(b0+2^-1*b1+2^-2*b2) ;
// for the binary input 101 analog output is
b2 = 1 ;
b1 = 0 ;
b0 = 1 ;
Vo = -48*(b0+2^-1*b1+2^-2*b2) ;
disp('for the binary input 101 analog output is = '+string(Vo)+ ' V ');
// for the binary input 111 analog output is
b2 = 1 ;
b1 = 1 ;
b0 = 1 ;
Vo = -48*(b0+2^-1*b1+2^-2*b2) ;
disp('for the binary input 111 analog output is = '+string(Vo)+ ' V ');
// for the binary input 011 analog output is
b2 = 0 ;
b1 = 1 ;
b0 = 1 ;
Vo = -48*(b0+2^-1*b1+2^-2*b2) ;
disp('for the binary input 011 analog output is = '+string(Vo)+ ' V ');
// for the binary input 001 analog output is
b2 = 0 ;
b1 = 0 ;
b0 = 1 ;
Vo = -48*(b0+2^-1*b1+2^-2*b2) ;
disp('for the binary input 001 analog output is = '+string(Vo)+ ' V ');
// for the binary input 100 analog output is
b2 = 1 ;
b1 = 0 ;
b0 = 0 ;
Vo = -48*(b0+2^-1*b1+2^-2*b2) ;
disp('for the binary input 100 analog output is = '+string(Vo)+ ' V');
|
9f4ff33d576be99d49a56337091b42113f9d3b32 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_Dense/hess.sce | fcd084e0c036115fd35ace404ca5652bcbaa949c | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | hess.sce | // Function Name: hess
// Returns the Upper Hessenberg decomposition of square input matrix
// Calculating the hess avlue
inputMat= [3, 1, 1;1,2,2;1,2,2];
result = armaDenseMat("hess",inputMat)
|
b9aa86ff19e17e6c158d5524d1ede5bd3240ea08 | 3aecc0a856e5ab896077f26d338574613e42a223 | /src/30.campionamento_stratificato-stima-_integrale.sci | 8bd8d8b768c284487c133df94f04cdbd40588c81 | [] | no_license | wmotti/simulation | 9ebed2818f83a1ba864399ee3dc664e5303e3983 | ec4cce2ce180f947edf0ed9f501799d06b8a0416 | refs/heads/master | 2020-03-28T08:10:23.668854 | 2018-09-08T16:14:42 | 2018-09-08T16:14:42 | 147,949,219 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sci | 30.campionamento_stratificato-stima-_integrale.sci | n=4;
function [y]=g(u1,u2,u3,u4)
y=(u1+u2)/(1+u3-u4)
endfunction
function [y]=tn()
U=grand(4,1,'def');
y=-log(prod(U));
endfunction
function [y]=simG()
vs=gsort(grand(n-1,1,'def'),'g','i');
vs($+1)=1;
t=tn();
us(1)=exp(-t*vs(1));
for j=[2:n],
us(j)=exp(-t*(vs(j)-vs(j-1)));
end;
y=g(us(1),us(2),us(3),us(4))
endfunction
function [y]=repeat(n,G)
for i=[1:n]
y($+1)=G();
end
endfunction
m=1000;
dati=repeat(m,simG);
mean(dati)
variance(dati)
|
97cbe37650626b12de5b4beb1d4bb8e31a93d750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH8/EX8.m.4/ExaMisc8_4.sce | 1deb6466e02f719a2e7ca975d6c36714e3462dd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | ExaMisc8_4.sce | //Exa Misc 8.4
clc;
clear;
close;
//given data
format('v',5);
L=40;//in mH
C1=100;//in pF
C2=500;//in pF
Vout=10;//in volt
fo=1/(2*%pi*sqrt(L*10^-3*C1*10^-12*C2*10^-12/(C1*10^-12+C2*10^-12)))
disp(fo*10^-3,"Frequency of oscillation (in KHz) :");
Vf=Vout*C1/C2;//in volt
disp(Vf,"Feedback voltage in volt :");
Gain=C2/C1;//unitless
disp(Gain,"Minimum Gain is ");
//if Gain=10
Gain=10;//given
C1=C2/Gain;//in pF
disp(C1,"For a gain of 10 C1 in pF is :");
fo=1/(2*%pi*sqrt(L*10^-3*C1*10^-12*C2*10^-12/(C1*10^-12+C2*10^-12)))
disp(fo*10^-3,"New frequency of oscillation (in KHz) :");
|
74f9596b6e177a1edffbe6ac3ebd146cb43b11c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH11/EX11.3/11_3.sce | 23028ebc60e9708706320a55ff5fd95056a63ce9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | 11_3.sce | clear
clc
//initialisation of variables
V= 150 //ft^3/sec
A1= 750 //r.p.m
di= 21 //in
do= 30 //in
v= 50 //ft/sec
A= 70 //degrees
w= 4//in
p= 30 //per cent
p1= 25 //per cent
sv= 12.8 //ft^3/lb
g= 32.2 //ft/sec^2
//CALCULATIONS
u= A1*2*%pi*di/(24*60)
u1= A1*2*%pi*do/(24*60)
f1= V/(%pi*(do/12)*(1/3))
w1= u1-f1*cotd(A)
v1= sqrt(f1^2+w1^2)
P= (u1^2+v^2-(f1^2/(sind(A))^2))/(2*g)
h= 30*v1^2/(100*2*g)
Nh= v1^2/(20*2*g)
Prt= P+Nh
W= u1*w1/g
e= Prt*100/W
Power= Prt*V/(sv*550)
//RESULTS
printf('Total pressure rise = %.1f ft of air',Prt)
printf('\n manometric efficiency = %.1f percent',e)
printf ('\n Power = %.2f hp ',Power)
//The answer is a bit different due to rounding off error in textbook
|
cd1b11f2c54002b5269b92e65ca3d7d5cf799def | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_logical.sci | e4c3d10ce880c50b0dac07b4ac31bae8987590c4 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sci | moc_logical.sci | function y = moc_logical (x)
//Convert x to a logical value
// Calling Sequence
// y=moc_logical(x)
// Parameters
// y: boolean vector or matrix
// A:vector or matrix
// Description
// Convert x to a boolean values
//
// Authors
// H. Nahrstaedt - 2014
[nargout,nargin]=argn(0);
if (nargin == 1)
if (moc_islogical (x) | isempty (x))
y = x;
elseif (moc_isnumeric (x))
y = x ~= 0;
else
error (sprintf("logical not defined for type %d", type (x)));
end
else
error ("y = logical (x)");
end
endfunction
|
a0331cf0d35abd7873b9eae9899810ec9f1682ab | 6be22cc470807d3b2d9a8042a18ccd96070d00ae | /propulsion/turbojet_engine/hw7_p2.sce | 73695aa708732739a7faeffdcb702a9eac246a89 | [] | no_license | ordinatorix/scilab_projects | a8e5096ddd0c343559bb06c1c05c0926e4f13fdc | 1f227a2bdf8e2ae7a7f1fa42788e9a346710fa40 | refs/heads/master | 2022-02-27T14:52:47.802082 | 2016-05-06T21:09:07 | 2016-05-06T21:09:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,482 | sce | hw7_p2.sce | // HW 7 P 2----------------------
// Clear and Close Everything
clear; clc; close; close; close; close;
// Independent Parameters ------------------------------------------------
gamma_a = 1.4;
gamma_e = 1.3;
R = 287; // (j/(kg*K))
M = 1.8;
P_a = 12112; // (Pa)
T_a = 216.650; // (K)
T_max = 1500; // (K)
h_c = 43124000; // (j/kg)
FA_st = 0.06;
T_max_ab = 2000; // (K)
P_e = P_a; // (Pa)
eff_dif = 0.9;
eff_comp = 0.9;
eff_burn = 0.98;
eff_turb = 0.92;
eff_ab = 0.95;
eff_nozz = 0.98;
r_c = [2:2:60];
r_b = 0.97;
r_ab = 0.97;
// Dependent Parameters --------------------------------------------------
Po_3 = zeros(1,30); // (Pa)
To_3_i = zeros(1,30); // (K)
To_3_r = zeros(1,30); // (K)
W_c_in = zeros(1,30); //(W)
FA_b = zeros(1,30);
eq_ratio = zeros(1,30);
W_t_out = zeros(1,30); // (W)
Po_4 = zeros(1,30); // (Pa)
To_5_i = zeros(1,30); // (K)
To_5_r = zeros(1,30); // (K)
Po_5 = zeros(1,30); // (Pa)
Po_6 = zeros(1,30); // (Pa)
FA_ab = zeros(1,30);
//To_6_r = zeros(1,30); // (K)
To_7_r = zeros(1,30); // (K)
T_7_i = zeros(1,30); // (K)
T_7_r = zeros(1,30); // (K)
u_e = zeros(1,30); // (m/s)
M_e = zeros(1,30);
A_ratio = zeros(1,30);
TSFC = zeros(1,30); // (kg/(N*s))
I = zeros(1,30); // (N*s/kg)
eff_therm = zeros(1,30);
eff_propul = zeros(1,30);
eff_overall = zeros(1,30);
// Calculate specific heat at constant pressure---------------------------
cp_a = (gamma_a/(gamma_a-1))*R;
cp_e = (gamma_e/(gamma_e-1))*R;
// Ambient conditions-----------------------------------------------------
Po_a = P_a*(1+(gamma_a-1)/2*M^2)^(gamma_a/(gamma_a-1));
To_a = T_a*(1+(gamma_a-1)/2*M^2);
u = M*sqrt(gamma_a*R*T_a);
// Diffuser Stage (a-2)---------------------------------------------------
To_2_r = To_a;
To_2_i = eff_dif*(To_2_r-T_a)+T_a;
Po_2 = P_a*(To_2_i/T_a)^(gamma_a/(gamma_a-1));
// Compressor Stage-(2-3)-------------------------------------------------
Po_3 = r_c.*Po_2;
To_3_i = r_c.^((gamma_a-1)/gamma_a).*To_2_r;
To_3_r = ((To_3_i-To_2_r)./eff_comp)+To_2_r;
W_c_in = cp_a.*(To_3_r-To_2_r);
// Burner Stage-(3-4)-----------------------------------------------------
// Verify that FA_b <= FA_st
FA_b = ((T_max./To_3_r)-1)./(((eff_burn.*h_c)./(cp_e.*To_3_r))-(T_max./To_3_r));
eq_ratio = FA_b./FA_st;
for i = 1:30,
if eq_ratio <= 1 then
To_4_r = T_max;
else
To_4_r(i) = 1.0./(1+FA_st).*((eff_burn.*h_c./cp_e)+To_3_r(i));
end,
end
Po_4 = r_b.*Po_3;
// Turbine Stage-(4-5)----------------------------------------------------
W_t_out = W_c_in;
To_5_r = To_4_r-(W_t_out./((1+FA_b).*cp_e));
To_5_i = To_4_r-((To_4_r-To_5_r)./eff_turb);
Po_5 = Po_4.*(To_5_i/To_4_r).^(gamma_e./(gamma_e-1));
// Afterburner Stage-(5-6)------------------------------------------------
Po_6 = r_ab.*Po_5;
FA_ab = ((1+FA_b).*(T_max_ab-To_5_r))./((eff_ab.*h_c/cp_e)-T_max_ab);
eq_ratio = (FA_b+FA_ab)./FA_st;
for i = 1:30,
if eq_ratio <= 1 then
To_6_r = T_max_ab;
else
FA_ab(i) = FA_st-FA_b(i);
To_6_r(i) = (eff_ab.*h_c.*FA_ab(i)+cp_e.*(FA_b(i)+1).*To_5_r(i))./(cp_e.*(FA_st+FA(i)+1));
end,
end
// Nozzle Stage -(6-7)----------------------------------------------------
To_7_r = To_6_r;
Po_7 = Po_6;
P_7 = P_e;
T_7_i = To_6_r.*(P_7./Po_6).^((gamma_e-1)./gamma_e);
T_7_r = To_6_r-(eff_nozz.*(To_6_r-T_7_i));
u_e = sqrt(2.*eff_nozz.*(gamma_e./(gamma_e-1)).*R.*To_6_r.*(1-(P_a./Po_6).^((gamma_e-1)./gamma_e)));
M_e = u_e./sqrt(gamma_e.*R.*T_7_r);
A_ratio = 1.0./M_e.*((2/(gamma_e+1)).*(1+((gamma_e-1)./2.0).*M_e.^2)).^((gamma_e+1)./(2.0.*(gamma_e-1)));
// Calculate Specific Thrust; TSFC; and Efficiencies;---------------------
I = ((1+FA_b+FA_ab).*u_e-u);
TSFC = (FA_b+FA_ab)./I;
eff_therm = ((1+FA_b+FA_ab).*u_e.^2-u.^2)./(2.0.*(FA_b+FA_ab).*h_c);
eff_propul = (I.*u)./((1+FA_b+FA_ab).*(u_e.^2.0./2)-(u.^2.0./2));
eff_overall = eff_therm.*eff_propul;
// Plot Graphs------------------------------------------------------------
f0 = scf(5); //creates figure with id==0 and make it the current one
f1 = scf(6); //creates figure with id==1 and make it the current one
f2 = scf(7);
f3 = scf(8);
f4 = scf(9);
// Plot Specific Thrust---------------------------------------------------
scf(f0);
subplot(311);
plot(r_c,I, 'r');
xtitle("Specific Thurst with Afterburner VS Compressor Pressure Ratio","r_c","Specific Thurst(N*s/Kg)");
//a=get("current_axes")
//a.data_bounds=[1,500;6,1220];
// plot TSFC--------------------------------------------------------------
subplot(312);
plot(r_c,TSFC, 'g');
xtitle("TSFC with Afterburner VS Compressor Pressure Ratio","r_c","TSFC(Kg/N*s)");
// plot area ratio--------------------------------------------------------
subplot(313);
plot(r_c,A_ratio, 'r');
xtitle("Area Ratio with Afterburner VS Compressor Pressure Ratio","r_c","Area Ratio");
// Plot Temperature Across TurboJet---------------------------------------
scf(f1);
subplot(111);
plot(r_c,To_3_r, 'b');
plot(r_c,To_5_r, 'c');
plot(r_c,T_7_r, 'm');
xtitle("Stagnation Temperature with Afterburner VS Compressor Pressure Ratio","r_c","Temperature (K)");
leg=legend(['To_3_r';'To_5_r';'T_7_r'],[4]);
//a=get("current_axes")
//a.data_bounds=[1,2300;6,2800];
// Plot Temperature Across TurboJet---------------------------------------
scf(f2);
subplot(111);
plot(r_c,Po_3, 'b');
plot(r_c,Po_4, 'c');
plot(r_c,Po_5, 'm');
xtitle("Stagnation Pressure with Afterburner VS Compressor Pressure Ratio","r_c","Pressure (Pa)");
leg=legend(['Po_3';'Po_4';'Po_5'],[4]);
//a=get("current_axes")
//a.data_bounds=[1,2300;6,2800];
// plot efficiencies------------------------------------------------------
scf(f3);
subplot(111);
plot(r_c,eff_therm, 'r');
plot(r_c,eff_propul, 'b');
plot(r_c,eff_overall, 'g');
xtitle("Efficiencies with Afterburner VS Compressor Pressure Ratio","r_c","Effeciency");
leg=legend(['Thermal Efficiency';'Propulsive Efficiency';'Overall Efficiency'],[4]);
// Plot Exit Mach number--------------------------------------------------
scf(f4);
subplot(111);
plot(r_c,M_e, 'r');
xtitle("Exit Mach Number with Afterburner VS Compressor Pressure Ratio","r_c","M");
|
4f138bd552baad34bbf46ec8a52b731567b7cf85 | 717ddeb7e700373742c617a95e25a2376565112c | /40/CH10/EX10.5b/Exa_10_5b.sce | 7a3f04ee9e31e9b4ce3fa8f4a7383775494564b8 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 718 | sce | Exa_10_5b.sce | //Fir high pass filter design by frequency sampling
z=%z;
N=10;
magHk=[0 0 0 1 1 1 1 1 0 0];
k=[0:5 -4:-1:-1];
fik=(-%pi*k'*(N-1)/N)+(0.5*%pi);
for i=1:length(fik)
H1k(i)=magHk(i)*exp(%i*fik(i));
end
H1n=(dft(H1k,1));
H2k=H1k;
H2k(3)=0.5*%e^(-%i*1.3*%pi);
H2k(9)=0.5*%e^(%i*1.3*%pi);
H2n=(dft(H2k,1));
H1Z=0;H2Z=0;
for i=1:length(H1n)
H1Z=H1Z+H1n(i)*z^(-i);
end
for i=1:length(H2n)
H2Z=H2Z+H2n(i)*z^(-i);
end
F=0:0.01:1;
F1=0:0.1:0.9;
H1F=abs(horner(H1Z,exp(%i*2*%pi*F')));
H2F=abs(horner(H2Z,exp(%i*2*%pi*F')));
a=gca();
plot2d(F1,magHk);
plot2d(F,H2F);
plot2d(F,H1F);
xlabel('Digital Frequency F');
ylabel('magnitude');
xtitle('Low pass filter using frequency sampling'); |
8474c11ffaf11dcc1fee08eb8b22a7d858b63d78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH3/EX3.20/EX3_20.sce | fb700dcea585cd22d7e5e77217532647840498c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | EX3_20.sce | clear;
clc;
printf("\nEx3.20\n");
//page no.-135
//given
a=10^-10;........//width of box in m
h=6.625*10^-34;....//planck's constant in J-s
m=9.1*10^-31;......//mass of electron in kg
n=2;..............//quantum no.
e=1.6*10^-19;.....//charge
p=n*h/2*a.........//momentum in Kg*m/s
printf("\nmomentum is 6.625*10^-24 Kg*m/s\n");
E=(n^2*h^2)/(8*m*a^2*e).....//energy in eV
printf("\nenergy is 150.8 eV\n");
|
ce88c22eab9a79f68b895f030c7de2fd3e333ad9 | ea4cf3aee5b04d1e41192e211d6a41f7ef08ed3f | /arithmetic.tst | 8fdf5f2c4b604e398105ad701fb4ec6f293ffe26 | [] | no_license | 0xsanchit/HackComputer | dfb97c3ce29de6c6b9b472f9ecf4971914e21221 | 7912f1091fabd2c8a671732c16db7529c8e5ab82 | refs/heads/master | 2023-06-17T17:28:37.319421 | 2021-07-18T11:40:15 | 2021-07-18T11:40:15 | 387,161,569 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,179 | tst | arithmetic.tst | /*
PROGRAM 1 :
//HLL
d = a + b - c ;
//endHLL
d : RAM16K[19]
a : RAM16K[16]
b : RAM16K[17]
c : RAM16K[18]
*/
load HackComputer.hdl,
output-file arithmetic.out,
output-list RAM64[16]%D1.10.1 RAM64[17]%D1.10.1 RAM64[18]%D1.10.1 RAM64[19]%D1.10.1 ;
ROM32K load arithmetic.hack ,
set RAM64[16] 200 , //16th memory assigned with 'a'. a=200
set RAM64[17] 300 , //17th memory assigned with 'b'. b=300
set RAM64[18] 400 , //18th memory assigned with 'c'. c=400
set reset 1,
tick, tock ;
set reset 0 ,
repeat 10 {
tick, tock ,
}
output; //print concerned RAM data as output
set RAM64[16] 111 , //16th memory assigned with 'a'. a=111
set RAM64[17] 222 , //17th memory assigned with 'b'. b=222
set RAM64[18] 333 , //18th memory assigned with 'c'. c=333
set reset 1,
tick, tock ;
set reset 0 ,
repeat 10 {
tick, tock ,
}
output; //print concerned RAM data as output
set RAM64[16] 120 , //16th memory assigned with 'a'. a=120
set RAM64[17] 210 , //17th memory assigned with 'b'. b=210
set RAM64[18] 333 , //18th memory assigned with 'c'. c=333
set reset 1,
tick, tock ;
set reset 0 ,
repeat 10 {
tick, tock ,
}
output; //print concerned RAM data as output
|
1d60052fb1d9e0c0b7e5488671ae81c2ebcab56b | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH8/EX8.09/8_09.sce | f2de249c942fd51ad237c995bb96dbde5abf64ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | 8_09.sce | //Loss Coefficient//
pathname=get_absolute_file_path('8.09.sce')
filename=pathname+filesep()+'8.09-data.sci'
exec(filename)
//Average velocity (in ft/s):
V2=4/%pi*Q/D^2*144
//Reynolds number:
Re=V2*D/v/12
//For this value,
f=0.013;
//Power law exponent:
n=-1.7+1.8*log10(Re)
//Value of V/U:
v_u=2*n^2/(n+1)/(2*n+1)
//Value of alpha:
alpha=(1/v_u)^3*2*n^2/(3+n)/(3+2*n)
//Loss Coefficient for a square edged entrance:
K=2*g*h/V2^2-f*L/D*12-alpha;
printf("\n\nRESULTS\n\n")
printf("\n\nLoss Coefficient for a square edged entrance: %.3f \n\n",K)
|
1b585808baae60be7e55c651d8c51e16ca14acbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH6/EX6.10.5/exa6_10_5.sce | 34107206db6e4243a0599c78a6ecad88afb6a8e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,015 | sce | exa6_10_5.sce | //Caption:calculate_Wn,zeta,Wd,tp,Mp
//example 6.10.5
//page 174
//given G(s)=20/(s+1)*(s+2)
clc;
s=%s;
G=syslin('c',[20/((s+1)*(s+5))])//G(s):transfer function in forward path
H=1;//backward path transfer function
a=G/.H //closed loop transfer function
b=denom(a)
c=coeff(b)
//Wn^2=c(1,1)
Wn=sqrt(c(1,1))//natural frequency
disp(Wn,"natural frequency,Wn=")
//2*zeta*Wn=c(1,2)
zeta=c(1,2)/(2*Wn)//damping ratio
disp(zeta,"damping ratio,zeta=")
Wd=Wn*sqrt(1-zeta^2)//damped frequency
disp(Wd,"damping ratio,Wd=")
Tp=%pi/Wd//peak time
disp(Tp,"peak time,Tp=")
Mp=(exp(-(zeta*%pi)/sqrt(1-zeta^2)))*100//max. overshoot
disp(Mp,"max overshoot,Mp=")
t=(2*%pi)/(Wn*sqrt(1-zeta^2))//period of oscillation
disp(t,'time at which first overshoot occurs=')
disp(t,"period of oscillation,t=")
ts=4/(zeta*Wn)//settling time
disp(ts,"settling time,ts=")
N=Wd/(2*%pi)*ts//no. of oscillations completed before reaching steady state
disp(N,"no. of oscillations completed before reaching steady state,N=") |
b333eb0f695a90e520fcb76b751bd73b4d7665e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH6/EX6.4/exa_6_4.sce | 6169760f50d70e3ae67bd465f934a7b8fcc3a6f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | exa_6_4.sce | // Exa 6.4
clc;
clear;
close;
// Given data
P=100;// in ohm
Q=10;// in ohm
S=46;// in ohm
R= P*S/Q;//in ohm
disp(R,"Unknown resistance in ohm")
|
8c7172db7da4769e9b9027cc5698a9f8eb3cbc00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH8/EX8.5/Ch08Ex5.sce | edd78ae727ae16c4840f931a03efa9cccdf12a87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | Ch08Ex5.sce | // Scilab code Ex8.5 Page:242 (2006)
clc; clear;
chiA_He = 1.9e-06; // Atomic susceptibility of helium, cm cube per mole
chiA_Cu = 18e-06; // Atomic susceptibility of Copper, cm cube per mole
Q_sp = 1.77e+07; // Specific charge of an electron, emu
Ne = 9650; // Charge of a gram ion, emu
Z_He = 2; // Atomic number of helium atom
Z_Cu = 29; // Atomic number of copper atom
R_He = sqrt(abs(-6*chiA_He/(Ne*Z_He*Q_sp))); // Magnetic susceptibility of helium atom, cgs units
R_Cu = sqrt(abs(-6*chiA_Cu/(Ne*Z_Cu*Q_sp))); // Magnetic susceptibility of copper atom, cgs units
printf("\nAtomic radius of helium = %4.2e cm", R_He);
printf("\nAtomic radius of copper = %4.2e cm", R_Cu);
// Result
// Atomic radius of helium = 5.78e-009 cm
// Atomic radius of copper = 4.67e-009 cm
|
b19c5ccaf91152054440a04a4be7958dee9e4d5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH8/EX8.1/Example_8_1.sce | 99cb72ca17b7b80f6824238eb78d0667b06fc3a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,106 | sce | Example_8_1.sce | clc
clear
A=[-4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0
0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0
0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0 0 0
1 0 0 0 0 0 0 -4 1 0 0 0 0 0 1 0 0 0 0 0 0
0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0 0
0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0 0
0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0 0
0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0 0
0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1 0
0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0 0 1
0 0 0 0 0 0 0 1 0 0 0 0 0 0 -4 1 0 0 0 0 0
0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0 0
0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0 0
0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1 0
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 -4 1
0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 -4 ]
B=[0
0
0
0
0
0
-100
0
0
0
0
0
0
-100
0
0
0
0
0
0
-100]
X=A\B
for i=1:7
T=[i, X(i,1), X(i+7,1),X(i+14, 1 )]
disp(T)
end |
992585fa4bb3d18763843c38b50577a28e5442b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.40/Ex4_40.sce | 282e5724ffe1662fbd442229261491452550f1be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Ex4_40.sce | //pagenumber 224 example 40
clear
vce=12;//volt
ic=2*10^-3;//ampere
vcc=24;//volt
vb=0.7;//volt
beta1=50;
colres=4.7*10^3;//ohm
//re
re=((vcc-vce)/(ic))-colres;
disp("re = "+string((re))+" ohm");
//r1
ib=ic/beta1;
v1=ib*3.25*10^3+vb+(ib+1.5*10^3);
r1=3.25*18*10^3/2.23;
disp("r1 = "+string((r1))+" ohm");
//r2
r2=26.23*2.23*10^3/(18-2.3);
disp("r2 = "+string((r2))+" ohm");
|
f81984976ceb05a26e36ab5e08893933b9b441e0 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /macros/distfun_fstat.sci | d64e65a7e7616caea0bb1b759e47ff2a412222d5 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,169 | sci | distfun_fstat.sci | // Copyright (C) 2012 - Prateek Papriwal
// Copyright (C) 2012 - Michael Baudin
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
function [M,V] = distfun_fstat(varargin)
[lhs,rhs] = argn()
apifun_checkrhs("distfun_fstat",rhs,2)
apifun_checklhs("distfun_fstat",lhs,1:2)
v1 = varargin(1)
v2 = varargin(2)
//
// Check type
apifun_checktype("distfun_fstat",v1,"v1",1,"constant")
apifun_checktype("distfun_fstat",v2,"v2",2,"constant")
// Check content
tiniest=number_properties("tiniest")
apifun_checkgreq("distfun_fstat",v1,"v1",1,tiniest)
apifun_checkgreq("distfun_fstat",v2,"v2",2,tiniest)
[v1,v2] = apifun_expandvar(v1,v2)
M=ones(v1)*%nan
i=find(v2>2)
M(i)=v2(i)./(v2(i)-2)
V=ones(v1)*%nan
i=find(v2>4)
V(i)=(2.*v2(i).^2.*(v1(i)+v2(i)-2))./(v1(i).*(v2(i)-2).^2.*(v2(i)-4))
endfunction |
495d9f71e01fec56e1a82be4e78e3bfd2b26dd43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.12.b/solution10_12.sce | cd03358d26158af19c13df565c8be4b15edef663 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,683 | sce | solution10_12.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution10_12.sce')
//Obtain path of data file
datapath = path + filesep() + 'data10_12.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the maximum spring force P (N)
P = m * 9.81
//Calculate the Wahl Factor K
K = (((4 * C) - 1)/((4 * C) - 4)) + (0.615/C)
//Assume the wire diameter to be 1mm d
d = 1
//Calculate the shear stress in the spring tau (N/mm2)
tau = (K * 8 * P * C)/(%pi * (d^2))
trials = 0
warning("off")
numeric = read_csv(path + filesep() + 'table10_2.csv')
while (gr~='SW' & gr~='VW')
printf("\n")
gr = input("Enter appropriate steel grade: ","string")
end
if (gr == 'SW')
col = 2
elseif (gr == 'VW')
col = 3
end
row = 4
//Calculate the wire diameter dNew (mm)
for i = 1:1:%inf
trials = trials + 1
dNew = evstr(numeric(row, 1))
Sut = evstr(numeric(row, col))
tauNew = tau/(dNew^2)
taud = (r/100)*Sut
if (taud > tauNew)
break()
end
row = row + 1
end
//Calculate the mean coil diameter D (mm)
D = C * dNew
//Calculate the length of each division ld (mm)
ld = l/div
//Calculate the stiffness of the spring k (N/mm)
k = (mi * 9.81)/ld
//Calculate the number of active coils N
N = (G * (dNew^4))/(8 * (D^3) * k)
//Calculate the solid length of the spring s (mm)
s = N * dNew
//Print results
printf("\nNumber of trials= %d\n",trials)
printf("\nWire diameter(dNew) = %f mm\n",dNew)
printf("\nMean coil diameter(DNew) = %f mm\n",D)
printf("\nNumber of active coils(N) = %d\n",N)
printf("\nTotal number of coils(Nt) = %d\n",N)
printf("\nThe helical tension spring has Nt = N\n")
printf("\nSolid length of the spring(s) = %f mm\n",s)
|
0bf69df06abf818bb3853429dd12bcb0366321f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH33/EX33.11/33_11.sce | 1f1050fb39f22d56f0e2294a5b6609f50878aa77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,021 | sce | 33_11.sce | //Problem 33.11: Use Norton’s theorem to determine the magnitude of the p.d. across the 1 ohm resistance of the network shown in Figure 33.55.
//initializing the variables:
V = 10; // in volts
R1 = 4; // in ohm
R2 = 4; // in ohm
R3 = -1*%i*2; // in ohm
R4 = 1; // in ohm
//calculation:
//The branch containing the R4 is initially short-circuited, as shown in Figure 33.56.
//R2 in parallel with R3 in parallel with 0 ohm (i.e., the short-circuit) is equivalent 0 ohm giving the equivalent circuit of Figure 33.57. Hence Isc
Isc = V/R1
//The voltage source is removed from the network of Figure 33.55, as shown in Figure 33.58, and the impedance z, ‘looking in’ at a break made in AB is given by
z = 1/(1/R1 + 1/R2 + 1/R3)
//The Norton equivalent network is shown in Figure 33.59, from which current I is given by
I = (z/(z + R4))*Isc
Imag = (real(I)^2 + imag(I)^2)^0.5
Vr1 = Imag*R4
printf("\n\n Result \n\n")
printf("\n the magnitude of the p.d. across the 1 ohm resistor is %.2f V", Vr1) |
f6e0d230429f520e3957d07a18e87452b5f2425b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH6/EX6.29/ex6_29.sce | 06d8215ab33b31c806e2a225669792df1810c180 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | ex6_29.sce | // Exa 6.29
clc;
clear;
close;
// Given data
P1 = 0.85*10^3;// in kN/m^2
P2 = 0.17*10^3;// in kN/m^2
n = 1.13;
x1 = 0.95;
V1 = x1*0.227;// in m^3/kg
V2 = V1 * ((P1/P2)^(1/n));// in m^3/kg
x2 = V2/1.032;
disp(x2,"Final dryness fraction of steam is");
W = (P1*V1-P2*V2)/(n-1);// in kJ/kg
disp(W,"Change in internal energy in kJ/kg is");
|
65dd346774fe598b08c7c2b8c3c2c7d5d1a66d23 | e5606f5f42a6fd164acc42c7be54d0b15b075be5 | /Información Mutua Señales/canal.sci | e5c0ca6f50717ad55fd3e79003217094c227a11e | [
"MIT"
] | permissive | juusechec/MiniProgramasSCILAB | fe0b7afdd9712c4be56202ec7ba858678e7b1ca4 | 244b64942decda867f113f480e3061e18641f748 | refs/heads/master | 2020-12-28T22:01:41.841578 | 2016-09-05T04:56:45 | 2016-09-05T04:56:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sci | canal.sci | function y=canal(x,pc,pe)
[M,N]=size(x);
y=x;
for i=1:N
r=rand();
if r<=pc then
y(i)=x(i);
elseif r<=pc+pe then
y(i)=~x(i);
else
y(i)=0.5;
end
end
endfunction
|
63ead9136c154bede9bdb4440fd827722aacfd1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH2/EX2.16/example2_16.sce | a32821fd5670c7adbef62a9e46dadc5e2372f3dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 867 | sce | example2_16.sce | // Find current when forward biased
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-16 in page 97
clear; clc; close;
// Given data
k_T=1.38*10^-23; // Constant of calculation
T=293; // Temperature in K
I_s=1.5*10^-13; // Saturation current in A
e=1.6*10^-19; // Charge on an electron in C
V=0.55; // Forward bias voltage in V
// Calculation
printf("At T = 20 degrees:\n");
V_T=(k_T*T)/e;
I=I_s*(exp(V/0.02527)-1);
printf("V_T = %0.4f V\n",V_T);
printf("(a)I = %0.3e A\n",I);
printf("At T = 100 degrees:\n");
V_T=(k_T*373)/e;
printf("V_T = %0.4f V\n",V_T);
printf("I_s doubles 8 times ie I_s = 256.Therefore,\n");
I=1.5*256*10^-13*(exp(0.55/0.032)-1);
printf("(b)I = %0.3f A",I);
// Result
// (a) At T=20 degrees, I = 4.251*10^-4 A
// (b) At T=100 degrees, I = 0.001 A |
03af3d729be02fa52e66b19748efd2a46f95a50b | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.34/example134.sce | b705a486612e92528f0525e1b3cced2d6f93944d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | example134.sce | //Example 1.34
//Find energy of x(t)=8exp(2+i4pi)t
clc;
E=0;
for t=1:100
x(t)=8*exp((2+(%i*4*%pi))*t);
end
for t=1:100
E=E+x(t)^2;
end |
d29a4046ff99ef9718eac7582c789cecec2b65a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH11/EX11.3/11_3.sce | 9c081ec3df39a8e40ac431984f3934bde3bc0754 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | 11_3.sce | Tb = 353;
T = 303;
R = 8.3143;
P = 101.325*exp((88/R)*(1-(Tb/T)));
disp("kPa",P,"Vapour pressure of benzene is ") |
18d96efbb6850610c43999624227b1148ad097bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH3/EX3.3/Example3_3.sce | 8348ad6272bb16d2561c6ed9b48716d199ba9bcb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | Example3_3.sce | //Example 3.3.
clc
format(6)
d=6*10^-3
q=1.6*10^-19
m=9.1*10^-31
vax=3*10^6
E=350/d
disp(E,"Therefore, E(V/m) = V / d =")
format(10)
ax=q*E/m
disp(ax," ax(m/s^2) = qE / m =")
disp("We know that,")
disp(" x = vox*t + 0.5*a*t^2")
disp(" vx = vox + ax*t")
disp("(i) Consider x = 3*10^-3 m")
disp("3*10^-3 = 3*10^6*t + 5.13*10^15*t^2")
disp("Solving this equation,")
format(9)
t=poly(0,'t')
p1=(5.13*10^15)*t^2+(3*10^6)*t-3*10^-3
t1=roots(p1)
ans1=t1(1)
disp(ans1,"t(seconds)= ")
format(8)
vx=(3*10^6)+((1.026*10^16)*(5.264*10^-10))
disp(vx,"vx(m/s)= ")
disp("(ii) Consider x = 6*10^-6 m")
disp("t^2+(5.85*10^-10)*t-(1.17*10^-18) = 0")
disp("Solving this equation,")
format(9)
p2=t^2+(5.85*10^-10)*t-1.17*10^-18
t2=roots(p2)
ans2=t2(1)
disp(ans2,"t(seconds)= ")
vx1=(3*10^6)+((8.28*10^-10)*(1.026*10^16))
disp(vx1,"vx(m/s)= ") |
801f10218d8b984a8dd58de554c7f0f4e9d67ed6 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/char_constant_runme.sci | 9cba291cd33dd3481aaa5bffbf8987518d87e744 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | char_constant_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:b4636b9e1c9085879bf490e184fb3084b03b6deb20f5538af050710e3248ad8d
size 336
|
8818b0adf3493c8fd6143b3d48b641174f206ad6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.38/example11_38.sce | 007079f7c0e8ab510a1345450de920c04d61d807 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,125 | sce | example11_38.sce | //clc()
m = 1000;//kg/h (dried product)
// S be the amount of dry solid in the product stream
Pmoisture1 = 4;//%
Pmoisture2 = 0.2;//%
P = 1;
S = m *(1 - P/1000);
X1 = Pmoisture1/(100 - Pmoisture1);
X2 = Pmoisture2/(100 - Pmoisture2);
//let G be the weight of dry air in the air stream
Y1 = 0.01;//kg water/kg dry solid
Cp = 1.507;
Cw = 4.2;
T1 = 298;//K
T = 273;//K
T2 = 333;//K
Tg1 = 363;//K
Tg2 = 305;//K
Hs1 = (Cp + X1 * Cw) * (T1 - T);
Hs2 = (Cp + X2 * Cw) * (T2 - T);
//Hg = Cs(Tg - To) + Y*L
//Cs = 1.005 + 1.884*Y
L = 2502.3;//kJ/kg dry air
Hg1 = (1.005 + 1.884 * Y1)*(Tg1 - T) + Y1 * L;
Q = -40000;//kJ/h
//Calculating for T2, Hg2 = 32.16 + 2562.59*Y
//change in enthalpy = Q
//H1 = S * Hs1 + G * HG1 = 37814.22 + 117.17G
//H2 = 100728.14 + G* (32.16 + 2561.59*Y)
//change in enthalpy = Q
//62913.92 + G *(-85.01 + 2561.59*Y) + 40000 = 0
//102913.92 + G *(-85.01 + 2561.59*Y) = 0 (1)
//moisture balance, S*X1 + G*Y1 = S*X2 + G*Y2
//G*(Y-0.01) = 39.62 (2)
//solving simultaneously ( 1 ) and ( 2 ),
Gdry = 3443;//kg/h
G = Gdry*(1 + Y1);
disp("kg/h",G,"Air requirement = ") |
c475c52e9cf754a6f3b723c1a3058676945e19e6 | e7e6e1633d484336268da303fbf34c87214e5669 | /Assignment2/assignment2_f.sce | 8929db617471646ae8cb2e15bc7d5b9b71ced845 | [] | no_license | TarunGuptaJ/Scilab_Assignment | e65bbc6abaa4535b2faf13fbccad7b3d08c8f338 | 00b95c5970a7c13d32b83255f211f3041f8650a3 | refs/heads/master | 2020-12-28T09:12:15.189754 | 2020-04-18T11:12:39 | 2020-04-18T11:12:39 | 238,260,976 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,048 | sce | assignment2_f.sce | function column_span(mat,n)
disp("Column Span:");
for i=1:n-1
for j=i+1:n
mat(j,:) = mat(j,:) - (mat(j,i)/mat(i,i)) * mat(i,:);
end
disp(mat);
end
for i=1:n
if(mat(i,i)<>0)
mat(i,:)=mat(i,:)/mat(i,i);
end
end
disp(mat)
for i=1:n
for j=i:n
if(mat(i,j)<>0)
disp('is a pivot element ',j,'column');
break
end
end
end
endfunction
function fundamental_spaces(mat)
disp("Fundamental Spaces:");
[m,n]=size(mat);
disp(m,'m is ');
disp(n,'n is ');
[v,pivot]=rref(mat);
disp(rref(mat));
disp(v);
r=length(pivot);
disp(r,'rank is ')
cs=mat(:,pivot);
disp(cs,'Column Space is ');
ns=kernel(mat);
disp(ns,'Null Space is ');
rs=v(1:r,:)';
disp(rs,'Row Space is ')
lns=kernel(mat');
disp(lns,'Left Null Space is ');
endfunction
a = x_matrix("Enter matrix:",zeros(3,3));
disp(a,"a = ");
column_span(a,3);
fundamental_spaces(a); |
14e334079b03b7a45e01d6ab257a6261ad3dcabf | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH12/EX12.15/Example12_15.sce | 904736dc20b5926356d06818406110902595d3c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,208 | sce | Example12_15.sce | //Example 12.15
//Note: MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Program to:
//(a)Derive an expression for the improvement in post detection SNR
//(b)Determine the improvement in post detection SNR and Bandwidth
clear;
clc ;
close ;
//(a)Derive an expression for the improvement in post detection SNR
//Symbolic Representation
syms Pa R Po Ba No Df
//D-IM OUTPUT SNR
SNR_DIM=(R*Po)^2*Pa/(2*Ba*No);
//FM OUTPUT SNR
SNR_FM=3*Df^2*(R*Po)^2*Pa/(4*Ba*No);
//SNR IMPROVEMENT
SNR_imp=SNR_FM/SNR_DIM;
//SNR IMPROVEMENT IN dB
SNR_imp_dB=10*log10(SNR_imp);
disp(SNR_imp,"SNR IMPROVEMENT = ");
disp(SNR_imp_dB,"SNR IMPROVEMENT IN dB = ");
printf("\n\n\t The above expression is equivalent to 1.76+20*log10(Df)");
//(b)Determine the improvement in post detection SNR and Bandwidth
//Given data
fd1=400*10^3; //Hz - PEAK FREQUENCY DEVIATION
Ba1=4*10^3; //Hz- BANDWIDTH
//Frequency Deviation Ratio
Df1=fd1/Ba1;
//SNR Improvement expression from part(a)
SNR_imp_dB1=1.76+20*log10(Df1);
//Bandwidth
Bm=2*(Df1+1)*Ba1;
printf("\n\n\t The SNR Improvement = %0.2f dB.",SNR_imp_dB1);
printf("\n\n\t The Bandwidth of FM-IM, Bm = %1.0f kHz.",Bm/10^3); |
e0945bf5631e9e1e83dff637eecd70feab4cf315 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH5/EX5.9/ex5_9.sce | 4996aa1240d52eb88f7e19bddbdc29ac5f991afa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | ex5_9.sce | //Frequency Modulation : Transmission : example 5-9 : (pg 222 & 223)
dm=10*10^3;
x=(1/3);//N/S input ratio
phi=asind(x);
phi1=asin(x);
fi=3*10^3;
d=phi1*fi;
a=dm/d;
printf("\nThe worst-case phase shift dur to the noise occurs when phi=asin(N/S)");
mprintf("\nphi = %.1f degrees or %.2f rad",phi,phi1);
printf("\nd= %.f Hz",d);
printf("\nThe S/N output will be %.f",a);
|
b7f8af8da3eb31db9c0c5050a1f62efcd9df17e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH1/EX1.7/Ex1_7.sce | e8cc42b981bffbe02418f114c0e17537b7c7f985 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 857 | sce | Ex1_7.sce | //CHAPTER 1 ILLUSRTATION 7 PAGE NO 21
//TITLE:Basic kinematics
//Figure 1.24,1.25
clc
clear
pi=3.141
Noa=600// speed of the crank in rpm
OA=2.8// length of link OA in cm
AB=4.4// length of link AB in cm
BC=4.9// length of link BC in cm
BD=4.6// length of link BD in cm
//=================
wOA=2*pi*Noa/60// angular velocity of crank in rad/s
Vao=wOA*OA// The linear velocity of point A with respect to oin m/s
s=50// scale of velocity diagram in cm
od=2.95// by measurement in cm from figure
Vd=od*s/100// linear velocity slider in m/s
bd=3.2// by measurement in cm from figure
Vbd=bd*s
wBD=Vbd/BD// angular velocity of link BD
printf('linear velocity slider D= %.3f m/s\n angular velocity of link BD= %.1f rad/s',Vd,wBD)
|
f1f630c7bd0f527d980f2d17c4bcc44b1bf9846a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH13/EX13.6/exp_13_6.sce | 69407faafd03b02b29b78b92257f084df8948325 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,882 | sce | exp_13_6.sce | clear;
clc;
Ybus=zeros(4,4);
Za=%i*.1;
Z12=%i*.25;
Z14=%i*.4;
Z43=%i*.1;
Z42=%i*.2;
Z32=%i*.1;
Z13=%i*.5;
Zg=%i*4;
V1=1;
V2=complex(.9787,-.0513);
V3=complex(1.019,.0445);
V4=complex(1.0098,-.0176);
Ybus(1,1)=1/Zg+1/Z12+1/Z13+1/Z14;
Ybus(1,2)=-1/Z12;
Ybus(2,1)=Ybus(1,2);
Ybus(1,3)=-1/Z13;
Ybus(3,1)=Ybus(1,3);
Ybus(1,4)=-1/Z14;
Ybus(4,1)=Ybus(1,4);
Ybus(2,2)=1/Z12+1/Z32+1/Z42;
Ybus(2,3)=-1/Z32;
Ybus(3,2)=Ybus(2,3);
Ybus(2,4)=-1/Z42;
Ybus(4,2)=Ybus(2,4);
Ybus(3,3)=1/Z13+1/Z43+1/Z32;
Ybus(3,4)=-1/Z43;
Ybus(4,3)=Ybus(3,4);
Ybus(4,4)=1/Z14+1/Z43+1/Z42;
Z=inv(Ybus);
Zt34=Z(3,3)+Z(4,4)-2*Z(3,4);
V=[V1;V2;V3;V4];
I12=(V1-V2)/Z12;
I13=(V1-V3)/Z13;
I14=(V1-V4)/Z14;
I23=(V2-V3)/Z32;
I24=(V2-V4)/Z42;
I34=(V3-V4)/Z43;
Zaa=-Za;
Zden=Zt34-Zaa;
L1234=Zaa/Z12*((Z(1,3)-Z(1,4))-(Z(2,3)-Z(2,4)))/Zden;
L1334=Zaa/Z13*((Z(1,3)-Z(1,4))-(Z(3,3)-Z(3,4)))/Zden;
L1434=Zaa/Z14*((Z(1,3)-Z(1,4))-(Z(4,3)-Z(4,4)))/Zden;
L2334=Zaa/Z32*((Z(2,3)-Z(2,4))-(Z(3,3)-Z(3,4)))/Zden;
L2434=Zaa/Z42*((Z(2,3)-Z(2,4))-(Z(4,3)-Z(4,4)))/Zden;
I112=I12+L1234*I34;
I113=I13+L1334*I34;
I114=I14+L1434*I34;
I223=I23+L2334*I34;
I224=I24+L2434*I34;
L12=abs(I112)/(4*abs(I12))*100;
L13=abs(I113)/(4*abs(I13))*100;
L14=abs(I114)/(4*abs(I14))*100;
L23=abs(I223)/(1.3333*abs(I23))*100;
L24=abs(I224)/(1.3333*abs(I24))*100;
mprintf(" Line-outage distribution factors are L1234=%.3f, L1334=%.3f, L1434=%.3f, L2334=%.3f and L2434=%.3f\n",L1234,L1334,L1434,L2334,L2434);
mprintf("New values of line current are I12=%.3f %.3f, I13=%.3f+%.3f, I14=%.3f+%.3f, I23=%.3f+%.3f and I24=%.3f+%.3f\n",real(I112),imag(I112),real(I113),imag(I113),real(I114),imag(I114),real(I223),imag(I223),real(I224),imag(I224));
mprintf("Loading after tripping in percentage is L12=%.3f percent,L13=%.3f percent, L14=%.3f percent, L23=%.3f percent and L24=%.3f percent",L12,L13,L14,L23,L24);
|
f33bb1d6d3130a207d8297d601553609ae398c66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.32/32.sce | a2a9536c3ea85848e58246f73399b810077f5eff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | 32.sce | clc
p1=101.325; //kPa
T1=300; //K
rp=6;
y=1.4;
T2=T1*rp^((y-1)/y);
//T3/T4=rp^((y-1)/y)
//T4=T3/1.668
//W_T=2.5*W_C
T3=2.5*(T2-T1)/(1-1/1.668);
disp("(i) Maximum temperature in the cycle =")
disp(T3)
disp("K")
disp("(ii) Cycle efficiency")
T4=T3/1.668;
n_cycle=((T3-T4) - (T2-T1))/(T3-T2);
disp(" Cycle efficiency =")
disp(n_cycle) |
ad0a82a4983d17d8b8c1d7cffd2cc4e14b364261 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH14/EX14.8/Ex14_8.sce | 4d0addc4a3bd2aa27280a082d86c7bc603c10f3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Ex14_8.sce | //chapter 14
//example 14.8
//page 303
gain_db=40 // db
Vin=10d-3 // mV
Rl=1 // kilo ohm
// we know that Vout/Vin=10^(gain_db/20) so making Vout as subject we get
Vout=Vin*10^(gain_db/20)
P_load=Vout^2/Rl
printf("output voltage = %.3f V \n",Vout)
printf("load power = %.3f mW \n",P_load)
|
3dfb735df8899ad4573827c7b5c6911ed1270e49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.11/Ex1_11.sce | f447decf7ab50b51798def034db435d8349e1e50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Ex1_11.sce | clear
//
//given
v=250
i=5
i1=3.91
t0=0.00426 //temperature coefficient
r15=v/i //at 15 degrees
rt=v/i1 //at t degrees
l=(rt*(1+t0*15))/50 //left hand side
t=(l-1)/t0
printf("\n t= %0.1f centigrade",t)
|
0f113da4ac196f50856e789f47f87e5a72ca8b35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH9/EX9.12/Ex9_12.sce | e3d15495095539b52363623f869d7851d2a0c84a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | Ex9_12.sce | //chapter9
//example9.12
//page153
Vdc=50 // V
rf=25 // ohm
Rl=800 // ohm
// Vdc=Idc*Rl and Idc=Im/%pi so
// Vdc=Im*Rl/%pi
// but Im=Vm/(rf+Rl) so
// Vdc=Vm*Rl/(%pi*(rf+Rl))
// making Vm as subject we get
Vm=Vdc*%pi*(rf+Rl)/Rl
printf("ac voltage required = %.1f V \n",Vm)
|
549fecfc0dddd904b23d851d285b2c4fa899290d | a0bbf9631a1425e31175358d03a5bd109e13f477 | /sem1/src/lab2/scripts/lab_2_script.sce | 74be3dc1a87647261d2e5bdcbcec119c6b483f98 | [] | no_license | AlexKaravaev/courses | 0f5aa8da155706a23adb831ac52e44c160029e33 | 93273510e34985e02b8d348515ebcabe7f4c105f | refs/heads/master | 2020-03-21T17:48:17.352827 | 2018-07-31T14:17:52 | 2018-07-31T14:17:52 | 138,854,938 | 3 | 3 | null | 2018-07-24T13:42:45 | 2018-06-27T08:49:58 | TeX | UTF-8 | Scilab | false | false | 6,781 | sce | lab_2_script.sce | modeling_time = 0.1; // время в секундах (не более 100 сек)
path_to_read_data = "volt_ampere_data.txt";
// Наименование окон
amperage_figure = 0;
omega_figure = 1;
theta_figure = 2;
Mel_figure = 3;
Ei_figure = 4;
vac_figure = 5;
// Параметры построения графиков
/*
%t = true (строить график)
%f = false (не строить график)
*/
amperage_plot = %t;
omega_plot = %t;
theta_plot = %t;
Mel_plot = %f;
Ei_plot = %f;
vac_plot = %t;
// Входные данные
// Расчётные
U = 9; // Ваше значение напряжения
R = 4.5; // Ваше значение сопротивления
// Параметры двигателя
L = 4.7e-3; // значение индуктивности
ke = 0.5; // конструктивная постоянная
km = ke;
m = 17e-3; // вес ротора
r = (23e-3)/2;
i = 48; // передаточное число
J = (m*r^2)/2*i^2; // момент инерции ротора
// Запуск моделирования
importXcosDiagram("../modeling/lab_2_model.zcos");
xcos_simulate(scs_m, 4);
// Построение ВАХ
if vac_plot then
// Чтение данных из файла
volt_ampere_data = read(path_to_read_data, -1, 3);
U_data = volt_ampere_data(:, 2);
I_data = volt_ampere_data(:, 3);
U_positive = U_data(1:11);
I_positive = I_data(1:11);
U_negative = U_data(11:21);
I_negative = I_data(11:21);
R_positive = sum(U_positive.*I_positive)/sum(I_positive.^2);
R_negative = sum(U_negative.*I_negative)/sum(I_negative.^2);
R = (R_positive + R_negative)/2;
U_result_posotive = R * I_data(1:11);
U_result_negative = - R *- I_data(12:21);
U_result = [U_result_posotive; U_result_negative];
scf(vac_figure);
plot(I_data, U_result, I_data, U_data);
legend('$approximated$', '$original$', 4, %F);
g = get('current_axes');
g.title.text = 'Вольт-амперная характеристика';
g.title.font_size = 2;
g.x_label.text = 'I, A';
g.x_label.font_size = 2;
g.y_label.text = 'U, B';
g.grid = [0 0];
end
// Построение графика тока от времени
if amperage_plot then
// создаем графическое окно с номером first_figure
scf(amperage_figure);
plot2d(I.time, .. // диапазон аргументов
I.values, .. // функция
style = color('blue'), .. // задает синий цвет линии
leg = '$I(t)$', .. // задает надпись легенды
strf='181')
/*
цифра 1 включает рамочки с подписями, в том числе легенду
цифра 8 — построитель размещает график по границам диапазона
значений
цифра 1 — оси рисуются слева
*/
// получаем дескриптор осей
g = get('current_axes');
// делаем подпись графика
g.title.text = 'Зависимость тока от времени';
// делаем подпись графика чуть потолще
g.title.font_size = 2;
// делаем подпись для оси абсцисс
g.x_label.text = 'Time, sec';
// делаем подпись оси x чуть-чуть потолще
g.x_label.font_size = 2;
// делаем подпись для оси ординат
g.y_label.text = '$I, A$';
// делаем подпись оси y чуть-чуть потолще
g.y_label.font_size = 2;
// включаем сетку и делаем её черной
g.grid = [0 0];
// делаем линию чуть-чуть потолще
g.children(1).children.thickness = 4;
end
// Построение графика зависимости угловой скорости вращения ротора от времени
if omega_plot then
scf(omega_figure);
plot2d(omega.time, ..
omega.values, ..
style = color('blue'), ..
leg = '$\omega(t)$', ..
strf='181');
g = get('current_axes');
g.title.text = 'Зависимость угловой скорости вращения ротора от времени';
g.title.font_size = 2;
g.x_label.text = 'Time, sec';
g.x_label.font_size = 2;
g.y_label.text = '$\omega, rad/sec$';
g.y_label.font_size = 2;
g.grid = [0 0];
g.children(1).children.thickness = 4;
end
// Построение графика зависимости угла поворота двигателя от времени
if theta_plot then
scf(theta_figure);
plot2d(theta.time, ..
theta.values, ..
style = color('blue'), ..
leg = '$\theta(t)$', ..
strf='181');
g = get('current_axes');
g.title.text = 'График угла поворота двигателя от времени';
g.title.font_size = 2;
g.x_label.text = 'Time, sec';
g.x_label.font_size = 2;
g.y_label.text = '$\theta, rad$';
g.y_label.font_size = 2;
g.grid = [0 0];
g.children(1).children.thickness = 4;
end
// Построение графика момента силы, раскручиваемого ротор, от времени
if Mel_plot then
scf(Mel_figure);
plot2d(Mel.time, ..
Mel.values, ..
style = color('blue'), ..
leg = '$M_{el}(t)$', ..
strf='181');
g = get('current_axes');
g.title.text = 'График момента силы, раскручиваемого ротор, от времени';
g.title.font_size = 2;
g.x_label.text = 'Time, sec';
g.x_label.font_size = 2;
g.y_label.text = '$M_{el}$';
g.y_label.font_size = 2;
g.grid = [0 0];
g.children(1).children.thickness = 4;
end
// Построение графика E_i(t)
if Ei then
scf(Ei_figure);
plot2d(Ei.time, ..
Ei.values, ..
style = color('blue'), ..
leg = '$\varepsilon_i(t)$', ..
strf='181');
g = get('current_axes');
g.title.text = '$График \; \varepsilon_i(t)$';
g.title.font_size = 2;
g.x_label.text = 'Time, sec';
g.x_label.font_size = 2;
g.y_label.text = '$\varepsilon_i$';
g.y_label.font_size = 2;
g.grid = [0 0];
g.children(1).children.thickness = 4;
end
|
e981be34e735ae275789430b20d3fb257cb60675 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH4/EX4.4/4_4.sce | b31f43ef9a8b46d9e4b7ac5a78a452fab86eb083 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | 4_4.sce | clc
//initialisation of variables
p= 214 //mm
M= 112.5 //gms
m= 18 //gms
m1= 10 //gms
//CALCULATIONS
P= 760-p
M1= m1*P*m/(p*M)
//RESULTS
printf (' quantity of water= %.2f gms',M1)
|
10cc0a3d5727cb3f8adaa32e77a47363772c587b | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH17/EX17.2/2.sce | d50d19d13c168990a5bd7962feab9de3bf059d07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 2.sce | clc; funcprot(0); //Example 17.2
//Initializing the variables
Ma = 4;
gma = 1.4;
At = 500; // in mm
//Calculations
N = 1 + (gma-1)*Ma^2/2;
D = (gma+1)/2 ;
A = At*(N/D)^((gma+1)/(2*(gma-1)))/Ma;
disp(A, "Area of test section (mm2):"); |
007cd2333b85364a6abb5340f48db46b516c3d11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH11/EX11.2/C11P2.sce | b6c8c98d6afa0a4c43896625fc860e01ecbf8dff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 909 | sce | C11P2.sce |
clear
clc
//to find work done by the chid
// GIVEN::
//refer to figure 11-9(a) from page no. 233
//mass of sled
m = 5.6//in kg
//distance by which sled is pushed horizontally
s = 12//in meters
//coefficient of kinetic friction
mew_k = 0.20
//angle made by the rope with horizontal
fi = 45//in degrees
//acceleration due to gravity
g = 9.8//in m/s^2
// SOLUTION:
//refer to figure 11-9(b) from page no. 233
//using newton's second law of motion
//we get three equations and three unknowns
A = [cosd(fi) -1 0;sind(fi) 0 1;0 1 -mew_k]
B = [0; m*g; 0]
c = A\B
//force applied by the child
F = c(1)//in N
//frictional force
f = c(2)//in N
//normal reaction
N = c(3)//in N
//work done by the child
W = F*s*cosd(fi)//in J
F = round(F)
W = round(W)
printf ("\n\n Force applied by the child F = \n\n %2i N",F);
printf ("\n\n Work done by the child W = \n\n %3i J",W);
|
11a17a30939349307a82c8d7bcc24f5f90c591d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH17/EX17.17.4/Ex17_4.sce | 13387d2dc757499d2ea68e45c34e2f04acd4d1ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Ex17_4.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 17 Number Systems,Boolean Algebra,and Digital Circuits
clc
clear
q=0;
b=0;
s=0;
format('v',18);//increasing the precision to 18 .
a=4.625;
d=modulo(a,1);//separating the decimal part and the integer part
a=floor(a);//removing the decimal part
while(a>0)//taking integer part into a matrix and converting into equivalent binary
x=modulo(a,2);
b=b+(10^q)*x;
a=a/2;
a=floor(a);
q=q+1;
end
for i=1:10//for values after decimal point converting into binary
d=d*2;
q=floor(d);
s=s+q/(10^i);
if d>=1 then
d=d-1;
end
end
k=b+s;
printf ("The binary equivalent of 4.625 is = %f" ,k);
|
e94d89280aa849a0c35351fe383adbf9c7855627 | 6b778fe7ce057aaef2abb8bcf50d716047b597b0 | /test/issue228.tst | 6adc8a231336e0aa7bcbf84787152de4ca1572b9 | [
"Apache-2.0"
] | permissive | grobian/carbon-c-relay | a9cfa93e51afca31df8fbb3f0115e4678e0502ca | 741937387d08e877d3c28583a7c453c99bf506f1 | refs/heads/master | 2023-07-04T23:29:37.333774 | 2023-01-26T15:27:39 | 2023-01-26T15:27:39 | 15,357,351 | 368 | 132 | Apache-2.0 | 2022-09-16T07:03:46 | 2013-12-21T10:33:29 | C | UTF-8 | Scilab | false | false | 75 | tst | issue228.tst | foo.bar this wrong
foo.bar 42 42
foo.bar 4.2 4.2
blah 4.2 4.2
blah 42 42
|
5c752a6a4687e4d8be6f13d49d586aa20148fff0 | 2a6e8d853589f99603c8973e55748050d0f77719 | /realp.sci | fcdfe63f6ce16cffea5281d22e9495bb58b749f6 | [] | no_license | sanchit95/Scilab-Control-System | 3ee8a09de4933fe4b15e72a9c114d49e89dc6608 | 0dc379795f261c7b35fff6cb8b087b0d617b10dc | refs/heads/master | 2022-09-24T07:46:02.477146 | 2022-09-21T11:23:04 | 2022-09-21T11:23:04 | 60,767,025 | 8 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,550 | sci | realp.sci | // Function realp()
// [variable, details] = realp(NAME,VALUE)
// creates a tunable real-valued parameter 'x' with name and initial value specified by the string NAME and the numeric array
// VALUE.
//Using ordinary arithmetic operators (+, -, *, /, \, ^), you can combine real parameter objects into rational expressions and
//use these expressions to create parametric models (both static and dynamic). You can then use such models to perform
//parameter studies, or tune control systems.
//
// NOTE :-
// Load PIMS loader in scilab to run this code, as this code depends on python sympy library and python varsion 2.7
// Link to PIMS Library for downloading and Installing
// https://atoms.scilab.org/toolboxes/PIMS
//
// EXAMPLE
// [x x_details] = realp('x',5)
// [y y_details] = realp('y',3)
// eqn = x^y + 5*x*y + 89/x ;
//
// Author (s):
// Sanchit Gupta & Ashutosh Kumar Bhargava
//----------------------------------------------------------------------------------------------------------------------//
function [variable,details] = realp(varargin)
pyImport sympy
[lhs,rhs]=argn(0)
if rhs == 0 then
error(msprintf(gettext("Function has no input argument..")))
elseif rhs >=3 | rhs == 1 then
error(msprintf(gettext("Incorrect number of input arguments.")))
end
varbName = varargin(1)
varbData = varargin(2)
if typeof(varargin(1)) <> 'string' then
error((gettext("Wrong type for argument: String expected.")))//msprintf
elseif typeof(varargin(2)) <> 'constant' then
error((gettext("Wrong type for argument: Real matrix (2D) expected.")))//msprintf
end
variable = sympy.symbols(varargin(1))
varbPhase = phasemag(varbData)
findImag = find(varbPhase <> 0 & varbPhase <> 180)
if size(findImag,"r") ~= 0 then
error((gettext("Wrong type for argument: Real matrix (2D) expected.")))
end
sizeData = size(varbData)
numbOfElements = 1
for ii = 1 : 2
numbOfElements = numbOfElements*sizeData(ii)
end
for ii = 1: numbOfElements
minData(ii,1) = -%inf
freeData(ii,1) = 1
end
maxData = -minData
minData = hypermat([sizeData],minData)
maxData = hypermat([sizeData],maxData)
freeData = hypermat([sizeData],freeData)
if (size(minData)<>size(maxData))
error('Cannot change the size of realp data') ;
end
details("Name") = varbName
details("Value") = varbData
details("Minimum") = minData
details("Maximum") = maxData
details("Free") = freeData
endfunction
|
d264981c63638aef938081f4edf8d1960da511fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH7/EX7.2/Chapter7_Example2.sce | 26b8a54f6cb84bd45aeccb2e706d79b6202d70d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | Chapter7_Example2.sce | clc
clear
//Input data
I=(10^-4)//Intensity of sound in the street in W/m^2
//Calculations
b=10*log10(I/10^-12)//Relative intensity in dB
//Output
printf('The relative sound intensity is %3.0f dB',b)
|
d1b96d55ab66b66968b6b1da36eb0ec3ab3ab7eb | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH4/EX4.2/Ex4_2.sce | 12ee7ca0068b6e790d9bed570e4af0f008a0bd26 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 774 | sce | Ex4_2.sce | clc;
clear all;
//part-a
delta= 3.6 //KHz
fi=750 //Khz
//part-a
//when intelligrnce amplitude doubles, deviation doubles.
new_delta=2*delta //Khz
disp("Part A")
disp(new_delta,"when intelligrnce amplitude doubles, deviation doubles delta =");
//part-b
//frequency is reduced by two-thirds. but the deviation os unaffected by frequency changes.
delta=3.6 //Khz
new_fi=0.25 //Khz
disp("Part B")
disp(delta,'frequency is reduced by two-thirds. but the deviation os unaffected by frequency changes so, delta=');
//part-c original condition
mf=delta/fi; // for original condition
disp("Part c")
disp(mf,'mf for original condition=');
mf=new_delta/fi; // for part-a
disp(mf,'mf for condition a =');
mf=delta/fi;
disp(mf,'mf for condition b =');
|
b56d6209ba6268f9720b22b4b846403d06285483 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.1/ex2_1.sce | 9e5e05ce080cfd94f1168f7e027f4a6862fb0c72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | ex2_1.sce | // Exa 2.1
clc;
clear;
close;
format('v',5)
// Given data
R1 = 6;// in ohm
R2 = 6;// in ohm
R3 = 6;// in ohm
V = 24;// in V
R_T =R1+R1*R2/(R1+R2);// in ohm
I_T = V/R_T;// in A
I1 = (R1/(R1+R2))*I_T;// in A
V = 12;// in V
I_T = V/R_T;// in A
I2 = (R1/(R1+R2))*I_T;// in A
I = I1+I2;// in A
disp(I,"The current in A is");
|
bdbf5016d79029145b2373787b318e2e57e4c679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH8/EX8.4/8_4.sce | 5b3629b13dd51b0d53b0bfde24adadd5f9909c7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 8_4.sce | clc
//initialisation of variables
clear
r=1
r1=1
//CALCULATIONS
e1= r+r1
e2= r-r1
//RESULTS
printf ('vorticity = %.f*k',e1)
printf ('\n vorticity = %.f',e2)
|
a6479932c706416df77c1c4c6f4354017dbad00e | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.29/Example6_29.sce | 21e00b41cbab33a4cd33a7e694d5ac0442eadf2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Example6_29.sce | //Example 6.29.
clc
format(6)
VCC=12
RC=250
IB=0.25*10^-3
beta=100
VCEQ=8
RB=VCEQ/IB
RB1=RB*10^-3
disp(RB1,"RB(k-ohm) = VCEQ / IB = ")
S=(1+beta)/(1+(beta*(RC/(RC+RB))))
disp(S,"Stability factor, S = (1+beta) / 1 + (beta*(RC/RC+RB)) = ") |
d639fa6e0a2d2243a3fd150093e873ccd103bf19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH12/EX12.3/Example12_3.sce | 1b5ad3d6348a0a096485217e970407fd2e5c2e76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Example12_3.sce | //Example 12.3
clear;
clc;
n=12;
Vref=10;
Troom=25;
Tmin=0
Tmax=70;
erfa=1/4;
er=Vref/(2^14);
Temax=Tmax-Troom;
id=er/Temax;
TCmaxVref=id/Vref;
ng=2;//Noise Gain
TCmaxVos=id/ng;
printf("TCmax(Vref)=(+-)%.2f ppm/degC",TCmaxVref*10^6);
printf("\nTCmax(Vos)=(+-)%.1f uV/degC",TCmaxVos*10^6); |
24cca5a33c6391f9c02032ad08fb776de4b2fa10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH1/EX1.2/eg1_2.sce | a14db08df47c52ff4142f96bd1b3378886fd947c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,029 | sce | eg1_2.sce | //to calculate the a).diversity factor b).avg load and laod factor of each consumer c).avg load and load factor of combined load.
//postfix 1,2...4 shows the consumers.
clc;
//for consumer1
avg_load1=1; //load in kwatt
max_dem1=5; //demand in kwatt
dem1_at8=5; //demand in kwatt
l_f1=(avg_load1/max_dem1); //load factor is unitless
printf("\n the load factor for consumer 1 is: %.2f \n",l_f1);
//for consumer2
max_dem2=2; //demand in kwatt
dem2_at8=1.6; //demand in kwatt
l_f2=0.15; //load factor is unitless
avg_load2=(l_f2*max_dem2); //load in kwatt
printf("\n the avg load for consumer 2 is: %.2f \n",avg_load2);
//for consumer3
avg_load3=0.5; //load in kwatt
max_dem3=2; //demand in kwatt
dem3_at8=1; //demand in kwatt
l_f3=(avg_load3/max_dem3); //load factor is unitless
printf("\n the load factor for consumer 3 is: %.2f \n",l_f3);
//for consumer4
max_dem4=10; //demand in kwatt
dem4_at8=5; //demand in kwatt
l_f4=0.25; //load factor is unitless
avg_load4=(l_f4*max_dem4); //load in kwatt
printf("\n the avg load for consumer 4 is: %.2f \n",avg_load4);
tot_avg_load=(avg_load1 + avg_load2 + avg_load3 + avg_load4); //load in kwatt
printf("\n the total avg load is: %.2f \n",tot_avg_load);
tot_max_dem=(max_dem1 + max_dem2 + max_dem3 + max_dem4); //demand in kwatt
printf("\n the total maximum demand is: %.2f\n ",tot_max_dem);
tot_dem_at8=(dem1_at8 + dem2_at8 + dem3_at8 + dem4_at8); //demand in kwatt
printf("\n the total demand at 8pm is: %.2f\n ",tot_dem_at8);
div_fact=(tot_max_dem/tot_dem_at8); //diversity factor is unitless
printf("\n the diversity factor is: %.2f\n ",div_fact);
load_factor=(tot_avg_load/tot_dem_at8); //load factor is unitless
printf("\n the load factor is: %.2f\n ",load_factor);
|
3ae7902aaceee7184f2678f576ed959c8d50d4d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH1/EX1.19/Ex1_19.sce | ea81352377281d038367fb1e0867ae6585803590 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | Ex1_19.sce | //Chapter 1,Example 1.19,Pg 1.24
clc;
disp("Refer to the figure shown in the diagram")
disp("Assign branch currents as shown in the figure")
disp("I2-I3=13")
disp("-20I1+8I2=0")
disp("-12I1-16I2=0")
disp("By solving the equations we can obtain the result as follows")
A=[0 1 -1;-20 8 0;-12 0 -16]
B=[13;0;0]
I=A\B
printf("\n I1= %.0f A \n",I(1,:))
printf("\n I2= %.0f A \n",I(2,:))
printf("\n I3= %.0f A \n",I(3,:))
|
9d9aca4b0e3595399560a8dc91f0ab84062971a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH5/EX5.22/5_22.sce | 0f3096aa919270b8c8fc04fd7425047c0bc865b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sce | 5_22.sce | //Chapter 5, Problem 22, figure 5.58
clc
f=100e6 //supply frequency in hertz
Rs=50 //resistance in ohms
Csh=42e-12 //shunt capacitance in ohm
Rl=500 //load resistance in ohm
Rp=Rl
//calculation
w=2*%pi*f
Qs=sqrt((Rp/Rs)-1)
Ls=(Rs*Qs)/w
Xs=w*Ls
Ca=1/(w*Xs)
Lp=((1+Qs^2)/Qs^2)*Ls
L=1/(w^2*Csh)
Lcom=(Lp*L)/(Lp+L)
printf("Matching network component value are,\n Ca = %.1f pF \n L (combined) = %d nH\n\n",Ca*10^12,Lcom*10^9)
disp("For the final network, shown in figure 5.61")
|
574a025bb723d689300e31e24decd2026ffbca30 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/pade.sce | 22205f80bd4015a5cc7de9d920b94a2f42e76a14 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 150 | sce | pade.sce | s=%s;
L=0.5;
G0=1/((s+1)*(s+4));
DelayN=1-(L/2)*s+(1/10)*(L*s)^2-(1/120)*(L*s)^3;
DelayD=1+(L/2)*s+(1/10)*(L*s)^2+(1/120)*(L*s)^3;
Delay=DelayN/DelayD |
c505166e37d999189fb806c36248cf837e6d9d7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH15/EX15.2/2.sce | f03c9d3029ebef08d08f95122ef9a815edd812c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 2.sce | clc; funcprot(0);//Example 15.2
//Initializing the variables
Q = 0.5;
C = 80;
i = 1/2000;
//Calculations
function[y] = f(D)
y = (7/4)*C*D^(5/2)*sqrt(i/2) -Q;
endfunction
disp(fsolve(2,f), "Optimum depth = Optimum Width (in metres):"); |
8d8523f3a05766fa1ad140bb175597f429e5ea35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH1/EX1.1/Ex1_1.sce | eca4b2ce6be0b69f3eac543dc4974decff0b4cdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Ex1_1.sce | //Example number 1.1, Page number 1.35
clc;clear;close
//Variable declaration
D=1 //Distance in metre
lamda=589*10**-9 //nm to metres
d=2*10**-3 //mm to metre
//Calculation
Beta=(D*lamda)/d // in mm
//Result
printf("The fringe width beta=%0.4f mm",(Beta*10**3))
|
18fde2fc0f282e9aadb2d4885fe8022943d9654b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH3/EX3.5/exa_3_5.sce | 5d87282c134f5e5ccc9231995c96f11bbba2eabd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | exa_3_5.sce | // Exa 3.5
clc;
clear;
close;
// Given data
T=300;// in K
V_T= T/11600;// in V
n=1;// assuming value
Jd=10^5;// in A/m^2
Jo=250;// in mA/m^2
Jo= Jo*10^-3;// in A/m^2
//Formula Id= Io*(%e^(Vd/V_T)-1) and after dividing both the sides by area of the junction, we have
// Jd= Jo*(%e^(Vd/V_T));// approx by neglecting 1
Vd= V_T*log(Jd/Jo);// in volt
disp(Vd,"Voltage to be applied across a p-n junction in volt is : ")
|
a54dcc9eb352a77703aad1380fc9cd7e286c2862 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH3/EX3.13/ex3_13.sce | e2aa19a3ea0d7829880e95978161ea49e947f9a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | ex3_13.sce | // Exa 3.13
clc;
clear;
close;
format('v',6)
// Given data
phi = %pi/6;
// Power factor
powerfactor = cos(phi);// in lag
disp(powerfactor,"The power factor is");
Im = 22;// in A
// The R.M.S value of current
Irms = Im/sqrt(2);// in A
disp(Irms,"The R.M.S value of current in A is");
omega = 314;// in rad/sec
// omega = 2*%pi*f;
f = omega/(2*%pi);// in Hz
disp(f,"The frequency in Hz is");
|
c1e422a472260e12fbcc278546b427a34ccd95be | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/FC30HVJ/ATWM1_Working_Memory_MRI_FC30HVJ/ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | 6f97a1e47a2b9ccc6b3eb2b8da1b6ac90f2eae12 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,442 | sce | ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_salient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 28;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
#write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 300; width = 300; color = 0, 0, 0;} frame1;
box { height = 290; width = 290; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 290; width = 290; color = 128, 128, 128;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 9400;
mri_pulse = 1;
code = "BaselinePre";
#port_code = 1;
};
TEMPLATE "ATWM1_Working_Memory_MRI.tem" {
trigger_volume_encoding trigger_volume_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
6 11 292 292 399 125 9543 2992 12342 fixation_cross gabor_085 gabor_154 gabor_041 gabor_175 gabor_085_alt gabor_154_alt gabor_041 gabor_175 "1_1_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_085_154_041_175_target_position_1_2_retrieval_position_2" gabor_circ gabor_154_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_1_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
19 24 292 292 399 125 9543 2992 12342 fixation_cross gabor_002 gabor_027 gabor_090 gabor_110 gabor_002 gabor_027 gabor_090_alt gabor_110_alt "1_2_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_002_027_090_110_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_110_framed blank blank blank blank fixation_cross_target_position_3_4 "1_2_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_110_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
32 37 292 292 399 125 9543 2992 12342 fixation_cross gabor_087 gabor_043 gabor_175 gabor_013 gabor_087_alt gabor_043_alt gabor_175 gabor_013 "1_3_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_087_043_175_013_target_position_1_2_retrieval_position_1" gabor_087_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_3_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
45 51 292 292 399 125 11543 2992 12342 fixation_cross gabor_029 gabor_116 gabor_153 gabor_005 gabor_029_alt gabor_116 gabor_153_alt gabor_005 "1_4_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_029_116_153_005_target_position_1_3_retrieval_position_1" gabor_075_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_4_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_075_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
59 64 292 292 399 125 9543 2992 14342 fixation_cross gabor_071 gabor_097 gabor_044 gabor_021 gabor_071_alt gabor_097 gabor_044 gabor_021_alt "1_5_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_300_300_399_9601_3000_14400_gabor_patch_orientation_071_097_044_021_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_044_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_5_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_044_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
73 78 292 292 399 125 9543 2992 14342 fixation_cross gabor_136 gabor_115 gabor_063 gabor_031 gabor_136_alt gabor_115 gabor_063 gabor_031_alt "1_6_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_136_115_063_031_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_171_framed blank blank blank blank fixation_cross_target_position_1_4 "1_6_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_171_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
87 93 292 292 399 125 11543 2992 14342 fixation_cross gabor_035 gabor_086 gabor_067 gabor_153 gabor_035_alt gabor_086 gabor_067 gabor_153_alt "1_7_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_035_086_067_153_target_position_1_4_retrieval_position_1" gabor_173_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_7_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
102 107 292 292 399 125 9543 2992 14342 fixation_cross gabor_100 gabor_058 gabor_077 gabor_014 gabor_100_alt gabor_058 gabor_077_alt gabor_014 "1_8_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_100_058_077_014_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_032_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_8_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_032_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
116 122 292 292 399 125 11543 2992 14342 fixation_cross gabor_019 gabor_145 gabor_036 gabor_100 gabor_019_alt gabor_145 gabor_036 gabor_100_alt "1_9_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_UncuedRetriev_300_300_399_11601_3000_14400_gabor_patch_orientation_019_145_036_100_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_175_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_9_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_175_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
131 137 292 292 399 125 11543 2992 14342 fixation_cross gabor_130 gabor_041 gabor_022 gabor_171 gabor_130 gabor_041_alt gabor_022_alt gabor_171 "1_10_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_130_041_022_171_target_position_2_3_retrieval_position_2" gabor_circ gabor_088_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_10_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_088_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
146 152 292 292 399 125 11543 2992 12342 fixation_cross gabor_132 gabor_147 gabor_010 gabor_174 gabor_132 gabor_147_alt gabor_010_alt gabor_174 "1_11_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_132_147_010_174_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_010_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_11_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
160 166 292 292 399 125 11543 2992 12342 fixation_cross gabor_180 gabor_052 gabor_004 gabor_109 gabor_180_alt gabor_052 gabor_004_alt gabor_109 "1_12_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_300_300_399_11601_3000_12400_gabor_patch_orientation_180_052_004_109_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_109_framed blank blank blank blank fixation_cross_target_position_1_3 "1_12_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_109_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
174 179 292 292 399 125 9543 2992 12342 fixation_cross gabor_092 gabor_172 gabor_004 gabor_054 gabor_092_alt gabor_172 gabor_004 gabor_054_alt "1_13_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_092_172_004_054_target_position_1_4_retrieval_position_1" gabor_141_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_13_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_141_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
187 192 292 292 399 125 9543 2992 14342 fixation_cross gabor_118 gabor_053 gabor_036 gabor_087 gabor_118_alt gabor_053 gabor_036_alt gabor_087 "1_14_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_118_053_036_087_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_036_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_14_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_036_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
201 207 292 292 399 125 11543 2992 14342 fixation_cross gabor_040 gabor_061 gabor_097 gabor_076 gabor_040 gabor_061 gabor_097_alt gabor_076_alt "1_15_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_040_061_097_076_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_097_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_15_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_097_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 20600;
code = "BaselinePost";
#port_code = 2;
}; |
79c1f974324c5c87ff5aabfdd67111d9741c31b9 | 580b74e6df0eda66a69f771dbab3a60d7b5eb819 | /test/AJOUT_john_100.tst | 5e9d0ff919104f755888dd3ab4632e8d2763db8c | [] | no_license | karimelkha/Client-server-application-for-bank | 98fdae450c79e16f2020d0640b0f0d0936e97b37 | 2b0fbc6f4a7f1f1e7ff1a85755bdf082ca542206 | refs/heads/main | 2023-08-20T22:41:53.517505 | 2021-10-06T08:11:59 | 2021-10-06T08:11:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 37 | tst | AJOUT_john_100.tst | AJOUT john CompteEpargne password 100 |
21ba9245888f6f535bbf5d160087a82069ca4cea | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/c-wsp/0098.tst | 0ac23087b8e96635b7b322b4bfd345273e186fdc | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5 | tst | 0098.tst | ;m
|
edcc39b5a247e3c0a6830556927aa1195be1fc91 | 178822612bcd418dc12ba7a649304a24ab618d60 | /Numerical Analysis/El Hadji NGOM projet Scilab(Amélioré)/Projet 1 Méthodes directes et iteratives/Gaussseidel.sci | 9619fdf032f775678de8d81900779f12450955b8 | [] | no_license | engom/Math_Problem_Solving | b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3 | 6538c476681ae4ee803ea9b3a8944c5f370e1961 | refs/heads/master | 2022-05-25T01:13:16.123161 | 2016-02-13T11:32:28 | 2016-02-13T11:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sci | Gaussseidel.sci | A = [2 1 -2;1 2 1;2 1 6]
b = [2;3;1]
x0=zeros(b)
tol=10^-8
iterMax = 100
// Code de Gauss-Seidel
function[x,iter]=Gaussseidel(A,b,tol,iterMax,x0)
iter=0
n=size(A,'c')
r=norm(A*x0-b)
while (r>tol & iter<iterMax)
iter=iter+1
x=x0
for i=1:n
s=0
for j=1:i-1
s=s+A(i,j)*x(j)
end
for j=i+1:n
s=s+A(i,j)*x(j)
end
x(i)=(b(i)-s)/A(i,j)
end
end
endfunction
|
8634283aa78909db1c095834ef07891da59d7cce | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH1/EX1.2.b/Example1_2_b.sce | 3e63c1c68007fefc07adfa3f39ca24420fbea583 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Example1_2_b.sce | //Example 1.2(b)
clear;
clc;
Vi=1;//Input Voltage
R1=2*10^3;
R2=18*10^3;
a=10^4;//Open Loop Gain
A=(1+(R2/R1))*(1+(1+(R2/R1))/a)^(-1);//Overall Gain
Vo=Vi*A;//Output Voltage
printf("Output Voltage (Vo)=%.3f V",Vo); |
9260ece66d339f37d5515304244a54e0f1f76240 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/sbrc.instr.tst | 966ca00ec3084f498c62db930e494bfe97dc1973 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,661 | tst | sbrc.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x0000004e vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000082 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x03 0xfc sbrc r0, 3
0x2: 0x13 0xfc sbrc r1, 3
0x4: 0x23 0xfc sbrc r2, 3
0x6: 0x33 0xfc sbrc r3, 3
0x8: 0x43 0xfc sbrc r4, 3
0xa: 0x53 0xfc sbrc r5, 3
0xc: 0x63 0xfc sbrc r6, 3
0xe: 0x73 0xfc sbrc r7, 3
0x10: 0x83 0xfc sbrc r8, 3
0x12: 0x93 0xfc sbrc r9, 3
0x14: 0xa3 0xfc sbrc r10, 3
0x16: 0xb3 0xfc sbrc r11, 3
0x18: 0xc3 0xfc sbrc r12, 3
0x1a: 0xd3 0xfc sbrc r13, 3
0x1c: 0xe3 0xfc sbrc r14, 3
0x1e: 0xf3 0xfc sbrc r15, 3
0x20: 0x03 0xfd sbrc r16, 3
0x22: 0x13 0xfd sbrc r17, 3
0x24: 0x23 0xfd sbrc r18, 3
0x26: 0x33 0xfd sbrc r19, 3
0x28: 0x43 0xfd sbrc r20, 3
0x2a: 0x53 0xfd sbrc r21, 3
0x2c: 0x63 0xfd sbrc r22, 3
0x2e: 0x73 0xfd sbrc r23, 3
0x30: 0x83 0xfd sbrc r24, 3
0x32: 0x93 0xfd sbrc r25, 3
0x34: 0xa3 0xfd sbrc r26, 3
0x36: 0xb3 0xfd sbrc r27, 3
0x38: 0xc3 0xfd sbrc r28, 3
0x3a: 0xd3 0xfd sbrc r29, 3
0x3c: 0xe3 0xfd sbrc r30, 3
0x3e: 0xf3 0xfd sbrc r31, 3
0x40: 0x07 0xfc sbrc r0, 7
0x42: 0x00 0xfc sbrc r0, 0
0x44: 0x03 0xfc sbrc r0, 3
0x46: 0x01 0xfc sbrc r0, 1
0x48: 0x06 0xfc sbrc r0, 6
0x4a: 0x05 0xfc sbrc r0, 5
0x4c: 0x02 0xfc sbrc r0, 2
start .data:
|
69b4bd2c24534b4c4ffb7286a440851470d72f7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH7/EX7.8.3/7_8_3.sce | 32eef97e9176a1af049aa9f116d4d5f04b9f9700 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 7_8_3.sce | clc
//initialisation of variables
U= 352 //ft/km.hr
a= 0.0315
d= 0.629 //kg/m^3
//CALCULATIONS
b= 2*a
V= U*(1+b)
P= d*U^2*b*0.002378*(1+a)
//RESULTS
printf (' axial velocity= %.f ft/sec',V)
printf (' \n pressure increase = %.f lbf/ft^2',P)
|
71036b23aa814ad4f27f229836ba61eea655672d | df82401a4fbb64f37b3ed00aa17d82600996f811 | /sistemas lineares - resolucao retroativa.sce | aca9685395b44d48ef768dca9f79220db5f01da1 | [] | no_license | ItaloOliveiraF/Algoritmos | 9600fa8e95fed942414250e92e93286320548795 | ff32fb26414e14d7b55b39cba7025eb2f844ea5b | refs/heads/master | 2020-04-04T19:11:32.124542 | 2018-10-26T02:59:35 | 2018-10-26T02:59:35 | 156,195,729 | 1 | 0 | null | 2018-11-05T09:56:50 | 2018-11-05T09:56:49 | null | UTF-8 | Scilab | false | false | 431 | sce | sistemas lineares - resolucao retroativa.sce | clear;
clc;
// Implementação resolução retroativa
function x = resRet(A,b)
[l,c]= size(A)
for i = l:-1:1
soma = 0;
for j = i+1:c
soma = soma + A(i,j)*x(j);
end
x(i) = (b(i) - soma)/A(i,i)
end
endfunction
//Declarando as variáveis que serão utilizadas
A = [15 5 -5;0 10 1;0 0 3];
b = [30 23 -10]';
// Exemplo de chamada
x = resRet(A,b);
|
6d0b950c12bb991f7bd7e2634272231f836217de | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/Rlt_Config.sci | b2046e234f143308919fdb5ed66ec6d05f263288 | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,268 | sci | Rlt_Config.sci | function Rlt_Config()
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// Authors
// Holger Nahrstaedt - 2010
// Ishan Pendharkar - 2001-2007
global g g_cont g_plant g_sensor MAG FREQ CYCLES Frunits kevans s gridon
global last_time k f
global choice Knumber Frunits
global kevans fminmag fmaxmag magstep fminnyq fmaxnyq
global nyqstep fminbode fmaxbode bodestep tmax tstep
global fminsens fmaxsens sensstep zeta wn gridon
//************************************************************line 10******
ierr=1;
ierr=execstr('exec Rltool_Config-1.7.sci','errcatch');
if ierr<>0 then,// if file could not be opened then...
//'// Loading your default settings file....'
mode(-1)
// Rltool ver-1.7 Configuration file. Edit with care, if at all!
gridon=0; // gridon = 0 (respectively 1) means grid off (respectively on)
diry=pwd(); // your present working directory
choice=1; // choice=1 (respectively 2) means rootlocus mode (freq mode)
kevans=1000; // maximum gain in rootlocus plot
fminmag=0.01; //minimum frequency (rad/sec) for open loop bode plot
fmaxmag=1000; //maximum frequency (rad/sec) for open loop bode plot
magstep=0.01; //frequency step for open loop bode plot
fminnyq=0.01; // minimum frequency (rad/sec) for Nyquist and Nichols plots
fmaxnyq=1000; // Maximum frequency (rad/sec) for Nyquist and Nichols plots
nyqstep=0.01; // Frequency step for Nyquist and Nichols plots.
fminbode=0.01; // Minimum frequency (rad/sec) for closed loop bode plot
fmaxbode=1000; // Maximum frequency (rad/sec) for closed loop bode plot.
bodestep=0.01; // Frequency step for closed loop bode plot
tmax=5; // Maximum simulation time (sec) for dynamic responses
tstep=0.05; // time step (sec) for dynamic responses
fminsens=0.01; // minimum frequency (rad/sec) for Sensitivity plot
fmaxsens=1000; // maximum frequency (rad/sec) for Sensitivity plot
sensstep=0.01; //frequency step for sensitivity plot
zeta=0.7; // the damping ratio
wn=1; // undamped natural frequency
MAG=1; // Magnitude of sinusoidal test input
FREQ=1; // Frequency (rad/sec) of sinusoidal test input
CYCLES=1; // Number of cycles of sinusoidal test input
Knumber=3; // Gain configuration (1) Gain in forward path (2) in feedback
//Lines 14 to 42 are to be written into a file
This_Path=get_function_path('Rlt_Config');
Var_List=mgetl(This_Path);
Var_List=Var_List(14:42,:);
mputl(Var_List,'Rltool_Config-1.7.sci');
else
disp('....loaded your settings file. Rltool is configured!');
end;
return
endfunction |
9eed4cb59ab7bee4624a3740f36b2e8f86e46f5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH13/EX13.1/Example13_1.sce | 010ef312cc22c2407ec882f7f7e5e2f3af6a85bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Example13_1.sce | //chapter13,Example13_1,pg 391
//xMy -> x-mass no., M-element, y-atomic no.
M7Li3=7.018232//mass of 7li3 (amu)
Malpha=4.003874//mass of alpha particle (amu)
Mpr=1.008145//mass of proton (amu)
//reaction:- 7li3 + 1H1-> 4He2 + 4He2
delM=M7Li3+Mpr-2*Malpha//mass defect
Q=delM*931//1 amu= 931 Mev
Ey=9.15//K.E energy of product nucleus
Ex=2*Ey-Q//K.E of incident particle
printf("kinetic energy of incident proton\n")
printf("Ex=%.2f Mev",Ex) |
b89d83d549193a47f36b5afdbcacd4006f12934d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH10/EX10.7/Ex10_7.sce | 275a56d116a18f3dfb2690b95ef56483bbdb94f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | Ex10_7.sce | clc
//initialization of variables
clear
L=1 //m
w=10 //kg
h=50 //cm
A=1 //cm^2
E=2*10^6 //kg/cm^2
Ar=1 //cm^2
Ec=3*10^4 //kg/cm^2
// For steel
del=w*L*100/(A*E)
P=w*(1+sqrt(1+(2*h/del)))
printf('Stress in steeel = %d kg/cm^2 ',P)
// for cloth laminate
del=w*L*100/(A*Ec)
P=w*(1+sqrt(1+(2*h/del)))
printf('\n Stress in cloth laminate = %.1f kg/cm^2 ',P)
|
564541eae30169df66e4e4fde88e065e3841a389 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.29/2_29.sci | c7a7326ee7eae228c251948b52514f3c9a376b14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sci | 2_29.sci | //calculating the maximum available power
clc;
Eo=80*10^-3;
Il=5*10^-9;
Rl=6*10^6;
Ro=(Eo/Il)-Rl;
Pmax=(Eo^2)/(4*Ro);
disp(Pmax,'Maximum available Power(W)=') |
45ba14e0961562e8fbcb181ed439d85a17790a45 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PMA1.prev.tst | a5a9a2f1b65922195c12d415dc252ea6115f4afb | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | tst | PMA1.prev.tst | [[5,5,0,-3],[3,0,5,5],[0,-3,5,5],[5,5,3,0]] * [a,b,c,d] =
[5*a+5*b-3*d,3*a+5*c+5*d,-3*b+5*c+5*d,5*a+5*b+3*c]
|
bf1f74ad8e1e370853ffe3fed3d53bdb09827b17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.42/Ex2_42.sce | f11a803cddd4f46e831333e61e770c3ff0439796 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Ex2_42.sce | clear
//
//Initilization of Variables
G=0.4*10**5 //N/mm**2 //Modulus of rigidity
K=0.75*10**5 //N/mm**2 //Bulk Modulus
//Calculations
//Youngs Modulus
E=9*G*K*(3*K+G)**-1
//Now from the relation
//E=2*G(1+2*mu)
mu=E*(2*G)**-1-1 //Poissons ratio
//result
printf("\n Youngs modulus is %0.2f N/mm**2",E)
printf("\n Poissons ratio is %0.2f ",mu)
|
8dea7fa0c9a52ad82080f6d7ed1919815f2e4efd | c6515791fea5828996a3924a74b5358852bc69f0 | /ap5_rotacao/visualization.sci | dc1dacd6ba52329f080a3ebdc47b45e3001a97f6 | [] | no_license | fernandascovino/fgv_math_modeling_3 | 366f05faa9fc657473acad8c1061b7c6feed8d4a | 11853e0bf2c05ad2df4fb369dfa922fc50c68ceb | refs/heads/master | 2023-02-24T23:03:18.431724 | 2021-01-31T18:08:16 | 2021-01-31T18:08:16 | 334,722,683 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sci | visualization.sci | function []= visualization(A)
// Dado uma matriz de entrada A, retorna a sua visualização
x=[1:size(A,1)], y=[1:size(A,2)];
xset('colormap',graycolormap(256)); //256 tons de cinza
isoview(0,512,0,512) //ajusta as dimensões da imagem
grayplot(x, y, A)
endfunction
|
d78a4906c62ff72d636111680112568db1b61c38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH1/EX1.10/exa1_10.sce | 5c940c122a584c6c141f5a44e635a96543348dfe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | exa1_10.sce | clc;
//Example 1.10
//Page no 22
//Solution
disp("The formula T = C+273 is used to convert degree C into Kelvin. ");
T1=100+273;
T2=0+273;
T3=-10+273;
disp('K',T1,"(a) ");
disp('K',T2,"(b) ");
disp('K',T3,"(c) ");
|
317b60959316e74147bf60dd93ba4c7cf94f23e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.22/Ex3_22.sce | d54dca43f8e1efc068b62f8a849d0eb7db5e17dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Ex3_22.sce | //Ex 3.22
clc;clear;close;
format('v',6);
f0=10*1000;//Hz(3-dB frequency)
DCgain=10;
R1=10;//kohm
R2=DCgain*R1;//kohm
C=1/(2*%pi*f0*R2*1000)*10^9;//nF
disp("Design values are :");
disp(R2,"Resistance R2(kohm): ");
disp(C,"Capacitance C(nF): ");
|
8b350d65cbe4f17ef7cd1ed40d89e5da586a9f03 | e806e966b06a53388fb300d89534354b222c2cad | /macros/detectFASTFeatures.sci | e78babae6af92018ea73f80e7737cd7dc3a8cf30 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,449 | sci | detectFASTFeatures.sci | function [cornerPoints]=detectFASTFeatures(image,varargin)
// This function is used to detect the corner points using FAST Alogrithm
//
// Calling Sequence
// [ Location Count Metric ] = detectFASTFeatures( Image, Name, Value... )
//
// Parameters
// Image: Input Image, should be a 2-D grayscale. The Input Image should be real
// MinQuality [Optional Input Argument]: Minimum Accepted Quality of Corners, can be specified as a scalar value between [0,1]. Default: 0.1
// MinContrast [Optional Input Argument]: Minimum Intensity difference for Corners to be detected, can be specified as a scalar value between[0,1]. Default: 0.2
// ROI [Optional Input Argument]: Specify a rectangular region of operation. Format [ x y width height ]. Default: [1 1 size(Image,2) size(Image,1)]
// Location: Set of x,y coordinates for the deteccted points
// Count: Number of corner points detected
// Metric: Value describing the strength of each detected Point
//
// Description
// The detectFASTFeatures function uses the Features from Accelerated Segment Test (FAST) algorithm to find feature points.
//
// Examples
// image = imread('sample.jpg');
// [location count metric] = detectFastFeatures(image);
//
// With Optional Arguments:
// [location count metric] = detectFASTFeatures(image,"MinContrast",0.2);
//
// Authors
// Umang Agrawal
// Sridhar Reddy
[lhs rhs]=argn(0);
if lhs>3
error(msprintf(" Too many output arguments"));
elseif rhs-1>6
error(msprintf(" Too many input arguments"));
elseif modulo(rhs-1,2)<>0
error(msprintf("Either Argument Name or its Value missing"));
end
imageList=mattolist(image);
select rhs-1
case 0 then
[location count metric]=opencv_detectFASTFeatures(imageList);
case 2 then
[location count metric]=opencv_detectFASTFeatures(imageList,varargin(1),varargin(2));
case 4 then
[location count metric]=opencv_detectFASTFeatures(imageList,varargin(1),varargin(2),varargin(3),varargin(4));
case 6 then
[location count metric]=opencv_detectFASTFeatures(imageList,varargin(1),varargin(2),varargin(3),varargin(4),varargin(5),varargin(6));
end
cornerPoints=struct('Type','cornerPoints','Location',location,'Metric',metric,'Count',count);
//for i=1:count
// cornerPoints(i)=struct('Location',location(i,:),'metric',metric(i,:),'Count',1);
//end
endfunction
|
dd37d935018a9fa3036408bad346b3d4c8c2a551 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH11/EX11.12.5/Ex11_5.sce | d4589adc874311395e73f7a3a8ad3f1719f314f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 982 | sce | Ex11_5.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 11 Sinusoidal oscillator and multivibrators
clc
clear
f=30//f=frequency of oscillation of a Wien-bridge oscillator in Hz
C=(500*10^(-12))//C=capacitance in farad
//f=1/2*%pi*R*C//R=resistance in ohm
R=1/(2*%pi*f*C)
disp("Mega ohms",R/10^6,"Resistance needed to span the frequency range,R=")//converting R in terms of Mega ohms
//C1=50pF C2=500pF where C1,C2 are variable capacitances in a Wien bridge oscillator
//ratio of capacitance=(1:10)
//frequency range is 30 Hz to 300 Hz with R=10.6 Megaohms
//for the next frequency range from 300 Hz to 3 kHz ,new R=(10.6/10)=1.06 Megaohm
//for frequency range 3 kHz to 30kHz,R=1.06/10=106 Kilo-ohm
//So,three values of R are 10.6 Megaohm,1.06 Megaohm,106 Kilo ohm
A=6//A=gain of amplifier
//R2/(R1+R2)=(1/3)-(1/A)=(1/3)-(1/6)
//1+(R1/R2)=6
//Hence R1/R2=5
//R3=(R1/R2)
R3="5:1"
disp(R3,"The ratio of the resistances in the other arms of the bridge,R1/R2 is =")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.