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
679a4be0bf46d1d5b60f1bd138f04eba7228ad16
449d555969bfd7befe906877abab098c6e63a0e8
/1862/CH17/EX17.7/C17P7.sce
62d9f0ce38a6e27a1d0c1d1a3986b5260f7e9f22
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
578
sce
C17P7.sce
clear clc //to find time required by body to come halfway // GIVEN: //refer to figure 17-15 from page no. 385 //from the equation given //radius of reference circle r = 0.35//in m //angular speed omega = 8.3//in rad/s // SOLUTION //refer to problem 17-5 //angle turned to come halfway wt = 60//in degree //time required by body to come halfway t = ((wt*%pi)/180)/omega//in seconds //taking angle in radians printf ("\n\n Angle turned to come halfway wt = \n\n %2i degree",wt) printf ("\n\n Time required by body to come halfway t = \n\n %.2f seconds",t)
ff4a81b7f28a5e539d7d00d30ae7a268ab629470
449d555969bfd7befe906877abab098c6e63a0e8
/2741/CH5/EX5.20/Chapter5_Example20.sce
131e7debeb56421db4971b7ad01a4d7806e885ce
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
420
sce
Chapter5_Example20.sce
clc clear //Input data t1=0;//The given temperature in degree centigrade //Calculations T1=t1+273;//The given temperature in K T2=(1/2)^2*T1;//The temperature at which the r.m.s velocity of a gas be half its value at 0 degree centigrade in K T21=T2-273;//The required temperature in degree centigrade //Output printf('The required temperature is T2 = %3.2f K (or) %3.2f degree centigrade ',T2,T21)
7cc05ee0fc33021f67f26e1655aec64f1dc30871
449d555969bfd7befe906877abab098c6e63a0e8
/1088/CH18/EX18.1/Example1.sce
ec0b3c22acb34ab194cd1dfce0b90e961050f570
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
4,229
sce
Example1.sce
clear flag=1 mode(-1) clc printf("Example 1 : Show the method of using field extraction in awk \n") disp("****************************************************************") disp("Answer : ") disp("INSTRUCTIONS : ") printf("\n1. Here all instructions are preloaded in the form of a demo\n\nInitially the whole perl script is displaying and then \n the result of the same can be seen in the command line interpreter.\n\n2. PLEASE MAKE SURE THAT THE PERLSCRIPT INTERPRETER\nEXISTS IN THE SYSTEM\nOR THE COMMAND WOULD NOT WORK \n\n3. PRESS ENTER AFTER EACH COMMAND to see its RESULT\n\n5. PRESS ENTER AFTER EACH RESULT TO GO TO THE NEXT COMMAND\n") halt('.............Press [ENTER] to continue.....') halt("") clc printf("\tUNIX SHELL SIMULATOR(DEMO VERSION WITH PRELOADED COMMANDS)\n\n\n") i=0 i=i+1;f(i)='2233|a.k.shukla |g.m. |sales |12/12/52|6000' i=i+1;f(i)='9876|jai sharma |director |production |12/03/50|7000' i=i+1;f(i)='5678|sumit chakrobarty|d.g.m |marketing |19/04/43|6000' i=i+1;f(i)='2356|barun sengupta |director |personnel |11/05/47|7800' i=i+1;f(i)='5423|n.k. gupta |chairman |admin |30/08/56|5400' i=i+1;f(i)='1006|chanchal singhvi |director |sales |03/09/38|6700' i=i+1;f(i)='6213|karuna ganguly |g.m. |accounts |05/06/62|6300' i=i+1;f(i)='1265|s.n. dasgupta |manager |sales |12/09/63|5600' i=i+1;f(i)='4290|jayant Choudhary |executive |production|07/09/50|6000' i=i+1;f(i)='2476|anil aggarwal |manager |sales |01/05/59|5000' i=i+1;f(i)='6521|lalit chowdury |director |marketing |26/09/45|8200' i=i+1;f(i)='3212|shyam saksena |d.g.m |accounts |12/12/55|6000' i=i+1;f(i)='3564|sudhir Agarwal |executive |personnel |06/07/47|7500' i=i+1;f(i)='2345|j.b. saxena |g.m. |marketing |12/03/45|8000' i=i+1;f(i)='0110|v.k. agrawal |g.m. |marketing |31/02/40|9000' n=i printf("\n\n$ cat emp.lst # to open the file emp.lst") halt(' ') u=mopen('empn.lst','wt') for i=1:n mfprintf(u,"%s\n",f(i)) printf("%s\n",f(i)) end mclose(u) halt('') clc i=0 i=i+1;f(i)='BEGIN {IFS='+ascii(34)+'|'+ascii(34) i=i+1;f(i)='printf '+ascii(34)+'\t\tEmployee abstract\n\n'+ascii(34) i=i+1;f(i)='} $6 > 7500 { # Increemnt the variables for serial number and pay' i=i+1;f(i)=' kount++ ; tot+= $6 # Multiple assignments in one line' i=i+1;f(i)=' printf '+ascii(34)+'%3d % -20s % -12s %d\n'+ascii(34)+',kount,$2,$3,$6' i=i+1;f(i)='}' i=i+1;f(i)='END {' i=i+1;f(i)=' printf '+ascii(34)+'\n\tThe averge basic pay is %6d\n'+ascii(34)+',tot/kount' i=i+1;f(i)='}' n=i printf("\n# Enter the name of the shellscript file whichever you desire \n\n") nam=input('$ cat ','s') halt(' ') for i=1:n printf("%s\n",f(i)) end halt(' ') clc i=0 i=i+1;f(i)='@echo off' i=i+1;f(i)='cls' i=i+1;f(i)='echo Employee abstract' i=i+1;f(i)='echo.' i=i+1;f(i)='set t=0' i=i+1;f(i)='set tot=0' i=i+1;f(i)='for /F '+ascii(34)+'tokens=2,3,6 delims=|'+ascii(34)+' %%i in (%1) do if %%k gtr 7500 set /a t+=1&&echo %%i %%j %%k>>res&&set /a tot+=%%k' i=i+1;f(i)='type res' i=i+1;f(i)='echo.' i=i+1;f(i)='set /a tot/=i' i=i+1;f(i)='echo The average basic pay is %tot%' i=i+1;f(i)='del res' n=i if getos()=='Linux' then printf("\n\nPlease Switch to windows and then execute using the instructions\n\nThank You \n\n") halt(' ') exit end v=mopen(nam+'.awk.bat','wt') for i=1:n mfprintf(v,"%s\n",f(i)) end mclose(v) printf("\n# type the following command in the command line interpreter as soon as it appears") printf(" \n %c %s.awk empn.lst %c [ENTER]\n\n",ascii(34),nam,ascii(34)) printf("\n$ %s.awk empn.lst #to execute the perlscript",nam) halt(' ') dos('start') printf("\n\n\n") halt(' ---------------->Executing awkScript in Command Line Prompt<-------------- ') printf("\n\n\n$ exit #To exit the current simulation terminal and return to Scilab console\n\n") halt("........# (hit [ENTER] for result)") //clc() printf("\n\n\t\t\tBACK TO SCILAB CONSOLE...\nLoading initial environment') sleep(1000) mdelete(nam+'.awk.bat') mdelete('empn.lst')
39d86e4bf005c1c24233e64f0cbd58a1d1c72ecc
449d555969bfd7befe906877abab098c6e63a0e8
/2606/CH11/EX11.7/ex11_7.sce
0441fe7f8c47ef7956a03ead2cd6a6e7e8130196
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
489
sce
ex11_7.sce
//Page Number: 11.15 //Example 11.7 clc; //(a)Channel Matrix //Given Py1byx1=0.9; Py2byx1=0.1; Py1byx2=0.2; Py2byx2=0.8; PYbyX=[Py1byx1 Py2byx1;Py1byx2 Py2byx2]; disp(PYbyX,'Channel Matrix,P(Y/X):'); //(b)Py1 and Py2 //Given Px1=0.5; Px2=Px1; //As P(Y)=P(X)*P(Y/X) PX=[Px1 Px2]; PY=PX*PYbyX; disp(PY,'P(y1) P(y2):'); //(c)Joint Probabilities P(x1,y2) and P(x2,y1) //Diagonalizing PX PXd=diag(PX); PXY=PXd*PYbyX; disp(PXY(2,1),PXY(1,2),'P(x1,y2) P(x2,y1)');
0215a50e8f5c283f6a035d40170a271374325ca1
449d555969bfd7befe906877abab098c6e63a0e8
/3683/CH3/EX3.10/Ex3_10.sce
52802c086b4e699b5db1ed5094d5904c181feb7d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,066
sce
Ex3_10.sce
Bf=1300//width of flange, in mm Df=100//thickness of flange, in mm d=500//effective depth, in mm sigma_cbc=5//in MPa sigma_st=275//in MPa m=18.66//modular ratio Ast=1570//in sq mm Asc=1256//in sq mm top_cover=30//in mm //to find critical depth of neutral axis Xc=d/(1+sigma_st/(m*sigma_cbc))//in mm //assume x>Df; equating moments of area on compression and tension sides about N.A. x=(m*Ast*d+Bf*Df^2/2+(1.5*m-1)*Asc*top_cover)/(m*Ast+Bf*Df+(1.5*m-1)*Asc)//in mm //as x<Xc, beam is under-reinforced sigma_cbc=sigma_st/m*x/(d-x)//in MPa sigma_cbc_dash=sigma_cbc*(x-top_cover)/x//stress in concrete at level of compression steel, in MPa sigma_cbc_double_dash=sigma_cbc*(x-Df)/x//stress in concrete at the underside of the slab, in MPa //to find lever arm z=round(d-(sigma_cbc+2*sigma_cbc_double_dash)/(sigma_cbc+sigma_cbc_double_dash)*Df/3)//in mm //taking moments about tensile steel Mr=Bf*Df*(sigma_cbc+sigma_cbc_double_dash)*z/2+(1.5*m-1)*Asc*sigma_cbc_dash*(d-top_cover)//in N-mm mprintf("Moment of resistance of the beam=%f kN-m", Mr/10^6)
ffb0a5f9fb1b197f5cb71fd60c369711e0aa6a96
ad6dfdda667ace738c35e5b68986a792213c5a55
/make-tests/make05.tst
a8186dc11029374cc379163815a496b36ebadbbb
[]
no_license
kombuchafox/API
0fd8417c0f93e7883b99c7ed7bd2001447f0e249
f964dc287bca40bde60427e92a8d73ef1adf1d3c
refs/heads/master
2021-09-18T18:16:36.609858
2018-07-18T05:19:44
2018-07-18T05:19:44
15,957,824
0
0
null
null
null
null
UTF-8
Scilab
false
false
64
tst
make05.tst
java -ea make.Main -f make-tests/make05.mk -D make-tests/file01
1060fda567040ae8a59e45087fd82dfcfa3cdd6c
449d555969bfd7befe906877abab098c6e63a0e8
/32/CH19/EX19.08/19_08.sce
0a77e8f2d20f3467f5ffe88b006f1e08c4cdee9c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
532
sce
19_08.sce
//pathname=get_absolute_file_path('19.08.sce') //filename=pathname+filesep()+'19.08-data.sci' //exec(filename) //Speed of jet plane(in m/s): Ca=250 //Density of air(in kg/m^3): d=0.15 //Drag(in kW): D=6800 //Propulsive efficiency: np=0.56 //Relative velocity(in m/s): Ce=2*Ca/np-Ca //Absolute velocity of jet(in m/s): C=Ce-Ca //Mass flow rate(in kg/s): ma=D/(Ce-Ca) //Volume flow rate(in m^3/s): v=ma/d //Jet diameter(in m): dj=sqrt(v*4/(2*%pi*Ce)) printf("\n RESULT \n") printf("\nJet diamter = %f cm",dj*100)
2d61ecbdaf83d704fc5025fe4ad8c3c9cc569f72
449d555969bfd7befe906877abab098c6e63a0e8
/62/CH1/EX1.10/ex_1_10.sce
e376d2dabc4628a89b98d4f860ce7799ac2755b7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
227
sce
ex_1_10.sce
clear; clc; close; t=0:1/100:10; w=1; theta=%pi/3; T=2*%pi/w; x=cos(t*w+theta); y=cos((t+T)*w+theta); if ceil(x)==ceil(y) then disp('cos(wo*t+theta) is periodic with T=2*pi/W0') else disp('nonperiodic') end
3bfbe629e8b6b22135cdcffbb6dcd37971bdbfc2
527c41bcbfe7e4743e0e8897b058eaaf206558c7
/Positive_Negative_test/Netezza-Base-MaximumLikelihoodEstimation/FLMLEWeibullUdt-NZ-01.tst
8b66462a2ae9f3ea35816b5eae532160d5318085
[]
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
61,977
tst
FLMLEWeibullUdt-NZ-01.tst
-- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza -- -- Copyright (c): 2014 Fuzzy Logix, LLC -- -- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC. -- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC. -- and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade -- secret or copyright law. Dissemination of this information or reproduction of this material is -- strictly forbidden unless prior written permission is obtained from Fuzzy Logix, LLC. -- Functional Test Specifications: -- -- Test Category: Basic Statistics -- -- Test Unit Number: FLMLEWeibullUdt-NZ-01.tst -- -- Name(s): FLMLEWeibullUdt -- -- Description: Fit a Weibull distribution -- -- Applications: -- -- Signature: -- -- Parameters: See Documentation -- -- Return value: Table -- -- Last Updated: 07-06-2017 -- -- Author: Positive test cases: <Zhi.Wang@fuzzyl.com> -- Negative test cases: <Joe.Fan@fuzzyl.com> -- Netezza test cases: <Anurag.Reddy@fuzzyl.com> -- Kamlesh Meena -- BEGIN: TEST SCRIPT \time --.RUN file=../PulsarLogOn.sql --.SET WIDTH 1000 --SET ROLE ALL; -- BEGIN: NEGATIVE TEST(s) ---- Initialize Fit Distribution test -- Initialize tblSimDistMap DROP TABLE tblSimDistMap IF EXISTS; CREATE TABLE tblSimDistMap ( NewGroupID BIGINT, Distribution VARCHAR(100), GroupID BIGINT ) DISTRIBUTE ON(NewGroupID); INSERT INTO tblSimDistMap (Distribution, GroupID, NewGroupID) SELECT a.Distribution, a.GroupID, ROW_NUMBER() OVER (ORDER BY a.tbl, a.Distribution, a.GroupID) AS NewGroupID FROM ( SELECT DISTINCT 1 AS tbl, a.Distribution, GroupID FROM tblMLETest1 a Union ALL SELECT DISTINCT 2 AS tbl, a.Distribution, GroupID FROM tblMLETest2 a ) a; -- Initialize tblSimDistFloat DROP TABLE tblSimDistFloat IF EXISTS; CREATE TABLE tblSimDistFloat ( NewGroupID BIGINT, Distribution VARCHAR(100), GroupID BIGINT, Num_Val DOUBLE PRECISION ) DISTRIBUTE ON (NewGroupID); INSERT INTO tblSimDistFloat (NewGroupID, Distribution, GroupID, Num_Val) SELECT b.NewGroupID, a.Distribution, a.GroupID, a.Num_Val FROM tblMLETest1 a, tblSimDistMap b WHERE a.Distribution = b.Distribution And a.GroupID = b.GroupID Union ALL SELECT b.NewGroupID, a.Distribution, a.GroupID, CAST(a.Num_Val AS DOUBLE PRECISION) FROM tblMLETest2 a, tblSimDistMap b WHERE a.Distribution = b.Distribution AND a.GroupID = b.GroupID; -- Initialize tblSimDistInt DROP TABLE tblSimDistInt IF EXISTS; CREATE TABLE tblSimDistInt ( NewGroupID BIGINT, Distribution VARCHAR(100), GroupID BIGINT, Num_Val INTEGER ) DISTRIBUTE ON(NewGroupID); INSERT INTO tblSimDistInt (NewGroupID, Distribution, GroupID, Num_Val) SELECT b.NewGroupID, a.Distribution, a.GroupID, CAST(a.Num_Val AS INTEGER) FROM tblMLETest1 a, tblSimDistMap b WHERE a.Distribution = b.Distribution And a.GroupID = b.GroupID Union ALL SELECT b.NewGroupID, a.Distribution, a.GroupID, a.Num_Val FROM tblMLETest2 a, tblSimDistMap b WHERE a.Distribution = b.Distribution AND a.GroupID = b.GroupID; ---- Case 1: Stress test with different distributions (Num_Val is DOUBLE PRECISION) -- Case 1a: Fit FLMLEWeibullUdt onto Beta distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Beta')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1b: Fit FLMLEWeibullUdt onto Bradford distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Bradford')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1c: Fit FLMLEWeibullUdt onto Burr distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Burr')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1d: Fit FLMLEWeibullUdt onto Cauchy distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Cauchy')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1e: Fit FLMLEWeibullUdt onto Chi distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Chi')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1f: Fit FLMLEWeibullUdt onto ChiSq distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('ChiSq')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1g: Fit FLMLEWeibullUdt onto Cosine distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Cosine')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1h: Fit FLMLEWeibullUdt onto DoubleGamma distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('DoubleGamma')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1i: Fit FLMLEWeibullUdt onto DoubleWeibull distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('DoubleWeibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1j: Fit FLMLEWeibullUdt onto Erlang distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Erlang')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1k: Fit FLMLEWeibullUdt onto Exponential distribution WITH z (GroupID, Num_Val) AS ( SELECT a.NewGroupID, a.Num_Val FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Exponential') ) SELECT b.Distribution (FORMAT 'XXXXXXXXXXXXXXX'), b.GroupID, a.* FROM TABLE (FLMLEWeibullUdt(z.GroupID, z.Num_Val) HASH BY z.GroupID LOCAL ORDER BY z.GroupID,z.Num_Val) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1l: Fit FLMLEWeibullUdt onto ExtremeLB distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('ExtremeLB')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1m: Fit FLMLEWeibullUdt onto Fisk distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Fisk')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1n: Fit FLMLEWeibullUdt onto FoldedNormal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('FoldedNormal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1o: Fit FLMLEWeibullUdt onto Gamma distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Gamma')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1p: Fit FLMLEWeibullUdt onto GenLogistic distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('GenLogistic')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1q: Fit FLMLEWeibullUdt onto Gumbel distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Gumbel')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1r: Fit FLMLEWeibullUdt onto HalfNormal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('HalfNormal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1s: Fit FLMLEWeibullUdt onto HypSecant distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('HypSecant')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1t: Fit FLMLEWeibullUdt onto InvGamma distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('InvGamma')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1u: Fit FLMLEWeibullUdt onto InvNormal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('InvNormal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1v: Fit FLMLEWeibullUdt onto Laplace distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Laplace')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1w: Fit FLMLEWeibullUdt onto Logistic distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Logistic')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1x: Fit FLMLEWeibullUdt onto LogNormal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('LogNormal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1y: Fit FLMLEWeibullUdt onto Maxwell distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Maxwell')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1z: Fit FLMLEWeibullUdt onto Normal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Normal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1aa: Fit FLMLEWeibullUdt onto Pareto distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Pareto')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1ab: Fit FLMLEWeibullUdt onto Power distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Power')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1ac: Fit FLMLEWeibullUdt onto Rayleigh distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Rayleigh')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1ad: Fit FLMLEWeibullUdt onto Reciprocal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Reciprocal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1ae: Fit FLMLEWeibullUdt onto Semicircular distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Semicircular')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1af: Fit FLMLEWeibullUdt onto StudentsT distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('StudentsT')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1ag: Fit FLMLEWeibullUdt onto TransBeta distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('TransBeta')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1ah: Fit FLMLEWeibullUdt onto Triangular distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Triangular')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1ai: Fit FLMLEWeibullUdt onto Uniform distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Uniform')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1aj: Fit FLMLEWeibullUdt onto Weibull distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1ak: Fit FLMLEWeibullUdt onto Binomial distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Binomial')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1al: Fit FLMLEWeibullUdt onto Geometric distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Geometric')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1am: Fit FLMLEWeibullUdt onto Logarithmic distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Logarithmic')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1an: Fit FLMLEWeibullUdt onto NegBinomial distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('NegBinomial')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 1ao: Fit FLMLEWeibullUdt onto Poisson distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistFloat a WHERE UPPER(a.Distribution) = UPPER('Poisson')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; ---- Case 2: Stress test with different distributions (Num_Val is INTEGER) -- Case 2a: Fit FLMLEWeibullUdt onto Beta distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Beta')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2b: Fit FLMLEWeibullUdt onto Bradford distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Bradford')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2c: Fit FLMLEWeibullUdt onto Burr distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Burr')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2d: Fit FLMLEWeibullUdt onto Cauchy distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Cauchy')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2e: Fit FLMLEWeibullUdt onto Chi distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Chi')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2f: Fit FLMLEWeibullUdt onto ChiSq distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('ChiSq')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2g: Fit FLMLEWeibullUdt onto Cosine distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Cosine')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2h: Fit FLMLEWeibullUdt onto DoubleGamma distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('DoubleGamma')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2i: Fit FLMLEWeibullUdt onto DoubleWeibull distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('DoubleWeibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2j: Fit FLMLEWeibullUdt onto Erlang distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Erlang')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2k: Fit FLMLEWeibullUdt onto Exponential distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Exponential')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2l: Fit FLMLEWeibullUdt onto ExtremeLB distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('ExtremeLB')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2m: Fit FLMLEWeibullUdt onto Fisk distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Fisk')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2n: Fit FLMLEWeibullUdt onto FoldedNormal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('FoldedNormal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2o: Fit FLMLEWeibullUdt onto Gamma distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Gamma')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2p: Fit FLMLEWeibullUdt onto GenLogistic distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('GenLogistic')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2q: Fit FLMLEWeibullUdt onto Gumbel distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Gumbel')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2r: Fit FLMLEWeibullUdt onto HalfNormal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('HalfNormal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2s: Fit FLMLEWeibullUdt onto HypSecant distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('HypSecant')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2t: Fit FLMLEWeibullUdt onto InvGamma distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('InvGamma')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2u: Fit FLMLEWeibullUdt onto InvNormal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('InvNormal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2v: Fit FLMLEWeibullUdt onto Laplace distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Laplace')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2w: Fit FLMLEWeibullUdt onto Logistic distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Logistic')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2x: Fit FLMLEWeibullUdt onto LogNormal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('LogNormal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2y: Fit FLMLEWeibullUdt onto Maxwell distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Maxwell')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2z: Fit FLMLEWeibullUdt onto Normal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Normal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2aa: Fit FLMLEWeibullUdt onto Pareto distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Pareto')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2ab: Fit FLMLEWeibullUdt onto Power distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Power')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2ac: Fit FLMLEWeibullUdt onto Rayleigh distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Rayleigh')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2ad: Fit FLMLEWeibullUdt onto Reciprocal distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Reciprocal')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2ae: Fit FLMLEWeibullUdt onto Semicircular distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('SemiCircular')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2af: Fit FLMLEWeibullUdt onto StudentsT distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('StudentsT')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2ag: Fit FLMLEWeibullUdt onto TransBeta distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('TransBeta')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2ah: Fit FLMLEWeibullUdt onto Triangular distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Triangular')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2ai: Fit FLMLEWeibullUdt onto Uniform distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Uniform')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2aj: Fit FLMLEWeibullUdt onto Weibull distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2ak: Fit FLMLEWeibullUdt onto Binomial distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Binomial')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2al: Fit FLMLEWeibullUdt onto Geometric distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Geometric')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2am: Fit FLMLEWeibullUdt onto Logarithmic distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Logarithmic')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2an: Fit FLMLEWeibullUdt onto NegBinomial distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('NegBinomial')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 2ao: Fit FLMLEWeibullUdt onto Poisson distribution SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistInt a WHERE UPPER(a.Distribution) = UPPER('Poisson')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; ---- Case 3: Num_Val is constant (zero, one, 2^30) -- Case 3a: Num_Val is constant (zero) CREATE OR REPLACE VIEW vwSimDist AS SELECT a.NewGroupID, a.Distribution, a.GroupID, 0 AS Num_Val FROM tblSimDistFloat a WHERE a.Distribution = 'Weibull'; SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM vwSimDist a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 3b: Num_Val is constant (one) CREATE OR REPLACE VIEW vwSimDist AS SELECT a.NewGroupID, a.Distribution, a.GroupID, 1 AS Num_Val FROM tblSimDistFloat a WHERE a.Distribution = 'Weibull'; SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM vwSimDist a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 3c: Num_Val is constant (2^30) CREATE OR REPLACE VIEW vwSimDist AS SELECT a.NewGroupID, a.Distribution, a.GroupID, 2**30 AS Num_Val FROM tblSimDistFloat a WHERE a.Distribution = 'Weibull'; SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM vwSimDist a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; ---- Case 4: Num_Val is very large -- Case 4a: Num_Val is very large (100% of array) CREATE OR REPLACE VIEW vwSimDist AS SELECT a.NewGroupID, a.Distribution, a.GroupID, 1000000 * a.Num_Val AS Num_Val FROM tblSimDistFloat a WHERE a.Distribution = 'Weibull'; SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM vwSimDist a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 4b: Num_Val is very large (50% of array) CREATE OR REPLACE VIEW vwSimDist AS SELECT a.NewGroupID, a.Distribution, a.GroupID, CASE WHEN CAST(RANDOM() AS INT) = 1 THEN 1000000 ELSE 1 END * a.Num_Val AS Num_Val FROM tblSimDistFloat a WHERE a.Distribution = 'Weibull'; SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM vwSimDist a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 4c: Num_Val is very large (10% of array) CREATE OR REPLACE VIEW vwSimDist AS SELECT a.NewGroupID, a.Distribution, a.GroupID, CASE WHEN CAST((RANDOM()*9 + 1) AS INT) = 1 THEN 1000000 ELSE 1 END * a.Num_Val AS Num_Val FROM tblSimDistFloat a WHERE a.Distribution = 'Weibull'; SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM vwSimDist a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; ---- Case 5: Num_Val contains NULL -- Case 5a: 10% of values are NULL CREATE OR REPLACE VIEW vwSimDist AS SELECT a.NewGroupID, a.Distribution, a.GroupID, CASE WHEN CAST((RANDOM()*9 + 1) AS INT) = 1 THEN NULL ELSE a.Num_Val END AS Num_Val FROM tblSimDistFloat a WHERE a.Distribution = 'Weibull'; SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM vwSimDist a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; -- Case 5b: 100% of values are NULL CREATE OR REPLACE VIEW vwSimDist AS SELECT a.NewGroupID, a.Distribution, a.GroupID, NULL AS Num_Val FROM tblSimDistFloat a WHERE a.Distribution = 'Weibull'; SELECT b.Distribution, b.GroupID, a.* FROM ( SELECT a.NewGroupID, a.Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM vwSimDist a WHERE UPPER(a.Distribution) = UPPER('Weibull')) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistMap b WHERE a.GroupID = b.NewGroupID ORDER BY 1,2; --case 6 ---Test case without local order by numval --NA for NZ ---- Drop tables after Pulsar test for fit distribution function DROP TABLE tblSimDistFloat; DROP TABLE tblSimDistInt; DROP TABLE tblSimDistMap; DROP VIEW vwSimDist; -- END: NEGATIVE TEST(s) -- BEGIN: POSITIVE TEST(s) ---- Positive Test 1 SELECT a.GroupID AS GroupID, b.Nobs AS Nobs, a.Scale AS Est_Scale, b.Param2 AS Scale, a.Shape AS Est_Shape, b.Param1 AS Shape, CASE WHEN ABS(a.Scale - b.Param2)/b.Param2 < 0.5 OR ABS(a.Shape - b.Param1)/b.Param1 < 0.5 THEN 'Passed' ELSE 'Check' END AS Hint FROM ( SELECT a.GroupID, a.Num_Val, a.Distribution, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM tblSimDistR a, tblSimDistRParams b WHERE UPPER(a.Distribution) = UPPER('Weibull') AND UPPER(b.Distribution) = UPPER('Weibull') AND a.GroupID = b.GroupID) AS z, TABLE (FLMLEWeibullUdt(z.GroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a, tblSimDistRParams AS b WHERE a.GroupID = b.GroupID AND b.Distribution='Weibull' ORDER BY 4,6,2; ---- Positive Test 2 CREATE VIEW view_Weibull_100 AS SELECT 1 AS GroupID,a.SerialVal AS ObsID, FLSimWeibull(RANDOM()*10e9,0,1.7965,4.8104) AS NumVal FROM fzzlSerial a WHERE a.SerialVal <= 100; CREATE VIEW view_Weibull_1000 AS SELECT 1 AS GroupID,a.SerialVal AS ObsID, FLSimWeibull(RANDOM()*10e9,0,1.7965,4.8104) AS NumVal FROM fzzlSerial a WHERE a.SerialVal <= 1000; CREATE VIEW view_Weibull_10000 AS SELECT 1 AS GroupID,a.SerialVal AS ObsID, FLSimWeibull(RANDOM()*10e9,0,1.7965,4.8104) AS NumVal FROM fzzlSerial a WHERE a.SerialVal <= 10000; ---- Positive Test 2a SELECT a.* FROM ( SELECT a.GroupID AS NewGroupID, a.NumVal AS Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM view_Weibull_100 a) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a; ---- Positive Test 2b SELECT a.* FROM ( SELECT a.GroupID AS NewGroupID, a.NumVal AS Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM view_Weibull_1000 a) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a; ---- Positive Test 2c SELECT a.* FROM ( SELECT a.GroupID AS NewGroupID, a.NumVal AS Num_Val, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID), 1) AS end_flag FROM view_Weibull_10000 a) AS z, TABLE (FLMLEWeibullUdt(z.NewGroupID, z.Num_Val, z.begin_flag, z.end_flag)) AS a; DROP VIEW view_Weibull_100; DROP VIEW view_Weibull_1000; DROP VIEW view_Weibull_10000; -- END: POSITIVE TEST(s) \time -- END SCRIPT
6e59068b34f3642a4f0cbd946a660849cc79cbaf
449d555969bfd7befe906877abab098c6e63a0e8
/581/CH2/EX2.4/Example2_4.sce
ded27eb22af1c6ea60a0e97e0f0a7de4609ca231
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Example2_4.sce
clear; clc; printf("\t Example 2.4\n"); k=18; // thermal conductivity of ressistor, W/(m*K) A=1; //area of slab surface, m^2 hc=3000; //convective heat transfer coefficient,W/(m^2*K) //Req=1/A*(2L/k+1/hc), for contact ressistances to be neglected 2L/18 must be very greater than the 1/3000 printf("thickness of slabs for contact ressistances to be nelected is very greater than 0.003 m. if length is 3 cm, the error is about 10 percent."); //end
29e04e5cabab75c04f9f4bf0e7c657b0258b5231
449d555969bfd7befe906877abab098c6e63a0e8
/69/CH10/EX10.5/10_5.sce
5b3f57f5924b60aeafac9611249d20b0e002c111
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
128
sce
10_5.sce
clear; clc; close; Rf = 500*10^(3); R1 = 100*10^(3); V1 = 2; Vo = -(Rf/R1)*V1; disp(Vo,'Output voltage(Volts) = ');
749e65ac6714c2b951c699c83b1de96a450a381e
b667735486117d0c7bb30d616ee6ed37032e947d
/online/labca3_5/documentation/xmlhelp/en_US/lcaDebugOff.sci
6c3d6345f3bd538f4a12c80eecf3ccbed35c9b57
[ "EPICS", "LicenseRef-scancode-unknown-license-reference" ]
permissive
KIT-IBPT/MML
6b8093aec421162c56ada56daa2d43a1b6977e62
4ad8cbb61a36a8b145cc6b17e0b5a3a6b4213c26
refs/heads/master
2021-08-28T07:39:45.693497
2021-08-04T13:14:01
2021-08-04T13:14:01
226,303,582
0
0
null
2019-12-06T10:28:11
2019-12-06T10:28:11
null
UTF-8
Scilab
false
false
308
sci
lcaDebugOff.sci
function lcaDebugOff // Switch the ezca library's debugging facility off. // // Calling Sequence // //lcaDebugOff() // // Description // // Switch the ezca library's debugging facility off. // __________________________________________________________________ // // // till 2017-08-08 endfunction
b2816d75d313be741dc49109e27c9d6323996768
48d313982e11468e3406524c01f1cba2700a2db5
/Calcul numeric/ResurseTemaCalculNumeric/New folder/ExFct/fib.sci
a03a2a298b188f72009b6fc26451668af3fb0ee7
[]
no_license
albanionut/University
b8e918a192c131647099c57e1b2caa231de98d6d
b3d3dfe3cf64d0cddfaeb570151adf7d4c9ad0b7
refs/heads/master
2021-07-13T11:31:29.880681
2020-10-10T15:07:00
2020-10-10T15:07:00
214,223,943
0
0
null
null
null
null
UTF-8
Scilab
false
false
87
sci
fib.sci
function t=fib(n) t=[1,1]; for i=3:n t(i)=t(i-1)+t(i-2); end endfunction
909a73ecee62c9965669321dedddeea97200e2cb
449d555969bfd7befe906877abab098c6e63a0e8
/2333/CH3/EX3.20/20.sce
d9dec6ea72242011a1057976af1527766cb53370
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
478
sce
20.sce
clc // Given that lambda_1 = 6000 // wavelength of light in angstrom lambda_2 = 4800 // wavelength of light in angstrom theta = asin(0.75) // Angle of diffraction // Sample Problem 20 on page no. 165 printf("\n # PROBLEM 20 # \n") printf(" Standard formula used \n") printf(" n*lambda= sin(theta)/N \n") n = lambda_2/(lambda_1-lambda_2) // order calculation e_d = (n+1)*lambda_2*1e-8/sin(theta) // Grating Element printf(" \n Grating Element is %e cm.\n",e_d )
1a98ec68803324277fd7f4e227495ed1faa4354e
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/tests/examples/invr.man.tst
8fba7a1ef5476645bc61854525de44f4c8c74aec
[ "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
124
tst
invr.man.tst
clear;lines(0); s=poly(0,'s') H=[s,s*s+2;1-s,1+s]; invr(H) [Num,den]=coffg(H);Num/den H=[1/s,(s+1);1/(s+2),(s+3)/s];invr(H)
0227df130a7dfbaf479e1407aa6d915c8109b28c
ac66d3377862c825111275d71485e42fdec9c1bd
/Resources/res/map/map2104.sce
c730186951459503c58773634e3282c702676639
[]
no_license
AIRIA/CreazyBomber
2338d2ad46218180f822682d680ece3a8e0b46c3
68668fb95a9865ef1306e5b0d24fd959531eb7ad
refs/heads/master
2021-01-10T19:58:49.272075
2014-07-15T09:55:00
2014-07-15T09:55:00
19,776,025
0
2
null
null
null
null
UTF-8
Scilab
false
false
3,217
sce
map2104.sce
<?xml version="1.0" encoding="UTF-8"?> <Project Name="map2104" Width="13" Height="15" CellSize="40" BackgroundSize="1" Background="13plus.png"> <Cell Name="木箱" X="6" Y="1" /> <Cell Name="猪怪-bt" X="9" Y="1" arg0="28" /> <Cell Name="木箱" X="10" Y="1" /> <Cell Name="树" X="11" Y="1" /> <Cell Name="出生点" X="1" Y="2" /> <Cell Name="丛林图腾1" X="2" Y="2" /> <Cell Name="木箱" X="4" Y="2" /> <Cell Name="木箱" X="5" Y="2" /> <Cell Name="地刺" X="6" Y="2" /> <Cell Name="丛林图腾1" X="8" Y="2" /> <Cell Name="树" X="10" Y="2" /> <Cell Name="木箱" X="1" Y="3" /> <Cell Name="地刺" X="3" Y="3" /> <Cell Name="食人花-右" X="4" Y="3" arg0="3" arg1="1.00" /> <Cell Name="木箱" X="6" Y="3" /> <Cell Name="木箱" X="7" Y="3" /> <Cell Name="樱桃树" X="3" Y="4" /> <Cell Name="树" X="5" Y="4" /> <Cell Name="树" X="6" Y="4" /> <Cell Name="花" X="9" Y="4" /> <Cell Name="食人花-右" X="10" Y="4" arg0="3" arg1="1.00" /> <Cell Name="樱桃树" X="1" Y="5" /> <Cell Name="樱桃树" X="2" Y="5" /> <Cell Name="猪怪" X="4" Y="5" arg0="5" /> <Cell Name="丛林图腾2" X="6" Y="5" /> <Cell Name="猪怪-bt" X="7" Y="5" arg0="28" /> <Cell Name="丛林图腾2" X="8" Y="5" /> <Cell Name="花" X="9" Y="5" /> <Cell Name="地洞" X="10" Y="5" arg0="0" arg1="0,0,0,0,1" arg2="1" /> <Cell Name="木偶-bt" X="11" Y="5" arg0="27" /> <Cell Name="猪怪-bt" X="1" Y="6" arg0="28" /> <Cell Name="丛林图腾1" X="4" Y="6" /> <Cell Name="木箱" X="5" Y="6" /> <Cell Name="树" X="8" Y="6" /> <Cell Name="食人花-左" X="3" Y="7" arg0="2" arg1="1.00" /> <Cell Name="蘑菇" X="4" Y="7" /> <Cell Name="树" X="8" Y="7" /> <Cell Name="木箱" X="9" Y="7" /> <Cell Name="木箱" X="10" Y="7" /> <Cell Name="树" X="1" Y="8" /> <Cell Name="树" X="2" Y="8" /> <Cell Name="樱桃树" X="5" Y="8" /> <Cell Name="丛林图腾2" X="6" Y="8" /> <Cell Name="树" X="10" Y="8" /> <Cell Name="丛林图腾1" X="1" Y="9" /> <Cell Name="丛林图腾1" X="4" Y="9" /> <Cell Name="猪怪-bt" X="5" Y="9" arg0="28" /> <Cell Name="树" X="6" Y="9" /> <Cell Name="食人花-右" X="8" Y="9" arg0="3" arg1="1.00" /> <Cell Name="木箱" X="11" Y="9" /> <Cell Name="木偶-bt" X="2" Y="10" arg0="27" /> <Cell Name="通关点-1" X="3" Y="10" /> <Cell Name="木箱" X="4" Y="10" /> <Cell Name="树" X="6" Y="10" /> <Cell Name="木偶-bt" X="7" Y="10" arg0="27" /> <Cell Name="木箱" X="10" Y="10" /> <Cell Name="木箱" X="11" Y="10" /> <Cell Name="地洞" X="3" Y="11" arg0="0" arg1="0,0,0,0,1" arg2="1" /> <Cell Name="丛林图腾1" X="4" Y="11" /> <Cell Name="丛林图腾2" X="8" Y="11" /> <Cell Name="地洞" X="10" Y="11" arg0="0" arg1="0,0,0,0,1" arg2="1" /> <Cell Name="丛林图腾1" X="1" Y="12" /> <Cell Name="花" X="4" Y="12" /> <Cell Name="丛林图腾2" X="6" Y="12" /> <Cell Name="树" X="7" Y="12" /> <Cell Name="木箱" X="8" Y="12" /> <Cell Name="丛林图腾1" X="2" Y="13" /> <Cell Name="花" X="3" Y="13" /> <Cell Name="地刺" X="6" Y="13" /> <Cell Name="木偶-bt" X="9" Y="13" arg0="27" /> <Cell Name="丛林图腾2" X="10" Y="13" /> </Project>
643a3923d106d9bf4e3e6c8b0b257dfe0a5f5e4a
449d555969bfd7befe906877abab098c6e63a0e8
/2132/CH3/EX3.10/Example3_10.sce
8a8834b734b0862a9d825fbf7c31e4a382810fb9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
395
sce
Example3_10.sce
//Example 3.10 clc; clear; close; format('v',9); //Given data : g=9.81;//gravity xbar=8;//meter D=4;//meter A=%pi*D^2/4;//meter^2 w=g*1000;//in N/m^3 p=w*A*xbar/10^3;//in kN disp(p,"Total pressure in kN : "); IG=%pi*D^4/64;//in m^4 h_bar=IG/A/xbar+xbar;//in meter disp("Depth of centre of pressure is "+string(h_bar)+" meter."); //Answer of total pressure is wrong in the book.
3753b06ca662c6b91bb1e4a3dc6843d40883ac08
449d555969bfd7befe906877abab098c6e63a0e8
/1439/CH18/EX18.7/18_7.sce
9a473cfe68f75d5cd72f2636b534cadc45cf9614
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
177
sce
18_7.sce
clc //initialisation of variables v= 8.867*10^13 //sec^-1 u= 1.628*10^-24 //gms //CALCULATIONS k= (%pi*2*v)^2*u //RESULTS printf (' force constant = %.2e dyne cm^-1',k)
e9e606dbfdabcda81ce3320b873a94f3781f653f
449d555969bfd7befe906877abab098c6e63a0e8
/620/CH5/EX5.4/example5_4.sce
a5cab9c1853709a22d6a1b80109a23b5b50bc276
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,866
sce
example5_4.sce
disp("Part a"); disp("if the pilot is not lit, no emf will be generated and all voltages will be zero"); disp("Part b"); disp("If the thermocouple is defective, all voltages will be zero (no emf generated)"); disp("Part c"); disp("voltmeter readings when connected across A and B is 750 mV") disp("voltmeter readings when connected across B and C is 0 V") disp("voltmeter readings when connected across C and D is 0 V") disp("voltmeter readings when connected across D and E is 0 V") disp("voltmeter readings when connected across E and F is 750 mV") disp("voltmeter readings when connected across F and A is is 0 V") disp("Part d"); disp("voltmeter readings when connected across A and B is 750 mV") disp("voltmeter readings when connected across B and C is 0 V") disp("voltmeter readings when connected across C and D is 0 V") disp("voltmeter readings when connected across D and E is 0 V") disp("voltmeter readings when connected across E and F is 0 V") disp("voltmeter readings when connected across F and A is 0 V") disp("Part e"); disp("voltmeter readings when connected across A and B is 750 mV") disp("voltmeter readings when connected across B and C is 750 mV ") disp("voltmeter readings when connected across C and D is 0 V") disp("voltmeter readings when connected across D and E is 0 V") disp("voltmeter readings when connected across E and F is 0 V") disp("voltmeter readings when connected across F and A is 0 V") disp("Part f"); disp("voltmeter readings when connected across A and B is 750 mV") disp("voltmeter readings when connected across B and C is 0 V") disp("voltmeter readings when connected across C and D is 0 V") disp("voltmeter readings when connected across D and E is 750 mV") disp("voltmeter readings when connected across E and F is 0 V") disp("voltmeter readings when connected across F and A is 0 V")
342872b6b69cfe6cd5e8bd69d9e360acdb1e7e12
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.4/macros/m2sci/sci_fieldnames.sci
2f124cdf106f0c943edee47d28511573431f2040
[ "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
206
sci
sci_fieldnames.sci
function [stk,txt,top]=sci_fieldnames() // Copyright INRIA txt=[] if isname(stk(top)(1)) then s=stk(top)(1) else s=gettempvar(1) txt=s+'='+stk(top)(1) end stk=list(s+'(1)(2:$)','0','?','1','10','?')
5c1cd381fdb96230bdb12b0127c78206800cf548
449d555969bfd7befe906877abab098c6e63a0e8
/2216/CH2/EX2.5/ex_2_5.sce
ca8b4af2e6cf258bb2209ea2a2096aab1da55cd8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
690
sce
ex_2_5.sce
//Example 2.5; pulse broadning clc; clear; close; format('v',6) disp("part (a)") h=850;//WAVELENGTH IN NANO METER l=80;//fiber length in Km dh=2;//in Nano Meter m1=105.5;//material dispersion for h=850nm in ps/nm-Km m2=2.8;//material dispersion for h=1300nm in ps/nm-Km t=m1*l*dh*10^-3;//material dispersion in ns when h=850nm disp(t,"material dispersion in ns when h=850nm") disp("part (b)") h=1300;//WAVELENGTH IN NANO METER l=80;//fiber length in Km dh=2;//in Nano Meter m1=105.5;//material dispersion for h=850nm in ps/nm-Km m2=2.8;//material dispersion for h=1300nm in ps/nm-Km t=m2*l*dh*10^-3;//material dispersion in ns when h=850nm disp(t,"material dispersion in ns when h=1300nm")
dea676b47d277f044e550f6dde4b409d5e7726c9
449d555969bfd7befe906877abab098c6e63a0e8
/104/CH8/EX8.16/8_16.sce
026140ac2f10e98673213a8bccf0d1ad99006059
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
319
sce
8_16.sce
//calculation of K on root loci s=%s sys=syslin('c',(s+2)/(s^2+2*s+2)) evans(sys) //value of K at s=0 printf("K=A*B/C \n A and B are lenths of vectors drawn from poles of sys \n C is lenths of vector drawn from zero of sys") A=sqrt((-1)^2+1^2) B=sqrt((-1)^2+(-1)^2) C=-2 K=A*B/C disp(K,"value of K at s=0 is")
904404bf5e84ec6dbcbcb4cf9b1fe833386cce67
fde3e6cb4f00a38c6d09434e8fe3a52c6dd7b3bc
/Labo_1/Labo_1.sce
8e5dd7cb40bcac54d26b6a2e698c34eeb56e4a99
[]
no_license
HardelinTanguy/Labo_Statistique
6b0f08a793fa61e23e7df5b64e1a145fc0105a30
76052a79b10764c05e80ab9cf77a2477e4ac1eec
refs/heads/master
2020-05-23T10:20:35.573811
2017-01-30T14:46:31
2017-01-30T14:46:31
80,423,463
0
0
null
null
null
null
UTF-8
Scilab
false
false
551
sce
Labo_1.sce
clear; clc; function [nombre]=loi_uniforme(n) x=1:n nombre=1:n for i=1:n nombre(i)=grand(1,1,"uin",1,6) end // scf(1) // plot2d(x,nombre) // histplot(linspace(0.5,6.5,7),nombre) endfunction function [nombre]=fdr(nombre) val=[0 0 0 0 0 0] for i=1:(length(nombre)-1) val(nombre(i))=val(nombre(i))+1 end for i=1:(length(val)-1) val(i)=(val(i))/(length(nombre)) end bar(val) //bar(vecteur) endfunction nombre=loi_uniforme(10) fdr(nombre) //loi_binomiale(10) //loi_poisson(10)
f34ae5f38720607fc73cf7f1b8967ffc9484c1a5
906f286d018d405ea3ace52a3e8e8a109d68cefe
/kalman/scilabExample.sce
ed11a971d2c51003a4594d79bb584ec38895639b
[]
no_license
andreinakagawa/control
165398c239178670934328a278113d136e7c5747
b69f0cb7ee4f4328bdc7d45d7bb9fd82eec6343f
refs/heads/master
2021-01-21T21:38:24.436418
2017-07-13T18:57:30
2017-07-13T18:57:30
92,322,739
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,824
sce
scilabExample.sce
clear; clc; // Construction of the sinusoid w=%pi/4; // angular frequency T=0.1; // period t=0:T:100; signal=cos(w*t); // Sinusoid with noise v=rand(t,"normal"); y=signal+v; // Plot the sinusoid with noise //subplot(2,1,1); //plot(t,y); //xtitle("sinusoid with noise","t"); // System n=2; // system order f=[cos(w*T) -sin(w*T); sin(w*T) cos(w*T)]; g=0; h=[1 0]; p0=[1000 0; 0 0]; R=1; Q=0; x0=zeros(n,1); // Initialize for loop x1=x0; p1=p0; xp = x0; xk = x0; pp = p0; // Kalman filter for i=1:length(t)-1 [x1(:,i+1),p1,x,p]=kalm(y(i),x1(:,i),p1,f,g,h,Q,R); end Xk = [] Xp = [] //Kalman filter according to scilab algorithm for i=1:length(t) //measurement update (correction) y = signal(i); E = y - h*xp; //innovation s= h*pp*h' + R; kk = pp*h'*inv(s); xk = xk + kk*E; pp = pp - kk*h*pp; //time update (prediction) xp = f*xk; pp = f*pp*f'; Xk = [Xk xk]; Xp = [Xp xp]; end //Xk = [] ////Kalman filter according to algorithm from kalman filter for dummies //for i=1:length(t)-1 // //signal output // zk = signal(i); // // //Measurement update // //Kalman gain // kk = pp*h'*inv(h*pp*h' + R); // //update estimate // xk = xk + kk*(zk - h*xp); // //update error covariance // pp = pp - pp*kk*h; // Xk = [Xk xk]; // // //Time update // //predicted state // xp = f*xk; // ///error covariance // pp = f*pp*f' + Q; // // //end //// Plot the results (in red) to compare with the sinusoid (in green) //figure(1); //subplot(3,1,1); //plot(t,signal,"color","blue"); //subplot(3,1,2); //plot(t,y,"color","blue"); //subplot(3,1,3); //plot(t,signal,"color","blue"); //plot(t,x1(1,:),"color","red"); //xtitle("Comparison between sinusoid (green) and extraction with Kalman filter (red)","t");
46a94c067d66bbd56b710991b6ebfc7951079715
449d555969bfd7befe906877abab098c6e63a0e8
/1652/CH19/EX19.3/19_3.sce
4a7eedb089feff67d99c865d6dfa67abc58c4a7a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
181
sce
19_3.sce
clc //Initialization of variables r1=0.850 r2=0.50 //calculations Da=-log10(r1) Db=-log10(r2) D=Da+Db r3=10^(-D) //results printf("Transmittance of solution = %.3f ",r3)
dd51f2cf72f51d8d3af8533ce2f4c9696ba78a40
449d555969bfd7befe906877abab098c6e63a0e8
/1319/CH1/EX1.5/1_5.sce
c7babac38415fe886c4475e5b599a0851b24e5f4
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
1_5.sce
// To find the inductance of a choke to operate a 120V 500W lamp at 230V clc; clear; V=120; W=500; Rl=(V^2)/W; I=W/V; // Circuit Current // Q of a choke means the ratio of its inductive reactance to its resistance Q=2; f=60; w=2*%pi*f; Vs=230; // Supply Voltage Xcir=230/I; L=poly([0 1],'L','c'); Xl=w*L; Rc=Xl/2; // Q utilised // total resistance Rt=Rl+Rc; ind=(Rt^2)+(Xl^2)-(Xcir^2);// Characteristic equation to find L L=roots(ind); disp(ind,'The Characteristic equation to find L is') if(imag(sqrt(L(1)))) L=L(2); else L=L(1); end disp('H',L,'The inductance of the choke coil = ')
bff7b5275f0024b9ff0aa58b53578a3150c32670
449d555969bfd7befe906877abab098c6e63a0e8
/3637/CH5/EX5.6/Ex5_6.sce
db9daecd9569e1a80136c15b9e5ed73c9ccde1d8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
197
sce
Ex5_6.sce
//problem 6 pagenumber 5.100 //given c=10e-6;//farad w=6;format(6); //determine R r=w/(1.11*c); format(6); disp('R = '+string(r/10^3)+' Kohm'); disp('C1 = '+string(c*1e6)+' μfarad');
78e61a0a50ad24de7c97dc7bc1e943f74ba50ed9
3c47dba28e5d43bda9b77dca3b741855c25d4802
/microdaq/macros/reset_mdaq_blk_idx.sci
930d0fe8afc287c03168aa850ec751a0b8d41d48
[ "BSD-3-Clause" ]
permissive
microdaq/Scilab
78dd3b4a891e39ec20ebc4e9b77572fd12c90947
ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf
refs/heads/master
2021-09-29T11:55:21.963637
2019-10-18T09:47:29
2019-10-18T09:47:29
35,049,912
6
3
BSD-3-Clause
2019-10-18T09:47:30
2015-05-04T17:48:48
Scilab
UTF-8
Scilab
false
false
589
sci
reset_mdaq_blk_idx.sci
function reset_mdaq_blk_idx() global %microdaq; %microdaq.private.dac_idx = 0; %microdaq.private.adc_idx = 0; %microdaq.private.mem_write_idx = 0; %microdaq.private.to_file_idx = 0; %microdaq.private.webscope_idx = 0; %microdaq.private.udpsend_idx = 0; %microdaq.private.udprecv_idx = 0; %microdaq.private.tcpsend_idx = 0; %microdaq.private.tcprecv_idx = 0; %microdaq.private.mem_read_idx = 0; %microdaq.private.mem_read_begin = []; %microdaq.private.mem_read_size = []; %microdaq.private.mem_read_file = []; endfunction
127f48db9b0777438135d188387de01367301775
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/KP85YLZ/ATWM1_Working_Memory_MEG_KP85YLZ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce
281ba20bf7991f1e77ad7a2c7e58de201967e3ef
[]
no_license
atwm1/Presentation
65c674180f731f050aad33beefffb9ba0caa6688
9732a004ca091b184b670c56c55f538ff6600c08
refs/heads/master
2020-04-15T14:04:41.900640
2020-02-14T16:10:11
2020-02-14T16:10:11
56,771,016
0
1
null
null
null
null
UTF-8
Scilab
false
false
48,615
sce
ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce
# ATWM1 MEG Experiment scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1"; #scenario_type = fMRI; # Fuer Scanner #scenario_type = fMRI_emulation; # Zum Testen scenario_type = trials; # for MEG #scan_period = 2000; # TR #pulses_per_scan = 1; #pulse_code = 1; pulse_width=6; default_monitor_sounds = false; active_buttons = 2; response_matching = simple_matching; button_codes = 10, 20; default_font_size = 36; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; write_codes=true; # for MEG only begin; #Picture definitions box { height = 382; width = 382; color = 0, 0, 0;} frame1; box { height = 369; width = 369; color = 255, 255, 255;} frame2; box { height = 30; width = 4; color = 0, 0, 0;} fix1; box { height = 4; width = 30; color = 0, 0, 0;} fix2; box { height = 30; width = 4; color = 255, 0, 0;} fix3; box { height = 4; width = 30; color = 255, 0, 0;} fix4; box { height = 369; width = 369; color = 42, 42, 42;} background; TEMPLATE "StimuliDeclaration.tem" {}; trial { sound sound_incorrect; time = 0; duration = 1; } wrong; trial { sound sound_correct; time = 0; duration = 1; } right; trial { sound sound_no_response; time = 0; duration = 1; } miss; # Start of experiment (MEG only) - sync with CTF software trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; } expStart; time = 0; duration = 1000; code = "ExpStart"; port_code = 80; }; # baselinePre (at the beginning of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }default; time = 0; duration = 10000; #mri_pulse = 1; code = "BaselinePre"; port_code = 91; }; TEMPLATE "ATWM1_Working_Memory_MEG.tem" { trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4; 44 62 292 292 399 125 1842 2992 2042 fixation_cross gabor_068 gabor_011 gabor_143 gabor_032 gabor_068 gabor_011_alt gabor_143 gabor_032_alt "1_1_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2050_gabor_patch_orientation_068_011_143_032_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_143_framed gabor_circ blank blank blank blank fixation_cross_white "1_1_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_143_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1942 2992 1992 fixation_cross gabor_075 gabor_108 gabor_127 gabor_050 gabor_075 gabor_108 gabor_127_alt gabor_050_alt "1_2_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_075_108_127_050_target_position_1_2_retrieval_position_2" gabor_circ gabor_158_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_2_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_158_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1892 2992 1892 fixation_cross gabor_074 gabor_129 gabor_098 gabor_180 gabor_074_alt gabor_129 gabor_098_alt gabor_180 "1_3_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_074_129_098_180_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_180_framed blank blank blank blank fixation_cross_white "1_3_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_180_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1892 2992 2592 fixation_cross gabor_053 gabor_068 gabor_141 gabor_035 gabor_053 gabor_068_alt gabor_141 gabor_035_alt "1_4_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2600_gabor_patch_orientation_053_068_141_035_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_091_framed gabor_circ blank blank blank blank fixation_cross_white "1_4_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2542 fixation_cross gabor_113 gabor_072 gabor_139 gabor_007 gabor_113_alt gabor_072_alt gabor_139 gabor_007 "1_5_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2550_gabor_patch_orientation_113_072_139_007_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_053_framed blank blank blank blank fixation_cross_white "1_5_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2242 2992 2392 fixation_cross gabor_085 gabor_174 gabor_014 gabor_126 gabor_085_alt gabor_174 gabor_014_alt gabor_126 "1_6_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2400_gabor_patch_orientation_085_174_014_126_target_position_2_4_retrieval_position_2" gabor_circ gabor_174_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_6_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2092 2992 1892 fixation_cross gabor_173 gabor_054 gabor_094 gabor_110 gabor_173 gabor_054_alt gabor_094 gabor_110_alt "1_7_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_1900_gabor_patch_orientation_173_054_094_110_target_position_1_3_retrieval_position_1" gabor_035_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_7_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_035_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 2192 2992 2292 fixation_cross gabor_079 gabor_011 gabor_140 gabor_100 gabor_079 gabor_011_alt gabor_140_alt gabor_100 "1_8_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2200_3000_2300_gabor_patch_orientation_079_011_140_100_target_position_1_4_retrieval_position_2" gabor_circ gabor_011_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_8_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_011_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2192 2992 2442 fixation_cross gabor_142 gabor_086 gabor_170 gabor_125 gabor_142_alt gabor_086 gabor_170 gabor_125_alt "1_9_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2450_gabor_patch_orientation_142_086_170_125_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_170_framed gabor_circ blank blank blank blank fixation_cross_white "1_9_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2092 2992 2292 fixation_cross gabor_003 gabor_155 gabor_087 gabor_069 gabor_003_alt gabor_155 gabor_087_alt gabor_069 "1_10_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_003_155_087_069_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_019_framed blank blank blank blank fixation_cross_white "1_10_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2042 fixation_cross gabor_045 gabor_015 gabor_175 gabor_030 gabor_045 gabor_015_alt gabor_175_alt gabor_030 "1_11_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2050_gabor_patch_orientation_045_015_175_030_target_position_1_4_retrieval_position_1" gabor_093_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_11_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_093_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1992 2992 2092 fixation_cross gabor_106 gabor_065 gabor_176 gabor_041 gabor_106_alt gabor_065_alt gabor_176 gabor_041 "1_12_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_106_065_176_041_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_088_framed blank blank blank blank fixation_cross_white "1_12_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_088_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 2142 2992 2192 fixation_cross gabor_017 gabor_093 gabor_048 gabor_065 gabor_017 gabor_093_alt gabor_048 gabor_065_alt "1_13_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2150_3000_2200_gabor_patch_orientation_017_093_048_065_target_position_1_3_retrieval_position_2" gabor_circ gabor_093_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_13_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_093_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2192 2992 2492 fixation_cross gabor_116 gabor_005 gabor_152 gabor_027 gabor_116_alt gabor_005_alt gabor_152 gabor_027 "1_14_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_116_005_152_027_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_073_framed blank blank blank blank fixation_cross_white "1_14_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2092 2992 2492 fixation_cross gabor_112 gabor_053 gabor_001 gabor_089 gabor_112 gabor_053_alt gabor_001_alt gabor_089 "1_15_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2500_gabor_patch_orientation_112_053_001_089_target_position_1_4_retrieval_position_1" gabor_112_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_15_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_112_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1992 2992 1942 fixation_cross gabor_014 gabor_180 gabor_034 gabor_148 gabor_014_alt gabor_180 gabor_034_alt gabor_148 "1_16_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_014_180_034_148_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_148_framed blank blank blank blank fixation_cross_white "1_16_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1742 2992 2592 fixation_cross gabor_095 gabor_056 gabor_165 gabor_076 gabor_095_alt gabor_056 gabor_165_alt gabor_076 "1_17_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2600_gabor_patch_orientation_095_056_165_076_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_165_framed gabor_circ blank blank blank blank fixation_cross_white "1_17_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_165_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2092 2992 2242 fixation_cross gabor_128 gabor_099 gabor_071 gabor_160 gabor_128_alt gabor_099_alt gabor_071 gabor_160 "1_18_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_128_099_071_160_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_021_framed gabor_circ blank blank blank blank fixation_cross_white "1_18_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2142 2992 2292 fixation_cross gabor_160 gabor_078 gabor_048 gabor_100 gabor_160_alt gabor_078 gabor_048 gabor_100_alt "1_19_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2300_gabor_patch_orientation_160_078_048_100_target_position_2_3_retrieval_position_1" gabor_024_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_19_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_024_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1892 2992 2042 fixation_cross gabor_091 gabor_110 gabor_076 gabor_166 gabor_091_alt gabor_110_alt gabor_076 gabor_166 "1_20_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2050_gabor_patch_orientation_091_110_076_166_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_026_framed blank blank blank blank fixation_cross_white "1_20_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1892 2992 1992 fixation_cross gabor_014 gabor_126 gabor_151 gabor_102 gabor_014_alt gabor_126 gabor_151 gabor_102_alt "1_21_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2000_gabor_patch_orientation_014_126_151_102_target_position_2_3_retrieval_position_2" gabor_circ gabor_126_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_21_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1992 2992 1992 fixation_cross gabor_104 gabor_173 gabor_020 gabor_084 gabor_104 gabor_173 gabor_020_alt gabor_084_alt "1_22_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2000_gabor_patch_orientation_104_173_020_084_target_position_1_2_retrieval_position_2" gabor_circ gabor_037_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_22_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 2142 fixation_cross gabor_065 gabor_045 gabor_154 gabor_090 gabor_065 gabor_045_alt gabor_154_alt gabor_090 "1_23_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_065_045_154_090_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_090_framed blank blank blank blank fixation_cross_white "1_23_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_090_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1842 2992 1892 fixation_cross gabor_089 gabor_116 gabor_055 gabor_171 gabor_089 gabor_116 gabor_055_alt gabor_171_alt "1_24_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_1900_gabor_patch_orientation_089_116_055_171_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_055_framed gabor_circ blank blank blank blank fixation_cross_white "1_24_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_055_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1742 2992 2342 fixation_cross gabor_019 gabor_104 gabor_125 gabor_050 gabor_019 gabor_104_alt gabor_125 gabor_050_alt "1_25_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_019_104_125_050_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_079_framed gabor_circ blank blank blank blank fixation_cross_white "1_25_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_079_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1742 2992 2392 fixation_cross gabor_029 gabor_009 gabor_093 gabor_063 gabor_029 gabor_009 gabor_093_alt gabor_063_alt "1_26_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_029_009_093_063_target_position_1_2_retrieval_position_1" gabor_169_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_26_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_169_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2042 2992 2292 fixation_cross gabor_045 gabor_179 gabor_016 gabor_123 gabor_045_alt gabor_179_alt gabor_016 gabor_123 "1_27_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_045_179_016_123_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_123_framed blank blank blank blank fixation_cross_white "1_27_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_123_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2542 fixation_cross gabor_012 gabor_119 gabor_102 gabor_084 gabor_012 gabor_119_alt gabor_102_alt gabor_084 "1_28_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2550_gabor_patch_orientation_012_119_102_084_target_position_1_4_retrieval_position_1" gabor_012_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_28_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_012_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2142 2992 1892 fixation_cross gabor_066 gabor_099 gabor_011 gabor_120 gabor_066 gabor_099 gabor_011_alt gabor_120_alt "1_29_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_066_099_011_120_target_position_1_2_retrieval_position_2" gabor_circ gabor_149_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_29_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_149_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2042 fixation_cross gabor_069 gabor_102 gabor_050 gabor_085 gabor_069_alt gabor_102_alt gabor_050 gabor_085 "1_30_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2050_gabor_patch_orientation_069_102_050_085_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_132_framed blank blank blank blank fixation_cross_white "1_30_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_132_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 2092 2992 2242 fixation_cross gabor_134 gabor_025 gabor_112 gabor_052 gabor_134 gabor_025_alt gabor_112_alt gabor_052 "1_31_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2100_3000_2250_gabor_patch_orientation_134_025_112_052_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_112_framed gabor_circ blank blank blank blank fixation_cross_white "1_31_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_112_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2192 fixation_cross gabor_019 gabor_162 gabor_052 gabor_140 gabor_019 gabor_162_alt gabor_052 gabor_140_alt "1_32_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_019_162_052_140_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_003_framed gabor_circ blank blank blank blank fixation_cross_white "1_32_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2192 2992 2092 fixation_cross gabor_165 gabor_041 gabor_124 gabor_075 gabor_165_alt gabor_041 gabor_124_alt gabor_075 "1_33_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2100_gabor_patch_orientation_165_041_124_075_target_position_2_4_retrieval_position_2" gabor_circ gabor_041_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_33_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_041_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 2242 2992 2542 fixation_cross gabor_048 gabor_106 gabor_032 gabor_087 gabor_048_alt gabor_106_alt gabor_032 gabor_087 "1_34_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2250_3000_2550_gabor_patch_orientation_048_106_032_087_target_position_3_4_retrieval_position_2" gabor_circ gabor_106_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_34_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_106_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2242 2992 2442 fixation_cross gabor_009 gabor_134 gabor_085 gabor_068 gabor_009 gabor_134_alt gabor_085_alt gabor_068 "1_35_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2450_gabor_patch_orientation_009_134_085_068_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_116_framed blank blank blank blank fixation_cross_white "1_35_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_116_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1742 2992 2242 fixation_cross gabor_159 gabor_003 gabor_020 gabor_140 gabor_159_alt gabor_003_alt gabor_020 gabor_140 "1_36_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2250_gabor_patch_orientation_159_003_020_140_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_020_framed gabor_circ blank blank blank blank fixation_cross_white "1_36_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_020_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1742 2992 2592 fixation_cross gabor_030 gabor_173 gabor_101 gabor_056 gabor_030_alt gabor_173 gabor_101_alt gabor_056 "1_37_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2600_gabor_patch_orientation_030_173_101_056_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_056_framed blank blank blank blank fixation_cross_white "1_37_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_056_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1942 2992 2092 fixation_cross gabor_012 gabor_119 gabor_082 gabor_148 gabor_012 gabor_119_alt gabor_082 gabor_148_alt "1_38_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2100_gabor_patch_orientation_012_119_082_148_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_037_framed gabor_circ blank blank blank blank fixation_cross_white "1_38_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1942 2992 2442 fixation_cross gabor_031 gabor_006 gabor_169 gabor_086 gabor_031_alt gabor_006 gabor_169_alt gabor_086 "1_39_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2450_gabor_patch_orientation_031_006_169_086_target_position_2_4_retrieval_position_2" gabor_circ gabor_053_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_39_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2242 2992 2142 fixation_cross gabor_004 gabor_161 gabor_077 gabor_030 gabor_004_alt gabor_161_alt gabor_077 gabor_030 "1_40_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2250_3000_2150_gabor_patch_orientation_004_161_077_030_target_position_3_4_retrieval_position_2" gabor_circ gabor_112_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_40_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_112_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 2192 fixation_cross gabor_123 gabor_056 gabor_012 gabor_138 gabor_123_alt gabor_056_alt gabor_012 gabor_138 "1_41_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_123_056_012_138_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_089_framed blank blank blank blank fixation_cross_white "1_41_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_089_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 2142 fixation_cross gabor_170 gabor_080 gabor_037 gabor_102 gabor_170 gabor_080 gabor_037_alt gabor_102_alt "1_42_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_170_080_037_102_target_position_1_2_retrieval_position_2" gabor_circ gabor_080_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_42_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_080_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2092 2992 2092 fixation_cross gabor_104 gabor_147 gabor_177 gabor_066 gabor_104_alt gabor_147 gabor_177_alt gabor_066 "1_43_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2100_gabor_patch_orientation_104_147_177_066_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_021_framed blank blank blank blank fixation_cross_white "1_43_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1992 2992 2492 fixation_cross gabor_007 gabor_069 gabor_174 gabor_154 gabor_007_alt gabor_069 gabor_174_alt gabor_154 "1_44_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2500_gabor_patch_orientation_007_069_174_154_target_position_2_4_retrieval_position_2" gabor_circ gabor_119_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_44_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_119_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2042 2992 2542 fixation_cross gabor_145 gabor_113 gabor_056 gabor_039 gabor_145 gabor_113_alt gabor_056 gabor_039_alt "1_45_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2050_3000_2550_gabor_patch_orientation_145_113_056_039_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_174_framed blank blank blank blank fixation_cross_white "1_45_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_174_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1942 2992 2442 fixation_cross gabor_097 gabor_052 gabor_114 gabor_138 gabor_097_alt gabor_052_alt gabor_114 gabor_138 "1_46_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2450_gabor_patch_orientation_097_052_114_138_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_114_framed gabor_circ blank blank blank blank fixation_cross_white "1_46_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_114_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 2242 fixation_cross gabor_095 gabor_022 gabor_065 gabor_129 gabor_095 gabor_022_alt gabor_065_alt gabor_129 "1_47_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_095_022_065_129_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_129_framed blank blank blank blank fixation_cross_white "1_47_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_129_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1942 2992 1942 fixation_cross gabor_014 gabor_046 gabor_151 gabor_171 gabor_014_alt gabor_046 gabor_151 gabor_171_alt "1_48_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_014_046_151_171_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_103_framed gabor_circ blank blank blank blank fixation_cross_white "1_48_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_103_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1892 2992 2342 fixation_cross gabor_044 gabor_026 gabor_003 gabor_133 gabor_044 gabor_026_alt gabor_003_alt gabor_133 "1_49_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_044_026_003_133_target_position_1_4_retrieval_position_1" gabor_089_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_49_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_089_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2342 fixation_cross gabor_119 gabor_029 gabor_098 gabor_083 gabor_119_alt gabor_029 gabor_098 gabor_083_alt "1_50_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_119_029_098_083_target_position_2_3_retrieval_position_2" gabor_circ gabor_168_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_50_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_168_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1742 2992 1942 fixation_cross gabor_019 gabor_131 gabor_154 gabor_175 gabor_019 gabor_131 gabor_154_alt gabor_175_alt "1_51_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_1950_gabor_patch_orientation_019_131_154_175_target_position_1_2_retrieval_position_1" gabor_019_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_51_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1892 2992 1992 fixation_cross gabor_006 gabor_174 gabor_067 gabor_150 gabor_006 gabor_174_alt gabor_067_alt gabor_150 "1_52_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2000_gabor_patch_orientation_006_174_067_150_target_position_1_4_retrieval_position_2" gabor_circ gabor_174_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_52_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_174_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2042 2992 2292 fixation_cross gabor_066 gabor_139 gabor_121 gabor_083 gabor_066 gabor_139_alt gabor_121_alt gabor_083 "1_53_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_066_139_121_083_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_083_framed blank blank blank blank fixation_cross_white "1_53_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 1942 2992 2492 fixation_cross gabor_172 gabor_132 gabor_094 gabor_027 gabor_172_alt gabor_132 gabor_094_alt gabor_027 "1_54_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1950_3000_2500_gabor_patch_orientation_172_132_094_027_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_046_framed gabor_circ blank blank blank blank fixation_cross_white "1_54_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_046_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2342 fixation_cross gabor_106 gabor_016 gabor_064 gabor_125 gabor_106_alt gabor_016 gabor_064_alt gabor_125 "1_55_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2350_gabor_patch_orientation_106_016_064_125_target_position_2_4_retrieval_position_2" gabor_circ gabor_016_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_55_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_016_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 2192 fixation_cross gabor_135 gabor_178 gabor_021 gabor_158 gabor_135 gabor_178_alt gabor_021_alt gabor_158 "1_56_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_135_178_021_158_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_110_framed blank blank blank blank fixation_cross_white "1_56_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_110_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1742 2992 1892 fixation_cross gabor_166 gabor_084 gabor_105 gabor_035 gabor_166 gabor_084_alt gabor_105 gabor_035_alt "1_57_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_166_084_105_035_target_position_1_3_retrieval_position_1" gabor_166_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_57_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_166_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2242 2992 2342 fixation_cross gabor_001 gabor_159 gabor_041 gabor_123 gabor_001_alt gabor_159 gabor_041_alt gabor_123 "1_58_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_001_159_041_123_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_075_framed blank blank blank blank fixation_cross_white "1_58_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_075_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1792 2992 2242 fixation_cross gabor_179 gabor_043 gabor_067 gabor_007 gabor_179 gabor_043_alt gabor_067 gabor_007_alt "1_59_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_179_043_067_007_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_067_framed gabor_circ blank blank blank blank fixation_cross_white "1_59_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1992 2992 2142 fixation_cross gabor_080 gabor_138 gabor_101 gabor_048 gabor_080 gabor_138 gabor_101_alt gabor_048_alt "1_60_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2150_gabor_patch_orientation_080_138_101_048_target_position_1_2_retrieval_position_1" gabor_080_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_60_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_080_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1992 2992 2392 fixation_cross gabor_024 gabor_083 gabor_102 gabor_045 gabor_024_alt gabor_083_alt gabor_102 gabor_045 "1_61_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2400_gabor_patch_orientation_024_083_102_045_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_102_framed gabor_circ blank blank blank blank fixation_cross_white "1_61_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2042 2992 2192 fixation_cross gabor_091 gabor_113 gabor_024 gabor_074 gabor_091_alt gabor_113 gabor_024_alt gabor_074 "1_62_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_091_113_024_074_target_position_2_4_retrieval_position_2" gabor_circ gabor_113_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_62_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_113_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 1842 2992 2392 fixation_cross gabor_097 gabor_156 gabor_030 gabor_070 gabor_097_alt gabor_156 gabor_030 gabor_070_alt "1_63_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2400_gabor_patch_orientation_097_156_030_070_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_116_framed blank blank blank blank fixation_cross_white "1_63_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_116_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2242 2992 2042 fixation_cross gabor_028 gabor_099 gabor_062 gabor_145 gabor_028_alt gabor_099 gabor_062_alt gabor_145 "1_64_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2050_gabor_patch_orientation_028_099_062_145_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_145_framed blank blank blank blank fixation_cross_white "1_64_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_145_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1892 2992 1942 fixation_cross gabor_157 gabor_180 gabor_070 gabor_091 gabor_157 gabor_180_alt gabor_070_alt gabor_091 "1_65_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_157_180_070_091_target_position_1_4_retrieval_position_1" gabor_111_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_65_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_111_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2092 fixation_cross gabor_141 gabor_029 gabor_177 gabor_110 gabor_141_alt gabor_029 gabor_177_alt gabor_110 "1_66_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2100_gabor_patch_orientation_141_029_177_110_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_110_framed blank blank blank blank fixation_cross_white "1_66_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_110_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2192 2992 2592 fixation_cross gabor_005 gabor_086 gabor_116 gabor_059 gabor_005 gabor_086_alt gabor_116 gabor_059_alt "1_67_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2600_gabor_patch_orientation_005_086_116_059_target_position_1_3_retrieval_position_2" gabor_circ gabor_038_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_67_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_038_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 1992 fixation_cross gabor_047 gabor_113 gabor_180 gabor_095 gabor_047 gabor_113 gabor_180_alt gabor_095_alt "1_68_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2000_gabor_patch_orientation_047_113_180_095_target_position_1_2_retrieval_position_2" gabor_circ gabor_113_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_68_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_113_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2192 2992 2142 fixation_cross gabor_016 gabor_152 gabor_125 gabor_087 gabor_016_alt gabor_152 gabor_125_alt gabor_087 "1_69_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2150_gabor_patch_orientation_016_152_125_087_target_position_2_4_retrieval_position_1" gabor_063_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_69_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_063_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1792 2992 1942 fixation_cross gabor_160 gabor_053 gabor_135 gabor_077 gabor_160 gabor_053_alt gabor_135_alt gabor_077 "1_70_Encoding_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_1950_gabor_patch_orientation_160_053_135_077_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_077_framed blank blank blank blank fixation_cross_white "1_70_Retrieval_Working_Memory_MEG_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_077_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; }; # baselinePost (at the end of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }; time = 0; duration = 5000; code = "BaselinePost"; port_code = 92; };
2409d726c5a4ce1a8240af5f9d19fe74f873e5cd
449d555969bfd7befe906877abab098c6e63a0e8
/788/CH3/EX3.3.b/3_3_soln.sce
1ba784795586b846b3c4fea71c90a10351fe6f74
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
426
sce
3_3_soln.sce
clc; pathname=get_absolute_file_path('3_3_soln.sce') filename=pathname+filesep()+'3_3_data.sci' exec(filename) // Solution: // we know,output power=(Force * Displacement)/time, outpw=(F*S)/t; //ft.lb/s outpw_HP=outpw/550; //HP // Efficiency=output power/input power inpw=outpw_HP/(eta*0.01); //HP // Results: printf("\n Results: ") printf("\n The Input Horsepower required by elevator hoist motor is %.1f HP",inpw)
8513bc4ff11b2af3da4f6d4c2a789970e1c2f6fb
449d555969bfd7befe906877abab098c6e63a0e8
/587/CH13/EX13.7/example13_7.sce
46c76e70e3d47fee0028ed9e0aa933ae4c7878d8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
376
sce
example13_7.sce
clear; clc; //Example13.7[Radiation Heat Transfer between Parallel Plates] //Given:- T1=800,T2=500;//Temp of parallel plates[K] e1=0.2,e2=0.7;//Emissivities //Solution:- q12=(5.67*10^(-8))*((T1^4)-(T2^4))/((1/e1)+(1/e2)-1); disp("is transferred from plate 1 to plate 2 by radiation per unit surface area of either plate","W",round(q12),"The net heat at the rate of")
a64a5e427183996003c5d42e30a2de1e5927b9df
449d555969bfd7befe906877abab098c6e63a0e8
/3369/CH12/EX12.7/Ex12_7.sce
d21a8d60e1d6eacf42e7be36867da274243fc56f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
417
sce
Ex12_7.sce
//Chapter 12,Example 7, page 410 //Determine the induced sheath voltage clear clc D = 15 // cm rsh = 5.5/2 // Sheath diameter converted to radius in cm I = 250 // A E = 2*10^-7*314*I*log(D/rsh)*10^3 printf("\n Induced sheath voltage per Km = %f V/km",E) printf("\n If the sheaths are bonded at one end, the voltage between them at the other end = = %f V/km",E*sqrt(3)) // Answers may vary due to round off errors.
fdc5e93e1f2f58ee742a0f84142cf82c14c2df5d
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/fraclab/regdim.sci
2ea3b6c32d4c6db1ccc53ead9686c53c73a0c898
[ "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
13,629
sci
regdim.sci
function dim=regdim(x,sigma,voices,Nmin,Nmax,kernelReg,mirror,reg,graphs) // This Software is ( Copyright INRIA . 1998 1 ) // // INRIA holds all the ownership rights on the Software. // The scientific community is asked to use the SOFTWARE // in order to test and evaluate it. // // INRIA freely grants the right to use modify the Software, // integrate it in another Software. // Any use or reproduction of this Software to obtain profit or // for commercial ends being subject to obtaining the prior express // authorization of INRIA. // // INRIA authorizes any reproduction of this Software. // // - in limits defined in clauses 9 and 10 of the Berne // agreement for the protection of literary and artistic works // respectively specify in their paragraphs 2 and 3 authorizing // only the reproduction and quoting of works on the condition // that : // // - "this reproduction does not adversely affect the normal // exploitation of the work or cause any unjustified prejudice // to the legitimate interests of the author". // // - that the quotations given by way of illustration and/or // tuition conform to the proper uses and that it mentions // the source and name of the author if this name features // in the source", // // - under the condition that this file is included with // any reproduction. // // Any commercial use made without obtaining the prior express // agreement of INRIA would therefore constitute a fraudulent // imitation. // // The Software beeing currently developed, INRIA is assuming no // liability, and should not be responsible, in any manner or any // case, for any direct or indirect dammages sustained by the user. // // Any user of the software shall notify at INRIA any comments // concerning the use of the Sofware (e-mail : FracLab@inria.fr) // // This file is part of FracLab, a Fractal Analysis Software [nargout,nargin] = argn(); narg=nargin; if narg <9 graphs = 0; end if narg <8 reg = 0; end if narg <7 mirror = 0; end if narg <6 kernelReg = 'gauss'; end if min(size(x))>1 N=min(size(x)); if narg <4 Nmin= 5; end if narg <3 voices= 16; end if narg <5 Nmax= min(max(floor(N/3),Nmin+voices+1),N-1); end if narg <2 sigma= 0; end dim=dimR2D(x,sigma,voices,Nmin,Nmax,kernelReg,mirror,reg); return end N=length(x); if narg <4 Nmin= 5; end if narg <3 voices= 128; end if narg <5 Nmax= min(max(floor(N/2),Nmin+voices+1),N-1); end if narg <2 sigma= 0; end if size(x,2)==1 x=x'; end if mirror x=[mtlb_fliplr(x),x,mtlb_fliplr(x)]; mirror=1; end jmax=voices; iv=round(logspace(log10(Nmin),log10(Nmax),jmax)); imax=round(max(iv)); K=find(mtlb_diff(iv)); iv=[iv(K),imax]; jmax=length(iv); //////////////////////////////////// //a:scale ////////////////////////////////// a=[]; L=[]; Lnoisy=[]; R=[]; ////////////////////////////////////////////////////////////////////////// //Plot regularized graphs if wanted //// ////////////////////////////////////////////////////////////////////////// if graphs z=[]; for j=1:jmax execstr(('[z1,aa]='+ kernelReg+ 'conv(x,iv(j));')); a(j)=aa; z1=z1(floor(iv(j)/2)+1+mirror*N:N+floor(iv(j)/2)+mirror*N); z=[z;z1]; end win=newwin(); xset("window",win); xbasc(); xset("use color",1); xset("font",2,0); m=min(jmax+1,254); n = fix(3/8*m); r = [(1:n)'/n; ones(m-n,1)]; g = [zeros(n,1); (1:n)'/n; ones(m-2*n,1)]; b = [zeros(2*n,1); (1:m-2*n)'/(m-2*n)]; h = [r g b]; xset('colormap',h); xsetech([0,0,0.85,1.0]); plot2d(z'); xsetech([0.85,0,0.15,1.0]); tt=[zeros(1,jmax);ones(1,jmax)]; aa=[a,a]'; rect=[0,min(log(a)),1,max(log(a))]; tics=[0,0,5,5]; plotframe(rect,tics); plot2d(tt,log(aa),[1:jmax],'000'); xtitle('Scale colors','','log(scale)'); end for j=1:jmax i=round(iv(j)); execstr(('[z1prim,aa]='+ kernelReg+ 'primconv(x,iv(j));')); a(j)=aa; z1prim=z1prim(i+1+mirror*(N-floor(iv(j)/2)):N+mirror*(N+i-floor(iv(j)/2))); dl=abs(z1prim); if isempty(dl) break; end if sigma>0 Lnoisy(j)=mean(dl); ////////////////////////// // signal/noise component rate //////////////////////// s=sigma/sqrt(sqrt(2*%pi)*a(j)^3); dln=2*s/sqrt(%pi).*exp(-(dl.^2)./s^2); dlsb=dl-dln; R(j)=mean(dln)/Lnoisy(j); ////////////////// //Corrected unbiased lengths ////////////////// c=ones(1,i)./i; dlsbm=convol(c,dlsb); dlsbm=dlsbm(floor(i/2)+1:floor(i/2)+length(dlsb)); dlsbc=s*sqrt(2)*invfonc(dlsbm./(s*sqrt(2))); L(j)=mean(dlsbc); else L(j)=mean(dl)+N^(-2); end end dim=reg_dimR(a,L,Lnoisy,R,reg,sigma); function [z,a]=gaussconv(x,iv); ////////////////////////// //convoluate with the L1 normalized gaussian kernel ////////////////////////// alpha=3.0; i=round(iv); y=gauss(i,alpha); a=(iv-1.0)/(2.0*sqrt(alpha*log(10))); y=y./(a*sqrt(%pi)); z=convol(y,x); function [z,a]=rectconv(x,iv); ////////////////////////// ///convoluate with the L1 normalized rectangle kernel ////////////////////////// i=round(iv); a=(iv-1.0); y=ones(1,i); y=y./iv; z=convol(y,x); function [z,a]=gaussprimconv(x,iv); ////////////////////////// //convoluate with the derivative ofL1 normalized gaussian kernel ////////////////////////// alpha=3.0; i=round(iv); yprim=gauss(i,alpha,1); a=(i-1.0)/(2.0*sqrt(alpha*log(10))); yprim=yprim./(a*sqrt(%pi)); z=convol(yprim,x); function [z,a]=rectprimconv(x,iv); ////////////////////////// //convoluate with the derivative ofL1 normalized rectangle kernel ////////////////////////// i=round(iv); a=(i-1.0); z=[x,zeros(1,i-1)]-[zeros(1,i-1),x]; z=z/iv; function dim=reg_dimR(a,L,Lnoisy,R,reg,sigma,d); ////////////////////////// //compute the regression by hand or automatically. ////////////////////////// [nargout,nargin] = argn(); narg=nargin; if narg <7 d = 1; end I=find(L>0); if length(I)<2 disp('Choose a wider range or more voices: could not make any regression.') dim=%nan; newhfig=handlefig; return; end la=log(a(I)); lL=log(L(I)); if sigma>0 J=find((R(I)>0)&(R(I)<0.5)); if length(J)<2 warning('The regression is done in an area where the noise prevalence ratio is upper than 0.5 (log10(NPR) > -0.3)'); J=[length(I)-1,length(I)]; [a_hat,b_hat,y_hat]=monolr(la(J),lL(J),'ls'); Kreg=J; dim=d-a_hat; else [a_hat,b_hat,y_hat]=monolr(la(J),lL(J),'ls'); Kreg=J; dim=d-a_hat; end else [a_hat,b_hat,y_hat]=monolr(la,lL,'ls'); Kreg=[1:length(la)]; dim=d-a_hat; end if reg if sigma>0 J=find(R>0); win=newwin(); xset("window",win); xbasc(); xset("use color",1); xset("font",2,0); xsetech([0,0,1,0.5]); plot2d(log(a(J)),log10(R(J)),-1) xtitle('Noise Prevalence Ratio','Log(scale)','Log10(NPR)'); xgrid(); else win=newwin(); xset("window",win); xbasc(); xset("use color",1); xset("font",2,0); xsetech([0,0,1,0.5]); diffL=mtlb_diff(lL); diffa=mtlb_diff(la); newa=a(2:length(la)); J=find(diffa); dLdarate=diffL(J)./diffa(J); newa=newa(J); plot2d(log(newa),dLdarate,-1); xtitle('Increments \Delta log(L)','Log(scale)'); xgrid(); end X=[min(la(Kreg)),max(la(Kreg))]; while length(X)==2 xsetech([0,0.5,1,0.5]); [rect,rect1]=xgetech(); rtit=1/6; xclea(rect1(1),rect1(4)+ (rect1(4)-rect1(2))* rtit ... ,rect1(3)-rect1(1),(rect1(4)-rect1(2))* (1.0+rtit)); if sigma>0 J=find(R>0); plot2d(log(a(J)),log(Lnoisy(J)),-2) plot2d(la,lL,-1,"000"); else plot2d(la,lL,-1) end xgrid(); Kreg=find((la>=min(X))&(la<=max(X))); if length(Kreg)<2 xtitle('Choose a wider regression range','Log(scale)','Log(L)') else [slope,ord,y_hat]=monolr(la(Kreg),lL(Kreg),'ls'); plot2d(la(Kreg),y_hat,2,"000"); dim=d-slope; xtitle(['Estimated Regularization Dimension = ',string(dim)],'Log(scale)','Log(L)'); end X=input("Enter the regression range by its minimum scale and its maximum [amin,amax]="); end end function z=invfonc(x) ////////////////////////// //inverse of function x*erf(x). ////////////////////////// z=(sign(x).*sqrt(sqrt(%pi)/2*abs(x))+(x.^4).*(x+exp(-x.^2)/sqrt(%pi).*sign(x)))./(x.^4+1); function win=newwin() ///////////////////////// //find the next window number ///////////////////////// w=mtlb_fliplr(sort(winsid())); i=find(mtlb_diff(w)>1); if i==[] win=max(w)+1; else win=w(min(i))+1; end function dim=dimR2D(x,sigma,voices,Nmin,Nmax,kernelReg,mirror,reg) [N,P]=size(x); if mirror x=[mtlb_fliplr(x),x,mtlb_fliplr(x)]; x=[mtlb_flipud(x);x;mtlb_flipud(x)]; mirror=1; end jmax=voices; iv=round(logspace(log10(Nmin),log10(Nmax),jmax)); imax=round(max(iv)); K=find(mtlb_diff(iv)); iv=[iv(K),imax]; jmax=length(iv); //////////////////////////////////// //a:scale ////////////////////////////////// a=[]; L=[]; Lnoisy=[]; R=[]; for j=1:jmax ii=round(iv(j)); execstr(('[dzx,dzy,aa]='+ kernelReg+ '2dprimconv(x,iv(j));')); a(j)=aa; dzx=dzx(ii+1+mirror*(N-floor(iv(j)/2)) ... :N+mirror*(N+ii-floor(iv(j)/2)), ... ii+1+mirror*(P-floor(iv(j)/2)) ... :P+mirror*(P+ii-floor(iv(j)/2))); dzy=dzy(ii+1+mirror*(N-floor(iv(j)/2)) ... :N+mirror*(N+ii-floor(iv(j)/2)), ... ii+1+mirror*(P-floor(iv(j)/2)) ... :P+mirror*(P+ii-floor(iv(j)/2))); dlx=abs(dzx); dly=abs(dzy); dl=dlx+dly; if isempty(dl) break; end if sigma >0 Lnoisy(j)=mean(mean(dl)); execstr(('[dz,aa]='+ kernelReg+ '2dconv1(dzx,dzy,iv(j));')); a(j)=aa; dl=abs(dz); LRT=mean(mean(dl)); ////////////////////////// // signal/noise component rate //////////////////////// s=sigma/sqrt(sqrt(2*%pi)*a(j)^3); dln=2*s/sqrt(%pi).*exp(-(dl.^2)./s^2); //dlnx=2*s/sqrt(pi).*exp(-(dlx.^2)./s^2); //dlny=2*s/sqrt(pi).*exp(-(dly.^2)./s^2); //dln=dlnx+dlny; //dlsbx=dlx-dlnx; //dlsby=dly-dlny; dlsb=dl-dln; R(j)=mean(mean(dln))/LRT; ////////////////// //Corrected unbiased lengths ////////////////// //c=ones(1,ii)./ii; //dlsbmx=convol2(1,c,dlsbx); //dlsbmx=dlsbmx(ii:size(dlsbx,1),ii:size(dlsbx,2)); //dlsbcx=s*sqrt(2)*invfonc(dlsbmx./(s*sqrt(2))); //dlsbmy=convol2(c,1,dlsby); //dlsbmy=dlsbmy(ii:size(dlsby,1),ii:size(dlsby,2)); //dlsbcy=s*sqrt(2)*invfonc(dlsbmy./(s*sqrt(2))); //L(j)=mean(mean(dlsbcx))+mean(mean(dlsbcy)); L(j)=mean(mean(dlsb))*Lnoisy(j)/LRT; else L(j)=mean(mean(dl))+(max([N,P]))^(-2); end end dim=reg_dimR(a,L,Lnoisy,R,reg,sigma,2); function [h]=convol2(x,y,z) //convoluate the real vector x with the coluns of z // the real vector y with the lines of z // or // if no z in entries, the real matrix x with the real matix y [nargout,nargin] = argn(); narg=nargin; if narg==3 [n,p]=size(z); nl=length(x); nc=length(y); if size(x,2)==1 x=x' end x=[x,zeros(1,n-1)]; if size(y,2)==1 y=y' end y=[y,zeros(1,p-1)]; z=[z,zeros(n,nc-1);zeros(nl-1,p+nc-1)]; zf=fft(z,-1); xf=fft(x',-1); yf=fft(y,-1); xf=xf(:,ones(1,p+nc-1)); yf=yf(ones(1,n+nl-1),:); h=fft(zf.*xf.*yf,1); else [nx,px]=size(x); [ny,py]=size(y); x=[x,zeros(nx,py-1);zeros(ny-1,px+py-1)]; y=[y,zeros(ny,px-1);zeros(nx-1,px+py-1)]; xf=fft(x,-1); yf=fft(y,-1); h=fft(xf.*yf,1); end h=real(h); function g = gauss2d(n,a) // GAUSS2D GAUSS2D(N,A) returns the NxN-point Gauss 2d-window. // a corresponds to an attenuation of 10^(-a) at the end of the // Gauss window // Input: -N number of points in one direction // -a dB attenuation. Default value is a = 2. // Output: -g time samples of the Gauss window // // Example: // // See also: // [nargout,nargin] = argn(); narg=nargin; if narg==2 g1=gauss(n,a); else g1=gauss(n); end g=g1'*g1; function [z,a]=gauss2dconv(x,iv); alpha=3.0; i=round(iv); y=gauss2d(i,alpha); a=(iv-1.0)/(2.0*sqrt(alpha*log(10))); z=convol2(x,y); Norm=(a*sqrt(%pi))^2; z=z/Norm; function [z,a]=gauss2dconv1(x,y,iv); alpha=3.0; ii=round(iv); g=gauss(ii,alpha); a=(ii-1.0)/(2.0*sqrt(alpha*log(10))); zx=convol2(g,1,x); zx=zx(floor(ii/2)+1:floor(ii/2)+size(x,1),:); zy=convol2(1,g,y); zy=zy(:,floor(ii/2)+1:floor(ii/2)+size(x,2)); z=zx+zy; Norm=a*sqrt(%pi); z=z/Norm; function [gx,gy]=gauss2dprim(n,alpha) // GAUSS2DPRIM GAUSS2DPRIM(N,A) returns the derivative of // NxN-point Gauss 2d-window. // a corresponds to an attenuation of 10^(-a) at the end of the // Gauss window // Input: -N number of points in one direction // -a dB attenuation. Default value is a = 2. // Output: -g time samples of the derivative of Gauss window // // Example: // // See also: // [nargout,nargin] = argn(); if nargin == 1 alpha = 2 ; end g=gauss(n,alpha); g1=gauss(n,alpha,1); gx=g'*g1; gy=g1'*g; function [zx,zy,a]=gauss2dprimconv(x,iv); alpha=3.0; ii=round(iv); gx=gauss(ii,alpha,1); a=(ii-1.0)/(2.0*sqrt(alpha*log(10))); zx=convol2(1,gx,x); zy=convol2(gx,1,x); Norm=a*sqrt(%pi); zx=zx/Norm; zy=zy/Norm; function [z,a]=rect2dconv(x,iv); i=round(iv); a=(iv-1.0); y=ones(i,i); y=y; z=convol2(x,y); Norm=iv^2; z=z/Norm; function [z,a]=rect2dconv1(x,y,iv); ii=round(iv); g=ones(1,ii); a=(iv-1.0); zx=convol2(g,1,x); zx=zx(floor(ii/2)+1:floor(ii/2)+size(x,1),:); zy=convol2(1,g,y); zy=zy(:,floor(ii/2)+1:floor(ii/2)+size(x,2)); z=zx+zy; Norm=iv; z=z/Norm; function [zx,zy,a]=rect2dprimconv(x,iv); [n,p]=size(x); j=round(iv); a=(iv-1.0); zx=[x,zeros(n,j-1)]-[zeros(n,j-1),x]; zy=[zeros(j-1,p);x]-[x;zeros(j-1,p)]; Norm=iv; zx=zx/Norm; zy=zy/Norm;
fab1825b114cb98aec8aac3d26034d511faad048
449d555969bfd7befe906877abab098c6e63a0e8
/2141/CH5/EX5.15/Ex5_15.sce
f0a7462d228ca33fdc5166e6bfe7d34db7980e80
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
419
sce
Ex5_15.sce
clc //initialisation of variables v=2 //ft^3 u1=7.259//lbm u2=9.403 //lbm p1=60 //lbf/in^2 t=300 //f M=0.275 //lbm h1=1181.6//btu h2=1283.0 //Btu t1=144//in^2/ft^3 T=778//F W=6.5//Btu //CALCULATIONS Q1=M*(h2-h1)//Btu U=Q1-W //Btu v1=h1-(p1*t1*u1/T)//Btu/lbm v2=h2-(p1*t1*u2/T)//Btu/lbm U1=M*(v2-v1)//Btu //RESULTS printf('The heat transfer and the work and change in internal energy=% f Btu',U1)
65cbc30d71e5b35f12e5b64b67b96645d6b6e27a
449d555969bfd7befe906877abab098c6e63a0e8
/3311/CH2/EX2.11/Ex2_11.sce
0c51c68a19b9625dd1982f923c9c2299e9d6e330
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
387
sce
Ex2_11.sce
// chapter 2 // example 2.11 // Fig. E2.11 // Calculate shortest fault clearance time // page-54-55 clear; clc; // given Vm=120; // in V (sinosoidal ac supply) integration=15; // in a^2.s (integral of square of current) // calculate t=integration/Vm^2; // calculation of fault clearance time t=t*1E3; // changing unit from s to ms printf("\n\nThe fault clearance time is \t= %.2f ms",t);
796924f43b6d37fc8b223940cb07300c73f7065e
bd6a24f2398fc7c6ed3648fefaaa9e0d306338e0
/sym_testscript.sce
b6864c4c4691957c017146ab544cb11b387553b5
[]
no_license
KPJoshi/SymphonyToolboxForScilab
f552eef762cccacd65fd55cfe22c6422ed55eb9d
2c58d197d4d21aa8310e02ab6dd9252d1c43ac94
refs/heads/master
2021-01-10T16:40:49.898146
2015-07-21T12:46:54
2015-07-21T12:46:54
36,343,205
0
1
null
2015-07-02T15:36:30
2015-05-27T04:38:36
C++
UTF-8
Scilab
false
false
4,959
sce
sym_testscript.sce
//Symphony Toolbox //Script to test the toolbox //Made by Keyur Joshi //-------------- //initialization //-------------- exec loader.sce function performLotsOfTests(numVar) //be verbose mode(1) //get data sym_getNumVar sym_getNumConstr sym_getVarLower sym_getVarUpper sym_getObjCoeff sym_getObjSense for iter=0:(numVar-1) sym_isContinuous(iter) sym_isBinary(iter) sym_isInteger(iter) end sym_getNumElements sym_getMatrix sym_getConstrLower sym_getConstrUpper sym_getConstrRange sym_getConstrSense //solve the problem sym_solve //get more data sym_getStatus sym_isOptimal sym_isInfeasible sym_isAbandoned sym_isIterLimitReached sym_getIterCount sym_isTimeLimitReached sym_isTargetGapAchieved sym_getPrimalBound //these can fail if problem is infeasible try sym_getVarSoln sym_getObjVal sym_getConstrActivity catch mprintf("Some tests were skipped, most likely because the problem is infeasible.\n") end endfunction clc //open environment sym_open //check that it is open sym_isEnvActive //misc. checks sym_getInfinity //--------------------------------------- //test 1: problem loader and data viewers //--------------------------------------- //test 1 problem 1 : integer problem //load the problem sym_loadProblem(2,2,[0,0],[%inf,%inf],[1,1],[%t,%t],sym_maximize,sparse([1,2;2,1]),[-%inf;-%inf],[7;6.5]) performLotsOfTests(2) //test 1 problem 2 : pure non-integer problem //load the problem sym_loadProblemBasic(2,2,[0,0],[%inf,%inf],[-1,-1],[%f,%f],sym_minimize,[1,2;2,1],[-%inf;-%inf],[7;6.5]) performLotsOfTests(2) //test 1 problem 3 : infeasible problem //load the problem sym_loadProblem(2,1,[0.1,0.1],[0.9,0.9],[1,1],[%f,%t],sym_maximize,sparse([1,1]),[-%inf],[1]) performLotsOfTests(2) //test 1 problem 4 : from https://people.richland.edu/james/ictcm/2006/3dsimplex.html sym_loadProblemBasic(3,4,[0,0,0],[%inf,%inf,%inf],[20,10,15],[%f,%f,%f],sym_maximize,[3,2,5;2,1,1;1,1,3;5,2,4],[-%inf;-%inf;-%inf;-%inf],[55;26;30;57]) performLotsOfTests(3) //test 1 problem 5 : same as problem 4, but constrainted to be integer sym_loadProblemBasic(3,4,[0,0,0],[%inf,%inf,%inf],[20,10,15],[%t,%t,%t],sym_maximize,[3,2,5;2,1,1;1,1,3;5,2,4],[-%inf;-%inf;-%inf;-%inf],[55;26;30;57]) performLotsOfTests(3) //test 1 problem 6 : from http://in.mathworks.com/help/optim/ug/mixed-integer-linear-programming-basics.html sym_loadProblemBasic(8,3,[0,0,0,0,0,0,0,0],[1,1,1,1,%inf,%inf,%inf,%inf],[350*5,330*3,310*4,280*6,500,450,400,100],[%t,%t,%t,%t,%f,%f,%f,%f],sym_minimize,[5,3,4,6,1,1,1,1;5*0.05,3*0.04,4*0.05,6*0.03,0.08,0.07,0.06,0.03;5*0.03,3*0.03,4*0.04,6*0.04,0.06,0.07,0.08,0.09],[25;1.25;1.25],[25;1.25;1.25]) performLotsOfTests(8) //test 1 problem 7 : unbounded solution sym_loadProblemBasic(1,1,[0],[%inf],[1],[%t],sym_maximize,[1],[0],[%inf]) performLotsOfTests(1) input("Test 1 complete. Press enter to clear console and perform next test.") clc //------------------------- //test 2: problem modifiers //------------------------- //load a basic problem sym_loadProblem(2,2,[0,0],[%inf,%inf],[1,1],[%t,%t],sym_maximize,sparse([1,2;2,1]),[-%inf;-%inf],[7;6.5]) sym_setObjSense(sym_minimize) sym_getObjSense sym_setContinuous(1) sym_isContinuous(1) sym_setInteger(1) sym_isInteger(1) sym_setObjCoeff(1,2) sym_getObjCoeff sym_setVarLower(1,-1) sym_getVarLower sym_setVarUpper(0,100) sym_getVarUpper sym_setConstrLower(0,-100) sym_getConstrLower sym_getConstrRange sym_getConstrSense sym_setConstrUpper(0,7.1) sym_getConstrUpper sym_getConstrRange sym_getConstrSense sym_setConstrType(1,"R",-1,6.6) sym_getConstrLower sym_getConstrUpper sym_getConstrRange sym_getConstrSense sym_getNumVar sym_getNumConstr sym_addConstr(sparse([2,3]),"G",5) sym_addConstr(sparse([1.5,2.3]),"E",7) sym_getConstrLower sym_getConstrUpper sym_getConstrRange sym_getConstrSense sym_deleteConstrs([2,3]) sym_getNumVar sym_getNumConstr sym_addVar(sparse([1;1]),-%inf,%inf,1,%f,"test1") sym_addVar(sparse([1.5;0.5]),100,200,-0.2,%t,"test2") sym_getVarLower sym_getVarUpper sym_getObjCoeff sym_isContinuous(2) sym_isBinary(2) sym_isInteger(2) sym_isContinuous(3) sym_isBinary(3) sym_isInteger(3) sym_getMatrix sym_deleteVars([2,3]) sym_getNumVar sym_getNumConstr input("Test 2 complete. Press enter to clear console and perform next test.") clc //-------------------------- //test 3: runtime parameters //-------------------------- //load a basic problem sym_loadProblem(2,2,[0,0],[%inf,%inf],[1,1],[%t,%t],sym_maximize,sparse([1,2;2,1]),[-%inf;-%inf],[7;6.5]) sym_setDblParam("time_limit",10) sym_getDblParam("time_limit") sym_setStrParam("probname","testprob") sym_getStrParam("probname") sym_setIntParam("verbosity",1) sym_getIntParam("verbosity") sym_setIntParam("xyz",11) sym_resetParams sym_getDblParam("time_limit") sym_getStrParam("probname") sym_getIntParam("verbosity") //------------ //finalization //------------ //close environment sym_close //check that it has closed sym_isEnvActive
a9149fa99d4a5cccd956267c39c1ba64d9dc5447
449d555969bfd7befe906877abab098c6e63a0e8
/1538/CH4/EX4.7/Ex4_7.sce
6964b2cedec940e91ec8cec983da3d5f6b6a5e1f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Ex4_7.sce
//example-4.7 //page no-126 //given //radii of cation and anion in MgO rc=0.78*10^-10 //m ra=1.32*10^-10 //m //so the lattice side will be a=2*(rc+ra) //m //effective no of atoms in FCC lattice structure Ne=4 //because MgO has FCC cubic structure //molecular weight of MgO Aw=24.3+16 //atomic weight unit amu=1.66*10^-27 //amu //mass of atom per unit cell M=Aw*amu //density rho=M*Ne/a^3 //kg/m^3 printf ("density of MgO is 3611.813 Kg/m^3")
e0df207f38b3627f6548facafc925975aeca6645
449d555969bfd7befe906877abab098c6e63a0e8
/2066/CH2/EX2.4/2_4.sce
032bedd186dec08fbce58eabde891411699dde4d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
369
sce
2_4.sce
clc clear //Initialization of variables pb=28 //in mercury d=13.6 //g/cc gam=62.4 xm=15 //in xw=10 //in patm=28 //in //calculations pB=-xm/12 *gam/144 *d + xw*gam/144 pair=patm/12 *gam/144 *d - xm/12 *gam/144 *d //results printf("The pressure gauge at B indicates a reading of %.2f psi vacuum",-pB) printf("\n Absolute pressure of Air = %.2f psia",pair)
bf347fa33338dac973e8c347fdff225aa58c9027
449d555969bfd7befe906877abab098c6e63a0e8
/291/CH7/EX7.2d/eg7_2d.sce
7c20cb26853708c55a8395bf2d0038919b8e4038
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
90
sce
eg7_2d.sce
accidents= [4 0 6 5 2 1 2 0 4 3 ]; lambda= mean(accidents) disp(cdfpoi("PQ", 2, lambda))
3956a815f1fbb9d5122ac570ed4c02734d488a44
449d555969bfd7befe906877abab098c6e63a0e8
/2183/CH7/EX7.10/Ex_7_10.sce
a4e4aacaac505598074311a994f4801230379dd9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
179
sce
Ex_7_10.sce
//Example 7.10 // Bandwidth clc; clear; close; //given data : t_tr=100;// in ps tau_rc=100;// in ps BW=(1/(2*%pi*(t_tr+tau_rc)*10^-12))*10^-9; disp(BW,"Bandwidth,BW(G bit/s) = ")
2f300c4c1242378f5d08c78da8ac94441b45d470
449d555969bfd7befe906877abab098c6e63a0e8
/3871/CH6/EX6.17/Ex6_17.sce
007efa6d73e729916dc052e75894f352d2580e95
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
921
sce
Ex6_17.sce
//=========================================================================== //chapter 6 example 17 clc;clear all; //variable declaration Tp = 1; //number of turns in primary KT = 200; //turns ratio Is = 5; //secondary current in A Rs = 1.5; //secondary burden in Ω f = 50; //frequency in Hz L =1.5; //iron loss in Watts Ie = 40; //current in A //calculaations Ts = KT*Tp; //number of turns in secondary Vs = Is*Rs; //secondary voltage in V phimax = Vs/(4.44*f*Ts); //flux inn the core in mWb Il = L/(Vs); //iron-loss in the secondary side in A Ip = KT*Il; //iron-loss current in primary side in A x =(KT*Is)+Ie; e = ((-Ie/((x))))*100; //ratio error in % //result mprintf("flux in the core = %3.3e percentage mWb",(phimax*10^3)); mprintf("\nratio error = %3.4f percentage",e);
5aa5ce7182700dad9b4411d03e29e5e25107cc69
449d555969bfd7befe906877abab098c6e63a0e8
/569/CH2/EX2.27/2_27.sci
126c0d4d369fbd5eeb5f905d5a0b87f4ed842cd3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
240
sci
2_27.sci
//calculating the voltage across the oscilloscope clc; C=50*10^-6; f=100000; disp(f,'frequency=') Xc=1/(2*%pi*f*C); R=10^6; Zl=(R*-%i*Xc)/(R-%i*Xc); Eo=1; Zo=10*10^3; El=Eo/(1+Zo/Zl); disp(El,'Reading of the multimeter (V)=')
fab187141ce13fe69e53fc6500b6638edc29df62
449d555969bfd7befe906877abab098c6e63a0e8
/3845/CH8/EX8.3/Ex8_3.sce
d93ee4a536a057266f8c2fa1ddcabc9b8e4c4530
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
417
sce
Ex8_3.sce
//Example 8.3 printf('a.Solution is beyond the scope of numerical computation'); //For (b), the ratio of magnitudes of impulse imparted to the balls = (2*m*u)/(2*m*u*cosd(30)) theta=30;//Angle (deg) r=1/cosd(theta); printf('\nb.Ratio of magnitude of impulse exerted on first ball to that on second ball = %0.3f',r) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest
269fc2fef0b433b63ec9068f8dbc3eae48349ffc
ceef50b760b74e789250868ad377d5f5c5e390b1
/tp2/gaetan/tiTesteProjection.sce
afd89082dc95d07bd17574f1ad49a79ffcfd5085
[]
no_license
agoryu/TI
c01c9666e0d06b243e2e5450d168976a7e41091a
5acedfe65ce7122045d59a4b7d3f213e40c0a8b2
refs/heads/master
2021-01-22T23:20:17.395990
2015-04-17T10:15:21
2015-04-17T10:15:21
29,386,147
0
0
null
null
null
null
UTF-8
Scilab
false
false
944
sce
tiTesteProjection.sce
// Effacer la memoire de travail de Scilab clear; // Chargement des fonctions externes exec ('tiProjection.sci'); // Definition d'un cube de cote unite, sommets et aretes [pCube, sCube] = tiCube (1); // Matrice de projection 3D -> 2D // Matrice intrinsèques //M = [ -360 0 80 400; // 0 -360 60 300; // 0 0 0.2 1]; theta = 45; matRX = RotationX(theta); matRY = RotationY(0); matRZ = RotationZ(theta); matT = Translation(0,0,5); matExt = Extrinseques(matRX, matRY, matRZ, matT); matProj = Projection(20, 600/6.6, 800/8.8, 600/2, 800/2); disp(matProj); //matProj = Projection(20, 600/6.6, 800/8.8, 800/2, 600/2) M = matProj * matExt; disp(M); // Projection des sommets du cube p = M * pCube; // Passage en coordonnees cartesiennes p = [p(1,:) ./ p(3,:); p(2,:) ./ p(3,:)]; disp(p); // Affichage dans la figure 1 tiAfficheObjet2D (1, [600, 800], p, sCube);
936b2eeeec879bed69e83cec3a7eef1553baad43
449d555969bfd7befe906877abab098c6e63a0e8
/1052/CH9/EX9.4/94.sce
dd030b06a962facd3c36df90044e82f1756520a6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,506
sce
94.sce
clc; //Example 9.4 //page no 89 fig 9.2 printf("Example 9.4 page no 89 fig. 9.2\n\n\n"); //water is discharged through a fire hose rho=1000//density of water meu=0.001//viscosity of water q=0.025//flow rate at section 1 D1=.1//diameter at section 1 D2=.03//diameter at section 2 printf("\n density rho=%f kg/m^3\n viscosity meu=%3f kg/m.s\n volumatric flow rate q=%f m^3/s\n diametetr at section1 D1=%f m\n diameter at section2 D2=%f m",rho,meu,q,D1,D2); S1=(%pi*D1^2)/4 S2=(%pi*D2^2)/4 printf("\n surface area at section 1 S1=%f m^2\n surface area at section 2 S2=%f m^2",S1,S2); v1=q/S1//velocity at section1 v2=q/S2//velocity at section2 printf("\n velocity at sec1 v1=%f m/s\n velocity at sec2 v2=%f m/s",v1,v2); //appuing bernoulli's equation between point 1 and 2 P2=0//pressure at point 2 P1=(rho/2)*(v2^2-v1^2)//pressure at point 1 printf("\n pressure at point2 P2=%f Pag(pascal gauge)\n pressure atpoint1 P1=%f Pag",P2,P1); m_dot1=25//mass flow rate at section 1 m_dot2=25//mass flow rate at section 2 printf("\n mass flow rate m_dot1=%f kg/s\n mass flow rate m_dot2=%f kg/s",m_dot1,m_dot2); M_dot1_x=m_dot1*v1//momentum rate in x dir at section 1 M_dot2_x=m_dot2*v2//momentum rate in x dir at section 2 printf("\n momentum rate M_dot1_x=%f N\n momentum rate M_dot2_x=%f N",M_dot1_x,M_dot2_x); //applying momentum balance in the x direction F_x=M_dot2_x-M_dot1_x-P1*S1//force from momentum balance printf("\n force from momentum balance F_x=%f N",F_x);
ccbaf237b1426b0ec6569587e0f74f15d2aa8ec2
449d555969bfd7befe906877abab098c6e63a0e8
/2213/CH1/EX1.10/ex_1_10.sce
3d38dfe158675ac8ae26ad2910b3cc6c794cb766
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
457
sce
ex_1_10.sce
//Example 1.10 // height clc; clear; close; format('v',8) vs=10;//secondary voltage in volts p=400;//power drawn in kW pf=0.6;// is=(p*10^3)/pf;//secondary current in amperes zs=vs/is;//impedence of secondary circuit in ohms rs=zs*pf;//resistance of secondary circuit in ohms res=zs*(sqrt(1-pf^2));//rectancetance of secondary circuit in ohms x=(rs)/res;//height disp(x,"maximum heat will be obtained with the height of charge as 3/4 of height of hearth")
50193b47a497926108dd1006edb36af09493fbce
72d7c10733e74eafb60961874dedea7fa2a43569
/2.Basics/conv.sce
5ff9787eb5255326ef7164d4315a95e6d640450f
[]
no_license
AkshayNachappa/Scilab-Workshop
8dc448c41a2e768f3d93bbed928705445b9c007b
056436f38a1f3aad7d1e3669595718839108c40e
refs/heads/master
2023-01-02T00:20:19.968404
2020-10-20T17:04:44
2020-10-20T17:04:44
297,102,650
2
2
null
2020-10-20T17:04:46
2020-09-20T15:12:27
Scilab
UTF-8
Scilab
false
false
89
sce
conv.sce
clear; clc; close; t=0:1:6; x=1:4; h1=[1,1,-1,1]; x1=convol(h1,x) plot2d3 (t,x1)
688b4b4d42744d9519f88217342001d80eba846b
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/SCHI/NF65WHQ/ATWM1_Working_Memory_MEG_NF65WHQ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce
697f94b84e4f4f410db2a811d06ca2dab263cb4e
[]
no_license
atwm1/Presentation
65c674180f731f050aad33beefffb9ba0caa6688
9732a004ca091b184b670c56c55f538ff6600c08
refs/heads/master
2020-04-15T14:04:41.900640
2020-02-14T16:10:11
2020-02-14T16:10:11
56,771,016
0
1
null
null
null
null
UTF-8
Scilab
false
false
49,597
sce
ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce
# ATWM1 MEG Experiment scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1"; #scenario_type = fMRI; # Fuer Scanner #scenario_type = fMRI_emulation; # Zum Testen scenario_type = trials; # for MEG #scan_period = 2000; # TR #pulses_per_scan = 1; #pulse_code = 1; pulse_width=6; default_monitor_sounds = false; active_buttons = 2; response_matching = simple_matching; button_codes = 10, 20; default_font_size = 36; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; write_codes=true; # for MEG only begin; #Picture definitions box { height = 382; width = 382; color = 0, 0, 0;} frame1; box { height = 369; width = 369; color = 255, 255, 255;} frame2; box { height = 30; width = 4; color = 0, 0, 0;} fix1; box { height = 4; width = 30; color = 0, 0, 0;} fix2; box { height = 30; width = 4; color = 255, 0, 0;} fix3; box { height = 4; width = 30; color = 255, 0, 0;} fix4; box { height = 369; width = 369; color = 42, 42, 42;} background; TEMPLATE "StimuliDeclaration.tem" {}; trial { sound sound_incorrect; time = 0; duration = 1; } wrong; trial { sound sound_correct; time = 0; duration = 1; } right; trial { sound sound_no_response; time = 0; duration = 1; } miss; # Start of experiment (MEG only) - sync with CTF software trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; } expStart; time = 0; duration = 1000; code = "ExpStart"; port_code = 80; }; # baselinePre (at the beginning of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }default; time = 0; duration = 10000; #mri_pulse = 1; code = "BaselinePre"; port_code = 91; }; TEMPLATE "ATWM1_Working_Memory_MEG.tem" { trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4; 43 62 292 292 399 125 1792 2992 1892 fixation_cross gabor_013 gabor_176 gabor_063 gabor_146 gabor_013_alt gabor_176 gabor_063_alt gabor_146 "1_1_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_1900_gabor_patch_orientation_013_176_063_146_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_146_framed blank blank blank blank fixation_cross_target_position_2_4 "1_1_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_146_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2092 2992 2592 fixation_cross gabor_047 gabor_121 gabor_090 gabor_166 gabor_047_alt gabor_121 gabor_090_alt gabor_166 "1_2_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_047_121_090_166_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_031_framed blank blank blank blank fixation_cross_target_position_2_4 "1_2_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1892 2992 2192 fixation_cross gabor_076 gabor_044 gabor_134 gabor_159 gabor_076 gabor_044_alt gabor_134_alt gabor_159 "1_3_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2200_gabor_patch_orientation_076_044_134_159_target_position_1_4_retrieval_position_1" gabor_027_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_3_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_027_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1842 2992 2592 fixation_cross gabor_098 gabor_164 gabor_036 gabor_118 gabor_098 gabor_164_alt gabor_036_alt gabor_118 "1_4_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2600_gabor_patch_orientation_098_164_036_118_target_position_1_4_retrieval_position_1" gabor_098_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_4_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_098_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 2192 2992 2042 fixation_cross gabor_125 gabor_178 gabor_038 gabor_151 gabor_125 gabor_178_alt gabor_038 gabor_151_alt "1_5_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2200_3000_2050_gabor_patch_orientation_125_178_038_151_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_151_framed blank blank blank blank fixation_cross_target_position_1_3 "1_5_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_151_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2192 2992 2592 fixation_cross gabor_154 gabor_107 gabor_074 gabor_130 gabor_154_alt gabor_107 gabor_074 gabor_130_alt "1_6_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2600_gabor_patch_orientation_154_107_074_130_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_024_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_6_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_024_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2042 2992 1892 fixation_cross gabor_141 gabor_122 gabor_080 gabor_057 gabor_141_alt gabor_122_alt gabor_080 gabor_057 "1_7_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_1900_gabor_patch_orientation_141_122_080_057_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_008_framed blank blank blank blank fixation_cross_target_position_3_4 "1_7_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2242 2992 1992 fixation_cross gabor_082 gabor_124 gabor_106 gabor_141 gabor_082_alt gabor_124 gabor_106 gabor_141_alt "1_8_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2000_gabor_patch_orientation_082_124_106_141_target_position_2_3_retrieval_position_2" gabor_circ gabor_171_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_8_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_171_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1842 2992 1992 fixation_cross gabor_086 gabor_169 gabor_153 gabor_114 gabor_086 gabor_169 gabor_153_alt gabor_114_alt "1_9_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2000_gabor_patch_orientation_086_169_153_114_target_position_1_2_retrieval_position_2" gabor_circ gabor_032_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_9_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_032_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 1992 2992 2142 fixation_cross gabor_037 gabor_084 gabor_150 gabor_118 gabor_037_alt gabor_084 gabor_150 gabor_118_alt "1_10_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2000_3000_2150_gabor_patch_orientation_037_084_150_118_target_position_2_3_retrieval_position_1" gabor_173_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_10_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_173_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2142 2992 2192 fixation_cross gabor_051 gabor_023 gabor_137 gabor_112 gabor_051_alt gabor_023_alt gabor_137 gabor_112 "1_11_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_051_023_137_112_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_112_framed blank blank blank blank fixation_cross_target_position_3_4 "1_11_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_112_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2042 2992 2092 fixation_cross gabor_070 gabor_178 gabor_051 gabor_034 gabor_070 gabor_178_alt gabor_051_alt gabor_034 "1_12_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2100_gabor_patch_orientation_070_178_051_034_target_position_1_4_retrieval_position_1" gabor_115_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_12_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_115_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2242 2992 2342 fixation_cross gabor_034 gabor_151 gabor_100 gabor_180 gabor_034_alt gabor_151 gabor_100_alt gabor_180 "1_13_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_034_151_100_180_target_position_2_4_retrieval_position_2" gabor_circ gabor_151_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_13_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2092 2992 2392 fixation_cross gabor_011 gabor_028 gabor_083 gabor_135 gabor_011_alt gabor_028 gabor_083_alt gabor_135 "1_14_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_011_028_083_135_target_position_2_4_retrieval_position_2" gabor_circ gabor_028_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_14_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_028_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1892 2992 2342 fixation_cross gabor_027 gabor_137 gabor_170 gabor_050 gabor_027_alt gabor_137 gabor_170 gabor_050_alt "1_15_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_027_137_170_050_target_position_2_3_retrieval_position_2" gabor_circ gabor_002_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_15_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1942 2992 2042 fixation_cross gabor_078 gabor_058 gabor_121 gabor_137 gabor_078 gabor_058_alt gabor_121_alt gabor_137 "1_16_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_078_058_121_137_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_002_framed blank blank blank blank fixation_cross_target_position_1_4 "1_16_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2042 2992 2192 fixation_cross gabor_158 gabor_102 gabor_018 gabor_036 gabor_158_alt gabor_102 gabor_018_alt gabor_036 "1_17_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_158_102_018_036_target_position_2_4_retrieval_position_2" gabor_circ gabor_052_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_17_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_052_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 1792 2992 2442 fixation_cross gabor_130 gabor_067 gabor_092 gabor_174 gabor_130 gabor_067 gabor_092_alt gabor_174_alt "1_18_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2450_gabor_patch_orientation_130_067_092_174_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_092_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_18_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_092_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1842 2992 2042 fixation_cross gabor_115 gabor_096 gabor_009 gabor_130 gabor_115 gabor_096 gabor_009_alt gabor_130_alt "1_19_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2050_gabor_patch_orientation_115_096_009_130_target_position_1_2_retrieval_position_1" gabor_164_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_19_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_164_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1742 2992 2092 fixation_cross gabor_065 gabor_142 gabor_033 gabor_115 gabor_065_alt gabor_142 gabor_033 gabor_115_alt "1_20_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_065_142_033_115_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_081_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_20_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_081_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1842 2992 2242 fixation_cross gabor_030 gabor_052 gabor_165 gabor_078 gabor_030 gabor_052 gabor_165_alt gabor_078_alt "1_21_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_030_052_165_078_target_position_1_2_retrieval_position_2" gabor_circ gabor_052_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_21_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_052_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1842 2992 2342 fixation_cross gabor_013 gabor_122 gabor_139 gabor_063 gabor_013 gabor_122_alt gabor_139 gabor_063_alt "1_22_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_013_122_139_063_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_139_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_22_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 1742 2992 2542 fixation_cross gabor_050 gabor_118 gabor_136 gabor_175 gabor_050 gabor_118_alt gabor_136 gabor_175_alt "1_23_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2550_gabor_patch_orientation_050_118_136_175_target_position_1_3_retrieval_position_2" gabor_circ gabor_069_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_23_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_069_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2192 2992 2292 fixation_cross gabor_128 gabor_043 gabor_167 gabor_105 gabor_128 gabor_043_alt gabor_167_alt gabor_105 "1_24_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2300_gabor_patch_orientation_128_043_167_105_target_position_1_4_retrieval_position_1" gabor_128_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_24_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_128_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1792 2992 2242 fixation_cross gabor_005 gabor_021 gabor_047 gabor_127 gabor_005_alt gabor_021 gabor_047_alt gabor_127 "1_25_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_005_021_047_127_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_079_framed blank blank blank blank fixation_cross_target_position_2_4 "1_25_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_079_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 1942 2992 2392 fixation_cross gabor_044 gabor_158 gabor_074 gabor_096 gabor_044_alt gabor_158 gabor_074 gabor_096_alt "1_26_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1950_3000_2400_gabor_patch_orientation_044_158_074_096_target_position_2_3_retrieval_position_1" gabor_044_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_26_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_044_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2042 2992 2292 fixation_cross gabor_038 gabor_152 gabor_175 gabor_063 gabor_038_alt gabor_152_alt gabor_175 gabor_063 "1_27_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_038_152_175_063_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_126_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_27_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2092 2992 2142 fixation_cross gabor_123 gabor_075 gabor_017 gabor_107 gabor_123_alt gabor_075 gabor_017_alt gabor_107 "1_28_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2150_gabor_patch_orientation_123_075_017_107_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_107_framed blank blank blank blank fixation_cross_target_position_2_4 "1_28_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_107_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1892 2992 2442 fixation_cross gabor_051 gabor_073 gabor_089 gabor_009 gabor_051_alt gabor_073 gabor_089 gabor_009_alt "1_29_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_051_073_089_009_target_position_2_3_retrieval_position_2" gabor_circ gabor_073_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_29_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2192 2992 1942 fixation_cross gabor_114 gabor_140 gabor_090 gabor_167 gabor_114_alt gabor_140 gabor_090 gabor_167_alt "1_30_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_114_140_090_167_target_position_2_3_retrieval_position_2" gabor_circ gabor_002_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_30_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 2242 2992 2242 fixation_cross gabor_141 gabor_026 gabor_075 gabor_007 gabor_141 gabor_026 gabor_075_alt gabor_007_alt "1_31_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2250_3000_2250_gabor_patch_orientation_141_026_075_007_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_054_framed blank blank blank blank fixation_cross_target_position_1_2 "1_31_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_054_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1992 2992 2142 fixation_cross gabor_164 gabor_131 gabor_010 gabor_047 gabor_164_alt gabor_131 gabor_010_alt gabor_047 "1_32_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2150_gabor_patch_orientation_164_131_010_047_target_position_2_4_retrieval_position_2" gabor_circ gabor_131_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_32_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_131_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_020 gabor_130 gabor_154 gabor_091 gabor_020_alt gabor_130 gabor_154 gabor_091_alt "1_33_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_020_130_154_091_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_154_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_33_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 2142 2992 2292 fixation_cross gabor_025 gabor_140 gabor_002 gabor_076 gabor_025 gabor_140_alt gabor_002 gabor_076_alt "1_34_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2300_gabor_patch_orientation_025_140_002_076_target_position_1_3_retrieval_position_2" gabor_circ gabor_092_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_34_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_092_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2142 2992 1992 fixation_cross gabor_168 gabor_131 gabor_099 gabor_045 gabor_168_alt gabor_131 gabor_099 gabor_045_alt "1_35_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2000_gabor_patch_orientation_168_131_099_045_target_position_2_3_retrieval_position_2" gabor_circ gabor_131_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_35_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_131_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1792 2992 1892 fixation_cross gabor_004 gabor_087 gabor_154 gabor_116 gabor_004_alt gabor_087 gabor_154_alt gabor_116 "1_36_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_1900_gabor_patch_orientation_004_087_154_116_target_position_2_4_retrieval_position_2" gabor_circ gabor_133_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_36_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_133_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2092 2992 2492 fixation_cross gabor_037 gabor_143 gabor_102 gabor_057 gabor_037_alt gabor_143_alt gabor_102 gabor_057 "1_37_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2500_gabor_patch_orientation_037_143_102_057_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_057_framed blank blank blank blank fixation_cross_target_position_3_4 "1_37_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_057_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2192 2992 2242 fixation_cross gabor_064 gabor_019 gabor_101 gabor_134 gabor_064_alt gabor_019 gabor_101_alt gabor_134 "1_38_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2250_gabor_patch_orientation_064_019_101_134_target_position_2_4_retrieval_position_2" gabor_circ gabor_154_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_38_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1892 2992 2542 fixation_cross gabor_073 gabor_145 gabor_178 gabor_162 gabor_073 gabor_145_alt gabor_178_alt gabor_162 "1_39_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2550_gabor_patch_orientation_073_145_178_162_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_026_framed blank blank blank blank fixation_cross_target_position_1_4 "1_39_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1992 2992 2542 fixation_cross gabor_123 gabor_056 gabor_016 gabor_075 gabor_123_alt gabor_056 gabor_016 gabor_075_alt "1_40_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_123_056_016_075_target_position_2_3_retrieval_position_2" gabor_circ gabor_104_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_40_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_104_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1742 2992 2192 fixation_cross gabor_110 gabor_176 gabor_069 gabor_127 gabor_110 gabor_176 gabor_069_alt gabor_127_alt "1_41_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_110_176_069_127_target_position_1_2_retrieval_position_2" gabor_circ gabor_176_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_41_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 1942 2992 2142 fixation_cross gabor_055 gabor_126 gabor_091 gabor_021 gabor_055_alt gabor_126_alt gabor_091 gabor_021 "1_42_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1950_3000_2150_gabor_patch_orientation_055_126_091_021_target_position_3_4_retrieval_position_2" gabor_circ gabor_126_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_42_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_126_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2242 2992 2492 fixation_cross gabor_063 gabor_108 gabor_172 gabor_087 gabor_063 gabor_108_alt gabor_172_alt gabor_087 "1_43_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2500_gabor_patch_orientation_063_108_172_087_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_087_framed blank blank blank blank fixation_cross_target_position_1_4 "1_43_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 1742 2992 1992 fixation_cross gabor_065 gabor_170 gabor_095 gabor_143 gabor_065 gabor_170_alt gabor_095 gabor_143_alt "1_44_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2000_gabor_patch_orientation_065_170_095_143_target_position_1_3_retrieval_position_2" gabor_circ gabor_035_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_44_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_035_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1792 2992 2442 fixation_cross gabor_105 gabor_162 gabor_017 gabor_125 gabor_105 gabor_162_alt gabor_017 gabor_125_alt "1_45_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2450_gabor_patch_orientation_105_162_017_125_target_position_1_3_retrieval_position_1" gabor_105_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_45_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_105_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2242 2992 2042 fixation_cross gabor_130 gabor_086 gabor_108 gabor_061 gabor_130 gabor_086_alt gabor_108 gabor_061_alt "1_46_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2050_gabor_patch_orientation_130_086_108_061_target_position_1_3_retrieval_position_1" gabor_175_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_46_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_175_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2142 2992 1892 fixation_cross gabor_077 gabor_160 gabor_144 gabor_018 gabor_077_alt gabor_160 gabor_144 gabor_018_alt "1_47_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_077_160_144_018_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_095_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_47_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_095_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2092 2992 2392 fixation_cross gabor_047 gabor_082 gabor_115 gabor_005 gabor_047 gabor_082 gabor_115_alt gabor_005_alt "1_48_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_047_082_115_005_target_position_1_2_retrieval_position_2" gabor_circ gabor_082_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_48_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_082_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1942 2992 2142 fixation_cross gabor_071 gabor_126 gabor_092 gabor_017 gabor_071 gabor_126_alt gabor_092_alt gabor_017 "1_49_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_071_126_092_017_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_152_framed blank blank blank blank fixation_cross_target_position_1_4 "1_49_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_152_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1792 2992 1942 fixation_cross gabor_083 gabor_058 gabor_099 gabor_163 gabor_083_alt gabor_058 gabor_099_alt gabor_163 "1_50_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_1950_gabor_patch_orientation_083_058_099_163_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_163_framed blank blank blank blank fixation_cross_target_position_2_4 "1_50_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2242 2992 1892 fixation_cross gabor_152 gabor_169 gabor_091 gabor_037 gabor_152 gabor_169_alt gabor_091_alt gabor_037 "1_51_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_1900_gabor_patch_orientation_152_169_091_037_target_position_1_4_retrieval_position_1" gabor_152_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_51_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_152_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 1992 2992 2342 fixation_cross gabor_098 gabor_058 gabor_169 gabor_039 gabor_098_alt gabor_058_alt gabor_169 gabor_039 "1_52_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_2350_gabor_patch_orientation_098_058_169_039_target_position_3_4_retrieval_position_2" gabor_circ gabor_058_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_52_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_058_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1892 2992 1992 fixation_cross gabor_011 gabor_125 gabor_147 gabor_165 gabor_011 gabor_125 gabor_147_alt gabor_165_alt "1_53_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2000_gabor_patch_orientation_011_125_147_165_target_position_1_2_retrieval_position_1" gabor_011_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_53_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_011_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1742 2992 2392 fixation_cross gabor_075 gabor_110 gabor_046 gabor_155 gabor_075 gabor_110_alt gabor_046_alt gabor_155 "1_54_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_075_110_046_155_target_position_1_4_retrieval_position_1" gabor_075_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_54_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_075_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1942 2992 1942 fixation_cross gabor_046 gabor_120 gabor_011 gabor_076 gabor_046 gabor_120_alt gabor_011_alt gabor_076 "1_55_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_046_120_011_076_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_076_framed blank blank blank blank fixation_cross_target_position_1_4 "1_55_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_076_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1842 2992 1942 fixation_cross gabor_071 gabor_110 gabor_088 gabor_137 gabor_071 gabor_110_alt gabor_088_alt gabor_137 "1_56_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_1950_gabor_patch_orientation_071_110_088_137_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_137_framed blank blank blank blank fixation_cross_target_position_1_4 "1_56_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_137_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 1992 2992 2092 fixation_cross gabor_036 gabor_078 gabor_061 gabor_147 gabor_036_alt gabor_078_alt gabor_061 gabor_147 "1_57_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_2100_gabor_patch_orientation_036_078_061_147_target_position_3_4_retrieval_position_2" gabor_circ gabor_078_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_57_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_078_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1892 2992 1942 fixation_cross gabor_094 gabor_174 gabor_122 gabor_016 gabor_094_alt gabor_174 gabor_122_alt gabor_016 "1_58_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_094_174_122_016_target_position_2_4_retrieval_position_2" gabor_circ gabor_034_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_58_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1792 2992 2292 fixation_cross gabor_109 gabor_069 gabor_033 gabor_053 gabor_109 gabor_069_alt gabor_033_alt gabor_053 "1_59_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2300_gabor_patch_orientation_109_069_033_053_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_053_framed blank blank blank blank fixation_cross_target_position_1_4 "1_59_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2042 2992 2592 fixation_cross gabor_099 gabor_041 gabor_131 gabor_167 gabor_099 gabor_041 gabor_131_alt gabor_167_alt "1_60_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2600_gabor_patch_orientation_099_041_131_167_target_position_1_2_retrieval_position_1" gabor_147_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_60_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_147_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2192 2992 2492 fixation_cross gabor_163 gabor_095 gabor_025 gabor_080 gabor_163 gabor_095_alt gabor_025 gabor_080_alt "1_61_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_163_095_025_080_target_position_1_3_retrieval_position_1" gabor_163_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_61_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 2142 2992 2092 fixation_cross gabor_030 gabor_007 gabor_063 gabor_136 gabor_030 gabor_007_alt gabor_063 gabor_136_alt "1_62_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2150_3000_2100_gabor_patch_orientation_030_007_063_136_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_136_framed blank blank blank blank fixation_cross_target_position_1_3 "1_62_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_136_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1992 2992 2542 fixation_cross gabor_155 gabor_178 gabor_067 gabor_133 gabor_155_alt gabor_178 gabor_067_alt gabor_133 "1_63_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_155_178_067_133_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_088_framed blank blank blank blank fixation_cross_target_position_2_4 "1_63_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_088_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1742 2992 2442 fixation_cross gabor_172 gabor_013 gabor_125 gabor_088 gabor_172 gabor_013 gabor_125_alt gabor_088_alt "1_64_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2450_gabor_patch_orientation_172_013_125_088_target_position_1_2_retrieval_position_2" gabor_circ gabor_063_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_64_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_063_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1942 2992 2292 fixation_cross gabor_177 gabor_147 gabor_015 gabor_033 gabor_177_alt gabor_147 gabor_015 gabor_033_alt "1_65_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_177_147_015_033_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_061_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_65_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_061_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2092 2992 2242 fixation_cross gabor_038 gabor_147 gabor_001 gabor_117 gabor_038_alt gabor_147 gabor_001_alt gabor_117 "1_66_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_038_147_001_117_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_117_framed blank blank blank blank fixation_cross_target_position_2_4 "1_66_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_117_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1842 2992 2492 fixation_cross gabor_050 gabor_136 gabor_108 gabor_074 gabor_050_alt gabor_136 gabor_108 gabor_074_alt "1_67_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2500_gabor_patch_orientation_050_136_108_074_target_position_2_3_retrieval_position_2" gabor_circ gabor_136_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_67_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_136_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 1892 2992 2342 fixation_cross gabor_137 gabor_020 gabor_074 gabor_098 gabor_137_alt gabor_020_alt gabor_074 gabor_098 "1_68_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_2350_gabor_patch_orientation_137_020_074_098_target_position_3_4_retrieval_position_2" gabor_circ gabor_157_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_68_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_157_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2142 2992 2192 fixation_cross gabor_128 gabor_002 gabor_169 gabor_110 gabor_128_alt gabor_002 gabor_169_alt gabor_110 "1_69_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_128_002_169_110_target_position_2_4_retrieval_position_2" gabor_circ gabor_047_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_69_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_047_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 2042 2992 2092 fixation_cross gabor_016 gabor_097 gabor_167 gabor_146 gabor_016_alt gabor_097_alt gabor_167 gabor_146 "1_70_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2050_3000_2100_gabor_patch_orientation_016_097_167_146_target_position_3_4_retrieval_position_1" gabor_061_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_70_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_061_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; }; # baselinePost (at the end of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }; time = 0; duration = 5000; code = "BaselinePost"; port_code = 92; };
456d75ba17eb7e3db070396242cf86beaf63e47c
449d555969bfd7befe906877abab098c6e63a0e8
/3669/CH11/EX11.6/6.sce
b318597312da4117baf0d1bb22674db69322e6b1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
244
sce
6.sce
//Variable declaration n1=1.55; //refractive index of core n2=1.50; //refractive index of cladding //Calculation NA=sqrt((n1**2)-(n2**2)); //numerical aperture //Result printf('numerical aperture is %0.3f \n',(NA))
13f90ae67dc0c7e4e43ba57d773a8911ba1d912f
449d555969bfd7befe906877abab098c6e63a0e8
/53/CH5/EX5.5/example_5.sce
3517fb873d338060f8c21f5950b46bf500af7c82
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,098
sce
example_5.sce
//important:In this example ro1 value is contradicting in text book,sometimes they used 1K0hm and sometimes 4Kohms,the code below used ro1=2KOhms as specified in question //example5.5 //caption:Shunt voltage feedback circuit //input resistance ri1 ri1=1000;//in ohms //output resistance ro1 ro1=2000;//in ohms //trans resistance Kr Kr=-10^6;//in ohms //Feedback resistor R R=10000;//in ohms //current source Jg Jg=0.001;//in Amps //source internal resistance rg rg=2000;//in ohms //load resistance rl rl=5000;//in ohms //unloaded feedback fraction Bg=-1/R; disp('Unloaded feedback fraction,Bg=-1/R'); disp('open loop gain,RTs=Vo/Jg=input current coupling factor*Kr*output voltage coupling factor'); RTs=((rg*R/(rg+R))/(ri1+(rg*R/(rg+R))))*Kr*((rl*R/(rl+R))/(ro1+(rg*R/(rg+R)))); printf("RTs=%d ohms",RTs/1000); disp('Open-loop input resistance,ris=rg||R||ri1'); ris=rg*R*ri1/(rg*R+R*ri1+rg*ri1); printf("\nris=%d ohms",ris); disp('Open-loop output resistance,ros=ro1||R||rl'); ros=rl*R*ro1/(rl*R+R*ro1+rl*ro1); printf("ros=%d Ohms",ros); disp('Closed-loop gain,RTf=RTs/(1+RTs*Bg)'); RTfs=RTs/(1+RTs*Bg); printf("\nRTfs=%1.2f Kohms",RTfs/1000); disp('Closed-loop input resistance,rifs=ris/(1+RTs*Bg)'); rifs=ris/(1+RTs*Bg); printf("rifs=%d Ohms",rifs); disp('Closed-loop output resistance,rof=ros/(1+RTs*Bg)'); rofs=ros/(1+RTs*Bg); printf("rofs=%2.1f Ohms",rofs); printf("RESULTS:\n"); Vout=RTfs*Jg; printf("\n(i)The output voltage=%1.2f V",Vout); disp('rifs=rif*rg/(rif+rg)==>rif=rg*rifs/(rg-rifs)'); rif=rg*rifs/(rg-rifs); printf("\n(ii)The input resistance seen by the actual signal source is %2.1f Ohms",rif); disp('rofs=rof*rl/(rof+rl)==>rof=rl*rofs/(rl-rofs)'); rof=rl*rofs/(rl-rofs) printf("\n(iii)The output resistance seen by the load is %2.1f Ohms",rof); printf("(iV)The closed-loop gain of the amplifier"); disp('RTf=Vo/i1,where') disp('i1=current coupling factor*Jg=rg*Jg/(rg+rif)'); RTf=(rg+rif)*RTfs/rg; printf("(iV)The closed-loop gain of the amplifier circuit is %1.2f Kohms",RTf/1000);//divided by 1000 to convert ohms to Kohms.
af384b94a8a97b9356686603fbc004267b2368f3
449d555969bfd7befe906877abab098c6e63a0e8
/1673/CH3/EX3.11/3_11.sce
bab40737e6dd62566f71bd871ca974dd60550850
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
3_11.sce
//practical interpolation //example 3.11 //page 99 clc;clear;close; x=[0.61 0.62 0.63 0.64 0.65 0.66 0.67]; y=[1.840431 1.858928 1.877610 1.896481 1.915541 1.934792 1.954237]; h=0.01//interval between values of x c=1; for i=1:6 d1(c)=y(i+1)-y(i); c=c+1; end c=1; for i=1:5 d2(c)=d1(i+1)-d1(i); c=c+1 end c=1; for i=1:4 d3(c)=d2(i+1)-d2(i); c=c+1; end c=1; for i=1:3 d4(c)=d3(i+1)-d3(i); c=c+1; end d=[d1(1) d2(1) d3(1) d4(1)]; x0=0.638; p=(x0-x(4))/h; y_x=y(4); y_x=y_x+p*(d1(3)+d1(4))/2+p^2*(d2(2))/2;//stirling formula printf(' the value at %f by stirling formula is : %f\n\n',x0,y_x); y_x=y(3); p=(x0-x(3))/h; y_x=y_x+p*d1(3)+p*(p-1)*(d2(2)/2); printf(' the value at %f by bessels formula is : %f\n\n',x0,y_x);
07296ec6acc9b098d6a5b07bf0ca2d821e2404bd
449d555969bfd7befe906877abab098c6e63a0e8
/2120/CH8/EX8.1/ex8_1.sce
3ca1555977270d594e9f8f65a0ba1d597c3afb2b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
ex8_1.sce
//Exa 8.1 clc; clear; close; // Given data Q = 16;// in MJ Q = Q * 10^3;// in kJ T_H = 227;// in °C T_H = T_H + 273;// in K T_L = 15;// in °C T_L = T_L + 273;// in K del_S = Q/T_H;// in kJ/K A = Q - (T_L * del_S);// in kJ disp(A,"The available part of heat in kJ is "); U_P_ofHeat = T_L * del_S;// unavailable part of heat in kJ disp(U_P_ofHeat,"The unavailable part of heat in kJ is :");
be36e1ac4b2760badf1b1ac17a078a991aa721ef
449d555969bfd7befe906877abab098c6e63a0e8
/506/CH13/EX13.2.d/Example13_2d.sce
5df68060035442dfa3bacc366184b8f842f63b4b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
457
sce
Example13_2d.sce
clear; clc; //Caption:To find parameters of Current seris Feedback Amplifier //Given Data Gmf=-1;//Transconductance in mA/V D=50;//Desensivity Avf=-4;//Voltage Gain Rs=1;//in K hfe=150; Vt=0.026;//in V Gm=Gmf*D; //B=-Re, D = 1+B*Gm = 1-B*Gm Re=(1-D)/Gm;//in K Rl=Avf/Gmf;//in K // Gm= -hfe/(Rs+hie+Re) hie= -(hfe/Gm)-Rs-Re; Ri = Rs + hie +Re; Rif = Ri*D Ic=(hfe*Vt)/hie; disp('mA',Ic,'Quiscent Collector Current = '); //end
a80089db6055b3809578246ed7b8f8d7efa5dab0
449d555969bfd7befe906877abab098c6e63a0e8
/1658/CH18/EX18.13/Ex18_13.sce
770d8422ce1a73ad51b2d0e1cfd2956cb3bb58e2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
429
sce
Ex18_13.sce
clc; //e.g 18.13 Vcc=12; Rc=3.3*10**3; Re=100; Ie=2*10**-3; Vbe=0.7; alpha=0.98; Ic=alpha*Ie; disp('mA',Ic*10**3,"Ic="); Vb=Vbe+(Ie*Re); disp('V',Vb*1,"Vb="); Vc=Vcc-(Ic*Rc);//collector to emitter voltage disp('V',Vc*1,"Vc="); R2=20*10**3; IR2=Vc/R2; disp('mA',IR2*10**3,"IR2="); Ib=Ie-Ic; disp('mA',Ib*10**3,"Ib="); IR1=IR2+Ib; disp('mA',IR1*10**3,"IR1="); R1=(Vc-Vb)/IR1; disp('kohm',R1*10**-3,"R1=");
7a1a9cf2bbcbde6d1f87f0e383fc7386a70cb943
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.1.1/demos/lmitool/normopt.sci
4efab3cc2889b21f8dcc7628036a460699efd58c
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
1,004
sci
normopt.sci
function [X,c]=normopt(A,B,C,D) // Generated by lmitool on Wed Feb 08 16:17:01 MET 1995 Mbound = 1e3; abstol = 1e-10; nu = 10; maxiters = 100; reltol = 1e-10; options=[Mbound,abstol,nu,maxiters,reltol]; ///////////DEFINE INITIAL GUESS BELOW X_init=eye(A);Ib=eye(B'*B);Ic=eye(C*C');c_init=10; /////////// XLIST0=list(X_init,c_init) XLIST=lmisolver(XLIST0,normopt_eval,options) [X,c]=XLIST(:) /////////////////EVALUATION FUNCTION//////////////////////////// function [LME,LMI,OBJ]=normopt_eval(XLIST) [X,gamma]=XLIST(:) /////////////////DEFINE LME, LMI and OBJ BELOW LME=X'-X LMI=-[A*X+X*A', B, X*C'; B', -gamma*Ib, D'; C*X, D, -gamma*Ic] OBJ=gamma
8d8218f5949c42b8939ff131ac7dda26562cdab6
449d555969bfd7befe906877abab098c6e63a0e8
/1092/CH4/EX4.14/Example4_14.sce
a877e78d73a19b48dfc553a9a356e69430f5324f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,374
sce
Example4_14.sce
// Electric Machinery and Transformers // Irving L kosow // Prentice Hall of India // 2nd editiom // Chapter 4: DC Dynamo Torque Relations-DC Motors // Example 4-14 clear; clc; close; // Clear the work space and console. // Given data // Cumulative DC compound motor acting as shunt motor T_orig = 160 ; // Original torque developed in lb.ft I_a_orig = 140 ; // Original armature current in A phi_f_orig = 1.6e+6 ; // Original field flux in lines // Reconnected as a cumulative DC compound motor T_final_a = 190 ; // Final torque developed in lb.ft (case a) // Calculations phi_f = phi_f_orig * ( T_final_a / T_orig ) ; // Field flux in lines percentage = ( phi_f / phi_f_orig ) * 100 - 100 ; // percentage increase in flux phi_f_final = 1.1 * phi_f ; // 10% increase in load causes 10% increase in flux I_a_b = 154 ; // Final armature current in A (case b) T_f = T_final_a * ( I_a_b / I_a_orig ) * ( phi_f_final / phi_f ) ; // Final torque developed // Display the results disp(" Example 4-14 Solution : "); printf(" \n a: phi_f = %.1e lines \n ", phi_f ); printf(" \n Percentage of flux increase = %.1f percent \n ", percentage ); printf(" \n b: The final field flux is 1.1 * 1.9 * 10 ^ 6 lines " ); printf(" \n (due to the 10 percent increase in load).The final torque is\n"); printf(" \n T_f = %.1f lb-ft ", T_f );
e998b2ba9f9529943fa15f25b0921d7e670866ea
449d555969bfd7befe906877abab098c6e63a0e8
/3204/CH20/EX20.5/Ex20_5.sce
bccf5db744b1a4f31ed119e36d2eb65bfad5a4f2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
838
sce
Ex20_5.sce
// Initilization of variables v_o=400 // m/s // initial velocity of each gun r=5000 // m // range of each of the guns g=9.81 // m/s^2 // acc due to gravity pi=180 // degree // Calculations // now from eq'n 1 theta_1=(asind((r*g)/(v_o^2)))/(2) // degree // angle at which the 1st gun is fired // from eq'n 3 theta_2=(pi-(2*theta_1))/2 // degree // For 1st & 2nd gun, s is s=r // m // For 1st gun v_x=v_o*cosd(theta_1) // m/s // Now the time of flight for 1st gun is t_1, which is given by relation, t_1=s/(v_x) // seconds // For 2nd gun V_x=v_o*cosd(theta_2) // Now the time of flight for 2nd gun is t_2 t_2=s/(V_x) // seconds // Let the time difference between the two hits be delta.T. Then, delta.T=t_2-t_1 // seconds // Results clc printf('The time difference between the two hits is %f seconds \n',delta.T)
cfea2b9e28f0f15ed99b5adbe182133246b5cfb6
449d555969bfd7befe906877abab098c6e63a0e8
/1332/CH19/EX19.12/19_12.sce
7b5a4fc2d8fa6d94696452628e8c252c7c842968
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
428
sce
19_12.sce
//Example 19.12 //Hyperbolic Partial Differential Equations //Page no. 673 clc;clear;close; deff('y=f(x)','y=12*x') Ua(1)=0.25; Ua(2)=0.75 A=[1,-2;1,2]; x1=inv(A)*Ua; printf('Xb = %g and Tb = %g',x1(1),x1(2)) A=[2,-1;2,1]; B=[-7.5;-8.5]; x2=inv(A)*B; printf('\n\n Pb = %g and Qb = %g',x2(1),x2(2)) x1(1)=x1(1)-Ua(1) du=x1'*x2 printf('\n\n dU = %g',du) Ub=f(Ua(1))+du; printf('\n\n Modified Ub = %g',Ub)
deafc9a84b0e91eea8e2242a4fe14d1a9e7a5d24
449d555969bfd7befe906877abab098c6e63a0e8
/3755/CH8/EX8.4/Ex8_4.sce
71caa7329aa495a05ca2d57c3ab2bb6cec297ad3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
351
sce
Ex8_4.sce
clear // // // //Variable declaration kb=1.38*10^-23; //boltzmann constant T=300; //temperature(K) m=6; Eg=0.7; //band gap(eV) //Calculation x=3*kb*T*log(m)/4; EF=(Eg/2)+x; //position of Fermi level(eV) //Result printf("\n position of Fermi level is %0.3f eV",EF) printf("\n answer in the book is wrong")
c60bd3d642aca4ec6743673604a3933dbe6247b3
449d555969bfd7befe906877abab098c6e63a0e8
/2210/CH1/EX1.7/1_7.sce
010389b3a7d8258732fa27d6015746808e99e86c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
269
sce
1_7.sce
//Chapter 1, Example 1.7, figure 1.23 clc n=4 //no of recievers Zo=50 //input impedance of each receiver //calculating the value of resistor R=((n-1)/(n+1))*Zo printf("Value of the matching resistor = %d ohm",R)
ca50093a1416c39ac95c9256e9e7146a2a2b5e49
15377b2b4e60d6691378cf1a03c5998fedde45ca
/nc_square_roots_computing/source/roots.sce
41043651c42d46d39cd49e7b241448ca0a69dbb4
[]
no_license
Forbrig/nc_algorithms
de28754ed4321e127ffb6dcd00cb80a9f1cddef7
de0165aa4dbcc6db36298ab7b46637bfa00364e5
refs/heads/master
2021-08-28T10:43:40.414903
2017-12-12T01:01:07
2017-12-12T01:01:07
111,705,263
0
0
null
null
null
null
UTF-8
Scilab
false
false
5,083
sce
roots.sce
//Vitor Guilherme Forbrig (vitorforbrig@gmail.com) clc(); //clear console eps = 0.001; //here we put the minimum aproximation that we want it = 200; //number of iteractions //---------------------------------------------------------------------MISC------------------------------------------------------------------ function [y] = f(x) y = x^2 +x -3; //the function goes here! endfunction; //derivate of the function function [y] = df(x) y = 2*x + 1; // the derivate goes here! (for newton method) endfunction //print the casrtesian plane of the function, it allow us to get a better interval to isolate a root function graphic(init, tend) interval = tend - init; //get the lenght of the interval interval = interval / 100; //to draw 100 points on the cartesian plane we add this to 'a' while (init < tend); //we increment init y = f(init); xgrid(); //draw lines on the cartesian plot(init, y, '.k'); //draw the point aplicate on the function init = init + interval; //add the small amount (to the next dot) end; endfunction; //here we validate the points, if the function give points with different values, //positive and negative, that means in this interval have (at least) one root function valid = validate(x, y) if (f(x) * f(y) > 0) then valid = 0; else valid = 1; end; endfunction; //---------------------------------------------------------------------BISSECTION------------------------------------------------------------------ //bissection is a kind of binary search that, with a pre-interval, //get a better one, halving it function bissec(a, b, eps) k = 0; while (abs(b - a) > eps & k < it) //when the root is near the eps or a the number of interactions reach 100 xm = (a + b) / 2.; //middle //printf('On the %g iteraction: f(a)= %g, f(b) = %g xm = %g\n', k, f(a), f(b), xm); if (f(a) * f(xm) < 0) then // choose if "a" will be changed b = xm; else (f(xm) * f(b) < 0) // choose if "b" will be changed a = xm; end //printf('On the %g iteraction we get a = %g, b = %g\n', k+1, x0, x1); k = k+1; end printf('BISSECTION: After %g iteractions the root found is approximately %g\n', k-1, xm); endfunction; //---------------------------------------------------------------------SECANT-------------------------------------------------------------- function secant(a, b, eps) k = 0; xm = ((a * f(b)) -(b * f(a))) / (f(b) - f(a)); //to enter on loop while (min(abs(f(xm)), (b - a)) > eps & k < it) //when the root is near the eps or a the number of interactions reach 100 xm = ((a * f(b)) -(b * f(a))) / (f(b) - f(a)); //secant proportion //printf('On the %g iteraction: f(a)= %g, f(b) = %g xm = %g\n', k, f(a), f(b), xm); if (f(a) * f(xm) < 0) then // escolhe se o x1 vai ser substituido b = xm; else (f(xm) * f(b) < 0) // escolhe se o x0 vai ser substituido a = xm; end k = k+1; end; printf('SECANT: After %g iteractions the root found is approximately %g\n', k-1, xm); endfunction //---------------------------------------------------------------------NEWTON------------------------------------------------------------------ function newton(a, b, eps) //it dont use the "right side b" k = 0; flag = 1; //need this for the first interaction because the abs(a - xm) < eps xm = a; while (((abs(a - xm) > eps) | flag == 1) & k < it) //when the root is near the eps or a the number of interactions reach 100 flag = 0; xm = a; a = xm - (f(xm)/df(xm)); //this is the next a k = k+1; end; printf('NEWTON: After %g iteractions the root found is approximately %g\n', k-1, xm); endfunction //---------------------------------------------------------------------MAIN------------------------------------------------------------------ printf("Welcome to roots 0.0.2\n"); graphic(-10, 10); // I haven't imagined how I will define a good interval... (NEED TO CHANGE THE PARAMETERS) while(1) while(1) printf("Give an interval (choose by looking in the graph)"); //points A and B must be in opposite sides of X axis a = input("Left point: "); b = input("Right point: "); valid = validate(a, b); if (valid == 1) then printf("f(%g) and f(%g) are valid\n", a, b); break; else printf("f(%g) and f(%g) must be in opposite sides\n", a, b); end end; printf("Select an option:\n 1. Bissection; 2. Secant; 3. Newton; 4. All; 0. Exit.\n"); option = input("Option: "); select option case 1 then bissec(a, b, eps); case 2 then secant(a, b, eps); case 3 then newton(a, b, eps); case 4 then bissec(a, b, eps); secant(a, b, eps); newton(a, b, eps); case 0 then break; else printf("Invalid option!\n"); end; break; end;
5c3101008f1dd9c655313bbbe9ed7cee74e38a4d
449d555969bfd7befe906877abab098c6e63a0e8
/2579/CH1/EX1.31/Ex1_31.txt
c4646d25b3cce2b8eb365f97245dbedf63d6b21a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
172
txt
Ex1_31.txt
//Ex:1.31 clc; clear; close; le_y=1/10;// the ratio of le to y Rr=160*(%pi^2)*(le_y)^2;// radiation resistance in ohm printf("The radiation resistance = %f ohm", Rr);
96c27f4693b5cea4454951aa2bc7329badf12bbb
449d555969bfd7befe906877abab098c6e63a0e8
/3850/CH36/EX36.9/Ex36_9.sce
ff835c19f2f73c759ba12b0f9b8ef885d356d59c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
484
sce
Ex36_9.sce
//To Compare the total Magnetic Field due to earth at the two places //Example 36.9 clear; clc; T1=3;//Time period for first place in seconds T2=2;//Time Period for second place in seconds theta1=%pi/4;//Dip in radians at first place theta2=%pi/6;//Dip in radians at second place Br=(T1^2/T2^2)*cos(theta1)/cos(theta2);//Ratio of Magnetic Field due to earth at two places printf("The ratio of Magnetic Field due to earth at the two places = %.3f",Br);
f528a0d284cd8fa945e18fa733acfa931aebe413
449d555969bfd7befe906877abab098c6e63a0e8
/1247/CH5/EX5.54/example5_54.sce
f26effacba6c22c9cdf02dbc1d2b714e7f2c8daf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
example5_54.sce
clear; clc; // Stoichiometry // Chapter 5 // Energy Balances // Example 5.54 // Page 311 printf("Example 5.54, Page 311 \n \n"); // solution // from ref 24 H = 1600.83 To = 273.15 h = 200 Hf1 = -79.3 // table 5.59 Hf2 = -46.11 Hsol = Hf1-Hf2 Hg = Hsol*1000*140/17.0305 Raq = 140/.15 // kg/h dT = Hg/(4.145*Raq) T = -dT+303 printf(" Temp of resultant sol = "+string(T)+" K.")
6fbe6e53c2460f392f5bb2fd0062502efd9a90e3
449d555969bfd7befe906877abab098c6e63a0e8
/3311/CH6/EX6.29/Ex6_29.sce
3803a6e4e1893631b896e1541ad10918c24dde03
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
873
sce
Ex6_29.sce
// chapter 6 // example 6.29 // Compute the average load voltage // page-372-373 clear; clc; // given Eph=150; // in V (supply voltage per phase) f=50; // in Hz (supply frequency) Ls=1.2; // in mH (source inductance) R=0.07; // in ohm V_drop_Thyristor=1.5; // in V (voltage drop across Thyristor) Id=30; // in A (continuous load current) alpha=0:30:60; // in degree (firing angles) // calculate Ls=Ls*1E-3; // changing unit from mH to H V_drop_reactance=(3*2*%pi*f*Ls/(2*%pi))*Id; // voltage drop due to source reactance Em=Eph*sqrt(2);// calculation of peak voltage for alpha=0:30:60 Edc=((3*sqrt(3)/(2*%pi))*Em*cosd(alpha))-V_drop_Thyristor-V_drop_reactance;;// calculation of average load voltage printf("\nFor %.f degree, the average load voltage is Edc=%.1f V",alpha,Edc); end // Note: The answers vary slightly due to precise calculation upto 6 decimal digits
ac44c6efaa379de65ce9e9b64058a99d41cc2530
449d555969bfd7befe906877abab098c6e63a0e8
/3717/CH13/EX13.3/Ex13_3.sce
b745b3501096bcf7bf1e8be787bc5446c1e84a40
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
688
sce
Ex13_3.sce
// Ex13_3 Page:259 (2014) clc;clear; mu_0 = 4*%pi*1e-007; // Magnetic permeability, H/m e = 1.6e-019; // Charge on an electron, C m = 9.1e-031; // Mass of an electron, kg Z = 1; // Atomic number of the material a = 2.55e-010; // Lattice constant of cubic structure, m chi_dia = -5.6e-006; // Diamagnetic susceptibility of the material N = 2/a^3; // Number of atoms per unit volume of the material, per metre-cube r_bar = sqrt(abs(chi_dia)*6*m/(mu_0*Z*e^2*N)); // Radius of an atom of the material, m printf("\nThe radius of an atom of the material = %5.3f angstrom", r_bar/1e-010); // Result // The radius of an atom of the material = 0.888 angstrom
ac73e6d5bf0174f3df73274757f49d0204b1c008
449d555969bfd7befe906877abab098c6e63a0e8
/1217/CH3/EX3.8/Exa3_8.sce
6c9bbd3772af94752050dc784ae5542bc487542e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
325
sce
Exa3_8.sce
//Exa 3.8 clc; clear; close; // given data AV=-8;//unitless Vin=-1;//in Volts Imax=15;//in uA Vo=AV*Vin;//in Volts //Formula : Vo=Imax*R2min R2min=Vo/(Imax*10^-6);//in kohm R1min=-Vin/(Imax*10^-6);//in kohm disp(R2min/1000,"Required value of R2 in kohm is :") disp(R1min/1000,"Required value of R1 in kohm is :")
e45fe13e35bcecd7d1a850495a8f82d3fa8ee75d
449d555969bfd7befe906877abab098c6e63a0e8
/3415/CH12/EX12.2/Ex12_2.sce
ca4f2dad5326a625a04e7599a46acb6ca015aed9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
982
sce
Ex12_2.sce
//fiber optic communications by joseph c. palais //example 12.2 //OS=Windows XP sp3 //Scilab version 5.4.1 clc clear all //given //from example 12.1 lambda=0.82//wavelength in um ER=10^-9//Error rate datarate=100//dta rate for RZ system in Mbps NRZ_Qpl=-63//powerl level for NRZ in dBm NRZ_TL=-36//thermal limit for NRZ in dBm //to find RZ_Qpl=NRZ_Qpl+3//powerl level for RZ in dBm from fig 12.4 RZ_TL=NRZ_TL+3//thermal limit for RZ in dBm from fig 12.4 Avg_NRZ_Qpl=NRZ_Qpl-3//Average for NRZ is half so 3db LESS in dBm Avg_NRZ_TL=NRZ_TL-3//Average for NRZ is half so 3db LESS in dBm Avg_RZ_Qpl=RZ_Qpl-6//Average for RZ is ONE FOURTH so 6db LESS in dBm Avg_RZ_TL=RZ_TL-6//Average for RZ is ONE FOURTH so 6db LESS in dBm mprintf("Average Powerl level for NRZ=%fdBm",Avg_NRZ_Qpl) mprintf("\nAverage Thermal limit for NRZ =%fdBm",Avg_NRZ_TL) mprintf("\nAverage Power level for RZ=%fdBm",Avg_RZ_Qpl) mprintf("\nAverage Thermal limit for RZ =%fdBm",Avg_RZ_TL)
54df5fc2b67c36b3d902cddef6f7b3445c165822
3c47dba28e5d43bda9b77dca3b741855c25d4802
/microdaq/macros/microdaq_macros/mdaqKeyRead.sci
4e9c809591afbba61c78816f1fb3889b54c90f06
[ "BSD-3-Clause" ]
permissive
microdaq/Scilab
78dd3b4a891e39ec20ebc4e9b77572fd12c90947
ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf
refs/heads/master
2021-09-29T11:55:21.963637
2019-10-18T09:47:29
2019-10-18T09:47:29
35,049,912
6
3
BSD-3-Clause
2019-10-18T09:47:30
2015-05-04T17:48:48
Scilab
UTF-8
Scilab
false
false
1,368
sci
mdaqKeyRead.sci
function state = mdaqKeyRead(arg1, arg2) state = []; if argn(2) == 1 then func_key = arg1; end if argn(2) == 2 then link_id = arg1; func_key = arg2; if link_id < 0 then error("Invalid connection id!") end end if argn(2) > 2 | argn(2) < 1 | func_key > 2 | func_key < 1 then mprintf("Description:\n"); mprintf("\tReads MicroDAQ function key state\n"); mprintf("Usage:\n"); mprintf("\tstate = mdaqKeyRead(linkID, functionKey)\n") mprintf("\tlinkID - connection id returned by mdaqOpen() (OPTIONAL)\n"); mprintf("\tfunctionKey - function key number (1|2)\n"); return; end if argn(2) == 1 then link_id = mdaqOpen(); if link_id < 0 then error("Unable to connect to MicroDAQ device!"); end end result = []; [state result] = call("sci_mlink_func_key_get",.. link_id, 1, "i",.. func_key, 2, "i",.. "out",.. [1, 1], 3, "i",.. [1, 1], 4, "i"); if state <> 0 then state = %T; else state = %F; end if argn(2) == 1 then mdaqClose(link_id); end if result < 0 then error(mdaq_error2(result), 10000 + abs(result)); end endfunction
90c4f118104f31412273c9d4cf451c47c98f3803
33d7960e39a3e71591538dccbe1dd4014c377e78
/Sample Solution/CompFin_2017_SS_Exercise_01_MathQF.sce
aad3c47ef23a7c0d49b29f5e004977cd2522f72f
[]
no_license
wiiwins/Compfin
529e2997994babb9e3795283ddbd8ec782131148
2629685421e970a369ec797b76dda3d2803bcbcf
refs/heads/master
2020-05-18T01:25:39.357847
2019-06-27T11:21:46
2019-06-27T11:21:46
184,090,400
0
0
null
null
null
null
UTF-8
Scilab
false
false
561
sce
CompFin_2017_SS_Exercise_01_MathQF.sce
// C-Exercise 01 clear; funcprot(0); function Vn = capital (V0, r, n, c) // simple rate if (c == 0) then Vn = V0 * (1+r)^n; // continuous rate elseif (c == 1) then Vn = V0 * exp(r*n); // wrong value for parameter s else error("Error: Argument for compound type must be 0 (continuous) or 1 (simple)."); end endfunction // test parameters as in C-Exercise 01 V0 = 1000; r = 0.05; n = 10; c = 0; // call function with test parameters Vn = capital(V0, r, n, c) disp(Vn)
eccfe6b01621fe9d2e7358f7cbb866667ff9a933
1b0559adccf8301e274931fc7d0d62c175b5b168
/jacobi2.sci
603583eec17145a433b8ff761f3541d0a9d62a9a
[ "MIT" ]
permissive
rubiotorres/learnscilab
0b83c281c5d1170d4bdf606b5af706e3c5a89bb7
ddf69d871f0254f7248b719a67838e08cd396f70
refs/heads/master
2020-03-22T16:54:52.906348
2018-07-10T01:20:14
2018-07-10T01:20:14
140,360,015
0
0
null
null
null
null
UTF-8
Scilab
false
false
448
sci
jacobi2.sci
function [x , err , niter ] = jacobi (A ,b ,x0 , tol , maxiter ) err = %inf ; niter = 1; D = diag ( diag (A) ); T = A - D; while err >= tol & niter < maxiter , x = D \(b -T * x0 ); err = max ( abs (x - x0 )); x0 = x; niter = niter +1; end if niter == maxiter then disp ('Numero maximo de iteracoes atingido '); disp ('iteracoes ', niter , 'Condicao max_k |x(k) - x0(k)| nao atingida apos '); break ; end endfunction
4562f0863115f9de70407136a2e589f03b018db3
449d555969bfd7befe906877abab098c6e63a0e8
/3257/CH6/EX6.4/Ex6_4.sce
b762cc03dbd0eeba70b81d8c558ae716f35f3492
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
538
sce
Ex6_4.sce
// Power required for rolling clc t1 = 20 // initial thickness in mm t2 = 12 // final thickness in mm R = 300 // roll radius N = 100 // rpm of roll w = 250 // width in mm K = 895 // in MPa n = 0.49 // from table mu = 0.1 // frictional coefficient printf("\n Example 6.4") L = sqrt((R*1e-3)*(t1-t2)*1e-3) epsilon = log(t1/t2) Y_bar = K*epsilon^n/(1+n) Y_bar_1 = Y_bar*(1+(mu*L/((t1+t2)*1e-3))) F = L*w*Y_bar_1*1e3 p = 2*%pi*F*L*N/60000 printf("\n Power required for rolling is %d kW.",p) // Answer in book is 3111kW
8786d8729e18294bfb1ff286085cabe181d9240d
449d555969bfd7befe906877abab098c6e63a0e8
/632/CH3/EX3.15/example3_15.sce
1db339675a59262391ed757be60568ff801990d6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
476
sce
example3_15.sce
//clc() mwater = 100;//kg mNaCl = 35.8;//kg msolu = mwater + mNaCl; mfr = mNaCl / msolu; mpr = mfr * 100; MNaCl = 58.45;//kg/kmol NNaCl = mNaCl / MNaCl; MH2O = 18;//kg/kmol NH2O = mwater / MH2O; Mfr = NNaCl / (NNaCl + NH2O); Mpr = Mfr * 100; N = NNaCl *1000 / mwater; disp(mfr,"(a)mass fraction of NaCl =") disp(mpr,"mass percent of NaCl= ") disp(Mfr,"(b)mole fraction of NaCl =") disp(Mpr,"mole percent of NaCl = ") disp(N,"kmol NaCl per 1000 kg of water =")
d49610cbc584220646afa437f3d3a41b057fcbf2
449d555969bfd7befe906877abab098c6e63a0e8
/1913/CH1/EX1.16/ex16.sce
289997e26c1279f6da049f249729be8f2f347e0c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
475
sce
ex16.sce
clc clear //Input data Z1=0.17;//Level of liquid in m Z=0.76;//Barometer readings in m d=13596;//Density of Hg in kg/m^3 g=9.806;//Gravity in m/sec^2 s=0.8;//Specific gravity d1=1000;//Density of water in kg/m^3 //Calculations dl=s*d1;//Density of given liquid in kg/m^3 Pa=d*g*Z;//Atmospheric pressure in N/m^2 p=dl*g*Z1;//Pressure in N/m^2 Pab=(Pa-p)/10^5;//Absolute pressure in bar //Output printf('Absolute pressure of the gas Pab = %3.6f bar ',Pab)
f354acf4f0521f08dd8319d2522134eddd2f57db
449d555969bfd7befe906877abab098c6e63a0e8
/2240/CH15/EX14.1/EX14_1.sce
473f52989c1443c1e03c284d2e9820a7e2d248ca
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
357
sce
EX14_1.sce
// Grob's Basic Electronics 11e // Chapter No. 14 // Example No. 14_1 clc; clear; // Calculate the ampere-turns of mmf for a coil with 2000 turns and a 5-mA current. // Given data I = 5*10^-3; // Current=5 mAmps N = 2000; // No. of Turns=2000 mmf = I*N; disp (mmf,'The Amps-Turn (A.t) of Magneto-Motive Force (mmf) in A.t')
4f38237aecd8767a2fdcddea9339762deb6b8cd5
449d555969bfd7befe906877abab098c6e63a0e8
/2825/CH19/EX19.5/Ex19_5.sce
670e3e9873084ac68743527fe91d565025f17803
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
267
sce
Ex19_5.sce
//Ex19_5 Pg-958 clc //Integer part bin='10101'; //binary input dec_I=bin2dec(bin) //decimal output //Decimal part a=1 b=0 c=1 dec_D=a*2^(-1)+b*2^(-2)+c*2^(-3) dec=dec_I+dec_D //decimal output disp("The decimal equivqlent of 10101.101 is") disp(dec)
df43bd78042a32a4d390eeccd846fa6917ca3fd1
449d555969bfd7befe906877abab098c6e63a0e8
/3537/CH7/EX7.13/Ex7_13.sce
b0e33d1d29f6b7c4fb1e103ad8ac2bac72e53a03
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
178
sce
Ex7_13.sce
//Example 7_13 clc(); clear; //To calculate the refractive index of the core NA=0.39 delta=0.05 n1=NA/sqrt(2*delta) printf("The refractive index of the core is %.3f",n1)
55e41424421957820ea13cd5d55ab7eec1f1e9d8
449d555969bfd7befe906877abab098c6e63a0e8
/1727/CH8/EX8.2/8_2.sce
b132f06024993c64ba39a4f54e46daf469cc7157
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
264
sce
8_2.sce
clc //Initialization of variables b=6 //m y=2 //m sf=0.005 slope = 2 gam=9.81*1000 Q=65 //m^3/s //calculations A=(b+ 2*y)*slope P=b+ 2*y*sqrt(slope^2 +1) R=A/P V=Q/A n=R^(2/3) *sf^(1/2) /V //results printf("Value of mannings coefficient = %.3f",n)
bda88808e5105b1f7a6c8a8b57679e7d06106dfe
449d555969bfd7befe906877abab098c6e63a0e8
/1332/CH1/EX1.1/1_1.sce
e8854653dbfda917a272048f5819886ff80bc744
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
773
sce
1_1.sce
//Example 1.1 //Conversion to Decimal System //Page no. 4 clc;close;clear; function [s]=bas2dec(x,b) xi=int(x) xd=x-int(x) s=0 for i=1:10 xi=xi/10 s=s+(10*(xi-fix(xi))*b^(i-1)) xi=int(xi) if(xi==0) break end end for i=1:1 xd=xd*10; s=s+(ceil(xd)/b^(i)) xd=xd-fix(xd) if(xd==0) break end end endfunction //conversion from hexadecimal to decimal system disp(hex2dec('1A2C'),'1A2C='); //inbuit function //conversion from hexadecimal to decimal system disp(bas2dec(428.5,8),'428.5=') //inline function //conversion from hexadecimal to decimal system disp(bas2dec(120.1,3),'120.1=') //inline function
b83e51bef498cf917ea607ec4f228d7ff61ff6d4
ed1c05f846a64e6a8308394b3f3a4edbf4801a04
/raytracer/scenes/spheres/spheres.sce
3322a76c82ccc832bd297e37de504e9a38be283f
[]
no_license
Gorzen/Computer-Graphics-2019
e56b85314fa7b4782041977480e4d7b01a854a6c
c17a640342414402a6efe8859cfc9e3aa042960b
refs/heads/master
2020-04-24T09:39:56.561728
2019-05-30T11:41:20
2019-05-30T11:41:20
171,869,278
0
0
null
null
null
null
UTF-8
Scilab
false
false
721
sce
spheres.sce
# camera: eye, center, up, fovy, width, height camera 1 3 8 1 1 0 0 1 0 45 500 500 # recursion depth depth 5 # background color background 0 0 0 # global ambient light ambience 0.2 0.2 0.2 # light: position and color light 0 50 0 0.35 0.35 0.35 light 50 50 50 0.35 0.35 0.35 light -50 50 50 0.35 0.35 0.35 # spheres: center, radius, material sphere 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 1.0 100.0 0.4 sphere -1.0 0.5 2.0 0.5 0.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 1.0 200.0 0.2 sphere 3.0 2.0 1.5 2.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 1.0 1.0 50.0 0.2 # planes: center, normal, material plane 0 0 0 0 1 0 0.2 0.2 0.2 0.2 0.2 0.2 0.0 0.0 0.0 100.0 0.1
4c5238516afb5268e088aae9fbdfe3d3f10fcfec
262ac6443426f24d5d9b13945d080affb0bd6d9b
/opgaves/vpw-pizzabonnen+/inputs.sce
e79432468882ab6c1747a964d06e2ab36a92cc8f
[]
no_license
slegers/Scilab
9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b
1b5dc3434def66355dafeb97c01916736a936301
refs/heads/master
2021-01-12T01:42:01.493578
2017-01-09T10:54:09
2017-01-09T10:54:09
78,420,343
0
0
null
null
null
null
UTF-8
Scilab
false
false
7,158
sce
inputs.sce
pizzas0 = [] bonnen0 = [] pizzas1 = [4813,1719,3762,9829,6090,4,2511,7053,2252,1708,487,8406,9927,6621,7305,2112,8230,6189,2691,8394,964,6144,7224,5138,9654,4833,3985,4846,1301,7094,5873,4544,3873,5177,1674,9210,9359,6573,6267,9117,3432,7815,8318,2343,853,1392,8598,8925,6933,4256,250,4136,7105,3898,4725,3122,788,4864,5203,3932,4495,8877,8865,4409,6169,9491,1240,9652,6698,4558,2314,4093,834,3370,8911,7580,1177,3794,7786,6511,5348,4691,551,5543,9365,3487,7395,5449,1905,6811,5229,6843,1120,480,897,3253,1216,2209,1525,7174,6600,6140,2474,3504,9516,8684,1023,929,2969,2129,1715,8037,2787,9575,7170,3946,6829,8458,2941,1057,7689,6026,1086,2918,1066,4963,8237,228,8421,3760,5140,7161,7481,1442,999,9959,5866,6627,3922,1004,3476,1067,1999,5185,3050,8722,8693,3597,7321,2897,8617,5618,3753,1610,2250,2890,8144,3832,9776,8084,7083,1460,8978,4988,434,7780,986,5510,276,2091,4415,7344,1314,3466,4420,8574,5852,4140,7294,9988,7790,7238,1649,2855,6462,1412,7501,243,7679,8921,899,5954,3236,7580,4586,3511,6449,8872,2176,6017,2687,9745,8769,6851,2977,7108,6621,6751,9361,8060,9814,2505,1427,4941,2266,816,1752,4130,4682,5422,9784,9491,2833,7857,7223,6211,388,8874,7043,2301,7232,7872,4879,8020,9190,3227,2829,2311,611,926,2674,1532,2254,1668,5313,3672,4304,2384,3317,6308,7547,9222,8141,4218,8881,5006,6268,2284,6644] pizzas1=[pizzas1,1207,3131,7927,1412,861,6761,242,496,7280,1109,1990,4593,4553,7891,1811,4889,4571,1351,4839,3202,645,6734,5098,9942,136,2850,5350,4631,4637,7578,5599,7356,8535,9870,1745,6195,928,1532,5525,3546,3829,7696,1793,8737,3175,1022,6309,4221,4607,6997,8590,5623,6053,3880,1463,3429,1722,7165,3263,5610,3,6493,5018,5086,8133,4936,3051,880,7680,2770,3726,5859,9629,5907,8290,3429,2149,883,7394,3077,470,1761,991,3256,2205,4250,8625,3026,3802,6903,4168,2205,2215,2360,9245,5285,2020,9319,733,2907,8400,2418,5030,3545,3776,8737,6682,2680,5375,9059,6056,7876,4933,4571,7194,1093,1393,7309,399,4238,6512,5022,4001,5868,9987,1574,5827,6986,8434,8343,6796,5945,2802,996,8218,5985,3003,8808,3697,2325,695,9164,6290,5827,4385,8838,6801,6967,6070,4189,5958,6519,6264,9338,4879,168,6230,4553,5363,3270,1438,2663,5099,9388,1660,1198,483,5000,9669,7555,3817,9776,9116,6921,8054,3920,8541,6961,2009,7618,9318,4853,6645,6090,1735,5075,9295,420,1739,1546,282,988,3485,6030,9221,3580,7184,2807,2190,8532,8753,5811,1366,4782,8298,4875,9647,5583,9730,9954,6518,5421,6116,9641,6366,2410,5113,8334,3262,3348,1527,1261,1031,9350,8397,4405,7001,8575,8365,9032,5045,8196,492,4243,5291,8111,3790,4626,3557,6871,1295,2313,2968,1795,7321,7967,5045,8946,5749,6862,2616,7992,899,3080,6445,5130,1595,2060,6047,7662,1374,145,116,7162,3306,7204,213,156,2372,3621,5040,2281,358,9047,1987,5239,7635,1367,2238,902,2535,2534,95,2691,4915,5892,9591,2970,2697,2235,7327,7270,5636,3930,3816,1265,9891,3449,6955,2773,6598,9904,1068,8276,8039,6748,531,1078,787,7988,9059,9209,9178,3117,5628,8787,7774,1982,2953,1142,2248,3402,5025,3942,6799,7852,8375,7996,5596,6399,6211,2889,6532,1117,1621,7105,4815,7787,5079,3259,551,478,7107,6411,9005,4385,8169,7328,3682,4250,1803,7412,7057,4211,7327,2436,5979,9630,7028,5940,2923,5156,3099] pizzas1=[pizzas1,2940,2021,1457,1902,2942,7864,6868,8000,8019,9094,9450,1362,581,5050,266,7795,1421,2736,9906,628,7850,6386,6957,606,5136,7599,1786,7180,2431,1897,8802,4926,9845,9590,3633,4004,6907,9981,9459,9634,5460,6281,8184,2045,7651,9943,1838,9487,2657,6204,8143,2368,2193,4891,79,2138,2101,9225,6633,9913,663,9840,2619,5134,4702,5749,2844,9056,6204,7990,6423,8743,572,2635,4697,8119,4184,4770,6885,5999,2701,743,8578,7104,6564,7132,9610,8398,4274,982,7410,6122,4710,6626,633,3291,5393,9920,7380,5571,7816,8368,6792,8928,6628,4292,8484,8478,7470,9488,8629,8530,7595,378,5971,2838,6933,6602,3987,9575,5832,3172,8201,7008,6074,83,4699,394,836,413,8061,7940,7060,5432,4769,4176,2983,857,3735,3331,8621,341,56,5005,7277,3109,2110,2453,764,1397,6655,2969,5078,4091,7665,8301,6049,4635,2437,5211,8947,41,9276,1046,7757,7848,5863,8736,3052,6242,4251,1660,369,6795,1006,3471,7951,1373,7273,4919,8612,2793,7263,5304,8113,7105,910,2406,8104,8377,4231,2534,916,276,6518,5736,9563,8865,5372,8429,4344,2455,7685,1118,5145,9867,45,186,5969,7070,4741,4677,5939,5081,7277,7430,1577,1319,5423,3579,6079,3796,7797,225,1913,4723,5741,4215,5763,7961,3162,3249,5333,6543,1404,7079,2404,6724,3336,7839,8858,6469,7824,7976,2997,8032,3932,8810,7947,1416,5295,9625,183,7684,2686,2948,1575,6726,4056,9097,7199,9774,4472,3229,8409,128,7668,3262,7686,9177,7094,8484,4445,2977,5717,4265,4591,3474,49,1650,2000,8047,937,777,2432,1493,9792,5076,4447,6339,2925,7588,4009,8581,7156,7075,772,4581,8022,2961,5954,3124,4481,9100,5179,96,4033,9292,8712,6880,1739,8940,1682,2886,3291,4880,5722,9897,7035,143,6989,8699,8091,9462,6772,9704,9589,2907,7672,4843,3949,3689,2708,9048,5947,972,6558,4752,7968,2935,7888,4269,9003,6038,8235,5166,4947,2199,5958,9879,8203,9930,1371,7874,8503,2488,9051,1390,440,2911,8304,1145,6539,6474,4581,3895,1202,6414,1275,7825,453,648,3351,6577,3115,8245,2745,1709] bonnen1 = [ 3,2; 7,1; 1,3; 3,3; 7,1; 9,1; 0,4; 5,0 ] pizzas2 = [2082,680,8965,175,9025,7761,7662,1767,8559,8067,9968,5103,4137,9380,4366,4035,3284,4696,491,8978,631,1513,3581,8094,1323,4853,8561,519,2898,5172,3498,4677,6576,4642,9335,7885,987,9008,9513,1790,6288,6543,3898,8774,1983,5442,3993,9568,6637,4732,4281,8170,489,751,1845,2848,9845,2505,2345,7366,7743,4214,9112,2716,9552,1364,6734,4293,2385,9203,979,9510,5341,435,9461,7948,6821,8104,4360,5244,7654,6392,8490,8542,2473,2862,8526,2377,7004,9130,1764,6332,9844,2352,1438,6329,7366,4912,7213,805,1869,2123,7236,8821,2222,7505,441,3009,4445,5766,9741,9802,7868,9460,2112,9813,2758,2242,737,5113,2874,9523,1277,7324,8382,5662,3088,8607,374,1100,6638,1570,7379,1258,5713,466,8375,3824,3249,8382,8533,6993,3090,1557,1337,7018,4158,3605,8462,3132,302,9438,9638,6915,6825,2009,6960,3736,7058,9862,1975,7876,8882,1925,4470,8780,5219,8167,9437,2189,5345,9372,7230,7356,1198,3726,8147,4729,1396,5014,6958,9336,4634,2290,4351,8298,7773,3311,6574,809,8377,8352,9153,354,4418,9186,198,6718,8776,3673] bonnen2 = [2,9;5,3;2,9;5,3;5,3;2,9;2,9;2,9;5,3;2,9;2,9;5,3;5,3;5,3;2,9;5,3;2,9;5,3] pizzas3 = [145,749,706,209,747,909,378,274,316,895,580,428,754,650,900,866,481,829,761,250,732,813,554,128,172,372,862,778,697,10,119,806,192,76,881,116,902,154,620,518,663,728,804,463,785,862,55,160,350,634,536,699,925,200,913,990,758,848,926,123,805,750,390,611,325,304,459,710,644,502,303,639,771,957,743,763,289,995,516,218,414,873,281,831,847,928,34,164,966,234,953,973,928,106,233,678,537,160,246,566] bonnen3 = [3,1;3,1;3,1;3,1;3,1;3,1;3,1;3,1;3,1;3,1;5,2;5,2;5,2;5,2;5,2;5,2;5,2;5,2;5,2;5,2;10,5] pizzas4 = [145,749,706,209,747,909,378,274,316,895,580,428,754,650,900,866,481,829,761,250,732,813,554,128,172,372,862,778,697,10,119,806,192,76,881,116,902,154,620,518,663,728,804,463,785,862,55,160,350,634,536,699,925,200,913,990,758,848,926,123,805,750,390,611,325,304,459,710,644,502,303,639,771,957,743,763,289,995,516,218,414,873,281,831,847,928,34,164,966,234,953,973,928,106,233,678,537,160,246,566] bonnen4 = [3,1;3,1;3,1;3,1;3,1;3,1;3,1;3,1;3,1;3,1;5,2;5,2;5,2;5,2;5,2;5,2;5,2;5,2;5,2;5,2;10,5;10,5;10,5;10,5;10,5;10,5;10,5;10,5;10,5;10,5]
dda969fa36cccac68a0f115b8e31e9d01cb3b887
891e9f4e3fce67f553f07f24cef2e802423770b9
/fseminf/fsinfex.sci
22b6b19b19885488aca69a869c6d505c391fe960
[]
no_license
animeshbaranawal/FOSSEE
ae6b6c1a39803ad0fb26780b7f960a62431c71d2
75b1b18dcfd935f7ebbe89b44573c8076dae4267
refs/heads/master
2022-06-24T14:20:49.508846
2022-05-30T17:13:09
2022-05-30T17:13:09
50,281,099
1
0
null
null
null
null
UTF-8
Scilab
false
false
991
sci
fsinfex.sci
function f = obj(x) f = (x(1) - 0.2)^2 + (x(2) - 0.5)^2 + (x(3) - 0.3)^2 endfunction function [varargout, c, ceq] = seminfcon(z,t) c = [] ceq = [] varargout(1) = sin(t(1)*z(1))*cos(t(1)*z(2)) - 0.001*(t(1)-50)^2 - sin(t(1)*z(3)) - z(3) - 1 varargout(2) = sin(t(1)*z(2))*cos(t(1)*z(1)) - 0.001*(t(1)-50)^2 - sin(t(1)*z(3)) - z(3) - 1 endfunction w = [1 0 100 0; 1 0 100 0] S = [0.2 0; 0.2 0] [x,fval] = fseminf(obj,[0.5 0.2 0.3],2,seminfcon,w,S,[],[],[],[],[],[]) //function Ki = semiK(z,t,i) // [v,t1,t2] = seminfcon(z,t) // //disp(i) // Ki = v(i) //endfunction // //t = [1:0.2:100]'; //for j = 1:size(t,'r') // y(j) = semiK([0.5 0.5 0.5],t(j),1); //end //dy = splin(t,y); //tt = [1:0.2/100:100]'; //yy = interp(tt,t,y,dy); //Kimax = max(yy); // //disp(Kimax); // //t = [1:0.2:100]'; //for j = 1:size(t,'r') // y(j) = semiK(z,t(j),2); //end //dy = splin(t,y); //tt = [1:0.2/100:100]'; //yy = interp(tt,t,y,dy); //Kimax = max(yy); // //disp(Kimax); //
c109573bca8cdbf61451c8b7d2bc0c65a9884367
8baa4268cc19995abb706bcc05c80afb319e1669
/test/rate.tst
2d759d9d5a9fa0e7143dd96a6055311b57cd2f47
[]
no_license
nicoloison/CPSC471-Project
53c3362e0251f3c37edf0ab9769277d15670dc21
db0db7d7be776d6d6958d920596bc708d3347e82
refs/heads/master
2020-04-18T13:42:30.599190
2014-12-26T10:58:19
2014-12-26T10:58:19
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
113
tst
rate.tst
curl "localhost/recipes/rate.php?username=lmitchell&author_name=nloison&recipe_name=mac%20and%20cheese&rating=5"
28d62b0147fd0d3e119e10ade97f9c633dd791aa
449d555969bfd7befe906877abab098c6e63a0e8
/122/CH7/EX7.a.8/exaA_7_8.sce
be35a2e0f5743b4337af7dfe25b94cbb1d073e56
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
182
sce
exaA_7_8.sce
// Example A-7-8 // Stability check clear; clc; xdel(winsid()); //close all windows s = %s; K = 2; P = s*(s+1)*(2*s+1) + K; disp(routh_t(P)) // unstable since two roots are in RHP
6d27082c5e5e098fdc80e2b6fad4e83e0a3aa974
717ddeb7e700373742c617a95e25a2376565112c
/608/CH21/EX21.21/21_21.sce
2cc2c0368eb6fa3b3623c8e27fb8d4cea2bef108
[]
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
919
sce
21_21.sce
//Problem 21.21: A 200 V, d.c. shunt-wound motor has an armature resistance of 0.4 ohm and at a certain load has an armature current of 30 A and runs at 1350 rev/min. If the load on the shaft of the motor is increased so that the armature current increases to 45 A, determine the speed of the motor, assuming the flux remains constant. //initializing the variables: Ia1 = 30; // in Amperes Ia2 = 45; // in Amperes Ra = 0.4; // in ohm n1 = 1350/60; // in Rev/sec V = 200; // in Volts //calculation: //The relationship E proportional to (Phi*n) applies to both generators and motors. For a motor, //E = V - (Ia*Ra) E1 = V - (Ia1*Ra) E2 = V - (Ia2*Ra) //The relationship, E1/E2 = Phi1*n1/Phi2*n2, applies to both generators and motors. Since the flux is constant, Phi1 = Phi2 Phi2 = Phi1 n2 = E2*Phi1*n1/(Phi2*E1) printf("\n\n Result \n\n") printf("\n the speed of the motor is %.2f rev/sec ",n2)
656fdacaa0bd51b527d0386fb7c9ff2c6f5c3e9e
449d555969bfd7befe906877abab098c6e63a0e8
/3836/CH13/EX13.4/Ex13_4.sce
6b98d6c51a023543b60a0bbdeb8541c73b1c2d4c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
232
sce
Ex13_4.sce
clear //Initialization q=15*10**-6 //charge in coulomb a=200*10**-6 //area //Calculation d=q/a //electric flux density //Results printf("\n D = %d mC/m^2",d*10**3)
89e6a5574710385881290c98a2334ee5d1cd20ea
449d555969bfd7befe906877abab098c6e63a0e8
/3754/CH29/EX29.16/29_16.sce
490fd1d521c45fdf135ba80d03f92acd23d72fdd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,147
sce
29_16.sce
clear// //Variables hfe = 99.0 //hfe hie = 2.0 * 10**3 //hie (in ohm) Rc = 22.0 * 10**3 //Load resistor of frist stage (in ohm) R4 = 100.0 //Emitter resistance of first stage (in ohm) R1 = 220.0 * 10**3 //Biasing resistor of second stage (in ohm) R2 = 22.0 * 10**3 //Biasing resistor of second stage (in ohm) R1c = 4.7 * 10**3 //Load resistance of second stage (in ohm) R3 = 7.8 * 10**3 //Feedback resistor from collector of second stage to emitter of first stage (in ohm) //Calculation Ri = hie //Input resistance of first stage (in ohm) Ro1 = (1/Rc + 1/R1 + 1/R2 + 1/hie)**-1 //Output resistance of first stage (in ohm) Ri2 = hie //Input resistance of second stage (in ohm) Ro2 = R1c * (R3 + R4)/(R1c + R3 + R4) //Output resistance of second stage (in ohm) Av1 = hfe * Ro1 / hie //Voltage gain of first stage Av2 = hfe * Ro2 / hie //Voltage gain of second stage Av = Av1 * Av2 //Overall voltage gain without feedback beta = R4 / (R3 + R4) //Feedback ratio Ri1 = Ri*(1 + beta*Av) //Input resistance with feedback (in ohm) R1o2 = Ro2 / (1 + beta * Av) //Output resistance with feedback (in ohm) A1v = Av / (1 + beta * Av) //Overall voltage gain with feedback //Result printf("\n Voltage gain without feedback is %0.1f .\nInput resistance of first stage without feedback is %0.3f kilo-ohm.\nInput resistance of second stage without feedback is %0.3f kilo-ohm.\nOutput resistance of first stage without feedback is %0.2f kilo-ohm.\nOutput resistance of second stage without feedback is %0.2f kilo-ohm .",Av,Ri*10**-3,Ri2*10**-3,Ro1*10**-3,Ro2*10**-3) printf("\n Voltage gain with feedback is %0.1f .\nInput resistance with feedback is %0.2f kilo-ohm.\nOutput resistance with feedback is %0.3f kilo-ohm.",A1v,Ri1*10**-3,R1o2*10**-3)
b9d7992caad657c06d904d74ce933cdb1a207c1c
449d555969bfd7befe906877abab098c6e63a0e8
/1919/CH9/EX9.10/Ex9_10.sce
96c96247072c085da1a7ea7e549a53f30c2ecdb0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,343
sce
Ex9_10.sce
// Theory and Problems of Thermodynamics // Chapter 9 // Air_water Vapor Mixtures // Example 10 clear ;clc; //Given data RH = 0.6 // relative humidity moist air T1 = 313.15 // Temp of air entering cooling device in K T2 = 293.15 // temperature at air required to leave in K P = 101.325 // pressure of entering air in kPa V = 300 // volumatric flow rate of air in m^3/min M = 28.97 // molecular weight of air R = 8.314 // gas constant // data from psychometric chart SH1 = 0.0284 // in kg H2O/kg air pw1 = 4.4 // in kPa h1 = 115 // in kJ/kg air SH2 = 0.0148 // in kg H2O/kg air h2 = 58 // in kJ/kg air hw3 = 83.95 // in kJ/kg at T = 20`C // at TDB = 40 `C; RH = 1 ma1 = (101.325-pw1)*1e3*V*M/(R*1e3*T1) // masss balance for H2O: ma1*SH1 = ma2*SH2 + mw3 mw3 = ma1*(SH1-SH2) // amount of water condensed in kg/min // Energy balance: ma1*h1 = ma2*h2 + mw3*hw3 + Qc Qc = ma1*(h1-h2) - mw3*hw3 // in kJ/min Qc = Qc*1e-3/60 // units conversion kJ/min to MW // Output Results mprintf('The amount of water condensed = %4.1f kg/min' , mw3); mprintf('\n The rate of cooling required = %4.1f MW' , Qc);
adcc6c54ea73c06567692a5d2f7f3a9fe03d799e
449d555969bfd7befe906877abab098c6e63a0e8
/3673/CH7/EX7.a.2/Example_a_7_2.sce
4fde979a0cb216f89e4bae9ecbbf99f8d0fb4b48
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
926
sce
Example_a_7_2.sce
//Example_a_7_2 page no:270 clc; Rab=3+(4*%i); Rabmag=sqrt(real(Rab)^2+imag(Rab)^2); Rabang=atand(imag(Rab)/real(Rab)); Rbc=%i*4; Vmag=100; Vang=-45; Vreal=Vmag*cosd(Vang); Vimag=Vmag*sind(Vang); V=Vreal+(%i*Vimag); A=[(3+(%i*8)),(-%i*4) (-%i*4),(%i*2)]; B=[V, 0]; X=inv(A)*B; X1mag=sqrt(real(X(1))^2+imag(X(1))^2); X1ang=-atand(imag(X(1))/real(X(1))); X2mag=sqrt(real(X(2))^2+imag(X(2))^2); X2ang=atand(imag(X(2))/real(X(2))); //calculating the voltages across ab Vabmag=Rabmag*X1mag; Vabang=Rabang+X1ang; disp(Vabmag,"the magnitude of voltage across ab is (in V)"); disp(Vabang,"the angle of voltage across ab is (in degree)"); //calculating the voltages across bc Vbc=(X(2)-X(1))*Rbc; Vbcmag=sqrt(real(Vbc)^2+imag(Vbc)^2); Vbcang=atand(imag(Vbc)/real(-Vbc)); disp(Vbcmag,"the magnitude of voltage across bc is (in V)"); disp(Vbcang,"the angle of voltage across bc is (in degree)");
d984ea3f7b29e74546448cda978fdaeb0fcc4454
931df7de6dffa2b03ac9771d79e06d88c24ab4ff
/CSGO Target Switch.sce
c36594989aeeb0ef6bcc70212892a95fd35d72fd
[]
no_license
MBHuman/Scenarios
be1a722825b3b960014b07cda2f12fa4f75c7fc8
1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137
refs/heads/master
2023-01-14T02:10:25.103083
2020-11-21T16:47:14
2020-11-21T16:47:14
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
34,993
sce
CSGO Target Switch.sce
Name=CSGO Target Switch PlayerCharacters=Counter-Striker BotCharacters=Quaker Bot Fast Strafes.bot IsChallenge=true Timelimit=60.0 PlayerProfile=Counter-Striker AddedBots=Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot PlayerMaxLives=0 BotMaxLives=0;0;0;0 PlayerTeam=1 BotTeams=2;2;2;2 MapName=boxervert.map MapScale=6.0 BlockProjectilePredictors=true BlockCheats=true InvinciblePlayer=false InvincibleBots=false Timescale=1.0 BlockHealthbars=false TimeRefilledByKill=0.0 ScoreToWin=1000.0 ScorePerDamage=1.0 ScorePerKill=0.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=0.0 ScoreLossPerDamageTaken=0.0 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=true ScoreMultDamageEfficiency=false ScoreMultKillEfficiency=false GameTag=OW, Apex, CSGO, flick, hitscan WeaponHeroTag=pistol DifficultyTag=4 AuthorsTag=lep BlockHitMarkers=false BlockHitSounds=false BlockMissSounds=true BlockFCT=false Description=Target switching scenarios (flick + hitscan) GameVersion=1.0.7.2 ScorePerDistance=0.0 [Aim Profile] Name=At Feet MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=-200.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Low Skill At Feet MinReactionTime=0.35 MaxReactionTime=0.45 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=20.0 TrackSpeed=3.0 TrackError=5.0 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=60.0 ShootFOV=25.0 VerticalAimOffset=-200.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Low Skill MinReactionTime=0.35 MaxReactionTime=0.45 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=20.0 TrackSpeed=3.0 TrackError=5.0 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=60.0 ShootFOV=25.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Default MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Bot Profile] Name=Quaker Bot Fast Strafes DodgeProfileNames=Short Strafes;ADAD;cs peek;CsRandom1;Long Strafes 2 DodgeProfileWeights=0.5;0.5;0.5;0.5;0.5 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;2.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=At Feet;Low Skill At Feet;Low Skill;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=false CharacterProfile=Counter-Striker SeeThroughWalls=false NoDodging=false NoAiming=false [Character Profile] Name=Counter-Striker MaxHealth=100.0 WeaponProfileNames=AK-47;;Deag;USP-S;;;; MinRespawnDelay=0.0001 MaxRespawnDelay=0.0001 StepUpHeight=75.0 CrouchHeightModifier=0.75 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=1.0 MovementType=Base MaxSpeed=300.0 MaxCrouchSpeed=250.0 Acceleration=3000.0 AirAcceleration=16000.0 Friction=7.5 BrakingFrictionFactor=1.25 JumpVelocity=800.0 Gravity=2.5 AirControl=1.0 CanCrouch=true CanPogoJump=false CanCrouchInAir=true CanJumpFromCrouch=true EnemyBodyColor=X=0.546 Y=0.776 Z=0.546 EnemyHeadColor=X=0.608 Y=0.463 Z=0.314 TeamBodyColor=X=0.000 Y=0.000 Z=0.771 TeamHeadColor=X=0.149 Y=0.542 Z=1.000 BlockSelfDamage=true InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=true AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=250.0 MainBBRadius=35.0 MainBBHasHead=true MainBBHeadRadius=25.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=250.0 ProjBBRadius=35.0 ProjBBHasHead=true ProjBBHeadRadius=25.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.5 JetpackFullFuelTime=1000.0 JetpackFuelIncPerSec=100.0 JetpackFuelRegensInAir=true JetpackThrust=6000.0 JetpackMaxZVelocity=600.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=256.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.0 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.0 ThirdPersonCamera=false TPSArmLength=300.0 TPSOffset=X=0.000 Y=150.000 Z=150.000 BrakingDeceleration=2048.0 VerticalSpawnOffset=0.0 [Dodge Profile] Name=Short Strafes MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=50.0 DamageReactionResetTimer=0.5 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=ADAD MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 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.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.2 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.16 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.1 MaxCrouchTime=0.2 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=cs peek MaxTargetDistance=10000.0 MinTargetDistance=0.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.125 MaxLRTimeChange=0.5 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.01 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.25 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=1.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.0 BlockedMovementReactionMax=0.125 [Dodge Profile] Name=CsRandom1 MaxTargetDistance=5000.0 MinTargetDistance=0.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.01 MaxLRTimeChange=2.0 MinFBTimeChange=0.01 MaxFBTimeChange=1.0 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.02 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=1.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Long Strafes 2 MaxTargetDistance=1750.0 MinTargetDistance=500.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.5 MaxLRTimeChange=1.5 MinFBTimeChange=0.5 MaxFBTimeChange=1.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=50.0 DamageReactionResetTimer=0.5 JumpFrequency=0.2 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Weapon Profile] Name=AK-47 Type=Hitscan ShotsPerClick=1 DamagePerShot=36.0 KnockbackFactor=0.2 TimeBetweenShots=0.1 Pierces=false Category=FullyAuto BurstShotCount=2 TimeBetweenBursts=0.1 ChargeStartDamage=0.1 ChargeStartVelocity=X=1500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=3000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=3000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=3.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=4.0 MagazineMax=30 AmmoPerShot=1 ReloadTimeFromEmpty=1.5 ReloadTimeFromPartial=1.5 DamageFalloffStartDistance=4000.0 DamageFalloffStopDistance=7500.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.02 WallParticleEffect=Gunshot HitParticleEffect=Blood BounceOffWorld=true BounceFactor=0.6 BounceCount=0 HomingProjectileAcceleration=6000.0 ProjectileEnemyHitRadius=0.1 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.1 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-40.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=0.2 RecoilNegatable=false DecalType=1 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=390.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=true AimPunchAmount=0.0 AimPunchResetTime=0.05 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=true MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=10.3 ADSFOVScale=Horizontal (16:9) ADSAllowUserOverrideFOV=true IsBurstWeapon=false ForceFirstPersonInADS=true ZoomBlockedInAir=false ADSCameraOffsetX=0.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.0 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=0.1 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=true DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=true DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=5.0 BlockedByWorld=true SpreadSSA=4.0,15.0,-9.0,2.5 SpreadSCA=4.0,15.0,-9.0,2.5 SpreadMSA=4.0,15.0,-9.0,2.5 SpreadMCA=4.0,15.0,-9.0,2.5 SpreadSSH=2.0,27.0,-9.0,1.5 SpreadSCH=2.0,27.0,-9.0,0.0 SpreadMSH=100.0,1000.0,5.0,20.0 SpreadMCH=4.0,15.0,-9.0,1.8 MaxRecoilUp=0.3 MinRecoilUp=0.3 MinRecoilHoriz=-0.3 MaxRecoilHoriz=0.3 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.0001 TimeToRecoilReset=0.075 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.1 AAMaxSpeed=5.0 AADeadZone=0.0 AAFOV=10.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=0.1 StickyLock=false HeadLock=true VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=true PSRLoopStartIndex=10 PSRViewRecoilTracking=0.45 PSRCapUp=90.0 PSRCapRight=90.0 PSRCapLeft=90.0 PSRTimeToPeak=0.16 PSRResetDegreesPerSec=35.0 PSR0=0.5,0.0 PSR1=1.2,-0.1 PSR2=1.7,0.2 PSR3=1.7,0.2 PSR4=1.7,-0.85 PSR5=1.3,-0.45 PSR6=1.3,-0.75 PSR7=0.9,0.75 PSR8=-0.4,2.55 PSR9=0.75,0.95 PSR10=0.75,0.4 PSR11=-0.6,0.4 PSR12=0.35,1.0 PSR13=0.4,0.25 PSR14=-0.9,-1.5 PSR15=0.4,-1.0 PSR16=0.5,-1.3 PSR17=0.1,-1.6 PSR18=-0.7,-1.25 PSR19=0.2,-0.5 PSR20=0.2,0.1 PSR21=0.0,0.5 PSR22=0.3,0.1 PSR23=0.2,0.5 PSR24=0.5,-1.0 PSR25=-0.1,1.2 PSR26=-0.3,1.1 PSR27=-1.2,2.0 PSR28=0.1,1.4 PSR29=-0.1,0.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Weapon Profile] Name=Deag Type=Hitscan ShotsPerClick=1 DamagePerShot=50.0 KnockbackFactor=1.0 TimeBetweenShots=0.224 Pierces=false Category=SemiAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=4.0 MagazineMax=7 AmmoPerShot=1 ReloadTimeFromEmpty=2.2 ReloadTimeFromPartial=2.2 DamageFalloffStartDistance=500.0 DamageFalloffStopDistance=4000.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=Gunshot HitParticleEffect=Blood BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=1.0 RecoilNegatable=false DecalType=1 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=400.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=true AimPunchAmount=0.0 AimPunchResetTime=0.05 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=true MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=72.099998 ADSFOVScale=Horizontal (16:9) ADSAllowUserOverrideFOV=true IsBurstWeapon=false ForceFirstPersonInADS=true ZoomBlockedInAir=false ADSCameraOffsetX=0.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.0 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=10.0,25.0,0.0,10.0 SpreadSCA=10.0,25.0,0.0,10.0 SpreadMSA=10.0,25.0,5.0,10.0 SpreadMCA=10.0,25.0,5.0,10.0 SpreadSSH=10.0,25.0,0.0,10.0 SpreadSCH=10.0,25.0,0.0,10.0 SpreadMSH=10.0,1000.0,5.0,10.0 SpreadMCH=10.0,25.0,5.0,10.0 MaxRecoilUp=-0.1 MinRecoilUp=-0.1 MinRecoilHoriz=-0.1 MaxRecoilHoriz=0.1 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.1 TimeToRecoilReset=0.5 AAMode=0 AAPreferClosestPlayer=false AAAlpha=1.0 AAMaxSpeed=10.0 AADeadZone=0.0 AAFOV=45.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=true VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=true PSRLoopStartIndex=0 PSRViewRecoilTracking=0.5 PSRCapUp=90.0 PSRCapRight=90.0 PSRCapLeft=90.0 PSRTimeToPeak=0.1 PSRResetDegreesPerSec=35.0 PSR0=7.0,0.0 PSR1=5.0,-5.0 PSR2=4.0,5.0 PSR3=8.0,5.0 PSR4=2.0,-5.0 UsePerBulletSpread=false [Weapon Profile] Name=USP-S Type=Hitscan ShotsPerClick=1 DamagePerShot=35.0 KnockbackFactor=1.0 TimeBetweenShots=0.17 Pierces=false Category=SemiAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=12 AmmoPerShot=1 ReloadTimeFromEmpty=2.2 ReloadTimeFromPartial=2.2 DamageFalloffStartDistance=300.0 DamageFalloffStopDistance=1000.0 DamageAtMaxRange=33.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=Gunshot HitParticleEffect=Blood BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=1.0 RecoilNegatable=false DecalType=1 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=400.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=true AimPunchAmount=0.0 AimPunchResetTime=0.05 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=true MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=72.099998 ADSFOVScale=Horizontal (16:9) ADSAllowUserOverrideFOV=true IsBurstWeapon=false ForceFirstPersonInADS=true ZoomBlockedInAir=false ADSCameraOffsetX=0.0 ADSCameraOffsetY=0.0 ADSCameraOffsetZ=0.0 QuickSwitchTime=0.0 Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=1.0,1.0,-1.0,5.0 SpreadSCA=1.0,1.0,-1.0,5.0 SpreadMSA=1.0,1.0,-1.0,5.0 SpreadMCA=1.0,1.0,-1.0,5.0 SpreadSSH=5.0,25.0,0.2,7.0 SpreadSCH=1.0,1.0,-1.0,5.0 SpreadMSH=1.0,25.0,2.0,7.0 SpreadMCH=1.0,1.0,-1.0,5.0 MaxRecoilUp=0.3 MinRecoilUp=0.0 MinRecoilHoriz=-0.2 MaxRecoilHoriz=0.2 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.0001 TimeToRecoilReset=0.075 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.1 AAMaxSpeed=5.0 AADeadZone=0.0 AAFOV=50.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=true VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Map Data] reflex map version 8 global entity type WorldSpawn String32 targetGameOverCamera end UInt8 playersMin 1 UInt8 playersMax 16 brush vertices -592.000000 704.000000 256.000000 -576.000000 704.000000 256.000000 -576.000000 704.000000 -768.000000 -592.000000 704.000000 -768.000000 -592.000000 272.000000 256.000000 -576.000000 272.000000 256.000000 -576.000000 272.000000 -768.000000 -592.000000 272.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -576.000000 720.000000 256.000000 448.000000 720.000000 256.000000 448.000000 720.000000 -768.000000 -576.000000 720.000000 -768.000000 -576.000000 704.000000 256.000000 448.000000 704.000000 256.000000 448.000000 704.000000 -768.000000 -576.000000 704.000000 -768.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -152.000000 704.000000 -280.000000 -72.000000 704.000000 -280.000000 -72.000000 704.000000 -296.000000 -152.000000 704.000000 -296.000000 -152.000000 16.000000 -280.000000 -72.000000 16.000000 -280.000000 -72.000000 16.000000 -296.000000 -152.000000 16.000000 -296.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip brush vertices -160.000000 704.000000 -216.000000 -72.000000 704.000000 -216.000000 -72.000000 704.000000 -232.000000 -160.000000 704.000000 -232.000000 -160.000000 16.000000 -216.000000 -72.000000 16.000000 -216.000000 -72.000000 16.000000 -232.000000 -160.000000 16.000000 -232.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip brush vertices -88.000000 704.000000 -216.000000 -72.000000 704.000000 -216.000000 -72.000000 704.000000 -296.000000 -88.000000 704.000000 -296.000000 -88.000000 16.000000 -216.000000 -72.000000 16.000000 -216.000000 -72.000000 16.000000 -296.000000 -88.000000 16.000000 -296.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip brush vertices -160.000000 704.000000 -216.000000 -128.000000 704.000000 -216.000000 -128.000000 704.000000 -296.000000 -160.000000 704.000000 -296.000000 -160.000000 16.000000 -216.000000 -128.000000 16.000000 -216.000000 -128.000000 16.000000 -296.000000 -160.000000 16.000000 -296.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip brush vertices -152.000000 696.000000 308.000000 484.000000 696.000000 308.000000 484.000000 696.000000 292.000000 -152.000000 696.000000 292.000000 -152.000000 0.000000 308.000000 484.000000 0.000000 308.000000 484.000000 0.000000 292.000000 -152.000000 0.000000 292.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 -160.000000 696.000000 304.000000 -152.000000 696.000000 304.000000 -152.000000 696.000000 -808.000000 -160.000000 696.000000 -808.000000 -160.000000 0.000000 304.000000 -152.000000 0.000000 304.000000 -152.000000 0.000000 -808.000000 -160.000000 0.000000 -808.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 -152.000000 696.000000 -804.000000 484.000000 696.000000 -804.000000 484.000000 696.000000 -820.000000 -152.000000 696.000000 -820.000000 -152.000000 0.000000 -804.000000 484.000000 0.000000 -804.000000 484.000000 0.000000 -820.000000 -152.000000 0.000000 -820.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 484.000000 696.000000 292.000000 500.000000 696.000000 292.000000 500.000000 696.000000 -804.000000 484.000000 696.000000 -804.000000 484.000000 0.000000 292.000000 500.000000 0.000000 292.000000 500.000000 0.000000 -804.000000 484.000000 0.000000 -804.000000 faces -256.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 -256.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 -256.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 -256.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 -256.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 -256.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -144.000000 160.000000 296.000000 488.000000 160.000000 296.000000 488.000000 160.000000 -800.000000 -144.000000 160.000000 -800.000000 -144.000000 144.000000 296.000000 488.000000 144.000000 296.000000 488.000000 144.000000 -800.000000 -144.000000 144.000000 -800.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -144.000000 320.000000 304.000000 488.000000 320.000000 304.000000 488.000000 320.000000 -792.000000 -144.000000 320.000000 -792.000000 -144.000000 304.000000 304.000000 488.000000 304.000000 304.000000 488.000000 304.000000 -792.000000 -144.000000 304.000000 -792.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip brush vertices -156.000000 0.000000 296.000000 488.000000 0.000000 296.000000 488.000000 0.000000 -808.000000 -156.000000 0.000000 -808.000000 -156.000000 -16.000000 296.000000 488.000000 -16.000000 296.000000 488.000000 -16.000000 -808.000000 -156.000000 -16.000000 -808.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 entity type PlayerSpawn Vector3 position 296.000000 0.000000 -584.000000 Vector3 angles -45.000000 0.000000 0.000000 Bool8 teamA 0 entity type CameraPath UInt32 entityIdAttachedTo 5 UInt8 posLerp 2 UInt8 angleLerp 2 entity type Effect Vector3 position 0.000000 456.000000 0.000000 String64 effectName internal/misc/reflectionprobe entity type Target Vector3 position 352.000000 256.000000 224.000000 Vector3 angles -135.000000 30.000000 0.000000 String32 name end entity type PlayerSpawn Vector3 position 296.000000 0.000000 48.000000 Vector3 angles 225.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 368.000000 0.000000 -256.000000 Vector3 angles 270.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position -112.000000 160.000000 -256.000000 Vector3 angles 90.000000 0.000000 0.000000 Bool8 teamB 0 entity type PlayerSpawn Vector3 position 16.000000 0.000000 48.000000 Vector3 angles 225.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 16.000000 0.000000 -560.000000 Vector3 angles -45.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 16.000000 160.000000 -560.000000 Vector3 angles -45.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 296.000000 160.000000 -584.000000 Vector3 angles -45.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 368.000000 160.000000 -256.000000 Vector3 angles 270.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 296.000000 160.000000 48.000000 Vector3 angles 225.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 16.000000 160.000000 48.000000 Vector3 angles 225.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 16.000000 320.000000 -560.000000 Vector3 angles -45.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 296.000000 320.000000 -584.000000 Vector3 angles -45.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 368.000000 320.000000 -256.000000 Vector3 angles 270.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 296.000000 320.000000 48.000000 Vector3 angles 225.000000 0.000000 0.000000 Bool8 teamA 0 entity type PlayerSpawn Vector3 position 16.000000 320.000000 48.000000 Vector3 angles 225.000000 0.000000 0.000000 Bool8 teamA 0
bf217155f1a8528ffe3bb1e018a9baf64c0488ab
449d555969bfd7befe906877abab098c6e63a0e8
/551/CH14/EX14.18/18.sce
750fab60444c0d783f671a15a413cacdaaa5c51a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
342
sce
18.sce
clc te=-10; //0C tc=40; //0C h3=220; //kJ/kg h2=183.1; //kJ/kg h1=74.53; //kJ/kg h_f4=26.85; //kJ/kg m=1; //kg disp("(i) The C.O.P. the cycle =") COP=(h2-h1)/(h3-h2); disp(COP) disp("(ii) Refrigerating capacity =") RC=m*(h2-h1); disp(RC) disp("kJ/min") disp("Compressor power =") CP=m*(h3-h2)/60; disp(CP) disp("kJ/s")
02a06f6a97a25e256738238dc3f36933b35af969
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set8/s_Elements_Of_Mass_Transfer_(part_1)_N._Anantharaman_And_K._M._M._S._Begum_599.zip/Elements_Of_Mass_Transfer_(part_1)_N._Anantharaman_And_K._M._M._S._Begum_599/CH2/EX2.3/example2_3.sce
63f3836ecb678a43631e124708810a535a714a44
[]
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
1,002
sce
example2_3.sce
errcatch(-1,"stop");mode(2); ; ; printf("\t Example 2.3\n"); pa1=(33/760)*1.013*10^5; //vapour pressure of ccl4 at 273 in pascal pa2=0; d=1.59; //density of liquid ccl4 in g/cm^3 //considering o2 to be non diffusing and with T=273; //temperature in kelvin pt=(755/780)*1.013*10^5; //total pressure in pascal z=.171; //thickness of film a=.82*10^-4; //cross-sectional area of cell in m^2 v=.0208; //volume of ccl4 evaporated t=10; //time of evaporation MB=154; //molecular wght of ccl4 rate=v*d/(MB*t); //.0208cc of ccl4 is evaporating in 10hrs Na=rate*10^-3/(3600*a); //flux in kmol/m^2*S D_ab=Na*z*8314*273/(pt*log((pt-pa2)/(pt-pa1))); //molecular diffusivity in m^2/s printf("\n the diffusivity of ccl4 through oxygen:%f *10^-6 m^2/s",D_ab/10^-6); //end exit();
39280664d81e8de150697ecd70919b5aa356f8fa
2e7ac15637155640e3712a844d056c754373fa8b
/TP6/PREM/integration_prem.sce
07301a58cbc78730ac25eef722843a66f5290568
[]
no_license
BenoitURRUTY/math_appli_student
f02c8c6179935f11cd1e6a561ae4a75dee034037
f94d76cba43e27042a4a69b91385a33c92a569a1
refs/heads/master
2020-09-14T16:23:50.490866
2019-12-17T16:15:57
2019-12-17T16:15:57
223,183,360
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,556
sce
integration_prem.sce
/// integration verticale du modele PREM pour calculer masse Terre et duree trajet /// PREM = profils verticaux de rho et Vp (polynomes), selon Dziewonski & Anderson 1981 /// intervalle en prof : 0= centre Terre, 6471km = surface /// IMPORTANT : travailler en unites SI !!!!!!! /// avec dz=10km, m=5.970e24kg, g=9.8105975 /// avec dz= 1km, m=5.972e24kg, g=9.8135578, t=10.1mn clear //// lecture des donnees du modele PREM /// 2 lignes d'entete fd = file('open','PREM_table1.txt','old'); read(fd,1,1,'(A)'); read(fd,1,1,'(A)'); /// n lignes avec intervalle de prof en km, coef polynomes^2 pour rho (g/cm3) et Vp(km/s) prem = read(fd,-1,10); // intervalle prof1-prof2 et coeff polynome^3 de rho & Vp file('close',fd) /// conversion profondeurs en m prem(:,1:2) = prem(:,1:2) *1e3; /// rayon terrestre en m rt = 6371e3; /// tester valeurs de PREM //zz=prem(:,1); //zzr=prem(:,1)/6371; //rho=prem(:,3)+prem(:,4).*zzr+prem(:,5).*zzr.*zzr+prem(:,6).*zzr.*zzr.*zzr; //vp =prem(:,7)+prem(:,8).*zzr+prem(:,9).*zzr.*zzr+prem(:,10).*zzr.*zzr.*zzr; //plot(zz,rho); plot(zz,vp) // initialisation masse m en kg, temps trajet en s m = 0; tt = 0; /// resolution verticale dz en m dz=1e3; /// boucle verticale de dz a 6371km /// compteur ii pour conserver profil de d (et m, g) ii = 0 for zz=dz:dz:rt ii = ii+1; zzr = zz/rt; // zz normalisee dans polynomes rho(ii) = 0; /// masse vol kg/m^3 vp(ii) = 0; /// vp en m/s for nn=1:size(prem,1) // selection polynome selon zz rho(ii) = rho(ii) + (zz>=prem(nn,1) & zz<prem(nn,2))* ... (prem(nn,3) + prem(nn,4)*zzr + ... prem(nn,5)*zzr*zzr + prem(nn,6)*zzr*zzr*zzr); vp(ii) = vp(ii) + (zz>=prem(nn,1) & zz<prem(nn,2))* ... (prem(nn,7) + prem(nn,8)*zzr + ... prem(nn,9)*zzr*zzr + prem(nn,10)*zzr*zzr*zzr); end rho(ii) = rho(ii) * 1e3; // conversion g/cm3 > kg/m3 vp(ii) = vp(ii) * 1e3; // conversion km/s > m/s /// masse correspondant a dz dm = 4* %pi * zz*zz * rho(ii) * dz; m = m + dm; /// temps de parcours correspondant a dz dt = dz/vp(ii); tt = tt + dt; end // sur zz disp(m,'Masse de la Terre en kg : ') disp(tt/60,'Temps de trajet en minutes : ') /// gravite g = G.m/rt^2 avec m en kg et rt en m, G en N.m^2.kg^-2 g = 6.67e-11 * m /rt/rt disp(g,'Gravité g en m/s^2 :') /// plot profil d clf(); plot(zz/1e3-[dz:dz:rt]/1e3,rho/1e3,'-b') plot(zz/1e3-[dz:dz:rt]/1e3,vp/1e3,'-r') xtitle('Profils verticaux de PREM','Profondeur [km]','Masse volumique [g/cm3] et vitesse [km/s]') legend('Masse volumique','Vitesse ondes P',pos=4); ////////////////
db1ddb595b02ef17dad4e8a63eb6a0a095f80e91
449d555969bfd7befe906877abab098c6e63a0e8
/1529/CH15/EX15.15/15_15.sce
bfd38b0016933dbe082a99b0d374fc4321707b78
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,127
sce
15_15.sce
//Chapter 15, Problem 15, Fig 15.13 clc; R=5; //resistance in ohm L=120e-3; //inductance in henry C=100e-6; //capacitance in farad V=300; //supply voltage f=50; //supply frequency Xl=2*%pi*f*L; //inductive reactance Xc=1/(2*%pi*f*C); //capacitive reactance X=Xl-Xc; Z=sqrt(R^2+X^2); //impedance I=V/Z; //current phi=atan(X/R); Zcoil=sqrt(R^2+Xl^2); //impedance of coil Vcoil=I*Zcoil; //voltage across coil phi2=atan(Xl/R); Vc=I*Xc; //voltage across capacitor printf("(a) Current, I = %f A\n\n",I); printf("(b) Phase angle = %f deg (leading)\n\n",phi*(180/%pi)); printf("(c) Phase angle of coil = %f deg (lagging)\n\n",phi2*(180/%pi)); printf("(d) Voltage across capacitor, Vc = %f V\n\n",Vc); printf("The phasor diagram is shown in Fig. 15.14. The supply voltage V is the phasor sum of VCOIL and VC.");
6026da59dbd924f86b2c20ad5ef4679e1a613253
449d555969bfd7befe906877abab098c6e63a0e8
/608/CH6/EX6.16/6_16.sce
6a83421dbf180e5f221ff3443ab352e9c430b3c8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
293
sce
6_16.sce
//Problem 6.16: A 12 μF capacitor is required to store 4 J of energy. Find the pd to which the capacitor must be charged. //initializing the variables: C = 12E-6; // in Farads W = 4; // in Joules //calculation: V = (2*W/C)^0.5 printf("\n\nResult\n\n") printf("\n P.d %.1f V\n",V)
b151570181456ed6b0fc2d9813a3ba026b3e8b94
449d555969bfd7befe906877abab098c6e63a0e8
/2465/CH9/EX9.2/Example_2.sce
b2d50cde9a59ca200a0eaafaa65619c9e402ff83
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Example_2.sce
//Chapter-9,Example 2,Page 219 clc(); close(); R= 500 //resistance of the cell K= 0.0002765 //specific conductivity //cell constant= l/a and R= p(l/a) //sice l= length a= area p= resistivity //(1/p) = K = specific conductivity //(l/a) = R*K C_constant= R*K //cell constant printf('the cell constant is %.3f /cm',C_constant)
233df1f292b384c84ba40197d00d1f40fa507160
449d555969bfd7befe906877abab098c6e63a0e8
/2195/CH11/EX11.3.1/ex_11_3_1.sce
7350684c5dbb25c6d3f70698b968f5c9df98aec4
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
421
sce
ex_11_3_1.sce
//Example 11.3.1 // percentage of the reading and percentage of full scale clc; clear; close; //given data : a=10;//scale reading b=70;// full scale error1=-(0.5/10)*100; disp("step 1") disp(error1,"error of reading in %") error2=-(0.5/100)*100; disp(error2,"error of full scale in %") disp("step 2") error3=(2.5/70)*100; disp(error3,"error of reading in %") error4=(2.5/100)*100; disp(error4,"error of full scale in %")
dd6c2304b11dffbaac9664ee4a3aec5461375d13
449d555969bfd7befe906877abab098c6e63a0e8
/1931/CH13/EX13.5/5.sce
bcae4482a7ce20fc4aa9fa2118f6e4ca4953b801
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
409
sce
5.sce
clc clear //INPUT DATA er=4.94//static dielecric constant of a material n=2.69//n is the index of friction //CALCULATION x=((er-1)*(n+2))/((er+2)*(n-1))-1//Ratio between ionic and electronic polarisability of this material y=1/x//Ratio between electronic and ionic polarisability of this material //OUTPUT printf('Ratio between electronic and ionic polarisability of this material is %3.4f ',y)
4c4feb75d7d0dcafbf330aec9caed3ef49f6cfe1
449d555969bfd7befe906877abab098c6e63a0e8
/1997/CH11/EX11.2/example2.sce
c35e4abd880b6cbad5f827e4cf8708830af54987
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
426
sce
example2.sce
//Chapter-11 example 2 //============================================================================= clc; clear; Vo = 3*10^8;//velocity of EM wave in m/s t = 20*10^-6;//echo time in sec // calculations R = (Vo*t)/2;//distance b/n target and Radar in m // Output mprintf('Distance of Target from the Radar is %g Km',R/1000 ); //==========end of program=====================================================
975286c540dc0dcebda47b2d5d6e789fb753d0aa
449d555969bfd7befe906877abab098c6e63a0e8
/3554/CH4/EX4.8/Ex4_8.sce
8fdcb708a4133ac1526c3e03979769bb0dcdf0a6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,615
sce
Ex4_8.sce
// Exa 4.8 clc; clear all; // Given data Ra= 45; // in k Ohms Rb=5; // in k Ohms V=50; // Supplied Voltage(V) S=20; // sensitivity in k Ohms/V // Solution VRb=Rb/(Ra+Rb) * V; printf('The voltage drop across Rb without the voltmeter connected is = %d V\n',VRb); // On the 5V range Range1 = 5; // Volts Rm1=S*Range1;// k Ohms Req1=Rm1*Rb/(Rm1+Rb); // k Ohms VRb1=Req1/(Req1+Ra) *V; // Voltage across Rb on 5V range printf(' The voltmeter reading on 5V range is = %.3f V\n',VRb1); Err1=(VRb-VRb1)/VRb * 100; printf(' Percentage error on 5V range in percentage = %.2f \n',Err1); // On 10V range Range2 = 10; // Volts Rm2=S*Range2;// k Ohms Req2=Rm2*Rb/(Rm2+Rb); // k Ohms VRb2=Req2/(Req2+Ra) *V; // Voltage across Rb on 10V range printf(' The voltmeter reading on 10V range is = %.3f V\n',VRb2); Err2=(VRb-VRb2)/VRb * 100; printf(' Percentage error on 10V range in percentage = %.3f \n',Err2); // On 30V range Range3 = 30; // Volts Rm3=S*Range3;// k Ohms Req3=Rm3*Rb/(Rm3+Rb); // k Ohms VRb3=Req3/(Req3+Ra) *V; // Voltage across Rb on 30V range printf(' The voltmeter reading on 30V range is = %.3f V \n',VRb3); Err3=(VRb-VRb3)/VRb * 100; printf(' Percentage error on 30V range in percentage = %.1f \n',round(Err3)); disp(" In this example, the 30V range introduces the least error due to loading. However, the voltage being measured causes only a 10% full scale deflection, whereas on the 10V range the applied voltage causes approximately a one third of the fullscale deflection with less than 3% error."); //The answers vary due to round off error