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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c846226ed505ebe866c88a8ccdd19152e081f716 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH5/EX5.22/Exa_5_22.sce | 1d7ca272838b5f216d5f477125ff332a49be6065 | [] | 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 | 617 | sce | Exa_5_22.sce | //Example No. 5.22
clc;
clear;
close;
format('v',6);
//Given Data :
V1=500;//V
N1=1500;//rpm
Ia=100;//A
V2=350;//V
Ra=1.1;//ohm
alfa=45;//degree
N2=1200;//rpm
//V=K*omega+Ia*Ra
K=(V1-Ia*Ra)/(N1*2*%pi/60);//V-s/rad or N-m/A
V=3*sqrt(3)*V2*sqrt(2)/2/%pi/sqrt(3)*(1+cosd(alfa));//Volt
Ia=(V-K*N2*2*%pi/60)/Ra;//A
disp(Ia,"RMS soirce current in A : ");
Vin_rms=Ia*sqrt(120/180);//V
Iavg=Ia/3;//A
disp(Iavg,"Average thyristor current in A : ");
Irms=Ia/sqrt(3);//A
disp(Irms,"RMS thyristor current in A : ");
pf_in=V*Ia/sqrt(3)/V2/Vin_rms;//lagging
disp(pf_in,"Input power factor)lagging : ");
|
eb9fbe77ce1e49706f4474d919499b8467b5e085 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.4.4/Ch1Exa1_4_4.sci | bfc0236ddf79587f23c70db5aff6d4239a848011 | [] | 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 | 566 | sci | Ch1Exa1_4_4.sci | // Scilab code Exa1.4.4 : To determine the density of U-235 nucleus : Page 34 (2011)
m = 1.66e-027; // Mass of a nucleon, kg
A = 235; // Atomic mass of U-235 nucleus
M = A*m; //Mass of the U-235 nucleus, kg
r0 = 1.2e-015; // Distance of closest approach, m
r = r0*(A)^(1/3); // Radius of the U-235 nucleus
V = 4/3*(%pi*r^3); // Volume of the U-235 nucleus,m^3
d = M/V; // Density of the U-235 nucleus,kg/m^3
printf("\nThe density of U-235 nucleus : %4.2e kg per metre cube",d)
// Result
// The density of U-235 nucleus : 2.29e+017 kg per metre cube |
d228e25d553e27b9e75b785246dea4ef3ec792af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.2/ex2_2.sce | f5c293b4e5e422a914fb7143d6d2ed045a506de9 | [] | 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 | 438 | sce | ex2_2.sce | //chapter 2
//formula etta=Prad/Prad+Ploss=Rrad/Rrad+Rloss
printf("\n");
Rrad=72;
printf("radiation resistance is %dohm",Rrad);
Rloss=8;
ettar=72/(72+8);
printf("\nthe Loss resistance is %dohm",Rloss);
Gpmax=30;
printf("\nthe power gain of antenna is %d",Gpmax);
Gdmax=Gpmax/ettar;
Gdmax1=10 *log10(Gdmax);//in db
printf("\nthe Directivity gain is %g",Gdmax);
printf("\nthe Directivity gain in db is given by %edb",Gdmax1);
|
aafb21670125fc7d8f7f114052fa92b71c8eeae3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH3/EX3.1/3_1.sce | 283a98bae02f119a3bf7daecf2130b1ab12920bd | [] | 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 | 3_1.sce | clc;
// page no 105
// prob no 3.1
Erms_car=2; f_car=1.5*10^6;f_mod=500;Erms_mod=1;// given
// Equation requires peak voltages & radian frequencies
Ec=sqrt(2)*Erms_car; Em=sqrt(2)*Erms_mod;
wc=2*%pi*f_car; wm=2*%pi*f_mod;t=1;
// Therefore the equation is
disp('v(t) = (2.83+1.41*sin(3.14*10^3*t))*sin(9.42*10^6*t) V'); |
dc05a2d7f8fa094d33882fe8d30d5087d360fea3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH23/EX23.1/Ex23_1.sce | 058a10b4653dc9c953a627668b8fef618a84509a | [] | 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 | 711 | sce | Ex23_1.sce | //example-23.1
//page no-681
//given
//length of glass rod and steel rod is equal at 273 K and differ by 1.2 mm at 373 K
T1=273 //K
T2=373 //K
//coefficients of linear expansion af glass and steel are
alphaG=8*10^-6 //per degree C
alphaS=12*10^-6 //per degrees C
//we know that
//lT2=lT1*(1+alpha(T2-T1))
//so for glass rod
//l100G=l0*(1+(alpha1)*(T2-T1))
//similarly for steel rod
//l100G=1.0008*l0 ----(1)
//l100S=lo*(1+(alpha2)*(T2-T1))
//l100S=1.0012*l0 ----------(2)
//we have given that
//l100S-l100G=1.2 mm ---(3)
//from 1 and 2 put in 3, we get
//1.0012*l0-1.0008*l0=1.2
//so
l0=1.2*10^-3/(0.0012-.0008) //m
printf ("the length of rod at 0 degrees celcius is %f m",l0)
|
c5322e3a0c5d91ed2abd9c4581cfc04aea6ad29b | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH11/EX11.11/sadiku_11_11.sce | 325e163c37a5ed03adb2867869778c731648f669 | [] | 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 | 417 | sce | sadiku_11_11.sce | clear;
clc;
h=1, w=.8, Er=6.6, P= atan(.0001), c= 5.8*10^7,f=10^10,mu=4*%pi*10^(-7),C=3*10^8;
r=w/h;
Ee=((Er+1)/2)+ ((Er-1)/(2*(1+12/r)^.5));
Zo=(120*%pi)/((r+1.393+ (.667*log(r+1.444)))*((Ee)^.5));
Rs=((%pi*f*mu)/c)^.5;
ac=8.686*Rs/(w*10^-3*Zo);
disp(ac,'Conduction Attenuation Constant = ');
l=C/(f*(Ee)^.5);
disp(l);
ad=27.3*(Ee-1)*Er*tan(P)/((Er-1)*Ee*l);
disp(ad,'Dielectric Attenuation Constant ='); |
43d1ba28caa5328820b77cc984343593922853a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH15/EX15.11/15_11.sce | 5951a0304e8ad93c780166fc565472bbc9436a61 | [] | 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 | 366 | sce | 15_11.sce | //Example 15.11
//Midpoint Method
//Page no. 518
clc;clear;close;
deff('y=f(x,y)','y=y+x')
y=1;
h=0.2;
printf('i\txi\tyi\tslope1\tslope2\ty(i+1)\n-----------------------------------------------\n')
for i=1:3
x=(i-1)*h
s1=f(x,y);
s2=f(x+h/2,y+s1*h/2);
printf(' %i\t%g\t%g\t%g\t%g',i-1,x,y,s1,s2)
y=y+s2*h;
printf('\t%g\n',y)
end |
474fee0c11c20d543bba65282eaf895dabf777a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH9/EX9.1/Example9_1.sce | af6eb7554a8634bbf430cc98f6a02411b34dd7fa | [] | 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 | 344 | sce | Example9_1.sce | clear;
clc;
// Example 9.1
printf('Example 9.1\n\n');
// Page no. 228
// Solution
// Given
//Main eqn. C6H12O6 + aO2 ---> bCO2 + cH2O
// By carbon balance
b = 6 ;
//By hydrogen balance
c = 6;
//Balancing oxygen in reaction
a = (c*1+b*2-6)/2;
printf('Value of a is %i\n',a);
printf('Value of b is %i\n',b);
printf('Value of c is %i\n',c); |
05cbe0dada186aa3117a9b538d9bb2ef657d9700 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH57/EX57.12/57_12.sce | 75a61c79ee089d6f872726bd70f55c84ea0f832a | [] | 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 | 57_12.sce | clear;
clc;
v2(1)=1;
v2(2)=.983664-.032316*%i;
a=1.6;
v2(3)=v2(1)+a*(v2(2)-v2(1));
mprintf("the voltage =%f+(%f)jV",real(v2(3)),imag(v2(3)));
|
7d7f1e54f63bf2c56abbe0fd0ea80d40e4d891ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.67/Ex1_67.sce | 3e0e4433d33727be238dd68eb7663ed2676c5f4f | [] | 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 | 660 | sce | Ex1_67.sce | // Ex 67 Page 407
clc;clear;close;
// Given
//v=350*sin(omega*t)+80*sin(3*omega*t+%pi/3)+40*sin(5*omega*t+5*%pi/6)
V1=350;V3=80;V5=40;//V
fi1=0;fi3=60;fi5=150;//degree
R=20;//omh
L=0.05;//H
omega=314;//rad/s
X1=omega*L;//ohm
Z1=R+%i*X1;//ohm
X3=3*omega*L;//ohm
Z3=R+%i*X3;//ohm
X5=5*omega*L;//ohm
Z5=R+%i*X5;//ohm
[r1,t1]=polar(Z1);
[r3,t3]=polar(Z3);
[r5,t5]=polar(Z5);
I1m=V1/r1;//A
I3m=V3/r3;//A
I5m=V5/r5;//A
Irms=sqrt(I1m^2/2+I3m^2/2+I5m^2/2);//A
Vrms=sqrt(V1^2/2+V3^2/2+V5^2/2);//A
printf("\n Irms=%.f A\n Vrms=%.f V",Irms,Vrms)
P=Irms^2*R;//W
printf("\n Total Power, P=%.f W",P)
cosfi=P/Vrms/Irms;//Power factor
printf("\n Power factor = %.2f",cosfi)
|
0f7f8c9c3d56f5c254c6a81fde5be92850589b33 | 37ae73a0d143e6fc539c6ff34ace9e46e0982654 | /Tutorial/TestEnv/Tutorial/environment/TEMPLATE_EXAMPLE/TEMPLATE_EXAMPLE.tst | ba9306eb24699c6a6be8354c34c8ae602c6b1496 | [] | no_license | vjtkmg/vcast-workarea | 7441ca0ac1eb05ab41c388b5c6fd502277fc4ac9 | 6ecfc99f4b1b68707e4debb8c5b213a467326c2c | refs/heads/main | 2023-08-23T13:26:38.279532 | 2021-11-04T09:12:34 | 2021-11-04T09:12:34 | 422,165,203 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,013 | tst | TEMPLATE_EXAMPLE.tst | -- VectorCAST 21.sp3 (08/04/21)
-- Test Case Script
--
-- Environment : TEMPLATE_EXAMPLE
-- Unit(s) Under Test: manager
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS
TEST.SCRIPT_FEATURE:VCAST_MAIN_NOT_RENAMED
--
-- Unit: manager
-- Subprogram: Place_Order
-- Test Case: (MAP)Place_Order.001
TEST.UNIT:manager
TEST.SUBPROGRAM:Place_Order
TEST.NEW
TEST.NAME:(MAP)Place_Order.001
TEST.CSV_FILENAME:C:/Users/vjtkmg/Documents/GitLocal/VectorCAST/Tutorial/SourceCode/c/csv_test_data.csv
TEST.CSV_DELIMITER:COMMA
TEST.CSV_HEADER_ROWS: 5
TEST.CSV_SKIPPED_ROWS: 5
TEST.CSV_ROWS_PER_TESTCASE: 1
TEST.CSV_NAME_COL: 1
TEST.CSV_COLUMN_INFO: 2, TEST.VALUE:manager.Place_Order.Table
TEST.CSV_COLUMN_INFO: 3, TEST.VALUE:manager.Place_Order.Seat
TEST.CSV_COLUMN_INFO: 4, TEST.VALUE:manager.Place_Order.MyOrder.Salad
TEST.CSV_COLUMN_INFO: 5, TEST.VALUE:manager.Place_Order.MyOrder.Entree
TEST.CSV_COLUMN_INFO: 6, TEST.VALUE:manager.Place_Order.MyOrder.Beverage
TEST.CSV_COLUMN_INFO: 7, TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Is_Occupied
TEST.CSV_COLUMN_INFO: 8, TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Number_In_Party
TEST.CSV_COLUMN_INFO: 9, TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Order[1].Entree
TEST.CSV_COLUMN_INFO: 10, TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Check_Total
TEST.END
-- Test Case: CSV_Chicken
TEST.UNIT:manager
TEST.SUBPROGRAM:Place_Order
TEST.NEW
TEST.NAME:CSV_Chicken
TEST.NOTES:
-----------------------------------------------------------------------
Row 2 from C:/Users/vjtkmg/Documents/GitLocal/VectorCAST/Tutorial/SourceCode/c/csv_test_data.csv
Column 2: TEST.VALUE:manager.Place_Order.Table
Column 3: TEST.VALUE:manager.Place_Order.Seat
Column 4: TEST.VALUE:manager.Place_Order.MyOrder.Salad
Column 5: TEST.VALUE:manager.Place_Order.MyOrder.Entree
Column 6: TEST.VALUE:manager.Place_Order.MyOrder.Beverage
Column 7: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Is_Occupied
Column 8: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Number_In_Party
Column 9: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Order[1].Entree
Column 10: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Check_Total
TEST.END_NOTES:
TEST.VALUE:manager.Place_Order.Table:1
TEST.VALUE:manager.Place_Order.Seat:1
TEST.VALUE:manager.Place_Order.MyOrder.Salad:GREEN
TEST.VALUE:manager.Place_Order.MyOrder.Entree:CHICKEN
TEST.VALUE:manager.Place_Order.MyOrder.Beverage:BEER
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Is_Occupied:v_true
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Number_In_Party:1
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Order[1].Entree:CHICKEN
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Check_Total:10.0
TEST.END
-- Test Case: CSV_Lobster
TEST.UNIT:manager
TEST.SUBPROGRAM:Place_Order
TEST.NEW
TEST.NAME:CSV_Lobster
TEST.NOTES:
-----------------------------------------------------------------------
Row 3 from C:/Users/vjtkmg/Documents/GitLocal/VectorCAST/Tutorial/SourceCode/c/csv_test_data.csv
Column 2: TEST.VALUE:manager.Place_Order.Table
Column 3: TEST.VALUE:manager.Place_Order.Seat
Column 4: TEST.VALUE:manager.Place_Order.MyOrder.Salad
Column 5: TEST.VALUE:manager.Place_Order.MyOrder.Entree
Column 6: TEST.VALUE:manager.Place_Order.MyOrder.Beverage
Column 7: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Is_Occupied
Column 8: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Number_In_Party
Column 9: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Order[1].Entree
Column 10: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Check_Total
TEST.END_NOTES:
TEST.VALUE:manager.Place_Order.Table:1
TEST.VALUE:manager.Place_Order.Seat:1
TEST.VALUE:manager.Place_Order.MyOrder.Salad:GREEN
TEST.VALUE:manager.Place_Order.MyOrder.Entree:LOBSTER
TEST.VALUE:manager.Place_Order.MyOrder.Beverage:BEER
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Is_Occupied:v_true
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Number_In_Party:1
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Order[1].Entree:LOBSTER
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Check_Total:18.0
TEST.END
-- Test Case: CSV_Steak
TEST.UNIT:manager
TEST.SUBPROGRAM:Place_Order
TEST.NEW
TEST.NAME:CSV_Steak
TEST.NOTES:
-----------------------------------------------------------------------
Row 1 from C:/Users/vjtkmg/Documents/GitLocal/VectorCAST/Tutorial/SourceCode/c/csv_test_data.csv
Column 2: TEST.VALUE:manager.Place_Order.Table
Column 3: TEST.VALUE:manager.Place_Order.Seat
Column 4: TEST.VALUE:manager.Place_Order.MyOrder.Salad
Column 5: TEST.VALUE:manager.Place_Order.MyOrder.Entree
Column 6: TEST.VALUE:manager.Place_Order.MyOrder.Beverage
Column 7: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Is_Occupied
Column 8: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Number_In_Party
Column 9: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Order[1].Entree
Column 10: TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Check_Total
TEST.END_NOTES:
TEST.VALUE:manager.Place_Order.Table:1
TEST.VALUE:manager.Place_Order.Seat:1
TEST.VALUE:manager.Place_Order.MyOrder.Salad:GREEN
TEST.VALUE:manager.Place_Order.MyOrder.Entree:STEAK
TEST.VALUE:manager.Place_Order.MyOrder.Beverage:BEER
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Is_Occupied:v_true
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Number_In_Party:1
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Order[1].Entree:STEAK
TEST.EXPECTED:uut_prototype_stubs.Update_Table_Record.Data.Check_Total:24.0
TEST.END
|
1d531755b726da8131a162e223857042cc375159 | 0c1b318ef2ea5479e6a4df395006c510efb03896 | /TP_AF.sce | b70669deda1e8796ca91e934bf1989614fe244de | [] | no_license | Sylfid/ProjetAF | aa731877261eb4a53c0017c70b236e1b685b59cb | d80fef4e15ec611d905f3762666bee103e568625 | refs/heads/master | 2020-04-08T08:11:03.848479 | 2018-11-27T13:46:45 | 2018-11-27T13:46:45 | 159,168,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | TP_AF.sce | f0=0.2;
Fe=32;
step=0.1;
N=15;
lambda=-10:step:10;
Sn_lambda = (1/Fe)*(exp(-30*%i*%pi*(f0-lambda/Fe))-exp(30*%i*%pi*(f0-lambda/Fe)))/(1-exp(2*%i*%pi*(f0-lambda/Fe)));
plot(lambda, Sn_lambda, "r+");
|
3906546ee35eeccd6d56f184f0ac945f75530093 | 69d47013b4427741d37de7faeb3e94fc141393b4 | /Lab_3-Sistemas_Lineares/bigBang.sce | 2f8c9407ebde74527e56cf736f16572cb7ca4a4b | [] | no_license | samuel-cavalcanti/Computacao-Numerica | 30f5042076b5db29482798ca7a6c63590a00a697 | 029c49f5d303f8f978c1f7b12b91778f06fb0665 | refs/heads/master | 2020-03-29T14:14:51.735781 | 2019-02-05T18:14:12 | 2019-02-05T18:14:12 | 150,007,038 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,914 | sce | bigBang.sce | exec('linearSystemMethods.sce')
function relativeError = bigBangErro(sN,sA)
for i =1:length(sN)
relativeError(i)= abs(sN(i) - sA(i))/sA(i)
end
endfunction
function distance= euclideanDistance(pos0,pos1 )
distance = (pos0(1)- pos1(1))^2 + (pos0(2) -pos1(2))^2
distance = sqrt(distance)
endfunction
bigBang = [878, 358, 1678.0399061032863]'
//posX: 937 posY: 725 time: 4220.072751322751
time = [1845.8438967136149, 1980.087089201878 ]
redBallPos1 = [1055, 568]
greenBallPos1 = [970 ,350]
blueBallPos1 = [426, 210 ]
redBallPos2 = [1145, 651]
greenBallPos2 = [1072, 340]
blueBallPos2 = [120, 77]
// vel(1) == redBallVelocity, vel(2) == greenBallVelocity. vel(3) == blueBallVelocity
deltaT = time(2) - time(1);
velRed = euclideanDistance(redBallPos1,redBallPos2)/deltaT;
velGreen = euclideanDistance(greenBallPos1,greenBallPos2)/deltaT;
velBlue = euclideanDistance(blueBallPos1,blueBallPos2)/deltaT;
vel = [velRed,velGreen,velBlue]
thetaRed = atan(redBallPos2(2)-redBallPos1(2), redBallPos2(1)-redBallPos1(1));
thetaGreen = atan(greenBallPos2(2)-greenBallPos1(2), greenBallPos2(1)-greenBallPos1(1) );
thetaBlue = atan(blueBallPos2(2)-blueBallPos1(2), blueBallPos2(1)-blueBallPos1(1) );
//// thetas(1) == redBallAngle, thetas(2) == greenBallAngle. thetas(3) == blueBallAngle
theta = [thetaRed,thetaGreen,thetaBlue ]
A = [0, -cos(theta(1)), vel(1)*sin(theta(1))*cos(theta(1)); sin(theta(2)), -cos(theta(2)), 0; sin(theta(3)), 0, -vel(3)*sin(theta(3))*cos(theta(3))]
B = [-cos(theta(1))*redBallPos2(2)+vel(1)*sin(theta(1))*cos(theta(1))*time(2); sin(theta(2))*greenBallPos2(1)-cos(theta(2))*greenBallPos2(2); sin(theta(3))*blueBallPos2(1)-vel(3)*sin(theta(3))*cos(theta(3))*time(2)]
[A1,B1] = verifyMatrix(A,B)
X1 = Gauss(A1,B1);
relativeError = bigBangErro(X1,bigBang)
//[iter, X1] = jacobi(A,B,zeros(B),10^-15,10^15)
//[iter, X1] = gaussSeidel (A,B,zeros(B),10^-15,10^5)
|
ca6ed999007ddfb341446538bfa5f0af6c738b2c | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/gl_display.sci | f72095a7c3a1b502266e8d4316a5447a7bb15c96 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,885 | sci | gl_display.sci | function [] = gl_display(MTh,VTh,MSTh,VSTh,MSim,VSim,MSSim,VSSim,Tr,S)
// Display mode
mode(-1);
// Display warning for floating point exception
//ieee(1);
N = size(MSim,1);maxp = size(MSim,2);
//%%%%%%%%%%%%%%%%%%%%%%%display mean and covariance %%%%%%%%%%%%%%%%%%%%%%%%%%%%
printf("------------- stochastic structure simulation --------------\n");
printf("\n");
printf("substruture sample size:");
for p = 1:maxp
printf("%4d ",Tr(p));
end;
z = zeros(1,maxp);
for p = 1:maxp
if VTh(1,p,N)>0 then
z(p)=(MSim(N,p)-MTh(1,p,N))*sqrt(Tr(1))/sqrt(VTh(1,p,N));
else
z(p)=0;
end;
end;
printf("\n");
printf(" MSim VSim MTh VTh z\n");
for p = 1:maxp
printf("Phy age %d : ",p);
printf(" %8.3f %8.3f ",MSim(N,p),VSim(N,p));
printf(" %8.3f %8.3f ",MTh(1,p,N),VTh(1,p,N));
printf(" %8.3f \n",z(p));
end;
printf("TOTAL : %8.3f %8.3f %8.3f %8.3f\n",MSSim(N),VSSim(N),MSTh(1,N),VSTh(1,N));
M = MSTh(1,N);V = VSTh(1,N);V = sqrt(V);
Flag_distribution = 0;
if Flag_distribution==1 then
//approximate with a normal distribution
tmp = zeros(N,maxp);
tmp = matrix(S(1,:,N,:,1),N,maxp);
tmp1 = sum(tmp,1);
Nm = ceil(M);
if V>0 then
//Nm=ceil(M+4*sqrt(V));
Nm = sum(tmp1);
end;
f = zeros(1,Nm(1));
for j = 0:Nm
if V>0 then
f(1,j+1) = (1/sqrt(2*%pi*V))*exp(-(1/2)*((j-M)/V)^2);
else
f(1,M) = 1;
end;
end;
f = f/sum(f); //normalize
k = 0:Nm;
plot(k,f,"r"); h = gce();
%set(mtlb(h),"LineWidth",2);
M1 = 0; M2 = 0;
for k = 0:Nm
M1 = M1+(k+1)*f(k+1);
M2 = M2+((k+1)^2)*f(k+1);
end;
V1 = M2-M1^2;
printf("M1=%8.2f,V1=%8.2f\n",M1,V1);
legend(["Simulation","Normal distribution"])
//title('P_m=2,M_a=[10 10],T=[250 250],p_a=[.9 .8],p_b=[1 .8],p_c=[0.95 0.9],p_i=[0.8 0.7]')
end;
endfunction
|
f69b34b9c97e785f6c6bec7739087d7c9e944f29 | ca8a1752ffab27d706f447f6671fec785bff91f6 | /ncp/cs2/project 01/Mux4Way16.tst | dc9bc2b255dbb8b10a51570edd1a3ffb366c1d90 | [] | no_license | aling94/school | 0d01dbdd582107a58b0a59c564df2db6367777be | 81d52961bc4c9244cf7abef2276ee69495eec351 | refs/heads/master | 2020-04-26T11:05:10.559842 | 2019-03-02T22:27:19 | 2019-03-02T22:27:19 | 173,504,921 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 798 | tst | Mux4Way16.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/01/Mux4Way16.tst
load Mux4Way16.hdl,
output-file Mux4Way16.out,
compare-to Mux4Way16.cmp,
output-list a%B1.16.1 b%B1.16.1 c%B1.16.1 d%B1.16.1 sel%B2.2.2 out%B1.16.1;
set a %B0000000000000000,
set b %B0000000000000000,
set c %B0000000000000000,
set d %B0000000000000000,
set sel %B00,
eval,
output;
set sel %B01,
eval,
output;
set sel %B10,
eval,
output;
set sel %B11,
eval,
output;
set a %B0001001000110100,
set b %B1001100001110110,
set c %B1010101010101010,
set d %B0101010101010101,
set sel %B00,
eval,
output;
set sel %B01,
eval,
output;
set sel %B10,
eval,
output;
set sel %B11,
eval,
output;
|
3f70abafc0bf7503398fc58b553188e2f35ed596 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /PiLab/PiLab_spl.sci | 0d21d49c06e6b74c36fe3f1831c5e1b86c775412 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 11,015 | sci | PiLab_spl.sci | // **** Purpose ****
// PiLab hamiltonian dimension reduction function
// **** Variables ****
//==== << PiLab inputs >> ====
//[spl.SuperCell]: 3x3, real
//<= the conventional cell row vecvtors, in unit of the WF lattice vectors
//[spl.Task]: 1x1, string, 'str' / 'run'
//<= 'str': output structure file only. 'run': run whole module.
//[spl.Verbosity]: 1x1, string, 'less' / 'more'
//<= if 'less', H_r related information will not br printed.
//
//==== << PiLab outputs >> ====
//[spl.pc_vec]: 3x3, real
//=> lattice row vectors of primitive cell (w90 input)
//[spl.pc_sublat]: nx3, real
//=> sublattice row vectors of primitive sublattice (w90 input)
//[spl.pc_atom]: nx1, string
//=> atom type of primitive cell
//
//[spl.sc_vec]: 3x3, real
//=> lattice row vectors of sc unitcell
//[spl.sc_sublat]: tot_sc_sublat x 5, real
//=> sublat index in pc(1), x,y,z, proj on a3
//[spl.sc_atom]: tot_sc_sublat x 1, string
//=> atom type of sc sublattice
//
//[spl.sc_unit]: nx10, real
//=> primitive unit cell inside the sc
//[(b=1,n1,n2,n3),x,y,z,expan in sc]
//
//[spl.coup_unit]: nx7, int
//=> pc coupled to the R=0 sc
//[(n1,n2,n3 in pc),(n1, n2, n3 in sc), uc_deg]
//
//[spl.state_info]: tot_sc_wf x 4, integer
//=> state info of sc WFs
//[(wf label in pc), (n1, n2, n3 in pc)]
//
//[spl.uc_index]: nx3, integer
//=> R of Hr_mat index in sc lattice vector
//
//[spl.Hr_mat]: tot_sc_WF x tot_sc_WF x tot_coup_sc
//=> Hr of the sc structure, sparse format
//
// **** Version ****
// 02/10/2016 first built
// **** Comment ****
function PiLab_spl(project_name)
disp('{spl}: starting calculation ...');
c1=clock();
printf('\n');
printf(' => start time: %4d/%02d/%02d %02d:%02d:%02d\n',c1);
// loading variables ===============================================
disp('{spl}: loading variables ...');
PiLab_loader(project_name,'spl','user','trim');
load(project_name+'_spl.sod');
load(project_name+'_wan.sod');
disp(' => all data loaded')
// check variables ================================================
disp('{spl}: checking variables ...')
check_var=(length(spl.SuperCell(:,1)==3)) & (length(spl.SuperCell(1,:)==3));
if check_var~=%t then
disp('Error: PiLab_spl, spl.SuperCell must '...
+'be 3x3 matrix !');
abort;
end
check_var=(sum(spl.SuperCell-round(spl.SuperCell))==0)
if check_var~=%t then
disp('Error: PiLab_spl, spl.SuperCell must '...
+'be a 3x3 integer matrix !');
abort;
end
check_var=(spl.Task=='plot') | (spl.Task=='run')
if check_var~=%t then
disp('Error: PiLab_spl, spl.Task must '...
+'be ''plot'' or ''run''!');
abort;
end
check_var=(spl.Verbosity=='more') | (spl.Verbosity=='less')
if check_var~=%t then
disp('Error: PiLab_spl, spl.Verbosity must '...
+'be ''more'' or ''less''!');
abort;
end
disp(' => all variables passed')
// core part =======================================================
disp('{spl}: running core part ...');
// eliminate unwanted sites ---------------------------------------
disp(' => eliminating unwanted sites');
spl.pc_vec=wan.lat_vec;
spl.pc_sublat=wan.sub_lat;
spl.pc_atom=wan.atom_type;
tot_pc_sub=length(spl.pc_sublat(:,1))
tot_pc_wf=length(wan.wf_spatial(:,1));
// generate conventional cell along assigned direction -------------
disp(' => building spuer cell')
[spl.sc_sublat]=PIL_conv_cell_vec(spl.pc_vec,spl.pc_sublat,spl.SuperCell);
spl.sc_sublat=clean(spl.sc_sublat,1e-5);
spl.sc_vec=clean(PIL_red_cart_conv(spl.pc_vec,spl.SuperCell,'red'),1e-5);
spl.sc_atom=spl.pc_atom(spl.sc_sublat(:,1));
// output xsf file for visualization -------------------------------
disp(' => output structure files')
PIL_crystal_xsf(project_name+'_spl_pc',spl.pc_vec,..
spl.pc_atom,spl.pc_sublat(:,1:3))
PIL_crystal_xsf(project_name+'_spl_cc',spl.sc_vec,..
spl.sc_atom,spl.sc_sublat(:,5:7))
select spl.Task
case 'plot'
disp(' * Warning:')
disp(' structure ouput, calculation not completed!');
save(project_name+'_spl.sod','spl');
fid=mopen(project_name+'_spl.plb','a+');
PIL_print_mat('spl.pc_vec, @f:f, lattice vectors of primitive cell',..
spl.pc_vec,'r',fid(1));
PIL_print_mat('spl.pc_sublat, @f:f, sublattices of primitive cell',..
spl.pc_sublat,'r',fid(1));
PIL_print_mat('spl.pc_atom, @f:f, atom types of primitive cell',..
spl.pc_atom,'s',fid(1));
PIL_print_mat('spl.sc_vec, @f:f, lattice vectors of conventional cell',..
spl.sc_vec,'r',fid(1));
PIL_print_mat('spl.sc_sublat, @f:f, sublattice of conventional cell'..
+' [index in pc(4),x, y, z, expan in cc(3)]',..
spl.sc_sublat,'r',fid(1),'off');
PIL_print_mat('spl.sc_atom, @f:f, atom types of super cell',..
spl.sc_atom,'s',fid(1));
mclose(fid);
abort
end
// generate sc wf locations --------------------------------------
disp(' => searching for coupled unit cell');
// generate pc unit in cc and sc
// imagine there are tot_state in a single pc unit cell
// spl.sc_unit: [b(always 1), n1,n2,n3 in pc, x,y,z, sc expan]
[spl.sc_unit]=clean(PIL_conv_cell_vec(spl.pc_vec,[0,0,0],spl.SuperCell),1e-5);
// search for all coupled units ------------------------------------
// coup_unit_tmp:[n1,n2,n3,uc_deg]
tot_pc_uc_index=length(wan.uc_index(:,1));
tot_sc_unit=length(spl.sc_unit(:,1));
coup_unit_tmp=zeros(tot_pc_uc_index*tot_sc_unit,4);
for n=1:tot_sc_unit
coup_unit_tmp(tot_pc_uc_index*(n-1)+1:tot_pc_uc_index*n,:)=..
wan.uc_index+cat(2,repmat(spl.sc_unit(n,2:4),tot_pc_uc_index,1)..
,zeros(tot_pc_uc_index,1));
end
coup_unit_tmp=gsort(coup_unit_tmp,'lr','i');
// eliminate repeated or out-of-range coup_unit
// spl.coup_unit:[pc index x3, sc index x3, uc_deg]
spl.coup_unit=zeros(length(coup_unit_tmp(:,1)),7);
count=0;
for n=1:length(coup_unit_tmp(:,1))
if n~=1 & sum(abs(coup_unit_tmp(n,:)-coup_unit_tmp(n-1,:))) <=1e-4 then
continue;
end
sc_index=PIL_linexpan(coup_unit_tmp(n,1:3)*spl.pc_vec,spl.sc_vec');
sc_index=(sc_index+1e-4)'; // numerical error to integer
count=count+1;
spl.coup_unit(count,1:3)=coup_unit_tmp(n,1:3);
spl.coup_unit(count,4:6)=floor(sc_index);
spl.coup_unit(count,7)=coup_unit_tmp(n,4);
end
spl.coup_unit=spl.coup_unit(1:count,:);
// check result
tmp1=spl.coup_unit(PIL_row_find(spl.coup_unit(:,4:6),[0,0,0]),1:3);
if PIL_equal(gsort(tmp1,'lr','i'),gsort(spl.sc_unit(:,2:4),'lr','i')) then
else
disp('Error: PiLab_spl, spl.coup_unit doesn''t match spl.sc_unit!');
abort
end
clear coup_unit_tmp;
// generate coupled sc index list --------------------------------
tot_coup_unit=length(spl.coup_unit(:,1));
spl.uc_index=zeros(tot_coup_unit,3);
coup_sc_tmp=gsort(spl.coup_unit(:,4:6),'lr','i');
spl.uc_index(1,:)=coup_sc_tmp(1,:);
count=1;
for n=2:tot_coup_unit
if sum(abs(coup_sc_tmp(n,:)-coup_sc_tmp(n-1,:)))<1e-4 then
continue;
end
count=count+1;
spl.uc_index(count,:)=coup_sc_tmp(n,:);
end
spl.uc_index=spl.uc_index(1:count,:);
// build Hamiltonian -----------------------------------------------
disp(' => building Hamiltonian');
// sc_wf_list:[wf_label, label of sc_unit]
tot_sc_wf=tot_pc_wf*tot_sc_unit;
sc_wf_list=matrix(1:tot_sc_wf,tot_pc_wf,tot_sc_unit);
spl.Hr_mat=spzeros(tot_sc_wf,tot_sc_wf*length(spl.uc_index(:,1)));
spl.state_info=zeros(tot_sc_wf,4);
for n=1:tot_sc_unit
n_wf=sc_wf_list(:,n);
spl.state_info((n-1)*tot_pc_wf+1:n*tot_pc_wf,:)=..
cat(2,[1:tot_pc_wf]',repmat(spl.sc_unit(n,2:4),tot_pc_wf,1));
for m=1:tot_coup_unit
// locate all index
R_sc_idx=PIL_row_find(spl.uc_index,spl.coup_unit(m,4:6));
m_idx=PIL_row_find(spl.sc_unit(:,8:10),..
PIL_linexpan(spl.coup_unit(m,1:3)*spl.pc_vec..
-spl.coup_unit(m,4:6)*spl.sc_vec,spl.sc_vec')');
R_pc_idx=PIL_row_find(wan.uc_index(:,1:3),..
spl.coup_unit(m,1:3)-spl.sc_unit(n,2:4));
if R_pc_idx~=[] & m_idx~=[] & R_sc_idx~=[] then
m_wf=sc_wf_list(:,m_idx);
spl.Hr_mat(n_wf,m_wf+(R_sc_idx-1)*tot_sc_wf)=..
wan.Hr_mat(:,(R_pc_idx-1)*tot_pc_wf+1:(R_pc_idx)*tot_pc_wf)..
/wan.uc_index(R_pc_idx,4);
end
end
end
// check if coupled scs are enough for hermitian -----------------
disp(' => checking Hr Hermiticity')
[Hk,err]=PIL_Hk_R([1,2,3],spl.sc_vec,spl.uc_index,[],spl.Hr_mat);
if err==1 then
disp('Error: PiLab_spl, Hr is not hermitian !')
abort
else
disp(' passed!')
end
// output information ==============================================
disp('{spl}: output information ...')
fid=mopen(project_name+'_spl.plb','a+');
PIL_print_mat('spl.pc_vec, @f:f, lattice vectors of primitive cell',..
spl.pc_vec,'r',fid(1));
PIL_print_mat('spl.pc_sublat, @f:f, sublattices of primitive cell',..
spl.pc_sublat,'r',fid(1));
PIL_print_mat('spl.pc_atom, @f:f, atom type of primitive cell',..
spl.pc_atom,'s',fid(1));
PIL_print_mat('spl.sc_vec, @f:f, lattice vectors of super cell',..
spl.sc_vec,'r',fid(1));
PIL_print_mat('spl.sc_sublat, @f:f, sublattice of super cell'..
+' [index in pc(4),x, y, z, expan in cc(3)]',..
spl.sc_sublat,'r',fid(1),'off');
PIL_print_mat('spl.sc_atom, @f:f, atom type of super cell',..
spl.sc_atom,'s',fid(1));
PIL_print_mat('spl.sc_unit, @f:f, pc in sc,'..
+'[b=1,n1,n2,n3,x,y,z,expan in sc]',spl.sc_unit,'r',fid(1));
PIL_print_mat('spl.coup_unit, @f:f, pc coupled to the R=0 sc,'..
+'[(n1,n2,n3 in pc),(n1, n2, n3 in sc), uc_deg]',spl.coup_unit,'i',fid(1));
PIL_print_mat('spl.state_info, @f:f, state info of sc WFs,'..
+'[(wf label in pc), (n1, n2, n3 in pc)]',spl.state_info,'i',fid(1));
if spl.Verbosity=='more' then
PIL_print_mat('spl.uc_index, @f:f, sc cells coupled to R=0 sc cell'..
+' [n1,n2,n3 in sc]',spl.uc_index,'i',fid(1));
for n=1:length(spl.uc_index(:,1))
PIL_print_mat('spl.Hr_mat(:,(n-1)*tot_sc_wf+1:n*tot_sc_wf)'+..
', @as:as, Hr matrix of '+string(n)+'-th sc_index'..
,spl.Hr_mat(:,(n-1)*tot_sc_wf+1:n*tot_sc_wf)..
,'sp',fid(1));
end
end
mclose(fid(1))
// finishing program ===============================================
save(project_name+'_spl.sod','spl');
disp('{spl}: finishing calculation ...');
disp(' => time elapse '+string(etime(clock(),c1))+ ' seconds');
endfunction
|
e3b3fe903ea878be07798591e8c578d80707094e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH1/EX1.4/Ex1_4.sce | 8fb0796899e9c0311d99fa6a38e1bcd00139ef03 | [] | 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 | 164 | sce | Ex1_4.sce |
//find the eqvivalent rasistance of series parallel combination
Rab=(2*4)/(2+4)
Rbc=(6*8)/(6+8)
Rac=Rab+Rbc
disp('rasistance across AC='+string(Rac)+'ohms')
|
9128802ceee78e03869fe800521e0867809aa8c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH11/EX11.13/EXAMPLE11_13.SCE | 9bd1a5cfa59b9bbf0fb892ed6b32d3d1a2f07d98 | [] | 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 | 790 | sce | EXAMPLE11_13.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 11
//Information Theory
clear all;
clc;
printf("EXAMPLE 11.13(PAGENO 495)");
//given
t_dot = .2//duration of dot symbol
t_dash = .6//duration of dash symbol
t_space = .2//time between the symbols
//wkt sum of the probability is 1 i.e P_dot + P_dash = 1 hence
//P_dot = 2*P_dash weget
P_dot = 2/3//probality of dot symbol
P_dash = 1/3//probality of dash symbol
//calculations
H_X = -P_dot*log2(P_dot)-P_dash*log2(P_dash);//entropy
T_s = P_dot*t_dot + P_dash*t_dash +t_space;//average time per symbol
r = 1/T_s;//average symbol rate
R = r*H_X;//average information rate of the telegraph sourece
//result
printf("\n\ni.The average information rate of the telegraph source = %.4f bits/seconds",R);
|
fa39c63ae15c409a6c44664e7f4eb8fbc319e6e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH3/EX3.18/Ex3_18.sce | e3f09524a36d8bb6b0e108a5c332a4c78beb8b29 | [] | 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 | 985 | sce | Ex3_18.sce | clc
Nd=0
disp("Nd = "+string(Nd)+" /cm^3") //initializing value of donor concentration.
Na=10^17
disp("Na= "+string(Na)+" /cm^3") //initializing value of acceptor concentration.
no=1.8*10^6
disp("no = "+string(no)+" /cm^3") //initializing value of electron and hole concentration per cm^3.
E=10
disp("E = "+string(E)+" V/cm") ////initializing value of electric field.
un=200
disp("un = "+string(un)+" cm^2/s") ////initializing value of mobility.
p1=10^17
disp("p1= "+string(p1)+" cm^-3") //initializing value of impurity concentration.
e=1.6*10^-19
disp("e = "+string(e)+" columb") //initializing value of charge of electron.
p=-(-(Na-Nd)-sqrt((Na-Nd)^2+4*(no^2)))/2
disp("Electron concentration,p=-(-(Na-Nd)-sqrt((Na-Nd)^2+4*(no^2)))/2= "+string(p)+" cm^-3")//calculation
n=(no^2/p)
disp("Hole concentration,n=(no^2/p))= "+string(n)+" cm^-3")//calculation
Jdrift=p1*un*e*E
disp("Drift current density,Jdrift=n1*un*e*E)= "+string(Jdrift)+" A/cm^2")//calculation
|
0e24c48a0795ccde9de4ca5a9cbddcae416836d8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH11/EX11.3/Program11_3.sce | 86116e62ab90a99c6b135ac784666b56f229e87c | [] | 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 | 309 | sce | Program11_3.sce | errcatch(-1,"stop");mode(2);//Program 11.3
//Program To Calculate the value of the function
//Y=A*B
;
;
//Input Data
A=input('Enter Integer Number A =');
B=input('Enter Integer Number B =');
//Multiplication Computation
Y=A*B;
//Display the result in command window
disp(Y,"Y = A*B = ");
exit();
|
a4feaf91db1aca81a63b106cb02a1c0ca79e6928 | ebcc5dbbd5e0f61d61eb8319371b299f3eb26775 | /2. Programación no lineal/programa-scilab/caso_interior.sce | 80f7f5d1fca5dfb9f0fd39f7f6994df371ffb0fd | [] | no_license | jiep/GP | 3cf0d3ed360478c3a87448f78f4acdcaf53c99bf | 0e1078cbfa5b0b19ec19506f0a185b70208d6399 | refs/heads/master | 2021-01-10T09:10:40.034949 | 2016-01-17T11:26:27 | 2016-01-17T11:26:27 | 47,610,650 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,723 | sce | caso_interior.sce | // Se define la función objetivo, su gradiente y su Hessiano
function [f,g,H] = central(x);
E1=0.0578082;
E2=0.0016517;
E3=0.0412916;
f = log(x(1)^100)*E1+x(2)^2*E2+x(3)*E3;
g = zeros(3,1);
g(1) = 100/x(1)*E1;
g(2) = 2*x(2)*E2;
g(3) = E3;
H = zeros(3,3);
H(1,1) = -100/x(1)^2*E1;
H(2,2) = 2*E2;
H(3,3)= 0;
endfunction //Fin de la funcion central
// Se define la restriccion de igualdad y su Jacobiano
function [c,A] = demanda(x);
c = x(1,1)+x(2,1)+x(3,1)-1000;
A = [1 1 1];
endfunction //Fin de la funcion demanda
// Se implementa una función con el método de puntos interiores
function [x,f] = interior(x,lb,ub);
// METODO DE PUNTOS INTERIORES
// Variables duales de las cotas inferiores
n=length(x);
zlb=zeros(n,1);
for i=1:n
zlb(i)=1/(x(i) - lb(i));
end;
// Variables duales de las cotas superiores
zub=zeros(n,1);
for i=1:n
zub(i)=1/(ub(i) - x(i));
end;
// Calculamos el valor inicial de los multiplicadores
[f,g,H] = central(x);
[c,A] = demanda(x);
m=length(c);
lam=A'\(g-zlb+zub);
// Inicializamos el contador de iteraciones
k=0;
// Condiciones de complementariedad
colb=zeros(n,1);
for i=1:n
colb(i)=(x(i) - lb(i))'*zlb(i);
end;
coub=zeros(n,1);
for i=1:n
coub(i)=(ub(i) - x(i))'*zub(i);
end;
// Inicializamos el parámetro de barrera mu
mu=1;
// Comienza el bucle principal de la funcion interior
while norm([(g-A'*lam-zlb+zub)' c' colb' coub'])>1.e-5
// Construimos la matriz del sistema
Xlb=zeros(n,n);
for i=1:n
Xlb(i,i)=1/(x(i)-lb(i));
end;
Xub=zeros(n,n);
for i=1:n
Xub(i,i)=1/(ub(i)-x(i));
end;
Zlb=diag(zlb);
Zub=diag(zub);
Hd=H+Xlb*Zlb+Xub*Zub;
// Hacemos la matriz H definida positiva
[U,D]=spec(Hd);
for i=1:n
D(i,i)=max(abs(D(i,i)),1.e-3);
end
Hd=U*D*U';
K=[Hd A'
A 0];
// Calculamos el lado derecho del sistema de ecuaciones
der=[-g+mu*diag(Xlb)-mu*diag(Xub)+A'*lam
-c];
// Resolvemos el sistema de ecuaciones
d=K\der;
// Calculamos las direcciones de movimiento de las variables primales
dx=d(1:n,1);
dl=-d(n+1:n+m,1);
// Direccion de movimiento de las variables duales
dzlb = mu*diag(Xlb)-zlb-Xlb*Zlb*dx;
dzub = mu*diag(Xub)-zub+Xub*Zub*dx;
// Calculamos la longitud de paso de las variables duales
tau=0.99995;
azlb=1;
for i=1:n'
if dzlb(i)<0;
azlb=min(tau*(-zlb(i))/dzlb(i),azlb);
end;
end;
azub=1;
for i=1:n'
if dzub(i)<0;
azub=min(tau*(-zub(i))/dzub(i),azub);
end;
end;
alfaz=min([azlb azub]);
// Actualizamos las variables duales
zlb=zlb+alfaz*dzlb;
zub=zub+alfaz*dzub;
// Calculamos la longitud de paso de las variables primales
alb=1;
aub=1;
for i=1:n
if dx(i)<0;
alb=min(tau*(lb(i)-x(i))/dx(i),alb);
end;
end;
for i=1:n
if dx(i)>0;
aub=min(tau*(ub(i)-x(i))/dx(i),aub);
end;
end;
alfax=min([alb aub]);
// Actualizamos las variables primales y los multiplicadores
x=x+alfax*dx;
lam=lam+alfax*dl;
// Actualizamos los valores del problema
[f,g,H]= central(x);
[c,A] = demanda(x);
// Actualizamos el parámetro barrera
mu=0.9*mu;
// Actualizamos el contador de iteraciones
k=k+1;
// Actualizamos las condiciones de complementariedad
for i=1:n
colb(i)=(x(i) - lb(i))'*zlb(i);
end;
for i=1:n
coub(i)=(ub(i) - x(i))'*zub(i);
end;
// Limitamos el numero de iteraciones a 1000
if k>1000 then
disp('Demasiadas iteraciones')
break
end
end
endfunction //Fin de la funcion interior
// PROGRAMA PRINCIPAL
// Se define el vector de cotas inferiores de cada calentador
lb=[1 0 0]';
// Se define el vector de cotas superiores de cada calentador
ub=[700 500 500]';
// Se toma un punto inicial contenido entre las cotas
x=[300 200 300]';
// Resolvemos el problema
[x,f]=interior(x,lb,ub);
// Sacamos por pantalla la solución del problema
disp(f,'El coste óptimo del GW/hora (en miles de euros) es:')
disp(x(1),'Los MW/hora a producir por el primer calentador son:')
disp(x(2),'Los MW/hora a producir por el segundo calentador son:')
disp(x(3),'Los MW/hora a producir por el tercer calentador son:')
// FIN DEL PROGRAMA PRINCIPAL
|
98a34b0326f481ef1395d387a58281809723d86c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.18/Ex5_18.sce | 96122312f7b15dcdead2ce7f8955f906e0663315 | [] | 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 | 959 | sce | Ex5_18.sce | //=============================================================
//Chapter 5 example 18
clc;
clear all;
//variable declaration
p = 80;
q = 60
//i = 80-60*sqrt(2)*sin(theta+%pi/6)
//i^2 = x = (80)^2)-((2*80*60*sqrt*sin(theta+(%pi/6))0^2)+((80^2)*(sin(theta+(%pi/6))^2))
//x =a-b*(sin(theta+(%pi/6))^2)+(c)*(sin(theta+(%pi/6))^2)
//x = (80)^2)-((2*80*60*sqrt*sin(theta+(%pi/6))0^2)+(((80^2)/2)*(1-(cos(theta+(%pi/6))^2))
//x = a-(b*sin(theta+(%pi/6)))+(c/2)-cos(theta+((pi/6)^2))
a = p^2;
b =(2*(q^2)*(sqrt(2)));
c = (q*sqrt(2))^2;
//x = (1/2*%pi)*{(integral(x*dtheta))}(0-2*%pi)
//applying integration
y =(a+(c/2));
x = (1/%pi)*y*(%pi); //Irms^2
Irms =sqrt(x); //reading in A
//result
mprintf("electrodynamometer instrument indicates the rms value of the current therefore the dreading will be equla ")
mprintf("Irms = %3.2f A",Irms);
|
e0556ceb5acc4fa503cb797e92520d261a023058 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/ident/scilab/LS_ex.sce | 0a79d9cf1d4d9af925957ea6d45a3db6c8bef538 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | LS_ex.sce | // Updated(3-8-07)
// 6.1
Mag = 10; V = 10; No_pts = 100; theta = 2;
Phi = Mag * (1-2*rand(No_pts,1));
E = V * (1-2*rand(No_pts,1));
Z = Phi*theta + E;
LS = Phi \ Z
Max = max(Z ./ Phi), Min = min(Z ./ Phi)
|
394d9edb7ac4dbd37d2b63a128d38f06381a86ae | ef3d3b8b4ecd686f2ba0c8a25805fc9f8f4f0cff | /tests/integration/files/file/prod/validate-saltcheck/saltcheck-tests/init.tst | 41d5b06be4c908c567ba8d35d195525187573de0 | [
"Apache-2.0",
"MIT",
"BSD-2-Clause"
] | permissive | ChristopherSWest/salt | 79408605eadaef18f4458e793a9f22881dced5f5 | e688fa9f99488115e512a0a1bf1fb73034938f35 | refs/heads/master | 2022-12-15T01:17:24.609924 | 2020-09-21T20:37:10 | 2020-09-21T20:37:10 | 297,728,469 | 1 | 0 | Apache-2.0 | 2020-09-22T17:52:45 | 2020-09-22T17:52:44 | null | UTF-8 | Scilab | false | false | 146 | tst | init.tst | echo_test_prod_env:
module_and_function: test.echo
args:
- "test-prod"
kwargs:
assertion: assertEqual
expected_return: 'test-prod'
|
c8446a9f162148aca855652561a018a7595fc2ce | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RT20.prev.tst | 923ff7cc8144145fef44f0d84311a98f4001c65d | [
"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 | 197 | tst | RT20.prev.tst | [[1],[2,3],[4,5,6]] * [[1],[2,3]] =
rsize1=3, rsize2=2, rsizer=4
[[1],[4,6],[8,17,15],[8,22,27,18]]
4*x + 8*x^2 + 8*x^3 + 6*x*y + 17*x^2*y + 22*x^3*y + 15*x^2*y^2 + 27*x^3*y^2 + 18*x^3*y^3 + 1
|
bafd5eef148f6efb83e6359c2325fb5587b79841 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH1/EX1.4/Ex1_4.sce | 3dc91d80a4cb89cf574b5669fbca605e9cb3e5b0 | [] | 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,630 | sce | Ex1_4.sce | //CHAPTER 1 ILLUSRTATION 4 PAGE NO 17
//TITLE:Basic kinematics
//Figure 1.18,1.19
clc
clear
pi=3.141
Nao=180// speed of the crank in rpm
wAO=2*pi*Nao/60// angular speed of the crank in rad/s
AO=.5// crank length in m
AE=.5
Vao=wAO*AO// velocity of A in m/s
//================================
Vb1=8.15// velocity of piston B in m/s by measurment from figure 1.19
Vba=6.8// velocity of B with respect to A in m/s
AB=2// length of connecting rod in m
wBA=Vba/AB// angular velocity of the connecting rod BA in rad/s
ae=AE*Vba/AB// velocity of point e on the connecting rod
oe=8.5// by measurement velocity of point E
Do=.05// diameter of crank shaft in m
Da=.06// diameter of crank pin in m
Db=.03// diameter of cross head pin B m
V1=wAO*Do/2// velocity of rubbing at the pin of the crankshaft in m/s
V2=wBA*Da/2// velocity of rubbing at the pin of the crank in m/s
Vb=(wAO+wBA)*Db/2// velocity of rubbing at the pin of cross head in m/s
ag=5.1// by measurement
AG=AB*ag/Vba// position and linear velocity of point G on the connecting rod in m
//===============================
printf('Velocity of piston B= %.3f m/s\n Angular velocity of connecting rod= %.3f rad/s\n velocity of point E=%.1f m/s\n velocity of rubbing at the pin of the crankshaft=%.3f m/s\n velocity of rubbing at the pin of the crank =%.3f m/s\n velocity of rubbing at the pin of cross head =%.3f m/s\n position and linear velocity of point G on the connecting rod=%.3f m',Vb1,wBA,oe,V1,V2,Vb,AG)
|
6c3c74860712696d40b959b33911bb83ca66a6c7 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Curve Tracking.sce | c3c1972f392cb9e3957be695b00fa826a876a7b2 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 66,482 | sce | Curve Tracking.sce | Name=Curve Tracking
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Long Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Long Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=bellhump.map
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
InvincibleBots=false
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=1000.0
ScorePerDamage=3.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=true
ScoreMultKillEfficiency=false
GameTag=Tracking
WeaponHeroTag=Tracking, NoKnockback
DifficultyTag=2
AuthorsTag=KovaaK
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=true
BlockFCT=false
Description=Track a spheroid bot as it move along a slight hump. Dodges long strafes style.
GameVersion=1.0.7.2
ScorePerDistance=0.0
[Aim Profile]
Name=At Feet
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=-200.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Aim Profile]
Name=Low Skill At Feet
MinReactionTime=0.35
MaxReactionTime=0.45
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=20.0
TrackSpeed=3.0
TrackError=5.0
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=60.0
ShootFOV=25.0
VerticalAimOffset=-200.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Aim Profile]
Name=Low Skill
MinReactionTime=0.35
MaxReactionTime=0.45
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=20.0
TrackSpeed=3.0
TrackError=5.0
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=60.0
ShootFOV=25.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[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
[Bot Profile]
Name=Quaker Bot Long Strafes
DodgeProfileNames=Long Strafes
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;2.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=At Feet;Low Skill At Feet;Low Skill;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=Quaker
SeeThroughWalls=false
NoDodging=false
NoAiming=true
[Character Profile]
Name=Quaker
MaxHealth=600.0
WeaponProfileNames=;;LG;;;;;
MinRespawnDelay=0.7
MaxRespawnDelay=1.4
StepUpHeight=140.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=80.000
HeadshotOnly=false
DamageKnockbackFactor=4.0
MovementType=Base
MaxSpeed=1300.0
MaxCrouchSpeed=500.0
Acceleration=8000.0
AirAcceleration=16000.0
Friction=4.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=30.0
AirControl=0.25
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=0.771 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=1.000 Y=0.888 Z=0.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Spheroid
MainBBHeight=120.0
MainBBRadius=60.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=120.0
ProjBBRadius=60.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
[Dodge Profile]
Name=Long Strafes
MaxTargetDistance=2500.0
MinTargetDistance=750.0
ToggleLeftRight=true
ToggleForwardBack=false
MinLRTimeChange=0.5
MaxLRTimeChange=1.5
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=true
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=50.0
DamageReactionResetTimer=0.5
JumpFrequency=0.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.3
MaxJumpTime=0.6
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
[Weapon Profile]
Name=LG
Type=Hitscan
ShotsPerClick=1
DamagePerShot=7.0
KnockbackFactor=0.0
TimeBetweenShots=0.046
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=0.5
ReloadTimeFromPartial=0.5
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=7.0
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Ball
VisualLifetime=0.05
WallParticleEffect=None
HitParticleEffect=None
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=true
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-80.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=0
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=true
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=None
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=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=70.0
ADSFOVScale=Quake/Source
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
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
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
brush
vertices
-64.000000 400.000000 -64.000000
-64.000000 400.000000 64.000000
-64.000000 432.000000 64.000000
-64.000000 432.000000 -64.000000
64.000000 432.000000 64.000000
64.000000 400.000000 64.000000
64.000000 400.000000 -64.000000
64.000000 432.000000 -64.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-64.000000 432.000000 48.000000
-64.000000 432.000000 64.000000
-64.000000 560.000000 64.000000
-64.000000 560.000000 48.000000
64.000000 560.000000 64.000000
64.000000 432.000000 64.000000
64.000000 432.000000 48.000000
64.000000 560.000000 48.000000
faces
0.000000 16.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-64.000000 432.000000 -64.000000
-64.000000 432.000000 -48.000000
-64.000000 560.000000 -48.000000
-64.000000 560.000000 -64.000000
64.000000 560.000000 -48.000000
64.000000 432.000000 -48.000000
64.000000 432.000000 -64.000000
64.000000 560.000000 -64.000000
faces
48.000000 16.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
48.000000 16.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
48.000000 432.000000 -48.000000
48.000000 432.000000 48.000000
48.000000 560.000000 48.000000
48.000000 560.000000 -48.000000
64.000000 560.000000 48.000000
64.000000 432.000000 48.000000
64.000000 432.000000 -48.000000
64.000000 560.000000 -48.000000
faces
32.000000 16.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
32.000000 16.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -32.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -32.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-64.000000 432.000000 -48.000000
-64.000000 432.000000 48.000000
-64.000000 560.000000 48.000000
-64.000000 560.000000 -48.000000
-48.000000 560.000000 48.000000
-48.000000 432.000000 48.000000
-48.000000 432.000000 -48.000000
-48.000000 560.000000 -48.000000
faces
32.000000 16.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
32.000000 16.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
48.000000 16.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
48.000000 16.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
48.000000 -32.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
48.000000 -32.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-64.000000 560.000000 -64.000000
-64.000000 560.000000 64.000000
-64.000000 576.000000 64.000000
-64.000000 576.000000 -64.000000
64.000000 576.000000 64.000000
64.000000 560.000000 64.000000
64.000000 560.000000 -64.000000
64.000000 576.000000 -64.000000
faces
0.000000 16.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 16.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 128.000000 -32.000000
736.000000 128.000000 32.000000
736.000000 160.000000 32.000000
736.000000 160.000000 -32.000000
784.000000 160.000000 32.000000
784.000000 128.000000 32.000000
784.000000 128.000000 -32.000000
784.000000 160.000000 -32.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty
brush
vertices
784.000000 128.000000 -32.000000
736.000000 128.000000 -32.000000
736.000000 144.000000 -96.000000
784.000000 144.000000 -96.000000
784.000000 176.000000 -96.000000
784.000000 160.000000 -32.000000
736.000000 176.000000 -96.000000
736.000000 160.000000 -32.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 __TB_empty
brush
vertices
736.000000 144.000000 -96.000000
736.000000 176.000000 -96.000000
736.000000 224.000000 -160.000000
736.000000 192.000000 -160.000000
784.000000 192.000000 -160.000000
784.000000 144.000000 -96.000000
784.000000 224.000000 -160.000000
784.000000 176.000000 -96.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
brush
vertices
784.000000 192.000000 -160.000000
784.000000 224.000000 -224.000000
784.000000 256.000000 -224.000000
784.000000 224.000000 -160.000000
736.000000 224.000000 -160.000000
736.000000 192.000000 -160.000000
736.000000 256.000000 -224.000000
736.000000 224.000000 -224.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 __TB_empty
brush
vertices
736.000000 240.000000 -288.000000
736.000000 224.000000 -224.000000
736.000000 256.000000 -224.000000
736.000000 272.000000 -288.000000
784.000000 272.000000 -288.000000
784.000000 240.000000 -288.000000
784.000000 256.000000 -224.000000
784.000000 224.000000 -224.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
brush
vertices
688.000000 128.000000 416.000000
688.000000 128.000000 448.000000
688.000000 864.000000 448.000000
688.000000 864.000000 416.000000
784.000000 864.000000 448.000000
784.000000 128.000000 448.000000
784.000000 128.000000 416.000000
784.000000 864.000000 416.000000
faces
0.000000 0.000000 2.000000 2.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
656.000000 128.000000 -416.000000
656.000000 128.000000 448.000000
656.000000 864.000000 448.000000
656.000000 864.000000 -416.000000
688.000000 864.000000 448.000000
688.000000 128.000000 448.000000
688.000000 128.000000 -416.000000
688.000000 864.000000 -416.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
32.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
32.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
32.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
32.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
784.000000 128.000000 -416.000000
784.000000 128.000000 448.000000
784.000000 864.000000 448.000000
784.000000 864.000000 -416.000000
816.000000 864.000000 448.000000
816.000000 128.000000 448.000000
816.000000 128.000000 -416.000000
816.000000 864.000000 -416.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
-32.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
-32.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
-32.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
-32.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 128.000000 -448.000000
688.000000 128.000000 -416.000000
688.000000 864.000000 -416.000000
688.000000 864.000000 -448.000000
784.000000 864.000000 -416.000000
784.000000 128.000000 -416.000000
784.000000 128.000000 -448.000000
784.000000 864.000000 -448.000000
faces
-32.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
-32.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 32.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 32.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
672.000000 864.000000 -448.000000
672.000000 864.000000 432.000000
672.000000 880.000000 432.000000
672.000000 880.000000 -448.000000
816.000000 880.000000 432.000000
816.000000 864.000000 432.000000
816.000000 864.000000 -448.000000
816.000000 880.000000 -448.000000
faces
0.000000 0.000000 2.000000 2.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 128.000000 -32.000000
688.000000 128.000000 32.000000
688.000000 160.000000 32.000000
688.000000 160.000000 -32.000000
736.000000 160.000000 32.000000
736.000000 128.000000 32.000000
736.000000 128.000000 -32.000000
736.000000 160.000000 -32.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 128.000000 -32.000000
688.000000 128.000000 -32.000000
688.000000 144.000000 -96.000000
736.000000 144.000000 -96.000000
736.000000 176.000000 -96.000000
736.000000 160.000000 -32.000000
688.000000 176.000000 -96.000000
688.000000 160.000000 -32.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 144.000000 -96.000000
688.000000 176.000000 -96.000000
688.000000 224.000000 -160.000000
688.000000 192.000000 -160.000000
736.000000 192.000000 -160.000000
736.000000 144.000000 -96.000000
736.000000 224.000000 -160.000000
736.000000 176.000000 -96.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 144.000000 96.000000
688.000000 128.000000 32.000000
736.000000 128.000000 32.000000
736.000000 144.000000 96.000000
736.000000 160.000000 32.000000
736.000000 176.000000 96.000000
688.000000 176.000000 96.000000
688.000000 160.000000 32.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 180.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 180.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 224.000000 160.000000
688.000000 176.000000 96.000000
688.000000 144.000000 96.000000
688.000000 192.000000 160.000000
736.000000 144.000000 96.000000
736.000000 192.000000 160.000000
736.000000 224.000000 160.000000
736.000000 176.000000 96.000000
faces
0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 180.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 144.000000 96.000000
736.000000 128.000000 32.000000
784.000000 128.000000 32.000000
784.000000 144.000000 96.000000
784.000000 160.000000 32.000000
784.000000 176.000000 96.000000
736.000000 176.000000 96.000000
736.000000 160.000000 32.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 180.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 180.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 __TB_empty
brush
vertices
736.000000 224.000000 160.000000
736.000000 176.000000 96.000000
736.000000 144.000000 96.000000
736.000000 192.000000 160.000000
784.000000 144.000000 96.000000
784.000000 192.000000 160.000000
784.000000 224.000000 160.000000
784.000000 176.000000 96.000000
faces
0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 180.000000 4 7 6 5 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
brush
vertices
784.000000 240.000000 -288.000000
784.000000 240.000000 -352.000000
784.000000 272.000000 -352.000000
784.000000 272.000000 -288.000000
736.000000 272.000000 -288.000000
736.000000 240.000000 -288.000000
736.000000 272.000000 -352.000000
736.000000 240.000000 -352.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 __TB_empty
brush
vertices
784.000000 256.000000 -416.000000
784.000000 224.000000 -416.000000
736.000000 224.000000 -416.000000
736.000000 256.000000 -416.000000
736.000000 272.000000 -352.000000
784.000000 272.000000 -352.000000
736.000000 240.000000 -352.000000
784.000000 240.000000 -352.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
brush
vertices
736.000000 192.000000 -160.000000
736.000000 224.000000 -224.000000
736.000000 256.000000 -224.000000
736.000000 224.000000 -160.000000
688.000000 224.000000 -160.000000
688.000000 192.000000 -160.000000
688.000000 256.000000 -224.000000
688.000000 224.000000 -224.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 240.000000 -288.000000
688.000000 224.000000 -224.000000
688.000000 256.000000 -224.000000
688.000000 272.000000 -288.000000
736.000000 272.000000 -288.000000
736.000000 240.000000 -288.000000
736.000000 256.000000 -224.000000
736.000000 224.000000 -224.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 240.000000 -288.000000
736.000000 240.000000 -352.000000
736.000000 272.000000 -352.000000
736.000000 272.000000 -288.000000
688.000000 272.000000 -288.000000
688.000000 240.000000 -288.000000
688.000000 272.000000 -352.000000
688.000000 240.000000 -352.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 256.000000 -416.000000
736.000000 224.000000 -416.000000
688.000000 224.000000 -416.000000
688.000000 256.000000 -416.000000
688.000000 272.000000 -352.000000
736.000000 272.000000 -352.000000
688.000000 240.000000 -352.000000
736.000000 240.000000 -352.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
784.000000 256.000000 224.000000
784.000000 224.000000 224.000000
784.000000 192.000000 160.000000
784.000000 224.000000 160.000000
736.000000 192.000000 160.000000
736.000000 224.000000 160.000000
736.000000 256.000000 224.000000
736.000000 224.000000 224.000000
faces
0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 180.000000 4 7 6 5 0x00000000 __TB_empty
brush
vertices
736.000000 256.000000 224.000000
736.000000 224.000000 224.000000
736.000000 192.000000 160.000000
736.000000 224.000000 160.000000
688.000000 192.000000 160.000000
688.000000 224.000000 160.000000
688.000000 256.000000 224.000000
688.000000 224.000000 224.000000
faces
0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 180.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 256.000000 224.000000
688.000000 224.000000 224.000000
688.000000 240.000000 288.000000
688.000000 272.000000 288.000000
736.000000 240.000000 288.000000
736.000000 272.000000 288.000000
736.000000 256.000000 224.000000
736.000000 224.000000 224.000000
faces
0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 180.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 256.000000 224.000000
736.000000 224.000000 224.000000
736.000000 240.000000 288.000000
736.000000 272.000000 288.000000
784.000000 240.000000 288.000000
784.000000 272.000000 288.000000
784.000000 256.000000 224.000000
784.000000 224.000000 224.000000
faces
0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 180.000000 4 7 6 5 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
brush
vertices
784.000000 272.000000 352.000000
784.000000 240.000000 352.000000
784.000000 240.000000 288.000000
784.000000 272.000000 288.000000
736.000000 240.000000 288.000000
736.000000 272.000000 288.000000
736.000000 272.000000 352.000000
736.000000 240.000000 352.000000
faces
0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 180.000000 4 7 6 5 0x00000000 __TB_empty
brush
vertices
736.000000 272.000000 352.000000
736.000000 240.000000 352.000000
736.000000 240.000000 288.000000
736.000000 272.000000 288.000000
688.000000 240.000000 288.000000
688.000000 272.000000 288.000000
688.000000 272.000000 352.000000
688.000000 240.000000 352.000000
faces
0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 180.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 224.000000 416.000000
736.000000 224.000000 416.000000
736.000000 256.000000 416.000000
688.000000 256.000000 416.000000
736.000000 272.000000 352.000000
688.000000 272.000000 352.000000
688.000000 240.000000 352.000000
736.000000 240.000000 352.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 180.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 180.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 224.000000 416.000000
784.000000 224.000000 416.000000
784.000000 256.000000 416.000000
736.000000 256.000000 416.000000
784.000000 272.000000 352.000000
736.000000 272.000000 352.000000
736.000000 240.000000 352.000000
784.000000 240.000000 352.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 180.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 4 7 6 5 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 180.000000 1 7 4 2 0x00000000 __TB_empty
brush
vertices
736.000000 592.000000 -416.000000
784.000000 592.000000 -416.000000
784.000000 560.000000 -416.000000
736.000000 560.000000 -416.000000
784.000000 544.000000 -352.000000
736.000000 544.000000 -352.000000
736.000000 576.000000 -352.000000
784.000000 576.000000 -352.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
brush
vertices
688.000000 592.000000 -416.000000
736.000000 592.000000 -416.000000
736.000000 560.000000 -416.000000
688.000000 560.000000 -416.000000
736.000000 544.000000 -352.000000
688.000000 544.000000 -352.000000
688.000000 576.000000 -352.000000
736.000000 576.000000 -352.000000
faces
0.000000 -48.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 544.000000 -352.000000
736.000000 576.000000 -352.000000
736.000000 576.000000 -288.000000
736.000000 544.000000 -288.000000
688.000000 576.000000 -288.000000
688.000000 544.000000 -288.000000
688.000000 544.000000 -352.000000
688.000000 576.000000 -352.000000
faces
0.000000 -48.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
784.000000 544.000000 -352.000000
784.000000 576.000000 -352.000000
784.000000 576.000000 -288.000000
784.000000 544.000000 -288.000000
736.000000 576.000000 -288.000000
736.000000 544.000000 -288.000000
736.000000 544.000000 -352.000000
736.000000 576.000000 -352.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 __TB_empty
brush
vertices
736.000000 560.000000 -224.000000
736.000000 592.000000 -224.000000
736.000000 576.000000 -288.000000
736.000000 544.000000 -288.000000
784.000000 576.000000 -288.000000
784.000000 544.000000 -288.000000
784.000000 560.000000 -224.000000
784.000000 592.000000 -224.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
brush
vertices
688.000000 560.000000 -224.000000
688.000000 592.000000 -224.000000
688.000000 576.000000 -288.000000
688.000000 544.000000 -288.000000
736.000000 576.000000 -288.000000
736.000000 544.000000 -288.000000
736.000000 560.000000 -224.000000
736.000000 592.000000 -224.000000
faces
0.000000 -48.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 560.000000 -224.000000
736.000000 592.000000 -224.000000
736.000000 624.000000 -160.000000
736.000000 592.000000 -160.000000
688.000000 624.000000 -160.000000
688.000000 592.000000 -160.000000
688.000000 560.000000 -224.000000
688.000000 592.000000 -224.000000
faces
0.000000 -48.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
784.000000 560.000000 -224.000000
784.000000 592.000000 -224.000000
784.000000 624.000000 -160.000000
784.000000 592.000000 -160.000000
736.000000 624.000000 -160.000000
736.000000 592.000000 -160.000000
736.000000 560.000000 -224.000000
736.000000 592.000000 -224.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 __TB_empty
brush
vertices
736.000000 592.000000 -160.000000
736.000000 640.000000 -96.000000
736.000000 672.000000 -96.000000
736.000000 624.000000 -160.000000
784.000000 672.000000 -96.000000
784.000000 624.000000 -160.000000
784.000000 592.000000 -160.000000
784.000000 640.000000 -96.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
brush
vertices
688.000000 592.000000 -160.000000
688.000000 640.000000 -96.000000
688.000000 672.000000 -96.000000
688.000000 624.000000 -160.000000
736.000000 672.000000 -96.000000
736.000000 624.000000 -160.000000
736.000000 592.000000 -160.000000
736.000000 640.000000 -96.000000
faces
0.000000 -48.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 672.000000 -96.000000
688.000000 688.000000 -32.000000
736.000000 688.000000 -32.000000
736.000000 672.000000 -96.000000
736.000000 656.000000 -32.000000
736.000000 640.000000 -96.000000
688.000000 640.000000 -96.000000
688.000000 656.000000 -32.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 4 7 6 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 672.000000 -96.000000
736.000000 688.000000 -32.000000
784.000000 688.000000 -32.000000
784.000000 672.000000 -96.000000
784.000000 656.000000 -32.000000
784.000000 640.000000 -96.000000
736.000000 640.000000 -96.000000
736.000000 656.000000 -32.000000
faces
0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 4 5 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 4 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 4 7 6 5 0x00000000 __TB_empty
brush
vertices
736.000000 656.000000 32.000000
736.000000 688.000000 32.000000
736.000000 688.000000 -32.000000
736.000000 656.000000 -32.000000
784.000000 688.000000 -32.000000
784.000000 688.000000 32.000000
784.000000 656.000000 32.000000
784.000000 656.000000 -32.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty
brush
vertices
784.000000 688.000000 32.000000
736.000000 688.000000 32.000000
736.000000 672.000000 96.000000
784.000000 672.000000 96.000000
784.000000 640.000000 96.000000
784.000000 656.000000 32.000000
736.000000 640.000000 96.000000
736.000000 656.000000 32.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 180.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 180.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 5 4 0x00000000 __TB_empty
brush
vertices
736.000000 688.000000 32.000000
688.000000 688.000000 32.000000
688.000000 672.000000 96.000000
736.000000 672.000000 96.000000
736.000000 640.000000 96.000000
736.000000 656.000000 32.000000
688.000000 640.000000 96.000000
688.000000 656.000000 32.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 180.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 180.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 656.000000 32.000000
688.000000 688.000000 32.000000
688.000000 688.000000 -32.000000
688.000000 656.000000 -32.000000
736.000000 688.000000 -32.000000
736.000000 688.000000 32.000000
736.000000 656.000000 32.000000
736.000000 656.000000 -32.000000
faces
0.000000 -48.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 4 5 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 2 4 7 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 6 5 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 672.000000 96.000000
688.000000 640.000000 96.000000
688.000000 592.000000 160.000000
688.000000 624.000000 160.000000
736.000000 624.000000 160.000000
736.000000 672.000000 96.000000
736.000000 592.000000 160.000000
736.000000 640.000000 96.000000
faces
0.000000 -48.000000 2.000000 2.000000 180.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 180.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 672.000000 96.000000
736.000000 640.000000 96.000000
736.000000 592.000000 160.000000
736.000000 624.000000 160.000000
784.000000 624.000000 160.000000
784.000000 672.000000 96.000000
784.000000 592.000000 160.000000
784.000000 640.000000 96.000000
faces
0.000000 0.000000 2.000000 2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 180.000000 6 7 5 4 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
brush
vertices
784.000000 624.000000 160.000000
784.000000 592.000000 224.000000
784.000000 560.000000 224.000000
784.000000 592.000000 160.000000
736.000000 592.000000 160.000000
736.000000 624.000000 160.000000
736.000000 560.000000 224.000000
736.000000 592.000000 224.000000
faces
0.000000 0.000000 2.000000 2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 180.000000 6 7 5 4 0x00000000 __TB_empty
brush
vertices
736.000000 624.000000 160.000000
736.000000 592.000000 224.000000
736.000000 560.000000 224.000000
736.000000 592.000000 160.000000
688.000000 592.000000 160.000000
688.000000 624.000000 160.000000
688.000000 560.000000 224.000000
688.000000 592.000000 224.000000
faces
0.000000 -48.000000 2.000000 2.000000 180.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 180.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
brush
vertices
688.000000 576.000000 288.000000
688.000000 592.000000 224.000000
688.000000 560.000000 224.000000
688.000000 544.000000 288.000000
736.000000 544.000000 288.000000
736.000000 576.000000 288.000000
736.000000 560.000000 224.000000
736.000000 592.000000 224.000000
faces
0.000000 -48.000000 2.000000 2.000000 180.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 180.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 576.000000 288.000000
736.000000 592.000000 224.000000
736.000000 560.000000 224.000000
736.000000 544.000000 288.000000
784.000000 544.000000 288.000000
784.000000 576.000000 288.000000
784.000000 560.000000 224.000000
784.000000 592.000000 224.000000
faces
0.000000 0.000000 2.000000 2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 180.000000 6 7 5 4 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
brush
vertices
784.000000 576.000000 288.000000
784.000000 576.000000 352.000000
784.000000 544.000000 352.000000
784.000000 544.000000 288.000000
736.000000 544.000000 288.000000
736.000000 576.000000 288.000000
736.000000 544.000000 352.000000
736.000000 576.000000 352.000000
faces
0.000000 0.000000 2.000000 2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 180.000000 6 7 5 4 0x00000000 __TB_empty
brush
vertices
736.000000 576.000000 288.000000
736.000000 576.000000 352.000000
736.000000 544.000000 352.000000
736.000000 544.000000 288.000000
688.000000 544.000000 288.000000
688.000000 576.000000 288.000000
688.000000 544.000000 352.000000
688.000000 576.000000 352.000000
faces
0.000000 -48.000000 2.000000 2.000000 180.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 180.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
brush
vertices
736.000000 560.000000 416.000000
736.000000 592.000000 416.000000
688.000000 592.000000 416.000000
688.000000 560.000000 416.000000
688.000000 544.000000 352.000000
736.000000 544.000000 352.000000
688.000000 576.000000 352.000000
736.000000 576.000000 352.000000
faces
0.000000 -48.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 180.000000 2 6 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 -2.000000 -0.000000 6 7 5 4 0x00000000 internal/editor/textures/editor_clip
0.000000 -48.000000 2.000000 2.000000 180.000000 5 7 1 0 0x00000000 internal/editor/textures/editor_clip
brush
vertices
784.000000 560.000000 416.000000
784.000000 592.000000 416.000000
736.000000 592.000000 416.000000
736.000000 560.000000 416.000000
736.000000 544.000000 352.000000
784.000000 544.000000 352.000000
736.000000 576.000000 352.000000
784.000000 576.000000 352.000000
faces
0.000000 0.000000 2.000000 -2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 4 5 0 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 180.000000 2 6 4 3 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 1 7 6 2 0x00000000 __TB_empty
0.000000 0.000000 2.000000 -2.000000 -0.000000 6 7 5 4 0x00000000 __TB_empty
0.000000 0.000000 2.000000 2.000000 180.000000 5 7 1 0 0x00000000 __TB_empty
entity
type PlayerSpawn
Vector3 position -0.000000 440.000000 -0.000000
Vector3 angles 90.000000 0.000000 0.000000
Bool8 TeamA 0
entity
type PlayerSpawn
Vector3 position 736.000000 168.000000 -0.000000
Vector3 angles 270.000000 0.000000 0.000000
Bool8 TeamB 0
entity
type PlayerSpawn
Vector3 position 736.000000 696.000000 -0.000000
Vector3 angles 270.000000 0.000000 0.000000
Bool8 TeamB 0
|
a94cf9b8d7cdd04033e41dfa1224f73eef5305cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH5/EX5.5/5_5.sce | f7f2747eb6650b1e9b04c2b37c303e94fb66d0eb | [] | 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 | 565 | sce | 5_5.sce | //Find Interplanar Spacing
//Ex:5.5
clc;
clear;
close;
r=1.246;//radius in angstorm
h=2;
k=0;
l=0;
x=sqrt(h^2+k^2+l^2);
a=2*sqrt(2)*r;//in angstorm
d_200=a/x;//interplanar spacing in angstorm
disp(d_200,"Interplanar Spacing (200) (in Angstorm) = ");
h1=2;
k1=2;
l1=0;
x1=sqrt(h1^2+k1^2+l1^2);
d_220=a/x1;//interplanar spacing in angstorm
disp(d_220,"Interplanar Spacing (220) (in Angstorm) = ");
h2=1;
k2=1;
l2=1;
x2=sqrt(h2^2+k2^2+l2^2);
d_111=a/x2;//interplanar spacing in angstorm
disp(d_111,"Interplanar Spacing (111) (in Angstorm) = "); |
f679a5eb3c03ad79beb965baa59823e8066376bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH11/EX11.03/11_03.sce | cc4eee914c9e8311eeeb70dc98cf7d2054bbaed5 | [] | 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 | 683 | sce | 11_03.sce | //Speed of sound//
pathname=get_absolute_file_path('11.03.sce')
filename=pathname+filesep()+'11.03-data.sci'
exec(filename)
//Values of altitude(in m):
Al=0:1000:15000
[nAl mAl]=size(Al);
//Values of temperature at given altitudes(in K):
T=[288.2 281.7 275.2 268.7 262.2 255.7 249.2 242.7 236.2 229.7 223.3 216.8 216.7 216.7 216.7 216.7];
[nT mT]=size(T);
//Values of speed of sound at these altitudes(in m/sec):
j=1:mT;
c=sqrt(k*R*T(j))
//Speed of sound at sea level(in m/sec):
c1=sqrt(k*R*T(1))
plot(c,Al)
xtitle('Variation of sound speed with altitude','Speed of sound(m/sec)','Altitude(m)')
printf("\n\nRESULTS\n\n")
printf("\n\nSpeed of sound at sea level: %.3f m/sec\n\n",c1)
|
ee1797f3b7065d3bfb686a5d44d4597d35d11c47 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/asinhm.man.tst | ccbcd09a3fe0e9c54fa4f691955f74632b233656 | [
"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 | 45 | tst | asinhm.man.tst | clear;lines(0);
A=[1,2;2,3]
sinhm(asinhm(A))
|
acf91cbe64296e49f0a4377354d7a7ae10ca6cb3 | 33cf645e9e65f22a3670517a08959b0963cd0cd3 | /Exercice6_tp3.sce | 9e2fedb2fa559790b0bcbfe43c897403ccb1f845 | [] | no_license | Abla-Adem/TP-calcul-numerique | eecda616e8d512e972c19701c3ff847c184c9e6b | c75cc37dd09787fa87867c106adb1ee69d6b581d | refs/heads/main | 2023-02-06T15:15:50.993839 | 2020-12-25T13:10:35 | 2020-12-25T13:10:35 | 314,226,297 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,651 | sce | Exercice6_tp3.sce | function [A]=trimat(n)
A=zeros(n,n)
A(1,1)=2
A(1,2)=-1
for i=2:n-1
A(i,i-1)=-1
A(i,i)=2
A(i,i+1)=-1
end
A(n,n-1)=-1
A(n,n)=2
endfunction
function [x,test,r]=jacobi(A,n,b,eps)
M=-(triu(A,1)+tril(A,-1))
temp=diag(A)
N=zeros(n,n)
for i=1:n
N(i,i)=temp(i)
end
x=zeros(n,1);
B=inv(N)*M
v=inv(N)*b
temp=zeros(n,1)
ev=zeros(n,1)
r=1
test=0
//on considere que l'intervalle est uniforme ,ainsi on le calcul une seul fois
while(r>eps)
ev=zeros(n,1)
temp=zeros(n,1)
temp=B*x+v
r=norm(b-A*x)
// e=norm(ev)
x=temp
test=test+1
end
endfunction
function [x,test,r]=jacobi_tri(A,n,b,eps)
D=(1./diag(A))
F=-diag(A,1)(2:n-1)
E=-diag(A,-1)(1:n-2)
F=D(2:n-1).*F
E=D(2:n-1).*E
x=zeros(n,1);
temp=zeros(n,1)
ev=zeros(n,1)
v=D.*b
r=1
test=0
//on considere que l'intervalle est uniforme ,ainsi on le calcul une seul fois
while(r>eps)
//temp=B()*x+v
for i=2:n-1
temp(i)=F(i-1)*x(i-1)+E(i-1)*x(i+1)+v(i)
end
temp(1)=D(1)*-A(1,2)*x(2)+v(1)
temp(n)=D(n)*-A(n,n-1)*x(n-1)+v(n)
r=norm(b-A*x)
// e=norm(ev)
x=temp
test=test+1
end
endfunction
function [x,test,e]=gaus_seidel(A,n,b,eps)
F=-triu(a,1)
temp=diag(A)
D=zeros(n,n)
for i=1:n
D(i,i)=temp(i)
end
x=zeros(n,1);
B=inv(D+tril(a,-1))
v=B*b
temp=zeros(n,1)
ev=zeros(n,1)
e=1
test=0
//on considere que l'intervalle est uniforme ,ainsi on le calcul une seul fois
while(e>eps)
temp=B*F*x+v
ev=b-temp
x=temp
e=norm(b-A*x)
test=test+1
end
endfunction
function [P,A] = pivot(A,n)
P=zeros(n,n)
t=[1:n]
tem=0
z=zeros(1,n)
for k=1:n-1
[val,i]=max(abs(A(k:n,k)))
i=i+k-1
P(t(i),k)=P(t(i),k)+1;
z(t(i))=z(t(i))-1
if(k~=i)
temp=A(k,1:n)
tem=t(i)
t(i)=t(k)
t(k)=tem
A(k,1:n)=A(i,1:n)
A(i,1:n)=temp;
end
end
[val,i]=max(z)
P(i,n)=P(i,n)+1
endfunction
|
bc2ebb3221246ef205d0a57b64ed505b7a0f836f | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/demos/leader_follower.dem.sce | bed102ef764c5b3d6e7c44c74a99243feda12f47 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | leader_follower.dem.sce | mode(-1);
lines(0);
my_handle = scf(1);
clf(my_handle,"reset");
demo_viewCode("leader_follower.dem.sce");
// DEMO START
samples = [rand(2,10), -1*rand(2,10)];
theta = 1;
[centers, labels] = leader_follower(samples, theta);
scf(1);
plot(samples(1,:), samples(2,:), 'b.', 'MarkerSize', 3);
scf(2);
style = ['g.', 'c.', 'y.', 'k.', 'm.'];
ul = unique(labels)
for i = 1:length(ul),
plot(samples(1,find(labels==ul(i))), samples(2,find(labels==ul(i))), style(i), 'MarkerSize', 3);
set(gca(), "auto_clear", "off");
end
plot(centers(1,:), centers(2,:), 'r.', 'MarkerSize', 4);
// DEMO END
|
5c6b5faac8e58dfefc97461766295c4003858d85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.58/58.sci | 612dd38d78022e3853c37a894869955c5218a9ac | [] | 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 | 226 | sci | 58.sci | clc;
clear all;
disp("To find heat flow rate")
x1=50/1000;//m
x2=250/1000;//m
t1=400;// degree C
t2=200;// degree C
c=0.22;
k=3.6 ;// W/(m*C)
Q=3.1416*c*c*k*(t1-t2)/(4*(1/x1-1/x2));
disp("W",Q," Heat flow rate = ")
|
32aee7627af1d6a4cff679e550b8d5906f57b3af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.21/ex6_21.sce | 87b6d5e7d791827b0b3a63401f1ea9dbb53cbfd9 | [] | 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 | 269 | sce | ex6_21.sce | // Exa 6.21
clc;
clear;
close;
// Given data
I_DSS = 8.4;// in mA
V_P = -3;// in V
V_GS = -1.5;// in V
I_D = I_DSS*(1-(V_GS/V_P))^2;// in mA
g_mo = -( (2*I_DSS)/V_P );// in mA/V
g_m = g_mo*(1-(V_GS/V_P));// in mA/V
disp(g_m,"The value of g_m in mA/V is");
|
71749f9e82ee910550a8030a03c9c44b004661fb | 58c6a65b352530c1500cde668699db6ecad90619 | /scilab/sp.sce | d586df7bb5e3e811e7cc927c263fdcf44879b450 | [
"BSD-3-Clause"
] | permissive | resetius/sp | a85de8c76e3a12710642a88fcbe6d50bfa574575 | e41f15ab5d1f8fbf31229ec86be0efeca9030163 | refs/heads/master | 2022-09-07T05:16:07.844350 | 2014-08-14T20:02:28 | 2014-08-14T20:02:28 | 264,233,477 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,692 | sce | sp.sce |
spinitialized=0;
function initspherepack()
if (spinitialized <> 1) then
link("sp", [
"sp_lapl",
"sp_math2geo",
"sp_geo2math",
"sp_math2geov",
"sp_geo2mathv",
"sp_func2koef",
"sp_koef2func"
], "c")
spinitialized = 1;
end
endfunction
function lap = sp_lapl(fun)
[nlat, nlon] = size(fun)
lap = call("sp_lapl", ...
fun, 2, "d", ...
nlat, 3, "i",...
nlon, 4, "i",...
"out", ...
[nlat, nlon], 1, "d")
endfunction
function geo = sp_math2geo(src)
[nlon, nlat] = size(src)
geo = call("sp_math2geo", ...
src, 2, "d", ...
nlat, 3, "i", ...
nlon, 4, "i", ...
"out", ...
[nlat, nlon], 1, "d"...
)
endfunction
function sp_geo2math = geo2math(src)
[nlat, nlon] = size(src)
math = call("sp_geo2math", ...
src, 2, "d", ...
nlat, 3, "i", ...
nlon, 4, "i", ...
"out", ...
[nlon, nlat], 1, "d"...
)
endfunction
//works with geo
function k = sp_func2koef(src)
[nlat, nlon] = size(src)
mdab = min(nlat, int((nlon + 2) / 2) )
k = zeros(nlat*2*mdab,1)
k = call("sp_func2koef", ...
src, 2, "d", ...
nlat, 3, "i", ...
nlon, 4, "i", ...
"out", ...
size(k), 1, "d"...
)
endfunction
function f = sp_koef2func(src, nlat, nlon)
f = zeros(nlat,nlon)
f = call("sp_koef2func", ...
src, 2, "d", ...
nlat, 3, "i", ...
nlon, 4, "i", ...
"out", ...
[nlat, nlon], 1, "d"...
)
endfunction
|
7aa9519431debecf71083632c5f20e7b4da00ba4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH1/EX1.24/Ex1_24.sce | 17facd2e95f5479c25045a30b01bd85c88b18bcb | [] | 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 | 163 | sce | Ex1_24.sce |
//CH-1 PAGE-42 PB-1
//
//
sc=100
a=2.5
m=6
RF=(a/sc)
printf("\n RF is %0.3f ",RF)
length1=RF*m*sc
printf("\n length1 of scale is %0.3f meters',length1)
|
3d05e1d5b0b3a0b0d906daedd782f293e8ca2c32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH3/EX3.1/ex3_1.sce | ad95c82320008396b864ce4bc9d22bb10573167d | [] | 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 | 847 | sce | ex3_1.sce | clc;
warning("off");
printf("\n\n example3.1 - pg65");
// given
a=0.0006; //[m^2] - area
l=0.1; //[m] - length
// (a) using the fourier law
deltax=0.1; //[m] - thickness of copper block
T2=100; //[degC] - temp on one side of copper block
T1=0; //[degC] - temp on other side of the copper block
k=380; //[W/mK] - thermal conductivity
// using the formula (q/A)*deltax=-k*(T2-T1)
g=-k*(T2-T1)/deltax;
printf("\n\n (a) The steady state heat flux across the copper block is\n q/A=%5eJ*m^-2*sec^-1 ",g);
// (b)
V=a*l; //[m^3] - volume
// using the overall balance equation with the accumulation and generation term
Qgen=1.5*10^6; //[j*m^-3*sec^-1]
SIx=(g*a-Qgen*V)/a;
printf("\n\n (b) the flux at face 1 is %5ej*m^-2*sec^-1;\nthe negative sign indicates taht the heat flux is from right to left(negative x direction",SIx);
|
379345f1dbd85cfd9f68e136308e50663791db4f | 2f7b1fa044c246ffe96b7e6e7b96aa95f9031cdf | /Anul 2/Anul_2/Metode_Numerice/Laborator/MN rezolvari/MN_Lab/lab3_fct_progr.sce | a147de0ee9700db634a7f567b4b3c37de676c2bf | [] | no_license | stickyrst/automatica | 1f902091376c0f65c08a66721de3185a70f88d26 | 2ac48ae78f45b787724fa90c0e7acd8052e6725c | refs/heads/master | 2020-06-11T18:39:23.768638 | 2018-05-30T19:55:38 | 2018-05-30T19:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | lab3_fct_progr.sce | x=[1 2 3 4 5 6 7 8 9 10];
y=[9 8 5 8 4 6 2 3 5 1];
z=[1.25 5.63 9.8 4.24 7.31];
n=[0:9]
xx=interpln([x;y],z)
disp(xx);
xxx=interp1(x,y,z)
disp(xxx);
xxxx=linear_interpn(z,x,y,"periodic")
disp(xxxx);
|
3c258c40b59fac8461d3ce5051a506b242031f75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH8/EX8.3/8_3.sce | 31b75d406736630d4311a0b20d97ed24128e4ac3 | [] | 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 | 211 | sce | 8_3.sce | clc
clear
//Initialization of variables
k=1.4
g=32.2 //ft/s^2
R=53.3 //ft-lb/lb R
T=389.9 //R
Nm=2
//calculations
c=sqrt(k*g*R*T)
V=Nm*c*3600/5280
//results
printf("Speed of test plane = %d mph",V)
|
d0491fe93a39e1d6e24ec2c70f38e847cc6408dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH6/EX6.2w/6_2w.sce | 4d2ddeb09f8ac421cfcc36e3820a9aa1368de8ab | [] | 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 | 621 | sce | 6_2w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 6.2w
//calculation of frictional force and minimum value of coefficient of static friction
//given data
m=4//mass(in kg) of the block
f=20//frictional force(in N)=horizontal force(in N)
g=10//gravitational acceleration(in m/s^2) of the earth
//calculation
N=m*g//normal force
musmin=f/N
printf('the frictional force on the block,in opposite direction to the applied force is %3.2f N',f)
printf('\nthe coefficient of static friction between the block and the table is greater than or equal to %3.2f',musmin)
|
4aef6c4eba6c934fb87388a828c2290788587cb6 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.8_6.tst | 9cba4745f2e861945db4c7c34c1fc10beaed683c | [] | 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 | 5,772 | tst | bow.8_6.tst | 8 4:0.5 6:1.0 9:0.5 15:0.3333333333333333 25:0.2 40:0.16666666666666666 44:0.08163265306122448 58:0.5 63:1.0 70:0.2 92:1.0 130:0.3333333333333333 149:1.0 210:0.14285714285714285 215:1.0 227:1.0 253:1.0 379:1.0 479:1.0 536:1.0 570:1.0 573:1.0 722:1.0 880:1.0 1100:2.0 1379:1.0 1580:1.0
8 4:0.5 25:0.2 50:1.0 1075:1.0
8 9:0.5 23:0.1111111111111111 25:0.4 40:0.16666666666666666 44:0.04081632653061224 58:0.5 69:0.14285714285714285 92:1.0 111:1.0 210:0.14285714285714285 241:1.0 411:0.2 641:0.3333333333333333 705:1.0 1430:1.0
8 4:1.0 17:0.07692307692307693 21:0.1111111111111111 50:1.0 59:0.3333333333333333 98:0.25 128:0.25 228:1.0 493:1.0 597:1.0 677:1.0 1415:1.0
8 6:1.0 7:1.0 8:1.0 17:0.07692307692307693 58:1.0 60:1.0 83:0.16666666666666666 179:0.2 272:1.0 280:1.0 423:1.0 451:1.0 677:3.0 681:2.0 857:0.3333333333333333 1080:1.0
8 17:0.07692307692307693 18:1.0 164:1.0 267:1.0 382:1.0 677:2.0 710:1.0 1003:1.0
8 17:0.15384615384615385 21:0.1111111111111111 23:0.2222222222222222 25:0.2 32:0.5 40:0.5 48:1.0 66:2.0 98:0.25 101:1.0 104:1.0 110:0.5 148:2.0 282:1.0 398:1.0 449:1.0 454:1.0 466:0.25 839:1.0 1288:1.0 1379:1.0
8 5:1.0 6:1.0 21:0.2222222222222222 36:1.0 40:0.16666666666666666 44:0.02040816326530612 58:0.5 70:0.1 97:1.0 98:0.25 127:0.5 243:0.5 253:2.0 305:1.0 759:1.0 809:1.0 1123:1.0 1150:0.5 1284:1.0 1379:1.0 1438:1.0
8 25:0.2 135:1.0 441:0.25 753:1.0
8 21:0.2222222222222222 23:0.1111111111111111 32:0.5 130:0.3333333333333333 945:1.0
8 6:1.5 13:0.3333333333333333 17:0.15384615384615385 21:0.1111111111111111 23:0.1111111111111111 25:0.4 32:0.5 40:0.16666666666666666 44:0.08163265306122448 48:1.0 58:0.5 69:0.14285714285714285 87:0.6666666666666666 89:1.0 92:2.0 98:0.25 135:1.0 179:0.2 253:1.0 369:2.0 393:2.0 441:0.25 450:0.5 668:2.0 680:1.0 1011:1.0 1357:1.0 1680:1.0
8 6:0.5 21:0.2222222222222222 23:0.2222222222222222 32:0.5 44:0.061224489795918366 58:0.5 92:1.0 107:0.25 128:0.25 456:1.0 1221:1.0
8 21:0.2222222222222222 23:0.2222222222222222 25:0.2 44:0.02040816326530612 51:1.0 179:0.2 193:0.125 210:0.14285714285714285 215:1.0 324:1.0 554:0.5 573:1.0 1100:1.0 1679:1.0
8 6:0.5 15:0.3333333333333333 18:1.0 21:0.5555555555555556 23:0.2222222222222222 32:2.0 40:0.5 44:0.02040816326530612 48:1.0 68:1.0 70:0.1 89:1.0 92:2.0 98:0.25 222:0.3333333333333333 346:0.5 368:1.0 441:0.25 730:0.25 801:1.0 826:1.0 868:1.0 898:1.0 1529:1.0
8 6:0.5 25:0.2 44:0.02040816326530612 69:0.2857142857142857 70:0.1 98:0.25 130:0.3333333333333333 194:0.5 210:0.14285714285714285 232:1.0 334:1.0 359:0.5 466:0.25 569:1.0 680:1.0 1122:1.0 1438:1.0 1533:1.0
8 9:1.0 21:0.3333333333333333 23:0.1111111111111111 37:0.5 38:0.3333333333333333 40:0.3333333333333333 98:0.25 111:1.0 148:1.0 179:0.2 253:1.0 286:1.0 570:1.0 1311:1.0 1312:1.0 1313:0.5 1314:1.0 1315:1.0 1316:1.0 1317:1.0 1318:1.0 1319:1.0 1320:1.0 1321:1.0 1322:1.0 1323:1.0
8 21:0.1111111111111111 411:0.2 566:1.0 1171:1.0 1324:1.0 1325:1.0 1326:1.0
8 21:0.1111111111111111 25:0.2 32:0.5 48:1.0 70:0.1 83:0.16666666666666666 276:1.0 1266:1.0 1277:1.0 1327:1.0 1328:1.0 1329:1.0 1330:1.0 1331:1.0
8 69:0.2857142857142857 70:0.1 83:0.16666666666666666 193:0.125 563:1.0 741:1.0 1126:0.5 1332:1.0 1333:1.0 1334:1.0
8 21:0.1111111111111111 32:0.5 40:0.3333333333333333 59:0.3333333333333333 98:0.25 271:0.3333333333333333 451:1.0 1128:0.3333333333333333 1136:1.0 1335:1.0 1336:1.0 1337:1.0 1338:1.0 1339:1.0 1340:1.0 1341:1.0 1342:1.0 1343:1.0
8 6:0.5 25:0.2 26:1.0 37:0.5 78:0.5 336:0.2 418:1.0 741:1.0 1344:1.0 1345:1.0 1346:1.0
8 6:0.5 9:0.5 25:0.2 26:3.0 32:0.5 40:0.3333333333333333 44:0.02040816326530612 48:2.0 59:0.3333333333333333 70:0.1 98:0.25 138:2.0 148:1.0 180:1.0 217:1.0 253:1.0 271:0.6666666666666666 351:1.0 759:1.0 814:1.0 851:1.0 1153:1.0 1335:1.0 1347:1.0 1348:1.0 1349:1.0
8 98:0.25 402:1.0 665:0.5 1350:1.0
8 4:0.5 6:0.5 13:0.3333333333333333 15:0.3333333333333333 21:0.2222222222222222 40:0.16666666666666666 48:1.0 98:0.25 411:0.2 449:1.0 685:1.0 1088:1.0 1235:1.0 1351:1.0 1352:1.0 1353:1.0 1354:1.0 1355:1.0 1356:1.0 1357:1.0 1358:1.0 1359:1.0 1360:1.0
8 5:1.0 6:0.5 25:0.2 44:0.04081632653061224 98:0.25 128:0.25 148:1.0 164:1.0 253:1.0 256:1.0 423:1.0 424:1.0 426:0.25 1126:0.5 1150:0.5 1249:1.0 1354:1.0 1361:1.0 1362:1.0 1363:1.0
8 18:1.0 21:0.1111111111111111 23:0.2222222222222222 44:0.02040816326530612 70:0.1 94:0.5 98:0.25 107:0.25 241:1.0 382:1.0 1221:1.0 1364:1.0 1365:1.0 1366:1.0 1367:1.0 1368:1.0 1369:1.0
8 6:0.5 23:0.1111111111111111 40:0.16666666666666666 70:0.1 402:1.0 1150:0.5 1370:1.0 1371:1.0
8 455:1.0 709:0.5
8 9:1.0 17:0.07692307692307693 21:0.1111111111111111 25:0.2 32:0.5 40:0.16666666666666666 44:0.04081632653061224 82:1.0 98:0.25 227:1.0 288:1.0 454:1.0 456:1.0 882:1.0 1372:1.0 1373:1.0 1374:1.0 1375:0.5 1376:1.0 1377:1.0 1378:1.0 1379:1.0 1380:1.0 1381:1.0
8 40:0.16666666666666666 230:1.0 1375:0.5 1382:1.0
8 4:0.5 15:0.3333333333333333 17:0.23076923076923078 36:1.0 44:0.02040816326530612 48:1.0 70:0.1 125:1.0 179:0.2 217:1.0 270:1.0 423:1.0 449:1.0 1383:1.0 1384:1.0 1385:1.0 1386:1.0 1387:1.0 1388:1.0
8 21:0.1111111111111111 324:1.0 1389:1.0 1390:1.0 1391:1.0 1392:1.0
8 25:0.2 44:0.02040816326530612 99:1.0 194:0.5 753:1.0
8 17:0.07692307692307693 25:0.2 44:0.02040816326530612 121:1.0
8 21:0.1111111111111111 480:1.0 1075:1.0
8 4:0.5 17:0.07692307692307693 25:0.2 91:1.0 92:1.0 169:1.0 494:1.0 681:2.0
8 6:0.5 9:0.5 375:1.0 393:1.0 423:1.0 1564:1.0 1581:1.0
8 3:0.125 21:0.1111111111111111 25:0.2 28:1.0 185:1.0 194:0.5 224:1.0 396:1.0 685:1.0 814:1.0 851:1.0
8 4:0.5 6:0.5 13:0.3333333333333333 17:0.07692307692307693 21:0.1111111111111111 25:0.2 32:0.5 98:0.25 222:0.3333333333333333 253:1.0 291:1.0 305:1.0 398:1.0 402:1.0 404:1.0 449:1.0 466:0.25 567:1.0 677:1.0 710:1.0 727:1.0 904:1.0 1080:1.0 1168:1.0 1495:1.0
8 21:0.1111111111111111
|
fa6c41ef9a329ba915217efca9d69b57c828ee14 | e9f340841b3d4e3a45f6b70d9e101ae670dbbfbe | /generateHeaderFile.sci | 25652ce175209b001d0aa24fd650c8b3152d9776 | [] | no_license | Ankitr19/Scilab2CTask | 3a9d366de938bd4e5437da81fde9eb7eb2eebc35 | 4cec9aa77f975e3efb4756d0ef376bf4f8832af3 | refs/heads/master | 2021-04-15T17:14:45.904892 | 2018-03-25T18:51:19 | 2018-03-25T18:51:19 | 126,728,786 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,401 | sci | generateHeaderFile.sci | //created by
//Ankit Raj
//B.Tech ECE 2nd year,NIT Agartala
//E-mail:-rajankit510@gmail.com
//I have created the function generateHeaderFile
//Decription:-This function takes a function name, arguments and a return type as input.
//And it creates a header file in the working directory of the Scilab for the function whose details have been provided by the user as the function argumnets for generateHeaderFile function
//Below is the code
function generateHeaderFile(functionName, arguments, returnType) //Declaration of the function generateHeaderFile
ct=size(arguments) //taking the number of arguments in ct
m=ct(1,2);
ct=0; //now using ct as a counter
//In this section we are using a for-loop to check whether the user entered argument is a data type or not, only the data type argumnets will be in the C header file
for(n=1 : 1 : m)
readip=arguments(1,n)
if(readip=='char' | readip=='char*' | readip=='int' | readip=='int*' | readip=='long int' | readip=='float' | readip=='uint8' | readip=='unit16' | readip=='uint32')
ct=ct+1
arg(1,ct)=readip
continue
else
continue
end
end
//creating a string to store all the valid data type argumnets
//and initialising the string with the first argument
ar=arg(1,1)
for(n=2:1:ct)
ar=ar+ "," +arg(1,n)
end
functionDeclaration=returnType+" "+functionName+" "+"("+ar+")";
//Now we create a C header file with the same name as the functionName and with a .h extension in the current working directory. And the content of the string functionDeclaration will
//be printed in the newly generated file.
r=mputl(functionDeclaration,functionName+".h");
if(r==%T) //We are using r as a test as to whether mputl function worked correctly.
c=1;
else
c=1;
end
printf("%d",c);
endfunction
//If in the console we give the command "generateHeaderFile('AnkitCheck',['uint8', 'x', 'float', 'f', 'long int', 's'],'int')" will create a C header file AnkitCheck.h in the current working directory.The content of the file "AnkitCheck.h" will be:
//int AnkitCheck(int,float,long int)
|
bfd3daf11592d5b2a5d1c1a98a0cc8a99b1ddc04 | 4fb238a760c6455db1aff7bb230317e175011b4a | /ScilabFichiers/moindres_carres.sce | fc31609fad28b6a13f65dd769cc1a6b9379acb4c | [] | no_license | Abdel-Malik/scilabBSFC | 90feaf817c2bb1367fc2a8b97399b1b9fc3693ba | 2b5ffe850f8b66af6e387672ef5d805e963746ec | refs/heads/master | 2020-12-02T16:25:39.167882 | 2017-07-25T16:11:56 | 2017-07-25T16:11:56 | 96,550,494 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,103 | sce | moindres_carres.sce | //Acquisition des points
nbPoints = 11;
nbPoints2 = 10;
function res = donnees(n,K)
for i = linspace(1,n,n)
res1(i) = 1000+(100*i);
res2(i) = K(i);
end
res = [res1 res2]
endfunction
//a = Acquisitions(i,nbPoints,'oblack');
K = [178,196,214,230,246,261,263,264,265,264,261]
K2 = [193,190,189,188,189,191,193,195,198,201]
a = donnees(nbPoints,K);
disp(a)
//Exercice 3+4
function X = moindresCarres(x,y,n)
A = [x,ones(size(x,1),1)];
xT = x;
for i = (2:1:n)
xT = xT.*x;
A = [xT A]
end
X = inv(A'*A)*A'*y;
endfunction
function y = afficheCourbe1(a,n)
plot(a(:,1),a(:,2))
zoom_rect([400 0 2600 300]);
endfunction
function y = fMC(x,X)
l = size(X,1)
y = zeros(1,size(x,2))
xT = ones(1,size(x,2))
for i = linspace(l,1,l)
y = y+xT*X(i);
xT = xT.*x;
end
endfunction
//calcul courbe de degré d par les moindres carrés
x = a(:,1);
y = a(:,2);
degre = 2;
X = moindresCarres(x,y,degre);
disp(X)
afficheCourbe1(a,nbPoints)
ech = linspace(0,2500,500);
plot(ech,(X(1)*ech.^2+X(2)*ech+X(3)),'g')
|
783b2fb75090fdf5ae03e4fd8108c06fc69cd262 | c90039f74887835096a93884110d643c4823e530 | /doc/oficial/dados para treinamento RNA/RNA_ANALISE_TECNICA/RESULTADO/RESULTADO_MOMENTO_EST.sce | 0cb1a19cc6e7382f64a22e730069521291b863fb | [] | no_license | igorlima/CellInvest | da991366b329b5d8021e9b949d7b726023489ec8 | c5411247e504b8a8d0ad77d32d41bbd2aee39930 | refs/heads/master | 2020-04-06T03:40:05.614164 | 2012-10-23T12:58:20 | 2012-10-23T12:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | RESULTADO_MOMENTO_EST.sce | clear;
path_resultado = get_absolute_file_path('RESULTADO_MOMENTO_EST.sce');
exec( path_resultado+"\_dados_entrada.sce" );
exec( path_resultado+"\..\RNA_ANALISE_TECNICA.sce" );
printf( 'Iniciando calculos dos resultados...' );
codigoAtivo = 'BBAS3';
dados_entrada = getDadosEntrada( codigoAtivo, MAXIMO_LINHA_ARQUIVO );
resultado = [];
for i=1:length( dados_entrada(:,1) )
saida_rna = rna_estocastico( dados_entrada(i,2)/100 );
resultado = [ resultado ; saida_rna' ];
if pmodulo( i, 10 ) == 0 then
printf( ' (' );
printf( string( i ) );
printf( ') ' );
end
if pmodulo( i, 100 ) == 0 then
printf( '\n' );
end
end
printf( 'Calculos efetuados com sucesso.' );
printf( 'Gravando resultado...' );
gravarDados( path_resultado + '\Saida\RESULTADO_MOMENTO_EST_'+codigoAtivo+'.txt', resultado );
printf( 'Resultado Gravado.' ); |
a920b9e16370ada619f50932bb32489fe9bb50f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH10/EX10.2.e/E10_2.sce | 1f06a4dbdfa8fcc5af2af01631709043d44d52ae | [] | 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 | E10_2.sce | clc
//Initialization of variables
t=[0 1000 2000 3000 4000]
p=[10.20 5.72 3.99 2.78 1.94]
lnp=log(p)
x=t
y=lnp
//hence the value differs from textbook a bit.
sx=sum(x);sx2=sum(x^2);sy=sum(y);sxy=sum(x.*y);n=length(x);
A=[sx,n;sx2,sx];B=[sy;sxy];p=A\B;
m=p(1,1);b=p(2,1);
k=m
plot(x,y)
//Since first order reaction
//results
printf("rate constant = %.2e s^-1",k)
|
2dbb0389efbbf9f91f68b8ec694bec3e82619423 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH5/EX5.2/Ex5_2.sce | 4c90ac7f09e526a02c930492a9976308ce8878ef | [] | 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 | 443 | sce | Ex5_2.sce | errcatch(-1,"stop");mode(2);//caption:Find load current when varible load are(a)100 ohm(b)10 ohm
//Ex5.2
Zs=100//current source impedance(in ohm)
Zl1=100//load impedance(in ohm)
Zl2=10//load impedance(in ohm)
Is=10//current source value(in A)
Il1=(Is/(1+(Zl1/Zs)))
disp(Il1,'(a)load current when variable load is 100 ohm(in ohm)=')
Il2=(Is/(1+(Zl2/Zs)))
disp(Il2,'(b)load current when variable load is 10 ohm(in ohm)=')
exit();
|
6579e483744b9ae392d161dbfb8b386e98e13afa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH7/EX7.6/ch7_6.sce | 0be0224fd25cdd2a3561f7ab281a72945d089252 | [] | 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 | 696 | sce | ch7_6.sce | clc;
clear;
printf("\t\t\tChapter7_example6\n\n\n");
// Estimation of the drag due to skin friction
// properties of water at 68°F from Appendix Table C.11
rou= 62.4; // density in Ibm/cu.ft
v= 1.083e-5; // viscosity in sq.ft/s
V_inf=5*.5144/.3048; // barge velocity in ft/s using conversion factors from appendix table A1
printf("\nThe barge velocity is %.2f ft/s",V_inf);
L=20; // Length of barge in ft
Re_L=V_inf*L/v; // Reynolds number at plate end
printf("\nThe Reynolds number at plate end is %.2e",Re_L);
Cd=0.003; //value of Cd corresponding to the Reynolds number from figure 7.11
gc=32.2;
b=12; // width in ft
Df=(Cd*rou*V_inf^2*b*L)/(2*gc);
printf("\nThe drag force is %d lbf",Df);
|
04e04d023f3b62a6392058b7675536a86df75e34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH6/EX6.9/Ex6_9.sce | 874c56af33485785fb5b1c7b944632c9146400b1 | [] | 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,754 | sce | Ex6_9.sce | //Fluid System By Shiv Kumar
//Chapter 6 - Kaplan and Propeller Turbines
//Example 6.9
//To Determine Runner Vane Angles at the hub and at the Outer Periphery
clc
clear
//Given:
P=22500; //Power Available at Shaft, KW
H=20; //Head, m
N=150; //Rotational Speed, rpm
eta_H=95/100; //Hydraulic Efficiency
eta_0=88/100; //Overall Efficiency
D=4.5; //Outer Diameter of Runner, m
d=2; //Diameter of Hub, m
Vw=0; //As there is no exit whirl
//Data Required:
rho=1000; //Density of Water, Kg/m^3
g=9.81; //Acceleration due to gravity, m/s^2
//Computations
//Runner Vane Angles at Hub
uo=%pi*d*N/60; //m/s
ui=uo;
Q=P*10^3/(rho*g*H*eta_0); //Discharge, m^3/s
Vwi=eta_H*g*H/ui; //m/s
Vfi=Q/((%pi/4)*(D^2-d^2)) // m/s
Vfo=Vfi;
Beta_i=180-atand(Vfi/(ui-Vwi)); //Degrees
Beta_o=atand(Vfo/uo); //Degrees
//Result1
printf("Runner Vane Angles at the Hub \n\t")
printf("Beta_i=%.2f Degrees\n\t",Beta_i) //The answer vary due to round off error
printf("Beta_o=%.2f Degrees\n\n",Beta_o) //The answer vary due to round off error
// Runner Vane Angles at outer periphery
uo=%pi*D*N/60; //m/s
ui=uo;
Vwi=eta_H*g*H/ui; //m/s
Beta_i=180-atand(Vfi/(ui-Vwi)); //Degrees
Beta_o=atand(Vfo/uo); //Degrees
//Result2
printf("Runner Vane Angles at the Outer periphery \n\t")
printf("Beta_i=%.2f Degrees\n\t",Beta_i) //The answer vary due to round off error
printf("Beta_o=%.2f Degrees\n\n",Beta_o) //The answer vary due to round off error
|
cb20920a93c8ce112c2870476ce4aa6290306ce7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH9/EX9.18/18.sci | 2a9409f4551bda86336d5068317ec3fcb470a518 | [] | 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 | 707 | sci | 18.sci | clc;
clear all;
disp("heat transfer rate")
L=3.2;//m
d=0.006;//m diameter
ts=54;// degree C
tsat=100;//degree C
rhol=973.7;//kg/m^3
mu=365*10^(-6);// Ns/m^2
k=0.668;// W/m.C
rhov=0.596;// kg/m^3
hfg=2257*10^3;// J/kg
g=9.81;//m/s
disp("h=0.0077*(rhol*(rhol-rhov)*k^2*g/(mu^2))^0.333*Re^0.4")
disp("Eliminating h from euqation we get the condition that the flow will be turbulent if ")
disp("0.00296*((rhol*(rhol-rhov)*k^3*g*(tsat-ts)^3*L^3/(mu^5*hfg^3))^(5/9)>1800")
x=0.00296*(rhol*(rhol-rhov)*k^3*g*(tsat-ts)^3*L^3/(mu^5*hfg^3))^(5/9);
if(x>1800)
Re=x
h=0.0077*(rhol*(rhol-rhov)*k^2*g/(mu^2))^0.333*Re^0.4
Q=h*L*1*(tsat-ts);
disp("kW/m",Q/1000,"hear transfer rate per unit width =")
|
63ae6df35789d8b793941396cb465ed8999df8d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH7/EX7.3/ex_3.sce | f9b50f244cf573b8b07689735a544202b06431a1 | [] | 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 | 497 | sce | ex_3.sce | // Chapter 7_The pn junction Diode
//Caption_pn Junction current
//Ex_3//page 258
Jn=20 //electron current density
Jp=5 //hole current density
T=300
Va=0.65
ni=1.5*10^10 //intrinsic concentration
Dn=25
Dp=10
e=1.6*10^-19
tau_po=5*10^-7
tau_no=5*10^-7
epsr=11.7
Na=1/(Jn/((e*(Dn/tau_no)^0.5)*(ni^2*(exp(Va/0.0259)-1))))
Nd=1/(Jp/((e*(Dp/tau_po)^0.5)*(ni^2*(exp(Va/0.0259)-1))))
printf('The design parameters for this semiconductor are Na=%f cm^-3 and Nd=%f cm^-3',Na,Nd) |
7edce7ed6a36d14a815d3d5d168b8ca1287ab470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH1/EX1.6/Ex1_6.sce | 84deb81149f980b079e12550748fb2b55579686a | [] | 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 | 580 | sce | Ex1_6.sce | clc
// solution
// initialization of variables
ma=2200 // mass of Automobile 'a' in kg
va=25 //velocity of Automobile 'a' in m/s before collision
va1=13.89 // velocity of Automobile 'a' after collision in m/s
mb=1000 // mass of Automobile 'b' in kg
vb=24.44 //velocity of Automobile 'b' after collision in m/s
KE1=(ma*va**2)/2 // kinetic energy before collision
KE2=(ma*va1**2)/2+(mb*vb**2)/2 // kinetic energy after collision
U=(KE1-KE2)/1000 // internal energy from conservation of energy principle in kJ
printf("The increase in kinetic energy is of %.1f kJ",U)
|
218732176b7119e4f73dc8978c31acef5b4bae9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH10/EX10.6/Example_10_6.sce | 969aa707f75b15c32c42a0e3d5db0f1ea2c28324 | [] | 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 | 507 | sce | Example_10_6.sce | clear;
clc;
printf("Example 10.6\n");
//Diffusivity of CO2 in ethanol
D=4D-9; //in m^2/s
t=100; //Time in sec
//Solving all the integral as defined in the proces
//as per described in the book
//a useful result is obtained
Cai=poly([0],'x');
y=[0 10^-3];
for i=1:2
mole(i)=((2*sqrt(D*t/%pi)*exp(-y(i)^2/(4*D*t)))-(y(i)*erfc(y(i)/(2*sqrt(D*t)))));
end
ret=(mole(1)-mole(2))/mole(1);
printf("\nProportion retained is %.1f %%\n",ret*100);
//End |
c1154058886587cd460fa50781d173fd5423e6c5 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StatisticalFunctions/FLCount-NZ-01.tst | 92c17ebf035598ebe9e4ac05b061e6d79ff460b3 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,108 | tst | FLCount-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-- and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade
-- secret or copyright law. Dissemination of this information or reproduction of this material is
-- strictly forbidden unless prior written permission is obtained from Fuzzy Logix, LLC.
-- Functional Test Specifications:
--
-- Test Category: Basic Statistics
--
-- Test Unit Number: FLCount-Netezza-01
--
-- Name(s): FLCount
--
-- Description: Aggregate function which returns the count of non-NULL values.
--
-- Applications:
--
-- Signature: FLCount(pX DOUBLE PRECISION)
--
-- Parameters: See Documentation
--
-- Return value: BIGINT
--
-- Last Updated: 07-03-2017
--
-- Author: Kamlesh Meena
--
-- BEGIN: TEST SCRIPT
--.run file=../PulsarLogOn.sql
--.set width 2500
SELECT COUNT(*) AS CNT,
CASE WHEN CNT = 0 THEN ' Please Load Test Data!!! ' ELSE ' Test Data Loaded ' END AS TestOutcome
FROM fzzlSerial a;
-- BEGIN: POSITIVE TEST(s)
---- Positive Test 1: Count of 0.0 * Value, Should return 10
--- Compare query output with 10, if true then return "passed", otherwise, return "failed"
SELECT a.FLCNT AS FLCNT, CASE WHEN a.FLCNT = 10 THEN 'BasicStat-FT-FLCount-01P1: PASSED' ELSE 'BasicStat-FT-FLCount-01P1: FAILED' END AS TestOutcome
FROM ( SELECT FLCount(a.SerialVal * -0.0) AS FLCNT,
COUNT(*) AS CNT
FROM fzzlSerial a
WHERE a.SerialVal <= 10) AS a;
---- Positive Test 2: Count of -1.0 * Value, Should return 10
--- Compare query output with 10, if true then return "passed", otherwise, return "failed"
SELECT a.FLCNT AS FLCNT, CASE WHEN a.FLCNT = 10 THEN 'BasicStat-FT-FLCount-01P2: PASSED' ELSE 'BasicStat-FT-FLCount-01P2: FAILED' END AS TestOutcome
FROM ( SELECT FLCount(a.SerialVal * -1.0) AS FLCNT,
COUNT(*) AS CNT
FROM fzzlSerial a
WHERE a.SerialVal <= 10) AS a;
---- Positive Test 3: Multiple a very small number, Should return 10
--- Compare query output with 10, if true then return "passed", otherwise, return "failed"
SELECT a.FLCNT AS FLCNT, CASE WHEN a.FLCNT = 10 THEN 'BasicStat-FT-FLCount-01P3: PASSED' ELSE 'BasicStat-FT-FLCount-01P3: FAILED' END AS TestOutcome
FROM ( SELECT FLCount(a.SerialVal * 1e-100) AS FLCNT,
COUNT(*) AS CNT
FROM fzzlSerial a
WHERE a.SerialVal <= 10) AS a;
---- Positive Test 4: Multiple a very large number, Should return 10
--- Compare query output with 10, if true then return "passed", otherwise, return "failed"
SELECT a.FLCNT AS FLCNT, CASE WHEN a.FLCNT = 10 THEN 'BasicStat-FT-FLCount-01P4: PASSED' ELSE 'BasicStat-FT-FLCount-01P4: FAILED' END AS TestOutcome
FROM ( SELECT FLCount(a.SerialVal * 1e100) AS FLCNT,
COUNT(*) AS CNT
FROM fzzlSerial a
WHERE a.SerialVal <= 10) AS a;
-- END: POSITIVE TEST(s)
-- BEGIN: NEGATIVE TEST(s)
---- Negative Test 1: No data, SHould return 0
--- Compare query output with 0, if true then return "passed", otherwise, return "failed"
SELECT a.FLCNT AS FLCNT, CASE WHEN a.FLCNT = 0 THEN 'BasicStat-FT-FLCount-01N1: PASSED' ELSE 'BasicStat-FT-FLCount-01N1: FAILED' END AS TestOutcome
FROM ( SELECT FLCount(a.RandVal) AS FLCNT,
COUNT(*) AS CNT
FROM fzzlSerial a
WHERE a.SerialVal <= -1) AS a;
---- Negative Test 2a: Invalid Data Type: Input VarChar
--- Output error, FLCount doesn't not exist, Good
SELECT FLCount(a.City)
FROM tblCustData a;
---- Negative Test 2b: Invalid Data Type: Input VarChar
--- Output error, FLCount doesn't not exist, Good
--- To be investigated
SELECT FLCount(CAST (a.RandVal AS VARCHAR(30))),
COUNT(*)
FROM fzzlSerial a
WHERE a.SerialVal <= 10;
-- END: NEGATIVE TEST(s)
\time
-- END: TEST SCRIPT
|
547e454bed774d1457d5b991ce61721338e6da95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH6/EX6.7/Ex6_7.sce | d1b2a36c28f3e89bd562fbb2be86c0cd9388c071 | [] | 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 | 374 | sce | Ex6_7.sce | //Chapter 06: Counting
clc;
clear;
function res=permutation(n,r) //function definition
i=n
res=1
l=(n-r)+1
u=n
for i=l:u //computing the permutation
res=res*i
end
return res
endfunction
num=input("Enter the number of people:")
perm=input("Enter the number of prizes:")
result=permutation(num,perm)
mprintf("The number of ways to decide the prize winners is %d ",result)
|
fa7246652937e0a520a9b5b34c65e962cfc1f2fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH8/EX8.1.34/8_1_34.sce | 0b3b748b0a68ac5ed091e7d59cf0ef127446c69d | [] | 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 | 331 | sce | 8_1_34.sce | clc
clear
//Input data
C=500 //Airplane velocity in m/s
T=20+273 //Temperature in K
k=1.4 //Adiabatic constant
R=287 //Specific gas constant in J/kg-K
//Calculation
a=sqrt(k*R*T) //Sound velocity in m/s
M=C/a //Mach number
alp=asind(1/M) //Mach angle in degree
//Output
printf('Mach angle is %3.3f degree',alp)
|
0c9a5d8f2ec8eac1a7593756df97b418b9f82399 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH18/EX18.1/EX18_1.sce | 88b465538bb16819d6195ef4191db30354b34a47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | EX18_1.sce | //Finding of Power delivered , Efficiency
//Given
u=35;
Q=1;
theta=10;
H=270;
Cv=0.98;
g=9.81;
rho=1000;
//To Find
V=Cv*sqrt(2*g*H);
Vr=V-u;
Vw1=Vr*cos(%pi/18)-u;
W=rho*(Q*(V+Vw1)*u);
P=W/1000;
E=(2*(V+Vw1)*u)/V^2;
E1=E*100;
disp("Power delivered ="+string(P)+" Kilo watts");
disp("Hydraulic Efficiency ="+string(E1)+" percentage");
|
8d96d8fe1184cdf179e41bef3ecc84b66684e5dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH6/EX6.8/Ex6_8.sce | c225e8ad7b7ade547d6ec484502d4a9668cb81aa | [] | 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 | 306 | sce | Ex6_8.sce | //Ex 6.8
clc;
clear;
close;
format('v',5);
Rf=570;//kohm
Ri=15;//kohm
A=Rf/Ri;//Gain of the circuit
Amin=29;//Minimum Gain requirement of RC phase shift oscillator
deltaA=(A-Amin)/Amin*100;//%(Exceeding Gain)
disp(deltaA,"Gain is exceeded by(%) ");
disp("It will cause distortion at output.");
|
b877c11207659a8082c1613b725854feb97f7a18 | 4133f0b5e322fdd849ae5d17e00d930e52d6556f | /assembly005/test/smoother.sce | 7348d2f5f338ed9007b58fd9c09ef066ea329f78 | [
"MIT"
] | permissive | andrey-nakin/rftt-assemblies | c9b1eefd7589173d1a23a00ac1f5e431462d4fcb | 2c40004e56d2545536a9c49726fe5b0487d90dd7 | refs/heads/master | 2020-05-21T23:58:16.154033 | 2017-10-12T13:26:49 | 2017-10-12T13:26:49 | 35,739,588 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 803 | sce | smoother.sce | screenWidth=1600
screenHeight=800
a = fscanfMat("C:\measure\tcl-measure\assemblies\assembly005\heat1.txt");
n=5;
sz = size(a, 1);
t = 0;
for i=1:sz-n+1
s = 0;
for j=1:n
s = s + a(i+j-1, 2);
end;
s = s / n;
t(i,1) = s;
end;
sz = size(t, 1);
dt = t(2:sz,1) - t(1:sz-1,1);
scf();
xtitle("Sample", "Time, sec", "T, K");
plot(dt);
xset("wpdim", screenWidth/2, screenHeight/2);
xset("wpos", screenWidth/2, 0);
scf();
xtitle("Fourier Transform", "Frequency, Hz", "Intensity");
maxTime=size(dt,1) * 4;
f=fft(dt(:, 1));
fl=length(f);
rf = real(f);
if = imag(f);
f = rf .* rf + if .* if;
x=[0.0 : 1.0 / maxTime : (fl - 1) / maxTime]';
plot2d(x(10:fl/2), f(10:fl/2));
xset("wpdim", screenWidth/2, screenHeight/2);
xset("wpos", screenWidth/2, screenHeight/2);
|
c40f2ee000d51f11e69ba425a8c823c05cac04e8 | bb3c300381ad1a419b5fb40891e830e534656595 | /test/testcases/bad_post_args3.tst | 7b920d52ae003acd56c4cdec4ffa1a73ca5c0d2b | [] | no_license | DHorrible/visited_count | 60a082514dbce832fbd621223a44b0260300b34b | 5a7709b59c9feb2135844687d6303abb16991098 | refs/heads/master | 2021-04-17T00:41:52.110770 | 2020-03-24T22:53:14 | 2020-03-24T22:53:14 | 249,397,482 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | tst | bad_post_args3.tst | METHOD='POST'
ARGS='{}'
OUT='Status code is 206:
{"status": "error (206): The json body does not contain the `links` attribute (links array)"}'
|
13b7be3064066f92369fef9ef97505e8154ecd7f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/percent/%lssms.sci | abf6996af71216dfaa03bb3909ed215d1c532f40 | [
"MIT",
"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 | 566 | sci | %lssms.sci | function [s]=%lssms(s1,D2)
// s=s1*gain
//!
// origin s. steer inria 1987
// SISO case FD
[A1,B1,C1,D1,x1,dom1]=s1(2:7);
[n2,m2]=size(D2);
if prod(size(s1))==1 then
if n2==1 then D=D1*D2; [A1,B1*D2]; s=list('lss',A1,B1*D2,C1,D,x1,dom1);return;end
if m2==1 then s=list('lss',A1,B1,D2*C1,D2*D1,x1,dom1);return;end //Transpose
[Q,M]=fullrf(D2);[n2,mq]=size(Q);
if mq==1 then s=Q*list('lss',A1,B1*M,C1,D1*M,x1,dom1);return;end //Transpose
w=s1; for k=2:mq, w=sysdiag(w,s1);end
s=w*M;s=Q*s;return;
end
D=D1*D2; [A1,B1*D2]; s=list('lss',A1,B1*D2,C1,D,x1,dom1);
|
bf120ffe02ca10d47dd59cb12ec3ed6850dcc4b6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/percent/%sp_e.sci | d39767bb61b182dae7d0539f8a17280a940b58ee | [
"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 | 157 | sci | %sp_e.sci | function r=%sp_e(i,j,a)
// r=a(i,j) for f sparse in some special cases
//!
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==2 then
a=j;
a=a(:)
r=a(i)
end
|
2fe92e565e41bc5e1bd2e382b58bd372eef5e992 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH7/EX7.6/Ex7_6.sce | c553f880e9a4f2e6cda3e63bdd0624202b481771 | [] | 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 | 984 | sce | Ex7_6.sce |
clc
clear
//Input data
p1=5//Pressure of steam in bar
V=100//Velocity in m/s
p2=1.5//Exit pressure in bar
At=1280//Throat area in mm^2
Ae=1600//Exit area in mm^2
rp=0.58//Critical pressure ratio
//Calculations
ho=2749//Enthalpy in kJ/kg
so=6.822//Entropy in kJ/kg.K
px=(rp*p1)//Critical pressure in bar
sx=so//Entropy in kJ/kg.K
xx=(sx-1.660)/5.344//Dryness fraction
hx=(556+(xx*2168))//Enthalpy in kJ/kg
Vx=sqrt(((ho+((V^2*10^-3))/2)-hx)*(2/10^-3))//Velocity in m/s
vx=(xx*0.6253)//Specific volume in m^3/kg
w=(At*10^-6*Vx)/vx//Mass flow rate in kg/s
s1s=sx//Entropy in kJ/kg.K
x1s=(so-1.434)/5.789//Dryness fraction
h1s=(467+x1s*2226)//ENthalpy in kJ/kg
z=((Vx^2*10^-3)/2)-hx//z value
//By iteratio scheme
x1=0.932//Dryness fraction
v1=1.080//Specific volume in m^3/kg
h1=2542//Enthalpy in kJ/kg
V1=652.2//Velocity in m/s
nn=((hx-h1)/(hx-h1s))//Nozzle efficiency
//Output
printf('Mass flow rate is %3.3f kg/s \n Nozzle efficiency is %3.3f',w,nn)
|
382af762f9a2be74495d4b793908ef6db6e02296 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/mfscanf.man.tst | 751a4d1bc8e5de881b35b3c16ed767b7acfb1712 | [
"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 | 484 | tst | mfscanf.man.tst | clear;lines(0);
s='1 1.3'
[n,a,b]=msscanf(s,"%i %e")
msscanf(s,"%i %e")
msscanf(' 12\n','%c%c%c%c') //scan characters
msscanf('0xabc','%x') //scan with hexadecimal format
msscanf('012345abczoo','%[0-9abc]%s') //[] notation
//create a file with data
u=mopen(TMPDIR+'/foo','w');
t=0.5;mfprintf(u,'%6.3f %6.3f\n',t,sin(t))
t=0.6;mfprintf(u,'%6.3f %6.3f\n',t,sin(t))
mclose(u);
//read the file
u=mopen(TMPDIR+'/foo','r');
[n,a,b]=mfscanf(u,'%e %e')
l=mfscanf(u,'%e %e')
mclose(u);
|
9ffb054ff5cae8b340186ae5368b6b2088c53e5c | a550430672dfb5984bd8561b894897323028b7f5 | /tests/results/adj11.tst | b063a41956b642d9b11b48c00ee88695fe42da47 | [] | no_license | carlosmata/LabelPropagation | c91f68489a941e6f8cfb15de478d2fe28eadbcad | 2f169cc4ece49a0d0f868fee15e5eefe02bbc6df | refs/heads/master | 2020-12-18T17:46:23.501020 | 2020-05-09T06:13:16 | 2020-05-09T06:13:16 | 235,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | tst | adj11.tst | argc:7
Dataset: ../datasets/converted/4adjnoun.net
Nodes Edges Com Mod NMI Time
seq async 112 850 1 0.0162048 -1 0.000222195
par async 112 850 1 0.016205 -1 0.077458
|
006b16c782c9a21d8dc075caa67343b823ea59af | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH9/EX9.1/Ex9_1.sce | 64697cf4e23c8b8a58b3f61d1382e3b15b5fd8d7 | [] | 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 | 3,168 | sce | Ex9_1.sce | // Given:-
T1 = 300.00 // The temperature at the beginning of the compression process in kelvin
p1 = 1.00 // the pressure at the beginning of the compression process in bar
r = 8.00 // compression ratio
V1 = 560.00 // the volume at the beginning of the compression process in cm^3
T3 = 2000.00 // maximum temperature during the cycle in kelvin
// Part(a)
// At T1 = 300k,table A-22 gives
u1 = 214.07 // in kj/kg
vr1 = 621.2
// Interpolating with vr2 in Table A-22, we get
T2 = 673.00 // in kelvin
u2 = 491.2 // in kj/kg
// At T3 = 2000 K, Table A-22 gives
u3 = 1678.7 // in kj/kg
vr3 = 2.776
// Interpolating in Table A-22 with vr4 gives
T4 = 1043 // in kelvin
u4 = 795.8 // in kj/kg
// Calculations
// For the isentropic compression Process 1–2
vr2 = vr1/r
// With the ideal gas equation of state
p2 = p1*(T2/T1)*(r) // in bars
// Since Process 2–3 occurs at constant volume, the ideal gas equation of state gives
p3 = p2*(T3/T2) // in bars
// For the isentropic expansion process 3–4
vr4 = vr3*(r)
// The ideal gas equation of state applied at states 1 and 4 gives
p4 = p1*(T4/T1) // in bars
// Results
printf( ' At state1, the pressure is: %f bar.',p1)
printf( ' At state1, the temperature is %f kelvin.',T1)
printf( ' At state2, the pressure is : %.3f bar.',p2)
printf( ' At state2, the temperature is %f kelvin.',T2)
printf( ' At state3, the pressure is : %.3f bar.',p3)
printf( ' At state3, the temperature is %f kelvin.',T3)
printf( ' At state4, the pressure is : %.4f bar.',p4)
printf( ' At state4, the temperature is %f kelvin.',T4)
// Part(b)
eta = 1-(u4-u1)/(u3-u2) // thermal efficiency
// Result
printf( ' The thermal efficiency is : %.2f ',eta)
// Part(c)
R = 8.314 // universal gas constant, in SI units
M = 28.97 // molar mass of air in grams
// Calculations
m = ((p1*V1)/((R/M)*T1))*10**-6*10**5*10**-3 // mass of the air in kg
Wcycle = m*((u3-u4)-(u2-u1)) // the net work per cycle in KJ
mep = (Wcycle/(V1*(1-1/r)))*10**6*10**3*10**-5 // in bars
// Result
printf( ' The mean effective pressure, is : %.4f atm.',mep)
|
1711dfcd237002dd349c3736310a42bbe95b3d8b | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/00_molebalRK.tst | ec2d3bbc1bed953e42eb4645438eb40e7b060b17 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 631 | tst | 00_molebalRK.tst | # tests multivariable balance solution
units SI
$thermo = VirtualMaterials.RK
/ -> $thermo
thermo + PROPANE n-BUTANE
balance = Balance.BalanceOp()
balance
# set number of balance streams
balance.NumberStreamsInMat = 2
balance.NumberStreamsOutMat = 2
# make it a mole balance (not that it matters in this case)
balance.BalanceType = 2
# set compositions
cd balance
In0.Fraction
In0.Fraction = .3 .7
In1.Fraction = .4 .6
Out0.Fraction = .6 .4
Out1.Fraction = .8 .2
# give two flows - other two should be calculated
In0.MoleFlow = 1000
Out0.MoleFlow = 1500
# and they are
In1.MoleFlow
Out1.MoleFlow
|
2019474405f868b914711f94099f8de914bd9053 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH1/EX1.9/Example1_9.sce | 1b319e762013ce39b63ef207d88fa30b72025938 | [] | 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 | 589 | sce | Example1_9.sce | //chapter1,Example1_9,pg 483
//assume that the voltmeter full scale reading is 12V which gives its resistance as 1.2*10^6 ohm which is in parallel with 10*10^6 ohm making as equivalent of Rq given as
R=1.2*10^6//voltmeter resistance
R1=10*10^6//voltage divider resistance
Rq=(R*R1)/(R+R1)//equivalent resistance
Vin=12//input voltage to divider network
Rs=4*10^6//series resistance
Vq=(Rq*Vin)/(Rq+Rs)//voltage across equivalent combination
Va=(R1*Vin)/(R1+Rs)//actual volatge
er=(Vq-Va)/Va//error
printf("\nerror in measurement\n")
printf("\ner=%.3f ",er) |
69504644374c6d831b3c8164ddb5806d0008f66c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH12/EX12.2/Ex12_2.sce | ab3113674bc068ecd0116852fafbf99589dfe58a | [] | 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,504 | sce | Ex12_2.sce | //Chapter 12: The Cylindrical Antenna and the Moment Method
//Example 12-12.2
clc;
//Variable Initialization
z_load = 2.083 + 1605*%i //Conjugate matched load (ohm)
e0 = 1.0 //Electric field magnitude (unitless)
l = 1/10.0 //Length of dipole (lambda)
ima = 0+1*%i //Imaginary number
z11_exact = 0.4935 - 3454*%i //Exact impedance vector(ohm)
z11_apprx = 0.4944 - 3426*%i //Approximate impedance vector(ohm)
z12_exact = 0.4935 + 1753*%i //Exact impedance vector(ohm)
z12_apprx = 0.4945 + 1576*%i //Approximate impedance vector(ohm)
z13_exact = 0.4935 + 129.9*%i //Exact impedance vector(ohm)
z13_apprx = 0.4885 + 132.2*%i //Approximate impedance vector(ohm)
//Calculation
d = l/4 //Length of each segment (lambda)
vm = (2*e0/(2*%pi))*tan(2*%pi*d/2) //Voltage vector (VA)
z22 = z11_exact + z_load //Impedance matrix for loaded dipole (VA)
zmat_exact =([z11_exact+z13_exact,z12_exact;2*z12_exact,z22])//Z(impedance) matrix (unitless)
vmat = ([vm;vm]) //Voltage matrix (unitless)
[i1]= linsolve(zmat_exact,vmat) //Current matrix (unitless)
i1=i1*-1
i3 = i1(1) //Current vector (unitless)
e_zn = (60*tan(2*%pi*d/2))*ima //Free space electric field (V/m)
e_s = i1(1)*e_zn + i1(2)*e_zn + i3*e_zn //Scattered field (V/m)
sigma = 4*%pi*(abs(e_s)**2)/(abs(e0)**2) //Radar Cross section (lambda**2)
//Result
mprintf("The radar cross section using exact values of Z matrix is %.4f lambda square",sigma(1))
|
a210a2b93c7c4005290e223462cb6920060a1354 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH4/EX4.15/ex_4_15.sce | b7a476b5d77c11176c546f1c757fcb35c05790a9 | [] | 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 | 746 | sce | ex_4_15.sce |
clc
//solution
//given
dc=0.050//m
dse=0.075//m
dsi=0.050//m
dp=0.018//m
t=50//degree celcius
Es=210*10^9//N/m^2
Ec=105*10^9//N/m^2
as=11.5*10^-6//per degree celcius
ac=17*10^-6//per degree celcius
//refer fig 4.18
pi=3.14
Ac=(pi/4)*dc^2//m^2
As=(pi/4)*(dse^2-dsi^2)//m^2
Ap=(pi/4)*(dp)^2
//let l be the length of rods
//dlc=l*ac*t=850*10^-6*l
//dls=l*as*t=575*10^-6*l
//x=dlc-dls=275*10^-6*l
//x1=(P*l)/(Ac*Ec)=(P*l)/(206.22*10^6)//m
//x2=(P*l)/(As*Es)=(P*l)/(515.55*10^6)//m
//therefore X=x1+x2=(6.79*10^-9*P*l)
//x=X
P=(275*10^-6)/(6.79*10^-9)//N
fc=P/Ac//N/m^2
fs=P/As//N/m^2
tp=P/(2*Ap)//N/m^2
printf("the stress in coper bar is, %f N/m^2\n",fc)
printf("the stress in steel bar is, %f N/m^2\n",fs)
printf("the stress is pin is,%f N.m^2",tp) |
0185909c8d1af358ea20e6dc377ed0cd8a9353ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH12/EX12.3/Ex12_3.sce | b09b3d599715db34fd47472e248fa724a7d9b70e | [] | 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 | 343 | sce | Ex12_3.sce | clc//
//
//
//Variable declaration
s=1*10^-3; //size(m)
l=1*10^-3; //length(m)
lamda=650*10^-9; //wavelength(m)
//Calculation
tantheta=(l/2)/s;
theta=atan(tantheta); //angle(radian)
sintheta=(sin(theta));
ss=0.6*lamda/sintheta; //spot size(m)
//Result
printf("\n spot size is %0.3f micro m",ss*10^6)
|
d838d9d1576fdd07c4fffeffea037b036c3b34c8 | 96ddb5c7e26f4c4665fed642bcd3e7492c8b3af9 | /test.sce | 16572c31a4c8bc1db0ab09d3e70a3f7f9d6cb343 | [] | no_license | kUser18/comm_scilab | 8faa238d1affd5842ae20b8dbc0d59324d12b477 | c98d78ba55b73644bf32cf1f901b6c0e45d73bc2 | refs/heads/master | 2020-03-26T11:00:15.328570 | 2018-09-30T20:35:50 | 2018-09-30T20:35:50 | 144,823,988 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,352 | sce | test.sce | function check(in1, in2, tolerance)
if argn(2) == 2 then
tolerance = 0.001
end
if type(in1) ~= type(in2) then
error('check: The data types of the inputs don''t match.')
end
if or(type(in1)==[1, 4, 8]) then
if size(in1) ~= size (in2) then
error('check: The sizes of the inputs don''t match.')
end
n = length(in1)
input_diff = in1 - in2
avgDiff = sum(abs(input_diff))/n
if avgDiff < tolerance then
disp('Passed!')
else
disp('Failed')
printf("Average Absolute Difference: %f\n", avgDiff)
end
end
endfunction
getd
//The tests start
//
//pskmod tests
disp("-----Running Tests for pskmod")
//
disp(" *Test 1: Two arguments")
P = pskmod([0,1 ; 2,3], 4)
P_octave = [1, %i ; -1, -%i]
check(P, P_octave)
//
disp(" *Test 2: Initial Phase")
P = pskmod([0,1 ; 2,3], 4, %pi/2)
P_octave = [%i, -1 ; -%i, 1]
check(P, P_octave)
//
disp(" *Test 3: Gray option")
P = pskmod([0,1 ; 2,3], 4, %pi/2, 'Gray')
P_octave = [%i, -1 ; 1, -%i]
check(P, P_octave)
//
disp("-----Finished Running Tests for pskmod")
//pskmod tests finished
//
//pskdemod tests
disp("-----Running Tests for pskdemod")
//
disp(" *Test 1: Two arguments")
P = pskdemod([1,-1 ; %i,-%i], 4)
P_octave = [0, 2 ; 1, 3]
check(P, P_octave)
//
disp(" *Test 2: Initial phase")
P = pskdemod([1,-1 ; %i,-%i], 4, %pi/2)
P_octave = [3, 1 ; 0, 2]
check(P, P_octave)
//
disp(" *Test 3: Gray code case")
P = pskdemod([1,-1 ; %i,-%i], 4, %pi/2, 'Gray')
P_octave = [2, 1 ; 0, 3]
check(P, P_octave)
//
disp("-----Finished Running Tests for pskdemod")
//pskdemod tests finished
//
//qammod tests
disp("-----Running Tests for qammod")
//
disp(" *Test 1: Four qam")
P = qammod([0,1 ; 2,3], 4)
P_octave = [-1+%i, -1-%i ; 1+%i, 1-%i]
check(P, P_octave)
//
disp("-----Finished Running Tests for qammod")
//qammod tests finished
//
//qamdemod tests
disp("-----Running Tests for qamdemod")
//
disp(" *Test 1: Four qam")
P = qammod([0,1 ; 2,3], 4)
Q = qamdemod(P,4)
Q_octave = [0,1;2,3]
check(Q, Q_octave)
//
disp("-----Finished Running Tests for qamdemod")
//qamdemod tests finished
//
//pammod tests
disp(" *Test 1: Simple PAM modulation")
P = pammod([0,1;2,3],4)
P_octave = [-3,-1;1,3]
check(P,P_octave)
//
disp(" *Test 2: PAM modulation with initial phase and Gray code")
P = pammod([0,1,2,3;4,5,6,7],8,%pi/2,"Gray")
P_octave = [7,5,1,3;-7,-5,-1,-3] * %i
check(P,P_octave)
//pammod tests finished
//
//pamdemod tests
disp(" *Test 1: Simple PAM demodulation")
P = pamdemod([-3,-1;1,3],4)
P_octave = [0,1;2,3]
check(P,P_octave)
//
disp(" *Test 2: PAM modulation with initial phase and Gray code")
P = pamdemod([7,5,1,3;-7,-5,-1,-3] * %i,8,%pi/2,"Gray")
P_octave = [0,1,2,3;4,5,6,7]
check(P,P_octave)
//pamdemod tests finished
//
//genqammod tests
disp(" *Test 1: General QAM modulation")
P = genqammod([0,1;2,3],[1,%i,-%i,-1])
P_octave = [1,%i;-%i,-1]
check(P,P_octave)
//genqammod tests finished
//
//genqamdemod tests
disp(" *Test 1: General QAM demodulation")
P = genqamdemod([1,%i;-%i,-1],[1,%i,-%i,-1])
P_octave = [0,1;2,3]
check(P,P_octave)
//genqammod tests finished
//The tests end
exit
|
36889e8f45e268d8522bfcf5bee21ed1b8a80e3b | bbc11c0776778eadc6701c4eedfe19ae8dfa1584 | /scilab/euler.sci | 8b433a2655837c3a43fea84a65aa08448542f216 | [] | no_license | ceconelli/Metodos-Computacionais | 842eeebf11cc74acc66fa08d7ca67f9c45f3b268 | 07f4326c4821facaf5989f89d5d959f8000e062c | refs/heads/master | 2020-06-03T03:23:51.762483 | 2017-06-12T16:12:12 | 2017-06-12T16:12:12 | 94,114,311 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sci | euler.sci | function[VetX,VetY]=euler(a,b,m,y0)
h = (b-a)/m;
x = a;
y = y0;
deff('[Fxy]=f(x,y)','Fxy=(1.5*10⁴)/(5*10⁸)-(1.5*10^(-3)+3*10^(-4))*C');
Fxy = feval(x,y,f);
VetX(1) = x;
VetY(1) = y;
for i=1:m
x = a + i*h;
y = y + h*Fxy;
disp(i,x,y,Fxy);
VetX(i+1) = x;
VetY(i +1) = y;
end
endfunction
|
0560bfc0bce283e94e905d45f6fbc3f327b60b2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH14/EX14.2/14_02.sce | 7c4d9229852100301f894e8d081e06821ce02270 | [] | 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 | 553 | sce | 14_02.sce | //Example No. 14_02
//Finite Difference Method
//Pg No. 470
clear ; close ; clc ;
deff('D2Y = d2y(x)','D2Y = exp(x^2)')
x_1 = 0;
y_0 = 0 ;
y_1 = 0 ;
h = 0.25
xf = 1
n = (xf-x_1)/h
for i = 1:n-1
A(i,:) = [1 -2 1]
B(i,1) = exp((x_1 + i*h)^2)*h^2
end
A(1,1) = 0 ; //since we know y0 and y4
A(3,3) = 0 ;
A(1,1:3) = [ A(1,2:3) 0] //rearranging terms
A(3,1:3) = [ 0 A(3,1:2)]
C = A\B //Solution of Equations
mprintf(' \n The solution is \n y1 = y(0.25) = %f \n y2 = y(0.5) = %f \n y3 = y(0.75) = %f \n ',C(1),C(2),C(3))
|
612d4bef3ec1dd781fb47058760746f59ef4b20a | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH19/EX19.3/19_3.sce | 3394de223f4b5f7c73a8d529171c96c9a5120965 | [] | 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 | 257 | sce | 19_3.sce | clc;
// page no 707
// prob no 19.3
// A typical low-cost monochrome receiver has a video bandwidth of 3MHz
B=3;// bandwidth in MHz
// The horizontal resolution in lines is given as
L_h=B*80;
disp('lines',L_h,'The horizontal resolution in lines is'); |
3bac24ed85a4c2140331f27060c6726f809c8938 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH16/EX16.2/Ex16_2.sce | 3c11536206d21e8373a0cf431620b6aa0eb5abab | [] | 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 | 614 | sce | Ex16_2.sce | //Calculate the Potential Energy of Intraction in between Sodium ion and HCl molucule
//Example 16.2
clc;
clear;
mew=1.08*3.33*10^-30; //Dipole moment in C m
r=4.0*10^-10; //Distance between Sodium ion and HCl molucule in m
epsilion=8.854*10^-12; //Molar absorption cofficient in C^2 N^-1 m^-2
q=1.602*10^-19; //Charge on electron in C
V1=-(q*mew)/(4*%pi*epsilion*r^2); //Potential energy of intraction in J
V=V1*6.023*10^23/1000; //Potential energy of intraction in kJ mol^-1
printf("Potential energy of intraction in between Sodium ion and HCl molucule = %.0f kJ mol^-1",V);
|
5c4154ffd2cfedeedfa3b07a321b53037cea1b58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.18/example_7_18.sce | 122592c50efd2c20f92fa9bb647bfa5016ce3df9 | [] | 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 | 464 | sce | example_7_18.sce | q=poly([0 1 2],'s','coeff');
G=1/q //gain FACTOR=1
H=1
F=1/(1+G*H)
syms t s;
Ko=limit(s*F/s,s,0) //Ko=Lt s->0 (1/(1+G(s)H(S))
d=diff(s*F/s,s);
K1=limit(diff(s*F/s,s),s,0) //K1=Lt s->0 (dF(s)/ds)
K2=limit(diff(d,s),s,0) //K2=Lt s->0 (d2F(s)/ds)
dd=diff(d,s)
K3=limit(diff(dd,s),s,0)
disp(K3)
a=(2+4*t+6*(t^2)+2*(t^3))
b=diff( a,t)
c=diff(b,t)
d=diff(c,t)
e=(Ko*a)+(K1*b)+(K2*c)+(K3*d) //error by dynamic coefficient method
disp(e,"error")
|
25a6599915ffd32a26180eb31f69d8d7d4a2acaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH11/EX11.6/Ex11_6.sce | b37e641814beb63fce9d6f7330e5fdf1443e8560 | [] | 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 | 673 | sce | Ex11_6.sce | clc
T=300// K
k=1.3806*10^-23// JK^-1
Qss=10^10// cm^-2
tox=650*10^-8// tox=650A =650*10^-8 cm
epsilon0=8.85*10^-14// F/m
epsilons=11.7
epsilonox=3.9
ni=1.5*10^10// cm^-3
e=1.6*10^-19// eV
Nd=2.5*10^14// cm^-3
phifn=(((k*T)/e)*log(Nd/ni))//phifn=V1*log(Nd/ni)=((k*T)/e)*log(Nd/ni)
disp(phifn,"the value of phifn in V is")
xdT=(4*(epsilons*epsilon0)*phifn/(e*Nd))^0.5
disp(xdT,"the value of xdT in meter is")
QSD=e*Nd*xdT// [QSD(max)]=e*Na*xdT
disp(QSD,"the value of QSD in C/cm^2")
phims=-0.35// V
VTP=(-QSD-(Qss*e))*(tox/(epsilonox*epsilon0))+phims-(2*phifn)// VTP=(-QSD(max)-Qss)*(tox/epsilonox)+phims+2*phifn
disp(VTP,"the value of VTP in V is")
|
d8c56658e544bd9680833707eb6749dd17e460c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH4/EX4.7.3/4_7_3.sce | 35d374e9f22a0484e5e05c350e73780eeadd0104 | [] | 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 | 509 | sce | 4_7_3.sce | //Transport Processes and Seperation Process Principles
//Chapter 4
//Example 4.7-3
//Principles of Steady State Heat Transfer
//given data
//si units
T1=394.3;
T2=366.5;
Tf=(T1+T2)/2;
del=30/1000;
rho=0.9295;
mu=2.21e-5;
k=0.03219;
Pr=0.693;
betaa=1/Tf;
L=0.6;
g=9.806;
Gr=(del^3)*(rho^2)*g*betaa*(T1-T2)/(mu*mu)
h=((k/del)*(0.20)*((Gr*Pr)^0.25))/((L/del)^(1/9));
A=0.6*0.4;//area= length*breadth
q=h*A*(T1-T2);
mprintf("heat transfer rate= %f W",q)
//calculation deviations may occur
|
b9dd87f65049a66da532ba65d66840ddf591042d | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassshiftc/test_7.sce | c05c71bcdc716b2321c31a315e762368de0b6f71 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | test_7.sce | // Test # 7 : Input Argument #2 range test
exec('./allpassshiftc.sci',-1);
[n,d]=allpassshiftc(0.2,53);
//!--error 10000
//Wt must lie between -1 and 1
//at line 46 of function allpassshiftc called by :
//[n,d]=allpassshiftc(0.2,53);
|
d90e2abc22dd1eaa90762974e354a98b8da1ea42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH8/EX8.06/8_06.sce | 9a2b9934aafb08914dca94a8c3d7c6ad3de14261 | [] | 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 | 476 | sce | 8_06.sce | //Maximum and power//
pathname=get_absolute_file_path('8.06.sce')
filename=pathname+filesep()+'8.06-data.sci'
exec(filename)
//Velocity of flow(in ft/sec):
V=Q/24/3600/(%pi/4*(D/12)^2)*42/7.48
//Maximum spacing(in ft):
L=2/f*D/12*(p2-p1)/(SG*d)/V^2*144
//Power needed at each pump(in hp):
Win=1/Effp*V*%pi/4*(D/12)^2*(p2-p1)/550*144
printf("\n\nRESULTS\n\n")
printf("\n\nMaximum spacing: %.3f feet\n\n",L)
printf("\n\nPower needed at each pump: %.3f hp\n\n",Win)
|
b2c1fab492756efb6764ff1778a7ee4a83291c5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH8/EX8.9/9.sce | b3c714bfe12a722f30c61bb3460703d5b4981a04 | [] | 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 | 262 | sce | 9.sce | clc
clear
//input
ns=330 //number of turns of secondary
np=450 //number of turns in primary
e=0.65 //efficiency
vp=240 //ac supply of primary
//calculation
vs=e*(vp*ns)/np//transformer equation
//output
printf("the pd across secondary is %3.0f V",vs)
|
b1e49ba90c62008be60d470b0cbe8fe92b118b54 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/dutycycle/dutycycle16.sce | 203f9e98fbe77a8e77a176455e34c1b03e882afc | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | dutycycle16.sce | //check o/p when i/p is a char vector
x=['a'];
[d]=dutycycle(x);
//output
//!--error 10000
//Input arguments must be double.
//at line 56 of function dutycycle called by :
//[d]=dutycycle(x);
//at line 3 of exec file called by :
//cycle16.sce', -1
|
f29aa344fa58d1dac83fb83b897f61de20d93746 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH9/EX9.2/example2.sce | f621c4e0d6529d5df39b18a157aaf4e8a444acd2 | [] | 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 | 559 | sce | example2.sce | //Chapter-9 example 2
//=============================================================================
clc;
clear;
//input data
Da = 2.5;//diameter of parabolic antenna in m
F = 5*10^9;//radar operating frequency in hz
Vo = 3*10^8;//velocity of EM wave in m/s
//Calculations
lamda = Vo/F;//wavelength
Gp = 6.4*(Da/lamda)^2//gain of parabolic reflector
G = 10*log10(Gp)//gain in dB
//Output
mprintf('Gain of parabolic reflector is %3.2f dB',G);
//=============end of the program==============================================
|
601524be6be5a788abc881107ff139a92c3c7dbb | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/任意極配置.sce | 70334334e665fe35788cee5a6309271bc014f6b3 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | WINDOWS-1252 | Scilab | false | false | 100 | sce | 任意極配置.sce | //”CˆÓ‹É”z’u
A=[1 0;0 2]; b=[1;1];
poles=[-2,-3];
k_=ppol(A,b,poles);
k=-k_
spec(A+b*k)
|
114be5f70fb6e92dec12ba3b987136db14de94c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH7/EX7.14/Ex7_14.sce | b3c52b18ceef2b9dcce0edbd7d0bd7ba2fae8cff | [] | 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 | 216 | sce | Ex7_14.sce | //Ex:7.14
clc;
clear;
close;
n=1;
n1=1.48;
r=((n1-n)/(n1+n))^2;// fresnel's reflection
Ls=-10*log(1-r)/log(10);// optical loss in dB
Lt=2*Ls;// total fresnel loss
printf("The total fresnel loss =%f dB", Lt); |
9e72a35c120bf9247b52af746061b98b96803027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH15/EX15.1/15_1.sce | ed986d76de067bbba7869c250b0f796e0b5a3e80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | 15_1.sce | //Find Electric field
//Ex:15.1
clc;
clear;
close;
v=230;//in volts
d=0.005;//in m
E=-v/d;//in V/m
disp(E,"Electric field between pair of conducting plates (in V/m) = "); |
7d06fae60619b4de590b5e6aa7a75481949a502d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH8/EX8.20/Ex8_20.sce | 98f63e0b10bda0705f0b160573ecd1c2298249e9 | [] | 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 | 555 | sce | Ex8_20.sce | //=============================================================================
// Chapter 8 example 20
clc;
clear;
// Variable declaration
e = 1.6*10^-19 // charge of electron
Rh = -0.0125; // hall co-efficient
ue = 0.36; // electron mobility
E = 80; // electric field
// Calculations
n = -1/(Rh*e)
J = n*e*ue*E // current density
// Result
mprintf('Current density = %d Ampere/m^2',J);
//==============================================================================
|
da2298ebe86ea75204d994c501203073d7196c36 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/buildcart.sci | 426dcb8f9e14476f36d0da2c1962bff5b312af74 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,983 | sci | buildcart.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Date: Jan. 2010
// Description: build a classification and regression tree
//
// Copyright (C) 2009 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// * Neither the name of OpenPR nor the names of its
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// DISCLAIMED. IN NO EVENT SHALL HOLDER AND CONTRIBUTORS BE LIABLE FOR ANY
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Input:
// train_samples - data matrix of size dim*num; each column is a data point
// train_labels - class labels of training samples
// impurity_type - impurity type for splitting; it can be Entropy, Gini,
// or Misclassification
//
// Output:
// cart - the trained classification and regression tree;
// it is a struct variable
///////////////////////////////////////////////////////////////////////////////
function cart = buildcart(train_samples, train_labels, impurity_type) //, stop_prune_crit)
if (length(unique(train_labels))==1),
cart.split = train_labels(1);
cart.right = [];
cart.left = [];
return;
end
ut = unique(train_labels);
for i = 1:length(ut),
ht(i) = length(find(labels == ut(i)));
end
if ((size(train_samples,2)==1) | (sum(ht<size(train_samples,2)))==length(ut)-1) //stop splitting (using Chi-square test for early stopping?)
cart.right = [];
cart.left = [];
[l_val, l_loc] = max(ht);
label = ut(l_loc)
cart.split = label;
else //split
[dim, num] = size(train_samples);
iN = ones(1, dim);
split_feature = zeros(1, dim);
threshold = zeros(1, dim);
//////////////////// how to use function "optim"...
for i = 1:dim,
for j = 1:num,
tmp = split(train_samples(i,j), train_samples, train_labels, i, impurity_type);
if tmp < iN(i),
iN(i) = tmp;
threshold(i) = train_samples(i, j);
end
end
end
[val, f_dim] = min(iN);
//split the node
cart.split = [f_dim, threshold(f_dim)];
right = find(train_samples(f_dim, :) > threshold(f_dim));
left = find(train_samples(f_dim, :) <= threshold(f_dim));
if isempty(right) | isempty(left),
cart.right = [];
cart.left = [];
[l_val, l_loc] = max(ht);
label = ut(l_loc)
cart.split = label; //record the label of the leaf
else
//continue splitting
cart.right = buildcart(train_samples(:, right), train_labels(:, right), impurity_type) //, stop_prune_crit);
cart.left = buildcart(train_samples(:, left), train_labels(:, left), impurity_type) //, stop_prune_crit)
end
end
endfunction
//split criterion
function iN = split(threshold, samples, labels, idx_f, stype)
class = unique(labels);
for i = 1:length(class),
sub = find(labels == class(i));
Pr(i) = length(find(samples(idx_f, sub) > threshold))/length(sub);
Pl(i) = length(find(samples(idx_f, sub) <= threshold))/length(sub);
end
select stype,
case 'Entropy'
iN_r = sum(-Pr.*log(Pr+2.2204e-016)/log(2));
iN_l = sum(-Pl.*log(Pl+2.2204e-016)/log(2));
case 'Gini'
iN_r = 1 - sum(Pr.^2);
iN_l = 1 - sum(Pl.^2);
case 'Missclassification'
iN_r = 1 - max(Pr);
iN_l = 1 - max(Pl);
otherwise
error('wrong split type');
end
ra = length(find(samples(idx_f, :) > threshold))/length(labels);
iN = -ra*iN_r-(1-ra)*iN_l;
endfunction
//stop criterion
//prune criterion
|
9c7b720cf00910a4c59a7f91242075b434a7f99d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH6/EX6.24/Ex6_24.sce | ba4fa87ebe7b1de14bbe37ebd681541396f8edef | [] | 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,367 | sce | Ex6_24.sce | clear
//
M = 10 //KN.m - The moment applied
I_max = 23.95*(10**6) //mm4 - I_z The moment of inertia
I_min = 2.53*(10**6) //mm4 - I_y The moment of inertia
o = 14.34 // degress the principle axis rotated
//Coponents of M in Y,Z direction
M_z = M*(10**6)*cos((%pi/180)*(o))
M_y = M*(10**6)*sin((%pi/180)*(o))
//tanb = I_z /I_y *tan14.34
b = atan((I_max*tan((%pi/180)*(o))/I_min ))
B = (180/%pi)*(b)
y_p = 122.9 // mm - principle axis Y cordinate
z_p = -26.95 //mm - principle axis z cordinate
stress_B = - M_z*y_p/I_max + M_y*z_p/I_min //MPa - Maximum tensile stress
y_f = -65.97 // mm - principle axis Y cordinate
z_f = 41.93 //mm - principle axis z cordinate
stress_f = - M_z*y_f/I_max + M_y*z_f/I_min //MPa - Maximum compressive stress
//location of nuetral axis To show these stresses are max and minimum
//tanB = MzI_z + MzI_yz/MyI_y +M_YI_yz
I_z = 22.64 *(10**6) //mm4 moment of inertia in Z direction
I_y = 3.84 *(10**6) //mm4 moment of inertia in Y direction
I_yz =5.14 *(10**6) //mm4 moment of inertia in YZ direction
M_y = M //KN.m bending moment in Y dorection
M_z = M //KN.m bending moment in Y dorection
B = atan(( M_z*I_yz)/(M_z*I_y )) //(%pi/180)* location on neutral axis
beta1 = (180/%pi)*(B)
printf("\n By sketching the line with angle %0.1f degrees The farthest point associated with B and F",beta1)
|
26f9930d09205f28ca20a7e54a6c95ca260ec5c7 | 18bf68cdf766092ccdcba8d231e8140063833a5a | /RampDT.sce | ed5acb7d2aeedf338d4fff26a2be059f4c2a4ef9 | [] | no_license | goodengineer/Scilab-Exercises | b51cc9a4c938f0289a32875d2d21eb9061d0e68e | 3c268211fe48e7e4d0002e44757ea8b50cda10f9 | refs/heads/master | 2022-12-24T23:30:12.875423 | 2020-10-05T06:27:20 | 2020-10-05T06:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | RampDT.sce | // program for the ramp function for discrete signal
// Exercise 4
clear;
function y = ramp_dis(n,a_d,m) // m is the slope & a_d (if +ve : advance / -ve : delay)
N = length(n); // length of the discrete time vector
y = zeros(1,N);
for i =1:N
if n(i) >= -a_d
y(i) = m*(n(i) + a_d);
else
end
end
endfunction
clf;
dn = 1;
n = -20 : dn : 20;
ad = -1;
amp = 3;
y1 = ramp_dis(n,ad,amp);
plot2d3(n,y1,style=[color("magenta")]);
xlabel("n","fontsize",4);
ylabel("y1","fontsize",4);
title("Ramp Function (Discrete Signal) ","fontsize",4)
|
3e591d6082de71af64dcf84da77a45e0e3c647e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.26/EX_2_26.SCE | fed609ceb629b4197cd67f72217b35fba698071c | [] | 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 | 633 | sce | EX_2_26.SCE | // Example 2.26.a: Find R1,R2 & Re
clc;
clear;
close;
Vcc=10;// Colector voltage in volts
Beta=50;//Common emitter D.C. Current gain
Rc=2;// Collector resistance in killo ohms
Vce=4;// Collector to emitter voltage in volts
Vbe=0.3;// Base to emitter voltage in volts
Ic=2;//Collector current in milli Ampere
Ib=Ic/Beta;//Base current in milli ampere
I1=10*Ib;//
Ie=Ic;// Emitter current in mili ampere
Re=(Vcc-Ic*Rc-Vce)/Ic;//Emiier Resistance
V2=Vbe+Ic*Re;//Voltage across R2
R2=V2/I1;
R1=25-R2;
disp(R1,"resistance in killo ohms")
disp(R2,"resistance in killo ohms")
disp(Re,"emitter resistance in killo ohms")
|
e4c5bdb004049778b5f97efcf84b0e8f3a58edd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH8/EX8.4.a/ex_8_4_A.sce | 337c317440922c7d3ef4f0f802a26158eefc9b99 | [] | 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 | 551 | sce | ex_8_4_A.sce | //Example 8.4.a // stray losses
clc;
clear;
close;
Il=83;// WHEN LOADED IN AMPERES
V=110;// in volts
I=5;// in amperes without load
ra=0.5;//armature resistance in ohms
rsh=110;//shunt field in ohms
Ish=V/rsh;// in ampere
anl=I-Ish;//armature current in amperes at no load
al=Il-Ish;//armature currentin amperes at load
Eb1=(V-anl*ra);//back emf at no load
Eb2=(V-al*ra);//back emf at load
Dp=Eb1*anl;//driving power at no load in watt
Dpl=Eb2*al;//driving power at load in watt
mo=Dpl-Dp;//out of motor in watt
disp(Dp,"stray losses in watt")
|
7e17ea95faf8bc476619d19e7052d0f2c299f416 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH2/EX2.16/Ex2_16.sce | 5a90d06e48bf0f018ce09ed5d76d26e3a281ba0e | [] | 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 | 198 | sce | Ex2_16.sce | //Example 2_16 page no:84
clc
current_source=5//in ampere
source_resistance=5//in ohm
equ_src_volt=current_source*source_resistance
disp(equ_src_volt,"equivalent source voltage is (in volt)")
|
97e238b26b3e4e1d1a9052699866b01f76060246 | b6afd72138cc9b10fdb8d6cc49ee5f89ff47020e | /tp/optim_fonction2.sci | dd23328b141e8851f221b1639e8559acd869dc40 | [] | no_license | zhongming-unice/numerical-method | a38eb7fc555b5f8e8ffbd74613e8911eeb97e3ed | 8b82c67598000e715d003dc2a0a7afbfcdbf2618 | refs/heads/master | 2020-05-04T11:55:25.504216 | 2019-04-10T15:45:59 | 2019-04-10T15:45:59 | 179,118,358 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,209 | sci | optim_fonction2.sci | //MAM_OPT_TP8
//auteur : ZHONG Ming
//
clear()
function [J,G]=cost1(v)
J = 0
n = length(v)
for i=1:n
J = J + (v(i)-1)^2
end
G = 2*v-2
endfunction
function [J,G]=cost2(v)
J = 0
n = length(v)
G = zeros(n)
for i=1:n
J = J + (v(i)-i)^2
G(i) = 2*(v(i)-i)
end
endfunction
function Av1 = Av(v)
n = length(v)
// Av1 = 2*v // cost = J1
// Av1 = Av3(v) // cost = J3
Av1 = Av5(v) // cost = J4
endfunction
function Av1 = Av3(v)
n = length(v)
Av1(1) = 2*v(1) - v(2)
for i = 2:n-1
Av1(i) = -v(i-1) + 2*v(i) - v(i+1)
end
Av1(n) = -v(n-1) + 2*v(n)
endfunction
function [J,G]=cost3(v)
n = length(v)
f = ones(n,1)
J = 0.5*Av3(v)'*v - f'*v
G = Av3(v) - f
endfunction
function Av1 = Av5(v)
n = length(v)
Av1(1) = 4*v(1) - v(2) - v(3)
Av1(2) = -v(1) + 4*v(2) - v(3) - v(4)
for i = 3:n-2
Av1(i) = -v(i-2) - v(i-1) + 4*v(i) - v(i+1) - v(i+2)
end
Av1(n-1) = -v(n-3) - v(n-2) + 4*v(n-1) - v(n)
Av1(n) = -v(n-2) - v(n-1) + 4*v(n)
endfunction
function [J,G]=cost4(v)
n = length(v)
f = ones(n,1)
J = 0.5*Av5(v)'*v - f'*v
G = Av5(v) - f
endfunction
|
3388cf0889df0d3147fb890b152caa34795acaf6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH11/EX11.16/EX16.sce | 3254d96ab74b403fa9ca1727b8f0f8f22794e013 | [] | 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,188 | sce | EX16.sce | // Example 11.16: (a) AF, T
// (b) R1F, RoF
clc, clear
btao=150;
ICQ=1.5e-3; // in amperes
VT=25e-3; // Voltage equivalent to temperatue at room temperature in volts
// From circuit without feedback but with loading in Fig. 11.50
RS=2e3; // in ohms
RE1=0.1e3; // in ohms
RF=6.2e3; // in ohms
RC1=4.3e3; // in ohms
RC2=1.2e3; // in ohms
RL=4.7e3; // in ohms
function[c]=parallel(a,b)
c=a*b/(a+b);
endfunction
disp("Part (a)");
gm=ICQ/VT; // Transconductance in mho
r_pi=btao/gm; // Incremental resistance of emitter-base diode in ohms
AV1=-btao*RC1/(RS+r_pi+(1+btao)*parallel(RE1,RF));
AV2=-btao*parallel(RC2,parallel(RF+RE1,RL))/(RC1+r_pi);
AoL=AV1*AV2;
bta=-RE1/(RE1+RF);
T=-bta*AoL;
AF=AoL/(1+T);
disp(AF,"AF =");
disp(T,"T =");
disp("Part (b)");
RID=r_pi+(1+btao)*parallel(RE1,RF); // in ohms
RID_dash=RS+RID; // in ohms
RIF_dash=RID_dash*(1+T); // in ohms
RIF=RIF_dash-RS; // in ohms
RoD=parallel(RC2,RF+RE1); // in ohms
RoD_dash=parallel(RoD,RL); // in ohms
RoF_dash=RoD_dash/(1+T); // in ohms
RoF=RL*RoF_dash/(RL-RoF_dash); // in ohms
RIF=RIF*1e-3; // in kilo-ohms
disp(RIF,"RIF (kΩ) =");
disp(RoF,"RoF (Ω) ="); |
d1f039b923ad131d264228aed2b5757515f78450 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.11/4Ex11.sce | afd947797e2ce69bc5f826c411df7247f549caa8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | 4Ex11.sce | //Chapter 4 Ex 11
clc;
close;
clear;
expr=4-(5/(1+(1/(3+(1/(2+(1/4)))))));
mprintf("The Value of expression is %.3f",expr);
|
7e7dc0bcfff63f028ffb1513c7e2ee997e992799 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH9/EX9.5/example9_5.sce | daae1c909bffc5e7bc357bf7c0fd2b6682ea0d77 | [] | 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 | 289 | sce | example9_5.sce | // to find the longest pulse width
// example 9-5 in page 261
clc;
//Given data
Ri=10e+6;// input resistance in ohm
Cc=0.1e-6;// coaxial cable capacitance in farad
//calculation
printf("pulse width=%.1f s",Ri*Cc/10);// here pulse width=tou/10 seconds
//result
//pulse width=0.1 s |
e2e2b44bf78d676c5f5260a4c623dd97cc7c708e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH7/EX7.1/Ex7_1.sce | 64466ed7d304101fa4a2f91028bd360c93432716 | [] | 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 | 225 | sce | Ex7_1.sce | //Ex 7.1 page 260
clc;
clear;
close;
N1=1000;// rpm
Va1=200;// V
alfa=60;// degree
Va2=230;// V
N2=2*Va2*sqrt(2)*cos(alfa*%pi/180)*N1/Va1/%pi
printf('\n Speed of motor = %d rpm',N2)
// ans in the textbook is not accurate.
|
7408a2aff90f0f466530f6a26628d0264e52b584 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH8/EX8.19/EX8_19.sce | 43609337a3f94bd1acfab371f48cc659c87b2c3d | [] | 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 | 1,150 | sce | EX8_19.sce | clc;funcprot(0);//Example 8.19
//Initilisation of Variables
Tci=30;......//Inlet temparature of water in degrees celcius
Tco=100;....//Outlet temparature of water in degrees celcius
Th=120;......//Temparature of oil in degrees celcius
mc=2.5;....//Flow rate of water in kg/s
U=2000;..........//Overall heat transfer coefficient in W/m^2K
Cpc=4.2;....//Specific heat of water in kJ/kgK
Rf=0.0002;....//Fouling factor in m^2*K/W
//calculations
Qw=mc*Cpc*(Tco-Tci);....//Heat transfer water in kW
LMTD=((Th-Tci)-(Th-Tco))/log((Th-Tci)/(Th-Tco));......//Log mean temparature diffrence of steam in counter flow arrangement in K
A=(Qw*10^3)/(U*LMTD);....//Surface area of heat exchanger in m^2
Uscale=1/(Rf+(1/U));....//Overall heat transfer coefficient in presence of scaling factor in W/m^2K
LMTD1=(Qw*1000)/(Uscale*A);....//Log mean temparature diffrence of steam in counter flow arrangement in presence scaling factor in K
//By Trail & Error method
Tco1=74.5;.....//Outlet temparature of water in presence of scaling factor in degrees celcius
disp(Tco1,"Outlet temparature of water in presence of scaling factor in degrees celcius:")
|
b3344442a44c1e78dcb75cea307c4a508c7ad28f | 271e1c7556443952fc17a95243f62923f3b742a4 | /scilab/show-vc-output.sce | 8f84bdbeee8b24364bf448e9e41a9ce2cffdbd62 | [] | no_license | Edlward/aec | 5b38f9d8d502e27ae7037c6bc20568ee0ccb4f50 | 3aa5e2f81be6818c5b9b837512431f527a85dc2c | refs/heads/master | 2021-06-01T03:57:16.874040 | 2016-07-13T18:33:01 | 2016-07-13T18:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | show-vc-output.sce | // Show output of Visual C++ AEC implementation
funcprot(0); // avoid warning when redefining a function
exec('utils.sce');
// file names
mic_fn = '../data/03_mic.raw';
spk_fn = '../data/03_spk.raw';
out1_fn = '../data/out/03_out.raw';
mic = loadRawData(mic_fn);
spk = loadRawData(spk_fn);
out1 = loadRawData(out1_fn);
// plot the data
plotOneFileBelowAnother(spk_fn, mic_fn, out1_fn);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.