blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
6
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
87
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
15 values
visit_date
timestamp[us]date
2016-08-04 09:00:04
2023-09-05 17:18:33
revision_date
timestamp[us]date
1998-12-11 00:15:10
2023-09-02 05:42:40
committer_date
timestamp[us]date
2005-04-26 09:58:02
2023-09-02 05:42:40
github_id
int64
436k
586M
star_events_count
int64
0
12.3k
fork_events_count
int64
0
6.3k
gha_license_id
stringclasses
7 values
gha_event_created_at
timestamp[us]date
2012-11-16 11:45:07
2023-09-14 20:45:37
gha_created_at
timestamp[us]date
2010-03-22 23:34:58
2023-01-07 03:47:44
gha_language
stringclasses
36 values
src_encoding
stringclasses
17 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
15 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
074d85897302b605d575575b035d9c971e27677f
449d555969bfd7befe906877abab098c6e63a0e8
/443/DEPENDENCIES/3_12_data.sci
86121de5a711de598e9fa0474ea7a7f8ab28e8a0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
166
sci
3_12_data.sci
//Bore of the engine(in cm) d=25; //Stroke length(in cm) L=37.5; //Clearance volume(in cc) Vc=1500; //Cutoff percent x=0.05; //Ratio of specific heats y=1.4;
ca8a5ddbbbcb29ad0cb137d6ee89834be6d7251f
1bb72df9a084fe4f8c0ec39f778282eb52750801
/test/P18.prev.tst
e32f821f01ac72ddfcb346201749ad7ece07d1a2
[ "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
153
tst
P18.prev.tst
90*a + 108*a^2 + 81*b + 162*a*b + 81*b^2 - 121*d + 28 getVariablePowers(9)=0 groupBy(9)= + 1*(90*a + 108*a^2 + 81*b + 162*a*b + 81*b^2 - 121*d + 28)
ad7ecad610be30f65e6e17a8be150968deeee0f4
449d555969bfd7befe906877abab098c6e63a0e8
/1205/CH2/EX2.4/S_2_4.sce
5776956b97c57bf7843da9267dc7967ec0d5f4e0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
609
sce
S_2_4.sce
clc; W=8000; // N weight of automobile alpha=2;//degree // TAB and TAC are tensions in cable AB and cable AC respectively A=90+30;// degree , Angle between vector T1 and resultant B=alpha;// degree , Angle between vector T2 and resultant C=180-(A+B);// degree , Angle between vector T1 and T2 // conversion of angles into radian A=A*%pi/180; B=B*%pi/180; C=C*%pi/180; // sin(A)/TAB == sin(B)/TAC == sin(C)/W .............. sine law TAB=(W*sin(A))/sin(C);//N TAC=(W*sin(B))/sin(C);//N printf("Tension in cable AB is TAB=%.2f N and in Cable AC is TAC=%.2f N \n",TAB,TAC);
1914cbfcd9c2d3fc02371c0211b56acc21452f53
449d555969bfd7befe906877abab098c6e63a0e8
/752/CH17/EX17.1.1/17_1_1.sce
864c6006698b41141febb510d242308ce386f793
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
444
sce
17_1_1.sce
clc; //page no 641 //problem no 17.1.1 //a)Determination of max gain1 FTL=50;M=12; NFL=2*FTL;NFLG=(NFL-M); G_max1=NFLG/2; disp('dB',G_max1,'a)The max gain is'); //b)Determination of max gain2 IL=3;RLW=20;RLE=40; NL=(4*IL)+RLW+RLE; NLG=(NL-M); G_max2=NLG/2; disp('dB',G_max2,'The max gain is'); //c)Determination of amplr gain LT=15;OM=6; OLW=(RLW-LT)/2; OLE=(RLE-LT)/2; A=OM+OLW+OLE+(2*IL); disp('dB',A,'The amplr gain is');
59ae7adb5447bf7b30788bac5dfdb64fdb412e8f
4246cbb6bfbd96e60074b607df96d71e7b4ee070
/opp6code/assoc_array_perf.tst
8485835686cb1c252d23624bfa5087776c82a520
[]
no_license
thangduong3010/PL-SQL
bc0fa5c3400e46acc0ab63156573590935607b5d
1415772c87750bd30625eacf2bd116fb7e0c0aae
refs/heads/master
2020-05-22T06:57:54.352234
2016-12-26T04:47:27
2016-12-26T04:47:27
39,061,697
1
3
null
null
null
null
UTF-8
Scilab
false
false
2,624
tst
assoc_array_perf.tst
SET SERVEROUTPUT ON FORMAT WRAPPED CREATE OR REPLACE PROCEDURE assoc_array_index_test ( iterations_in IN PLS_INTEGER DEFAULT 10000 , length_in IN PLS_INTEGER DEFAULT 100 ) IS TYPE tab_bynum_tabtype IS TABLE OF employees%ROWTYPE INDEX BY PLS_INTEGER; TYPE tab_byvc_tabtype IS TABLE OF employees%ROWTYPE INDEX BY VARCHAR2 (32767); bynum_tab tab_bynum_tabtype; byvc_tab tab_byvc_tabtype; v_salary NUMBER; BEGIN DBMS_OUTPUT.put_line ( 'Compare String and Integer Indexing, Iterations = ' || iterations_in || ' Length = ' || length_in ); FOR rec IN (SELECT * FROM employees) LOOP bynum_tab (rec.employee_id) := rec; END LOOP; FOR rec IN (SELECT * FROM employees) LOOP byvc_tab (RPAD (rec.last_name, length_in, 'x')) := rec; END LOOP; sf_timer.start_timer; FOR indx IN 1 .. iterations_in LOOP FOR rec IN (SELECT * FROM employees) LOOP v_salary := bynum_tab (rec.employee_id).salary; END LOOP; END LOOP; sf_timer.show_elapsed_time ('Index by PLS_INTEGER ' || length_in ); sf_timer.start_timer; FOR indx IN 1 .. iterations_in LOOP FOR rec IN (SELECT * FROM employees) LOOP v_salary := byvc_tab (RPAD (rec.last_name, length_in, 'x')).salary; END LOOP; END LOOP; sf_timer.show_elapsed_time ('Index by VARCHAR2 ' || length_in); END assoc_array_index_test; / BEGIN assoc_array_index_test (10000, 100); assoc_array_index_test (10000, 1000); assoc_array_index_test (10000, 10000); /* Compare String and Integer Indexing, Iterations = 10000 Length = 100 Timings in seconds for "By Num": Elapsed = 4.72 - per rep .000472 CPU = 4.49 - per rep .000449 Timings in seconds for "By VC": Elapsed = 5.43 - per rep .000543 CPU = 5.44 - per rep .000544 Compare String and Integer Indexing, Iterations = 10000 Length = 1000 Timings in seconds for "By Num": Elapsed = 4.64 - per rep .000464 CPU = 4.53 - per rep .000453 Timings in seconds for "By VC": Elapsed = 7.78 - per rep .000778 CPU = 7.76 - per rep .000776 Compare String and Integer Indexing, Iterations = 10000 Length = 10000 Timings in seconds for "By Num": Elapsed = 5.09 - per rep .000509 CPU = 4.56 - per rep .000456 Timings in seconds for "By VC": Elapsed = 31.72 - per rep .003172 CPU = 31.66 - per rep .003166 */ END; /
b9eec02939cac26c2b6a95ae98d81a5c44bf52e0
449d555969bfd7befe906877abab098c6e63a0e8
/3460/CH4/EX4.4/Ex4_4.sce
1233bb4d4948a315fe951401cb42c5f1a883953e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
386
sce
Ex4_4.sce
clc; clear all; X=10; //volt t =5*1e-6; //second f=98*1e6; //Hz //part-a: find x for thita= +90; //degree thita=90; x=X*sin(((3.14159/180)*62.8*f*t)+thita); //volt disp(+'volt',x,"for part-a x="); //part-b: find x for thita= -45; //degree thita=-45; x=X*sin(((3.14/180)*6.28*f*t)-45); //volt disp(+'volt',x,"for part-b x="); disp("This is PM signal modulation")
20a09433384b5d71d6f7ce8597fbc818fe4cc8b7
449d555969bfd7befe906877abab098c6e63a0e8
/3812/CH2/EX2.3/2_3.sce
ffe4f88c5e59f236d8906da6305d74795fe062ab
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
381
sce
2_3.sce
//Example 2_3 //Find the convolution of two continuous time signal clc; t=-8:1/100:8; for i=1:length (t) x(i)=exp(-abs(t(i))); if t(i)>=1 then h(i)=exp(-2*t(i)); else h(i)=0; end end t1=t; y= convol (x,h) figure plot2d(t1,h); title('Impul seresponce'); figure plot2d(t,x); title('Input signal'); figure t2=-16:1/100:16 plot2d(t2,y); title('Output signal');
4b03286f6d774a6de8160d293c3cbdc3d1a6ead3
449d555969bfd7befe906877abab098c6e63a0e8
/608/CH28/EX28.01/28_01.sce
ee2c3f6f23608115376159d7f2eba278fd32a3b8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
607
sce
28_01.sce
//Problem 28.01: A coil having a resistance of 10 ohm and an inductance of 75 mH is connected in series with a 40 μF capacitor across a 200 V a.c. supply. Determine at what frequency resonance occurs, and (b) the current flowing at resonance. //initializing the variables: R = 10; // in ohms C = 40e-6; // IN fARADS L = 0.075; // IN Henry V = 200; // in Volts //calculation: //Resonant frequency, fr = 1/(2*%pi*((L*C)^0.5)) //Current at resonance, I I = V/R printf("\n\n Result \n\n") printf("\n (a)Resonant frequency = %.1f Hz ",fr) printf("\n (b)Current at resonance, I is %.0f A ",I)
002826c20307a9afec319e611ca298e9609159c9
449d555969bfd7befe906877abab098c6e63a0e8
/1016/CH13/EX13.1/ex13_1.sce
ba7d00a58022f81fd77e465d4e71b1d65751d9ec
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
369
sce
ex13_1.sce
clc;clear; //Example 13.1 //given data m1=7.0183;//mass of 3Li7 in a.m.u m2=4.0040;//mass of 2He4 in a.m.u m3=1.0082;//mass of 1H1 in a.m.u Na=6.02*10^26;//Avgraodo no. in 1/kg mole //rxn = 3Li7 + 1H1 = 2He4 + 2He4 //calculations dm=m1+m3-(2*m2); E=dm*931; n=0.1*Na/7;//no of atoms in 100 gm of lithium TE=n*E; disp(TE,'Total energy available in MeV')
06a0a3299ec40acf0f80db8aa07ccce4beb3fa79
449d555969bfd7befe906877abab098c6e63a0e8
/3407/CH8/EX8.6/Ex8_6.sce
35e8dbd753537ba1bd3c54a024a07fe039a263ff
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,791
sce
Ex8_6.sce
clear; clc; funcprot(0); //given data Z = 12;//number of vanes delW = 230;//in kW T01 = 1050;//stagnation temperature in K mdot = 1;//flow rate in kg/s eff_ts = 0.81;//total-to-static efficiency Cp = 1.1502;//in kJ/(kg.K) gamma = 1.333; R = 287;//gas constant cm3_U2 = 0.25; nu = 0.4; r3s_r2 = 0.7; w3av_w2 = 2.0; p3 = 100;//static pressure at rotor exit in kPa zetaN = 0.06;//nozzle enthalpy loss coefficient U2 = 538.1;//in m/s p01 = 3.109*10^5;//in Pa //results of Example 8.4 and Example 8.5 r3av_r3s = 0.5*(1+nu); r3av_r2 = r3av_r3s*r3s_r2; alpha2 = (180/%pi)*acos(sqrt(1/Z)); beta2 = 2*(90-alpha2); beta3_av = (180/%pi)*atan(r3av_r2/cm3_U2); beta3s = (180/%pi)*atan(r3s_r2/cm3_U2); w3s_w2 = 2*cos(beta3_av*%pi/180)/cos(beta3s*%pi/180); S = delW/(Cp*T01); T03 = T01*(1-S); T3 = T03 - (cm3_U2^2)*(U2^2)/(2*Cp*1000); r2 = sqrt(mdot/((p3*1000/(R*T3))*(cm3_U2)*U2*%pi*(r3s_r2^2)*(1-nu^2))); D2 = 2*r2; omega = U2/r2; N = omega*30/%pi; ctheta2 = S*Cp*1000*T01/U2; alpha2 = (180/%pi)*acos(sqrt(1/Z)); cm2 = ctheta2/tan(alpha2*%pi/180); c2 = ctheta2/sin(alpha2*%pi/180); T2 = T01 - (c2^2)/(2*Cp*1000); p2 = p01*(1-(((c2^2)*(1+zetaN))/(2*Cp*1000*T01)))^(gamma/(gamma-1)); b2_D2 = (0.25/%pi)*(R*T2/p2)*(mdot/(cm2*r2^2)); //Calculations c3 = cm3_U2*U2; cm3 = c3; w3_av = 2*cm3/(cos(beta2*%pi/180)); w2 = w3_av/2; c0 = sqrt(2*delW*1000/eff_ts); zetaR = (c0^2 *(1-eff_ts)- (c3^2)- zetaN*(c2^2))/(w3_av^2); i = beta2; n = 1.75; eff_ts_new = 1-((c3^2)+zetaN*(c2^2)+zetaR*(w3_av^2)+(1-(cos(i*%pi/180))^n)*(w2^2))/(c0^2); //Results printf('(a)The rotor enthalpy loss coefficient = %.4f',zetaR); printf('\n(b) The total-to-static efficiency of the turbine = %.3f',eff_ts_new); //there are some errors in the answers given in textbook
74afee53ba7489c3392e87b43565c46a437b62b1
449d555969bfd7befe906877abab098c6e63a0e8
/339/CH5/EX5.2/ex5_2.sce
fb11d12806dfd743b0c9f442143d1852480d5250
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,182
sce
ex5_2.sce
//define problem parameters Z0=50; //characteristic line impedance ZG=50; //source impedance ZL=50; //load impedance //series RLC filter parameters R=10; L=50e-9; C=0.47e-12; VG=5; //generator voltage //compute series resonance frequency w0=1/sqrt(L*C); f0=w0/(2*%pi); //define a frequency range delta=0.2; w=((1-delta):2*delta/1000:(1+delta))*w0; //compute quality factors Q_LD=w0*L/(R+2*ZL) //loaded quality factor Q_F=w0*L/R //filter quality factor Q_E=w0*L/(2*ZL) //external quality factor // compute Bandwidth BW=f0/Q_LD //compute input and load power P_in=VG^2/(8*Z0) P_L=P_in*Q_LD^2/Q_E^2 //compute insertion loss and load factor epsilon=w/w0-w0./w; LF=(1+epsilon.^2*Q_LD^2)/(1-Q_LD/Q_F)^2; IL=10*log10(LF); disp(Q_LD,"Loaded Quality Factor"); disp(Q_F,"Filter Quality Factor"); disp(Q_E,"External Quality Factor"); disp("Watts",P_in,"Input Power"); disp("Watts",P_L,"Power delivered to the load"); disp("Hertz",f0,"resonance frequency of the filter"); disp("Hertz",BW,"Bandwidth of the filter"); plot(w/2/%pi/1e9,IL); title('Insertion loss versus frequency'); xlabel('Frequency, GHz'); ylabel('Insertion loss, dB');
9a6eea069766dfe4a45fde9f28feb46aa35e907c
a159f59d19e2b03b234e9c2977ba4a932180e648
/Software/GreenScilabV0.9/bin/gl_disp_environment.sci
3faaabf4244028b56c6324e8d044a75d8026427e
[]
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,860
sci
gl_disp_environment.sci
// display biomass production, size of organ, number.... //%%%%%%%% curve of biomass repartition between organs QO(id,p,J) %%%%%%% //if Flag_demo==0 then // x_message('the information will be shown in the workspace of SCILAB'); //end f = scf() ; f.figure_name='Environement condition'; [index_env] = find(Flag_environment); size_index_env = size(index_env,2); index_env(size_index_env+1) = 4; i=1:N;data=[]; for id = 1:(size_index_env+1) select index_env(id) case 1 then data=water_sequence(i); titletext='Water';ylabeltext='W'; case 2 then data=theta_sequence(i);titletext='Temperature';ylabeltext='T'; case 3 then data=light_sequence(i);titletext='Light';ylabeltext='L'; case 4 then data =E(i);titletext='Environement factor';ylabeltext='E'; end if size_index_env == 1 then subplot(1,2,id) plot(i,data) a=gca(); a.children(1).children.thickness=6; a.title.text=titletext ; a.title.font_size=3; a.x_label.text="Plant age" ; a.x_label.font_size=2; a.y_label.text=ylabeltext ; a.y_label.font_size=2; elseif size_index_env == 0 then subplot(1,1,id) plot(i,data) a=gca(); a.children(1).children.thickness=6; a.title.text=titletext ; a.title.font_size=3; a.x_label.text="Plant age" ; a.x_label.font_size=2; a.y_label.text=ylabeltext ; a.y_label.font_size=2; else subplot(2,2,id) plot(i,data) a=gca(); a.children(1).children.thickness=6; a.title.text=titletext ; a.title.font_size=3; a.x_label.text="Plant age" ; a.x_label.font_size=2; a.y_label.text=ylabeltext ; a.y_label.font_size=2; end end
6c979c41bebbdcb1b15bc178532560a26b96b3b5
4bbc2bd7e905b75d38d36d8eefdf3e34ba805727
/ee_scicoslab/utils/utils.sci
f292821ddf05a0bbff5e53df38f7df00905833ff
[]
no_license
mannychang/erika2_Scicos-FLEX
397be88001bdef59c0515652a365dbd645d60240
12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba
refs/heads/master
2021-02-08T17:01:20.857172
2012-07-10T12:18:28
2012-07-10T12:18:28
244,174,890
0
0
null
null
null
null
UTF-8
Scilab
false
false
377
sci
utils.sci
//################################### // ScicosLab pack functions //################################### function EE_debug_printf(msg, flag) //% This function prints a message only if flag > 0. [lhs , rhs] = argn(0); if (rhs == 1) flag = 0; end if (flag > 0) mfprintf(flag, msg); mfprintf(flag, "\n"); elseif (flag==0) disp(msg) end
279b18e2ec6afd3693340b6b80877d6c0383002b
9715cbe7e8e57bb70f628b3bd021842f99fbad75
/taller/soluciones/anguloProyectil.sci
4b4494bf34372549e2d56e96cc75a81e9f1f697e
[]
no_license
UNIVALLE-EISC/numerical-methods
a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe
3ea9401e281523e15be0525bfe36e48560caf646
refs/heads/master
2021-01-10T15:22:36.080955
2018-10-02T21:37:42
2018-10-02T21:37:42
51,824,833
2
2
null
null
null
null
UTF-8
Scilab
false
false
179
sci
anguloProyectil.sci
function fx = anguloProyectil(theta0) v0 = 30; g = 9.81; x = 90; y0 = 1.8; y = 1; fx = tan(theta0)*x-(g./(2*(v0^2)*(cos(theta0))^2))*x^2+y0-y; endfunction
e19b0e3ccf7b981bc2f50cee2d73803143b5660e
449d555969bfd7befe906877abab098c6e63a0e8
/1994/CH7/EX7.2/Example7_2.sce
6dc05a3524126ce35b23e2279887fa5da7ee4859
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
333
sce
Example7_2.sce
//Chapter-7,Example7_2,pg 7-21 x=poly(0,"x") L=(12+6*x-(x^2))//x is deflection in rad from zero dl=derivat(L) K=12 I=8 x=6/(((2*K)/(I^2))+2)//x=((I^2)dl)/(2*k) z=x*(180/%pi) y=horner(L,x) printf("deflection for given current\n") printf("x=%.2f deg\n",z) printf("inductance for given deflection\n") printf("L=%.2f uH",y)
eef0fad05f01cc98630113f140046e5eec98d82c
449d555969bfd7befe906877abab098c6e63a0e8
/3636/CH11/EX11.3/Ex11_3.sce
1cae31f753b5c295f30dc4e0d84dcff75ee55745
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
162
sce
Ex11_3.sce
clear; clc; beta1=20 //bjt gain beta2=20 //bjt gain //Calculation beta0=beta1+beta2+(beta1*beta2) mprintf("net common-emitter current gain= %g",beta0)
1ce910ceabcecd0a3dacffdf08a6834611448d41
4b7eae708edea1f2fc5fd5f08bdd0ee8f1598adf
/code/pev/select.sce
2f2f9796eca4716f8583dd0eb0481f664cff94ad
[]
no_license
kiraboris/pyttools
d7bea20bd371b811f6fe86ab94dac3317b9e3679
7a07dd9da5dd792f62a9c4cf33fdf2ae6be626fe
refs/heads/master
2021-05-31T01:17:35.354923
2016-02-03T10:12:09
2016-02-03T10:12:09
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
5,885
sce
select.sce
// Procedures to select objects (make a decision, choose a selection). If you don't know where to start, type // pevPrintResult( pevSelectF( filename ) ); // and then read comments below. //=============== function sOut = lParseQualFun( sIn ); fScanBracket = %F; sOut = ""; for(i=1:length(sIn)) if( part(sIn, i:i) == 'x' ) fScanBracket = %T; end; if( part(sIn, i:i) == ')' & fScanBracket ) sOut = strcat([sOut ",:)"]); fScanBracket = %F; continue; end if( part(sIn, i:i) == '*' ) sOut = strcat([sOut " .*"]); continue; end sOut = strcat([sOut part(sIn, i:i)]); end endfunction // =================== // pevSelect: select objects by minimizing P(Error), where Error happens if objects not chosen are not worse in terms of user-defined "quality" then chosen objects and P() is a possibility measure constructed from "expert sasessments" - initial poss-dists of each object's "quality" p(x), x=1:qXmax. // COMMENT: There are qObj objects and each object has qParam parameters to be assessed in terms of poss-dist prior to run pevSelect. Values of qObj, qParam and also qXmax are generally selected by the Chief. The Chief also must invent a monotonous object quality function qualFun(x1, ..., xM)) -> y, M = qParam. // IN: qParam*qXmax*qObj array (assuming 1 expert), // string 'sQualFun', e.g. sQualFun='y=(x(1)+x(2))/2' // remark #1: if you like to feed Select directly from a datafile with qParam and sQualFun specified, use pevSelectF( filename ) // First qParam lines of poss-dist data will correspond to the 1-st assessed object and so on. // remark #2: if you have more than 1 expert, the 'ptSup' or 'ptInf' functions may be called prior to 'ptObjSelection' to obtain a "collective opinion" as supremum or infinum of poss-dists. See file 'supremum.sce'. // OUT: two following qObj*qObj boolean matrices(example): // sel(1)=[0 0 1 0 0 1] -- 3rd and 5th objects // sel(2)=[0 0 1 0 1 1] // sel(3)=[1 0 1 0 1 1] -- 1st, 3rd, 5th and 6th objects // ... // There is a number 'k' of objects to select as a setting; for each setting in range k=1:qObj there is a set of object indeces of size >= k the Chief may select k from with the SAME possibility or Error for any choice - these sets are stored to sel(k,:,1). There is also a set of object indexes for each k of size <= k, but induces a strictly lower possibility of Error - they are stored to sel(k,:,2) if exist (otherwise sel(k,:,2) are all False). // remark #1: Additional ouput is a qObj*qObj possibility matrix FOR DEBUG! function [ sel, PLoser2d ] = pevSelect(poss_init, sQualFun); sQualFunParsed = lParseQualFun( sQualFun ); /// print(%io(2), sQualFunParsed); deff('y=qualFun(x)', sQualFunParsed); // make a lambda from string [qParam_notUsed,qXmax_notUsed,qObj] = size(poss_init); sel = zeros(qObj,qObj,2); for k=1:qObj for i=1:qObj PLoser2d(k,i) = lFindPLoser(poss_init, i, k, qualFun); // possibility for object i not to fit into k best objects among 1:qObj end; PLoserTemp1d = PLoser2d(k,:); /// sel(k,:, 1) = ( PLoserTemp1d ~= PLoserTemp1d ); /// sel(k,:, 2) = ( PLoserTemp1d ~= PLoserTemp1d ); // same shit while sum( sel(k,:, 1) ) < k // until we have sel at least k objects sel(k,:, 2) = sel(k, : ,1); // sel on previous step is of size <= k and with less P(E) sel(k,:, 1) = sel(k,:, 1) | ( PLoserTemp1d == min(PLoserTemp1d) ); // add objects with minimal P(E) PLoserTemp1d( sel(k,:, 1)==1 ) = 10; // wipe out the miniumium values to find next minimum values // sel(k,:,1) is a boolean, but real-valued matrix, thus for indexing use float_matrix( bool_float_matrix==1 ) end; end; endfunction // =================== // pevPrintResult: wrapper to pevSelect for file (later http stream) input // IN: filename // OUT: same as pevSelect function [ sel, PLoser2d ] = pevSelectF( filename ) [poss, sData1d] = ptLoadPoss3d(filename); // poss = ptNormalize( poss, 'r' ); //WARNING! Auto-normalize is disabled [ sel, PLoser2d ] = pevSelect(poss, sData1d(2)); endfunction // =================== // pevPrintResult: function to print "smart" output of pevSelect (later maybe also something else) // IN: 'sel' from pevSelect // PRINT: prints the output in text form // OUT: list of size k with two lists of chosen objcts (instead of two boolean matrices) // sel(k)(1) is "mandatory" selection (size <= k), sel(k)(2) is "additional" selection (size >= k) function sel = pevPrintResult(sel3d) qObj = size(sel3d, 1); Objects = 1:qObj; // set of all object indeces sel = list(); for k = 1:qObj sel(k) = list(); mprintf("For k=%i ",k); if sum( sel3d(k,:,1) ) == k // if selection is clear (unambiguous) sel(k)(1) = Objects(sel3d(k,:,1)==1); // mandatory set is clear sel(k)(2) = []; // additional set is empty mprintf("(clear): "); else // if selection is ambiguous // mandatory set is sel of size <= k (with less P(E)) sel(k)(1) = Objects(sel3d(k,:,2)==1); // additional set is sel of size >=k without mandatory set sel(k)(2) = Objects(sel3d(k,:,1)==1 & sel3d(k,:,2)==0); mprintf("(ambiguous): "); end//if // ===print 1-st set for i=1:length(sel(k)(1)) mprintf("%i ", sel(k)(1)(i)); end if length(sel(k)(2))>0 then mprintf(" | "); end; // ===print 2-nd set for i=1:length(sel(k)(2)) mprintf("%i ", sel(k)(2)(i)); end mprintf("\n"); end//for endfunction // ==eof===eof==
0f83524fecc324cfcc5ec8d820c8b08cdd2a1ae8
449d555969bfd7befe906877abab098c6e63a0e8
/1445/CH8/EX8.11/Ex8_11.sce
09adc0d300165abbb10137858444dbcf78fac9e3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
597
sce
Ex8_11.sce
//CHAPTER 8- DIRECT CURRENT MACHINES //Example 11 clc; disp("CHAPTER 8"); disp("EXAMPLE 11"); //VARIABLE INITIALIZATION p_o=20*1000; //output in W v_t=250; //in Volts r_a=0.05; //aramture resistance in Ohms r_se=0.025; //series resistance in Ohms r_sh=100; //shunt resistance in Ohms //SOLUTION I_t=p_o/v_t; v_se=I_t*r_se; //for series winding v_sh=v_t+v_se; //for shunt winding I_sh=v_sh/r_sh; I_a=I_sh+I_t; E_a=v_t+(I_a*r_a)+v_se; disp(sprintf("The total emf generated is %f V",E_a)); //END
0542bda41808fc28082518d3db90b3a295796622
7dbe475cd217e686e9689cb0536a9a73f625a85b
/Rez/univariate-lcmsr-wavetime/vrt_ind_d/~LCM-SR-vrt_ind_d-nat.tst
e83c4820c6e2b379ac45f5334bfa23850edce91e
[]
no_license
jflournoy/lnt_pxvx
fac8d6b00b886fa3dc800dcaa288aa186027b9ea
3f1ddc64e4bf0aecddfa21d45f889620dbdd442d
refs/heads/master
2021-10-20T12:52:55.625243
2019-02-27T17:06:09
2019-02-27T17:06:09
64,423,528
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,999
tst
~LCM-SR-vrt_ind_d-nat.tst
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 0.453171D+00 2 -0.538644D-01 0.517265D-01 3 0.140832D-02 0.162517D-02 0.715939D-02 4 0.353742D+00 0.449268D+00 0.155749D+01 0.663541D+03 5 0.313999D+00 0.267056D+00 0.774437D+00 0.189570D+03 0.140630D+03 6 0.395550D-03 -0.563020D+00 -0.162741D+01 -0.582258D+03 -0.203971D+03 7 0.257507D-01 0.215412D+00 0.568421D+00 0.209719D+03 0.654084D+02 8 -0.402386D-01 -0.814113D-01 -0.324587D+00 -0.103005D+03 -0.394256D+02 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 6 7 8 ________ ________ ________ 6 0.818378D+03 7 -0.230614D+03 0.915822D+02 8 0.104105D+03 -0.416019D+02 0.233798D+02 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 1.000 2 -0.352 1.000 3 0.025 0.084 1.000 4 0.020 0.077 0.715 1.000 5 0.039 0.099 0.772 0.621 1.000 6 0.000 -0.087 -0.672 -0.790 -0.601 7 0.004 0.099 0.702 0.851 0.576 8 -0.012 -0.074 -0.793 -0.827 -0.688 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 6 7 8 ________ ________ ________ 6 1.000 7 -0.842 1.000 8 0.753 -0.899 1.000
193e4f3121359618457324eabe289ba8391f4e8b
449d555969bfd7befe906877abab098c6e63a0e8
/2705/CH9/EX9.3/Ex9_3.sce
0901fd861ab5f58380ef930b7cd7e398ea0fbe22
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,265
sce
Ex9_3.sce
clear; clc; disp('Example 9.3'); // aim : To determine the // (a) heat loss per hour // (b) interface temperature og lagging // Given values r1 = 50; // radious of steam main,[mm] r2 = 90;// radious with first lagging,[mm] r3 = 115;// outside radious os steam main with lagging,[mm] k1 = .07;// thermal conductivity of 1st lagging,[W/m/K] k2 = .1;// thermal conductivity of 2nd lagging, [W/m/K] P = 1.7;// steam pressure,[MN/m^2] t_superheat = 30;// superheat of steam, [K] t3 = 24;// outside temperature of the lagging,[C] L = 20;// length of the steam main,[m] // solution // (a) // using steam table saturation temperature of steam at 1.7 MN/m^2 is t_sat = 204.3;// [C] // hence t1 = t_sat+t_superheat;// temperature of steam,[C] Q_dot = 2*%pi*L*(t1-t3)/(log(r2/r1)/k1+log(r3/r2)/k2);// heat loss,[W] // heat loss in hour is Q = Q_dot*3600*10^-3;// [kJ] mprintf('\n (a) The heat lost per hour is = %f kJ\n',Q); // (b) // using Q_dot=2*%pi*k1*(t1-t1)/log(r2/r1) t2 = t1-Q_dot*log(r2/r1)/(2*%pi*k1*L);// interface temperature of lagging,[C] mprintf('\n (b) The interface temperature of the lagging is = %f C\n',t2); // There is some calculation mistake in the book so answer is not matching // End
0fd6b7ccb31f55cb6916c3deeb5136643b670f9c
449d555969bfd7befe906877abab098c6e63a0e8
/3802/CH7/EX7.8/Ex7_8.sce
de10ea05cb2e0dcd1b6d111897676bd60fded036
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,150
sce
Ex7_8.sce
//Book Name:Fundamentals of Electrical Engineering //Author:Rajendra Prasad //Publisher: PHI Learning Private Limited //Edition:Third ,2014 //Ex7_8.sce. clc; clear; Np=1000; //number of Primary turns Ns=100; //number of secondary turns KVA=120e3; //KVA rating of the transformer V_SL=440; //supply voltage in V K=Np/Ns; //transformer turns ratio I_SL=KVA/(sqrt(3)*V_SL); printf("\n (a)") V_PL=(V_SL*K)/sqrt(3); I_PL=(sqrt(3)*I_SL)/K; transformation_ratio=V_PL/V_SL; printf("\n Delta star connection:\n") printf("\n Primary line current=%2.1f A ",I_PL) printf("\n Primary line voltage=%d V ",V_PL) printf("\n Transformation ratio =%2.1f \n",transformation_ratio) printf("\n(b)") V_PL=V_SL*K*sqrt(3); I_PL=I_SL/(sqrt(3)*K); transformation_ratio=V_PL/V_SL; printf("\n star delta connection:\n") printf("\n Primary line current=%1.1f A ",I_PL) printf("\n Primary line voltage=%d V ",V_PL) printf("\n Transformation ratio =%2.2f ",transformation_ratio)
d4cfb572f894c0ece41c8f82d201fd48e2491646
affb43e91a6a0cac39356ff1c5f9f5154b70a4a2
/Filter_Desgin/FIR_Filter.sce
a34cda372f9d50e07c540fc2a2c403a27eb9021d
[]
no_license
kathan-shah99/Digital-signal-processing
87fb0615a98a764c546681ffb18fea32d69caa6d
3d5ad3553152a2b57f98a3b1a26756ebca37d7bc
refs/heads/main
2023-04-07T06:53:06.263109
2021-04-07T03:57:52
2021-04-07T03:57:52
355,397,284
1
0
null
null
null
null
UTF-8
Scilab
false
false
2,144
sce
FIR_Filter.sce
clc; clear; //---------------wfir-Function---------- forder=11; //order of filter fcutoff=[0.10 0.30]; //cutoff frequencies wintype="hn"; //window type: kaiser/hamming/hann wintype2="hm" wintype3="kr" //-------FIR filter design--------- //-----Hanning window-------- ftype="bp"; //filter type: bandpass [h,hm,fr]=wfir(ftype,forder,fcutoff,wintype,[0 0]); ftype="lp"; //filter type: lowpass [h2,hm2,fr2]=wfir(ftype,forder,fcutoff,wintype,[0 0]); ftype="hp"; //filter type: highpass [h3,hm3,fr3]=wfir(ftype,forder,fcutoff,wintype,[0 0]); //--------Plotting Response-------- subplot(311); plot(fr,hm,"r"); subplot(312); plot(fr2,hm2,'r'); subplot(313); plot(fr3,hm3,'r'); //-----Hamming window-------- ftype="bp"; //filter type: bandpass [h,hm,fr]=wfir(ftype,forder,fcutoff,wintype2,[0 0]); ftype="lp"; //filter type: lowpass [h2,hm2,fr2]=wfir(ftype,forder,fcutoff,wintype2,[0 0]); ftype="hp"; //filter type: highpass [h3,hm3,fr3]=wfir(ftype,forder,fcutoff,wintype2,[0 0]); //----Plotting Response------ subplot(311); plot(fr,hm,"g"); subplot(312); plot(fr2,hm2,'g'); subplot(313); plot(fr3,hm3,'g'); //-----triangualr window-------- ftype="bp"; //filter type: bandpass [h,hm,fr]=wfir(ftype,forder,fcutoff,wintype3,[0 0]); ftype="lp"; //filter type: lowpass [h2,hm2,fr2]=wfir(ftype,forder,fcutoff,wintype3,[0 0]); ftype="hp"; //filter type: highpass [h3,hm3,fr3]=wfir(ftype,forder,fcutoff,wintype3,[0 0]); //----Plotting Response------ subplot(311); plot(fr,hm,"m"); mtlb_grid on; legend(["Hanning", "Hamming", "Kesiar"]); title("FIR Bandpass filter"); xlabel("Frequency (Hz)") ylabel("Gain") subplot(312); plot(fr2,hm2,'m'); mtlb_grid on; legend(["Hanning", "Hamming", "Kesiar"]); title("FIR Low Pass filter"); xlabel("Frequency (Hz)") ylabel("Gain") subplot(313); plot(fr3,hm3,'m'); mtlb_grid on; legend(["Hanning", "Hamming", "Kesiar"]); title("FIR High Pass filter"); xlabel("Frequency (Hz)") ylabel("Gain")
cfbcdd9129e87a91d6295e8fd24d18b30139302d
449d555969bfd7befe906877abab098c6e63a0e8
/34/CH1/EX1.1/Ch1Exa1.sci
688f2ba3c5627b29e35ff023374ce34ac986dbc7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
392
sci
Ch1Exa1.sci
t0= 3600; // time interval on Earth, seconds t= 3601; //time interval for spacecraft as measured from Earth, seconds c= 2.998 *(10^8); //speed of light, m/s v=c*sqrt((1-((t0/t)^2))); //relative velocity of spacecraft, m/s disp(v,"The speed of the Spacecraft relative to Earth (in m/s) is: ") //Result //The speed of the Spacecraft relative to Earth (in m/s) is: // 7064882.
759940b9f367977c15e040f663fb340417dd442d
449d555969bfd7befe906877abab098c6e63a0e8
/3792/CH6/EX6.2/Ex6_2.sce
8c7597c4d1089544b53202c67f010917f8c9f140
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
642
sce
Ex6_2.sce
// SAMPLE PROBLEM 6/2 clc;clear;funcprot(0); // Given data m=150;// kg M=5;// kN theta=30;// degree ACbar=1.5;// m BDbar=1.5;// m ABbar=1.8;// m g=9.81;// The acceleration due to gravity in m/s^2 // Calculation // SigmaM_C=0 A_t=M/ACbar;// kN // SigmaF_t=m*abar_t // alpha=14.81-6.54*cos(theta); wsquare_30=(29.6*theta*%pi/180)-(13.08*sind(theta));// (rad/s)^2 alpha_30=14.81-(6.54*cosd(theta));// rad/s^2 A_n=(m/1000)*ACbar*wsquare_30;// kN A_t=(m/1000)*BDbar*alpha_30;// kN // SigmaM_A=m*abar*d B=((A_n*(ABbar-0.6)*cosd(theta))+(A_t*0.6))/(ABbar*cosd(theta));// kN printf("\nThe force in the link DB,B=%1.2f kN",B);
00bb641575d24e882e9b0ecea344a3d6589a612a
36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd
/BBlutin - R6S - Aim #3.sce
70954adfd37c28b9b5515f98a80ed209e18f7e79
[]
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
64,945
sce
BBlutin - R6S - Aim #3.sce
Name=BBlutin - R6S - Aim #3 PlayerCharacters=R6SPlayer01 BotCharacters=Counter-Striker Bot_kaizou.bot;Counter-Striker Bot_kaizou2.bot;test Bot.bot;R6S_Bot.bot IsChallenge=true Timelimit=60.0 PlayerProfile=R6SPlayer01 AddedBots=R6S_Bot.bot;R6S_Bot.bot;R6S_Bot.bot;R6S_Bot.bot PlayerMaxLives=0 BotMaxLives=0;0;0;0 PlayerTeam=1 BotTeams=2;2;2;2 MapName=aimbotzpubg.map MapScale=3.8125 BlockProjectilePredictors=false BlockCheats=true InvinciblePlayer=false InvincibleBots=false Timescale=1.0 BlockHealthbars=false TimeRefilledByKill=0.0 ScoreToWin=1000.0 ScorePerDamage=0.0 ScorePerKill=1.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=0.0 ScoreLossPerDamageTaken=0.0 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=false ScoreMultDamageEfficiency=false ScoreMultKillEfficiency=false GameTag=R6S WeaponHeroTag=Riffle DifficultyTag=3 AuthorsTag=BBlutin BlockHitMarkers=false BlockHitSounds=false BlockMissSounds=true BlockFCT=false Description=BBlutin - R6S - Aim #3 GameVersion=1.0.7.2 ScorePerDistance=0.0 [Aim Profile] Name=cs MinReactionTime=0.18 MaxReactionTime=0.3 MinSelfMovementCorrectionTime=0.007 MaxSelfMovementCorrectionTime=0.035 FlickFOV=10.0 FlickSpeed=1.0 FlickError=3.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=90.0 MinRecenterTime=0.25 MaxRecenterTime=0.4 OptimalAimFOV=35.0 OuterAimPenalty=1.1 MaxError=35.0 ShootFOV=1.0 VerticalAimOffset=-5.0 MaxTolerableSpread=2.0 MinTolerableSpread=0.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=Counter-Striker Bot_kaizou DodgeProfileNames=CsClose1;CsFar1;CsMimic1;CsOppose1;CsCareful1;CsCareless1;CsMid1;CsRandom1;CsFar2 DodgeProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 DodgeProfileMaxChangeTime=10.0 DodgeProfileMinChangeTime=0.1 WeaponProfileWeights=1.5;1.5;1.5;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=cs;cs;cs;cs;cs;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=false CharacterProfile=Counter-Striker SeeThroughWalls=false NoDodging=false NoAiming=false [Bot Profile] Name=Counter-Striker Bot_kaizou2 DodgeProfileNames=CsClose1_kaizou DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=10.0 DodgeProfileMinChangeTime=0.1 WeaponProfileWeights=1.5;1.5;1.5;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=cs;cs;cs;cs;cs;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=false CharacterProfile=Counter-Striker SeeThroughWalls=false NoDodging=false NoAiming=false [Bot Profile] Name=test Bot DodgeProfileNames=R6S_Careful1 DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=10.0 DodgeProfileMinChangeTime=0.1 WeaponProfileWeights=1.5;1.5;1.5;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=cs;cs;cs;cs;cs;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=false CharacterProfile=tester SeeThroughWalls=false NoDodging=false NoAiming=false [Bot Profile] Name=R6S_Bot DodgeProfileNames=R6S_Close1;R6S_Far1;R6S_Mimic1;R6S_Oppose1;R6S_Careful1;R6S_Careless1;R6S_Mid1;R6S_Random1;R6S_Far2 DodgeProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 DodgeProfileMaxChangeTime=10.0 DodgeProfileMinChangeTime=0.1 WeaponProfileWeights=1.5;1.5;1.5;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=cs;cs;cs;cs;cs;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=false CharacterProfile=R6S_Enemy SeeThroughWalls=false NoDodging=false NoAiming=false [Character Profile] Name=R6SPlayer01 MaxHealth=100.0 WeaponProfileNames=pistol;;;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=75.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=550.0 MaxCrouchSpeed=500.0 Acceleration=6000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=800.0 Gravity=3.0 AirControl=0.25 CanCrouch=true CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=230.0 MainBBRadius=55.0 MainBBHasHead=true MainBBHeadRadius=45.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=230.0 ProjBBRadius=55.0 ProjBBHasHead=true 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=false 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 SpawnXOffset=0.0 SpawnYOffset=0.0 [Character Profile] Name=Counter-Striker MaxHealth=100.0 WeaponProfileNames=AK-47;M4A1-S;m4a4;USP-S;;;; MinRespawnDelay=0.0001 MaxRespawnDelay=0.0001 StepUpHeight=75.0 CrouchHeightModifier=0.75 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=1.0 MovementType=Base MaxSpeed=1100.0 MaxCrouchSpeed=250.0 Acceleration=6000.0 AirAcceleration=16000.0 Friction=7.5 BrakingFrictionFactor=1.25 JumpVelocity=800.0 Gravity=2.5 AirControl=1.0 CanCrouch=true CanPogoJump=false CanCrouchInAir=true CanJumpFromCrouch=true EnemyBodyColor=X=0.546 Y=0.776 Z=0.546 EnemyHeadColor=X=0.608 Y=0.463 Z=0.314 TeamBodyColor=X=0.000 Y=0.000 Z=0.771 TeamHeadColor=X=0.149 Y=0.542 Z=1.000 BlockSelfDamage=true InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=true AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=250.0 MainBBRadius=35.0 MainBBHasHead=true MainBBHeadRadius=25.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=250.0 ProjBBRadius=35.0 ProjBBHasHead=true ProjBBHeadRadius=25.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.5 JetpackFullFuelTime=1000.0 JetpackFuelIncPerSec=100.0 JetpackFuelRegensInAir=true JetpackThrust=6000.0 JetpackMaxZVelocity=600.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=256.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.0 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.0 ThirdPersonCamera=false TPSArmLength=300.0 TPSOffset=X=0.000 Y=150.000 Z=150.000 BrakingDeceleration=2048.0 VerticalSpawnOffset=0.0 SpawnXOffset=0.0 SpawnYOffset=0.0 [Character Profile] Name=tester MaxHealth=100.0 WeaponProfileNames=AK-47;M4A1-S;;USP-S;;;; MinRespawnDelay=0.0001 MaxRespawnDelay=0.0001 StepUpHeight=75.0 CrouchHeightModifier=0.75 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=1.0 MovementType=Base MaxSpeed=700.0 MaxCrouchSpeed=250.0 Acceleration=6000.0 AirAcceleration=16000.0 Friction=7.5 BrakingFrictionFactor=1.25 JumpVelocity=800.0 Gravity=2.5 AirControl=1.0 CanCrouch=true CanPogoJump=false CanCrouchInAir=true CanJumpFromCrouch=true EnemyBodyColor=X=0.546 Y=0.776 Z=0.546 EnemyHeadColor=X=0.608 Y=0.463 Z=0.314 TeamBodyColor=X=0.000 Y=0.000 Z=0.771 TeamHeadColor=X=0.149 Y=0.542 Z=1.000 BlockSelfDamage=true InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=true AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=250.0 MainBBRadius=40.0 MainBBHasHead=true MainBBHeadRadius=25.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=250.0 ProjBBRadius=40.0 ProjBBHasHead=true ProjBBHeadRadius=25.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.5 JetpackFullFuelTime=1000.0 JetpackFuelIncPerSec=100.0 JetpackFuelRegensInAir=true JetpackThrust=6000.0 JetpackMaxZVelocity=600.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=256.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.0 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.0 ThirdPersonCamera=false TPSArmLength=300.0 TPSOffset=X=0.000 Y=150.000 Z=150.000 BrakingDeceleration=2048.0 VerticalSpawnOffset=0.0 SpawnXOffset=0.0 SpawnYOffset=0.0 [Character Profile] Name=R6S_Enemy MaxHealth=100.0 WeaponProfileNames=AK-47;M4A1-S;;USP-S;;;; MinRespawnDelay=0.0001 MaxRespawnDelay=0.0001 StepUpHeight=75.0 CrouchHeightModifier=0.75 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=1.0 MovementType=Base MaxSpeed=550.0 MaxCrouchSpeed=250.0 Acceleration=6000.0 AirAcceleration=16000.0 Friction=7.5 BrakingFrictionFactor=1.25 JumpVelocity=800.0 Gravity=2.5 AirControl=1.0 CanCrouch=true CanPogoJump=false CanCrouchInAir=true CanJumpFromCrouch=true EnemyBodyColor=X=0.546 Y=0.776 Z=0.546 EnemyHeadColor=X=0.608 Y=0.463 Z=0.314 TeamBodyColor=X=0.000 Y=0.000 Z=0.771 TeamHeadColor=X=0.149 Y=0.542 Z=1.000 BlockSelfDamage=true InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=true AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=250.0 MainBBRadius=35.0 MainBBHasHead=true MainBBHeadRadius=25.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=250.0 ProjBBRadius=35.0 ProjBBHasHead=true ProjBBHeadRadius=25.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.5 JetpackFullFuelTime=1000.0 JetpackFuelIncPerSec=100.0 JetpackFuelRegensInAir=true JetpackThrust=6000.0 JetpackMaxZVelocity=600.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=256.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.0 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.0 ThirdPersonCamera=false TPSArmLength=300.0 TPSOffset=X=0.000 Y=150.000 Z=150.000 BrakingDeceleration=2048.0 VerticalSpawnOffset=0.0 SpawnXOffset=0.0 SpawnYOffset=0.0 [Dodge Profile] Name=CsClose1 MaxTargetDistance=1500.0 MinTargetDistance=500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.01 MaxLRTimeChange=0.5 MinFBTimeChange=0.1 MaxFBTimeChange=0.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 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.5 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=CsFar1 MaxTargetDistance=3500.0 MinTargetDistance=2500.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.0 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 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.5 StrafeSwapMaxPause=1.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=CsMimic1 MaxTargetDistance=2500.0 MinTargetDistance=500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.25 MaxLRTimeChange=0.75 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 TargetStrafeOverride=Mimic TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.35 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.25 StrafeSwapMaxPause=0.75 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=CsOppose1 MaxTargetDistance=2500.0 MinTargetDistance=500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.25 MaxLRTimeChange=1.0 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 TargetStrafeOverride=Oppose TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.35 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.25 StrafeSwapMaxPause=0.75 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=CsCareful1 MaxTargetDistance=2000.0 MinTargetDistance=1000.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.0 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.1 CrouchOnGroundFrequency=0.03 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.5 MaxCrouchTime=1.0 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.25 StrafeSwapMaxPause=0.75 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=CsCareless1 MaxTargetDistance=4000.0 MinTargetDistance=250.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.25 MaxLRTimeChange=0.75 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.1 DamageReactionMaximumDelay=0.5 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.01 CrouchInAirFrequency=0.1 CrouchOnGroundFrequency=0.05 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.1 MaxCrouchTime=1.5 MinJumpTime=0.2 MaxJumpTime=0.3 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.25 StrafeSwapMaxPause=0.75 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=CsMid1 MaxTargetDistance=2500.0 MinTargetDistance=1500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.25 MaxLRTimeChange=0.75 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 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.25 StrafeSwapMaxPause=0.75 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=CsRandom1 MaxTargetDistance=5000.0 MinTargetDistance=0.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.01 MaxLRTimeChange=2.0 MinFBTimeChange=0.01 MaxFBTimeChange=1.0 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.02 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=1.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=CsFar2 MaxTargetDistance=4500.0 MinTargetDistance=3500.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.75 MaxLRTimeChange=1.27 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 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.75 StrafeSwapMaxPause=1.25 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=CsClose1_kaizou MaxTargetDistance=1500.0 MinTargetDistance=500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.01 MaxLRTimeChange=0.5 MinFBTimeChange=0.1 MaxFBTimeChange=0.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.3 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.5 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=R6S_Careful1 MaxTargetDistance=2000.0 MinTargetDistance=1000.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.0 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.1 CrouchOnGroundFrequency=0.03 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.5 MaxCrouchTime=1.0 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 [Dodge Profile] Name=R6S_Close1 MaxTargetDistance=1500.0 MinTargetDistance=500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.01 MaxLRTimeChange=0.5 MinFBTimeChange=0.1 MaxFBTimeChange=0.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 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 [Dodge Profile] Name=R6S_Far1 MaxTargetDistance=3500.0 MinTargetDistance=2500.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.0 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 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 [Dodge Profile] Name=R6S_Mimic1 MaxTargetDistance=2500.0 MinTargetDistance=500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.25 MaxLRTimeChange=0.75 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 TargetStrafeOverride=Mimic TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.35 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 [Dodge Profile] Name=R6S_Oppose1 MaxTargetDistance=2500.0 MinTargetDistance=500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.25 MaxLRTimeChange=1.0 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 TargetStrafeOverride=Oppose TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.35 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 [Dodge Profile] Name=R6S_Careless1 MaxTargetDistance=4000.0 MinTargetDistance=250.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.25 MaxLRTimeChange=0.75 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.1 DamageReactionMaximumDelay=0.5 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.1 CrouchOnGroundFrequency=0.05 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.1 MaxCrouchTime=1.5 MinJumpTime=0.2 MaxJumpTime=0.3 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=R6S_Mid1 MaxTargetDistance=2500.0 MinTargetDistance=1500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.25 MaxLRTimeChange=0.75 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 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 [Dodge Profile] Name=R6S_Random1 MaxTargetDistance=5000.0 MinTargetDistance=0.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.01 MaxLRTimeChange=2.0 MinFBTimeChange=0.01 MaxFBTimeChange=1.0 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 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 [Dodge Profile] Name=R6S_Far2 MaxTargetDistance=4500.0 MinTargetDistance=3500.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.75 MaxLRTimeChange=1.27 MinFBTimeChange=0.1 MaxFBTimeChange=0.25 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.02 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=pistol Type=Hitscan ShotsPerClick=1 DamagePerShot=25.0 KnockbackFactor=4.0 TimeBetweenShots=0.1 Pierces=false Category=SemiAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=4.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=0.5 ReloadTimeFromPartial=0.5 DamageFalloffStartDistance=100000.0 DamageFalloffStopDistance=100000.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 HitscanVisualEffect=None ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=Gunshot HitParticleEffect=Flare BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=4.0 RecoilNegatable=false DecalType=1 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false 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=false AimPunchAmount=0.0 AimPunchResetTime=0.05 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=72.099998 ADSFOVScale=Clamped Horizontal 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=100.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,5.0 SpreadSCA=1.0,1.0,-1.0,5.0 SpreadMSA=1.0,1.0,-1.0,5.0 SpreadMCA=1.0,1.0,-1.0,5.0 SpreadSSH=0.0,0.1,0.0,0.0 SpreadSCH=1.0,1.0,-1.0,5.0 SpreadMSH=0.0,0.1,0.0,0.0 SpreadMCH=1.0,1.0,-1.0,5.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=1.0 AAMaxSpeed=360.0 AADeadZone=0.0 AAFOV=360.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Weapon Profile] Name=AK-47 Type=Hitscan ShotsPerClick=1 DamagePerShot=36.0 KnockbackFactor=0.2 TimeBetweenShots=0.1 Pierces=false Category=FullyAuto BurstShotCount=2 TimeBetweenBursts=0.1 ChargeStartDamage=0.1 ChargeStartVelocity=X=1500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=3000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=3000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=3.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=4.0 MagazineMax=30 AmmoPerShot=1 ReloadTimeFromEmpty=1.5 ReloadTimeFromPartial=1.5 DamageFalloffStartDistance=4000.0 DamageFalloffStopDistance=7500.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.02 WallParticleEffect=Gunshot HitParticleEffect=Blood BounceOffWorld=true BounceFactor=0.6 BounceCount=0 HomingProjectileAcceleration=6000.0 ProjectileEnemyHitRadius=0.1 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.1 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-40.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.2 RecoilNegatable=false DecalType=1 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=390.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=10.3 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=true IsBurstWeapon=false ForceFirstPersonInADS=true ZoomBlockedInAir=false ADSCameraOffsetX=0.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.0 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=0.1 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=true DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=true DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=5.0 BlockedByWorld=true SpreadSSA=4.0,15.0,-9.0,2.5 SpreadSCA=4.0,15.0,-9.0,2.5 SpreadMSA=4.0,15.0,-9.0,2.5 SpreadMCA=4.0,15.0,-9.0,2.5 SpreadSSH=2.0,27.0,-9.0,1.5 SpreadSCH=2.0,27.0,-9.0,0.0 SpreadMSH=100.0,1000.0,5.0,20.0 SpreadMCH=4.0,15.0,-9.0,1.8 MaxRecoilUp=0.3 MinRecoilUp=0.3 MinRecoilHoriz=-0.3 MaxRecoilHoriz=0.3 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.0001 TimeToRecoilReset=0.075 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.1 AAMaxSpeed=5.0 AADeadZone=0.0 AAFOV=10.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=0.1 StickyLock=false HeadLock=true VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=true PSRLoopStartIndex=10 PSRViewRecoilTracking=0.45 PSRCapUp=90.0 PSRCapRight=90.0 PSRCapLeft=90.0 PSRTimeToPeak=0.16 PSRResetDegreesPerSec=35.0 PSR0=0.5,0.0 PSR1=1.2,-0.1 PSR2=1.7,0.2 PSR3=1.7,0.2 PSR4=1.7,-0.85 PSR5=1.3,-0.45 PSR6=1.3,-0.75 PSR7=0.9,0.75 PSR8=-0.4,2.55 PSR9=0.75,0.95 PSR10=0.75,0.4 PSR11=-0.6,0.4 PSR12=0.35,1.0 PSR13=0.4,0.25 PSR14=-0.9,-1.5 PSR15=0.4,-1.0 PSR16=0.5,-1.3 PSR17=0.1,-1.6 PSR18=-0.7,-1.25 PSR19=0.2,-0.5 PSR20=0.2,0.1 PSR21=0.0,0.5 PSR22=0.3,0.1 PSR23=0.2,0.5 PSR24=0.5,-1.0 PSR25=-0.1,1.2 PSR26=-0.3,1.1 PSR27=-1.2,2.0 PSR28=0.1,1.4 PSR29=-0.1,0.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Weapon Profile] Name=M4A1-S Type=Hitscan ShotsPerClick=1 DamagePerShot=33.0 KnockbackFactor=0.1 TimeBetweenShots=0.1 Pierces=false Category=FullyAuto BurstShotCount=2 TimeBetweenBursts=0.1 ChargeStartDamage=0.1 ChargeStartVelocity=X=1500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=3000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=3000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=3.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=10.0 MagazineMax=20 AmmoPerShot=1 ReloadTimeFromEmpty=1.37 ReloadTimeFromPartial=1.37 DamageFalloffStartDistance=3000.0 DamageFalloffStopDistance=7000.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=Gunshot HitParticleEffect=Blood BounceOffWorld=true BounceFactor=0.6 BounceCount=0 HomingProjectileAcceleration=6000.0 ProjectileEnemyHitRadius=0.1 CanAimDownSight=true ADSZoomDelay=0.0 ADSZoomSensFactor=0.1 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.1 RecoilNegatable=false DecalType=1 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=410.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=85 ADSFOVOverride=72.099998 ADSFOVScale=Overwatch 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.1 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=true DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=true DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=5.0 BlockedByWorld=true SpreadSSA=4.0,15.0,-9.0,2.5 SpreadSCA=4.0,15.0,-9.0,2.5 SpreadMSA=4.0,15.0,-9.0,2.5 SpreadMCA=4.0,15.0,-9.0,2.5 SpreadSSH=1.5,27.0,-9.0,1.0 SpreadSCH=1.5,27.0,-9.0,0.0 SpreadMSH=100.0,1000.0,5.0,20.0 SpreadMCH=4.0,15.0,-9.0,1.8 MaxRecoilUp=0.3 MinRecoilUp=0.3 MinRecoilHoriz=-0.3 MaxRecoilHoriz=0.3 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.0001 TimeToRecoilReset=0.075 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.05 AAMaxSpeed=2.0 AADeadZone=0.0 AAFOV=15.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=0.1 StickyLock=false HeadLock=true VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=true PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=90.0 PSRCapRight=90.0 PSRCapLeft=90.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=35.0 PSR0=0.4,-0.1 PSR1=0.4,0.0 PSR2=0.9,0.4 PSR3=1.0,-0.5 PSR4=1.0,0.6 PSR5=1.2,0.3 PSR6=0.7,-0.6 PSR7=0.8,-0.5 PSR8=0.3,-1.3 PSR9=0.8,0.5 PSR10=0.3,1.0 PSR11=-0.4,1.2 PSR12=0.0,1.1 PSR13=0.1,1.0 PSR14=-0.2,-0.4 PSR15=0.4,0.1 PSR16=-0.4,1.0 PSR17=0.4,-1.0 PSR18=0.0,1.0 PSR19=-0.1,-1.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Weapon Profile] Name=m4a4 Type=Hitscan ShotsPerClick=1 DamagePerShot=33.0 KnockbackFactor=0.2 TimeBetweenShots=0.09 Pierces=false Category=FullyAuto BurstShotCount=2 TimeBetweenBursts=0.1 ChargeStartDamage=0.1 ChargeStartVelocity=X=1500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=3000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=3000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=3.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=30 AmmoPerShot=1 ReloadTimeFromEmpty=2.7 ReloadTimeFromPartial=2.7 DamageFalloffStartDistance=3000.0 DamageFalloffStopDistance=7500.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.02 WallParticleEffect=Gunshot HitParticleEffect=Blood BounceOffWorld=true BounceFactor=0.6 BounceCount=0 HomingProjectileAcceleration=6000.0 ProjectileEnemyHitRadius=0.1 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.1 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-40.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.2 RecoilNegatable=false DecalType=1 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=410.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=10.3 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=true IsBurstWeapon=false ForceFirstPersonInADS=true ZoomBlockedInAir=false ADSCameraOffsetX=0.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.0 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=0.1 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=true DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=true DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=5.0 BlockedByWorld=true SpreadSSA=4.0,15.0,-9.0,2.5 SpreadSCA=4.0,15.0,-9.0,2.5 SpreadMSA=4.0,15.0,-9.0,2.5 SpreadMCA=4.0,15.0,-9.0,2.5 SpreadSSH=4.0,27.0,-9.0,1.0 SpreadSCH=4.0,27.0,-9.0,0.0 SpreadMSH=100.0,1000.0,5.0,20.0 SpreadMCH=4.0,15.0,-9.0,1.8 MaxRecoilUp=0.3 MinRecoilUp=0.3 MinRecoilHoriz=-0.3 MaxRecoilHoriz=0.3 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.0001 TimeToRecoilReset=0.075 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.1 AAMaxSpeed=5.0 AADeadZone=0.0 AAFOV=50.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=0.1 StickyLock=false HeadLock=true VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=true PSRLoopStartIndex=10 PSRViewRecoilTracking=0.45 PSRCapUp=90.0 PSRCapRight=90.0 PSRCapLeft=90.0 PSRTimeToPeak=0.16 PSRResetDegreesPerSec=35.0 PSR0=0.4,-0.25 PSR1=0.4,-0.1 PSR2=0.9,0.5 PSR3=1.2,-0.5 PSR4=1.1,0.4 PSR5=1.3,0.4 PSR6=0.9,-1.0 PSR7=0.7,-0.75 PSR8=0.5,-1.1 PSR9=0.6,-0.3 PSR10=0.7,0.5 PSR11=-0.4,1.5 PSR12=0.1,1.7 PSR13=-0.3,1.3 PSR14=0.2,1.0 PSR15=0.2,-0.9 PSR16=-0.1,0.0 PSR17=0.3,0.5 PSR18=0.2,0.5 PSR19=-0.2,0.5 PSR20=-0.2,-0.75 PSR21=0.5,-2.0 PSR22=-0.2,-0.7 PSR23=0.2,-0.6 PSR24=-0.1,-0.75 PSR25=-0.1,-0.5 PSR26=0.3,0.3 PSR27=0.3,-0.4 PSR28=0.1,-0.2 PSR29=0.15,-0.2 PSR30=0.15,-0.2 UsePerBulletSpread=false PBS0=0.0,0.0 [Weapon Profile] Name=USP-S Type=Hitscan ShotsPerClick=1 DamagePerShot=35.0 KnockbackFactor=1.0 TimeBetweenShots=0.17 Pierces=false Category=SemiAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=12 AmmoPerShot=1 ReloadTimeFromEmpty=2.2 ReloadTimeFromPartial=2.2 DamageFalloffStartDistance=300.0 DamageFalloffStopDistance=1000.0 DamageAtMaxRange=33.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=Gunshot HitParticleEffect=Blood BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=1.0 RecoilNegatable=false DecalType=1 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=400.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=72.099998 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=true IsBurstWeapon=false ForceFirstPersonInADS=true ZoomBlockedInAir=false ADSCameraOffsetX=0.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.0 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.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,5.0 SpreadSCA=1.0,1.0,-1.0,5.0 SpreadMSA=1.0,1.0,-1.0,5.0 SpreadMCA=1.0,1.0,-1.0,5.0 SpreadSSH=5.0,25.0,0.2,7.0 SpreadSCH=1.0,1.0,-1.0,5.0 SpreadMSH=1.0,25.0,2.0,7.0 SpreadMCH=1.0,1.0,-1.0,5.0 MaxRecoilUp=0.3 MinRecoilUp=0.0 MinRecoilHoriz=-0.2 MaxRecoilHoriz=0.2 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.0001 TimeToRecoilReset=0.075 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.1 AAMaxSpeed=5.0 AADeadZone=0.0 AAFOV=50.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=true VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Map Data] reflex map version 8 global entity type WorldSpawn String32 targetGameOverCamera end UInt8 playersMin 1 UInt8 playersMax 16 brush vertices -256.000000 0.000000 512.000000 496.000000 0.000000 512.000000 496.000000 0.000000 -240.000000 -256.000000 0.000000 -240.000000 -256.000000 -16.000000 512.000000 496.000000 -16.000000 512.000000 496.000000 -16.000000 -240.000000 -256.000000 -16.000000 -240.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000061 224.000000 -143.999939 -256.000061 0.000000 -255.999939 -160.000061 224.000000 -255.999939 -256.000061 0.000000 -143.999939 -160.000061 0.000000 -255.999939 -256.000061 224.000000 -255.999939 faces 0.000000 0.000000 1.000000 1.000000 0.000000 3 1 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 2 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 0 3 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 3 0 5 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 4 1 5 0x00000000 brush vertices -160.000061 223.999985 -367.999939 -160.000061 223.999985 -255.999908 1184.000000 223.999985 -256.000000 1184.000000 223.999985 -368.000000 -160.000061 0.000000 -367.999939 -160.000061 0.000000 -255.999908 1184.000000 0.000000 -256.000000 1184.000000 0.000000 -368.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -368.000061 224.000000 928.000000 -256.000000 224.000000 928.000000 -256.000092 224.000000 -176.000031 -368.000092 224.000000 -176.000031 -368.000061 0.000000 928.000000 -256.000000 0.000000 928.000000 -256.000092 0.000000 -176.000031 -368.000092 0.000000 -176.000031 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 896.000000 16.000000 911.999939 896.000000 16.000000 511.999939 -272.000000 16.000000 512.000000 -272.000000 16.000000 912.000000 896.000000 0.000000 911.999939 896.000000 0.000000 511.999939 -272.000000 0.000000 512.000000 -272.000000 0.000000 912.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 896.000000 224.000000 1072.000000 1184.000000 224.000000 1072.000000 1184.000000 224.000000 -256.000000 896.000000 224.000000 -256.000000 896.000000 0.000000 1072.000000 1184.000000 0.000000 1072.000000 1184.000000 0.000000 -256.000000 896.000000 0.000000 -256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 896.000000 224.000000 1200.000000 896.000000 224.000000 912.000000 -432.000061 224.000000 912.000000 -432.000000 224.000000 1200.000000 896.000000 0.000000 1200.000000 896.000000 0.000000 912.000000 -432.000061 0.000000 912.000000 -432.000000 0.000000 1200.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 16.000000 512.000000 496.000000 16.000000 512.000000 496.000000 16.000000 -256.000000 -256.000000 16.000000 -256.000000 -256.000000 0.000000 512.000000 496.000000 0.000000 512.000000 496.000000 0.000000 -256.000000 -256.000000 0.000000 -256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 488.000000 224.000000 504.000000 504.000000 224.000000 504.000000 504.000000 224.000000 -256.000000 488.000000 224.000000 -256.000000 488.000000 -8.000000 504.000000 504.000000 -8.000000 504.000000 504.000000 -8.000000 -256.000000 488.000000 -8.000000 -256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 496.000000 224.000000 504.000000 496.000000 224.000000 488.000000 -256.000000 224.000000 488.000000 -256.000000 224.000000 504.000000 496.000000 0.000000 504.000000 496.000000 0.000000 488.000000 -256.000000 0.000000 488.000000 -256.000000 0.000000 504.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 496.000000 16.000000 512.000000 896.000000 16.000000 512.000000 896.000000 16.000000 -256.000000 496.000000 16.000000 -256.000000 496.000000 0.000000 512.000000 896.000000 0.000000 512.000000 896.000000 0.000000 -256.000000 496.000000 0.000000 -256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -296.000000 232.000000 928.000000 928.000000 232.000000 928.000000 928.000000 232.000000 -272.000000 -296.000000 232.000000 -272.000000 -296.000000 224.000000 928.000000 928.000000 224.000000 928.000000 928.000000 224.000000 -272.000000 -296.000000 224.000000 -272.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 504.000000 24.000000 512.000000 512.000000 24.000000 512.000000 512.000000 24.000000 504.000000 504.000000 24.000000 504.000000 504.000000 16.000000 512.000000 512.000000 16.000000 512.000000 512.000000 16.000000 504.000000 504.000000 16.000000 504.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 888.000000 224.000000 912.000000 896.000000 224.000000 912.000000 896.000000 224.000000 904.000000 888.000000 224.000000 904.000000 888.000000 16.000000 912.000000 896.000000 16.000000 912.000000 896.000000 16.000000 904.000000 888.000000 16.000000 904.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices 512.000000 16.000000 512.000000 700.000000 16.000000 712.000000 512.000000 16.000000 504.000000 700.000000 124.000008 704.000000 512.000000 23.999998 504.000000 700.000000 16.000000 704.000000 700.000000 124.000008 712.000000 512.000000 23.999998 512.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices 700.000000 16.000000 712.000000 888.000000 16.000000 912.000000 700.000000 16.000000 704.000000 888.000000 224.000000 904.000000 700.000000 124.000000 704.000000 888.000000 16.000000 904.000000 888.000000 224.000000 912.000000 700.000000 124.000000 712.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip brush vertices 504.000000 224.000000 312.000000 896.000000 224.000000 312.000000 896.000000 224.000000 304.000000 504.000000 224.000000 304.000000 504.000000 16.000000 312.000000 896.000000 16.000000 312.000000 896.000000 16.000000 304.000000 504.000000 16.000000 304.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 504.000000 224.000000 -8.000000 896.000000 224.000000 -8.000000 896.000000 224.000000 -16.000000 504.000000 224.000000 -16.000000 504.000000 16.000000 -8.000000 896.000000 16.000000 -8.000000 896.000000 16.000000 -16.000000 504.000000 16.000000 -16.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 328.000000 224.000000 888.000000 327.999969 224.000000 496.000000 319.999969 224.000000 496.000000 320.000000 224.000000 888.000000 328.000000 16.000000 888.000000 327.999969 16.000000 496.000000 319.999969 16.000000 496.000000 320.000000 16.000000 888.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices 8.000000 224.000000 912.000000 7.999985 224.000000 496.000000 -0.000031 224.000000 496.000000 0.000000 224.000000 912.000000 8.000000 16.000000 912.000000 7.999985 16.000000 496.000000 -0.000031 16.000000 496.000000 0.000000 16.000000 912.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip entity type PlayerSpawn Vector3 position 120.000000 16.000000 96.000000 Bool8 teamB 0 entity type CameraPath UInt8 posLerp 2 UInt8 angleLerp 2 entity type Effect Vector3 position 0.000000 256.000000 0.000000 String64 effectName internal/misc/reflectionprobe entity type Target Vector3 position 320.000000 256.000000 320.000000 Vector3 angles -135.000000 30.000000 0.000000 String32 name end entity type PlayerSpawn Vector3 position -160.000000 16.000000 736.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 176.000000 16.000000 736.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 496.000000 16.000000 736.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 688.000000 16.000000 448.000000 Vector3 angles 270.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 688.000000 16.000000 144.000000 Vector3 angles 270.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 688.000000 16.000000 -176.000000 Vector3 angles 270.000000 0.000000 0.000000 Bool8 teamA 0
d51dae11fbbca2191f81c27fc60b3ef93a04191f
449d555969bfd7befe906877abab098c6e63a0e8
/3768/CH8/EX8.10/Ex8_10.sce
29cde7622658863dcc3573a4065886ce267fc8e0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
427
sce
Ex8_10.sce
//Example number 8.10, Page number 173 clc;clear; close; //Variable declaration h=200; //hysteresis loss per cycle(J/m**3) M=7650; //atomic weight(kg/m**3) n=100; //magnetisation cycles per second //Calculation hpl=h*n; //hysteresis power loss per second(watt/m**3) pl=hpl/M; //power loss(watt/kg) //Result printf("hysteresis power loss per second is %.f W/m^3",hpl) printf("\n power loss is %.3f W/kg",pl)
ac6abf541df07e99d77fa082b9f23d70de65af73
449d555969bfd7befe906877abab098c6e63a0e8
/2642/CH2/EX2.10/Ex2_10.sce
d14afb2bab46e6acd4cf1c64985de408d92bac78
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,108
sce
Ex2_10.sce
// FUNDAMENTALS OF ELECTICAL MACHINES // M.A.SALAM // NAROSA PUBLISHING HOUSE // SECOND EDITION // Chapter 2 : BESICS OF MAGNETIC CIRCUITS // Example : 2.10 clc;clear; // clears the console and command history // Given data A = 2*10^-4 // cross sectional area in m^2 N = 200 // number of turns flux = 1.5*10^-3 // flux in Wb myu_r = 4000 // relative permiability of core l_1 = 0.01 // length in m a = 9 // length in cm w = 3 // width in cm // caclulations myu = myu_r*4*%pi*10^-7 // permiability l_2 = (4*(a-w-w+(1.5+1.5))-1) // mean length in cm R_mg = l_1/(4*%pi*10^-7*A) // reluctance of iron for air gap At/Wb R_mi = l_2*10^-2/(myu*A) // reluctance of iron for air gapAt/Wb R_mt = R_mg+R_mi // total relectance in At/Wb I = R_mt*flux/N // current in A // display the result disp("Example 2.10 solution"); printf(" \n Current flowing through the coil \n I = %.0f A \n", I); // NOTE : In question they given flux=2.5mWb but in solution they took flux=1.5mWb
e00b43faba4d5ac53f83de6aff2e12c1a6f92c1e
449d555969bfd7befe906877abab098c6e63a0e8
/3472/CH30/EX30.12/Example30_12.sce
46d32187eb10a187e4ded9556015f99a3359680f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,114
sce
Example30_12.sce
// A Texbook on POWER SYSTEM ENGINEERING // A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar // DHANPAT RAI & Co. // SECOND EDITION // PART III : SWITCHGEAR AND PROTECTION // CHAPTER 4: UNSYMMETRICAL FAULTS IN POWER SYSTEMS // EXAMPLE : 4.12 : // Page number 521-522 clear ; clc ; close ; // Clear the work space and console // Given data MVA_A = 30.0 // Alternator rating(MVA) kV_A = 6.6 // Alternator rating(kV) X_G = 10.0 // Reactance of alternator(%) kV_lv_T = 6.6 // Transformer lv side rating(kV) kV_hv_T = 33.0 // Transformer hv side rating(kV) X_T = 6.0 // Reactance of transformer(%) kV_line = 33.0 // Transmission line voltage(kV) X_line = 4.0 // Transmission line reactance(ohm) X_g2 = 70.0 // Negative sequence reactance is 70% of +ve sequence reactance of generator(%) // Calculations MVA_base = 30.0 // Base MVA kV_base = 6.6 // Base kV Z_base = kV_base**2/MVA_base // Base impedance(ohm) Z_g1 = %i*Z_base*X_G/100 // Positive sequence impedance of alternator(ohm) Z_T1 = %i*Z_base*X_T/100 // Positive sequence impedance of transformer(ohm) Z_L1 = %i*(kV_base/kV_line)**2*X_line // Positive sequence impedance of transmission line(ohm) Z_g2 = X_g2/100*Z_g1 // Negative sequence impedance of alternator(ohm) Z_T2 = %i*Z_base*X_T/100 // Negative sequence impedance of transformer(ohm) Z_T0 = %i*Z_base*X_T/100 // Zero sequence impedance of transformer(ohm) Z_L2 = Z_L1 // Negative sequence impedance of transmission line(ohm) Z_1 = Z_g1+Z_T1+Z_L1+Z_T1 // Positive sequence impedance(ohm) Z_2 = Z_g2+Z_T2+Z_L2+Z_T2 // Negative sequence impedance(ohm) Z_0 = Z_T0 // Zero sequence impedance(ohm) E_a = kV_base*1000/3**0.5 // Base voltage(V) // Case(a) I_sc = E_a/Z_1 // Fault current if all 3 phases short circuited(A) // Case(b) I_a = 3*E_a/(Z_1+Z_2+Z_0) // Fault current if single line is grounded assuming 'a' to be grounded(A) // Case(c) I_b = %i*3**0.5*E_a/(Z_1+Z_2) // Fault current for a short circuit between two lines(A) I_c = -%i*3**0.5*E_a/(Z_1+Z_2) // Fault current for a short circuit between two lines(A) // Results disp("PART III - EXAMPLE : 4.12 : SOLUTION :-") printf("\nCase(a): Fault current if all 3 phases short circuited, I_sc = %.f∠%.f° A", abs(I_sc),phasemag(I_sc)) printf("\nCase(b): Fault current if single line is grounded, I_a = %.fj A", imag(I_a)) printf("\nCase(c): Fault current for a short circuit between two lines, I_b = %.f A", real(I_b)) printf("\n Fault current for a short circuit between two lines, I_c = %.f A\n", real(I_c)) printf("\nNOTE: ERROR: (1).Calculation mistake in Z_2 in the textbook solution") printf("\n (2).Transformer reactance is 6 percent, not 5 percent as in problem statement")
2b31b944af838c089f51764c2a769312e61e7d67
449d555969bfd7befe906877abab098c6e63a0e8
/3739/CH3/EX3.6/EX3_6.sce
c2a188fc1f88ed82ae8e33453f6e7e46b66d2e52
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
734
sce
EX3_6.sce
//Chapter 3, Example 3.6, page 76 clc //Initialisation dn=-0.2 //air refractivity gradient d=20 //height b=0.074 //elevation angle from graph 3.10 f=7 //frequency in Ghz from graph 3.11 c=2*10**-6 ///Calculation t=0.156 //1000/6370 dm=dn+t a=(-c*dm*d)**0.5 //elevation angle of waves //Results printf("Elevation angle of waves = %.2f mrad",(a*10**3)) printf("\nElevation angle = %.3f",b) //from graph 3.10 printf("\nMinimum frequency of coupling waves into the duct = %d Ghz",f) //from graph 3.11
d37ba6ae0955e53286726f8b2f3e92eb7455292e
348b83f2cd32e6616b86e704a374661890d58cda
/singular_fun.sce
4d2323b23df493051d9723944dfbbbb376f15964
[]
no_license
YashGandhi17/Scilab
012b35caad56d0c7600b9a207956e25774339c66
6d509dc17afe2ca32376df795693c84f94e3f360
refs/heads/master
2020-04-07T03:13:24.046967
2018-11-17T17:24:44
2018-11-17T17:24:44
157,837,866
0
0
null
null
null
null
UTF-8
Scilab
false
false
487
sce
singular_fun.sce
function[xn] = singular_fun(wave_type,start_index,end_index,phase) n=start_index:end_index; select(wave_type) case "ui" then xn = [zeros(1, abs(start_index) + phase), 1, zeros(1, end_index - phase)]; case "us" then xn = [zeros(1, abs(start_index) + phase), ones(1, end_index - phase + 1)]; case "ur" then xn = [zeros(1, abs(start_index) + phase), 0:end_index - phase]; else disp("Invalid Choice"); end endfunction
85e6d35542767b63575207138f340a7823b2c827
159eca4cff17d9c11e8764e834f421901374ea20
/main/data/scenarios/gfs_b.sce
9dc8e4e39db736eb3cd2ce14e19781aba7f5b0c9
[]
no_license
CyberSys/MkIV
252cb744f9d653a4281f30a73700f91d865a36e2
fdbc553ba3f24fd0cea42d558f234fe0b8f8ac75
refs/heads/master
2021-02-08T05:19:16.362868
2020-03-01T08:54:00
2020-03-01T08:54:00
244,113,305
3
1
null
null
null
null
UTF-8
Scilab
false
false
460
sce
gfs_b.sce
TITLE gfs_b MAP_NAME gfs_b SHRUB_LIST_NAME gfs_b_shrubs.txt BUILDING_LIST_NAME gfs_b_buildings.txt UNIT_LIST_NAME gfs_b_units.txt TIME_LIMIT_MINS 0 NUMBER_OF_FORCES 2 FORCE_NAME 0 352nd Infantry Div. FORCE_SHIELD 0 mkiv/EyeOfRa CAM_POS_FORCE 0 {0.00,100.00,0.00} CAM_AIM_FORCE 0 {0.00,0.00,0.00} FORCE_NAME 1 29th Infantry Div. FORCE_SHIELD 1 mkiv/EyeOfRa CAM_POS_FORCE 1 {0.00,100.00,0.00} CAM_AIM_FORCE 1 {0.00,0.00,0.00} WATER_TYPE PLANE WATER_LEVEL -10.00
ec00333b1949e709b5406cc6598ddea9441c5f6f
449d555969bfd7befe906877abab098c6e63a0e8
/3769/CH5/EX5.39/Ex5_39.sce
8555b385e253062b46a0cb4d5812c6a0d98dcc59
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
449
sce
Ex5_39.sce
clear //Given R2=50.0 //ohm R3=50.0 //ohm R4=75.0 //ohm E=4.75 R1=100 //Calculation Rbc=1/((1/R2)+(1/R3)+(1/R4)) R=R1+Rbc I=E/R R11=I*R1 Vbc=E-(I*R1) I2=Vbc/R2 I3=Vbc/R3 I4=Vbc/R4 //Result printf("\n Equivalent resistance of the circuit is %0.3f ohm", R) printf("\n Current in R2 is %0.3f A",I2) printf("\n Current in R3 is %0.3f A",I3) printf("\n Current in R4 is %0.3f A",I4)
9320c232528c55eb7114634fff77663578fb0378
449d555969bfd7befe906877abab098c6e63a0e8
/2135/CH3/EX3.10/Exa_3_10.sce
bb5feb769849bf27bd46413b0f89b506d9f74b81
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
313
sce
Exa_3_10.sce
//Exa 3.10 clc; clear; close; format('v',7); //Given Data : m=0.8;//Kg hi=335;//KJ/Kg-water T1=24+273;//K T2=0+273;//K Wdot=400;//W Wdot=Wdot/1000;//KW Q2=m*hi;//KJ ActualCOP=T2/(T1-T2)*30/100; Q2dot=ActualCOP/Wdot;//KJ/s T=Q2/Q2dot;//sec disp(T,"Time required to freeze the water in sec : ");
933046bede977b4cdad008f970fcab902b104ecc
449d555969bfd7befe906877abab098c6e63a0e8
/3176/CH2/EX2.5/Ex2_5.sce
326df7f35f3fd3b3f93ff753ce1d7502b5453c1b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,737
sce
Ex2_5.sce
//Ex2_5 //Addition of Noisy Images for Noise Reduction // Version : Scilab 5.4.1 // Operating System : Window-xp, Window-7 //Toolbox: Image Processing Design 8.3.1-1 //Toolbox: SIVP 0.5.3.1-2 //Reference book name : Digital Image Processing //book author: Rafael C. Gonzalez and Richard E. Woods clc; close; clear; xdel(winsid())//to close all currently open figure(s). gray=imread("Ex2_5.tif"); //gray=rgb2gray(a); gray=im2double(gray); figure,ShowImage(gray,'Gray Image'); title('Original Image'); [nr nc]=size(gray); noise_image=gray; out_image=double(zeros(nr,nc)); level=[5 10 20 50 100]; for i=1:length(level) No=level(i); disp(No); for k=1:No noisy_image=imnoise(noise_image,'gaussian',0,0.02); // figure,ShowImage(noisy_image,'Image corrupted by salt & pepper noise');//ShowImage() is used to sho w image, figure is command to view images in separate window. // title('Image corrupted by Gaussian noise');//title() is used for providing a title to an image. // disp(size(noise_image)); out_image=imadd(out_image,noisy_image); end out_image=out_image/No; out_image=mat2gray(out_image); figure,ShowImage(out_image,'Image Recoverd from the Noise');//ShowImage() is used to show image, figure is command to view images in separate window. title('Image Recoverd from the Noise');//title() is used for providing a title to an image. //Recoverd_Image=0.5*out_image.^0.15;//Gamma Transformation //figure,ShowImage(Recoverd_Image,'Recoverd Image after Gamma Transormation');//ShowImage() is used to show image, figure is command to view images in separate window. //title('Image Recoverd from the Noise');//title() is used for providing a title to an image. end
38f8030148fe38d27d5d5c617cdd511802afe5da
449d555969bfd7befe906877abab098c6e63a0e8
/1172/CH2/EX2.3/Example2_3.sce
0309c1d9c1cdd39c852dff5bacae830fb4061028
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
317
sce
Example2_3.sce
clc // Given That I = 2.4 // intensity of radiation in Watt per meter square epsilon_0 = 8.85e-12 c = 3e8 //Sample Problem 3 Page No. 80 printf("\n # Problem 3 # \n ") E = sqrt ((2* I)/ (c * epsilon_0)) // calculation of amplitude of electric field is printf("Amplitude of electric field is %f N/C \n", E)
7d6317b181275cf9a66ae5b64a2cb4bc8483377f
b6cf003e2be5ca13661ebe6ba87ee4bafd46f80e
/Procede.sce
b4ce482ac7a290c23f1cbda03105a05c668cd27a
[]
no_license
labatvalen/CompressiveSensing
ea11ccf07078d809bf50f0bc53d9c3c47b7f8f59
e06a160bae04bdc8ee2778238f0f1bce74a41f7e
refs/heads/main
2023-04-05T00:37:31.774162
2021-04-15T09:48:48
2021-04-15T09:48:48
358,204,909
1
0
null
null
null
null
UTF-8
Scilab
false
false
6,165
sce
Procede.sce
/*------------------------------------------------- Auteur : Manon Cassagne & Valentin Labat Vous trouverez ci-dessous les fonctions phi et les focntions associées ---------------------------------------------------*/ // Fonction de création de la matrice de mesure phi1 // Matrice aléatoire générée à partir d’un processus uniformément distribué function phi = phi1(lignes, colonnes) phi = rand(lignes, colonnes) endfunction // Fonction de création de la matrice de mesure phi2 // Matrice aléatoire générée à partir d’un processus bernoullien {−1,1}. (Si rand()<p alors X=-1 sinon X=1) function phi=phi2(lignes, colonnes) p = 0.5 phi = zeros(lignes, colonnes) for i=1:lignes for j=1:colonnes if rand() < p phi(i, j) = -1 else phi(i, j) = 1 end end end endfunction // Fonction de création de la matrice de mesure phi3 // Matrice aléatoire générée à partir d’un processus bernoullien {0,1} function phi=phi3(lignes, colonnes) p = 0.5 phi = zeros(lignes, colonnes) for i=1:lignes for j=1:colonnes if rand() < p phi(i, j) = 0 else phi(i, j) = 1 end end end endfunction // Fonction de création de la matrice de mesure phi4 // Matrice aléatoire générée à partir d’un processus gaussien identique et indépendamment distribué function phi = phi4(lignes, colonnes) phi = rand(lignes, colonnes,"normal") endfunction // Fonction de création de la matrice de mesure phi5 // Matrice creuse ou parcimonieuse générée de façon aléatoire. function phi=phi5(lignes, colonnes) p = 0.5 phi = zeros(lignes, colonnes) for i=1:lignes for j=1:colonnes if rand() < p phi(i,j) = 0 else phi(i,j) = rand() end end end endfunction // Avec un x donné, on effectue la fonction Phi_numeroDuPhi et on print les y dans des fichiers function calculDesY(x,M, N, numeroDuPhi, nomDuX) [lignesM, colonnesM] = size(M) for i=1:colonnesM texte = 'Resultats/y/' + nomDuX + '_phi' + string(numeroDuPhi) + '_' + "y" + string(i) textePhi = 'Resultats/phi/' + nomDuX + '_' + "y" + string(i) + '_phi' + string(numeroDuPhi) phi = [] if (numeroDuPhi == 1) then phi = phi1(M(i), N) elseif (numeroDuPhi == 2) then phi = phi2(M(i), N) elseif (numeroDuPhi == 3) then phi = phi3(M(i), N) elseif (numeroDuPhi == 4) then phi = phi4(M(i), N) elseif (numeroDuPhi == 5) then phi = phi5(M(i), N) end y = phi*x texte = texte + ".csv" textePhi = textePhi + ".csv" csvWrite(y, texte, ";") csvWrite(phi, textePhi, ";") end endfunction // Fonction intermédiaire qui permet de calculer la cohérence mutuelle entre phi et D donnés function CM = calculCoherenceMutuelle(phi,D) [M, N] = size(phi) matCM = zeros(M, N) for i=1:M for j=1:N matCM(i, j) = sqrt(N) * abs(phi(i,:)*D(:, j)) / (norm(phi(i, :), 2) * norm(D(:, j), 2)) end end CM = max(matCM) endfunction // La matrice des cohérences mutuelles des différents phi // En ligne 1, Vous avez la cohérence des phi1 en fonction des 6 pourcentages, etc. function matriceCM = matriceDesCoherencesMutuelles(D,M,N) [lignes,colonnes] = size(M) for j=1:colonnes matriceCM(1,j) = calculCoherenceMutuelle(phi1(M(j), N),D) matriceCM(2,j) = calculCoherenceMutuelle(phi2(M(j), N),D) matriceCM(3,j) = calculCoherenceMutuelle(phi3(M(j), N),D) matriceCM(4,j) = calculCoherenceMutuelle(phi4(M(j), N),D) matriceCM(5,j) = calculCoherenceMutuelle(phi5(M(j), N),D) end endfunction // Fonction qui permet l'initialisation des variables P, X, lignesX, colonnesX, M,X1,X2,X3,D,nombreDePhi function [P, X, lignesX, colonnesX, M,X1,X2,X3,D]=initialisationVariables() // Vecteur des pourcentages P = [15, 20, 25, 30, 50, 75] // On lit les valeurs dans les csv associés X = read_csv("Donnees/x.csv",";") // On enlève la première ligne, qui est la légende des colonnes X = X(2:99,:) X = strtod(X,",") // On remplace les valeurs de X qui sont considérés comme des chaines de caractère par des nombres, et on définit le séparateur "," qui est le séparateur du fichier csv [lignesX,colonnesX] = size(X)// lignesX est aussi appelé N [lignesP,colonnesP] = size(P) // M est la matrice des dimensions des lignes de phi M = zeros(lignesP,colonnesP) for i=1:colonnesP M(i) = ceil((P(i) * lignesX) / 100) end // On lit les valeurs dans les csv associés Xtemp = read_csv("Donnees/xVal.csv",";") // On enlève la première ligne, qui est la légende des colonnes, et on sépare en trois vecteurs X1 = Xtemp(2:99,1) X2 = Xtemp(2:99,2) X3 = Xtemp(2:99,3) // On remplace les valeurs des X qui sont considérés comme des chaines de caractère par des nombres, et on définit le séparateur du fichier csv comme étant la virgule X1 = strtod(X1,",") X2 = strtod(X2,",") X3 = strtod(X3,",") D = read_csv("Resultats/Dico.csv",";") D = strtod(D,".") endfunction // Permet l'execution des fonctions du fichier // Decommentez la ligne qui fait appel à la fonction si vous voulez executer ce fichier seulement // Recommentez la ensuite pour que, lors de l'appel de ce fichier par d'autres fichiers, le kSVD ne s'execute pas dès le départ function executionDuFichier() [P, X, lignesX, colonnesX, M,X1,X2,X3,D]=initialisationVariables() // Calcule tous les y et les mets dans le fichier associé nombreDePhi = 5 for i=1:nombreDePhi calculDesY(X1,M, lignesX, i, 'x1') calculDesY(X2,M, lignesX, i, 'x2') calculDesY(X3,M, lignesX, i, 'x3') end matriceCM = matriceDesCoherencesMutuelles(D,M, lignesX) endfunction //executionDuFichier()
0afe446b56dd9dad36b081ee5632d5c512f7a403
449d555969bfd7befe906877abab098c6e63a0e8
/1583/CH10/EX10.4/FS_Ex_10_4.sce
460d847e9be4f959e7672c17174568085ab13733
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
FS_Ex_10_4.sce
clc //Chapter 10:Frequency Synthesizers //Example 10.4 page no 417 fo=185.6*10^6//required output frequency fr=31.25*10^3//reference frequency P=64 disp('To begin with the hopping bin channel spacing requirement of at least 20KHz,a 2MHz crystal is connected to the MC14512-2 with the reference address inputs(pins 4,5,6) connected such that the crystal is divided by 64(RA2=0,RA1=0,RA0=1) This gives a reference frequency of 31.25KHz; and the maximum number of hops is 5.2MHz/31.25KHz=166.4hops FOr 185.6MHZ the values of N and A are found as follows:') N=(fo/fr)/P//finding N for A=0 disp('For this value of N,find A by ') A=(fo/fr)-92*P mprintf('N = %d \n A = %d ',N,A)
d628f7a713fe9a7d0052e401348c7d64e67aa907
449d555969bfd7befe906877abab098c6e63a0e8
/991/CH20/EX20.6/Example20_6.sce
93cf57e130abd96bc667dfefbc8b5eab212e20bc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
195
sce
Example20_6.sce
//Example 20.6. refer fig.20.11. clc format(6) af=1+(10/1) disp(af," The closed-loop voltage gain, AF = 1 + RF/R1 =") beta=1/(1+10) disp(beta," The feedback factor, beta = R1 / R1+RF =")
107245bb5001fce59f4f7ced466cecccb3bb92a2
449d555969bfd7befe906877abab098c6e63a0e8
/2837/CH12/EX12.9/Ex12_9.sce
38b9fd58df1e172475cadad93800e9425be3027f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
324
sce
Ex12_9.sce
clc clear //Initialization of variables tf=225 //F a=190 b=0.043 ti=212 //F //calculations hc=a/(1-b*(tf-ti)) hcti=hc*1.25 //results printf("For a flat copper plate, boiling film coefficient = %.1f Btu/sq ft hr F",hc) printf("\n For an inclined copper plate, boiling film coefficient = %d Btu/sq ft hr F",hcti)
b3a1809d621edc9f7fe9de7a54dea979066b22ea
449d555969bfd7befe906877abab098c6e63a0e8
/2912/CH4/EX4.2/Ex4_2.sce
3fe41974e93c5e27099f4d428ca8acdbf36cd399
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
502
sce
Ex4_2.sce
//chapter 4 //example 4.2 //Find glancing angle //page 75 clear; clc; //given h=1,k=1,l=0; //miller indices a=0.26; // in nanometer (lattice constant) lambda=0.065; // in nanometer (wavelength) n=2; // order //calculate d=a/sqrt(h^2+k^2+l^2); // calculation of interlattice spacing // Since 2dsin(theta)=n(lambda) // therefore we have theta=asind(n*lambda/(2*d)); printf('\nThe glancing angle is \t%.2f degree',theta); //Note: there is slight variation in the answer due to round off
0b220cbec93fbe01a1e370468ec9a11a92271d08
449d555969bfd7befe906877abab098c6e63a0e8
/3871/CH12/EX12.11/Ex12_11.sce
f2e32f2e856f9e360ae0e275c988f75c03aba6a3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
794
sce
Ex12_11.sce
//=============================================================================== //Chapter 12 Example 11 clc;clear all; //variable declaration R2 = 2410; //resistance of arm in Ω R3 = 750; //resistance of arm in Ω R4 = 64.9; //resistance of arm in Ω R = 0.4; //resistance in Ω C4 = 0.35*10^-6; //capacitance in F f = 500; //frequency in Hz //calculations w = 2*(%pi)*f; //radian per second R41 = R4+R; //resistance in Ω L1 = (R2*R3*C4)/(1+((w)*(R4^2)*(C4^2))); //inductance in H R1 = (R2*R3*R41*(w^2)*(C4^2))/(1+((w^2)*(R41^2)*(C4^2))); //resistance in Ω //result mprintf("resistance of coil = %3.2f Ω",R1); mprintf("\ninductance of inductor = %3.4f Henry",L1);
e2bb79335b233ad728bc41a47c8830e74b6775bc
b9117a375dfd4994834bffe24f28414f4599c02e
/test/feature.tst
454a8360ef98686c75a46fcee0bc41c7797a2ffb
[]
no_license
mdolgun/NLPParser
2a7e1ab5f820c902ecb7ecd05a90a9caca7fb4bf
54d8494a8799efb94ff0dfa21c8c46292dd9cb22
refs/heads/master
2021-07-16T08:32:55.973580
2020-10-17T20:28:51
2020-10-17T20:28:51
218,727,320
2
0
null
null
null
null
UTF-8
Scilab
false
false
3,076
tst
feature.tst
###grammar %auto_dict none S -> NP(case=nom,numb,pers) VP NP(case=acc) NP -> i [case=nom,numb=sing,pers=1] NP -> he [case=nom,numb=sing,pers=3] NP -> she [case=nom,numb=sing,pers=3] NP -> it [case=nom,numb=sing,pers=3] NP -> we [case=nom,numb=plur,pers=1] NP -> you [case=nom,numb=plur,pers=2] NP -> they [case=nom,numb=plur,pers=3] NP -> me [case=acc,numb=sing,pers=1] NP -> him [case=acc,numb=sing,pers=3] NP -> her [case=acc,numb=sing,pers=3] NP -> it [case=acc,numb=sing,pers=3] NP -> us [case=acc,numb=plur,pers=1] NP -> you [case=acc,numb=plur,pers=2] NP -> them [case=acc,numb=plur,pers=3] NP -> Det Noun [pers=3] Det -> this [numb=sing] Det -> these [numb=plur] Det -> a [numb=sing] Det -> two [numb=plur] Det -> the Det -> Noun -> man [numb=sing] Noun -> men [numb=plur] VP -> am Ving [numb=sing,pers=1] VP -> is Ving [numb=sing,pers=3] VP -> are Ving [numb=plur] VP -> was Ving [numb=sing] VP -> were Ving [numb=plur] VP -> Ved VP -> V [numb=sing,pers=1] VP -> Vs [numb=sing,pers=3] VP -> V [numb=plur] V -> watch Vs -> watches Ving -> watching Ved -> watched ###input i am watching her ###pformat_ext S( #1[numb=sing,pers=1] NP( #2[case=nom,numb=sing,pers=1] i ) VP( #25[numb=sing,pers=1] am Ving( #36 watching ) ) NP( #11[case=acc,numb=sing,pers=3] her ) ) ###input she is watching me ###pformat_ext S( #1[numb=sing,pers=3] NP( #4[case=nom,numb=sing,pers=3] she ) VP( #26[numb=sing,pers=3] is Ving( #36 watching ) ) NP( #9[case=acc,numb=sing,pers=1] me ) ) ###input these men are watching us ###pformat_ext S( #1[numb=plur,pers=3] NP( #16[numb=plur,pers=3] Det( #18[numb=plur] these ) Noun( #24[numb=plur] men ) ) VP( #27[numb=plur] are Ving( #36 watching ) ) NP( #13[case=acc,numb=plur,pers=1] us ) ) ###input me am watching you ###pformat_ext *UnifyError ###input she is watching i ###pformat_ext *UnifyError ###input two man is watching it ###pformat_ext *UnifyError ###input a man watch us ###pformat_ext *UnifyError ###input they watch us ###pformat_ext S( #1[numb=plur,pers=3] NP( #8[case=nom,numb=plur,pers=3] they ) VP( #33[numb=plur] V( #34 watch ) ) NP( #13[case=acc,numb=plur,pers=1] us ) ) ###input he watches the men ###pformat_ext S( #1[numb=sing,pers=3] NP( #3[case=nom,numb=sing,pers=3] he ) VP( #32[numb=sing,pers=3] Vs( #35 watches ) ) NP( #16[numb=plur,pers=3] Det( #21 the ) Noun( #24[numb=plur] men ) ) ) ###input he watches a men ###pformat_ext *UnifyError
137e2c807bebfa8455d7dd4f5ad248d4ea1017c6
88659412cc6ac49ae5a622336ac1160bdfda50b9
/Activity 2.sce
67ba14d00939af42e0ea3cf3a54076b41377c141
[ "MIT" ]
permissive
yudiaguena/simulation-of-infection
6db2f900b2e4e6ce53c847bf7730b5b117edea73
332e748191d94be26d80fc1fd92651d0aa39fa6b
refs/heads/main
2023-03-11T20:43:18.545644
2021-03-01T22:08:51
2021-03-01T22:08:51
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,616
sce
Activity 2.sce
// Esta função gera un grid de nlin por ncol // para simular a população de uma localidade // densidade é a probabilidade de cada célula estar ocupada // prob de uma célula ocupada // 1 significa célula vazia // 2 significa célula ocupada por indivíduo sadio // 3 significa célula ocupada por indivíduo infectado // 4 significa curado // 5 significa morto // 6 significa nova doença function [grid,nindividuos,ndoentes] = gera_populacao_inicial(nlin,ncol,desidade,prob) //Gera a população inicial de acordo a função de probabilidade binomial grid = grand(nlin,ncol,'bin',1,desidade) nindividuos = sum(grid==1) //pelo menos um doente na população ndoentes = max(1,int(nindividuos*prob)) //seleciona aleatóriamente um indivíduos como doentes doentes = samwr(ndoentes,1,find(grid==1)) //caracteriza a aleatoriedade da escolha dos doentes na amostra grid(doentes) = 2 //soma 1 em cada célula par poder visualizar grid = grid+1 endfunction function [infectado] = foi_infectado(grid,x,y,prob) [nlin,ncol] = size(grid) vizinhos_infectados = 0 for i=[-1,1] vizinho_x = modulo(x + i,nlin) vizinho_y = modulo(y + i,ncol) if vizinho_x == 0 vizinho_x = nlin end if vizinho_y == 0 vizinho_y = ncol end if grid(vizinho_x,y)==3 vizinhos_infectados = vizinhos_infectados+1 end if grid(x,vizinho_y)==3 vizinhos_infectados = vizinhos_infectados+1 end if grid(vizinho_x,y)==6 vizinhos_infectados = vizinhos_infectados+1 end if grid(x,vizinho_y)==6 vizinhos_infectados = vizinhos_infectados+1 end end if vizinhos_infectados > 0 infectado = rand()<prob else infectado = %f end endfunction function [curado] = foi_curado(grid,x,y,prob) curado = rand() < prob endfunction function [falecido] = faleceu(grid,x,y,prob) falecido = rand() < prob endfunction function [alteracao] = malcurado(grid,x,y,prob) alteracao = rand() < prob endfunction nlin = 50;//número de linhas da matriz - indica população ncol = 50; densidade = 0.8; inicial_infectaco = 0.02; prob_malcurado = 0.0008; prob_infeccao = 0.8; prob_cura = 0.3; prob_morte = 0.01; evolucaoInfeccao = zeros(1:100) evolucaoCurados = zeros(1:100) evolucaoMortos = zeros(1:100) evolucaonNaoInfectados = zeros(1:100) evolucaomalcurado = zeros(1:100) evolucaonovainfeccao = zeros(1:100) [grid,nPessoas,nInfectados] = gera_populacao_inicial(nlin,ncol,densidade,inicial_infectaco) disp(nPessoas) disp(nInfectados) nNaoInfectados = length(find(grid==2)) disp(nNaoInfectados) nMortos=0 nCurados=0 nmalcurado=0 nnovoInfectados=0 scf(0) for iteracao = 1:100//dias da infecção Matplot(grid) xtitle(sprintf("Progressão da infecção %d",iteracao)) new_pop = grid for x=1:nlin for y=1:ncol if grid(x,y)==2 & foi_infectado(grid,x,y,prob_infeccao) new_pop(x,y) = 3 //3 é infectado nInfectados = nInfectados + 1 nNaoInfectados = nNaoInfectados - 1 end if grid(x,y)==3 & foi_curado(grid,x,y,prob_cura) new_pop(x,y) = 4// 4 é curado nCurados = nCurados + 1 nInfectados = nInfectados - 1 end if grid(x,y)==4 & malcurado(grid,x,y,prob_malcurado) new_pop(x,y) = 6 //mutação nmalcurado = nmalcurado +1 nCurados = nCurados - 1 end if grid(x,y)==3 & new_pop(x,y)~=4 & faleceu(grid,x,y,prob_morte) new_pop(x,y) = 5// 5 é morto nMortos = nMortos + 1 nInfectados = nInfectados - 1 end end end grid=new_pop evolucaoInfeccao(iteracao) = nInfectados evolucaoCurados(iteracao) = nCurados evolucaoMortos(iteracao) = nMortos evolucaonNaoInfectados (iteracao) = nNaoInfectados evolucaomalcurado (iteracao) = nmalcurado evolucaonovosinfectados(iteracao) = nnovoInfectados end scf(1) plot(1:100,evolucaoInfeccao, 'g-'); plot(1:100,evolucaoCurados,'b-'); plot(1:100,evolucaoMortos, 'r-'); plot(1:100,evolucaonNaoInfectados,'c-'); plot(1:100,evolucaomalcurado, 'y-'); plot(1:100,nnovoInfectados,'v-') title("Gráfico de Progressão Temporal da Infecção"); xlabel("Tempo (dias)"); ylabel("Número de Indivíduos"); legend('Infecção', 'Curados', 'Mortos', 'Não Infectados','mal curado ','nova infecção')
c4ab50437076e9e38a245da6412b18589db2f720
642c000667a1830c3147b17c277fbc851a9d2d20
/jwfearn/tips/MyMux.tst
652e67535b129ce9f6fac27faa3a360008694e17
[]
no_license
SeaRbSg/nand2tetris2017
b33ddd45d9ba39149ae2aa865f37bff0fab4a304
b744ae8265aea568c30d4fc5bedd5feff7ffa130
refs/heads/master
2021-01-25T06:24:55.307485
2017-12-05T16:22:05
2017-12-05T16:22:26
93,568,039
2
1
null
2017-06-07T15:29:45
2017-06-06T22:07:11
Assembly
UTF-8
Scilab
false
false
446
tst
MyMux.tst
load MyMux.hdl, output-file MyMux.out, compare-to MyMux.cmp, output-list a%B3.1.3 b%B3.1.3 sel%B3.1.3 o%B3.1.3 no%B3.1.3; set a 0, set b 0, set sel 0, eval, output; set sel 1, eval, output; set a 0, set b 1, set sel 0, eval, output; set sel 1, eval, output; set a 1, set b 0, set sel 0, eval, output; set sel 1, eval, output; set a 1, set b 1, set sel 0, eval, output; set sel 1, eval, output;
f0d94bc578f4335b4d6054c27922dd0eb5bb8aaf
449d555969bfd7befe906877abab098c6e63a0e8
/3472/CH9/EX9.24/Example9_24.sce
bcf5cded45ebe573d46652de7826dcd4df747da8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,280
sce
Example9_24.sce
// A Texbook on POWER SYSTEM ENGINEERING // A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar // DHANPAT RAI & Co. // SECOND EDITION // PART II : TRANSMISSION AND DISTRIBUTION // CHAPTER 2: CONSTANTS OF OVERHEAD TRANSMISSION LINES // EXAMPLE : 2.24 : // Page number 119-120 clear ; clc ; close ; // Clear the work space and console // Given data V = 250.0 // Line voltage(V) f = 50.0 // Frequency(Hz) D = 1.5 // Distance of separation(m) d = 1.5/100 // Diameter of conductor(m) l = 50.0 // Length of line(km) // Calculations // Case(i) r = d/2 // Radius of conductor(m) e = 8.854*10**-12 // Constant ε_0 C = %pi*e/log(D/r) // Capacitance(F/m) C_l = C*1000.0*l // Capacitance for entire length(F) C_lu = C_l*10.0**6 // Capacitance for entire length(μF) // Case(ii) I_charg = 2.0*%pi*f*C_l*V*1000.0 // Charging current(mA) // Results disp("PART II - EXAMPLE : 2.24 : SOLUTION :-") printf("\nCase(i) : Capacitance of the line, C = %.3f μF", C_lu) printf("\nCase(ii): Charging current, I_charg = %.2f mA", I_charg)
624c80aadc2ca7ea13fe23a41104b39ddbba735a
449d555969bfd7befe906877abab098c6e63a0e8
/2609/CH9/EX9.15/Ex9_15.sce
208ae6e1603ffbfc06a87f92c08efa67deb24ecf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,099
sce
Ex9_15.sce
//Ex 9.15 clc; clear; close; format('v',6); fL=200;//Hz fH=1; //kHz Ap=4;//Pass band gain fc=sqrt(fH*1000*fL);//Hz(Cutoff frequency) BW=fH*1000-fL;//Hz Q=fc/BW;//Quality Factor disp(Q,"Quality factor is "); disp("As Q<12, it is a wide band filter."); Ap1=2;//Pass band gain for high pass section disp("Various design parameters for high pass section are :-"); C=0.033;//micro F//Chosen for the design disp(C,"Capacitance C(micro F)"); format('v',4); R=1/(2*%pi*fL*C*10^-6)/1000;//kohm disp(R,"Resistance R(kohm)"); //Ap1=Rf/Ri+1 ; with Ap1=2 we have Rf=Ri Rf=2*R;//kohm Ri=2*R;//kohm disp(Ri,Rf,"Resistance Rf & Ri(kohm)"); Ap2=2;//Pass band gain for low pass section disp("Various design parameters for low pass section are :-"); format('v',6); C=0.033;//micro F//Chosen for the design disp(C,"Capacitance C(micro F)"); format('v',4); K=fL/(fH*1000);//unitless Rdash=K*R;//kohm disp(Rdash,"Resistance Rdash(kohm)"); //Ap1=Rf/Ri+1 ; with Ap1=2 we have Rf=Ri Rf=2*Rdash;//kohm Ri=2*Rdash;//kohm disp(Ri,Rf,"Resistance Rf & Ri(kohm)"); disp("Use Rf=Ri=10 kohm");
52ac9ac8ca4e6a9daf31421c0433e7fef905f2e7
449d555969bfd7befe906877abab098c6e63a0e8
/3161/CH9/EX9.1/Ex9_1.sce
f2e27b7a3b15b910ccdf464115f32dedfbb63192
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
727
sce
Ex9_1.sce
clc; //page 463 //problem 9.1 //Input signal strength Si = 0.5 W Si = 0.5; //Gaussian Power Spectral Density n = 10^(-10) W/Hz n = 10^(-10); //Baseband cutoff signal fM = 15 kHz fM = 15 * 10^3; //Maximum frequency deviation Df = 60 kHz Df = 60 * 10^3; //Average power of the modulating signal mt = 0.1 W mt = 0.1; SNR = (3/(4*%pi^2))*((Df/fM)^2)*mt^2*(Si/(n*fM)); disp('SNR is '+string(10*log10(SNR))+' dB'); //Part b //Required SNR at output>40 dB = 10000 //From (a), required Si/0.5 > 10000/4052.8 //Or, required Si > 1.2337 W //Since, channel loss is 20 dB (=100), //Required transmitter power > 1.2337*100 = 123.37 disp('Required transmitter power > 1.2337 x 100 = 123.37 ');
a225858f0062276326c7a59a3cd4e338fa5e5436
449d555969bfd7befe906877abab098c6e63a0e8
/1970/CH11/EX11.1/CH11Exa1.sce
ca2fb9bb8ea81d07d0eb60b0a5a72fa7491eef23
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
548
sce
CH11Exa1.sce
// Scilab code Exa11.1 : : Page-535(2011) clc; clear; V_0 = 10^5; // Accelerating voltage, volts C = 0.02e-006; // Capacitance, farad I = 4*1e-003; // Current, ampere f = 200; // Frequency, cycles per sec n = sqrt (V_0*f*C/I); // Number of particles delta_V = I*n*(n+1)/(4*f*C); printf("\nThe optimum number of stages in the accelerator = %d", n); printf("\nThe ripple voltage = %4.1f kV", delta_V/1e+003); // Result // The optimum number of stages in the accelerator = 10 // The ripple voltage = 27.5 kV
8a368f2123730fdb21f10109fb0ff4c11d6e7273
6b7b3be3c11fc662ae3f0b3e8880218ce3888a07
/math/SciLab/ZQ_quat2matrix.sci
7b8c0970960813dea60ff358bd79e14c756ebf78
[]
no_license
johnzet/Flight
27cfa7dc8039f6c7b91385d9e204ad4a54248960
2893750df8aaa38311ffc125b1f7dcc9f5019eab
refs/heads/main
2023-02-25T19:51:03.725205
2021-01-31T01:12:09
2021-01-31T01:12:09
334,544,210
0
0
null
null
null
null
UTF-8
Scilab
false
false
408
sci
ZQ_quat2matrix.sci
function [R] = ZQ_quat2matrix(qin) if (typeof(qin) <> "ZQuat") error("Wrong type of input argument. Quaternion expected"); end q = qin/norm(qin); qw = q.r; qx = q.i(1); qy = q.i(2); qz = q.i(3); R = [1 - 2*qy^2 - 2*qz^2, 2*qx*qy - 2*qz*qw, 2*qx*qz + 2*qy*qw; 2*qx*qy + 2*qz*qw, 1 - 2*qx^2 - 2*qz^2, 2*qy*qz - 2*qx*qw; 2*qx*qz - 2*qy*qw, 2*qy*qz + 2*qx*qw, 1 - 2*qx^2 - 2*qy^2]; endfunction
14be0fb719b6717e3712df56b9709a8dac649459
99b88a8b86c9ba133f1838fdb89798ab0121134a
/app/file_write/elem_write.sci
eb731d27115086535e4c16a07fea43db29570574
[]
no_license
feng42/Interface_scilab_mbdyn
aae1dd4d7ad13c4440be8ac4e6cb9d5d42cea512
604c543f8033fd5e0eed175dc66e5d0e44f5197e
refs/heads/master
2020-04-26T21:35:30.077586
2019-04-27T05:32:31
2019-04-27T05:32:31
173,845,932
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,461
sci
elem_write.sci
mfprintf(fid,'%s\n','#--------------------------'); mfprintf(fid,'%s\n','# [ELEMENTS BLOCK]'); mfprintf(fid,'\n'); mfprintf(fid,'%s\n','begin: elements;'); mfprintf(fid,'\n'); //body sizeB=size(bodies); row=sizeB(1,1); col=sizeB(1,2); for i=1:row lb='Body_Link'+string(i); ln='Node_Link'+string(i+1); mfprintf(fid,'%s%s%s%s%s\n','body:',lb,',',ln,','); mfprintf(fid,'%f%s\n',const_val(1,1),',');//mass s=''; for j=1:col if j==4 then s=s+'diag,'; end if j==col then s=s+string(bodies(i,j))+';'; else s=s+string(bodies(i,j))+','; end end mfprintf(fid,'%s\n',s); mfprintf(fid,'\n'); end //joint sizeJ=size(joints); row=sizeJ(1,1); col=sizeB(1,2); jl='Jo'; for i=1:row //jl=jl+'_Link'+string(i); if i==1 then jl='Jo'+'_Link'+string(i); else jl='Jo'+'_Link'+string(i-1)+'_Link'+string(i); end mfprintf(fid,'%s%s%s\n','joint:',jl,',');//joint name joint_class=joints(i,1).entries; ori=joints(i,2).entries; ang_v=joints(i,3).entries; sizeO=size(ori); rowO=sizeO(1,1); colO=sizeO(1,2); if joint_class=='clamp' then //clamp,\n mfprintf(fid,'%s%s\n',joint_class,','); //Node_Link1,\n ln='Node_Link'+string(i); mfprintf(fid,'%s%s\n',ln,','); for j=1:rowO //reference, Ref_Link1, null,\n lr='Ref_Link'+string(i); //pos:null\n mfprintf(fid,'%s\n','null,'); //orientation:eye\n mfprintf(fid,'%s\n','eye;'); end elseif joint_class=='revolute pin' then //revolute pin,\n mfprintf(fid,'%s%s\n',joint_class,','); //Node_Link1,\n ln='Node_Link'+string(i); mfprintf(fid,'%s%s\n',ln,','); for j=1:rowO //reference, Ref_Link1, null,\n lr='Ref_Link'+string(i); mfprintf(fid,'%s%s%s\n','reference,',lr,',null,'); //hinge, reference, Ref_Link1 mfprintf(fid,'%s%s%s','hinge, reference,',lr,',1,'); //orientation\n s=""; for k=1:colO if j==rowO & k==colO then s=s+string(ori(j,k))+';'; else s=s+string(ori(j,k))+','; end end mfprintf(fid,'%s\n',s); end elseif joint_class=='revolute hinge' then //revolute pin,\n mfprintf(fid,'%s%s\n',joint_class,','); for j=1:rowO //Node_Link1,\n ln='Node_Link'+string(i+j-rowO); mfprintf(fid,'%s%s\n',ln,','); //reference, Ref_Link1, null,\n lr='Ref_Link'+string(i); mfprintf(fid,'%s%s%s\n','reference,',lr,',null,'); //hinge, reference, Ref_Link1 mfprintf(fid,'%s%s%s','hinge, reference,',lr,',1,'); //orientation\n s=""; for k=1:colO if j==rowO & k==colO then s=s+string(ori(j,k))+'.;'; else s=s+string(ori(j,k))+'.,'; end end mfprintf(fid,'%s\n',s); end elseif joint_class=='axial rotation' then //revolute pin,\n mfprintf(fid,'%s%s\n',joint_class,','); for j=1:rowO //Node_Link1,\n ln='Node_Link'+string(i+j-rowO); mfprintf(fid,'%s%s\n',ln,','); //reference, Ref_Link1, null,\n lr='Ref_Link'+string(i-1); mfprintf(fid,'%s%s%s\n','reference,',lr,',null,'); //hinge, reference, Ref_Link1 mfprintf(fid,'%s%s%s','hinge, reference,',lr,',1,'); //orientation\n s=""; for k=1:colO s=s+string(ori(j,k))+'.,'; //if j==rowO & k==colO then //s=s+string(ori(j,k))+'.;'; //else //s=s+string(ori(j,k))+'.,'; //end end mfprintf(fid,'%s\n',s); end mfprintf(fid,'%s%f%s\n','ramp,',ang_v,',0.,1.,0.;'); end mfprintf(fid,'\n'); end //mfprintf(fid,'%s\n','gravity: 0., 0., -1., const, 9.81;'); mfprintf(fid,'\n'); mfprintf(fid,'%s\n','end: elements;');
399124a19d45fe6cd2278d421059cdfacbe62592
449d555969bfd7befe906877abab098c6e63a0e8
/3756/CH2/EX2.12/Ex2_12.sce
90ef631a94f5ee8f37665d8fd725f2bec13836cb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
322
sce
Ex2_12.sce
clc // // // //Variable declaration lambdaa1=4000*10**-8 //Wavelength1 lambdaa2=7000*10**-8 //Wavelength2 invde=4000 //Diffraction element inverse //Calculations n1=(1/(lambdaa1*invde)) n2=(1/(lambdaa2*invde)) //Result printf("\n The orders visible will be from %i to %i order Spectrum",n2,n1)
756ee245120b8d8d7c1a8ff5c144a17ac336c88d
449d555969bfd7befe906877abab098c6e63a0e8
/1823/CH2/EX2.31/SolEx2_31.sce
8668b02d06909eaa134179b2c6a6ebcd26cdd7aa
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
293
sce
SolEx2_31.sce
//Find the maximum allowable current iZ when the Zener diode is acting as a regulator //Solved Example Ex2.31 page no 65 clear clc Vz=5.2 //V Pdmax=260 //mW iZmax=Pdmax/Vz //mA printf("iZmax = %0.3f mA",iZmax) Vs=15 R=(Vs-Vz)*1000/iZmax printf("\n R = %0.3f ohm",R)
5523ef8c006c00902f6dc48c60da803795d1c844
449d555969bfd7befe906877abab098c6e63a0e8
/2045/CH2/EX2.6/Ex2_6.sce
0f1a261723756938e88ea44327f46161d3371693
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
186
sce
Ex2_6.sce
//pagenumber 103 example 6 clear a=1*10^-6;//metre square w=2*10^-6;//thick centimetre re=16; eo=8.854*10^-12; c=(eo*re*a)/w; disp("capacitance = "+string(c)+"farad");
46c5a4caf5bbc5418373fa599a8d23c9f26f8ee9
e7e6e1633d484336268da303fbf34c87214e5669
/Assignment3/assignment3.sce
fd7f333283bb092a760692e64014cd8ee253932d
[]
no_license
TarunGuptaJ/Scilab_Assignment
e65bbc6abaa4535b2faf13fbccad7b3d08c8f338
00b95c5970a7c13d32b83255f211f3041f8650a3
refs/heads/master
2020-12-28T09:12:15.189754
2020-04-18T11:12:39
2020-04-18T11:12:39
238,260,976
0
0
null
null
null
null
UTF-8
Scilab
false
false
420
sce
assignment3.sce
//Made the implementation a function so that it can take any input function Best_Fit(A,b) x=(A'*A)\ (A'*b); disp (x, 'x='); C=x(1,1); D=x(2,1); disp(C,"C ="); disp(D,"D ="); endfunction //A=[1 -1;1 1;1 2]; A = x_matrix("Enter matrix A:",zeros(3,2)); disp(A, 'A='); //b=[1;1;3]; b = x_matrix("Enter matrix b:",zeros(3,1)); disp(b, 'b='); Best_Fit(A,b); disp('The-line of best fit -is b=C+Dt');
84b5532df0b317d511f2b1734dabbad7f57927eb
449d555969bfd7befe906877abab098c6e63a0e8
/1301/CH27/EX27.5/ex27_5.sce
8c2571771fa9c992dd9503dff40c79437a50a372
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
52
sce
ex27_5.sce
clc; disp(0.082/2,"Litres = "); //displaying result
3a0491bc549327abfa0eb7208c0d17332bd34193
676ffceabdfe022b6381807def2ea401302430ac
/solvers/MMFSolver/Tests/TestMaxwellSphere.tst
b7f1f688a46fd50dd56e3a46e5e9e76b7bbb4bc0
[ "MIT" ]
permissive
mathLab/ITHACA-SEM
3adf7a49567040398d758f4ee258276fee80065e
065a269e3f18f2fc9d9f4abd9d47abba14d0933b
refs/heads/master
2022-07-06T23:42:51.869689
2022-06-21T13:27:18
2022-06-21T13:27:18
136,485,665
10
5
MIT
2019-05-15T08:31:40
2018-06-07T14:01:54
Makefile
UTF-8
Scilab
false
false
938
tst
TestMaxwellSphere.tst
<?xml version="1.0" encoding="utf-8"?> <test> <description>MMF Maxwell solver, DG, P=4</description> <executable>MMFSolver</executable> <parameters>MMFMaxwellSphere.xml</parameters> <files> <file description="Session File">MMFMaxwellSphere.xml</file> </files> <metrics> <metric type="L2" id="1"> <value variable="F1" tolerance="1e-5">0.00208066</value> <value variable="F2" tolerance="1e-5">0.00208173</value> <value variable="F3" tolerance="1e-5">0.00180384</value> </metric> <metric type="Linf" id="2"> <value variable="F1" tolerance="1e-5">0.00998094</value> <value variable="F2" tolerance="1e-5">0.00678984</value> <value variable="F3" tolerance="1e-5">0.00225043</value> </metric> </metrics> </test>
09a3c4f987526f09d78bafaadfd53bbac81bab5c
449d555969bfd7befe906877abab098c6e63a0e8
/2642/CH11/EX11.6/Ex11_6.sce
1c62d307f9f32aba7de22e773b4eed80cb16b1cb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
571
sce
Ex11_6.sce
// FUNDAMENTALS OF ELECTICAL MACHINES // M.A.SALAM // NAROSA PUBLISHING HOUSE // SECOND EDITION // Chapter 11 : SINGLE-PHASE MOTORS // Example : 11.6 clc;clear; // clears the console and command history // Given data r_t = 36 // rotor teeth of stepper motor N = 4 // stator phases // caclulations T_p = 360/r_t // tooth pitch teta = 360/(N*r_t) // step angle // display the result disp("Example 11.6 solution"); printf(" \n Tooth pitch \n T_p = %.0i degree \n", T_p ); printf(" \n Strp angle \n teta = %.1f degree \n", teta );
798852cc710ca0db29d75b1413cd6d4cdf995a31
449d555969bfd7befe906877abab098c6e63a0e8
/443/DEPENDENCIES/17_22_data.sci
58e81e8b61118e06e8c503a3abf0734ce713c9c8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
397
sci
17_22_data.sci
//Percentage carbon C1=0.86; //Percentage hydrogen H=0.13; //Air consumption in excessof that required for theoretically correct combustion Ac=110/100; //Brake power(in kW) bp=120; //Mechanical efficiency nm=0.8; //Indicated thermal efficiency nith=0.40; //Calorific Value(in kJ/kg) CV=43000; //Volume flow Va=0.77; //Speed of the engine(in rpm) N=1600; //No of cylinders K=6;
5c0be9587b7e96c2debdf84a91c0ad11cff56010
fd06d3beb82096fa35c987728e029bd5216a214b
/splineApproximation/approximationOptBreakpoints.sce
70e9e9131d8ae24fabca2c9beabae2edef307d6c
[]
no_license
stepanov17/coverageFactorBayesianInference
83156f792b242f1f4ddfb030a40c23489324fed6
4f50d70cd4649e1de7825de3dd5f01608b7dc950
refs/heads/master
2021-07-15T01:08:21.895533
2021-01-24T11:55:09
2021-01-24T11:55:09
230,261,884
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,690
sce
approximationOptBreakpoints.sce
clear; clc; function [maxR, appr, d] = sAppr(x, y, bp, plotFlag, plotCol) nx = length(x); xStart = x(1); xEnd = x(nx); [appr, d] = lsq_splin(x, y, bp); kRound = 1.e3; appr = (1 ./ kRound) * round(kRound * appr); d = (1 ./ kRound) * round(kRound * d); yAppr = interp(x, bp, appr, d, "natural"); if (plotFlag > 0) then plot(x, y, plotCol + '.') plot(x, yAppr, plotCol) // 'x' yAppr2 = interp(bp, bp, appr, d, "natural"); plot(bp, yAppr2, plotCol + 'x') end r = abs(y - yAppr) ./ y; maxR = max(r * 100); // max rel. error, % endfunction // conv(N, E(2)), p0 = 99, n = 4 x = [0. 0.1 0.2 0.3 0.4 0.5 0.75 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. 3.25 3.5 3.75 4. 4.5 5. 5.5 6. 7. 8. 9. 10. ]; y = [3.372 3.371 3.362 3.342 3.319 3.287 3.194 3.087 2.979 2.887 2.816 2.759 2.717 2.687 2.668 2.650 2.638 2.627 2.623 2.613 2.605 2.601 2.598 2.594 2.589 2.584 2.582 2.582]; xMax = x(length(x)); h = 0.005; nh = xMax / h; iOpt = []; R = 1.e8; nIter = 1; n1 = 0.35 * nh; // nh - 1; n2 = 0.70 * nh; // nh - 2; // quasi-optimal breakpoints, argmin(maxR) for i1 = 1 : n1 for i2 = i1 + 1 : n2 breakpoints = [0., i1 * h, i2 * h, xMax]; [maxR, yi, di] = sAppr(x, y, breakpoints, -1, 'k'); if (maxR < R) then R = maxR; iOpt = [i1 i2]; end printf(">> %d\t[%d %d]\t%f\n", nIter, i1, i2, R); nIter = nIter + 1; end end breakpoints = [0, h * iOpt, xMax] [maxR, yi, di] = sAppr(x, y, breakpoints, 1, 'k'); maxR splineData = [breakpoints; yi; di] printf("maxR = %.2f", maxR)
de60ec0cab1a2ae5e7bd7c12d0b85ef83ac19a71
449d555969bfd7befe906877abab098c6e63a0e8
/1076/CH3/EX3.8/3_8.sce
9dc8a300492c65f0b39fb659b97ed9cbe553b8de
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
634
sce
3_8.sce
clear; clc; R=48.7; X=80.2; Z=complex(R,X); c=8.42e-9; l=200; C=c*l; Y=complex(0,(C* 100*%pi)); Vr=88e3/sqrt(3); Pr=13.5e6; pf=.9; pfa=-1* acos(pf); Irm=Pr/(3*Vr*pf); Ir=complex(Irm *pf, Irm * sin(pfa)); Vs=(Vr*(1+((Z*Y)/2)))+ (Ir*Z*(1+(Z*Y/4))); V=abs(Vs); vs=sqrt(3)*V*1e-3; phi=atan(imag(Vs)/real(Vs))*(180/%pi); mprintf("\nSending End Voltage = %.2f kV",vs); mprintf("\nSending End Power Angle = %.1f deg ",phi); Is=(Vr*Y)+(Ir*(1+(Y*Z/2))); I=abs(Is); mprintf("\nSending End Current = %.2f A",I); Vr0=V/(1+(Y*Z/2)); V0=abs(Vr0); VR=(V0-Vr)/Vr; mprintf("\nVoltage Regulation = %.1f ",VR*100);
fa46db0a23568218d24d7e073f7fd14f67020674
449d555969bfd7befe906877abab098c6e63a0e8
/3651/CH7/EX7.1/1.sce
be10786177df02af023a40b0f00f0c714b9c54c6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
352
sce
1.sce
//variable declaration r1 = 7; //in radians r2 = 3; //in radians d1 = 4; //Converting from mm to radians d2 = 6; //Converting from mm to radians //calculations D = (r2-r1)/(d2*10**3-d1*10**3) //Divergence //Result printf('Divergence = %0.3f *10**-3 radian \n',(D*10**3))
d725fec90280329799d19be17b791b51a11532d3
449d555969bfd7befe906877abab098c6e63a0e8
/764/CH5/EX5.18.a/data5_18.sci
63b8413a1a6ba3ee7d80702300552bdbaa743540
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
706
sci
data5_18.sci
//(Design against Fluctuating Load) Example 5.18 //Refer Fig.5.53 on page 176 //Ultimate tensile strength of 40C8 Sut (N/mm2) Sut = 600 //Yield tensile strength of 40C8 Syt (N/mm2) Syt = 380 //Maximum force acting at the free end Pmax (N) Pmax = 150 //Minimum force acting at the free end Pmin (N) Pmin = -50 //Factor of safety fs fs = 2 //Notch sensitivity factor q q = 0.9 reliability = 90 //Operation //Nomenclature: //1 - Ground //2 - Machined or cold drawn //3 - Hot-rolled //4 - Forged op = 2 //Assume diameter of the beam to be between 7.5 and 50mm d d = 25 //Distance between force and fillet-section dist (mm) dist = 100 //From Fig.5.5 Kt = 1.44
65460e3b994b34fcafa61ad7ccf3736a0706f6a3
449d555969bfd7befe906877abab098c6e63a0e8
/2096/CH7/EX7.10/ex_7_10.sce
03c65824e159c63ea53494cc608ecd46a3df5390
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
361
sce
ex_7_10.sce
//Example 7.10 // strain charge and capacitance clc; clear; close; //given data : A=6*6*10^-6; // in m^2 t=1.5*10^-3; // in m e=12.5*10^-9; // in F/m F=6; // in N d=150*10^-12; // in F E=12*10^6; // in N/m^2 p=F/A; S=p/E; g=d/e; E1=g*t*p; Q=d*F*10^12; C=Q/E1; disp(S,"strain,S = ") disp(Q,"charge,Q(pC) = ") disp(C,"capacitance,C(pF) = ")
06518972d267e28a9503a76388b1fc073763ab05
c28130b62911f5891f14826350089c73c907d3b5
/exo17_splitting_simulation.sci
c1a70b7a24a2920839a8846bc3c4ebb12a843463
[ "MIT" ]
permissive
zyron92/Simulation_of_Cardiac_Excitation
f1709d032613f49427a72716b4e258c3b578b739
66813dc24128d9cb171e77d4f780b6bf54011d15
refs/heads/master
2021-01-19T10:25:43.810588
2017-02-16T12:58:38
2017-02-16T12:58:38
82,180,177
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,269
sci
exo17_splitting_simulation.sci
//pour appeler toutes les fonctions nécessaires dans le script 10,15 exec('exo11_simulation.sci',-1) exec('exo15_cn2.sci',-1) //Modification du script précédent pour splitting avec rk2, cn2 avec fonctions correctives function main_splitting_problem(t0,dt,T,e0,r0,D,n) L=slaplacien(D,n); //L choisi t=t0+dt //t initial nt=(T/dt)-1 //nombre d'intervalles de T k0=round(t0/dt) //k initial //initialisation de la grille avec la solution manufacturée pour t=t0 [x,y]=genere_xy(n) [res_e,res_r]=grille_solution(x,y,t0) //si jamais nt=0 //initialisation du graphe pour les cellules e=e0 r=r0 sim_t = t0 sim_cell_e = e0 sim_cell_r = r0 for k=k0:1:(nt+1) //Calcul des termes correctifs [sol_e,sol_r]=grille_solution(x,y,t) c1 = (sol_e - e -dt.*((L*e)+F(e,r))) ./ dt c2 = (sol_r - r -dt.*G(e,r)) ./ dt //Etape 1 rk2 res_e_mid = e+(dt/2).*(F(e,r) + F(e+(dt/2).*F(e,r) , r+(dt/2).*F(e,r))) res_r_mid = r+(dt/2).*(G(e,r) + G(e+(dt/2).*G(e,r) , r+(dt/2).*G(e,r))) //Etape 2 cn2 res_etoile = cn2(res_e_mid,dt,D,n,L) //Etape 3 rk2 res_e = res_etoile+(dt/2).*(F(res_etoile,res_r_mid) + F(res_etoile+(dt/2).*F(res_etoile,res_r_mid) , res_r_mid+(dt/2).*F(res_etoile,res_r_mid))) res_r = res_r_mid+(dt/2).*(G(res_etoile,res_r_mid) + G(res_etoile+(dt/2).*G(res_etoile,res_r_mid) , res_r_mid+(dt/2).*G(res_etoile,res_r_mid))) //Ajoute les éléments correctifs res_e = res_e + c1 res_r = res_r + c2 e=res_e r=res_r t=(k+1)*dt //Accumulation des données les cellules sim_t = [ sim_t , t ] sim_cell_e = [ sim_cell_e , res_e ] sim_cell_r = [ sim_cell_r , res_r ] end //Graphe pour les cellules for i=1:1:(n*n) xset("window",i); //i designe n°fenetre = ((indice y_j)-1)(n)+(indice x_i) plot2d(sim_t,sim_cell_e(i,:),style=5) //tracé rouge plot2d(sim_t,sim_cell_r(i,:),style=4) //tracé bleu end endfunction //-- L'exemple --// //D=1 //Constant conductivité //n=2 //Taille de grille //T=2 //T //t0=0 //Temps initial //dt=0.0001 //Pas de temps //--les vecteurs (condition) initiaux de taille n*n et matrice L (la meme que dans l'exo11) //[e0,r0]=genere_cond_initial(n) //simule e(t) & r(t) //main_splitting_problem(t0,dt,T,e0,r0,D,n)
b255865614ebf9d7d4e28a1c04c3d426100e5ab9
b9c6de66a61d6f9a57edaa44baf92266ccbab3db
/macros/distfun_hygeinv.sci
ed73dc607bd3025c01dbf70741a49b8b9f4d2745
[]
no_license
papriwalprateek/distfun-scilab
81b3edef0af1d1908e05472dfb15b0a55f61571d
82fd34521d1e6ebb6513773264b54a0d48f5f3f9
refs/heads/master
2016-09-03T07:08:47.605240
2013-10-13T05:53:43
2013-10-13T05:53:43
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,340
sci
distfun_hygeinv.sci
// Copyright (C) 2012 - Prateek Papriwal // Copyright (C) 2012 - Michael Baudin // // This file must be used under the terms of the CeCILL. // This source file is licensed as described in the file COPYING, which // you should have received as part of this distribution. The terms // are also available at // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt // function x = distfun_hygeinv(varargin) // Hypergeometric Inverse CDF // // Calling Sequence // x = distfun_hygeinv(p,M,k,N) // x = distfun_hygeinv(p,M,k,N,lowertail) // // Parameters // p : a 1x1 or nxm matrix of doubles, the probability . // M : a 1x1 or nxm matrix of doubles, the total size of the population. M belongs to the set {0,1,2,3........} // k : a 1x1 or nxm matrix of doubles, the number of success states in the population. k belongs to the set {0,1,2,3,.......M-1,M} // N : a 1x1 or nxm matrix of doubles, the total number of draws in the experiment. N belongs to the set {0,1,2,3.......M-1,M} // lowertail : a 1x1 matrix of booleans, the tail (default lowertail=%t). If lowertail is true (the default), then considers P(X<=x) otherwise P(X>x). // x : a 1x1 or nxm matrix of doubles, the number of successful draws in the experiment. x belongs to the set [0,min(k,N)] // // Description // Computes the Inverse cumulative distribution function of // the Hypergeometric distribution function. // // Any scalar input argument is expanded to a matrix of doubles // of the same size as the other input arguments. // // Examples // // // Test with all the arguments scalar // x = distfun_hygeinv(0.2,80,50,30) // expected = 17 // x = distfun_hygeinv(0.8,80,50,30,%f) // expected = 17 // // // Test with expanded p // x = distfun_hygeinv([0.2 0.9],80,50,30) // expected = [17 21] // // // Test with expanded p,k // x = distfun_hygeinv([0.2 0.9],80,50,[30 35]) // expected = [17 25] // // // Test with all the arguments expanded // x = distfun_hygeinv([0.2 0.9],[80 100],[50 60],[30 35]) // expected = [17 24] // // // Test with small values of p // x = distfun_hygeinv(1.e-8,80,50,30) // expected = 7 // x = distfun_hygeinv(1-1.e-8,80,50,30,%f) // expected = 7 // // Bibliography // http://en.wikipedia.org/wiki/Hypergeometric_distribution // // Authors // Copyright (C) 2012 - Prateek Papriwal // Copyright (C) 2012 - Michael Baudin [lhs,rhs] = argn() apifun_checkrhs("distfun_hygeinv",rhs,4:5) apifun_checklhs("distfun_hygeinv",lhs,0:1) p = varargin(1) M = varargin(2) k = varargin(3) N = varargin(4) lowertail = apifun_argindefault(varargin,5,%t) // // Check type apifun_checktype("distfun_hygeinv",p,"p",1,"constant") apifun_checktype("distfun_hygeinv",M,"M",2,"constant") apifun_checktype("distfun_hygeinv",k,"k",3,"constant") apifun_checktype("distfun_hygeinv",N,"N",4,"constant") apifun_checktype("distfun_hygeinv",lowertail,"lowertail",5,"boolean") // // Check size apifun_checkscalar("distfun_hygeinv",lowertail,"lowertail",5) // // Check content apifun_checkrange("distfun_hygeinv",p,"p",1,0,1) apifun_checkgreq("distfun_hygeinv",M,"M",2,0) apifun_checkgreq("distfun_hygeinv",k,"k",3,0) apifun_checkgreq("distfun_hygeinv",N,"N",4,0) // [p,M,k,N] = apifun_expandvar(p,M,k,N) // if (p == []) then x = [] return end // myloweq("distfun_hygeinv",k,"k",2,M) // k<=M myloweq("distfun_hygeinv",N,"N",3,M) // N<=M // x = distfun_invcdfhyge(p,M,k,N,lowertail) endfunction function myloweq( funname , var , varname , ivar , thr ) // Workaround for bug http://forge.scilab.org/index.php/p/apifun/issues/867/ // Caution: // This function assumes that var and thr are matrices with // same size. // Expand the arguments before calling it. if ( or ( var > thr ) ) then k = find ( var > thr ,1) errmsg = msprintf(gettext("%s: Wrong input argument %s at input #%d. Entry %s(%d) is equal to %s but should be lower than %s."),funname,varname,ivar,varname,k,string(var(k)),string(thr(k))); error(errmsg); end endfunction
0c1831023d55d73b74f1b9abd7a06aa6aec70aa2
449d555969bfd7befe906877abab098c6e63a0e8
/3876/CH17/EX17.2/Ex17_2.sce
7a18e6893f8504750c6190fbec46552e4fa08506
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
279
sce
Ex17_2.sce
//Chapter 17 Speed of Reaction Catalysis clc; clear; //Initialisation of Variables t= 10 //min c= 0.01 //molar c1= 0.00464 //molar //CALCULATIONS k= (c-c1)/(c*c1*t) T= 1/(k*0.01) //RESULTS mprintf("Velocity constant= %.1f min^-1",k) mprintf("\nHalf-time period= %.1f min",T)
43debef685a82ce4736f8212ef9f96deffafa392
449d555969bfd7befe906877abab098c6e63a0e8
/536/CH10/EX10.8/Example_10_8.sce
343f2a9a0ea05f663f58e40d64d7e1731d25bccf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
540
sce
Example_10_8.sce
clc; clear; printf("Example 10.8\n") L=825e-3; //length of the tube d=15e-3; //diameter of the tube P_i=7.5e3; //Partial pressure of ammonia at inlet P_o=2e3; //Partial pressure of ammonia at inlet A_r=2e-5; //Air rate P=101.3e3; //Atmospheric pressure D_F_m=(P_i-P_o)/log(P_i/P_o);//Mean driving force A_absorbd=A_r*((P_i/(P-P_i))-(P_o/(P-P_o))); A_w=%pi*d*L;//Wetted surface K_G=(A_absorbd/(A_w*D_F_m));//Overall transfer coefficient printf("\n Overall Transfer coefficient = %.2f * 10^-9 kmol/[m^2 s (N/m^2)]",K_G*1e9)
794fc1018e7416c1f313cd9f566ce81cb3bbd8e2
0eea7d48e039f70051ddf39a431c9325998e775e
/fatoracaoLU.sce
f650489468be6e51bf57a9abad8409992078c572
[]
no_license
dannylong/Dannylong
dc3e200009a356e5c63481737a6f3c3a515fbdab
5103df01e5bfef3031627b7eb35f815b63ed862c
refs/heads/master
2016-09-14T04:58:31.471187
2016-05-09T00:32:58
2016-05-09T00:32:58
58,337,691
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,198
sce
fatoracaoLU.sce
clear; A = [3 2 4; 1 1 2; 4 3 2]; // Fatoração LU sem pivotamento parcial function [L, U] = fatoracaoLU(A) [linhas colunas] = size(A); L = eye(linhas, colunas); for j = 1:colunas pivo = A(j,j); for i = (j+1):linhas //zerar todos os termos abaixo do pivo //zerar o elemento Ab(i,j) lambda = A(i,j)/pivo; A(i,:) = A(i, :) - lambda * A(j,:); L(i, j) = lambda; end end // In the end(for a LS of order 3, e. g.), L = [1 0 0; lambda21 1 0; lambda31 lambda32 1]; // ---------------------------------------------------------------------------------------------------------------------------- // U recebe todos os termos da matriz A modificada (matriz triangular superior), mas deve ser corrigida posteriormente, pois... // erros de arredondamente podem deixar termos abaixo dos pivôs muito pequenos, mas ainda assim não nulos U = A; // Garantir que a parte à esquerda(ou abaixo, sei lá xD) da diagonal principal tenha todos os termos nulos for j = 1:colunas for i = (j+1):linhas U(i, j) = 0; end end endfunction
a8744d70b6510bfaff38e9f989a9fa98347188fd
449d555969bfd7befe906877abab098c6e63a0e8
/25/DEPENDENCIES/swr.sci
16772fdd44735b235c9552241083b746b07a643e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
85
sci
swr.sci
// function to find SWR, function[SWR]=VSWR(tao) SWR=(1+tao)/(1-tao) endfunction
069d89d22005d5257c156c434ecf0ba298199e90
83cc38e86db979610d3b07de13a13b728154de65
/Мобильная робототехника/lab2/Lan2-4.sce
1d96e1e89a508f23fe0b6af412c905abbd57b80b
[]
no_license
Murad255/Sharaga_
ffa412f0f5ae4dd4cc7f8bec2329e075026389fb
3ba1ff62c0933b942e6fbbbb370e7e18ee49a682
refs/heads/master
2023-04-02T02:28:57.289478
2023-03-22T12:44:16
2023-03-22T12:44:16
178,941,358
0
1
null
null
null
null
UTF-8
Scilab
false
false
3,991
sce
Lan2-4.sce
//Задание начальных условий clear; xdel(winsid()); //функция проверки списка function x=check_list(a, b) x=0; for i=1:length(a) if a(i)(1) == b(1) & a(i)(2) == b(2) then x = i; end end endfunction //выбор минимального значения из списка function x=min_list(a) y = zeros(length(a)); for i = 1:length(a) y(i) = a(i)(3); end [z x] = min(y); endfunction //Создание карты size_ = 32; data = read ('goo1.txt', size_*size_, 1); map = zeros(size_,size_); i = 1; j = 1; k = 0; for i =1:size_ for j=1:size_ map(i,j)=data(k*size_+j); end k=k+1; end //Начальная и конечная точка s_pos = [3 3]; e_pos = [30 30]; map(s_pos(1), s_pos(2)) = -10; map(e_pos(1), e_pos(2)) = -20; map1 = map; //Определение открытого и закрытого списка open_list = list([s_pos(1) s_pos(2) 0 0 0 0]); close_list = list(); //Весовые коэффициенты kc=1; kh=1; //Начало цикла проверки. Осматриваем каждую соседнюю клетки относительно текущей while check_list(open_list,[e_pos(1) e_pos(2)]) == 0 a = min_list(open_list) c = open_list(a)(4)+1; //1 if map(open_list(a)(1)+1, open_list(a)(2)) ~= 1 & check_list(close_list,[open_list(a)(1)+1 open_list(a)(2)]) == 0 then h=abs(e_pos(1)-open_list(a)(1)+1) + abs(e_pos(2)-open_list(a)(2)); f=kc*c+kh*h; index=check_list(open_list, [open_list(a)(1)+1 open_list(a)(2)]) if index== 0 then open_list($+1)=[open_list(a)(1)+1 open_list(a)(2) f c open_list(a)(1) open_list(a)(2)] elseif open_list(index)(3)>f then open_list(index)(3)=f; open_list(index)(4)=c; open_list(index)(5)=open_list(a)(1); open_list(index)(6)=open_list(a)(2); end end //2 if map(open_list(a)(1)-1, open_list(a)(2)) ~= 1 & check_list(close_list,[open_list(a)(1)-1 open_list(a)(2)]) == 0 then h=abs(e_pos(1)-open_list(a)(1)) + abs(e_pos(2)-open_list(a)(2)+1); f=kc*c+kh*h; index=check_list(open_list, [open_list(a)(1)-1 open_list(a)(2)]) if index== 0 then open_list($+1)=[open_list(a)(1)-1 open_list(a)(2) f c open_list(a)(1) open_list(a)(2)] elseif open_list(index)(3)>f then open_list(index)(3)=f; open_list(index)(4)=c; open_list(index)(5)=open_list(a)(1); open_list(index)(6)=open_list(a)(2); end end //3 if map(open_list(a)(1), open_list(a)(2)+1) ~= 1 & check_list(close_list,[open_list(a)(1) open_list(a)(2)+1]) == 0 then h=abs(e_pos(1)-open_list(a)(1)) + abs(e_pos(2)-open_list(a)(2)+1); f=kc*c+kh*h; index=check_list(open_list, [open_list(a)(1) open_list(a)(2)+1]) if index== 0 then open_list($+1)=[open_list(a)(1) open_list(a)(2)+1 f c open_list(a)(1) open_list(a)(2)] elseif open_list(index)(3)>f then open_list(index)(3)=f; open_list(index)(4)=c; open_list(index)(5)=open_list(a)(1); open_list(index)(6)=open_list(a)(2); end end //4 if map(open_list(a)(1), open_list(a)(2)-1) ~= 1 & check_list(close_list,[open_list(a)(1) open_list(a)(2)-1]) == 0 then h=abs(e_pos(1)-open_list(a)(1)) + abs(e_pos(2)-open_list(a)(2)-1); f=kc*c+kh*h; index=check_list(open_list, [open_list(a)(1) open_list(a)(2)-1]) if index== 0 then open_list($+1)=[open_list(a)(1) open_list(a)(2)-1 f c open_list(a)(1) open_list(a)(2)] elseif open_list(index)(3)>f then open_list(index)(3)=f; open_list(index)(4)=c; open_list(index)(5)=open_list(a)(1); open_list(index)(6)=open_list(a)(2); end end close_list($+1)=open_list(a); map(open_list(a)(1),open_list(a)(2))=open_list(a)(3); open_list(a)=null(); end //Построение пути от начальной до конечной точки path=list(close_list($)); while check_list(path, [s_pos(1),s_pos(2)]) == 0 path($+1)=close_list(check_list(close_list,[path($)(5) path($)(6)])); map1(path($)(1), path($)(2))=10; end map = map/ (max(map)*1); figure(1);clf; hist3d(map); figure(2);clf; hist3d(map1);
e861ce9be61ac33b35b560eb295a331ef939389d
449d555969bfd7befe906877abab098c6e63a0e8
/3311/CH5/EX5.7/Ex5_7.sce
e6be1ae174b07f5b434da552a70838f6c5ccddb6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,125
sce
Ex5_7.sce
// chapter 5 // example 5.7 // Calculate the total power loss // page-183 clear; clc; // given V_DS=120; // in V (DC power supply) I_D=4; // in A (drain current) t_r=80; // in ns (rise time) t_f=120; // in ns (fall time) I_DSS=2; // in mA (drain current at saturation) R_DS_on=0.2; // in ohm (drainn ot source resistance when MOSFET is ON) D=50; // in percentage (duty cycle) f=45; // in kHz (swithcing frequency) // calculate f=f*1E3; // changing unit from kHz to Hz I_DSS=I_DSS*1E-3; // changing unit from mA to A t_r=t_r*1E-9; // changing unit from ns to s t_f=t_f*1E-9; // changing unit from ns to s T=1/f; // calculation of total period t_on=D*T/100; // calculation of on-time t_off=(100-D)*T/100; // calculation of on-time P_on=I_D^2*R_DS_on*t_on/T; // calculation of on-state power loss P_off=V_DS*I_DSS*t_off/T; // calculation of off-state power loss Pw_on=(V_DS*I_D*t_r/6)*f; // calculation of turn-on switching power loss Pw_off=(V_DS*I_D*t_f/6)*f; // calculation of turn-off switching power loss P_T=P_on+P_off+Pw_on+Pw_off; // calculation of total power loss printf("\nThe total power loss is \t P_T=%.2f W",P_T);
96114c8588bb84235c91cbe2c349f986ebcdb0d3
449d555969bfd7befe906877abab098c6e63a0e8
/1478/CH2/EX2.18.51/2_18_51.sce
dbcd79ee9269c83d2eb03b4e1ed4d1c886ede4f2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
578
sce
2_18_51.sce
//water and its treatment// //example 2.18.51// clc Hardness=600//Hardness of water(mg/lit) or ppm// H=Hardness/1000//Hardness of water(gms/lit)// volume_NaCl=300//Volume of NaCl// Wt_per_Litre=75//gms NaCl consumed by zeolite bed per litre// total_wt=Wt_per_Litre*volume_NaCl//total gms NaCl consumed by zeolite bed// CaCO3_equivalent=total_wt*50/58.5//in terms of (gms/lit)// volume_hardwater=CaCO3_equivalent/H printf("\nCaCO3 equivalent is %.2f mgs",CaCO3_equivalent*1000); printf("\nQuantity of water softened using zeolite bed is %.2f litres",volume_hardwater);
b1e03a68465a2275b1ac83e07185268cd0bd87d1
449d555969bfd7befe906877abab098c6e63a0e8
/257/CH9/EX9.4/example_9_4.sce
4092e3bf64123ffa3092d65dd9be90bd0441e400
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
100
sce
example_9_4.sce
s=%s sys=syslin('c',(k)/(s*(s+2))) evans(sys) printf("there are 2 branches approaching infinity")
937a982ca1d21a4dfb21da49b83a1735ba304431
449d555969bfd7befe906877abab098c6e63a0e8
/991/CH18/EX18.2/Example18_2.sce
90d3e4614c7086ebb3fcc8371d270fabfa2e81be
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Example18_2.sce
//Example 18.2. clc format(6) icd=(24/500)*10^3 // in mA disp(icd,"Average value of load current, Id.c.(mA) = Vdc / RL =") im=%pi*48 // in mA disp(im,"Maximum value of load current, Im(mA) = pi * Idc =") disp("Therefore, maximum ac voltage required at the input,") vm=550*150.8*10^-3 // in V disp(vm," Vm(V) = Im * (rf+RL) =")
49b9002aac2c105bd9b2391fd1928c979f17b31f
efba0810ec7227f4fe228c95563e792b0b9eee9c
/macros/Plotly_getpath.sci
cec29e4607f32ccb8d4566aa19157ef72390f4bc
[]
no_license
mstroehle/Plotly
99d626c68ddb65f388034fa4e24b276d04a7cfec
e360ffcae3639471e72e4ee742878443e9072737
refs/heads/master
2023-03-23T09:13:19.890260
2020-04-21T16:34:29
2020-04-21T16:34:29
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
145
sci
Plotly_getpath.sci
function path = Plotly_getpath() path = get_function_path("Plotly_getpath") path = fullpath(fullfile(fileparts(path), "..")) endfunction
c3797f4be1a62940449273798a176f3d5a0e67fc
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/rssq/rssq8.sce
9c37c1a2bb28bdacc50f17ce38191fb1cbe69fd1
[]
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
302
sce
rssq8.sce
//check o/p when the i/p vector contains char type elements x=['a' 'b' 'c' 'd']; y=rssq(x); disp(y); //output //!--error 246 //Function not defined for given argument type(s), // check arguments or define function %c_abs for overloading. //at line 59 of function rssq called by : //y=rssq(x);
d5e998fe25a56315d05aae22edd8595529afb192
449d555969bfd7befe906877abab098c6e63a0e8
/249/CH9/EX9.4/9_04.sce
ea2565f346c01c0deb9cb0657dfd8f6399f098c2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
357
sce
9_04.sce
clear clc CAo=4;//mol/litre FAo=1000;//mol/min //Drawing locus of max rates on conversion-temp graph //tgen drawing optimum path for this system //integrating graphicaaly,we ger A=0.405;//litre/mol.min t=CAo*A; V=FAo*A; printf("\n Part a") printf("\n The space time needed is %f",t) printf(" min \n The Volume needed is %f",V) printf(" litres")
6dd3c7c332de3e2e2fa8ec1e4f57fd2b4ad11928
449d555969bfd7befe906877abab098c6e63a0e8
/1238/CH1/EX1.12/12.sce
a5563782d0971fd1a4c8780a43440c37606dcf10
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
396
sce
12.sce
//hex to binary,octal and decimal conversion// //example 12// clc //clears the command window// clear //clears// //decimal conversion// x='100' d=hex2dec(x);//hex to decimal conversion// b=dec2bin(d);//decimal to binary conversion// o=dec2oct(d);//decimal to octal conversion// disp(d);//answer in decimal form// disp(b);//answer in binary form// disp(o);//answer in octal form//
4f35be464bb3e9ad8075bdebd8bd52e35eff2bdf
449d555969bfd7befe906877abab098c6e63a0e8
/339/CH3/EX3.4/ex3_4.sce
c2f8db43d1bc18fd22b219be9eecdcdafa23fb2a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
442
sce
ex3_4.sce
Z0=50; //define 50 Ohm characteristic impedance Z=[50 48.5 75+%i*25 10-%i*5]; //define impedances for this example Gamma=(Z-Z0)./(Z+Z0) //compute corresponding reflection coefficients SWR=(1+abs(Gamma))./(1-abs(Gamma)); //find the SWRs a=0:0.01:2*%pi; for n=1:length(Z) plot(abs(Gamma(n))*cos(a),abs(Gamma(n))*sin(a),'b','linewidth',2); plot(real(Gamma(n)), imag(Gamma(n)),'ro'); end; for n=1:length(Z) if n~=1 end; end;
364ce02583cb0a7d9e9a3d7d66a67d2369cf425a
449d555969bfd7befe906877abab098c6e63a0e8
/869/CH7/EX7.8/7_8.sce
ecc5173f305419571525c0a61718765378b364b8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
7_8.sce
clc //initialisation of variables d1= 18 //in d2= 10 //in d3= 4 //in Wpercuin= 0.31 //lb L1= 4 //in L2= 8 //in g= 32.2 //ft/sec^2 //CALCULATIONS m1= %pi*(d1/2)^2*L1*Wpercuin/g I1= m1*(d1/24)^2/2 m2= %pi*(d2/2)^2*L2*Wpercuin/g I2= m2*(d2/24)^2/2 m3= %pi*(d3/2^2)*(L1+L2)*Wpercuin/g I3= m3*(d3/24)^2/2 I= I1+I2-I3 //RESULTS printf ('I= %.2f slug ft^2',I)
d3b8e1f6af4d4b47e304870ec46f12d2152123b9
449d555969bfd7befe906877abab098c6e63a0e8
/3289/CH11/EX11.1/Ex11_1.sce
201a59d293f91af048836e46785761464b97d9fc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
395
sce
Ex11_1.sce
clc E=210*10^9 //Pa d=100 //mm t=50 //mm A=0.005 Iz=0.05*(0.1^3)/12 disp(Iz) Iy=0.1*(0.05^3)/12 disp(Iy) //r=sqrt(Iy/A) r= sqrt(Iy/A) disp(r)//mm L=2.75 //P=W/tand(15)=3.732 Pcr=(%pi^2*E*Iz)/L^2 disp(Pcr,"into W is= ") W=Pcr/3.732 disp(W,"in N is= ") Pcr=(%pi^2*E*Iy)/L^2 disp(Pcr,"into W is= ") W=Pcr/3.732 disp(W,"in N is= ") // Ans varies due to round of error
8fbda1dadfd24078088ae03d422f75d06be0a7ef
449d555969bfd7befe906877abab098c6e63a0e8
/1898/CH4/EX4.10/Ex4_10.sce
43b1fbd35faef517b8bec9b1aa72c9bece3e60a3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
717
sce
Ex4_10.sce
clear all; clc; disp("Scilab Code Ex 4.10 : ") //Given: T1 = 30; //degree celcius T2 = 60;//degress celcius l_ab = 1;//m area = 10*10*10^-6; //m^2 alpha = 12*10^-6;// per degree celcius E = 200*10^6; //kPa //Equilibrium: //F_a = F_b = F del_T = T2-T1; F = alpha*del_T*area*E; //Thermal Stress Formula avg_normal_comp_stress = (F*10^-3)/area; // sigma = F/A //Display: printf("\n\nThe force at A and B = %1.1f kN",F); printf('\nThe average normal compressive stress = %1.1f MPa',avg_normal_comp_stress); //-------------------------------------------------------------------END--------------------------------------------------------------------------------------
94e291391d260824357f635f052d0fbb27d98cf6
449d555969bfd7befe906877abab098c6e63a0e8
/1938/CH2/EX2.5/2_5.sce
d553cd209d7c5ad1b727bca6b53a6a0e2fd54ae1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
414
sce
2_5.sce
clc,clear printf('Example 2.5\n\n') Pole=4 Z=200 //No of armature conductors A=2 //wave connected armature V=250 phi=25*10^-3 //flux per pole in weber I_a =60, I_L =I_a //armature current R_a=0.15, R_se=0.2 //resistances of armature and series field winding E_b= V - I_a*(R_a+R_se) //induced emf N=E_b * 60*A/(phi*Pole*Z) //because E_b = phi*P*N*Z/(60*A) printf('Required speed is %.0f r.p.m',N)
bdc607f36c71475f1c4de6b7d75743a84764476e
449d555969bfd7befe906877abab098c6e63a0e8
/3137/CH12/EX12.6/Ex12_6.sce
c95e718b03400ba788c98e476690765404d60279
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
360
sce
Ex12_6.sce
//Initilization of variables v_o=2 //m/s y_o=120 //m g=9.8 //m/s^2 //Calculations //Solve using ground as datum y=0 //Simplfying the equation a=4.9 b=-2 c=-120 q=sqrt(b^2-4*a*c) x1=(-b+q)/(2*a) //s x2=(-b-q)/(2*a) //s //Result clc printf('The time required is %f s',x1) //As x2 is negative and negative time does not make any physical sense
f515ec25b9c0d4c6faa4f8fade766924f5a07640
449d555969bfd7befe906877abab098c6e63a0e8
/2024/CH8/EX8.16/8_16.sce
efccee032669c2bca41bef605795ad39a387e633
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
713
sce
8_16.sce
clc //Initialization of variables T1=520 //R disp("From air table,") vr1=5192 u1=-6.87 //Btu/lbm pr1=2.504 vrat=6 p1=14.7 R=1.986 M=29 //calculations vr2=vr1/vrat T2=1050 //R u2=86.1 //Btu/lbm pr2=30.35 p2=p1*pr2/pr1 W=u1-u2 k=1.39 p22=p1*vrat^(k) T22=T1*(vrat)^(k-1) W2=R*(T22-T1)/(1-k)/M //results printf("in case 1, Final pressure = %d psia",p2) printf("\n in case 1, final temperature = %d R",T2) printf("\n in case 1, work done = %.2f Btu/lbm",W) printf("\n in case 2, Final pressure = %d psia",p22) printf("\n in case 2, final temperature = %d R",T22) printf("\n in case 2, work done = %.2f Btu/lbm",W2) //The answers are a bit different due to rounding off error in textbook
23b20cc5ceab1d7eff905ac4ebfdcef348565b9d
449d555969bfd7befe906877abab098c6e63a0e8
/1049/CH5/EX5.8/ch5_8.sce
47194b0e97d5c1c393ad7ee6d3955a71f767471b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
261
sce
ch5_8.sce
clear; clc; dv=400*10^-6; //dv=dv_T/dt(V/s) V_s=200; R=20; C=V_s/(R*dv); C_j=.025*10^-12; C_s=C-C_j; printf("C_s=%.3f uF",C_s/10^6); I_T=40; R_s=1/((I_T/V_s)-(1/R)); printf("\nR_s=%.3f ohm",R_s); //value of R_s in book is wrongly calculated
4d08f099d2f21e5b815893a265eedf5831eb3965
eb7eeb04a23a477e06f3c0e3d099889caee468b4
/src/examples/scilab/paramstest1.sce
f4d0044739c6759c567853ee07a6e2a778e19fd4
[]
no_license
mikeg64/iome
55699b7d7b3d5c1b006d9c82efe5136b8c909dfd
cc1c94433133e32776dcf16704ec4ec337b1b4a0
refs/heads/master
2020-03-30T15:57:33.056341
2016-04-13T09:24:27
2016-04-13T09:24:27
151,387,236
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,061
sce
paramstest1.sce
// Constants g = 9.81; u0 = 0; v0 = 0; b = 0; h0 = 5030; consts=struct('g',g,'u0',u0,'v0',v0,'b',b,'h0',h0); //Domain definition // Define the x domain ni = 51; //ni=41; xmax = 100000; dx = xmax/(ni-1); x = [0:dx:xmax]; // Define the y domain nj = 51; //nj=41; ymax = 100000; dy = ymax/(nj-1); y = [0:dy:ymax]; nt=10; step=0; tmax = 200; steeringenabled=0; finishsteering=0; domain=struct('ni',ni,'xmax',xmax,'nj',nj,'ymax',ymax,'nt',nt,'tmax',tmax,'step',step,'steeringenabled',steeringenabled,'finishsteering',finishsteering); sf=10;//source frequency sa=5;//source amplitude sx=20;//source x location sy=30;//source y location source=struct('sf',sf,'sa',sa,'sx',sx,'sy',sy); metadata.directory='out'; metadata.author='MikeG'; metadata.sdate=date(); metadata.platform='felix'; metadata.desc='A simple test of SAAS'; metadata.name='intsaas1'; elist=list(2); //elist(1)='192.168.1.104'; elist(1)='localhost'; elist(2)=8081; elist(3)=0;
375a03be46bdb8de9ab9e51b77bebf06e28d318f
449d555969bfd7befe906877abab098c6e63a0e8
/2489/CH4/EX4.3/4_3.sce
00657639e2259d3b4559d8c2f957b079bbd7eec7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
212
sce
4_3.sce
clc //Intitalisation of variables clear p1= 1.4 //atm v1= 250 //ml t1= 21 //c v2= 300 //ml t2= 49 //c //CALCULATIONS p2= p1*v1*(273+t2)/(v2*(273+t1)) //RESULTS printf ('Final pressure = %.2f atm',p2)
6c963d399ba8f4da9291979393bf1370fe3d318f
449d555969bfd7befe906877abab098c6e63a0e8
/2453/CH8/EX8.13/8_13.sce
1d0c75d83f158356825efa4338b4c16080519c26
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
834
sce
8_13.sce
//To calculate the conductivity, equilibrium hole concentration and position of Fermi level ni = 1.5*10^16; ////intrinsic charge carriers per m^3 e = 1.6*10^-19; mew_e = 0.135; //electron mobility, m^2/Vs mew_h = 0.048; //hole mobility, m^2/Vs sigma = ni*e*(mew_e+mew_h); //conductivity, ohm-1 m-1 printf("conductivity is %f ohm-1 m-1",sigma); Nd = 10^23; //phosphorus atoms per m^3 p = ni^2/Nd; //hole concentration per m^3 printf("hole concentration per m^3 is"); disp(p); sigma_ex = Nd*e*mew_e; //conductivity, ohm-1 m-1 k = 1.38*10^-23; //boltzmann constant T = 300; //temperature, K //EF = (Eg/2)+(3*k*T*log(mew_e/mew_h)/4) X = 3*k*T*log(mew_e/mew_h)/(4*e); //EF = (Eg/2)+X printf("EF = Eg/2 + %5.2f",X); printf("Fermi level will be %5.2f eV above intrinsic level",X);
3b3310953df0d52ab49c26501d1de111035d6bbd
449d555969bfd7befe906877abab098c6e63a0e8
/137/CH11/EX11.7/11_7.sce
7bb87ed3378b5cb14da8d1cc10abfba46b248a65
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
202
sce
11_7.sce
//page 506 //example 11.7 clc; P1=input("enter prob of symbol 1"); P2=input("enter prob of symbol -1"); ak=(1)*P1+(-1)*P2; disp(ak,"mean is"); Ro=(1^2)*P1+((-1)^2)*P2; disp(Ro,"mean square is");
3c47a2a93f319cb436a7b0278821c3ed7b96948b
449d555969bfd7befe906877abab098c6e63a0e8
/884/CH18/EX18.4/Example18_4.sce
62672d5f8c1d5218b7d5b8ae2f5ec6759adc8de7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Example18_4.sce
//free energy changes in the system clear; clc; printf("\t Example 18.4\n"); //(a) GCO2=-394.4;//free energy of formation of CO2, kJ/mol GH2O=-237.2;//free energy of formation of H2O, kJ/mol GCH4=-50.8;//free energy of formation of CH4, kJ/mol GO2=0;//free energy of formation of O2, kJ/mol deltaGrxn=(GCO2+GH2O*2)-(GCH4+2*GO2);//standard free energy change of the reaction, kJ/mol printf("\t (a) the standard free energy change of reaction is : %4.1f kJ/mol\n",deltaGrxn); //(b) GMg=0;//free energy of formation of Mg, kJ/mol GMgO=-569.6;//free energy of formation of MgO, kJ/mol GO2=0;//free energy of formation of O2, kJ/mol deltaGrxn=(GO2+GMg*2)-(2*GMgO);//standard free energy change of the reaction, kJ/mol printf("\t (b) the standard free energy change of reaction is : %4.0f kJ/mol\n",deltaGrxn); //End
020509f1b658f79331529139b3f96d12cd0cc91f
f5f41d427e165a46b51c8b06f6c2010b4213033a
/Scilab/pbLoad_callback.sci
1a9bc3c876d2b466ab2c06c24c576c2b263e974a
[]
no_license
rissuuuu/IT_LAB
a40f6ea5311f5d8012364cfa3d3ad37d83be3afd
8d0f44a2b8b20ed1101c34a5cb263e6229c200cc
refs/heads/master
2021-01-03T05:06:49.877644
2020-02-12T07:42:44
2020-02-12T07:42:44
239,934,733
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,482
sci
pbLoad_callback.sci
f=figure('figure_position',[400,50],'figure_size',[640,480],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','visible','off'); ////////// handles.dummy = 0; handles.pbLoad=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.7868590,0.8045455,0.1858974,0.0909091],'Relief','default','SliderStep',[0.01,0.1],'String','Load Image','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','pbLoad','Callback','pbLoad_callback(handles)') handles.pbGray=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.7868590,0.6598485,0.1858974,0.0909091],'Relief','default','SliderStep',[0.01,0.1],'String','Gray Image','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','pbGray','Callback','pbGray_callback(handles)') handles.pbBinary=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.7868590,0.5151515,0.1858974,0.0909091],'Relief','default','SliderStep',[0.01,0.1],'String','Binary','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','pbBinary','Callback','pbBinary_callback(handles)') handles.pbThresh=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.7868590,0.3704545,0.1858974,0.0909091],'Relief','default','SliderStep',[0.01,0.1],'String','Threshold','Style','slider','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','pbThresh','Callback','pbThresh_callback(handles)') handles.Axes1= newaxes();handles.Axes1.margins = [ 0 0 0 0];handles.Axes1.axes_bounds = [0.0352564,0.0590909,0.7163462,0.8431818];handles.Axes1.auto_clear = 'on'; f.visible = "on"; ////////// // Callbacks are defined as below. Please do not delete the comments as it will be used in coming version ////////// function pbLoad_callback(handles) //Write your callback for pbLoad here fn = uigetfile('*'); S = imread(fn); imshow(S); // Save image to pass to another function handles.S = S; handles = resume(handles); endfunction function pbGray_callback(handles) //Write your callback for pbGray here S2 = rgb2gray(handles.S); imshow(S2); // Save image to pass to another function handles.S2 = S2; handles = resume(handles); endfunction function pbBinary_callback(handles) //Write your callback for pbBinary here val = handles.pbThresh.value; S3 = im2bw(handles.S2,val); imshow(S3); endfunction function pbThresh_callback(handles) //Write your callback for pbThresh here pbBinary_callback(handles); endfunction
cb317e63a05f26f23bd6cc18fd2be89ae8e6a5c9
089894a36ef33cb3d0f697541716c9b6cd8dcc43
/NLP_Project/test/blog/bow/bow.14_9.tst
7030062d8338f9560edeffe67e85b83b338e9daa
[]
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,913
tst
bow.14_9.tst
14 314:1.0 14 1:0.03278688524590164 17:0.16666666666666666 19:0.2 36:0.2 40:1.0 55:1.0 60:0.08333333333333333 62:1.0 117:0.5 122:1.0 209:0.5 252:1.0 258:0.25 259:2.0 317:0.5 343:0.125 735:1.0 964:1.0 1011:1.0 1315:1.0 1364:1.0 1463:1.0 14 1:0.01639344262295082 4:0.3333333333333333 62:0.5 93:0.06666666666666667 165:1.0 207:1.0 209:0.5 253:1.0 259:1.0 472:1.0 734:1.0 797:1.0 1118:1.0 1450:1.0 14 4:0.3333333333333333 17:0.3333333333333333 50:1.0 51:1.0 60:0.16666666666666666 76:0.125 114:1.0 118:1.0 122:1.0 209:0.5 231:1.0 259:1.0 317:0.5 479:1.0 1099:1.0 1100:1.0 1114:1.0 1143:1.0 1196:1.0 1364:1.0 1450:1.0 1463:1.0 1479:1.0 14 228:1.0 913:0.3333333333333333 14 1:0.04918032786885246 4:1.6666666666666667 17:0.3333333333333333 36:0.6 40:1.0 60:0.08333333333333333 62:1.0 69:0.3333333333333333 76:0.25 93:0.06666666666666667 95:0.5 104:1.0 114:1.0 126:2.0 148:4.0 170:1.0 171:1.0 202:1.0 209:1.0 220:1.0 231:1.0 268:2.0 298:1.0 315:1.0 368:1.0 395:1.0 407:1.0 482:1.0 488:0.5 521:0.5 536:1.0 612:1.0 717:1.0 788:1.0 913:0.3333333333333333 1067:1.0 1244:1.0 1249:1.0 1403:1.0 1581:1.0 1611:1.0 14 1:0.01639344262295082 55:1.0 62:0.5 96:0.5 158:0.5 298:1.0 506:1.0 1483:1.0 14 1:0.01639344262295082 11:0.25 17:0.16666666666666666 30:1.0 36:0.2 40:3.0 57:1.0 62:0.5 76:0.25 93:0.13333333333333333 96:0.5 126:2.0 209:0.5 228:1.0 231:1.0 252:3.0 259:2.0 267:0.5 317:0.5 372:0.5 382:1.0 408:2.0 479:2.0 568:0.3333333333333333 624:1.0 978:1.0 1051:1.0 1195:1.0 1207:1.0 1364:1.0 1502:1.0 1557:1.0 1665:1.0 14 57:0.5 93:0.06666666666666667 96:0.5 164:1.0 272:1.0 647:1.0 14 1482:1.0 14 60:0.16666666666666666 114:1.0 198:0.1111111111111111 209:0.5 228:1.0 259:1.0 1232:1.0 14 1:0.03278688524590164 17:0.16666666666666666 60:0.08333333333333333 76:0.125 114:1.0 171:1.0 273:1.0 1143:1.0 1166:1.0 14 1:0.01639344262295082 4:1.0 11:0.25 17:0.5 69:0.3333333333333333 76:0.25 93:0.13333333333333333 114:1.0 735:1.0 837:1.0 887:1.0 955:1.0 1011:1.0 1274:1.0 1324:1.0 1472:1.0 1515:1.0 14 1:0.01639344262295082 4:0.3333333333333333 76:0.125 78:0.5 243:1.0 259:1.0 509:1.0 1093:1.0 1156:1.0 1579:1.0 14 4:0.3333333333333333 30:1.0 40:1.0 96:0.5 114:1.0 1244:1.0 1600:1.0 14 1:0.01639344262295082 4:1.0 17:0.16666666666666666 19:0.2 30:1.0 36:0.2 40:2.0 50:1.0 51:1.0 60:0.16666666666666666 76:0.375 93:0.13333333333333333 115:1.0 126:1.0 158:0.5 220:1.0 241:1.0 243:1.0 253:1.0 470:1.0 480:1.0 735:1.0 869:1.0 887:1.0 990:1.0 994:1.0 1102:1.0 1268:2.0 1315:1.0 14 1:0.01639344262295082 15:1.0 17:0.5 36:0.2 40:3.0 76:0.125 93:0.13333333333333333 96:0.5 97:1.0 339:1.0 416:1.0 479:2.0 585:1.0 1102:1.0 1207:1.0 1209:2.0 1479:1.0 1549:1.0 1666:1.0 14 15:1.0 62:0.5 92:0.3333333333333333 93:0.26666666666666666 111:1.0 114:1.0 126:1.0 178:1.0 252:1.0 253:1.0 267:1.0 272:1.0 274:1.0 294:1.0 1073:1.0 1131:1.0 1151:1.0 1211:0.5 1247:1.0 14 4:0.6666666666666666 17:0.16666666666666666 70:0.3333333333333333 93:0.06666666666666667 208:0.3333333333333333 227:0.3333333333333333 253:1.0 267:1.5 582:1.0 603:1.0 955:1.0 1102:1.0 1179:0.5 1267:1.0 1432:1.0 1433:1.0 14 17:0.16666666666666666 92:0.3333333333333333 93:0.06666666666666667 114:1.0 178:1.0 252:2.0 914:2.0 990:1.0 1151:1.0 1570:1.0 14 1:0.09836065573770492 4:1.3333333333333333 5:1.0 17:0.5 36:0.6 38:0.5 44:0.2 56:1.0 60:0.08333333333333333 69:0.6666666666666666 76:0.25 93:0.2 95:0.25 99:1.0 135:0.5 221:0.2 258:0.25 259:1.0 267:0.5 273:2.0 312:0.5 396:1.0 400:0.16666666666666666 648:1.0 766:1.0 944:1.0 962:1.0 964:1.0 1011:1.0 1072:1.0 1073:1.0 1348:1.0 1387:1.0 1431:1.0 1463:1.0 14 4:0.6666666666666666 51:1.0 60:0.16666666666666666 69:0.3333333333333333 93:0.06666666666666667 204:1.0 485:1.0 618:1.0 990:1.0 1088:1.0 1244:1.0 14 1:0.01639344262295082 4:0.3333333333333333 15:1.0 36:0.2 53:0.2 60:0.08333333333333333 148:1.0 238:1.0 416:1.0 686:1.0 730:1.0 1010:1.0 14 11:0.25 57:0.5 122:1.0 209:0.5 1536:1.0 14 1:0.03278688524590164 36:0.2 62:0.5 69:0.3333333333333333 122:1.0 158:0.5 209:0.5 273:1.0 353:0.5 479:1.0 731:1.0 956:1.0 1232:1.0 14 1:0.06557377049180328 4:0.3333333333333333 10:0.125 36:0.2 53:0.2 55:1.0 62:0.5 76:0.125 114:1.0 126:1.0 135:0.5 148:1.0 165:1.0 241:1.0 259:1.0 372:0.5 420:1.0 472:1.0 620:1.0 1179:0.5 14 1:0.03278688524590164 62:1.0 93:0.06666666666666667 114:1.0 158:0.5 228:1.0 273:1.0 14 1:0.01639344262295082 4:0.3333333333333333 15:1.0 17:0.16666666666666666 38:0.5 60:0.08333333333333333 85:1.0 209:1.0 298:1.0 317:0.5 482:1.0 1011:1.0 1270:1.0 14 1:0.03278688524590164 4:0.6666666666666666 50:1.0 51:1.0 60:0.16666666666666666 76:0.125 91:1.0 114:1.0 158:1.0 210:1.0 259:1.0 408:1.0 618:1.0 620:1.0 1075:1.0 1077:1.0 1244:1.0 14 4:0.3333333333333333 252:1.0 338:1.0 587:1.0 1656:1.0 14 1:0.01639344262295082 2:1.0 36:0.2 57:0.5 568:0.3333333333333333 14 2:1.0 11:0.25 17:0.3333333333333333 36:0.4 38:0.5 40:1.0 60:0.16666666666666666 76:0.125 93:0.06666666666666667 96:0.5 178:1.0 243:1.0 339:1.0 356:1.0 616:1.0 825:1.0 1393:1.0 14 1:0.01639344262295082 2:1.0 4:0.3333333333333333 17:0.3333333333333333 36:0.4 60:0.08333333333333333 76:0.25 93:0.06666666666666667 96:0.5 99:1.0 252:1.0 295:1.0 728:1.0 14 2:1.0 4:0.3333333333333333 17:0.16666666666666666 93:0.13333333333333333 14 1:0.01639344262295082 4:0.3333333333333333 158:0.5 348:1.0 14 1:0.03278688524590164 2:1.0 4:0.3333333333333333 10:0.125 17:0.16666666666666666 36:0.2 40:1.0 60:0.08333333333333333 76:0.125 121:1.0 135:0.5 420:1.0 491:1.0 955:1.0 990:1.0 1093:1.0 14 1:0.03278688524590164 36:0.2 40:1.0 76:0.25 93:0.06666666666666667 282:1.0 344:1.0 395:1.0 612:1.0 750:1.0 14 1:0.03278688524590164 2:2.0 10:0.125 17:0.16666666666666666 36:0.2 53:0.2 76:0.125 93:0.13333333333333333 235:0.5 401:1.0 407:1.0 754:0.5 869:1.0 941:0.3333333333333333 944:1.0 14 1:0.01639344262295082 62:0.5 1011:1.0 1165:1.0 14 1:0.01639344262295082 15:1.0 17:0.3333333333333333 36:0.4 40:1.0 62:1.0 76:0.125 96:0.5 220:1.0 267:0.5 506:1.0 756:1.0 910:1.0 990:1.0 1010:1.0 1070:1.0
c66d9c34a2d89053b950f5d156a3d934f0e54918
449d555969bfd7befe906877abab098c6e63a0e8
/858/CH4/EX4.8/example_8.sce
f0d9f2fd7e3aed4979e5a005ce56aa6d5b994a4d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
714
sce
example_8.sce
clc clear printf("example 4.8 page number 137\n\n") //to find the boundary layer properties disp('part 1') x=0.05 //in m density=1000 //in kg/m3 viscosity=1*10^-3 //in Pa-s u=1 //in m/s Re=(density*u*x)/viscosity; printf("Reynolds Number = %f",Re) thickness=4.65*x*(Re)^-0.5; printf("\nboundary layer thickness = %f m\n",thickness) disp('part 2') Re_x=3.2*10^5; x_cr=(Re_x*viscosity)/(density*u); printf("transition takes place at x = %f m\n",x_cr) disp('part 3') x=0.5 //in m Re=(density*u*x)/viscosity; thickness=0.367*x*(Re)^-0.2; printf("boundary layer thickness= %f m",thickness) t_sublayer=71.5*x*(Re)^-0.9; printf("\nsub layer thickness= %f m",t_sublayer)
a2d82401dcd09bccf06dc788e18c8638686aa21a
ab89c2161afc0845367b8e25f534e4f99bd36759
/LAB1/partice1.sce
cef19a7092b93f91d5558af4e4577688ed1b3ba8
[]
no_license
PhiTruongCE/Digital_Signal_Processing
22446ebfa65765d1dfcd2c420e05c83dc861ec15
bacaf762f31a333a641ac48f6b5cc18f120c65be
refs/heads/main
2023-06-04T03:38:36.140107
2021-06-17T04:04:49
2021-06-17T04:04:49
377,699,926
0
0
null
null
null
null
UTF-8
Scilab
false
false
92
sce
partice1.sce
l=5; n=-l:l; x=[zeros(1,l),ones(1,1),zeros(1,l)]; plot2d3(n,x); title('Unit impulse');
c71434c986d4ae3f9442ee36b0dbf085b5812171
a5de878687ee2e72db865481785dafbeda373e2a
/trunck/OpenPR-0.0.2/macros/randperm.sci
bd11a8ca8aa428a6a44bdee51fe67fc1ec779b5a
[ "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
167
sci
randperm.sci
//generate a random permutation of the integers from 1 to n function idx = randperm(n) number = rand(1, n); [tmp, idx] = gsort(number); endfunction
ea427a1fb8cc5d8f78e42ef1c1b6e6db4c77ca91
449d555969bfd7befe906877abab098c6e63a0e8
/3760/CH1/EX1.46/Ex1_46.sce
a68bd686ab225fe15a00d16b6a1ed865c001f29d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
554
sce
Ex1_46.sce
clc; r1=9 ; // ratio of reactance to resistance for transformer 1 r2=3 ; // ratio of reactance to resistance for transformer 2 d=atand(r1)-atand(r2); // differene between angles of transformer's leakage impedance // leakage impedance of both transformers are equal z1=z2, threefore currents in both transformers are equal that is i1=i2; I=1/cos((d/2)*(%pi/180)); // ratio of numerical sum of i1 and i2 to phasor sum of i1 and i2 k=cos((d/2)*(%pi/180)); printf('ratio of full load KVA delivered to sum of both transformers KVA ratings is %f',k);
a960d276b5b1dc704ea74abb2f4900ad99f10766
449d555969bfd7befe906877abab098c6e63a0e8
/2780/CH7/EX7.18/Ex7_18.sce
c4607056dfaddc7e4aed23cbf0ca753b9a6807a1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
468
sce
Ex7_18.sce
clc //to calculate minimum uncertainity in the momentum delxmax=5*10^-14 //uncertainity in position in m h=6.626*10^-34 //plank's constant in Js delpmin=h/(2*%pi*delxmax) disp("minimum uncertainity in the momentum of the nucleon is delpmin="+string(delpmin)+"kg m/s") m=1.675*10^-27 //mass in kg Emin=(delpmin^2)/(2*m*1.6*10^-19) disp("minimum kinetic energy of the nucleon is Emin="+string(Emin)+"eV") //the answer is given wrong in the book Emin=0.039 eV
e77cf0ee64cf3b900c8ba7cbbca0f5d7733da161
449d555969bfd7befe906877abab098c6e63a0e8
/2333/CH1/EX1.5/5.sce
660feedab862c19d23758a6c534957095f033feb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
395
sce
5.sce
clc //Given that l = 9 // effective path length in m lambda = 6000 // wavelength in angstrom del_n = 0.4 // fringe shift c = 3e8 // Speed of light in m/s // problem 5 page no 17 printf("\n # Problem 5 # \n") v = c*sqrt(lambda*1e-10*del_n/(2*l)) // Speed of earth wrt ether in m/s printf("Relative velocity of earth and ether is %e m/s", v) // Whereas answre in book is 3.30e+4 m/sec
954531e150e61a9755691efe3a825fcac29754fd
449d555969bfd7befe906877abab098c6e63a0e8
/575/CH9/EX9.5.1/9_5_1.sce
5fcee6b6c6ee593e8a11f83d646e65b20e82ad17
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
593
sce
9_5_1.sce
clc pathname=get_absolute_file_path('9_5_1.sce') filename=pathname+filesep()+'951.sci' exec(filename) printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook") function[Cp]=fun(T) Cp=29.50*10^(-3)+ T*0.8188*10^(-5) - T^2 * 0.2925 *10^(-8) + T^3 * 0.3652 * 10^(-12) endfunction H2=intg(T1,T2,fun) //intg is an inbuilt function which can calculate definite integrals E=nNH3/4 nO2out=nO2in-nNH3*5/4 nNO=nNH3 nH2O=nNH3*6/4 deltaH=E*Hr+(nO2out*H1+nNO*H2+nH2O*H3) Qdot=deltaH printf(" \n Heat Transferred= %f kW",Qdot)