blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c1a7291a87507bf472ddc4ffd9d1c99b63c7eb8e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos/connected_links.sci | 746dd4de92f865732d5410b7928774d27dc40c1b | [
"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 | 966 | sci | connected_links.sci | function connected=connected_links(scs_m,k)
//given a link number returns all links connected with him through split
// Copyright INRIA
TYPE_OBJET=1;GRAPHIQUE=2;
OBJET_ORIGINE=8;OBJET_DESTINATION=9
$ENTREES=5;$SORTIES=6;$ENTREES_EVT=7;$SORTIES_EVT=8
if scs_m(k)(TYPE_OBJET)<>'Link' then
error('Object is not a link')
end
connected = []
liaisons_a_traiter = k
//- Look for connected links
while liaisons_a_traiter <> []
numero_liaison = liaisons_a_traiter(1)
connected = [connected, numero_liaison]
bloc_amont = scs_m(scs_m(numero_liaison)(OBJET_ORIGINE)(1))
bloc_aval = scs_m(scs_m(numero_liaison)(OBJET_DESTINATION)(1))
for bloc = list(bloc_amont, bloc_aval)
if is_split(bloc) then
for port = [$ENTREES, $SORTIES, $ENTREES_EVT, $SORTIES_EVT]
liaisons_a_traiter = [liaisons_a_traiter; bloc(GRAPHIQUE)(port)]
end
end
end
for i = connected
liaisons_a_traiter = liaisons_a_traiter(find(liaisons_a_traiter <> i))
end
end
|
2189057aa4648a2b7705011271a8fa3c08c9e0f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH10/EX10.7/Example10_7.sce | b7d5a2dcdabd93b42c8d68a9474e368da027e2a4 | [] | 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 | 734 | sce | Example10_7.sce | //Example 10.7
clear;
clc;
K=10;
VT0=(273.2*10^(-3));//273.2 K for T=0 degCelsius
fo0=0;
R2R3rat=(1-VT0)/VT0;
RC=1/((10^4)*K);
C=3.9*10^(-9);
R=RC/C;
R3=2.74*10^3;
R2=R3*R2R3rat;
R1=R-((R2*R3)/(R2+R3));
printf("Designed Celsius to Frequency Converter :");
printf("\nR=%.3f kohms",R*10^(-3));
printf("\nR1=%.f ohms",R1);
printf("\nR2=%.2f kohms",R2*10^(-3));
printf("\nR3=%.2f kohms",R3*10^(-3));
printf("\nC=%.1f nF",C*10^9);
printf("\nTo calibrate, place the IC in a 0 deg Celsius environment and adjust R2,");
printf("\nso that the circuit is barely oscillating, say fo=1 Hz. Then move the IC to");
printf("\na 100 deg Celsius environment and adjust R1 for f0=1 kHz."); |
aa60f73f043be69e77ac478f57d5ce849d1b0169 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/infneuron.sce | 857d9f9da1de793cbc395d173ccc96358533ac66 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 155 | sce | infneuron.sce | style.fontSize=14;
style.displayedLabel="<table> <tr><td align=center>INF<br>Neuron</td></tr></table>";
pal5 = xcosPalAddBlock(pal5,"infneuron",[],style);
|
6f180ffe623badc38acb9618e31f33f65ab60d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.16/Ex4_16.sce | 1c6845a6cf0c7b6b6710af3613672b8a154abb7a | [] | 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 | 231 | sce | Ex4_16.sce | //Example 4.16:
clc;
clear;
close;
//given data :
A=200;//gain without feedback
Beta=0.25;//feed back ratio
gc=10;//percent gain change
dA=gc/100;//
dAf= ((1/(1+Beta*A)))*dA;//
format('v',7)
disp(dAf,"small change in gain is,=")
|
348ac8e41d1703ed8b31cb1dd1838b716f767bbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH2/EX2.15/2_15.sce | 00ee15834fd3f2c163bea250bcc4930b6107f47e | [] | 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 | 446 | sce | 2_15.sce | //Bolt with reduced shank diameter
g = 1.50; // inch
d = 0.5; //inch
t = 0.25; //inch
d_r = 0.406; //inch
L = 13.5; //inch
ratio = ( (g*(d^2)) / ( ((g-t)*(d_r^2))+(t*(d^2))) ) //U2/U1
disp(ratio,"The energy absorbing capacity of the bolts with reduced shank diameter")
// Long bolts
ratio_1 = ( (((L-t)*(d_r^2))+(t*(d^2))) / ((2*(g-t)*(d_r^2))+2*(t*(d^2))) ); //U3/2U1
disp(ratio_1,"The energy absorbing capacity of the long bolts")
|
9e5243206933300a4af76daea9c40f85a3741bce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH8/EX8.5/Ex8_5.sce | 5eea3a682eb41951d777bdc4a3367bbf163995ea | [] | 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 | Ex8_5.sce | clear
//Given
n=20
I=1 //A
r=0.08 //m
u=4*3.14*10**-7 //T/A m
//Calculation
B=u*n*I/(2*r)
//Result
printf("\n Magnitude of the magnetic field is %0.3f *10*4 T", B*10**4)
|
2938e90ddf09c09724620348f472e25ead4b5b1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH14/EX14.1/exa14_1.sce | db0c51e2abb9d6f689c219a8a4b4bcd9af40b280 | [] | 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 | 659 | sce | exa14_1.sce | // Example 14.1
// From figure 14.7(a)
// Let us assume some Values to R's and C for illustration purpose
R=5;
C=0.1*10^-6;
s=%s;
// Conductance matrix from figure 14.7(b)
Y_11=s*C+1/R;
Y_12=-s*C;
Y_21=Y_12;
Y_22=Y_11;
Y=[Y_11,Y_12;Y_21,Y_22];
delta=det(Y);
// Solving matrix equation
// Y*[V_1;V_2]=[I_1;I_2]
// On application of Cramer's Rule we get
// V_1=(Y_22/delta)*I_1-(Y_12/delta)*I_2 ----equqtion(1)
//V_2=-(Y_21/delta)*I_1+(Y_11/delta)*I_2 ----equation(2)
// comparing above equations with z-parameter matrix equation
z_11=Y_11/delta;
z_22=z_11;
z_12=-Y_12/delta;
z_21=z_12;
Z=[z_11,z_12;z_21,z_22];
disp(Z,"Z-Parameters=")
|
56f7bc064a31cd32b525d7db2d4f2da4706b82a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.4/Ex1_4.sce | c0d7943ea998f7513a996b20637accd388190581 | [] | 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 | Ex1_4.sce | //Example 1_4 page no:5
clc
clear
R=10;//Resistance in ohm
V=12;//Voltage in volt
I=V/R;
disp(I,"current flowing through resistor(in A):")
|
dc68042ee761c49682e057c3ebcbf5b50ddef8f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH3/EX3.13/Ex3_13.sce | f17a9192c427a5a50497af4b27503d10b73d83ba | [] | 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 | 315 | sce | Ex3_13.sce | //Ex:3.13
clc;
clear;
close;
n1=1.48;// core refractive index
n2=1.46;// cladding refractive index
a=2.5;// radius in um
y=0.85;// wavelength in um
dl=(n1-n2)/n1;// index difference
v=(2*%pi*a*n1*(2*dl)^(0.5))/y;// the normaised frequency
M=(v*v)/2;// number of modes
printf("The number of modes=%f", M); |
ebb312ca9978cd92ab6c3cbfc613736c33c049f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3761/CH4/EX4.13/Ex4_13.sce | e9b3561e57529a3423454d7e0244d7812d3710b5 | [] | 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,849 | sce | Ex4_13.sce | disp("Example 4.13")
disp("fck=20MPa","fy=Fe250","Ast=4926mm^2","d=520mm","bw=250mm","Df=100mm","bf=850mm","Given:")
bf=850
Df=100
bw=250
d=520
Ast=4926
fy=250
fck=20
Es=2*10^5
xumaxd=0.0035/(0.0055+0.87*(fy/Es))
xumax=xumaxd*d
disp("mm",xumax,"xumax=")
disp("First assuming xu</Df and xu</xu,max")
disp("xu=(0.87*fy*Ast)/(0.362*fck*bf)")
xu=(0.87*fy*Ast)/(0.362*fck*bf)
disp("mm",xu,"xu=")
disp("xu >Df, Hence this value of xu is not correct")
disp("As xu>Df, Cuw = 0.362*fck*fy*bw*xu")
Cuw=0.362*fck*fy
disp("xu N", Cuw,"Cuw=")
disp("ASssuming xu>/7/3*Df = 233.33mm, yf=Df=100mm and Cuf=0.447*fck*(bf-bw)*Df")
Cuf=0.447*fck*(bf-bw)*Df
disp("N",Cuf,"Cuf=")
disp("Further assuming xu</xu,max = 276.1 mm, fst=0.87*fy, and")
Tu=0.87*fy*Ast
disp("N",Tu,"Tu=")
disp("Applying the force equilibrium condition Cuw+Cuf=Tu")
xu=(Tu-Cuf)/Cuw
disp("mm",xu,"xu=")
disp("which implies xu>7/3Df =233.3mm, but not xu</xu,max=276.1mm. The section is over-reinforcedas per the Code provisions")
disp("Exact Solution (considering strain compatibility)")
disp("mm",xu,"Corresponding to xu=")
disp("Est=0.0035*(d/xu-1)")
Est=0.0035*(d/xu-1)
disp(Est,"Est=")
strainyield=0.87*fy/Es
disp("Est is greater than strain at yield for Fe250")
disp(strainyield)
disp("Hence the design steel stress isindeed fst=0.87*fy and the so calculated xu above, is the correct depth of the neutral axis")
disp("Accordingly,MuR= Cuw*(d-0.416*xu)+Cuf*(d-Df/2)")
MuR=(Cuw*xu*(d-0.416*xu)+Cuf*(d-Df/2))/10^6
disp("kNm",MuR,"MuR=")
disp("APPROXIMATE SOLUTION")
disp("Limiting xu to xu,max=276.1 mm and taking moments of Cuw and Cuf about the centroid of the tension steel.(Note that, following the Code procedure, Df/d=100/520=0.192<0.2, yf=Df=100mm")
xumax
MuRl=((Cuw*xumax*(d-0.416*xumax))+(Cuf*(d-Df/2)))/10^6
disp("kNm",MuRl,"MuR,lim=")
|
1654fad6378be3b02891ef67da13458f6f2dd194 | ebd0c2905c4b177092fc175723fe152edf0c7eb0 | /Trabalho02/quest_01.sce | ff437dfa3ec95918abc5dce7b6358f3c7eb6af7b | [] | no_license | klayverxd/trabalhos-inteligencia-computacional | 8afbb94f657dec82925ce7e91a918d6a943f7464 | fa4d4f1e5930cfd6f6addb960f243db1a21e77f6 | refs/heads/main | 2023-07-04T04:23:20.617977 | 2021-08-12T18:24:03 | 2021-08-12T18:24:03 | 385,429,278 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,744 | sce | quest_01.sce | // PERCEPTRON
clear;
clc;
dados=[];
//captura da qtd de pontos da 1° classe
qtd_pontos_a = input("Digite a quantidade de pontos da classe 1: ");
dados(1:qtd_pontos_a, 1:4) = 0;
//captura da qtd de pontos da 2° classe
qtd_pontos_b = input("Digite a quantidade de pontos da classe 2: ");
dados(qtd_pontos_a+1 : qtd_pontos_a+qtd_pontos_b, 1:4) = 1;
//adicionando bias
dados(:, 1) = -1;
clc;
disp("===Tabela inicial===");
disp("===Bias | Inputs | Classes===");
disp(dados);
disp('===Digite os pontos da classe 1===')
for count = 1:qtd_pontos_a
x_ponto = input("Digite a coordenada x do ponto " + string(count) + ": ");
dados(count, 2) = x_ponto;
y_ponto = input("Digite a coordenada y do ponto " + string(count) + ": ");
dados(count, 3) = y_ponto;
end
disp('===Digite os pontos da classe 2===')
for count = 1:qtd_pontos_b
x_ponto = input("Digite a coordenada x do ponto " + string(count) + ": ");
dados(qtd_pontos_a + count, 2) = x_ponto;
y_ponto = input("Digite a coordenada y do ponto " + string(count) + ": ");
dados(qtd_pontos_a + count, 3) = y_ponto;
end
clc;
disp("===Tabela final===");
disp("===Bias | Inputs | Classes===");
disp(dados)
[linhas, colunas] = size(dados);
//escolha dos pesos aleatoriamente
w = [];
for i = 1:3
w(i) = rand();
end
count = 1; //índice que percorre as linhas
epocas_input = input("Digite o número de épocas desejada: ");
taxa_aprendizagem = input("Digite o valor da taxa de aprendizagem desejada: ");
for epocas = 1:epocas_input
x = dados(count, 1:3); //bias e inputs
saida_esperada = dados(count, 4); //coluna das classes
// somatório
net = x * w;
//função de ativação
if net >= 0 then
net = 1;
else
net = 0;
end
erro = saida_esperada - net;
for i = 1:3
w(i) = w(i) + taxa_aprendizagem * erro * x(i);
end
count = count + 1;
if count > linhas then
count = 1;
end
disp('---Entrada---');
disp(x);
disp('---Esperado---');
disp(saida_esperada);
disp('---Obtido---');
disp(net);
disp('==========================')
end
// PLOTS
x_classe_a = dados(1:qtd_pontos_a, 2);
y_classe_a = dados(1:qtd_pontos_a, 3);
x_classe_b = dados(qtd_pontos_a+1:qtd_pontos_a+qtd_pontos_b, 2);
y_classe_b = dados(qtd_pontos_a+1:qtd_pontos_a+qtd_pontos_b, 3);
//plots por classe
plot(x_classe_a, y_classe_a, 'o')
plot(x_classe_b, y_classe_b, 'x')
// reta divisora
x1 = linspace(-25, 25);
x2 = -((w(2)/w(3))*x1) + ((w(1)/w(3)));
x2_bias = -((w(1)/w(3))*x1) + ((-1/w(2)));
plot(x1, x2, 'r-');
|
6dccaa23fddbf6ce813c3f9b801a72ba05ac4d36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH6/EX6.6/Example6_6.sce | 2a21689ac4afacf6d6f428c087bce7d0799874af | [] | 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 | 585 | sce | Example6_6.sce | //Simpson Rule
clc;
clear;
close();
format('v',10);
funcprot(0);
deff('[y]=f(x)','y=exp(x)');
n = [1 2 4];
a = 0;
b = 2;
h = (ones(1,3)*(b-a))./(2*n);
s(1) = h(1)*(f(a)+f(b)+4*f(h(1)))/3;
disp(s(1),'n=1');
s(2) = h(2)*(f(a)+f(b)+2*f(2*h(2))+4*(f(h(2))+f(3*h(2))))/3;
disp(s(2),'n=2');
s(3) = h(3)*(f(a)+f(b)+2*(f(2*h(3))+f(4*h(3))+f(6*h(3)))+4*(f(h(3))+f(3*h(3))+f(5*h(3))+f(7*h(3))))/3;
disp(s(3),'n=4');
exact = integrate('exp(x)','x',0,2);
disp(exact,'The exact value of intergation is :');
exact = ones(3)*exact;
err = exact-s;
disp(err,'thus corresponding errors are : '); |
1537d8cc78106cdd503ba7991fb77302437db0b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH3/EX3.7/Exa3_7.sce | e37365b6017fccca886761edfee79e8dae1a490c | [] | 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 | 519 | sce | Exa3_7.sce | //Exa3.7
clc;
clear;
close;
// given data
rho_i=0.47;// in ohm-meter
sigma_i=1/rho_i;
miu_e=0.39;// in m^2/V-s
miu_h=0.19;// in m^2/V-s
e=1.6*10^-19;// in C
// since sigma_i=n_i*e*(miu_e+miu_h);
n_i=sigma_i/(e*(miu_e+miu_h));
// so Density of electrons = Intrinsic Concentration,n_i
disp("Density of electons is :"+string(n_i)+" /m^3");
E=10^4;// in V/m
v_n=miu_e*E;
disp("Drift velocity of electrons is : "+string(v_n)+" m/s");
v_h=miu_h*E;
disp("Drift velocity of holes is : "+string(v_h)+" m/s"); |
ec953454acb9f4384794ef2074c1f098b8bbdb33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH7/EX7.7/Ex7_7.sce | df21dadbd179fd57cea85bd0beceaf69322594c1 | [] | 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 | 895 | sce | Ex7_7.sce | //Example 7.7
clc
clear
function [I] = simp13 (fun,a,b,n)
// Integrate the function over the interval using Simpson's 1/3rd rule
// simp13 (fun,a,b,n)
// fun - function to be integrated
// a - lower limit of integration
// b - upper limit of integration
// n - No. of times simpson's 1/3rd rule needs to be performed
N = 2 * n + 1; // N - total no. of points
h = (b-a) / (N-1);
x = linspace(a,b,N);
y = fun(x);
sum1 = y(1) + 4 * sum(y(2:2:N-1)) + 2 * sum(y(3:2:N-2)) + y(N);
I = h* sum1 / 3; // Simpson's 1/3rd Integral Value
endfunction
n = 8;
ns13 = n/2;
I = simp13(log,1,5,ns13);
I = round(I*10^4)/10^4;
deff('[y] = true(x)',['y = x * log(x) - x']);
trueVal = true(5) - true(1);
err = abs(trueVal - I) / trueVal*100;
err = round(err*100)/100;
disp(I,"y_simp13 = ")
disp(trueVal,"Actual Integral = ")
disp(err,"error_simp13 = ")
|
5976439c4bbb9fcced34cd77e3fd102b33bec58d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/elem/log10.sci | 372f873601460b78d90e26d4324032b89137ead6 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 37 | sci | log10.sci | function y=log10(x)
y=log(x)/log(10)
|
dd3ebf0ff4568e6994d1f73af319ee7222745332 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH2/EX2.20/EX2_20.sce | 176bda504e201fcbefd5951170b0a09794bc403b | [] | 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 | 684 | sce | EX2_20.sce | //calculating the speed of the motor
//Chapter 2
//Example 2.20
//page 125
clear;
clc;
disp("Example 2.20")
Il=5; //current in amperes al no-load
V=250; //voltage in volts
Rf=250; //field resistance in ohms
If1=V/Rf; //field current in amperes
Ia1=Il-If1; //armature current
Ra=0.2; //armature resistance in ohms
disp("at a load current of 50A")
Il2=50; //load current in amperes
//armature reaction weakens by 3percent
If2=0.97; //current in amperes
Ia2=Il2-If2;
N1=1000;
E1=(V-(Ia1*Ra));
E2=(V-(Ia2*Ra));
N2=(N1*E2)/(0.97*E1);
printf("N2=%frpm",N2)
|
5c001f8aca40443d2a9bae87f4a0b37f83273343 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/sort.man.tst | 893d4c6d70cf52e6561510889c00a805b61f14e4 | [
"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 | 214 | tst | sort.man.tst | clear;lines(0);
[s,p]=sort(rand(1,10));
//p is a random permutation of 1:10
A=[1,2,5;3,4,2];
[Asorted,q]=sort(A);A(q(:))-Asorted(:)
v=1:10;
sort(v)
sort(v')
sort(v,'r') //Does nothing for row vectors
sort(v,'c')
|
e845f0504b01940e559efccd4c5c70364ac6f1ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.12/Ex4_12.sce | eca9b106a7f29feb7c975e36a688f94d869d6f72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Ex4_12.sce | clc;
D=50;//diameter of commutator
N=1000;//speed of rotation of commutator in rpm
Wb=1.5;//brush width
V=%pi*D*N/60;//peripheral velocity of commutator
Tc=(Wb*1000)/V;//time of commutation in ms
printf('Time of commutation is %f ms.',Tc);
|
c4926681ce75531e1a9e0b154e10e21543c928bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH10/EX10.1/eg_10_1.sce | f9ef40593230b5e9e4e1f7dc1910d67865710ae7 | [] | 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,570 | sce | eg_10_1.sce | clc;
clear;
disp(" ... NS ");
disp(" PS x=0 x=1 ");
disp(" A E,0 C,0 ");
disp(" B C,0 A,0 ");
disp(" C B,0 G,0 ");
disp(" D G,0 A,0 ");
disp(" E F,1 B,0 ");
disp(" F E,0 D,0 ");
disp(" G D,0 G,0 ");
disp("Initial partition consists of all the states");
disp("P0=(ABCDEFG)");
disp("Since E only has 1 equivalent different from others,it can be partitioned from others");
disp("P1=(ABCDFG)E");
disp("now check for 2-equivalent i.e. 1-equivalent and their Ii succesors for all possible Ii are also 1 equivalent");
disp("A,F dont satisfy the 2-equivalent so they can be partitioned from others");
disp("P2=(AF)(BCDG)E");
disp("In the similar manner P3 can be obtained by splitting BD and CG since they dont have the same 3 equivalent");
disp("P3=(AF)(BD)(CG)E");
disp("In the same way P4 can be obtained by splitting A and F");
disp("P4=(A)(F)(BD)(CG)E");
disp("P4 cant be splitted more so P5 will be the same and the partition stops");
disp("P5=(A)(F)(BD)(CG)(E)");
disp("so the reduced machine is");
disp(" ... NS ");
disp(" .. PS x=0 x=1 ");
disp(" A----a e,0 c,0 ");
disp(" F----f e,0 b,0 ");
disp(" .(BD)--b c,0 a,0 ");
disp(" (CG)--c b,0 c,0 ");
disp(" E----e f,1 b,0 ");
|
e37b35ac9a0c68a74e5e27ccb3f1696ca2a792c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH5/EX5.3/Ex5_3.sce | 47d11663ae2129c888766b84ccf2c55b9c127d28 | [] | 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,052 | sce | Ex5_3.sce |
//To Determine the average KW input to the furnace
//Page 288
clc;
clear;
M=10*(10^3); //Mass of Steel Melted
t=2*3600; //Time Taken to Melt the steel
eff=50/100; //Overall Efficiency
I=9000; //Current Input
R=0.003; //Resistance
X=0.005; //Reactance
SH=0.12; //Specific Heat
LHF=8.89*(10^3); //Latent Heat of Fusion
Tm=1371; //Melting Point
Ti=20; //Room Temperature
Hm=M*LHF; //Heat Required for melting
Hr=M*SH*(Tm-Ti)*1000; //Heat Required to raise the temperature
Ht=Hm+Hr; //Total Amount of heat required
E=Ht*4.2/(3600); //Energy in Whr
P=E*3600/t; //Power
Pa=P/eff; //Actual Power Input to the Furnace
Vt=Pa/(3*I); //V Cos theta
//The Above voltage is the sum of arc drop and drop in resistance load
Va=Vt-(I*R); //Arc Drop
Vx=I*X; //Reactance Drop
Vs=sqrt((Vt^2)+(Vx^2)); //Supply Voltage
S=3*Vs*I/1000; //KVA input
printf('The Average kW input to the furnance is %g kW\n',Pa/1000)
printf(' The Arc Voltage is %g V\n',Va)
printf(' The kVA input is %g kVA\n',S)
//Accurate Answers, No rounding off.
|
84575c53ca7c3e8d3cafb0b8eba79e3eeea17b7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.13/Ex4_13.sce | 477bad052adba2569591ab1c15a8b2ae0f072281 | [] | 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,199 | sce | Ex4_13.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.13
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
N1 = 1200; // Rotation speed of the Separately excited Generator in RPM at case (1)
Ia1 = 100; // Current supplied by the Generator in Amphere
V1 = 220; // Opearting Volatge of the Generator in Volts
Ra = 0.08; // Armature Resistance in Ohms
N2 = 1000; // Rotation speed of the Separately excited Generator in RPM at case (2)
Vb = 2.0; // Total Brush drop in Volts
// CALCULATIONS
RL = V1/Ia1; // Load resistance in Ohms
E1 = V1 + Vb + (Ra * Ia1); // Back EMF at case (1) in Volts
E2 = (N2/N1)*E1; // Back EMF at case (2) in Volts (Excitation is Constant)
Ia2 = (E2 - Vb)/(RL + Ra); // New load current in Amphere for case (2)
// DISPLAY RESULTS
disp("EXAMPLE : 4.13 : SOLUTION :-") ;
printf("\n (a) New load current at %.f RPM , Ia2 = %.2f A \n",N2,Ia2);
|
8306d7e867cf972dbcb07bcec1ac48513149a228 | c24cd96bca21333277c6352adb7360336fb00d23 | /GRADDESCENT.sce | e9f60a2bbdf03be5870daa3929b5fdc25c9c2c61 | [] | no_license | ThiagoMoraes-UERJ/Metodos-de-Otmizacao | c8c2e994cf583a2439c1c16c2d15e01ea9f6c557 | 4c458d1c4c9ab4bb39479b079a31391699926815 | refs/heads/master | 2020-05-07T11:42:18.867938 | 2019-04-10T01:00:31 | 2019-04-10T01:00:31 | 180,472,518 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,116 | sce | GRADDESCENT.sce | //para lambda newton--------------------------------------
function z = f(y)
z = (y-2)^(4)-(y-2*y)^2;
endfunction
function t =f1(y)
h=0.01;
t = (f(y-h) - f(y))/h;
endfunction
function p =f2(y)
h=0.01;
p = (2*f(y-h) - f(y))/h;
endfunction
//------------------------------------------------------
//gradiente---------------------------------------------
function y = GradF(x1,x2)
t1 = 4*(x1-2)^(3) - 2*(x1 - 2*x2);
t2 = -2*(x1-2*x2);
y = [-t1,-t2];
endfunction
//------------------------------------------------------
//Lambda------------------------------------------------
function z = Lamb(x0,y,dk)
x = x0+y*dk;
contador = 0;
while (contator ~= 10)
b = b - (f1(x)/f2(x));
contador = contador +1;
end
endfunction
//-------------------------------------------------------
function q = desc(x1,x2,x0,y,dk,y1,y2)
m = [x1,x2];
contador = 0;
while (contador =~3)
pont = m + lamb(x0,y,dk)*Gradf(y1,y2);
m = pont;
contador = contador+1;
end
q = pont;
endfunction
|
248e291abdef9d08aa9ba85983d56acf815cb8ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH5/EX5.2/2.sce | 942124144029c3e267da39f4b7d4d006b12eaf8f | [] | 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 | 327 | sce | 2.sce | clc
clear
//INPUT DATA
w=1.55*10^-6//wavelength of light emission in m
h=6.625*10^-34// Planck's constant in m^2 Kg/sec
c=3*10^8//velocity of light in m/s
e=1.6*10^-19//charge of electron in coulombs
//CALCULATION
Eg=(h*c)/(w*e)//band gap in eV
//OUTPUT
printf('The band gap for lnp laser diode is %3.4f eV',Eg)
|
2fc518c717d638addb7b54575ee3fda6811e1365 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Evlptablepers.sci | 15ddd0a855892519fdec4fa01e0d93b112556d27 | [] | 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 | 2,136 | sci | Evlptablepers.sci | // 08.09.21
// 13.11.01 ( __ added to varibles )
function [Zval__,Xval__,Yval__]=Evlptablepers(MS__)
Nargs__=Mixlength(MS__);
Eps__=10^(-3);
Tmp__=Mixop(1,MS__);
FdL__=Fullformfunc(Tmp__);
Mdv__=50;
Ndv__=50;
if Nargs__>=2
Tmp__=Mixop(2,MS__);
if Mixtype(Tmp__)~=1 Tmp__=Mixop(1,Tmp__); end;
if length(Tmp__)>1
Mdv__=Tmp__(1,1);
Ndv__=Tmp__(1,2);
else
Mdv__=Tmp__
if Nargs__==2
Ndv__=Mdv__
else
Tmp__1=Mixop(3,MS__);
if type(Tmp__1)==1 & length(Tmp__1)==1
Ndv__=Tmp__1;
else
Ndv__=Mdv__;
end
end
end
end;
Tmp__=Mixop(5,FdL__);
K__=mtlb_findstr(Tmp__,'=');
Uname__=part(Tmp__,1:K__-1);
Urange__=evstr(part(Tmp__,K__+1:length(Tmp__)));
Tmp__=Mixop(6,FdL__);
K__=mtlb_findstr(Tmp__,'=');
Vname__=part(Tmp__,1:K__-1);
Vrange__=evstr(part(Tmp__,K__+1:length(Tmp__)));
U1__=Urange__(1); U2__=Urange__(2);
V1__=Vrange__(1); V2__=Vrange__(2);
Du__=(U2__-U1__)/(Mdv__-1);
Dv__=(V2__-V1__)/(Ndv__-1);
Xyzstr__=[Mixop(2,FdL__),Mixop(3,FdL__),Mixop(4,FdL__)];
I__=1;
Zval__=[];
for v__=V1__:Dv__:V2__
v__1=v__-Eps__/2; v__2=v__+Eps__/2;
ZuL__=[];
for u__=U1__:Du__:U2__;
u__1=u__-Eps__/2; u__2=u__+Eps__/2;
Tmp__v=strsubst(Xyzstr__,Vname__,'v__');
Tmp__=strsubst(Tmp__v,Uname__,'u__1');
P1__=evstr(Tmp__);
Tmp__=strsubst(Tmp__v,Uname__,'u__2');
P2__=evstr(Tmp__);
Tmp__1=Perspt(P1__);
Tmp__2=Perspt(P2__);
Dxu__=(Tmp__2(1)-Tmp__1(1))/Eps__;
Dyu__=(Tmp__2(2)-Tmp__1(2))/Eps__;
u__1=u__-Eps__/2; u__2=u__+Eps__/2;
Tmp__u=strsubst(Xyzstr__,Uname__,'u__');
Tmp__=strsubst(Tmp__u,Vname__,'v__1');
P1__=evstr(Tmp__);
Tmp__=strsubst(Tmp__u,Vname__,'v__2');
P2__=evstr(Tmp__);
Tmp__1=Perspt(P1__);
Tmp__2=Perspt(P2__);
Dxv__=(Tmp__2(1)-Tmp__1(1))/Eps__;
Dyv__=(Tmp__2(2)-Tmp__1(2))/Eps__;
Tmp__=Dxu__*Dyv__-Dxv__*Dyu__;
ZuL__=[ZuL__,Tmp__];
end;
Zval__=[Zval__;ZuL__];
end;
Yval__=V1__:Dv__:V2__;
Xval__=U1__:Du__:U2__;
endfunction;
|
8680795a0b4c57d7e294bd4a8c7d8655ad428a73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.58/ex1_58.sce | 513537227960b4c6ddd4bbdbdecbe3e987d1aec0 | [] | 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 | 342 | sce | ex1_58.sce | //Exa:1.58
clc;
clear;
close;
T_1=240;//in N_m
T_2=140;//in N-m
T_3=300;//in N-m
T_4=200;//in N-m
t_1=20;//in minutes
t_2=10;//in minutes
t_3=10;//in minutes
t_4=20;//in minutes
T=sqrt(((t_1*T_1^2)+(t_2*T_2^2)+(t_3*T_3^2)+(t_4*T_4^2))/(t_1+t_2+t_3+t_4));
N=720;//in rpm
P=T*2*%pi*N/60;
disp(P,'Power rating of Motor(in KWs)='); |
b24a881cccd528d54ec9a02cc44d51b74d87f3e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH10/EX10.13.1/10_13_1.sce | 37a6b2a10a38a50161922ee2440b132e3cdf6c60 | [] | 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 | 375 | sce | 10_13_1.sce | clc;
//page no 349
//problem no 10.13.1
del_phi_d=12;f_min=100;del_f_max_allow=15000;
del_phi_rad=(12*%pi)/180;
del_f_max=del_phi_rad*f_min;
//Determination of freq deviation
N=del_f_max_allow/del_f_max;
l=del_f_max*729;//using six tripler
f=0.1*729;
//Determination of signal oscillator signal
fo=152-f;
disp('MHz',fo,'fo is best obtained by using two tripler'); |
ea61cee64a7f1c24f2873fe183af89c0dc16a873 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20170217_sr_ni_1o/wta_sr_in.sce | 7779512b33938f698aec230cb070d622599d6461 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | wta_sr_in.sce | clk_sr = [0 1 0 0 0 0 0 0 0 1 0 0 0 0 0];
data_sr = [1 1 0 0 0 0 0 0 0 0 0 0 0 0 0];
wta_in=[
2.1 2.1 2.1 1.5 1.5 1.5 1.5 2.1 2.1 2.1 2.1 1.5 1.5 1.5 1.5;
1.5 1.5 1.5 2.1 2.1 2.1 2.1 1.5 1.5 1.5 1.5 2.1 2.1 2.1 2.1;];
|
3453c7cf899dedbfce1ca0f901b93f48646ff8a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.6/Chapter1_Example6.sce | 59a11894e2aeb1b1069e25cf2e5dc7ae403d71ad | [] | 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 | 684 | sce | Chapter1_Example6.sce | //Chapter-1, Example 1.6, Page 1.18
//=============================================================================
clc
clear
//INPUT DATA
P=4;//Number of poles
Z=400;//Number of conductors
q=0.03;//Flux per pole in Wb
Eg=250;//Generated emf in V
A1=4;//Number of parallel paths in lap wound
A2=2;//Number of parallel paths in wave wound
//CALCULATIONS
N1=(60*Eg*A1)/(q*Z*P);//Speed reqired in lap wound in rpm
N2=(60*Eg*A2)/(q*Z*P);//Speed reqired in wave wound in rpm
//OUTPUT
mprintf('Speed reqired in lap wound is %3.0f rpm \nSpeed reqired in wave wound is %3.0f rpm',N1,N2)
//=================================END OF PROGRAM==============================
|
4523ad4f38d929b050f4f929657526eae4757038 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/codegen/FlexCodeGen_.sci | fed3a5ea6bb30754366e63816fb473f35f2ccb4f | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,625 | sci | FlexCodeGen_.sci | //** INRIA / SCILAB / Roberto Bucher / Simone Mannori / Paolo Gai
//** 16 Jan 2008
//**
// Modified by Roberto Bucher roberto.bucher@supsi.ch from the original
// CodeGeneration_.sci
//
// Input editor function of Scicos code generator
//
//
//** 10 Set 2007 : cleaner startup code by Simone Mannori
function FlexCodeGen_()
//** ------------- Preliminary I/O section ___________________________________________________________________________
k = [] ; //** index of the CodeGen source superbloc candidate
xc = %pt(1); //** last valid click position
yc = %pt(2);
%pt = [] ;
Cmenu = [] ;
k = getobj(scs_m,[xc;yc]) ; //** look for a block
//** check if we have clicked near an object
if k==[] then
return
//** check if we have clicked near a block
elseif typeof(scs_m.objs(k))<>"Block" then
return
end
//** If the clicked/selected block is really a superblock
//** <k>
if scs_m.objs(k).model.sim(1)=="super" then
XX = scs_m.objs(k); //** isolate the super block to use
//----------------------------------------------------> THE REAL CODE GEN IS HERE --------------------------------
//** the real code generator is here
[ok, XX, alreadyran, flgcdgen, szclkINTemp, freof] = do_compile_superblock42(XX, scs_m, k, alreadyran);
//**quick fix for sblock that contains scope
gh_curwin = scf(curwin)
else
//** the clicked/selected block is NOT a superblock
message("Generation Code only work for a Super Block ! ")
end
endfunction
|
b0ee2f852db6c2d885e076c6ffdcacad7f54ae50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.35/ex5_35.sce | 66f08c0150f18566d46b668d5f5b7af38e3e9898 | [] | 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 | ex5_35.sce | //Chapter-5, Example 5.35, Page 198
//=============================================================================
clc
clear
//INPUT DATA
Q=250;//quality factor
fr=1.5*10^6;//resonant freq in hertz
//CALCULATIONS
Bw=(fr)/(Q);//bandwidth in Hz
hf1=fr+Bw;//half power freq 1
hf2=fr-Bw;//half power freq 2
mprintf("Thus bandwidth is %d hz\n",Bw);
mprintf("Thus value of half-power frequencies are %g hz and %g hz",hf1,hf2);
//=================================END OF PROGRAM======================================================================================================
|
86c987535137400d88540b809a400ab7ec291196 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH5/EX5.6/5_6.sce | ba109ac32792d6efd9166ac07bfc6b6dc72c2a82 | [] | 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 | 379 | sce | 5_6.sce | clc;
//page no 193
//prob no. 5.6
//Refer fig. 5.13
//Filter method SSB generator
fc=5*10^6;//filter centre freq.
BW=3*10^3;//Filter bandwidth
foc=4.9985*10^6;//carrier oscillator freq.
disp('a)The USB will be passed');//Since carrier freq is at low end of passband
disp('b)The carrier freq should be moved to the high end of filter at 5.0015MHz');//To generate the LSB |
14cf799a7dd39cbfd840e82855b2889b2df2d431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.16/example1_16.sce | 28179fe08354d1bef6f24f01186edd19cfd97cf0 | [] | 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 | 618 | sce | example1_16.sce | clc
// Given That
a = 0.45 // distance between slit and bi prism in meter
b = 0.45 // distance between screen and bi prism in meter
alpha = %pi / 180 // angle of bi prism in radian
Mu = 1.5 // refractive index of bi prism
fringe_width = 1.56e-4 // fringe width in meter
// Sample Problem 16 on page no. 1.45
printf("\n # PROBLEM 16 # \n")
D = a + b // calculation for distance between screen and slit
lambda = (fringe_width * 2 * a * (Mu - 1) * alpha) / D // calculation for wavelength
printf("\n Standard formula used \n lambda = (2a*(mu-1)*alpha*beta)/D. \n")
printf("\n Wavelength of light = %f A.", lambda*1e10)
|
84f19556b436c95b805e0302365f6e9a47eba02f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.5/Ex3_5.sce | 67ec7ac18d0c14396dd9895dab72b21e1665923d | [] | 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 | 342 | sce | Ex3_5.sce | //Ex 3.5
clc;clear;close;
format('v',5);
fo=2;//kHz
Ap=10;//Band pass gain
C=0.1;//micro F(have to choose C, 0.01<C<1)
R2=1/(2*%pi*fo*10^3*C*10^-6);//ohm
R1=R2/Ap;//ohm
disp("Design values are :");
disp(C,"Capacitance(micro F)");
disp(R1,"Resistance R1(ohm)");
disp(R2/1000,"Resistance R2(kohm)");
//Answer in the book is wrong.
|
626b92a174a6510101b8b70de662a649c83e44a3 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH2/EX2.10/Ch02Ex10.sce | ed48e62c8f898dfd6481636646534aa2ecab6309 | [] | 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 | 838 | sce | Ch02Ex10.sce | // Scilab code Ex2.10: Pg.86 (2008)
clc; clear;
// For simplicity let c = 1, i.e
c = 1; // Velocity of light, m/s
E = 2.40; // Total energy of electron, MeV
E_r = 0.511; // Rest energy of electron, MeV
// Since E^2 = (p*c)^2 + (m*c^2)^2, solving for p, we get
p_e = sqrt(E^2 - (E_r^2)); // Momentum of electron in laboratory frame, MeV/c
// Since 1 Mev/c = 5.34e-22 kg-m/s, so we get
p = p_e*5.34e-22; // Momentum of electron in laboratory frame, kg-m/s
u = p_e*c/E; // Speed of electron in labortary frame, m/s
printf("\nThe momentum of electron in laboratory frame = %4.2e kg-m/s", p);
printf("\nThe speed of electron in laboratory frame = %5.3fc unit", u);
// Result
// The momentum of electron in laboratory frame = 1.25e-021 kg-m/s
// The speed of electron in laboratory frame = 0.977c unit |
20d52ef9d72345f9237b4b5b5888ce5a1a839bb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH2/EX2.11/Ex2_11.sce | 971843a09b66b67b5319b367604c99ab9eaf9c6f | [] | 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 | 424 | sce | Ex2_11.sce | //example-2.11
//page no-59
//given
//dipole moment og HF is
DM=6.375*10^(-30) //Cm
//intermolecular distance
r=0.9178*10^(-10) //m
//charge on an electron
e=1.67*10^(-19) //C
//since the HF posses ionic characters
//so
//Hf in fully ionic state has dipole moment as
DM2=r*e //Cm
//percentage ionic characters
percentage=DM/DM2*100 //%
printf ("the percentage ionic character is %f approx.",percentage)
|
ee500c4c273317e859b9bcf0a8cacd4396ae7b47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.38/ch7_ex_38.sce | a9988b934dd20297c75c84dc12689f48bb74171e | [] | 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 | 843 | sce | ch7_ex_38.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 38
disp("CHAPTER 7");
disp("EXAMPLE 38");
//VARIABLE INITIALIZATION
v1=220; //primary voltage in Volts
v2=115; //secondary voltage in Volts
f1=25;
f2=50;
//loads
V=440
We1=100; //in Watts at 220 V, eddy losses
Pc1=2*We1; //Total iron losses which equals We+Wh due to eddy and hysteresis
Wh1=Pc1-We1;
//
//SOLUTION
//since we know that We=kh.f.B^1.6 and Wh=Ke.Kf^2.f^2.B^2
//since all being constant exept frequency, we may take We2/We1=f2^2/f1^2
//and Wh2/Wh1=f2/f1
//find values for We2 and Wh2, whence Pc2=We2+Wh2
We2=f2^2*We1/f1^2;
Wh2=f2*Wh1/f1;
Pc2=We2+Wh2;
disp(sprintf("The total no load losses at 400 V is %f W",Pc2));
disp(" ");
//
//END
|
c3ba32affe1a3213563e52d816ade5448e814249 | 06a62d768e69fd9dda11b30011c252807e301813 | /pgm14.sci | 04e5733598402330be631d14de722603722b5e81 | [] | 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 | 90 | sci | pgm14.sci | function [y] = pgm14(x)
// y = 5;
y = x^2.5 - 23*x^1.5 - 50 * x + 1150;
endfunction
|
8931e0979f5c0cb5ff1f17f6e54b28aa8034f54d | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.16/2_16.sce | 71064d322116328e046ce8c9246529662a5c3db9 | [] | 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 | 125 | sce | 2_16.sce | //Converting current sources to voltage sources
// O=[i1;i2;vx]
A=[10,-3,4;-3,7,0;3,-3,-1]
O=inv(A)*[16;-6;0]
disp(O) |
2d6e19008aab32a19cf472caab6fac168430122e | e6a63078440cacd0432c1facf28dfd3594e73c60 | /L3q1.sce | a9e5bb5340ff9acc30e7d24d314dda65cd77fc95 | [] | no_license | ruhi2001/324_lab3_codes | 4a18034081569c14b50a94546c024a59399261d8 | 92788832e5190ccbfb695fd947be70711142c323 | refs/heads/main | 2023-02-24T18:34:57.341577 | 2021-01-30T19:42:47 | 2021-01-30T19:42:47 | 334,496,667 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | L3q1.sce | s = poly(0,"s")
//part a
for a = -1:0.01:1
G = (s+5+a)/(s^2 + 11*s + 30)
sys = syslin("c",G)
t = 0:0.01:5
y = csim("step",t,sys)
plot2d(t,y)
end
//when a=0
s = poly(0,"s")
G1 = (s+5)/(s^2 + 11*s + 30)
H1 = simp(G1)
sys1 = syslin("c",H1)
t = 0:0.01:5
y1 = csim("step",t,sys1)
plot2d(t,y1)
//part b
s=poly(0,"s")
G2 = syslin("c",(1/(s^2 - s -6)))
t=0:0.01:10
plot2d(t,csim("step",t,G2))
//new transfer function
s=poly(0,"s")
G3 = syslin("c",1/(s+2))
t=0:0.01:10
plot2d(t,csim("step",t,G3))
//when we shift the zero
s = poly(0,"s")
for a = -3:0.1:4
G4 = syslin("c",(s-3-a)/(s^2 - s -6 ))
t = 0:0.01:5
plot2d(t,csim("step",t,G4))
end
|
ad6fb7b84246655bb5bc63f94c238916feb43ec3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH3/EX3.3/ex3_3.sce | 02a8f710c5cc214619da1cad112737b9c05e0cdc | [] | 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 | 681 | sce | ex3_3.sce | //Example 3.3
clc;
Rm=500; //Internal resistance
Im=10*10^-3; //Full Scale deflection current
//Case I: For Range 0-1 A
I1=1; //Total current
Rsh1=Im*Rm/(I1-Im); //Shunt resistance
printf('\nValue of Shunt resistance for range 0-1 A = %.2f ohm\n',Rsh1)
//Case II: For Range 0-5 A
I2=5; //Total current
Rsh2=Im*Rm/(I2-Im); //Shunt resistance
printf('\nValue of Shunt resistance for range 0-5 A = %.3f ohm\n',Rsh2)
//Case III: For Range 0-10 A
I3=10; //Total current
Rsh3=Im*Rm/(I3-Im); //Shunt resistance
printf('\nValue of Shunt resistance for range 0-10 A = %.3f ohm\n',Rsh3) |
1626d38d02b80de4c266225c4f0f6634a1c5ebe5 | 99e5810ad838c385c38e818ed59ad43b7f93fb67 | /test_voltage.sce | dfe1eeb5d8680aa742b36a6e70cc356139fe7903 | [] | no_license | csr-trainees-2019/scilab | c89e15ded8f4cd31321ec3fdfe759e2293625345 | f9c8bbc07da38b98b18961888dcb3dfcbabb8cb2 | refs/heads/master | 2020-04-21T13:30:05.031096 | 2019-02-16T10:40:56 | 2019-02-16T10:40:56 | 169,600,658 | 0 | 1 | null | 2019-02-16T10:39:01 | 2019-02-07T16:13:17 | Scilab | UTF-8 | Scilab | false | false | 742 | sce | test_voltage.sce | data = read("D:\AAAULTIMATELABA3\data\kf\log3.txt",-1,3); //чтение эксперимента
function e = G(a,z), //функция для расчета амплитуды напряжения и частоты синусоиды МНК
e = z(2) - (a(1) * sin(a(2)* z(3)));
endfunction
a0 = [1; 1];
amin = [1; 1];
amax = [10; 10]
//[aa, error1] = datafit(G, data','b', amin, amax, a0) // расчет амплитуды напряжения и частоты синусоиды
aa=[8.0538396/4 ; 1]
//проверка аппроксимации построением графика
disp(aa)
t(:,1) = 0:0.01:20
t(:,2) = aa(1) * sin(aa(2) * t(:,1))
plot(data(:,3), data(:,2))
plot(t(:,1), t(:,2), "r-.")
|
1c85dafa4fb67578dd784576f064f8533cfae907 | 14f70bf0434ef1ebb3565a343b34c7317fbc85ac | /test_zaokraglanie_do_elementow_wektora.sce | 2f0e457ab08c2b5ade4cc47cc440a3278eb1031b | [] | no_license | tyllukasz/PSO-structural-optimizations | 042d409bb45a0d6c18efc84ff66939705aa41ac5 | 9f2166eb907725555aeffa28f91eb620fee8fc78 | refs/heads/master | 2023-07-10T09:58:00.895902 | 2021-08-23T17:05:09 | 2021-08-23T17:05:09 | 382,402,067 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | test_zaokraglanie_do_elementow_wektora.sce | //Test - zaokraglanie wartosci do elemntu z wektora dopuszczalnych wartosci
//kryterium - zaokraglenie bedzie nastepowalo do tego elementu, dla ktorego roznica miedzy obliczonym x a elementem jest najmniejsza
clear
x=144;
dop_x=[1,2,3,4,5,6,7,8,9,11,15,22,34,45,57,71,92,113,150,220];
dim_dop_x=size(dop_x);
dim_dop_x=dim_dop_x(1,2);
for i=1:dim_dop_x
delta(i)=abs(x-dop_x(i));
end
[xmin imin]=min(delta);
x=dop_x(imin);
|
b38c2a8369255e099cf40afde9cd210ebaf0410a | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 5/listing515.sce | d8fdbd5f5309f9075a0e86fa3a3aad86080919fc | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 70 | sce | listing515.sce | clc
clear
exec fn2.sci
[y1,y2,y3]=fn2(7,9)
disp(y1)
disp(y2)
disp(y3)
|
f5ebe601f82e7b59d93dd7f62e325524f9c7122a | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH10/EX10.2/sadiku_10_2.sce | fe47ad353a1d781f98715c33e5b156c99ece65ec | [] | 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 | 303 | sce | sadiku_10_2.sce | clear;
clc;
Ho=10,n=200*%e^(%i*%pi/6),P=atan(3^.5),b=.5,e=10^-9 /(36*%pi);
Eo=n*Ho;
disp('a=w*sqrt(u*e/2*(1+(c/(w*e)^2)^.5)-1)');
disp('b=w*sqrt(u*e/2*(1+(c/(w*e)^2)^.5)+1)');
a=b*((sqrt(((1+(tan(P))^2)^.5)-1))/(sqrt(((1+(tan(P))^2)^.5)+1)));
disp(a,'Value of alpha=');
disp(1/a,'Skin depth = ') |
3805d959b23eef2dd16a07f247bf33a505977eca | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH3/EX3.2/3_2.sce | e0078814fa7f8d630e2b0cffb88f8faa806f85fc | [] | 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,209 | sce | 3_2.sce | // example:-3.2,page no.-87.
// program to find out load impedence.
clc
clear
// function for smith chart for finding load impedence when reflection coefficient is given.
function[]=smith_chart(tao)
theta=0:0.1:2*%pi;
for r=0:0.1:10
x=(1/(1+r))*cos(theta)+(r/(1+r));
y=(1/(1+r))*sin(theta);
plot2d(x,y,style=2,rect=[-2,-2,2,2])
end
for X=-2:0.1:2
if X==0
X=0.01;
end
x=1+(1/X)*cos(theta);
y=(1/X)*sin(theta)+(1/X);
plot2d(x,y,style=3,rect=[-2,-2,2,2])
xgrid(2)
xtitle("smith chart","Tao_Real","Tao_Imaginary")
end
x=abs(tao)*cos(theta);
y=abs(tao)*sin(theta);
plot2d(x,y,style=5,rect=[-2,-2,2,2])
theta=-%pi/2:0.1:%pi/2;
x=abs(tao)*cos(theta);
[r angle]=polar(tao);
tao=[r angle]
y=x*tan(tao(1,2));
plot2d(x,y,style=5,rect=[-2,-2,2,2])
endfunction
Zo=100; // characteristic impedence.
tao=0.560+0.215*%i; // reflection coefficient.
z=(1+tao)/(1-tao); // normalized impedence(normalized w.r.t Zo)
Zl=z*Zo;
// result
disp(Zl,'load impedence = ')
// by smith chart.
smith_chart(tao)
// when analyse with the help of smith chart.see the angle from x=0 axis i.e Tao_real axis.if it is above this axis take angle anticlockwise and if it is below this axis.take angle clockwise from Tao_real axis below. |
01feb4af7c7d7271b5b9ef7f451a656625936e1a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.15_2.tst | f1c95a419afa7f691bf151ed622a532234237f7c | [] | 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 | 4,228 | tst | bow.15_2.tst | 15 3:1.0 9:1.0 11:1.0 16:0.05970149253731343 23:0.2857142857142857 64:2.0 77:1.0 79:1.0 291:2.0 483:1.0 1323:1.0
15 6:1.0 9:1.0 12:0.037037037037037035 125:1.0 200:1.0 243:0.5 343:1.0 394:0.25 802:1.0 912:1.0 970:1.0
15 1:0.07142857142857142 3:4.0 6:1.0 9:3.0 12:0.037037037037037035 13:1.0 14:0.3333333333333333 31:1.0 50:0.2222222222222222 67:1.0 70:0.2 84:0.25 116:2.0 120:0.2222222222222222 126:0.5 129:1.0 148:1.0 269:0.5 273:1.0 291:2.0 343:1.0 669:4.0 912:1.0 946:1.0 970:1.0 1228:1.0
15 9:1.0 67:1.0
15 1:0.07142857142857142 27:0.25 82:1.0 121:1.0 125:1.0 126:0.5 269:0.5 272:1.0
15 92:1.0 95:1.0 120:0.1111111111111111 243:0.5 499:1.0 541:1.0 854:1.0 1056:0.5 1229:1.0
15 120:0.1111111111111111 168:1.0 175:1.0 292:1.0 327:1.0 665:1.0 1056:1.0
15 3:2.0 6:1.0 12:0.037037037037037035 30:1.0 50:0.1111111111111111 54:0.3333333333333333 61:1.0 82:1.0 95:0.5 152:0.3333333333333333 250:1.0 262:0.25 416:1.0 551:1.0 766:1.0
15 3:1.0 28:1.0 273:1.0 289:1.0
15 3:1.0 9:1.0 32:1.0 81:0.3333333333333333 289:1.0 578:1.0
15 32:1.0 81:0.3333333333333333
15 14:0.1111111111111111 50:0.1111111111111111 62:1.0 124:1.0 1312:1.0
15 9:1.0 12:0.07407407407407407 14:0.3333333333333333 18:0.3333333333333333 41:0.2 50:0.1111111111111111 81:0.6666666666666666 87:1.0 91:1.0 101:1.0 120:0.1111111111111111 175:1.0 273:1.0 343:2.0 403:1.0 970:1.0 980:1.0 1171:1.0
15 27:0.25 28:1.0 87:1.0 273:1.0
15 12:0.037037037037037035 14:0.1111111111111111 27:0.25 50:0.1111111111111111 81:0.3333333333333333 87:1.0 269:0.5 541:1.0
15 16:0.014925373134328358 264:1.0 889:0.5
15 3:1.0 9:2.0 13:1.0 14:0.1111111111111111 16:0.07462686567164178 23:0.42857142857142855 31:2.0 45:1.0 49:1.0 50:0.3333333333333333 64:1.0 72:1.0 76:1.0 81:0.3333333333333333 89:0.5 122:1.0 125:2.0 132:2.0 148:1.0 172:0.3333333333333333 266:1.0 291:1.0 394:0.25 441:1.0 669:1.0 970:2.0 1228:2.0 1287:1.0
15 15:1.0 16:0.029850746268656716 41:0.2 47:1.0 49:1.0 50:0.1111111111111111 52:0.3333333333333333 120:0.1111111111111111 154:0.25 198:1.0 349:0.25 572:1.0
15 3:1.0 15:1.0 16:0.029850746268656716 41:0.2 47:1.0 50:0.1111111111111111 172:0.3333333333333333 291:1.0 468:1.0 553:1.0
15 1:0.07142857142857142 3:2.0 9:1.0 12:0.037037037037037035 16:0.04477611940298507 18:0.3333333333333333 20:1.0 52:0.3333333333333333 54:0.3333333333333333 64:1.0 70:0.2 91:1.0 116:1.0 120:0.1111111111111111 126:0.5 129:1.0 240:1.0 344:1.0 645:1.0 1217:1.0
15 70:0.2 132:1.0 269:0.5 325:1.0 394:0.25 1072:1.0 1172:1.0
15 6:1.0 14:0.2222222222222222 15:1.0 41:0.2 81:0.3333333333333333 120:0.1111111111111111 437:0.3333333333333333 468:1.0 970:1.0 1052:1.0
15 3:1.0 6:1.0 14:0.1111111111111111 41:0.2 49:1.0 50:0.1111111111111111 64:1.0 120:0.1111111111111111 283:1.0 291:1.0 736:1.0
15 3:1.0 16:0.014925373134328358 27:0.25 91:1.0 170:0.5 266:1.0 636:1.0
15 3:1.0 12:0.037037037037037035 70:0.2 79:1.0 120:0.1111111111111111 273:1.0 905:1.0
15 6:1.0 9:1.0 14:0.1111111111111111 31:1.0 41:0.2 50:0.1111111111111111 264:1.0
15 12:0.037037037037037035 120:0.1111111111111111 948:1.0
15 3:1.0 12:0.07407407407407407 16:0.014925373134328358 23:0.14285714285714285 50:0.2222222222222222 81:0.3333333333333333 108:1.0 194:1.0 225:1.0 465:1.0 735:1.0 745:1.0 772:1.0 850:1.0 880:1.0 1021:1.0
15 1073:1.0
15 3:1.0 27:0.5 61:0.5 120:0.1111111111111111 551:1.0 1219:1.0 1379:1.0
15 1:0.07142857142857142 9:1.0 27:0.5 50:0.1111111111111111 61:1.0 62:1.0 81:0.3333333333333333 91:1.0 114:0.2 125:2.0 262:0.25 291:1.0 349:0.25 475:1.0 485:1.0 499:1.0 735:1.0 797:1.0 1079:1.0 1199:1.0 1249:1.0
15 6:1.0 12:0.037037037037037035 16:0.014925373134328358 50:0.1111111111111111 108:1.0 493:0.5 1085:1.0 1228:1.0
15 1:0.07142857142857142 9:1.0 12:0.037037037037037035 71:1.0 125:2.0 272:1.0 485:1.0
15 16:0.014925373134328358 50:0.1111111111111111 120:0.1111111111111111 343:1.0 349:0.5 853:1.0
15 3:1.0 23:0.14285714285714285 44:1.0 52:0.3333333333333333 74:1.0 114:0.4 125:1.0 198:1.0 306:1.0 381:1.0 493:0.5 507:1.0
15 108:1.0 120:0.1111111111111111 165:1.0 170:0.5 343:1.0 739:1.0
15 3:3.0 50:0.2222222222222222 126:0.5 343:1.0 507:1.0 723:1.0 739:1.0 740:1.0 880:1.0
15 71:1.0 77:1.0 155:1.0 168:1.0 194:2.0 949:1.0 1312:1.0 1323:1.0
15 70:0.2 71:1.0 91:1.0 120:0.2222222222222222 250:1.0 729:1.0 1131:1.0
|
27aa1439186f8282dd79e88d09bc8015b2053154 | 743902c2406b7976cc824458091bd276b916d47c | /test/ACATS/BD/BD8004B.TST | f2615e2c65f05a226fefcd965aaa70543e498682 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | OneWingedShark/Byron | f220d419bbe938ed9df588e0a1073f74bbcc03a2 | 18305e400be9a31d1b1e55a6da4d984c6a8926df | refs/heads/master | 2020-12-24T16:33:29.242045 | 2020-05-16T23:29:29 | 2020-05-16T23:29:29 | 41,644,524 | 55 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,388 | tst | BD8004B.TST | -- BD8004B.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- OBJECTIVE:
-- IF A PROCEDURE CONTAINS MACHINE CODE STATEMENTS, THEN NO
-- EXCEPTION HANDLER IS ALLOWED.
-- APPLICABILITY CRITERIA:
-- THIS TEST IS APPLICABLE ONLY TO IMPLEMENTATIONS THAT SUPPORT THE
-- MACHINE CODE STATEMENTS. IF SUCH STATEMENTS ARE NOT SUPPORTED,
-- THE "WITH" CLAUSE MUST BE REJECTED.
-- MACRO SUBSTITUTION:
-- THE MACRO MACHINE_CODE_STATEMENT IS A VALID MACHINE CODE
-- STATEMENT THAT IS DEFINED IN THE PACKAGE MACHINE_CODE. IF THE
-- IMPLEMENTATION DOES NOT SUPPORT MACHINE CODE THEN USE THE
-- ADA NULL STATEMENT (I.E. NULL; ).
-- HISTORY:
-- LDC 06/15/88 CREATED ORIGINAL TEST.
WITH MACHINE_CODE; -- N/A => ERROR.
USE MACHINE_CODE;
PROCEDURE BD8004B IS
BEGIN
$MACHINE_CODE_STATEMENT
EXCEPTION -- ERROR:
-- EXCEPTION NOT
-- ALLOWED WITH
-- MACHINE CODE.
WHEN OTHERS =>
NULL;
END BD8004B;
|
4e83cdd4326555aefb736663957f397a3b4bce71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH4/EX4.7/Ex4_7.sce | 6a7a69c6e8fa6d034a3e207aa0e5999f9d58d0a2 | [] | 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 | 222 | sce | Ex4_7.sce | clc
Nd=10**16 //cm^-3
Ne=2.8*10**19 //cm^-3
T=300 //K
//(nd/(n0+nd))=z=1/(1+(Ne/2*Nd)*exp(-(Ec-Ed)/kT))
//y=Ec-Ed
y=0.045
k=8.617*10^-5 //eV/K
z=1/(1+(Ne/(2*Nd))*exp(-y/(k*T)))
disp(z,"the donor states is=")
|
018ec126b67144e51cf507b0d663c373963c225a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.22/Ex22.sce | eba49c42db04a9bf4cdc470637dc9eb8f379ec4e | [] | 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 | 860 | sce | Ex22.sce | // Additional solved examples , Example 22 , pg 341
ni=1.5*10^10 //intrinsic concentration (in cm^-3)
Nd=5*10^15 //donor concentration (in atoms/cm^3)
T=300 //temperature (in K)
e=1.6*10^-19 //charge of electron (in C)
k=1.38*10^-23 //Boltzmann constant (in J/K)
n0=Nd //Assuming n0=Nd ( since Nd >> ni)
p0=ni^2/n0 //hole concentration
E=k*T*log(n0/ni) // E=(Ef-Ei) location of Ef relative to Ei
printf("Hole concentration (in cm^-3)")
disp(p0)
printf("Location of Ef relative to Ei (in eV)")
disp(E/e)
x = linspace(-5.5,5.5,51);
y = ones(length(x),1);
scf(2);
clf(2);
plot(x,y+0.1);
plot(x,y,'ro-');
plot(x,y-0.329,'--');
plot(x,y*0,'bs:');
xlabel(["x axis";"(independent variable)"]);
ylabel("Energy level (eV)");
title("Band diagram");
set(gca(),"data_bounds",matrix([-6,6,-0.1,1.1],2,-1)); |
8bcc9757df04f1488666009f96f543319ffb5873 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH9/EX9.8/ex9_8.sce | 5e214fb93bdd0895c08636957d0619f32cb9463f | [] | 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 | 273 | sce | ex9_8.sce | //Exa 9.8
clc;
clear;
close;
// Given data
h_sen = 417.4;// in kJ/kg
h_totaldry = 2675.4;// in kJ/kg
L = 2258;// in kJ/kg
v = 5;// in m^3
v_v = 4.95;// in m^3
x = v_v/v;
Q = h_totaldry -(h_sen +x*L);// in kJ/kg
disp(Q,"Heat transfered per kg in kJ/kg is : ");
|
290d043b03d879a4d832393acd54e948bd20f782 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%p_d_r.sci | bf4193db647d26b05ae493f8b89ca1ad753d9f09 | [
"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 | 112 | sci | %p_d_r.sci | function f=%p_d_r(n1,f2)
// n1./f2
//!
// Copyright INRIA
f=rlist(n1.*f2('den'),ones(n1).*f2('num'),f2('dt'))
|
785bfe01efad87ce7a877477ebf4532f36efb656 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.24/Ex8_24.sce | 784653b94e19d6417a32353ca8a3526cdf9f7607 | [] | 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 | 302 | sce | Ex8_24.sce | //Ex:8.24
clc;
clear;
close;
c=3*10^8;// speed of light in m/s
h=6.64*10^-34;// plank constant
Eg=1.43;// gap energy in eV
y=(1.24*10^-6)/Eg;// wavelength in m
dy=0.1*10^-9;// in m
df=(dy*c)/y^2;// width in Hz
printf("The wavelength =%f um", y*10^6);
printf("\n The width =%d GHz", df/10^9); |
964af8388a2675b581f70aa101e7de1333967131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.24/Ex2_24.sce | cc66f1557edab340b24c93abe00119fb5a0f70f4 | [] | 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 | Ex2_24.sce | clear
//
//
//
//Variable declaration
D=150 //slit screen distance(cm)
d=0.03 //separation(cm)
beta1=0.3 //fringe separation(cm)
//Calculation
lamda=d*beta1*10**8/D //wavelength of light(angstrom)
//Result
printf("\n wavelength of light is %0.0f angstrom",lamda)
|
be7585d78999854c6ca9a1e11ff65931ccc323a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH6/EX6.3/6_3.sce | 062c6fe237ff3e2fa4f327cff69a019b501a3c7d | [] | 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 | 114 | sce | 6_3.sce | clc;
clear;
format('e',11)
I=1;
d=1*10^-3;
A=(3.14*d^2/4);
J=I/A;
disp(J,"current density J(in A/m^2)=");
|
63e47bc5a5bc83e7f05ce70b012e6fa59252f7e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH4/EX4.15/4_15.sci | deefd5bc077ddb5ce95db38efea675932b8c27bd | [] | 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 | sci | 4_15.sci | // 4.15
clc;
Fd=7.5*165*10^3/100;
mf=5;
Bandwidth=Fd/mf;
printf("Bandwidth of intelligence =%.1f Hz ",Bandwidth)
Tr=0.35/Bandwidth*10^6;
printf("\nRise time=%.1f us ",Tr)
|
502e489ffab077799aa979c167fd8af19b4f87dd | 8a7110a7e31d403ceba55227c2c250df70db5c29 | /ZSI/ZSI.sce | 306b625ffe9e62211ca5f2d65062a6b96cca17b2 | [] | no_license | LukM88/ZSI | c7081957b93189f1923cbd7f26c4f3709ab7ce13 | e8c3f8442cb79d2d93a086e96f736316f7c4d73a | refs/heads/master | 2020-12-01T13:03:35.318427 | 2020-01-13T16:33:11 | 2020-01-13T16:33:11 | 230,635,403 | 0 | 0 | null | 2020-01-12T17:26:36 | 2019-12-28T16:37:25 | Scilab | UTF-8 | Scilab | false | false | 9,001 | sce | ZSI.sce | //----trzcionka 12
//----algorytm wstecznej propagacji bledu
clc;
clear;
adresy=["A.png","B.png","C.png","D.png","E.png","F.png","G.png","H.png","I.png","J.png",...
"K.png","L.png","M.png","N.png","O.png","P.png","R.png","S.png","T.png","U.png","W.png",...
"Y.png","Z.png","am.png","bm.png","cm.png","dm.png","em.png","fm.png","gm.png","hm.png",...
"im.png","jm.png","km.png","lm.png","mm.png","nm.png","om.png","pm.png","rm.png","sm.png",...
"tm.png","um.png","wm.png","ym.png","zm.png"]
w=9;
p=20;
wy=46;
znaki=zeros(15,15,wy);
for m=1:wy
znak=imread(adresy(m))/255;
a2=zeros(15,15);
for i=1:15//kolumny
for j=1:15//rzędy
a2(j,i)=znak(j,i);
znaki(j,i,m)=a2(j,i)
end
end
end
mat=zeros(9,wy);
mat2=zeros(wy,wy);
for n=1:wy
mat2(n,n)=1;
end
for j=1:wy
i=1;
for m=1:5:15
for n=1:5:15
for x=0:4
for y=0:4
if znaki(m+x,n+y,j)==0
mat(i,j)=mat(i,j)+1
end
end
end
mat(i,j)=mat(i,j)/25
i=i+1;
end
end
end
//DO TEJ PORY BYŁA OBRÓBKA TRENERÓW
//----wykreslenie obszaru klasyfikacji
Licz=0;
IleKrokow=80000;
//----utworzenie odpowiednich tablic na dane
W1= zeros(w,w+1);//wagi
W2=zeros(p,w+1);//wagi
W3=zeros(wy,p+1);//wagi
W1b=W1
W2b=W2
W3b=W3
W1c=W1b
W2c=W2b
W3c=W3b
//----losowa inicjalizacja wag poczatkowych
for n=1:w
for m=1:w+1
if(p>=n & w+1>=m )
W2(i)=rand()-0.5;
end
if(wy>=n & p+1>=m)
W3(n,m)=rand()-0.5;
end
W1(n,m)=rand()-0.5;
end
end
ro=0.3;
iteracja=0;
ER=zeros(IleKrokow);
while(iteracja<IleKrokow)
if iteracja>3
if ER(iteracja)>ER(iteracja-1)
if ro+0.05<1
ro=ro+0.05
elseif ro-0.05>0
ro=ro-0.05
end
end
end
S1=zeros(1,w);//sumy
S2=zeros(1,p);//sumy
S3=zeros(1,wy);//sumy
U1=zeros(1,w);//wartości F aktywacyjnej
U2=zeros(1,p);
U3=zeros(1,wy);
F1=zeros(1,w);
d1=zeros(1,w);//współczynnik zmiany wagi
F2=zeros(1,p);
d2=zeros(1,p);//współczynnik zmiany wagi
F3=zeros(1,wy);
d3=zeros(1,wy);//współczynnik zmiany wagi
iteracja=iteracja+1;
//----losowe wybieranie wektora trenujacego
i=round(rand()*(wy-1))+1;//numer od 1 do do wy bo musi być ilość liter
//----faza propagacji w przod -warstwa posrednia
for m=1:w
for n=1:w+1
if(n>1)
S1(m)=S1(m)+W1(m,n)*mat(n-1,i);
else
S1(m)=S1(m)+W1(m,n)*1;//bo stała 1 w każdym neuronie
end
end
U1(m)=1/(1+exp(-S1(m)));
end
//WARSTWA2
for m=1:p
for n=1:w+1
if(n>1)
S2(m)=S2(m)+W2(m,n)*U1(n-1);
else
S2(m)=S2(m)+W2(m,n)*1;//bo stała 1 w każdym neuronie
end
end
U2(m)=1/(1+exp(-S2(m)));
end
//WARSTWA3
for m=1:wy
for n=1:p+1
if(n>1)
S3(m)=S3(m)+W3(m,n)*U2(n-1);
else
S3(m)=S3(m)+W3(m,n)*1;//bo stała 1 w każdym neuronie
end
end
U3(m)=1/(1+exp(-S3(m)));
end
//----faza propagacji w przod -warstwa wyjsciowa
//----faza propagacji wstecz -warstwa wyjsciowa
for m=1:wy
F3(m)=U3(m)*(1-U3(m));
d3(m)=(mat2(i,m)-U3(m))*F3(m);
end
if(d3(i)== 0)
continue;
end
//----faza propagacji wstecz -warstwa posrednia
for m=1:p
F2(m)=U2(m)*(1-U2(m));
for n=1:wy
d2(m)=d2(m)+d3(n)*W3(n,m+1);
end
d2(m)=d2(m)*F2(m)
end
for m=1:w
F1(m)=U1(m)*(1-U1(m));
for n=1:p
d1(m)=d1(m)+d2(n)*W2(n,m+1);
end
d1(m)=d1(m)*F1(m)
end
//----uaktualnienie wag -warstwa wyjsciowa
W1b=W1
W2b=W2
W3b=W3
for n=1:wy
for m=1:p+1
if (m>1)
W3(n,m)=W3b(n,m)+0.3*(W3b(n,m)-W3c(n,m))+(ro*d3(n)*U2(m-1));
else
W3(n,m)=W3b(n,m)+0.3*(W3b(n,m)-W3c(n,m))+(ro*d3(n)*1);
end
end
end
for n=1:p
for m=1:w+1
if (m>1)
W2(n,m)=W2b(n,m)+0.3*(W2b(n,m)-W2c(n,m))+(ro*d2(n)*U1(m-1));
else
W2(n,m)=W2b(n,m)+0.3*(W2b(n,m)-W2c(n,m))+(ro*d2(n)*1);
end
end
end
for n=1:w
for m=1:w+1
if (m>1)
W1(n,m)=W1b(n,m)+0.3*(W1b(n,m)-W1c(n,m))+(ro*d1(n)*mat(m-1,i));
else
W1(n,m)=W1b(n,m)+0.3*(W1b(n,m)-W1c(n,m))+(ro*d1(n)*1);
end
end
end
W1c=W1b
W2c=W2b
W3c=W3b
if(modulo(iteracja,1000)==0)
disp(iteracja)
ER(iteracja)=mat2(i,i)-U3(i);
else
if iteracja<5
ER(iteracja)=mat2(i,i)-U3(i);
else
ER(iteracja)=ER(iteracja-1)
end
end
end
adresy=["test1.png","test2.png","test3.png","test4.png","E.png","F.png","G.png","H.png","I.png","J.png",...
"K.png","L.png","M.png","N.png","O.png","P.png","R.png","S.png","T.png","U.png","W.png",...
"Y.png","Z.png","am.png","bm.png","cm.png","dm.png","em.png","fm.png","gm.png","hm.png",...
"im.png","jm.png","km.png","lm.png","mm.png","nm.png","om.png","pm.png","rm.png","sm.png",...
"tm.png","um.png","wm.png","ym.png","zm.png"]
rozmiar=size(adresy)
znaki=zeros(15,15,rozmiar(2));
for m=1:wy
znak=imread(adresy(m))/255;
a2=zeros(15,15);
for i=1:15//kolumny
for j=1:15//rzędy
a2(j,i)=znak(j,i);
znaki(j,i,m)=a2(j,i)
end
end
end
mat=zeros(9,rozmiar(2));
mat2=zeros(rozmiar(2),rozmiar(2));
for n=1:rozmiar(2)
mat2(n,n)=1;
end
for j=1:rozmiar(2)
i=1;
for m=1:5:15
for n=1:5:15
for x=0:4
for y=0:4
if znaki(m+x,n+y,j)==0
mat(i,j)=mat(i,j)+1
end
end
end
mat(i,j)=mat(i,j)/25
i=i+1;
end
end
end
znaki=zeros(46,47);
znaki=string(znaki)
for m=2:47
znaki(m-1,m)="1"
end
znaki(1,1)="A";
znaki(2,1)="B";
znaki(3,1)="C";
znaki(4,1)="D";
znaki(5,1)="E";
znaki(6,1)="F";
znaki(7,1)="G";
znaki(8,1)="H";
znaki(9,1)="I";
znaki(10,1)="J";
znaki(11,1)="K";
znaki(12,1)="L";
znaki(13,1)="M";
znaki(14,1)="N";
znaki(15,1)="O";
znaki(16,1)="P";
znaki(17,1)="R";
znaki(18,1)="S";
znaki(19,1)="T";
znaki(20,1)="U";
znaki(21,1)="W";
znaki(22,1)="Y";
znaki(23,1)="Z";
znaki(24,1)="a";
znaki(25,1)="b";
znaki(26,1)="c";
znaki(27,1)="d";
znaki(28,1)="e";
znaki(29,1)="f";
znaki(30,1)="g";
znaki(31,1)="h";
znaki(32,1)="i";
znaki(33,1)="j";
znaki(34,1)="k";
znaki(35,1)="l";
znaki(36,1)="m";
znaki(37,1)="n";
znaki(38,1)="o";
znaki(39,1)="p";
znaki(40,1)="r";
znaki(41,1)="s";
znaki(42,1)="t";
znaki(43,1)="u";
znaki(44,1)="w";
znaki(45,1)="y";
znaki(46,1)="z";
for q=1:rozmiar(2)
i=q;
S1=zeros(1,w);//sumy
S2=zeros(1,p);//sumy
S3=zeros(1,wy);//sumy
U1=zeros(1,w);//wartości F aktywacyjnej
U2=zeros(1,p);
U3=zeros(1,wy);
for m=1:w
for n=1:w+1
if(n>1)
S1(m)=S1(m)+W1(m,n)*mat(n-1,i);
else
S1(m)=S1(m)+W1(m,n)*1;//bo stała 1 w każdym neuronie
end
end
U1(m)=1/(1+exp(-S1(m)));
end
//WARSTWA2
for m=1:p
for n=1:w+1
if(n>1)
S2(m)=S2(m)+W2(m,n)*U1(n-1);
else
S2(m)=S2(m)+W2(m,n)*1;//bo stała 1 w każdym neuronie
end
end
U2(m)=1/(1+exp(-S2(m)));
end
//WARSTWA3
for m=1:wy
for n=1:p+1
if(n>1)
S3(m)=S3(m)+W3(m,n)*U2(n-1);
else
S3(m)=S3(m)+W3(m,n)*1;//bo stała 1 w każdym neuronie
end
end
U3(m)=1/(1+exp(-S3(m)));
end
temp=max(U3)
for n=1:length(U3)
if U3(n)<temp
U3(n)=0;
else
U3(n)=1;
end
end
for k=1:46
if znaki(k,2:47)==string(U3)
disp(znaki(k,1));
end
end
plot(ER)
end
|
4be0d84aee263de94f1243b9977f199a70edfe4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH6/EX6.5/ex5.sce | ea16be67bf3c57444d2193bc8aca50609a1a31fd | [] | 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 | 291 | sce | ex5.sce | // Example 6.5 : Determine 3dB frequency
// High frequency response of an amplifier can be characterized by th transfer function
// F_H(s)=(1-s/10^5)/(1+s/10^4)(1+s/4*10^4)
w_H=1/sqrt(1/10^8+1/(16*10^8)-2/10^10); // w_H=1/sqrt(1/w_P1^2+1/w_P2^2-2/w_Z1^2-2w_Z2^2)
disp(w_H,"w_H (rad/s)") |
2342f555e0832c2a671e56ceaee35a922b0b3576 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH6/EX6.6/6_6.sce | 627bebe6de1296c4148029be04cfc7f6a1e0ccd9 | [] | 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,027 | sce | 6_6.sce | clc,clear
printf('Example 6.6\n\n')
//note that a new function p2z has been defined below for direct representation of complex numbers in polar form
function [FUN] = p2z(RRRR,Theeeta)
FUN = RRRR.*exp(%i*%pi*Theeeta/180.);
endfunction
V_l=10*10^3
V_ph=V_l/sqrt(3)
R_a=0.4
Z=complex(R_a,6)
I_a=p2z(300,-acosd(0.8))
E=V_ph+I_a*Z
phi=acos(0.8)
alternator_op_ph=V_ph*abs(I_a)*cos(phi) //Power delivered to infinite bus per phase
//Power deliered to the altrernator = Power delivewred to bus bar + I^2*R losses in armature
alternator_power= alternator_op_ph+ abs(I_a)^2*R_a
//this power developed remains constant.change pf to 1 and calculate corresponding armature current
//alternator_power=V_ph*I_a1*cos(phi1)+I_a1^2*0.4
//solve the quadratic equation 0.4 I_a1^2+5773.50 I_a1- 1421640 =0
I_a1=(-1*V_ph+sqrt(V_ph^2-4*R_a*-1*alternator_power))/(2*R_a)
//also as follows
E1=V_ph+I_a1*Z
decrease=100*(abs(E)-abs(E1))/abs(E)
printf('Percentage decrease in induced e.m.f is %.1f percent',decrease)
|
a426455d89d5285e65222c400dde2401cc6d04ef | 3073307fa4b6da9371518f0718c199501b8c5c71 | /viejos/newton_raphson.sci | 7e83e951bcf157b67b3bfc2518dcf5e8ee0d8a98 | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sci | newton_raphson.sci | function y = f(x)
y = 1 + x^2;
endfunction
function y = fp(x)
y = 2*x;
endfunction
function [p,it] = newton_raphson(p0,tol,maxit)
p = zeros(maxit,1);
it = maxit;
for i=1:maxit
p(i) = p0 - f(p0)/fp(p0)
if(abs(p(i)-p0)<tol)
it = i;
return;
end
p0 = p(i);
end
endfunction
|
398e8b92b87ef4d575eae440a2bc7a4cda872d65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.16/P2_16.sce | 8beec200647b75ba0ed88d9b81c4232e8f730a18 | [] | 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 | 390 | sce | P2_16.sce | //EXAMPLE 2.16,
clear;
clc;
//Given input sequence = [3 4 5]
x=[0 3 4 5 0];
disp([3 4 5],'Input sequence = ')
//determining median filter
//first sequence
for k=2:4
if x(k)>x(k-1) & x(k+1)>x(k-1) & x(k+1)>x(k)
y(k-1)=x(k);
else
x(k-1)>x(k+1) & x(k)>x(k+1) & x(k)>x(k-1)
y(k-1)=x(k-1);
end
end
disp(y','The Median Filter of the given input is =');
|
350ee5241d8f08905966eb6d89ace07f3f3bddbc | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH2/EX2.35.a/Example2_35_a.sce | 958162e811d911f8b9d8d4779bc494d0362d2f15 | [] | 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 | 281 | sce | Example2_35_a.sce | mode(2);errcatch(-1,"stop");driver("GIF");//Example 2.35 (a)
//To draw the pole-zero plot
clear;
clc ;
close ;
z=%z
H1Z=(z)/(z^2-z-1);
xset('window',1);
plzr(H1Z);
xinit('/home/fossee/Downloads/tbc_graphs/Digital_Signal_Processing_R._Babu_52/Example2_35_a');xend();exit();
|
dc7d35a9d1f558cbe3573ce13474688ce6195367 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.18/Ex5_18.sce | 5919aa7a715106ddeeebe3ba33efce8b34f2f615 | [] | 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 | 622 | sce | Ex5_18.sce | //Ex:3.18
clc;
clear;
close;
BLP=250*10^6;// bandwidth length product in Hz
tr=0.32/BLP;// intermodel pulse width broadening
md=75;// material dispersion in ps/nm.km
tm=2.25;//pulse broadening due to material dispersion in ns/km
tc=sqrt((tr*10^9)^2+tm^2);// combine pulse broadening in ns/km
Ba=0.32/tm*10^9;// actual BLP in Hz.km
Bac=Ba/10^6;// actual BLP in MHz.km
printf("The intermodel pulse width broadening =%f ns/km", tr*10^9);
printf("\n pulse broadening due to material dispersion =%f ns/km", tm);
printf("\n The combine pulse broadening =%f ns/km", tc);
printf("\n The actual BLP =%f MHz.km", Bac); |
c0b7c1f5a1c87dd1561021ec63f3d02c6f0d00a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH12/EX12.8/ex12_8.sce | 765d8784de9ed871656cfc230c2074a3f3754458 | [] | 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 | 278 | sce | ex12_8.sce | clc;
k=9*10^9; //constant in free space in N.m square/C square
q1=4*10^-9; //charge in coulomb
q2=5*10^-8; //charge in coulomb
r=5*10^-2; //radius in metre
F=(k*q1*q2)/(r*r); //calculating force in Newton
disp(F,"Force in Newton = "); //displaying result |
954919a2ee01bc4a26bd4ea5409843188b6717be | 87749481136b7b72a47930f587f27667e0c0f97d | /DFT/Task_4.sci | 76da8dec29fc2c71c5afa3fc05c15e2ca060c2dd | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,082 | sci | Task_4.sci | clear all;
f1 = 190;
A1 = 0.5
f2 = 10;
A2 = 2;
fs = 200;
dt = 1/fs;
T = 0.5
t =0:dt:T-dt;
s1 = A1*cos(2*%pi*f1*t);
s2 = A2*cos(2*%pi*f2*t);
figure(0)
plot(t, s1, 'b');
plot(t, s2, 'r');
xlabel("Time, s", 'fontsize', 2)
ylabel("Amplitude", 'fontsize', 2)
title("Time domain", 'fontsize', 3)
figure(1)
subplot(3,1,1)
f1 = (0:length(s1)-1)/length(s1)*fs
plot(f1, abs(fft(s1)), 'b')
xlabel("Frequency, Hz", 'fontsize', 2)
ylabel("Freq amplitude", 'fontsize', 2)
title("Frequency response of first signal", 'fontsize', 3)
subplot(3,1,2)
f2 = (0:length(s2)-1)/length(s2)*fs
plot(f2, abs(fft(s2)), 'r')
xlabel("Frequency, Hz", 'fontsize', 2)
ylabel("Freq amplitude", 'fontsize', 2)
title("Frequency response of second signal", 'fontsize', 3)
subplot(3,1,3)
f2 = linspace(-fs/2, fs/2, length(s2))
plot(f2, abs(fftshift(fft(s2))), 'r')
f1 = (0:length(s1)-1)/length(s1)*fs
plot(f2, abs(fftshift(fft(s1))), 'b')
xlabel("Frequency, Hz", 'fontsize', 2)
ylabel("Freq amplitude", 'fontsize', 2)
title("Frequency response of final signals", 'fontsize', 3)
legend(["freq = 10";"freq = 190"])
|
e76342b6c6536ac8e5f6c6fdd46e66e6700b239b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.3.b/ex_1_3_b.sce | f10e2ca238a54872663a9d49cc96da0460ce39ef | [] | 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 | 378 | sce | ex_1_3_b.sce |
// Example 1.3.b : relative error
clc, clear
// given :
vm=2.65; // in volts
vt=2.70; // in volts
v=5;// full scale range of voltage
Es=vm-vt;
Er1=Es/vt;
Er2=Es/v;
disp("relative error as a function of true value is "+string(Er1)+" or "+string(100*Er1)+" %")
disp("relative error as a function of full scale deflection is "+string(Er2)+" or "+string(100*Er2)+" %")
|
da721f5be356e368e3f9dc4e559019509c3a2f2c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/sci_log2.sci | 81a3077d5a33205ef017b43403d851f0e110eb29 | [
"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 | 643 | sci | sci_log2.sci | function [stk,txt,top]=sci_log2()
// Copyright INRIA
txt=[]
if lhs==1 then
stk=list('log('+stk(top)(1)+')/log(2)','0',stk(top)(3),stk(top)(4),'1')
else
[f,e]=lhsvarsnames()
k=gettempvar(0)
if isname(stk(top)(1)) then
v=stk(top)(1)
else
v=gettempvar(1)
txt=v+' = '+stk(top)(1)
end
txt=[txt;k+' = find('+v+'<>0);'
e+'('+k+') = ceil(log(abs('+v+'('+k+')))/log(2));';
f+'('+k+') = '+v+'('+k+')./(2^'+e+'('+k+'));'
k+' = find('+f+'>=1);'
f+'('+k+') = 0.5'
e+'('+k+') = '+e+'('+k+')+1']
stk=list(list('?','-2',stk(top)(3),stk(top)(3),'?'),list('?','-2',stk(top)(3),stk(top)(3),'?'))
end
|
731b3a037b8991c96bdd9e144487f35115a2c3b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH7/EX7.6/Ex7_6.sce | 286d1aa9e6e044e2f2b42a2eda62296690608ae6 | [] | 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 | 149 | sce | Ex7_6.sce | //Chapter 7, Example 7.6, Page 206
clc
clear
// Energy required
Z = 79
E = 700/Z
printf("E = %f MeV\n",E)
//Answers may vary due to round off error
|
f1807ba448da3c551e392bc770c58aa34c91196e | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH5/EX5.9.13/exa5_9_13.sce | d71d7c31da1faeb59f3f8e89bbac969befc4a55a | [] | 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 | 506 | sce | exa5_9_13.sce | //Caption:overall_transfer_function_of_two_phase_ac_motor
//example 5.9.13
//page 113
syms Ka K Ktg Jeq feq N1 N2 m
//where Ka=amplifier_gain; Ktg=tachometer_gain_const Jeq=moment_of_inertia; feq=coeff_of_viscous_friction;
s=%s;
//from torque characterstics m and K are determined
Ka=20; K=0.0012; Ktg=0.2; Jeq=0.00015; feq=0.0001;m=-0.0003;
a=K/(Jeq*s+(feq-m));
b=N1/N2;
b=0.1;
c=(Ka*a) // in series
d=(c*b) // in series
e=d/(1+Ktg*d);
disp(e,"C(s)/R(s)=");//overall_transfer_function
|
1d3c9fe47240c15867162c176b8047472c031f13 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Vertical Switching 80%.sce | 4db394787e90d2e394123a23dbf3d0de7715dcce | [] | 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 | 71,017 | sce | Vertical Switching 80%.sce | Name=Vertical Switching 80%
PlayerCharacters=VS Challenger
BotCharacters=VS Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=VS Challenger
AddedBots=VS Target.bot;VS Target.bot;VS Target.bot;VS Target.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2
MapName=veranda_h80deg_v60deg.map
MapScale=1.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timescale=0.8
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=1.0
ScorePerDamage=1.0
ScorePerKill=0.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=
WeaponHeroTag=Fully-auto
DifficultyTag=2
AuthorsTag=pleasewait
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=false
BlockFCT=true
Description=Targets rise/fall in front of you. ---------------------------------- Note: MCA stands for "Midweek Competitive Aiming", a local event for the competitive aiming community in Japan.
GameVersion=2.0.2.0
ScorePerDistance=0.0
MBSEnable=false
MBSTime1=0.25
MBSTime2=0.5
MBSTime3=0.75
MBSTime1Mult=1.0
MBSTime2Mult=2.0
MBSTime3Mult=3.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
LockFOVRange=false
LockedFOVMin=60.0
LockedFOVMax=120.0
LockedFOVScale=Clamped Horizontal
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
AimingStyle=Original
ScanSpeedMultiplier=1.0
MaxSeekPitch=30.0
MaxSeekYaw=30.0
AimingSpeed=5.0
MinShootDelay=0.3
MaxShootDelay=0.6
[Bot Profile]
Name=VS Target
DodgeProfileNames=
DodgeProfileWeights=
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=VS Target
SeeThroughWalls=true
NoDodging=true
NoAiming=true
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=VS Challenger
MaxHealth=100.0
WeaponProfileNames=VS Fully-auto;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=36.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=320.0
MaxCrouchSpeed=160.0
Acceleration=2560.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=1.0
AirControl=0.25
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=72.0
MainBBRadius=12.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=72.0
ProjBBRadius=12.0
ProjBBHasHead=false
ProjBBHeadRadius=10.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=512.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=VS Target
MaxHealth=80.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=36.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=0.0
MaxCrouchSpeed=160.0
Acceleration=2560.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=0.0
Gravity=0.0
AirControl=0.25
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=24.0
MainBBRadius=12.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=24.0
ProjBBRadius=12.0
ProjBBHasHead=false
ProjBBHeadRadius=10.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=VS Vertical Movement.abilmov;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=128.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=true
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=512.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
[Weapon Profile]
Name=VS Fully-auto
Type=Hitscan
ShotsPerClick=1
DamagePerShot=6.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=false
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=1.0
ReloadTimeFromPartial=1.0
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=1.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=true
ADSZoomDelay=0.0
ADSZoomSensFactor=1.0
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=1
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=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=true
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=50
ADSFOVOverride=30.0
ADSFOVScale=Vertical (1:1)
ADSAllowUserOverrideFOV=true
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.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=Gunshot
ParticleBodyImpact=Gunshot
ParticleProjectileTrail=None
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.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Movement Ability Profile]
Name=VS Vertical Movement
MaxCharges=1.0
ChargeTimer=1.85
ChargesRefundedOnKill=0.0
DelayAfterUse=0.0
FullyAuto=false
AbilityDuration=0.0
LockDirectionForDuration=true
NegateGravityForDuration=true
MainVelocity=0.0
MainVelocityCanGoVertical=false
MainVelocitySetToMovementKeys=false
UpVelocity=320.0
EndVelocityFactor=1.0
Hurtbox=false
HurtboxRadius=50.0
HurtboxDamage=50.0
HurtboxGroundKnockbackFactor=1.0
HurtboxAirKnockbackFactor=1.0
AbilityBlocksTurning=false
AbilityBlocksMovement=true
AbilityBlocksAttack=false
AttackCancelsAbility=false
AbilityReloadsWeapon=false
HealthRestore=-40.0
AIUseInCombat=true
AIUseOutOfCombat=true
AIUseOnGround=true
AIUseInAir=true
AIReuseTimer=0.01
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=0.0
AIMaxTargDist=1000000.0
AIMaxTargFOV=360.0
AIDamageReaction=false
AIDamageReactionIgnoreChance=0.0
AIDamageReactionMinDelay=0.125
AIDamageReactionMaxDelay=0.25
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=0.0
AIDamageReactionResetTimer=0.1
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-97.533478 632.000000 627.769104
-85.276794 632.000000 638.053711
-2.999985 632.000000 540.000000
-15.256683 632.000000 529.715393
-97.533478 8.000000 627.769104
-85.276794 8.000000 638.053711
-2.999985 8.000000 540.000000
-15.256683 8.000000 529.715393
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
596.790283 632.000000 638.484497
609.046997 632.000000 628.199951
526.770081 632.000000 530.146240
514.513367 632.000000 540.430847
596.790283 8.000000 638.484497
609.046997 8.000000 628.199951
526.770081 8.000000 530.146240
514.513367 8.000000 540.430847
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
-120.768707 8.000000 418.624908
-128.000000 8.000000 240.000000
-105.279099 8.000000 411.401886
-112.000000 632.000000 240.000000
-105.279099 632.000000 411.401886
-112.000000 8.000000 240.000000
-128.000000 632.000000 240.000000
-120.768707 632.000000 418.624908
faces
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 5 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 5 1 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 3 6 7 0x00000000
brush
vertices
617.160522 8.000000 411.621887
624.000000 8.000000 239.999969
632.650146 8.000000 418.845032
640.000000 632.000000 239.999969
632.650146 632.000000 418.845032
640.000000 8.000000 239.999969
624.000000 632.000000 239.999969
617.160522 632.000000 411.621887
faces
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 5 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 5 1 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 3 6 7 0x00000000
brush
vertices
772.056152 8.000000 483.849487
784.000000 8.000000 240.000000
756.566528 8.000000 476.626495
768.000000 632.000000 240.000000
756.566528 632.000000 476.626495
768.000000 8.000000 240.000000
784.000000 632.000000 240.000000
772.056152 632.000000 483.849487
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
607.074890 8.000000 650.741272
772.056152 8.000000 483.849487
596.790283 8.000000 638.484497
756.566528 632.000000 476.626495
596.790283 632.000000 638.484497
756.566528 8.000000 476.626495
772.056152 632.000000 483.849487
607.074890 632.000000 650.741272
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-85.276794 8.000000 638.053711
-244.685318 8.000000 476.407532
-95.561401 8.000000 650.310425
-260.174927 632.000000 483.630432
-95.561401 632.000000 650.310425
-260.174927 8.000000 483.630432
-244.685318 632.000000 476.407532
-85.276794 632.000000 638.053711
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-244.685318 8.000000 476.407532
-256.000000 8.000000 240.000000
-260.174927 8.000000 483.630432
-272.000000 632.000000 240.000000
-260.174927 632.000000 483.630432
-272.000000 8.000000 240.000000
-256.000000 632.000000 240.000000
-244.685318 632.000000 476.407532
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-256.000000 632.000000 240.000000
112.000000 632.000000 240.000000
112.000000 632.000000 224.000000
-256.000000 632.000000 224.000000
-256.000000 8.000000 240.000000
112.000000 8.000000 240.000000
112.000000 8.000000 224.000000
-256.000000 8.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
400.000000 632.000000 240.000000
768.000000 632.000000 240.000000
768.000000 632.000000 224.000000
400.000000 632.000000 224.000000
400.000000 8.000000 240.000000
768.000000 8.000000 240.000000
768.000000 8.000000 224.000000
400.000000 8.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
514.513367 136.000000 540.430847
399.702209 136.000000 632.323364
504.228821 136.000000 528.174072
393.958374 504.000000 616.542297
504.228821 504.000000 528.174072
393.958374 136.000000 616.542297
399.702209 504.000000 632.323364
514.513367 504.000000 540.430847
faces
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 1 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 5 1 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 3 6 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
7.284622 136.000000 527.743286
117.800797 136.000000 616.431519
-2.999985 136.000000 540.000000
112.056961 504.000000 632.212524
-2.999985 504.000000 540.000000
112.056961 136.000000 632.212524
117.800797 504.000000 616.431519
7.284622 504.000000 527.743286
faces
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 1 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 5 1 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 2 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 3 6 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
112.056961 136.000000 632.212524
399.702209 136.000000 632.323364
117.800797 136.000000 616.431519
393.958374 504.000000 616.542297
117.800797 504.000000 616.431519
393.958374 136.000000 616.542297
399.702209 504.000000 632.323364
112.056961 504.000000 632.212524
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-3.000008 504.000000 540.000244
112.057266 504.000000 632.212402
1.535118 504.000000 533.306152
117.797867 632.000000 624.431335
1.535118 632.000000 533.306152
117.797867 504.000000 624.431335
112.057266 632.000000 632.212402
-3.000008 632.000000 540.000244
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
509.974457 504.000000 533.741272
393.954529 504.000000 624.541931
514.513428 504.000000 540.431396
399.701447 632.000000 632.323059
514.513428 632.000000 540.431396
399.701447 504.000000 632.323059
393.954529 632.000000 624.541931
509.974457 632.000000 533.741272
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
2.741507 504.000000 534.429321
112.060341 504.000000 624.212402
7.284550 504.000000 527.743408
117.801071 632.000000 616.431335
7.284550 632.000000 527.743408
117.801071 504.000000 616.431335
112.060341 632.000000 624.212402
2.741507 632.000000 534.429321
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
393.957733 504.000000 616.541931
117.801071 504.000000 616.431335
399.704529 504.000000 624.323059
112.060341 632.000000 624.212402
399.704529 632.000000 624.323059
112.060341 504.000000 624.212402
117.801071 632.000000 616.431335
393.957733 632.000000 616.541931
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
504.229065 504.000000 528.174377
393.957733 504.000000 616.541931
508.775757 504.000000 534.856506
399.704529 632.000000 624.323059
508.775757 632.000000 534.856506
399.704529 504.000000 624.323059
393.957733 632.000000 616.541931
504.229065 632.000000 528.174377
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
112.057266 504.000000 632.212402
399.701447 504.000000 632.323059
117.797867 504.000000 624.431335
393.954529 632.000000 624.541931
117.797867 632.000000 624.431335
393.954529 504.000000 624.541931
399.701447 632.000000 632.323059
112.057266 632.000000 632.212402
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
-3.000008 8.000000 540.000244
112.057266 8.000000 632.212402
1.535118 8.000000 533.306152
117.797867 136.000000 624.431335
1.535118 136.000000 533.306152
117.797867 8.000000 624.431335
112.057266 136.000000 632.212402
-3.000008 136.000000 540.000244
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
112.057266 8.000000 632.212402
399.701447 8.000000 632.323059
117.797867 8.000000 624.431335
393.954529 136.000000 624.541931
117.797867 136.000000 624.431335
393.954529 8.000000 624.541931
399.701447 136.000000 632.323059
112.057266 136.000000 632.212402
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
509.974487 8.000000 533.741272
393.954529 8.000000 624.541931
514.513428 8.000000 540.431396
399.701447 136.000000 632.323059
514.513428 136.000000 540.431396
399.701447 8.000000 632.323059
393.954529 136.000000 624.541931
509.974487 136.000000 533.741272
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
2.741508 8.000000 534.429321
112.060333 8.000000 624.212402
7.284554 8.000000 527.743408
117.801071 136.000000 616.431335
7.284554 136.000000 527.743408
117.801071 8.000000 616.431335
112.060333 136.000000 624.212402
2.741508 136.000000 534.429321
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
393.957733 8.000000 616.541931
117.801071 8.000000 616.431335
399.704529 8.000000 624.323059
112.060333 136.000000 624.212402
399.704529 136.000000 624.323059
112.060333 8.000000 624.212402
117.801071 136.000000 616.431335
393.957733 136.000000 616.541931
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
504.229065 8.000000 528.174377
393.957733 8.000000 616.541931
508.775757 8.000000 534.856506
399.704529 136.000000 624.323059
508.775757 136.000000 534.856506
399.704529 8.000000 624.323059
393.957733 136.000000 616.541931
504.229065 136.000000 528.174377
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-3.000007 8.000000 540.000244
-120.768707 8.000000 418.624939
7.284550 8.000000 527.743408
-105.279099 632.000000 411.401886
7.284550 632.000000 527.743408
-105.279099 8.000000 411.401886
-120.768707 632.000000 418.624939
-3.000007 632.000000 540.000244
faces
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 6 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 3 6 7 0x00000000
brush
vertices
504.229065 8.000031 528.174377
617.160522 8.000031 411.621887
514.513428 8.000031 540.431396
632.650146 632.000000 418.845032
514.513428 632.000000 540.431396
632.650146 8.000031 418.845032
617.160522 632.000000 411.621887
504.229065 632.000000 528.174377
faces
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 6 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 3 6 7 0x00000000
brush
vertices
60.362434 8.000000 774.242126
-95.561401 8.000000 650.310425
66.106277 8.000000 758.461060
-85.276794 632.000000 638.053711
66.106277 632.000000 758.461060
-85.276794 8.000000 638.053711
-95.561401 632.000000 650.310425
60.362434 632.000000 774.242126
faces
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 1 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 5 1 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 2 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 3 6 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
60.362434 8.000000 774.242126
451.396912 8.000000 774.353027
66.106277 8.000000 758.461060
445.653076 632.000000 758.571899
66.106277 632.000000 758.461060
445.653076 8.000000 758.571899
451.396912 632.000000 774.353027
60.362434 632.000000 774.242126
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
607.074890 8.000000 650.741272
451.396912 8.000000 774.353027
596.790283 8.000000 638.484497
445.653076 632.000000 758.571899
596.790283 632.000000 638.484497
445.653076 8.000000 758.571899
451.396912 632.000000 774.353027
607.074890 632.000000 650.741272
faces
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 1 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 5 1 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 3 6 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
632.650146 -8.000000 418.845032
756.566528 -8.000000 476.626495
640.000000 -8.000000 239.999969
768.000000 8.000000 240.000000
640.000000 8.000000 239.999969
768.000000 -8.000000 240.000000
756.566528 8.000000 476.626495
632.650146 8.000000 418.845032
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
514.513428 -7.999969 540.431396
596.790283 -8.000000 638.484497
632.650146 -7.999969 418.845032
756.566528 8.000000 476.626495
632.650146 8.000000 418.845032
756.566528 -8.000000 476.626495
596.790283 8.000000 638.484497
514.513428 8.000000 540.431396
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
399.701447 -8.000000 632.323059
445.653076 -8.000000 758.571899
514.513428 -8.000000 540.431396
596.790283 8.000000 638.484497
514.513428 8.000000 540.431396
596.790283 -8.000000 638.484497
445.653076 8.000000 758.571899
399.701447 8.000000 632.323059
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
112.057266 -8.000000 632.212402
66.106277 -8.000000 758.461060
399.701447 -8.000000 632.323059
445.653076 8.000008 758.571899
399.701447 8.000008 632.323059
445.653076 -8.000000 758.571899
66.106277 8.000008 758.461060
112.057266 8.000008 632.212402
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-3.000008 -8.000000 540.000244
-85.276794 -8.000000 638.053711
112.057266 -8.000000 632.212402
66.106277 8.000000 758.461060
112.057266 8.000000 632.212402
66.106277 -8.000000 758.461060
-85.276794 8.000000 638.053711
-3.000008 8.000000 540.000244
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-120.768707 -8.000000 418.624939
-244.685318 -8.000000 476.407532
-3.000007 -8.000000 540.000244
-85.276794 8.000000 638.053711
-3.000007 8.000000 540.000244
-85.276794 -8.000000 638.053711
-244.685318 8.000000 476.407532
-120.768707 8.000000 418.624939
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-128.000000 -8.000000 240.000000
-256.000000 -8.000000 240.000000
-120.768707 -8.000000 418.624908
-244.685318 8.000061 476.407532
-120.768707 8.000061 418.624908
-244.685318 -8.000000 476.407532
-256.000000 8.000061 240.000000
-128.000000 8.000061 240.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
632.650146 632.000000 418.845032
756.566528 632.000000 476.626495
640.000000 632.000000 239.999969
768.000000 648.000000 240.000000
640.000000 648.000000 239.999969
768.000000 632.000000 240.000000
756.566528 648.000000 476.626495
632.650146 648.000000 418.845032
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
399.701447 632.000000 632.323059
445.653076 632.000000 758.571899
514.513428 632.000000 540.431396
596.790283 648.000000 638.484497
514.513428 648.000000 540.431396
596.790283 632.000000 638.484497
445.653076 648.000000 758.571899
399.701447 648.000000 632.323059
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
112.057266 632.000000 632.212402
66.106277 632.000000 758.461060
399.701447 632.000000 632.323059
445.653076 648.000000 758.571899
399.701447 648.000000 632.323059
445.653076 632.000000 758.571899
66.106277 648.000000 758.461060
112.057266 648.000000 632.212402
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-3.000008 632.000000 540.000244
-85.276794 632.000000 638.053711
112.057266 632.000000 632.212402
66.106277 648.000000 758.461060
112.057266 648.000000 632.212402
66.106277 632.000000 758.461060
-85.276794 648.000000 638.053711
-3.000008 648.000000 540.000244
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-120.768707 632.000000 418.624939
-244.685318 632.000000 476.407532
-3.000007 632.000000 540.000244
-85.276794 648.000000 638.053711
-3.000007 648.000000 540.000244
-85.276794 632.000000 638.053711
-244.685318 648.000000 476.407532
-120.768707 648.000000 418.624939
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-128.000000 632.000000 240.000000
-256.000000 632.000000 240.000000
-120.768707 632.000000 418.624908
-244.685318 648.000061 476.407532
-120.768707 648.000061 418.624908
-244.685318 632.000000 476.407532
-256.000000 648.000061 240.000000
-128.000000 648.000061 240.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
514.513428 632.000000 540.431396
596.790283 632.000000 638.484497
632.650146 632.000000 418.845032
756.566528 648.000000 476.626495
632.650146 648.000000 418.845032
756.566528 632.000000 476.626495
596.790283 648.000000 638.484497
514.513428 648.000000 540.431396
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
112.000000 648.000000 632.000000
400.000000 648.000000 632.000000
632.000000 648.000000 416.000000
400.000000 632.000000 632.000000
-120.000000 648.000000 416.000000
-120.000000 632.000000 416.000000
112.000000 632.000000 632.000000
632.000000 632.000000 416.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 1 0 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 0 4 5 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 5 4 2 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 6 5 7 0x00000000
brush
vertices
112.000000 8.000000 632.000000
400.000000 8.000000 632.000000
632.000000 8.000000 416.000000
400.000000 -8.000000 632.000000
-120.000000 8.000000 416.000000
-120.000000 -8.000000 416.000000
112.000000 -8.000000 632.000000
632.000000 -8.000000 416.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 1 0 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 0 4 5 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 5 4 2 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 6 5 7 0x00000000
brush
vertices
-120.000000 648.000000 416.000000
632.000000 648.000000 416.000000
632.000000 648.000000 240.000000
-120.000000 648.000000 240.000000
-120.000000 632.000000 416.000000
632.000000 632.000000 416.000000
632.000000 632.000000 240.000000
-120.000000 632.000000 240.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
-120.000000 8.000000 416.000000
632.000000 8.000000 416.000000
632.000000 8.000000 240.000000
-120.000000 8.000000 240.000000
-120.000000 -8.000000 416.000000
632.000000 -8.000000 416.000000
632.000000 -8.000000 240.000000
-120.000000 -8.000000 240.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
128.000000 256.000000 272.000000
384.000000 256.000000 272.000000
384.000000 256.000000 192.000000
128.000000 256.000000 192.000000
128.000000 8.000000 272.000000
384.000000 8.000000 272.000000
384.000000 8.000000 192.000000
128.000000 8.000000 192.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
128.000000 400.000000 192.000000
384.000000 400.000000 192.000000
384.000000 400.000000 176.000000
128.000000 400.000000 176.000000
128.000000 256.000000 192.000000
384.000000 256.000000 192.000000
384.000000 256.000000 176.000000
128.000000 256.000000 176.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
112.000000 632.000000 272.000000
128.000000 632.000000 272.000000
128.000000 632.000000 192.000000
112.000000 632.000000 192.000000
112.000000 8.000000 272.000000
128.000000 8.000000 272.000000
128.000000 8.000000 192.000000
112.000000 8.000000 192.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
384.000000 632.000000 272.000000
400.000000 632.000000 272.000000
400.000000 632.000000 192.000000
384.000000 632.000000 192.000000
384.000000 8.000000 272.000000
400.000000 8.000000 272.000000
400.000000 8.000000 192.000000
384.000000 8.000000 192.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
128.000000 632.000000 272.000000
384.000000 632.000000 272.000000
384.000000 632.000000 192.000000
128.000000 632.000000 192.000000
128.000000 400.000000 272.000000
384.000000 400.000000 272.000000
384.000000 400.000000 192.000000
128.000000 400.000000 192.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
128.000000 400.000000 288.000000
384.000000 400.000000 288.000000
384.000000 400.000000 272.000000
128.000000 400.000000 272.000000
128.000000 256.000000 288.000000
384.000000 256.000000 288.000000
384.000000 256.000000 272.000000
128.000000 256.000000 272.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 CameraPath
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type PlayerSpawn
Vector3 position 256.000000 256.000000 256.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 PlayerSpawn
Vector3 position 256.000000 8.000000 704.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
entity
type PlayerSpawn
Vector3 position -31.881653 8.000000 599.311462
Vector3 angles 140.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
entity
type PlayerSpawn
Vector3 position 543.395142 8.000000 599.742249
Vector3 angles 220.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
entity
type PlayerSpawn
Vector3 position 216.361176 8.000000 702.151062
Vector3 angles 175.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
entity
type PlayerSpawn
Vector3 position 177.643463 8.000000 696.806152
Vector3 angles 170.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
entity
type PlayerSpawn
Vector3 position 138.890411 8.000000 688.960510
Vector3 angles 165.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
entity
type PlayerSpawn
Vector3 position 102.145798 8.000000 676.612732
Vector3 angles 160.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
entity
type PlayerSpawn
Vector3 position 66.453369 8.000000 661.765869
Vector3 angles 155.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
entity
type PlayerSpawn
Vector3 position 30.856445 8.000000 643.425537
Vector3 angles 150.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
entity
type PlayerSpawn
Vector3 position -1.602463 8.000000 622.603027
Vector3 angles 145.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
entity
type PlayerSpawn
Vector3 position 295.517090 8.000000 702.361938
Vector3 angles 185.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
entity
type PlayerSpawn
Vector3 position 334.870392 8.000000 697.249268
Vector3 angles 190.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
entity
type PlayerSpawn
Vector3 position 372.019287 8.000000 688.678040
Vector3 angles 195.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
entity
type PlayerSpawn
Vector3 position 409.924377 8.000000 676.667969
Vector3 angles 200.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
entity
type PlayerSpawn
Vector3 position 446.548553 8.000000 661.241577
Vector3 angles 205.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
entity
type PlayerSpawn
Vector3 position 479.856445 8.000000 644.425354
Vector3 angles 210.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
entity
type PlayerSpawn
Vector3 position 512.815308 8.000000 623.248474
Vector3 angles 215.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
entity
type PlayerSpawn
Vector3 position -31.881653 560.000000 631.311462
Vector3 angles 140.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
entity
type PlayerSpawn
Vector3 position -1.602463 560.000000 654.603027
Vector3 angles 145.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
entity
type PlayerSpawn
Vector3 position 30.856445 560.000000 675.425537
Vector3 angles 150.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
entity
type PlayerSpawn
Vector3 position 66.453369 560.000000 693.765869
Vector3 angles 155.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
entity
type PlayerSpawn
Vector3 position 102.145798 560.000000 708.612732
Vector3 angles 160.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
entity
type PlayerSpawn
Vector3 position 138.890411 560.000000 720.960510
Vector3 angles 165.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
entity
type PlayerSpawn
Vector3 position 177.643463 560.000000 728.806152
Vector3 angles 170.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
entity
type PlayerSpawn
Vector3 position 216.361176 560.000000 734.151062
Vector3 angles 175.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
entity
type PlayerSpawn
Vector3 position 256.000000 560.000000 736.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
entity
type PlayerSpawn
Vector3 position 295.517090 560.000000 734.361938
Vector3 angles 185.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
entity
type PlayerSpawn
Vector3 position 334.870392 560.000000 729.249268
Vector3 angles 190.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
entity
type PlayerSpawn
Vector3 position 372.019287 560.000000 720.678040
Vector3 angles 195.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
entity
type PlayerSpawn
Vector3 position 409.924377 560.000000 708.667969
Vector3 angles 200.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
entity
type PlayerSpawn
Vector3 position 446.548553 560.000000 693.241577
Vector3 angles 205.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
entity
type PlayerSpawn
Vector3 position 479.856445 560.000000 676.425354
Vector3 angles 210.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
entity
type PlayerSpawn
Vector3 position 512.815308 560.000000 655.248474
Vector3 angles 215.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
entity
type PlayerSpawn
Vector3 position 543.395142 560.000000 631.742249
Vector3 angles 220.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
|
7be497c0eb2b0ff752f6df724a000796f2d3ffb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH9/EX9.6/example6.sce | ea16d455bca40fc2cb8ef0d73c370f78cc834529 | [] | 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 | 868 | sce | example6.sce | //Chapter-9 example 6
//=============================================================================
clc;
clear;
//input data
F = 9*10^9;//radar operating frequency in hz
Vo = 3*10^8;//velocity of EM wave in m/s
NNBW = 5;//Null to Null beamwidth
Da = 5;//diameter of antenna in m
//Calculations
lamda = Vo/F;//wavelength
A = (%pi*Da*Da)/4;//actural area of antenna
Ac = 0.65*A;//Capture Area
D = 6.4*(Da/lamda)^2;//directivity of antenna
D1 = 10*log10(D)//gain in dB
HPBW = 70*(lamda/Da);//half power beamwidth in deg
NNBW = 2*HPBW;//null to null beamwidth
//Output
mprintf('HPBW of parabolic reflector is %g degrees\n NNBW of parabolic reflector is %g degrees\n Directivity is %g dB\n Capture area is %g m^2',HPBW,NNBW,D1,Ac);
//=============end of the program==============================================
|
511e17e64c25efa59828801d4d50f28c7b460889 | 430e7adb489914d378a5b0a27d8d41352fa45f3a | /scilab/example/状態空間表現から伝達関数を得る.sce | 0615b60d5a4b05b3e333688d201326b768af0d11 | [] | no_license | ziaddorbuk/Lesson | 04906ff94bf8c1f6bbc6971d5692ae011a9b8869 | 20fe20a6c9c145ef48a35574d885d3952f9ab6ff | refs/heads/master | 2021-09-23T11:48:05.958608 | 2018-04-30T01:54:13 | 2018-04-30T01:54:13 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | Scilab | false | false | 141 | sce | 状態空間表現から伝達関数を得る.sce | //状態空間表現から伝達関数を得る
A=[0 1;-2 -3]; b=[0;1]; c=[1 2]; d=0;
ss_sys=syslin('c',A,b,c,d);
tf_sys=ss2tf(ss_sys)
|
7bf3720a23c4d3a8bafdbe8d9ac75e3beec2356a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH8/EX8.6/ex_8_6.sce | 65d399970701f40f645b69f3d2a32ebd9dbab8e0 | [] | 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 | 299 | sce | ex_8_6.sce | //Example 8.6.//power delivered
clc;
clear;
close;
//given data :
format('v',6)
Ft=35300;// in N
V=48;// in kmph
Po=((Ft*V*1000)/3600)*10^-3;
Ft1=55180;//in N
Pd=Po*sqrt(Ft1/Ft);
disp("part (a)")
disp(Pd,"power delivered(kW) = ")
Pd1=Po*(Ft1/Ft);
disp("part (b)")
disp(Pd1,"power delivered(kW) = ")
|
9b5e997a39401b04c5d5fc5022c05734d78b48b8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Engineering_Thermodynamics_O._Singh_2873.zip/Engineering_Thermodynamics_O._Singh_2873/CH9/EX9.14/Ex9_14.sce | eeab7e6d351b9ac7084d515709dee3d8a5ae4d00 | [] | 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 | 304 | sce | Ex9_14.sce | errcatch(-1,"stop");mode(2);// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
;
;
disp("Engineering Thermodynamics by Onkar Singh Chapter 9 Example 14")
disp("In question no.14,various expression is derived which cannot be solved using scilab software.")
exit();
|
986ae15ca70b121f99eccf2e8094bbb63e0a2909 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH4/EX4.6/Chapter4_Example6.sce | 7de8564e0e9e720befa4006b3391026a833782e9 | [] | 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,496 | sce | Chapter4_Example6.sce | clc
clear
//Input data
r=8;//Compression ratio
lcv=44000;//The lower heating value of the fuel in kJ/kg
af=15;//The air/fuel ratio
Cv=0.71;//The specific heat at constant volume in kJ/kgK
p=1;//The pressure at the beginning of the compression in bar
t=60;//The temperature at the beginning of the compression in degree centigrade
Mo=32;//Molecular weight of oxygen
Mn=28.161;//Molecular weight of nitrogen
Mh=18;//Molecular weight of water
n=1.3;//Polytropic index
//Calculations
T1=(t+273);//The temperature at the beginning of the compression in K
sa=[12.5*[Mo+(3.76*Mn)]]/[(12*8)+(1*Mh)];//The stoichiometric air fuel ratio
Y=af*[[(12*8)+(1*Mh)]/(Mo+(3.76*Mn))];//To balance the oxygen and nitrogen
x=(12.5-Y)*2;//By oxygen balance
nb=1+Y+(Y*3.76);//Number of moles before combustion
na=x+7.8+9+46.624;//Number of moles after combustion
Me=[(na-nb)/nb]*100;//The percentage molecular expansion in percent
T2=T1*(r)^(n-1);//The temperature at point 2 in K
T3=[lcv/(af+1)]*(1/Cv)+(T2);//The temperature at point 3 in K
p3=r*(T3/T1)*p;//The pressure at point 3 in bar
p31=p3*(na/nb);//The pressure at point 3 with molar expansion in bar
//Output
printf('The percentage molecular expansion is %3.0f percent \n (a) Without considering the molecular expansion \n The maximum temperature is %3.0f K \n The maximum pressure is %3.0f bar \n (b) With molecular expansion \n The maximum temperature is %3.0f K \n The maximum pressure is %3.1f bar ',Me,T3,p3,T3,p31)
|
84653945d30e29fab1c8702a99c206c976a0a9fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH8/EX8.8/Chapter8_Example8.sce | f7b26147596beeb5b37747df0fb02d02aef5d969 | [] | 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 | 937 | sce | Chapter8_Example8.sce | //Chapter-8, Example 8.8, Page 349
//=============================================================================
clc
clear
//INPUT DATA
D=0.2;//Outer diameter of the pipe in m
Ts=100;//Surface temperature in degree C
Ta=20;//Temperature of air in degree C
L=3;//Length of pipe in m
//CALCULATIONS
Tf=(Ts+Ta)/2;//Film temperature in degree C
k=0.02896;//Thermal conductivity in W/m.K
v1=(18.97*10^-6);//Kinematic viscosity in m^2/s
b=(1/333);//Coefficient of thermal expansion in 1/K
Pr=0.696;//Prantl number
Gr=((9.81*b*L^3*(Ts-Ta))/(v1^2));//Grashof number
Ra=(Gr*Pr);//Rayleigh number
Nu=(0.1*Ra^(1/3));//Nussults number
h=(Nu*k)/L;//Heat transfer coefficient in W/m^2.K
Q=(h*3.14*D*(Ts-Ta));//Rate of heat loss per meter length of pipe in W/m
//OUTPUT
mprintf('Rate of heat loss per meter length of pipe is %3.2f W/m',Q)
//=================================END OF PROGRAM==============================
|
df4b48d6c32a9a809715b5f1d2c107e705cf1d85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH3/EX3.7.8/Ex3_8.sce | 414cc4249f6dc34bf207d4b098b96fbbfe607740 | [] | 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 | Ex3_8.sce | //Example 8// Ch 3
clc;
clear;
close;
// given data
k = 1.38*10^-21; //boltzmanns constant
T = 293; // temperature in K
e = 1.6*10^-19;
E = (1.5*k*T)/e;
printf("energy of free electron %f eV",E)
|
e06b4c88683b85d4b928a097eae185c651b746d7 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/pad_out.sce | 7ad8f5a88a7aaf7bfd9245c26232602db4d25e49 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,255 | sce | pad_out.sce | //**************************** IO PAD OUT ******************************
if(blk_name.entries(bl)=='pad_out') then
fd_io= mopen (fname+'.pads','a+'); // DEDICATED PADS code
for ss=1:scs_m.objs(bl).model.ipar(1)
tmp_pad = strsplit(iopad_loc(loc_num,scs_m.objs(blk_objs(bl)).model.rpar(ss)).entries," ")
if tmp_pad(3) == '3' | tmp_pad(3)== '5' then tmp_pad(3) = '1';
elseif tmp_pad(3) == '2' then tmp_pad(3) = '0';
end
if tmp_pad(4)=='#int[5]'|tmp_pad(4)=='#int[4]'|tmp_pad(4)=='#int[3]'|tmp_pad(4)=='#int[2]'|tmp_pad(4)=='#int[1]'|tmp_pad(4)=='#int[0]' then
mputl('out:net'+ string(blk(blk_objs(bl),2)) + "_" + string(ss) + ' ' + iopad_loc(loc_num,scs_m.objs(blk_objs(bl)).model.rpar(ss)).entries,fd_io);
else
mputl('out:net'+ string(blk(blk_objs(bl),2)) + "_" + string(ss) + ' ' + iopad_loc(loc_num,scs_m.objs(blk_objs(bl)).model.rpar(ss)).entries + 'tgate[' + tmp_pad(3)+ ']',fd_io);
end
if scs_m.objs(blk_objs(bl)).model.rpar(ss)==56 then
Counter_class=1;
end
// disp(iopad_loc(loc_num,scs_m.objs(blk_objs(bl)).model.rpar(1+ss)).entries)
// disp(scs_m.objs(blk_objs(bl)).model.rpar(1+ss))
end
mclose(fd_io);
end
|
b328dc9e4c5b53d8684bc414cd65829fbd73e98e | 9d0b35317cf9c6572724be7e2da4949f71a200bc | /metodo bisección.sce | 4f8f5ff81fa6e43351b6e1e8ca9a6db3882de8ce | [] | no_license | stephany-rivera/Metodos-numericos | ef225f7b8f134c673a245a400454e14f01b0a71d | 17961c6a2b5cffea57e5a7f4f4d3d2abc336b9cf | refs/heads/master | 2022-12-18T16:34:39.143127 | 2020-09-27T05:27:57 | 2020-09-27T05:27:57 | 298,887,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,037 | sce | metodo bisección.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[100,17],'figure_size',[820,700],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','visible','off');
//////////
handles.dummy = 0;
handles.txt_titulo=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new Roman','FontSize',[25],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0212658,0.9412121,0.94,0.0515152],'Relief','default','SliderStep',[0.01,0.1],'String','Método de Bisección','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_titulo','Callback','')
handles.frame_name=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[1,1,1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.6845992,0.6833333,0.2763713,0.2357576],'Relief','default','SliderStep',[0.01,0.1],'String','UnName15','Style','frame','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','frame_name','Callback','')
handles.frame_Datos=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[1,1,1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0274262,0.6833333,0.6487342,0.2357576],'Relief','default','SliderStep',[0.01,0.1],'String','UnName16','Style','frame','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','frame_Datos','Callback','')
handles.txt_funcion=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[14],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0437131,0.8590909,0.1360759,0.0424242],'Relief','default','SliderStep',[0.01,0.1],'String','Función:','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_funcion','Callback','')
handles.txt_inferior=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[14],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0437131,0.8025252,0.1360759,0.0424242],'Relief','default','SliderStep',[0.01,0.1],'String','Límite Inferior','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_inferior','Callback','')
handles.txt_superior=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[14],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0437131,0.7459596,0.1360759,0.0424242],'Relief','default','SliderStep',[0.01,0.1],'String','Límite Superior:','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_superior','Callback','')
handles.txt_error=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[14],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0437131,0.6893939,0.1360759,0.0424242],'Relief','default','SliderStep',[0.01,0.1],'String','Error permitido:','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_error','Callback','')
handles.input_funcion=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1940506,0.8566667,0.2267932,0.0493939],'Relief','default','SliderStep',[0.01,0.1],'String','','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','input_funcion','Callback','')
handles.input_inferior=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1940506,0.8021212,0.2267932,0.0493939],'Relief','default','SliderStep',[0.01,0.1],'String','','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','input_inferior','Callback','')
handles.input_superior=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1940506,0.7475758,0.2267932,0.0493939],'Relief','default','SliderStep',[0.01,0.1],'String','','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','input_superior','Callback','')
handles.input_error=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1940506,0.6930303,0.2267932,0.0493939],'Relief','default','SliderStep',[0.01,0.1],'String','','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','input_error','Callback','')
handles.button=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[14],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.4483122,0.7821212,0.1751055,0.0787879],'Relief','default','SliderStep',[0.01,0.1],'String','Solucionar','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','button','Callback','button_callback(handles)')
handles.txt_nombre=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[14],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.7484389,0.8260606,0.17827,0.0454545],'Relief','default','SliderStep',[0.01,0.1],'String','Stephany Rivera','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_nombre','Callback','')
handles.txt_codigo=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[14],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.7516034,0.7760606,0.1719409,0.0454545],'Relief','default','SliderStep',[0.01,0.1],'String','1765591-3743','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_codigo','Callback','')
handles.txt_proyecto=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[14],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.7315612,0.7260606,0.2120253,0.0454545],'Relief','default','SliderStep',[0.01,0.1],'String','Proyecto Métodos Númericos','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_proyecto','Callback','')
handles.frame=uicontrol(f,'unit','normalized','BackgroundColor',[1,1,1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[1,1,1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0274262,0.0439394,0.9409283,0.6175758],'Relief','default','SliderStep',[0.01,0.1],'String','UnName14','Style','frame','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','frame','Callback','')
f.visible = "on";
//////////
// Callbacks are defined as below. Please do not delete the comments as it will be used in coming version
//////////
function button_callback(handles)
Biseccion()
endfunction
////////Método bisección
function Biseccion()
/*
x^3+4*x^2-10
[1,2]
0.0001
*/
execstr(['function y=funcion(x)';
'y='+handles.input_funcion.string;
'endfunction']);
num_iteraciones=1
a= evstr(handles.input_inferior.string);
b= evstr(handles.input_superior.string);
x=a:0.1:b;
error_permitido=evstr(handles.input_error.string);
fa=feval(a,funcion);
fb=feval(b,funcion);
xr=(a+b)/2;
fxr=feval(xr,funcion);
Error=100;
tabla=[string(num_iteraciones) string(a) string(b) string(xr) string(fxr) " "];
while(Error>=error_permitido)
caso1=fa*fxr;
caso2=fb*fxr;
if(caso1<0)
b=xr;
fb=fxr;
valoranterior=xr;
xr=(a+b)/2;
valoractual=xr;
end
if(caso2<0)
a=xr;
fa=fxr;
valoranterior=xr;
xr=(a+b)/2;
valoractual=xr;
end
num_iteraciones=num_iteraciones+1
fxr=feval(xr,funcion);
Error=abs((valoractual-valoranterior)/valoractual);
tabla=[tabla;string(num_iteraciones) string(a) string(b) string(xr) string(fxr) string(Error)];
end
//resultados que se obtienen de la tabla
handles.txt_Resu=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0664557,0.6,0.2732068,0.0409091],'Relief','default','SliderStep',[0.01,0.1],'String', strcat(["Valor obtenido: ",string(valoractual)]),'Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_Resu','Callback','')
handles.txt_Resu1=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.3560126,0.6,0.2732068,0.0409091],'Relief','default','SliderStep',[0.01,0.1],'String',strcat(["Número iteraciones realizadas: ",string(num_iteraciones)]),'Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_Resu1','Callback','')
handles.txt_Resu2=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Times new roman','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.6455696,0.6,0.2732068,0.0409091],'Relief','default','SliderStep',[0.01,0.1],'String',strcat(["Error obtenido: ",string(Error)]),'Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','txt_Resu2','Callback','')
params=["n" "a" "b" "pn" "f(pn)" "Error"];
c1 = tabla(1:num_iteraciones); //Columna 1
c2 = tabla(num_iteraciones+1:num_iteraciones*2); //Columna 2
c3 = tabla(num_iteraciones*2+1:num_iteraciones*3); //Columna 3
c4 = tabla(num_iteraciones*3+1:num_iteraciones*4); //Columna 4
c5 = tabla(num_iteraciones*4+1:num_iteraciones*5); //Columna 5
c6 = tabla(num_iteraciones*5+1:num_iteraciones*6); //Columna 6
table = [params; [ c1 c2 c3 c4 c5 c6 ]]
tabla_propiedades = uicontrol("style", "table",..
"string", table,..
"position", [100 130 630 250],..
"backgroundcolor", [0.9,0.9,0.9], ...
"tooltipstring", "myTable");
//grafica
graficas = scf(2);
graficas.figure_position = [520,0]
graficas.axes_size = [555 515];
graficas.figure_name = "Metodo Bisección";
xgrid(5);
plot2d(x,funcion(x));
plot(valoractual,funcion(valoractual),'o');
endfunction
|
51fb4375cf83ecc7b026d551f7371626d7566c26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH1/EX1.9.a/ex_1_9_a.sce | 0a62626b4f08fca69f85404a75c74526a3095578 | [] | 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 | ex_1_9_a.sce | //example 1.9(a)//
clc
//clears the screen//
clear
//clears already existing variables//
disp('when one of the logic input of 2-input NOR gate is 0, then when A=1, Y=0 and if A=0, Y=1')
disp('Y=A''') |
ae2556166538b4914b0528dd7054e6d1ca076598 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Vecnagasa2.sci | 527d383446c31b669cf9f436ad29edc9e53cf397 | [] | 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 | 161 | sci | Vecnagasa2.sci | function L=Vecnagasa2(varargin)
PA=varargin(1);
if length(varargin)>1
PB=varargin(2);
else
PB=[0,0];
end
Tmp=PB-PA;
L=Tmp*Tmp';
endfunction
|
37536c487d10c2b5ac8a6d87c17c206db4aa1033 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH4/EX4.10/4_10.sce | 215eeacb064bc5a5ee1407078c98465bdb6e8c68 | [] | 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 | 462 | sce | 4_10.sce | //pathname=get_absolute_file_path('4.10.sce')
//filename=pathname+filesep()+'4.10-data.sci'
//exec(filename)
//Temperature at which heat is receieved (in K):
T1=800
//Temperature maintained by the carnot engine(in K):
T2=280
//Temperature at which heat is rejected(in K):
T=2*T1*T2/(T1+T2)
//Efficiency:
n=(T1-T)/T1
//COP of refrigerator:
COP=T2/(T-T2)
printf("\nRESULTS\n")
printf("\nEfficiency = %f",n)
printf("\nC.O.P of refrigerator = %f",COP) |
7b3eca5ae82af7bfb1d97e0a3a8fc0a7814bdb7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.1/EX3_1.sce | db743d9ec6e4788b11c636ecea5d72234b8e6bb0 | [] | 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 | 502 | sce | EX3_1.sce | clc;funcprot(0);//EXAMPLE 3.1
// Initialisation of Variables
t1=673;.....................//Max temp in Kelvin
t3=313;;...................//Min temp in Kelvin
W=130;.................//Work produced in kJ
//calculations
etath=(t1-t3)/t1;................//Engine thermal efficiency
disp(etath*100,"Engine thermal efficiency in %:")
ha=W/etath;.................//Heat added in kJ
disp(ha,"Head added in kJ:")
dels=(ha-W)/t3;...........//Change in entropy
disp(dels,"Change in entropy in kJ/K")
|
c96e18546b707e847d3435a6d8375460e56a6360 | 524b2c41d14520b2710828d49405b3fab53754be | /05/PCPlusControl.tst | 189ad35714001d69af173e2aa7054af45b6d82d5 | [] | no_license | eliasbagley/nand2tetris | 304b236345505d0288faf05f1630487f88be93c7 | 64d83240e63df76ed45b39c89449ca7e16fce501 | refs/heads/master | 2020-11-29T15:24:50.945163 | 2020-01-20T20:39:10 | 2020-01-20T20:39:10 | 230,150,566 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | tst | PCPlusControl.tst | load PCPlusControl.hdl,
output-file PCPlusControl.out,
output-list time%S1.4.1 in%D1.6.1 reset%B2.1.2 j%B1.3.1 zr%B2.1.2 ng%B2.1.2 out%D1.6.1;
set in 0;
set reset 0;
set j %B000;
set zr 0;
set ng 0;
tick;
output;
tock;
output;
set in 1;
tick;
output;
tock;
output;
set in 2;
tick;
output;
tock;
output;
set in 3;
set reset 1;
tick;
output;
tock;
output;
set reset 0;
set in 0;
set zr 1;
tick;
output;
tock;
output;
set in 10;
set zr 1;
set j %B010;
tick;
output;
tock;
output;
set in 20;
set zr 0;
set j %B010;
tick;
output;
tock;
output;
|
9c9a7bb6a4bfa1470d7b2ed1a8ffe81c22cacb63 | b4be5ed282b4c531c0d140038804106b52e5e9be | /compareDataOE.sce | c81f2528b4645777d9be4d9710d713e1f25f8e70 | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,543 | sce | compareDataOE.sce |
loadmatfile('data.mat')
z = [data(:,1) data(:,2)];
A = 1
B = [0 0 0 2.6509 -2.0596];//[0 0 0 2.3057 -1.2170];
C = 1;
D = 1;
F = [1 -0.9448 0.5055];//[1 -1.1887 0.6424];
oeModel = idpoly(A,B,C,D,F,1)
a = 1
b = [0 1.3366 -0.3598]
c = [1 0.2959 0.0126]
d = [1 -0.6273 -0.2661]
f = [1 -1.2992 0.7834]
bjModel = idpoly(a,b,c,d,f,1)
loadmatfile('arxData.mat')
a = [1 -1.1884 0.4196]
b = [0 0.8726 0.8444]
c = 1
d = 1
f = 1
arxModel = idpoly(a,b,c,d,f,0.1)
// aPoly = poly(oeModel.a,'q','coeff');
// bPoly = poly(oeModel.b,'q','coeff');
// cPoly = poly(oeModel.c,'q','coeff');
// dPoly = poly(oeModel.d,'q','coeff');
// fPoly = poly(oeModel.f,'q','coeff');
// qG = bPoly/(aPoly*fPoly);
// qH = cPoly/(aPoly*dPoly);
// invqHqG = qG/qH;
// invqH1 = 1-1/qH;
////------------------------------------------------------------------------------
// uCoeff = invqHqG.num*invqH1.den;
// yCoeff = invqHqG.den*invqH1.num;
// yCapCoeff = invqHqG.den*invqH1.den;
////--------------------------------------------------------------------------------
// lengthuCoeff = length(coeff(uCoeff));
// lengthyCoeff = length(coeff(yCoeff));
//lengthyCapCoeff = length(coeff(yCapCoeff));
////------------------------------------------------------------------------------
// uCoeff = coeff(uCoeff);
// yCoeff = coeff(yCoeff);
// yCapCoeff = coeff(yCapCoeff);
// yCapCoeff = -yCapCoeff(2:lengthyCapCoeff);
////------------------------------------------------------------------------------
////initial conditions
// uData = zeros(lengthuCoeff,1);
// yData = zeros(lengthyCoeff,1);
// yCapData = zeros(lengthyCapCoeff-1,1);
// uData = [uData;data(:,2)];
// yData = [yData;data(:,1)];
//
////------------------------------------------------------------------------------
//sampleData = size(data,'r');
//uCoeff = uCoeff(lengthuCoeff:-1:1);
//yCoeff = yCoeff(lengthyCoeff:-1:1);
//yCapCoeff = yCapCoeff(lengthyCapCoeff-1:-1:1);
//for ii = 1:sampleData+1
// //pause
// tempu = uCoeff*uData(ii:ii+lengthuCoeff-1);
// tempy = yCoeff*yData(ii:ii+lengthyCoeff-1);
// tempyCap = yCapCoeff*yCapData(ii:ii+lengthyCapCoeff-2);
// yCapData = [yCapData;tempu+tempy+tempyCap];
// //pause
//end
//
|
06fbaf332ab8f11adc5fa9ff17e3e83ae1f9340c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH3/EX3.71.b/ex_3_71_b.sce | b688924df4b657662b46fca510efdcb2a2ea8801 | [] | 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 | 318 | sce | ex_3_71_b.sce | errcatch(-1,"stop");mode(2);//Example 3.71.b:resistance and capacitance
;
;
cl=10^-4;//micro-F
c2=0.004;//micro-F
c3=0.001;//micro-F
r3=10;//killo ohms
r4=5;//killo ohms
f=1;//kHz
rx=((c3+cl)/c2)*r4;//killo ohms
cx=(r3/r4)*c2;//micro-F
disp(rx,"resistance is ,(k-ohm)=")
disp(cx,"capacitance is,(micro-F)=")
exit();
|
26aca6a0e6f05cb44c130a73b4bc74471d09fd25 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ee_aspfin/~BivLCM-SR-bfas_ee_aspfin-PLin-VLin.tst | 83897008a95162a114b1a3df303c92366c4d4c0b | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ee_aspfin-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.380813D+00
2 -0.145241D-02 0.320467D-02
3 0.338409D-01 0.184141D-04 0.532181D+00
4 0.466447D-03 0.387628D-03 -0.899567D-02 0.388610D-02
5 0.241298D-02 0.177313D-03 -0.651834D-03 -0.110690D-03 0.276628D-02
6 0.408854D-04 -0.494409D-04 -0.172966D-03 -0.299079D-04 0.470915D-04
7 -0.256868D-03 -0.969478D-04 0.416733D-03 0.308389D-03 -0.465980D-03
8 -0.689916D-03 0.137576D-03 -0.175050D-02 -0.364979D-04 0.180983D-03
9 -0.329020D+00 0.422869D-01 0.393755D-01 -0.540490D-03 0.100961D+00
10 0.876680D-01 0.137145D-01 0.356229D+00 -0.144460D-01 0.135130D+00
11 -0.579841D-01 0.129036D-01 -0.455903D+00 0.688364D-02 0.226309D-02
12 -0.793109D-01 -0.179887D-01 0.589485D+00 0.203334D-01 0.754099D-02
13 -0.160314D+00 0.544055D-02 0.128728D+00 0.799702D-02 -0.258985D-01
14 -0.866259D-01 0.126574D-01 0.136864D+00 -0.298975D-01 0.132103D-01
15 -0.807147D+00 -0.114920D+00 -0.337853D+00 -0.116139D-01 -0.168685D+00
16 -0.446095D-01 -0.103798D-01 -0.185298D-01 -0.177242D-02 -0.287006D-02
17 -0.671140D-02 -0.404677D-03 -0.555601D-03 -0.197204D-03 -0.411255D-03
18 0.119017D+00 0.939735D-02 0.486355D+00 -0.627817D-01 0.171542D-01
19 0.625566D-01 0.685236D-02 0.168771D+00 0.423138D-03 0.859420D-02
20 0.218617D+00 -0.586105D-01 0.371661D+01 0.829675D-03 -0.324171D-01
21 -0.732981D-01 -0.105462D-01 -0.119732D+00 -0.312838D-02 -0.936037D-02
22 -0.290017D-02 -0.293829D-03 -0.243057D-02 0.903576D-03 -0.288380D-03
23 0.364965D-01 -0.811123D-03 0.478673D-01 0.675376D-02 0.192222D-02
24 -0.193350D-03 0.115106D-02 -0.121050D-01 0.339392D-03 -0.544548D-03
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.892020D-03
7 0.916065D-03 0.382205D-02
8 -0.204620D-03 -0.245704D-03 0.313989D-02
9 -0.204165D-01 -0.131740D-01 -0.142926D-01 0.584624D+02
10 0.507261D-02 -0.394421D-01 0.936940D-02 0.267782D+01 0.192569D+02
11 0.103452D-01 -0.118672D-01 -0.109945D-01 -0.124120D+01 -0.369224D+00
12 0.217776D-01 -0.488577D-01 -0.535000D-01 -0.493296D+01 0.338126D+01
13 0.631582D-01 0.133188D+00 -0.335744D-02 -0.273882D+01 -0.105306D+01
14 -0.148773D-01 0.581335D-01 0.257239D+00 0.232549D+01 0.245362D+01
15 0.527041D-01 0.937785D-01 -0.107922D-01 -0.175086D+02 -0.132113D+02
16 -0.282578D-03 0.891018D-03 -0.825937D-03 0.681587D+00 -0.348545D+00
17 -0.197962D-03 -0.279998D-03 -0.589198D-04 -0.873332D-01 -0.405657D-01
18 -0.648580D-01 -0.150355D+00 0.166573D-01 -0.998989D+00 0.170025D+01
19 -0.101210D-01 -0.407954D-04 -0.137883D-02 0.272933D+01 0.579773D+00
20 -0.331686D-02 -0.348404D-01 -0.328965D+00 0.745452D+00 0.585407D+01
21 0.777667D-02 -0.488338D-02 0.383116D-02 -0.296039D+01 -0.281815D+00
22 0.597692D-04 0.148921D-03 0.455552D-04 0.256220D-01 -0.257318D-01
23 0.110281D-02 -0.168077D-02 -0.302217D-02 -0.285066D-01 0.205716D+00
24 0.692263D-04 0.213072D-03 0.349278D-03 0.110676D-01 -0.434122D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.312009D+02
12 0.472908D+01 0.126869D+03
13 -0.330578D+01 -0.182762D+00 0.159854D+02
14 -0.262877D+01 -0.182183D+02 -0.996297D+00 0.812766D+02
15 0.138875D+01 -0.657476D+01 0.620631D+01 -0.101600D+02 0.349092D+03
16 -0.238632D-01 -0.307377D+00 -0.406756D-01 -0.667681D-01 0.328453D+01
17 -0.409512D-02 0.988960D-01 -0.237010D-02 -0.130946D-01 -0.142689D+01
18 0.512978D+01 0.495464D+00 -0.832013D+01 0.732139D+00 0.182941D+02
19 0.131476D+01 -0.403844D+01 -0.814592D+00 0.112680D+00 -0.809605D+01
20 -0.729937D+01 0.879258D+01 0.153989D+01 -0.642271D+02 -0.102849D+02
21 -0.589740D+00 0.369249D+01 0.598219D+00 0.333383D+00 0.915692D+01
22 -0.671598D-01 0.187539D-01 -0.315392D-02 -0.244986D-01 0.308228D-01
23 -0.204555D+00 0.197569D+01 -0.100240D-01 -0.305882D+00 0.309077D+00
24 0.538008D-01 -0.269287D+00 0.828820D-02 0.803435D-02 -0.692931D-02
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.565696D+00
17 -0.257488D-01 0.159622D-01
18 0.369262D+00 -0.658386D-01 0.272414D+03
19 -0.162213D+00 0.325705D-01 0.578044D+01 0.664800D+01
20 0.849263D-01 0.166809D-01 0.185000D+02 0.606052D+01 0.578683D+03
21 0.264308D+00 -0.334668D-01 -0.805994D+00 -0.547063D+01 -0.643173D+01
22 0.141787D-02 0.153208D-03 -0.128162D+01 -0.559760D-01 -0.134884D+00
23 0.331471D-01 -0.408525D-02 -0.315918D+00 -0.315262D+00 0.510746D+01
24 -0.192632D-02 0.103727D-02 0.106562D-01 -0.869592D-02 -0.230170D+01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.641469D+01
22 -0.295058D-01 0.153652D-01
23 0.285002D+00 0.101099D-01 0.117900D+01
24 0.321679D-01 0.164867D-03 -0.923954D-01 0.274478D-01
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.042 1.000
3 0.075 0.000 1.000
4 0.012 0.110 -0.198 1.000
5 0.074 0.060 -0.017 -0.034 1.000
6 0.002 -0.029 -0.008 -0.016 0.030
7 -0.007 -0.028 0.009 0.080 -0.143
8 -0.020 0.043 -0.043 -0.010 0.061
9 -0.070 0.098 0.007 -0.001 0.251
10 0.032 0.055 0.111 -0.053 0.585
11 -0.017 0.041 -0.112 0.020 0.008
12 -0.011 -0.028 0.072 0.029 0.013
13 -0.065 0.024 0.044 0.032 -0.123
14 -0.016 0.025 0.021 -0.053 0.028
15 -0.070 -0.109 -0.025 -0.010 -0.172
16 -0.096 -0.244 -0.034 -0.038 -0.073
17 -0.086 -0.057 -0.006 -0.025 -0.062
18 0.012 0.010 0.040 -0.061 0.020
19 0.039 0.047 0.090 0.003 0.063
20 0.015 -0.043 0.212 0.001 -0.026
21 -0.047 -0.074 -0.065 -0.020 -0.070
22 -0.038 -0.042 -0.027 0.117 -0.044
23 0.054 -0.013 0.060 0.100 0.034
24 -0.002 0.123 -0.100 0.033 -0.062
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.496 1.000
8 -0.122 -0.071 1.000
9 -0.089 -0.028 -0.033 1.000
10 0.039 -0.145 0.038 0.080 1.000
11 0.062 -0.034 -0.035 -0.029 -0.015
12 0.065 -0.070 -0.085 -0.057 0.068
13 0.529 0.539 -0.015 -0.090 -0.060
14 -0.055 0.104 0.509 0.034 0.062
15 0.094 0.081 -0.010 -0.123 -0.161
16 -0.013 0.019 -0.020 0.119 -0.106
17 -0.052 -0.036 -0.008 -0.090 -0.073
18 -0.132 -0.147 0.018 -0.008 0.023
19 -0.131 0.000 -0.010 0.138 0.051
20 -0.005 -0.023 -0.244 0.004 0.055
21 0.103 -0.031 0.027 -0.153 -0.025
22 0.016 0.019 0.007 0.027 -0.047
23 0.034 -0.025 -0.050 -0.003 0.043
24 0.014 0.021 0.038 0.009 -0.060
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 0.075 1.000
13 -0.148 -0.004 1.000
14 -0.052 -0.179 -0.028 1.000
15 0.013 -0.031 0.083 -0.060 1.000
16 -0.006 -0.036 -0.014 -0.010 0.234
17 -0.006 0.069 -0.005 -0.011 -0.604
18 0.056 0.003 -0.126 0.005 0.059
19 0.091 -0.139 -0.079 0.005 -0.168
20 -0.054 0.032 0.016 -0.296 -0.023
21 -0.042 0.129 0.059 0.015 0.194
22 -0.097 0.013 -0.006 -0.022 0.013
23 -0.034 0.162 -0.002 -0.031 0.015
24 0.058 -0.144 0.013 0.005 -0.002
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.271 1.000
18 0.030 -0.032 1.000
19 -0.084 0.100 0.136 1.000
20 0.005 0.005 0.047 0.098 1.000
21 0.139 -0.105 -0.019 -0.838 -0.106
22 0.015 0.010 -0.626 -0.175 -0.045
23 0.041 -0.030 -0.018 -0.113 0.196
24 -0.015 0.050 0.004 -0.020 -0.578
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.094 1.000
23 0.104 0.075 1.000
24 0.077 0.008 -0.514 1.000
|
5e16803430954c216c262b9aea40db8381e6f16a | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PD6.prev.tst | d297643aaf91fe2695687980fa1fd85bd74c73d3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 94 | tst | PD6.prev.tst | (a*x^4 + b*x^2*y^2 + c*y^4).degree() = 5
(a*x^4 + b*x^2*y^2 + c*y^4).degree(false) = 5
|
15437d1b23928fb689102a2e535d027c8890117a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH5/EX5.7/Ex5_7.sce | bbe086b98787804e0a5f57bd8f1f8410c0c53abd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,289 | sce | Ex5_7.sce | //Fluid Systems- By Shiv Kumar
//Chapter 5- Francis Turbine
//Example 5.7
//To Determine (a) The Diameter of Wheel (b) The Quantity of Water Supplied (c) The Guide Blade Angle at Inlet (d) The Runner Vane Angles at Inlet and Exit.
clc
clear
//Given Data:-
P=368; //Shaft Power, kW
H=71; //Head, m
N=748; //Speed, rpm
bo_by_Do=0.1; //Breadth Ratio
Kf=0.15; //Flow Ratio
eta_H=95/100; //Hydraulic Efficiency
eta_m=85/100; //Mechanical Efficiency
eta_v=100/100; //Volumetric Efficiency (Assumed to be 100%)
//As Inner Diameter is Half the Outer Diameter,
Di_by_Do=1/2; //Di/Do
//Data Required:-
rho=1000; //Density of Water, Kg/m^3
g=9.81; //Acceleration due to gravity, m/s^2
//Computations:-
eta_o=eta_H*eta_m*eta_v; //Overall Efficiency
Q=P*1000/(rho*g*H*eta_o); //m^3/s
Vfi=Kf*sqrt(2*g*H); //m/s
Vfo=Vfi;
Do=sqrt(Q/(%pi*bo_by_Do*Vfi)); //m
Di=Do*Di_by_Do; //m
// (a) The Diameter of Wheel, Do
//Calculated Above
// (b) The Quantity of Water Supplied, Q
//Calculated Above
// (c) The Guide Blade Angle at Inlet , alpha_i
ui=%pi*Do*N/60; //m/s
uo= %pi*Di*N/60; //m/s
Vwi=eta_H*g*H/ui; //m/s
alpha_i=atand(Vfi/Vwi); //degrees
// (d)Runner Vane Angles at Inlet and Outlet, beta_i, beta_o
beta_i=atand(Vfi/(Vwi-ui)); //Runner Vane Angle at Inlet, degrees
beta_o=atand(Vfo/uo); //Runner Vane Angle at Outlet, degrees
//Results:-
printf(" (a) The Diameter of Wheel, Do =%.3f m\n ",Do )
printf(" (b) The Quantity of Water Supplied, Q=%.4f m^3/s\n",Q )
printf(" (c) The Guide Blade Angle at Inlet , alpha_i=%.2f Degrees\n",alpha_i ) //The Answer Vary due to Round off Error
printf(" (d)Runner Vane Angles at Inlet and Outlet are:- \n beta_i=%.2f Degrees , beta_o =%.2f Degrees \n",beta_i,beta_o ) //The Answer Vary due to Round off Error
|
f53455ca536cb5c1b321b66386439d0031f3f335 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH19/EX19.29.3/Ex19_3.sce | d1c44ee4112ff5e66e584e632d7980ac830617d4 | [] | 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 | 669 | sce | Ex19_3.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 19 VLSI Technology and Circuits
clc
clear
w=10//w=W/L value of the NMOS transistor in a CMOS inverter
un=1350//un=electron mobility for NMOS transistor in cm^2/V s
up=540//up=electron mobility for PMOS transistor in cm^2/V s
//(Wpu/Lpu)*up*(VINV-VDD-VTHP)^2=(Wpd/Lpd)*un*(VINV-VTHN)^2
//For a symmetrical inverter VINV=(VDD/2) and VTHN=(-VTHP)
//Also for input voltage=VDD/2 both transistors operate in saturation region
//Therefore,up*(Wpu/Lpu)=un*(Wpd/Lpd)
w1=(un*w)/up//w1=Wpu/Lpu=W/L value of the PMOS for a symmetrical inverter
disp(w1,"W/L value of the PMOS transistor in a CMOS inverter is =")
|
9230ae9b9f0690713dda502f78722da34f8a9c7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.32/EX3_32.sce | 65d019a10f4fb381a24e3ee47df6ea4460333631 | [] | 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 | 641 | sce | EX3_32.sce | //Calculate current in different parts of winding of autotransformer//Chapter 3
//Example 3.32
//page 240
clear;
clc;
disp("Example 3.32")
V1=230; //primary voltage of auto-transformer
V2=75; //secondary voltage of auto-transformer
r=(V1/V2); //ratio of primary to secondary turns
I2=200; //load current in amperes
I1=I2/r;
printf("Primary current,I1=%fA",I1);
printf("\nLoad current,I1=%fA",I2);
printf("\ncirrent flowing through the common portion of winding=%fA",(I2-I1));
printf("\nEconomy in saving in copper in percentage=%fpercent",(100/r));
|
72e2a7e231c58ee1de56271e6224c45f424bf1ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH9/EX9.9/example9_9.sce | 23c1a4ae273822ba93920775275196e3e30867e1 | [] | 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 | 532 | sce | example9_9.sce | clear;
clc;
//Example9.9[U-Factor of a Double-Door Window]
//Given:-
A_win=1.8*2.0;//[m^2]
A_glazing=2*1.72*0.94;//[m^2]
U_c=3.24,U_e=3.71,U_f=2.8;//U factors for the center edge and frame sections respectively [W/m^2.degree Celcius]
//Solution:-
A_frame=A_win-A_glazing;//[m^2]
A_center=2*(1.72-0.13)*(0.94-0.13);//[m^2]
A_edge=A_glazing-A_center;//[m^2]
U_win=((U_c*A_center)+(U_e*A_edge)+(U_f*A_frame))/A_win;//[W/m^2.degree Celcius]
disp("W/m^2.degree Celcius",U_win,"The overall U factor of the entire window is") |
620b90cc4175ee4181dbae2c11d518fc77c2b08b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH7/EX7.17/Ex7_17.sce | 7a9b0c45041e4c9f5e10eaa3df8c3c807162cef8 | [] | 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 | 802 | sce | Ex7_17.sce | //Discrete Time Fourier Transform of discrete sequence
//x[n]= (a^n).u[-n], |a|>1
clear;
clc;
close;
a1 = 3;
min_limit = -20;
n = min_limit:0
for i=1:length(n)
x1(i) = (a1^n(i));
end
Wmax = 2*%pi;
K = 4;
k = 0:(K/1000):K;
W = k*Wmax/K;
x1 = x1';
XW1 = x1* exp(-sqrt(-1)*n'*W);
XW1_Mag = abs(XW1);
W = [-mtlb_fliplr(W), W(2:1001)]; // Omega from -Wmax to Wmax
XW1_Mag = [mtlb_fliplr(XW1_Mag), XW1_Mag(2:1001)];
[XW1_Phase,db] = phasemag(XW1);
XW1_Phase = [-mtlb_fliplr(XW1_Phase),XW1_Phase(2:1001)];
subplot(3,1,1);
plot2d3('gnn',n,x1);
xtitle('Discrete Time Sequence x[n]','n','x[n]')
subplot(3,1,2);
plot2d(W,XW1_Mag);
xtitle('Magnitude Response abs(X(jW))','w','|X(jW)|')
subplot(3,1,3);
plot2d(W,XW1_Phase);
xtitle('Phase Response <(X(jW))','w','<(X(jW))')
|
75eccd538e96e9e7b2df06cd9064abecff3d2881 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH12/EX12.4/CH12Exa4.sce | 36b88debb10ea4a84a14e84bc459e44370f6f99b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 857 | sce | CH12Exa4.sce | // Scilab code Exa12.4 : : Page-574 (2011)
clc; clear;
zeta = 0.209; // Moderated assembly
E_change = 100/1; // Change in energy of the neutron
E_thermal = 0.025; // Thermal energy of the neutron, electron volts
E_n = 2*10^6; // Energy of the neutron, electron volts
n = 1/zeta*log(E_change); // Number of collisions of neutrons to loss 99 percent of their energies
n_thermal = 1/zeta*log(E_n/E_thermal); // Number of collisions of neutrons to reach thermal energies
printf("\nThe number of collisions of neutrons to loss 99 percent of their energies = %d \nThe number of collisions of neutrons to reach thermal energies = %d",n,n_thermal)
// Result
// The number of collisions of neutrons to loss 99 percent of their energies = 22
// The number of collisions of neutrons to reach thermal energies = 87
|
722ca39382e49f986c03dd0b49944610e5a6bf92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH7/EX7.7/Example7_7.sce | 6687fccdc7962acd01596b53241ee7b36ad83a5c | [] | 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 | 330 | sce | Example7_7.sce | ////Example 7.7
clc;
clear;
close;
format('v',6);
//Given data :
D=80/1000;//meter
Q=600*10^-3/60;//m^3/sec
L=1*10^3;//meter
f=0.02;//coefficient of friction
v=Q/(%pi/4*D^2);//m/s
g=9.81;//gravity constanty
hf=4*f*L*v^2/D/2/g;//meter
disp(hf,"Head lost due to friction in meter : ");
//Answer is wrong in the book.
|
1ae3f3dae06db61066414337e986783f0ec0df6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH4/EX4.22/example22.sce | 434847bca0c0b5dd45a0c920bc7180472ef0a3f9 | [] | 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 | 254 | sce | example22.sce | printf("given G(s)H(s)=(as+1)/s^2 \n we have to find the value of a for which phase margin is 45 degree\n");
printf("G(jw)H(jw)=(1+ajw)/(jw)^2 and <G(jw))H(jw)=-180+atan aw\n")
aw=tan(45);
a=sqrt(1/sqrt(2));
printf("the value of a is");
disp(a);
|
84e59cd585a4f8cfd7759b85a87d2756e553c61b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.12/Ex12_12.sce | bf50e691341b5c25250c27cde2df538090cb9cdb | [] | 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 | 950 | sce | Ex12_12.sce | //=====================================================================================
//Chapter 12 example 12
clc;
clear all;
//variable declaration
R2 = 834; //resistance of arm in Ω
R3 = 100; //resistance of arm in Ω
R4 = 64.9; //resistance of arm in Ω
R = 0.4; //resistance in Ω
C4 = 0.1*10^-6; //capacitance in F
C2 = 0.124*10^-6; //capacitance in F
f = 2000; //frequency in Hz
//calculations
L1 = R2*R3*C4; //inductance in H
R1 = (R3*C4/C2); // resistance in Ω
Z = R1+(2*%pi*f*L1)*%i; //effective impedance
Z1 = sqrt(((real(Z))^2)+(((imag(Z))^2)));
angle = (atan((imag(Z))/real(Z)))*180/%pi;
//result
mprintf("L1 = %3.2e",L1);
mprintf("\nR1 = %3.2f",R1);
mprintf("\neffective impedance of test specimen =%3.2f Ω angle %3.2f °",Z1,angle);
|
5b0ed799c835e8c86d97a2118e0df021f253bd13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH10/EX10.5/ex_5.sce | 18daba02ac6c0e1369514c7e09c4b4831adb5add | [] | 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 | 560 | sce | ex_5.sce | // Chapter 10_Fundamentals of the Metal Oxide Semiconductor Field Effect Transistor
//Caption_Threshold voltage voltage
//Ex_5//page 446
T=300
eps=11.7*8.85*10^-14
eps_ox=3.9*8.85*10^-14
e=1.6*10^-19
ni=1.5*10^10 //intrinsic carrier concentration
Na=10^14 //acceptor impurity concentration
Qss=10^10
tox=500*10^-8 //oxide thickness
phi_ms=-0.83
phi_fp=0.0259*log(Na/ni)
xdt=(4*eps*phi_fp/(e*Na))^0.5
QSD_MAX=e*Na*xdt;
Vtn=(QSD_MAX-Qss*e)*(tox/eps_ox)+phi_ms+2*phi_fp
printf('The threshold voltage of this MOS system is %1.3f V',Vtn)
|
4cb2dd5c557f7b4905023bfdc5b311381c8d7336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH9/EX9.1/9_1.sce | 76419f0b99f463f2c87fc266b90691b289d5e190 | [] | 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 | 552 | sce | 9_1.sce | clc
//initialisation of variables
clear
d= 2 //in
V= 210 //ft/sec
V1= 50 //ft/sec
g= 32.2 //ft/sec^2
w= 62.4 //lb/ft^3
//CALCULATIONS
M= %pi*V*w/(4*36*g)
F= M*V
dV= V-V1
M1= %pi*dV*w/(4*36*g)
F1= M1*dV
W= F1*V1
F2= M*dV
W1= F2*V1
//RESULTS
printf ('Force on plate = %.f lb',F+1)
printf ('\n Force on plate = %.f lb',F1)
printf ('\n Work done/sec = %.f ft-lb/sec',W)
printf ('\n Force on plate = %.f lb',F2)
printf ('\n Work done/sec = %.f ft-lb/sec',W1)
//The answer is a bit different due to rounding off error in textbook
|
01c8631508a0642c0b1f697b4f1ce069498c58e6 | bc0a6b4d5e326bd35c72bec024b555ed91a1c543 | /plane1.sce | 26bb5338df65af52660c7888369b6481c5330a17 | [] | no_license | askmrsinh/SEM1_AM | 0c9e7b4a51caa1321d1203cf9060e454b685e0ee | 31da57ba40d0741b370dd3c789a1dfec5c99bdea | refs/heads/master | 2021-09-28T03:09:18.743057 | 2016-08-18T15:01:52 | 2016-08-18T15:01:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | plane1.sce | //(x/a)+(y/b)+(z/c)=1 (PLANE)
a=1;
b=2;
c=3;
x=-5:0.01:5;
y=-5:0.01:3;
deff('z=f(x,y)','z=(c*(1-(x)/(a)-(y)/(b)))');
fplot3d(x,y,f)
|
4bb867dc441fe2b56df7863a49db67c25716fb4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH4/EX4.15/Chap4_Ex15_R1.sce | d90e03327eb34eb6f9580e80618faa30ce27caaf | [] | 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,745 | sce | Chap4_Ex15_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-4,Example 15,Page 115
//Title:Final temperature and amount of gas escaping the cylinder
//================================================================================================================
clear
clc
//INPUT
V=0.1;//volume of cylinder in m^3
T0=300;//initial temperature of nitrogen in K
P0=14;//initial pressure of nitrogen in MPa
P=0.1;//ambient pressure in MPa
Pf=2;//final pressure of nitrogen in MPa
R=8.314;//universal gas constant in J/molK
gaamma=1.4;//ratio of the molar heat capacities at constant pressure and constant volume for nitrogen (no unit)
//CALCULATION
//calculation of final temperature of the gas in the tank in K using Eq.(4.51) (and applying u=Cv*T, h=Cp*T and N=P*V/R*T as the gas is taken to be ideal)
function[fn]=solver_func(Ti)
//Function defined for solving the system to determine the final temperature
fn=((P0*10^6)-(Pf*10^6))-((gaamma/2)*(T0+Ti)*(((P0*10^6)/T0)-((Pf*10^6)/Ti)));
endfunction
Tguess=300;//The final temperature guess value in K used for solving the system of equations
[Tf]=fsolve(Tguess,solver_func,1e-6)//using inbuilt function fsolve for solving the system of equations
//calculation of the moles of nitrogen escaping from the tank using Eq.(4.51) (and applying u=Cv*T, h=Cp*T and N=P*V/R*T as the gas is taken to be ideal)
N=(V/R)*(((P0*10^6)/T0)-((Pf*10^6)/Tf));
//OUTPUT
mprintf('\n The final temperature= %0.1f K\n',Tf);
mprintf('\n The amount of gas that has escaped from the cylinder= %0.2f mol\n',N);
//===============================================END OF PROGRAM===================================================
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.