blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
21 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
141k
586M
star_events_count
int64
0
30.4k
fork_events_count
int64
0
9.67k
gha_license_id
stringclasses
8 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
50 values
src_encoding
stringclasses
23 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
29 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
a17f4075f638565b222b78b8d6d45fb05c368072
6e257f133dd8984b578f3c9fd3f269eabc0750be
/ScilabFromTheoryToPractice/Programming/testwhere.sce
66095df3328a53854e3f605c624710c03b5ab3d6
[]
no_license
markusmorawitz77/Scilab
902ef1b9f356dd38ea2dbadc892fe50d32b44bd0
7c98963a7d80915f66a3231a2235010e879049aa
refs/heads/master
2021-01-19T23:53:52.068010
2017-04-22T12:39:21
2017-04-22T12:39:21
89,051,705
0
0
null
null
null
null
UTF-8
Scilab
false
false
196
sce
testwhere.sce
function y=foo1(x) y=foo2(x) endfunction function y=foo2(x) y=1+x^2 [line,fonc]=where() txt='function <'+fonc+'> at line '+string(line) disp(txt) endfunction foo1(2) foo2(2)
42cd0d902775c92ad3008d6ca899ec18d4497de9
449d555969bfd7befe906877abab098c6e63a0e8
/122/CH7/EX7.i.1/ils7_1.sce
e522a255c731564b9b24cf90b06861c975fe00fb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
645
sce
ils7_1.sce
// Illustration 7-1 // Bode plot of second order systems with varying damping (zeta) // With refernce to section 7.2 (Figure 7.9) clear; clc; xdel(winsid()); //close all windows s = %s; // Taking wn = 1 in all cases zeta = [0.1 0.2 0.3 0.5 0.7 1.0]; N = ones(6,1); D = zeros(6,1); for i = 1:6 D(i) = s^2 + 2*zeta(i)*s + 1; end H = syslin('c',N,D); omega = logspace(-1,1,100); f = omega / 2 / %pi; repf = repfreq(H,f); // Frequency response bode(omega,repf, ['zeta = 0.1',' 0.2',' 0.3',' 0.5',' 0.7',' 1.0']); xtitle('Bode plot of second order systems','rad/s'); a = gcf();set(a.children(1).x_label,'text','rad/s');
766e20097c22ac1dbffc5b0648e30b854b772063
449d555969bfd7befe906877abab098c6e63a0e8
/542/CH15/EX15.1/Example_15_1.sci
1ccf89652afc298bae3e3d2927d5ba0e19690a31
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
648
sci
Example_15_1.sci
clear; clc; printf("\n Example 15.1"); printf("\n For concentrations in kg sucrose/kg water:"); c = 2.45; //concentration is in kg/kg printf("\n c = %.2f kg/kg",c); c1= 2.04; //concentration is in kg/kg printf("\n c1 = %.2f kg/kg",c1); S = c/c1; printf("\n S = %.2f",S); printf("\n\n For concentrations in kg sucrose/kg water:") co = c/(c+1); //concentration is in kg/kg solution printf("\n co = %.3f kg/kg solution",co); co1 = c1/(c1 + 1); //concentration is in kg/kg solution printf("\n co1 = %.3f kg/kg solution",co1); S = co/co1; printf("\n S = %.2f ",S);
becc2bf8fb8221f8d3c74403db6770b9ce2e927b
449d555969bfd7befe906877abab098c6e63a0e8
/1445/CH7/EX7.13/ch7_ex_13.sce
c217cb56d8f285d22c388ce8af507df4691aa70a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
650
sce
ch7_ex_13.sce
//CHAPTER 7- SINGLE PHASE TRANSFORMER //Example 13 disp("CHAPTER 7"); disp("EXAMPLE 13"); //VARIABLE INITIALIZATION v1=230; //primary voltage in Volts v2=115; f=50; //Hz Io=2; //in Amp no load current pf0 =0.28; //lagging I2=20; // pf2=0.8; //lagging //SOLUTION // phi0=acos(pf0); phi2=acos(pf2); I_dash_2=I2*v2/v1; Ix=Io*sin(phi0)+I_dash_2*sin(phi2); Iy=Io*cos(phi0)+I_dash_2*cos(phi2); I1=sqrt(Ix^2+Iy^2); disp(sprintf("The current taken by primary is %f Amp",I1)); disp(" "); // //END
c6fb6ddc1b4ac4a801ce58918445949eb85f6b85
449d555969bfd7befe906877abab098c6e63a0e8
/1553/CH2/EX2.22/2Ex22.sce
48406b22669912f4a8059f431441fb4b69e696bf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
2Ex22.sce
//chapter 9 Ex 13 clc; clear; close; a=17/18; b=31/36; c=43/45; d=59/60; v=[a b c d]; v=gsort(v,'lc','i'); mprintf("%.3f > %.3f >%.3f >%.3f ",v(4),v(3),v(2),v(1));
0025fb3105807b04c8916ce2431441fb52f7e9ac
e3dfca04d0c4fc832f8b6eefd2cd0b39a4cca786
/lpr/.svn/text-base/lpr.sci.svn-base
06140a723a901332756485244f13b349fa7e0b2a
[]
no_license
jdmichaud/project-repositories
e703bc2b72bead92d9b37d41c58322345e7f1eb6
f91bbdc18025367121df84c584235ec7dd30b41e
refs/heads/master
2021-08-06T08:35:20.286855
2017-11-04T08:31:50
2017-11-04T08:31:50
109,479,319
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,484
lpr.sci.svn-base
function C = apply_threshold(M, t) s=size(M) C=M for i = 1:s(1) for j = 1:s(2) if M(i, j) > t then C(i, j) = 1 else C(i, j) = 0 end end end endfunction function N = normalize_image(M) s=size(M) tmp=M N=M nmin=min(M) printf('nmin: %i\n', nmin) for i = 1:s(1) for j = 1:s(2) tmp(i, j) = (M(i, j) - nmin) end end nmax=max(tmp) printf('nmax: %i\n', nmax) for i = 1:s(1) for j = 1:s(2) N(i, j) = (tmp(i, j) / (nmax/255)) end end endfunction function p = project(M, axis) //axis = 'x' or 'y' if axis == 'y' then Mp = M else Mp = M' end s=size(Mp) p=zeros(1, s(1)) for i = 1:s(1) for j = 1:s(2) p(i) = p(i) + Mp(i, j) end end endfunction function [p, band_list] = compute_bands(im) exec('conv2.sci') gray_im=rgb2gray(im); // apply vertical rank filter m_vr = [1/9; 1/9; 1/9; 1/9; 1/9; 1/9; 1/9; 1/9; 1/9] gray_im_vr = conv2(gray_im, m_vr, 1) // apply vertical edges detector m_ve = [-1, 0, 1; -1, 0, 1; -1, 0, 1] gray_im_ve = conv2(gray_im_vr, m_ve, 1) // normalize all this gray_im_ve_n = normalize_image(gray_im_ve) gray_im_ve = gray_im_ve_n // apply threashold to keep biggest edges gray_im_ve_threshold = apply_threshold(gray_im_ve, 130) imshow(mat2gray(gray_im_ve_threshold)) p = project(gray_im_ve_threshold, 'y') //smooth projection with a rank filter m_rf = [ 1/9, 1/9, 1/9, 1/9, 1/9, 1/9, 1/9, 1/9, 1/9 ] p_smoothed = conv2(p, m_rf, 1) peaks = get_peaks(p_smoothed) // now get the bands using the peaks (ymin = p(peaks) * 0.55 with ymin < peaks) band_list=get_bands(p_smoothed, peaks) p = p_smoothed endfunction function peaks = get_peaks(p) peaks = list() s=size(p) window=(s(2)/10)/2 printf('window: %i\n', window) deriv_previous = p(2*window) - p(1) for i = window+1:(s(2) - window) deriv = p(i+window) - p(i-window) if deriv < 0 & deriv_previous > 0 then peaks($+1) = i end deriv_previous = deriv end endfunction function bands = get_bands(p, peaks) s=size(peaks) p_size=size(p) bands = list() for e=peaks peak_bound = p(e) * 0.55 // 0.55 as described in anpr martinsky for i = e:-1:1 if p(i) < peak_bound then yb0 = i break end end for i = e:p_size(2) if p(i) < peak_bound then yb1 = i break end end bands($+1) = [yb0, yb1] end endfunction
e7b47c6297ec1f14e077cf2ca9d782b2a7fdfa6b
449d555969bfd7befe906877abab098c6e63a0e8
/2777/CH3/EX3.23/Ex3_23.sce
28ed6db3cacf5bc417c95603bf2d1c51fb1869f9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
3,900
sce
Ex3_23.sce
// ELECTRICAL MACHINES // R.K.Srivastava // First Impression 2011 // CENGAGE LEARNING INDIA PVT. LTD // CHAPTER : 3 : TRANSFORMERS // EXAMPLE : 3.23 clear ; clc ; close ; // Clear the work space and console // GIVEN DATA S = 100; // Rating of the 3-Phase Transformer in kVA VH = 11; // HV side voltage in kilo-Volts VL = 440; // LV side voltage in Volts Vl = 400; // Line voltage in Volts ZA = 0.6; // Line impedance in line A in Ohms ZB = 0.6*(0.8 + 0.6 * %i); // Line impedance in line B in Ohms ZC = 0.6*(0.5 - 0.866 * %i); // Line impedance in line C in Ohms // CALCULATIONS Vp = Vl/sqrt(3); // Phase voltage in Volts VAB = Vl * exp( %i * 0 * %pi/180); // Line Voltage across line A and B in Volts VBC = Vl * exp( %i * (-120) * %pi/180); // Line Voltage across line B and C in Volts VCA = Vl * exp( %i * 120 * %pi/180); // Line Voltage across line C and A in Volts VAN = (Vl/sqrt(3)) * exp( %i * (-30) * %pi/180); // Phase Voltage across line A and Neutral in Volts VBN = (Vl/sqrt(3)) * exp( %i * (-150) * %pi/180); // Phase Voltage across line B and Neutral in Volts VCN = (Vl/sqrt(3)) * exp( %i * (90) * %pi/180); // Phase Voltage across line C and Neutral in Volts IA = VAN/ZA; // Line current in line A in Amphere IB = VBN/ZB; // Line current in line B in Amphere IC = VCN/ZC; // Line current in line C in Amphere IN = IA + IB + IC ; // Current in the Neutral in Amphere Y = (1/ZA)+(1/ZB)+(1/ZC); // Net Admittance in mho VN = IN/Y; // Neutral Potential in Volts VDA = VAN - VN; // Voltage drops across the ZA in Volts VDB = VBN - VN; // Voltage drops across the ZB in Volts VDC = VCN - VN; // Voltage drops across the ZC in Volts // DISPLAY RESULTS disp("EXAMPLE : 3.23 : SOLUTION :-") ; printf("\n (a.1) Line current in line A , IA = %.f<%.f A \n ",abs(IA),atand(imag(IA),real(IA))); printf("\n (a.2) Line current in line B , IB = %.f<%.2f A \n",abs(IB),atand(imag(IB),real(IB))); printf("\n (a.3) Line current in line C , IC = %.f<%.f A \n ",abs(IC),atand(imag(IC),real(IC))); printf("\n (b.1) Phase Voltage across line A and Neutral , VAN = %.f<%.f V \n",abs(VAN),atand(imag(VAN),real(VAN))); printf("\n (b.2) Phase Voltage across line B and Neutral , VBN = %.f<%.f V \n ",abs(VBN),atand(imag(VBN),real(VBN))); printf("\n (b.3) Phase Voltage across line C and Neutral , VCN = %.f<%.f V \n",abs(VCN),atand(imag(VCN),real(VCN))); printf("\n (c) Neutral Potential , VN = %.1f<%.2f V \n ",abs(VN),atand(imag(VN),real(VN))); printf("\n\n [ TEXT BOOK SOLUTION IS PRINTED WRONGLY ( I verified by manual calculation )]\n" ); printf("\n WRONGLY PRINTED ANSWERS ARE :- (a) IC = 385<-90.1 V instead of %.f<%.f A \n ",abs(IC),atand(imag(IC),real(IC))); printf("\n (b) VN = 230.5<78.17 V instead of %.1f<%.2f V \n ",abs(VN),atand(imag(VN),real(VN)) ); printf("\n From Calculation of the IC, rest all the Calculated values in the TEXT BOOK is WRONG because of the IC value is WRONGLY calculated and the same used for the further Calculation part \n")
71ebd77e8aee3b239df1b640d44f7c4ce48f5d80
f23e565144f1b0f63c7b613c0f549944d425a073
/Cours/TP_INFO/TP_noteD3/TD4-iglesiasanaelle-cyrilevincent.sce
7d1f92c61719243832f48b645bbc5ab5a076d810
[]
no_license
Antoine-Gerard/Valar-Morghulis
c45766f03898241bd9c424256744b5ffa16dd82c
796363bfbc6f2e3249c90f1762e041ff5a4e705a
refs/heads/master
2021-08-31T06:06:55.296982
2017-12-20T13:54:33
2017-12-20T13:54:33
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,193
sce
TD4-iglesiasanaelle-cyrilevincent.sce
//Iglesias Anaelle //Cyrile Vincent //Exercice 1// clear //VO v0= zeros(1:50) //V1 v1 =10*ones (1, 50) //V2 v2= 0:0.3:10 //V5 v5= linspace(-3,7,50) //V6 v6= (2).^(1:25) //Exercice B// function r = f(x) r = (1 + x) .* sin(%pi.* x); endfunction x=linspace(-2,2,100) y= f(x) fenetre = figure("Figure_name", "Equations", "position", [100 50 1000 600]); fenetre.background = color("aliceblue"); set("current_figure", fenetre); plot2d(x, y, style=[color("forestgreen")]); function p=P1(x) p= %pi.*x endfunction plot2d(x, P1(x), style=[color("blue")]); function m=P2(x) m=%pi.*x + %pi*x.^2 endfunction plot2d(x, P2(x), style=[color("red")]); //Exercice C// fenetre2 = figure("Figure_name", "Equations", "position", [100 50 1000 600]); fenetre2.background = color("aliceblue"); set("current_figure", fenetre2); function b=G(t,y) b= (y./t)+t.*log(t) endfunction u=1 a=1 t=linspace(1,4,100) y=ode("rk",u,a,t,G) subplot(2,2,1); plot2d(t',y', style = [color("black")]); u=-2 a=1 t=linspace(1,4,100) y=ode("rk",u,a,t,G) subplot(2,2,1); plot2d(t',y', style = [color("pink")]); u=2 a=1 t=linspace(1,4,100) y=ode("rk",u,a,t,G) subplot(2,2,1); plot2d(t',y', style = [color("green")]);
c67acc30f8c0285cc73f61136dfddd1efb8e42b0
449d555969bfd7befe906877abab098c6e63a0e8
/3116/CH5/EX5.4/Ex5_4.sce
49441ec5cc6d54ec83e45fd61a88876a72ebd971
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
516
sce
Ex5_4.sce
clc // given that Na=6.023*10^23 //Avogadro No. rho=1.955 //Density of KCl in g/cm^3 A_k= 39.10 //Atomic weight of potassium in g/mol A_cl= 35.45 //Atomic weight of Chlorine in g/mol Qs=2.6 //Activation energy in eV k=8.62*10^-5 //Boltzmann Constant in eV/K T=500+273 //Temperature in K printf("Example 5.4\n") A = A_k+A_cl // Molar mass of KCl in gram N=Na*rho*1e6/A //No. of atomic site per cubic meter Ns=N*exp(-Qs/(2*k*T)) printf("\n Number of Schottky defects are %.2e defects/m^3.",Ns)
40afc249670328b1351668fc766997ed65e24766
449d555969bfd7befe906877abab098c6e63a0e8
/2372/CH2/EX2.7/ex7.sce
40cba3f0edc90adf0b89a0985a95393eb603edc8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,428
sce
ex7.sce
clc; clear; z=complex(2,4);//line impedance zy=complex(30,40);//impedance per phase of Y connected load zdel=complex(60,-45);//impedance of delta connected load vl=207.85;//line voltage z2=zdel/3;//impedance per phase of equivalent Y network v1=vl/sqrt(3);//phase voltage mprintf("phase voltage,v1=%d V\n",v1); zt=z+(zy*z2/(zy+z2));//total impedance mprintf("total impedance,z=%d ohms\n",zt); i=v1/abs(zt);//current in phase a s=3*v1*i';//3 phase power supplied mprintf("three phase power supplied,s=%d W\n",s); v2=v1-(z*i);//load terminal voltage v2ab=complex(sqrt(3)*cos(%pi/6),sqrt(3)*sin(%pi/6))*v2;//line voltage at load terminal mprintf("line voltage at load terminal,v2ab=%5.2f angle %3.1f V\n",abs(v2ab),atan(imag(v2ab),real(v2ab))*180/%pi); i1=v2/zy;//current per phase in Y connected load i2=v2/z2;//current per phase in equivalent Y of the delta load iab=i2/complex(sqrt(3)*cos(-%pi/6),sqrt(3)*sin(-%pi/6));//phase current in original delta connected load mprintf("phase current in original delta connection,iab= %4.3f angle %4.2f A\n",abs(iab),atan(imag(iab),real(iab))*180/%pi); s1=3*v2*i1'; s2=3*v2*i2'; sl=3*z*abs(i)*abs(i); stotal=s1+s2+sl; mprintf("total power absorbed by loads plus power consumed at line losses,stotal=%d W + %dvar\n",real(stotal),imag(stotal)); mprintf("it is clear that the sum of load powers and line losses is equal to the power delivered from the supply.\n");
0edfb9c71c682876c9bffdfcfeffd23b241d9002
449d555969bfd7befe906877abab098c6e63a0e8
/132/CH4/EX4.4/Example4_4.sce
f10c223beb7e06aca3a4fc411605281364839b79
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
323
sce
Example4_4.sce
//Example 4.4 //Program to determine Maximum Current the Given Zener Diode can handle clear; clc ; close ; //Given Circuit Data Vz=9.1; //Volts P=364*10^(-3); //Watts //Calculation Iz=P/Vz; //Displaying The Results in Command Window printf("\n\t The Maximum permissible Current is Iz(max) = %f mA .",Iz/10^(-3));
ddc7780b851fa4869e8c70bed9733c7b541f3e8e
7b5fc14eb97ac069fb310c30488cf43459cd667b
/LA_Assignment_3.sce
13255658e764b8d5896518d4445348334f85dba6
[]
no_license
Araz1103/Linear-Algebra-Assignments
97406f1e10ed80570c0bb6d404c8fbd59b769ac3
84644aec95bc7e430bcc01f6075d60b23e2e4a65
refs/heads/master
2020-12-31T10:07:47.386678
2020-04-10T12:01:32
2020-04-10T12:01:32
238,992,825
0
0
null
null
null
null
UTF-8
Scilab
false
false
555
sce
LA_Assignment_3.sce
disp("Enter the matrix Z: ") Z = [input("Value is: "), input("Value is: "); input("Value is: "), input("Value is: "); input("Value is: "), input("Value is: ")]; disp("The matrix is: ") disp(Z) disp("Enter the matrix b: ") b = [input("Enter Value: "); input("Enter Value: "); input("Enter Value: ")]; disp("The matrix is: ") disp(b) function leastSquares(Z,b) x = (Z'*Z)\(Z'*b); disp(x, 'x = '); C = x(1,1); D = x(2,1); disp(C, 'C ='); disp(D, 'D ='); disp('The line for best fit is b = C + Dt'); endfunction
0dcb50c6f211c7f66536976aefb9331e78a5f573
7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2
/Scilab/virtual/mpc/mpc_init.sce
d1587e4a897c64ea629a17996fab788cf1837be4
[]
no_license
advait23/sbhs-manual
e2c380051117e3a36398bb5ad046781f7b379cb9
d65043acd98334c44a0f0dbf480473c4c4451834
refs/heads/master
2021-01-16T19:50:40.218314
2012-11-16T04:11:12
2012-11-16T04:11:12
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
826
sce
mpc_init.sce
// For scilab 5.1.1 or lower version users, //use scicos command to open scicos diagrams instead of xcos global fdfh fdt fncr fncw m err_count y p q xk_old p = 40; //prediction horizon q = 4; // control horizon xk_old = zeros(8,1); fncr = 'scilabread.sce'; fdt = mopen(fncr); mseek(0); err_count = 0; //initialising error count for network error m =1; exec ("mpc.sci"); exec("mpc_run.sci"); fdfh = mopen('scilabwrite.sce'); mseek(0); b = mgetl(fdfh,1); a = mgetl(fdt,1); mclose(fdfh); A = [0.1,0,100,m]; fdfh = file('open','scilabwrite.sce','unknown'); write(fdfh,A,'(7(e11.5,1x))'); file('close', fdfh); sleep(2000); a = mgetl(fdt,1); mseek(0); if a~= [] //open xcos only if communication is through xcos('mpc.xcos'); else disp("NO NETWORK CONNECTION!"); return end
49d6fe97f8ec0c4fdee85279adc9a8b4e6717f8b
449d555969bfd7befe906877abab098c6e63a0e8
/1955/CH3/EX3.11/example11.sce
caa32234332f9cd3330cfa22c0532ff877ec6f87
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,344
sce
example11.sce
clc clear //input data b22=30//The blade air angle at the tip in degrees D2=0.466//The impeller diameter in m Q=3.82//The discharge of the air by fan in m^3/s m=4.29//Mass flow rate of the air by the fan in kg/s H=0.063//Pressure developed by a fan in m W.G pi2=0.25//Flow coefficient at impeller exit W=3//Power supplied to the impeller in kW r=1.4//The ratio of specific heats of air R=287//The universal gas constant in J/kg.K Cp=1005//The specific heat of air at constant pressure in J/kg.K g=9.81//Acceleration due to gravity in m/s^2 dw=10^3//Density of water in kg/m^3 //calculations IW=Q*dw*g*H*(10^-3)//Ideal work done in kW nf=IW/W//Fan efficiency U2=(((W*10^3)/m)/(1-(pi2/tand(b22))))^(1/2)//The impeller tip speed in m/s Cr2=pi2*U2//The radial velocity at exit in m/s Cx2=U2-(Cr2/tand(b22))//Outlet absolute velocity of air in tangential direction in m/s sp=2*Cx2/U2//Presuure coefficient of the fan R=1-(Cx2/(2*U2))//Degree of reaction of the fan N=(U2*60)/(3.141592*D2)//Rotational speed of the fan in rpm b2=Q/(3.14*D2*Cr2)//Impeller width at the exit in m //output printf('(a)The fan efficiency is %3.3f\n(b)The pressure coefficient is %3.3f\n(c)The degree of reaction of the fan is %3.3f\n(d)The rotational speed of the fan is %3.1f rpm\n(e)The impeller width at exit is %3.3f m',nf,sp,R,N,b2)
3c71faa7c4c225dec4d3da0b6d133ba15c9c47c3
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.2/Unix/scilab-2.2/macros/util/g_inv.sci
750b06fb5c53cdf1ed661f7f50e38ce97f5d0175
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
1,900
sci
g_inv.sci
function x=g_inv(a) // only to be called by function inv //! typ=type(a) //-compat next row added for list/tlist compatibility if typ==15 then typ=16,end select typ case 2 then x=invr(a);return case 5 then //sparse matrix [ma,na]=size(a) if ma<>na then error(20,1),end [hand,rk]=lufact(a) if rk<na then ludel(hand);error(19),end x=[] for k=1:ma b=0*ones(ma,1);b(k)=1; x=[x,sparse(lusolve(hand,b))] end ludel(hand); return case 16 then if a(1)=='r' then x=invr(a);return end if a(1)='lss' then d=a(5); [m,n]=size(d); polyn=(type(d)==2);constant=(type(d)==1); if constant&(m==n) then minsv=mini(svd(d));rcd=rcond(d);s=poly(0,'s'); end if constant&(m<>n) then minsv=mini(svd(d));s=poly(0,'s'); end if polyn then rcd=0;minsv=0;s=poly(0,varn(d));end if m==n then if rcd > 1.d-6 then x=invsyslin(a) else h=systmat(a); rand('normal'); valfa=rand(1,10)/100; www=[];for k=1:10 www=[www,rcond(horner(h,valfa(k)))];end [w,k1]=maxi(www);alfa=valfa(k1); rand('uniform'); x=invrs(a,alfa); end return end if m<n then warning('non square system! --> right inverse') if minsv > 1.d-6 then x=invsyslin(a) else [stmp,ws]=rowregul(a,0,0); if mini(svd(stmp(5))) > 1.d-6 then x=invsyslin(stmp)*ws else error(19) end end return end if m>n then warning('non square system! --> left inverse') if minsv > 1.d-6 then x=invsyslin(a) else [stmp,ws]=rowregul(a,0,0); if mini(svd(stmp(5))) > 1.d-6 then x=invsyslin(stmp)*ws else error(19) end end return end end end
1e6af8d051bff2011cd27315b58e85b0620caf4e
449d555969bfd7befe906877abab098c6e63a0e8
/22/CH3/EX3.17/ch3ex17.sce
bf7514019091b319194c78e9786877a140c0673d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
388
sce
ch3ex17.sce
//signals and systems //time domain analysis of discreet time systems //convolution by sliding tape method clear; close; clc; n=(0:10)'; y=[4;13;zeros(length(n)-2,1)]; x=(3*n+5).*(n>=0); for k=1:length(n)-2 y(k+2)=5*y(k+1)-6*y(k)+x(k+1)-5*x(k); end clf; plot2d3(n,y); xlabel('n'); ylabel('y[n]'); disp('n y'); disp(msprintf('%f\t\t%f\n',[n,y]));
656b6af1c66854296a7bb86526092fd3d8db57f7
449d555969bfd7befe906877abab098c6e63a0e8
/3768/CH8/EX8.6/Ex8_6.sce
eca43b8ab198d4ed1b62ac40e7ff00cc1738b4ab
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
435
sce
Ex8_6.sce
//Example number 8.6, Page number 172 clc;clear; close; //Variable declaration I=3000; //magnetisation(amp/m) mew0=4*%pi*10**-7; B=0.005; //flux density(weber/m**2) //Calculation H=(B/mew0)-I; //magnetizing force(amp/m) mewr=(I/H)+1; //relative permeability //Result printf("magnetizing force is %.3f Amp/m",H) printf("\n relative permeability is %.3f",mewr) //answer in the book varies due to rounding off errors
624b75f926db87fa0b8e33511b59332c341aedf6
449d555969bfd7befe906877abab098c6e63a0e8
/770/CH17/EX17.3/17_3.sce
8150f03f4bbc108ad5c476317a0255073b1f6322
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,353
sce
17_3.sce
clear; clc; //Example - 17.3 //Page number - 599 printf("Example - 17.3 and Page number - 599\n\n"); // Given T = 600;//[K] - Reactor temperature P = 300;//[atm] - Reactor pressure K = 0.91*10^(-4);// Equilibrium constant // The fugacity coefficients of the components are phi_CO = 1.0; phi_H2 = 1.2; phi_CH3OH = 0.47; // CO + 2*H2 - CH3OH // For gas phase reactions the standard state is pure ideal gas and thus fi_0 = 1 atm and thus // ai_cap = fi_cap/fi_0 = yi*P*phi_i_cap/1 // Thus K = Ky*Kp*K_phi Kp = P^(1-3); K_phi = phi_CH3OH/(phi_CO*phi_H2^(2)); Ky = K/(Kp*K_phi); // Let the reaction coordinate at equilibrium for the reaction be X // At equilibrium ,the moles of the components be // n_CO = 1 - X // n_H2 = 3 - 2*X // n_CH3OH = X // Total moles = 4 - 2*X // The mole fractions of the components at equilibrium are // y_CO = (1-X)/(4-2*X) // y_H2 = (3-2*X)/(4-2*X) // y_CH3OH = (X)/(4-2*X) // Ky = y_CH3OH/(y_CO*y_H2^(2)) = (X/(4-2*X))/(((1-X)/(4-2*X))*((3-2*X)/(4-2*X))^(2)) deff('[y]=f(X)','y=Ky-(X/(4-2*X))/(((1-X)/(4-2*X))*((3-2*X)/(4-2*X))^(2))'); X = fsolve(0.1,f); // Therefore at equilibrium y_CO = (1-X)/(4-2*X); y_H2 = (3-2*X)/(4-2*X); y_CH3OH = (X)/(4-2*X); printf(" The mole fractions at equilibrium are y_CO = %f, y_H2 = %f and y_CH3OH = %f",y_CO,y_H2,y_CH3OH);
8ce5ad376afc3f70b34d91221d4165b73eaa5224
62e6605ab494919b6833bf1a1b158bcb6f9b79df
/test.sce
c0f812cac4df253661fb89b04083fb307091963d
[]
no_license
mani1250/system-identification
c597c26d10bb5dd62b1b4db650b3945afc336e37
5db0536c792dfaa4a8f01561315263503ff34d3d
refs/heads/master
2021-01-12T06:56:00.703593
2017-03-07T12:18:15
2017-03-07T12:18:15
76,865,655
0
0
null
null
null
null
UTF-8
Scilab
false
false
513
sce
test.sce
function test(A) if(size(A,'*')>1) printf("A(q^{-1}) = ") for(i=1:size(A,'*')) if(i-1==0) disp(A(i)) else if(A(i)>0) printf("+") else printf("-") end if(A(i)~=1) disp(abs(A(i))) temp = 'q^{'+string(-(i-1))+'}' disp(temp) end end end end endfunction
2d2196f840d3abc4fad2128ec50918fce6f8af9c
7b7be9b58f50415293def4aa99ef5795e6394954
/sim/cmd/test/liqliq.tst
906cf8b7ce9888a53eaf84530c3da3b5d996b3d0
[]
no_license
sabualkaz/sim42
80d1174e4bc6ae14122f70c65e259a9a2472ad47
27b5afe75723c4e5414904710fa6425d5f27e13c
refs/heads/master
2022-07-30T06:23:20.119353
2020-05-23T16:30:01
2020-05-23T16:30:01
265,842,394
0
0
null
2020-05-21T12:26:00
2020-05-21T12:26:00
null
UTF-8
Scilab
false
false
523
tst
liqliq.tst
$thermo = VirtualMaterials.Peng-Robinson / -> $thermo thermo + n-HEPTANE BENZENE # Components with names in them can be entered by using underscores instead thermo + TRIETHYLENE_GLYCOL thermo units SI lle = LiqLiqExt.LiqLiqEx() lle cd lle.Feed Fraction = .5 .5 0. T = 0 P = 101.325 MoleFlow = 10 cd /lle.Solvent Fraction = 0 0 1 T = 0 P = 101.325 MoleFlow = 10 . cd /lle Extract Raffinate Feed Solvent cd / #Test copy and paste copy /lle paste / /lleClone.Extract /lleClone.Raffinate
c70aba342ebf7695714fba92f33a4c185e7627c9
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/levinson/levinson8.sce
2760b9814820d2ec218efff9723ddb46efd9252c
[]
no_license
deecube/fosseetesting
ce66f691121021fa2f3474497397cded9d57658c
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
refs/heads/master
2021-01-20T11:34:43.535019
2016-09-27T05:12:48
2016-09-27T05:12:48
59,456,386
0
0
null
null
null
null
UTF-8
Scilab
false
false
117
sce
levinson8.sce
//i/p arg r is imaginary r=[1 34*%i 4]; [a,e,k]=levinson(r,2); disp(a); //output // 1. - 0.1471861i 1.004329
3d8e59bde977fd95b742130340fd5a77772f28de
449d555969bfd7befe906877abab098c6e63a0e8
/3513/CH9/EX9.2/Ex9_2.sce
3f9355d79410626ad6b3177f26cb611d9cdd4ba9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
263
sce
Ex9_2.sce
//Calculate the reliability of the configuration //page no 218 clear clc; RA = 0.7; RB = 0.7; RC = 0.9; RD = 0.8; RE = 0.9; RAB = 1-((1-RA)*(1-RB)); RABC=RAB*RC; RABCD = 1-((1-RABC)*(1-RD)); RABCDE = RABCD*RE; mprintf("\RABCDE = %.4f \n",RABCDE);
01d9c188569496220aac6967c770f256f190d0c2
06a62d768e69fd9dda11b30011c252807e301813
/lab/pgm6.sci
f687aca3f4325f18832382948140e3ebef0306ab
[]
no_license
vikram-niit/matlab
36ce3d9539629128251eab060164ce81c03aa690
da8aeb4d727c47474d37676650664bd028d7e41d
refs/heads/master
2020-03-18T13:40:37.068765
2018-05-25T03:51:55
2018-05-25T03:51:55
134,800,217
0
0
null
null
null
null
UTF-8
Scilab
false
false
452
sci
pgm6.sci
function [p] = pgm6(x, fx0) numberOfColumns = size(fx0,1); p = fx0(1); h = 0.25; s = (0.43 - 0)/h; sum = 0; for k = 2:numberOfColumns sFactorial = prod(1:s); kFactorial = prod(1:k); sMinusKFactorial = prod(s-k); factorial = 1; for i = 1:k factorial = factorial * (s - (i - 1)); end sum = sum + factorial * fx0(k); // sum = sum + (sFactorial)/(kFactorial* sMinusKFactorial)*fx0(k) p = fx0(1) + sum; end end
9d3d336c3d022ec1e0aa40432d64333ad6ee47ff
29eac2b93fdc58a7d3e9aa5c1eec718e489a554f
/PLEIN_BLEU/ref.tst
7195cb285a7f4aa06908717b58f2f983a68f27b6
[]
no_license
DanBerrebbi/transformer_fusee
1594957f9bbfe769d042a4034e28ea03533f47a4
32c63bfa54f023d6ca1e79c653d946f963932c16
refs/heads/main
2023-04-11T23:14:53.712690
2021-04-30T11:30:06
2021-04-30T11:30:06
363,114,395
0
0
null
null
null
null
UTF-8
Scilab
false
false
20,406
tst
ref.tst
C'est pourquoi la Commission ne peut accepter, et rejette, les amendements 12 et 13 du rapport de M. Fava. Résolution sur le Kosovo Oui également. Si seulement c'était vrai ! . - Monsieur le Président, je voudrais présenter un amendement oral afin d’insérer un nouveau paragraphe 5 bis. L'ordre du jour appelle l'heure des questions au Conseil (B4-0901/97). Revenons-en au fond du problème. Depuis 2002, l'Union européenne s'est dotée d'un Fonds de solidarité qui permet d'apporter une aide financière d'urgence aux régions européennes frappées par ces catastrophes naturelles. Cet amendement précise que "la violence domestique contre les femmes est la principale cause de mortalité et d'invalidité chez les femmes âgées de 16 à 44 ans." Ce rapport est également honnête. Celles-ci sont avant tout dues à des conflits sociaux, avec une justification ethnique et/ou religieuse. Je serais heureuse que vous adoptiez cet amendement oral. Monsieur le Président, voici que nous débattons de nouveau de la Turquie. . - En tant que modérés, nous pensons qu’il faudrait éliminer progressivement le soutien direct à la production de tabac, d’olives, de coton et de houblon. Au sein de cette Assemblée, nous menons un combat spécifique pour les droits de l'homme dans le monde. Aucune politique claire. - Monsieur le Président, Madame la Commissaire, permettez-moi tout d'abord de préciser que le rapport de M. Tannock sur la politique européenne de voisinage est un document auquel je souscris totalement et je ne peux que le féliciter pour son excellent travail. Il crée également des charges supplémentaires pour les gestionnaires et investisseurs européens, des charges que les pays tiers, eux, n'imposent pas à leurs gestionnaires et investisseurs. J'espère que mes collègues soutiendront ma tentative de rapporteur en vue de réintégrer le merlu dans ce rapport. L'Union européenne a l'obligation de transmettre des messages clairs sur l'importance de la démocratie, des droits de l'homme et du respect de l'état de droit. Je suis convaincu que l'Europe ne tirera parti de la révolution numérique que si tous les citoyens de l'Union sont mobilisés et reçoivent les moyens de participer pleinement à la nouvelle société numérique. Dans le même temps, le PASOK note que les États membres de l’Union ont chacun leur définition de ce qu’est une minorité nationale, ethnique et religieuse et des groupes de population dans leurs frontières, qu’ils basent sur leurs lois et/ou des conventions internationales (comme dans le cas de la Grèce) et qu’on ne peut en aucun cas imaginer être contestées ou affectées par cette résolution. Enfin, je voudrais féliciter le rapporteur, M. Paolo Costa, d'avoir convaincu le Conseil d'accepter la majorité des amendements du Parlement européen. S'agissant de la journée de jeudi, en ce qui concerne le débat sur les questions orales à la Commission relatives à la gestion des eaux en Europe, le groupe du parti populaire européen et des démocrates européens souhaite que ce débat ne soit pas clos par une résolution. La Commission reste elle aussi active dans l’action humanitaire. Les plans à long terme constituent un instrument majeur dans le domaine de la gestion des pêcheries, car ils permettent de concilier la conservation essentielle de ressources halieutiques à des niveaux durables avec la préservation des perspectives d'exploitation de ces ressources à moyen terme, élément indispensable pour que la pêche et les communautés locales qui en dépendent bénéficient de la stabilité économique et sociale. J'ai trois remarques à faire. Une autre question importante concerne la régionalisation de la politique commune de la pêche. La ratification par la Moldavie, en octobre de cette année, du statut de Rome établissant la Cour pénale internationale, constitue un pas très positif dans cette direction. Je terminerai en précisant que le projet de résolution législative qui vous est proposé a été adopté à l'unanimité par la commission de la pêche et que les deux amendements 1 et 2, présentés au nom de notre commission, qui l'accompagnent, sont de simples amendements de mise en cohérence de notre proposition. Monsieur le Président, Mesdames et Messieurs, le Conseil estime que le partenariat stratégique avec la Russie doit se baser sur les valeurs communes avalisées dans l’accord de partenariat et de coopération, en particulier celles envers lesquelles la Russie est engagée en tant que membre du Conseil de l’Europe et de l’Organisation pour la sécurité et la coopération en Europe. sur le rapport Harrison (A4-0160/97) C'est un nouveau départ extrêmement ambitieux. Je comprends néanmoins ceux de mes collègues qui ont l'intention de voter contre cette proposition législative demain. Nous devons nous assurer que les accords bilatéraux entre États membres et pays tiers ne mettent pas en péril les efforts consentis à l'échelon européen. De plus, les investissements dans les infrastructures énergétiques, l'efficacité énergétique et les sources d'énergie renouvelable réduiront la dépendance énergétique de l'UE et généreront environ 2,7 millions d'emplois nouveaux d'ici à 2030. Je me réjouis donc de l'invitation adressée à la Commission de prendre une initiative dans ce domaine. Il est dans un état très critique. En outre, l'adoption du règlement sur les produits de construction constitue un pas en avant important en ce qui concerne la simplification et l'amélioration de la législation, tout en consolidant le marché intérieur des produits de construction. Rapport Andersson (A4-0313/97) (RO) 2010 est l'année au cours de laquelle nous procéderons à un examen à mi-parcours de la façon dont sont utilisés les Fonds structurels, et je pense que la priorité doit être accordée à l'efficacité énergétique. , président en exercice du Conseil. En conclusion, la Commission approuve les amendements 1 à 6 et les 8, 9 et 11 mais elle doit refuser les amendements 7, 10 et 12. Nous sommes confrontés à un sérieux problème. (Le président retire la parole à l'orateur) (DE) Le prochain point concerne les déclarations du Conseil et de la Commission sur les résultats du sommet informel des chefs d'État et de gouvernement à Lisbonne. Je me réjouis que la commission des affaires économiques et monétaires ait adopté ce rapport à l'unanimité. Il a plaidé sa cause suffisamment bien pour justifier sa nomination à la Cour des comptes et pour remplir sa mission avec compétence et indépendance. Ce rapport élaboré par Mme Muñiz De Urquiza porte sur les performances de l'Union européenne en tant qu'acteur mondial et son rôle dans les organisations multilatérales. Enfin, un certain nombre d'amendements supplémentaires ont été proposés. Nous sommes tous d'accord, je pense, qu'il doit y avoir une intégration dans le cadre régional. Je pense qu'il convient d'accorder plus de temps aux États membres pour déterminer si l'abrogation des directives conduira à une insécurité juridique rendant nécessaire l'harmonisation des règles européennes. C'est de plus en plus difficile. Merci, Monsieur le Commissaire Poul Nielson. L'UE est le principal partenaire commercial de la plupart des pays ACP. Nous ne devons pas le banaliser. Les Britanniques n’en veulent pas. (LT) Toutes mes félicitations au rapporteur. Je pense que ce serait une mauvaise chose. Toutefois, je transmettrai au Bureau. Avant tout, je voudrais remercier de tout cœur tous les collègues qui ont collaboré à ce travail, et aussi tous les rapporteurs fictifs. Nous devons travailler ensemble et poursuivre ces efforts. Nous parlons de lacunes dans la législation. Pour les petites et moyennes entreprises, c'est surtout le principe de la sécurité juridique qui importe. Monsieur Brok, pourriez-vous aller discuter dehors s'il vous plaît? Dans le même temps, l’Union importera 70% de son énergie en 2030, pour 50% aujourd’hui. - L’ordre du jour appelle en discussion commune les propositions de résolution suivantes: La première priorité est liée à la réussite de l’étape 2004 de l’élargissement, qui se traduit par l’intégration totale de représentants des nouveaux États membres dans les institutions européennes, ainsi qu’aux préparatifs de la nouvelle étape, qui marquera l’adhésion de la Bulgarie et de la Roumanie. C'est pourquoi je vous remercie pour cette directive. Elle mérite notre soutien inconditionnel. Je vous donne, là aussi, un exemple très concret. Les questions de politique fiscale dont vous discutez actuellement jouent un rôle essentiel dans l'achèvement de l'objectif de la Commission de mieux s'attaquer à la fraude et à l'évasion fiscales qui représentent une perte de 200 à 250 milliards d'euros par an au plan européen. Cela ne se peut non plus. membre de la Commission. - Monsieur le Président, chers parlementaires, encore une fois très rapidement. Il est tout aussi scandaleux que le budget de l'UE serve à financer les corridas, tradition que j'estime incompatible avec les valeurs modernes et les droits des animaux. Un certain nombre de directives relatives à la protection du consommateur, telle la directive 97/7/CE sur la protection des consommateurs en matière de contrats à distance, porte sur les contrats de biens de consommation conclus selon des moyens électroniques et, en réalité, la directive relative au e-commerce indique clairement que cela ne porte pas préjudice au niveau de protection des intérêts dont dispose le consommateur tel que prévu par les actes communautaires, y compris les acquis du consommateur. Je vote pour la recommandation relative à la position commune du Conseil en vue de l'adoption du règlement du Parlement européen et du Conseil relatif à l'instauration de règles communes dans le domaine de la sûreté de l'aviation civile et abrogeant le règlement (CE) n°2320/2002. Elle est une zone de stabilité et de création d'emplois. La commissaire a confirmé mes propos. C’est pourquoi, en tant que rapporteur, je voudrais particulièrement remercier les collègues de la commission RETT de m’avoir aidée à mener cette tâche à son terme, comme je remercie tous ceux dans ces murs ou hors de ces murs, professionnels, associations, qui m’ont aidée à m’immerger dans ces questions et à mieux en maîtriser les enjeux. Nous œuvrerons afin de faire accepter cette définition dans chaque enceinte et organe sur lesquels nous pouvons exercer notre influence. (EL) Madame la Présidente, Monsieur le Commissaire, je commencerai par féliciter le Médiateur européen pour le travail exceptionnel réalisé sur toute cette période. Dans ce contexte, je voudrais commenter deux problèmes. En vertu de l'article 129 de notre règlement de procédure, nous devons procéder immédiatement à un vote à ce sujet. Monsieur le Président, ce débat, malgré sa brièveté, était intéressant. Monsieur le Président, je m'associe également aux remerciements adressés à la Commission, au Conseil et à tous les collègues. Peut être, le commissaire pourra-t-il, nous fournir des éclaircissements à ce sujet. au nom du groupe UEN. - (PL) M. le Président, au nom de groupe de l'Union pour l'Europe des nations, je voudrais déclarer que nous reconnaissons la qualité du rapport de M. Krahmer. Les questions sont ouvertes à dessein. L'Union européenne doit également parler d'une seule voix au niveau international et lutter en faveur de l'amélioration des normes de l'OCDE afin de mettre en place l'échange automatique d'informations, en lieu et place de l'échange sur demande. Nous devons prendre des mesures concertées, dans les domaines de la science et de la recherche, afin de renforcer la prévention et d'améliorer le diagnostic et les traitements, dont les traitements innovants. Il faut également assurer la diffusion des résultats nationaux dans les autres États membres, ce qui permettra de sensibiliser le public à la maladie. Rapport (A5-0117/2000) de Mme Roth-Behrendt, au nom de la commission de l'environnement, de la santé publique et de la politique des consommateurs, sur la proposition de règlement du Parlement européen et du Conseil établissant les règles de prévention et de lutte contre certaines encéphalopathies spongiformes transmissibles (COM(1998) 623 - C4-0025/1999 - 1998/0323(COD)) En 1994, 30.000 personnes ont été sinistrées dans la région de Tindouf ; mais à cette occasion, seules sept personnes avaient perdu la vie, alors que, cette fois, 693 victimes ont déjà pu être dénombrées, 300 personnes sont toujours portées disparues et que les estimations parlent de quelques 20.000 sinistrés. Celles-ci sont particulièrement utiles en vue de consolider la coopération avec les pays de la région, en particulier l'Ukraine et la République de Moldavie, mais aussi les États du Caucase et la région de la mer Caspienne. Je félicite Mme Gebhardt pour la façon dont elle a mené son travail. Nul doute que le présent rapport contribue dans une mesure importante au débat sur une politique de défense commune. Troisièmement, je mentionnerais la charte des droits fondamentaux. La négociation a lieu aujourd'hui. Eh bien, oui, il faut défendre les droits de l'homme en Europe, mais il faut d'abord défendre les libertés fondamentales: liberté à l'élection, liberté syndicale, liberté de parole, liberté d'expression, liberté de réunion. De nombreux députés l’ont déjà fait. C'est ainsi que le 24 janvier 1997, la Commission a transmis au Conseil un projet de décision pour l'approbation de cet accord par la Communauté européenne. Nous avons besoin d'une gouvernance économique renforcée et rigoureuse afin d'atteindre une croissance stable et durable, qui est essentielle pour l'emploi et le bien-être de nos concitoyens. Pour la même raison, nous n'acceptons pas les amendements 44 et 45. Finalement, des obstacles institutionnels. Nous allons apporter quelques modifications à la structure de la coopération interinstitutionnelle et cela me paraît très important. Programme "Socrates" (Deuxième phase) Rapport Purvis (A5-0080/2001) Monsieur le Président, j'ai voté en faveur de la résolution émise en commun par les groupes PPE-DE, Verts/ALE, EDD et UEN, et ce pour l'ensemble du texte. Je pense moi aussi que la décision des États membres d'insérer le label dans le cadre de l'UE contribuera à renforcer sa visibilité, son prestige et son crédit ainsi qu'à réaliser les objectifs visés de longue date de cohésion et de solidarité parmi les citoyens européens. Je finirai en le disant en grec, la langue qui exprime le mieux notre vocation universelle: Το ευρώ είναι το κοινό μας μέλλον. De ceux-ci, 30 ont été soit intégralement, soit partiellement acceptés par le Conseil. Il s'agit d'une question de respect du droit humanitaire international. J'espère que celui-ci pourra servir de support pour une discussion approfondie sur la marche à suivre pour mettre en uvre une vision de l'UE comme espace de liberté, de sécurité et de justice. mauvaises conditions de travail pour les personnes travaillant pour la Caisse des députés C'est pourquoi j'ai voté contre ce rapport. Quoi qu’il en soit, je vous sais gré de votre compréhension. C'est une contradiction. Madame la Présidente, l'Europe est considérée à juste titre comme ayant les médicaments les plus sûrs au monde. En termes pratiques, les conclusions montrent que, si des efforts considérables ont été réalisés pour améliorer la compétitivité à long terme, les objectifs d'amélioration de la qualité de vie et de promotion de la coordination et de la communication n'ont pas été suffisamment mis en œuvre. Enfin, je me permets de mentionner le septième programme de recherche, qui se déroule parallèlement à cette stratégie. Madame Thyssen, nous avons étudié la question. J'ai voté en faveur du rapport sur le PIB et au-delà -Mesurer le progrès dans un monde en mutation pour les raisons suivantes. Je souhaiterais seulement faire quelques brèves observations. Nous devons également nous souvenir du fait que des dispositions plus larges existent en vue d'une coordination plus étroite des politiques économiques en général entre les États membres de l'Union. Je ne suis pas d'accord. Rapport (A5-0011/2000) de M. Langen, au nom de la délégation du Parlement au comité de conciliation, sur le projet commun, approuvé par le comité de conciliation, de décision du Parlement européen et du Conseil arrêtant un programme pluriannuel pour la promotion des sources d' énergie renouvelables dans la Communauté - Altener (C5-0333/1999 - 1997/0370(COD)) Relations économiques et commerciales entre l'UE et le Mercosur dans la perspective de la conclusion d'un accord interrégional d'association (débat) . - Monsieur le Président, Monsieur le Commissaire, chers collègues, au nom de la commission des budgets, je souhaite rappeler que les objectifs de Lisbonne doivent rester la priorité des politiques économiques et sociales de l’Union, surtout à la veille de l’élargissement, et qu’il est par conséquent indispensable que les États membres mettent à la disposition du budget de l’Union européenne les ressources nécessaires à la réalisation de ces objectifs. Modification de l'article 29 du règlement: constitution des groupes politiques ( J'accepte l'observation de M. Falconer de saisir la Commission pour le Règlement, afin de le changer. En outre, les investissements dans l'amélioration de l'efficacité énergétique et le recours aux énergies renouvelables se traduiront par la création de millions d'emplois et contribueront à la croissance dans l'UE. Dans le même temps, ils permettront également de réduire la somme d'argent gaspillée actuellement pour l'entretien de bâtiments à grande consommation énergétique. Ils préfèrent qu’on les aide à reconstruire leurs chantiers navals et leur flotte de pêche, et nous devons les y aider. Le septième programme-cadre de l'Union européenne pour des actions de recherche, de développement technologique et de démonstration (PC7) est le plus vaste instrument de soutien à la recherche au niveau mondial et constitue le principal outil de la politique de recherche de l'Union européenne. Monsieur le Président, je tiens avant tout à remercier Mme Thyssen pour son geste et pour avoir défendu l'amendement que nous avons présenté. Le groupe Verts/Alliance libre européenne et le groupe confédéral de la Gauche unitaire européenne/Gauche verte nordique ont demandé d'ajouter une déclaration de la Commission sur la variété "Amflora" de pommes de terre génétiquement modifiées. (L'oratrice s'interrompt) Il n'y a donc pas de problème. Pour conclure, j'aimerais remercier M. Pettinari pour son excellent rapport. Ne trouvez-vous pas inacceptable qu’une fois encore, le Conseil n’ait pas attendu l’avis du Parlement européen et ne trouvez-vous pas inacceptable que le Conseil ait refusé de transmettre à la commission des libertés l’état de ses propres négociations, au moment où la commission parlementaire débattait du même sujet? Monsieur le Président, je souhaiterais faire deux remarques. Je félicite M. Goebbels de s'être attaqué à certains d'entre eux. - Monsieur le Président, Monsieur le Commissaire, Mesdames et Messieurs, je voudrais commencer par remercier Mme Krehl pour son rapport de qualité et pour son excellente collaboration sur cette question. Monsieur le Président, j'aimerais seulement ajouter un mot à ce que mon collègue Libicki a dit: la proposition du PPE n'est pas le résultat d'un compromis. Pour terminer, en ce qui concerne le rapport de M. Jové Peréz, notre groupe y est favorable. Étant donné le peu de temps qui m’est imparti, je n’en mentionnerai que quelques-unes. Voilà pourquoi je me suis abstenu. L'objectif est de faire en sorte que le futur Traité constitutionnel puisse être signé entre le 1er mai 2004, date fixée pour l'adhésion officielle des dix nouveaux États membres, et les élections pour le renouvellement du Parlement, prévues pour juin 2004.
d84739c42aea7d4bacbfe3a2759f6c66e2f239e4
449d555969bfd7befe906877abab098c6e63a0e8
/608/CH17/EX17.02/17_02.sce
9e371038445194020043cc8b6bc8d638edb892b6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,253
sce
17_02.sce
//Problem 17.02: A 4 μF capacitor is charged to 24 V and then discharged through a 220 kohms resistor. Use the ‘initial slope and three point’ method to draw: (a) the capacitor voltage/time characteristic, (b) the resistor voltage/time characteristic and (c) the current/time characteristic, for the transients which occur. From the characteristics determine the value of capacitor voltage, resistor voltage and current one and a half seconds after discharge has started. //initializing the variables: C = 4E-6; // in Farads R = 220000; // in ohms V = 24; // in Volts t1 = 1.5; // in secs //calculation: tou = R*C t = 0:0.1:10 Vc = V*(1-%e^(-1*t/tou)); plot2d(t,Vc) xtitle("capacitor voltage/time characteristic", "t", "Vc") xset('window',1) VR = V*(1-%e^(-1*t/tou)); plot2d(t,VR) xtitle("resistor voltage/time characteristic", "t", "VR") xset('window',2) I = V/R i = I*%e^(-1*t/tou) plot2d(t,i) xtitle("current/time characteristic", "t", "i") Vct1 = V*%e^(-1*t1/tou) VRt1 = V*%e^(-1*t1/tou) it1 = I*%e^(-1*t1/tou) printf("\ = \n\n Result \n\n") printf("\n the value of capacitor voltage is %.2f V, resistor voltage is %.2f V, current is %.1E A at one and a half seconds after discharge has started.",Vct1, VRt1,it1)
6ac187c303143167b7ddf8efddcfb004070f41cb
449d555969bfd7befe906877abab098c6e63a0e8
/1640/CH3/EX3.3/3_3.sce
0378607b44d8e78d4b9d0564b4fb192a6bcdbdd6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
436
sce
3_3.sce
clc //initialisation of variables Q= 10 //ft^3/sec a1= 1 //ft^2 a2= 4 //ft^2 g= 32.2 //ft/sec^2 p1= 12 //lb/in^2 v1= 10 //ft/sec w= 62.4 //lb/ft^3 //RESULTS v2= v1*a1/a2 Hl= (v1-v2)^2/(2*g) p2= ((p1*144/w)+(v1^2/(2*g))-(v2^2/(2*g))-Hl)*(w/144) W= Hl*v1*w/550 //RESULTS printf ('Head lost = %.3f ft of water ',Hl) printf ('\n Pressure in larger part of pipe = %.2f lb/in^2 ',p2) printf ('\n Work done = %.3f HP ',W)
a9bd61b753620aa679c873700bd96f1b068e9d2b
449d555969bfd7befe906877abab098c6e63a0e8
/3428/CH2/EX1.2.11/Ex1_2_11.sce
6a1b90189935b8269ef558dbc8df58d0a6fb4d65
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
328
sce
Ex1_2_11.sce
//Section-1,Example-1,Page no.-AC.181 //To calculate percentage results of the given analysis. clc; W1_loss=(1.5-1.415) W_s=1.5 M=(W1_loss/W_s)*100 disp(M,'%Moisture') W2_loss=(1.415-0.528) V=(W2_loss/W_s)*100 disp(V,'%Volatile matter') W3_left=0.254 A=(W3_left/W_s)*100 disp(A,'%Ash') F_C=100-(M+V+A) disp(F_C,'%Fixed carbon')
c002da7c19ef2c0543365238fdef915d7323c12d
eb7eeb04a23a477e06f3c0e3d099889caee468b4
/src/tools/scilab/iome_toolbox/macros/vectostring.sci
4b8ba01f50bc44257e842b51d6c7c566b32419d7
[]
no_license
mikeg64/iome
55699b7d7b3d5c1b006d9c82efe5136b8c909dfd
cc1c94433133e32776dcf16704ec4ec337b1b4a0
refs/heads/master
2020-03-30T15:57:33.056341
2016-04-13T09:24:27
2016-04-13T09:24:27
151,387,236
0
0
null
null
null
null
UTF-8
Scilab
false
false
309
sci
vectostring.sci
function [vecstring]=vectostring(vec,separator) [r,vsize]=size(vec); vecstring=''; for i=1:vsize if i>1 then newvecstring=sprintf("%s%s%f",vecstring,separator,vec(i)); else newvecstring=sprintf("%f",vec(i)); end vecstring=newvecstring; end endfunction
c03abc561f4027a4dcc88db2cf26eafe0854644f
e806e966b06a53388fb300d89534354b222c2cad
/macros/makecform.sci
ac514641ea50469144b020b2c495636a94b322b9
[]
no_license
gursimarsingh/FOSSEE_Image_Processing_Toolbox
76c9d524193ade302c48efe11936fe640f4de200
a6df67e8bcd5159cde27556f4f6a315f8dc2215f
refs/heads/master
2021-01-22T02:08:45.870957
2017-01-15T21:26:17
2017-01-15T21:26:17
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
120
sci
makecform.sci
function[out_string] = makecform(srcImg) srcMat = mattolist(srcImg) out_string = opencv_makecform(srcMat) endfunction
6877c45aa6244397215209ab24f1dac65763be10
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/macros/scicos/standard_draw.sci
05eab06a91573df44c37dcc6ebc6e253509079e7
[ "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
4,204
sci
standard_draw.sci
function standard_draw(o,frame) // // Copyright INRIA xf=60 yf=40 [lhs,rhs]=argn(0) if rhs==1 then frame=%t end nin=size(o(3)(2),1); nout=size(o(3)(3),1); clkin=size(o(3)(4),1); clkout=size(o(3)(5),1); [orig,sz,orient]=o(2)(1:3) thick=xget('thickness');xset('thickness',2) // draw box pat=xget('pattern') xset('pattern',default_color(0)) e=4 With3D=options('3D')(1) if frame then if With3D then #Color3D=options('3D')(2) //3D aspect xset('thickness',2); xset('pattern',#Color3D) xpoly([orig(1)+e;orig(1)+sz(1);orig(1)+sz(1)],.. [orig(2)+sz(2);orig(2)+sz(2);orig(2)+e],'lines') xset('pattern',default_color(0)) xset('thickness',1) eps=0.3 xx=[orig(1) , orig(1) orig(1) , orig(1)+sz(1)-e orig(1)+e , orig(1)+sz(1) orig(1)+e , orig(1)+e]; yy=[orig(2) , orig(2) orig(2)+sz(2)-e , orig(2) orig(2)+sz(2) , orig(2)+e orig(2)+e , orig(2)+e]; // xset('pattern',1) xfpolys(xx,yy,-[1,1]*#Color3D) xset('thickness',2); else e=0 xset('thickness',2); xrect(orig(1),orig(2)+sz(2),sz(1),sz(2)) end end xset('pattern',default_color(0)) // draw input/output ports //------------------------ if orient then //standard orientation // set port shape out=[0 -1/14 1/7 0 0 1/14 0 -1/14]*diag([xf,yf]) in= [-1/7 -1/14 0 0 -1/7 1/14 -1/7 -1/14]*diag([xf,yf]) dy=sz(2)/(nout+1) xset('pattern',default_color(1)) for k=1:nout xfpoly(out(:,1)+ones(4,1)*(orig(1)+sz(1)),.. out(:,2)+ones(4,1)*(orig(2)+sz(2)-dy*k),1) end dy=sz(2)/(nin+1) for k=1:nin xfpoly(in(:,1)+ones(4,1)*orig(1),.. in(:,2)+ones(4,1)*(orig(2)+sz(2)-dy*k),1) end else //tilded orientation out=[0 -1/14 -1/7 0 0 1/14 0 -1/14]*diag([xf,yf]) in= [1/7 -1/14 0 0 1/7 1/14 1/7 -1/14]*diag([xf,yf]) dy=sz(2)/(nout+1) xset('pattern',default_color(1)) for k=1:nout xfpoly(out(:,1)+ones(4,1)*orig(1)-1,.. out(:,2)+ones(4,1)*(orig(2)+sz(2)-dy*k),1) end dy=sz(2)/(nin+1) for k=1:nin xfpoly(in(:,1)+ones(4,1)*(orig(1)+sz(1))+1,.. in(:,2)+ones(4,1)*(orig(2)+sz(2)-dy*k),1) end end // draw input/output clock ports //------------------------ // set port shape out= [-1/14 0 0 -1/7 1/14 0 -1/14 0]*diag([xf,yf]) in= [-1/14 1/7 0 0 1/14 1/7 -1/14 1/7]*diag([xf,yf]) dx=sz(1)/(clkout+1) xset('pattern',default_color(-1)) for k=1:clkout xfpoly(out(:,1)+ones(4,1)*(orig(1)+k*dx),.. out(:,2)+ones(4,1)*orig(2),1) // out(:,2)+ones(4,1)*orig(2),1) end dx=sz(1)/(clkin+1) for k=1:clkin xfpoly(in(:,1)+ones(4,1)*(orig(1)+k*dx),.. in(:,2)+ones(4,1)*(orig(2)+sz(2)),1) // in(:,2)+ones(4,1)*(orig(2)+sz(2)),1) end xset('pattern',default_color(0)) // draw Identification //------------------------ if size(o(3)) >= 15 then ident = o(3)(15) else ident = [] end if ident <> [] then font = xget('font') xset('font', options('ID')(1)(1), options('ID')(1)(2)) rectangle = xstringl(orig(1), orig(2), ident) w = max(rectangle(3), sz(1)) h = rectangle(4) * 1.3 xstringb(orig(1) + sz(1) / 2 - w / 2, orig(2) - h , .. ident , w, h) xset('font', font(1), font(2)) end xset('thickness',thick) // //xset('pattern',pat) fnt=xget('font') deff('c=scs_color(c)','if flag==''background'' then c=coli,end ') flag='foreground' if size(o(2))>8 then //compatibility gr_i=o(2)(9) if type(gr_i)==15 then [gr_i,coli]=gr_i(1:2), else coli=[] end if coli<>[] then gr_i=['pcoli=xget(''pattern'')';.. 'xset(''pattern'',coli)'; 'xfrect(orig(1),orig(2)+sz(2),sz(1),sz(2))'; 'flag=''background'';' gr_i; 'xset(''pattern'',pcoli)' 'flag=''foreground'';'; gr_i] end end //compatibility model=o(3) if With3D&frame then orig=orig+e sz=sz-e end //[%frect1,%frect]=xgetech() ierr=execstr(gr_i,'errcatch'), if ierr<>0 then message(['Error in Icon defintion'; 'See error message in scilab window']) end //xsetech(%frect1,%frect) xset('pattern',pat) xset('font',fnt(1),fnt(2)) xset('thickness',1)
a3e22a144eb85eca54f9d173a27464406001b916
f8bb2d5287f73944d0ae4a8ddb85a18b420ce288
/Scilab/example/ステップ応答シミュレーション.sce
09cdcb69c085d376742eeca2751e22d72ef256b1
[]
no_license
nishizumi-lab/sample
1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2
fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2
refs/heads/master
2023-08-22T15:52:04.998574
2023-08-20T04:09:08
2023-08-20T04:09:08
248,222,555
8
20
null
2023-02-02T09:03:50
2020-03-18T12:14:34
C
SHIFT_JIS
Scilab
false
false
233
sce
ステップ応答シミュレーション.sce
//ステップ応答シミュレーション A=[-1 0;1 -2]; b=[0;1]; c=[1 1]; x0=[1;0]; sys=syslin('c',A,b,c); t=0:0.01:10; y=csim('step',t,sys,x0); clf(); plot2d(t,y,rect=[0,0,10,1.5]) xtitle("Step responce","time [s]","output y")
a0ff82ab35c58a59f05e4a97c1b029ac24bb15e5
449d555969bfd7befe906877abab098c6e63a0e8
/2354/CH12/EX12.3/12_3.sce
f5e37168c7a3ec52d7283639d76c013aa47f331a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
271
sce
12_3.sce
//example 12.3 clc; funcprot(0); // Initialization of Variable pi=3.14; rho=999.0; Q=0.6/1000; A1=pi*0.016^2/4; A2=pi*0.005^2/4; p1=464*1000; p2=0; Ww=0.03; Wn=1; mdot=rho*Q; V1=Q/A1; V2=Q/A2; Fa=mdot*(V1-V2)+Wn+Ww+p1*A1; disp(Fa,"Force in N"); clear()
235de67416dd5ce52c6cd04e4ca6253eceda2d2a
ec587da007f2100be5e3db8e5b68df9e8c94941c
/And4.tst
80eb1fade3d2c00a505107da88440f038e153499
[]
no_license
glowing-potato/atmega328p
95552c6210949c0d5e929dbd243790bd8290a5c1
73518c217158033bf435348567f8fe702103be18
refs/heads/master
2021-01-18T21:55:16.705541
2017-04-05T02:01:29
2017-04-05T02:01:29
87,027,063
1
0
null
null
null
null
UTF-8
Scilab
false
false
401
tst
And4.tst
load And4.hdl, output-file And4.out, compare-to And4.cmp, output-list a%B1.4.1 b%B1.4.1 out%B1.4.1; set a %B0000, set b %B0000, eval, output; set a %B0000, set b %B1111, eval, output; set a %B1111, set b %B0000, eval, output; set a %B1111, set b %B1111, eval, output; set a %B0101, set b %B0101, eval, output; set a %B1010, set b %B0101, eval, output; set a %B1001, set b %B0101, eval, output;
2b3caab438a0ae2580796431d39e3d9dd71016ee
449d555969bfd7befe906877abab098c6e63a0e8
/1163/CH5/EX5.5/example_5_5.sce
ed9d886eecc5d508f8edbce0b8f0c0868d2a0f39
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
470
sce
example_5_5.sce
clear; clc; disp("--------------Example 5.5---------------") B=100 ; //bandwidth = 100 kHz two_df=50; // 2df = 50 kHz fl=200; // lower frequency in kHz fh=300; // higher frequency in kHz mid_bandwidth = (fl+fh)/2; // mid frequency of bandwidth in kHz Fc=mid_bandwidth; d=1; S=(B-two_df)/(1+d); // B= (1+d)*s + 2df N=S; // bit rate printf("\nThe carrier frequency is %d kHz , the signal rate is %d kbaud and the bit rate %d kbps.",Fc,S,N); // display result
d374bbb413276470eb72055644a0737c8759f7a6
449d555969bfd7befe906877abab098c6e63a0e8
/1067/CH20/EX20.17.a/20_17_a.sce
6d0f19865e2073821ee5a0b601684596987d3f41
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
230
sce
20_17_a.sce
clear; clc; v=3.3e3; rb=3e6; r1=1e6; r2=1.5e6; x1=10; x2=20; X1=x1*rb/r1; X2=x2*rb/r2; x=inv(inv(X1)+inv(X2)); kva=rb*100/x; ish=kva/(1.7388*v); ish=round(ish); printf("the value of short circuit current=%dA",ish);
2f682b7a5c5a2aafe3fa9f9270170323b390b37a
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/dscr.man.tst
e7d0f1cde0683dccc4f7427e10fcdd44a389b26e
[ "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
103
tst
dscr.man.tst
clear;lines(0); s=poly(0,'s'); Sys=syslin('c',[1,1/(s+1);2*s/(s^2+2),1/s]) ss2tf(dscr(tf2ss(Sys),0.1))
4a27f3df3172e8595f44664a73e92a104dcf588a
1b969fbb81566edd3ef2887c98b61d98b380afd4
/Rez/bivariate-lcmsr-post_mi/bfas_ci_vrt_ind_d/~BivLCM-SR-bfas_ci_vrt_ind_d-PLin-VLin.tst
6bd79cee382841a440479dc836e1f5566d99c643
[]
no_license
psdlab/life-in-time-values-and-personality
35fbf5bbe4edd54b429a934caf289fbb0edfefee
7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e
refs/heads/master
2020-03-24T22:08:27.964205
2019-03-04T17:03:26
2019-03-04T17:03:26
143,070,821
1
0
null
null
null
null
UTF-8
Scilab
false
false
11,974
tst
~BivLCM-SR-bfas_ci_vrt_ind_d-PLin-VLin.tst
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM. ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 0.339732D+00 2 -0.401198D-02 0.273608D-02 3 0.513956D-01 -0.120146D-02 0.398424D+00 4 -0.189872D-03 0.416733D-03 -0.704125D-02 0.336619D-02 5 -0.702307D-04 -0.559067D-04 0.493553D-03 -0.499687D-05 0.239926D-02 6 0.707471D-04 -0.237949D-04 0.409684D-03 0.158046D-04 -0.235576D-04 7 -0.459020D-03 0.365707D-05 -0.458327D-03 0.157053D-03 0.209762D-03 8 0.108198D-02 -0.578103D-04 0.953390D-03 0.158686D-03 0.106402D-03 9 -0.589241D+00 0.232698D-01 -0.282299D-01 0.161356D-01 0.167211D+00 10 -0.111691D+00 -0.980419D-02 0.297571D+00 -0.872146D-02 0.133107D+00 11 -0.320195D+00 0.709252D-02 0.251960D+00 0.445490D-02 0.234483D-01 12 0.193218D+00 0.543534D-02 0.138729D+00 -0.648321D-01 0.242698D-01 13 -0.424234D-01 0.308584D-02 -0.781181D-01 0.665363D-02 0.326131D-02 14 0.284148D+00 -0.289604D-02 0.301145D+00 0.242571D-01 0.430100D-02 15 -0.169742D+01 -0.693604D-01 -0.179217D+00 -0.250822D-01 -0.128134D+00 16 -0.426991D-01 -0.288447D-02 0.152616D-01 -0.391488D-02 0.278832D-02 17 0.906727D-02 0.420482D-03 -0.226594D-02 0.592886D-03 -0.636632D-03 18 -0.962068D-01 -0.325752D-01 -0.352312D+00 -0.827583D-01 0.738678D-02 19 -0.494307D-01 0.552552D-02 -0.446212D-01 -0.419894D-02 -0.170059D-01 20 -0.446075D-01 -0.604424D-01 -0.976727D+00 -0.886284D-01 0.107213D-01 21 0.822394D-01 -0.121928D-01 0.360883D-01 0.159715D-02 0.112687D-01 22 -0.148985D-02 0.614905D-03 0.148950D-02 0.814584D-03 0.541887D-04 23 0.153977D-01 -0.305296D-02 0.324062D-02 -0.368203D-03 0.456146D-03 24 -0.269901D-02 0.698650D-03 0.596483D-02 0.130747D-02 -0.280393D-03 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 0.679755D-03 7 0.564838D-03 0.290795D-02 8 -0.325802D-04 -0.161673D-03 0.286106D-02 9 0.150324D-01 0.965202D-01 -0.172604D-01 0.111630D+03 10 0.956934D-02 -0.505160D-02 0.125515D-02 0.110134D+02 0.218576D+02 11 0.213316D-01 0.207256D-01 0.220573D-01 0.183764D+02 0.393269D+01 12 0.499489D-01 0.470367D-01 0.725509D-01 0.161488D+02 0.780050D+00 13 0.363332D-01 0.965766D-01 0.184944D-02 0.481103D+01 -0.159457D+01 14 -0.751117D-02 -0.695274D-01 0.248740D+00 -0.200845D+01 0.250932D+01 15 -0.339572D-01 -0.481129D-01 -0.267369D-01 -0.175102D+02 -0.144298D+02 16 -0.411010D-03 0.726737D-04 -0.108864D-02 0.172013D+01 0.964840D-01 17 0.677706D-04 -0.629061D-04 0.165219D-03 -0.331377D+00 -0.397682D-01 18 -0.465558D-01 -0.919535D-01 -0.710093D-03 -0.525702D+01 0.527381D+00 19 -0.941893D-02 0.131577D-01 -0.173318D-01 -0.233459D+00 -0.234629D+01 20 0.166418D-01 0.488890D-01 -0.251581D+00 0.441886D+01 0.758801D+01 21 0.972778D-02 -0.141712D-01 0.162496D-01 -0.250867D+00 0.217920D+01 22 -0.122217D-03 -0.132131D-03 0.116084D-03 -0.231054D-01 -0.217820D-01 23 -0.430554D-03 -0.128280D-03 -0.203335D-02 0.290568D+00 -0.370838D-01 24 -0.499237D-04 -0.197775D-03 -0.114261D-04 -0.704976D-01 -0.334543D-01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 0.568484D+02 12 0.981648D+00 0.194854D+03 13 -0.982160D+00 0.264434D+01 0.132815D+02 14 0.313645D+01 0.114023D+02 0.810742D+00 0.847980D+02 15 0.187582D+01 -0.139214D+01 -0.161317D+01 0.902624D+01 0.290677D+03 16 0.231018D-01 0.506247D+00 0.128021D-01 -0.104189D+00 0.221957D+01 17 -0.559295D-01 -0.791461D-01 -0.147699D-02 -0.446900D-01 -0.136597D+01 18 -0.381864D+01 -0.709607D+01 -0.698926D+01 0.167828D+01 0.445708D+02 19 -0.432339D+00 -0.788931D+00 -0.367805D+00 -0.475025D+01 0.552771D+01 20 -0.131701D+02 -0.196088D+02 -0.546088D+01 -0.575669D+02 -0.508955D+01 21 0.144204D+01 0.519029D+00 0.397680D+00 0.513147D+01 -0.363230D+01 22 -0.887146D-01 -0.290847D-01 -0.112052D-01 -0.233575D-01 -0.368191D+00 23 -0.142414D+00 0.918001D+00 -0.168363D+00 -0.189593D+00 -0.103190D+01 24 0.245671D-01 -0.272926D+00 0.306291D-01 0.666767D-01 0.872594D-01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 0.593496D+00 17 -0.528268D-01 0.186691D-01 18 0.700832D+00 -0.354671D+00 0.195453D+03 19 0.209260D+00 -0.425179D-01 0.555558D+01 0.687192D+01 20 -0.608991D+00 0.213199D-01 0.390411D+02 0.128726D+01 0.384480D+03 21 0.483247D-01 0.121007D-01 -0.443261D+01 -0.628868D+01 -0.239846D+01 22 -0.141252D-01 0.585996D-02 -0.846187D+00 -0.458933D-01 -0.156191D+00 23 0.220328D-01 0.476685D-03 0.264406D+00 0.238718D+00 0.287127D+01 24 -0.788817D-03 0.644018D-03 -0.231208D+00 -0.257379D-01 -0.162464D+01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 0.725947D+01 22 -0.172725D-01 0.109059D-01 23 -0.112192D+00 -0.724091D-02 0.659409D+00 24 0.202145D-01 0.260241D-02 -0.647701D-01 0.184169D-01 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 1.000 2 -0.132 1.000 3 0.140 -0.036 1.000 4 -0.006 0.137 -0.192 1.000 5 -0.002 -0.022 0.016 -0.002 1.000 6 0.005 -0.017 0.025 0.010 -0.018 7 -0.015 0.001 -0.013 0.050 0.079 8 0.035 -0.021 0.028 0.051 0.041 9 -0.096 0.042 -0.004 0.026 0.323 10 -0.041 -0.040 0.101 -0.032 0.581 11 -0.073 0.018 0.053 0.010 0.063 12 0.024 0.007 0.016 -0.080 0.035 13 -0.020 0.016 -0.034 0.031 0.018 14 0.053 -0.006 0.052 0.045 0.010 15 -0.171 -0.078 -0.017 -0.025 -0.153 16 -0.095 -0.072 0.031 -0.088 0.074 17 0.114 0.059 -0.026 0.075 -0.095 18 -0.012 -0.045 -0.040 -0.102 0.011 19 -0.032 0.040 -0.027 -0.028 -0.132 20 -0.004 -0.059 -0.079 -0.078 0.011 21 0.052 -0.087 0.021 0.010 0.085 22 -0.024 0.113 0.023 0.134 0.011 23 0.033 -0.072 0.006 -0.008 0.011 24 -0.034 0.098 0.070 0.166 -0.042 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 1.000 7 0.402 1.000 8 -0.023 -0.056 1.000 9 0.055 0.169 -0.031 1.000 10 0.079 -0.020 0.005 0.223 1.000 11 0.109 0.051 0.055 0.231 0.112 12 0.137 0.062 0.097 0.109 0.012 13 0.382 0.491 0.009 0.125 -0.094 14 -0.031 -0.140 0.505 -0.021 0.058 15 -0.076 -0.052 -0.029 -0.097 -0.181 16 -0.020 0.002 -0.026 0.211 0.027 17 0.019 -0.009 0.023 -0.230 -0.062 18 -0.128 -0.122 -0.001 -0.036 0.008 19 -0.138 0.093 -0.124 -0.008 -0.191 20 0.033 0.046 -0.240 0.021 0.083 21 0.138 -0.098 0.113 -0.009 0.173 22 -0.045 -0.023 0.021 -0.021 -0.045 23 -0.020 -0.003 -0.047 0.034 -0.010 24 -0.014 -0.027 -0.002 -0.049 -0.053 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 1.000 12 0.009 1.000 13 -0.036 0.052 1.000 14 0.045 0.089 0.024 1.000 15 0.015 -0.006 -0.026 0.057 1.000 16 0.004 0.047 0.005 -0.015 0.169 17 -0.054 -0.041 -0.003 -0.036 -0.586 18 -0.036 -0.036 -0.137 0.013 0.187 19 -0.022 -0.022 -0.038 -0.197 0.124 20 -0.089 -0.072 -0.076 -0.319 -0.015 21 0.071 0.014 0.041 0.207 -0.079 22 -0.113 -0.020 -0.029 -0.024 -0.207 23 -0.023 0.081 -0.057 -0.025 -0.075 24 0.024 -0.144 0.062 0.053 0.038 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 1.000 17 -0.502 1.000 18 0.065 -0.186 1.000 19 0.104 -0.119 0.152 1.000 20 -0.040 0.008 0.142 0.025 1.000 21 0.023 0.033 -0.118 -0.890 -0.045 22 -0.176 0.411 -0.580 -0.168 -0.076 23 0.035 0.004 0.023 0.112 0.180 24 -0.008 0.035 -0.122 -0.072 -0.611 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 1.000 22 -0.061 1.000 23 -0.051 -0.085 1.000 24 0.055 0.184 -0.588 1.000
bd9b82b2b6d83b2650fc0465891b3571f1c0b04f
449d555969bfd7befe906877abab098c6e63a0e8
/2135/CH6/EX6.23/Exa_6_23.sce
a7447e4f39ca9d3ff4bcb3d1f380d169010675a2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
680
sce
Exa_6_23.sce
//Exa 6.23 clc; clear; close; format('v',7); //Given Data : mdot=2;//Kg/s p1=10;//bar Tsup1=200;//degree C(from steam table) p2=1;//bar h1=2826.8;//KJ/Kg(at 10bar,200 degree C) S1=6.692;//KJ/KgK(at 10bar,200 degree C) ts2=99.63;//degree C(at 1bar) Vg2=1.694;//m^3/Kg(at 1bar) hf2=417.5;//KJ/Kg(at 1bar) hfg2=2258;//KJ/Kg(at 1bar) sf2=1.303;//KJ/KgK(at 1bar) sfg2=6.057;//KJ/KgK(at 1bar) //S1=sf2+x2*sfg2 x2=(S1-sf2)/sfg2;//dryness V3=x2*Vg2;//m^3/Kg t2=ts2;//degree C S2=S1;//KJ/KgK Qdot=0;//KJ h2=hf2+x2*hfg2;//KJ/Kg Wsf_dot=Qdot-mdot*((h2-h1));//KJ/Kg disp(Wsf_dot,"Work output of turbine in KJ/s or W : "); //Steam table is used to get some data.
3a7b111bee527dc06dc600c9b7f5ad3fdcdf9952
449d555969bfd7befe906877abab098c6e63a0e8
/3685/CH19/EX19.6/Ex19_6.sce
4072365e84d410f7ee7ff92372f28caab8afc1d3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
760
sce
Ex19_6.sce
clc // Given that d = 40 // Diameter in cm l = 50 // Stroke in cm D = 5 // Piston rod diameter in cm C = 0.04 // Ratio of clearance volume and sweft volume p1 = 1 // Pressure in bar t1 = 15 // Temperature in degree centigrade p2 = 7.5// Pressure in bar N = 300 // Rpm of compressure n_vol = 0.8 // Volumetric efficiency n_mech = 0.95 // Mechanical efficiency n_iso = .7 // Isothermal efficiency R = 0.287 printf("\n Example 19.6\n") Vs = (%pi/4)*((d*(1e-2))^2)*(l*(1e-2)) Vs_ = (%pi/4)*(((d*(1e-2))^2)-(D*(1e-2))^2)*(l*1e-2) Vs_min = (Vs+Vs_)*2*N V1 = Vs_min*n_vol W_iso = p1*V1*(log(p2/p1)) Win = W_iso/n_iso Wc = Win/n_mech printf("\n Power required to drive the compressure is %f kW",Wc) //The answers vary due to round off error
48ce92ebf4bdc2b018f1a6c8e06698e3337cf073
449d555969bfd7befe906877abab098c6e63a0e8
/3862/CH8/EX8.3/Ex8_3.sce
a33b10123e6d940e63a8bb3b483343551c1ec23d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
638
sce
Ex8_3.sce
clear // //variable declaration Y=(250) //Yield stress, N/mm^2 FOS=(1.75) //Factor of safety P=(160) //Load,KN p=Y/FOS printf("\n Therefore, permissible stress") printf("\n p= %0.3f N/mm^2 ",p) printf("\n Load P= %0.3f N",P*1000) //p=P/A A=P*1000/p //area,mm^2 printf("\n A= %0.0f mm^2",A) //For hollow section of outer diameter ‘D’ and inner diameter ‘d’ A=%pi*(D^2-d^2)/4 D=(101.6) //outer diameter,mm d=sqrt((D**2)-(4*A/%pi)) printf("\n d= %0.2f mm",d) t=(D-d)/2 printf("\n t= %0.2f mm",t) printf("\n Hence, use of light section is recommended.")
0b4b8f2677a6eba34c3f7eae7b2c34bb1bb85be7
18bf68cdf766092ccdcba8d231e8140063833a5a
/Problem1.sce
895110399db8f276f89c1c1d012aaf6e63c0c672
[]
no_license
goodengineer/Scilab-Exercises
b51cc9a4c938f0289a32875d2d21eb9061d0e68e
3c268211fe48e7e4d0002e44757ea8b50cda10f9
refs/heads/master
2022-12-24T23:30:12.875423
2020-10-05T06:27:20
2020-10-05T06:27:20
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
227
sce
Problem1.sce
clear; clf; function [x]=Pulse(St,Et,Value,dt) t=St:dt:Et; L=length(t); x(1:L)=Value; x=x'; endfunction dt=0.01; St=-1; Et=2; Value=2.5; t=St:dt:Et; x=Pulse(St,Et,Value,dt); plot2d3(t,x); //done
06c241e60df3f90f79c016b02b645bb3395d6a35
449d555969bfd7befe906877abab098c6e63a0e8
/2300/CH1/EX1.7.2/Ex1_2.sce
c9d5bb9788397d56d5b2ec9d206be7426bfc74a9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
439
sce
Ex1_2.sce
//scilab 5.4.1 //windows 7 operating system //chapter 1:Basic Ideas:Energy Bands In Solids clc clear //given data m=7360*9.11*(10^-31);//m=mass of the ion in kg q=2*1.6*(10^-19);//q=charge of the ion in Coulomb V=2000;//V=potential difference in Volt //solving velocity & kinetic energy of the ion v=sqrt((2*q*V)/m)//v=velocity of the ion disp("m/s",v,"v=") Ek=(1/2)*m*(v^2)//Ek=kinetic energy of the ion disp("J",Ek,"Ek=")
e0da34931761018737534ea6d483e56c108df103
449d555969bfd7befe906877abab098c6e63a0e8
/3871/CH5/EX5.11/Ex5_11.sce
9b47481e0ad11deed921acc41ea04301adcdde47
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
603
sce
Ex5_11.sce
//=========================================================================== //chapter 5 example 11 clc;clear all; //variable declaration V = 300; //voltage in V R = 12000; //coil resistance in Ω B = 6*10^-2; //flux density in Wb/m**2 l = 0.04; //length in m r = 0.03; //width in m N = 100; Tc = 25*10^-7; //torque in Nm per degree //calculations i = V/(R); //current in A Td = N*B*i*l*r; //deflecting Torque in Nm //Tc=Td; //Tc =(25*10^-7)*theta theta = Td/(Tc); //defelction in ° //result mprintf('defelction = %3.0f °",theta);
3da6ef5b857ec6426e34e233bc1b6b39ce29bbca
449d555969bfd7befe906877abab098c6e63a0e8
/2231/CH2/EX2.25/Ex_2_25.sce
a93c45c9abfbf4792108dbddece84ff8b87299e8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
260
sce
Ex_2_25.sce
//Example 2_25 clc; clear;close; //Given data: Vs=400;//V f=50;//Hz Eb=300;//V //Solution : Vdc=Eb;//V Vm=Vs*sqrt(2);//V //Vdc=3*sqrt(3)/2/%pi*Vm*cosd(alfa);//V alfa=acosd(Vdc/(3*sqrt(3)/2/%pi*Vm));//degree disp(alfa,"Firing angle(degree)");
a4625678d7707f8366c710da8522a9f285f88b2e
449d555969bfd7befe906877abab098c6e63a0e8
/2444/CH1/EX1.6/ex1_6.sce
e06fca00cef9898d450722a6f9ea4c5b6ec01d7a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
ex1_6.sce
// Exa 1.6 clc; clear; close; format('v',9) // Given data l = 1;// in cm l = l * 10^-2;// in m A = 1;// in mm^2 A = A * 10^-6;// in m^2 R = 100;// in ohm rho = (R*A)/l;// in ohm-m sigma = 1/rho; e = 1.6*10^-19;// in C miu_e = 1350;// in cm^2/V-s miu_e = miu_e * 10^-4;// in m^2/V-s n = sigma/(e*miu_e);// in /m^3 disp(n,"The dopant density in /m^3"); // Note: The unit of the answer is wrong because 0.0463*10^23/m^3 = 4.63*10^21/m^3, not in /cm^3
eee3ce0552f13d5d0906607fc55b2f89fbaead62
d65667bd6da157e725e5083a95c7a5e3c5e50371
/hdf5/.svn/pristine/ee/eee3ce0552f13d5d0906607fc55b2f89fbaead62.svn-base
2c7f43636e669c441abfb93ac0546f330124c466
[]
no_license
DCC-Lab/Umuco
4748640ddd5869f193303057445fccbf2e1cc6c5
41c38cd6c8e8d771708959eb02c9dee054148cbc
refs/heads/master
2020-08-07T01:11:31.456247
2019-02-24T18:16:16
2019-02-24T18:16:16
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
511
eee3ce0552f13d5d0906607fc55b2f89fbaead62.svn-base
Objects in the file: / (Group) /group1 (Group) /group1/dset1 (Dataset) /group1/group3 (Group) /group1/group3/group4 (Group) /group1/group3/group4/group1 (Group) /group1/group3/group4/group2 (Group) Links in the file: /group1 (Group) /group1/dset1 (Dataset) /group1/group3 (Group) /group1/group3/dset2 (Dataset) /group1/group3/group4 (Group) /group1/group3/group4/group1 (Group) /group1/group3/group4/group1/group5 (Group) /group1/group3/group4/group2 (Group) /group2 (Group)
e765c84067f626924367d8842b4da291ae5b0ceb
0e637a0e41450cddb847e0328eaebb9365cefdd4
/1st assignment/ramp.sce
7720942faa5c2445e17bc661703f779dee8cf67e
[]
no_license
mehtasankets/CASP
32c7ea00fca072e85d664f4acd050edee5f26a5f
5dbdd3c14b1b2620c29ab5bfdad640f4529d779c
refs/heads/master
2020-04-28T09:20:00.026745
2011-11-03T08:33:12
2011-11-03T08:33:12
2,700,756
0
0
null
null
null
null
UTF-8
Scilab
false
false
57
sce
ramp.sce
x = -10:100; t = 0:100; y = [zeros(-10:-1),t]; plot(x,y);
3d3e86e77387aeedb09c5b4ea7f19b52edb45368
449d555969bfd7befe906877abab098c6e63a0e8
/2096/CH1/EX1.24/ex_1_24.sce
fb3bf02bb451b936579bd5287da377a16e481afe
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
386
sce
ex_1_24.sce
//Example 1.24.// calculate the time altitude clc; clear; close; //given data : h=2500; // height in meter t1=8; // in seconds a=5; // rate of rise balloon in m/s b=30; // temprerature indicated at an altiude of 2500 m in celcius c=.011; // rate of temperature variation with altitude in celcius/meter y=c*a; Ed=y*t1; E=Ed/c; A=h-E; disp(A,"actual altitude,A(meter) = ")
73b4f932d2b045a6bdd09841754ee6e18de48fda
449d555969bfd7befe906877abab098c6e63a0e8
/1859/CH2/EX2.9/exa_2_9.sce
64083250b9c13bea65fbff7101151215e257aaa3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
283
sce
exa_2_9.sce
// Exa 2.9 clc; clear; close; // Given data epsilon_r= 1/100; P=1000;// in watt del_P= epsilon_r*P;// in watt // The magnitude of the power being measured is 100 watts. PerLimitError= del_P/100*100;// in % disp(PerLimitError,"The percentage limiting error at 1000 watt ")
11cc9b448c5aa7c954a671251a7ad2114ac73e8d
449d555969bfd7befe906877abab098c6e63a0e8
/2615/CH24/EX112.1/112.sce
1f58d43f94785fb0c7c6596c95e33c8761428e8b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
309
sce
112.sce
clc //initialisation of variables clear n=200//rpm N1=18//hp N2=12//hp N3=6//hp R=400//kg/cm^2 w=71620//cm q=0.2//cm //CALCULATIONS D1=((w/(0.2*R))*(N2/n))^(1/3)*10 D2=((w/(0.2*R))*(N3/n))^(1/3)*10 //RESULTS printf ('Diameter of Shaft = %.f mm',D1) printf ('\n Diameter of Shaft = %.f mm',D2)
26d9f077d39d8c6b3cad4a35950d8cad64ef07a4
e964e170c140080bfdc45c1e423e436b86d7c1b7
/Titration and demo/2 demo SHOCKS/EP_demo.sce
8d5bb346ba834a776a36b7b7b53621829199a53c
[]
no_license
GNilsonne/gebra_stim
647b6b8663bf825c606ace960f3343497b4fb3ad
1ad944fc973ad296dba8502e1e10539fcc487408
refs/heads/master
2021-01-12T12:01:55.417785
2017-10-20T16:56:36
2017-10-20T16:56:36
69,223,164
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,027
sce
EP_demo.sce
#define files scenario = "EP_demo"; pcl_file = "EP_demo.pcl"; #standard settings scenario_type = fMRI; pulses_per_scan = 1; pulse_code = 115; active_buttons = 5; button_codes = 1,2,3,4,5; response_logging = log_active; # log only if response is expected response_matching = simple_matching; default_output_port = 1; # parallel port response_port_output = false; write_codes = true; pulse_width = 1; # duration of shock, will be changed in pcl default_background_color = 100, 100, 100; # gray default_font_size = 40; default_text_color = 255,255,255; default_font = "Arial"; ##################################################### begin; ##################################################### #Stimuli picture {} default; picture {text {caption = "+"; font_size=100; font_color = 255,255,255,;}; x=0;y=0;} fixation_cross; TEMPLATE "template.tem"; text { caption = "XXX"; font_size =20; preload = false; } gap; # RANGE OF RATING SCALE # array{ text {caption = "0";}; text {caption = "100";}; } number; # QUESTION ABOVE RATING SCALE # array{ text { caption = "Hur ont gjorde det?";}; text { caption = "Hur obehagligt var det för dig?";}; } questions; # RATING SCALE # picture { box { height = 10; width = 200; color = 255,255,255; }; x = 0; y = 0; box { height = 50; width = 5;color = 255,255,255; }; x = 0; y = 0; text gap; x = -200; y = 0; text gap; x = 200; y = 0; text gap; x=0; y=150; }scale; ####################################################### # Define trials ####################################################### # FIXATION CROSS # trial { all_responses = false; trial_duration = stimuli_length; trial_type = fixed; stimulus_event{ picture fixation_cross; time = 0; duration = 4000; code="fixation_cross"; } ev_fixation_cross; } tr_fixation_cross; # BLANK SCREEN # trial { all_responses = false; trial_duration = stimuli_length; trial_type = fixed; stimulus_event{ picture default; time = 0; duration = 4000; code="blank"; } ev_blank; } tr_blank; # CONDITION TRIAL # trial { trial_duration = stimuli_length; trial_type = fixed; all_responses = false; stimulus_event{ #condition picture { text {caption = "condition";}; x = 0; y = 0; } pic_condition; time=0; duration = 500; code = "condition"; } ev_condition; }tr_condition; # SHOCK # trial { trial_duration = stimuli_length; trial_type = fixed; all_responses = false; stimulus_event{ #shock picture picture { text {caption = "condition";}; x = 0; y = 0; } pic_shock; time=0; duration = 2000; code = "shockpic"; } ev_shockpic; stimulus_event{ nothing {}; code = "Shock"; deltat = 0; #port_code = 1; code_width = 1; # Will be changed in pcl } ev_shock; } tr_shock; # RATING SCALE # trial { all_responses = true; trial_duration = stimuli_length; trial_type = fixed; } tr_rate; #########################
0802471233fdd5a15def1bc09d9ca44ec7990767
449d555969bfd7befe906877abab098c6e63a0e8
/1394/CH9/EX9.3.1/Ex9_3_1.sce
780a5897dc84a41f5c11da420666ade4d0040e19
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
808
sce
Ex9_3_1.sce
clc //initialization of variables const = 0.5 // The part of flow in the system which bypasses the region where the mass transfer occurs v1 = 1 // cm/sec al = 10^3 k = 10^-3 // cm/sec v2 = 3 // cm/sec //Calculations C1byC10first = const + (1-const)*(exp(-k*al/v1))// c1/c10 appk1 = (v1/al)*(log(1/C1byC10first))// Apparent m.t.c for first case in cm/sec C1byC10second = const + (1-const)*(exp(-(sqrt(3))*k*al/v2))//c1/c10 in second case appk2 = (v2/al)*log(1/C1byC10second)// apparent m.t.c for second case in cm/sec power = log(appk2/appk1)/log(v2/v1) //Results printf("The apparent m.t.c for the first case is %.2e cm/sec",appk1) printf("\nThe apparent m.t.c for the second case is %.2e cm/sec",appk2) printf("\nThe apparent is proportional to the power of %.2f of the velocity",power)
50b610e055aaddb81f886517bafd9a42f5f40967
449d555969bfd7befe906877abab098c6e63a0e8
/1664/CH8/EX8.7/Ex8_7.sce
b17cd2bbeb32b35e2df662b086ce283b179265ff
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
304
sce
Ex8_7.sce
//Example No.8.7. //Page No.233. clc;clear; h = 6.62*10^(-34);//Planck's constant -[J s]. m = 9.1*10^(-31);//mass -[kg]. Efo = 5.5*1.6*10^(-19);//Fermi energy. n = ((2*m*Efo)^(3/2))*(8*(%pi))/(3*(h^(3))); printf("\nThe concentration of free electrons per unit volume of silver is %3.3e m^-3",n);
9817fd7821b568aecc03cb81c125f42d907f972a
449d555969bfd7befe906877abab098c6e63a0e8
/623/CH21/EX4.4.2/U4_C4_2.sce
07a3b226fc472c7fc03c983cbb1d6f2ff2c2d2f9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
868
sce
U4_C4_2.sce
//variable initialization e=1.6*10^-19; //charge of electron (Coulomb) B=1 //magnetic field (Tesla) lembda=612*10^-9; //wavelength of the line (m) m=9.1*10^-31; //mass of electron (kg) c=3*10^8; //speed of light (m/s) //calculation dlembda1=(e*B*lembda^2*10^10)/(4*%pi*m*c); //normal Zeeman splitting (Å) dlembda2=2*dlembda1; //Separation of outer lines (Å) printf("\nSeparation of outer lines = %.2f Å",dlembda2);
2300abc95187b3021fa0c27c61b2f1dc411d07f0
449d555969bfd7befe906877abab098c6e63a0e8
/761/CH23/EX23.3/23_3.sce
bfd2d013c5c34eafadb02e7608a4adeeb1dbd095
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
207
sce
23_3.sce
clc; // page no 871 // prob no 23.3 // for the Bluetooth system fh_max=1/(625*10^-6); fh_min=1/(5*625*10^-6); disp('Hz',fh_min,'The minimum hopping rate is','Hz',fh_max,'The maximum hopping rate is ');
bac34aa0e5662f58b501c1ecd9b30768ef2c15ca
1bb72df9a084fe4f8c0ec39f778282eb52750801
/test/proof.prev.tst
2493e0e5ba99c9002e1ebbf19b67dc5187b6fa55
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
gfis/ramath
498adfc7a6d353d4775b33020fdf992628e3fbff
b09b48639ddd4709ffb1c729e33f6a4b9ef676b5
refs/heads/master
2023-08-17T00:10:37.092379
2023-08-04T07:48:00
2023-08-04T07:48:00
30,116,803
2
0
null
null
null
null
UTF-8
Scilab
false
false
619
tst
proof.prev.tst
TBI1:Proof [1] mod 2: 2+a^2+b^2 TBI2:Proof [1] mod 2: -2+a^2+b^2 TE33:Proof [1] mod 3: a^3+2b^3+4c^3-9d^3 TEC3:Proof [1] mod 2: 2+2x+x^2-3y-3y^2-y^3 TF33:Proof [3] mod 3: a^3+3b^3-9c^3 TF35:Proof [1] mod 2: a^3+2b^3-4c^3 TFB2:Proof [1] mod 2: a^2+b^2+c^2-b^2*c^2 TM23:Proof [1] mod 2: -4-4x+x^2-4y-4x*y+y^2-4z-4x*z-4y*z-2x*y*z+z^2 TM41:Proof [1] mod 2: x^2+y^2-4x*y*z+z^2 TP13:Proof [2] mod 2: a^2+b^2-3c^2-3d^2 TP22:Proof [1] mod 2: x^2+y^2-3z^2 TP23:Proof [1] mod 2: -3+x^2+y^2-4z TPE3:Proof [1] mod 3: -9+15x^2-7y^2 TPE6:Proof [1] mod 5: -9+15x^2-7y^2 TQR1:Proof [1] mod 2: -p^2+2q^2 TQR2:Proof [2] mod 2: -p^2+5q^2
af091c86f47e767b60972e0b9e52a71427a97ba5
717ddeb7e700373742c617a95e25a2376565112c
/1445/CH2/EX2.29/Ex2_29.sce
e09038cf495d86323de30bf08e3b3807c2b01a20
[]
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
762
sce
Ex2_29.sce
//CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT //Example 29 // read it as example 28 in the book on page 2.83 disp("CHAPTER 2"); disp("EXAMPLE 29"); // //i=120.si(2.pi.f.t) //VARIABLE INITIALIZATION I=120; //Amplitude in Amps f=60; //Hz t1=1/360; //in sec time to find amplitude i2=96; //in Amps ,2 to find time taken to reach this //SOLUTION //i=Isin(wt) //solution (a) w=2*%pi*f; i=I*sin(w*t1); disp("SOLUTION (a)"); disp(sprintf("The amplitude at time %.3f sec is %.1f Amp", t1,i)); //solution (b) t2=(asin(i2/I))/w; disp("SOLUTION (b)"); disp(sprintf("The time taken to reach %2.0f Amp is %.5f Sec", i2,t2)); disp(" "); // //END
30f71ee7afcd17264b45b11d8bdcc475650a0332
449d555969bfd7befe906877abab098c6e63a0e8
/3782/CH3/EX3.15/Ex3_15.sce
0d2598d1333decf082c1c9ffcd9a6958864e034c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
776
sce
Ex3_15.sce
// // //given interiorB=540/5 FB_AB=30+(0/60) FB_BC=FB_AB+180+interiorB FB_CD=FB_BC-180+interiorB FB_DE=FB_CD-180+interiorB FB_EA=FB_DE+180-360+interiorB FB_AB=FB_EA+180-360+interiorB //convert into mins and degrees deg1=int(FB_AB) mins1=(FB_AB-deg1)*60 deg2=int(FB_BC) mins2=(FB_BC-deg2)*60 deg3=int(FB_CD) mins3=(FB_CD-deg3)*60 deg4=int(FB_DE) mins4=(FB_DE-deg4)*60 deg5=int(FB_EA) mins5=0 deg6=int(FB_AB) mins6=0 printf("\nFB_AB %0.3f degrees %0.3f minutes W",deg1,mins1) printf("\nFB_BC %0.3f degrees %0.3f minutes W",deg2,mins2) printf("\nFB_CD %0.3f degrees %0.3f minutes W",deg3,mins3) printf("\nFB_DE %0.3f degrees %0.3f minutes W",deg4,mins4) printf("\nFB_EA %0.3f degrees %0.3f minutes W",deg5,mins5) printf("\nFB_AB %0.3f degrees %0.3f minutes W",deg6,mins6)
bb9377f41b30b88c41d0fcaa06b5ed951df765d8
1573c4954e822b3538692bce853eb35e55f1bb3b
/DSP Functions/zpkrateup/test_4.sce
3ad9a2a908ba8bb995859f2ea9bc1bc058b6434a
[]
no_license
shreniknambiar/FOSSEE-DSP-Toolbox
1f498499c1bb18b626b77ff037905e51eee9b601
aec8e1cea8d49e75686743bb5b7d814d3ca38801
refs/heads/master
2020-12-10T03:28:37.484363
2017-06-27T17:47:15
2017-06-27T17:47:15
95,582,974
1
0
null
null
null
null
UTF-8
Scilab
false
false
162
sce
test_4.sce
// Test # 4 : Incorrect number of output Arguments exec('./zpkrateup.sci',-1); [z,p,k,n,d,e]=zpkrateup(3,2,8,2); //!--error 59 //Wrong number of output arguments
74e8efb5a10680e25cf7b4f9d4e2963f729f7d1b
7f053b29173fd886cfb3520199a442fe76b4f8bb
/paredes.sce
a3695a78794a037eb3a792388f3573b97b7463d6
[]
no_license
erickcampos50/HVAC
26052b9720b79400c15afb9ea5fdf1c17c00da78
c9544ebb4911461e3c996bbfd6278c47946991dc
refs/heads/master
2019-01-02T01:46:06.365422
2015-02-02T19:30:33
2015-02-02T19:30:33
29,926,761
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,633
sce
paredes.sce
function [q_cond_total,q_cond_pico,ang_incid]=parede(surf_azim,surf_incl,cts_wall_brick_sel,U,A,alpha) //Constantes para calculo da temperatura Sol-ar h0 = 17 emitanc = 0 DeltaR = 63 q_cond_conv = 0.54 //Constante que define a parcela convectiva e radiativa usada para calculo do calor devido a conducao. Referencia Ashrae 18.23 Tab 14 //A partir desse ponto inicia o calculo especifico para superficies surf_sol_azim(1,:) = phi-surf_azim ang_incid = acosd(cosd(Beta).*cosd(surf_sol_azim)*sind(surf_incl) + sind(Beta)*cosd(surf_incl)) //Angulo de incidencia, é o angulo entre a superficie e os raios com incidencia direta, faz diferenca no calculo da radiacao direta //Testado e Funcionando //ang_incid gera um vetor com angulo de incidencia para 24h //==========================================================================// //Calculo da radiacao incidente em cada superficie for lst=1:24 if ang_incid(lst) >90 | ang_incid(lst) <-90 then ang_incid(lst) = 90 end//Ang incidencia maior que 90 significa que nenhum raio de sol inide direamente, esse laço evita que valores negativos de Et_b surjam //A resultante deve ser um vetor considerando todas as 24h alem de cada superficie Y(lst) = max(0.45, 0.55 + 0.437*cosd(ang_incid(lst)) + 0.313*cosd(ang_incid(lst))^2) Et_b(lst) = Eb(lst)*cosd(ang_incid(lst))//incidencia direta na superficie if surf_incl <= 90 then Et_d(lst) = Ed(lst)*(Y(lst)*sind(surf_incl) + cosd(surf_incl)) //incidencia indireta else Et_d(lst) = Ed(lst)*Y(lst)*sind(surf_incl) end Et_g(lst) = (Eb(lst)*sind(Beta(lst)) +Ed(lst))*rho*(1-cosd(surf_incl))/2 //incidencia a partir do chao (ground) Etotal(lst) = Et_b(lst) + Et_d(lst) + Et_g(lst) //Incidencia total end //=============================================================================// //CALCULO DA CARGA TERMICA PARA AS PAREDES //Esse calculo deve ser feito para todas as paredes, posteriormente essa estrutura tem que mudar para computar todas as paredes automaticamente //A primeira etapa é calcular a temperatura sol-ar for i = 1:24 T_sol_ar(i) = temp_amb(i,1) + alpha*real(Etotal(i))/h0 - emitanc*DeltaR/h0; end //A temperatura Sol-ar é util pra calcular a transferencia de calor por conducao hora a hora //A Temperatura ambiente deve ser consultada a partir de dados metereologicos ou pelo metodo de calculo em 18.37. Na duvida usar os dados de Atlanta, que possui clima semelhante à de GV no Verão //O valor de alpha, solar absortance está disponivel em Ashrae 18.23 //h0 coefficient of heat transfer by long-wave radiation sera adotado >>> 17 <<<< devido a falta de informacoes mais precisas //emitanc é hemispherical emittance of surface é >>> 1 <<< para superficies horizontais e >>> 0 <<< para verticais //DeltaR é difference between long-wave radiation incident on surface from sky and surroundings and radiation emitted by blackbody at outdoor air temperature. Valor >>>> tipico = 63 <<< //CALCULO DO PERFIL DE TRANSFERENCIA DE CALOR POR CONDUCAO PRA 24H for i =1:24 q_cond(i) = U*A*(T_sol_ar(i)-t_const) end //CALCULO DO PERFIL DE CALOR COM A COMPOSICAO DA PARCELA ACUMULADA DAS HORAS ANTERIORES //EQUIVALENTE AO QUE FOI FEITO PARA RTS LOGO ACIMA for i=1:24 cts1= wall_cts_brick (1:i,cts_wall_brick_sel); cts1=cts1($:-1:1,1); cts2= wall_cts_brick (i+1:24,cts_wall_brick_sel); cts2=cts2($:-1:1,1); cts = cat(1,cts1,cts2) q_cond_cts(i) = sum(q_cond.*cts/100) end q_cond_cts_conv = q_cond_cts*q_cond_conv //Essa multiplicacao separa as porcoes convectiva e radiativa. q_cond_conv é o fator baseado em Ashrae 18.23 table 14. A multiplicacao nao foi feita no laço anterior porque o vetor q_cond_cts precisa se manter inalterado para a parcela radiativa //Calculo do perfil de transferencia radiativa a partir do perfil de conducao. A recomendacao é utilizar Non Solar RTS Ashrae 18.39 rts_cond_sel = 2 //O valor depende do tipo de construcao, nao precisa ser adequado a cada elemento componente da estrutura for i=1:24 rts1= non_solar_rts_medium(1:i,rts_cond_sel); rts1=rts1($:-1:1,1); rts2= non_solar_rts_medium(i+1:24,rts_cond_sel); rts2=rts2($:-1:1,1); rts = cat(1,rts1,rts2) q_cond_cts_rad(i) = sum(q_cond_cts.*rts*(1-q_cond_conv)/100) end q_cond_total = q_cond_cts_rad+q_cond_cts_conv// Valor depois deve ser calculado para cada elemento [q_cond_pico(1),q_cond_pico(2)] = max(q_cond_total) //Esse vetor armazena o valor do pico e o momento em que acontece com o proposito de dimensionamento e analise posteriormente endfunction
c0b4aefbf2bfa609f541d80bd6385c199b26d429
449d555969bfd7befe906877abab098c6e63a0e8
/2498/CH6/EX6.13/ex6_13.sce
ba4e8f5e0f4f11a58688933cff3b8c3fa2a0f207
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
332
sce
ex6_13.sce
// Exa 6.13 clc; clear; close; format('v',6) // Given data Va = 6;// in V Vb = -3;// in V Vc = -0.75;// in V Ra = 10;// in k ohm Rb = 2.5;// in k ohm Rc = 4;// in k ohm R_F = 10;// in k ohm // The output voltage Vo = (-((R_F/Ra)*Va)) -(((R_F/Rb)*Vb)) -(((R_F/Rc)*Vc));// in V disp(Vo,"The output voltage in V is");
08c5a4bf2ead2159be85744a04cf3aefeaf0dd86
449d555969bfd7befe906877abab098c6e63a0e8
/3012/CH8/EX8.3/Ex8_3.sce
7026ee1e2ea12211df3bbaaed67f0f947ed0539f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,163
sce
Ex8_3.sce
// Given:- clc; T1 = 480.0 // temperature of steam entering the first stage turbine in degree celcius p1 = 8.0 // pressure of steam entering the first stage turbine in MPa p2 = 0.7 // pressure of steam exiting the first stage turbine in MPa T3 = 440.0 // temperature of steam before entering the second stage turbine Pcond = 0.008 // condenser pressure in MPa Wcycledot = 100.0 // the net power output in MW // Analysis // From table A-4 h1 = 3348.4 // in kj/kg s1 = 6.6586 // in kj/kg.k s2 = s1 // isentropic expansion through the first-stage turbine // From table A-3 sf = 1.9922 // in kj/kg.k sg = 6.708 // in kj/kg.k hf = 697.22 // in kj/kg hfg = 2066.3 // in kj/kg // Calculations x2 = (s2-sf)/(sg-sf) h2 = hf + x2*hfg // State 3 is superheated vapor with p3 = 0.7 MPa and T3=  440C, so from Table A-4 h3 = 3353.3 // in kj/kg s3 = 7.7571 // in kj/kg.k s4 = s3 // isentropic expansion through the second-stage turbine // For determing quality at state 4,from table A-3 sf = 0.5926 // in kj/kg.k sg = 8.2287 // in kj/kg.k hf = 173.88 // in kj/kg hfg = 2403.1 // in kj/kg // Calculations x4 = (s4-sf)/(sg-sf) h4 = hf + x4*hfg // State 5 is saturated liquid at 0.008 MPa, so h5 = 173.88 // The state at the pump exit is the same as in Example 8.1, so h6 = 181.94 // Part(a) eta = ((h1-h2)+(h3-h4)-(h6-h5))/((h1-h6)+(h3-h2)) // Result printf( '\n The thermal efficiency of the cycle is: %.2f',eta) // Part(b) mdot = (Wcycledot*3600*10**3)/((h1-h2)+(h3-h4)-(h6-h5)) printf( '\n The mass flow rate of steam, is: %.2f kg/h.',mdot) // Part(c) Qoutdot = (mdot*(h4-h5))/(3600*10**3) printf('\nThe rate of heat transfer Qoutdot from the condensing steam as it passes through the condenser, is %.2f MW',Qoutdot)
5c39858d18525c4968be0fd54960912e6666de6b
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%p_q_r.sci
1ca26297a792d588ef192a9039fc693d3b9eff86
[ "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
130
sci
%p_q_r.sci
function r=%p_q_r(p,r) // r= p.\ r polynomial./rational //! // Copyright INRIA r=rlist(ones(p).*r('num'),p.*r('den'),r('dt'))
e010e3ef3ab48f0c0674fa1a197432d40839af3f
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/macros/percent/%s_r_p.sci
a04f3ef1fb511d9abe776bf2981bc6072d1a3bef
[ "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
355
sci
%s_r_p.sci
function f=%s_r_p(m,p) //f=M/p M:scalar matrix p=polynomial //! // Copyright INRIA [mp,np]=size(p) if mp*np<>1 then f=m*invr(p), else [l,c]=size(m) if m<>[] then m=m+poly(0,varn(p),'c'),end if mp==-1&l*c==1|l==-1 then f=tlist(['r','num','den','dt'],m,p*eye(),[]) else f=simp(tlist(['r','num','den','dt'],m,p*ones(l,c),[])) end end
5114ff7539641b217a1f3e38f2b7b9b24186f7d6
449d555969bfd7befe906877abab098c6e63a0e8
/2135/CH2/EX2.23/Exa_2_23.sce
0e635542077ee6860e6f5e6b58cc0e501b95d3be
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
565
sce
Exa_2_23.sce
//Exa 2.23 clc; clear; close; format('v',7); //Given Data : m=2;//Kg Q=0;//KJ(because of adiabatic process) p1=1;//Mpa p1=p1*10^6/1000;//Kpa t1=200;//degree centigrade T1=t1+273;//kelvin p2=100;//Kpa n=1.2; R=0.196;//KJ/KgK T2=T1*(p2/p1)^((n-1)/n);//kelvin t2=T2-273;//degree centigrade u1=196+0.718*t1;//KJ u2=196+0.718*t2;//KJ deltau=u2-u1;//KJ deltaU=m*deltau;//KJ disp(deltaU,"Change in internal energy in KJ : "); W=Q-deltaU;//KJ disp(W,"Work transfer in KJ : "); W1=m*R*(T1-T2)/(n-1);//KJ disp(W1,"Displacement work in KJ : ");
e3ad5bdfa2403e633b8a8f0d137f30f94182c944
449d555969bfd7befe906877abab098c6e63a0e8
/3768/CH8/EX8.9/Ex8_9.sce
50c7d40f84c69cab8baa1dda6ba6b72a1ce0e08d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
333
sce
Ex8_9.sce
//Example number 8.9, Page number 173 clc;clear; close; //Variable declaration A=100; //area(m**2) B=0.01; //flux density(wb/m**2) H=40; //magnetic field(amp/m) M=7650; //atomic weight(kg/m**3) //Calculation h=A*B*H; //hysteresis loss per cycle(J/m**3) //Result printf("hysteresis loss per cycle is %.f J/m^3",h)
9e57e5f662b35be24e92a75cbb64b774f5b1b5d5
449d555969bfd7befe906877abab098c6e63a0e8
/1664/CH11/EX11.1/Ex11_1.sce
772446c63c6b78f9f02bbacab0fb5ac4efc67f5e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
346
sce
Ex11_1.sce
//Example NO.11.1 //Page No.335 //To find dielectric constant of the material clc;clear; C = (10^-9);//Capacitance -[F]. d = (2*10^-3);//Distance of separation -[m]. E0 = (8.854*10^-12); A = (10^-4);//Area of capacitor -[m^2] Er = ((C*d)/(E0*A));//Dielectric constant. printf("\nThe dielectric constant of the material is %.2f",Er);
d5df5910daf8b664880815059d505a2008af8775
449d555969bfd7befe906877abab098c6e63a0e8
/331/DEPENDENCIES/Add.sce
df71b04b97ebd52b21a31dc2dd135aa20bea8363
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
76
sce
Add.sce
function summation = add(x,y) summation = x+y endfunction
e3e9d424cd791fed023705c677479328449fec9b
449d555969bfd7befe906877abab098c6e63a0e8
/1820/CH9/EX9.11/Example9_11.sce
31f34cbbb1f1a9315a02c8de0c73a6b60b083b00
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,575
sce
Example9_11.sce
// ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN // TURAN GONEN // CRC PRESS // SECOND EDITION // CHAPTER : 9 : SYMMETRICAL COMPONENTS AND FAULT ANALYSIS // EXAMPLE : 9.11 : clear ; clc ; close ; // Clear the work space and console // GIVEN DATA kv = 230 ; // Line voltage in kV from Exa 9.9 Z_0 = 0.56*%i ; // Zero-sequence impedance in pu Z_1 = 0.2618*%i ; // Zero-sequence impedance in pu Z_2 = 0.3619*%i ; // Zero-sequence impedance in pu z_f = 5 ; // Fault impedance in Ω v = 1*exp(%i*0*%pi/180) ; // a = 1*exp(%i*120*%pi/180) ; // By symmetrical components theory to 3-Φ system A = [1 1 1; 1 a^2 a ;1 a a^2] ; // CALCULATIONS // For case (b) I_a0 = 0 ; // Sequence current in A Z_B = kv^2/200 ; // Base impedance of 230 kV line Z_f = z_f/Z_B ; // fault impedance in pu I_a1 = v/(Z_1 + Z_2 + Z_f) ; // Sequence current in pu A I_a2 = - I_a1 ; // Sequence current in pu A I_f = [A] * [I_a0 ; I_a1 ; I_a2] ; // Phase current in pu A // For case (c) V_a = [0 ; v ; 0]-[Z_0 0 0 ; 0 Z_1 0 ; 0 0 Z_2]*[I_a0 ; I_a1 ; I_a2] ; // Sequence voltages in pu V V_f = A*V_a ; // Phase voltages in pu V // For case (d) V_abf = V_f(1,1) - V_f(2,1) ; // Line-to-line voltages at fault points in pu V V_bcf = V_f(2,1) - V_f(3,1) ; // Line-to-line voltages at fault points in pu V V_caf = V_f(3,1) - V_f(1,1) ; // Line-to-line voltages at fault points in pu V // DISPLAY RESULTS disp("EXAMPLE : 9.11 :SOLUTION :-") ; printf("\n (b) Sequence currents are , \n") ; printf("\n I_a0 = %.f pu A ",I_a0) ; printf("\n I_a1 = %.4f<%.2f pu A ",abs(I_a1),atand( imag(I_a1),real(I_a1) )) ; printf("\n I_a2 = %.4f<%.2f pu A ",abs(I_a2),atand( imag(I_a2),real(I_a2) )) ; printf("\n \n Phase currents are , [I_af ; I_bf ; I_cf] = pu A \n") ; printf("\n %.4f<%.1f ",abs(I_f),atand(imag(I_f),real(I_f) )) ; printf("\n \n (c) Sequence voltages are , [V_a0 ; V_a1 ; V_a2] = pu V \n") ; printf("\n %.4f<%.1f ",abs(V_a),atand(imag(V_a),real(V_a) )) ; printf("\n \n Phase voltages are , [V_af ; V_bf ; V_cf] = pu V \n") ; printf("\n %.4f<%.1f ",abs(V_f),atand(imag(V_f),real(V_f) )) ; printf("\n \n (d) Line-to-line voltages at the fault points are \n") ; printf("\n V_abf = %.4f<%.1f pu V \n",abs(V_abf),atand( imag(V_abf),real(V_abf) )) ; printf("\n V_bcf = %.4f<%.1f pu V \n",abs(V_bcf),atand( imag(V_bcf),real(V_bcf) )) ; printf("\n V_caf = %.4f<%.1f pu V \n",abs(V_caf),atand( imag(V_caf),real(V_caf) )) ; printf("\n \n NOTE : ERROR : Minor calclation mistake in textbook ") ;
c0ad8f15714345faedfd0f6b3deb71c5da59ac53
449d555969bfd7befe906877abab098c6e63a0e8
/3392/CH2/EX2.7/Ex2_7.sce
c4290afff382bc0345d9fded90e34ba344e916d7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
176
sce
Ex2_7.sce
clc // initialization of variables clear tau_max=160 //MPa S_max=0 //S_min=-S_o S_min=S_max-2*tau_max S_o=-S_min printf('part (a)') printf('\n Sigma_o = %d MPa',S_o)
c1e422a472260e12fbcc278546b427a34ccd95be
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects - Kopie/CONT/FC30HVJ/ATWM1_Working_Memory_MRI_FC30HVJ/ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce
6f97a1e47a2b9ccc6b3eb2b8da1b6ac90f2eae12
[]
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
12,442
sce
ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce
# ATWM1 MRI Experiment scenario = "ATWM1_Working_Memory_MRI_salient_cued_run1"; scenario_type = fMRI; # Fuer Scanner #scenario_type = fMRI_emulation; # Zum Testen #scenario_type = trials; 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 = 28; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; #write_codes=true; # for MEG only begin; #Picture definitions box { height = 300; width = 300; color = 0, 0, 0;} frame1; box { height = 290; width = 290; 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 = 290; width = 290; color = 128, 128, 128;} 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; # 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 = 9400; mri_pulse = 1; code = "BaselinePre"; #port_code = 1; }; TEMPLATE "ATWM1_Working_Memory_MRI.tem" { trigger_volume_encoding trigger_volume_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; 6 11 292 292 399 125 9543 2992 12342 fixation_cross gabor_085 gabor_154 gabor_041 gabor_175 gabor_085_alt gabor_154_alt gabor_041 gabor_175 "1_1_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_085_154_041_175_target_position_1_2_retrieval_position_2" gabor_circ gabor_154_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_1_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 19 24 292 292 399 125 9543 2992 12342 fixation_cross gabor_002 gabor_027 gabor_090 gabor_110 gabor_002 gabor_027 gabor_090_alt gabor_110_alt "1_2_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_002_027_090_110_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_110_framed blank blank blank blank fixation_cross_target_position_3_4 "1_2_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_110_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 32 37 292 292 399 125 9543 2992 12342 fixation_cross gabor_087 gabor_043 gabor_175 gabor_013 gabor_087_alt gabor_043_alt gabor_175 gabor_013 "1_3_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_087_043_175_013_target_position_1_2_retrieval_position_1" gabor_087_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_3_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 45 51 292 292 399 125 11543 2992 12342 fixation_cross gabor_029 gabor_116 gabor_153 gabor_005 gabor_029_alt gabor_116 gabor_153_alt gabor_005 "1_4_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_029_116_153_005_target_position_1_3_retrieval_position_1" gabor_075_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_4_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_075_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 59 64 292 292 399 125 9543 2992 14342 fixation_cross gabor_071 gabor_097 gabor_044 gabor_021 gabor_071_alt gabor_097 gabor_044 gabor_021_alt "1_5_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_300_300_399_9601_3000_14400_gabor_patch_orientation_071_097_044_021_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_044_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_5_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_044_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 73 78 292 292 399 125 9543 2992 14342 fixation_cross gabor_136 gabor_115 gabor_063 gabor_031 gabor_136_alt gabor_115 gabor_063 gabor_031_alt "1_6_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_136_115_063_031_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_171_framed blank blank blank blank fixation_cross_target_position_1_4 "1_6_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_171_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 87 93 292 292 399 125 11543 2992 14342 fixation_cross gabor_035 gabor_086 gabor_067 gabor_153 gabor_035_alt gabor_086 gabor_067 gabor_153_alt "1_7_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_035_086_067_153_target_position_1_4_retrieval_position_1" gabor_173_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_7_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 102 107 292 292 399 125 9543 2992 14342 fixation_cross gabor_100 gabor_058 gabor_077 gabor_014 gabor_100_alt gabor_058 gabor_077_alt gabor_014 "1_8_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_100_058_077_014_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_032_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_8_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_032_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 116 122 292 292 399 125 11543 2992 14342 fixation_cross gabor_019 gabor_145 gabor_036 gabor_100 gabor_019_alt gabor_145 gabor_036 gabor_100_alt "1_9_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_UncuedRetriev_300_300_399_11601_3000_14400_gabor_patch_orientation_019_145_036_100_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_175_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_9_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_175_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 131 137 292 292 399 125 11543 2992 14342 fixation_cross gabor_130 gabor_041 gabor_022 gabor_171 gabor_130 gabor_041_alt gabor_022_alt gabor_171 "1_10_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_130_041_022_171_target_position_2_3_retrieval_position_2" gabor_circ gabor_088_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_10_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_088_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 146 152 292 292 399 125 11543 2992 12342 fixation_cross gabor_132 gabor_147 gabor_010 gabor_174 gabor_132 gabor_147_alt gabor_010_alt gabor_174 "1_11_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_132_147_010_174_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_010_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_11_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 160 166 292 292 399 125 11543 2992 12342 fixation_cross gabor_180 gabor_052 gabor_004 gabor_109 gabor_180_alt gabor_052 gabor_004_alt gabor_109 "1_12_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_300_300_399_11601_3000_12400_gabor_patch_orientation_180_052_004_109_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_109_framed blank blank blank blank fixation_cross_target_position_1_3 "1_12_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_109_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 174 179 292 292 399 125 9543 2992 12342 fixation_cross gabor_092 gabor_172 gabor_004 gabor_054 gabor_092_alt gabor_172 gabor_004 gabor_054_alt "1_13_Encoding_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_092_172_004_054_target_position_1_4_retrieval_position_1" gabor_141_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_13_Retrieval_Working_Memory_MRI_P2_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_141_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 187 192 292 292 399 125 9543 2992 14342 fixation_cross gabor_118 gabor_053 gabor_036 gabor_087 gabor_118_alt gabor_053 gabor_036_alt gabor_087 "1_14_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_118_053_036_087_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_036_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_14_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_036_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 201 207 292 292 399 125 11543 2992 14342 fixation_cross gabor_040 gabor_061 gabor_097 gabor_076 gabor_040 gabor_061 gabor_097_alt gabor_076_alt "1_15_Encoding_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_040_061_097_076_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_097_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_15_Retrieval_Working_Memory_MRI_P2_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_097_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; }; # 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 = 20600; code = "BaselinePost"; #port_code = 2; };
83847aad9e0e335c7d34b1bba574e722c3023045
449d555969bfd7befe906877abab098c6e63a0e8
/24/CH43/EX43.3/Example43_3.sce
fa8c6e33ce46810149aeb6244d7ffdf93498a110
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
433
sce
Example43_3.sce
//Given that Nn = 70 Np = 50 A = Nn+Np //Sample Problem 43-3 txt = mopen('Example43_3_result.txt','wt') mfprintf(txt, '**Sample Problem 43-3**\n') Msn = 119.902199 //in Atomic mass unit uCsqure = 931.5 //in Mev Mp = 1.007825 //in Atomic mass unit Mn = 1.008625 //in Atomic mass unit deltaE = (Np*Mp + Nn*Mn - Msn)*uCsqure/A mfprintf(txt, 'The binding energy per nucleon of Sn is %fMev/nucleon', deltaE) mclose(txt)
f37781aa4b66bf09ebf1898460affec152535b04
449d555969bfd7befe906877abab098c6e63a0e8
/3638/CH18/EX18.6/Ex18_6.sce
40733888384392dd65a326278fee30d4cbc4a89b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
834
sce
Ex18_6.sce
//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999 //Example 18.6 //OS=Windows XP sp3 //Scilab version 5.5.2 clc; clear; //given b=62.5e-6;//Fiber radius in m R=20e-2;//Loop radius in m lambda0=633e-9;//Wavelength in m C=0.133;//Value of constant C for a silica fiber at 633 nm V=4.6e-6;//Verdet constant for silica in rad/A N=30;//Number of turns of fiber I=1;//Current through the fiber in A Delta=((2*%pi)^2)*R*N*(-C*(b/R)^2)/lambda0;//The Corresponding dimensionless birefringence mprintf("\n Delta= %.2f rad",Delta);//The negative sign indicates that the polarization of the slow wave is perpendicular to the optic axis Theta=V*N*I;//Corresponding rotation of plane of polarization in rad mprintf("\n Theta= %.2e rad",Theta);//The answers vary due to round off error
79f6124c8859a6356f7fd29611f35b733b0b76ec
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/enbw/enbw3.sce
172207d0fe1fa661dbd59603cd9e574e531f635b
[]
no_license
deecube/fosseetesting
ce66f691121021fa2f3474497397cded9d57658c
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
refs/heads/master
2021-01-20T11:34:43.535019
2016-09-27T05:12:48
2016-09-27T05:12:48
59,456,386
0
0
null
null
null
null
UTF-8
Scilab
false
false
113
sce
enbw3.sce
//check o/p when i/p is a row vector win=[1 2 3 4 6 7]; en=enbw(win,44.1e3); disp(en); //output // 9586.9565
e7444149baa50d3bf96ef334e6ae4448da6edb0e
449d555969bfd7befe906877abab098c6e63a0e8
/409/CH22/EX22.2/Example22_2.sce
70cbd545f522f0e14df61caf35bccf4dc0ee6296
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,346
sce
Example22_2.sce
clear ; clc; // Example 22.2 printf('Example 22.2\n\n'); //page no. 652 // Solution // Given T1 = 80 ;// Initial temperature -[degree F] T1 = 40 ;// final temperature -[degree F] // Additional data obtained from steam table at given temperatures and corresponding vapour pressures p1 = 0.5067 ;// Initial saturation pressure-[psia] p2 = 0.1217 ;// Final saturation pressure-[psia] V1 = 0.01607 ;// Initial specific volume - [cubic feet/lb] V2 = 0.01602 ;// Final specific volume - [cubic feet/lb] H1 = 48.02 ;//Initial specific enthalpy -[Btu/lb] H2 = 8.05 ;// Final specific enthalpy -[Btu/lb] del_P = p2 - p1 ;// Change in pressure -[psia] del_V = V2 - V1 ;// Change in specific volume -[cubic feet/lb] del_H = H2 - H1 ;// Change in specific enthalpy -[Btu/lb] del_pV = p2*144*V2/778 - p1*144*V1/778 ;// Change in pv-[Btu] del_U = del_H - del_pV ;// Change in specific internal energy - [Btu/lb] del_E = del_U ;// Change in specific total energy(since KE=0,PE=0 and W=0) -[Btu/lb] printf('\nChange in pressure is %.3f psia .\n ',del_P); printf('\nChange in specific volume is %.5f cubic feet/lb (negligible value) .\n ',del_V); printf('\nChange in specific enthalpy is %.2f Btu/lb .\n ',del_H); printf('\nChange in specific internal energy is %.2f Btu/lb .\n ',del_U); printf('\nChange in specific total energy is %.2f Btu/lb .\n ',del_E);
9165ef934a3e28729cc0a021a1696d7b09e45ecc
d7087cf730b37f76170323e080c090f8094979ac
/test/eval_expr/more_3.tst
1312ecb98eecbf1a5cd8b1aa33dc210afa3797d3
[]
no_license
VladimirMeshcheriakov/42sh
025dffe358b86f48eaf7751a5cb08d4d5d5366c4
52d782255592526d0838bc40269f6e71f6a51017
refs/heads/master
2023-03-15T17:26:20.575439
2015-06-26T12:44:05
2015-06-26T12:44:05
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
114
tst
more_3.tst
<cmd> ./main_test/eval_expr_tst "1+1+0"</cmd> <ref> echo "$((1+1+0))"</ref> <stdout> 2 </stdout> <ret> 0</ret>
7b01dff092249c819d99773ef86709732ab52c3d
449d555969bfd7befe906877abab098c6e63a0e8
/671/CH8/EX8.12/8_12.sce
3090785ef4d63da0dc0c59f87fa0e05aba064200
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
374
sce
8_12.sce
P=10000 v1=2300 v2=230 a=v1/v2 f=50 r1=3.96 r2=0.0396 x1=15.8 x2=0.158 R=r1+a*a*r2 X=x1+a*a*x2 V2=v2*a I=P/V2 theta=acos(0.80) V1=V2+I*(R*cos(theta)+X*sin(theta)) disp(V1) VR=(V1-V2)/V2 disp(VR) pf=X/sqrt(R*R+X*X) theta2=acos(pf) Il=I*(cos(theta)-%i*sin(theta)) Ic=real(Il*tan(theta2))-imag(Il) Rating_Cap=V2*Ic disp(Rating_Cap) V1=V2 disp(V1)
4c2c28dd4328edb1cfe0d59e24fcc555e7f9b65c
449d555969bfd7befe906877abab098c6e63a0e8
/1019/CH7/EX7.32/Example_7_32.sce
ffc8c238912e4e4705d9b1d7456ebd28d24d8378
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
439
sce
Example_7_32.sce
//Example 7.30 clear; clc; //Given R=0.082;//gas constant in atm dm^3 K^-1 mol^-1 T=363;//temperature in K P=734;//pressure in mm Hg ww=27;//mass percent of water wA=73;//mass percent of A Pw=526;//vapour pressure of water in mm Hg //To determine the volume of the solution PA=P-Pw;//partial pressure of A in mm Hg MA=(Pw*18*wA)/(ww*PA);//molar mass of A in g mol^-1 mprintf('The molar mass of A = %i g mol^-1',MA); //end
e868b734ce24fb06bd9d4d48ac7e16392c549138
449d555969bfd7befe906877abab098c6e63a0e8
/296/CH1/EX1.3/eg1_3.sce
ad956ff42a14b0d1c71b7173b3898c7bbbb8a87f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
329
sce
eg1_3.sce
a = 5.43*10^-8; // lattice constant d = (1+4*0.25)/(a*a); //areal density on (100) plane n = 2*(6*0.5+8*0.125); //number of atoms per cube V = n/(a*a*a); //volume density disp("3)") disp(a,"lattice constant (in cm)=") disp(d,"areal density on (100) plane (in per cm square) =") disp(V,"volume density (in per cm cube) =")
10787e899c8b022986adc5b8b3c47a9b31abebb5
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.4.1/macros/util/sprintf.sci
70dd47293ca6dfa05dc4f6e38314597681885f67
[ "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
8,044
sci
sprintf.sci
function buf=sprintf(frmt,varargin) // sprintf - Emulator of C language sprintf //! // Copyright INRIA [lhs,rhs]=argn(0) kbuf=1 nv=rhs-1 if type(frmt)<>10 then error('argument must be a character string') end if prod(size(frmt))<>1 then error('argument must be a character string') end buf=emptystr() lfmt=length(frmt) il=0 count=0 // argument counter while il<=lfmt do [str,flags,width,prec,typemod,conv]=analyse_next_format() if size(str,'*')>1 then buf(kbuf)=buf(kbuf)+str(1) buf=[buf;str(2:$)];kbuf=kbuf+size(str,'*')-1 else buf(kbuf)=buf(kbuf)+str end if conv<>[] then w=varargin(count+1) // w=evstr('v'+string(count+1)) buf(kbuf)=buf(kbuf)+cformat(w,flags,width,prec,typemod,conv) count=count+1 end end function str=cformat(v,flags,width,prec,typemod,conv) scifmt=format() intf=['d','i','o','u','x','X'] floatf=['f','e','E','g','G'] strf=['c','s'] if width==[] then width=0,end //if prec==[] then prec=6,end if or(floatf==conv) then if type(v)<>1 then error('argument must be a scalar') end elseif or(intf==conv) then if type(v)<>1 then error('argument must be a scalar') end if int(v)<>v then error('argument must be an integer') end v=int(v) end mxdgt=16 cc=convstr(conv,'l') if cc=='d' then format('v',mxdgt) str=string(v) n=length(str) elseif cc=='i' then str=string(v) elseif cc=='o' then if prec==[] then prec=1,end if v==0 then if prec==0 then str=emptystr() else str=part('0',ones(1,prec)) end else str=dec2oct(v) n=length(str) str=part('0',ones(1,prec-n))+str if or(flags=='#') then str='0'+str,end if conv=='O' then str=convstr(str,'u'),end end elseif cc=='u' then format('v',mxdgt) str=string(abs(v)) n=length(str) elseif cc=='x'then if prec==[] then prec=1,end if v==0 then if prec==0 then str=emptystr() else str=part('0',ones(1,prec)) end else str=dec2hex(v) n=length(str) str=part('0',ones(1,prec-n))+str if or(flags=='#') then str='0x'+str,end if conv=='X' then str=convstr(str,'u'),end end elseif cc=='f' then if prec==[] then prec=6,end format('v',mxdgt) fct=10^prec v=round(v*fct)/fct str=string(abs(v)) ns=length(str) i=1 if prec>0 then while i<=ns&part(str,i)<>'.' then i=i+1,end if i>ns then str=str+'.';ns=ns+1;end str=str+part('0',ones(1,prec-ns+i)) end if v<0 then str='-'+str,end elseif cc=='e' then // fct=10^prec [m,e]=float2me(v) if prec==[] then ndgt=6, else ndgt=prec,end //nombre de digit apres le . ll=ndgt+3;if ndgt==0 then ll=ll-1,end format('v',ll);s=string(abs(m)) n1=length(s); if n1==1&(ndgt>0|or(flags=='#')) then s=s+'.';n1=n1+1;end str=s+part('0',ones(1,ll-n1-1)) s=string(abs(e));if length(s)==1 then s='0'+s;end if e>=0 then s='+'+s;else s='-'+s,end; str=str+conv+s if m<0 then str='-'+str,end elseif cc=='g' then if prec==[] then prec=6,end //prec est le nombre total de digits significatif [m,e]=float2me(v) if e<>0&e<-4|e>=prec then //use 'e' format ndgt=prec ll=ndgt+2;if ndgt==0 then ll=ll-1,end format('v',ll);str=string(abs(m)) n1=length(str); if or(flags=='#') then if n1==1 then str=str+'.';n1=n1+1;end str=str+part('0',ones(1,ll-n1)) end s=string(abs(e));if length(s)==1 then s='0'+s;end if e>=0 then s='+'+s;else s='-'+s,end; if conv=='g' then str=str+'e'+s,else str=str+'E'+s,end if m<0 then str='-'+str,end else //use f format if e>0 then format('v',prec+2),else format('v',prec+2-e);end str=string(v) end elseif cc=='c' then str=code2str(v) elseif cc=='s' then if prec==[] then str=v else str=part(v,1:prec) end end if scifmt(1)==1 then format('v',scifmt(2)) else format('e',scifmt(2)) end nflags=prod(size(flags)) lstr=length(str) minus='-';plus='+';diese='#';blank=' ';z='0' //sign if or(flags==plus) then if cc=='d'|cc=='i'|cc=='f'|cc=='g'|cc=='e' then if v>=0 then str='+'+str,end end elseif or(flags==blank) then if cc=='d'|cc=='i'|cc=='f'|cc=='g'|cc=='e' then if v>=0 then str=' '+str,end end end //alternate output form if or(flags==diese) then if cc=='o' then elseif cc=='x' then elseif cc=='e' then elseif cc=='f' then if prec==0 then str=str+'.',end end end //alignement padding=' '; if or(flags==z) then padding='0',end if or(flags==minus) then if lstr<width then str=str+part(padding,ones(1,width-lstr)),end else if lstr<width then str=part(padding,ones(1,width-lstr))+str,end end function [str,flags,width,prec,typemod,conv]=analyse_next_format() //Scan frmt for % escapes and print out the arguments. str=emptystr();kstr=1 width=[];prec=[],flags=[],typemod=[],conv=[] il=il+1 if il>lfmt then [il,count]=resume(il,count),end c=part(frmt,il); while c<>'%' then if c=='\' then if part(frmt,il+1)=='n' then str=[str;emptystr()],kstr=kstr+1,end il=il+1 else str(kstr)=str(kstr)+c end il=il+1 if il>lfmt then break, end c=part(frmt,il); end if il>lfmt then [il,count]=resume(il,count),end if part(frmt,il+1)=='%' then str(kstr)=str(kstr)+'%',il=il+1 [il,count]=resume(il,count) end //beginning of a format //get flags flags=[] while il<=lfmt do il=il+1;c=part(frmt,il) if c=='+'|c=='-'|c==' '|c=='0'|c=='#' then flags=[flags c] else break end else error('incorrect format') end width=[] if isdigit(c)|c=='*' then // get width if c=='*' then //from args count=count+1 if count>nv then error('incorrect number of arguments') end w=evstr('v'+string(count+1)) if type(w)<>1 then error('argument must be a character string') end if prod(size(w))<>1 then error('argument must be a character string') end width=w il=il+1; if il>lfmt then error('incorrect format'),end c=part(frmt,il) else //from format width=0 while isdigit(c) do width=10*width+evstr(c) il=il+1; if il>lfmt then error('incorrect format'),end c=part(frmt,il) end end end prec=[] if c=='.' then il=il+1; if il>lfmt then error('incorrect format'),end c=part(frmt,il) //get precision if c=='*' then //from args count=count+1 if count>nv then error('incorrect number of arguments') end w=evstr('v'+string(count+1)) if type(w)<>1 then error('argument must be a character string') end if prod(size(w))<>1 then error('argument must be a character string') end prec=w il=il+1; if il>lfmt then error('incorrect format'),end c=part(frmt,il) elseif isdigit(c) //form format prec=0 while isdigit(c) do prec=10*prec+evstr(c) il=il+1; if il>lfmt then error('incorrect format'),end c=part(frmt,il) end else error('incorrect format') end end // get type modifier typemod=[] if c=='l'| c=='L'|c=='h' then typemod=c il=il+1; if il>lfmt then error('incorrect format'),end c=part(frmt,il) end //get conversion conv=c [il,count]=resume(il,count) function ok=isdigit(c) ok=(c=='0'|c=='1'|c=='2'|c=='3'|c=='4'|c=='5'|c=='6'|c=='7'|c=='8'|c=='9') function str2=d2e(str1,e) ns=length(str1) str2=emptystr() for i=1:ns c=part(str1,i) if c<>'D' then str2=str2+c else str2=str2+e end end function [m,e]=float2me(x) // convert a floating point number x to x=m*10^e with 1<=abs(m)<10 if x==0 then m=0;e=0 else e=int(log(abs(x))/log(10)) if e<0 then e=e-1,end m=x*10^(-e) end function x=dec2hex(a) d=[string(0:9) 'a' 'b' 'c' 'd','e','f'] x=emptystr(1) if abs(a)>(2^31-1) then error('dec2hex : argument out of bounds') end if a<0 then a=2^32+a,end if a==0 then x='0',end while a>0 a1=int(a/16) r=a-16*a1 x=d(r+1)+x a=a1 end if length(x)==0 then x=d(a),end function x=dec2oct(a) d=string(0:7) x=emptystr(1) if abs(a)>(2^31-1) then error('dec2hex : argument out of bounds') end if a<0 then a=2^32+a,end if a==0 then x='0',end while a>0 a1=int(a/8) r=a-8*a1 x=d(r+1)+x a=a1 end if length(x)==0 then x=d(a),end
19af13ef7623838bf06a76e19bf35230498862bb
449d555969bfd7befe906877abab098c6e63a0e8
/1457/CH11/EX11.2/11_2.sce
5c247820ccba85415e6014191de5e4418a81ca1f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
210
sce
11_2.sce
clc //Initialization of variables y=1.495 //ft Q=14 //cfs g=32.2 //calculations yc=(Q^2 /g *2)^(1/5) //results printf("yc = %.2f ft is greater than uniform flow depth. Hence flow is supercritical",yc)
56c6c3155d9a75429bdfb30ddb185232eadf6d61
66106821c3fd692db68c20ab2934f0ce400c0890
/test/disassembler/sen.instr.tst
35a53a48a8dc14f2bdc22d7e24a685d374179f32
[]
no_license
aurelf/avrora
491023f63005b5b61e0a0d088b2f07e152f3a154
c270f2598c4a340981ac4a53e7bd6813e6384546
refs/heads/master
2021-01-19T05:39:01.927906
2008-01-27T22:03:56
2008-01-27T22:03:56
4,779,104
2
0
null
null
null
null
UTF-8
Scilab
false
false
300
tst
sen.instr.tst
; @Harness: disassembler ; @Result: PASS section .text size=0x00000002 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0 section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000036 ;2**0 start .text: label 0x00000000 ".text": 0x0: 0x28 0x94 sen start .data:
932665c1b0582bb8a80d398b37be19f07c33cb82
449d555969bfd7befe906877abab098c6e63a0e8
/2699/CH2/EX2.6/Ex2_6.sce
201aeb4b4be59467406ef0d0848ac21e496c023a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
939
sce
Ex2_6.sce
//EX2_6 PG-2.28 clc disp("Refer to the Figure:2.29 shown") If=25e-3;//current at Q-point disp("for Q point If=25mA, ie Iq=25mA") disp("for If=0 A, Vf=Vin=3V at point B") disp("Now we draw the graph") disp("The coordinates are Q=(1V,25mA) B=(3V,0mA)") clf() x=[ 0 0.5 0.6 1 1.1 ];//x-coordinate y=[ 0 1 5 25 30 ];//y-coordinate plot(x,y,) x1=[0.5 1 3];//x-coordinate y1=[ 31 25 0];//y-coordinate plot(x1,y1) x2=[ 0 1]; y2=[25 25]; plot2d(x2,y2,style=6) xlabel('Vf (volts)'); ylabel('If (mA)'); title("Piece-wise linear characteristic") xgrid(color("red")); disp("Q-point is denoted by the intersection of two lines as shown in the plot") delta_If=10e-3;//from the graph plotted delta_Vf=0.9;//from the graph plotted s=delta_If/delta_Vf;//slope disp("Therefore load resistance is the reciprocal of the slope ") Rl=1/s;//load resistance printf("\n required load resistance is %.0f ohm",Rl)
14f0f23a3e610ff94009c70c80e0417df74db537
cc6cc2c2fcdfa476aa883265aa05e06d82c1110a
/2018.1/MAT/lista-scilab/04.sce
a96093557e8d3ad89eef2f24a963f4cbaf19527c
[]
no_license
devarthurribeiro/ads-ufrn
39038c2089d5d784fa121c4094e6d694dcb5a545
9a9881acf756be4f844e72e581543daf3a649641
refs/heads/master
2020-03-17T15:16:28.940709
2018-10-02T12:26:27
2018-10-02T12:26:27
133,704,315
0
0
null
null
null
null
UTF-8
Scilab
false
false
147
sce
04.sce
c = input("Digite uma temperatura em Celsius: "); f =(9*c+160)/5; k = c + 273.15; disp("Fahrenheit: " + string(f)); disp("Kelvin: " + string(k));
36cc61cab7b88a7e2eac6bb89f2ea09c67e23770
449d555969bfd7befe906877abab098c6e63a0e8
/3808/CH6/EX6.4/Ex6_4.sce
6b057a4f030abe0f791d9f58b68e63c25790576d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
282
sce
Ex6_4.sce
//Chapter 06: Counting clc; clear; bits=2 //possible bits are either 0 or 1 ns=7 //no of bits in the string (ie). length of the string sol=bits**ns // 7 bits are capable of taking either 0 or 1 so by PRODUCT RULE mprintf("Total different bit strings of length seven are %d",sol)
9a175b1a6ba6af41429caa3918c400da79d9b8bb
fbf3557fee330162a0a1405e7782405e391374c3
/opp5/bidir.tst
00a48e65578a70b93ca66fe74cb5a8875e531a69
[]
no_license
sunyongjie1984/db
ad0254de5d67202ffe7e08298cb94511d06dcf05
eddd2100a6cdfd49b8010740fe3563cf58848ca4
refs/heads/master
2021-01-19T03:31:05.316041
2019-02-13T08:40:41
2019-02-13T08:40:41
60,225,747
1
0
null
null
null
null
UTF-8
Scilab
false
false
997
tst
bidir.tst
BEGIN -- Not necessary: initialization section does it: Bidir.loadarray; bidir.accumulate; bidir.showmaxsal; bidir.showminsal; bidir.showall; DECLARE l_employee employees%ROWTYPE; BEGIN LOOP EXIT WHEN bidir.end_of_data; l_employee := bidir.currrow; DBMS_OUTPUT.put_line (l_employee.last_name); bidir.nextrow; END LOOP; bidir.setrow (bidir.lastrow); LOOP EXIT WHEN bidir.end_of_data; l_employee := bidir.currrow; DBMS_OUTPUT.put_line (l_employee.last_name); bidir.prevrow; END LOOP; END; END; / /*====================================================================== | Supplement to the fifth edition of Oracle PL/SQL Programming by Steven | Feuerstein with Bill Pribyl, Copyright (c) 1997-2009 O'Reilly Media, Inc. | To submit corrections or find more code samples visit | http://oreilly.com/catalog/9780596514464/ */
5725ad4471afe7769e195cccab1d229a646d0635
fd3b7cff52c3f44c1b5c5ae9889c52b91e28d056
/scilab/01_test.sce
066a7bd71a24cfb4b9ae082d837a790b039c12cb
[]
no_license
f-fathurrahman/ffr-DSP
2534eb79ba486fe3e1c16aeaf814ddcc76ee18ea
b988d28d9710f8d4a1b53e43e9561da35a9aec3d
refs/heads/master
2021-05-16T14:52:39.787434
2018-01-24T05:45:55
2018-01-24T05:45:55
118,718,951
0
0
null
null
null
null
UTF-8
Scilab
false
false
183
sce
01_test.sce
exec("impseq.sce",-1) [x, n] = impseq(2,0,5) disp(x,n) plot2d3("gnn", n, x) xs2png(gcf(),"plt1.png") //[x, n] = stepseq(3,0,10) //disp(x,n) if getscilabmode() ~= "STD" quit() end
0a7f8e026f8b8b0e3ef7e6b9745b6f9fba67cd72
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/%h2sci.sci
f68c482472ce9ea38940dfe16d6c6f0923aa7c9f
[ "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
418
sci
%h2sci.sci
function [stk,txt,top]=%h2sci() // & // Copyright INRIA s2=stk(top);s1=stk(top-1); txt=[] [e1,te1]=s1(1:2); [e2,te2]=s2(1:2); // if te2=='2' then e2='('+e2+')',end if te1=='2' then e1='('+e1+')',end if s1(3)=='1'&s1(4)=='1' then stk=list(e1+'&'+e2,'2',s2(3),s2(4),s1(5)) elseif s2(3)=='1'&s2(4)=='1' then stk=list(e1+'&'+e2,'2',s1(3),s1(4),s1(5)) else stk=list(e1+'&'+e2,'2',s1(3),s1(4),s1(5)) end top=top-1
bf89aa058b2969b7e8e221b4b2005f8241d780bc
60a8a4ce793d26ce86d35bcc0f2d58bd428855f1
/7(B) Program to solve Primes..sce
07f15ef70c9e34311b83923e42758a50b2db4948
[]
no_license
muitnet/DM-Practicals-Exam
194328e084450c7f06d2847eacb9cad170193197
a9ad7a06e8fc28ffcbcde231b53c1de716fb97a3
refs/heads/master
2020-06-11T19:51:30.232988
2016-12-05T13:04:59
2016-12-05T13:04:59
75,625,333
0
0
null
null
null
null
UTF-8
Scilab
false
false
214
sce
7(B) Program to solve Primes..sce
disp('Divisibility and Primes') x =50; disp('prime numbers less than 50 are') y= primes(x) disp('the prime factorisation of 21,24 and 1729 respectively are:') k= factor (21) l= factor (24) n= factor (1729)
19eeee1e1de8ba4f724e971a829fe38d06971b25
48f79e2769b0be2d033a1c168379583c58102f0d
/Exercise_28.sce
350974907163d2bb25c7ae60da572747658a5e2e
[]
no_license
Gotcha17/CompFin_Sheet9
8dd8a3e4d656b62447d0a9f8445d62df190485fb
e4452d56a48cdcfffb8a3647bb2cb351ac54f7fa
refs/heads/master
2021-01-02T23:01:07.094705
2017-08-21T20:13:59
2017-08-21T20:13:59
99,440,860
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,740
sce
Exercise_28.sce
clc clear function [V0, c1, c2] = Heston_EuCall_MC_Euler(S0, r, gamma0, kappa, lambda, sigma_tilde, T, g, M, m) // Set the increment for equidistance grid delta_t = T / m // Create two different Weiner processes (which might be in fact correlated, but we don't // handle it for now) delta_W_vol = grand(m, M, 'nor', 0, sqrt(delta_t)) delta_W_S = grand(m, M, 'nor', 0, sqrt(delta_t)) // Define vector to store volatility and stock price paths Vol_Euler = zeros(m,M) S_Euler = zeros(m,M) Vol_Euler(1,:) = gamma0 S_Euler(1,:) = S0 // Simulate processes with Euler method for i = 1 : m Vol_Euler(i + 1, :) = Vol_Euler(i,:) + ... (kappa - lambda .* max(0, Vol_Euler(i,:))) .* delta_t + ... sigma_tilde .* sqrt(max(0, Vol_Euler(i,:))) .* delta_W_vol(i,:) S_Euler(i + 1, :) = S_Euler(i,:) + r .* S_Euler(i,:) .* delta_t + ... sqrt(max(0, Vol_Euler(i,:))) .* S_Euler(i,:) .* delta_W_S(i,:) end V_hat = g(S_Euler($,:)) V0 = exp(-r*T) * mean(V_hat) var_hat = variance(exp(-r*T)*V_hat) c1 = V0 - 1.96 * sqrt(var_hat / M) c2 = V0 + 1.96 * sqrt(var_hat / M) endfunction function payoff = g(S) K = 100 payoff = max(S - K, 0) endfunction S0=100 r=0.05 gamma0=0.2^2 kappa=0.5 lambda=2.5 sigma_tilde=1 T=1 R=3 m = 250 M = 10000 [V0, c1, c2] = Heston_EuCall_MC_Euler(S0, r, gamma0, kappa, lambda, sigma_tilde, T, g, M, m) disp("Price of the European Call in the Heston model is: " + string(V0)) disp("95% CI are: [" + string(c1) + "," + string(c2) + "]")
453d92bef193c212a9c27d576d173f8ba515d806
449d555969bfd7befe906877abab098c6e63a0e8
/1691/CH1/EX1.22/Example1_22.sce
8f58dfbd4fc16786bdd5289ea6c2e7375651cf15
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,791
sce
Example1_22.sce
//Example 1.22 clc disp("Step 1: Identify topology") disp("Vo = 0, does not make feedback zero, but Io = 0 makes feedback to become zero and hence it is current sampling. The feedback is fed in shunt with the input signal, hence topology is current shunt feedback") disp("") disp("Step 2 and Step 3: Find input and output circuit") disp("To find input circuit, set Vo = 0. This gives series combination of R_e2 and 10K across the input. To find output circuit, set V1= 0. This gives parallel combination of R_e2 and 10K at E2.The resultant circuit is shown in fig 1.63") disp("") disp("Step 4: Replace transistor with its h-parameter equivalent as shown in fig 1.64") disp("") disp("Step 5 : Find open loop current gain") disp("A_I = Io/I_s = -I_c/I_s = -I_o/I_b2 * I_b2/I_c1 * I_c1/I_b1 * I_b1/I_s") disp("Io/I_b2 = -h_fe = -100") disp("I_c2/I_b2 * I_b1/I_e1 = -h_ie*R_c1 / R_i2+R_c2 because I_b2/I_c1 = R_c1/R_c1+R_i2") ri2=1+(101*(10/11)) format(7) disp(ri2,"where R_i2(in k-ohm) = h_ie + (1+h_fe)(1K||10K) =") ibb=(-100*2.2)/(92.818+2.2) format(6) disp(ibb,"Therefore, I_b1/I_s =") ibs=(11/12)/(1+(11/12)) disp(ibs,"I_b1/I_s =") ai=100*2.315*0.478 disp(ai,"A_I =") disp("Step 6: Calculate beta") b=1/(11) format(5) disp(b,"beta = R_e2/R_e2+R'' =") disp("") disp("Step 6: Calculate D,A_If, A_vf, R_if, R_of") d=1+(0.09*110.7) format(7) disp(d,"D = 1 + beta*A_I =") //answer in textbook is wrong aif=110.7/11.063 format(3) disp(aif,"A_if = A_I/D =") ri=((1*11*1)/((11*1)+(1*1)+(11*1)))*10^3 format(4) disp(ri,"R_i(in ohm) =") rif=478/11.063 format(6) disp(rif,"R_if(in ohm) = R_i/D =") disp("Ro = infinity") disp("Therefore, R_of = Ro*D = infinity because h_oe = 0") disp("R''_o = 2.2 k-ohm") disp("R''_of = R''_o = 2.2 k-ohm")
5e11f77e7de36beefc6a0acaa9b355451822a4b5
449d555969bfd7befe906877abab098c6e63a0e8
/1092/CH9/EX9.11/Example9_11.sce
0cf623d348d9fa321c407f3526048631ee89752c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,908
sce
Example9_11.sce
// Electric Machinery and Transformers // Irving L kosow // Prentice Hall of India // 2nd editiom // Chapter 9: POLYPHASE INDUCTION (ASYNCHRONOUS) DYNAMOS // Example 9-11 clear; clc; close; // Clear the work space and console. // Given data // 3-phase WRIM V_L = 208 ; // Voltage rating of the WRIM in volt P = 6 ; // Number of poles in WRIM f = 60 ; // Frequency in Hz P_o = 7.5 ; // Power rating of WRIM in hp S_r = 1125 ; // Full-load rotor speed in rpm R_r = 0.08 ; // Rotor resistance in ohm/phase X_lr = 0.4 ; // Locked rotor resistance in ohm/phase // Calculations S = (120*f)/P ; // Speed in rpm of the rotating magnetic field // case a E_lr = (V_L / sqrt(3))/2 ; // Locked rotor voltage per phase // case b s = (S - S_r)/S ; // Full-load rated slip I_r = E_lr / sqrt( (R_r/s)^2 + (X_lr)^2 ); // Rotor current in A per phase at rated speed // case c P_in = ( (I_r)^2 * R_r )/s ; // Rated rotor power input per phase in (W/phase) // case d P_RL = ( (I_r)^2 * R_r ); // Rated rotor copper loss per phase (in W/phase) // case e // Subscript W in P_d indicates calculating P_d in W P_d_W = P_in - P_RL ; // Rotor power developed per phase (in W/phase) // Subscript hp in P_d indicates calculating P_d in hp P_d_hp = P_d_W/746 ; // Rotor power developed per phase (in hp/phase) // case f // subscript 1 in T_d indicates method 1 for calculating T_d hp = P_d_hp ; T_d1 = (hp*5252)/S_r ; // Rotor torque developed per phase in lb-ft // subscript 2 in T_d indicates method 2 for calculating T_d T_d2 = 7.04*(P_in/S); // Rotor torque developed per phase in lb-ft // case g T_dm = 3*T_d1 ; // Total rotor torque in lb-ft // case h T_o = 7.04*(P_o*746)/S_r ; // Total output rotor torque in lb-ft // Display the results disp("Example 9-11 Solution : "); printf(" \n Note: Slight variations in the answers I_r,P_in,P_RL,P_d,T_d "); printf(" \n are because of non-approximation of E_lr and (R_r/s)^2 + (X_lr)^2"); printf(" \n while calulating in scilab.\n"); printf(" \n a: Locked rotor voltage per phase :\n E_lr = %d V\n",E_lr); printf(" \n b: slip :\n s = %.4f ",s); printf(" \n\n Rotor current per phase at rated speed :\n I_r = %.2f A/phase\n",I_r); printf(" \n c: Rated rotor power input per phase :\n P_in = %.f W/phase\n",P_in); printf(" \n d: Rated rotor copper loss per phase :\n P_RL = %.1f W/phase\n",P_RL); printf(" \n e: Rotor power developed per phase "); printf(" \n P_d = %.f W/phase \n P_d = %.2f hp/phase\n",P_d_W,P_d_hp); printf(" \n f: Rotor torque developed per phase : "); printf(" \n (method 1)\n T_d = %.1f lb-ft/phase",T_d1); printf(" \n\n (method 2)\n T_d = %.1f lb-ft/phase\n",T_d2); printf(" \n g: Total rotor torque : \n T_dm = %d lb-ft\n",T_dm); printf(" \n h: Total output rotor torque : \n T_o = %d lb-ft",T_o);
377d9f19173ac47f0cd6303722f544967878f856
9cb37875b74a713c93c09fa50ccc70ac0f71ecdb
/Achile/SCENARII/HeraklesBio.sce
c8688bb92e429bd9d6558f462b519ed387773f2b
[]
no_license
jmainpri/move3d-assets
a5b621daaedaaf8784fed0da1e80d029c83f3983
939db49d17a14e052bb58324b70e6112803d3105
refs/heads/master
2021-01-16T17:48:56.669119
2016-02-16T14:04:09
2016-02-16T14:04:09
20,237,987
1
0
null
null
null
null
UTF-8
Scilab
false
false
2,079
sce
HeraklesBio.sce
#************************************************************ # Scenario of humanTestEnv # # date : Wed Jan 27 14:18:22 2016 #************************************************************ p3d_sel_desc_name P3D_ENV humanTestEnv p3d_sel_desc_name P3D_ROBOT BIOMECH_HUMAN p3d_set_robot_steering_method Linear p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.018000 0.326000 0.255000 17.856000 -7.668000 70.200000 0.396000 3.816000 -15.336000 -14.040000 0.246000 5.112000 -8.928000 6.372000 -79.524000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 p3d_sel_desc_name P3D_ROBOT VISBALL p3d_set_robot_steering_method Linear p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.488000 -0.152000 0.248000 37.908000 -16.812000 162.720000 p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 p3d_set_camera_pos 0.267495 0.072121 -0.013194 2.158922 4.717500 0.286250 0.000000 0.000000 1.000000 0.000000
f0ba2026001e47a388a9401a556073dc9a65903f
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/PU17QHW/ATWM1_Working_Memory_MEG_PU17QHW_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce
3187b50aff543a9c3120d75ef977588ee7d12a6d
[]
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,381
sce
ATWM1_Working_Memory_MEG_Salient_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; 41 61 292 292 399 125 2192 2992 2092 fixation_cross gabor_039 gabor_020 gabor_097 gabor_146 gabor_039_alt gabor_020 gabor_097_alt gabor_146 "1_1_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2100_gabor_patch_orientation_039_020_097_146_target_position_1_3_retrieval_position_1" gabor_177_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_1_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_177_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 2342 fixation_cross gabor_165 gabor_128 gabor_079 gabor_055 gabor_165 gabor_128_alt gabor_079 gabor_055_alt "1_2_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2350_gabor_patch_orientation_165_128_079_055_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_055_framed blank blank blank blank fixation_cross_target_position_2_4 "1_2_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_055_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 2342 fixation_cross gabor_051 gabor_024 gabor_136 gabor_110 gabor_051_alt gabor_024_alt gabor_136 gabor_110 "1_3_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_051_024_136_110_target_position_1_2_retrieval_position_2" gabor_circ gabor_024_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_3_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_024_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1942 2992 2492 fixation_cross gabor_033 gabor_054 gabor_093 gabor_113 gabor_033 gabor_054 gabor_093_alt gabor_113_alt "1_4_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_300_300_399_1950_3000_2500_gabor_patch_orientation_033_054_093_113_target_position_3_4_retrieval_position_2" gabor_circ gabor_054_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_4_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_054_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2242 2992 2492 fixation_cross gabor_012 gabor_088 gabor_049 gabor_071 gabor_012_alt gabor_088 gabor_049 gabor_071_alt "1_5_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2500_gabor_patch_orientation_012_088_049_071_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_071_framed blank blank blank blank fixation_cross_target_position_1_4 "1_5_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 2592 fixation_cross gabor_079 gabor_053 gabor_034 gabor_167 gabor_079_alt gabor_053 gabor_034 gabor_167_alt "1_6_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_079_053_034_167_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_119_framed blank blank blank blank fixation_cross_target_position_1_4 "1_6_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_119_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1942 2992 2442 fixation_cross gabor_156 gabor_069 gabor_005 gabor_130 gabor_156_alt gabor_069 gabor_005_alt gabor_130 "1_7_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2450_gabor_patch_orientation_156_069_005_130_target_position_1_3_retrieval_position_1" gabor_156_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_7_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_156_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2142 fixation_cross gabor_008 gabor_028 gabor_146 gabor_060 gabor_008_alt gabor_028 gabor_146_alt gabor_060 "1_8_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_008_028_146_060_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_098_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_8_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_098_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1942 2992 2192 fixation_cross gabor_022 gabor_068 gabor_109 gabor_048 gabor_022_alt gabor_068 gabor_109_alt gabor_048 "1_9_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2200_gabor_patch_orientation_022_068_109_048_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_109_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_9_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_109_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2142 2992 1992 fixation_cross gabor_133 gabor_006 gabor_027 gabor_047 gabor_133_alt gabor_006 gabor_027 gabor_047_alt "1_10_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_300_300_399_2150_3000_2000_gabor_patch_orientation_133_006_027_047_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_167_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_10_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_167_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1842 2992 2392 fixation_cross gabor_145 gabor_094 gabor_126 gabor_060 gabor_145 gabor_094_alt gabor_126_alt gabor_060 "1_11_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2400_gabor_patch_orientation_145_094_126_060_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_126_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_11_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_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; 41 62 292 292 399 125 1792 2992 2592 fixation_cross gabor_015 gabor_083 gabor_139 gabor_159 gabor_015 gabor_083_alt gabor_139 gabor_159_alt "1_12_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_015_083_139_159_target_position_2_4_retrieval_position_2" gabor_circ gabor_083_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_12_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 2092 fixation_cross gabor_142 gabor_078 gabor_012 gabor_162 gabor_142_alt gabor_078_alt gabor_012 gabor_162 "1_13_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2100_gabor_patch_orientation_142_078_012_162_target_position_1_2_retrieval_position_2" gabor_circ gabor_123_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_13_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_123_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 1942 fixation_cross gabor_085 gabor_107 gabor_056 gabor_022 gabor_085 gabor_107 gabor_056_alt gabor_022_alt "1_14_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_1950_gabor_patch_orientation_085_107_056_022_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_022_framed blank blank blank blank fixation_cross_target_position_3_4 "1_14_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_022_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2492 fixation_cross gabor_094 gabor_165 gabor_039 gabor_079 gabor_094 gabor_165 gabor_039_alt gabor_079_alt "1_15_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2500_gabor_patch_orientation_094_165_039_079_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_129_framed blank blank blank blank fixation_cross_target_position_3_4 "1_15_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_129_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 2442 fixation_cross gabor_171 gabor_104 gabor_064 gabor_143 gabor_171_alt gabor_104_alt gabor_064 gabor_143 "1_16_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2450_gabor_patch_orientation_171_104_064_143_target_position_1_2_retrieval_position_1" gabor_033_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_16_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_033_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2242 2992 2292 fixation_cross gabor_050 gabor_155 gabor_088 gabor_123 gabor_050_alt gabor_155_alt gabor_088 gabor_123 "1_17_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2300_gabor_patch_orientation_050_155_088_123_target_position_1_2_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_17_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2242 2992 1892 fixation_cross gabor_034 gabor_051 gabor_092 gabor_119 gabor_034_alt gabor_051_alt gabor_092 gabor_119 "1_18_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_300_300_399_2250_3000_1900_gabor_patch_orientation_034_051_092_119_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_166_framed blank blank blank blank fixation_cross_target_position_1_2 "1_18_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_166_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2042 2992 1892 fixation_cross gabor_176 gabor_139 gabor_059 gabor_027 gabor_176_alt gabor_139 gabor_059_alt gabor_027 "1_19_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_1900_gabor_patch_orientation_176_139_059_027_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_105_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_19_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_105_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 2342 fixation_cross gabor_141 gabor_008 gabor_122 gabor_164 gabor_141_alt gabor_008 gabor_122 gabor_164_alt "1_20_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_141_008_122_164_target_position_1_4_retrieval_position_1" gabor_141_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_20_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_141_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 2242 2992 2242 fixation_cross gabor_144 gabor_120 gabor_177 gabor_008 gabor_144 gabor_120_alt gabor_177 gabor_008_alt "1_21_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_300_300_399_2250_3000_2250_gabor_patch_orientation_144_120_177_008_target_position_2_4_retrieval_position_1" gabor_144_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_21_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_144_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2392 fixation_cross gabor_101 gabor_125 gabor_067 gabor_040 gabor_101_alt gabor_125 gabor_067_alt gabor_040 "1_22_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_101_125_067_040_target_position_1_3_retrieval_position_1" gabor_101_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_22_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_101_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 2042 fixation_cross gabor_158 gabor_086 gabor_033 gabor_005 gabor_158 gabor_086 gabor_033_alt gabor_005_alt "1_23_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2050_gabor_patch_orientation_158_086_033_005_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_005_framed blank blank blank blank fixation_cross_target_position_3_4 "1_23_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_005_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 1942 fixation_cross gabor_014 gabor_043 gabor_133 gabor_150 gabor_014 gabor_043 gabor_133_alt gabor_150_alt "1_24_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_014_043_133_150_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_150_framed blank blank blank blank fixation_cross_target_position_3_4 "1_24_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_150_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2192 2992 2442 fixation_cross gabor_064 gabor_108 gabor_169 gabor_019 gabor_064_alt gabor_108 gabor_169 gabor_019_alt "1_25_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_300_300_399_2200_3000_2450_gabor_patch_orientation_064_108_169_019_target_position_1_4_retrieval_position_2" gabor_circ gabor_153_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_25_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_153_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1792 2992 2292 fixation_cross gabor_127 gabor_020 gabor_178 gabor_089 gabor_127_alt gabor_020_alt gabor_178 gabor_089 "1_26_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2300_gabor_patch_orientation_127_020_178_089_target_position_1_2_retrieval_position_2" gabor_circ gabor_020_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_26_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_020_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 1992 fixation_cross gabor_151 gabor_019 gabor_129 gabor_087 gabor_151_alt gabor_019_alt gabor_129 gabor_087 "1_27_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2000_gabor_patch_orientation_151_019_129_087_target_position_1_2_retrieval_position_2" gabor_circ gabor_067_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_27_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2042 fixation_cross gabor_158 gabor_080 gabor_003 gabor_129 gabor_158_alt gabor_080_alt gabor_003 gabor_129 "1_28_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2050_gabor_patch_orientation_158_080_003_129_target_position_1_2_retrieval_position_1" gabor_158_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_28_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_158_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2042 2992 2292 fixation_cross gabor_160 gabor_093 gabor_144 gabor_127 gabor_160_alt gabor_093 gabor_144 gabor_127_alt "1_29_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_160_093_144_127_target_position_1_4_retrieval_position_1" gabor_020_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_29_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_020_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1992 2992 2092 fixation_cross gabor_101 gabor_120 gabor_032 gabor_048 gabor_101 gabor_120_alt gabor_032 gabor_048_alt "1_30_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_101_120_032_048_target_position_2_4_retrieval_position_2" gabor_circ gabor_120_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_30_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_120_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1942 2992 2142 fixation_cross gabor_096 gabor_140 gabor_161 gabor_024 gabor_096 gabor_140 gabor_161_alt gabor_024_alt "1_31_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_096_140_161_024_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_024_framed blank blank blank blank fixation_cross_target_position_3_4 "1_31_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_024_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2192 fixation_cross gabor_126 gabor_067 gabor_011 gabor_038 gabor_126_alt gabor_067_alt gabor_011 gabor_038 "1_32_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2200_gabor_patch_orientation_126_067_011_038_target_position_1_2_retrieval_position_1" gabor_174_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_32_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1742 2992 2042 fixation_cross gabor_065 gabor_032 gabor_138 gabor_108 gabor_065 gabor_032_alt gabor_138 gabor_108_alt "1_33_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_300_300_399_1750_3000_2050_gabor_patch_orientation_065_032_138_108_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_089_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_33_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_089_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 2542 fixation_cross gabor_065 gabor_022 gabor_088 gabor_177 gabor_065 gabor_022 gabor_088_alt gabor_177_alt "1_34_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2550_gabor_patch_orientation_065_022_088_177_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_042_framed blank blank blank blank fixation_cross_target_position_3_4 "1_34_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 2242 fixation_cross gabor_049 gabor_172 gabor_107 gabor_131 gabor_049_alt gabor_172_alt gabor_107 gabor_131 "1_35_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_049_172_107_131_target_position_1_2_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_35_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1842 2992 2542 fixation_cross gabor_067 gabor_032 gabor_100 gabor_173 gabor_067_alt gabor_032 gabor_100 gabor_173_alt "1_36_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2550_gabor_patch_orientation_067_032_100_173_target_position_1_4_retrieval_position_1" gabor_067_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_36_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 2392 fixation_cross gabor_137 gabor_104 gabor_064 gabor_088 gabor_137 gabor_104_alt gabor_064_alt gabor_088 "1_37_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_137_104_064_088_target_position_2_3_retrieval_position_2" gabor_circ gabor_153_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_37_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_153_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2142 2992 2392 fixation_cross gabor_061 gabor_042 gabor_106 gabor_127 gabor_061_alt gabor_042_alt gabor_106 gabor_127 "1_38_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_300_300_399_2150_3000_2400_gabor_patch_orientation_061_042_106_127_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_173_framed blank blank blank blank fixation_cross_target_position_1_2 "1_38_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_173_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2192 fixation_cross gabor_178 gabor_070 gabor_031 gabor_047 gabor_178 gabor_070_alt gabor_031 gabor_047_alt "1_39_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_178_070_031_047_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_047_framed blank blank blank blank fixation_cross_target_position_2_4 "1_39_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_047_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2342 fixation_cross gabor_151 gabor_120 gabor_095 gabor_031 gabor_151_alt gabor_120_alt gabor_095 gabor_031 "1_40_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2350_gabor_patch_orientation_151_120_095_031_target_position_1_2_retrieval_position_1" gabor_151_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_40_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1842 2992 1992 fixation_cross gabor_136 gabor_163 gabor_020 gabor_102 gabor_136_alt gabor_163 gabor_020_alt gabor_102 "1_41_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_300_300_399_1850_3000_2000_gabor_patch_orientation_136_163_020_102_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_102_framed blank blank blank blank fixation_cross_target_position_1_3 "1_41_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_102_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 2492 fixation_cross gabor_166 gabor_115 gabor_076 gabor_058 gabor_166_alt gabor_115 gabor_076 gabor_058_alt "1_42_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2500_gabor_patch_orientation_166_115_076_058_target_position_1_4_retrieval_position_1" gabor_029_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_42_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_029_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1792 2992 1992 fixation_cross gabor_021 gabor_159 gabor_141 gabor_036 gabor_021 gabor_159 gabor_141_alt gabor_036_alt "1_43_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_021_159_141_036_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_036_framed blank blank blank blank fixation_cross_target_position_3_4 "1_43_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_036_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2292 fixation_cross gabor_158 gabor_080 gabor_125 gabor_044 gabor_158_alt gabor_080 gabor_125 gabor_044_alt "1_44_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_158_080_125_044_target_position_1_4_retrieval_position_1" gabor_158_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_44_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_158_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2042 fixation_cross gabor_151 gabor_036 gabor_095 gabor_011 gabor_151_alt gabor_036_alt gabor_095 gabor_011 "1_45_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2050_gabor_patch_orientation_151_036_095_011_target_position_1_2_retrieval_position_2" gabor_circ gabor_172_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_45_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_172_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 1892 fixation_cross gabor_123 gabor_092 gabor_145 gabor_006 gabor_123_alt gabor_092 gabor_145 gabor_006_alt "1_46_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_1900_gabor_patch_orientation_123_092_145_006_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_056_framed blank blank blank blank fixation_cross_target_position_1_4 "1_46_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_056_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1892 2992 1992 fixation_cross gabor_138 gabor_003 gabor_119 gabor_063 gabor_138 gabor_003 gabor_119_alt gabor_063_alt "1_47_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_300_300_399_1900_3000_2000_gabor_patch_orientation_138_003_119_063_target_position_3_4_retrieval_position_1" gabor_138_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_47_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_138_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2142 2992 2142 fixation_cross gabor_149 gabor_115 gabor_090 gabor_172 gabor_149 gabor_115_alt gabor_090_alt gabor_172 "1_48_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2150_gabor_patch_orientation_149_115_090_172_target_position_2_3_retrieval_position_2" gabor_circ gabor_066_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_48_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_066_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1792 2992 1942 fixation_cross gabor_127 gabor_011 gabor_069 gabor_098 gabor_127 gabor_011 gabor_069_alt gabor_098_alt "1_49_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_300_300_399_1800_3000_1950_gabor_patch_orientation_127_011_069_098_target_position_3_4_retrieval_position_1" gabor_127_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_49_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_127_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 1892 fixation_cross gabor_013 gabor_156 gabor_070 gabor_039 gabor_013 gabor_156 gabor_070_alt gabor_039_alt "1_50_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_013_156_070_039_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_176_framed blank blank blank blank fixation_cross_target_position_3_4 "1_50_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 2242 fixation_cross gabor_075 gabor_055 gabor_139 gabor_164 gabor_075_alt gabor_055 gabor_139_alt gabor_164 "1_51_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2250_gabor_patch_orientation_075_055_139_164_target_position_1_3_retrieval_position_1" gabor_029_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_51_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_029_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2192 2992 1942 fixation_cross gabor_007 gabor_118 gabor_077 gabor_148 gabor_007 gabor_118_alt gabor_077_alt gabor_148 "1_52_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_007_118_077_148_target_position_2_3_retrieval_position_2" gabor_circ gabor_118_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_52_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_118_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2042 2992 2592 fixation_cross gabor_040 gabor_022 gabor_106 gabor_154 gabor_040 gabor_022_alt gabor_106 gabor_154_alt "1_53_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2600_gabor_patch_orientation_040_022_106_154_target_position_2_4_retrieval_position_2" gabor_circ gabor_067_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_53_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2242 2992 2042 fixation_cross gabor_114 gabor_161 gabor_001 gabor_047 gabor_114 gabor_161 gabor_001_alt gabor_047_alt "1_54_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2050_gabor_patch_orientation_114_161_001_047_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_001_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_54_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2142 2992 2192 fixation_cross gabor_017 gabor_106 gabor_001 gabor_137 gabor_017 gabor_106_alt gabor_001 gabor_137_alt "1_55_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_300_300_399_2150_3000_2200_gabor_patch_orientation_017_106_001_137_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_049_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_55_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_049_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 2242 fixation_cross gabor_117 gabor_036 gabor_082 gabor_063 gabor_117 gabor_036_alt gabor_082 gabor_063_alt "1_56_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_117_036_082_063_target_position_2_4_retrieval_position_2" gabor_circ gabor_172_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_56_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_172_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 1942 fixation_cross gabor_061 gabor_025 gabor_105 gabor_084 gabor_061 gabor_025_alt gabor_105 gabor_084_alt "1_57_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_1950_gabor_patch_orientation_061_025_105_084_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_084_framed blank blank blank blank fixation_cross_target_position_2_4 "1_57_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_084_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 2092 fixation_cross gabor_136 gabor_163 gabor_014 gabor_091 gabor_136 gabor_163 gabor_014_alt gabor_091_alt "1_58_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2100_gabor_patch_orientation_136_163_014_091_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_046_framed blank blank blank blank fixation_cross_target_position_3_4 "1_58_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_046_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1792 2992 2242 fixation_cross gabor_080 gabor_145 gabor_096 gabor_010 gabor_080_alt gabor_145_alt gabor_096 gabor_010 "1_59_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_300_300_399_1800_3000_2250_gabor_patch_orientation_080_145_096_010_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_010_framed blank blank blank blank fixation_cross_target_position_1_2 "1_59_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_010_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 1892 fixation_cross gabor_038 gabor_177 gabor_144 gabor_113 gabor_038_alt gabor_177 gabor_144_alt gabor_113 "1_60_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_038_177_144_113_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_004_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_60_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2142 fixation_cross gabor_072 gabor_018 gabor_137 gabor_090 gabor_072 gabor_018_alt gabor_137_alt gabor_090 "1_61_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2150_gabor_patch_orientation_072_018_137_090_target_position_2_3_retrieval_position_2" gabor_circ gabor_153_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_61_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_153_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 2592 fixation_cross gabor_114 gabor_056 gabor_138 gabor_078 gabor_114 gabor_056 gabor_138_alt gabor_078_alt "1_62_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2600_gabor_patch_orientation_114_056_138_078_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_078_framed blank blank blank blank fixation_cross_target_position_3_4 "1_62_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_078_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1992 2992 2292 fixation_cross gabor_094 gabor_174 gabor_025 gabor_139 gabor_094 gabor_174_alt gabor_025 gabor_139_alt "1_63_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2300_gabor_patch_orientation_094_174_025_139_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_139_framed blank blank blank blank fixation_cross_target_position_2_4 "1_63_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 2442 fixation_cross gabor_072 gabor_019 gabor_004 gabor_039 gabor_072 gabor_019_alt gabor_004 gabor_039_alt "1_64_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_072_019_004_039_target_position_2_4_retrieval_position_2" gabor_circ gabor_157_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_64_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_157_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2192 2992 2542 fixation_cross gabor_026 gabor_098 gabor_047 gabor_066 gabor_026 gabor_098 gabor_047_alt gabor_066_alt "1_65_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2550_gabor_patch_orientation_026_098_047_066_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_066_framed blank blank blank blank fixation_cross_target_position_3_4 "1_65_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_066_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 2092 fixation_cross gabor_073 gabor_033 gabor_180 gabor_103 gabor_073_alt gabor_033 gabor_180_alt gabor_103 "1_66_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_073_033_180_103_target_position_1_3_retrieval_position_1" gabor_073_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_66_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1742 2992 2342 fixation_cross gabor_029 gabor_096 gabor_112 gabor_044 gabor_029 gabor_096_alt gabor_112 gabor_044_alt "1_67_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_300_300_399_1750_3000_2350_gabor_patch_orientation_029_096_112_044_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_161_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_67_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_161_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2242 2992 2542 fixation_cross gabor_112 gabor_094 gabor_070 gabor_041 gabor_112 gabor_094_alt gabor_070_alt gabor_041 "1_68_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_112_094_070_041_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_025_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_68_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_025_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1992 2992 2142 fixation_cross gabor_051 gabor_087 gabor_068 gabor_110 gabor_051_alt gabor_087 gabor_068 gabor_110_alt "1_69_Encoding_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_300_300_399_2000_3000_2150_gabor_patch_orientation_051_087_068_110_target_position_1_4_retrieval_position_2" gabor_circ gabor_087_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_69_Retrieval_Working_Memory_MEG_P3_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_087_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 2192 fixation_cross gabor_092 gabor_163 gabor_179 gabor_129 gabor_092_alt gabor_163 gabor_179_alt gabor_129 "1_70_Encoding_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2200_gabor_patch_orientation_092_163_179_129_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_042_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_70_Retrieval_Working_Memory_MEG_P3_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_3" 1 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; };
fb50adfd123e282526538e71754fa49f371eebdc
717ddeb7e700373742c617a95e25a2376565112c
/10/CH4/EX9/cha4_9.sce
b7a64d7a0668d6cd62e1345b2c4a8087d451e56c
[]
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
331
sce
cha4_9.sce
Iarated=100;Vt=100; Ra=0.1; Ia1=200; Iastart=Vt/Ra Rae=(Vt-20)/(200) Ea2=Vt-Iarated*(Ra+Rae) Rae2=(Vt-Ea2-20)/(200) Ea3=Vt-Ia*(Ra+Rae2) Ea3=Vt-Iarated*(Ra+Rae2) Rae3=(Vt-Ea3-20)/200 Ea4=Vt-Iarated*(Ra+Rae3) Rae4=(Vt-Ea4-20)/200 Ia=(Vt-Ea4)/Ra R1=Rae-Rae2 R2=Rae2-Rae3 R3=Rae3-Rae4
7f0e4519533aca282b8c3691922ce76bf6e73a2b
449d555969bfd7befe906877abab098c6e63a0e8
/1694/CH7/EX7.2/EX7_2.sce
8e5c09808b9b8a73c905e5ae05ea9d84d6d08eb2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
434
sce
EX7_2.sce
clear; clc; printf("\nEx7.2\n"); //page no.-218 //given t=10^-3;........//thickness of copper strip in m e=1.6*10^-19;....//charge in C n=8.4*10^28;.....//no. of charge carriers in per m^3 I=200;...........//current in A B=1.5;...........//magnetic field in weber/m^2 V=(I*B)/(n*e*t)......//potential difference in volt //to convert in micro volt multiply by 10^6 printf("\npotential difference is 22 micro volt\n");
76aeb210bf4178105ee2c68803c067a0f311a7da
b67defe3c1cae63dd1a79578f840d069568034e6
/scilab/q-normal-large.sci
2aa427751b1458905d35db213ae9d5d57de83f69
[]
no_license
wmacevoy/luck
bf5d93ce00e8136634d715057a97706d3aa804b3
47e5c8eb1782a1b4f3f5b9e7583290d9a842532e
refs/heads/master
2023-05-03T14:46:51.353817
2023-04-25T03:13:44
2023-04-25T03:13:44
33,452,250
0
0
null
null
null
null
UTF-8
Scilab
false
false
390
sci
q-normal-large.sci
mu=[1;1.1]; sigma=[1;1.1]; n=1000; x=grand(n,'mn',mu(1),sigma(1)^2); y=grand(n,'mn',mu(2),sigma(2)^2); zl=zeros(2,2); zl(1,1) = sqrt(sum(((x-mu(1)) ./ sigma(1)).^2))-sqrt(n-0.5); zl(1,2) = sqrt(sum(((x-mu(2)) ./ sigma(2)).^2))-sqrt(n-0.5); zl(2,1) = sqrt(sum(((y-mu(1)) ./ sigma(1)).^2))-sqrt(n-0.5); zl(2,2) = sqrt(sum(((y-mu(2)) ./ sigma(2)).^2))-sqrt(n-0.5); nl = 0.5*(1+erf(zl));
d10d93f0284f9c9c01be7b1bb3d6a298408660dc
76d58c93412c99ad3e8468ca843883add5b16d43
/ads-influence3.sci
99a987999b2b6a012f4eb1468868be2716c7592c
[]
no_license
NnataKha/Mixed-plus-minus-interaction-conflict-model
cd6daadc26e6189720f088adf9a739072125f1fa
a02cf4c1c21dc5559721c219c93ad706f3af30be
refs/heads/master
2020-03-16T18:52:00.884504
2018-05-10T11:24:44
2018-05-10T11:24:44
132,889,968
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,412
sci
ads-influence3.sci
//Change plus/minus interaction depending on the scalar product of the vectors //main clear; m = 10;//number of inetrations n = 1; //number of agents items = 3;//number of items to choose a = zeros(items,1); a(1) = 1; v = abs(rand(n,items))//value of the item s = sum(v,'c') choices = abs(rand(n,items));//choices of agents choices(:,1) = zeros(n,1); s_c = sum(choices,'c') for i = 1:n for j = 1:items v(i,j) = v(i,j) / s(i) choices(i,j) = choices(i,j) / s_c(i) end end for i=1:n for j =1:items X(i,1,j) = choices(i,j) Val(i,1,j) = v(i,j) end end for k = 1:m //Value(k,:) = v for i = 1:n for j=1:items p(j) = X(i,k,j) tau(j) = max(v(i,j)*p(j), v(i,j)*a(j)) end p_temp = p + tau s = sum(p_temp) p = p_temp ./ s s = 0 for j=1:items X(i,k+1,j) = p(j) Val(i,k+1,j) = v(i,j) end end end t = [1:1:m+1] //V = v'*ones(1,number_of_steps) //plot(Value) //legend('innovation', 'old product') for i=1:n for k=1:m for j = 1:items y(k,j) = X(i,k,j) value(k,j) = Val(i,k,j) end end f=scf(0); plot(y) // legend('choice1', 'choice2', 'choice3') plot(value,'--') // legend('v1', 'v2', 'v3') // pause // clf(f) end
cb43a3dbac51db2a7a2efe7850b8588d0b82f616
449d555969bfd7befe906877abab098c6e63a0e8
/2510/CH22/EX22.23/Ex22_23.sce
a9416287d32f121bb82247fb450ef10d372fa2ab
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,308
sce
Ex22_23.sce
//Variable declaration: Too = 100 //Steam temperature ( C) Ti = 18 //Initial temperature of liquid TCA ( C) Tf = 74 //Final temperature of liquid TCA ( C) t = 180 //Heating time (s) p = 87.4 //Density of TCA (lb/ft^3) V = 18 //Kinematic viscosity of TCA (m^2/s) cp = 0.23 //Heat capacity of TCA (Btu/lb. F) U = 200 //Overall heat transfer coefficient (Btu/h.ft^2. F) //Calculation: ui = Too-Ti //Initial excess temperature ( C) uf = Too-Tf //Final excess temperature ( C) R = log(ui/uf) //Ratio t/r r = t/R //Thermal time constant (s) A = p*V*cp/(3600*U*r) //Required heating area (ft^3) Ti_F = Ti*9/5+32 //Initial temperature in fahrenheit scale ( F) Tf_F = Tf*9/5+32 //Final temperature in fahrenheit scale ( F) Q = p*V*cp*(Tf_F-Ti_F) //Total amount of heat added (Btu) //Result: printf("1. The required surface area of the heating coil is : %e ft^3",A) printf("2. The total heat added to the liquid TCA is : %.0f Btu",Q)
8ca8f9ff2c03cda2b5831443db72aa9fef74e8b7
047d952507eb3b9d71fac69ec3332225f17f53ef
/main/out/main/testfiles/test13.tst
51171331ec6ebc8145e7e105138097149916a6dd
[]
no_license
patrick-nanys/project-laboratories-hw
89ab8f366219f491e6feba5558bf41ef8205dda1
ba57a9d5e4ca33a3cc1be3cdb4fe679fe0149f93
refs/heads/master
2022-08-09T14:14:31.220503
2020-05-18T11:20:03
2020-05-18T11:20:03
250,313,203
0
0
null
null
null
null
UTF-8
Scilab
false
false
98
tst
test13.tst
4;r;0 4;- -;-;-;-;2;1;3 p1;-;-;t;1;2;3,4 -;-;-;i;4;0;1,2 -;-;-;-;5;0;2 usePlayerAbility 1 3 status