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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0af369b28831b8482b333f1b23bd3d9fc32298ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH2/EX2.30/2_30.sce | 8e2969345f93f06dcf2a230c3f01889f67948286 | [] | 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 | 524 | sce | 2_30.sce | //Chapter-2,Example 2_30,Page 2-50
clc()
//Given Data:
GE=1/5000*10^-2 //GE=(a+b) grating element
lam=5.89*10^-7 //Wavelength of light
N=3*5000 //N=W/(a+b) Number of lines on grating
//Calculations:
//We know, (a+b)*sin(theta)=m*lam
//maximum value of sin(theta)=1
m=GE/lam //Maximum order of spectra
printf('Maximum order of spectra is = %.0f \n \n',m)
RP=3*N //Resolving power (round of m to 3)
printf('Resolving power is = %.0f \n \n',RP)
|
f48510490fff890f5176b664166879d751fb246a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH11/EX11.4/Ex11_4.sce | 8aef2d3bd753691d792e3fc96885aaff08cb2b42 | [] | 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 | 978 | sce | Ex11_4.sce | clc;
P01=7; // Pressure at inlet in bar
T01=300+273.15; // Temperature at inlet in kelvin
P02=3; // Pressure at outlet in bar
alpha_2=70; // Nozzle angle in degree
eff_N=0.9; // Isentropic efficiency of nozzle
WT=75; // Power Produced in kW
Cp=1.15; // Specific heat in kJ/kg K
r=1.33; // Specific heat ratio
T_02=T01*(P02/P01)^((r-1)/r); // Isentropic temperature after expansion
T02=T01-eff_N*(T01-T_02); // Actual temperature after expansion
c2=sqrt (2*Cp*10^3*(T01-T02)); // Absolute velocity
// For optimum blade speed ratio
u=(c2*sind (alpha_2)/2); // Mean blade velocity
beta_2=atand((c2*sind(alpha_2)-u)/(c2*cosd(alpha_2))); // Blade angle
// From velocity triangles
ct2=c2*sind(alpha_2);
w2=c2*cosd(alpha_2)/cosd(beta_2);
w3=w2; // Equal inlet and outlet angles
beta_3=54; // in degrees
ct3=w3*sind(beta_3)-u;
m=(WT*10^3)/(u*(ct2+ct3)); // Gas mass flow rate
disp ("degree",beta_2,"Blade angle = ");
disp ("kg/s",m,"Gas Mass Flow Rate = ");
|
31e4b2276837d5107027e6af36fe5fe1370b77c0 | e806e966b06a53388fb300d89534354b222c2cad | /macros/imadd.sci | 93e1273c5d05882f76db6a204d65ee40de9b582e | [] | 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 | 105 | sci | imadd.sci | function[sum] = imadd(matA, matB)
[lhs, rhs] = argn(0)
sum = opencv_imadd(matA, matB)
endfunction
|
045baa96e73851f783a507a9555bd739bf562397 | 09fb666c0701b49ab031e9c772024f96f6ed1c7e | /Lab 2/laboratorio2.sce | eaad5365b84c6947fbe5b81d7fcd6b1c10d4eba1 | [] | no_license | Alejandro287/Numerica_Methods | ccbf8fa032809f6f6398a0f8100a268a750d8491 | 968f6cf10b651ff1049855a677753e6b2a44ca26 | refs/heads/master | 2020-04-02T02:45:35.586981 | 2018-10-20T16:38:01 | 2018-10-20T16:38:01 | 153,926,195 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,166 | sce | laboratorio2.sce | clc
format(5)
A1 = [
1 2 -2 1 1 -2
0 -15 5 12 11 4
0 0 -2 0 1 0
0 0 0 -2/5 -1/5 11/5
0 0 0 0 2 9
0 0 0 0 0 -2
];
B1 = [-4 112 -1 53/5 64 -12]';
X1 = UN_sustitucion_regresiva(A1,B1)'
disp(X1)
A2 = [
24/527 0 0 0 0 0
-167/122 527/122 0 0 0 0
4/13 -11/26 -61/26 0 0 0
-5/14 121/28 -187/28 -13/7 0 0
10 -37 -9 52 56 0
0 -3 1 2 2 1
];
B2 = [-144/527 -1633/122 251/26 359/28 -107 0]';
X2 = UN_sustitucion_progre(A2,B2)'
disp(X2)
A3 = [
0 -18 0 14 16 7
1 2 -2 1 1 -2
8 16 -18 8 9 -16
9 3 -13 21 20 -14
0 -3 1 2 2 1
10 -1 -21 28 32 -12
];
B3 = [142 -4 -33 76 21 145]';
[U,C] = UN_eliminacion_gauss(A3,B3)
disp(U)
disp(C')
X3 = UN_sustitucion_regresiva(U,C)'
disp(X3)
A4 = [
1 2 -2 1 1 -2
9 3 -13 21 20 -14
8 16 -18 8 9 -16
0 -18 0 14 16 7
10 -1 -21 28 32 -12
0 -3 1 2 2 1
];
[L,U] = UN_factorizacion_LU(A4)
disp(L)
disp(U)
B4 = [-4 76 -33 142 145 21]';
B5 = [-11 -106 -82 9 -107 0]';
X4 = UN_solucion_LU(L,U,B4)
disp(X4')
X5 = UN_solucion_LU(L,U,B5)
disp(X5')
|
afee6c1e0fe869677da3f2ce094ba0637db4ec24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH3/EX3.28/Ex3_28.sce | 3b2f894ef7d53cb6782462489264ea15be4de423 | [] | 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 | 351 | sce | Ex3_28.sce | //Ex:3.28
clc;
clear;
close;
n1=1.50;// core refractive index
n2=1.48;// cladding refractive index
NA=sqrt(n1^2-n2^2);// numerical aperture
a=25;// core radius in um
y=0.85;// wavelength in um
v=(2*3.14*a*NA)/y;// cut off parameter
M=v^2/2;// number of modes
printf("The cut off parameter =%f", v);
printf("\n The number of modes =%d",M); |
c4007456e06e42aad9eea352f353780d0d0df65f | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH8/EX8.7/7.sce | 2f303cadd641b0ee9e564a7c8437191d76004869 | [] | 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 | 205 | sce | 7.sce | clc; funcprot(0);
//Example 8.7 Lift Drag Ratio
// Initialisation of variables
W = 5000;
LD_Max = 21.5;
// Calculations
D = W/LD_Max;
//Results
disp(D,"Minimum drag on clark Y wing (lb)"); |
5726b1e0b78aa377a001a251424e66bcc36824ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH7/EX7.2/7_2.sce | 8501800c614d3a2a600098e06ff26ad82bde4db3 | [] | 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 | 421 | sce | 7_2.sce | clc
//initialisation of variables
t1=26 //temp in degrees
t2=32 //temp in degrees
pvs=0.033597 //pressure in bar
ps=0.047534 //pressure in bar
p=1.013 //pressure in bar
a=6.6*10^-4
//CALCULATIONS
pv=pvs-(p*a*(t2-t1))
w=(0.622*pv)/(p-pv)
phi=pv/ps
//RESULTS
printf('specific humidity is %2fkg/kg of da',w)
printf('\nrelative humidity is %2f',phi)
disp('dew point temp is 23.5 degrees') //from steam tables
|
4890657edbe2a940c4be38d615a83ad92a89e16a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH5/EX5.4/Ex5_4.sce | 2f81c36432a6dd0f729f6a4221c8791541c1cd82 | [] | 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 | Ex5_4.sce | clear
//given
//
//find the rate of flow outlet
t=600.
c=1200.
t2=400.
AT=t+460.
AT1=t2+460.
Rfo=c*(AT1/AT)
printf("\n \n Rate of flow outlet %.2f ",Rfo)
|
897ac0ac4477786c6dd6377d441bb88da040a520 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH7/EX7.4/Ex7_4.sce | bbfd9ddbcb56214cf54d652644e9eae84183e1c0 | [] | 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 | 962 | sce | Ex7_4.sce | //Fluid Systems by Shiv Kumar
//Chapter 7 - Performance of water turbine
//Example 7.4
//To Find (a) The Diameter of Runner (b) The Diameter of jet
clc
clear
//Given:
P=3200; //Power Developed, kW
H=310; // Effective Head , m
eta_o=82/100; //Overall Efficiency
Ku=0.46; // Speed Ratio
Cv=0.98 // Co-efficient of Velocity
Ns=18; //Specific Speed (SI Units)
//Data required
rho=1000; //Density of Water, Kg/m^3
g=9.81 // Acceleration due to gravity, m/s^2
//Computations
N=Ns*H^(5/4)/sqrt(P); //Speed, rpm
D=Ku*sqrt(2*g*H)*60/(%pi*N); //Diameter of runner, m
Q=P*1000/(rho*g*H*eta_o); //Discharge, m^3/s
d=sqrt(Q/((%pi/4)*Cv*sqrt(2*g*H))); // Diameter of Jet, m
//Results
printf("(a) The Diameter of Runner, D =%.2f m\n",D) //The Answer Vary due to Round Off Error
printf("(c) The Diameter of Jet, d=%.3f m \n",d)
|
24bb3fbdb369b050565d53c487b198a6af443a41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH17/EX17.4/17_4.sce | b6a3969664141bdbcb7da65035497a3e6bab683b | [] | 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 | 429 | sce | 17_4.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 17.4
//calculation of the minimum thickness of the film
//given data
lambda=589//wavelength(in nm) of the light used
mu=1.25//refractive index of the material
//calculation
//for strong reflection......2*mu*d = lambda/2
d=lambda/(4*mu)//minimum thickness
printf('the minimum thickness of the film is %d nm',round(d))
|
f0bb47bcec2be9b6aee2bf52d01b73c09ed34c12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH7/EX7.21/7_21.sce | b3a99bf0838c07d13fd831d311634fe59b709cf1 | [] | 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,531 | sce | 7_21.sce | //Example 7.21
//Calculate the rate of heat transfer .
//Given
Ts=800 //C, wall temp.
Tg=1100 //C. burner temprature
CO2=8 //percent, composition of CO2 in flue gas
M=15.2 //percent, composition of moisture in flue gas
a=0.4 //m, length of duct
b=0.4 //width of duct
h=15 //W/m^2 C, heat transfer coefficient
P=1 //atm pressure
//CAlCULATION of Eg(Tg)
pc=CO2/100*P //atm, partial pressure of CO2
pw=M/100*P //atm, partial pressure of moisture
l=1 //m, length of duct
V=a*b*l //m^3, volume of duct
A=1.6*l //m^2 area of duct
Le=3.6*(V/A) //m, mean beam length
pc*Le
pw*Le
Tg_=Tg+273
Ts_=Ts+273
//from fig 7.38
Ec=0.06
Eg=0.048 //from fig 7.39
//a correction dE need to be calculated
pw/(pc+pw)
pc*Le+pw*Le
//from fig. 7.39
dE=0.003
Eg_Tg=Ec+Eg-dE //emissivity at temp. Tg
//Calculation of alpha
pc*Le*Ts/Tg
//from fig. 7.37
Ec1=0.068
//from fig. 7.38
Ew1=0.069
Cc=1 //correction factor
Cw=1 //correction factor
d_alpha=dE //AT 1 ATM TOTAL PRESSURE
alpha=Cc*Ec1*(Tg_/Ts_)^0.65+Cw*Ew1*(Tg_/Ts_)^0.45-dE
//radiant heat ransfer rate
s=5.669*10^-8 //stephen's boltzman constant
Qrad=A*s*(Eg_Tg*Tg_^4-alpha*Ts_^4) //kW
Qconv=h*A*(Tg-Ts) //kW, convective heat transfer rate
Q=Qrad+Qconv
printf("The total rate of heat transfer from the gas to the wall is %f kW",Q/1000)
|
46d0a840d79d4ce0f434bf1efac6403c8c0c0d9b | b983ae3ffa0de712cc7fc921e6662953dcdd20bd | /mylu.sci | 9c157bde9fdd172e50ea1c68343b479d9be3194a | [] | no_license | amarHDev/TP-Calcul-numerique | 84a7c6b938e88068617f42882724d61558e4113c | af55cefdb20ad0f429fc0af682f4dbdd0fd9207e | refs/heads/main | 2023-01-28T15:43:36.536393 | 2020-12-03T02:35:19 | 2020-12-03T02:35:19 | 314,210,607 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,302 | sci | mylu.sci | function [L,U] = Mylu1(A,n)
for k=1:n-1
A(k+1:n,k)=A(k+1:n,k)/A(k,k)
A(k+1:n,k+1:n)=A(k+1:n,k+1:n)-A(k+1:n,k)*A(k,k+1:n);
end
L=tril(A,-1)+eye(n,n)
U=triu(A)
endfunction
/////////////////////////////////////////////////////////////////////////////////////
function [L,U] = mylu3b(A)
n=size(A,1);
for k=1:n-1
for i=k+1:n
A(i,k)=A(i,k)/A(k,k);
end
for i=k+1:n
for j=k+1:n
A(i,j)=A(i,j)-A(i,k)*A(k,j);
end
end
end
U=triu(A);
L=tril(A);
endfunction
////////////////////////////////////////////////////////////////////////////////////
xdata = [10:10:100];
for n = xdata
i = n/10;
U=rand(n,n);//Ici on génère une matrice carée avec des nombre aléatoires
//xl = lsolve(U,b)
[L U] = mylu3(U);
end
/////////////////////////////////////////////////////////////////////////////////////
function [L,U,P]= mylu(A)
n=size(A,1);
q=zeros(1,n);
row = [1,n]
for k=1:n-1
[piv,ind]=max(abs(A(k:n,k)));
ind=k-1+ind;
q(1,k)=row(1,ind);
if(ind~=k)
new=A(ind);
A(ind,:)=A(ind,:);
A(k,:)=new;
row(1,ind)=row(1,k);
row(1,k)=q(1,k);
end
rows=k+1:n;
A(rows,k)-A(rows,k)/A(k,k);
A(rows,rows)=A(rows,rows)-A(rows,k)+A(k,rows);
end
Idn=speye(n,n);
P=Idn(row,:);
L=tril(A,-1)+speye(n,n);
U=triu(A);
endfunction
function [L,U] = mylu3b(A)
n=size(A,1);
q=size(1,n);
row = [1,n];
for k=1:n-1
[piv,ind]=max(abs(A(k:n,k)));
ind = k-1 +ind;
q(1,k)=row(1,ind);
if(ind~=k)
new = A(ind,:);
A(ind,:)=A(k,:);
A(k,:)=new;
row(1,ind)=row(1,k);
row(1,k)=q(1,k);
end
for i=k+1:n
A(i,k)=A(i,k)/A(k,k);
end
for i=k+1:n
for j=k+1:n
A(i,j)=A(i,j)-A(i,k)+A(k,j);
end
end
end
Idn=speye(n,n);
P=Idn(row,:);
L=tril(A,-1)-speye(n,n);
U=triu(A);
endfunction
|
397eaea6d3eece5301ce8c374187e73ee0c709fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH5/EX5.12/ex_5_12.sce | 2e08e16f72c13ef688d42af27ecf8c65d2642d65 | [] | 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 | 370 | sce | ex_5_12.sce | // example 5.12
// caption: solve the integral by 1)mid-point rule,2)two-point open type rule
// let integration of f(x)=sin(x)/(x) in the range [0,1] is equal to I1 and I2
// 1)mid -point rule;
a=0;b=1;
h=(b-a)/2;
x=0:h:1;
deff('[y]=f(x)','y=sin(x)/x')
I1=2*h*f(x(1)+h)
//2) two-point open type rule
h=(b-a)/3;
I2=(3/2)*h*(f(x(1)+h)+f(x(1)+2*h)) |
dd6208039f7a5482a9ce92b07f2d3627c673637d | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/3/tests/test17.tst | 00a3985a1c5bca92ac01a495c2383f459f0e1ec6 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | tst | test17.tst | type newType = array 20 of short;
void sym1 (int a, short b, newType c) {
var e : array 10 of short;
var d : array 10 of newType;
PRINT SYMBOL TABLE
}
|
89d91fd4cc8cbeb2acafd96153514c0a92ad0521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH8/EX8.5/8_5.sce | f780ddae1eead61a32ee325b8d015ae1c4b06c3a | [] | 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 | 8_5.sce | clc
//initialisation of variables
R= 1.987 //cal mole^-1 K^-1
T= 0 //C
M= 18.02 //gms
Hf= 79.7 //cal g^-1
//CALCULATIONS
Kf= R*(273.1+T)^2*M/(1000*M*Hf)
//RESULTS
printf ('Kf of water= %.2f deg molal^-1',Kf)
|
c5a5107f69c8cba9942c2b41bca610daa6d70480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH6/EX6.2/Ex6_2.sce | 5cb8ca5c2a53d5ba604d021e844eae101af9328b | [] | 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 | Ex6_2.sce | // Exa 6.2
clc;
clear;
// Given data
/// Referring Fig. 6.5- Adjustable regulator
Vo= 7.5; // Volts
// Solution
printf(' From the data sheeet of 7805, IQ=4.2 mA. Say, we choose IR1 = 25 mA.\n ');
IQ = 0.0042; // Amperes
IR1 = 0.025; //Amperes
printf(' The voltage across load for 7805 is 5 Volts.\n ');
VR=5; // Volts
R1 = VR/IR1;
printf(' Thus, calculated value of R1 = %d Ω. \n ',R1);
printf(' We have to choose R2 as to develop a voltage of 2.5 V across it. So, R2 comes out to be,\n ');
R2= 2.5/(IR1+IQ);
printf(' The value of R2 = %d Ω. \n ',int(R2));
|
839d53cdd01232059aabf05e9059fb06a3dd5c0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH3/EX3.4/Ex3_4.sce | 1d6c81a92b4ee7459a6828a6ae909addd39a5de0 | [] | 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 | 608 | sce | Ex3_4.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 90
clear;
clc;
//Given Data
Rl=2D3;//Load resistance in ohms
esp=50;//Input signal voltage magnitude in volts peak
esf=314/(2*%pi);//Input signal frequncy in hertz
Vr_to_Vdc=6/100;//Ratio of peak to peak ripple voltage to d.c. output voltage
//Solution
//Using figure E3.4
//From right angled triangle pqr
C=1/(esf*Rl*Vr_to_Vdc)*10^6;//Capacitance in micro faraday;
printf("The size of filter capacitor is C = %.1f μF",C);
//Decimal errors in textbook due to approximations
|
480628bc6c77d49a155e5b2800dc6781064ce7d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.4/ex1_4.sce | ebb8d1b270c4f59d7e7c0f72831f1328509d7b9e | [] | 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 | 389 | sce | ex1_4.sce | // Exa 1.4
clc;
clear;
close;
format('v',10)
// Given data
e = 1.601*10^-19;// in C
m = 9.107 * 10^-31;// in kg
E = 100;// in V/m
n = 6*10^28;// in /m^3
rho = 1.5*10^-8;// in ohm-m
sigma = 1/rho;
torque = (sigma*m)/(n*(e^2));// in second
disp(torque,"The relaxation time in second is");
format('v',6)
v = ((e*E)/m)*torque;// in m/s
disp(v,"The drift velocity in m/s is");
|
957e0a6e593293f192e93703127f3e71a5633098 | 494b677053e1199325a80808377463794e1003e5 | /experiments/chi-rw-c/chi-rw-c/results/Ignore-MV.Chi-RW-C.cleveland/result5.tst | 3efa9e301805f2f1a24282da8367d2f6e103b246 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | tst | result5.tst | @relation cleveland
@attribute age real[29.0,77.0]
@attribute sex real[0.0,1.0]
@attribute cp real[1.0,4.0]
@attribute trestbps real[94.0,200.0]
@attribute chol real[126.0,564.0]
@attribute fbs real[0.0,1.0]
@attribute restecg real[0.0,2.0]
@attribute thalach real[71.0,202.0]
@attribute exang real[0.0,1.0]
@attribute oldpeak real[0.0,6.2]
@attribute slope real[1.0,3.0]
@attribute ca real[0.0,3.0]
@attribute thal real[3.0,7.0]
@attribute num{0,1,2,3,4}
@inputs age,sex,cp,trestbps,chol,fbs,restecg,thalach,exang,oldpeak,slope,ca,thal
@outputs num
@data
4 1
0 ?
0 3
0 ?
2 1
2 1
1 2
3 4
0 ?
3 ?
2 2
0 0
0 ?
0 ?
1 0
0 0
3 ?
0 ?
0 0
0 ?
0 0
2 2
1 ?
1 2
0 ?
1 ?
0 0
1 0
2 3
1 ?
|
9384f1cf79e994f5e888ba5bca393690432a633e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH9/EX9.5/Ex9_5.sce | aa4316d121ade3136267b791f1dd4bc05e56eb28 | [] | 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 | 244 | sce | Ex9_5.sce | //Exa 9.5
clc;
clear;
close;
//given :
Ht=80 // height of transmitting antenna in meter
Hr=50 // height of receiving antenna in meter
Dmax=sqrt(17*Ht)+sqrt(17*Hr) // in Km
disp(Dmax,"maximum range of tropospheric transmission in Km:")
|
aaab24359f0ffa3d68f8681c248071a9121efbdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH6/EX6.4/4.sce | 4802e7e73fd0598f2f1da9d2161d31195ae3bcc4 | [] | 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 | 783 | sce | 4.sce | clc
// Given that
mu1 = 1.55 // refractive index for core
mu2 = 1.50 // refractive index for cladding
d = 50 // core diameter in micro meter
// Sample Problem 4 on page no. 256
printf("\n # PROBLEM 4 # \n")
NA = sqrt(mu1^2 - mu2^2) // numerical aperture
theta_c = asin(mu2 / mu1) * (180 / %pi) // critical angle in degree
theta_0 = asin(NA) * (180 / %pi) // Acceptance angle in degree
x= d*1e-6*tan(theta_c*%pi/180) // distance travelled between two successive collisions
N = 1/x // No. of reflections per meter
printf("\n Standard formula used \n theta_c = asin(mu2 / mu1) * (180 / pi). \n NA = sqrt(mu1^2 - mu2^2). \n theta_0 = asin(NA) * (180 / pi). \n")
printf("\n Numerical aperture = %f,\n Acceptance angle is %f degree.\n No. of reflections per meter is %d",NA,theta_0,N)
|
2ee619ae59fd6a9d45dfde4a5bc21cdea2b1c0d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH7/EX7.5.a/Ex_7_5_a.sce | 7f57833c39cd66e2ccab1b3b73e7678b02cd5990 | [] | 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 | 146 | sce | Ex_7_5_a.sce | // Example 7.5.a //photocurrent
clc;
clear;
close;
R=0.85;//in AW^-1
pi=1.5;//in mW
po=1;//in mW
ip=po*R;//in mA
disp(ip,"photocurrent in mA is")
|
40ad50d23eee66f9ed75d19159615c860816c154 | 72bdc6d649588b61192529e7d1420ddc18d1a67a | /tema1/Ejemplo3aTema1.sce | be121b8b33c8af9f4ac3a6e58e2c3853df7c9d0d | [] | no_license | jgpATs2w/scilab-examples | c3fcff648f720a8e909b2af0ec9ab70fb90dfcd2 | 59522a5ae1abbadf6f62bff16095f4b74c707918 | refs/heads/master | 2020-09-27T23:41:06.927931 | 2020-02-11T08:54:24 | 2020-02-11T08:54:24 | 226,637,785 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Ejemplo3aTema1.sce | clear
i=0;
for a=1:1:12
for b=1:1:12
for c=1:1:12
if (a+b+c)==15 then
if a<>b & a<>c & b<>c then
i=i+1;
ternassuman15(i,:)=[a b c];
end
end
end
end
end
y=prod(ternassuman15,2)
[maxy,i]=max(y)
resultado=ternassuman15(i,:)
disp(resultado) |
989a194624438198b2ec0e094fbe1009c0bdb08b | 06a62d768e69fd9dda11b30011c252807e301813 | /ml_sinh.sci | 03eef99b55ccb1c10f76ba27cbd0b22fa67f144d | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sci | ml_sinh.sci | function [sinhVal] = ml_sinh(x,n)
// Template file for Assignment-2
// Compute approximation of cos(x) using MacLaurin
// Series upto the n-th order term (x^n/n!)
// ----- DO NOT EDIT THIS PART OF THE CODE -----
numerator = x.^[1:n];
denom = cumprod(1:n);
vec = [1, numerator./denom];
// ----- DO NOT EDIT ANYTHING ABOVE THIS LINE -----
// PLEASE USE "vec" for your further calculations
// ---- YOU MAY START EDITING THE FUNCTION NOW ----
i = 1:n;
vec2 = [1, (-1).^i.*numerator./denom];
sinhVal = (cumsum(vec) - cumsum(vec2))/2 ;
trueValue = sinh(x);
error = trueValue - sinhVal(n);
disp(error);
disp(trueValue);
disp(sinhVal(4));
end
|
34a0eabb9ed9e13eac988eca38339abb492095ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.3/7_3.sce | 09482460eb51cc9ba3de88ceb7632d50a5360a49 | [] | 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 | 526 | sce | 7_3.sce | clc
clear
//Input data
W=950;//Load on hydraulic dynamometer in N
C=7500;//Dynamometer constant
f=10.5;//Fuel used per hour in kg
h=50000;//Calorific value of fuel in kJ/kg
N=400;//Engine speed in rpm
//Calculations
P=(W*N)/C;//Power available at the brakes in kW
H=P*60;//Heat equivalent of power at brakes in kJ/min
Hf=(f*h)/60;//Heat supplied by fuel per minute in kJ/min
n=(H/Hf)*100;//Brake thermal efficiency in percentage
//Output
printf(' Brake thermal efficiency of the engine is %3.2f percent',n)
|
8408e218a3a1e4e32415af7001f97cac1eba8c17 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH10/EX10.4/Ex10_4.sce | 7aab01fcf16527cca57540b67444037fba10af99 | [] | 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 | 628 | sce | Ex10_4.sce | // Variable declaration
alpha = 0.05 // level of significance
x = 48
n = 60
p0 = 0.70
// Calculation
// null hypothesis: if p=0.70 , Alternative hypothesis if p>0.70
Z_thr = 1.645 // theoritical value of Z
Z_prt = (x - n*p0)/ sqrt(n*p0*(1-p0)) // practical value of Z
// Result
printf ( "Practical Z value: %.3f",Z_prt)
if(Z_thr > Z_prt) then
printf ( "null hypothesis can not be rejected")
printf ( "Proportion of good transceivers is not greater than 0.70")
else
printf ( "null hypothesis must be rejected")
printf ( "Proportion of good transceivers is greater than 0.70")
end
|
4fe82ec295feae53f9e91e865c9ab3087ed0cb0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.48/5_48.sci | 4c03386723988bd4ff3c2968a02bee0640379afd | [] | 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 | 93 | sci | 5_48.sci | //
clc;
Kh=-1*10^-6;
I=3;
B=0.5;
t=2*10^-3;
Eh=Kh*I*B/t;
disp(Eh,'output voltage (V)') |
df57011283459c5e778e4c8ac03f996326ecac05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.28/Ex_1_28.sce | dc347bfd11e4420f2215a400805cf667809d095e | [] | 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 | 656 | sce | Ex_1_28.sce | //Example 1_28
clc;
clear;close;
//Given data:
V=32;//V
Eta=0.63;
Ip=10*10^-6;//A
Vv=3.5;//V
Iv=10*10^-3;//A
Vf=0.5;//V
f=50;//Hz
tau=50*10^-3;//s
T=1/f//s
Vp=Eta*V+Vf;//V
C=0.4*10^-6;//F//assumed
disp(C*10^6,"Suitable value of C in micro F ")
//V-Ip*R>Vp
R_upper=(V-Vp)/Ip;//ohm
//V-Iv*R<Vv
R_lower=(V-Vv)/Iv;//ohm
disp("Value of R should be lie between "+string(R_lower)+" ohm to "+string(R_upper)+" ohm")
R=T/C/log(1/(1-Eta));//ohm
disp(R,"Suitale value of R in ohm ");
R4=tau/C;//ohm
disp(R4,"Suitale value of R4 in ohm ");
R3=10^4/Eta/V;//ohm
disp(R3,"Suitale value of R3 in ohm ");
//Answer for R4 is wrong in the book
|
5a1853ab1dd0df33a91dec4854d05a318c5a6088 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.35/Ex35.sce | 366c88be379533d159e37924dd7fbceed5b9c8bd | [] | 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 | 268 | sce | Ex35.sce | //Ex:35
clc;
clear;
close;
l_fs=202;//free space loss in db
l_ab=0.5;//atmospheric absorption loss in db
l_ap=1;//antenna pointing loss in db
l_rf=2;//receiver feedback loss in db
l_s=l_fs+l_ab+l_ap+l_rf;//losses in db
printf("the total link loss=%f db",l_s); |
f618a596c2a484079d71689cff04c2625064e43a | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Narrow Strafe Dodge.sce | 4bf2d610db57c6d5cd9dffdceb396ca8facbc69e | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27,686 | sce | Narrow Strafe Dodge.sce | Name=Narrow Strafe Dodge
PlayerCharacters=Quaker1
BotCharacters=narrow_bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker1
AddedBots=narrow_bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=narrow_strafe.map
MapScale=10.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
InvincibleBots=true
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=0.0
ScorePerDamage=1.0
ScorePerKill=10.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=false
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=Narrow Strafe
WeaponHeroTag=LG
DifficultyTag=3
AuthorsTag=NFNT, Whisper
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=false
BlockFCT=true
Description=Various strafe actions in a narrow area
GameVersion=2.0.1.1
ScorePerDistance=0.05
MBSEnable=true
MBSTime1=0.25
MBSTime2=0.65
MBSTime3=0.9
MBSTime1Mult=10.0
MBSTime2Mult=20.0
MBSTime3Mult=5.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
LockFOVRange=false
LockedFOVMin=60.0
LockedFOVMax=120.0
LockedFOVScale=Clamped Horizontal
[Bot Profile]
Name=narrow_bot
DodgeProfileNames=narrow_dodge
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=narrow_char
SeeThroughWalls=false
NoDodging=false
NoAiming=false
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Character Profile]
Name=Quaker1
MaxHealth=400.0
WeaponProfileNames=LG HS;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=1.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=80.000
HeadshotOnly=false
DamageKnockbackFactor=4.0
MovementType=Base
MaxSpeed=1100.0
MaxCrouchSpeed=500.0
Acceleration=7500.0
AirAcceleration=16000.0
Friction=4.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=3.0
AirControl=0.25
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=true
CanJumpFromCrouch=false
EnemyBodyColor=X=0.771 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=1.000 Y=0.888 Z=0.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Cylindrical
MainBBHeight=600.0
MainBBRadius=58.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=narrow_char
MaxHealth=100.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=5.0
StepUpHeight=75.0
CrouchHeightModifier=0.6
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1400.0
MaxCrouchSpeed=200.0
Acceleration=20000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=1600.0
Gravity=6.0
AirControl=0.1
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Cylindrical
MainBBHeight=320.0
MainBBRadius=65.0
MainBBHasHead=true
MainBBHeadRadius=55.0
MainBBHeadOffset=-10.0
MainBBHide=true
ProjBBType=Cylindrical
ProjBBHeight=320.0
ProjBBRadius=65.0
ProjBBHasHead=true
ProjBBHeadRadius=55.0
ProjBBHeadOffset=-10.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=0.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=0.1
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Dodge Profile]
Name=narrow_dodge
MaxTargetDistance=2500.0
MinTargetDistance=750.0
ToggleLeftRight=true
ToggleForwardBack=false
MinLRTimeChange=0.3
MaxLRTimeChange=0.4
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.2
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.1
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.2
MaxCrouchTime=0.3
MinJumpTime=0.2
MaxJumpTime=0.3
LeftStrafeTimeMult=0.8
RightStrafeTimeMult=0.8
StrafeSwapMinPause=0.1
StrafeSwapMaxPause=0.2
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
WaypointLogic=Ignore
WaypointTurnRate=200.0
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
ForwardTimeMult=1.0
BackTimeMult=1.0
DamageReactionChangesFB=false
[Weapon Profile]
Name=LG HS
Type=Hitscan
ShotsPerClick=1
DamagePerShot=1.0
KnockbackFactor=0.0
TimeBetweenShots=0.05
Pierces=false
Category=FullyAuto
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=100000.0
GravityScale=1.0
HeadshotCapable=true
HeadshotMultiplier=10.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.1
ReloadTimeFromPartial=0.1
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.001
HitSoundCooldown=0.001
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=0
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=true
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=false
AimPunchAmount=0.0
AimPunchResetTime=0.2
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=104.0
ADSFOVScale=Apex Legends
ADSAllowUserOverrideFOV=false
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.1
IncReloadLoopTime=0.1
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.1
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=-50.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=Gunshot
ParticleBodyImpact=Gunshot
ParticleProjectileTrail=
ParticleHitscanTrace=Tracer
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=0.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=false
SpreadSSA=1.0,1.0,-1.0,0.0
SpreadSCA=1.0,1.0,-1.0,0.0
SpreadMSA=1.0,1.0,-1.0,0.0
SpreadMCA=1.0,1.0,-1.0,0.0
SpreadSSH=1.0,1.0,-1.0,0.0
SpreadSCH=1.0,1.0,-1.0,0.0
SpreadMSH=1.0,1.0,-1.0,0.0
SpreadMCH=1.0,1.0,-1.0,0.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=1.0
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.175
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-256.000000 200.000000 168.000000
-248.000000 200.000000 168.000000
-248.000000 200.000000 -256.000000
-256.000000 200.000000 -256.000000
-256.000000 0.000000 168.000000
-248.000000 0.000000 168.000000
-248.000000 0.000000 -256.000000
-256.000000 0.000000 -256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
248.000000 200.000000 168.000000
256.000000 200.000000 168.000000
256.000000 200.000000 -256.000000
248.000000 200.000000 -256.000000
248.000000 0.000000 168.000000
256.000000 0.000000 168.000000
256.000000 0.000000 -256.000000
248.000000 0.000000 -256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-248.000000 200.000000 -248.000000
248.000000 200.000000 -248.000000
248.000000 200.000000 -256.000000
-248.000000 200.000000 -256.000000
-248.000000 0.000000 -248.000000
248.000000 0.000000 -248.000000
248.000000 0.000000 -256.000000
-248.000000 0.000000 -256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-255.000000 176.000000 255.000000
257.000000 176.000000 255.000000
257.000000 176.000000 -257.000000
-255.000000 176.000000 -257.000000
-255.000000 160.000000 255.000000
257.000000 160.000000 255.000000
257.000000 160.000000 -257.000000
-255.000000 160.000000 -257.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-80.000000 200.000000 256.000000
80.000000 200.000000 256.000000
80.000000 200.000000 224.000000
-80.000000 200.000000 224.000000
-80.000000 0.000000 256.000000
80.000000 0.000000 256.000000
80.000000 0.000000 224.000000
-80.000000 0.000000 224.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
80.000000 200.000000 256.000000
256.000000 200.000000 256.000000
256.000000 200.000000 128.000000
80.000000 0.000000 224.000000
80.000000 200.000000 224.000000
256.000000 0.000000 256.000000
256.000000 0.000000 128.000000
80.000000 0.000000 256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 4 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 6 5 7 0x00000000
brush
vertices
-256.000000 200.000000 256.000000
-80.000000 200.000000 256.000000
-80.000000 200.000000 224.000000
-257.000000 0.000000 128.000000
-257.000000 200.000000 128.000000
-80.000000 0.000000 256.000000
-80.000000 0.000000 224.000000
-256.000000 0.000000 256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 4 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 6 5 7 0x00000000
brush
vertices
-48.000000 14.000000 160.000000
48.000000 14.000000 160.000000
48.000000 14.000000 64.000000
-48.000000 14.000000 64.000000
-48.000000 0.000000 160.000000
48.000000 0.000000 160.000000
48.000000 0.000000 64.000000
-48.000000 0.000000 64.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-262.000000 0.000000 252.000000
250.000000 0.000000 252.000000
250.000000 0.000000 -260.000000
-262.000000 0.000000 -260.000000
-262.000000 -16.000000 252.000000
250.000000 -16.000000 252.000000
250.000000 -16.000000 -260.000000
-262.000000 -16.000000 -260.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
0.000000 13.999999 176.000000
16.000000 14.000000 176.000000
48.000000 13.999999 160.000000
16.000000 0.000000 176.000000
0.000000 0.000000 176.000000
0.000000 13.999999 160.000000
0.000000 0.000000 160.000000
48.000000 0.000000 160.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
-16.000000 14.000000 176.000000
0.000000 14.000000 176.000000
0.000000 13.999999 160.000000
0.000000 0.000000 176.000000
-16.000000 0.000000 176.000000
-48.000000 13.999999 160.000000
-48.000000 0.000000 160.000000
0.000000 0.000000 160.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
64.000000 13.999999 112.000000
64.000122 14.000000 96.000107
48.000122 13.999999 64.000137
64.000122 0.000000 96.000107
64.000000 0.000000 112.000000
48.000130 13.999999 112.000107
48.000130 0.000000 112.000107
48.000122 0.000000 64.000137
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
64.000160 14.000000 128.000153
64.000000 14.000000 112.000000
48.000130 13.999999 112.000107
64.000000 0.000000 112.000000
64.000160 0.000000 128.000153
48.000122 13.999999 160.000137
48.000122 0.000000 160.000137
48.000130 0.000000 112.000107
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
0.000000 13.999999 48.000000
-15.999878 14.000000 47.999916
-47.999847 13.999999 63.999916
-15.999878 0.000000 47.999916
0.000000 0.000000 48.000000
0.000145 13.999999 63.999916
0.000145 0.000000 63.999916
-47.999847 0.000000 63.999916
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
16.000191 14.000000 47.999886
0.000000 14.000000 48.000000
0.000145 13.999999 63.999916
0.000000 0.000000 48.000000
16.000191 0.000000 47.999886
48.000206 13.999999 63.999931
48.000206 0.000000 63.999931
0.000145 0.000000 63.999916
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
-64.000000 13.999999 112.000000
-63.999947 14.000000 127.999832
-47.999969 13.999999 159.999847
-63.999947 0.000000 127.999832
-64.000000 0.000000 112.000000
-47.999969 13.999999 111.999817
-47.999969 0.000000 111.999817
-47.999969 0.000000 159.999847
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
-64.000000 14.000000 95.999771
-64.000000 14.000000 112.000000
-47.999969 13.999999 111.999817
-64.000000 0.000000 112.000000
-64.000000 0.000000 95.999771
-47.999954 13.999999 63.999741
-47.999954 0.000000 63.999741
-47.999969 0.000000 111.999817
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
-64.000000 96.000000 104.000000
64.000000 96.000000 104.000000
64.000000 96.000000 96.000000
-64.000000 96.000000 96.000000
-64.000000 0.000000 104.000000
64.000000 0.000000 104.000000
64.000000 0.000000 96.000000
-64.000000 0.000000 96.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-64.000000 96.000000 128.000000
64.000000 96.000000 128.000000
64.000000 96.000000 120.000000
-64.000000 96.000000 120.000000
-64.000000 0.000000 128.000000
64.000000 0.000000 128.000000
64.000000 0.000000 120.000000
-64.000000 0.000000 120.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-56.000000 96.000000 128.000000
-55.999924 96.000000 95.999962
-63.999931 96.000000 95.999969
-63.999954 96.000000 128.000000
-56.000000 0.000000 128.000000
-55.999924 0.000000 95.999962
-63.999931 0.000000 95.999969
-63.999954 0.000000 128.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
64.000000 96.000000 128.000000
64.000076 96.000000 95.999962
56.000069 96.000000 95.999969
56.000046 96.000000 128.000000
64.000000 0.000000 128.000000
64.000076 0.000000 95.999962
56.000069 0.000000 95.999969
56.000046 0.000000 128.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
entity
type PlayerSpawn
Vector3 position 0.000000 20.000000 -40.000000
Bool8 teamB 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type CameraPath
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type PlayerSpawn
Vector3 position 0.000000 14.000000 112.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
|
0f9930f4ccf15932384292bcafc3de2996fea210 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH9/EX9.8.b/Example9_8_b.sce | 9f7552a95665b07ae46e4ee05cc4a18a258ed438 | [] | 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 | Example9_8_b.sce | //Example 9.8 (b)
//Program To Determine Quality Factor of Bartlett Method
clear;
clc;
close;
//Data
fr=0.01;//Frequency Resolution
N=2400; //Samples
lb=0.89/fr;
//QUALITY FACTOR CALCULATION
Q=N/lb;
//Display the result in command window
disp(Q,"Quality Factor of Bartlett Method"); |
7c9884053ea8729b552d63208f3183a4c31dd3d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH11/EX11.10/ex11_10.sce | 37208b467a6315c3059e77bb310646455c4c514a | [] | 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 | 349 | sce | ex11_10.sce | clc;
clear all;
c = 3e8; // Velocity of light in air
h = 6.626e-34 ; // Planck's constant
lambda = 4961e-10 ; // Wavelengh of green light from mercury lamp
E = (h*c)/lambda; // Energy of each photon emitted
N = 1/E ; // Number of photons rquired to do one joule of work
disp('m^-3',N,'The number of photons from green light of mercury is')
|
715b43d987a6617f419c5104eafa08d8ff8f3aa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH2/EX2.8/2_8.sce | 35683cf9ac7933d9fe03174851cdb9a4c54d18d3 | [] | 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 | 190 | sce | 2_8.sce | clc
//initialisation of variables
s=1.9*10^-5//1/c
t1=15//c
t2=20//c
//CALCULATIONS
g=(1+(s*(t2-t1)))^(0.5)
h=g-1
d=h*24*60*60
//results
printf(' per day difference= % 1f sec',d)
|
dbb4675b1d884b9001d2a4b964cbbce29b12e9e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH15/EX15.6/example6_sce.sce | 0a79ccb8a29251b3f5dfda5b37cbd462152f4667 | [] | 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 | 346 | sce | example6_sce.sce | //chapter 15
//example 15.6
//page 654
printf("\n")
printf("given")
Vip=1;R2=39*10^3;R3=4.7*10^3;SR=250/10^-6;f=100*10^3;
disp(" for the AD843")
Vop=((R2+R3)/R3)*Vip
fp=SR/(2*3.14*Vop);
printf("full power bandwidth is %dHz\n",fp)
disp(" for a 741")
SR=.5/10^-6;
Vp=SR/(2*3.14*f);
printf(" maximum peak output voltage is %3.2fV\n",Vp) |
2ee239f47b09300f08f1b26936b01b10d34b4064 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH12/EX12.13/12_13.sce | f754bfb586f0413a9a0aa8a5298bac775da399e6 | [] | 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 | 525 | sce | 12_13.sce | //Problem 12.13:
//initializing the variables:
//calculation:
printf("\n\nResult\n\n")
printf("\n Combining the curves generated from both methods into one figure (see Fig. 12.14), \n it can be observed that the plot generated using Raoult’s law gives lower values \n of pressure at the same xm values that the NRTL method gives for higher values. Also the \n bubble point curve from Raoult’s law is (as expected) a straight line compared to the curve generated \n by the NRTL method, which is concave down.")
|
d9259d1ce0ded9aad9bf1969aace2966d38294fe | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/are_array_values_uniq-002.tst | ee3b49bb785358e88a79a0687cfd1fe5f004114a | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30 | tst | are_array_values_uniq-002.tst | ../inputs/integer_array-02.ssv |
d4c6ca6afcca3c50263709e90fb8f7a13723ac29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH7/EX7.27/Example_7_27.sce | bd6eac733614c09b9236e689943e1819a4ef2ec0 | [] | 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 | 713 | sce | Example_7_27.sce | //Example 7.27
clear;
clc;
//Given
R=0.082;//gas constant in atm dm^3 K^-1 mol^-1
m=0.1;//molality of acid solution in mol kg^-1
T=298;//temperature in K
w1=1000;//mass of water in g
//To determine the partial molar volume and the density
V2=16.62+(1.5*1.77*sqrt(m))+(2*0.12*m);//partial molar volume in cm^3 mol^-1
V=1003+(16.62*m)+(1.77*m^(3/2))+(0.12*m^2);//total volume in cm^3
V1=(V-(m*V2))/55.55;//partial molar volume of water in cm^3 mol^-1
p1=(w1+5.85)/V;//density of te solution in g cm^-3
mprintf('The partial molar volume of water = %f cm^3 mol^-1',V1);
mprintf('\n The partial molar volume of sodium chloride = %f cm^3 mol^-1',V2);
mprintf('\n The density = %f g cm^-3',p1);
//end |
5e75a87a896d2a2fc7488a9f7ff3c3c837469033 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH4/EX4.10/Ex4_10.sce | e5a4dceb4b654ac4256d443547cff609e2790d8c | [] | 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 | 601 | sce | Ex4_10.sce | // Exa 4.10
clc;
clear;
close;
// given :
d=30 //separation distance in meter
f=10 //frequency in mega hertz
f=10*10^6 //frequency in hertz
c=3*10^8 //speed of light in m/s
lambda=c/f //wavelength in meter
Gt=1.65 //transmitting gain in dB
Gr=1.65 //receiving gain in dB
// basic transmission loss :
// formula : Lb=10*log(((4*(%pi)*d)^2/(lambda)^2))
Lb=10*log10((4*(%pi)*d)^2/(lambda)^2) // basic transmmision loss in dB
disp(Lb,"basic transmmision loss in dB:")
// actual transmission loss :
La=Lb-Gt-Gr // actual transmisson loss in dB
disp(La,"actual transmisson loss in dB:")
|
ba948e4502d9c059220dac5e3e849297ce399546 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH10/EX10.2/ch10_2.sce | ce45c7217649313f043644d812c563982f2a0e4c | [] | 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,007 | sce | ch10_2.sce | clc;
clear;
printf("\t\t\tChapter10_example2\n\n\n");
// Determination of both the heat that the cooling fluid must remove and the condensation rate.
// properties of water at (100 + 60)/2 = 80°C from appendix table C11
rou_f= 947; // density in kg/m^3
cp_1= 4196; // specific heat in J/(kg*K)
v_1= 0.364e-6; // viscosity in m^2/s
Pr_1 =2.22; // Prandtl Number
kf= 0.668; // thermal conductivity in W/(m.K)
a_1 =1.636e-7; // diffusivity in m^2/s
Vv=1.9364; // specific volume in m^3/kg
rou_v=1/Vv; // vapor density;
g=9.81;
hfg=2257.06*1000;
Tg=100;
Tw=60;
L=1;
printf("\nThe vapor density is %.3f kg/cu.m",rou_v);
// specifications of 1 nominal schedule 40 pipe from appendix F1
OD=.03340;
hD=0.782*[(g*rou_f*(1-(rou_v/rou_f))*(kf^3)*hfg)/(v_1*OD*(Tg-Tw))]^(1/4);
printf("\nThe average heat transfer coefficient is %.3e W/(sq.m.K)",hD);
q=hD*%pi*OD*L*(Tg-Tw);
printf("\nThe heat flow rate is %.1e W",q);
mf=q/hfg;
printf("\nThe rate at which steam condenses is %.2f kg/s = %d kg/hr",mf,.02*3600);
|
22adcaa178831420d90a620f4e37abe72aef5077 | 448b934390596180e5965efadbcbe8e13809ab8c | /macros/pkgInitData.sci | b017b570226d4b92c593f15fa3da68b9dbcdf4f9 | [] | no_license | pirpyn/pkg-scilab | 3834d8b5e5e7cbb71e2d2cff14ea763d32259bf0 | b3ac0d499c9b446d02159f29068616fcf2a57f56 | refs/heads/master | 2021-01-19T17:36:20.707736 | 2017-12-11T21:31:23 | 2017-12-11T21:31:23 | 101,072,162 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 682 | sci | pkgInitData.sci | function value=pkgInitData(key)
data = struct()
data.Toolbox = 'foo'
data.Title = 'the Foo toolbox'
data.Summary = 'A dummy toolbox automatically generated'
data.Version = '1.0'
data.Author = 'John Smith'
data.Maintainer = ''
data.Category = ''
data.Entity = ''
data.WebSite =''
data.License = 'BSD'
data.LicensePath =''
data.ScilabVersion ='>= 5.4'
data.Depends =''
dte = getdate()
data.Date = msprintf('%02d-%02d-%4d',dte(6),dte(2),dte(1))
data.Description =[..
'Put all information here. '
'This can take several lines'
]
data.Mail = ''
data.HelpLang = 'fr_FR'
data.Path = TMPDIR
data.MacrosPath=''
value = data(key)
endfunction
|
8733abe39bc72d11069e3fb3dfb0112e0a8ef357 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH17/EX17.5/EX17_5.sce | 2114e01382740a4ef767322d46c2091c6b5b6485 | [] | 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 | 103 | sce | EX17_5.sce | //Example 17.5
clc
R=76.8
Ro=50
alpha=3.92*10^-3
t=(R-Ro)/(alpha*Ro)
T=t+20
disp(T,"Temperature in C=") |
469a2931e546218e8b3321def606f2a658d5e118 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.26/ex6_26.sce | 2be47373f82340a9f7a95bfc931b8b2445080529 | [] | 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 | ex6_26.sce | // Exa 6.26
clc;
clear;
close;
// Given data
I_DSS= 16*10^-3;// in A
V_GSoff= -6;//in V
V_GS= V_GSoff/2;// in V
I_D= I_DSS*(1-V_GS/V_GSoff)^2;// in A
disp(I_D*10^3,"The drain current in mA is : ")
V_GS= abs(V_GSoff)/2;// in V
disp(V_GS,"The gate voltage in volts is : ")
|
ff23fa74a0fa0407d8fee78d9faab20b47dc83f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH4/EX4.8/example4_8.sce | ed034c37fc4cab84ba83897643dfdf864a637546 | [] | 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,305 | sce | example4_8.sce | clear;
clc;
// Stoichiometry
// Chapter 4
// Material Balances involving Chemical Reaction
// Example 4.8
// Page 124
printf("Example 4.8, Page 124 \n \n");
// solution
n = 100//[kmol] SO3 free gas basis
n1 = 16.5 //[kmol] SO2
n2 = 3 //[kmol] O2
n3 = 80.5 //[kmol] N2
// S + O2 = SO2
// S + 3/2 O2 = SO3
n4 = (21/79)*80.5 //[kmol] O2 supplied
n5 = n4-n1-n2 // [kmol] Unaccounted O2
// O2 used in 2nd eq is m5
n6 = (2/3)*n5 //[kmol] SO3 produced
n7 = n1+n6 // sulphur burnt
m7 = n7*32 //[kg]
f1 = n6/n7 // fraction of SO3 burnt
// O2 req. for complete combustion of S = n7
n8 = n4-n7 //[kmol] excess O2
p1 = n8*100/n7 // %age of excess air
n9 = n4+n3 //[kmol/s] air supplied
F1 = n9*.3/n7 // air supply rate
v = 22.414*(303.15/273.15)*(101.325/100) //[m^3/kmol] sp. vol of air
V1 = F1*v //[m^3/s] flow rate of fresh air
n10 = n+n7 //[kmol] total gas from burner
n11 = n10*.3/m7 // [kmol/s] gas req. for .3 kg/s S
V2 = 220414*1073.15*n11/273.15 // flowrate of burner gases
printf("(a) \n \n The fraction of S burnt = "+string(f1)+" \n \n \n(b) \n \n percentage of excess air over the amount req. for S oxidising to SO2 = "+string(p1)+" \n \n \n(c) \n \n volume of dry air = "+string(V1)+" m^3/s \n \n \n(d) \n \n volume of burner gases = "+string(V2)+" m^3/s.")
|
e2a285959f4bf5634b07add41103f6313d0766d4 | 940067908a620ecf3af07168e750cd30769047e4 | /IntegrationRombergDecroissante.sce | b92c75eb6a4f8d088d32e4ea65d68128e0455952 | [
"MIT"
] | permissive | davidfotsa/Numerical_Methods_With_Scilab | 9bada60e6feba012fa7a52ce0e0ea85a40afd0d4 | a3c731888b8a7a77f0d851210bc62e00e348ace9 | refs/heads/main | 2023-08-01T13:11:14.528993 | 2021-09-28T04:19:38 | 2021-09-28T04:19:38 | 407,939,339 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | IntegrationRombergDecroissante.sce | //Integration par la méthode de Romberg decroissante
function y=f(x)
y=exp(1+x.^2);
endfunction;
function I=IntTrap(f,a,b,h)
I=(f(a)+f(b))/2;
//h=(b-a)/n;
x=a:h:b;
n=length(x);
if n>2 then
I=I+sum(f(x(2:n-1)));
end
I=I*h;
endfunction
function r=g(X,Y,x)
//A=sparse(zeros(length(X),length(X)));
n=length(X);
A=zeros(n,n);
for j=1:n
for i=j:n
if (j==1) then
A(i,j)=Y(n-i+1);
else
A(i,j)=((x-X(n-i+j))*A(i,j-1)-(x-X(n-i+1))*A(i-1,j-1))/(X(n-i+1)-X(n-i+j));
end;
end;
end;
disp(A);
r=A(n,n);
endfunction;
X=[.25,.5,1];
Y=[IntTrap(f,1,2,.25),IntTrap(f,1,2,.5),IntTrap(f,1,2,1)];
disp(g(X,Y,0))
|
fec743ab801bfadeb3608069cc8cf03e63a75706 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH18/EX18.9/Ex18_9.sce | c8521f0e3fa18f3e5ea07535ad732e9f42867f8c | [] | 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 | 628 | sce | Ex18_9.sce | b=250//column width, in mm
D=500//column depth, in mm
lex=4//in m
ley=4//in m
Pu=300//in kN
Asc=1472//in sq mm
Ast=1472//in sq mm
fck=15//in MPa
fy=250//in MPa
c=50//cover, in mm
Max=Pu*10^3*D/2000*(lex/(D/10^3))^2/10^6//in kN-m
May=Pu*10^3*b/2000*(ley/(b/10^3))^2/10^6//in kN-m
Puz=(0.45*fck*(b*D-(Asc+Ast))+0.75*fy*(Asc+Ast))/10^3//in kN
//to find Pb
xu=(D-c)/(1+0.002/0.0035)//in mm
fsc=217.5//in MPa
fst=217.5//in MPa
Pb=(0.36*fck*b*xu+fsc*Asc-fst*Ast)/10^3//in kN
k=(Puz-Pu)/(Puz-Pb)//>1
k=1
Max=k*Max//in kN-m
May=k*May//in kN-m
mprintf("Additional Moments are:\nMax=%f kN/m\nMay=%f kN-m", Max,May)
|
6206ecef6ba8ef7e9dea0a67fccd2602ad169c10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH7/EX7.5/N_Ex_7_5.sce | 0d574df21b185a18eef5de3ac8ad7e062d8f3e0b | [] | 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 | 281 | sce | N_Ex_7_5.sce | clc
//Chapter7
//Example7.5, page no 283
//Given
Fif=15// Noise figure of IF amplifier
Ap1=10// Gain of Preamplifier
Fpa=6//Noise figure of preamplifier
F2=10^(Fif/10)
F1=10^(Fpa/10)
F=F1+((F2-1)/Ap1)//overall noise figure
mprintf('The overall noise figure is: %f',F)
|
72ed57e733800566df38021d6c57ea9edaba18a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH8/EX8.10/Ex8_10.sce | 2e9e0ed2190475c4865f017d89bcc0b90280e550 | [] | 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 | 873 | sce | Ex8_10.sce | // Problem 8.10,Page no.213
clc;clear;
close;
L=75 //cm //Legth of Leaf spring
P=8 //KN //Load
y_c=20 //mm //Deflection
sigma=200 //MPa //Bending stress
E=200 //GPa //modulus of Elasticity
//b=12*t
//Calculation
//y_c=sigma*L**2*(4*E*t)**-1
//After substituting values and further simplifying we get
t=200*10**6*(75*10**-2)**2*(4*200*10**9*0.02)**-1*10**2 //Thickness of plate
b=12*t //width of plate
//Now using relation we get
//sigma=3*P*L*(2*n*b*t**2)**-1
//After substituting values and further simplifying we get
n=3*8*10**3*0.75*(2*200*10**6*0.084*0.007**2)**-1
//Y_c=L**2*(8*R)**-1
R=(L*10**-2)**2*(8*y_c*10**-3)**-1 //m //Radius of spring
//Result
printf("The thickness of plate is %.2f",t);printf(" cm")
printf("\n The width of plate is %.2f",b);printf(" cm")
printf("\n The number of plate is %d",ceil(n))
printf("\n The Radius of plate is %.2f m",R)
|
1463f9f30f7411ada1fca2b17db2b90e6b0a4ad8 | 872b5ff8852c926ca1261037de07449db7ac51db | /area-02/conta_nao_nulos.sci | 0250bad87b28818bf18ee0833504bdf377f5cab0 | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sci | conta_nao_nulos.sci | clear
n = 36
// TRIDIAGONAL
for i=1:n // itera linhas
for j=1:n // itera colunas
if abs(i-j) <= 1 then
tridiagonal(i,j) = 1
else
tridiagonal(i,j) = 0
end
end
end
R = tridiagonal*tridiagonal // D*R
count = 0
// CONTA ZEROS DE R
for i=1:n // linhas de R
for j=1:n // colunas de R
if R(i,j) <> 0 then
count = count+1;
end
end
end
|
876df1443beb3e808283a8ebd8bbaf9266420f45 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH5/EX5.26/Ex5_26.sce | c5b8a12ef1b6062c7eee50079b7b400948178f7d | [] | 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 | 662 | sce | Ex5_26.sce | // Variable declaration
Mean = 50 // Mean of normal distribution
std_dev = 5 // standard deviation of normal distribution
// Calculation
// Computer generates 2 values 0.253 and 0.531 from uniform distribution(can be obtained by reading 3 digits at a time in TABLE-7
u1 = 0.253
u2 = 0.531
// As we know z1 = sqrt(-2*ln(u2)) * cos(2*pi*u1) and z2 = sqrt(-2*ln(u2)) * sin(2*pi*u1)
Z1 = sqrt(-2 * (log(u2))) *( cos(2*%pi*u1) )
Z2 = sqrt(-2 * (log(u2))) *( sin(2*%pi*u1) )
// normal values x1 = Mean + std_dev*Z1 and x2 = Mean + std_dev*Z2
X1 = Mean + std_dev*Z1
X2 = Mean + std_dev*Z2
// Result
printf ( " Normal values : %.3f , %.3f",X1,X2)
|
a15f13eb4086b0ba9c28f647732231e2412ffab3 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/filter1.sci | 3c32928f476759046667f464b740eac15483bb2e | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,661 | sci | filter1.sci | function [Y, SF] = filter1 (B, A, X, SI, DIM)
//Apply a 1-D digital filter to the data X.
//Calling Sequence
//Y = filter1(B, A, X)
//[Y, SF] = filter1(B, A, X, SI)
//[Y, SF] = filter1(B, A, X, [], DIM)
//[Y, SF] = filter1(B, A, X, SI, DIM)
//Parameters
//B: Matrix or Integer
//A: Matrix or Integer
//X: Matrix or Integer
//Description
//'filter' returns the solution to the following linear, time-invariant difference equation:
//
// N M
//
// SUM a(k+1) y(n-k) = SUM b(k+1) x(n-k) for 1<=n<=length(x)
//
// k=0 k=0
//
//where N=length(a)-1 and M=length(b)-1. The result is calculated over the first non-singleton dimension of X or over DIM if supplied.
//
//An equivalent form of the equation is:
//
// N M
//
// y(n) = - SUM c(k+1) y(n-k) + SUM d(k+1) x(n-k) for 1<=n<=length(x)
//
// k=1 k=0
//
// where c = a/a(1) and d = b/a(1).
//Examples
//filter([1,2,3], [3,4,5], [5,6,7])
//ans =
// 1.6666667 3.1111111 4.4074074
funcprot(0);
lhs = argn(1)
rhs = argn(2)
if (rhs < 3 | rhs > 5)
error("Wrong number of input arguments.")
end
select(rhs)
case 3 then
if(lhs==1)
Y=callOctave("filter",B,A,X)
elseif(lhs==2)
[Y, SF] = callOctave("filter",B,A,X)
else
error("Wrong number of output arguments.")
end
case 4 then
if(lhs==2)
[Y, SF] = callOctave("filter",B,A,X,SI)
else
error("Wrong number of output arguments.")
end
case 5 then
if(lhs==2)
[Y, SF] = callOctave("filter",B,A,X,SI,DIM)
else
error("Wrong number of output arguments.")
end
end
endfunction
|
3e20f9583fd15bc418355d84841c1d283e692e06 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Makehasen.sci | 3f768e87ad450f649af069999a3f1949cd6c6112 | [] | 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 | 3,052 | sci | Makehasen.sci | //
// 11.05.26 (for pdflatex)
function Makehasen(Figdata,Sen,Gap,Ptn)
global Wfile FID;
Eps=10.0^(-6);
Clist=MakeCurves(Figdata);
DinM=Dataindex(Clist);
for N=1:size(DinM,1)
Tmp=DinM(N,:);
Data=Clist(Tmp(1):Tmp(2),:);
Dtall=size(Data,1);
Len=0;
Lenlist=[0];
for I=2:Dtall
Len=Len+Vecnagasa(Data(I,:)-Data(I-1,:));
Lenlist=[Lenlist,Len];
end
Lenall=Lenlist(Dtall);
if Lenall==0
continue
end
Kari=(Sen+Gap)*0.1;
Naga=Sen*0.1;
Tobi=Gap*0.1;
if Vecnagasa(Data(1,:)-Data(Dtall,:))<Eps
Nsen=max(ceil(Lenall/Kari),3);
SegUnit=Lenall/Nsen;
Naga=SegUnit*Sen/(Sen+Gap);
Tobi=SegUnit*Gap/(Sen+Gap);
SegList=[0:SegUnit:(Nsen-1)*SegUnit];
else
if Ptn==0
Nsen=max(ceil((Lenall+Tobi)/Kari),3);
SegUnit=Lenall*(Sen+Gap)/(Nsen*Sen+(Nsen-1)*Gap);
Naga=SegUnit*Sen/(Sen+Gap);
Tobi=SegUnit*Gap/(Sen+Gap);
SegList=[0:SegUnit:(Nsen-1)*SegUnit];
else
Nsen=max(ceil((Lenall+Naga)/Kari),3);
SegUnit=Lenall*(Sen+Gap)/((Nsen-1)*Sen+Nsen*Gap);
Naga=SegUnit*Sen/(Sen+Gap);
Tobi=SegUnit*Gap/(Sen+Gap);
SegList=[Tobi:SegUnit:Tobi+(Nsen-2)*SegUnit];
end
end
Hajime=1; Owari=1;
Mojisu=0;
for I=1:length(SegList)
Len=SegList(I);
J=Owari;
while Len>=Lenlist(J)-Eps
if J==Dtall
break
end
J=J+1;
end
Hajime=J-1;
J=Hajime;
while Len+Naga>Lenlist(J)-Eps
if J==Dtall
break
end
J=J+1
end
Owari=J-1;
T=(Len-Lenlist(Hajime))...
/(Lenlist(Hajime+1)-Lenlist(Hajime));
P=Data(Hajime,:)+T*(Data(Hajime+1,:)-Data(Hajime,:));
X0=sprintf('%5.5f',P(1));
Y0=sprintf('%5.5f',P(2));
Pt0='('+X0+','+Y0+')';
Str='\polyline'+Pt0;
if Wfile=='default'
mprintf('%s',Str);
else
mfprintf(FID,'%s',Str);
end;
Mojisu=Mojisu+length(Str);
for J=Hajime+1:Owari
P=Data(J,:);
X=sprintf('%5.5f',P(1));
Y=sprintf('%5.5f',P(2));
Pt='('+X+','+Y+')';
Str=Pt;
if Wfile=='default'
mprintf('%s',Str);
else
mfprintf(FID,'%s',Str);
end;
Pt0=Pt;
Mojisu=Mojisu+length(Str);
end;
T=(Len+Naga-Lenlist(Owari))...
/(Lenlist(Owari+1)-Lenlist(Owari));
P=Data(Owari,:)+T*(Data(Owari+1,:)-Data(Owari,:));
X=sprintf('%5.5f',P(1));
Y=sprintf('%5.5f',P(2));
Pt='('+string(X)+','+string(Y)+')';
Str=Pt;
if Wfile=='default'
mprintf('%s',Str);
else
mfprintf(FID,'%s',Str);
end;
Mojisu=Mojisu+length(Str);
if Mojisu>80
if Wfile=='default'
mprintf('%s\n','%');
else
mfprintf(FID,'%s\n','%');
end;
Mojisu=0;
end
end
end
if Wfile=='default'
mprintf('%s\n%s\n','%','%');
else
mfprintf(FID,'%s\n%s\n','%','%');
end;
endfunction
|
0acba974c8524df3f9cfd055a8d4ce9a4e5f8d55 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825.zip/Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825/CH9/EX9.5/Ex9_5.sce | a6be55bd554270ef2ba1800d0818323a9ba0e947 | [] | 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 | 455 | sce | Ex9_5.sce | errcatch(-1,"stop");mode(2);//Ex9_5 Pg-475
Aol= 88 //open loop gain in db
R1=2.7*10^(3) //resistor R1 in ohm
R2=68*10^(3) //resistor R2 in ohm
Beta=R1/(R1+R2) //Feedback fraction
printf("Feedback fraction = %.3f \n",Beta)
Acl=1/Beta //ideal d loop gain
printf(" Ideal d loop gain = %.2f \n",Acl)
Aol=10^(88/20) //open loop gain
Acl=Aol/(1+Beta*Aol) //exact d loop voltage gain
printf(" Exact d loop voltage gain = %.2f",Acl)
exit();
|
a5b18e14ad996b0a88d82d867378d6d66f47ccde | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH7/EX7.6/Ex7_6.sce | 7c6825183ef9cf4a5ffb9c8440f74d4016a62faf | [] | 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 | 905 | sce | Ex7_6.sce | //===========================================================================
//chapter 7 example 6
clc;clear all;
//variable declaration
RL = 2; //resistance in Ω
f =50; //frequency in Hz
L = 0.25; //inductance in H
V = 200; //voltage in V
LP = 5.6*10^-3; //inductance in H
RP =1000;
//calculations
XL = 2*%pi*f*L; //load reactance in Ω
ZL = RL+XL*%i; //load impedance
IL = V/ZL; //load current in A
XLP = 2*%pi*f*LP; //reactance in Ω
ZP = RP+XLP*%i; //pressure coil circuit impedance in Ω
IP = V/ZP; //pressure coil current in A
theta = (atan(imag(IP)/real(IP)))*180/%pi;
Ic = IL+IP;
Ic1 = sqrt(((imag(Ic))^2)+((real(Ic))^2))
phi = (atan(imag(Ic)/real(Ic)))*180/%pi;
A = (phi-theta);
x = cos((A*%pi)/180);
y =cos((theta*%pi)/180);
W = V*Ic1*y*x; //actual reading of wattmeter in watts
//result
mprintf("actual reading of wattmeter = %3.4f watts",W);
|
9ced39e3c3bff85f16c694bb26993bdf519c9d7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH2/EX2.11/EX2_11.sce | 79c4551affb39bbc55f693c334989faf3b2794f4 | [] | 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 | 322 | sce | EX2_11.sce | // difference between pressure inlet and throat of the venturimeter
// ex 2.11 pgno.48
clc
a2=0.06 // diameter of the throat
a1=0.1 // diameter of the pipe
p=0.85*1000 // kerosene fo sp. gravity
q=0.05 // flow rate
a=a2/a1
a3=1-a**4
P=(q*q*p*a3)/(2*((3.14/4)*a2*a2)^2) // presssure
mprintf('P1-P2 = %e Pa',P)
|
db705c7d815594e17d0bd76024d04699b41105f5 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3432/CH7/EX7.20/Ex7_20.sce | 958655f7b6add7d7f7dff99d4c9d61a26ac05f45 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,635 | sce | Ex7_20.sce | //Example 7.20
// Pole Placement as a Dominant Second-Order System
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
clc;
clear all;
// State space representation
F=[0 2 0 0 0;-0.10 -0.35 0.1 0.1 0.75; 0 0 0 2 0;...
0.4 0.4 -0.4 -1.4 0; 0 -0.03 0 0 -1];
G=[0 0 0 0 1]';
H=[0.5 0 0.5 0 0]; //Tape position at the head
Ht=[-0.2 -0.2 0.2 0.2 0]; //Tension output
J=0;
n=sqrt(length(F))
// Desired poles
Pc=[-0.707+0.707*%i -0.707-0.707*%i -4 -4 -4]/1.5;
//------------------------------------------------------------------
// State feedback gain matrix via LQR (riccati equation)
Q = eye(5,5);
R =1
// Riccati equation
P=riccati(F, G*inv(R)*G', Q, 'c')
K1=inv(R)*G'*P
//------------------------------------------------------------------
// State feedback gain matrix via pole-placement
exec('acker_dk.sci', -1);
K2=acker_dk(F,G,Pc);
disp(K2,'K2=',"Gain by ackermans formula" );
//------------------------------------------------------------------
Ntilde1=-inv(H*inv(F-G*K1)*G); //input gain for LQR feedback gain.
Ntilde2=-inv(H*inv(F-G*K2)*G); //input gain for Ackerman's feedback gain.
syscl1=syslin('c',(F-G*K1),G*Ntilde1,H,J); //closed loop system with K1
syscl2=syslin('c',(F-G*K2),G*Ntilde2,H,J); //closed loop system with K2
t=0:0.1:12;
[y1 x1]=csim('step',t,syscl1); //response of position head with K1
[y2 x2]=csim('step',t,syscl2); //response of position head with K2
//plot of a position of read write head
plot(t,y1,"m-."); //Design via LQR
plot(t,y2,2); //Design via Ackerman's Formula
//Title, labels and grid to the figure
exec .\fig_settings.sci; // custom script for setting figure properties
title('Step response of tape servomotor designs','fontsize',3);
xlabel('Time t (sec.)','fontsize',2);
ylabel('Tape Posotion','fontsize',2);
xstring(2.5,1.1,"LQR")
xarrows([3;4],[1.1;0.95],-1,1)
xstring(5,0.7,["Dominant";"second order"])
xarrows([5;4.2],[0.8;0.9],-1.5,1)
//------------------------------------------------------------------
//response as a tape tension
yt1=Ht*x1;
yt2=Ht*x2;
figure(1)
plot(t,yt1,"m-."); //Design via LQR
plot(t,yt2,2); //Design via Ackerman's Formula
//Title, labels and grid to the figure
exec .\fig_settings.sci; // custom script for setting figure properties
title('Tension plots for tape servomotor step responses','fontsize',3);
xlabel('Time t (sec.)','fontsize',2);
ylabel('Tape Tension','fontsize',2);
xstring(3.5,0,"LQR")
xarrows([3.7;4.7],[0;0],-1)
xstring(6.1,-0.015,["Dominant";"second order"])
xarrows([6;6],[-0.013;-0.002],-1)
//------------------------------------------------------------------ |
00947ff71a0c90060eed70f723008a09e20519d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH4/EX4.11/Ex4_11.sce | a5d834890a32f650d5194b11732eebaca0af1a07 | [] | 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 | 132 | sce | Ex4_11.sce | clear
//find the electric generator to takes 150 kn
//given
//
g=150.
a=1.341
p=g*a
printf("\n \n equilient horse power %.2f hp",p)
|
8c2f3eb3da81489e1767ac931d040b9c3a3dc54f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH12/EX12.6/Ex12_6.sce | a9c4edcdb179def3598a22cd4ca8b23be4fbdade | [] | 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 | 136 | sce | Ex12_6.sce | clc
kAl=2.6
kCu=3.9
rAl=2.7//u ohm cm
rCu=1.7//u ohm cm
reduction=(rCu*kAl*100)/(rAl*kCu)
disp(reduction,"reduction in% is= ")
|
309d900252570d1c57fcd790d33fd8f3de4d5dca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH10/EX10.8/10_8.sce | 95413e54c46a1ca38b2a34063fb67d39f3074587 | [] | 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,462 | sce | 10_8.sce | clc
clear
//Input data
T1=263;//Minimum temperature at which Vapour compression refrigerator using methyl chloride operates in K
T2=318;//Maximum temperature at which Vapour compression refrigerator using methyl chloride operates in K
sf1=0.183;//Entropy of the liquid in kJ/kg K
hfg1=460.7;//Enthalpy of the liquid in kJ/kg
sf2=0.485;//Entropy of the liquid in kJ/kg K
hfg2=483.6;//Enthalpy of the liquid in kJ/kg
x2=0.95;//Dryness fraction at point 2
hf3=133.0;//Enthalpy of the liquid in kJ/kg
W=3600;//Work to be spent corresponding to 1kW/hour
Cw=4.187;//Specific heat of water in kJ/kg degrees celcius
mi=1;//Mass of ice produced at 0 degrees celcius
Li=335;//Latent heat of ice in kJ/kg
hf1=45.4;//Enthalpy of liquid at 263 K in kJ/kg
hf2=133;//Enthalpy of liquid at 318 K in kJ/kg
//Calculations
s2=sf2+((x2*(hfg2-hf2))/T2);//Enthalpy at point 2 in kJ/kg
x1=(s2-sf1)/((hfg1-hf1)/T1);//Dryness fraction at point 1
h1=hf1+(x1*hfg1);//Enthalpy at point 1 in kJ/kg
h2=hf2+(x2*hfg2);//Enthalpy at point 2 in kJ/kg
COP=(h1-hf3)/(h2-h1);//Theoretical COP
COPa=0.6*COP;//Actual COP which is 60 percent of theoretical COP
H=W*COPa;//Heat extracted or refrigeration effect produced per kW hour in kJ
Hw=(mi*Cw*10)+Li;//Heat extracted from water at 10 degrees celcius for the formation of 1 kg of ice at 0 degrees celcius
I=H/Hw;//Amount of ice produced in kg/kW hr
//Output
printf('The amount of ice produced is %3.2f kg/kW hr',I)
|
94ee47a89c6b70b56d3578a310c9da1ee6159afa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH1/EX1.5.11/Ex1_5_11.sce | 72d485cb515e475aca115b961adb75ddc8f8bb71 | [] | 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 | Ex1_5_11.sce | clear;
clc;
DelG=2866;//in J/mol
rhoG=2.25;//in gm/cm^3
rhoD=3.52;//in gm/cm^3
MC=12;//mass of carbon
P1=1;//in atm
P2=(-DelG/(MC/rhoD-MC/rhoG))+P1
printf('P2=%.1f Jcm^-3',P2)
R1=0.082;//in dm^3atm
R2=8.314;//in J
P21=P2*(R1*1000/R2)
printf('\nP21=%.1d atm',P21)
//There are some errors in the solution given in textbook
//page 23
|
ba38726059ca8c67a5f92a7e753cb9a2dd8ab2df | 75e45ac87e34faec83ba178b220061833ca314dc | /TP1/tp1_1.sce | a371ff5b97a1e8f34cd4e18912e4500e1a2cbe92 | [] | no_license | GrinninReaper/ET4-TP-MethodeNumerique | 3d465828afce25b4bfc7a10098e9bc398f7176b1 | 8b7373fcf228fed9fc2cb0f8241c802608414abf | refs/heads/master | 2020-08-02T00:46:59.035354 | 2019-09-26T21:08:35 | 2019-09-26T21:08:35 | 211,181,502 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,303 | sce | tp1_1.sce | //30/11/18
//Anandou Candassamy
//TP1 de Méthode Numérique exo 1
clear();
//disp(x)
function [v, lambda, iter, x, y] = puissance(A, x0, tol, itermax)
xk = x0;
lambda1 = 1;
lambda2 = 0;
iter = 1
x = [];
y = []
while abs(lambda2 -lambda1) >= tol & iter<itermax do
x = [x, norm(xk)];
y = [y, iter];
lambda1 = lambda2;
yk = xk(:)/norm(xk);
xk = A * yk;
lambda2 = yk'*xk;
iter = iter + 1;
end
v = yk;
lambda = lambda2;
endfunction
A = [-4,14,0; -5,13,0; -1,0,2]
A2 = [2 0 0; 0 0 0; 0 -2 1];
A3 = [2 1 0; 0 2 0; 0 0 1];
x0 = [6; 6; 6];
disp("matrice A")
[first, scd, thrd, x, y] = puissance(A, x0, 0.00000000000000000000000001, 100);
disp(first);
disp(scd);
disp(thrd);
clf();
//disp(x);
//disp(size(x));
//disp(size(y));
x = x - scd;
plot2d(y, x);
//drawnow();
disp(gsort(diag(A)));
//disp(spec(A));
disp("matrice A2")
[first, scd, thrd, x, y] = puissance(A2, x0, 0.00000000000000000000000001, 100);
disp(first);
disp(scd);
disp(thrd);
x = x - scd;
plot2d(y, x);
//disp(bdiag(A2));
//disp(spec(A2));
disp("matrice A3")
[first, scd, thrd, x, y] = puissance(A2, x0, 0.00000000000000000000000001, 100);
disp(first);
disp(scd);
x = x - scd;
plot2d(y, x);
//disp(thrd);
//disp(bdiag(A2));
disp(spec(A2));
|
eb6a0fe1c4baa0314c89f2c89832787abff0f426 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH8/EX8.9/8_9.sce | de35592358d0c4c72cbde1b09847c0eb11c7659e | [] | 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 | 546 | sce | 8_9.sce | P=50E3
a=2200/220
/////OC Parameters
Poc=405
Ioc=5
Voc=220
/////SC Parameters
Psc=805
Isc=20.2
Vsc=95
Y0=Ioc/Voc
Gi=Poc/Voc/Voc
Bm=sqrt(Y0*Y0-Gi*Gi)
Z=Vsc/Isc
R=Psc/Isc/Isc
X=sqrt(Z*Z-R*R)
///////////Referred to HV side
GiHV=Gi/a/a
disp(GiHV)
BmHV=Bm/a/a
disp(BmHV)
disp(R)
disp(X)
////////////Referred to LV side
disp(Gi)
disp(Bm)
RLV=R/a/a
disp(RLV)
XLV=X/a/a
disp(XLV)
//////////Per unit
GiPU=GiHV/0.0103
BmPU=BmHV/0.0103
RPU=R/96.8
XPU=X/96.8
disp(GiPU)
disp(BmPU)
disp(RPU)
disp(XPU)
|
d38aaf9331746d4e49f4b92d2512872ce61aab23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH3/EX3.6/Ex3_6.sce | fc7afb40c67a9547c90fdafdb03f0d9370223e4a | [] | 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 | 605 | sce | Ex3_6.sce | // exa 3.6 Pg 69
clc;clear;close;
// Given Data
N=200;// rpm
P=200;// kW
tau_d=42;// Mpa
W=900;// N
L=3;// m
sigma_t=56;// MPa
sigma_c=56;// MPa
T=P*60*10**3/(2*%pi*N);// N.m
M=W*L/4;// N.m
Te=sqrt(M**2+T**2);// N.m
//Te=(%pi/16)*d**3*tau_d
d=(Te/((%pi/16)*tau_d)*1000)**(1/3);// mm
printf('\n Using equivalent torque equation,\n shaft diameter d = %.f mm',d)
Me=(1/2)*(M+sqrt(M**2+T**2));// N.m
//Me=(%pi/32)*d**3*sigma_d
d=(Me/((%pi/32)*sigma_c)*10**3)**(1/3);//mm
printf('\n Using equivalent bending moment equation,\n shaft diameter d = %.2f mm or %.f mm',d, ceil(d))
printf('\n Adopt d=105 mm.')
|
353ce771380d829eb35219e840d3f0fd031da031 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH5/EX5.12/Ex5_12.sce | 4a9269a1a0bf881e121d44c5d218fae2c77f9c02 | [] | 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 | 817 | sce | Ex5_12.sce | clc
// initialization of variables
T1=400+273 // initial temperature in kelvin
P=600 // pressure in kPa
Tsurr=25+273 // surrounding temperature in K
m=2 // mass of steam in kg
//solution
//please refer to steam table for values
s1=7.708 // specific entropy of steam @ 400 degree celsius and 0.6 MPa
s2=1.9316// specific enropy of condensed water @ 25 degree celsius and 0.6 MPa
delSsys=m*(s2-s1) // entropy change in system i.e of steam
h1=3270 // specific enthalpy of steam @ 400 degree celsius and 0.6 MPa
h2=670.6//specific enropy of condensed water @ 25 degree celsius and 0.6 MPa
Q=m*(h1-h2)// heat transfer at constant pressure
delSsurr=Q/Tsurr // entropy change in surroundings
sigma=delSsys+delSsurr // net entropy change
printf("The net entropy production is %.1f kJ/K",sigma)
|
41546af576fb3d3a1d4972816399bcece81a569f | d5e7ddddbabe94183774d145a4b984d6eb3cba25 | /lab1_ct.sce | 1151607143903f6f255af4887b63b523ccb7cee3 | [
"MIT"
] | permissive | s-kostyuk/labs_ct | 71d01035a7e4bfa1f2ce3102bff3cd81fbf0f1a2 | af843ba36eca6c0f79cbd4f4dcae3d35e648767b | refs/heads/master | 2021-01-10T03:54:40.865469 | 2015-11-14T21:34:41 | 2015-11-14T21:34:41 | 45,732,875 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,354 | sce | lab1_ct.sce | mode( -1 )
Rres = input( "Введите сопротивление резисторов в формате [R1;R2;R3;R4;R5;R6]: " )
E = input( "Введите ЭДС источников напряжения в формате [E1;E2]: " )
// Метод контурных токов
Rmatrix = [ Rres(1) + Rres(4), -Rres(4), 0; -Rres(4), Rres(3) + Rres(5) + Rres(4) + Rres(6), -Rres(5); 0, -Rres(5), Rres(5) + Rres(2) ]
Ek = [ E(1); 0; E(2) ]
Ik = linsolve( Rmatrix, -Ek )
disp( "Значения контурных токов:" )
disp( Ik )
disp( "Значения токов в ветвях:" )
Ib = [ Ik(1); Ik(3); Ik(2); Ik(1) - Ik(2); Ik(3) - Ik(2); Ik(2) ]
disp( Ib )
// Метод узловых потенциалов
Gmatrix = [ 1/Rres(1) + 1/Rres(4) + 1/Rres(6), -1/Rres(6), -( 1/Rres(1) + 1/Rres(4) ); -1/Rres(6), 1/Rres(6) + 1/Rres(5) + 1/Rres(2), 0; -( 1/Rres(1) + 1/Rres(4) ), 0, 1/Rres(4) + 1/Rres(3) + 1/Rres(1) ]
Jn = [ E(1) / Rres(1); -E(2) / Rres(2); -E(1) / Rres(1) ]
FIn = linsolve( Gmatrix, -Jn )
disp( "Значения узловых потенциалов:" )
disp( FIn )
Ib2 = [ (FIn(3) - FIn(1) + E(1)) / Rres(1); (FIn(2) + E(2)) / Rres(2); - FIn(3) / Rres(3); (FIn(1) - FIn(3)) / Rres(4); - FIn(2) / Rres(5); (FIn(1) - FIn(2)) / Rres(6) ]
disp( "Тогда значения токов в ветвях:" )
disp( Ib2 )
|
1bca657ebca67157b59ac4ac499513cbd93c391f | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/graft-prune.tst | f7da13c37367f9de0984943e6466085d637fb352 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 97 | tst | graft-prune.tst | ## Test of the graft --prune feature
read <bzr.fi
read <testrepo.fi
:7 graft --prune bzr
write -
|
b46ebf99e5f3f0149357f3989d88f68829b26719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH4/EX4.6/4_6.sce | 8f9158676927fcb9a2877b36fb3bb8b30fe2592e | [] | 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 | 4_6.sce | //chapter 4
//example 4.6
//page 109
clear;
clc ;
//given
hfe1=50;//minimum value
hfe2=150;//maximum value
Vcc=15;//supply voltage
Rc=1.98;//collector resistance in kohm
Rb=86;//base resistance in kohm
Vbe=0.7;
Ic1=(Vcc-Vbe)/(Rc*(1+1/hfe1)+Rb/hfe1);
Vce1=(Ic1/hfe1)*Rb+Vbe;
Ic2=(Vcc-Vbe)/(Rc*(1+1/hfe2)+Rb/hfe2);
Vce2=((Ic2/hfe2)*Rb)+Vbe;
printf("\nfor hfe=50,Vce=%.1f V,Ic=%.2f mA",Vce1,Ic1);
printf("\nfor hfe=150,Vce=%.1f V,Ic=%.2f mA",Vce2,Ic2);
|
84e7c954b8dd913ae4145caa99cb9993c5724896 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH10/EX10.1/ex10_1.sce | 9593d29b17032191633465cd82906a0a5cffaf8d | [] | 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 | 413 | sce | ex10_1.sce | //Exam:10.1
clc;
clear;
close;
N=8;//ASTM grain size number
n=2^(N-1);//Number of grains per inch square at a magnification
N_1=n*100*100;//Number of grains per inch square without magnification
N_2=N_1/(25.4)^2;//Number of grains per mm square without magnification
A_a=1/(N_2);//Average area of each grain(in mm^2)
D=(A_a)^(1/2);//Average grain diameter(in mm)
disp(D,'Average grain diameter(in mm)=') |
7575a74e5240807c4022fe5233cfb3130b7178ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH5/EX5.15/example5_15_TACC.sce | a30fc396e3fd03a22391da383e1f4a37105cb438 | [] | 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 | 844 | sce | example5_15_TACC.sce | //example 5.15
clear;
clc;
disp("C6H12O6(s) + 6O2(g) --> 6CO2(g) + 6H2O(l)");
//Given:
T=298;//Temperature[k]
R=8.314;//Universal gas constant[J/K/mol]
S=182.45;//standard entropy change at 298K [J/K]
U=-2808;//change in internal energy at 298K[KJ/mol]
//reaction is taking place in bomb calorimeter so no volume change
//therefore U=Q at constant volume
//To find the energy change that can be extracted as heat and work
A=U-T*S*0.001;//Energy extracted as heat[KJ/mol]
Wmax=A;//work done [KJ/mol]
dn=6-6;//change in no. of moles
H=U+dn*R*T;//Change in enthalpy of the bomb calorimeter[KJ]
printf("The energy change that can be extracted as heat is %f KJ/mol", A);
printf("\nThe energy change that can be extracted as work is %f KJ/mol", -A);
printf("\nThe change in enthalpy of bomb calorimeter is %f KJ/mol",H);
|
76c8e26d12dea6f2e2980032f7ddc9b38da98ba4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH3/EX3.12/3_12_Human_Heat_Loss_part3.sce | 29515666e5b60db04d9c0264ef9fe857c7090f8b | [] | 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,523 | sce | 3_12_Human_Heat_Loss_part3.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 3.12 Page 163 \n'); //Example 3.12
// Heat loss from body & temp at inner surface
hair = 2; //[W/m^2.K] Heat convection coefficient air
hwater = 200; //[W/m^2.K] Heat convection coefficient water
hr = 5.9 ; //[W/m^2.K] Heat radiation coefficient
Tsurr = 297; //[K] Temperature of surrounding air
Tc = 37+273; //[K] Temp inside
e = .95;
A = 1.8 ; //[m^2] area
//Prop of blood
w = .0005 ; //[s^-1] perfusion rate
pb = 1000; //[kg/m^3] blood density
cb = 3600; //[J/kg] specific heat
//Dimensions & properties of muscle & skin/fat
Lm = .03 ; //[m]
Lsf = .003 ; //[m]
km = .5 ; //[W/m.K]
ksf = .3; //[W/m.K]
q = 700; //[W/m^3] Metabolic heat generation rate
Rtotair = (Lsf/ksf + 1/(hair + hr))/A;
Rtotwater = (Lsf/ksf + 1/(hwater))/A;
m = (w*pb*cb/km)^.5;
Theta = -q/(w*pb*cb);
Tiair = (Tsurr*sinh(m*Lm) + km*A*m*Rtotair*[Theta + (Tc + q/(w*pb*cb))*cosh(m*Lm)])/(sinh(m*Lm)+km*A*m*Rtotair*cosh(m*Lm));
qair = (Tiair - Tsurr)/Rtotair;
Tiwater = (Tsurr*sinh(m*Lm) + km*A*m*Rtotwater*[Theta + (Tc + q/(w*pb*cb))*cosh(m*Lm)])/(sinh(m*Lm)+km*A*m*Rtotwater*cosh(m*Lm));
qwater = (Tiwater - Tsurr)/Rtotwater;
printf("\n\n For Air \n Temp excess Ti = %.1f degC and Heat loss rate =%.1f W \n\n For Water \n Temp excess Ti = %.1f degC and Heat loss rate =%.1f W ",Tiair-273,qair,Tiwater-273,qwater);
//END |
c107cf6285bd36433f8787c499d933a60060e223 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH14/EX14.4.4/14_4_4.sce | 6f51a9f3cebaac4396655f7b68f92c3a3f97b790 | [] | 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 | 227 | sce | 14_4_4.sce | clc
//initialisation of variables
P= 163 //h.p
n= 0.84
w= 62.3 //lbf/ft^3
h= 65 //ft
d= 7 //ft
D= 4.67 //ft
//CALCULATIONS
q= P*550*6.23/(n*w*h)
r= d^3/D
Q= q*r
//RESULTS
printf ('rate of flow= %.f gal/sec',Q+40)
|
af27a81070a7344d6dcd636b22151ac8538dd0c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH6/EX6.5/Ex6_5.sce | 4e9f4a413124c967e8b393621f1cea999d4ef779 | [] | 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,175 | sce | Ex6_5.sce |
// Theory and Problems of Thermodynamics
// Chapter 6
// Thermodynamic Potentials and Availability
// Example 5
clear ;clc;
//Given data
VA = 1 // volume of tank A in m^3
NA = 5 // number of moles of A in kmol
TA = 600 // temperature of Tank A in K
NB = 3 // number of moles of B in kmol
TB = 400 // temperature of Tank B in K
R = 8.314 // universal gas constant
// Calculations
UAo = 3*NA*R*TA/2 // internal energy of gas in Tank A
UBo = 3*NB*R*TB/2 // internal energy of gas in Tank B
U = UAo + UBo // Total internal energy in MJ
// the criteria for thermal equilibrium is 1/TA = 1/TB
// 3*NA*R/2*UA = 3*NB*R/2*UB
// NA/UA = NB/UB => 5/UA=3/UB (A)
// UA+UB=UAo+UBo = 52.278MJ (B)
// solving equations simultanesously
function[f]=F(x)
f(1)=5/x(1)-3/x(2)
f(2)=x(1)+x(2)-52.278
endfunction
x = [1,1];
y = fsolve(x,F);
UA = y(1);
UB = y(2);
TA = 2*UA/(3*NA*R) * 1000;
TB = TA;
// Output Results
mprintf('UA = %6.3f MJ' ,y(1));
mprintf('\n UB = %6.3f MJ' ,y(2));
mprintf('\n TA = %6.0f K' ,TA);
mprintf('\n TB = %6.0f K' ,TB);
|
aba634cbd74da96f9a46ab0016594815b5d1002c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH3/EX3.24/Ex3_24.sce | 49e35a5c9d3e7b7f9da2ae86d7629d44043284f6 | [] | 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 | 634 | sce | Ex3_24.sce | //Finding resistance
//Variable declaration
Rd=4 //drain resistance(ohms)
Rs=2.5 //ource resistance(ohms)
R1=200*10**3 //resistance(ohms)
R2=100*10**3 //resistance(ohms)
gm=2.5 //transconductance(mS)
rd=60 //internal drain resistance(ohms)
//Calculations
//Part b
Ro=Rs/(1+(((1+gm*rd)*Rs)/(rd+Rd))) //output resistance(ohms)
//Part c
Rd1=0 //drain resistance
Ro1=Rs/(1+(((1+gm*rd)*Rs)/rd)) //output resistance(ohms)
//Results
printf ("value of Ro is %.f ohms",Ro/1E-3)
printf ("value of Ro1 is %.f ohms",Ro1/1E-3)
|
0474a8573dc705a6d07f833af962f89402ba5143 | 841f77393c59837a68f64bd454c201bfb6b4a756 | /Assignment2_Fundamental_Subspaces.sce | 2c7c8679ca534e0c726b1c24b61fe6ffc233b4ce | [] | no_license | yashgawankar/LA_Scilab_Assignments-1-4- | 8e10bdda3ec183adc8480544008c0494cecaadb3 | 19a3227af4fee876088218ff598d92e856d80145 | refs/heads/master | 2021-05-23T14:03:15.862747 | 2020-04-18T18:24:26 | 2020-04-18T18:24:26 | 253,327,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,314 | sce | Assignment2_Fundamental_Subspaces.sce | //PES1201801482 - Yash Gawankar - 4J
function col_span(a)
[n,m] = size(a);
disp("Column Span:");
for i=1:n-1
k = i
while (a(i,k) == 0 && k <= m)
k = k + 1;
end
for j = i+1:n
if(a(i,k)<>0)
a(j,:) = a(j,:) - (a(j,k)/a(i,k)) * a(i,:);
end
end
disp(a);
end
for i=1:n
for j=i:m
if(a(i,j)<>0)
a(i,:)=a(i,:)/a(i,j);
break;
end
end
end
disp(a)
for i=1:n
for j=i:m
if(a(i,j)<>0)
disp('is a pivot column',j,'column');
break
end
end
end
endfunction
function fundamental_spaces(a)
disp("Fundamental Spaces:");
[m,n]=size(a);
disp(m,'m is ');
disp(n,'n is ');
[v,pivot]=rref(a);
disp(rref(a));
disp(v);
r=length(pivot);
disp(r,'rank is ')
cs=a(:,pivot);
disp(cs,'Column Space is ');
ns=kernel(a);
disp(ns,'Null Space is ');
rs=v(1:r,:)';
disp(rs,'Row Space is ')
lns=kernel(a');
disp(lns,'Left Null Space is ');
endfunction
a = x_matrix("Enter matrix:",zeros(3,3));
disp(a,"a = ");
col_span(a);
fundamental_spaces(a);
|
729b72483b5f7086cf9229b9ae18e74d1a63b1ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH11/EX11.10/11_10.sce | 7fbab3d7af4f11680a8fdaed2185da9fb43f05a1 | [] | 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 | 287 | sce | 11_10.sce | clc;
T=20+273;
y=1.4;
Ti=T*4^([y-1]/y)
ir=Ti-T;
actual_r=ir/0.8;
cp=1.005;
P=cp*actual_r;
Cai=150;
Cbi=15000*%pi*250/(60*10^3);
Cwi=Cai*sin(25*%pi/180);
Cbe=15000*%pi*590/(60*10^3);
Cwe=Cbe;
P=178.9*10^3;
C_we=(P+Cbi*Cwi)/(Cbe);
Sf=C_we/Cwe;
disp(Sf,"Slip factor is:");
|
4cc7e7b2f751dad5ac946c08bd73932179a0ac7d | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/ismaxphase/ismaxphase10.sce | 4acfdc5cd9dcabf7fadee62a4d625440d958cf04 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | ismaxphase10.sce | b = [1/3 1/4 1/5 1];
a = b(:,$:-1:1);
flag = ismaxphase(b,a);
disp(flag);
//output
// 1
|
9753b4e56c904bc9a1db03ab740a000d54a1ed2a | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH8/EX8.7/ex8_7.sce | 32a8ab7fd83211801951ac53eaee2cfde4875afa | [] | 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 | 346 | sce | ex8_7.sce | clc;
clear all;
f=4*1e9;//given operating frequency
c=3*1e8;//velocity of light in vacume
d=6;//size of dish antenna in foot
//part a
l=c/f;//wavelength
disp(l,'lemda in meters is:');
//part b
bw=70*l/2;//beam width
disp(bw,'beam width of the signal is=');
//part c
Ap=d*4/(l*l);//gain of an antenna
disp(Ap,'gain of antenna is=');
|
15a6beca5dda3d412bd2ef18b56e6861d9dc0441 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH9/EX9.11/Ex9_11.sce | 026e9e751cbeb977e4f9c9bbcee257748ef8e22a | [] | 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 | 250 | sce | Ex9_11.sce | clear
//
//given
n=500
v=250
rsh=80
ra=0.02
drop=1.5
//derived
ish=3.125 //ish=v/rsh
il=480 //il=w*1000/v
ia=483.125 //ia=il+ish
e=v+ra*ia+2*drop
il=80
ia=il-ish
eb=v-ra*ia-2*drop
n=(500*eb)/e //e is proportional to n
printf("\n n= %0.1f rpm",n)
|
b459b68fdc0bfee38dacbc657b17dd97a15ce328 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH4/EX4.5/Chapter4_Example5.sce | c79974e5e92a1f24d331d80c3d4429f9c5cfa9f7 | [] | 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,845 | sce | Chapter4_Example5.sce | //Chapter-4, Illustration 5, Page 166
//Title: Steam Nozzles and Steam Turbines
//=============================================================================
clc
clear
//INPUT DATA
P1=35;//Pressure at entry in bar
T1=573;//Temperature at entry in K
P2=8;//Pressure at exit in bar
Ts=443.4;//Saturation temperature in K
Ps=3.1;//Saturation pressure in bar
m=5.2;//mass flow rate of steam in kg/s
n=1.3;//Adiabatic gas constant
v1=0.06842;//Specific volume at entry in (m^3)/kg from steam table
v3=0.2292;//Specific volume at exit in (m^3)/kg from steam table
h1=2979;//Enthalpy in kJ/kg from Moiller chart
h3=2673.3;//Enthalpy in kJ/kg from Moiller chart
//CALCULATIONS
c=n/(n-1);//Ratio
C2=((2*c*P1*(10^5)*v1*(1-((P2/P1)^(1/c))))^0.5);//Velocity at exit in m/s
v2=v1*((P1/P2)^(1/n));//Specific volume at exit in (m^3)/kg
A2=((m*v2)/C2)*(10^4);//Area of exit in (cm^2)
a=((A2/18)^0.5)*10;//Length in mm
b=3*a;//Breadth in mm
T2=T1*((P2/P1)^(1/c));//Temperature at exit in K
D=Ts-T2;//Degree of undercooling in K
Ds=P2/Ps;//Degree of supersaturation
hI=h1-h3;//Isentropic enthalpy drop in kJ/kg
ha=(C2^2)/2000;//Actual enthalpy drop in kJ/kg
QL=hI-ha;//Loss in available heat in kJ/kg
DS=QL/Ts;//Increase in entropy in kJ/kg-K
C3=(2000*(h1-h3))^0.5;//Exit velocity from nozzle
mf=((A2*C3*(10^-4))/v3);//Mass flow rate in kg/s
Rm=m/mf;//Ratio of mass rate
//OUTPUT
mprintf('Cross section of nozzle is %3.1f mm * %3.1f mm \n Degree of undercooling is %3.1f K and Degree of supersaturation is %3.2f \n Loss in available heat drop due to irreversibility is %3.2f kJ/kg \n Increase in entropy is %3.5f kJ/kg-K \n Ratio of mass flow rate with metastable expansion to the thermal expansion is %3.3f',b,a,D,Ds,QL,DS,Rm)
//==============================END OF PROGRAM=================================
|
ac210b88ad758dbf10d06f42f83bdce8e39e8209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH6/EX6.12/6_12.sce | 1209b4cb329ad0c81871ce2dbf0d677a79315ff0 | [] | 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 | 486 | sce | 6_12.sce | //pathname=get_absolute_file_path('6.12.sce')
//filename=pathname+filesep()+'6.12-data.sci'
//exec(filename)
//Volume occupied by water(in m^3):
V1=3/5*2
//Volume occupied by steam(in m^3):
V2=2/5*2
//From steam table
vf = 0.001091 //(m^3/kg)
vg = 0.3928 //(m^3/kg)
//Mass of water(in kg):
mf=V1/vf
//Mass of steam(in kg):
mg=V2/vg
//Total mass(in kg):
mt=mf+mg
//Dryness fraction:
x=mg/mt
printf("\nRESULT\n")
printf("\nMass = %f kg",mt)
printf("\nQuality = %f",x) |
15ac118a8e645ed32447d094e2e91ea564519269 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.17_12.tst | 5900a22ab240f3f0930d02316c61dcfef2190b5e | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 27,606 | tst | bow.17_12.tst | 17 10:0.25 78:1.0 160:0.5 546:0.3333333333333333 2475:0.3333333333333333 2875:1.0 4050:0.5 4059:0.5 4142:1.0 4258:1.0 4800:1.0 4833:0.5 5015:1.0 6246:1.0 6943:1.0 6962:1.0 8159:1.0 8313:1.0
17 28:0.2 37:0.5 38:1.0 40:1.0 55:0.2 60:0.0625 79:0.1111111111111111 87:0.16666666666666666 96:0.2 148:1.0 184:1.0 297:1.0 439:0.5 593:1.0 867:1.0 1388:1.0 1493:1.0 2192:1.0 4039:0.5 5435:0.5 5798:1.0 7493:1.0
17 1:0.13333333333333333 4:1.0 14:0.5 28:0.2 55:0.2 102:0.5 246:0.3333333333333333 256:0.2 343:1.0 543:1.0 660:0.09090909090909091 966:1.0 1388:1.0 1455:1.0 1638:1.0 2081:0.5 2321:1.0 3796:1.0 4080:1.0 4167:0.5 4306:1.0 4513:0.3333333333333333 6055:1.0 7321:1.0 7977:1.0
17 55:0.2 628:1.0 660:0.09090909090909091 2371:0.3333333333333333 2475:0.3333333333333333 3191:0.2 3339:1.0 4037:1.0 4060:0.25 4081:1.0 4142:1.0 4154:0.3333333333333333 4889:1.0 4927:1.0 5583:1.0 6006:1.0 7496:0.5
17 53:1.0 390:2.0 669:1.0 2187:0.5 2254:1.0 2343:0.125 2374:1.0 3351:1.0 4035:1.0 4080:1.0 4174:1.0 4175:1.0 4479:1.0 4494:1.0 4833:0.5 4952:1.0 5086:1.0 5129:1.0 5284:1.0 5592:1.0 7043:1.0
17 1:0.2 14:0.5 15:0.029411764705882353 37:0.5 39:0.2 55:0.2 87:0.16666666666666666 222:2.0 262:0.5 293:1.0 551:0.5 648:0.5 660:0.09090909090909091 669:1.0 845:1.0 2994:1.0 3191:0.2 4037:1.0 4098:2.0 4104:0.3333333333333333 4348:1.0 4368:0.5 4572:2.0 5050:1.0 5213:1.0 5239:1.0 5354:1.0 5545:1.0 7676:1.0 8065:1.0
17 1:0.06666666666666667 253:0.5 622:1.0 2026:0.3333333333333333 2343:0.25 3191:0.2 3192:1.0 4142:2.0 4170:1.0 4355:1.0 4375:1.0 4516:1.0 4794:1.0 5089:1.0 5396:1.0 5576:1.0 5662:1.0 5985:1.0 6317:1.0 6451:1.0 7048:1.0 7756:1.0
17 1:0.06666666666666667 35:0.3333333333333333 87:0.16666666666666666 222:1.0 253:1.0 1010:1.0 1625:0.5 1626:0.2 1864:1.0 2187:0.25 2552:1.0 3191:0.4 4041:1.0 4042:1.0 4059:0.5 4098:1.0 4142:1.0 4234:1.0 4273:1.0 4337:1.0 4349:1.0 4572:1.0 4725:1.0 4894:1.0 5046:1.0 5277:1.0 5915:1.0 7218:1.0 7294:1.0 7472:1.0 8246:1.0
17 14:1.0 15:0.029411764705882353 39:0.2 79:0.1111111111111111 160:0.5 256:0.4 534:1.0 660:0.09090909090909091 1382:0.5 2026:0.3333333333333333 2343:0.125 2374:1.0 2531:1.0 4059:0.5 4142:0.5 4797:1.0 4847:1.0 4881:1.0 4949:0.5 5345:1.0 5369:1.0 5485:1.0 5668:1.0
17 5:0.2 6:0.3333333333333333 12:1.0 14:0.5 76:0.75 86:0.125 87:0.16666666666666666 96:0.2 132:1.0 149:0.5 160:0.5 507:1.0 1241:1.0 1625:0.5 2263:1.0 2343:0.125 2947:1.0 3191:0.2 3274:1.0 3339:1.0 4130:0.5 4142:0.5 4252:0.4 4274:0.5 4348:1.0 4477:0.5 4794:1.0 5594:1.0 6310:1.0 7661:1.0 7696:1.0 8245:1.0
17 1:0.06666666666666667 4:2.0 15:0.058823529411764705 36:0.5 37:0.5 300:0.5 445:1.0 769:1.0 995:1.0 2347:1.0 3339:1.0 4142:0.5 4167:0.5 4252:0.2 4663:1.0 5396:1.0
17 4:1.0 13:0.08333333333333333 15:0.08823529411764706 35:0.3333333333333333 55:0.2 61:1.0 76:0.25 80:0.3333333333333333 86:0.125 87:0.16666666666666666 96:0.2 109:1.0 157:1.0 164:1.0 254:0.08333333333333333 260:0.5 348:0.16666666666666666 359:0.3333333333333333 534:1.0 546:0.3333333333333333 667:1.0 755:0.5 937:1.0 1626:0.2 1787:1.0 3578:1.0 4436:0.3333333333333333 4894:1.0 7560:1.0
17 1030:1.0 2187:0.25 2475:0.3333333333333333 2608:1.0 3339:1.0 3404:0.5 3407:0.5 4035:1.0 4059:0.5 4072:1.0 4106:1.0 4174:1.0 4175:1.0 4485:1.0 4539:1.0 5284:1.0 5642:1.0 5982:1.0 6893:1.0 7792:1.0 7873:1.0
17 10:0.25 78:1.0 160:0.5 166:0.3333333333333333 222:1.0 1626:0.2 2187:0.25 2875:1.0 3191:0.2 4060:0.25 4142:0.5 4154:0.3333333333333333 4252:0.2 4258:1.0 4479:1.0 4759:1.0 6962:1.0 6963:1.0
17 1:0.06666666666666667 253:0.5 1626:0.2 1787:1.0 2371:0.3333333333333333 3191:0.6 3339:1.0 4060:0.75 4098:1.0 4142:1.5 4154:0.6666666666666666 4228:1.0 4375:1.0 4481:0.5 4486:1.0 4835:1.0 5857:1.0 6047:1.0 6081:0.5 6249:1.0 6638:1.0 6667:1.0 6859:1.0
17 35:0.3333333333333333 52:0.3333333333333333 57:1.0 79:0.1111111111111111 80:0.16666666666666666 129:0.5 256:0.2 348:0.16666666666666666 359:0.6666666666666666 653:0.3333333333333333 915:1.0 2397:1.0
17 1:0.06666666666666667 38:1.0 60:0.0625 79:0.1111111111111111 96:0.2 184:1.0 593:1.0 622:1.0 660:0.09090909090909091 867:1.0 2026:0.3333333333333333 2343:0.125 2374:1.0 2475:0.6666666666666666 3191:0.2 4123:1.0 4142:1.5 4189:0.5 4225:1.0 4252:0.4 4274:0.5 4516:1.0 4570:1.0 5102:1.0 5925:1.0 6451:1.0 6452:1.0 6453:1.0 6454:1.0 6736:1.0 7494:1.0
17 4:1.0 10:0.25 14:0.5 15:0.029411764705882353 28:0.2 30:1.0 52:0.3333333333333333 55:0.6 60:0.03125 141:1.0 180:0.5 256:0.2 293:1.0 489:0.25 521:1.0 594:0.3333333333333333 603:0.3333333333333333 639:1.0 961:1.0 1103:1.0 1115:1.0 1355:1.0 2085:1.0 2257:0.5 2399:1.0 2638:1.0 2936:1.0 3022:1.0 3243:1.0 3392:1.0 3514:1.0 4594:1.0 7154:1.0
17 60:0.03125 61:1.0 87:0.16666666666666666 546:0.3333333333333333 645:0.5 1626:0.2 2044:1.0 2475:0.3333333333333333 3191:0.2 3197:0.5 4052:0.5 4081:1.0 4274:0.5 4432:1.0 4978:1.0 5259:1.0 5270:1.0 5500:1.0 5930:1.0 6381:1.0 6698:1.0 6860:1.0 7218:1.0
17 1:0.13333333333333333 6:0.3333333333333333 12:2.0 15:0.058823529411764705 35:0.3333333333333333 37:0.5 55:0.2 87:0.3333333333333333 151:0.5 152:0.5 177:0.5 180:0.5 204:0.3333333333333333 222:1.0 297:1.0 359:0.3333333333333333 443:1.0 486:1.0 610:1.0 731:1.0 787:1.0 902:0.3333333333333333 1496:1.0 1721:0.5 2884:1.0 3191:0.4 4060:0.25 4142:0.5 4154:0.3333333333333333 4280:1.0 4342:1.0 4418:1.0 4588:1.0 5431:1.0 6859:1.0 8231:1.0
17 4:1.0 6:0.3333333333333333 13:0.08333333333333333 14:0.5 15:0.029411764705882353 29:0.5 222:1.0 342:1.0 348:0.16666666666666666 608:1.0 738:0.5 845:1.0 1292:1.0 1625:0.5 1760:1.0 2559:1.0 2608:1.0 3191:0.2 3339:1.0 3816:1.0 4103:0.5 4146:1.0 4154:0.6666666666666666 4237:0.25 4317:1.0 4577:1.0 5429:1.0 7302:1.0
17 1:0.06666666666666667 57:0.5 87:0.16666666666666666 108:1.0 246:0.3333333333333333 2026:0.3333333333333333 2353:0.5 2865:1.0 3191:0.2 4189:0.5 4250:1.0 4274:0.5 4714:1.0 5662:1.0 6674:1.0 6675:1.0 6676:1.0 6677:1.0 6678:1.0
17 1:0.2 253:1.0 1138:1.0 1459:0.5 1626:0.4 2187:0.25 2343:0.125 2353:1.0 2374:1.0 2475:0.3333333333333333 3191:1.2 4042:1.0 4098:1.0 4142:1.5 4299:1.0 4300:1.0 4301:2.0 4302:1.0 4303:1.0 4304:1.0 4305:1.0 4368:0.5 4404:1.0 4405:1.0 4524:1.0 4564:0.5 5326:1.0 6454:1.0 7551:1.0 7993:1.0 8212:1.0
17 1:0.06666666666666667 4:1.0 6:0.3333333333333333 15:0.058823529411764705 76:0.5 80:0.16666666666666666 129:0.5 151:0.5 152:0.5 246:0.3333333333333333 348:0.16666666666666666 452:1.0 610:1.0 1625:0.5 1809:0.3333333333333333 2371:0.3333333333333333 2587:1.0 3033:1.0 3194:1.0 3199:1.0 4142:0.5 4250:1.0 4283:0.3333333333333333 4392:1.0 4699:1.0 5586:1.0 6311:1.0 7045:1.0
17 1:0.13333333333333333 4:1.0 12:1.0 14:1.0 15:0.029411764705882353 80:0.16666666666666666 254:0.08333333333333333 256:0.2 342:1.0 348:0.16666666666666666 439:0.5 505:0.3333333333333333 521:1.0 1292:1.0 1310:1.0 2143:1.0 2343:0.125 2559:1.0 3053:1.0 3190:1.0 3944:1.0 4189:1.0 4225:1.0 4252:0.2 4267:1.0 4283:0.3333333333333333 4384:1.0 5457:1.0
17 1:0.2 293:1.0 669:1.0 1051:1.0 1626:0.2 3191:0.2 3339:1.0 4060:0.25 4142:0.5 4154:0.3333333333333333 5620:1.0 5691:1.0 5737:1.0 6006:1.0 6204:1.0 6946:1.0 7669:1.0 8215:1.0
17 4:1.0 14:0.5 15:0.029411764705882353 55:0.4 60:0.03125 87:0.3333333333333333 160:0.5 253:0.5 293:1.0 303:0.5 348:0.16666666666666666 398:0.16666666666666666 438:0.5 546:0.3333333333333333 648:0.5 788:1.0 889:0.5 1328:1.0 2260:1.0 3092:0.5 3838:1.0 4037:0.5 4154:0.3333333333333333 4338:1.0 7777:1.0
17 10:0.25 12:1.0 55:0.2 60:0.03125 78:1.0 100:1.0 222:1.0 265:0.16666666666666666 409:0.2 500:1.0 635:1.0 2029:1.0 2371:0.6666666666666666 3191:0.2 3407:0.5 3409:1.0 3944:1.0 4052:0.5 4059:0.5 4060:0.25 4098:1.0 4154:0.3333333333333333 4909:1.0 4946:1.0 5667:1.0 6543:1.0 7623:1.0 8040:2.0
17 1:0.06666666666666667 265:0.16666666666666666 622:1.0 660:0.09090909090909091 1626:0.2 2343:0.375 2371:0.3333333333333333 2374:1.0 2475:0.6666666666666666 3191:0.2 4103:0.5 4142:2.0 4252:0.4 4255:1.0 4274:0.5 4570:1.0 4575:1.0 4609:0.5 4665:1.0 4835:1.0 4847:2.0 4978:1.0 5046:1.0 5399:1.0 5667:1.0 6418:1.0 6551:1.0 6563:1.0 7469:0.5 7494:1.0 7669:1.0
17 222:1.0 359:0.3333333333333333 1625:1.0 2026:0.3333333333333333 2151:0.25 2371:0.3333333333333333 2475:0.3333333333333333 3191:0.6 4037:0.5 4125:1.0 4130:1.0 4132:1.0 4142:0.5 4167:0.5 4204:0.3333333333333333 4205:1.0 4206:1.0 4207:1.0 4256:1.0 4306:1.0 4368:0.5 4375:1.0 4404:1.0 4432:1.0 4690:1.0 4829:1.0 4881:1.0 4927:1.0 4930:1.0 5092:1.0 5303:1.0 7218:1.0 7674:1.0
17 4:1.0 6:0.6666666666666666 14:1.0 15:0.058823529411764705 28:0.1 52:0.3333333333333333 60:0.0625 62:1.0 78:1.0 80:0.3333333333333333 84:1.0 129:0.5 154:1.0 199:0.5 246:0.3333333333333333 254:0.16666666666666666 265:0.3333333333333333 330:1.0 781:0.5 810:1.0 1194:1.0 1310:1.0 1625:0.5 1959:1.0 3191:0.2 4142:0.5 4237:0.25 4252:0.2 4616:1.0 4825:1.0 5276:1.0 5278:1.0 5662:1.0 6563:1.0 6780:1.0 6852:1.0 7938:1.0
17 1:0.06666666666666667 4:1.0 10:0.25 55:0.4 57:0.5 60:0.0625 129:0.5 148:1.0 265:0.16666666666666666 297:1.0 359:0.3333333333333333 398:0.16666666666666666 738:0.5 1004:0.5 1294:1.0 1427:0.5 2044:1.0 3191:0.4 4060:0.25 4079:2.0 4103:0.5 4207:1.0 4220:0.25 4221:1.0 4222:1.0 4274:0.5 4337:1.0 4353:0.5 4484:1.0 4616:1.0 4881:2.0 4954:1.0 4978:1.0 4985:1.0 5211:1.0 5638:1.0
17 55:0.2 60:0.0625 76:0.25 149:0.5 160:0.5 222:1.0 336:0.5 946:1.0 1272:2.0 1565:1.0 2544:1.0 2883:5.0 4154:0.3333333333333333 7917:1.0
17 660:0.09090909090909091 1611:0.25 2026:0.3333333333333333 2187:0.25 2343:0.125 2353:1.0 2374:1.0 2475:0.3333333333333333 2853:1.0 3191:0.6 3978:1.0 4154:0.3333333333333333 4280:1.0 4564:0.5 4632:1.0 4981:1.0 5121:1.0 5697:0.5 6059:1.0 6182:1.0 6408:1.0 7712:1.0 8028:1.0
17 1:0.06666666666666667 254:0.08333333333333333 3191:0.6 4050:0.5 4051:1.0 4154:0.3333333333333333 4862:0.5 5389:1.0 5857:1.0 6203:1.0 6885:1.0
17 6:0.3333333333333333 14:0.5 15:0.029411764705882353 52:0.3333333333333333 76:0.5 87:0.16666666666666666 246:0.3333333333333333 253:1.0 381:0.25 398:0.16666666666666666 622:1.0 628:1.0 723:1.0 840:0.3333333333333333 1809:0.3333333333333333 2026:0.3333333333333333 2372:1.0 2586:1.0 2717:1.0 2853:1.0 3042:1.0 3191:0.2 3194:1.0 4080:1.0 4256:1.0 4612:0.5 4690:1.0 8073:1.0
17 1:0.06666666666666667 12:1.0 57:0.5 628:1.0 660:0.09090909090909091 1622:1.0 1809:0.3333333333333333 4080:1.0 4081:1.0 4142:0.5 4280:1.0 4434:1.0 4570:1.0 4949:1.5 4961:1.0 5406:1.0 6204:1.0 6205:1.0 7007:1.0 7961:1.0
17 1:0.13333333333333333 35:0.3333333333333333 37:0.5 55:0.2 246:0.3333333333333333 254:0.08333333333333333 262:0.5 297:1.0 660:0.2727272727272727 847:1.0 1827:0.5 1962:1.0 2026:0.3333333333333333 2373:1.0 2665:1.0 2859:1.0 4125:2.0 4130:0.5 6584:1.0 6851:1.0
17 1:0.06666666666666667 28:0.1 669:1.0 755:0.5 2026:0.3333333333333333 2187:0.25 2343:0.125 2475:0.3333333333333333 2546:1.0 2853:1.0 3191:0.2 4042:1.0 4204:0.3333333333333333 4205:1.0 4206:1.0 4207:1.0 4211:1.0 4252:0.2 4274:0.5 4346:1.0 4949:0.5 5256:1.0 6408:1.0 6957:1.0 6990:1.0 6991:1.0 7712:1.0
17 4:1.0 12:1.0 13:0.08333333333333333 26:0.25 28:0.1 39:0.2 60:0.03125 79:0.1111111111111111 87:0.3333333333333333 141:1.0 148:1.0 150:1.0 205:1.0 254:0.08333333333333333 352:0.5 543:1.0 546:0.3333333333333333 994:1.0 1400:1.0 1626:0.4 2865:1.0 2879:1.0 3191:0.6 3339:1.0 3480:0.5 4060:0.25 4154:0.3333333333333333 4207:1.0 4220:0.25 4221:1.0 4222:1.0 4260:1.0 4486:1.0 4492:1.0 4564:0.5 4818:1.0 5006:1.0
17 6:0.3333333333333333 12:1.0 18:1.0 35:0.3333333333333333 52:0.3333333333333333 80:0.6666666666666666 254:0.16666666666666666 258:1.0 259:1.0 330:1.0 348:0.16666666666666666 359:0.3333333333333333 1194:1.0 1625:0.5 4041:1.0 4154:0.3333333333333333 4237:0.25 4513:0.3333333333333333 4563:1.0 5574:1.0 7113:1.0 8012:1.0
17 12:1.0 35:0.3333333333333333 52:0.3333333333333333 80:0.16666666666666666 228:1.0 253:0.5 265:0.16666666666666666 348:0.16666666666666666 388:0.5 653:0.3333333333333333 867:1.0 1541:1.0 1626:0.2 1760:1.0 2371:0.3333333333333333 2967:1.0 3339:1.0 3463:1.0 4250:1.0 4355:1.0 4736:1.0 5435:0.5 5830:1.0 5831:1.0 6317:1.0
17 1:0.13333333333333333 222:1.0 253:0.5 622:1.0 1626:0.2 2086:1.0 2371:0.3333333333333333 2475:0.3333333333333333 3191:0.2 4060:0.25 4066:1.0 4081:1.0 4084:1.0 4103:1.0 4122:1.0 4225:1.0 4252:0.2 4274:0.5 4453:0.5 4725:1.0 4826:1.0 4893:1.0 4894:1.0 4895:1.0 4927:1.0 5002:1.0 6742:1.0 7033:1.0 7113:1.0 8136:1.0
17 1:0.13333333333333333 14:1.0 79:0.1111111111111111 256:0.2 293:1.0 492:0.3333333333333333 546:0.3333333333333333 648:0.5 660:0.09090909090909091 1980:1.0 2026:0.3333333333333333 2371:0.3333333333333333 2374:1.0 2859:1.0 4252:0.2 4690:1.0 4725:2.0 4854:1.0 6553:1.0 6618:1.0 7848:1.0
17 1:0.06666666666666667 222:1.0 359:0.3333333333333333 660:0.09090909090909091 1626:0.2 2343:0.125 2353:0.5 2374:1.0 3191:0.4 4042:1.0 4059:0.5 4066:1.0 4189:0.5 4225:1.0 4250:1.0 4274:0.5 4736:1.0 4859:1.0 5130:1.0 5199:1.0 7089:1.0
17 6:0.3333333333333333 10:0.25 14:0.5 55:0.2 76:0.25 80:0.3333333333333333 87:0.16666666666666666 96:0.2 158:1.0 254:0.08333333333333333 318:1.0 398:0.3333333333333333 632:1.0 1329:1.0 1680:1.0 1757:1.0 2026:0.3333333333333333 3514:1.0 4142:0.5 4225:1.0 4356:0.5 4612:0.5 4847:1.0 6916:1.0
17 1:0.13333333333333333 222:1.0 1626:0.2 1757:1.0 2675:1.0 3191:0.2 3409:1.0 3442:1.0 4046:1.0 4060:0.25 4146:1.0 4154:0.3333333333333333 4225:2.0 4436:0.6666666666666666 4572:1.0 4894:1.0 4947:1.0 5487:1.0 5488:1.0 5692:1.0 6249:2.0 6698:1.0 6859:1.0
17 1:0.13333333333333333 14:0.5 28:0.1 60:0.03125 222:1.0 300:0.5 348:0.16666666666666666 579:1.0 648:0.5 1459:1.0 1505:0.5 1626:0.2 1757:1.0 2026:0.3333333333333333 2374:1.0 2475:0.3333333333333333 3191:0.8 3944:1.0 4146:1.0 4225:1.0 4252:0.2 4375:2.0 4557:1.0 4894:2.0 5052:1.0 5487:1.0 5488:1.0
17 26:0.25 76:0.25 78:1.0 109:1.0 148:1.0 160:1.5 161:0.2 307:0.5 2343:0.125 2967:1.0 3339:1.0 4087:1.0 5261:1.0 5561:1.0 5594:1.0 6179:1.0 6180:1.0 7646:1.0 8316:1.0
17 1:0.06666666666666667 12:1.0 15:0.029411764705882353 37:0.5 55:0.2 60:0.0625 86:0.125 87:0.16666666666666666 96:0.2 148:1.0 160:0.5 265:0.16666666666666666 359:0.3333333333333333 1359:0.5 1787:1.0 1827:0.5 2026:0.3333333333333333 2168:1.0 2371:0.3333333333333333 2374:2.0 2399:1.0 2608:1.0 3191:0.4 4204:0.3333333333333333 4205:1.0 4206:1.0 4207:1.0 4211:1.0 4273:1.0 4275:1.0 4436:0.3333333333333333 4726:1.0 4921:1.0 5737:1.0 6616:1.0 6617:1.0 6618:1.0 6619:1.0 6620:1.0 6621:1.0 6788:1.0 7877:1.0
17 1:0.06666666666666667 6:0.3333333333333333 10:0.25 62:1.0 76:0.25 80:0.16666666666666666 222:1.0 301:0.25 1719:1.0 1959:1.0 2328:1.0 2430:1.0 3191:0.2 3427:1.0 4079:1.0 4207:1.0 4220:0.25 4221:1.0 4222:1.0 4580:1.0 4813:0.5 4948:1.0 6672:1.0 7419:1.0 7945:1.0
17 4:1.0 6:0.6666666666666666 14:0.5 15:0.058823529411764705 37:0.5 167:0.3333333333333333 330:1.0 366:1.0 547:1.0 1194:1.0 1787:1.0 3191:0.2 3431:1.0 4237:0.25 4252:0.2 4398:1.0 4609:0.5 4833:0.5 4946:2.0 5275:1.0 6059:1.0 8254:1.0
17 1:0.06666666666666667 14:0.5 15:0.029411764705882353 37:1.5 60:0.03125 129:1.0 348:0.16666666666666666 547:1.0 617:1.0 723:1.0 1004:0.5 1641:1.0 2353:0.5 2374:1.0 3191:0.2 3194:1.0 4130:0.5 4222:1.0 4256:1.0 4609:0.5 4690:1.0 5046:1.0 5664:1.0 6338:1.0 6458:1.0 6544:1.0 8000:1.0
17 1:0.06666666666666667 4:2.0 6:0.3333333333333333 14:0.5 15:0.029411764705882353 37:0.5 55:0.2 80:0.16666666666666666 218:1.0 1625:1.0 1626:0.2 1884:1.0 3597:1.0 4154:0.3333333333333333 4160:1.0 4161:1.0 4337:1.0 4375:1.0 4398:1.0 4541:1.0 4949:0.5 5642:1.0 6007:1.0 6435:1.0 7939:1.0
17 1:0.2 660:0.18181818181818182 1623:1.0 1625:1.5 1626:0.2 2475:0.3333333333333333 2579:1.0 3191:0.4 3197:0.5 3409:1.0 4154:1.0 4260:1.0 4280:1.0 4368:0.5 4531:1.0 4541:1.0 4587:1.0 4668:1.0 4944:1.0 5423:1.0 5553:1.0 6133:1.0 6875:1.0 7269:1.0
17 1:0.06666666666666667 4:1.0 5:0.2 36:0.5 78:1.0 180:0.5 207:1.0 246:0.3333333333333333 258:1.0 260:0.5 301:0.25 610:1.0 809:1.0 1037:1.0 1138:1.0 1245:1.0 1307:1.0 1503:1.0 2101:1.0 2579:1.0 3191:0.2 4042:1.0 4050:0.5 4051:1.0 4052:0.5
17 1:0.06666666666666667 660:0.18181818181818182 1030:1.0 1864:1.0 3191:0.2 4375:1.0 4431:1.0 5530:1.0 8162:1.0
17 1:0.06666666666666667 14:0.5 15:0.029411764705882353 55:0.2 60:0.03125 75:1.0 78:1.0 87:0.16666666666666666 112:1.0 246:0.3333333333333333 256:0.2 301:0.25 359:0.3333333333333333 500:1.0 524:1.0 603:0.3333333333333333 716:1.0 890:1.0 891:1.0 898:0.25 1055:1.0 1147:1.0 2321:1.0 3191:0.2 4042:1.0 4938:1.0 5107:1.0
17 86:0.25 87:0.16666666666666666 100:1.0 204:0.3333333333333333 1626:0.2 2374:1.0 2896:1.0 4130:0.5 4142:0.5 4252:0.2 4894:1.0 6301:1.0
17 130:1.0 359:0.3333333333333333 628:1.0 3339:1.0 3472:1.0 4043:1.0 4098:1.0 4142:1.0 4154:0.3333333333333333 4206:1.0 4213:0.5 4342:1.0 4570:1.0 4609:0.5 6338:1.0 6339:1.0 6340:1.0 6379:1.0 7349:1.0
17 15:0.029411764705882353 86:0.25 87:0.3333333333333333 96:0.2 112:1.0 160:0.5 452:1.0 669:1.0 1625:0.5 2151:0.25 2371:0.3333333333333333 2374:1.0 2454:1.0 4252:0.2 4570:1.0 4833:0.5 6867:1.0 7045:1.0
17 15:0.029411764705882353 28:0.1 76:0.25 96:0.2 915:1.0 1115:1.0 1625:0.5 2343:0.25 2374:1.0 2475:0.3333333333333333 3191:0.6 4037:0.5 4142:0.5 4189:0.5 4206:1.0 4283:0.3333333333333333 4642:1.0 4723:1.0 4849:1.0 4894:1.0 4895:1.0 5165:1.0 5236:1.0 5278:1.0 5396:1.0 6161:1.0 6204:1.0 6908:1.0
17 1:0.06666666666666667 6:0.3333333333333333 13:0.08333333333333333 14:1.0 76:0.5 79:0.1111111111111111 80:0.3333333333333333 138:0.5 173:1.0 254:0.16666666666666666 262:0.5 348:0.16666666666666666 546:0.3333333333333333 669:1.0 891:1.0 898:0.25 1176:1.0 2026:0.3333333333333333 2373:1.0 3191:0.2 3579:1.0 3643:1.0 3906:1.0 4041:1.0 4342:1.0 4531:1.0 4541:1.0 4570:1.0 4894:1.0 6301:1.0 6848:1.0 6849:1.0 6850:1.0 7373:0.5 7982:1.0
17 76:0.25 108:1.0 160:0.5 847:1.0 961:1.0 1193:0.5 1194:1.0 1584:1.0 1626:0.2 2187:0.25 2316:1.0 2371:0.3333333333333333 2430:1.0 3191:0.2 3339:1.0 4726:1.0 5225:1.0 5552:1.0
17 52:0.3333333333333333 61:2.0 78:1.0 80:0.6666666666666666 108:1.0 222:1.0 253:0.5 254:0.16666666666666666 265:0.16666666666666666 486:1.0 505:0.3333333333333333 546:0.3333333333333333 1626:0.2 2187:0.25 3021:0.3333333333333333 4034:1.0 4035:1.0 4039:0.5 4084:1.0 4085:2.0 4154:0.3333333333333333 4267:1.0 4368:0.5 4389:1.0 5930:1.0 8217:1.0
17 259:1.0 394:1.0 660:0.09090909090909091 701:1.0 898:0.25 911:1.0 1459:0.5 2353:0.5 3191:0.2 3339:1.0 4142:0.5 4189:0.5 4250:1.0 4302:1.0 4449:1.0 5147:1.0 7196:1.0
17 4:2.0 14:0.5 36:0.5 87:0.16666666666666666 160:0.5 254:0.08333333333333333 259:1.0 265:0.16666666666666666 610:1.0 1307:1.0 2885:1.0 3191:0.2 3339:1.0 4142:0.5 4256:1.0 4323:1.0 4477:0.5 4492:1.0 6453:1.0 6494:1.0 7173:1.0
17 1:0.13333333333333333 222:1.0 359:0.3333333333333333 1626:0.4 2026:0.3333333333333333 2343:0.375 2616:1.0 3191:0.2 3409:1.0 4042:2.0 4060:0.25 4066:1.0 4142:1.0 4154:0.3333333333333333 4264:0.5 4274:0.5 4280:1.0 4294:1.0 4368:0.5 4375:1.0 4453:0.5 4483:1.0 4698:0.5 4786:1.0 5219:1.0 5344:1.0 5394:1.0 5810:1.0 5977:1.0 7173:1.0 8259:1.0
17 1:0.13333333333333333 4:1.0 6:0.3333333333333333 13:0.08333333333333333 14:0.5 26:0.25 34:1.0 37:0.5 55:0.6 75:1.0 76:0.5 80:0.16666666666666666 87:0.16666666666666666 150:1.0 200:1.0 246:0.3333333333333333 262:0.5 293:1.0 297:2.0 443:1.0 505:0.3333333333333333 546:0.3333333333333333 594:0.3333333333333333 889:0.5 1245:1.0 1400:1.0 1471:1.0 1926:1.0 2904:1.0 3700:1.0 4548:1.0 6514:1.0 6764:1.0
17 1:0.06666666666666667 4:3.0 14:0.5 15:0.058823529411764705 16:0.5 217:1.0 222:2.0 291:1.0 304:0.25 452:1.0 1503:1.0 1626:0.2 2608:1.0 3191:0.4 3339:1.0 4142:0.5 4274:0.5 4570:1.0 4949:0.5 5043:1.0 5152:1.0 5442:1.0 5554:1.0 7720:1.0 7721:1.0
17 1:0.13333333333333333 4:1.0 12:2.0 15:0.029411764705882353 60:0.03125 254:0.08333333333333333 635:1.0 701:1.0 1798:1.0 1930:1.0 2026:0.3333333333333333 2372:1.0 2388:0.5 2891:0.5 3191:0.2 4225:1.0 4252:0.4 5093:1.0 5712:1.0 6301:1.0 6400:1.0 8017:1.0
17 222:2.0 920:0.5 1459:0.5 1611:0.5 1629:1.0 2026:0.3333333333333333 2343:0.125 2374:3.0 2475:0.3333333333333333 3191:0.2 3197:0.5 4059:0.5 4098:1.0 4130:0.5 4142:1.0 4225:2.0 4270:1.0 4570:1.0 4834:1.0 5348:1.0 6543:1.0 7756:1.0
17 1:0.13333333333333333 13:0.08333333333333333 14:1.0 15:0.029411764705882353 26:0.25 55:0.2 86:0.125 87:0.16666666666666666 96:0.4 160:0.5 300:0.5 437:0.3333333333333333 896:1.0 1244:1.0 1638:1.0 2031:1.0 2369:1.0 2409:1.0 3757:1.0 5906:1.0 5997:1.0 6144:1.0
17 1:0.2 4:1.0 10:0.25 14:0.5 55:0.2 160:0.5 256:0.2 660:0.09090909090909091 911:1.0 1359:0.5 1416:1.0 1626:0.2 1653:1.0 2187:0.25 3409:1.0 4154:0.3333333333333333 4189:1.0 4252:0.4 4342:1.0 4570:1.0 4751:1.0 4856:1.0 5608:1.0 5647:1.0 6704:1.0
17 1:0.26666666666666666 222:1.0 265:0.16666666666666666 2026:0.3333333333333333 2187:0.25 2343:0.125 2374:2.0 2619:2.0 3191:0.6 4059:0.5 4066:1.0 4068:1.0 4079:1.0 4122:1.0 4142:1.5 4222:1.0 4224:1.0 4252:0.4 4283:0.3333333333333333 4299:1.0 4437:1.0 4486:1.0 4492:1.0 4586:1.0 4642:1.0 4725:1.0 4825:1.0 4849:1.0 4935:1.0 5015:1.0 5599:1.0 5697:0.5 6449:1.0 7293:1.0 7305:1.0 7570:1.0
17 1:0.06666666666666667 4:1.0 6:0.6666666666666666 14:0.5 15:0.029411764705882353 37:0.5 76:0.25 78:1.0 87:0.16666666666666666 129:0.5 195:0.3333333333333333 199:0.5 343:1.0 566:1.0 768:1.0 1120:1.0 1329:1.0 1625:0.5 1626:0.2 2608:1.0 3191:0.4 4039:0.5 4060:0.25 4154:0.3333333333333333 4167:0.5 4404:2.0 4641:1.0 6543:1.0 6978:1.0 7321:1.0
17 1:0.13333333333333333 6:0.3333333333333333 10:0.5 13:0.08333333333333333 14:0.5 15:0.058823529411764705 35:0.3333333333333333 55:0.2 222:4.0 291:1.0 348:0.16666666666666666 2475:0.3333333333333333 2527:1.0 2608:1.0 2923:1.0 3191:0.2 3339:1.0 3409:1.0 3796:1.0 4037:0.5 4052:0.5 4059:0.5 4436:0.3333333333333333 4725:1.0 5369:1.0 5697:0.5 6082:1.0 6169:1.0 6709:0.5 7105:2.0
17 1:0.06666666666666667 14:0.5 55:0.2 64:0.5 78:2.0 86:0.125 87:0.16666666666666666 182:1.0 293:1.0 297:1.0 543:1.0 648:1.0 1400:1.0 1623:1.0 1742:1.0 2371:0.3333333333333333 3191:0.2 3727:1.0 4037:0.5 4039:0.5 4098:1.0 4142:0.5 4399:1.0 4540:0.5 4575:1.0 4594:1.0 4949:0.5 5224:1.0 6589:1.0 7777:1.0 8073:1.0
17 253:1.0 660:0.18181818181818182 2353:1.0 3191:0.4 4106:2.0 4151:1.0 4283:0.3333333333333333 4736:1.0 4796:2.0 4910:1.0 7173:1.0
17 1:0.13333333333333333 4:1.0 15:0.058823529411764705 28:0.1 55:0.2 60:0.03125 76:0.25 79:0.1111111111111111 87:0.16666666666666666 148:1.0 151:0.5 222:2.0 348:0.16666666666666666 359:0.3333333333333333 492:0.3333333333333333 660:0.09090909090909091 1552:1.0 2026:0.3333333333333333 2168:1.0 2191:1.0 2353:0.5 2374:1.0 2487:1.0 3191:0.4 3407:0.5 3480:0.5 3918:1.0 4060:0.5 4142:1.0 4185:0.5 4189:0.5 4225:1.0 4280:1.0 4483:1.0 4492:1.0 4531:1.0 4666:1.0 4881:1.0 5052:1.0 5121:1.0 5181:1.0 5228:1.0 5229:1.0 5230:1.0 5231:1.0 5232:1.0 5233:1.0 5234:1.0 5235:1.0 5305:1.0 6504:1.0 6647:1.0 7944:1.0 8241:1.0
17 6:0.3333333333333333 14:0.5 52:0.3333333333333333 55:0.2 80:0.16666666666666666 398:0.16666666666666666 543:1.0 665:0.25 845:1.0 1352:1.0 4570:1.0 4615:2.0 6736:1.0 8000:1.0
17 14:1.0 52:0.3333333333333333 60:0.03125 78:1.0 204:0.3333333333333333 222:1.0 548:1.0 778:0.3333333333333333 1549:1.0 2168:1.0 2254:1.0 3191:0.2 3277:1.0 4060:0.25 4280:1.0 4725:1.0 4946:1.0 5998:1.0 6035:1.0
17 622:1.0 660:0.2727272727272727 1626:0.2 2353:0.5 2475:0.6666666666666666 3191:0.6 3194:1.0 3409:1.0 4042:1.0 4059:0.5 4154:0.3333333333333333 4273:1.0 4283:0.3333333333333333 4356:0.5 4404:1.0 4405:1.0 4435:1.0 4564:0.5 4612:0.5 4667:1.0 4690:1.0 4726:1.0 4935:1.0 4984:1.0 5303:1.0 5930:1.0 5972:1.0 6418:1.0 6469:1.0 7199:1.0 7200:1.0 7570:1.0
17 4:2.0 15:0.058823529411764705 26:0.25 39:0.2 55:0.2 87:0.16666666666666666 191:1.0 262:0.5 291:1.0 348:0.16666666666666666 1678:1.0 1789:1.0 1845:1.0 1932:1.0 3407:1.0 3597:1.0 4105:1.0 4154:0.3333333333333333 4773:1.0 4881:1.0 5099:1.0 5434:1.0 6925:1.0 7570:1.0 7601:1.0
17 1:0.06666666666666667 5:0.2 14:0.5 28:0.1 37:0.5 52:0.3333333333333333 55:0.2 60:0.03125 222:1.0 1126:1.0 2636:1.0 2867:1.0 2882:1.0 3274:1.0 3339:1.0 4059:0.5 4863:1.0 5988:1.0
17 1:0.06666666666666667 4:1.0 87:0.3333333333333333 96:0.2 132:1.0 160:0.5 222:1.0 388:0.5 1100:1.0 1612:1.0 1626:0.4 1760:1.0 2187:0.25 2306:1.0 3191:0.6 3339:1.0 4035:1.0 4042:1.0 4059:0.5 4060:0.5 4142:1.0 4144:1.0 4174:1.0 4337:1.0 4485:1.0 4492:1.0 4710:1.0 4954:1.0 4983:1.0 6657:1.0 7173:1.0
17 6:0.3333333333333333 12:1.0 28:0.1 55:0.8 154:1.0 348:0.16666666666666666 471:1.0 595:1.0 669:1.0 788:1.0 1386:2.0 1625:0.5 2434:1.0 3339:1.0 4222:1.0 4566:1.0 5106:1.0 5685:1.0 7262:1.0
17 29:0.5 148:2.0 222:1.0 297:1.0 1626:0.4 1827:0.5 2187:0.25 3191:0.2 3193:1.0 3407:0.5 4142:0.5 4273:1.0 4282:0.5 4342:1.0 4368:0.5 4375:1.0 4490:1.0 4540:0.5 4938:1.0 5010:1.0 5930:1.0 6261:1.0 7272:1.0 7928:1.0 7993:1.0
17 15:0.029411764705882353 55:0.2 61:1.0 79:0.1111111111111111 109:1.0 167:0.3333333333333333 253:0.5 254:0.08333333333333333 260:0.5 348:0.16666666666666666 492:0.3333333333333333 660:0.09090909090909091 1541:1.0 2343:0.125 2371:0.3333333333333333 3602:1.0 4142:0.5 4225:1.0 4612:0.5 4786:1.0 4927:1.0 6504:1.0 7549:1.0
17 15:0.029411764705882353 28:0.1 64:0.5 76:0.25 96:0.2 98:1.0 381:0.25 603:0.3333333333333333 1503:1.0 1626:0.2 1927:1.0 1959:1.0 3243:1.0 4154:0.3333333333333333 4739:1.0 5435:0.5 6960:1.0
17 12:1.0 15:0.029411764705882353 28:0.1 36:0.5 39:0.2 55:0.6 60:0.09375 78:1.0 140:1.0 154:1.0 207:2.0 294:0.3333333333333333 355:0.5 364:1.0 437:0.3333333333333333 606:1.0 648:0.5 660:0.09090909090909091 704:1.0 1203:1.0 1213:1.0 1514:1.0 1604:1.0 1626:0.2 1862:1.0 2187:0.25 2373:1.0 2434:1.0 2621:0.3333333333333333 3021:0.3333333333333333 3191:0.2 4035:1.0 4264:0.5 4455:1.0 4540:0.5 5032:1.0 6395:1.0 6396:1.0 6955:1.0 7266:1.0
17 15:0.08823529411764706 28:0.1 39:0.2 60:0.03125 81:0.5 86:0.125 87:0.16666666666666666 96:0.2 148:1.0 175:0.5 256:0.2 265:0.16666666666666666 266:1.0 1115:2.0 2865:1.0 4154:0.3333333333333333 4267:1.0 6991:1.0 7428:1.0 8051:1.0
17 1:0.06666666666666667 28:0.1 96:0.2 660:0.18181818181818182 2371:0.3333333333333333 2896:1.0 3197:0.5 3339:1.0 4255:1.0 4483:1.0 4609:0.5 5583:1.0 7534:1.0 7692:1.0 8014:1.0
17 1:0.06666666666666667 1626:0.4 2026:0.3333333333333333 2343:0.125 2371:0.3333333333333333 2374:1.0 3109:1.0 3194:1.0 4035:1.0 4042:1.0 4059:0.5 4060:0.5 4106:1.0 4174:1.0 4175:1.0 4204:0.3333333333333333 4205:1.0 4206:1.0 4207:1.0 4252:0.2 4264:0.5 4299:1.0 4441:1.0 4609:0.5 4849:1.0 5600:0.5 5601:1.0 7066:1.0
17 4:1.0 28:0.1 52:0.3333333333333333 62:2.0 78:1.0 86:0.125 87:0.3333333333333333 96:0.2 180:0.5 192:1.0 222:2.0 304:0.25 691:1.0 781:0.5 1541:1.0 2074:1.0 3191:0.2 4060:0.5 4098:1.0 4103:0.5 4207:1.0 4220:0.25 4221:1.0 4222:1.0 4223:1.0 4590:1.0 6032:1.0 8331:1.0
17 1:0.13333333333333333 6:0.3333333333333333 14:1.0 37:0.5 52:0.6666666666666666 80:0.16666666666666666 108:1.0 169:1.0 330:1.0 348:0.16666666666666666 359:0.3333333333333333 547:1.0 628:1.0 660:0.09090909090909091 1194:1.0 1625:1.0 1626:0.2 2187:0.25 3191:0.2 3597:1.0 4035:1.0 4043:1.0 4080:1.0 4081:1.0 4098:1.0 4174:1.0 4175:1.0 4237:0.25 4356:0.5 4949:0.5 5574:1.0 5857:1.0 6360:1.0 7225:1.0 7337:1.0
17 13:0.08333333333333333 14:0.5 28:0.1 86:0.125 301:0.25 622:1.0 1070:1.0 1115:1.0 1626:0.2 1760:1.0 2026:0.3333333333333333 2343:0.125 2371:0.3333333333333333 3274:1.0 4096:1.0 4107:1.0 4142:0.5 4252:0.2 4392:1.0 4584:1.0 4935:1.0 5429:1.0 5458:1.0 5576:1.0 5762:1.0 7724:1.0
17 60:0.03125 154:1.0 222:1.0 273:1.0 651:1.0 883:1.0 961:1.0 1623:1.0 1625:0.5 1626:0.2 2316:1.0 4085:1.0 4154:0.3333333333333333 4375:1.0 5857:1.0 6121:1.0
17 222:1.0 1625:0.5 1787:1.0 3191:0.4 4154:0.3333333333333333 4258:1.0 4353:0.5 4392:1.0 4449:1.0 4539:1.0 4709:1.0 4725:1.0 4813:0.5 4833:0.5 4862:0.5 5275:1.0 5762:1.0 6199:1.0 6670:1.0 8155:1.0
17 660:0.18181818181818182 1626:0.2 2343:0.25 2619:1.0 3191:0.2 3339:1.0 4034:1.0 4103:0.5 4141:1.0 4142:1.0 4274:0.5 4283:0.3333333333333333 4348:1.0 4381:0.5 4386:1.0 4483:1.0 7833:1.0
|
fa76197d5eb80a1d3fa93c30a8b7e5e445aa9ca3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.48/48.sce | 515ae81b219af8917ff4be1ad5fa4b8b9d669057 | [] | 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 | 296 | sce | 48.sce | clc
mw=50; //kg/s
p1=10^5; //N/m^2
p2=4.2*10^5; //N/m^2
h=10.7; //m
d1=0.2; //m
d2=0.1; //m
v1=1/1000;
v2=1/1000;
g=9.81; //m/s^2
C1=mw*4/%pi/d1^2*v1;
C2=mw*4/%pi/d2^2*v2;
W=mw*[(p1*v1-p2*v2) + (g*(0-h))+(C1^2-C2^2)/2]/10^3;
disp("Capacity of electric motor")
disp(-W)
disp("kW") |
bbb69673fdff40c7a6e7a3d6f120a9da0784af76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH2/EX2.12/example2_12.sce | 8bc07fc7353a528571d6268aa6e3aaa1663d01b2 | [] | 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 | 593 | sce | example2_12.sce | //Example 2.12
//inverse z transform by partial fraction method
clear;clc;
xdel(winsid());
z=%z;
num=1;
den=((1-z^-1)^2)*(1+z^-1);
X=syslin('c',num/den)
X1=X/z
pfss(X1)
// by partial fraction the X1 will be factorised as (in terms of z)
disp("X(z)=(0.25*z/(z+1))+(0.75*z/(z-1))+(0.5*z/(z-1)^2)")
disp("X(z)=(0.25/(1+z^-1))+(0.75/(1-z^-1))+(0.5*z/(z-1)^2)")
// 0.25/(1+z^-1) is the z transform of "0.25*(-1)^n*u(n)"
// (0.75/(1-z^-1)) is the z transform of "0.75*u(n)"
//(0.5*z/(z-1)^2) is the z transform of "0.5*n*u(n)"
disp("x(n)=0.25*((-1)^n)*u(n)+0.75*u(n)+0.5*n*u(n)")
|
f1a861ad631a73085a63aac8b988e3c30125f024 | cbb649d8e324adaeadc57a0844861326b488757c | /loader.sce | e8bc9f81d203d7f16350b55de45fe63954e2a264 | [] | no_license | ishit/scilab-network | 8a779a2f2a6a45df5f852cc01b587242c77295eb | b68cd8e43dee58328bfc019f6535c35dd2c5c122 | refs/heads/master | 2020-05-04T18:50:52.385041 | 2015-03-21T04:11:11 | 2015-03-21T04:11:11 | 32,018,199 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 860 | sce | loader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
libnetwork_path = get_absolute_file_path('loader.sce');
//
// ulink previous function with same name
[bOK, ilib] = c_link('libnetwork');
if bOK then
ulink(ilib);
end
//
list_functions = [ 'network_Init';
'SWIG_this';
'SWIG_ptr';
'TcpOpen';
'client';
'close';
];
addinter(libnetwork_path + filesep() + 'libnetwork' + getdynlibext(), 'libnetwork', list_functions);
// remove temp. variables on stack
clear libnetwork_path;
clear bOK;
clear ilib;
clear list_functions;
// ----------------------------------------------------------------------------
|
24846fac8ad889c7d700b4732c5065570e7a78fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH2/EX2.6/Example2_6.sce | 7c17142080b020b79a419694542aadb2f60e2742 | [] | 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 | 636 | sce | Example2_6.sce | //Exa 2.6
clc;
clear;
close;
format('v',6);
//Given data :
Pin=100;//MW
VL=380;//kV
d=100;//km
R=0.045;//ohm/cm^2/km
w=0.01;//kg/cm^3
Eta=90;//efficiency %
cosfi=1;
IL=Pin*10^6/sqrt(3)/VL/10^3/cosfi;//Ampere
W=Pin*(1-Eta/100);//MW
LineLoss=W*10^6/3;//Watts/conductor
R1=LineLoss/IL^2;//in ohm
R2=R1/d;//resistance per conductor per km
a=R/R2;//in cm^2
volume=a*d*1000;//cm^3 per km run
weight=w*volume;//kg per km run
w3=3*d*weight;//kg(weight of copper required for 3 conductors for 100 km)
disp(w3,"Weight of copper required for 3 conductors of 100 km length(in kg) : ");
//Answer in the book is not accurate.
|
855632692818e9eb3eabac10acbd3f5fe379fa91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH7/EX7.3/Exa_7_3.sce | 83e357e781d15febe84c7f48c9a50a989941d815 | [] | 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 | 411 | sce | Exa_7_3.sce | //Sampling Oscilloscope Concepts
fo=100;a=50;
s=(a-1)*fo/a;
B=100-s;
i=s/(2*B);
i=ceil(i);
disp(i,'The sampling frequency can at max divided by i');
disp(s,2*B,'range of sampling rate is between s and 2*B');
fo1=100;
a=50;
s1=(a-1)*fo1/a;
B1=400-4*s1;
j=s1/(2*B1);
j=ceil(j);
disp(j,'The sampling frequency can at max divided by j');
disp(s1,2*B1,'range of sampling rate is between s1 and 2*B1'); |
a2d69cd9355aad12214263a7a04a96c315f8798b | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/ChanFlow2D_bcsfromfiles.tst | 1593bdcf51d2c92d53dfabb592775fe96743560f | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,216 | tst | ChanFlow2D_bcsfromfiles.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Channel Flow P=5 Boundary Conditions from files</description>
<executable>IncNavierStokesSolver</executable>
<parameters>ChanFlow2D_bcsfromfiles.xml</parameters>
<files>
<file description="Session File">ChanFlow2D_bcsfromfiles.xml</file>
<file description="Session File">ChanFlow2D_bcsfromfiles_u1_0.bc</file>
<file description="Session File">ChanFlow2D_bcsfromfiles_u3_0.bc</file>
<file description="Session File">ChanFlow2D_bcsfromfiles_v3_0.bc</file>
<file description="Session File">ChanFlow2D_bcsfromfiles_uforce.fld</file>
</files>
<metrics>
<metric type="L2" id="1">
<value variable="u" tolerance="1e-6">2.03944e-13</value>
<value variable="v" tolerance="1e-6">1.30205e-13</value>
<value variable="p" tolerance="1e-6">5.35429e-11</value>
</metric>
<metric type="Linf" id="2">
<value variable="u" tolerance="1e-6">7.21201e-13</value>
<value variable="v" tolerance="1e-6">1.18131e-13</value>
<value variable="p" tolerance="1e-6">1.03743e-10</value>
</metric>
</metrics>
</test>
|
d79901b3b1693ec1b47ab4d29e1e45f77333f3df | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/overloading.man.tst | 3ff5676e5126d75e6279c32c37a4cbbc83ff5f5a | [
"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 | 253 | tst | overloading.man.tst | clear;lines(0);
//DISPLAY
deff('[]=%tab_p(l)','disp([['' '';l(3)] [l(2);string(l(4))]])')
tlist('tab',['a','b'],['x';'y'],rand(2,2))
//OPERATOR
deff('x=%c_a_s(a,b)','x=a+string(b)')
's'+1
//FUNCTION
deff('x=%c_sin(a)','x=''sin(''+a+'')''')
sin('2*x')
|
3e4cd044246c30d4f783809a0f9ae036f6599148 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH3/EX3.6/Ex3_6.sce | 0ad8c2aa043299a2313062c3a1a06680fd68dfb9 | [] | 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 | 494 | sce | Ex3_6.sce | clc
// Example 3.6.py
// Consider a point in a supersonic flow where the static pressure is 0.4 atm. When
// a pitot tube is inserted in the at this point, the pressure measured by the
// pitot tube is 3 atm. Calculate the mach number at this point.
// Variable declaration
p1 = 0.4 // static pressure (in atm)
po2 = 3.0 // pressure measured by the pitot tube (in atm)
//Calculations
// from table A2 for po2/p1 = 7.5
M1 = 2.35
// Results
printf("\n Mach number is %.2f",(M1))
|
3988af81e4bf9c5284059e0c10db4ed9a928ca9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.25/example11_25.sce | 847c0f8d245abd5438e46ac0f0998ea80d287c13 | [] | 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,074 | sce | example11_25.sce | //clc()
m = 1000;//kg/h ( basis mass of 10% NaOH solution )
Pfeed = 10;//%
Ppro = 50;//(Percentage NaOH in product)
//Taking NaOH balance,P being the weight of the product
P = Pfeed * m / Ppro;
//W be the weight of water evaporized
W = m - P;
//step1 - cooling 1000kg/h of 10% solution from 305K to 298K
T1 = 305;//K
T2 = 298;//K
Cliq = 3.67;//kJ/kgK
H1 = m*Cliq * (T2 - T1);
//step2 - separation into pure components
Hsolution = -42.85;//kJ/mol
H2 = -Pfeed * m *1000 *Hsolution/ (40*100);
//step3 - W kg water is converted to water vapour
Hvap = 2442.5;//kJ/kg
H3 = W * Hvap;
//step4 - water vapour at 298K is heated to 373.15K
Cvap = 1.884;//kJ/kgK
T3 = 373.15;//K
H4 = W * Cvap * ( T3 - T2 );
//step5 - formation of 200kg of 50% NaOH solution at 298K
Hsolu = -25.89;//kJ/mol
H5 = Pfeed * m *1000 *Hsolu/ (40*100);
//step6 - Heating the solution from 298K to 380K
Csolu = 3.34;//kJ/kg
T4 = 380;//K
H6 = P * Csolu * (T4 - T2);
Htotal = H1 + H2 + H3 + H4 + H5 + H6;
disp("kJ",Htotal,"The enthalpy change accompanying the complete process = ") |
6543b7fcc4c95c992ffc1b1edb349365bf3a9c60 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH4/EX4.2/Ex4_2.sce | 116ae6fb8e489f3a27fd91777be7c003df31f5ff | [] | 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 | 709 | sce | Ex4_2.sce | errcatch(-1,"stop");mode(2);//Caption:Find the (a) a-ratio (b) current in primary (c) the power supplied to load (d) and the flux in the core
//Exa:4.2
;
;
N_p=150;//no. of turns in primary winding
N_s=750;//no. of turns in secondary winding
f=50;//frequency in Hz
I_2=4;//load current (in Amperes)
V_1=240;//voltage on primary side (in Volts)
pf=0.8;//power factor
a=N_p/N_s;
disp(a,'(a) a-ratio=');
I_1=I_2/a;
disp(I_1,'(b) current in primary (in Amperes)=');
V_2=V_1/a;
disp(V_2,'(c) voltage on secondary side (in Volts)=');
P_L=V_2*I_2*pf;
disp(P_L,'(d) power supplied to the load (in Watts)=');
flux=V_1/(4.44*f*N_p);
disp(flux*10^3,'(e) flux in the core (in mili-Weber)=');
exit();
|
7ffbb231335d5f997a7670ebb6831c591a861862 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.45/Ex5_45.sce | 8d60e346cf21724a6ed5dc5b05eb6e11a6ccfc45 | [] | 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 | 179 | sce | Ex5_45.sce | clear
//Given
R1=2 //ohm
R2=4
R3=6
E=8
r=1
//Calculation
Rac=(R1+R2)*R3/(R1+R2+R3)
I=E/(Rac+r)
I1=I/2.0
//Result
printf("\n Internal resistance is %0.3f A", I1)
|
e871409023ed9aaa3ff2f98f9a547fc621577174 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 02/Heun.sce | eeab86772c6653b1fdbaaa1d9f16b7f926eabf5f | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Heun.sce | // C: Heun
// Referência: https://www.youtube.com/watch?v=F8urfp1HEKs
function y = f(t, u)
y=sin(u+t)
endfunction
function [u]=heun(N, cor)
u(1) = 2; //CI
t(1) = 0;
T = 3;
h = (T-t(1))/N
for n=1:n
t(n+1)=t(n)+h;
util = u(n)+h*f(t(n),u(n))
F1 = f(t(n), u(n))
F2 = f(t(n+1), util) //Heun
u(n+1)=u(n)+(h/2)*(F1+F2)
end
endfunction
|
073ca1bfa289d91248ad6f232850827163b3ddf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH9/EX9.11/ch9_11.sci | 59899d2bd16bf66770fffb19d1508f954a3ed465 | [] | 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 | 538 | sci | ch9_11.sci | //to find starting current and torque, necessary exteranl resistance and corresponding starting torque
clc;
f=50;
R2=.1;
X2=2*%pi*f*3.61*10^-3;
a=3.6;
R22=a^2*R2;
X22=a^2*X2;
V=3000;
n_s=1000;
w_s=2*%pi*n_s/60;
I_s=(V/sqrt(3))/sqrt(R22^2+X22^2);disp(I_s,'starting current(A)');
T_s=(3/w_s)*(V/sqrt(3))^2*R22/(R22^2+X22^2);disp(T_s,'torque(Nm)');
Iss=30;
Rext=sqrt(((V/sqrt(3)/Iss)^2-X22^2)-R22);
disp(Rext,'external resistance(ohm)');
T_s=(3/w_s)*(V/sqrt(3))^2*(R22+Rext)/((R22+Rext)^2+X22^2);disp(T_s,'torque(Nm)');
|
c5232c3820b3d8de984bd0b72f3776da24088f91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH13/EX13.17/Ex13_17.sce | 040f657a3fb27d21312cf08908401a7fcf8513d5 | [] | 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 | 728 | sce | Ex13_17.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 13.17
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
lambda=1550e-9;//Operating wavekength of the system in m
alpha=0.2;//Fiber loss in dB/km
Pi=1e-3;//Input power in W
Np=1000;//Minimum number of photons per bit of information
B=2.5e9;//Bit rate in b/s
h=6.63e-34;//Planck's constant in SI Units
c=3e8;//Speed of photons in m/s
v=c/lambda;//Frequency corresponding to the operating frequency
Lmax=10/alpha*log10(2*Pi/(Np*B*h*v));//Maximum permissible loss-limited length in km
mprintf("\n Maximum permissible loss-limited length Lmax=%.2f km",Lmax);//The answers vary due to round off error
|
1d48a94a8d726099babe3b167630d87893447530 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH12/EX12.1/12_1.sce | 35fa2b8d858fddce2f67dcc2d15a21461c199144 | [] | 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 | 352 | sce | 12_1.sce | //example 12.1
clc; funcprot(0);
// Initialization of Variable
//for a sample value of theta=45degrees
pi=3.14;
rho=1.94;
A=0.06;//area
V=10.0;//velocity
theta=pi*45/180;
Fax=-rho*A*V^2*(1-cos(theta));
disp(Fax,"resultant force in x direction in lbf");
Fay=rho*A*V^2*sin(theta);
disp(Fay,"resultant force in y direction in lbf");
clear()
|
81376e51a1188224056710f15e9de3cb671538be | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/arrowedline.sci | 7ba5e46ddcc9f9a035528cc0907f6b1b971851e6 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 2,342 | sci | arrowedline.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// 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
// Author: Nihar Rao
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
function[dstImg] = arrowedline(srcImg, x1, y1, x2, y2, R, G, B, varargin)
// This Function Draws a arrow segment pointing from the first point to the second one.
//
// Calling Sequence
//
// z=imread("lena.jpeg");
// arrow=arrowedline(z,x1,y1,x2,y2,R,G,B);
// arrow=arrowedline(z,x1,y1,x2,y2,R,G,B,thickness);
// arrow=arrowedline(z,x1,y1,x2,y2,R,G,B,thickness,linetype);
// arrow=arrowedline(z,x1,y1,x2,y2,R,G,B,thickness,linetype,shift);
//
// Parameters
//
// z: input image on which the arrowd line should be drawn.
// arrow: the output image with the arrowed line drawn on it.
// x1: x coordinate of first point
// y1: y coordinate of first point
// x2: x coordinate of second point
// R: red color value of the circle.It should be in the range 0-255.
// G: blue color value of the circle.It should be in the range 0-255.
// B: green color value of the circle.It should be in the range 0-255.
// thickness: Line thickness.
// linetype: Type of the circle boundary.It can be 0 or 4 or 8.
// shift: Number of fractional bits in the point coordinates.
//
// Description
// This Function Draws a arrow segment pointing from the first point to the second one.
//
// Examples
//
// z=imread("lena.jpeg");
// arrow=arrowedline(z,200,200,150,10,255,255,0,13);
// imshow(arrow)
[lhs, rhs] = argn(0)
srcMat = mattolist(srcImg)
select rhs
case 8 then
out = raw_arrowedline(srcMat, x1, y1, x2, y2, R, G, B)
case 9 then
out = raw_arrowedline(srcMat, x1, y1, x2, y2, R, G, B,varargin(1))
case 10 then
out = raw_arrowedline(srcMat, x1, y1, x2, y2, R, G, B, varargin(1),varargin(2))
case 11 then
out = raw_arrowedline(srcMat, x1, y1, x2, y2, R, G, B, varargin(1),varargin(2), varargin(3))
case 12 then
out = raw_arrowedline(srcMat, x1, y1, x2, y2, R, G, B, varargin(1),varargin(2), varargin(3), varargin(4))
end
channels = size(out)
for i = 1:channels
dstImg(:,:,i) = out(i)
end
endfunction
|
2a5f2f1f7fc9cbba2a2e7efcc39978bbc7add819 | 848985a0f79ca7b51ae07d2a69da499a3093257a | /Assignment-1/LU-Decomposition.sce | 21ffc7a7026099a80d36eb3941e0f06bb7b86b81 | [] | no_license | Gituser143/Linear-Alegebra-SciLab-Assignment | db69f6cf6a2431e553dbd1f067a329dcb7979f41 | 6eef13de5aa3b2f45b0faaff826648738985377a | refs/heads/master | 2020-12-30T04:18:21.185190 | 2020-04-04T07:24:22 | 2020-04-04T07:24:22 | 238,857,772 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | LU-Decomposition.sce | rows = 3;
cols = 3;
A = zeros(rows,cols);
disp("Inputs to all matrices to be sequential left to right, top to bottom");
disp("Inputs to A begin");
for i = 1:rows
for j = 1:cols
A(i,j) = input("value for A:")
end
end
U = A;
disp(A,'The given matrix is A = ');
m = det(U(1,1));
n = det(U(2,1));
a = n/m;
U(2,:) = U(2,:) - U(1,:)/(m/n);
n = det(U(3,1));
b = n/m;
U(3,:) = U(3,:) - U(1,:)/(m/n);
m = det(U(2,2));
n = det(U(3,2));
c = n/m;
U(3,:) = U(3,:)-U(2,:)/(m/n);
disp(U,'The upper triangular matrix is U =');
L = [1,0,0;a,1,0;b,c,1];
disp(L,'The lower triangular matrix is L =');
|
622a6cb037433bdd651883abff02d628def53b47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH1/EX1.32/Ex1_32.sce | bf6150f3dff3d0e922a7d403cd36394da53e4ff1 | [] | 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 | 738 | sce | Ex1_32.sce |
//Variable declaration
R=25. //external resistance(ohms)
Vm=200. //peak value of voltage(V) as vs=200 sinwt
Rf=50. //forward resistance(ohms)
//Calculations
//Part a
Id=Vm/(2*Rf+R) //diode current(peak)
//Part b
Idc=(2*Id)/%pi //dc current(A)
//Part c
PIV=Vm/2 //peak value of voltage across D1
PIVac=100/%pi //average value of voltage across D1
//Part d
Im=Id //peak value of current(A)
Irms=Im/(sqrt(2)) //rms value of current(A)
//Results
printf ("peak value of current is %.1f A",Id)
printf ("dc currect is %.2f A",Idc)
printf ("across D1 are peak voltage is %.1f V and average voltage is %.1f V",PIV,PIVac)
printf ("Irms is %.2f A",Irms)
|
4106cd84694b5c4c375d708150dab9bd95de107d | a88b208abd12ac4ba83e2ac21e779fd1a10209cc | /Prac 3.sce | c711967d71152a0121f788eb6553618db390df20 | [] | no_license | Dhwanit2501/SS-Practicals | fd133d4c179c8f865baeaec62787a71a82e9034e | 21db80b290ca0bc3bd43439c52714be711c60820 | refs/heads/main | 2023-01-19T07:24:25.466057 | 2020-11-25T14:33:49 | 2020-11-25T14:33:49 | 315,964,795 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | Prac 3.sce | //Task 1
n=0:1:25;
fs=0.002;
t=n/fs;
x=cos(2*%pi*0.02*t);
plot2d3(n,x);
//Task 2
figure;
n=0:1:25;
fs=0.04;
t=n/fs;
x=cos(2*%pi*0.02*t);
plot2d3(n,x);
//Task 3
figure;
n=0:1:25;
fs=0.4;
t=n/fs;
x=cos(2*%pi*0.02*t);
plot2d3(n,x);
//Task 4
figure;
n=0:1:25;
fs=50;
t=n/fs;
x1=cos(2*%pi*5*t);
plot2d3(n,x1);
figure;
n=0:1:25;
fs=50;
t=n/fs;
x2=cos(2*%pi*45*t);
plot2d3(n,x2);
figure;
n=0:1:25;
fs=50;
t=n/fs;
x3=cos(2*%pi*55*t);
plot2d3(n,x3);
|
6721ee87b4cc87732e06a8b8008c9acf3c0e4f8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH20/EX20.10/example10.sce | 71d14c88a34cc7ec64a53ca28f484c6499eb3335 | [] | 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 | 635 | sce | example10.sce | // find maximum,minimum voltage gain
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 20-10, page 771
clear; clc; close;
// Given data
Rdsmin=50;// in ohms
Rdsmax=120*10^3;// in ohms
R1=1*10^3;// in ohms
R2=47*10^3;// in ohms
R3=100*10^3;// in ohms
// Calculations
Avmax=((R2/R1)+1)*(Rdsmax/(Rdsmax+R3));// maximum voltage gain
Avmin=((R2/R1)+1)*(Rdsmin/(Rdsmin+R3));// minimum voltage gain
disp(Avmin,"minimum voltage gain=")
disp(Avmax,"maximum voltage gain=")
// Result
// Minimum voltage gain is 0.024
// Maximum voltage gain is 26.2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.