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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0d83a881f7ebfe72ff155d75f0e67ccdc5f7c03f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH5/EX5.3/Ex5_3.sce | 1615192508991963bacc0b6624b3fc458282c707 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | Ex5_3.sce | //Example 5-3, Page No - 162
clear
clc
mf = 2.2
fd = 7.48*10^3
fm = fd/mf
printf('The maximum modulating frequency is %.1f Khz',fm/1000)
|
05130fb29907acaae1f7b348a20f31a0db6aa37c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/norm.man.tst | cd54cc9d1c10228f42053793d23287c729b4f9c3 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | tst | norm.man.tst | clear;lines(0);
A=[1,2,3];
norm(A,1)
norm(A,'inf')
A=[1,2;3,4]
max(svd(A))-norm(A)
A=sparse([1 0 0 33 -1])
norm(A)
|
eff000d58698f026f502898c140c7e011fd3885e | 40384c4066dda9a87b764f8c78f44f4b87a9af5f | /Falsa-Posicao.sci | e9abbbbe7edf8bcb061d6f6397111fa175d835ad | [] | no_license | SergioNoivak/Calculo-Numerico | 97866ab7ead8ee4b8f5dd4aacaea411b6eebd5e5 | 25be9c05a5331bfd053433a09f77a4d9b76c3bb7 | refs/heads/master | 2021-01-02T22:41:21.556896 | 2018-08-19T22:44:55 | 2018-08-19T22:44:55 | 99,368,088 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,343 | sci | Falsa-Posicao.sci | clear;
clc;
//###############################Método da falsa posição#############################################//
function tabela (A)
if A<0 then mprintf (" %1.7f",A);
else mprintf (" %1.7f",A);
end;
endfunction;
deff ('y=f(x)','y=x^2 -3');//Função
FUNC='x^2 -3';//printf da lei de formação da função
xa=1.0;
xb=2.0;
ep=0.01;
Nmax=100;
k=0;
mprintf ("///////////////////Método da Falsa posição///////////////////");
disp("");
xm=(xa*f(xb)-xb*f(xa))/(f(xb)-f(xa));
mprintf (" Para a função: %s\n No intervalo [%.1f , %.1f] e precisão %.7f\n\n", FUNC, xa, xb, ep);
mprintf (" # xa xb xm f(xa) f(xb) f(xm) xa-xb");
disp ("");
mprintf (" 0%i",k);
tabela (xa);
tabela (xb);
tabela (xm);
tabela (f(xa));
tabela (f(xb));
tabela (f(xm));
tabela (xa-xb);
disp ("");
while (abs(f(xm))>ep) &(k<Nmax)
k=k+1;
if f(xa)*f(xm)<0 then xb=xm;
else xa=xm;
end;
xm=(xa*f(xb)-xb*f(xa))/(f(xb)-f(xa));
if k<10 then mprintf (" 0%i",k);
else mprintf (" %i",k);
end;
tabela (xa);
tabela (xb);
tabela (xm);
tabela (f(xa));
tabela (f(xb));
tabela (f(xm));
tabela (xa-xb);
disp ("");
end;
mprintf ("\n///////////////Raiz aproximada: %1.7f \n", xm);
mprintf ("///////////Qtde. de Interações: %i", k);
disp ("");
|
7481e1e1a74cba96b8e5d979467fb4fdd0c5c1e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.40/Ex_1_40.sce | 762399a982cf8ccbc109937713d1f957db3e724f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex_1_40.sce | //Example 1_40
clc;
clear;close;
//Given data:
V=230;//V
R1=2;//ohm
R2=5;//ohm
R3=1;//ohm
R4=6;//ohm
R5=5;//ohm
Isqr_t=30;//A^2-s
R=R1+R2*R3/(R2+R3);//ohm(X grounded)
Ifault=sqrt(2)*V/R;//A
tc=Isqr_t/Ifault^2;//s
disp(tc,"Fault clearing time in seconds");
|
dde137c4afbf38bbfbbb07a3d95db86f2ef8d7d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH2/EX2.1/Ex2_1.sce | c1ae619ac5f871c00284e82343434739c66c8ed0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex2_1.sce | //Example 2_1
clc();
clear;
//To calculate the number of lines in one centimeter of granting surface
lemda=5*10^-5 //units in centimeters
theta=30 //units in degrees
k=2
e=(k*lemda)/sin(theta*%pi/180)
n=e^-1
printf("no of lines per centimeter is %.0f",n)
//in text book the answer is printed wrong as 1000 correct answer is 5000
|
f0e21cb3f255ffd305805708d341b37faf31f81a | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH17/EX17.2/SCB_2.sce | 559a11240f43df669925ff8de8b0f1d5cc3fefc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | SCB_2.sce | // sum 17-2
clc;
clear;
l=60;
d=60;
r=d/2;
ho=0.008;
c=0.04;
S=0.0446;
nj=1260/60;
W=6000;
p=W/(l*d);
u=S*(c/r)^2*p/nj;
u=u*10^9;
// printing data in scilab o/p window
printf("u is %0.3f cP ",u); |
a69aa859fb6f18c99552b98151950eccbe3dd4ad | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0017.tst | c522e38179d072f01a882883d55acd9598b05f87 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 319 | tst | 0017.tst | spLiTtEr eP {}
fIlteR W { }
FILteR I {dFA oR nOt O oR V }
m bRanCh N -> PHs
GrOUPeR YMaOp {AgGrEGATE bitand(vWT.Oo) aS J }
UNgroUper PH { }
GrOuPFIltER h {}
MerGer N { mODUle X { bRAnCHes UvN, Y, GNO } MoDULE dr { BRanChes fUq, TeN } MoDuLe u { BRAnchEs hl } MODUle Zt { BRaNChEs ZLL, M, aB } ExPORT MX } |
cb576500cd63f13d3d7dee78b514d95a3c824aa1 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_e_mvi/~BivLCM-SR-bfi_e_mvi-PLin-VLin.tst | 1961ee50329875285d7137778470730283c23b6d | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_e_mvi-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.522115D+00
2 -0.713989D-02 0.417920D-02
3 -0.115462D-01 0.545138D-03 0.674985D-01
4 0.889935D-03 0.819526D-07 -0.971131D-03 0.543435D-03
5 0.613108D-03 0.156535D-03 0.111718D-02 -0.517909D-04 0.399580D-02
6 0.421401D-03 0.301390D-04 0.803365D-05 0.412425D-04 0.505322D-03
7 0.241123D-03 -0.961346D-04 -0.180635D-03 0.403223D-05 0.110296D-03
8 0.344491D-03 0.211484D-03 -0.616207D-03 0.749196D-05 -0.948180D-04
9 -0.159215D+00 0.264684D-01 0.235287D-01 0.828739D-02 0.932409D-01
10 0.937177D-01 0.146803D-01 0.128002D-01 0.552008D-03 0.178558D+00
11 -0.324191D-01 0.124578D-01 -0.615575D-01 0.397601D-02 0.356363D-01
12 0.224583D-01 -0.167125D-02 -0.665725D-01 0.561646D-02 -0.167192D-02
13 0.504067D-01 -0.249782D-02 0.305469D-02 0.224988D-02 0.754460D-02
14 0.203134D-01 0.274874D-02 0.942297D-03 0.200310D-03 -0.405842D-05
15 -0.728755D+00 -0.651575D-01 -0.726520D-01 0.121735D-01 -0.123493D+00
16 -0.525551D-01 -0.371483D-02 -0.373167D-02 0.837982D-03 -0.264368D-02
17 -0.102506D-02 -0.645872D-03 0.967075D-03 -0.174048D-03 -0.968103D-03
18 0.221348D+00 0.810592D-02 -0.326861D-01 0.644492D-02 0.784204D-02
19 -0.445056D-01 0.408078D-03 0.232160D-01 -0.304975D-02 -0.111569D-02
20 -0.148105D+00 0.713075D-02 0.151227D+00 -0.255281D-03 -0.150950D-02
21 0.475059D-01 -0.226160D-04 -0.219334D-01 0.225829D-02 0.397876D-02
22 -0.160928D-02 -0.197152D-03 -0.724048D-03 -0.105971D-03 -0.293950D-03
23 0.100903D-02 -0.662876D-03 0.331174D-02 -0.417074D-03 0.328208D-03
24 -0.127790D-03 -0.593247D-04 -0.118289D-02 -0.229281D-04 -0.420091D-04
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.578540D-02
7 0.630620D-03 0.414393D-03
8 -0.375099D-03 0.560585D-05 0.233463D-02
9 0.168749D-01 0.179500D-01 -0.603584D-02 0.571057D+02
10 0.982076D-02 -0.109378D-02 0.831537D-02 0.283241D+01 0.252592D+02
11 0.337395D-01 0.788010D-02 0.393448D-02 0.500071D+01 0.200904D+01
12 0.814690D-02 0.262083D-02 0.220122D-01 0.215566D+00 0.485845D+00
13 0.523937D-01 0.150985D-01 -0.424544D-02 0.634756D+00 0.650829D+00
14 -0.943593D-02 0.171073D-02 0.248616D-01 0.508829D+00 0.351813D+00
15 0.918693D-01 -0.244301D-02 0.262927D-01 -0.174002D+02 -0.160919D+02
16 -0.230108D-02 0.751760D-03 -0.217229D-02 0.153899D+01 -0.567751D+00
17 -0.865615D-03 -0.142536D-03 -0.912695D-04 -0.210437D+00 -0.273064D-01
18 -0.346954D-01 -0.198383D-01 0.968807D-03 -0.638501D+00 0.237795D+01
19 -0.617843D-02 0.220971D-02 -0.488045D-02 0.156314D-01 -0.604916D+00
20 0.140830D-02 -0.361254D-02 -0.148962D-01 -0.111137D+01 0.346793D+00
21 0.868275D-02 -0.138696D-02 0.522824D-02 0.906974D-03 0.738826D+00
22 -0.434449D-03 -0.581228D-04 0.266145D-04 -0.787566D-02 -0.192325D-01
23 -0.136171D-03 0.315801D-05 -0.401555D-04 -0.283235D-01 -0.138717D-01
24 0.902746D-04 0.178084D-04 -0.859060D-04 0.585763D-02 -0.555227D-02
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.609221D+01
12 0.554810D+00 0.317247D+01
13 -0.391420D-02 -0.112067D-01 0.177203D+01
14 0.155699D+00 0.119989D+00 -0.398724D-01 0.104976D+01
15 -0.275090D+01 0.363543D+00 0.635767D+00 -0.269604D+00 0.622577D+03
16 0.194997D+00 0.635608D-02 -0.625400D-01 -0.511690D-01 0.184965D+01
17 -0.350170D-01 0.708042D-02 -0.574834D-02 0.286910D-02 -0.260262D+01
18 -0.162119D+01 -0.102459D+01 -0.490255D+00 -0.875301D-01 0.220665D+02
19 0.859611D-02 -0.249522D+00 -0.508396D-01 0.258150D-01 -0.157899D+01
20 -0.755218D+00 0.200786D-01 -0.190371D+00 -0.334856D+00 0.881141D+01
21 0.216875D+00 0.256323D+00 0.712090D-01 -0.334453D-01 0.204105D+01
22 -0.118366D-01 0.742925D-02 -0.752300D-02 0.279374D-03 -0.203195D+00
23 -0.422808D-01 -0.132195D-01 -0.118406D-02 0.610110D-02 0.456738D-01
24 0.538575D-02 -0.167557D-02 0.177528D-02 -0.175379D-02 -0.486704D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.873485D+00
17 -0.571109D-01 0.272092D-01
18 -0.202333D+00 -0.131765D+00 0.573528D+02
19 0.508348D-01 0.117170D-01 0.138131D+00 0.989670D+00
20 0.129289D-01 -0.341087D-01 0.471923D+01 -0.186317D+00 0.128813D+02
21 -0.973796D-01 -0.123790D-01 0.481915D+00 -0.898998D+00 0.144091D+00
22 0.170434D-02 0.126240D-02 -0.252850D+00 -0.169403D-02 -0.253218D-01
23 -0.439020D-02 0.109366D-02 0.455536D-01 0.181347D-01 0.109175D+00
24 0.113381D-02 0.130072D-03 -0.385543D-01 0.720774D-03 -0.626782D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.113142D+01
22 -0.102562D-01 0.260026D-02
23 -0.221636D-01 -0.932703D-04 0.209560D-01
24 -0.758839D-03 0.233014D-03 -0.189483D-02 0.663522D-03
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.153 1.000
3 -0.062 0.032 1.000
4 0.053 0.000 -0.160 1.000
5 0.013 0.038 0.068 -0.035 1.000
6 0.008 0.006 0.000 0.023 0.105
7 0.016 -0.073 -0.034 0.008 0.086
8 0.010 0.068 -0.049 0.007 -0.031
9 -0.029 0.054 0.012 0.047 0.195
10 0.026 0.045 0.010 0.005 0.562
11 -0.018 0.078 -0.096 0.069 0.228
12 0.017 -0.015 -0.144 0.135 -0.015
13 0.052 -0.029 0.009 0.073 0.090
14 0.027 0.041 0.004 0.008 0.000
15 -0.040 -0.040 -0.011 0.021 -0.078
16 -0.078 -0.061 -0.015 0.038 -0.045
17 -0.009 -0.061 0.023 -0.045 -0.093
18 0.040 0.017 -0.017 0.037 0.016
19 -0.062 0.006 0.090 -0.132 -0.018
20 -0.057 0.031 0.162 -0.003 -0.007
21 0.062 0.000 -0.079 0.091 0.059
22 -0.044 -0.060 -0.055 -0.089 -0.091
23 0.010 -0.071 0.088 -0.124 0.036
24 -0.007 -0.036 -0.177 -0.038 -0.026
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.407 1.000
8 -0.102 0.006 1.000
9 0.029 0.117 -0.017 1.000
10 0.026 -0.011 0.034 0.075 1.000
11 0.180 0.157 0.033 0.268 0.162
12 0.060 0.072 0.256 0.016 0.054
13 0.517 0.557 -0.066 0.063 0.097
14 -0.121 0.082 0.502 0.066 0.068
15 0.048 -0.005 0.022 -0.092 -0.128
16 -0.032 0.040 -0.048 0.218 -0.121
17 -0.069 -0.042 -0.011 -0.169 -0.033
18 -0.060 -0.129 0.003 -0.011 0.062
19 -0.082 0.109 -0.102 0.002 -0.121
20 0.005 -0.049 -0.086 -0.041 0.019
21 0.107 -0.064 0.102 0.000 0.138
22 -0.112 -0.056 0.011 -0.020 -0.075
23 -0.012 0.001 -0.006 -0.026 -0.019
24 0.046 0.034 -0.069 0.030 -0.043
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 0.126 1.000
13 -0.001 -0.005 1.000
14 0.062 0.066 -0.029 1.000
15 -0.045 0.008 0.019 -0.011 1.000
16 0.085 0.004 -0.050 -0.053 0.079
17 -0.086 0.024 -0.026 0.017 -0.632
18 -0.087 -0.076 -0.049 -0.011 0.117
19 0.004 -0.141 -0.038 0.025 -0.064
20 -0.085 0.003 -0.040 -0.091 0.098
21 0.083 0.135 0.050 -0.031 0.077
22 -0.094 0.082 -0.111 0.005 -0.160
23 -0.118 -0.051 -0.006 0.041 0.013
24 0.085 -0.037 0.052 -0.066 -0.076
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.370 1.000
18 -0.029 -0.105 1.000
19 0.055 0.071 0.018 1.000
20 0.004 -0.058 0.174 -0.052 1.000
21 -0.098 -0.071 0.060 -0.850 0.038
22 0.036 0.150 -0.655 -0.033 -0.138
23 -0.032 0.046 0.042 0.126 0.210
24 0.047 0.031 -0.198 0.028 -0.678
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.189 1.000
23 -0.144 -0.013 1.000
24 -0.028 0.177 -0.508 1.000
|
5f78e3cb0ce30f955343ca55cbaaa6b6b0f0bc1e | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/testcase/abs.tst | eb237f2f6fdb5e4d6f8b759e5a56ade50ad1c01a | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 1,402 | tst | abs.tst | -- VectorCAST 6.4c (02/03/16)
-- Test Case Script
--
-- Environment : LIBC
-- Unit(s) Under Test: abort1 abs atof atoi atol bLib memchr memcmp memcpy memmove memset ns16550 qsort rand random random_r strcat strchr strcmp strcpy strlcat strlcpy strlen strncat strncmp strncpy strpbrk strspn strtod strtok strtok_r strtol strtoul
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS
--
-- Unit: abs
-- Subprogram: abs
-- Test Case: abs1
TEST.UNIT:abs
TEST.SUBPROGRAM:abs
TEST.NEW
TEST.NAME:abs1
TEST.VALUE:abs.abs.j:0
TEST.EXPECTED:abs.abs.return:0
TEST.END
-- Test Case: abs2
TEST.UNIT:abs
TEST.SUBPROGRAM:abs
TEST.NEW
TEST.NAME:abs2
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (j < 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:abs.abs.j:<<MAX>>
TEST.EXPECTED:abs.abs.return:<<MAX>>
TEST.END
-- Test Case: abs3
TEST.UNIT:abs
TEST.SUBPROGRAM:abs
TEST.NEW
TEST.NAME:abs3
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (j < 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:abs.abs.j:<<MIN>>
TEST.EXPECTED:abs.abs.return:<<MIN>>
TEST.END
|
2d3d99020a9efd511004d535f4d805e438ff388f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH2/EX2.7/Ch02Ex7.sce | af0dee29d78fdea2b9fea4e0e6d2abd09eef49d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | Ch02Ex7.sce | // Scilab Code Ex2.7 : Page-69 (2006)
clc; clear;
chi_diff = 1; // Electronegativity difference between the constituent of elements of solid
percent_ion = 100*(1-exp(-(0.25*chi_diff^2))); // Percentage ionic character present in solid given by Pauling
printf("\nThe percentage ionic character present in solid = %2d percent ", percent_ion);
// Result
// The percentage ionic character present in solid = 22 percent
|
7f3ce42bfe8ffb954d9b6b9cb161bbc6a94e2b57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH6/EX6.5/Ex6_5.sce | 82a7755dc7c8376892976aab19b927b07024eb18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | Ex6_5.sce |
clc
//From graph log D ad 1/T are deducted
inv_T1=0.8*10^-3//Reciprocal of temp. in K^-1
inv_T2=1.1*10^-3 //Reciprocal of temp. in K^-1
logD1=-12.4
logD2=-15.45
R=8.31 //Gas law Constant in J/mol-K
printf("Example 6.5\n")
Q_d=-2.3*R*(logD1-logD2)/(inv_T1-inv_T2)
printf("\n Activation energy is %d kJ/mol",Q_d/1000)
D_0=10^(logD2+(Q_d*inv_T2/(2.3*R)))//For calculating Preexponential factor
printf("\n Preexponential factor D_0 is %.1e m^2/s\n",D_0)
// Answer in book is 5.2e-5 m^2/s. It is because of consideration of different number of significant figures
|
c414bb6d7c720c16de275e97087b2025ab9fc3a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH3/EX3.11.a/ex_3_11_a.sce | ba145f7026ff6f33edf9751703426b5bfbcec90b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | ex_3_11_a.sce | //Example 3.11.A // RESISTANCE
clc;
clear;
close;
t=15;//TOTAL CURRENT IN AMPERES
i1=2;//CURRENT THROUGH UNKNOWN RESISTANCE
R1=15;//in ohms
R2=50/2;//in ohms
x=(t-i1)*((R1*R2)/(R1+2*R2));//unknown resistance in ohms)
disp(x,"unknown resistance in ohms")
|
628a59765d099098e6d3fb6aa80ba61721dbaa8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH6/EX6.8/Ex6_8.sce | 41001460174fbb6785d1c313862289992b6f8990 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Ex6_8.sce | //reflected voltage
//given
clc
Vi=50//volts
row=0.25//reflection coefficent
Vr=Vi*row//the reflected voltage
disp(Vr,'the reflected voltage for given reflection coefficent in volts')
|
fa111b97dc1f6589c829389bacc632d654e67acf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH8/EX8.12/8_12.sce | bea441e90eb788019b98b4bbf6ebb5957735146c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | 8_12.sce | //Position of the balls
//refer fig. 8.16
//Let a virtual displacement be given to the system of balls as shown
//Applying virtual work principle
//200*sind(30)*delta(DB)+150*sind(60)*delta(EB)=0
theta=atand((150*sind(60))/(200*sind(30))) //degree
printf("Thus theta=%.2f degree",theta)
|
3c07ec4702ba2dac784a63e256263743a7e81ae7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH10/EX10.3/Ex10_3.sce | 9b44c47994daf491e4ec769b9035142c63407dc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Ex10_3.sce | clc
//to calculate magnetic moment of the rod
//formula is B=muo*(H+I)
//where H=ni
n=500 //number of turns in turns/m
i=0.5 //current passed through the solenoid in A
mur=1200 //relative permeability
I=(mur-1)*n*i //intensity of magnetisation in A/m
V=10^-3 //volume in m^3
M=I*V
disp("the magnetic moment of the rod is M="+string(M)+"A-m^2")
|
362f2ef6a5fa8fe9e8a53db0cf5520cb07558d95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH10/EX10.3.2/Example_10_3_2.sce | fd50a543536873cc37220ca17a2d2498e5e9ceae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | Example_10_3_2.sce | //Example 10.3.2 Page 358
//Non-Linear Dynamics and Chaos, First Indian Edition Print 2007
//Steven H. Strogatz
clear;
clear;
clc;
close;
set(gca(),"auto_clear","off") //hold on
//Taking r=3.5 such that r>3 as given in book.;
r=3.5;
for x=0:0.01:1
f2x=(((r^2)*x)-(r*x)^2)*(1-r*x+r*(x^2)); //f2x=second-iterate map.
plot2d(x,f2x,style=-2)
y=x; //to plot y=x line.
plot2d(x,y,style=-4)
end
xtitle("Second Iterate Map","x-Axis ( x )","y-Axis ( f ^ 2 (x) )") |
e5066ded1d469acfed7a33f25d26490d8b5ff681 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH15/EX15.11/15_11.sce | 0b0f805444e9f2da0e4cf63fd1a26a6a453826da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | 15_11.sce | clc;
// page no 545
// prob no 15.11
// An automobile travels at 60km/hr
v=60*10^3/(60*60);//conversion of car's speedto m/s
c=3*10^8;//speed of light
//part a) calculation of time between fades if car uses a cell phone at 800*10^6Hz
f=800*10^6;
T=c/(2*f*v);
disp('sec',T,'The fading period is');
//part b) calculation of time between fades if car uses a PCS phone at 1900*10^6Hz
f=1900*10^6;
T=c/(2*f*v);
disp('sec',T,'The fading period is');
// Note that the rapidity of the fading increases with both the frequency of the transmissions and the speed of the vehicle |
7b6f35381e5c598e5972dde886aef38f7e83cae6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.42/Chapter6_Example42.sce | 5117e50f4bb8cfe74b89b712927ab479be67d991 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | Chapter6_Example42.sce | clc
clear
//Input data
l=540;//Latent heat of vapourisation of steam in cal/g
L=l*4.2*10^7;//Latent heat of vapourisation of steam in ergs/g
V=1676;//The change in specific volume when 1 g of water is converted into steam in cc
t1=100;//The actual boiling temperature of water in degree centigrade
t2=150;//The given temperature at which water must boil in degree centigrade
p=1;//The atmospheric pressure in atmospheres
//Calculations
T1=t1+273;//The actual boiling temperature of water in K
T2=t2+273;//The given temperature at which water must boil in K
T=T2-T1;//The change in temperature in K
P=(L*T)/(T1*V);//The pressure in dynes/cm^2
P1=P/10^6;//The pressure in atmospheres
P2=P1+p;//The pressure at which water would boil at 150 degree centigrade in atmospheres
//Output
printf('The pressure at which water would boil at 150 degree centigrade is %3.3f atmospheres ',P2)
|
b0e6503bb87243ff5494770ec63d82d9d628a69c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH12/EX12.4/Ex12_4.sce | e05f851117e57bdf79f07863ff6ecccfa6c1a64e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex12_4.sce | clc
//to calculate separation between those equipotential surfaces
V=5 //potential difference
epsilon0=8.85*10^-12 //permittivity of free space
sigma=1*10^-7 //in c/m^2
//electric field due to an infinite sheet of surface charge density is given by E=sigma/(2*epsilon0) eq(1)
//E=V/d eq(2)
//from eq(1) and eq(2),we get
d=(2*epsilon0*V)/sigma
disp("separation between those equipotential surfaces is d="+string(d)+"m")
|
4d327da65b67ab3aa56224255947f1d29457968a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH6/EX6.4/Example_6_4.sce | 5714826a0352cd4655c25131bf16c76f3320e1ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | Example_6_4.sce | //Scilab Code for Example 6.4 of Signals and systems by
//P.Ramakrishna Rao
//Sampling Frequency
clc;
clear;
//x(t)=100*(sinc(100*t))^2;
fo=100;
fs=2*fo;
disp(fs,'Minimum Sampling Frequency to avoid distortion is:');
|
8d8410361b3c4a1c5c33946fbcd2d86deb40e62c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH7/EX7.3/Ex7_3.sce | e70daabe94c5316fca13bffa920fb102c73fc8bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex7_3.sce | clc;
clear;
P=10^-3 //power in watt
r=6*10^-3 //distance from the source in m
c=3*10^8 // velocity of light in m/s
myu_0=4*10^-7 //refractive index
n=1
//calculation
I=P/(%pi*(r^2)) //intensity in W/m^2
E=sqrt((2*c*myu_0*I)/n)
mprintf("The electric field at a point = %1.1e volt/m",E)
//The answer given in the textbook is wrong.
|
93ab3b86beeaa160bf4723f7d358f83d08f973e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH12/EX12.6/EX12_6.sce | bd459ff94525ad9ecee77f654453b1d7fe6cf061 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,407 | sce | EX12_6.sce | // Example 12.6
// Determine (a) The increment increase in load on each machine if an
// additional 400 A load is connected to the bus (b) Current carried
// by each machine
// Page No. 502
clc;
clear;
close;
// Given data
p1=100000; // Rated power in generator A
p2=300000; // Rated power in generator B
v=250; // Rated voltage in machine
p3=30000; // Rated power in generator C
Ibnew=400; // New bus current
I1=200;
I2=500;
// (a) The increment increase in load on each machine if an additional 400 A
// load is connected to the bus
IArated=p1/v; // Rated current in generator A
IBrated=p2/v; // Rated current in generator B
Ib=p3/v; // Original bus current
DelVbus=Ibnew/(40+120); // Change in bus current
DelIA=40*DelVbus;
DelIB=120*DelVbus;
// (b) Current carried by each machine
IA=I1+DelIA; // Current in generator A
IB=I2+DelIB; // Current in generator B
// Display result on command window
printf("\n The increment increase in load on machine A = %0.0f A ",DelIA);
printf("\n The increment increase in load on machine B = %0.0f A ",DelIB);
printf("\n Current carried by machine A = %0.0f A ",IA);
printf("\n Current carried by machine B = %0.0f A ",IB);
|
8bd57581aa0a881434069557f4fca13b8626c6be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH15/EX15.18/15_18.sce | 8290bfa986048b0c0652a8978124fa504ab25c6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | 15_18.sce | //Example 15.18
//Runge Kutta Merson Method
//Page no. 532
clc;clear;close;
deff('y=f(x,y)','y=x+y')
y=1;x=0;h=0.1;
printf('n\t Xn\t Yn\t K1\t K2\t K3\t K4\t K5\tY(n+1)\n----------------------------------------------------------------------')
for i=0:14
K1=h*f(x,y);
K2=h*f(x+h/3,y+K1/3);
K3=h*f(x+h/3,y+(K1+K2)/6);
K4=h*f(x+h/2,y+(K1+3*K3)/8);
K5=h*f(x+h,y+(K1-3*K3+4*K4)/2)
y1=y+(K1+4*K4+K5)/6
printf('\n %i\t%.3f\t%.3f\t%.3f\t%.3f\t%.3f\t%.3f\t%.3f\t%.3f',i,x,y,K1,K2,K3,K4,K5,y1)
y=y1;
x=x+h;
end |
abae632653447b7fe5b889682af264a98b01b9b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH7/EX7.3/Ex7_3.sce | fcd9ece902cab75dce20600a2e8361003117a90e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sce | Ex7_3.sce | clc;
//pg n0 120
IZ=10*10**-3;
vz=0.05;
rz=vz/IZ;
disp('ohm',rz*1,"rz=");
|
ad9b538848dddce6c76ad3ba90d1b381ba817d83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH7/EX7.8/Example_7_8.sce | d9abda9272ca95856a6a42f1243878d491cac163 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | Example_7_8.sce | // Example 7.8 Construct Fisher's ideal index number
clc;
clear;
Po=[8 10 7];
Pn=[12 11 8];
Qo=[6 5 8];
Qn= [5 6 5];
PPI=(sum(Pn.*Qn)/sum(Po.*Qn)*100);
LI=(sum(Pn.*Qo)/sum(Po.*Qo)*100);
disp(PPI,"Praasches Price Index",LI,"Laspeyres index = ");
|
3abec3eb524eff9ee2f13d746005841c87724d03 | 8a13c34cfdbdcbc5b8122af70a216bb1079ba147 | /config/packages/tests/broadlink_climate.yaml.tst | 369ba316cb1e45d0a3c9ef5ef2bbe4d3f2d2d6f8 | [] | no_license | maattdiy/home-assistant-config | 71edeebaacbce846fd92509440c63c8281897f24 | 033d71fe96504e0ad1db8ff3cd22ef60ea39f0c3 | refs/heads/master | 2022-02-05T12:07:20.861234 | 2022-01-23T19:10:33 | 2022-01-23T19:10:33 | 109,337,011 | 127 | 20 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | tst | broadlink_climate.yaml.tst | ## Broadlink Climate HASS Module
## Original forum thread: https://github.com/vpnmaster/homeassistant-custom-components
## Official repo: https://community.home-assistant.io/t/broadlink-ir-climate-component/27406
##################################################
## Component
##################################################
climate:
- platform: broadlink
name: AC
host: !secret ip_broadlink
mac: !secret mac_broadlink
timeout: 60
ircodes_ini: 'resources/broadlink_climate_codes/midea.ini'
min_temp: 18
max_temp: 30
target_temp: 20
#temp_sensor: sensor.living_room_temperature
default_operation: idle
default_fan_mode: mid
customize:
operations:
- idle
- cool
- heat
fan_modes:
- low
- mid
- high
- auto
##################################################
## Scripts
##################################################
#script:
|
a5da30d3bf1be400a02081d3482a6482a1516485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH13/EX13.10/EX13_10.sce | bcd9f0be079b0923f1537aa6c3cfb3c7722a9d4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX13_10.sce | //Example13.10 // Determine the frequency of the monostable multivibrator
clc;
clear;
close;
R1 = 5*10^3 ;
R2 =15*10^3 ;
C = 0.01*10^-6 ;
R = 12*10^3 ;
// the output of monostable multivibrator is defined as
f = 1/(R*C*(log(1+(R2/R1))));
disp('the output of monostable multivibrator is = ' +string(f)+ ' Hz');
|
1f0a1b6b037dc04c980bee3bbe5ef8e7d7d6b3e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH3/EX3.7/Example3_7.sce | 66662638901e5fb6383f07d42c83539649b20c54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | Example3_7.sce | exec("degree_rad.sci",-1)
exec("cross_product.sci",-1)
//Given that
a = [18 * cos(dtor(250)), 18 * sin(dtor(250)),0]
b = [0,0,12]
//Sample Problem 3-7
printf("**Sample Problem 3-7**\n")
cross_ab = crossproduct(a,b)
angle_x = acos(cross_ab(1)/norm(cross_ab))
printf("The magnitude of cross product of given vectors is %f \n and angle with the x axis in degrees is %f", norm(cross_ab),rtod(angle_x)) |
93e53856839391db00f61da6c0b9d8935a770f8f | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_gui_getsenslistbox.sci | 6231b2e6dce0733014f9a2f3900970bb82d7d95f | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sci | kiks_gui_getsenslistbox.sci | function [] = kiks_gui_getsenslistbox()
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
global("KIKS_GUI_HDL","KIKS_SENS_LIST","KIKS_PROX_ACCURACY");
// !! L.9: Matlab function findobj not yet converted, original calling sequence used
// L.9: Name conflict: function name changed from findobj to %findobj
h = %findobj(KIKS_GUI_HDL,"Tag","proxsens_popup");
// !! L.10: Matlab function get not yet converted, original calling sequence used
// L.10: Name conflict: function name changed from get to %get
nr = %get(h,"Value");
KIKS_PROX_ACCURACY = mtlb_e(KIKS_SENS_LIST,nr);
endfunction
|
88a441787e79974bcca5b0cb8daa0aed538b127a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH1/EX1.12/Ch01Ex12.sce | 592af15c5b50c668a08b608e2dfd42368914e487 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Ch01Ex12.sce | // Scilab code Ex1.12: Pg:37 (2008)
clc;clear;
Lambda = 1e-010; // Wavelength of X-rays, cm
c = 3e+08; // Velocity of light, m/s
m = 9.13e-031; // Mass of an electron, kg
h = 6.62e-034; // Planck's constant, joule-sec
e = 1.6e-019; // Charge of electron, coulomb
f = c/Lambda; // Frequency of X-rays, cycles/sec
E = h*f; // Energy of X-ray photon, joule
// Since energy of X-ray photon is converted into energy of electrons thus
// h*f = (1/2)*m*v^2, solving for v
v = sqrt(2*h*f/m); // Velocity of the electron, m/s
printf("\nThe energy of an electron beam = %5.0f eV", E/e);
printf("\nThe velocity of an X-ray beam = %5.3e m/s", v);
// Result
// The energy of an electron beam = 12413 eV
// The velocity of an X-ray beam = 6.596e+007 m/s |
e2419b71f68f9ec4c6171c4901e06c1d8559ef5e | 3ca7d40067d619bd7859f89de1882e22ef3a9fda | /testcases/public/test023.txt | 1f06aa010c2839d80d41b6797a2ad98ebaa1661f | [] | no_license | caojoshua/CS241-Advanced-Compiler-Construction-Project | 2b76c042ea6505c4a565ae5299efb5d983e0b4f3 | 1b25c9dd283b77555ccc3951924ac2882c1d92c2 | refs/heads/master | 2020-12-15T02:54:38.405198 | 2020-03-25T20:52:37 | 2020-03-25T20:52:56 | 234,971,962 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | txt | test023.txt | # Nested if/while testcase
# Based on discussions with Alex, Marcelo, and Babak
main
var a, b, c, d, e;
{
let a <- 1;
let b <- 2;
let c <- 3;
let d <- 4;
let e <- 5;
while ( c + 4 ) < d do
if ( a + 5 - b ) > ( b * 6 ) then
let a <- a / c * d;
let d <- d - 1
else
let d <- a + b
fi
od;
let e <- c - a + b;
let a <- a + b
}
. |
a8af5869e8b9372e62819df29125a51170ec6ec5 | 694ad1c574305de3b85702522d231dea9660e94c | /test/table.tst | 1286edca7abea00e8fc85bbdfd04bb0c6e17b66c | [] | no_license | Mark-Seaman/SeamanTech | ced41e87b2b6fe2ffdc1172c2bd1b2e207536dfd | f2635eb82c26990305ff338c1a9dcbbf4618a3ed | refs/heads/master | 2021-01-13T02:03:24.626053 | 2015-12-07T16:20:34 | 2015-12-07T16:20:34 | 23,025,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31 | tst | table.tst | tpyrun $p/bin/util/table_test
|
eba322ee8d80597da2653f77e41aa8dd78138bcf | 08fe4df45181e37cb84ba1610cdfb219b4142434 | /macros/GenSciHelpXML_action.sci | dc93805f2213f7aa4677209539abdde658268144 | [] | no_license | gzq763199198/AutoGenHelpToolBox | 17c7db64547e0e196806464f47b788d6ae33bf2e | c85275e8a7a1cd2ab3e19db5b283e9d1e9502843 | refs/heads/master | 2021-02-17T04:02:18.470172 | 2020-03-05T04:35:44 | 2020-03-05T04:35:44 | 245,069,411 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sci | GenSciHelpXML_action.sci | function GenSciHelpXML_action()
handle = findobj("Tag","AutoGenHelpFile");
close(handle);
//Preogress Gen Sci Help XML File
AutoGenSciHelpSet();
endfunction
|
902b7f2771441a7b1d788b398078a31a656c4b50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.9/ex8_9.sce | 8073996048a1b0af047799afb18f8940bdf54db5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | ex8_9.sce | //Page Number: 8.11;
//Example 8.9
clc;
//(a)Noise Figure
//Given
//Loss Fcator
IL=1.5; //dB
IL1=(10^(IL/10));
//Noise figure
F1=1.41;
G1=1/F1;
G2=10;
GG2=(10*log10(G2)); //dB
G3=100;
GG3=(10*log10(G3)); //dB
F2=2; //dB
F3=2; //dB
FF2=(10^(F2/10));
FF3=(10^(F3/10));
F=(F1+((FF2-1)/G1)+((FF3-1)/(G1*GG2)));
FF=(10*log10(F));
disp('dB',FF,'Noise figure of cascade');
//(b) SNR at output
//Given
Pin=-90; //dBm
Pout=Pin-IL+GG2+GG3; //dBm
//Pn=Gcas*K*Te*B (cascade)
K=1.38D-23;
To=290; //Kelvin
B=1D+8;
Gcas=GG2+GG3-IL;
Gcas1=(10^(Gcas/10));
Pn=K*To*(F-1)*B*Gcas1; //W
Pn1=(10*(log10(Pn/1D-3)));
disp('dBm',Pn1,'Noise power output:');
SNR=Pout-Pn1;
disp('dB',SNR,'Signal to Noise ratio:');
//(c)Best Noise Figure
//G1 after G2 after IL
Fcas=(FF2+((FF3-1)/G3)+((IL1-1)/(G3*G2)));
Fcas1=(10*(log10(Fcas)));
disp('dB',Fcas1,'Noise figure will be:');
|
aedabf3bd4bb3a420daf18fbb6493fcd299a9294 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.1/Ex19_1.sce | 0b8f6ad78da1c9b4ee09b8ce7de8f95627bbac62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | Ex19_1.sce | //Ex19_1 Pg-957
clc
bin='101'; //binary input
dec=bin2dec(bin) //decimal output
disp("The decimal equivqlent of 101 is")
disp(dec)
|
bb69cb0a3d09f092eb0326f38a5af1a6fb31b8c7 | 9b60b7963181dd94c8d10cdb75a83bc010957e71 | /taf_monitor_code/taf_monitor/tests/acceptance/07-civil_cloud_height_thresholds_helicopter.tst | 46a0b786a532f5ea549a234e291458c1af9e87c6 | [] | no_license | alanyon/python | 577773100eac269750925c1f924edc51060ca865 | cbfe0f34fe61ed0495572fa05ea6bf4293ef15bb | refs/heads/master | 2023-07-13T17:27:59.555648 | 2021-08-09T15:59:08 | 2021-08-09T15:59:08 | 393,341,633 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,832 | tst | 07-civil_cloud_height_thresholds_helicopter.tst | {
"EGNJ 150800Z 1509/1518 18005KT 9999 BKN040 TEMPO 1511/1512 BKN010 TEMPO 1512/1513 BKN008 TEMPO 1513/1514 BKN005 TEMPO 1514/1515 BKN003 TEMPO 1515/1516 BKN001": {
"TAF base conditions cover METAR - cloud BKN050": {
"metar": "EGNJ 150850Z 18005KT 9999 BKN050",
"test time": "20200615T0900Z",
"expected": ""
},
"TAF base conditions do not cover METAR - cloud BKN010": {
"metar": "EGNJ 150950Z 18005KT 9999 BKN010",
"test time": "20200615T1000Z",
"expected": "EGNJ TAF bust by cloud"
},
"TAF base conditions cover METAR - cloud BKN010": {
"metar": "EGNJ 151050Z 18005KT 9999 BKN010",
"test time": "20200615T1100Z",
"expected": ""
},
"TAF base conditions do not cover METAR - cloud BKN008": {
"metar": "EGNJ 151050Z 18005KT 9999 BKN008",
"test time": "20200615T1100Z",
"expected": "EGNJ TAF bust by cloud"
},
"TAF base conditions cover METAR - cloud BKN008": {
"metar": "EGNJ 151150Z 18005KT 9999 BKN008",
"test time": "20200615T1200Z",
"expected": ""
},
"TAF base conditions do not cover METAR - cloud BKN006": {
"metar": "EGNJ 151150Z 18005KT 9999 BKN006",
"test time": "20200615T1200Z",
"expected": "EGNJ TAF bust by cloud"
},
"TAF base conditions cover METAR - cloud BKN006": {
"metar": "EGNJ 151250Z 18005KT 9999 BKN006",
"test time": "20200615T1300Z",
"expected": ""
},
"TAF base conditions do not cover METAR - cloud BKN003": {
"metar": "EGNJ 151250Z 18005KT 9999 BKN003",
"test time": "20200615T1300Z",
"expected": "EGNJ TAF bust by cloud"
},
"TAF base conditions cover METAR - cloud BKN003": {
"metar": "EGNJ 151350Z 18005KT 9999 BKN003",
"test time": "20200615T1400Z",
"expected": ""
},
"TAF base conditions do not cover METAR - cloud BKN001": {
"metar": "EGNJ 151350Z 18005KT 9999 BKN001",
"test time": "20200615T1400Z",
"expected": "EGNJ TAF bust by cloud"
},
"TAF base conditions cover METAR - cloud BKN001": {
"metar": "EGNJ 151450Z 18005KT 9999 BKN001",
"test time": "20200615T1500Z",
"expected": ""
}
},
"description": "A contrived test with 1 hour tempo groups descending the civil cloud height thresholds for airfields using helicopter thresholds. Each cloud height is tested twice, once in the hour preceding the tempo group it requires, making the TAF invalid, and once during the hour of the tempo group making the TAF valid."
}
|
23d1f3a81ff938025999db15448f84cd80edf24e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH1/EX1.4/ex1_4.sce | e30bfc9cbfb6833f1ff3c632525028dcedfb3702 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | ex1_4.sce | // Example 1.4 page no-13
clear
clc
V0=10 //volts siince energy is 10ev
xm=2
theta=%pi/4
V=(2*V0*sin(2*theta))/xm
printf("V=%.0fd Volts",V)
|
0063295eccef4fab142c31fa710b18206e31b924 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH5/EX5.3/Example5_3.sce | 4cfc0d3959eaaa5b912a4d0de39bc4ee355e612b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Example5_3.sce | clear;
clc;
// Example: 5.3
// Page: 151
printf("Example: 5.3 - Page: 151\n\n");
// Solution
//*****Data*****//
Th = 650 + 273;// [K]
Tl = 30 + 273;// [K]
Qh = 585;// [kJ/cycle]
//*************//
// Solution (a)
// From Eqn. (5.9)
eta = (Th - Tl)/Th;
printf("(a) The efficiency of the Carnot engine is %.1f %%\n",eta*100);
// Soluton (b)
// From the knowledge of the ratio of heat and temperature between the two regions:
Ql = Qh*Tl/Th;// [kJ]
printf("(b) Heat released to cold reservoir is %d kJ\n",Ql); |
60549f2eaa0b56ad43a98be2a19d4ab41303ef94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH9/EX9.15/Example9_15.sce | 07ae501227791f963cae79ee95c2f2fa0c1c4ff4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | Example9_15.sce | close();
clear;
clc;
Idss1 = 10; //mA
T1 = 25 + 273; //K
T2 = 100 + 273; //K
//(a)
Idss2 = Idss1*(T2/T1)^(-3/2); //A
mprintf("(a) Saturation current for operating temperature of %d degree C = %0.2f mA\n\n",T2-273, Idss2);
//(b)
//temperature at which saturation current reduces to Idss3
Idss3 = 5; //mA
T3 = T1*(Idss1/Idss3)^(2/3); //K
mprintf("(b) Temperature at which saturation current reduces to %d mA at %d degree C",Idss3, T3-273); |
00fe3d692c199ee1975cdc8570d370275c4e6b2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH5/EX5.20/Example5_20.sce | 08905eba9239bcd0f2cc38694203dc47512565e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | Example5_20.sce | //Example 5.20
clc;
clear;
close;
format('v',6);
//Given data :
D1=20/100;//meter
D2=15/100;//meter
A1=%pi/4*D1^2;//m^2
A2=%pi/4*D2^2;//m^2
v1=2;//m/s
v2=A1*v1/A2;//m/s
disp(v2,"Velocity at another section in m/s : ");
FlowRate=A1*v1;//m^3/s
FlowRate=FlowRate*1000;//litres/s
disp(FlowRate,"Flow Rate in litres/sec : ");
//Answer of velocity in the book is not accurate.
|
971faa237a2007646c9a7ac1ada3e20690d036e8 | 9aa95a74bbb2cde53d49cfbeb529fe858781b85c | /bisection.sce | b259cd0449a96e71021935518d0477c1a7c332c5 | [] | no_license | Killer2499/Scilab | 020807deb4ea75743af080761b65be086d05d491 | 322a592dcccad58dab48bcf52411aa5b26fcb8ff | refs/heads/master | 2020-03-10T09:08:15.979283 | 2018-04-12T19:57:09 | 2018-04-12T19:57:09 | 129,303,189 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | bisection.sce | function bisection()
xl=0;
xu=1;
xm=0.5;
y1=1;
ym=(0.5^3)-(5*0.5)+1;
if(y1*ym<0) then
xu=xm;
end
while (1)
m=(xl+xu)/2;
yl=(xl^3)-(5*xl)+1;
ym=(m^3)-(5*m)+1;
e=((m-xm)/m)*100;
if(-5<e&e<5) then
disp(m);
break;
end
if(y1*ym<0) then
xu=m;
end
if(y1*ym==0) then
disp(m);
break;
end
if(y1*ym>0) then
xl=m;
end
xm=m;
end
endfunction
|
9b8a5a4533c8006b22f9b43df05cef319768a93e | 37950f16d052f7743e8ddc536e89c28f717a7229 | /Pattern/Pattern (Thinkpads in Konflikt stehende Kopie 2015-04-09).sce | a17c3916862922a0795592e07c7113c62b9affa9 | [] | no_license | tauhideee/SIM-Scilab | 51aca407e107500d6dbb780db4ceebb5a18ef03f | d94b53bb856b59bb33ace4ff001fe96c3c8229bb | refs/heads/master | 2021-01-22T14:20:56.974550 | 2015-07-18T10:26:44 | 2015-07-18T10:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sce | Pattern (Thinkpads in Konflikt stehende Kopie 2015-04-09).sce | //Generation of Pattern
//1. linSI.m
//
// Clear previous variables and graphics windows
//
clear ;
//plotlibmode
//
// Set parameters
//
fc = 40;
n = 480;
i= 1;
nphases = 3; // number of phases
nangles = 3; // number of angles
theta=linspace(0,%pi,nangles+1);
theta=theta(1:nangles);
phi=linspace(0,2*%pi,nphases+1);
phi=phi(1:nphases);
I = zeros(n,n,nphases*nphases);
[X1,Y1] = meshgrid(1:n,1:n);
ki = 2*%pi*(fc)/n;
for itheta=1:nphases
for iphi=1:nphases
rottheta= [cos(theta(itheta)) -sin(theta(itheta));
sin(theta(itheta)) cos(theta(itheta)) ];
k = rottheta*[ki; 0];
kx = k(1); ky = k(2);
I(:,:,(itheta-1)*3+iphi) = (1-cos(kx*X1+ky*Y1+phi(iphi)))/2;
pattern = abs(I(:,:,(itheta-1)*3+iphi));
WriteImage(pattern, 'phase'+string(itheta)+'_'+string(iphi)+'.jpg');
end
end
|
e3f631cddcf64d54b3fa742714c08faccd5c1084 | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_thresh_truncate.sci | 102f10d8958367c790296a71077a6e8be920b0f1 | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sci | cv_thresh_truncate.sci | function[img_ret]=cv_thresh_truncate(image)
pyImport simple_thresholding
img_ret=simple_thresholding.thresh_trunc(image)
endfunction |
06f1447dc5a6ef1d13981ebb9fbf6541186bb67f | d6c3bd828e83f9b53df41c541ae15450b189a17c | /LAB 1/Or8.tst | 80442865738dd31066347d8cb1f0c22eec85f32c | [] | no_license | vorabrijesh/CSD-LAB | 3d7a9685f1b13bd78e38981b2c5518eda3ce2e4a | 9f6aa2c6a422877d91de31d6b8eef6ed38769898 | refs/heads/master | 2023-01-06T22:05:16.719142 | 2020-10-29T12:59:57 | 2020-10-29T12:59:57 | 294,884,854 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | tst | Or8.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/Or16.tst
load Or8.hdl,
output-file Or8.out,
compare-to Or8.cmp,
output-list a%B1.8.1 b%B1.8.1 out%B1.8.1;
set a %B00000000,
set b %B00000000,
eval,
output;
set a %B00000000,
set b %B11111111,
eval,
output;
set a %B11111111,
set b %B11111111,
eval,
output;
set a %B10101010,
set b %B01010101,
eval,
output;
set a %B00111100,
set b %B00001111,
eval,
output;
set a %B00010010,
set b %B10011000,
eval,
output; |
bd68fc3c037e22bca2f0194ef191c466bdfe22d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH3/EX3.17/Chapter3_Example17.sce | 5f953dd6842d7c37d4624bd769afcf097a55e67c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | Chapter3_Example17.sce | //Chapter-3, Example 3.17, Page 74
//=============================================================================
clc
clear
//INPUT DATA
D1=0.1;//I.D of the first pipe in m
D2=0.3;//O.D of the first pipe in m
k1=70;//Thermal conductivity of first material in W/m.K
D3=0.4;//O.D of the second pipe in m
k2=15;//Thermal conductivity of second material in W/m.K
T=[300,30];//Inside and outside temperatures in degree C
//CALCULATIONS
r1=(D1/2);//Inner Radius of first pipe in m
r2=(D2/2);//Outer Radius of first pipe in m
r3=(D3/2);//Radius of second pipe in m
Q=((4*3.14*(T(1)-T(2)))/(((r2-r1)/(k1*r1*r2))+((r3-r2)/(k2*r2*r3))))/1000;//Rate of heat flow through the sphere in kW
//OUTPUT
mprintf('Rate of heat flow through the sphere is %3.2f kW',Q)
//=================================END OF PROGRAM==============================
|
38d6358c52bb1f34343525715fa061b8678357d9 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLInvsech-NZ-01.tst | 85c6da2de5345e6f8c5e24cc7aacf068ccee452e | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,374 | tst | FLInvsech-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-- and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade
-- secret or copyright law. Dissemination of this information or reproduction of this material is
-- strictly forbidden unless prior written permission is obtained from Fuzzy Logix, LLC.
-- Functional Test Specifications:
--
-- Test Category: Math Functions
--
-- Test Unit Number: FLinvsech-Netezza-01
--
-- Name(s): FLinvsech
--
-- Description: Scalar function which returns the hyperbolic arcsecant
--
-- Applications:
--
-- Signature: FLinvsech(N DOUBLE PRECISION)
--
-- Parameters: See Documentation
--
-- Return value: DOUBLE PRECISION
--
-- Last Updated: 11-21-2014
--
-- Author: Surya Deepak Garimella
--
-- BEGIN: TEST SCRIPT
--.run file=../PulsarLogOn.sql
--.set width 2500
-- BEGIN: POSITIVE TEST(s)
---- Positive Test 1: Positive Tests
--- Same Output, Good
SELECT FLinvsech(5) AS asech;
SELECT FLinvsech(50) AS asech;
---- Positive Test 2: The Output of both should be same
--- Same Output, Good
SELECT FLinvsech(10) AS asech;
SELECT FLinvsech(FLSech(1.47062890563334))AS asech;
---- Positive Test 3: Positive Tests
--- Return expected results, Good
SELECT FLinvsech(FLSech(FLDeg2Rad(45)))AS asech;
SELECT FLinvsech(FLSech(FLDeg2Rad(-315)))AS asech;
---- Positive Test 4: Boundary check
--- Return expected results, Good
SELECT FLinvsech(1)AS asech;
SELECT FLinvsech(-1)AS asech;
SELECT FLinvsech(1e308)AS asech;
SELECT FLinvsech(-1e308)AS asech;
-- END: POSITIVE TEST(s)
-- BEGIN: NEGATIVE TEST(s)
---- Negative Test 1: Out of Boundary
--- Return expected error, Good
SELECT FLinvsech(0.99999999999) AS asech;
SELECT FLinvsech(-0.99999999999) AS asech;
SELECT FLinvsech(1e-400) AS asech;
SELECT FLinvsech(-1e-400) AS asech;
SELECT FLinvsech(1e400) AS asech;
SELECT FLinvsech(-1e400) AS asech;
---- Negative Test 3: Invalid Data Type
--- Return expected error, Good
SELECT FLinvsech(NULL) AS asech;
SELECT FLinvsech(NULL * -1) AS asech;
-- END: NEGATIVE TEST(s)
-- END: TEST SCRIPT
|
ae8ecab892b0f107c93d21b044720a7ce17e5af1 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_10/mypid.sce | 6ed18349d2d9395272169fe0506a74708f0a4bc1 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | mypid.sce | // mypid.sce
// Scilab.Ninja August 2014
// setup script for mypidx.zcos
// in Scilab Recipe 3 article
s=poly(0,'s');
P = syslin('c',2/(s*(s+0.5)));
// impulse input creation
r.time = (0.01:0.01:10)';
r.values=zeros(1000,1); // start with all zeros
r.values(1:10,1) = 100; // r = 100, 0 < t <=0.1
r.values(501:510,1) = -100; // r = -100, 5.0 < t <= 5.1
|
8ccc02cafa3b3da9af60982b26550f41b863ab98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH2/EX2.12/exa_2_12.sce | cf23c624d7e58ba9e8e1db5d378d086e3774339b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | exa_2_12.sce | // Exa 2.12
clc;
clear;
close;
// Given data
AV= 110.2;// true value of voltage in volt
AI= 5.3;// true value of current in amp
v= 0.2;// uncertainties in voltage in volt
i= 0.6;// uncertainties in current in amp
PLV= v/AV*100;// percentage limiting error to voltage drop
PLC= i/AI*100;// percentage limiting error to current
P= AV*AI;// in watt
disp(P,"The power dissipated in the resistor in watt")
LE_P= (PLV+PLC);// limiting error in the power dissipation in pos and neg
disp(LE_P,"The limiting error in the power dissipation with pos and neg")
disp("Power dissipation")
disp(string(P-P*LE_P/100)+" to "+string(P+P*LE_P/100))
|
80293b36cc21ca21cfe12ae7b56f7c1c2bcce97e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.51/exa2_51.sce | 9a85bdfdc8bbbd93fb9aef3a2f8ea3ce30861ff6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,688 | sce | exa2_51.sce | //Example 2-51//
//multiplication of binary numbers//
//this program requires functions binary2decimal.sci and decimal2binary.sci//
clc
//clears the window//
clear
//clears all existing variables//
function x=binary2decimal(bin)
p=1
q=1
z=0
b=0
w=0
f=0
//initialising//
d=modulo(bin,1)
//separating the decimal part from the integer part//
d=d*10^10
a=floor(bin)
//removing the decimal part//
while(a>0)
//loop to enter the binary bits of the integer part into a matrix//
r=modulo(a,10)
b(1,q)=r
a=a/10
a=floor(a)
q=q+1
end
for m=1: q-1
//multiplying each bit of the integer part with its corresponding positional value and adding//
c=m-1
f=f+b(1,m)*(2^c)
end
while(d>0)
//loop to take the bits of the decimal part into a matrix//
e=modulo(d,2)
w(1,p)=e
d=d/10
d=floor(d)
p=p+1
end
for n=1: p-1
//multiplying each bit with its corresponding positional value and adding//
z=z+w(1,n)*(0.5)^(11-n)
end
z=z*10000
z=round(z)
//rounding off to 4 decimal places//
z=z/10000
x=f+z
endfunction
function y=decimal2binary(a)
q=0
b=0
s=0
//initialising//
d=modulo(a,1)
//separating the decimal part from the integer//
a=floor(a)
//removing the decimal part//
while(a>0)
//integer part converted to equivalent binary form//
x=modulo(a,2)
b=b+(10^q)*x
a=a/2
a=floor(a)
q=q+1
end
for i=1: 10
//taking values after the decimal part and converting to equivalent binary form//
d=d*2
q=floor(d)
s=s+q/(10^i)
if d>=1 then
d=d-1
end
end
y=b+s
endfunction
x=binary2decimal(10.001)
y=binary2decimal(0.11)
z=x*y
a=decimal2binary(z)
disp('the multiplication of the binary numbers is :')
disp(a)
//result is displayed//
|
760699a26970170df6022082d13ec7d32587e8ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH6/EX6.4/exa6_4.sce | 7f856011a0c8ccba213c17bdc711d0d2c6d995a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | exa6_4.sce | //Example 6-4//
//minterm designation of AB''C''D''//
clc
//clears the window//
clear
//clears all existing variables//
disp('copy original term')
disp(' AB''C''D'' ')
disp(' substitute ones for nonbarred letters and zeroes for barred letters ')
disp('after substitution')
disp(' 1000 ')
a=bin2dec('1000')
disp('the decimal equivalent of 1000 is:')
disp(a)
disp(' Therefore decimal subscript of m is 8 ')
disp(' AB''C''D'' = m8 ')
//result is displayed//
|
696097425ddaa8e3ebb7e531f4bf03ca4972a473 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH23/EX23.6/example6.sce | c85332b953d05faf9ab046998fee496d43d8db23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sce | example6.sce | // find minimum trigger voltage,maximum capacitor voltage ,width of output pulse
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 23-6, page 918
clear;clc; close;
// Given data
C=0.47*10^-6;// capacitance in faraday
R=33*10^3;// resistance in ohms
Vcc=12;// in volts
// Calculations
UTP=2*Vcc/3;// upper trip point in volts
LTP=Vcc/3;// lower trip point in volts
W=1.1*R*C;// pulse width
disp("Volts",UTP,"Maximum trigger voltage=")
disp("Volts",LTP,"Minimum trigger voltage=")
disp("seconds",W,"pulse width=")
// Result
// Minimum trigger voltage is 4 Volts
// Maximum capacitor voltage is 8 Volts
// Pulse width is 17.1 mSeconds |
8f7e3d5257a8ab009afa6bf317511eaae962c129 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH3/EX3.2/3_2.sce | c7503b7164b7b225b9e4101db0203e9c045679c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | 3_2.sce | clear all; clc;
disp("Ex 3_2")
//Cable CA supports the weight of the engine 2.452kN
//Concurrent System of forces
disp("Equilibrium Equations")
disp("T_B*cos(30) - T_D = 0 ....(1)")
disp("T_B*sin(30) - 2.452kN = 0 ....(2)")
disp("Solving eqn (2) we get the value of T_B")
a=2.452
b1=30
b=30*%pi/180
c=a/sin(b)
printf('\n\nT_B = %0.2f kN',c)
disp(" ")
disp("Putting the above value of T_B in eqn (1), we get the value of T_D")
d=c*cos(b)
printf('\n\nT_D = %0.2f kN',d)
|
85c0cf85937f804df3151c0c899f5b83c2ec6aac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH5/EX5.16/Ex5_16.sce | dd57da8c35b212b05c6080d186d4216fc658c8b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sce | Ex5_16.sce | clc
Na=10^18
disp("Na = "+string(Na)+" cm^-3") //initializing value of acceptor concentration.
Nd=10^18
disp("Nd = "+string(Nd)+" cm^-3") //initializing value of donor concentration.
Vbi=1.4
disp("Vbi = "+string(Vbi)+" V") //initializing value of built in voltage.
e=1.6*10^-19
disp("e = "+string(e)+" columbs") //initializing value of charge of electrons.
K=1.38*10^-23
disp("K = "+string(K)+" J/k") //initializing value of boltzmann constant.
T=300
disp("T = "+string(T)+" K") //initializing value of temperature.
Vt=0.0259
disp("Vt = "+string(Vt)+" eV") //initializing value of thermal voltage.
no=sqrt((Na*Nd)/(exp(Vbi/Vt)))
disp("no=sqrt((Na*Nd)/(exp(Vbi/Vt)))="+string(no)+" cm^-3")//calculation.
|
a2e9509f858d1d4fecad5caac25d55736e4cf103 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH2/EX2.5/Example25.sce | 1b7435081cbba931d6e70dc82176083299f17ae1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example25.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 2 Example # 2.5 ")
//Heat generation rate in W/m3
qg = 75000000;
//Outer radius of rods in m
ro = 0.025;
//Temperature of water in degree C
Twater = 120;
//Thermal cinductivity in W/mk
k = 29.5
//Heat transfer coefficient in W/m2K
hco = 55000;
//Since rate of flow through the surface of the rod equals the rate of internal heat generation
//and
//The rate of heat flow by conduction at the outer surface equals the rate
//of heat flow by convection from the surface to the water
//Surface Temperature in degree C
T0 = (qg*ro)/(2*hco)+Twater;
disp("Maximum temperature in degree C")
//Maximum temperature in degree C
Tmax = T0+((qg*ro)*ro)/(4*k)
|
9f872d8596f5964fb206d135425442ae3b5307aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH7/EX7.7/SC_7.sce | 4bbaf5efc60f7838f17326b31b31e36c4ad473f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | SC_7.sce | // sum 7-7
clc;
clear;
D=500;
p=0.3;
E=208*10^3;
sigc=320;
a=1/7500;
l=2000;
le=l/2;
W=%pi*D^2*p/4;
FOS=4;
Wd=W*FOS;
I=Wd*l^2/(%pi^2*E);
d=(64*I/%pi)^(1/4);
A=%pi*d^2/4;
k=d/4;
d=45; //Rounding off to nearest whole number
// printing data in scilab o/p window
printf("d is %0.1f mm ",d); |
88aef32ab05772eafd01687a8ad5c4008af3b45e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/sos2cell/sos2cell3.sce | 72857b87dbc073a89b2beb68c37ad5b9478da114 | [] | 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 | 198 | sce | sos2cell3.sce | s =[0.2113249 0.0002211;0.7560439 0.3303271 ];
c=sos2cell(s);
disp(c);
//..output
// !--error 10000
//Invalid Entry
//at line 59 of function sos2cell called by :
//c=sos2cell(s);
//
|
ee2048861967e3029e17799085e0d61431b484be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH2/EX2.17/Exa2_17.sce | d4fd03fa9d883dea5cf42ebbe457f495e6bb9de2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Exa2_17.sce | //Exa 2.17
clc;
clear;
close;
//Given data :
R1=200;//in kohm
R2=100;//in kohm
RE=1;//in kohm
RC=1;//in kohm
VCC=9;//in volt
he=2;//in kohm
hfe=100;//unitless
hoe=0;//unitless
hre=0;//unitless
VBE=0.7;//in volt(For Si)
//Part (i)
RB=R1*R2/(R1+R2);//in kohm
VBBdash=(R2/(R1+R2))*VCC;//in volt
//Applying Kirchoff Law
IB=(VBBdash-VBE)/(RB*10^3+RE*10^3*(1+hfe));//in Ampere
IC=hfe*IB;//in Ampere
disp(IC*10^3,"Value of IC in mA : ");
//Part (ii)
//Applying Kirchoff Law
VCE=VCC-IC*RC*10^3-RE*1063*IB*(hfe+1);//in volt
disp(VCE,"VCE in volt :");
//Note : Ans of VCE is wrong in the book as VCC=10 V has been taken instead of 9 volt. |
7adf504c9961226d4473dd9f236202ea48d747f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH4/EX4.3/ex4_3.sce | 12629f3c07e89080b9c6ff7885e70d24cbba3de8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | ex4_3.sce | // Exa 4.3
clc;
clear;
close;
format('v',6)
// Given data
Alpha = 0.9;
// For alpha = 0.9, the value of Beta
Beta = Alpha/(1-Alpha);
disp(Beta,"For alpha = 0.9, the value of Beta is");
Alpha = 0.99;
// For alpha = 0.99, the value of Beta
Beta = Alpha/(1-Alpha);
disp(Beta,"For alpha = 0.99, the value of Beta is");
Alpha = 0.98;
// For alpha = 0.98, the value of Beta
Beta = Alpha/(1-Alpha);
disp(Beta,"For alpha = 0.98, the value of Beta is");
|
1f212f8505f30a929aa525e257cadc7219e69460 | 89bd85001a11a2a0f501317fc244013567513dd7 | /scenario/simpleScenario/simpleScenario_02.sce | 10520edede9e3deb37084adc19cb04240864ffbf | [
"MIT"
] | permissive | triacontane/mv | 51d4960b9cfea5c0aa5c4c56cb3deff01f221642 | 49a087a21d4dd9c045b151e6c8767ce5f5381806 | refs/heads/master | 2021-01-12T17:36:18.214276 | 2017-02-12T01:41:43 | 2017-02-12T01:41:43 | 86,892,514 | 2 | 1 | null | 2017-04-01T07:10:07 | 2017-04-01T07:10:07 | null | UTF-8 | Scilab | false | false | 391 | sce | simpleScenario_02.sce | @start
@mob1 name=モブ1
@mob2 name=モブ2
@m1
こんにちは。
@m1
私の名前は、@mob1 name=
で指定したものになります。
@m1 name=一時的な名前
name= を設定すると、一時的にその名前になります。
@m1 face=Actor1 index=2
顔グラも設定できます。
@m2
モブその2です
@m2 color=2
モブその2です。色付き。
@hide |
7547c25d51ba73e9af164d84c0e01188847b9a85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH6/EX6.5.2/Example_6_5_2.sce | 1a5ca34d2336777bfaa087cf4cef19323fcca565 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,511 | sce | Example_6_5_2.sce | clear;
clear;
clc;
close;
set(gca(),"auto_clear","off") //hold on
//Get x(dot) = y; y(dot)=x-(x^3);
A1 = [0 1;1 0] //Jacobian at (0,0)
t1=det(A1)
A2 = [0 1;-2 0] //Jacobian at (1,0) and (-1,0).
t2=det(A2)
tau2=trace(A2)
disp("Since, t1=-1, thus (0,0) is a SAddle Point.");
disp("As t2=2 and tau2=0, thus (1,0) and (-1,0) are Centers.");
[x y]=meshgrid(-5:0.5:5,-5:0.5:5);
Nx=21;
Ny=21;
for i=1:21
for j=1:21
E(i,j) = ((1/2)*(y(i,j)^2)) -((1/2)*(x(i,j)^2)) + ((1/4)*(x(i,j)^4));
//contour(x,y,E,3);
end
end
l=-5:0.5:5;
k=-5:0.5:5;
plot3d(l,k,E);
figure
subplot(331)
contour2d(l,k,E,2);
subplot(335)
for x=-2:0.1:2
V=((-1/2)*(x^2))+((1/4)*(x^4));
plot2d(x,V,style=-2)
end
subplot(339)
function xd=linear652(t,x)
xd(1)=x(2);
xd(2)=x(1)-x(1)^3;
//x(dot); x(2) means y.
//y(dot); x(1) means x.;
endfunction
bound=[-4,-4,4,4]; //Bounds of x-axis and y-axis as [xmin ymin xmax ymax], change them according to your needs.
nrect=16; //increase it to get more number of curves, i.e. more information will be available.
set(gca(),"auto_clear","off") //hold on
x=linspace(bound(1),bound(3),nrect);
y=linspace(bound(2),bound(4),nrect);
x0=[];
for i=1:35
x0=[x(i);y(i)];
t0=0;
t=0:0.01:3000;
xout=ode(x0,t0,t,linear652);
plot2d(xout(1,:),xout(2,:));
end
xtitle('Phase Portrait','x-axis ( x )','y-axis ( y )') |
f1e47b74218cab09fac679ceea49e34dca7f3e6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH6/EX6.5.a/Example6_5a.sce | 5e90880d05823b1e80b58224daa94217f95677fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,167 | sce | Example6_5a.sce | clear;
clc;
//Caption:To find hFEmin
//Given Data
//For transistor
Vbesat=0.8;//Vgamma of diode in V
Vy=0.5;//in V
Vcesat=0.2;//in V
R = 5;//in K
Rc = 2.2;//in K
//For diode
Vyd=0.6;//in V
Vdrop=0.7;//in V
//The logic levels are Vcesato=0.2V for 0 state
Vcesato=0.2;//in V
//The logic levels are Vcc=5V for 1 state
Vcc=5;//in V
disp('If atleast one input is in 0 state');
Vp = Vcesato + Vy;//Potential at point P
disp('V',Vp,'Vp=');
//For diodes D1 and D2 to be conducting
v = 2*Vdrop;
disp('For diodes D1 and D2 to be conducting');
disp(v,'required voltage = ');
//These diodes cutoff
Vbe = 0;
if(Vbe<Vy)
disp('Q is OFF');
disp('Output rises to 5V and Y = 1');
disp('This confirms first 3 rows of NAND truth table');
end
//if all inputs are at V(1)=5V , we shall assume all input diodes OFF and D1 and D2 conduct and Q is in saturation
disp('When inputs are at 5V');
Vp = Vdrop + Vdrop + Vbesat;
disp('V',Vp,'Vp=');
disp(Vcc-Vp,'The voltage across all input diode');
//For finding hFEmin
I1 = (Vcc-Vp)/R;
I2 = Vbesat/R;
Ib = I1-I2;
Ic = (Vcc-Vcesat)/Rc;
hFEmin = Ic/Ib;
disp(hFEmin,'hFEmin=');
//end |
00a5b7f000f33319d810ab1219b60caca784bf15 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oo_vrt_ind/~BivLCM-SR-bfas_oo_vrt_ind-PLin-VLin.tst | ed6ddefd10c253c85e6ed1fe268175160b6937cb | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_oo_vrt_ind-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.273773D+00
2 -0.192574D-02 0.229292D-02
3 -0.651449D-01 0.150789D-02 0.348905D+00
4 0.183787D-02 -0.485107D-03 -0.671821D-02 0.296161D-02
5 -0.369518D-03 0.196238D-03 0.134962D-02 -0.840946D-04 0.349306D-02
6 0.108582D-02 -0.806094D-05 -0.670637D-03 0.637180D-04 -0.386512D-03
7 0.847241D-03 0.607468D-04 -0.689507D-03 -0.106216D-03 -0.126376D-02
8 -0.884086D-04 -0.296950D-04 -0.382565D-03 0.639539D-04 0.256611D-03
9 -0.354904D+00 0.114610D-01 0.428903D+00 -0.106747D-01 0.277209D-01
10 -0.222544D+00 0.161959D-01 0.343735D+00 -0.941791D-02 0.173830D+00
11 0.103747D+00 -0.211210D-01 -0.842557D-01 0.222555D-01 -0.634782D-01
12 -0.251895D+00 0.184390D-01 0.237164D+00 -0.516546D-01 0.539906D-01
13 0.104928D+00 0.236737D-02 -0.184382D+00 -0.366506D-02 -0.709050D-01
14 -0.172178D-01 0.511047D-02 0.416549D+00 0.699644D-02 0.403447D-01
15 -0.892237D+00 -0.237978D-01 -0.189584D+00 -0.242926D-01 -0.424507D-01
16 0.397984D-01 -0.135067D-01 -0.263564D-01 0.234176D-02 0.174679D-03
17 -0.990986D-02 0.270619D-03 0.339874D-02 0.125632D-03 -0.901202D-03
18 -0.381068D-01 -0.269769D-01 0.500854D+00 -0.129938D-01 0.768555D-01
19 -0.452257D-01 0.946339D-02 0.343465D-01 -0.417764D-02 0.327290D-02
20 0.657233D-01 -0.147946D-01 0.307656D+00 -0.139162D-01 0.859707D-02
21 -0.404633D-02 -0.405407D-02 -0.446767D-01 -0.496707D-03 -0.698535D-03
22 0.315427D-02 0.556241D-04 -0.440875D-02 -0.396738D-03 0.320375D-04
23 -0.136294D-01 -0.528112D-03 0.260418D-01 0.650920D-03 0.436505D-03
24 -0.754595D-03 -0.284920D-03 -0.142129D-02 0.668751D-03 -0.340898D-03
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.723820D-03
7 0.722849D-03 0.369501D-02
8 -0.712003D-04 0.236330D-03 0.267791D-02
9 -0.182364D-01 -0.364358D-01 0.207015D-01 0.330821D+02
10 -0.308053D-01 -0.691622D-01 0.168695D-01 0.981292D+00 0.201012D+02
11 0.319092D-01 0.370965D-01 0.368153D-02 -0.614391D+01 -0.844127D+00
12 -0.518294D-01 -0.887641D-02 0.673781D-01 0.569100D+01 0.167029D+01
13 0.519351D-01 0.123568D+00 -0.197670D-01 -0.245458D+01 -0.804458D+01
14 -0.221865D-01 -0.761546D-01 0.113370D+00 0.311055D+01 0.517718D+01
15 0.573154D-02 0.186895D-01 -0.210463D-01 -0.942257D+00 -0.829731D+01
16 -0.635312D-03 -0.120786D-02 -0.360057D-03 0.330884D+00 -0.926392D-01
17 0.233114D-03 0.554620D-03 -0.143065D-03 -0.802934D-01 -0.271858D-01
18 -0.393576D-01 -0.148743D+00 0.353511D-01 0.148244D+00 0.744651D+01
19 -0.144507D-01 0.138075D-02 0.547048D-02 -0.129388D+01 0.508192D+00
20 0.219713D-01 0.986514D-01 -0.189103D+00 -0.222002D+01 0.346645D+01
21 0.131930D-01 -0.466850D-02 -0.473347D-02 0.136380D+01 -0.244363D+00
22 -0.109130D-03 0.158735D-03 0.186362D-04 0.172345D-02 -0.276688D-01
23 0.118378D-03 0.111971D-02 -0.849107D-03 -0.273050D+00 0.103931D+00
24 0.982248D-04 -0.416156D-03 -0.195097D-03 0.363660D-01 -0.230254D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.302294D+02
12 -0.164158D+02 0.148326D+03
13 -0.976729D-01 -0.264854D+00 0.139356D+02
14 0.384550D+01 0.399987D+01 -0.633575D+01 0.499359D+02
15 0.363725D+01 -0.230264D+01 0.242477D+01 -0.236912D+01 0.170185D+03
16 0.100794D+00 0.198133D+00 -0.431582D-02 -0.408692D-01 0.191727D+01
17 0.267474D-02 -0.976470D-02 0.220483D-01 -0.283329D-01 -0.743009D+00
18 0.117924D+01 0.456199D+01 -0.901639D+01 0.254950D+01 -0.248611D+02
19 0.834263D+00 0.123176D+00 -0.117615D+01 0.135865D+00 0.197612D+01
20 -0.257380D+01 -0.429741D+01 0.735596D+01 -0.295529D+02 0.108058D+02
21 -0.727613D+00 -0.465250D+00 0.813757D+00 0.595579D-01 -0.284063D+01
22 -0.532774D-01 0.744774D-01 0.169390D-01 0.142280D-01 0.122595D+00
23 -0.149298D+00 0.120427D+01 0.113878D+00 0.777379D-01 0.602373D+00
24 0.453797D-01 -0.303833D+00 -0.447918D-01 0.928980D-02 -0.130793D+00
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.375653D+00
17 -0.297545D-01 0.911444D-02
18 -0.264434D+00 0.605733D-01 0.150386D+03
19 -0.157908D+00 -0.295598D-02 0.443959D+01 0.424181D+01
20 0.626356D+00 -0.655057D-01 -0.216262D+02 -0.599524D+00 0.332610D+03
21 -0.216922D-01 0.202221D-01 -0.390951D+00 -0.356273D+01 -0.310562D+00
22 0.966413D-02 -0.155533D-02 -0.762068D+00 -0.342649D-01 0.197070D-01
23 0.313456D-01 -0.340841D-02 -0.425367D+00 -0.128350D+00 0.301321D+01
24 -0.477250D-02 0.126918D-02 0.910038D-01 0.721957D-02 -0.144337D+01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.396529D+01
22 -0.167361D-01 0.851896D-02
23 -0.110134D+00 0.119186D-01 0.538029D+00
24 0.187846D-01 -0.183436D-02 -0.559670D-01 0.152849D-01
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.077 1.000
3 -0.211 0.053 1.000
4 0.065 -0.186 -0.209 1.000
5 -0.012 0.069 0.039 -0.026 1.000
6 0.077 -0.006 -0.042 0.044 -0.243
7 0.027 0.021 -0.019 -0.032 -0.352
8 -0.003 -0.012 -0.013 0.023 0.084
9 -0.118 0.042 0.126 -0.034 0.082
10 -0.095 0.075 0.130 -0.039 0.656
11 0.036 -0.080 -0.026 0.074 -0.195
12 -0.040 0.032 0.033 -0.078 0.075
13 0.054 0.013 -0.084 -0.018 -0.321
14 -0.005 0.015 0.100 0.018 0.097
15 -0.131 -0.038 -0.025 -0.034 -0.055
16 0.124 -0.460 -0.073 0.070 0.005
17 -0.198 0.059 0.060 0.024 -0.160
18 -0.006 -0.046 0.069 -0.019 0.106
19 -0.042 0.096 0.028 -0.037 0.027
20 0.007 -0.017 0.029 -0.014 0.008
21 -0.004 -0.043 -0.038 -0.005 -0.006
22 0.065 0.013 -0.081 -0.079 0.006
23 -0.036 -0.015 0.060 0.016 0.010
24 -0.012 -0.048 -0.019 0.099 -0.047
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.442 1.000
8 -0.051 0.075 1.000
9 -0.118 -0.104 0.070 1.000
10 -0.255 -0.254 0.073 0.038 1.000
11 0.216 0.111 0.013 -0.194 -0.034
12 -0.158 -0.012 0.107 0.081 0.031
13 0.517 0.545 -0.102 -0.114 -0.481
14 -0.117 -0.177 0.310 0.077 0.163
15 0.016 0.024 -0.031 -0.013 -0.142
16 -0.039 -0.032 -0.011 0.094 -0.034
17 0.091 0.096 -0.029 -0.146 -0.064
18 -0.119 -0.200 0.056 0.002 0.135
19 -0.261 0.011 0.051 -0.109 0.055
20 0.045 0.089 -0.200 -0.021 0.042
21 0.246 -0.039 -0.046 0.119 -0.027
22 -0.044 0.028 0.004 0.003 -0.067
23 0.006 0.025 -0.022 -0.065 0.032
24 0.030 -0.055 -0.030 0.051 -0.042
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 -0.245 1.000
13 -0.005 -0.006 1.000
14 0.099 0.046 -0.240 1.000
15 0.051 -0.014 0.050 -0.026 1.000
16 0.030 0.027 -0.002 -0.009 0.240
17 0.005 -0.008 0.062 -0.042 -0.597
18 0.017 0.031 -0.197 0.029 -0.155
19 0.074 0.005 -0.153 0.009 0.074
20 -0.026 -0.019 0.108 -0.229 0.045
21 -0.066 -0.019 0.109 0.004 -0.109
22 -0.105 0.066 0.049 0.022 0.102
23 -0.037 0.135 0.042 0.015 0.063
24 0.067 -0.202 -0.097 0.011 -0.081
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.509 1.000
18 -0.035 0.052 1.000
19 -0.125 -0.015 0.176 1.000
20 0.056 -0.038 -0.097 -0.016 1.000
21 -0.018 0.106 -0.016 -0.869 -0.009
22 0.171 -0.177 -0.673 -0.180 0.012
23 0.070 -0.049 -0.047 -0.085 0.225
24 -0.063 0.108 0.060 0.028 -0.640
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.091 1.000
23 -0.075 0.176 1.000
24 0.076 -0.161 -0.617 1.000
|
ef73908664201d0bf35153ac90df261cf5437a42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH14/EX14.3/ex14_3.sce | d5e6adb23272e229008bebda42b566149636c2a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | ex14_3.sce | clc
//Example 14.3
//Install Symbolic toolbox
//Find the Inverse Laplace transform
syms s
a=7/s
b=31/(s+17)
x=ilaplace(a)
y=ilaplace(b)
g=x-y
disp(g,'g(t)=') |
fa349ab15796505235f7e34c9e74a73e4262af26 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH2/EX2.8.4.a/ex_2_8_4_a.sce | a69c1f3f102656705df9fdc3e2fbfd1ab68b91ad | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | ex_2_8_4_a.sce | errcatch(-1,"stop");mode(2);//Example 2.8.4.a // unknown resistor
;
;
//given data :
V=100;//in volts
I=5*10^-3;// in A
R_app=(V/I)*10^-3;
disp(R_app,"apparent resistor,R_app(kilo-ohm) = ")
exit();
|
6773f96f52650d0c72744b0d81c0490e16b29754 | 717ddeb7e700373742c617a95e25a2376565112c | /40/CH8/EX8.5b/Exa_8_5b.sce | 05c7e80c07847c714e7e2364d44fc4551b92e476 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 877 | sce | Exa_8_5b.sce | //b1)modulation
XDFT=[4 -2*%i 0 2*%i];
xn=dft(XDFT,1)
for i=1:length(xn)
zn(i)=xn(i)*%e^((%i*%pi*(i-1))/2);
end
disp(zn,'The IDFT of XDFT[k-1] is');
ZDFT=[2*%i 4 -2*%i 0];
zn1=dft(ZDFT,1)
//b2)periodic convolution
HDFT=(convol(XDFT,XDFT))
HDFT=[HDFT,zeros(8:12)];
HDFT=[HDFT(1:4);HDFT(5:8);HDFT(9:12)];
HDFT1=[0 0 0 0];
for i=1:4
for j=1:3
HDFT1(i)=HDFT1(i)+HDFT(j,i);
end
end
HDFT1;
hn=dft(HDFT1,1)
hn1=4*(xn.*xn);
disp(hn1,'The IDFT of XDFT*XDFT is');
//b3)product
WDFT=XDFT.*XDFT;
wn=dft(WDFT,1)
wn1=convol(xn,xn);
wn1=[wn1,zeros(8:12)];
wn1=[wn1(1:4);wn1(5:8);wn1(9:12)];
WN=[0 0 0 0];
for i=1:4
for j=1:3
WN(i)=WN(i)+wn1(j,i);
end
end
disp(WN,'The IDFT of XDFT.XDFT is');
//b4)Central ordinates and signal Energy
E=0;
for i=1:length(xn)
E=E+abs(xn(i)^2);
end
disp(E,'the signal energy is'); |
0d610ec5fbe267f5518d9d5c9acdefe33278185b | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.5.3/Ch1Exa1_5_3.sci | 3341d4b34d0b4c6da33507e4b7b8d2a6c36d628b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sci | Ch1Exa1_5_3.sci | // Scilab code Exa1.5.3 : Calculation of energy required to knock out nucleon from He nucleus : Page 37 (2011)
M_p = 1.007895; // Mass of proton, amu
M_n = 1.008665; // Mass of neutron, amu
M_He = 4.0026; // Mass of He-nucleus, amu
Z = 2; // Number of proton
N = 2; // Number of neutron
D_m = [(Z*M_p)+(N*M_n)-M_He]; // Mass defect, amu
amu = 931.49; // Atomic mass unit, MeV
E = D_m*amu; // Required energy, MeV
printf("\nThe energy required to knock out nucleons from the He nucleus = %5.2f MeV", E);
// Result
// The energy required to knock out nucleons from the He nucleus = 28.43 MeV |
aff1a238e42fad8c1e8f9cbada5b634c83839614 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH2/EX2.34/2_34.sce | a4b81ee51306e53cef1c6d5eb4b9ac193089f1b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,086 | sce | 2_34.sce | //Chapter-2,Example 2_34,Page 2-53
clc()
//Given Data:
lam1=5.14034*10^-7 //Wavelength of light
lam2=5.14085*10^-7 //Wavelength of light
//Calculations:
dlam=lam2-lam1 //difference in wavelength
lam=(lam2+lam1)/2 //Mean wavelength
//We know that R.P.=lam/dlam=m*N
N=lam/dlam/1 //Number of lines on grating
printf('Number of lines on grating for first order is = %.0f \n \n',N)
//Hence R.P. for second order should be
RP1=2*N
printf(' Resolving power in second order should be is= %.0f \n \n',RP1)
//But here,
lam3=8.03720*10^-7 //Wavelength of light
lam4=8.03750*10^-7 //Wavelength of light
dlam2=lam4-lam3 //difference in wavelength
lam2=(lam4+lam3)/2 //Mean wavelength
RP2=lam2/dlam2
printf(' Resolving power in second order is= %.0f \n \n',RP2)
printf(' So, the grating will not be able to resolve 8.0372*10^-7 and 8.03750*10^-7 in second order.\n')
printf(' Because Resolving power is greter than actual Resolving power.')
|
da61fbbe1fe3fa630ebffc0b46f6f79fad341a4e | 607fe53653a19100ed470c4f0b5da1a5cbb0a7f3 | /scilab_first.sce | 2d9068cf2a2559f3a93ef8d21d838b0a5e91ad6a | [] | no_license | sanjeevphy/ForPhDCourseWork | 70b3944e4dce8a5f054ef59b8710923005ca9127 | 945812099f1f41395daa1b1ceeb33c69b9a07481 | refs/heads/main | 2023-02-22T04:25:00.575704 | 2021-01-28T07:00:53 | 2021-01-28T07:00:53 | 333,669,242 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | scilab_first.sce | a = 20;
b = 15;
disp(a/b)
c = a + b;
d = a - b;
e = a * b;
f = a / b;
g = a \ b;
disp(c);
disp(d);
disp(e);
disp(f);
disp(g);
|
316db8deb2024a747c566665af59375bbf00e470 | b4e4c4a483fac0d92f11f57d45b48cbf91ad167b | /roundVarianceV1.sce | 74e392b525acc7c449c84eee3be8e3cebf135bde | [] | no_license | steedhuang/Round-Variances-for-SARS-COV-2-Gene | 2818468a5c2ca1a00eee311b9a240353f090815c | b347ce5a642d0850b3ee7970e173d37d8f3fee22 | refs/heads/master | 2022-05-27T06:08:29.507010 | 2020-04-30T16:04:06 | 2020-04-30T16:04:06 | 260,256,080 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,660 | sce | roundVarianceV1.sce | // This program is used to calculate Round Varinances, Ver.1.1
// Contributed to Github Server on 4/30/2020
// Jun Steed Huang email: steedhuang@163.com
// For more background theory, follow us on researchgate
// Clear the picture
clf
// Following program is used to calculate RV
// F can be a Fractional Complex Number, 0 <= |F| <= 3.
// F1=1.5 is for the Taoist Three based moment between Mean and Variance
// F2=2.0 is for the Normal Variance on the Normal circle Water site
// F3=2.5 is for the Taosit Five based moment between Variance and Skewness
// F4=sqrt(2)+sqrt(-2) is for Upper Round Variance on the Normal circle Wind site
// F5=sqrt(2)-sqrt(-2) is for Down Round Variance on the Normal circle Hill site
F4 = sqrt(2)+sqrt(-2);
F5 = sqrt(2)-sqrt(-2);
// This is the sars-cov-1 gene alphabetical order label from Spike 649-689,
CMC = [18
2
1
9
12
11
1
2
19
21
6
14
8
3
25
19
9
14
11
5
11
1
2
1
11
9
2
3
25
21
8
6
3
15
15
15
15
12
12
24
3
];
cmc1 = mean((CMC - mean(CMC)).^F4);
cmc3 = mean((CMC - mean(CMC)).^F5);
X = [real(cmc1) real(cmc3)]
Y = [imag(cmc1) imag(cmc3)]
plot(X,Y,'g');
// Plot again on the same figure
// This is the pangolin gene alphabetical order label from Spike 649-689,
CMC = [24
2
1
9
12
6
1
2
19
21
6
13
13
3
25
19
9
14
11
5
6
1
2
1
11
9
2
3
25
21
3
20
3
15
15
15
15
3
12
24
3
];
cmc1 = mean((CMC - mean(CMC)).^F4);
cmc3 = mean((CMC - mean(CMC)).^F5);
X = [real(cmc1) real(cmc3)]
Y = [imag(cmc1) imag(cmc3)]
plot(X,Y,'r');
// This is the sars-cov-2 gene alphabetical order label from Spike 649-689,
CMC = [24
2
1
9
12
11
1
2
19
21
6
13
13
3
25
19
9
14
11
5
11
1
2
1
11
9
2
3
25
18
8
18
8
13
3
5
24
24
2
24
3
];
cmc1 = mean((CMC - mean(CMC)).^F4);
cmc3 = mean((CMC - mean(CMC)).^F5);
X = [real(cmc1) real(cmc3)]
Y = [imag(cmc1) imag(cmc3)]
plot(X,Y,'c');
// This is the bat gene alphabetical order label from Spike 649-689,
CMC = [24
2
1
9
12
11
1
2
19
21
6
13
13
3
25
19
9
14
11
5
11
1
2
1
11
9
2
3
25
18
8
18
8
13
3
15
15
15
15
24
3
];
cmc1 = mean((CMC - mean(CMC)).^F4);
cmc3 = mean((CMC - mean(CMC)).^F5);
X = [real(cmc1) real(cmc3)]
Y = [imag(cmc1) imag(cmc3)]
plot(X,Y,'b');
disp('Done the Complex Moment Calculations');
// Put label on
xlabel('Large label dispersion');
ylabel('Small label dispersion');
title('The Round Variances for Virus Spike Amino Acid Sequence');
legend('SARS-COV-1', 'Pangolin','SARS-COV-2', 'Bat');
|
33e3d9e3170d13850f496485654dbbae97a33208 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH8/EX8.8/Example8_8.sce | da9b430b3a8863ac6318e98fee8a47d6409839ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,022 | sce | Example8_8.sce | clear;
clc;
// Example: 8.8
// Page: 305
printf("Example: 8.8 - Page: 305\n\n");
// Solution
//*****Data******//
Ql = 5;// [tons]
Tl = -10 + 273;// [K]
Th = 35 + 273;// [K]
eta = 0.85;
H1 = 183.2;// [Enthalpy of saturated vapour at 263 K, kJ/kg]
H2 = 208.3;// [Enthalpy of superheated vapour, kJ/kg]
H3 = 69.5;// [Enthalpy of saturated vapour at 308 K, kJ/kg]
H4 = H3;// [kJ/kg]
//***************//
// Solution (a)
// Mass flow rate:
Ql = Ql*3.516;// [kW]
mdot = Ql/(H1 - H4);// [kW]
printf("Mass flow rate of the refrigerant is %.4f kg/s\n",mdot);
// Solution (b)
W = H2 - H1;// [kJ/kg]
Wnet = W*mdot/eta;// [kW]
printf("Power consumption in the compression is %.2f kW\n",Wnet);
// Solution (c)
Qh = Ql + Wnet;// [kW]
printf("The amount of heat rejected in the condenser is %.2f kW\n",Qh);
// Solution (d)
COP_VapourCompression = (H1 - H4)/(H2 - H1);
COP_Carnot = Tl/(Th - Tl);
COP_relative = COP_VapourCompression/COP_Carnot;
printf("Relative COP is %.2f\n",COP_relative); |
4cd0bc95b009171cadb24b8d36cc28986ed8063e | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH4/EX4.1/4_1.sce | 21dd2091e685e146c18f8f0e2d7219be4d3cd6e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,943 | sce | 4_1.sce | //Eg-4.1
//pg-139
clear
clc
A=[-3 0 1];
xl=1;
xu=3;
fx=poly(A,'x','c')
//This is used determine true root with less errors using bisection method
//input arguments--xl(lower bound of x),xu(upper bound of x),es(stopping criterion error),f(given function)
//output arguments--root(final value of x) obtained from my code,pre-percent relative error,itns-number of itertions used in the code
xrold=(xl+xu)/2;
//Verying whether in given interval,function are applicable for bisecion method
if horner(fx,xl)*horner(fx,xu)>0 then
disp("there are more than 2 roots or no root ,so bisection method is not applicable")
elseif horner(fx,xl)*horner(fx,xu)==0 then
disp("there is no need to apply any method since one of bound is a root")
elseif horner(fx,xl)*horner(fx,xrold)==0|horner(fx,xrold)*horner(fx,xu)==0 then
disp("(xl+xu)/2 is the required root")
else
//BISECTION METHOD
disp("The given function has only one root in the given interval ,so by applying bisection method root can be determined")
test=horner(fx,xl)*horner(fx,xrold);
if test<0 then
xu=xrold;
elseif test>0 then
xl=xrold;
else
root=xrold;
end
xrnew=(xl+xu)/2;
ea=abs(xrnew-xrold)*100/abs(xrnew);
pre(1,1)=ea;
iter=1;
itns(1,1)=1;
i=1;
while i<=10
printf('\n\nIteration No. %i \n',i);
printf('xlow=%f \n',xl);
printf('xhigh=%f \n',xu);
xrold=xrnew;
test=horner(fx,xl)*horner(fx,xrold);
if test<0 then
xu=xrold;
elseif test>0 then
xl=xrold;
else
root=xrold;
end
xrnew=(xl+xu)/2;
fnew=horner(fx,xrnew);
ea=abs(xrnew-xrold)*100/abs(xrnew);
iter=iter+1;
itns(iter,1)=iter;
pre(iter,1)=ea;
i=i+1;
printf('xnew=%f \n',xrnew);
printf('fnew=%f \n',fnew);
end
root=xrnew;//True root
end
|
53d76fda9db4b036c1bf6c7d174082783179ab37 | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/FieldConvert/Tests/interpTest_deformedElem.tst | 2c31c1897ebc9fe1075a4dfc7bdb4e1a0e11a877 | [
"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 | 524 | tst | interpTest_deformedElem.tst | <test>
<description>Test interpolation in deformed elems on surfaces</description>
<executable>FieldConvert</executable>
<parameters>-m interpfield:fromxml=interpTest_mesh_1.xml:fromfld=interpTest_field_1.fld interpTest_mesh_2.xml interpTest_field_2.fld</parameters>
<files>
<file description="Session File">interpTest_mesh_2.xml</file>
</files>
<metrics>
<metric type="L2" id="1">
<value variable="u" tolerance="0.046">0</value>
</metric>
</metrics>
</test>
|
6a2b1e48a5cf68a18420228bc94d2feb1d56bf23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH6/EX7.1/Ch07Ex1.sci | 037d2328b0af2a9f3440399d191309444a8b07a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sci | Ch07Ex1.sci | // Scilab Code Ex7.1 : Variation of critical magnetic field with temperature : Page-152 (2010)
T_c = 3.722; // Critical temperature of superconducting transition, kelvin
B_c0 = 0.0306; // Critical magnetic field to destroy superconductivity, tesla
T = 2; // Temperature at which critical magnetic field is to be found out, kelvin
B_cT = B_c0*(1-(T/T_c)^2);
printf("\nThe critical magnetic field at %d K = %6.4f T", T, B_cT);
// Result
// The critical magnetic field at 2 K = 0.0218 T s |
93f760ce1c1707ae550dd05074b25ed1ba568ed4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH14/EX14.10/EX14_10.sce | f126d03e958c11919cd42cf67ff2ff4709e02d4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,526 | sce | EX14_10.sce |
// Example14.10 // Design a video amplifier of IC 1550 circuit
clc;
clear;
close;
Vcc = 12 ; // V
Av = -10 ;
Vagc = 0 ; // at bandwidth of 20 MHz
hfe = 50 ; // forward emitter parameter
rbb = 25 ; // ohm // base resistor
Cs = 1*10^-12 ; // F // source capacitor
Cl = 1*10^-12 ; // F // load capacitor
Ie1 = 1*10^-3 ; // A // emitter current of Q1
f = 1000*10^6 ; // Hz
Vt = 52*10^-3 ;
Vt1 = 0.026 ;
// When Vagc =0 the transistor Q2 is cut-off and the collector current of transistor Q2 flow through the transistor Q3
// i.e Ic1=Ie1=Ie3
Ie3 = 1*10^-3 ; // A // emitter current of Q3
Ic1 = 1*10^-3 ; // A // collector current of the transistor Q1
// it indicates that the emitter current of Q2 is zero Ie2 = 0 then the emitter resistor of Q2 is infinite
re2 = %inf ;
// emitter resistor of Q3
re3 = (Vt/Ie1);
disp('The emitter resistor of Q3 is = '+string(re3)+' ohm ( at temperature 25 degree celsius) ');
// the trans conductance of transistor is
gm = (Ie1/Vt1);
disp('The trans conductance of transistor is = '+string(gm*1000)+' mA/V '); // Round Off Error
// the base emitter resistor rbe
rbe = (hfe/gm);
disp('The base emitter resistor rbe is = '+string(rbe/1000)+' K ohm '); // Round Off Error
// the emitter capacitor Ce
Ce = (gm/(2*%pi*f));
disp('The emitter capacitor Ce = '+string(Ce)+' F '); // Round Off Error
// the voltage gain of video amplifier is
// Av = (Vo/Vin) ;
// Av = -((alpha3*gm)/(rbb*re3)*((1/rbb)+(1/rbe)+sCe)*((1/re2)+(1/re3)+sC3)*((1/Rl)+(s(Cs+Cl))))
// At Avgc = 0 i.e s=0 in the above Av equation
alpha3 = 1 ;
s = 0 ;
// Rl = -((alpha3*gm)/(rbb*re3)*(((1/rbb)+(1/rbe))*((1/re2)+(1/re3))*(Av)));
// After solving above equation for Rl We get Rl Equation as
Rl = 10/(37.8*10^-3);
disp('The value of resistance RL is = '+string(Rl)+' ohm ');
// there are three poles present in the transfer function of video amplifier each pole generate one 3-db frequency
Rl = 675 ;
// fa = 1/(2*%pi*Rl*(Cs+Cl));
// after putting value of Rl ,Cs and Cl we get
fa = 1/(2*3.14*264.55*1*10^-12);
disp('The pole frequency fa is = '+string(fa*10^-3/1000)+' M Hz '); // Round Off Error
//fb = 1/(2*%pi*Ce*((rbb*rbe)/(rbb+rbe)));
// after putting value of Ce rbb and rbe we get
fb = 1/(2*%pi*6.05*10^-12*24.5);
disp('The pole frequency fb is = '+string(fb*10^-3/1000)+' M Hz ');
fc = 1/(2*%pi*Cs*re3);
disp('The pole frequency fc is = '+string(fc*10^-3/1000)+' M Hz ');
disp(' Hence fa is a dominant pole frequency ');
|
b096ef9c40f48100ed701f72209d34cf50f45cf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.40/example5_40.sce | 5665dc644be830d2edfea8911ff204d6e69692dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 890 | sce | example5_40.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.40
// Page 292
printf("Example 5.40, Page 292 \n \n");
// solution
// basis 4 kmol of HCl gas
O2req = 1 // kmol
O2spply = 1.35*1
N2 = 1.35*79/21
air = O2spply+N2
HClbrnt = .8*4
HCl = 4-HClbrnt
O2 = O2spply-.8
Cl2 = .8*2
H2O = .8*2
printf(" (a) \n \n Composition of dry product gas stream : \n Component Dry product gas stream,kmol \n HCl "+string(HCl)+" \n O2 "+string(O2)+" \n Cl2 "+string(Cl2)+" \n H2O "+string(H2O)+" \n N2 "+string(N2)+" \n \n \n (b) \n \n ")
H2 = 114.4*1000*.8
// H2 = intgr(from 298.15 to T){286.554+12.596*10^-3*T+63.246*10^-6*T^2-25.933*10^-9*T^3}dT
// solving it
T = 599.5 // K
printf(" Adiabatic reaction temperature of product gas stream = "+string(T)+" K.")
|
73469b47b9ddea6b58b814bb337875ae9a21343d | d145a801b8f64afaf9dd0330b93936ca3343cbdb | /test_suite/geom.tst | c9d4c05816c2dfb9298438b07e2732f475fd79e1 | [] | no_license | ChemCryst/crystals | 0fff27ff8576b7c7199e1eaa671407d50132b98e | 8087c68d7f05b903473cee1cb131c06f819dc660 | refs/heads/master | 2023-08-17T16:36:03.675124 | 2023-06-26T10:54:29 | 2023-06-26T10:54:29 | 152,602,292 | 2 | 0 | null | 2023-06-26T10:54:30 | 2018-10-11T14:09:45 | Roff | UTF-8 | Scilab | false | false | 32,259 | tst | geom.tst | \SET TIME SLOW
\RELE PRINT CROUTPUT:
#title Geom test using CYCLo data
#LIST 1
REAL 4.9249 11.0348 15.3223 90.0000 90.0000 90.0000
END
#set print off
#LIST 2
CELL NSYM= 4 LATT=P CENTRIC=N
SYMM x,y,z
SYMM x+1/2,-y+1/2,-z
SYMM -x,y+1/2,-z+1/2
SYMM -x+1/2,-y,z+1/2
SPACEGROUP P 21 21 21
CLASS Orthorhombic
END
#LIST 3
READ NSCATTERERS= 4
SCAT TYPE= C 0.003300 0.001600 2.310000 20.843920
CONT 1.020000 10.207510 1.588600 0.568700
CONT 0.865000 51.651249 0.215600
SCAT TYPE= H 0.000000 0.000000 0.493000 10.510910
CONT 0.322910 26.125731 0.140190 3.142360
CONT 0.040810 57.799770 0.003040
SCAT TYPE= N 0.006100 0.003300 12.212610 0.005700
CONT 3.132200 9.893310 2.012500 28.997540
CONT 1.166300 0.582600 -11.529010
SCAT TYPE= O 0.010600 0.006000 3.048500 13.277110
CONT 2.286800 5.701110 1.546300 0.323900
CONT 0.867000 32.908939 0.250800
END
#LIST 4
SCHEME 9 NPARAM= 0 TYPE=1/2FO
CONT WEIGHT= 2.0000000 MAX= 10000.0000 ROBUST=N
CONT DUNITZ=N TOLER= 6.0000 DS1= 1.0000
CONT DS2= 1.0000 QUASI= 0.2500
END
#
# Punched on 04/12/15 at 09:21:16
#
#LIST 5
READ NATOM = 22, NLAYER = 0, NELEMENT = 0, NBATCH = 0
OVERALL 1.592849 0.050000 0.050000 1.000000 -0.511109 0.0000000
ATOM O 1. 1.000000 0. 0.477258 0.392352 0.183637
CON U[11]= 0.023088 0.048447 0.050445 -0.002186 0.000200 -0.001381
CON SPARE= 1.00 0 25165827 1 0
ATOM C 2. 1.000000 0. 0.236061 0.383744 0.165562
CON U[11]= 0.030719 0.024641 0.033005 0.002766 -0.000548 -0.001666
CON SPARE= 1.00 0 25690115 1 0
ATOM N 3. 1.000000 0. 0.040243 0.408935 0.224064
CON U[11]= 0.022269 0.037461 0.032223 -0.002291 -0.002869 -0.001667
CON SPARE= 1.00 0 25690115 1 0
ATOM C 4. 1.000000 0. 0.103271 0.452868 0.309483
CON U[11]= 0.027469 0.031424 0.032134 -0.003174 0.000680 0.001281
CON SPARE= 1.00 0 25690115 1 0
ATOM C 5. 1.000000 0. 0.236686 0.368851 0.371802
CON U[11]= 0.037268 0.030805 0.031857 -0.003470 0.001192 -0.002417
CON SPARE= 1.00 0 25165827 1 0
ATOM O 6. 1.000000 0. 0.229334 0.253887 0.344989
CON U[11]= 0.062662 0.027293 0.036639 -0.002483 -0.008633 0.001617
CON SPARE= 1.00 0 25165827 1 0
ATOM C 7. 1.000000 0. 0.356782 0.167334 0.403307
CON U[11]= 0.086980 0.036296 0.043681 0.001908 -0.007191 0.013216
CON SPARE= 1.00 0 25165827 1 0
ATOM O 8. 1.000000 0. 0.335229 0.400850 0.440110
CON U[11]= 0.070872 0.038360 0.035038 -0.005396 -0.013762 0.000531
CON SPARE= 1.00 0 25165827 1 0
ATOM C 9. 1.000000 0. 0.168427 0.586205 0.319884
CON U[11]= 0.039301 0.028989 0.044713 -0.003852 0.000315 0.004049
CON SPARE= 1.00 0 25690115 1 0
ATOM C 10. 1.000000 0. -0.100871 0.539932 0.349225
CON U[11]= 0.033820 0.049376 0.050067 -0.011555 0.004850 0.010119
CON SPARE= 1.00 0 25690115 1 0
ATOM C 11. 1.000000 0. 0.139365 0.347736 0.076300
CON U[11]= 0.046286 0.038501 0.031319 0.000927 0.000123 -0.004700
CON SPARE= 1.00 0 25165827 1 0
ATOM H 73. 1.000000 1. 0.357488 0.088761 0.371806
CON U[11]= 0.082099 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 72. 1.000000 1. 0.262393 0.163227 0.459718
CON U[11]= 0.083082 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 71. 1.000000 1. 0.539974 0.192683 0.409729
CON U[11]= 0.083145 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 91. 1.000000 1. 0.315134 0.604714 0.363533
CON U[11]= 0.045092 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 92. 1.000000 1. 0.191155 0.634545 0.266038
CON U[11]= 0.045159 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 101. 1.000000 1. -0.134139 0.532310 0.413201
CON U[11]= 0.052677 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 102. 1.000000 1. -0.277130 0.556620 0.317199
CON U[11]= 0.054638 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 113. 1.000000 1. -0.049340 0.328654 0.077124
CON U[11]= 0.058242 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 112. 1.000000 1. 0.170588 0.414305 0.037052
CON U[11]= 0.059595 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 111. 1.000000 1. 0.250689 0.277264 0.059050
CON U[11]= 0.059391 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8650762 0 0
ATOM H 31. 1.000000 1. -0.127952 0.399353 0.209756
CON U[11]= 0.037642 0.000000 0.000000 0.000000 0.000000 0.000000
CON SPARE= 1.00 0 8912897 0 0
END
#
# Punched on 04/12/15 at 09:21:23
#
#LIST 12
BLOCK
CONT SCALE
CONT O ( 1 ,X'S,U'S) UNTIL C ( 11 )
CONT H ( 31 ,X'S)
CONT ENANTIO
RIDE C ( 7,X'S) H ( 73,X'S) H ( 72,X'S) H ( 71,X'S)
RIDE C ( 9,X'S) H ( 91,X'S) H ( 92,X'S)
RIDE C ( 10,X'S) H ( 101,X'S) H ( 102,X'S)
RIDE C ( 11,X'S) H ( 113,X'S) H ( 112,X'S) H ( 111,X'S)
END
# Remove space after hash to activate next line
# USE LAST
#LIST 13
CRYST FRIEDELPAIRS=N TWINNED=N SPREAD=GAUSSIA
DIFFRACTION GEOMETRY=UNKNOWN RADIATION=XRAYS
CONDI WAVEL= 0.71073 0.000 0.000 0.5869359 0.6427007 0.0001788 90.000
MATR 0.000000000 0.000000000 0.000000000
CONT 0.000000000 0.000000000 0.000000000
CONT 0.000000000 0.000000000 0.000000000
END
#
# Punched on 04/12/15 at 09:21:54
#
#LIST 16
DIST 1.5,.01 = C(9) TO C(10)
REM HREST START (DO NOT REMOVE THIS LINE)
REM NO H NO #H U MULT DIST
REM C-H
REM >4 1.5 .96 DISORDER
REM 1 1 1.2 .93 C C-H (ACETYLENE)
REM 1 2 1.2 .93 C-C(H)-C
REM 1 3 1.2 .98 (C)3-C-H
REM 2 1 1.2 .93 C=C-H(2)
REM 2 2 1.2 .97 (C)2-C-(H)2
REM 3 1 1.5 .96 C-C-(H)3
REM N-H
REM >4 1.5 .89 DISORDER
REM 1 1 1.2 .86 N-N/H
REM 1 2 1.2 .86 (C)2-N-H
REM 1 3 1.2 .89 (C)3-N-H
REM 2 1 1.2 .86 C-N-(H)2
REM 2 2 1.2 .89 (C)2-N-(H)2
REM 3 1 1.2 .89 C-H-(H)3
REM O-H
REM 1 1 1.5 .82 O-H
REM
REM DIST ESD = 0.02
REM VIB ESD = 0.002
REM ANGLE ESD = 2.0
REM
REM TO ACTIVATE THE VIB RESTRAINTS, REMOVE LEADING REM
REM H1-N-R2
DIST 0.86, 0.02 =
CONT N ( 3) TO H(31)
REM REST 0.037, 0.002 = H(31,U[ISO])
ANGLE 0.0, 2.0 = MEAN
CONT H(31) TO N ( 3) TO C(2)
CONT H(31) TO N ( 3) TO C(4)
REM HREST END (DO NOT REMOVE THIS LINE)
END
# Remove space after hash to activate next line
# USE LAST
#LIST 23
MODIFY ANOM=Y EXTI=N LAYER=N BATCH=N
CONT PARTI=N UPDA=N ENANT=Y
MINIMI NSING= 0 F-SQ=Y RESTR=Y REFLEC=Y
ALLCYCLES U[MIN]= 0.00000000
CONT MIN-R= 0.000000 MAX-R= 100.000
CONT MIN-WR= 0.000000 MAX-WR= 100.000
CONT MIN-SUMSQ= 0.030000 MAX-SUMSQ= 10000.000
CONT MIN-MINFUNC= 0.000000 MAX-MINFUNC= 999999986991104.000
INTERCYCLE MIN-DR= -5.000000 MAX-DR= 100.000
CONT MIN-DWR= -5.000000 MAX-DWR= 100.000
CONT MIN-DSUMSQ=-10.000000 MAX-DSUMSQ= 10000.000
CONT MIN-DMINFUNC= 0.000000 MAX-DMINFUNC= 999999986991104.000
REFINE SPEC=CONSTRAIN UPDATE=PARAMETERS TOL= 0.60000
END
#LIST 28
READ NSLICE= 0 NOMIS= 0 NCOND= 0
MINIMA
CONT SINTH/L**2 = 0.01000
CONT RATIO = -3.00000
END
#LIST 29
READ NELEM= 4
# covalent,vdw,ionic,number,muA,weight,colour
ELEMENT C 0.7700 1.7800 0.0100 7.000 1.150 12.011 GREE
ELEMENT H 0.3200 1.3300 -0.3000 11.000 0.062 1.008 LGRE
ELEMENT N 0.7700 1.7800 -0.1000 1.000 1.960 14.007 BLUE
ELEMENT O 0.7700 1.7800 1.3600 3.000 3.250 15.999 RED
END
#LIST 31
AMULT 0.00000036
MATRIX 0.11111 0.00000 0.00000 0.00000 0.00000 0.00000
CONT 0.69444 0.00000 0.00000 0.00000 0.00000
CONT 1.00000 0.00000 0.00000 0.00000
CONT 0.00000 0.00000 0.00000
CONT 0.00000 0.00000
CONT 0.00000
END
#
# Punched on 04/12/15 at 09:26:22
#
#LIST 40
DEFAULTS TOLTYPE= 1 TOLERANCE= 1.210 MAXBONDS = 12
READ NELEM= 0 NPAIR= 0 NMAKE= 0 NBREAK= 0
END
# Remove space after hash to activate next line
# USE LAST
#
# Punched on 04/12/15 at 09:26:28
#
#LIST 6
READ NCOEFFICIENT =5, TYPE=COMPRESSED, UNIT=DATAFILE arch=no
INPUT H K L /FO/ RATIO
MULTIPLIERS 1.0 1.0 1.0 12.465121269 16.281721115
END
0 0 2 494 547 4 103 284 6 37 35 512 1 0 2 19 47 3 -12 -9 4 15 20 5 122 430 6 35
47 512 2 0 0 108 79 1 85 635 2 511 753 3 99 544 4 171 570 5 73 231 6 -32 -36 512
3 0 1 671 957 2 71 523 3 123 723 4 254 768 5 84 335 6 27 26 512 4 0 1 374 688 2
30 105 3 285 780 4 174 649 5 35 55 6 58 81 512 5 0 1 905 722 2 292 844 3 62 255
4 152 491 5 118 208 512 6 0 0 874 396 1 165 635 2 52 283 3 104 439 4 178 498 5
-16 -11 512 7 0 1 32 104 2 254 728 3 149 540 4 56 162 5 39 47 512 8 0 0 352 343
1 200 666 2 310 736 3 210 417 4 256 483 5 25 20 512 9 0 1 330 546 2 294 729 3 97
235 4 113 182 512 10 0 0 11 3 1 106 344 2 118 396 3 87 135 4 112 179 512 11 0 1
25 30 2 12 6 3 80 116 4 41 38 512 12 0 0 84 133 1 93 224 2 16 13 3 62 74 512 13
0 1 12 4 2 106 188 512 14 0 0 173 168 1 12 2 512
0 1 1 559 367 2 579 785 3 379 767 4 75 328 5 81 290 6 58 116 512 1 1 -6 38 55 -5
178 491 -4 68 256 -3 140 530 -2 485 763 2 484 784 3 139 658 4 72 306 5 181 476 6
24 19 512 2 1 -6 51 78 -5 124 396 -4 299 641 -3 80 452 -2 317 841 -1 509 900 0
736 192 1 507 828 2 321 805 3 81 434 4 301 696 5 126 409 6 44 66 512 3 1 -6 22
19 -5 214 541 -4 131 622 -3 392 758 -2 199 767 -1 297 816 0 422 542 1 295 896 2
200 763 3 387 912 4 135 661 5 211 612 6 11 3 512 4 1 -6 34 29 -5 80 201 -4 132
633 -3 154 733 -2 448 846 -1 442 671 0 358 399 1 443 874 2 446 746 3 158 636 4
131 562 5 77 217 6 12 2 512 5 1 -5 35 45 -4 37 108 -3 236 672 -2 97 491 -1 195
644 0 72 323 1 191 661 2 97 617 3 232 712 4 36 103 5 40 69 512 6 1 -5 28 30 -4
170 529 -3 152 578 -2 133 662 -1 181 660 0 548 552 1 178 642 2 132 699 3 150 500
4 172 461 5 38 58 512 7 1 -5 204 315 -4 65 175 -3 221 602 -2 185 643 -1 184 585
0 123 394 1 189 561 2 190 701 3 220 619 4 66 170 5 205 266 512 8 1 -5 92 176 -4
112 287 -3 93 333 -2 156 554 -1 184 473 0 279 479 1 184 562 2 157 612 3 94 265 4
110 333 5 92 172 512 9 1 -4 99 149 -3 138 331 -2 120 519 -1 306 461 0 29 48 1
315 566 2 118 428 3 142 377 4 107 161 512 10 1 -4 66 85 -3 28 20 -2 157 389 -1
160 440 0 220 369 1 166 445 2 158 372 3 36 51 4 60 71 512 11 1 -4 50 47 -3 25 21
-2 28 64 -1 18 20 0 65 152 1 18 22 2 30 66 3 -15 -9 4 54 51 512 12 1 -3 58 68 -2
75 163 -1 21 21 0 35 54 1 16 9 2 71 182 3 42 67 512 13 1 -2 62 129 -1 50 95 0 47
65 1 49 81 2 55 92 512 14 1 -1 32 37 0 58 83 1 46 71 512
0 2 1 942 367 2 414 813 3 351 728 4 212 655 5 93 292 6 44 63 512 1 2 -6 55 92 -5
144 352 -4 229 676 -3 326 628 -2 369 825 -1 412 647 0 -6 -7 1 412 797 2 368 783
3 323 751 4 225 674 5 152 438 6 59 112 512 2 2 -6 4 1 -5 106 338 -4 189 624 -3
107 496 -2 282 769 -1 423 867 0 615 428 1 424 898 2 283 758 3 111 588 4 185 611
5 107 343 6 22 15 512 3 2 -6 25 22 -5 76 304 -4 175 733 -3 404 855 -2 296 889 -1
214 802 0 999 729 1 218 870 2 291 864 3 401 841 4 180 758 5 77 230 6 24 14 512 4
2 -6 55 81 -5 125 428 -4 244 648 -3 67 393 -2 329 778 -1 343 731 0 73 327 1 347
902 2 328 814 3 68 325 4 246 653 5 117 376 6 55 78 512 5 2 -5 126 299 -4 168 566
-3 177 670 -2 344 756 -1 101 507 0 45 179 1 100 649 2 349 932 3 175 656 4 168
550 5 124 348 512 6 2 -5 111 251 -4 61 185 -3 93 324 -2 310 824 -1 385 674 0 604
550 1 387 647 2 313 836 3 97 429 4 69 219 5 116 246 512 7 2 -5 -24 -21 -4 135
322 -3 121 480 -2 58 293 -1 165 583 0 289 534 1 166 668 2 56 236 3 122 490 4 137
395 5 -24 -20 512 8 2 -5 15 8 -4 123 228 -3 140 422 -2 238 705 -1 146 381 0 72
248 1 144 603 2 234 629 3 146 373 4 119 276 5 33 40 512 9 2 -4 80 121 -3 68 107
-2 145 522 -1 60 178 0 -7 -2 1 63 211 2 140 529 3 70 179 4 82 134 512 10 2 -4 67
92 -3 140 220 -2 105 341 -1 76 275 0 44 102 1 79 262 2 103 399 3 130 317 4 61 62
512 11 2 -4 48 48 -3 37 41 -2 44 118 -1 59 126 0 131 325 1 63 181 2 56 173 3 42
49 4 39 40 512 12 2 -3 60 75 -2 22 20 -1 143 310 0 33 59 1 139 270 2 21 25 3 48
70 512 13 2 -2 46 66 -1 56 96 0 19 18 1 63 114 2 46 73 512 14 2 -1 20 13 0 58 94
1 18 11 512
0 3 1 450 663 2 386 762 3 88 475 4 120 535 5 25 32 6 10 2 512 1 3 -6 59 100 -5
114 333 -4 79 345 -3 206 707 -2 519 774 0 184 668 2 514 798 3 204 749 4 81 363 5
117 380 6 57 111 512 2 3 -6 11 3 -5 65 170 -4 88 387 -3 55 228 -2 609 704 -1 379
918 0 132 424 1 377 778 2 600 812 3 55 265 4 86 352 5 64 192 6 0 0 512 3 3 -6 67
114 -5 174 556 -4 212 675 -3 152 636 -2 393 848 -1 350 601 1 357 777 2 385 877 3
149 687 4 214 716 5 172 451 6 58 91 512 4 3 -6 33 28 -5 37 72 -4 49 183 -3 192
774 -2 276 839 -1 250 660 0 170 548 1 250 935 2 282 707 3 195 721 4 50 167 5 21
28 6 -7 -1 512 5 3 -5 87 229 -4 89 435 -3 57 227 -2 292 765 -1 379 678 0 230 578
1 383 766 2 290 774 3 55 223 4 93 337 5 79 220 512 6 3 -5 46 69 -4 125 379 -3
154 593 -2 280 789 -1 441 699 0 352 596 1 446 738 2 282 781 3 157 599 4 126 371
5 53 100 512 7 3 -5 47 83 -4 35 69 -3 156 544 -2 305 761 -1 131 487 0 300 604 1
131 579 2 306 728 3 155 589 4 30 56 5 41 54 512 8 3 -5 24 12 -4 92 211 -3 108
330 -2 148 449 -1 324 567 0 51 158 1 321 658 2 145 567 3 103 278 4 90 250 5 19
14 512 9 3 -4 82 113 -3 73 122 -2 184 432 -1 89 298 0 365 460 1 85 346 2 181 507
3 72 188 4 73 111 512 10 3 -4 47 50 -3 71 120 -2 38 41 -1 148 387 0 102 310 1
152 405 2 27 65 3 60 128 4 44 50 512 11 3 -3 -8 -1 -2 94 212 -1 72 192 0 261 385
1 60 177 2 84 224 3 59 65 512 12 3 -2 58 91 -1 149 291 0 54 120 1 154 334 2 47
91 3 -10 -2 512 13 3 -2 61 95 -1 70 146 0 77 160 1 73 129 2 71 134 512 14 3 0
-21 -18 512
0 4 1 35 330 2 650 758 3 86 457 4 37 104 5 189 498 6 76 150 512 1 4 -6 38 55 -5
0 0 -4 358 670 -3 344 736 -2 224 782 -1 568 700 0 10 23 1 552 658 2 221 787 3
337 796 4 359 590 5 9 3 6 41 61 512 2 4 -6 47 49 -5 86 237 -4 133 542 -3 282 796
-2 367 903 -1 333 943 0 352 726 1 336 778 2 359 824 3 282 717 4 134 551 5 82 249
6 52 76 512 3 4 -6 55 52 -5 57 169 -4 94 463 -3 110 609 -2 144 780 -1 387 777 0
142 378 1 394 895 2 143 612 3 112 576 4 99 412 5 60 164 6 78 96 512 4 4 -6 54 62
-5 173 543 -4 96 479 -3 89 517 -2 268 889 -1 687 656 0 22 74 1 699 905 2 268 708
3 85 398 4 90 343 5 172 444 6 62 105 512 5 4 -5 28 38 -4 140 588 -3 106 532 -2
163 665 -1 274 697 0 871 598 1 275 747 2 162 706 3 108 509 4 130 464 5 30 41 512
6 4 -5 65 118 -4 50 130 -3 171 625 -2 205 609 -1 105 373 0 87 377 1 106 615 2
205 747 3 171 568 4 48 127 5 63 122 512 7 4 -5 101 142 -4 118 338 -3 95 336 -2
61 229 -1 113 421 0 10 5 1 116 642 2 67 298 3 93 366 4 121 352 5 100 204 512 8 4
-5 25 15 -4 134 205 -3 35 45 -2 236 563 -1 111 359 0 229 555 1 113 533 2 233 611
3 47 97 4 132 381 5 35 39 512 9 4 -4 18 7 -3 61 82 -2 153 451 -1 169 452 0 517
589 1 171 640 2 149 527 3 60 143 4 16 6 512 10 4 -4 39 30 -3 41 55 -2 110 188 -1
219 371 0 212 394 1 219 519 2 110 371 3 46 76 4 12 2 512 11 4 -3 98 130 -1 92
248 0 181 329 1 88 271 2 77 250 3 98 206 512 12 4 -3 90 115 -2 35 47 -1 94 235 0
21 27 1 80 226 2 38 67 3 93 168 512 13 4 -2 88 154 -1 15 9 0 124 216 1 22 21 2
81 142 512 14 4 0 38 39 512
0 5 1 9 14 2 666 628 3 484 773 4 49 167 5 32 57 6 88 107 512 1 5 -6 42 30 -5 157
355 -4 271 612 -3 291 732 -2 68 373 -1 438 874 0 750 718 1 437 794 2 69 495 3
288 712 4 271 665 5 152 412 6 44 32 512 2 5 -6 58 64 -5 199 490 -4 258 641 -3
151 649 -2 202 876 -1 237 980 0 372 776 1 240 777 2 201 728 3 147 709 4 259 683
5 204 490 6 77 111 512 3 5 -6 68 78 -5 77 269 -4 216 633 -3 98 527 -2 30 135 -1
365 785 0 909 539 1 367 916 2 34 149 3 100 521 4 214 500 5 76 221 6 48 49 512 4
5 -5 36 67 -4 57 224 -3 163 710 -2 175 842 -1 384 696 0 465 816 1 384 929 2 171
685 3 163 660 4 53 154 5 42 68 512 5 5 -5 66 162 -4 193 568 -3 105 527 -2 203
654 -1 296 496 0 299 536 1 301 785 2 204 674 3 110 485 4 194 531 5 65 143 512 6
5 -5 95 149 -4 125 364 -3 280 680 -2 83 361 -1 262 548 0 150 522 1 262 827 2 81
456 3 276 653 4 127 414 5 89 192 512 7 5 -5 85 111 -4 78 225 -3 277 538 -2 147
484 -1 110 398 0 473 601 1 119 598 2 146 590 3 288 589 4 81 237 5 75 132 512 8 5
-5 47 35 -4 33 32 -3 166 367 -2 85 314 -1 274 526 0 87 357 1 276 726 2 86 356 3
165 392 4 39 63 5 69 103 512 9 5 -4 98 156 -3 86 179 -2 132 301 -1 335 460 0 249
552 1 338 692 2 138 463 3 81 194 4 111 156 512 10 5 -4 108 127 -3 122 237 -2 133
225 -1 85 251 0 200 417 1 87 304 2 128 402 3 120 198 4 104 128 512 11 5 -3 26 21
-1 73 176 0 93 229 1 72 215 2 60 142 3 36 53 512 12 5 -3 61 76 -2 39 63 -1 87
184 0 46 107 1 84 202 2 46 80 3 42 60 512 13 5 -2 57 71 -1 63 108 0 114 205 1 52
91 2 54 93 512
0 6 0 530 626 1 109 692 2 226 838 3 158 669 4 209 638 5 196 463 6 72 91 512 1 6
-6 -12 -2 -5 71 182 -4 213 572 -3 209 686 -2 276 704 -1 163 999 0 191 885 1 167
667 2 270 805 3 211 699 4 210 550 5 71 205 6 29 22 512 2 6 -6 40 34 -5 60 197 -4
196 581 -3 125 678 -2 397 799 -1 687 939 0 224 632 1 680 695 2 395 700 3 126 723
4 196 696 5 57 110 6 35 27 512 3 6 -5 97 316 -4 93 430 -3 140 687 -2 25 109 -1
125 748 0 226 755 1 128 858 2 24 77 3 139 610 4 91 324 5 97 225 512 4 6 -5 113
333 -4 174 578 -3 210 722 -2 132 702 -1 23 54 0 341 811 1 26 143 2 130 610 3 210
731 4 174 497 5 112 263 512 5 6 -5 88 186 -4 151 459 -3 113 540 -2 298 620 -1 88
349 0 131 643 1 92 596 2 295 734 3 112 488 4 148 458 5 99 230 512 6 6 -5 101 133
-4 40 101 -3 100 403 -2 233 618 -1 129 425 0 525 625 1 134 670 2 231 737 3 97
339 4 47 106 5 104 225 512 7 6 -5 95 125 -4 143 323 -3 175 412 -2 172 527 -1 225
477 0 126 378 1 226 745 2 178 543 3 176 498 4 144 345 5 73 139 512 8 6 -4 170
196 -3 176 377 -2 157 439 -1 147 380 0 211 577 1 150 588 2 161 605 3 176 406 4
175 328 512 9 6 -4 18 10 -3 79 173 -2 99 207 -1 153 371 0 119 412 1 149 570 2
100 392 3 77 186 4 45 38 512 10 6 -4 20 10 -3 156 204 -2 45 67 -1 117 311 0 40
89 1 118 426 2 32 73 3 158 288 4 7 1 512 11 6 -3 10 2 -2 155 266 -1 22 27 0 62
151 1 17 21 2 141 326 3 34 51 512 12 6 -2 57 111 -1 21 17 0 114 234 1 32 47 2 59
92 512 13 6 -1 54 98 0 -13 -8 1 44 66 512
0 7 1 65 369 2 253 729 3 352 740 4 112 424 5 119 301 512 1 7 -5 76 191 -4 142
500 -3 101 506 -2 82 507 -1 417 868 0 446 917 1 412 678 2 80 617 3 100 585 4 136
538 5 73 176 512 2 7 -5 97 218 -4 70 258 -3 142 724 -2 224 764 -1 85 624 0 459
781 1 82 474 2 219 699 3 139 749 4 69 336 5 84 204 512 3 7 -5 28 29 -4 72 298 -3
132 608 -2 443 734 -1 78 491 0 306 855 1 77 568 2 439 770 3 132 625 4 78 287 5
37 56 512 4 7 -5 85 173 -4 59 203 -3 153 682 -2 255 749 -1 384 585 0 17 49 1 386
836 2 249 766 3 155 664 4 57 153 5 80 172 512 5 7 -5 12 4 -4 188 598 -3 45 194
-2 120 419 -1 319 560 0 86 484 1 325 864 2 121 564 3 42 140 4 184 575 5 20 17
512 6 7 -5 18 6 -4 91 289 -3 140 350 -2 51 308 -1 119 413 0 84 410 1 116 638 2
50 217 3 137 438 4 89 305 5 24 13 512 7 7 -5 59 75 -4 55 108 -3 132 318 -2 139
616 -1 163 465 0 269 710 1 158 685 2 138 620 3 129 343 4 59 103 5 56 68 512 8 7
-4 93 155 -3 26 32 -2 82 185 -1 261 445 0 23 46 1 256 676 2 78 335 3 24 30 4 94
207 512 9 7 -4 72 100 -3 28 36 -2 204 284 -1 98 295 0 112 300 1 91 350 2 199 545
3 32 28 4 69 81 512 10 7 -3 37 40 -2 31 34 -1 141 293 0 90 252 1 134 389 2 41 99
3 43 80 512 11 7 -3 36 31 -2 97 134 -1 89 209 0 142 297 1 87 215 2 89 190 3 35
55 512 12 7 -2 115 197 -1 88 177 0 75 145 1 80 151 2 119 200 512 13 7 -1 12 4 0
12 3 1 36 45 512
0 8 0 866 487 1 136 775 2 89 645 3 85 536 4 119 499 5 18 9 512 1 8 -5 72 102 -4
91 379 -3 219 707 -2 178 874 -1 510 883 0 416 792 1 508 606 2 175 806 3 218 819
4 88 403 5 68 100 512 2 8 -5 155 377 -4 153 521 -3 76 428 -2 69 387 -1 421 859 0
303 668 1 411 722 2 74 437 3 70 340 4 154 487 5 153 207 512 3 8 -5 44 64 -4 77
307 -3 200 677 -2 177 785 -1 91 619 0 168 613 1 93 502 2 175 709 3 200 733 4 73
267 5 44 42 512 4 8 -5 107 206 -4 113 418 -3 245 697 -2 121 586 -1 251 759 0 346
713 1 253 788 2 117 532 3 244 703 4 109 368 5 112 177 512 5 8 -5 90 181 -4 55
185 -3 90 405 -2 127 485 -1 250 568 0 27 94 1 248 819 2 125 569 3 93 361 4 53
171 5 81 116 512 6 8 -5 38 24 -4 31 39 -3 16 16 -2 65 364 -1 345 569 0 299 630 1
344 780 2 68 345 3 16 19 4 31 42 5 39 24 512 7 8 -4 76 101 -3 92 211 -2 241 495
-1 183 455 0 78 379 1 186 695 2 244 621 3 96 344 4 77 185 512 8 8 -4 69 104 -3
86 228 -2 89 254 -1 295 336 0 41 105 1 294 735 2 87 357 3 95 170 4 73 138 512 9
8 -4 11 2 -3 99 144 -2 145 244 -1 73 193 0 129 385 1 76 285 2 140 470 3 105 259
4 32 21 512 10 8 -3 108 159 -2 75 122 -1 61 144 0 104 276 1 67 202 2 78 199 3
116 168 512 11 8 -3 128 174 -2 65 136 -1 97 228 0 42 82 1 100 239 2 68 136 3 113
197 512 12 8 -2 72 114 -1 146 257 0 33 60 1 144 251 2 80 151 512 13 8 0 102 159
512
0 9 1 134 648 2 -12 -14 3 148 587 4 133 515 5 99 141 512 1 9 -5 68 118 -4 8 5 -3
290 766 -2 221 870 -1 245 871 0 9 14 1 246 784 2 220 725 3 289 795 4 -7 -5 5 60
82 512 2 9 -5 44 59 -4 99 408 -3 228 707 -2 289 839 -1 39 195 0 197 616 1 37 181
2 285 439 3 226 630 4 97 351 5 23 15 512 3 9 -4 131 486 -3 171 567 -2 246 731 -1
149 780 0 182 808 1 151 661 2 244 619 3 171 640 4 130 402 5 20 10 512 4 9 -5 42
48 -4 149 439 -3 166 542 -2 96 463 -1 103 525 0 224 686 1 104 535 2 102 498 3
163 602 4 142 339 5 52 44 512 5 9 -5 47 68 -4 119 328 -3 164 429 -2 179 540 -1
215 622 0 336 800 1 216 689 2 177 717 3 169 433 4 123 295 5 45 42 512 6 9 -4 59
82 -3 79 220 -2 97 408 -1 167 533 0 83 453 1 167 637 2 98 479 3 80 290 4 64 144
5 51 55 512 7 9 -4 71 90 -3 67 172 -2 20 51 -1 237 441 0 187 478 1 245 678 2 7 5
3 73 185 4 76 172 512 8 9 -3 25 27 -2 55 201 -1 82 182 0 88 328 1 76 352 2 54
222 3 7 2 4 110 149 512 9 9 -4 27 18 -3 96 145 -2 171 426 -1 65 160 0 68 174 1
61 216 2 169 385 3 99 219 512 10 9 -3 46 43 -2 73 121 -1 105 252 0 49 122 1 107
266 2 64 145 3 46 77 512 11 9 -2 72 133 -1 50 83 0 50 97 1 45 98 2 68 143 512 12
9 -1 20 13 0 -22 -22 1 0 0 512
0 10 0 227 525 1 57 281 2 355 756 3 179 688 4 89 311 5 39 33 512 1 10 -5 12 3 -4
132 458 -3 327 709 -2 132 698 -1 99 643 0 75 531 1 99 601 2 128 640 3 329 712 4
135 445 5 -8 -1 512 2 10 -5 85 169 -4 228 530 -3 181 761 -2 164 718 -1 138 663 0
137 933 1 141 693 2 161 737 3 178 626 4 229 451 5 85 116 512 3 10 -4 53 115 -3
298 597 -2 123 529 -1 307 769 0 379 775 1 303 703 2 119 597 3 294 663 4 52 70 5
9 2 512 4 10 -5 103 183 -4 123 312 -3 137 435 -2 60 251 -1 226 716 0 118 582 1
221 837 2 61 391 3 135 453 4 115 180 5 112 150 512 5 10 -5 24 22 -4 127 353 -3
72 236 -2 72 290 -1 156 670 0 73 395 1 155 696 2 72 393 3 75 294 4 121 223 5 17
6 512 6 10 -4 65 84 -3 48 94 -2 197 459 -1 253 527 0 235 589 1 256 755 2 203 529
3 48 106 4 78 97 512 7 10 -4 20 13 -3 147 334 -2 97 342 -1 94 287 0 398 536 1
101 491 2 93 351 3 146 415 4 10 2 512 8 10 -4 93 122 -3 47 72 -2 150 402 -1 192
410 0 218 478 1 191 517 2 150 381 3 35 69 4 100 133 512 9 10 -3 81 128 -2 30 30
-1 110 280 0 40 88 1 109 367 2 39 66 3 78 127 512 10 10 -3 38 40 -1 57 136 0 10
3 1 57 123 2 -30 -23 3 34 34 512 11 10 -2 44 59 -1 62 125 0 141 273 1 69 156 2
45 83 512 12 10 -1 113 162 0 -23 -19 1 117 173 512
0 11 1 51 244 2 183 748 3 39 175 4 142 231 5 6 1 512 1 11 -5 39 58 -4 85 185 -3
90 473 -2 228 735 -1 439 727 0 217 735 1 436 797 2 229 622 3 82 274 4 92 143 5
43 39 512 2 11 -5 25 22 -4 20 23 -3 130 552 -2 280 686 -1 339 840 0 187 588 1
339 749 2 284 654 3 128 363 4 -13 -6 5 46 39 512 3 11 -5 50 64 -4 58 133 -3 66
257 -2 182 618 -1 72 420 0 145 664 1 74 414 2 181 508 3 66 220 4 56 95 5 42 43
512 4 11 -5 27 20 -4 83 186 -3 91 350 -2 76 288 -1 28 75 0 156 658 1 32 104 2 74
291 3 92 276 4 83 137 5 -18 -8 512 5 11 -4 26 24 -3 97 320 -2 68 204 -1 260 646
0 161 511 1 261 812 2 63 417 3 97 352 4 26 22 512 6 11 -4 65 96 -3 66 128 -2 197
486 -1 214 650 0 179 588 1 213 632 2 196 485 3 67 245 4 56 67 512 7 11 -4 6 1 -3
96 179 -2 115 396 -1 226 368 0 323 543 1 228 632 2 115 354 3 100 206 4 20 8 512
8 11 -3 48 53 -2 76 265 -1 18 17 0 101 299 1 27 53 2 83 157 3 27 34 512 9 11 -3
60 83 -2 18 11 -1 70 176 0 31 56 1 73 202 2 14 12 3 59 110 512 10 11 -1 64 150 0
4 2 1 67 178 2 75 132 512 11 11 -2 13 6 -1 80 170 0 48 87 1 79 165 2 0 0 512
0 12 0 241 544 1 14 20 2 80 320 3 241 691 4 20 17 5 27 19 512 1 12 -5 27 21 -4
47 69 -3 93 411 -2 39 147 -1 166 670 0 62 290 1 165 470 2 36 169 3 97 447 4 33
27 5 39 29 512 2 12 -5 33 31 -4 71 156 -3 90 356 -2 208 574 -1 146 658 0 114 486
1 148 792 2 210 549 3 90 218 4 66 118 5 6 1 512 3 12 -4 18 20 -3 71 281 -2 28 57
-1 345 723 0 131 595 1 343 532 2 28 65 3 72 300 4 20 14 512 4 12 -4 91 202 -3 79
310 -2 58 232 -1 167 560 0 26 117 1 165 531 2 61 227 3 79 271 4 99 141 512 5 12
-4 23 19 -3 7 2 -2 45 91 -1 88 370 0 28 100 1 88 356 2 38 84 3 19 33 4 -17 -10
512 6 12 -4 57 76 -3 72 114 -2 94 307 -1 152 463 0 30 93 1 151 497 2 97 307 3 74
125 4 65 96 512 7 12 -4 -25 -12 -3 120 177 -2 26 46 -1 70 232 0 77 237 1 65 300
2 28 69 3 117 169 4 32 24 512 8 12 -3 31 29 -2 25 28 -1 164 323 0 19 31 1 161
320 2 21 38 3 35 64 512 9 12 -3 56 81 -1 48 65 0 85 197 1 39 89 2 50 115 3 49 86
512 10 12 -2 -4 -1 -1 35 63 0 43 90 1 35 66 2 19 16 512 11 12 -1 55 96 0 15 14 1
57 84 512
0 13 1 92 426 2 296 457 3 139 362 4 83 185 512 1 13 -4 107 216 -3 9 4 -2 125 493
-1 226 476 0 39 233 1 225 461 2 125 409 3 19 22 4 98 135 512 2 13 -4 77 133 -3
100 301 -2 187 549 -1 114 571 0 232 563 1 118 629 2 180 303 3 101 204 4 71 102
512 3 13 -4 45 66 -3 33 61 -2 94 371 -1 169 696 0 274 584 1 168 571 2 96 437 3
37 54 4 49 58 512 4 13 -4 33 37 -3 103 306 -2 83 291 -1 49 210 0 23 52 1 50 220
2 87 341 3 102 168 4 32 20 512 5 13 -4 122 212 -3 57 111 -2 211 247 -1 158 510 0
110 550 1 160 393 2 206 268 3 47 72 4 126 169 512 6 13 -4 75 84 -3 177 283 -2 46
74 -1 96 332 0 44 157 1 103 201 3 162 202 4 73 91 512 7 13 -3 30 22 -2 16 21 -1
81 256 1 78 399 2 18 41 3 46 110 512 8 13 -3 33 36 -2 42 59 -1 81 244 0 31 84 1
81 179 512 9 13 -2 -17 -8 -1 35 71 0 60 146 1 41 82 2 24 32 512 10 13 -1 50 70 0
95 143 1 34 50 512
0 14 0 65 114 1 211 440 2 19 34 3 43 69 4 37 38 512 1 14 -4 26 24 -3 24 39 -2
162 442 -1 102 378 0 287 639 1 104 324 2 158 414 3 8 2 4 24 21 512 2 14 -4 63
112 -3 50 139 -2 65 247 -1 222 544 0 60 190 1 220 684 2 64 266 3 55 96 4 57 81
512 3 14 -4 45 66 -3 94 273 -2 123 390 -1 177 608 0 181 475 1 178 585 2 126 386
3 91 146 4 62 68 512 4 14 -4 70 118 -3 163 287 -2 25 42 -1 257 473 0 55 185 1
253 417 2 28 55 4 85 109 512 5 14 -3 59 106 -2 110 213 -1 41 118 0 179 428 1 33
85 2 104 161 3 67 116 512 6 14 -3 67 104 -2 -17 -18 -1 109 344 0 16 43 1 107 195
512 7 14 -3 119 182 -2 103 204 -1 79 270 0 67 202 512 8 14 -2 58 88 -1 87 213 1
91 197 512 9 14 -2 62 80 -1 30 30 0 24 29 512 10 14 0 36 44 512
0 15 1 168 333 2 24 46 3 45 73 4 42 47 512 1 15 -3 72 148 -2 56 56 -1 88 312 0
57 337 1 83 217 2 46 118 3 76 176 4 54 69 512 2 15 -4 51 54 -3 79 224 -2 26 43
-1 221 470 0 52 179 1 232 261 2 10 4 3 84 173 4 36 37 512 3 15 -3 93 208 -2 164
358 -1 113 359 0 306 345 1 116 255 2 163 427 3 96 157 512 4 15 -3 66 137 -2 41
80 -1 117 388 0 65 172 1 115 292 3 75 121 512 5 15 -3 67 102 -2 103 234 -1 55
160 0 35 42 1 52 101 3 73 115 512 6 15 -3 124 174 -2 41 62 -1 111 182 0 29 23
512 7 15 -2 69 115 -1 34 63 0 139 202 512 8 15 -2 20 19 -1 61 142 0 52 117 512 9
15 -1 24 30 0 32 52 512
0 16 0 33 36 1 27 23 2 -4 -1 3 49 90 512 1 16 -3 49 77 -2 45 85 -1 163 298 0 58
96 1 158 341 2 42 87 3 57 95 512 2 16 -3 22 26 -2 70 175 -1 127 403 0 126 234 1
126 176 2 72 178 3 24 27 512 3 16 -3 48 77 -2 78 203 -1 46 80 0 34 29 1 50 63 2
76 87 3 45 77 512 4 16 -3 33 39 -2 129 186 -1 8 5 0 157 354 1 17 9 2 133 173 3
15 8 512 5 16 -3 33 38 -2 50 82 -1 65 242 0 29 21 1 64 107 512 6 16 -2 36 46 -1
122 302 0 -22 -16 512 7 16 -2 119 149 -1 41 41 0 9 2 512 8 16 0 29 25 512
0 17 1 -22 -14 2 16 13 3 120 148 512 1 17 -3 44 51 -2 46 105 -1 37 37 0 61 99 1
50 45 2 37 76 3 52 62 512 2 17 -3 20 15 -2 31 45 -1 39 40 0 96 171 1 38 27 2 20
10 3 29 23 512 3 17 -3 16 8 -2 73 169 -1 39 51 0 40 33 1 45 48 2 79 110 3 -20
-11 512 4 17 -1 58 70 0 46 52 1 54 50 2 49 38 512 5 17 -2 50 73 -1 61 97 0 11 2
1 50 56 2 42 41 512 6 17 -1 111 147 0 41 35 1 104 134 512 7 17 0 66 84 1 69 82
512
0 18 1 -28 -21 2 51 86 512 1 18 -1 46 49 0 36 33 1 42 33 2 83 93 512 2 18 -2 79
151 0 -26 -22 1 116 139 2 78 88 512 3 18 -2 60 110 0 45 50 1 27 18 512 4 18 -2
-18 -17 -1 71 99 0 62 59 1 67 77 512 5 18 -1 73 85 0 27 19 512 6 18 0 116 115
512
0 19 1 -18 -9 512 1 19 -1 43 29 0 81 108 1 43 31 512 2 19 0 146 153 1 -7 -1 512
3 19 0 -19 -12 1 73 69 512 4 19 0 24 11 -512
# Remove space after hash to activate next line
# USE LAST
#sfls
calc
end
#sfls
ref
ref
end
#set print on
#esd
end
#geom
atom C(10) C(9) C(4) N(3) C(5)
plane
ex
eval N(3) C(5)
ex
atom C(7) O(6) C(5) C(4)
line
ex
eval O(8)
ex
dihed 1 and 2
ex
atom C(10) C(9) C(4) N(3) C(5)
axes
ex
atom C(11) C(2) N(3) C(4) C(10) C(5) O(8)
tls
ex
eval O(8)
ex
dist
ex
atom N(3) C(4) C(5) O(8) O(6) C(7)
plot
ex
#end
|
d3bd4152fb0b3f749cbfa7f0f91864b63c1f6738 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.26/Exa_6_26.sce | 7d69d90e8a2703ca792137f0339f526c29f7bcf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,349 | sce | Exa_6_26.sce | //Exa 6.26
clc;
clear;
close;
format('v',7);
//Given Data :
m1dot=3;//Kg/min
p1=10;//bar
Tsup1=250;//degree C
m2dot=5;//Kg/min
p2=10;//bar
x2=0.7;//dryness
p3=10;//bar
p4=5;//bar
p5=2;//bar
m3dot=m1dot+m2dot;//Kg/min
hsup1=2826.8;//KJ/Kg(at 10bar)
hf2=762.6;//KJ/Kg(at 10bar)
hf3=762.6;//KJ/Kg(at 10bar)
hfg2=2013.6;//KJ/Kg(at 10bar)
hfg3=2013.6;//KJ/Kg(at 10bar)
//m1dot*hsup1+m2dot*(hf2+x2*hfg2)=m3dot*(hf3+x3*hfg3)
x3=((m1dot*hsup1+m2dot*(hf2+x2*hfg2))/m3dot-hf3)/hfg3;//dryness
disp(x3,"State of steam after mixing(dryness) : ");
x4=0.838;//dryness(from molliers diagram)
disp(x4,"State of steam after throttling(dryness) : ");
sf3=2.138;//KJ/KgK(From steam table
sfg3=4.445;//KJ/KgK(From steam table
sf4=1.860;//KJ/KgK(From steam table)
sfg4=4.959;//KJ/KgK(From steam table
s4SUBs3=m3dot/60*[(sf4+x4*sfg4)-(sf3+x3*sfg3)];//KJ/Kg
disp(s4SUBs3,"Increase in entropy due to throttling in KJ/KgK : ");
h4=2405;//KJ/Kg(from Molliers diagram)
h5=2265;//KJ/Kg(from Molliers diagram)
x5=0.802;//dryness
C4=0;//m/s(from S.F.E.E)
//h4+C4^2/2/1000=h5+C5^2/2/1000
C5=sqrt((h4+C4^2/2/1000-h5)*2*1000);//m/s
p5=2;//bar(from steam table)
Vg5=0.885;//m^3/Kg(from steam table)
//mdot/60=A5*C5/x5/Vg5
A5=m3dot/60/C5*x5*Vg5;//m^2
disp(A5*10^4,"Exit area of nozzle in cm^2 : ");
//Steam table is used to get some data.
|
ce09ff367ce0f8634e323961533939ba293d685f | 0f264141cfa7862f0fbe12007ece1243ce44e469 | /Scilab/A1 Abou Jaoude Yann TD3.sce | 10f173471e5fa839eafc3a098c6128bdcc3b9891 | [] | no_license | yannAbouJaoude/Myrepo | 0dc4f14820658a0d72611d3926f8ca050031625c | 202a467a4bfa77ddcf089e819f3ab068c94d3cef | refs/heads/master | 2020-08-28T04:03:45.687843 | 2019-12-25T18:59:28 | 2019-12-25T18:59:28 | 217,581,992 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,672 | sce | A1 Abou Jaoude Yann TD3.sce | //EXERCICE I
function derivey=y1(t,y),
derivey=-y+t+1;
endfunction
function solution=sy1(t)
solution = t+exp(-t);
endfunction
function [t, y] = Euler(a,b, N, alpha, f)
h = (b-a)/N;
t(1) = a;
y(1) = alpha;
i = 1;
for i=1:N
y(i+1)= y(i)+h*f(t(i), y(i) );
t(i+1)= t(i) + h;
end
endfunction
function [t,y] = heun(a,b,n,alpha,f)
h = (b - a) / n;
halfh = h / 2;
y(1) = alpha;
t(1) = a;
for i = 1 : n
t(i+1) = t(i) + h;
g = f(t(i),y(i));
z = y(i) + h * g;
y(i+1) = y(i) + halfh * ( g + f(t(i+1),z) );
end;
endfunction
function [t,y] = rk4(a,b,n,alpha,f)
h = (b - a) / n;
halfh = h / 2;
y(1) = alpha;
t(1) = a;
h6 = h/6;
for i = 1 : n
t(i+1) = t(i) + h;
th2 = t(i) + halfh;
s1 = f(t(i), y(i));
s2 = f(th2, y(i) + halfh * s1);
s3 = f(th2, y(i) + halfh * s2);
s4 = f(t(i+1), y(i) + h * s3);
y(i+1) = y(i) + (s1 + s2+s2 + s3+s3 + s4) * h6;
end;
endfunction
Alpha=1;
A=0
B=5
//N=10
//N=100
N=1000
//Quand nous augmentons le n 10X, nous reduisonsl'erreur environ 100X
[t,y2]=Euler(A,B,N,Alpha,y1)
[t,y3]=heun(A,B,N,Alpha,y1);
[t,y4]=rk4(A,B,N,Alpha,y1);
sol(1)=sy1(t(1));
for i = 1:N+1
sol(i) = sy1(t(i));
end
subplot(121);
plot(t,sol,'k-');
subplot(121);
plot(t,y2,'b-');
subplot(121);
plot(t,y3,'g-');
subplot(121);
plot(t,y4,'r-');
subplot(122);
erreur = abs(y2-sol);
plot(t,log(erreur),'b-');
subplot(122);
erreur = abs(y3-sol);
plot(t,log(erreur),'g-');
subplot(122);
erreur = abs(y4-sol);
plot(t,log(erreur),'r-');
legend(['Log erreur euler','Log erreur heun','Log erreur rk4'],pos = "2");
|
197e6daf0392c70b4299879262b2639265d515bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3487/CH6/EX6.7/Ex6_7.sce | ddcc96613d58ee3bb9f55846ce59a8dba47dfcd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | Ex6_7.sce | //Chapter 6,Example 6.7 Page 201
clc
clear
//Refer Fig Ex. 6.7
Er = 3.8
v = 21 // KV/cm
ind = v/Er // internal discharge in kV/cm
V = (ind*0.9)+(v*0.1)
printf (" Internal discharge = %f kV/cm\n ",ind)
printf (" V = %f kV rms\n ",V)
//Answer may vary due to round off error
|
8e410781277847e1603815f403e2b40251188184 | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Interpolação Linear.sce | e8f21845effef028675fc57df0678685ec2ad172 | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Interpolação Linear.sce | //interpolação linear
x= [0,15,30,45,60,75,90]
y= [1.000,0.9659,0.8660,0.7071,0.5000,0.2588,0.0000]
i=[1,2,3,4,5,6]
Xi=82.5;//Ponto que eu quero calcular a interpolação
for i=1:(length(x)-1)
if (Xi>= x(i) & Xi<x(i+1))
Yi= y(i) + ((y(i+1)-y(i))/(x(i+1)-x(i)))*(Xi-x(i))
end
end
plot(x,y,'k-o')
disp(Yi)
|
06a85cd485ea3009334dfef92e282271a82cab97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH25/EX25.16/25_16.sce | a5559adc1de19a9f944b5e985fc02d1a2074bcd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 25_16.sce | //ques-25.16
//Calculating average and rms and most probable velocities of a gas
clc
n1=5; n2=10; n3=4;//number of molecules
v1=2; v2=3; v3=6;//corresponding velocities (in m/s)
Cavg=(n1*v1+n2*v2+n3*v3)/(n1+n2+n3);//average velocity
Crms=sqrt((n1*v1^2+n2*v2^2+n3*v3^2)/(n1+n2+n3));//rms velocity
Cmp=sqrt(2/3)*Crms;//most probable velocity
printf("The average, rms and most probable velocities of the gas are %.2f m/s, %.2f m/s and %.0f m/s.",Cavg,Crms,Cmp);
|
cde80c557ef5dc9cff32c217417ea2926f82007f | 297b29fb450286d0f7fa619e58c9f4a86949544a | /IQImbalanceCompensator.sci | ec0adebc0ae2cffe2b7d28a909efcf1d468150ab | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,559 | sci | IQImbalanceCompensator.sci | function [y,estcoef] = IQImbalanceCompensator(in,ic,ss)
y=zeros(length(in),1);
estcoef=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//IQImbalanceCompensator Compensate for I/Q imbalance
//The adaptive algorithm inherent to the I/Q imbalance compensator is
//compatible with M-PSK, M-QAM, and OFDM modulation schemes, where M>2.
//[y,estcoef] = IQImbalanceCompensator(in,ic,ss) estimates the I/Q imbalance in the input signal,
// in, and returns a compensated signal, Y. and also outputs the estimated coefficients, ESTCOEF
// in:input-Input vector signal can be complex
//ic indicates initial coefficient The initial coefficient is a complex scalar
//ss:Adaptation step size Specifies the step size used by the algorithm in estimating the I/Q imbalance
//Author - Harshal Shah
//checking conditions on in
if( isnan(in) | min(size(in))~=1) then
error("IQImbalanceCompensator:improper input");
end
//checking conditions on initial condition
if ( length(ic)~=1 | isnan(ic)) then
error("IQImbalanceCompensator:improper intial conditions");
end
//checking condition on AdaptationStepSize
if ( length(ss)~=1 | isnan(ss)) then
error("IQImbalanceCompensator:improper AdaptationStepSize");
end
w(1)=ic;
for i =1:length(in)
y(i)= in(i)+w(i)*conj(in(i));
w(i+1)= w(i)-ss*y(i)^2;
end
estcoef = w(1:length(in));
|
fb5a1c025568afe82e428ab7c44053edaa5f5c03 | 6b7b3be3c11fc662ae3f0b3e8880218ce3888a07 | /math/SciLab/%ZQuat_p.sci | a4739172608d8fff74ddbe52f5e4f5add2acbfa6 | [] | 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 | 58 | sci | %ZQuat_p.sci | function [] = %ZQuat_p(q)
disp([q.r; q.i]);
endfunction
|
62de2307b0fc5f6b583f8bede3975e514306045a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH3/EX3.7/Ex3_7.sce | dd73d7bde5fe59c6261d0e90853ddd7bfac6ed3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | Ex3_7.sce | // Chapter 3 example 7
clc;
clear;
// Variable declaration
xm = -4.2*10^-6; // magnetic susceptibility in A.m^-1
H = 1.15*10^5; // magnetic field in A.m^-1
// Calculations
uo = 4*%pi*10^-7; // magnetic permeability N·A^-2
M = xm*H // magnetisation in A.m^-1
B = uo*(H + M) // flux density in T
ur = 1+(M/H) // relative permeability
// Output
mprintf('Magnetisation = %3.2f A/m\n flux density = %g Tesla\n relative permeability = %g',M,B,ur);
|
8b4103015b763767615ac9f5442401abafb2eeec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH3/EX3.11/Ex3_11.sce | 529217bd89ea2a8693ffeabe37682e62932a1d4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | Ex3_11.sce | // exa 3.11 Pg 72
clc;clear;close;
// Given Data
N=200;// rpm
P=25;// kW
tau_d=42;// MPa
W=900;// N
L=3;// m
Syt=56;// MPa
Syc=56;// MPa
sigma_d=56;// MPa
T=P*60*10**3/(2*%pi*N);// N.m
M=W*L/4;// N.m
Te=sqrt(M**2+T**2);// N.m
// Te=(%pi/16)*d**3*tau_d
d=(Te*10**3/((%pi/16)*tau_d))**(1/3);// mm
printf('\n shaft diameter(using equivalent torque)-\n d=%.f mm.',d)
Me=(1/2)*(M+sqrt(M**2+T**2));//N.m
// Me=(%pi/32)*d**3*sigma_d
d=(Me*10**3/((%pi/32)*sigma_d))**(1/3);// mm
printf('\n shaft diameter(using equivalent bending moment)-\n d=%.f mm.',d)
printf('\n adopt d=57 mm.')
|
04f55f856bf5af15a58279385aa4ebf358a7904c | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/help/en_US/build_help.sce | 5b20e69c336c2b5cc5bd46ed032df2c99c35eda0 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 692 | sce | build_help.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
add_help_chapter("Utility functions",get_absolute_file_path("build_help.sce") + filesep() + "utility",%T);
add_help_chapter("HW access functions",get_absolute_file_path("build_help.sce") + filesep() + "hw_access",%T);
add_help_chapter("DSP managment",get_absolute_file_path("build_help.sce") + filesep() + "dsp_managment",%T);
add_help_chapter("C/C++ code integration",get_absolute_file_path("build_help.sce") + filesep() + "code_integration",%T);
add_help_chapter("Blocks",get_absolute_file_path("build_help.sce") + filesep() + "blocks",%T);
tbx_build_help(TOOLBOX_TITLE,get_absolute_file_path("build_help.sce"));
|
2d6011c4508f652d3322c84751483991209a56e3 | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Interpolação Polinomial.sce | 501fc1d45beac7da7b091ad484626cfb3f9271a2 | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 739 | sce | Interpolação Polinomial.sce | //interpolação polinomial de vandermonde
clear
close
//Pontos
Xi = [0,15,30,45,60,75,90];
Yi = [1.0000,0.9659,0.8660,0.7071,0.5000,0.2588,0.0000]';
//Matriz de Vandermonde:
//length(x)= n pontos conhecidos (xi,yi)
Xv=[];//matriz vandermonde pra receber as linhas
Xl=[];//matriz de linhas
for i=1:length(Xi)
for j=1:length(Xi)
Xl=[Xl,Xi(i)^(j-1)];
end
Xv=[Xv;Xl];
Xl=[];
end
//Para achar os coeficientes da equação x*a=y temos que I*a=(x^-1)*y
a=inv(Xv)*Yi;
//O polinômio único que queremos interpolar é:
//Pn(x)=a0+a1*x^0+a2x^2+a3x^3+a4x^4+...+an*x^n
function z=f(t)
z=0;
for k=1:length(Xi);
z=z+a(k)*t^(k-1);
end
endfunction
plot(Xi,Yi,"kx");
plot([0:1:100],f([0:1:100]),'r--')
|
b15ca29d280927ea7fc26140fea12fbd86e6529d | e223a3388730b3a8ab63f7565156d5bf7a65e44b | /scilab/start.sce | ca92978a6f317d27c912ae949dca61672fe26b8a | [] | no_license | YSBF/flight_control | 1cfef21947c9497659eea3cf631b4de207a0a851 | fc74021c2bd62819ea4f637b45936ab2edf9e7af | refs/heads/master | 2020-04-15T21:47:09.796455 | 2018-06-07T21:28:29 | 2018-06-07T21:28:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | start.sce | // Reset FPGA
rw(reg.FPGA_RESET,1);
sleep(1);
// FPGA version
v = rw(reg.VERSION);
mprintf('FPGA version: %d\n',v);
rw(reg.LED_MUX,1);
rw(reg.DBG_MUX,1);
// Reset MPU
i2c_write(107,128);
sleep(1);
// MPU version
v = i2c_read(117,1);
mprintf('MPU version: %d\n',v);
i2c_write(107,0); // get MPU out of sleep
sleep(1);
i2c_write(26,1); // Filter ON (=> Fs=1kHz)
i2c_write(107,1); // clk = gyro
i2c_write(56,1); // enable interrupt
// Give I2C control to FPGA
rw(reg.I2C_HOST_CTRL,0);
|
d0c7df380ea00c944b7759dffdbf07ef8649ceca | 6b85d1958ff11075634ed9e0f6dbef2de9548f1b | /ANN_Toolbox/macros/ann_FF_Jacobian.sci | 821c3e6dcc4792d1d7d2a6f6d6585f08b6e19166 | [
"Unlicense"
] | permissive | ademarazn/REDES_NEURAIS | 8a048c13aab33daa4068f52e18b263cc8325884f | a9a35744476d1f7e8405df04d5e4a9f8e4ed4595 | refs/heads/master | 2021-05-06T13:09:56.514632 | 2018-04-25T18:49:30 | 2018-04-25T18:49:30 | 113,248,743 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sci | ann_FF_Jacobian.sci | function J = ann_FF_Jacobian(x,N,W,dx,af)
// This file is part of:
// ANN Toolbox for Scilab 5.x
// Copyright (C) Ryurick M. Hristev
// updated by Allan CORNET INRIA, May 2008
// released under GNU Public licence version 2
// calculates the Jacobian using a finite differences procedure
[lsh,rsh] = argn(0);
// optional parameters
if rsh < 5, af = "ann_log_activ", end;
// required for ann_FF_run
l = [2,size(N,'c')];
// no. of patterns
P = size(x,'c');
// initialize J
J = hypermat([N(size(N,'c')), N(1), P]);
// for each pattern
for p = 1 : P
// for each input
for i = 1 : N(1)
temp = x(i,p);
x(i,p) = temp + dx;
y_p = ann_FF_run(x(:,p), N, W, l, af);
x(i,p) = temp - dx;
y_n = ann_FF_run(x(:,p), N, W, l, af);
J(:,i,p) = (y_p - y_n) / (2 * dx);
end;
end;
endfunction
|
1e7eaa444dd3c0b21a2692b21947b87e8a0f7eda | 8400b4c8142ee1efecb2ea7d1594e2254f19297b | /plotting.sce | fd67056075b76c9eff604690623276e69f09879a | [] | no_license | Rohan1997/Control-Systems-Design | 9dd6189d2d220e37b5ed4faae21836eb22b8898d | a56d7bd64186a811430501ac3b50789eaa46d84f | refs/heads/master | 2020-03-09T19:24:09.182291 | 2018-04-10T16:08:27 | 2018-04-10T16:08:27 | 128,957,196 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,552 | sce | plotting.sce | ////////////////////////////// 1 ///////////////////////////////
// Open loop transfer function
s=poly( 0 ,'s')
num = 1 ;
den = s*(s+2)*(s+4)*(s+5);
g1 = syslin( 'c' ,num/den ) // syslin is for linear system definition
// Closed loop transfer function
g2 = g1/(1+g1)
t =0 : 0.1 : 500
y=csim( 'step',t, g2 ) // simulation ( step response ) of linear system
f0=scf(0) ; // create figure with id==0 and make it the current one
plot2d(t,y) // plotting step response
////////////////////////////// 2 ///////////////////////////////
f1=scf(1) ;
evans(g1) ; // plot the root locus
////////////////////////////// 3 ///////////////////////////////
// Calculation of zeta
pi = 3.1 4 ;
OS = 10 ;
zeta = -log(OS/100)/(pi^2 +(log(OS/100) )^2 )^0.5 ;
// Iso-over shootline
f2=scf(2) ;
evans( g1 ) ;
sgrid ( zeta , 2 ) // the value 2 corresponds to omega_n .
// Just to meet the overshoot specification omega_n is not crucial .
////////////////////////////// 4 ///////////////////////////////
// P controller
K = 25.38
// Closed loop step response
CL1 = K*g1/(1+K*g1 )
gs1=csim ( 'step' , t ,CL1 ) ;
f3=scf( 3 ) ;
plot2d ( t , gs1 ) ;
////////////////////////////// 5 ///////////////////////////////
// Specifications
OS = 10 ;
Ts = 5.5 ;
// for OS = 10 , zeta was already calculated
// Calculation of omega_n
omega_n = (4/Ts )/zeta
// Plot the root locus with iso-zeta and iso-omega_n lines
f4=scf(4) ;
evans( g1 )
sgrid( zeta , omega n )
// Dominant pole locations
sigma = zeta*omega_n
omega_d = omega_n*( sqrt(1-zeta^2) )
dompole = complex(-sigma , omega_d )
// Original poles of the system
p1 = complex ( 0 , 0 ) ;
p2 = complex ( -2 ,0) ;
p3 = complex ( -4 ,0) ;
p4 = complex ( -5 ,0) ;
// Angle subtended by e x i s t i n g po l e s :
theta1 = phasemag ( dom_pole-p1 ) ;
theta2 = phasemag ( dom_pole-p2 ) ;
theta3 = phasemag ( dom_pole-p3 ) ;
theta4 = phasemag ( dom_pole-p4 ) ;
angle_sum = (-theta1-theta2-theta3-theta4 )
// To satisfy the angle criterion a zero needs to be added
theta0 = 180 - angle_sum ;
// Calculating the location of the zero
z1 = (omega_d/ tan(theta0*pi/180) ) + sigma
// zero with sign . . .
z1 = -z1
// Calculating the gain to satisfy the gain criterion
Kd = abs( ( ( dom_pole-p1 )*( dom_pole-p2 )*( dom_pole-p3 )*( dom_pole-p4 ) )/( dom_pole-z1 ) )
////////////////////////////// 6 ///////////////////////////////
// Open loop transfer function with PD controller
n = Kd*( s-z1 ) ; // PD controller
g3 =syslin( 'c' , n/den ) // define t f
// Plot the step response of the closed loop system with PD controller
CL2 = g3/(1+g3 )
gs2 = csim ( 'step' , t ,CL2 ) ;
f5 = scf( 5 ) ;
plot2d ( t , gs2 )
////////////////////////////// 7 ///////////////////////////////
// Plot the ramp response of the closed loop system with PD controller
t1 = 0 : 1 : 10000
gs3 = csim( t1 , t1 ,CL2)
f5 = scf( 5 ) ;
plot2d ( t1 , gs3 ) ;
// Plot the error
f7=scf ( 7 ) ;
plot2d ( t1 , gs3-t1 ) ;
// PID Controller :
z2 = -0.001;
// Open loop transfer function with PID controller
n1 = Kd*( s-z1 )*( s-z2 ) ;
d1 = s*den ;
g4 =syslin ( 'c' , n1/d1 )
// Closed loop transfer function with PID controller
CL3 = g4/(1+g4 )
gs4=csim( t1 , t1 ,CL3 ) ;
gs5=csim ( 'step' , t ,CL3 ) ;
f8=scf ( 8 ) ;
plot2d ( t1 , gs4 ) //ramp response
f9=scf( 9 )
plot2d ( t , gs5 ) ; // step response
f10=scf (10)
plot2d ( t1 , gs4-t1 ) ; // error plot |
6baaf6bd131976d79877b756acbe22e14d521ae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH10/EX10.6/10_6.sce | ebff1168c689c478857ea5b138ba77b1f1bb937c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 10_6.sce | clc
//Initialization of variables
prob=0.001
R=1
N=6.023*10^23
//calculations
dS=1.987*2.303*log10(prob) /N
//results
printf("change in entropy = %.1e eu",dS)
|
0db1f62256ba605f4112e891b9b03a7a2c3c2cbb | f20589af0de35730c2668a09ba1b922094886448 | /part1/lab8/test3c.tst | ac9b1f879ef9afdeabe510ba10b7c36df4235eb3 | [] | no_license | BorisVeprintzev/labolatory | 5db38693df92bbf1b9e3daff35fefb67195c7ab8 | 26050b46df8121dc698673329a14e1640e2b3862 | refs/heads/master | 2020-05-28T04:22:26.653440 | 2019-05-27T16:55:02 | 2019-05-27T16:55:02 | 188,878,237 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8 | tst | test3c.tst | 3 6 8 1
|
249497601a833090ee8e5e01d0d9adb28ff5689c | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH2/EX2.16/example2_16.sce | 058c758f3a74bbabdeba852f0a2619876aa21783 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | example2_16.sce | clear;
clc;
//Example2.16[Heat Conduction through a Spherical Shell]
//Given:-
r1=0.08;//Inner Radius[m]
r2=0.1;//Outer radius[m]
k=45;//Thermal conductivity[W/m.degree Celcius]
T1=200;//Temperature of inner surface[degree Celcius]
T2=80;//Temperarure of outer surface[degree Celcius]
//Solution:-
//Integrating the differential equation twicw we get T(r)=-C1/r+C2, where
C1=r1*r2*(T1-T2)/(r2-r1);
C2=((r2*T2)-(r1*T1))/(r2-r1);
Q_sphere=4*%pi*k*r1*r2*(T1-T2)/(r2-r1);
disp("kW",Q_sphere/1000,"The rate of heat conduction through the container wall is")
|
45687587988acf5b81da3d8c7a7ca18e0c7721ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH16/EX16.14/Ex16_14.sce | 6c68f49087b4e9284f1194183869d535e2a96ffa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | Ex16_14.sce |
// Examle 16.14
V=480;
Ia=110; // Armature currernt
Ra=0.2; // Armature resistance
a=6; // No.Of paraller path
p=6; // No.Of poles
Q=0.05; // Megnetic flux per pole
z=864; // Impedence
Eb=V-(Ia*Ra); // Generated emf (Eb)
disp('Generated emf (Eb) = '+string(Eb)+' Volt');
N=(60*a*Eb)/(Q*z*p); // Speed of the moter
disp(' Speed of the moter = '+string(round(N))+' rms');
// ==> Using Formula { td= Qz/2TT x(p/A) xIa }
x=(Q*z)/(2*%pi); // for simlicity
td=(p/a)*Ia*(x); // Total Torque (Td)
disp(' Total Torque (Td) = '+string (round(td))+' Nm');
// p 650 16.14 |
a8cb95453a84f4bfedb7e2646ccb90635e466b26 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/db/db6.sce | 493540c6253b9a34d15b982262847a4e211d56d1 | [] | 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 | 205 | sce | db6.sce | //check o/p when i/p is negative power
v=1e-3;
u=db(-v,'power');
disp(u);
//output
// !--error 10000
//Power cannot be negative
//at line 58 of function db called by :
//u=db(-v,'power');
|
21123e9ee21e7b982595407414c7900340b45c43 | efc2fec9dd841d0ca834702c904e00c52762a9f9 | /VideoDemo/VidTest2.sce | 3a986daa42df615c7e8825eff709434d7e44497b | [] | no_license | surajch77/Scilab-Computer-Vision-Toolbox-TestCases | 64c8e0382e8b9d416c4c27c1ed4272f49bf45b51 | 969f9bcddefea05b42c623aeebe2e0cdcffd6eeb | refs/heads/master | 2021-01-20T20:24:14.345296 | 2016-06-29T15:16:52 | 2016-06-29T15:16:52 | 61,932,313 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | VidTest2.sce | exec VideoReader.sci
exec has_frame.sci
exec readframe.sci
myVideo = VideoReader('vid2.mp4');
disp(myVideo)
while hasFrame()
stacksize('max')
F = readFrame();
length_out = size(F);
for i = 1 : length_out
N(:, :, i) = F(i);
end
J_list = detecting(N);
imshow(J_list);
end
close()
|
715b178f4deac9b04793eb51512976150a460e8e | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Scope Snipe.sce | 72fddc402326e6676aa2835c94e23c30dfbab9dd | [] | 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 | 49,219 | sce | Scope Snipe.sce | Name=Scope Snipe
PlayerCharacters=player_char
BotCharacters=scope.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=player_char
AddedBots=scope.rot;scope.rot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=2;2
MapName=scope_snipe.map
MapScale=10.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
InvincibleBots=false
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=0.0
ScorePerDamage=5.0
ScorePerKill=10.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=true
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=Scope Snipe
WeaponHeroTag=Sniper Rifle
DifficultyTag=3
AuthorsTag=NFNT
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=false
BlockFCT=true
Description=Stand, walk, run Sniping targets of various speeds
GameVersion=2.0.0.2
ScorePerDistance=0.0
MBSEnable=false
MBSTime1=0.25
MBSTime2=0.5
MBSTime3=0.75
MBSTime1Mult=1.0
MBSTime2Mult=2.0
MBSTime3Mult=3.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
AimingStyle=Original
ScanSpeedMultiplier=1.0
MaxSeekPitch=30.0
MaxSeekYaw=30.0
AimingSpeed=5.0
MinShootDelay=0.3
MaxShootDelay=0.6
[Bot Profile]
Name=scope_walk
DodgeProfileNames=scope_dodge
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=scope_char_walk
SeeThroughWalls=false
NoDodging=false
NoAiming=false
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=scope_run
DodgeProfileNames=scope_dodge
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=scope_char_run
SeeThroughWalls=false
NoDodging=false
NoAiming=false
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=scope_stand
DodgeProfileNames=scope_dodge
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=scope_char_stand
SeeThroughWalls=false
NoDodging=false
NoAiming=false
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Rotation Profile]
Name=scope
ProfileNames=scope_walk;scope_run;scope_stand
ProfileWeights=1.0;1.0;1.0
Randomized=false
[Character Profile]
Name=player_char
MaxHealth=100.0
WeaponProfileNames=SNIPER;;;;;;;
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=0.0
MaxCrouchSpeed=500.0
Acceleration=16000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=0.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=true
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=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=scope_char_walk
MaxHealth=5.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.1
MaxRespawnDelay=0.1
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=300.0
MaxCrouchSpeed=500.0
Acceleration=16000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=0.0
AirControl=0.25
CanCrouch=false
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=Spheroid
MainBBHeight=230.0
MainBBRadius=55.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=true
ProjBBType=Spheroid
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=false
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=0.1
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=scope_char_run
MaxHealth=5.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.1
MaxRespawnDelay=0.1
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=600.0
MaxCrouchSpeed=500.0
Acceleration=16000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=0.0
AirControl=0.25
CanCrouch=false
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=Spheroid
MainBBHeight=230.0
MainBBRadius=55.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=true
ProjBBType=Spheroid
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=false
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=0.1
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=scope_char_stand
MaxHealth=5.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.1
MaxRespawnDelay=0.1
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=0.0
MaxCrouchSpeed=500.0
Acceleration=16000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=0.0
AirControl=0.25
CanCrouch=false
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=Spheroid
MainBBHeight=230.0
MainBBRadius=55.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=true
ProjBBType=Spheroid
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=false
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=0.1
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Dodge Profile]
Name=scope_dodge
MaxTargetDistance=2500.0
MinTargetDistance=750.0
ToggleLeftRight=true
ToggleForwardBack=false
MinLRTimeChange=10.0
MaxLRTimeChange=10.0
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.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=0.25
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
WaypointLogic=Ignore
WaypointTurnRate=200.0
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
[Weapon Profile]
Name=SNIPER
Type=Hitscan
ShotsPerClick=1
DamagePerShot=5.0
KnockbackFactor=0.0
TimeBetweenShots=0.01
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=false
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.1
ReloadTimeFromPartial=0.1
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=true
ADSZoomDelay=0.0
ADSZoomSensFactor=1.0
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.001
HitSoundCooldown=0.001
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=0
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=SNIPER
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=300.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=false
AimPunchAmount=0.0
AimPunchResetTime=0.2
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=75
ADSFOVOverride=7.5
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=false
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.1
IncReloadLoopTime=0.1
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.1
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=-50.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=
ParticleWallImpact=
ParticleBodyImpact=
ParticleProjectileTrail=
ParticleHitscanTrace=
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.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=0.0,0.1,0.0,0.0
SpreadSCA=0.0,0.1,0.0,0.0
SpreadMSA=0.0,0.1,0.0,0.0
SpreadMCA=0.0,0.1,0.0,0.0
SpreadSSH=0.0,0.1,360.0,360.0
SpreadSCH=0.0,0.1,360.0,360.0
SpreadMSH=0.0,0.1,360.0,360.0
SpreadMCH=0.0,0.1,360.0,360.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=1.0
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.175
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-256.000000 0.000000 168.000000
256.000000 0.000000 168.000000
256.000000 0.000000 -256.000000
-256.000000 0.000000 -256.000000
-256.000000 -16.000000 168.000000
256.000000 -16.000000 168.000000
256.000000 -16.000000 -256.000000
-256.000000 -16.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
239.999969 512.000000 171.535919
678.000732 512.000000 930.174072
691.856689 512.000000 922.174316
253.856567 512.000000 163.535645
239.999969 0.000000 171.535919
678.000732 0.000000 930.174072
691.856689 0.000000 922.174316
253.856567 0.000000 163.535645
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 0.000000 1192.000000
256.000000 0.000000 1192.000000
256.000000 0.000000 168.000000
-256.000000 0.000000 168.000000
-256.000000 -16.000000 1192.000000
256.000000 -16.000000 1192.000000
256.000000 -16.000000 168.000000
-256.000000 -16.000000 168.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 0.000000 1192.000000
699.404907 0.000000 936.000183
256.000000 0.000000 168.000000
256.000000 -16.000000 168.000000
699.404907 -16.000000 936.000183
256.000000 -16.000000 1192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 1 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 3 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 1 0 5 0x00000000
brush
vertices
-699.000000 0.000000 936.000000
-255.594971 0.000000 1191.999512
-256.000000 -16.000000 168.000000
-256.000000 0.000000 168.000000
-699.000000 -16.000000 936.000000
-255.594971 -16.000000 1191.999512
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 3 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
256.000000 528.000000 1192.000000
699.404907 528.000000 936.000183
256.000000 528.000000 168.000000
256.000000 512.000000 168.000000
699.404907 512.000000 936.000183
256.000000 512.000000 1192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 1 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 3 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 1 0 5 0x00000000
brush
vertices
-256.000000 528.000000 1192.000000
256.000000 528.000000 1192.000000
256.000000 528.000000 168.000000
-256.000000 528.000000 168.000000
-256.000000 512.000000 1192.000000
256.000000 512.000000 1192.000000
256.000000 512.000000 168.000000
-256.000000 512.000000 168.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
-699.000000 528.000000 936.000000
-255.594971 528.000000 1191.999512
-256.000000 512.000000 168.000000
-256.000000 528.000000 168.000000
-699.000000 512.000000 936.000000
-255.594971 512.000000 1191.999512
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 3 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-256.000000 512.000000 1192.000000
256.000000 512.000000 1192.000000
256.000000 512.000000 1176.000000
-256.000000 512.000000 1176.000000
-256.000000 0.000000 1192.000000
256.000000 0.000000 1192.000000
256.000000 0.000000 1176.000000
-256.000000 0.000000 1176.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 528.000000 168.000000
256.000000 528.000000 168.000000
256.000000 528.000000 -256.000000
-256.000000 528.000000 -256.000000
-256.000000 512.000000 168.000000
256.000000 512.000000 168.000000
256.000000 512.000000 -256.000000
-256.000000 512.000000 -256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-248.000000 512.000000 -240.000000
248.000000 512.000000 -240.000000
248.000000 512.000000 -256.000000
-248.000000 512.000000 -256.000000
-248.000000 0.000000 -240.000000
248.000000 0.000000 -240.000000
248.000000 0.000000 -256.000000
-248.000000 0.000000 -256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
240.000000 512.000000 171.000000
256.000000 512.000000 171.000000
256.000000 512.000000 -256.000000
240.000000 512.000000 -256.000000
240.000000 0.000000 171.000000
256.000000 0.000000 171.000000
256.000000 0.000000 -256.000000
240.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
-256.000000 512.000000 171.000000
-240.000000 512.000000 171.000000
-240.000000 512.000000 -256.000000
-256.000000 512.000000 -256.000000
-256.000000 0.000000 171.000000
-240.000000 0.000000 171.000000
-240.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
-253.000061 512.000000 163.535858
-690.999878 512.000000 922.174377
-677.143555 512.000000 930.174316
-239.143799 512.000000 171.535522
-253.000061 0.000000 163.535858
-690.999878 0.000000 922.174377
-677.143555 0.000000 930.174316
-239.143799 0.000000 171.535522
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
-699.000000 512.000000 936.000000
-255.595093 512.000000 1192.000610
-247.595215 512.000000 1178.144409
-691.000671 512.000000 922.144104
-699.000000 0.000000 936.000000
-255.595093 0.000000 1192.000610
-247.595215 0.000000 1178.144409
-691.000671 0.000000 922.144104
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 512.000000 1192.000000
699.404907 512.000000 935.999634
691.405396 512.000000 922.143311
247.999969 512.000000 1178.143921
256.000000 0.000000 1192.000000
699.404907 0.000000 935.999634
691.405396 0.000000 922.143311
247.999969 0.000000 1178.143921
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
entity
type PlayerSpawn
Vector3 position 0.000000 220.000000 0.000000
Bool8 teamB 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type CameraPath
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type PlayerSpawn
Vector3 position 0.000000 20.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 100.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 180.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 260.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 340.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 420.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -100.000000 420.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -100.000000 340.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -100.000000 260.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -100.000000 180.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -100.000000 100.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -100.000000 20.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 100.000000 420.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 100.000000 340.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 200.000000 420.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 200.000000 340.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 200.000000 260.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 100.000000 260.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 100.000000 180.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 200.000000 180.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 200.000000 100.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 100.000000 100.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 100.000000 20.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 200.000000 20.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -200.000000 420.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -200.000000 340.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -200.000000 260.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -200.000000 180.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -200.000000 100.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -200.000000 20.000000 1158.000000
Vector3 angles -180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -558.397400 100.000000 977.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -558.397400 180.000000 977.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -558.397400 260.000000 977.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -558.397400 340.000000 977.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -471.794830 420.000000 1027.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -471.794830 340.000000 1027.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -471.794830 260.000000 1027.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -471.794830 180.000000 1027.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -471.794830 100.000000 1027.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -471.794830 20.000000 1027.999756
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -385.192383 20.000000 1078.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -385.192383 100.000000 1078.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -385.192383 180.000000 1078.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -385.192383 260.000000 1078.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -385.192383 340.000000 1078.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -385.192383 420.000000 1078.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -298.589783 420.000000 1128.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -298.589783 340.000000 1128.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -298.589783 260.000000 1128.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -298.589783 180.000000 1128.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -298.589783 100.000000 1128.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -298.589783 20.000000 1128.000000
Vector3 angles -210.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 299.000000 20.000000 1128.000000
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 385.602417 20.000000 1077.999512
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 472.205170 20.000000 1027.999756
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 558.807617 100.000000 977.999817
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 472.205170 100.000000 1027.999756
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 385.602417 100.000000 1077.999512
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 299.000000 100.000000 1128.000000
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 299.000000 180.000000 1128.000000
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 385.602417 180.000000 1077.999512
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 472.205170 180.000000 1027.999756
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 558.807617 180.000000 977.999817
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 558.807617 260.000000 977.999817
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 472.205170 260.000000 1027.999756
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 385.602417 260.000000 1077.999512
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 299.000000 260.000000 1128.000000
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 299.000000 340.000000 1128.000000
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 299.000000 420.000000 1128.000000
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 385.602417 420.000000 1077.999512
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 385.602417 340.000000 1077.999512
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 472.205170 340.000000 1027.999756
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 472.205170 420.000000 1027.999756
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 558.807617 340.000000 977.999817
Vector3 angles -150.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
|
8fbb111df1af71776d699ab0e1334e66a8dc8eb8 | a550430672dfb5984bd8561b894897323028b7f5 | /tests/results/kar11.tst | d8a4932a4a17bbe0f1dd0622edab025f407f68f2 | [] | no_license | carlosmata/LabelPropagation | c91f68489a941e6f8cfb15de478d2fe28eadbcad | 2f169cc4ece49a0d0f868fee15e5eefe02bbc6df | refs/heads/master | 2020-12-18T17:46:23.501020 | 2020-05-09T06:13:16 | 2020-05-09T06:13:16 | 235,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | tst | kar11.tst | argc:7
Dataset: ../datasets/converted/karate.net
Nodes Edges Com Mod NMI Time
seq async 34 156 2 0.421598 -1 5.5368e-05
par async 34 156 3 0.052022 -1 0.067596
|
277b8d289f29153e8bd52bb995847531efee404b | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH4/EX4.1/4_01.sce | 7805fea38ce6ab9afebed77f8f00965cdbc6ce27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | 4_01.sce | //Example No. 4_01
//Greatest precision
//Pg No. 63
clear ; close ; clc ;
a = '4.3201'
b = '4.32'
c = '4.320106'
na = length(a)-strindex(a,'.')
mprintf('\n %s has a precision of 10^-%i\n',a,na)
nb = length(b)-strindex(b,'.')
mprintf('\n %s has a precision of 10^-%i\n',b,nb)
nc = length(c)-strindex(c,'.')
mprintf('\n %s has a precision of 10^-%i\n',c,nc)
[n,e] = max(na,nb,nc)
if e ==1 then
mprintf('\n The number with highest precision is %s\n',a)
elseif e == 2
mprintf('\n The number with highest precision is %s\n',b)
else
mprintf('\n The number with highest precision is %s\n',c)
end
|
97be4fcd3d69b0b802ce2f4c58345acf8326d555 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH5/EX5.17/EX17.sce | 33ec5c408d817ddb9ebc48a1a506f6e329112bb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | EX17.sce | // Example 5.17: (i) IC1 and IC2
// (ii) RC so that Vo = 6 V
clc, clear
bta=200;
// From Fig. 5.31
disp("Part (i)");
I_ref=(12-0.7)/15; // in amperes
I1=0.7/2.8; // in amperes
IC=(I_ref-I1)*bta/(bta+2); // in mili-amperes
disp(IC,"IC1 (mA) =");
disp(IC,"IC2 (mA) =");
disp("Part (ii)");
Vo=6; // in volts
RC=(12-Vo)/IC; // in kilo-ohms
disp(RC,"RC so that (Vo = 6 V) (kΩ) ="); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.