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
2840051966b99caba509f436aedf3c6b74f7e630
e82d1909ffc4f200b5f6d16cffb9868f3b695f2a
/Lista 5/Questao2.sce
832ecca372c14461b5903e339dc79949640140a9
[]
no_license
AugustoCam95/Computational-Linear-Algebra
eb14307dd3b45ccc79617efe74d1faca639c36c5
99b1a1f9499fbc4343bd5c878444e9e281952774
refs/heads/master
2020-03-30T22:26:23.790763
2018-10-05T03:34:06
2018-10-05T03:34:06
151,666,289
0
0
null
null
null
null
UTF-8
Scilab
false
false
535
sce
Questao2.sce
function Gt =Questao2(x,i,j) [l,c] = size(x) //extrai xi e xj do vetor x xi = x(1) xj = x(j) //calcula o cosseno e o seno, em seuida armazena nas variáveis cosen e sen cosen = xi / (sqrt( (xi^2) + (xj^2) )) sen = -(xj / (sqrt( (xi^2) + (xj^2) ))) //Inicia a matriz R(Gt) sendo a matriz identidade Gt = eye(l,l) //Monta a matriz R (Gt) e a retorna Gt(i,i) = cosen Gt(i,j) = -sen Gt(j,i) = sen Gt(j,j) = cosen endfunction
28cacc471b7a5e2051e580025b3aee9c45ab998e
449d555969bfd7befe906877abab098c6e63a0e8
/1646/CH12/EX12.4/Ch12Ex4.sce
12db9640603dd76732ba8b306b71d70f15e99ab4
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
670
sce
Ch12Ex4.sce
// Scilab Code Ex12.4 : Page-605 (2011) clc; clear; B = 0.0044;....// Magnetic flux density, weber/meter square mu_o = 4*%pi*1e-07;....// Relative permeability of the material, henery/m I = 3300;....// Magnetization of a magnetic material, A/m //B = mu_o*(I+H), solving for H H = (B/mu_o)- I;....// Magnetizing force ,A/m printf("\nThe magnetic intensity,H = %3d A/m",H); // Relation between intensity of magnetization and relative permeability mu_r = (I/H)+1;....//substitute the value of I and H printf("\nThe relative permeability, mu_r = %5.2f",mu_r); //Result // The magnetic intensity,H = 201 A/m // The relative permeability, mu_r = 17.38
2d28a910bc8939b7e182cb7c0da16aa5aea2b1d8
ba5d14a99711f45c6f3d2d28e4e8c12c9120e536
/Báskara.sce
5eba777b3483eadf7e2a8967fc6da28b0f08fd16
[]
no_license
RuanXavierSantos/Exercicios_Scilab
0bf7aa6cc0b94e84bd560861c77d7a1a6c17bc2b
219c1609766e1ac1ad27f9469012d7f3bb6c8dea
refs/heads/main
2023-09-03T00:50:12.356763
2021-10-20T13:29:22
2021-10-20T13:29:22
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
166
sce
Báskara.sce
a=input("a: "); b=input("b: "); c=input("c: "); r1=(-b+sqrt((b^2)-4*a*c))/(2*a); r2=(-b-sqrt((b^2)-4*a*c))/(2*a); mprintf("r1 e r2 são: %f %f ",r1,r2);
97b0b3c187bd78e2a7bb4174623156deef7ddcb9
449d555969bfd7befe906877abab098c6e63a0e8
/1892/CH1/EX1.13/Example1_13.sce
f1d3e3879a6b6749868c6d19fc1c10d6a108adad
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
734
sce
Example1_13.sce
// Example 1.13 clear; clc; close; format('v',6); // Given data Pout=25;//in KW f=50;//in Hz phase=3;//no. of phase P=4;//no. of poles N=1410;//in rpm MechLoss=850;//in watts StatLossBYCuLoss=1.17; I2r=65;//in Ampere //Calculations Ns=120*f/P;//in rpm S=(Ns-N)/Ns;//slip Pm=Pout*1000+MechLoss;//in watts disp(Pm,"Gross mechanical power devloped in watts : "); //formula-: P2:Pc:Pm=1:S:1-S Pc=S*Pm/(1-S);//copper loss in Watts disp(Pc,"Rotor Copper Losses in watts : "); R2=Pc/phase/I2r^2;//in ohm/phase disp(R2,"Rotor resistance per phase in ohm ; "); StatorLoss=1.7*Pc;//in watts P2=Pc/S;//in Watts Pin=P2+StatorLoss;//in watts Eff=Pout*1000/Pin*100;//in % disp(Eff,"Full laod Efficiency in % : ");
6b7aa37d71bf3d7d3336e75531f8aff72cce3e94
449d555969bfd7befe906877abab098c6e63a0e8
/1574/CH2/EX2.6/SCS_ex_2_6.sce
c786cbdaec8a21b16931ec7f85549c0d5ceff0cc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
366
sce
SCS_ex_2_6.sce
clc; // Chapter 2 Switched communication systems //Example 2.6,page no 128 //given S=10000//no of subscribers C=16000//Tatol no of call in busy hour CR=C/S//busy hour calling rate mprintf('Busy hour calling rate is:%f \n',CR) T=2.6//avarage duration of calls in min A=C*(T/60)//rate of traffic flow mprintf('Rate of traffic flow is %f traffic unit ',A)
3c4d00576ca435ec8e90c1d1ed791b99e4d815d4
449d555969bfd7befe906877abab098c6e63a0e8
/389/CH3/EX3.7/Example3_7.sce
083394eccda077002f8cd6dafbe6331ed0951f49
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,018
sce
Example3_7.sce
clear; clc; // Illustration 3.7 // Page: 80 printf('Illustration 3.7 - Page: 80\n\n'); // solution //****Data*****// // a = water b = air out_dia = 0.0254;// [m] wall_thick = 0.00165;// [m] avg_velocity = 4.6;// [m/s] T1 = 66;// [C] P = 1;// [atm] Pa1 = 0.24;// [atm] k1 = 11400;// [W/(square m.K)] T2 = 24;// [C] k2 = 570;// [W/square m.K] k_Cu = 381;// [w/square m.K] //******// // For the metal tube int_dia = out_dia-(2*wall_thick);// [m] avg_dia = (out_dia+int_dia)/2;// [mm] Nb = 0; Flux_a = 1; Ya1 = 0.24; Yb1 = 1-Ya1; Mav = (Ya1*18.02)+(Yb1*29);// [kg/kmol] density = (Mav/22.41)*(273/(273+T1));// [kg/cubic m] viscosity = 1.75*10^(-5);// [kg/m.s] Cpa = 1880;// [J/kg.K] Cpmix = 1145;// [J/kg.K] Sc = 0.6; Pr = 0.75; G_prime = avg_velocity*density;// [kg/square m.s] G = G_prime/Mav;// [kmol/square m.s] Re = avg_dia*G_prime/viscosity; // From Table 3.3: // Jd = Std*Sc^(2/3) = (F/G)*Sc^(2/3) = 0.023*Re^(-0.17); Jd = 0.023*Re^(-0.17); F = (0.023*G)*(Re^(-0.17)/Sc^(2/3)); // The heat transfer coeffecient in the absence of mass transfer will be estimated through Jd = Jh // Jh = Sth*Pr^(2/3) = (h/Cp*G_prime)*(Pr^(2/3)) = Jd h = Jd*Cpmix*G_prime/(Pr^(2/3)); U = 1/((1/k1)+((wall_thick/k_Cu)*(int_dia/avg_dia))+((1/k2)*(int_dia/out_dia)));// W/square m.K // Using Eqn. 3.70 & 3.71 with Nb = 0 // Qt = (Na*18.02*Cpa/1-exp(-(Na*18.02*Cpa/h)))*(T1-Ti)+(Lambda_a*Na); // Qt = 618*(Ti-T2); // Using Eqn. 3.67, with Nb = 0, Cai/C = pai, Ca1/C = Ya1 = 0.24; // Na = F*log(((Flux_a)-(pai))/((Flux_a)-(Ya1)); // Solving above three Eqn. simultaneously: Ti = 42.2;// [C] pai = 0.0806;// [atm] Lambda_a = 43.4*10^6;// [J/kmol] Na = F*log(((Flux_a)-(pai))/((Flux_a)-(Ya1)));// [kmol/square m.s] Qt1 = 618*(Ti-T2);// [W/square m] Qt2 = ((Na*18.02*Cpa/(1-exp(-(Na*18.02*Cpa/h))))*(T1-Ti))+(Lambda_a*Na);// [W/square m] // since the value of Qt1 & Qt2 are relatively close printf('The local rate of condensation of water is %e kmol/square m.s',Na);
80adb49a8e5c3c9df8f214f1cc411ec7a060728b
449d555969bfd7befe906877abab098c6e63a0e8
/1184/CH12/EX12.1/Ex12_1.sce
a8dbdfa77d8cf02adb439bea61f6d0f50a6ed98e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
141
sce
Ex12_1.sce
//Example 12-1, page No - 448 clear clc N = 20 L = (N*(N-1))/2 printf('The number of interconnecting wires required are %d',L)
0d548d7d75978b264a6a5bc9e18eb5119926aad9
449d555969bfd7befe906877abab098c6e63a0e8
/1733/CH3/EX3.3/3_3.sce
43ac28f1a6e440368b97fc5355cb2aefc87b65ce
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
303
sce
3_3.sce
//3.3 clc; R=4; L=50*10^-6; C=6*10^-6; a=R^2; b=4*L/C; wr=(1/(L*C)-(R^2/(4*L^2)))^0.5; fr=wr/(2*%pi); Tr=1/fr; fo=6000; wo=2*%pi*fo; toff=%pi*(1/wo-1/wr); printf("Avialable circuit turn off time = %.8f sec", toff) fmax=1/(2*(%pi/wr+6*10^-6)); printf("\nMaximum frequency = %.1f Hz", fmax)
e17fbb30b9bb6adc65351d3bd7d1ffb77becdeb1
449d555969bfd7befe906877abab098c6e63a0e8
/2198/CH2/EX2.12.8/Ex2_12_8.sce
6695075cd7192dbec01c2b76792bd904ada847fc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
353
sce
Ex2_12_8.sce
//Ex 2.12.8 clc;clear;close; format('v',8); //Given : Rf=10;//ohm Vgamma=0.5;//Volt RL=20;//ohm V=3;//Volt //Loop 1: 75*I1-50*I=V-Vgamma //Loop 2: -50*I1+80*I=-Vgamma A=[75 -50;-50 80]; B=[V-Vgamma -Vgamma]; X=B*A^-1; I1=X(1);//A I=X(2);//A Vx=-Vgamma+50*I1;//Volt disp(Vx,"DC source(Volts) : "); //Answer is wrong in the textbook.
9409d9c1991a9f6845ebb370cb1ba99a08c989c3
33a08c8218e274bd88f35e08b6d5ec267a13c103
/0_general_tool_functions.sci
b9a3246b75236cd835f5137c4417cf90516cec9b
[]
no_license
llassabatere/Scilab-script-for-sorptivity
86b7823cdf3df291fd6795ada4a0bd600901c65f
68465d8fe6f43949571eb438f3c798258b12d5bd
refs/heads/main
2023-03-18T03:02:16.856245
2021-03-17T06:36:44
2021-03-17T06:36:44
348,604,657
0
0
null
null
null
null
UTF-8
Scilab
false
false
5,810
sci
0_general_tool_functions.sci
// to erase picture function y = close_windows(pi) for i = 1:pi close; end; y = pi endfunction // to erase files function y = erase_file(data_name) if MSDOS then unix('del '+data_name); else unix('rm -f '+data_name); end y = 0; endfunction // to filter data (delete Nan and Inf values function y = nn_finite(X) na = find(isnan(X) == %f)'; nb = find(isinf(X) == %f)'; y = intersect(na,nb)'; endfunction function y = nn_finite_pos(X) na = find(isnan(X) == %f)'; nb = find(isinf(X) == %f)'; nc = find(X>0)'; y = intersect(intersect(na,nb),nc)'; endfunction //general tool functions function y = mean_end(x,n) // mean of the n last points n_end = nc_end(x,n); y = mean(x(n_end,:)); endfunction function y = nc_end(x,n) // rank of the n last points nx = size(x,1); n_end = [nx-n+1:1:nx] y = n_end; endfunction function y = reduc(x,n1,n2,nc,V) // sequence n_ = [n1:nc:n2]; y = x(n_,:)-V*x(n1,:); endfunction function y = deriv_sqr(t,x) // estimation of the derivative in regards to suqre root of time y = zeros(size(x,1)-1,2) for i = 1:(size(x,1)-1) y(i,2) = (x(i+1)-x(i))/((t(i+1))^0.5-(t(i))^0.5); y(i,1) = (t(i+1)*t(i))^0.5; end; endfunction function y = deriv(t,x) // estimation of the derivative in regards to suqre root of time y = zeros(size(x,1)-1,2) for i = 1:(size(x,1)-1) y(i,2) = (x(i+1)-x(i))/(t(i+1)-t(i)); y(i,1) = (t(i+1)+t(i))/2; end; endfunction function y = ab_end(t,x,n) zx = x(nc_end(x,n),:); zt = t(nc_end(x,n),:); [a,b,sig] = reglin(zt',zx'); y = [b;a]; endfunction function y = section(r) y = %pi*r^2; endfunction // transformation of hypermatrix into matrix function y = matr(zz) for j = 1:size(zz,3) y(:,j) = zz(:,:,j); end; endfunction // Interpol and discretization function y = interpol(a,x,y) d = splin(x,y); y = interp(a,x,y,d); endfunction function y = discret_log(Imin,Imax,Rc,nc) I_num__1 = logspace(log(Imin)/log(10),log(Imax/Rc)/log(10),nc)'; I_num__2 = linspace(Imax/Rc,Imax,nc)'; y = [0;I_num__1;I_num__2]; endfunction // reduction of data with maximum (for CI) function y = compteur(X,Y) for i = 1:size(X,2) k = 1; while X(k,i) < Y(i,:), k = k+1; if k == size(X,1) then break end end y(i,:) = k-1; end endfunction function y = recompose_Z(X,Y,Z) aa = X(1:Z(1,:),:); aaa = Y(1:Z(1,:),1); k = 1; while k < size(Y,2) zz = max(aa)+X(2:Z(k+1,:),:); zzz = max(aaa)+Y(2:Z(k+1,:),k+1); aa = [aa;zz]; aaa = [aaa;zzz]; k = k+1; end y = [aa aaa]; endfunction function y = filtre_0(Y) k = 2; while Y(k,:) <> 0 k = k+1; if k == size(Y,1)+1 then break end end y = k-1; endfunction function y = filtre_0_V(Y) for i = 1:size(Y,2) y(i,:) = filtre_0(Y(:,i)) end endfunction // to reject values function y = reject_val(X,val_reject) a = cell(); for i = 1:size(val_reject,1) a{i} = find(X == val_reject(i))'; end b = []; for i = 1:size(a,1) b = union(b,a{i})'; end nn_ = linspace(1,size(X,1),size(X,1))'; for ii = 1:size(b,1) nn_(b(ii)) = 0; end y = find(nn_ > 0)'; endfunction function y = reject_val_approx(X,val_reject) // for approached values for i = 1:size(val_reject,1) [a b(i)] = min(abs(X - val_reject(i))); end nn_ = linspace(1,size(X,1),size(X,1))'; for ii = 1:size(b,1) nn_(b(ii)) = 0; end y = find(nn_ > 0)'; endfunction //general tool functions function y = Er(a,b) // error between two vectors delta = (a-b)'*(a-b); y = delta/(a'*a); endfunction function y = Er_V(a,b) // error between two vectors y = (a-b); endfunction function y = Er_Vr(a,b) // error between two vectors y = (a-b)./b; endfunction function y = R_Nash(a,b) // error between two vectors delta = (a-b)'*(a-b); vara = (a-mean(a))'*(a-mean(a)); y = 1 - delta/vara; endfunction function y = R_det(a,b) // error between two vectors cov_2 = ((a-mean(a))'*(b-mean(b)))^2; vara = (a-mean(a))'*(a-mean(a)); varb = (b-mean(b))'*(b-mean(b)); y = cov_2/(vara*varb); endfunction function y = RMSE(a,b) // error between two vectors delta = (a-b)'*(a-b); y = sqrt(delta/size(a,1)); endfunction function y = NRMSE(a,b) // error between two vectors y = RMSE(a,b)/(max(b)-min(b)); endfunction function y = CV_RMSE(a,b) // error between two vectors y = RMSE(a,b)/mean(b); endfunction
54f1b95d5211f06ef67e8b887a2c03b57e59673e
b3c9357cd1290921e67444ae057761959fdf24f1
/Curso de programação com Scilab/exhx.sce
4fdbb38dff9ab5c3ee204e001eeb5de97744049e
[]
no_license
joaolrneto/Scilab
91742520422426dc8a772997ef4a5d6376008b6e
f383f87e4585955cf19d0dae1b5c29f93c3f70b4
refs/heads/master
2023-02-05T20:13:03.677069
2020-12-30T14:53:09
2020-12-30T14:53:09
264,671,730
1
0
null
null
null
null
UTF-8
Scilab
false
false
420
sce
exhx.sce
clc clear function [hx]=hxsoma(x,den) if den > x then hx=return(1) end hx=((x^den)/(den))+hxsoma(x,den+1) endfunction function [hx]=hxmult(x,den) if den > x then hx=return(1) end hx=((x^den)/(den))*hxmult(x,den+1) endfunction x=input("Informe um valor para X :") den=1 numerador=hxsoma(x,den) denominador=hxmult(x,den) printf("h(x) = %.50f",numerador/denominador)
cd3959c9d0c69c3ba9fd4e74344f192c541ceb4c
8028c77435920a39892a421fca1e444a5fd9eacc
/apps/fm/test_and_ground/asist/image/FMLIMIT.TST
5a4867bdc9ce489838d432275abe3d8b11a92401
[ "NASA-1.3" ]
permissive
WindhoverLabs/airliner
fc2b2d59c73efc8f63c6fb8b3c4e00c5fddcc7c7
2ab9c8717e0a42d40b0d014a22dbcc1ed7ec0eb1
refs/heads/integration
2023-08-04T06:01:53.480641
2023-07-31T03:22:06
2023-07-31T03:22:06
332,887,132
9
2
null
2023-07-31T02:58:48
2021-01-25T21:21:52
C
UTF-8
Scilab
false
false
1,278
tst
FMLIMIT.TST
This is the test file for the fm_fileclose_stress test Garbage to follow... KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla
c573d21fa473290ceb8231142eb89d74eaaa0fa5
449d555969bfd7befe906877abab098c6e63a0e8
/3750/CH1/EX1.9/Ex1_9.sce
2c0bacb0a73b85f3d3664db96c5b00a600fe76b5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
142
sce
Ex1_9.sce
//Strength Of Material By G.Hyder //Chapter 1 //Example 9 //No Numerical Compution - Therotical Derivation to find how the load is shared
5ba4c1fc48a943b48e1a49321af9d61e58d496c6
ebd6f68d47e192da7f81c528312358cfe8052c8d
/swig/Examples/test-suite/scilab/access_change_runme.sci
e3705a2b35ec4c86bbf5ceca7c5d219dbb9a95c5
[ "LicenseRef-scancode-swig", "GPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only", "Apache-2.0" ]
permissive
inishchith/DeepSpeech
965ad34d69eb4d150ddf996d30d02a1b29c97d25
dcb7c716bc794d7690d96ed40179ed1996968a41
refs/heads/master
2021-01-16T16:16:05.282278
2020-05-19T08:00:33
2020-05-19T08:00:33
243,180,319
1
0
Apache-2.0
2020-02-26T05:54:51
2020-02-26T05:54:50
null
UTF-8
Scilab
false
false
466
sci
access_change_runme.sci
exec("swigtest.start", -1); try baseInt = new_BaseInt(); catch swigtesterror(); end try delete_BaseInt(baseInt); catch swigtesterror(); end try derivedInt = new_DerivedInt(); catch swigtesterror(); end try delete_DerivedInt(derivedInt); catch swigtesterror(); end try bottomInt = new_BottomInt(); catch swigtesterror(); end try delete_BottomInt(bottomInt); catch swigtesterror(); end exec("swigtest.quit", -1);
ba408a22f2099dbfb3aa2b54f8155c6a27c893d0
449d555969bfd7befe906877abab098c6e63a0e8
/2318/CH5/EX5.14/ex_5_14.sce
15bb76e9393923a01b94970277eeec51b76ab19f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
232
sce
ex_5_14.sce
//Example 5.14 // flux density clc; clear; close; //given data : R=200+50;// in ohm k=100*10^-6;// in coulomb theta=80;// divisions A=55*10^-4;// in m^2 N=1500;// turns B=(R*k*theta)/(2*A*N); disp(B,"The flux density,B(Wb/m^2) = ")
932049ea59a267265412139b39d608ee75e025fe
449d555969bfd7befe906877abab098c6e63a0e8
/260/CH4/EX4.5/4_5.sce
6703a8b0947b67f445a26554305cae333a2f8989
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
863
sce
4_5.sce
//Eg-4.5 //pg-149 clear clc //False Position Method clear ; close ; clc ; //Coefficients of polynomial in increasing order of power of x A = [-3.1622777 -1.2649111 -0.1264911 0 0 100]; x1 = 0 ; x2 = 2 ; fx = poly(A,'x','c'); printf('\n\nThe given equation can be modified and written in the following form after substituting the values of given constants\n') disp(fx) i = 0; eps = 1; while(eps > 10^(-6)) i = i+1; //printf('\n\nIteration No. %i \n',i); fx1 = horner(fx,x1); fx2 = horner(fx,x2); xnew = (x1*fx2 - x2*fx1)/(fx2-fx1); fxnew = horner(fx,xnew); //printf('xnew = %f \nfxnew = %f',xnew,fxnew); if fx1*fxnew < 0 then x2 = xnew ; else x1 = xnew ; end eps = abs(fxnew); end printf('\n\nThe result obtained after %d iterations is x = %f\n',i,xnew)
75839994f029da3e84a1c972cb2e9dc21a827a4d
449d555969bfd7befe906877abab098c6e63a0e8
/683/CH15/EX15.5/S_5.sce
086d491a81131ff3febbfce39436425f2a7fe80c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
618
sce
S_5.sce
// sum 15-5 clc; clear; d=200; r=d/2; N=300; P=5000; D=500; R=D/2; u=0.3; E=205*10^3; G=84*10^3; Ta=60; Kb=1.5; Kt=2; w=2*%pi*N/60; beta1=20*%pi/180; V=r*w; v=R*w; // Let T1-T2 =T T=P/V; x=u*%pi/sin(beta1); T2=T/((exp(x)-1)); T1=T2*exp(x); t=P/v; y=u*%pi; T3=t/((exp(x)-1)); T4=T3*exp(x); T=P/w; Rc=2612;; RA=645.1; MB=96.76; MC=-208.96; d=16*10^3*sqrt((Kb*MC)^2+(Kt*T)^2)/(%pi*Ta); d=d^(1/3); l=380; J=%pi*d^4/32; theta=T*10^3*l/(G*J); theta=theta*180/%pi; // printing data in scilab o/p window printf("d is %0.1f mm ",d); printf("\n theta is %0.2f deg ",theta);
93b6d3b606a2f2d889df29e2906e9ccd672acb90
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/GF38CPK/ATWM1_Working_Memory_MEG_GF38CPK_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce
a1d02de549d025cf690c00a324fd05ebea8d2db1
[]
no_license
atwm1/Presentation
65c674180f731f050aad33beefffb9ba0caa6688
9732a004ca091b184b670c56c55f538ff6600c08
refs/heads/master
2020-04-15T14:04:41.900640
2020-02-14T16:10:11
2020-02-14T16:10:11
56,771,016
0
1
null
null
null
null
UTF-8
Scilab
false
false
48,617
sce
ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce
# ATWM1 MEG Experiment scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2"; #scenario_type = fMRI; # Fuer Scanner #scenario_type = fMRI_emulation; # Zum Testen scenario_type = trials; # for MEG #scan_period = 2000; # TR #pulses_per_scan = 1; #pulse_code = 1; pulse_width=6; default_monitor_sounds = false; active_buttons = 2; response_matching = simple_matching; button_codes = 10, 20; default_font_size = 36; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; write_codes=true; # for MEG only begin; #Picture definitions box { height = 382; width = 382; color = 0, 0, 0;} frame1; box { height = 369; width = 369; color = 255, 255, 255;} frame2; box { height = 30; width = 4; color = 0, 0, 0;} fix1; box { height = 4; width = 30; color = 0, 0, 0;} fix2; box { height = 30; width = 4; color = 255, 0, 0;} fix3; box { height = 4; width = 30; color = 255, 0, 0;} fix4; box { height = 369; width = 369; color = 42, 42, 42;} background; TEMPLATE "StimuliDeclaration.tem" {}; trial { sound sound_incorrect; time = 0; duration = 1; } wrong; trial { sound sound_correct; time = 0; duration = 1; } right; trial { sound sound_no_response; time = 0; duration = 1; } miss; # Start of experiment (MEG only) - sync with CTF software trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; } expStart; time = 0; duration = 1000; code = "ExpStart"; port_code = 80; }; # baselinePre (at the beginning of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }default; time = 0; duration = 10000; #mri_pulse = 1; code = "BaselinePre"; port_code = 91; }; TEMPLATE "ATWM1_Working_Memory_MEG.tem" { trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4; 44 62 292 292 399 125 1742 2992 1992 fixation_cross gabor_109 gabor_133 gabor_078 gabor_051 gabor_109 gabor_133_alt gabor_078_alt gabor_051 "2_1_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_109_133_078_051_target_position_1_4_retrieval_position_1" gabor_109_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_1_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_109_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1992 2992 2042 fixation_cross gabor_143 gabor_111 gabor_027 gabor_006 gabor_143 gabor_111_alt gabor_027_alt gabor_006 "2_2_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2050_gabor_patch_orientation_143_111_027_006_target_position_1_4_retrieval_position_1" gabor_093_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_2_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_093_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2142 fixation_cross gabor_141 gabor_081 gabor_106 gabor_016 gabor_141_alt gabor_081 gabor_106_alt gabor_016 "2_3_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2150_gabor_patch_orientation_141_081_106_016_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_016_framed blank blank blank blank fixation_cross_white "2_3_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_016_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2092 2992 2092 fixation_cross gabor_073 gabor_039 gabor_055 gabor_129 gabor_073_alt gabor_039 gabor_055 gabor_129_alt "2_4_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2100_gabor_patch_orientation_073_039_055_129_target_position_2_3_retrieval_position_2" gabor_circ gabor_039_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_4_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_039_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1792 2992 2092 fixation_cross gabor_020 gabor_091 gabor_128 gabor_059 gabor_020 gabor_091_alt gabor_128_alt gabor_059 "2_5_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2100_gabor_patch_orientation_020_091_128_059_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_128_framed gabor_circ blank blank blank blank fixation_cross_white "2_5_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_128_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1792 2992 1942 fixation_cross gabor_122 gabor_064 gabor_015 gabor_035 gabor_122_alt gabor_064_alt gabor_015 gabor_035 "2_6_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_1950_gabor_patch_orientation_122_064_015_035_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_015_framed gabor_circ blank blank blank blank fixation_cross_white "2_6_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_015_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2342 fixation_cross gabor_057 gabor_130 gabor_019 gabor_172 gabor_057_alt gabor_130 gabor_019_alt gabor_172 "2_7_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_057_130_019_172_target_position_2_4_retrieval_position_2" gabor_circ gabor_084_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_7_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_084_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2142 2992 2192 fixation_cross gabor_157 gabor_094 gabor_134 gabor_076 gabor_157 gabor_094_alt gabor_134_alt gabor_076 "2_8_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_157_094_134_076_target_position_1_4_retrieval_position_1" gabor_019_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_8_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1942 2992 2542 fixation_cross gabor_148 gabor_133 gabor_081 gabor_099 gabor_148_alt gabor_133 gabor_081 gabor_099_alt "2_9_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1950_3000_2550_gabor_patch_orientation_148_133_081_099_target_position_2_3_retrieval_position_1" gabor_148_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_9_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_148_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 2242 fixation_cross gabor_097 gabor_034 gabor_120 gabor_142 gabor_097 gabor_034_alt gabor_120_alt gabor_142 "2_10_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2250_gabor_patch_orientation_097_034_120_142_target_position_1_4_retrieval_position_1" gabor_052_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_10_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_052_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2192 2992 2592 fixation_cross gabor_152 gabor_109 gabor_041 gabor_072 gabor_152_alt gabor_109 gabor_041_alt gabor_072 "2_11_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2600_gabor_patch_orientation_152_109_041_072_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_023_framed blank blank blank blank fixation_cross_white "2_11_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_023_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2042 2992 2042 fixation_cross gabor_038 gabor_060 gabor_145 gabor_086 gabor_038_alt gabor_060 gabor_145 gabor_086_alt "2_12_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2050_gabor_patch_orientation_038_060_145_086_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_145_framed gabor_circ blank blank blank blank fixation_cross_white "2_12_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_145_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_134 gabor_074 gabor_007 gabor_093 gabor_134_alt gabor_074 gabor_007_alt gabor_093 "2_13_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_134_074_007_093_target_position_2_4_retrieval_position_2" gabor_circ gabor_074_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_13_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_074_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1992 2992 2442 fixation_cross gabor_014 gabor_159 gabor_102 gabor_174 gabor_014 gabor_159_alt gabor_102 gabor_174_alt "2_14_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2450_gabor_patch_orientation_014_159_102_174_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_102_framed gabor_circ blank blank blank blank fixation_cross_white "2_14_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 1892 fixation_cross gabor_037 gabor_158 gabor_013 gabor_122 gabor_037_alt gabor_158 gabor_013_alt gabor_122 "2_15_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_1900_gabor_patch_orientation_037_158_013_122_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_075_framed blank blank blank blank fixation_cross_white "2_15_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_075_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1992 2992 1892 fixation_cross gabor_161 gabor_115 gabor_135 gabor_075 gabor_161 gabor_115 gabor_135_alt gabor_075_alt "2_16_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_1900_gabor_patch_orientation_161_115_135_075_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_075_framed blank blank blank blank fixation_cross_white "2_16_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_075_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_084 gabor_160 gabor_019 gabor_142 gabor_084_alt gabor_160_alt gabor_019 gabor_142 "2_17_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_084_160_019_142_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_142_framed blank blank blank blank fixation_cross_white "2_17_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_142_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1842 2992 1942 fixation_cross gabor_010 gabor_124 gabor_096 gabor_146 gabor_010 gabor_124 gabor_096_alt gabor_146_alt "2_18_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_1950_gabor_patch_orientation_010_124_096_146_target_position_1_2_retrieval_position_2" gabor_circ gabor_079_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_18_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_079_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1892 2992 2442 fixation_cross gabor_021 gabor_143 gabor_053 gabor_171 gabor_021 gabor_143_alt gabor_053 gabor_171_alt "2_19_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_021_143_053_171_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_053_framed gabor_circ blank blank blank blank fixation_cross_white "2_19_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 1942 2992 2092 fixation_cross gabor_028 gabor_082 gabor_116 gabor_009 gabor_028_alt gabor_082_alt gabor_116 gabor_009 "2_20_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1950_3000_2100_gabor_patch_orientation_028_082_116_009_target_position_3_4_retrieval_position_1" gabor_163_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_20_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_163_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2242 2992 2392 fixation_cross gabor_180 gabor_045 gabor_155 gabor_124 gabor_180 gabor_045 gabor_155_alt gabor_124_alt "2_21_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2400_gabor_patch_orientation_180_045_155_124_target_position_1_2_retrieval_position_2" gabor_circ gabor_093_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_21_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_093_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1942 2992 2192 fixation_cross gabor_066 gabor_177 gabor_045 gabor_008 gabor_066_alt gabor_177 gabor_045_alt gabor_008 "2_22_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2200_gabor_patch_orientation_066_177_045_008_target_position_2_4_retrieval_position_2" gabor_circ gabor_127_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_22_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_127_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 1942 fixation_cross gabor_064 gabor_002 gabor_109 gabor_091 gabor_064_alt gabor_002 gabor_109_alt gabor_091 "2_23_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_1950_gabor_patch_orientation_064_002_109_091_target_position_2_4_retrieval_position_2" gabor_circ gabor_002_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_23_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2192 2992 1992 fixation_cross gabor_125 gabor_179 gabor_057 gabor_040 gabor_125_alt gabor_179_alt gabor_057 gabor_040 "2_24_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2000_gabor_patch_orientation_125_179_057_040_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_105_framed gabor_circ blank blank blank blank fixation_cross_white "2_24_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_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; 44 63 292 292 399 125 1792 2992 2242 fixation_cross gabor_029 gabor_143 gabor_158 gabor_086 gabor_029 gabor_143 gabor_158_alt gabor_086_alt "2_25_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1800_3000_2250_gabor_patch_orientation_029_143_158_086_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_112_framed gabor_circ blank blank blank blank fixation_cross_white "2_25_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_112_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1842 2992 2292 fixation_cross gabor_119 gabor_096 gabor_011 gabor_150 gabor_119 gabor_096_alt gabor_011 gabor_150_alt "2_26_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2300_gabor_patch_orientation_119_096_011_150_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_061_framed gabor_circ blank blank blank blank fixation_cross_white "2_26_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_061_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2092 2992 2492 fixation_cross gabor_088 gabor_056 gabor_170 gabor_117 gabor_088_alt gabor_056 gabor_170 gabor_117_alt "2_27_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2500_gabor_patch_orientation_088_056_170_117_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_170_framed gabor_circ blank blank blank blank fixation_cross_white "2_27_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2092 2992 2492 fixation_cross gabor_026 gabor_090 gabor_106 gabor_179 gabor_026_alt gabor_090 gabor_106_alt gabor_179 "2_28_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2500_gabor_patch_orientation_026_090_106_179_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_043_framed blank blank blank blank fixation_cross_white "2_28_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_043_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1942 2992 1892 fixation_cross gabor_138 gabor_094 gabor_024 gabor_004 gabor_138 gabor_094 gabor_024_alt gabor_004_alt "2_29_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_1900_gabor_patch_orientation_138_094_024_004_target_position_1_2_retrieval_position_2" gabor_circ gabor_094_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_29_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2192 fixation_cross gabor_021 gabor_143 gabor_074 gabor_006 gabor_021_alt gabor_143 gabor_074_alt gabor_006 "2_30_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_021_143_074_006_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_006_framed blank blank blank blank fixation_cross_white "2_30_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 1842 2992 2442 fixation_cross gabor_175 gabor_044 gabor_117 gabor_065 gabor_175 gabor_044_alt gabor_117 gabor_065_alt "2_31_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2450_gabor_patch_orientation_175_044_117_065_target_position_1_3_retrieval_position_2" gabor_circ gabor_089_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_31_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_089_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1742 2992 1992 fixation_cross gabor_127 gabor_001 gabor_110 gabor_161 gabor_127 gabor_001_alt gabor_110 gabor_161_alt "2_32_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_127_001_110_161_target_position_1_3_retrieval_position_1" gabor_127_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_32_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_127_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1892 2992 2242 fixation_cross gabor_117 gabor_033 gabor_164 gabor_141 gabor_117 gabor_033_alt gabor_164_alt gabor_141 "2_33_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2250_gabor_patch_orientation_117_033_164_141_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_141_framed blank blank blank blank fixation_cross_white "2_33_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_141_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2242 2992 2342 fixation_cross gabor_043 gabor_102 gabor_013 gabor_124 gabor_043 gabor_102 gabor_013_alt gabor_124_alt "2_34_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_043_102_013_124_target_position_1_2_retrieval_position_1" gabor_043_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_34_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_043_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 1992 fixation_cross gabor_086 gabor_164 gabor_137 gabor_107 gabor_086_alt gabor_164 gabor_137 gabor_107_alt "2_35_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2000_gabor_patch_orientation_086_164_137_107_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_001_framed gabor_circ blank blank blank blank fixation_cross_white "2_35_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 2492 fixation_cross gabor_148 gabor_086 gabor_103 gabor_039 gabor_148 gabor_086_alt gabor_103_alt gabor_039 "2_36_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2500_gabor_patch_orientation_148_086_103_039_target_position_1_4_retrieval_position_1" gabor_148_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_36_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2292 fixation_cross gabor_126 gabor_048 gabor_077 gabor_017 gabor_126 gabor_048_alt gabor_077_alt gabor_017 "2_37_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2300_gabor_patch_orientation_126_048_077_017_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_017_framed blank blank blank blank fixation_cross_white "2_37_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_017_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2042 2992 1892 fixation_cross gabor_019 gabor_078 gabor_104 gabor_150 gabor_019 gabor_078_alt gabor_104_alt gabor_150 "2_38_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2050_3000_1900_gabor_patch_orientation_019_078_104_150_target_position_1_4_retrieval_position_2" gabor_circ gabor_128_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_38_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_128_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 2192 fixation_cross gabor_173 gabor_117 gabor_146 gabor_001 gabor_173_alt gabor_117 gabor_146 gabor_001_alt "2_39_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_173_117_146_001_target_position_2_3_retrieval_position_2" gabor_circ gabor_067_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_39_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_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; 44 64 292 292 399 125 1892 2992 2092 fixation_cross gabor_167 gabor_149 gabor_125 gabor_093 gabor_167_alt gabor_149 gabor_125_alt gabor_093 "2_40_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2100_gabor_patch_orientation_167_149_125_093_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_125_framed gabor_circ blank blank blank blank fixation_cross_white "2_40_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_125_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1992 2992 1942 fixation_cross gabor_013 gabor_063 gabor_044 gabor_083 gabor_013 gabor_063_alt gabor_044_alt gabor_083 "2_41_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_013_063_044_083_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_132_framed blank blank blank blank fixation_cross_white "2_41_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_132_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1992 2992 2542 fixation_cross gabor_095 gabor_044 gabor_076 gabor_132 gabor_095 gabor_044_alt gabor_076 gabor_132_alt "2_42_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_095_044_076_132_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_026_framed gabor_circ blank blank blank blank fixation_cross_white "2_42_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1842 2992 1892 fixation_cross gabor_137 gabor_082 gabor_116 gabor_061 gabor_137 gabor_082_alt gabor_116_alt gabor_061 "2_43_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_1900_gabor_patch_orientation_137_082_116_061_target_position_1_4_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_43_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_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; 44 61 292 292 399 125 2092 2992 2092 fixation_cross gabor_091 gabor_022 gabor_062 gabor_180 gabor_091_alt gabor_022_alt gabor_062 gabor_180 "2_44_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2100_gabor_patch_orientation_091_022_062_180_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_133_framed blank blank blank blank fixation_cross_white "2_44_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_133_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1742 2992 2442 fixation_cross gabor_118 gabor_007 gabor_167 gabor_152 gabor_118_alt gabor_007 gabor_167_alt gabor_152 "2_45_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2450_gabor_patch_orientation_118_007_167_152_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_167_framed gabor_circ blank blank blank blank fixation_cross_white "2_45_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_167_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2192 2992 2042 fixation_cross gabor_014 gabor_083 gabor_142 gabor_034 gabor_014 gabor_083_alt gabor_142_alt gabor_034 "2_46_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2050_gabor_patch_orientation_014_083_142_034_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_171_framed blank blank blank blank fixation_cross_white "2_46_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_171_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1942 2992 2142 fixation_cross gabor_117 gabor_092 gabor_149 gabor_066 gabor_117_alt gabor_092 gabor_149 gabor_066_alt "2_47_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_117_092_149_066_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_149_framed gabor_circ blank blank blank blank fixation_cross_white "2_47_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_149_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2192 2992 2292 fixation_cross gabor_007 gabor_023 gabor_038 gabor_070 gabor_007 gabor_023_alt gabor_038 gabor_070_alt "2_48_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2300_gabor_patch_orientation_007_023_038_070_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_087_framed gabor_circ blank blank blank blank fixation_cross_white "2_48_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1742 2992 2142 fixation_cross gabor_147 gabor_097 gabor_033 gabor_121 gabor_147 gabor_097 gabor_033_alt gabor_121_alt "2_49_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2150_gabor_patch_orientation_147_097_033_121_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_033_framed gabor_circ blank blank blank blank fixation_cross_white "2_49_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_033_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1842 2992 2192 fixation_cross gabor_048 gabor_110 gabor_175 gabor_129 gabor_048 gabor_110_alt gabor_175 gabor_129_alt "2_50_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2200_gabor_patch_orientation_048_110_175_129_target_position_1_3_retrieval_position_1" gabor_002_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_50_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2092 2992 2392 fixation_cross gabor_021 gabor_095 gabor_134 gabor_045 gabor_021 gabor_095_alt gabor_134_alt gabor_045 "2_51_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_021_095_134_045_target_position_1_4_retrieval_position_1" gabor_160_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_51_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_160_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2092 2992 2142 fixation_cross gabor_126 gabor_075 gabor_044 gabor_107 gabor_126 gabor_075_alt gabor_044 gabor_107_alt "2_52_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2150_gabor_patch_orientation_126_075_044_107_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_091_framed gabor_circ blank blank blank blank fixation_cross_white "2_52_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1892 2992 2542 fixation_cross gabor_145 gabor_077 gabor_166 gabor_058 gabor_145_alt gabor_077_alt gabor_166 gabor_058 "2_53_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2550_gabor_patch_orientation_145_077_166_058_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_008_framed blank blank blank blank fixation_cross_white "2_53_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1992 2992 2292 fixation_cross gabor_004 gabor_051 gabor_114 gabor_074 gabor_004 gabor_051_alt gabor_114 gabor_074_alt "2_54_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_2300_gabor_patch_orientation_004_051_114_074_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_074_framed blank blank blank blank fixation_cross_white "2_54_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_074_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1792 2992 2392 fixation_cross gabor_169 gabor_015 gabor_128 gabor_149 gabor_169_alt gabor_015_alt gabor_128 gabor_149 "2_55_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2400_gabor_patch_orientation_169_015_128_149_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_149_framed blank blank blank blank fixation_cross_white "2_55_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_149_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2592 fixation_cross gabor_051 gabor_028 gabor_074 gabor_137 gabor_051 gabor_028 gabor_074_alt gabor_137_alt "2_56_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_051_028_074_137_target_position_1_2_retrieval_position_1" gabor_003_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_56_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1942 2992 2292 fixation_cross gabor_069 gabor_130 gabor_043 gabor_148 gabor_069_alt gabor_130 gabor_043_alt gabor_148 "2_57_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_069_130_043_148_target_position_2_4_retrieval_position_2" gabor_circ gabor_130_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_57_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_130_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1892 2992 2142 fixation_cross gabor_067 gabor_018 gabor_087 gabor_131 gabor_067 gabor_018_alt gabor_087 gabor_131_alt "2_58_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2150_gabor_patch_orientation_067_018_087_131_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_087_framed gabor_circ blank blank blank blank fixation_cross_white "2_58_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2192 2992 1942 fixation_cross gabor_157 gabor_088 gabor_001 gabor_127 gabor_157 gabor_088 gabor_001_alt gabor_127_alt "2_59_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_157_088_001_127_target_position_1_2_retrieval_position_2" gabor_circ gabor_038_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_59_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_038_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1892 2992 2592 fixation_cross gabor_162 gabor_009 gabor_135 gabor_178 gabor_162 gabor_009 gabor_135_alt gabor_178_alt "2_60_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2600_gabor_patch_orientation_162_009_135_178_target_position_1_2_retrieval_position_2" gabor_circ gabor_009_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_60_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2192 2992 2242 fixation_cross gabor_063 gabor_128 gabor_178 gabor_105 gabor_063_alt gabor_128_alt gabor_178 gabor_105 "2_61_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2250_gabor_patch_orientation_063_128_178_105_target_position_3_4_retrieval_position_1" gabor_018_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_61_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_018_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 2342 fixation_cross gabor_051 gabor_029 gabor_013 gabor_103 gabor_051_alt gabor_029 gabor_013 gabor_103_alt "2_62_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_051_029_013_103_target_position_2_3_retrieval_position_2" gabor_circ gabor_029_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_62_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_029_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2242 fixation_cross gabor_029 gabor_140 gabor_102 gabor_074 gabor_029 gabor_140_alt gabor_102 gabor_074_alt "2_63_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_029_140_102_074_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_055_framed gabor_circ blank blank blank blank fixation_cross_white "2_63_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_055_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1892 2992 2592 fixation_cross gabor_092 gabor_151 gabor_076 gabor_027 gabor_092_alt gabor_151 gabor_076 gabor_027_alt "2_64_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2600_gabor_patch_orientation_092_151_076_027_target_position_2_3_retrieval_position_2" gabor_circ gabor_151_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_64_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2242 2992 1992 fixation_cross gabor_045 gabor_092 gabor_030 gabor_014 gabor_045_alt gabor_092 gabor_030_alt gabor_014 "2_65_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2000_gabor_patch_orientation_045_092_030_014_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_014_framed blank blank blank blank fixation_cross_white "2_65_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_014_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2142 2992 2342 fixation_cross gabor_119 gabor_137 gabor_152 gabor_094 gabor_119 gabor_137_alt gabor_152_alt gabor_094 "2_66_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2350_gabor_patch_orientation_119_137_152_094_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_012_framed gabor_circ blank blank blank blank fixation_cross_white "2_66_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_012_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1742 2992 2392 fixation_cross gabor_001 gabor_113 gabor_165 gabor_043 gabor_001_alt gabor_113 gabor_165_alt gabor_043 "2_67_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_001_113_165_043_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_043_framed blank blank blank blank fixation_cross_white "2_67_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_043_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2242 2992 2542 fixation_cross gabor_153 gabor_136 gabor_119 gabor_031 gabor_153_alt gabor_136 gabor_119 gabor_031_alt "2_68_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_153_136_119_031_target_position_2_3_retrieval_position_2" gabor_circ gabor_091_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_68_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2242 2992 2492 fixation_cross gabor_046 gabor_135 gabor_064 gabor_007 gabor_046 gabor_135 gabor_064_alt gabor_007_alt "2_69_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2500_gabor_patch_orientation_046_135_064_007_target_position_1_2_retrieval_position_2" gabor_circ gabor_135_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_69_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_135_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2242 2992 2342 fixation_cross gabor_016 gabor_166 gabor_085 gabor_149 gabor_016 gabor_166_alt gabor_085_alt gabor_149 "2_70_Encoding_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2250_3000_2350_gabor_patch_orientation_016_166_085_149_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_035_framed gabor_circ blank blank blank blank fixation_cross_white "2_70_Retrieval_Working_Memory_MEG_P4_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_035_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; };
d66b48eef4ed67ad3ad277629e4acc6fbf178da6
33d7960e39a3e71591538dccbe1dd4014c377e78
/Exercise_35.sce
ead56e031cc06a50a451bcb0863c27487c19b61b
[]
no_license
wiiwins/Compfin
529e2997994babb9e3795283ddbd8ec782131148
2629685421e970a369ec797b76dda3d2803bcbcf
refs/heads/master
2020-05-18T01:25:39.357847
2019-06-27T11:21:46
2019-06-27T11:21:46
184,090,400
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,148
sce
Exercise_35.sce
//C-Exercise 35 //Jurian Kahl //Phanrattinon Nattawut function [X_exact, X_Euler, X_Milshtein] = Sim_Paths_GeoBM(X0, mu, sigma, T, N) delta_t=T/N; delta_W=grand(N, 1, 'nor', 0, sqrt(delta_t)); //set initial value for each method X_exact=X0*ones(1); X_Euler=X0*ones(1); X_Milshtein=X0*ones(1); for i=1:N X_exact(i+1)= X_exact(i)*exp((mu-0.5*sigma^2)*delta_t + sigma*delta_W(i)); X_Euler(i+1)=X_Euler(i) + X_Euler(i)*mu*delta_t + X_Euler(i)*sigma*delta_W(i); X_Milshtein(i+1)=X_Milshtein(i) + X_Milshtein(i)*mu*delta_t + X_Milshtein(i)*sigma*delta_W(i)+0.5*sigma^2*X_Milshtein(i)*((delta_W(i))^2-delta_t); end endfunction //Set Parameters X0=100; mu=0.1; sigma=0.3; T=1; N(1)=10; N(2)=100; N(3)=1000; N(4)=10000; //Plot clf() for i=1:4 [X_exact, X_Euler, X_Milshtein]=Sim_Paths_GeoBM(X0,mu,sigma,T,N(i)); subplot(2,2,i); plot(X_exact,'red'); plot(X_Euler, 'blue'); plot(X_Milshtein, 'k--'); xlabel('T/delta_t'); ylabel('X(t)'); title('N ='+string(N(i))); legend('Exact Solution','Euler method','Milshtein method'); end
74c6ddcd4a2ecad1ce641a4632f5af7a64d26bbd
26e635ac8cface47c780ac4fb8a3b3270780a36d
/School of Basic Sciences/IC150P Computation for Engineers LAB/Lab/Assignment_11/lab11q1.sce
a51d1f53ac290ca2abff1ccc71c799374cac0ae9
[]
no_license
tshrjn/iitmandi
62643ce37accd9b1fb3981eb34e7dc3c4314fe43
6c020e591b97e3920f53c12da320fac270b26254
refs/heads/master
2021-01-22T05:23:54.077888
2017-02-11T13:40:11
2017-02-11T13:40:11
81,653,245
1
0
null
null
null
null
UTF-8
Scilab
false
false
294
sce
lab11q1.sce
A = [1 2 3 4 5 ; 1 2 3 4 5 ; 1 2 3 4 5 ; 1 2 3 4 5 ; 1 2 3 4 5] B = [6 7 8 9 10 ; 6 7 8 9 10 ; 6 7 8 9 10 ; 6 7 8 9 10 ; 6 7 8 9 10] C = A + B D = A * B disp (C) disp (D) E = [A(2,3) A(2,4) ; A(3,3) A(3,4)] disp (E) F = det (A) G = det (B) disp (F) disp (G) [L,U] = lu(A) disp ([L,U])
6501738db1350c375fd680e9203f8a913117746a
449d555969bfd7befe906877abab098c6e63a0e8
/551/CH5/EX5.33/33.sce
ebc9d15911d4624394e0725bce327b1152f0777f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
275
sce
33.sce
clc V1=0.05; //m^3 p1=1*10^5; //Pa T1=280; //K p2=5*10^5; //Pa disp("(i) Change in entropy") R0=8.314; M=28; R=R0/M; m=p1*V1/R/T1/1000; dS=m*R*log(p1/p2); disp("dS=") disp(dS) disp("kJ/K") disp("(ii)Work done") Q=T1*dS; disp("Q=") disp(Q) disp("kJ")
f9c73b695b94c899171c1d18635cb2657fc58ad0
449d555969bfd7befe906877abab098c6e63a0e8
/3733/CH34/EX34.19/Ex34_19.sce
b2802901f766b0b999e3ae42109bd50aa5faacfb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,370
sce
Ex34_19.sce
// Example 34_19 clc;funcprot(0); //Given data //(i)A private diesel generating plant MD=900;// kW F_l=30;// Load factor in % Cc=90*10^5;// Capital cost in rupees Cf=800;// Fuel cost in Rs./ton Fc=0.3;//Fuel consumption in kg/kWh-generated Mc=2.5;// Cost of maintainence in paise/kWh-generated Oc=0.3;// Cost of lubricating oil,water,store,etc in paise/kWh-generated W=180000;// Wages in Rs./year ID_1=10;//Interest and decpreciation in % per year //(ii)Public supply MD_pub=1500;// Maximum demand per year in Rs./kW Mc_pub=80;// paise/kWh //Calculation //(i)Private plant ID=ID_1*Cc;//Interest and decpreciation in rupees Nu=MD*(F_l/100)*8760;//Number of units required per year in kWh/year Fr=(F_l/100)*(Nu);// Fuel required in kg/year CF=Fr*(Mc_pub/100);// Fuel cost in Rs./year Cmo=((0.3+2.5)/100)*Nu;//Cost of maintainence,oil and water in Rs./year Tc=ID+CF+Cmo+W;// Total cost of running the plant per year in rupees Ec_1=(Tc/Nu);//The energy cost in Rs./kWh //(ii)Public supply Tc=(MD_pub*MD)+((Mc_pub/100)*Nu);// Total cost in Rs./year Ec_2=Tc/Nu;// Energy cost in Rs./kWh if(Ec_1>Ec_2) printf('\nThe public supply set is preferable as its cost is less than diesel set.'); else printf('\nThe private supply set is preferable as its cost is less than diesel set.'); end // The answer provided in the textbook is wrong
2afc15b746fa83744be9759d5b0e7c4419caba7b
6bbc9f4f7e12ef440acd3fe25a51b4f048cde42d
/Image-Enhancement-in-the-Spatial-Domain/Logical-Operations.sce
9ddb420ebab844745b758d587ab7ba5cbc3df7f1
[]
no_license
krisbimantara/Image-Processing-SCILAB
9dee568676b4f2943c54074d8c88c84cb33b3bb2
bf8e8905efcdd6e3e0096f7a87cce8212fe0f14c
refs/heads/main
2023-03-27T04:55:37.463238
2021-03-29T13:30:26
2021-03-29T13:30:26
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,748
sce
Logical-Operations.sce
A=imread('bima.jpg'); B=imread('angkasa.jpg'); C=bitand(A, B); D=bitor(A, B); E=bitxor(A, B); F=bitcmp(A); G=bitcmp(B); figure(); subplot(221); imshow(B); xtitle('Foto Asli'); subplot(222); imshow(B(:,:,1)); xtitle('Lapisan Merah'); subplot(223); imshow(B(:,:,2)); xtitle('Lapisan Hijau'); subplot(224); imshow(B(:,:,3)); xtitle('Lapisan Biru'); figure(); subplot(221); imshow(C); xtitle('Foto Asli Operator AND'); subplot(222); imshow(C(:,:,1)); xtitle('Lapisan Merah Operator AND'); subplot(223); imshow(C(:,:,2)); xtitle('Lapisan Hijau Operator AND'); subplot(224); imshow(C(:,:,3)); xtitle('Lapisan Biru Operator AND'); figure(); subplot(221); imshow(D); xtitle('Foto Asli Operator OR'); subplot(222); imshow(D(:,:,1)); xtitle('Lapisan Merah Operator OR'); subplot(223); imshow(D(:,:,2)); xtitle('Lapisan Hijau Operator OR'); subplot(224); imshow(D(:,:,3)); xtitle('Lapisan Biru Operator OR'); figure(); subplot(221); imshow(E); xtitle('Foto Asli Operator XOR'); subplot(222); imshow(E(:,:,1)); xtitle('Lapisan Merah Operator XOR'); subplot(223); imshow(E(:,:,2)); xtitle('Lapisan Hijau Operator XOR'); subplot(224); imshow(E(:,:,3)); xtitle('Lapisan Biru Operator XOR'); figure(); subplot(221); imshow(F); xtitle('Foto Asli Operator NOT A'); subplot(222); imshow(F(:,:,1)); xtitle('Lapisan Merah Operator NOT A'); subplot(223); imshow(F(:,:,2)); xtitle('Lapisan Hijau Operator NOT A'); subplot(224); imshow(F(:,:,3)); xtitle('Lapisan Biru Operator NOT A'); figure(); subplot(221); imshow(G); xtitle('Foto Asli Operator NOT B'); subplot(222); imshow(G(:,:,1)); xtitle('Lapisan Merah Operator NOT B'); subplot(223); imshow(G(:,:,2)); xtitle('Lapisan Hijau Operator NOT B'); subplot(224); imshow(G(:,:,3)); xtitle('Lapisan Biru Operator NOT B');
6fc70a45be909eb053e29575f433ada32622c0c9
449d555969bfd7befe906877abab098c6e63a0e8
/3871/CH16/EX16.4/Ex16_4.sce
8d4988f819cf2b36523a2d75230c4cee9f4de8ed
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
855
sce
Ex16_4.sce
//===================================================================================== //Chapter 16 example 4 clc;clear all; //variable declaration Va = 2000; //accelerating voltage in V e = 1.6*10^-19; //charge of electron in C m = 9.1*10^-31; //mass of electron in kg l = 0.015; //length of plates in m d = 0.005; //distance between plates in m S = 0.5; //the distance between the screen and centre of plates in m //calcuations V = sqrt(2*Va*(e/m)); //beam speed in m/s Sd = (l*S)/(2*d*Va); //deflection sensitivity of the tube in mm/V D = 1/(Sd); //defelection factor in V/mm //result mprintf("Beam speed = %3.3e m/s",V); mprintf("\ndeflection sensitivity of the tube %3.3f mm/V",(Sd*10^3)); mprintf("\ndefelcction factor = %3.4f V/mm",(D*10^-3));
670ede007256457f8987a54fb2d88e3732f51c2a
449d555969bfd7befe906877abab098c6e63a0e8
/615/CH7/EX7.2/7_2.sce
ec6cfaeb8a4c1a5dad8880c961cd3ee439b3b8b1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
514
sce
7_2.sce
//water chemistry// //example 7.2// F=56;//atomic weight of ferrus// S=32;//atomic weight of sulphur// O=16;//atomic weight of oxygen// Ca=40;//atomic weight of calsium// C=12;//atomic weight of carbon// W1=F+S+(4*O);//molecular weight of FeSO4// W2=Ca+C+(3*O);//molecular weight of CaCO3// A=(W1/W2)*100; printf("Required FeSO4 for 100ppm of hardness is %fmg/lit",A); P=210.5;//required ppm of hardness// B=(A/100)*P; printf("\nRequired FeSO4 for 210.5ppm of hardness is %fmg/lit or ppm of FeSO4",B);
afec7374dfd3f23bd86eedf289d11de82d032bdd
449d555969bfd7befe906877abab098c6e63a0e8
/2780/CH3/EX3.32/Ex3_32.sce
f82252368e5ba15226a2946a06a4c260ccb4c6c9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
502
sce
Ex3_32.sce
clc //will the telescope be able to observe the wiremesh a=3 //aperture in cm lambda=5.5*10^-5 //wavelength of light in cm //limit of resolution of telescope is given by theta=1.22*lambda/a //alpha=spacing of wire-mesh/distance of objective from wire-mesh alpha=0.2/(80*10^2) disp("theta="+string(theta)+"radian") disp("alpha="+string(alpha)+"radian") disp("if alpha>theta then telescope will be able to observe the wire-mesh") //value of alpha is given wrong in the book 2.25*10^-5 radian
a3a4f2189bc858a944ed3153d307a0a6346da716
449d555969bfd7befe906877abab098c6e63a0e8
/620/CH19/EX19.7/example19_7.sce
e04fb6bd6a5d19c4f1cb95944c61fae6def400fd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
552
sce
example19_7.sce
l=30*10^(-3); r=2000; v=50; disp("Part a"); t0=l/r; t1=0; v1=v*exp(-t1/t0); disp("the initial voltage (in V) across the coil is"); disp(v1); t2=7.5*10^(-6); v2=v*exp(-t2/t0); disp("the voltage (in V) across the coil 7.5 μs after closing th sitch is"); disp(v2); disp("Part c"); t3=45*10^(-6); i=v*(1-exp(-t2/t0))/r; disp("the current (in mA) 45 μs after closing the switch is"); disp(i*10^3); disp("Part d"); v3=37.5; t4=-log(1-v3/v)*t0; disp("the time taken (in μs) for voltage across resistor to reach 37.5 V is"); disp(t4*10^6);
cb3df094e2313162a6e8c7c3bba5f4865165fda5
089894a36ef33cb3d0f697541716c9b6cd8dcc43
/NLP_Project/test/blog/bow/bow.8_2.tst
b58ad03af7e9f716b0899c1666d631190e3e1215
[]
no_license
mandar15/NLP_Project
3142cda82d49ba0ea30b580c46bdd0e0348fe3ec
1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2
refs/heads/master
2020-05-20T13:36:05.842840
2013-07-31T06:53:59
2013-07-31T06:53:59
6,534,406
0
1
null
null
null
null
UTF-8
Scilab
false
false
5,278
tst
bow.8_2.tst
8 1:0.09090909090909091 9:2.0 16:0.06451612903225806 23:0.14285714285714285 52:0.5 77:0.3333333333333333 84:0.25 91:1.0 92:1.0 114:0.2222222222222222 120:0.2 156:1.0 199:1.0 291:1.0 318:1.0 343:0.5 394:0.5 467:1.0 584:1.0 751:2.0 933:1.0 1030:1.0 1233:1.0 8 120:0.2 343:0.5 368:1.0 722:1.0 8 1:0.09090909090909091 16:0.03225806451612903 23:0.14285714285714285 27:0.1111111111111111 76:1.0 84:0.25 91:1.0 92:1.0 106:0.125 120:0.4 349:0.5 577:0.3333333333333333 959:1.0 1082:1.0 8 12:0.0625 50:0.125 81:0.2 112:0.25 269:0.3333333333333333 343:1.0 368:1.0 736:1.0 746:1.0 822:1.0 1065:1.0 8 9:2.0 11:1.0 12:0.0625 84:0.5 152:0.25 170:0.16666666666666666 262:0.25 296:2.0 370:1.0 382:1.0 392:1.0 432:1.0 437:0.3333333333333333 728:1.0 746:3.0 773:1.0 8 12:0.0625 55:1.0 87:1.0 194:1.0 272:1.0 746:2.0 917:1.0 8 3:0.5 4:1.0 5:0.2 6:2.0 12:0.125 18:1.0 23:0.42857142857142855 27:0.2222222222222222 33:0.25 49:1.0 50:0.125 51:1.0 81:0.2 95:0.5 108:1.0 120:0.2 270:1.0 286:1.0 491:2.0 690:1.0 706:1.0 939:1.0 1030:1.0 8 9:2.0 16:0.016129032258064516 23:0.14285714285714285 43:0.3333333333333333 50:0.25 52:1.0 81:0.2 84:0.25 114:0.1111111111111111 119:1.0 539:1.0 541:1.0 553:1.0 608:1.0 770:1.0 1011:1.0 1030:1.0 1037:1.0 1080:1.0 1089:1.0 8 44:1.0 120:0.2 258:0.1 635:1.0 8 3:0.5 27:0.1111111111111111 50:0.25 394:0.5 1059:1.0 8 3:0.5 9:3.0 12:0.125 16:0.06451612903225806 23:0.14285714285714285 27:0.1111111111111111 44:1.0 50:0.125 52:0.5 81:0.2 84:0.25 89:0.5 92:2.0 95:0.5 120:0.4 123:1.0 132:0.5 144:2.0 152:0.25 168:2.0 200:1.0 258:0.1 314:1.0 349:0.5 505:0.5 622:1.0 676:1.0 871:2.0 8 3:0.5 9:1.0 16:0.04838709677419355 27:0.2222222222222222 50:0.25 84:0.25 92:1.0 112:0.25 148:0.5 231:1.0 699:1.0 873:1.0 8 1:0.09090909090909091 16:0.016129032258064516 27:0.2222222222222222 29:1.0 50:0.25 62:1.0 120:0.2 152:0.25 154:0.25 159:1.0 299:1.0 751:1.0 827:0.5 933:1.0 8 3:2.0 9:1.0 10:1.0 16:0.016129032258064516 23:0.42857142857142855 27:0.2222222222222222 50:0.625 77:0.3333333333333333 81:0.2 92:2.0 95:0.5 114:0.1111111111111111 126:1.0 164:0.5 172:0.25 183:0.5 194:1.0 200:1.0 205:1.0 258:0.1 416:1.0 455:1.0 1184:1.0 8 1:0.09090909090909091 9:1.0 15:1.0 16:0.016129032258064516 33:0.25 81:0.2 93:1.0 114:0.1111111111111111 120:0.2 124:1.0 125:1.0 281:1.0 349:1.0 394:0.5 622:1.0 1089:1.0 1188:1.0 8 23:0.2857142857142857 27:0.1111111111111111 50:0.375 52:0.5 81:0.2 90:1.0 91:2.0 152:0.25 289:1.0 467:1.0 491:1.0 607:0.5 794:1.0 958:1.0 959:1.0 960:1.0 961:1.0 962:1.0 963:1.0 964:1.0 965:1.0 966:1.0 967:1.0 968:1.0 969:1.0 970:1.0 8 50:0.125 106:0.125 817:1.0 971:1.0 972:1.0 973:1.0 974:1.0 8 3:0.5 28:1.0 50:0.125 95:0.5 114:0.1111111111111111 120:0.2 165:1.0 170:0.16666666666666666 927:1.0 975:1.0 976:1.0 977:1.0 978:1.0 979:1.0 8 114:0.1111111111111111 154:0.25 170:0.16666666666666666 212:0.5 349:1.0 618:1.0 784:1.0 980:1.0 981:1.0 982:1.0 8 3:0.5 23:0.2857142857142857 50:0.125 81:0.2 269:0.3333333333333333 392:1.0 407:0.16666666666666666 657:1.0 780:1.0 983:1.0 984:1.0 985:1.0 986:1.0 987:1.0 988:1.0 989:1.0 990:1.0 991:1.0 8 9:1.0 64:1.0 90:1.0 120:0.2 381:0.2 618:1.0 645:1.0 992:1.0 993:1.0 994:1.0 995:1.0 8 3:0.5 9:1.0 16:0.016129032258064516 23:0.2857142857142857 52:0.5 81:0.2 91:1.0 95:1.0 114:0.1111111111111111 119:1.0 120:0.2 135:1.0 198:1.0 269:0.3333333333333333 312:2.0 353:0.5 491:1.0 499:1.0 796:1.0 983:1.0 985:2.0 993:3.0 996:1.0 997:1.0 998:1.0 999:1.0 8 81:0.2 468:1.0 1000:1.0 1001:1.0 8 4:1.0 9:1.0 23:0.14285714285714285 50:0.25 77:0.3333333333333333 81:0.2 95:0.5 106:0.125 123:1.0 131:1.0 132:0.5 343:0.5 737:1.0 808:1.0 1002:1.0 1003:1.0 1004:1.0 1005:1.0 1006:1.0 1007:1.0 1008:1.0 1009:1.0 1010:1.0 8 9:1.0 16:0.03225806451612903 41:0.3333333333333333 43:0.3333333333333333 52:0.5 81:0.2 112:0.25 120:0.2 129:1.0 212:0.5 285:1.0 287:1.0 437:0.3333333333333333 491:1.0 900:1.0 917:1.0 1005:1.0 1011:1.0 1012:1.0 1013:1.0 8 16:0.016129032258064516 27:0.2222222222222222 50:0.125 76:1.0 81:0.2 82:1.0 114:0.1111111111111111 148:0.5 194:1.0 272:1.0 423:1.0 873:1.0 1014:1.0 1015:1.0 1016:1.0 1017:1.0 1018:1.0 8 9:1.0 23:0.14285714285714285 27:0.1111111111111111 43:0.3333333333333333 114:0.1111111111111111 468:1.0 1019:1.0 1020:1.0 8 428:0.5 1021:1.0 8 3:0.5 12:0.0625 16:0.03225806451612903 18:1.0 23:0.14285714285714285 50:0.125 81:0.2 91:2.0 120:0.2 231:1.0 282:1.0 584:1.0 915:1.0 1022:1.0 1023:1.0 1024:1.0 1025:0.5 1026:1.0 1027:1.0 1028:1.0 1029:1.0 1030:1.0 1031:1.0 1032:1.0 8 23:0.14285714285714285 1025:0.5 1033:1.0 1034:1.0 8 4:1.0 12:0.1875 16:0.016129032258064516 77:0.3333333333333333 95:0.5 114:0.1111111111111111 152:0.25 198:1.0 320:1.0 343:0.5 437:0.3333333333333333 644:1.0 694:1.0 1035:1.0 1036:1.0 1037:1.0 1038:1.0 1039:1.0 1040:1.0 8 50:0.125 62:1.0 668:1.0 1041:1.0 1042:1.0 1043:1.0 8 16:0.016129032258064516 120:0.2 125:1.0 635:1.0 1395:1.0 8 12:0.0625 16:0.016129032258064516 21:1.0 120:0.2 8 50:0.125 209:1.0 722:1.0 8 12:0.0625 92:1.0 120:0.2 192:1.0 296:2.0 343:0.5 8 9:1.0 91:1.0 168:1.0 437:0.3333333333333333 601:0.5 742:1.0 1234:1.0 8 50:0.125 71:1.0 101:1.0 120:0.2 125:1.0 353:0.5 675:0.2 808:1.0 996:1.0 8 3:0.5 4:1.0 9:1.0 12:0.0625 33:0.25 49:1.0 50:0.125 52:0.5 55:1.0 81:0.2 116:1.0 120:0.2 132:0.5 172:0.25 343:0.5 387:1.0 468:1.0 541:1.0 728:1.0 746:1.0 814:1.0 1149:1.0 8 50:0.125 338:1.0
2da34c046fc08f7b7f1e782519f76a5d57c0ae01
449d555969bfd7befe906877abab098c6e63a0e8
/25/CH2/EX2.1/2_1.sce
84802b3100887ff6cd6f30fb861b5bccb90cd2b1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
472
sce
2_1.sce
// example 2.1,page no.-24. // program to calculate wavelength,phase velocity and wave impedence. f=3*10^9; mur=3; muo=4*%pi*10^-7; eipsilao=8.854*10^-12; eipsilar=7; mue=muo*mur; eipsila=eipsilao*eipsilar; Vp=sqrt(1/(mue*eipsila)); lamda=Vp/f; eta=sqrt(mue/eipsila); //Result disp(Vp,'phase velocity in meter per second=') // phase velocity. disp(lamda,'wavelength in meter=') // wavelength. disp(eta,'wave impedence in ohm=') // wave impedence.
64b9416d4e52f7bfa78fd3f9a118e52e6f56b72b
449d555969bfd7befe906877abab098c6e63a0e8
/964/CH18/EX18.9/18_9.sce
c87c3d6a8e06dae6da8d07623966766a0c5824eb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,454
sce
18_9.sce
//clc() x = [3,4.5,7,9]; fx = [2.5,1,2.5,0.5]; p = 4; n = 3; uk = n*(p-1); c = 2*n - 2; //20.25*a1 + 4.5*b1 + c1 = 1 //20.25*a2 + 4.5*b2 + c2 = 1 //49*a2 + 7*b2 + c2 = 2.5 //49*a3 + 7*b3 + c3 = 2.5 //9a1 + 3b1 + c1 = 2.5 //81*a3 + 9*b3 + c3 = 0.5 //9*a1 + b1 = 9*a2 + b2 //14a2 + b2 = 14 *a3 + b3 a1 = 0; //thus we have above 9 equations and 9 unknowns a1,a2,a3,b1,b2,b3,c1,c2,c3 //thus we get A = [20.25,4.5,1,0,0,0,0,0,0;0,0,0,20.25,4.5,1,0,0,0;0,0,0,49,7,1,0,0,0;0,0,0,0,0,0,49,7,1;9,3,1,0,0,0,0,0,0;0,0,0,0,0,0,81,9,1;9,1,0,-9,-1,0,0,0,0;0,0,0,14,1,0,-14,-1,0;1,0,0,0,0,0,0,0,0]; disp(A,"A = ") B = [1;1;2.5;2.5;2.5;0.5;0;0;0]; disp(B,"B =") X = inv(A)*B; a1 = det(X(1,1)); b1 = det(X(2,1)); c1 = det(X(3,1)); a2 = det(X(4,1)); b2 = det(X(5,1)); c2 = det(X(6,1)); a3 = det(X(7,1)); b3 = det(X(8,1)); c3 = det(X(9,1)); disp(a1,"a1 = ") disp(b1,"b1 = ") disp(c1,"c1 = ") disp(a2,"a2 = ") disp(b2,"b2 = ") disp(c2,"c2 = ") disp(a3,"a3 = ") disp(b3,"b3 = ") disp(c3,"c3 = ") //thus,f1(x) = -x + 5.5 3 < x < 4.5 //f2(x) = 0.64*x^2 -6.76*x + 18.46 4.5 < x < 7 //f3(x) = -1.6*x^2 + 24.6*x - 91.3 7 < x < 9 x1 = 3:0.1:4.5; x2 = 4.5:0.1:7; x3 = 7:0.1:9; plot2d(x1,-x1 + 5.5); plot2d(x2,0.64*x2^2 -6.76*x2+ 18.46); plot2d(x3,-1.6*x3^2 + 24.6*x3 - 91.3); xtitle("f(x) vs x","x","f(x)") x = 5; fx = 0.64*x^2 -6.76*x + 18.46; disp(fx,"The value at x = 5 is")
4417d0763adca1bcba45900f4841bb1170bb6801
1bb72df9a084fe4f8c0ec39f778282eb52750801
/test/EC20.prev.tst
a2743acf703aea9cfc3b42ab6df7fd660b830156
[ "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
1,474
tst
EC20.prev.tst
[[4,2,-1],[2,-2,2],[4,0,1]],det=-4 [1,0,1], chain 2 => [3,4,5] => [15,8,17] ?? [59,48,77] [[3,-1,0],[4,0,0],[2,-2,3]],det=12 [1,0,1], chain 2 => [3,4,5] => [5,12,13] ?? [3,20,25] [[3,3,0],[0,0,4],[2,2,3]],det=0 [1,0,1], chain 2 => [3,4,5] => [21,20,29] ?? [123,116,169] [[2,-1,1],[4,3,0],[4,2,1]],det=6 [1,0,1], chain 2 => [3,4,5] => [7,24,25] ?? [15,100,101] [[2,-1,1],[2,2,2],[2,1,3]],det=8 [1,0,1], chain 8 => [3,4,5] => [7,24,25] => [15,112,113] [[2,1,1],[2,-2,2],[2,-1,3]],det=-8 [1,0,1], chain 8 => [3,4,5] => [15,8,17] => [55,48,73] [[1,-2,2],[4,0,0],[4,-1,1]],det=0 [1,0,1], chain 2 => [3,4,5] => [5,12,13] ?? [7,20,21] [[2,-2,2],[1,-3,2],[3,-3,2]],det=4 [1,0,1], chain 2 => [4,3,5] => [12,5,13] ?? [40,23,47] [[1,-2,2],[2,-1,2],[2,-2,3]],det=1 [1,0,1], chain 8 => [3,4,5] => [5,12,13] => [7,24,25] [[2,-1,2],[1,-2,2],[2,-2,3]],det=-1 [1,0,1], chain 8 => [4,3,5] => [15,8,17] => [56,33,65] [[2,1,2],[1,2,2],[2,2,3]],det=1 [1,0,1], chain 8 => [4,3,5] => [21,20,29] => [120,119,169] [[1,2,2],[2,1,2],[2,2,3]],det=-1 [1,0,1], chain 8 => [3,4,5] => [21,20,29] => [119,120,169] [[-1,-4,4],[4,-3,0],[4,-4,1]],det=3 [1,0,1], chain 8 => [3,4,5] => [1,0,1] => [3,4,5] [[0,-4,4],[3,1,0],[2,-2,3]],det=4 [1,0,1], chain 2 => [4,3,5] => [8,15,17] ?? [8,39,37] [[-1,-3,4],[4,0,0],[2,-2,3]],det=4 [1,0,1], chain 2 => [3,4,5] => [5,12,13] ?? [11,20,25] [[0,0,4],[3,3,0],[2,2,3]],det=0 [1,0,1], chain 2 => [4,3,5] => [20,21,29] ?? [116,123,169] elapsed time: 0 s
5532fe26de6e56575d0f7f52f7435dc3653f4187
7dbe475cd217e686e9689cb0536a9a73f625a85b
/Rez/univariate-lcmsr-post_mi/hrz_ind/~LCM-SR-hrz_ind-nat.tst
3c38503f0f5794cd114cbb09fbda1db091158518
[]
no_license
jflournoy/lnt_pxvx
fac8d6b00b886fa3dc800dcaa288aa186027b9ea
3f1ddc64e4bf0aecddfa21d45f889620dbdd442d
refs/heads/master
2021-10-20T12:52:55.625243
2019-02-27T17:06:09
2019-02-27T17:06:09
64,423,528
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,064
tst
~LCM-SR-hrz_ind-nat.tst
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM. ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 0.214107D+00 2 -0.174470D-02 0.179009D-02 3 -0.262785D-03 0.890341D-05 0.239235D-02 4 -0.399630D+00 0.478624D-01 0.621047D-01 0.123149D+03 5 -0.451638D+00 0.668364D-02 0.177713D+00 0.104712D+02 0.448617D+02 6 -0.519750D+00 -0.221417D-01 -0.119402D+00 -0.244720D+02 -0.173925D+02 7 0.187110D-02 -0.473631D-02 0.974253D-03 0.435311D+00 0.142608D+00 8 -0.159445D-02 0.801016D-04 -0.377386D-03 -0.329118D-01 -0.526700D-01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 6 7 8 ________ ________ ________ 6 0.134721D+03 7 0.151978D+01 0.232971D+00 8 -0.618729D+00 -0.195038D-01 0.735211D-02 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 1.000 2 -0.089 1.000 3 -0.012 0.004 1.000 4 -0.078 0.102 0.114 1.000 5 -0.146 0.024 0.542 0.141 1.000 6 -0.097 -0.045 -0.210 -0.190 -0.224 7 0.008 -0.232 0.041 0.081 0.044 8 -0.040 0.022 -0.090 -0.035 -0.092 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 6 7 8 ________ ________ ________ 6 1.000 7 0.271 1.000 8 -0.622 -0.471 1.000
d64fc45a2c6e0b378555694a79ae10d5253fe71b
a699a39fb0aeeb8183edc1d8a2e4ac9f7b672c7e
/testCmds/RETRAIT_john_5.tst
1ad53aff79705ab227507bb2368f26e2d530c19d
[]
no_license
V1nc3ntL/ProjetReseauS7
aa4a2032dbc1b60abca7fc7b6a41cf29623565f0
0988a437fa62de176d2ce576d5fd7f73ad48766d
refs/heads/main
2023-01-20T04:39:30.412535
2020-11-25T18:06:24
2020-11-25T18:06:24
312,299,967
0
0
null
null
null
null
UTF-8
Scilab
false
false
37
tst
RETRAIT_john_5.tst
RETRAIT john CompteCourant password 5
1fc5e96a5a007ddb1d90a021afb6e64200a90682
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.3/Unix-Windows/scilab-2.3/macros/percent/%rllss.sci
1b0abaa7b8b6a80ce1e5492fb92c0432b55f7eaa
[ "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
63
sci
%rllss.sci
function s=%rllss(s1,s2) //! [s1,s2]=sysconv(s1,s2) s=s1\s2
326511cc9dfad1d120e297f14eb6432fd3d16336
449d555969bfd7befe906877abab098c6e63a0e8
/2855/CH9/EX9.20/Ex9_20.sce
100f83faf422cf5ee552e9e8897b34ce731123e5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
194
sce
Ex9_20.sce
//Chapter 9 //page no 325 //given clc; clear all; fb1=2.5; //in Gb/s DV1=100; //in GHz DV2=50; //in GHz fb2=DV1/DV2*fb1; printf("\n fb2 = %0.0f Gb/s",fb2)
114d36bfe2d1ee0946e85189b9663492d986fa75
01ef2a3d6223001736b6a74b2b90951ae543b91c
/scilab.sce
9dbcee39b9cabc2477ecfc6fe6a202c6c5868874
[]
no_license
anagix-alb/seijiro.moriyama-anagix.com-freqresponse
cf30e9a3f9bf1d7e8d3b2d4d0d09f263bf0f8951
39ec65abb7734248ef0c046e3e1d877b9ddc72f0
refs/heads/master
2021-01-10T13:48:36.998628
2016-02-05T14:57:33
2016-02-05T14:57:33
51,044,492
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,706
sce
scilab.sce
clear all clc // Load SOCKET Toolbox. exec(SCI+'contribsocket_toolbox_2.0.1loader.sce'); SOCKET_init(); // Define Red Pitaya as TCP/IP object IP= '192.168.178.56'; // Input IP of your Red Pitaya... port = 5000; // If you are using WiFi then IP is: tcpipObj='RedPitaya'; // 192.168.128.1 // Open connection with your Red Pitaya SOCKET_open(tcpipObj,IP,port); // Set decimation value (sampling rate) in respect to you // acquired signal frequency SOCKET_write(tcpipObj,'ACQ:DEC 8'); // Set trigger level to 100 mV SOCKET_write(tcpipObj,'ACQ:TRIG:LEV 0'); // Set trigger delay to 0 samples // 0 samples delay set trigger to center of the buffer // Signal on your graph will have trigger in the center (symmetrical) // Samples from left to the center are samples before trigger // Samples from center to the right are samples after trigger SOCKET_write(tcpipObj,'ACQ:TRIG:DLY 0'); //// Start & Trigg // Trigger source setting must be after ACQ:START // Set trigger to source 1 positive edge SOCKET_write(tcpipObj,'ACQ:START'); SOCKET_write(tcpipObj,'ACQ:TRIG NOW'); // Wait for trigger // Until trigger is true wait with acquiring // Be aware of while loop if trigger is not achieved // Ctrl+C will stop code executing xpause(1E+6) // Read data from buffer signal_str=SOCKET_query(tcpipObj,'ACQ:SOUR1:DATA:OLD:N? 800'); // Convert values to numbers.// First character in string is “{“ // and 2 latest are empty spaces and last is “}”. signal_str=part(signal_str, 2:length(signal_str)-3) signal_num=strtod(strsplit(signal_str,",",length(signal_str)))'; plot(signal_num) SOCKET_close(tcpipObj);
b9368da19bdb0f313126acef80b5131c8abf3ff2
449d555969bfd7befe906877abab098c6e63a0e8
/2084/CH14/EX14.11w/14_11w.sce
b2c8cf993acbb27470ba35c23b6b4b0bd00a676d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
707
sce
14_11w.sce
//developed in windows XP operating system 32bit //platform Scilab 5.4.1 clc;clear; //example 14.11w //calculation of the amount by which the pressure inside the bubble is greater than the atmospheric pressure //given data r=1*10^-3//radius(in m) of the air bubble S=.075//suface tension(in N/m) rho=1000//density(in kg/m^3) of the liquid h=10*10^-2//depth(in m) of the bubble g=9.8//gravitational acceleration(in m/s^2) of the earth //calculation //P = P0 +(h*rho*g)........(1) //Pdash = P + (2*S/r)......(2) //deltaP = Pdash - P0 deltaP=(h*rho*g)+(2*S/r)//difference in the pressure printf('the pressure inside the bubble is greater than the atmospheric pressure by %d Pa',deltaP)
3d8b0257b03d594aa93013b742c6c9e1f5c46b38
449d555969bfd7befe906877abab098c6e63a0e8
/3834/CH4/EX4.6.1/Ex4_6_1.sce
cd5a7a3a5aeca85e6cf381f63663ff3a4da62b67
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
867
sce
Ex4_6_1.sce
//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner //Example 4.6.1 //windows 8 //Scilab version-6.0.0 clc; clear; //given lambda=850;// wavelength in nm L=100E12;//Length of fiber in nm deltalambda=70;//spectral width wavelength in nm S0=0.097;//zero dispersion slope in ps/nm^2.km lambda0=1343;//assumed zero dispersion wavelength in nm y=lambda0/lambda; x=1-(y*y*y*y); Dlambda=-(S0*x*lambda)/4;//dispersion parameter in ps/nm.km deltatgmat=(Dlambda*deltalambda)/1000;//Pulse spreading by material dispersion in ns/km mprintf("Pulse spreading by material dispersion = %.2f ns/km",deltatgmat);//the answer vary due to roundingoff deltatmat=deltatgmat*100;//Pulse spreading over entire fiber in s mprintf("\nPulse spreading over entire fiber = %.2f s",deltatmat);//the answer vary due to roundingoff
e232e2ac911ea7c7e45ab8a1e2df806126925528
449d555969bfd7befe906877abab098c6e63a0e8
/2489/CH11/EX11.1/11_1.sce
b0195bf7481a3649caec9e32c11ac09f07324476
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
351
sce
11_1.sce
clc //Intitalisation of variables clear p1= 1 //atm p2= 0.1 //atm p3= 0.1 //atm R= 1.987 //cal mole^-1 K^-1 T= 2000 //K Kp= 1.55*10^7 //CALCULATIONS Qp= p1/(p2^2*p3) dF= 2.303*R*T*log10(Qp/Kp)/1000 dF1= -2.303*R*T*log10(Kp)/1000 //RESULTS printf ('free energy change = %.2f kcal ',dF) printf ('\n free energy change = %.2f kcal ',dF1)
0c55f47b94d8601691afdc27c1836cf1874c2a81
449d555969bfd7befe906877abab098c6e63a0e8
/1026/CH12/EX12.3/Example12_3.sce
a42c3e83cc9f1446fff60ed685d0dc618d8ac547
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
290
sce
Example12_3.sce
//chapter12,Example12_3,pg 357 NA=0.5 n1=1.54 n2=sqrt((n1^2)-(NA^2)) printf("refractive index of cladding\n") printf("n2=%.2f ",n2) n=(n1-n2)/n1//relative change in refractive index of core printf("\nrelative change refractive index of core\n") printf("n=%.2f ",n)
fa37c5b95c41792c34d264eac63c7c77f38291e4
449d555969bfd7befe906877abab098c6e63a0e8
/1370/CH5/EX5.4/exp5_4.sce
5432da3603f805266a3375b603493882794ac964
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
486
sce
exp5_4.sce
//Example 5.4 clc disp("The given values are,") disp("P = 8, f = 50 Hz, f_r = 2 Hz") disp("Now f_r = s*f") s=2/50 format(5) disp(s,"Therefore, s =") sp=0.04*100 disp(sp,"Therefore, %s = ...Full load slip") disp("The corresponding speed is given by,") disp("N = N_s*(1-s) ...From s = N_s-N / N_s") ns=(120*50)/8 disp(ns,"where N_s(in r.p.m) = 120f/P =") n=750*(1-0.04) disp(n,"Therefore, N(in r.p.m) = ...Full load speed")
48bd09d1168dcc20ebba5d18f644a5be6ff727c8
449d555969bfd7befe906877abab098c6e63a0e8
/1736/CH1/EX1.26/Ch01Ex26.sce
c76759583955ee8937d54070ee1862cf4c4b7eab
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
774
sce
Ch01Ex26.sce
// Scilab Code Ex 1.26 Page-36 (2006) clc; clear; a_Rh = 3.80; // Lattice constant of Rh, angstrom a_Pt = 3.92; // Lattice constant of Pt, angstrom a_Pt_Rh = 3.78; // Lattice constant of unit cell of Pt-Rh alloy, angstrom V = (a_Pt*1e-08)^3; // Volume of unit cell of Pt, metre cube V_90 = 0.9*V; // 90 percent of the cell volume of Pt, metre cube // For x = 20% of Rh in Pt-Rh alloy, we have // a_Pt_Rh = ((1-x)*a_Pt + x*a_Rh), solving for x x = poly(0, 'x'); x = roots (a_Pt_Rh - a_Pt + x*a_Pt - x*a_Rh); // Amount of required Rh in Pt to change the unit cell volume printf("\nThe amount of Rh required in Pt to change the unit cell volume = %4.2f percent", x); // Result // The amount of Rh required in Pt to change the unit cell volume = 1.17 percent
983c743a675a681e91d7502e8dae781e2075955e
449d555969bfd7befe906877abab098c6e63a0e8
/773/CH6/EX6.12/6_12.sci
e09dfeafec61378bcdb34acbeae0506ada79fe70
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
sci
6_12.sci
//syslin// exec series.sce; exec parallel.sce; syms G1 G2 G3 G4 H1 H2 H3; //shift the take-off point after the block G1 a=G3/G1; b=parallel(a,G2); c=G1/.H1; // Negative Feedback Operation d=1/b; // Negative Feedback Operation e=parallel(d,H3); f=series(e,H2); g=series(c,b); h=g/.f ; // Negative Feedback Operation y=series(h,G4); y=simple(y); disp(y,"C(s)/R(s)=")
89fab82a3a5696c7507e8101f8385cbe3bfcc4c9
717ddeb7e700373742c617a95e25a2376565112c
/1766/CH4/EX4.10/EX4_10.sce
13fcebca12e38dc5047422f1a15a611b4a34c95d
[]
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
925
sce
EX4_10.sce
clc;funcprot(0);......//Example 4.10 //Initialization of variables D=0.5;.........//Diameter of the Cylinder in m L=1;...........//Length of the cylinder in m N=300;.......//Speed of metal cylinder in rpm Tw=65;........//Temperature of Cylinder in degrees celcius Ta=15;.............//Temperature under the water in degrees celcius v=16.96*10^-6;.......//Viscosity in m^2/s K=27.56;.......//Thermal conductivity in W/mK g=9.8;....//Gravitational constant Pr=0.7;......//Prandlt no //Calculations Tf=(Tw+Ta)/2;.........//Film temperature in K B=1/(Tf+273);........//Temp inverse in K^-1 Re=((2*%pi*N)/60)*((%pi*D^2)/v) Grd=(g*B*(Tw-Ta)*D*D*D)/(v^2);.......//Grashoff No Nud=0.11*[(0.5*(Re)^2)+(Grd*Pr)]^0.35;............//Nusselt no h=(Nud*K*10^-3)/(D);.........//Heat transfer co-efficient in W/m^2 K Q=h*(%pi*D*L)*(Tw-Ta);.........//Rate of heat loss in W/m disp(Q/1000,"Rate of heat transfer in kW/m:")
1e723aa7f43fe5c31487ef2f1ec29a264a5c79a5
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.38/Ex1_38.sce
129dc7b373f8012cc716390ee86db5ee29666c38
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
328
sce
Ex1_38.sce
errcatch(-1,"stop");mode(2);//Example 1_38 ; ; //To calculate the thickness of the mica sheet d=0.1 //units in cm D=50 //units in cm u=1.58 x=0.2 //units in cm t=(x*d)/(D*(u-1)) printf("The thickness of the mica sheet is %.6f cm",t) exit();
52e6a8d569eec9466a63d8001cbd3547d78da5f2
449d555969bfd7befe906877abab098c6e63a0e8
/608/CH15/EX15.15/15_15.sce
09ef15de3e287d3c6f3d0fb6130d980b340b1bc7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
998
sce
15_15.sce
//Problem 15.15: A coil of resistance 5 ohms and inductance 120 mH in series with a 100 μF capacitor, is connected to a 300 V, 50 Hz supply. Calculate (a) the current flowing, (b) the phase difference between the supply voltage and current, (c) the voltage across the coil and (d) the voltage across the capacitor. //initializing the variables: R = 5; // in ohms C = 100E-6; // in Farads L = 0.12; // in Henry f = 50; // in Hz V = 300; // in volts //calculation: XL = 2*%pi*f*L Xc = 1/(2*%pi*f*C) X = XL - Xc //Since XL is greater than Xc, the circuit is inductive. Z = (R^2 + (XL-Xc)^2)^0.5 I = V/Z phid = atan((XL-Xc)/R)*180/%pi Zcl = (R^2 + XL^2)^0.5 Vcl = I*Zcl phidc = atan(XL/R)*180/%pi Vc = I*Xc printf("\n\n Result \n\n") printf("\n (a)Current,I = %.2f A",I) printf("\n (b)phase angle between the supply voltage and current is %.2f°",phid) printf("\n (c)Voltage across the coil, Vcoil = %.0f Volts",Vcl) printf("\n (d)p.d. across Capacitor, Vc = %.0f V",Vc)
4fef70ec7287a9faea4a359e39bb2973e0aac6de
449d555969bfd7befe906877abab098c6e63a0e8
/2183/CH8/EX8.9.b/Ex_8_9_b.sce
663ba9c8beae4c0606a1f0cc3f78f772ddc08424
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
217
sce
Ex_8_9_b.sce
// Example 8.9.b;//Link length clc; clear; close; pi=-3;//dBm po=-42;//dBm ac=2;//dBm ma=8;//dBm afc=0.4;//dBm aj=0.1;//dBm l=((pi-po-ac-ma)/(afc+aj));//km disp(l,"link length when operating at 500 M bit/s in km is")
2e1bd6458a3d227756c378f4bc1ffba688b671d9
449d555969bfd7befe906877abab098c6e63a0e8
/67/CH7/EX7.6/example76.sce
a99b45cd60bc5761da3adec1cfff78aad90fecd2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
87
sce
example76.sce
//Example 7.6 clc; syms n z; x=1; X=symsum(x*(z^-n),n,-%inf,0); disp(X,'X(z)=');
53b370f1eb7aebdd3a0e7cafd299267e20789477
d976bbc11c40569df55ffeebaa44336b1aebb02b
/chgtProbaContinu.sce
cb05f8eb0312fed65218189ae3ceadc1c0ee72aa
[]
no_license
jonathanVisbecq/Projet-MODAL-SNA
212271eb7c47164b32b26823c629ad5f44c8230b
596e0052536cfe4522371bbd6de0ca0c37ba2f4d
refs/heads/master
2021-01-02T09:27:42.502076
2013-06-19T16:30:39
2013-06-19T16:30:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,068
sce
chgtProbaContinu.sce
clear() stacksize(150000000) N = 5 nbSimulations = 1000 h = 1 lambda=0.55 mu=0.45 new_lambda = 0.6 new_mu = 0.4 n = 100 a = (lambda+mu)/(new_lambda+new_mu) b = lambda + mu - new_lambda - new_mu Tps = [] for m=1:nbSimulations X = 0 L = 1 Tn = 0 while (X<N) j = 1 T1 = grand(1, n, 'exp', 1/new_lambda) T2 = grand(1, n, 'exp', 1/(new_lambda+new_mu)) U = grand(1, n, 'def') e = 1*(U<=new_lambda/(new_lambda+new_mu)) + (-1)*(U>new_lambda/(new_lambda+new_mu)) while (X<N) & (j<n) T = (T1(j).*(X==0) + T2(j).*(X>0)) Tn = Tn + T if X==0 then L = L * (lambda/new_lambda)*exp(-(lambda - new_lambda)*T) else L = L * ( (e(j)==1)*(lambda/new_lambda)/a + (e(j)==-1)*(mu/new_mu)/a ) end X = X + ((X==0) + (X>0)*e(j)) j = j+1 end end Tps = [Tps, Tn*L] end ValConf = 1.96*sqrt(variance(Tps))/sqrt(nbSimulations) E = sum(Tps)/nbSimulations disp(E) disp(E+ValConf, E-ValConf)
73c42312cc0ccc7bc9928d08be0af0e92e9593d3
449d555969bfd7befe906877abab098c6e63a0e8
/2210/CH7/EX7.4/7_4.sce
ab5c5fd0c59cb9784c63b09c76a47c964297d7d9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
966
sce
7_4.sce
//Chapter 7, Problem 4 clc funcprot(0) // A = p2z(R,Theta) - Convert from polar to rectangular form. // R is a matrix containing the magnitudes // Theta is a matrix containing the phase angles (in degrees). function [A] = p2z(R,Theta) A = R*exp(%i*%pi*Theta/180); endfunction // [R1, Theta1] = z2p(A1) - Display polar form of complex matrix. function [R1, Theta1] = z2p(A1) Theta1 = atan(imag(A1),real(A1))*180/%pi; R1=sqrt(real(A1)^2+imag(A1)^2) endfunction //transistor s-parameter s11=p2z(0.3,140) s12=p2z(0.03,65) s21=p2z(2.1,62) s22=p2z(0.40,-38) refs=p2z(0.463,-140) refl=p2z(0.486,38) [s11m,s11a]=z2p(s11) [s22m,s22a]=z2p(s22) [s21m,s21a]=z2p(s21) [s12m,s12a]=z2p(s12) [refsm,refsa]=z2p(refs) [reflm,refla]=z2p(refl) //calculation a=(s21m^2)*(1-refsm^2)*(1-reflm^2) b=((1-(s11*refs))*(1-(s22*refl))-(s12*s21*refl*refs))^2 Gt=a/real(b) Gtl=10*log10(Gt) printf("Amplifier transducer gain = %.2f dB ",Gtl)
1f4f7a2e94fd95de24b34b81d04b1c311a2144fb
446aae2100be19be6950fe030959e4ae6ebf75d3
/laboratorios/laboratorio 7/laboratorio7.sce
53b730d18f7c80a80e6c1ad1f53dacf628bdcfba
[]
no_license
jhont285/metodos-numericos
492dcc5893707393d066ecc53ca6c5f82faaee66
388248e2df5a8c73069dfba53cd439f62bb14476
refs/heads/master
2021-06-07T18:27:18.337510
2016-07-21T22:17:24
2016-07-21T22:17:24
62,011,812
1
0
null
null
null
null
UTF-8
Scilab
false
false
583
sce
laboratorio7.sce
format(15) function fx = f(x) fx = -cos(x) return fx endfunction clc disp("> df/dx usando la fórmula centrada de orden O(h^2)") dfh2 = UN_primera_derivada_h2(%pi/4,0.01) disp(dfh2) disp("> df/dx usando la fórmula centrada de orden O(h^4)") dfh4 = UN_primera_derivada_h4(%pi/4,0.01) disp(dfh4) disp("> d^2f/dx^2 usando la fórmula centrada de orden O(h^2)") d2fh2 = UN_segunda_derivada_h2(%pi/4,0.01) disp(d2fh2) disp("> d^2f/dx^2 usando la fórmula centrada de orden O(h^4)") d2fh4 = UN_segunda_derivada_h4(%pi/4,0.01) disp(d2fh4)
4e247dcb6e3049784bdfe4689dcce7163a4ca4ef
449d555969bfd7befe906877abab098c6e63a0e8
/1385/CH4/EX4.1/4_1.sce
113e3832c833c2714da933cc865fd5fb8abec429
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
562
sce
4_1.sce
clc //initialisation of variables m= 164.2 //gms M= 60 //gms V= 0.8 //lit d= 1.026 //g/cc mw= 18.02 //gms //CALCULATIONS M1= m/M n= M1/V G= V*1000*d G1= G-m m1= M1*1000/G1 n1= G1/mw x= M1/(M1+n1) y= 1-x p= x*100 p1= y*100 P= m*100/G //RESULTS printf (' molarity= %.3f M',n) printf (' \n molality= %.3f m',m1) printf (' \n mole fraction of solute= %.4f ',x) printf (' \n mol per cent of solute= %.2f per cent',p) printf (' \n mol per cent of solvent= %.2f per cent',p1) printf (' \n mol per cent acetic acid by weight= %.2f per cent',P)
f702c8d5013aad6b276b8b7597282ef20bdb7152
449d555969bfd7befe906877abab098c6e63a0e8
/1991/CH5/EX5.6/6.sce
6e28ba9ad5a1db01feb0a1bf14f5bfd34335ad34
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
212
sce
6.sce
clc clear //input F=5 //power of lenses f1=0.45 //focal length //calculation x=F-(1/f1)//lens formula f2=1/x //output printf("the focal length is %3.3f m",f2) printf("\n the power is %3.3f dioptre",x)
47bca62abc13cc847668e84de525a74eef8f4213
e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4
/New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Niger-Congo/sna.tst
d88487864a02318a06f96bf41ffab2e3a8eda1fb
[]
no_license
davidgu13/Lemma-vs-Form-Splits
c154f1c0c7b84ba5b325b17507012d41b9ad5cfe
3cce087f756420523f5a14234d02482452a7bfa5
refs/heads/master
2023-08-01T16:15:52.417307
2021-09-14T20:19:28
2021-09-14T20:19:28
395,023,433
3
0
null
null
null
null
UTF-8
Scilab
false
false
9,270
tst
sna.tst
kunda V;PL;2;FUT kunda V;PROG;PL;1;PRS kunda V;SG;2;HOD kunda V;SG;1;PST kunda V;PL;1;PRS kunda V;PL;1;FUT kunda V;SG;3;PRS kunda V;SG;2;FUT kunda V;PROG;SG;1;PRS kunda V;PROG;SG;2;PRS kunda V;SG;3;PST kunda V;SG;1;PRS kunda V;PL;2;PRS kunda V;SG;2;PRS kunda V;SG;2;PST kunda V;PROG;PL;3;PRS kunda V;SG;3;HOD kunda V;PL;3;HOD kunda V;SG;1;FUT kunda V;PL;2;PST kunda V;SG;3;FUT kunda V;PROG;SG;3;PRS kunda V;PL;1;HOD kunda V;PL;3;PRS kunda V;PL;1;PST kunda V;PL;3;FUT kunda V;SG;1;HOD kunda V;PL;2;HOD kunda V;PL;3;PST kunda V;PROG;PL;2;PRS bvuma V;PL;2;FUT bvuma V;SG;1;FUT bvuma V;SG;3;PRS bvuma V;PL;1;PRS bvuma V;PL;3;PST bvuma V;SG;1;PST bvuma V;PL;1;PST bvuma V;SG;2;FUT bvuma V;SG;2;PRS bvuma V;SG;3;PST bvuma V;PL;2;HOD bvuma V;SG;1;PRS bvuma V;PL;2;PST bvuma V;PL;3;HOD bvuma V;PROG;SG;2;PRS bvuma V;PROG;SG;3;PRS bvuma V;PL;1;FUT bvuma V;SG;3;FUT bvuma V;PROG;PL;3;PRS bvuma V;SG;3;HOD bvuma V;PL;2;PRS bvuma V;SG;1;HOD bvuma V;SG;2;PST bvuma V;PL;3;FUT bvuma V;PROG;PL;1;PRS bvuma V;PROG;SG;1;PRS bvuma V;PL;1;HOD bvuma V;SG;2;HOD bvuma V;PL;3;PRS bvuma V;PROG;PL;2;PRS dzidzisa V;PL;3;HOD dzidzisa V;PROG;SG;1;PRS dzidzisa V;PL;3;FUT dzidzisa V;PL;3;PRS dzidzisa V;SG;3;HOD dzidzisa V;SG;3;PRS dzidzisa V;SG;1;PRS dzidzisa V;SG;1;FUT dzidzisa V;PL;2;PRS dzidzisa V;PL;3;PST dzidzisa V;SG;1;PST dzidzisa V;SG;2;PST dzidzisa V;PL;2;HOD dzidzisa V;PL;1;PRS dzidzisa V;PL;1;HOD dzidzisa V;PROG;PL;3;PRS dzidzisa V;SG;2;PRS dzidzisa V;PL;2;PST dzidzisa V;PL;1;FUT dzidzisa V;PROG;PL;2;PRS dzidzisa V;PROG;SG;2;PRS dzidzisa V;PL;2;FUT dzidzisa V;SG;3;FUT dzidzisa V;PROG;SG;3;PRS dzidzisa V;SG;1;HOD dzidzisa V;PL;1;PST dzidzisa V;PROG;PL;1;PRS dzidzisa V;SG;2;HOD dzidzisa V;SG;3;PST dzidzisa V;SG;2;FUT koka V;PROG;SG;1;PRS koka V;SG;3;PRS koka V;PL;1;HOD koka V;SG;2;PRS koka V;SG;3;HOD koka V;PL;2;FUT koka V;PROG;PL;1;PRS koka V;SG;2;HOD koka V;PL;3;PST koka V;SG;2;PST koka V;SG;1;FUT koka V;PL;2;PST koka V;PL;2;HOD koka V;PL;3;PRS koka V;PL;3;HOD koka V;PL;1;FUT koka V;PL;1;PST koka V;PROG;SG;2;PRS koka V;PL;2;PRS koka V;SG;3;PST koka V;PROG;SG;3;PRS koka V;SG;1;PST koka V;PL;3;FUT koka V;SG;3;FUT koka V;SG;1;HOD koka V;SG;1;PRS koka V;PROG;PL;3;PRS koka V;PL;1;PRS koka V;PROG;PL;2;PRS koka V;SG;2;FUT ipa V;PL;2;FUT ipa V;PL;2;PRS ipa V;PL;1;HOD ipa V;PL;1;PST ipa V;PL;1;PRS ipa V;SG;3;HOD ipa V;PROG;PL;1;PRS ipa V;PL;3;PST ipa V;PROG;SG;2;PRS ipa V;PL;1;FUT ipa V;SG;3;FUT ipa V;PROG;SG;3;PRS ipa V;PL;2;HOD ipa V;PROG;PL;3;PRS ipa V;SG;1;PST ipa V;PROG;SG;1;PRS ipa V;SG;1;FUT ipa V;SG;2;PRS ipa V;PL;2;PST ipa V;SG;3;PRS ipa V;SG;2;FUT ipa V;SG;2;PST ipa V;PROG;PL;2;PRS ipa V;PL;3;FUT ipa V;SG;1;HOD ipa V;PL;3;HOD ipa V;SG;2;HOD ipa V;PL;3;PRS ipa V;SG;3;PST ipa V;SG;1;PRS ita V;PROG;SG;3;PRS ita V;SG;1;PRS ita V;PL;2;PST ita V;PL;1;FUT ita V;PROG;SG;1;PRS ita V;PL;3;PRS ita V;PL;1;PST ita V;PL;3;HOD ita V;SG;1;PST ita V;PROG;PL;1;PRS ita V;SG;1;FUT ita V;PROG;PL;3;PRS ita V;PL;1;PRS ita V;PL;2;PRS ita V;PROG;SG;2;PRS ita V;SG;1;HOD ita V;SG;3;HOD ita V;SG;2;PRS ita V;SG;3;FUT ita V;SG;2;PST ita V;SG;2;FUT ita V;SG;3;PST ita V;PL;3;FUT ita V;PL;2;HOD ita V;PL;2;FUT ita V;SG;3;PRS ita V;SG;2;HOD ita V;PL;1;HOD ita V;PL;3;PST ita V;PROG;PL;2;PRS gamuchira V;SG;2;HOD gamuchira V;SG;1;HOD gamuchira V;SG;1;PRS gamuchira V;SG;2;PRS gamuchira V;PL;3;FUT gamuchira V;PL;3;HOD gamuchira V;PL;1;FUT gamuchira V;PROG;PL;2;PRS gamuchira V;PL;1;HOD gamuchira V;SG;3;HOD gamuchira V;PL;1;PRS gamuchira V;PROG;SG;3;PRS gamuchira V;PL;2;PRS gamuchira V;PL;2;PST gamuchira V;SG;3;FUT gamuchira V;SG;3;PRS gamuchira V;PL;3;PRS gamuchira V;SG;1;FUT gamuchira V;PROG;SG;2;PRS gamuchira V;PROG;SG;1;PRS gamuchira V;PROG;PL;1;PRS gamuchira V;PL;3;PST gamuchira V;PL;2;FUT gamuchira V;SG;3;PST gamuchira V;SG;2;FUT gamuchira V;PL;2;HOD gamuchira V;PROG;PL;3;PRS gamuchira V;SG;2;PST gamuchira V;SG;1;PST gamuchira V;PL;1;PST irwa V;PROG;PL;3;PRS irwa V;PL;3;PRS irwa V;PL;1;FUT irwa V;PL;1;PRS irwa V;PL;1;HOD irwa V;SG;2;HOD irwa V;SG;1;HOD irwa V;PL;3;FUT irwa V;PL;2;HOD irwa V;PL;2;PST irwa V;PL;3;PST irwa V;PROG;PL;2;PRS irwa V;PROG;PL;1;PRS irwa V;SG;3;FUT irwa V;SG;2;PRS irwa V;SG;3;PST irwa V;PROG;SG;1;PRS irwa V;SG;1;PST irwa V;SG;2;FUT irwa V;PL;1;PST irwa V;SG;1;FUT irwa V;SG;2;PST irwa V;PL;3;HOD irwa V;PL;2;PRS irwa V;SG;3;PRS irwa V;PROG;SG;2;PRS irwa V;SG;1;PRS irwa V;PL;2;FUT irwa V;SG;3;HOD irwa V;PROG;SG;3;PRS tyaira V;SG;3;PST tyaira V;SG;3;PRS tyaira V;PROG;SG;2;PRS tyaira V;PL;3;FUT tyaira V;PROG;PL;2;PRS tyaira V;PROG;SG;1;PRS tyaira V;PROG;PL;3;PRS tyaira V;PL;2;PRS tyaira V;PL;2;PST tyaira V;SG;3;FUT tyaira V;PL;2;HOD tyaira V;SG;3;HOD tyaira V;PROG;SG;3;PRS tyaira V;PL;3;PRS tyaira V;SG;2;HOD tyaira V;SG;1;PST tyaira V;PL;1;FUT tyaira V;SG;2;FUT tyaira V;SG;1;FUT tyaira V;PL;1;PRS tyaira V;PROG;PL;1;PRS tyaira V;PL;1;PST tyaira V;PL;3;HOD tyaira V;SG;2;PST tyaira V;PL;3;PST tyaira V;SG;1;PRS tyaira V;PL;2;FUT tyaira V;PL;1;HOD tyaira V;SG;1;HOD tyaira V;SG;2;PRS rasa V;SG;3;PRS rasa V;PROG;PL;1;PRS rasa V;SG;1;HOD rasa V;PL;3;PST rasa V;SG;1;PRS rasa V;PL;3;HOD rasa V;SG;3;FUT rasa V;PL;1;FUT rasa V;SG;3;PST rasa V;PL;2;PRS rasa V;SG;1;PST rasa V;SG;2;PRS rasa V;SG;3;HOD rasa V;PROG;PL;3;PRS rasa V;PL;2;HOD rasa V;PL;1;PRS rasa V;PROG;PL;2;PRS rasa V;SG;2;HOD rasa V;SG;2;PST rasa V;PL;1;PST rasa V;PL;3;PRS rasa V;SG;2;FUT rasa V;PL;2;PST rasa V;PROG;SG;2;PRS rasa V;PROG;SG;3;PRS rasa V;PL;1;HOD rasa V;PL;3;FUT rasa V;PROG;SG;1;PRS rasa V;SG;1;FUT rasa V;PL;2;FUT dzokorora V;SG;2;PRS dzokorora V;PROG;PL;3;PRS dzokorora V;PROG;SG;2;PRS dzokorora V;PL;2;FUT dzokorora V;SG;1;PST dzokorora V;PL;1;FUT dzokorora V;PL;2;HOD dzokorora V;SG;3;FUT dzokorora V;SG;1;FUT dzokorora V;SG;3;HOD dzokorora V;PROG;SG;3;PRS dzokorora V;PROG;PL;2;PRS dzokorora V;SG;3;PRS dzokorora V;SG;2;HOD dzokorora V;PL;1;PST dzokorora V;PL;1;HOD dzokorora V;SG;2;PST dzokorora V;SG;1;HOD dzokorora V;SG;3;PST dzokorora V;PL;3;HOD dzokorora V;SG;2;FUT dzokorora V;PL;3;FUT dzokorora V;PL;3;PRS dzokorora V;PL;2;PST dzokorora V;PL;1;PRS dzokorora V;PL;3;PST dzokorora V;PL;2;PRS dzokorora V;PROG;SG;1;PRS dzokorora V;SG;1;PRS dzokorora V;PROG;PL;1;PRS sekerera V;PROG;PL;2;PRS sekerera V;SG;3;PST sekerera V;PL;1;FUT sekerera V;PL;1;HOD sekerera V;SG;2;HOD sekerera V;SG;3;FUT sekerera V;PROG;PL;1;PRS sekerera V;PROG;PL;3;PRS sekerera V;PL;2;FUT sekerera V;SG;3;HOD sekerera V;SG;2;PST sekerera V;PL;3;HOD sekerera V;PL;1;PST sekerera V;SG;1;HOD sekerera V;PL;2;HOD sekerera V;PL;3;PST sekerera V;SG;1;PST sekerera V;PL;2;PST sekerera V;PL;3;PRS sekerera V;PROG;SG;2;PRS sekerera V;SG;1;PRS sekerera V;PL;2;PRS sekerera V;SG;1;FUT sekerera V;SG;2;PRS sekerera V;SG;2;FUT sekerera V;PL;3;FUT sekerera V;PROG;SG;3;PRS sekerera V;PL;1;PRS sekerera V;PROG;SG;1;PRS sekerera V;SG;3;PRS famba V;PL;3;HOD famba V;PL;1;FUT famba V;SG;3;PST famba V;PL;2;PST famba V;SG;3;HOD famba V;SG;2;PRS famba V;SG;1;HOD famba V;PROG;PL;1;PRS famba V;PL;3;PRS famba V;SG;2;PST famba V;SG;1;FUT famba V;PL;2;PRS famba V;PROG;PL;3;PRS famba V;PROG;SG;3;PRS famba V;PL;1;PRS famba V;PROG;SG;2;PRS famba V;SG;3;FUT famba V;PL;1;HOD famba V;SG;2;FUT famba V;PL;2;HOD famba V;PL;3;PST famba V;PROG;SG;1;PRS famba V;SG;2;HOD famba V;PL;1;PST famba V;PL;3;FUT famba V;PL;2;FUT famba V;SG;1;PST famba V;PROG;PL;2;PRS famba V;SG;1;PRS famba V;SG;3;PRS ida V;SG;2;HOD ida V;PL;2;PST ida V;PL;3;FUT ida V;PL;2;PRS ida V;PL;3;PST ida V;PL;1;PRS ida V;SG;1;FUT ida V;PROG;PL;3;PRS ida V;SG;2;PST ida V;PL;1;FUT ida V;PROG;PL;1;PRS ida V;PL;1;PST ida V;SG;1;HOD ida V;SG;3;PRS ida V;PROG;SG;3;PRS ida V;PROG;SG;2;PRS ida V;SG;1;PRS ida V;SG;3;PST ida V;PL;3;HOD ida V;PROG;SG;1;PRS ida V;SG;3;FUT ida V;PL;2;HOD ida V;SG;2;PRS ida V;SG;3;HOD ida V;PROG;PL;2;PRS ida V;SG;1;PST ida V;PL;3;PRS ida V;SG;2;FUT ida V;PL;2;FUT ida V;PL;1;HOD bika V;PROG;PL;2;PRS bika V;SG;1;HOD bika V;PROG;PL;1;PRS bika V;PROG;SG;1;PRS bika V;PL;3;HOD bika V;PL;3;FUT bika V;SG;2;PST bika V;SG;3;HOD bika V;PL;2;PRS bika V;SG;3;PST bika V;PL;3;PRS bika V;PL;1;PST bika V;SG;1;PRS bika V;SG;1;FUT bika V;SG;3;PRS bika V;SG;1;PST bika V;PL;1;HOD bika V;PL;3;PST bika V;PL;1;PRS bika V;SG;2;HOD bika V;PL;2;HOD bika V;SG;2;FUT bika V;SG;2;PRS bika V;PL;2;FUT bika V;PROG;SG;2;PRS bika V;SG;3;FUT bika V;PL;2;PST bika V;PL;1;FUT bika V;PROG;SG;3;PRS bika V;PROG;PL;3;PRS bata V;SG;1;HOD bata V;PL;3;PRS bata V;SG;1;FUT bata V;PROG;SG;3;PRS bata V;PL;3;PST bata V;SG;3;PST bata V;PROG;PL;1;PRS bata V;PL;2;HOD bata V;PROG;PL;3;PRS bata V;SG;2;PST bata V;PROG;PL;2;PRS bata V;PROG;SG;1;PRS bata V;PL;1;PST bata V;SG;2;HOD bata V;SG;3;FUT bata V;SG;2;PRS bata V;PL;3;HOD bata V;SG;3;HOD bata V;PROG;SG;2;PRS bata V;SG;1;PRS bata V;PL;2;PST bata V;PL;1;PRS bata V;PL;3;FUT bata V;PL;1;FUT bata V;SG;2;FUT bata V;PL;2;FUT bata V;PL;2;PRS bata V;PL;1;HOD bata V;SG;3;PRS bata V;SG;1;PST kuva V;SG;3;PRS kuva V;PROG;PL;3;PRS kuva V;SG;2;PRS kuva V;PROG;PL;1;PRS kuva V;PL;3;HOD kuva V;SG;2;FUT kuva V;PL;3;PST kuva V;SG;1;HOD kuva V;PL;1;HOD kuva V;PROG;SG;3;PRS kuva V;PL;2;PST kuva V;PROG;SG;2;PRS kuva V;PL;3;FUT kuva V;PL;1;FUT kuva V;SG;3;HOD kuva V;PL;1;PST kuva V;SG;2;HOD kuva V;PROG;SG;1;PRS kuva V;SG;1;FUT kuva V;SG;3;PST kuva V;PL;2;FUT kuva V;PL;3;PRS kuva V;SG;2;PST kuva V;SG;3;FUT kuva V;PL;2;HOD kuva V;SG;1;PRS kuva V;PL;2;PRS kuva V;PROG;PL;2;PRS kuva V;PL;1;PRS kuva V;SG;1;PST
ca12483e3391569c5cc40fdf831e234533dc3484
449d555969bfd7befe906877abab098c6e63a0e8
/1382/CH6/EX6.26/EX_6_26.sce
423afb69ee70c7612ea444321d4d788815c5ec2f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
284
sce
EX_6_26.sce
// Example 6.26;// Gain clc; clear; close; a=60;// OPEN LOOP VOLTAGE GAIN IN dB A= 10^(a/20);// open voltage gain Beta=0.009;// feedback ratio Af= (A/(1+(Beta*A)));//GAIN WITH FEEDBACL AfdB= 20*(log10(Af));//gain with feedback in dB disp(AfdB,"gain with feedback in dB is")
d64a71dad353b5d8a0e68ac9bb2ce1ea4c4ede03
449d555969bfd7befe906877abab098c6e63a0e8
/1040/CH4/EX4.2.b/Chapter4_Ex2_b.sce
3af40974081a1b16b29a03fa6c5f3ca68efac907
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,609
sce
Chapter4_Ex2_b.sce
//Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc., USA,pp 436 //Chapter-4 Ex4.2.b Pg No.140 //Title:Computation of surface mean pore radius, Diffusivity and tortusity //=========================================================================================================== clear clc //INPUT S_g=150;//Total surface per gram (m2/g) V_g=0.45;//Pore volume per gram (cm3/g) V_i=0.30;//Micropore volume per gram (cm3/g) V_a=0.15;// Macropore volume per gram (cm3/g) rho_P=1.2;//Density of particle (g/cm3) tau=2.5; r_bar_i=40*(10^(-8));//Micropore radius r_bar_a=2000*(10^(-8));//Macropore radius D_AB=0.49;//For N2–O2 at 1 atm M_O2=32;//Molecular weight of O2 T=493;//Opereating Temperature D_e=0.0235;//Refer Ex4.2a (cm2/s) Pg. No. 141 //CALCULATION Epsilon=V_g*rho_P; r_bar=2*V_g/(S_g*10^4); D_K=9700*(r_bar)*sqrt(T/M_O2);//Knudsen Flow D_Pore=1/((1/D_K)+(1/D_AB)); tau=D_Pore*Epsilon/D_e; //OUTPUT //Console Output mprintf('\n The calculated surface mean pore radius = %.0e cm',r_bar); mprintf('\n The predicted pore diffusivity = %0.2e cm2/sec',D_Pore); mprintf('\n The corresponding tortusity = %0.2f',tau); //File Output fid= mopen('.\Chapter4_Ex2_b_Output.txt','w'); mfprintf(fid,'\n The calculated surface mean pore radius = %.0e cm',r_bar); mfprintf(fid,'\n The predicted pore diffusivity = %0.2e cm2/sec',D_Pore); mfprintf(fid,'\n The corresponding tortusity = %0.2f',tau); mclose(fid); //===========================================END OF PROGRAM==================================================
9136eb789d71d2201a0b8db25a977b274c57f6ea
449d555969bfd7befe906877abab098c6e63a0e8
/1943/CH10/EX10.10/Ex10_10.sce
2a17ef557a44470b2973bb948ec7ca7e9b48d038
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
788
sce
Ex10_10.sce
clc clear //Input data gh=35//Gross head in m md=2//Mean diameter in m N=145//Speed in rpm a=30//Angle in degrees oa=28//Outlet angle in degrees x=7//Percentage of gross head lost y=8//Reduction in relative velocity in percent //Calculations H=((100-x)/100)*gh//Net haed in m V1=sqrt(2*9.81*H)//Velocity in m/s Vb=(3.14*md*N)/60//Velocity in m/s b1=atand((V1*sind(a))/((V1*cosd(a))-Vb))//Angle in degrees Vr1=((V1*sind(a))/sind(b1))//Velocity in m/s Vr2=((100-y)/100)*Vr1//Velocity in m/s Vw1=(V1*cosd(a))//Velocity in m/s Vw2=(Vb-(Vr2*cosd(oa)))//Velocity in m/s E=((Vb*(Vw1-Vw2))/9.81)//Workdone in kg.m/kg nb=(E/gh)*100//Hydraulic efficiency in percent //Output printf('Blade angle at inlet is %3.0f degrees \n Hydraulic efficiency is %3.0f percent',b1,nb)
874b457094fbc1f5e2929974c1897701807ef5f1
b412360a5393e117e74453519c55968117ef7c7e
/REGRESSIONTESTS/maxi.tst
c1681a4857f3a4e89e1a3633891e3f367912943c
[]
no_license
thomas-maeder/popeye
36be3f54f8a7eea15b52a30cf23e455ed6ff44f8
732b721df67295b2c6a1c2ca00e87979f39cc0c9
refs/heads/develop
2023-09-05T13:06:45.846081
2023-08-31T02:59:55
2023-08-31T02:59:55
38,768,803
38
23
null
2023-09-14T18:35:27
2015-07-08T17:21:43
C
UTF-8
Scilab
false
false
6,753
tst
maxi.tst
White king is not in check on b7 even if nBc8*bKb7 is not the longest white move +---a---b---c---d---e---f---g---h---+ | | 8 -K . =B . . . . . 8 | | 7 . -P . . . . . . 7 | | 6 K . . . . . . . 6 | | 5 . . . . . . . . 5 | | 4 . . . . . . . . 4 | | 3 . . . . . . . . 3 | | 2 . . . . . . . . 2 | | 1 . . . . . . . . 1 | | +---a---b---c---d---e---f---g---h---+ #1 1 + 2 + 1n WhiteMaximummer BrunnerChess 1.Ka6*b7 # ! add_to_move_generation_stack: 20 play_move: 43 is_white_king_square_attacked: 17 is_black_king_square_attacked: 22 solution finished. White king is not in check on d5 even if c6-d5 is shorter than the longest move of wBc6 +---a---b---c---d---e---f---g---h---+ | | 8 . . . . . . . . 8 | | 7 . . . . . -P . . 7 | | 6 . . B . K . . . 6 | | 5 . . . . . . . . 5 | | 4 . . . . . . . . 4 | | 3 . . . . . . . . 3 | | 2 . . . . . . . . 2 | | 1 . . . . . . . -B 1 | | +---a---b---c---d---e---f---g---h---+ zd51 2 + 2 WhiteMaximummer Isardam 1.Ke6-d5 z ! add_to_move_generation_stack: 19 play_move: 22 is_white_king_square_attacked: 5 is_black_king_square_attacked: 0 solution finished. a8 is no cage for bBb2 even if Ba8-b7 is shorter than knight moves. So the only cage is a1, but that is self-check. +---a---b---c---d---e---f---g---h---+ | | 8 . . . . . . -S . 8 | | 7 . . . . . . . . 7 | | 6 . . -K . . . . . 6 | | 5 . . . . . . . . 5 | | 4 . . . . . . . . 4 | | 3 . . . . . . . . 3 | | 2 . -B . . . . . . 2 | | 1 K . . . . . . . 1 | | +---a---b---c---d---e---f---g---h---+ ~1 1 + 3 Circe Cage BlackMaximummer WhiteMaximummer 1.Ka1-a2 ! 1.Ka1-b1 ! add_to_move_generation_stack: 476 play_move: 64 is_white_king_square_attacked: 4 is_black_king_square_attacked: 63 solution finished. White Maximummer doesn't cause the test for the legality of 1.Ke1-f1 (necessary precondition for playing 0-0) to fail +---a---b---c---d---e---f---g---h---+ | | 8 . . . . . . . . 8 | | 7 . . . . . . . . 7 | | 6 . . . . . . . . 6 | | 5 . . . . . . . . 5 | | 4 . . . . . . . P 4 | | 3 . . . . . . . . 3 | | 2 . . . . . . . . 2 | | 1 . . . . K . . R 1 | | +---a---b---c---d---e---f---g---h---+ 001 3 + 0 WhiteMaximummer 1.0-0 ! add_to_move_generation_stack: 11 play_move: 4 is_white_king_square_attacked: 6 is_black_king_square_attacked: 0 solution finished. don't ignore the longest move just because of self-check if it reaches the goal +---a---b---c---d---e---f---g---h---+ | | 8 . . . . . . . -R 8 | | 7 . . . . . . . . 7 | | 6 -P . -P . . . . . 6 | | 5 -P -K P . . . . . 5 | | 4 . -B . P . . . . 4 | | 3 . P . . . . . . 3 | | 2 . K P . . . . . 2 | | 1 . . . . . . . -R 1 | | +---a---b---c---d---e---f---g---h---+ h##1 5 + 7 WhiteMaximummer 1.Rh8-h2 c2-c4 ## add_to_move_generation_stack: 703 play_move: 427 is_white_king_square_attacked: 414 is_black_king_square_attacked: 97 solution finished. +---a---b---c---d---e---f---g---h---+ | | 8 . . . . . . . P 8 | | 7 B -P . R . . . . 7 | | 6 R S B . . . . . 6 | | 5 S . . Q . . . . 5 | | 4 . . . . . . . . 4 | | 3 . . . . . . . . 3 | | 2 . . . . . . . . 2 | | 1 . . . . . . . . 1 | | +---a---b---c---d---e---f---g---h---+ h~1 8 + 1 BlackMaximummer WhiteMaximummer SingleBox Type3 1.b7*c6 [h8=B]Bh8-a1 1.b7*a6 [h8=R]Rh8-h1 1.b7*a6 [h8=R]Rh8-a8 add_to_move_generation_stack: 103 play_move: 20 is_white_king_square_attacked: 0 is_black_king_square_attacked: 0 solution finished.
ae7c34d9a70db02f7fcf52db38ac8e609dc9d586
449d555969bfd7befe906877abab098c6e63a0e8
/2609/CH13/EX13.8/ex_13_8.sce
b43ea4dedd64ed9d2330600e1c889311c479fa30
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
410
sce
ex_13_8.sce
////Ex 13.8 clc; clear; close; format('v',6); Vout=15:20;//V Vin=24;//V VR1=12;//V Vref=12;//V I4=0;//A(Assumed) Iout=1;//A(Assumed) R1=VR1/Iout;//ohm //Vout=VR1*(1+R2/R1) R2min=R1*(min(Vout)/VR1-1);//Putting min Vout R2max=R1*(max(Vout)/VR1-1);//Putting min Vout disp(R1,"Resistance R1(ohm)"); disp(R2max,R2min,"Minimum & maximum value of R2(ohm)"); disp("A pot of 10 ohm should be used.");
810f65a43b6056000cf3b26c7e9524c03edf39a1
449d555969bfd7befe906877abab098c6e63a0e8
/1271/CH3/EX3.20/example3_20.sce
16fc7af61d494d3d0aa3e89119ad117bba79c632
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
477
sce
example3_20.sce
clc // Given that theta = 10 // rotation of plane of polarization in degree s = 60 // specific rotation of sugar solution in degree per decimeter per unit concentration l = 2.5 // length of Polari meter in decimeter // Sample Problem 20 on page no. 3.29 printf("\n # PROBLEM 20 # \n") c = theta / (s * l) // calculation for concentration of sugar solution printf("\n Standard formula used \n c = theta / (s * l). \n") printf("\n Concentration of sugar solution = %f gm/cc",c)
30d37633c00b3d354914f3bd3e50a0bc70e1b1f4
449d555969bfd7befe906877abab098c6e63a0e8
/1067/CH23/EX23.06/23_06.sce
dd24eb5735fb1217943114da9975f708e79c5274
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
428
sce
23_06.sce
clear; clc; r=1250e3; v=600; z1=.15*%i; z2=.3*%i; z3=.05*%i; z4=.55*%i; x1=inv(inv(z2)+inv(z1)); x2=x1; x0=inv(inv(z3)+inv(z4)); e=1; ia1=e/(x1+x2+x0); ia2=ia1; ia0=ia2; ia=3*ia1;//the difference in result is due to erroneous calculation in textbook. base=r/(sqrt(3)*v); ita=ia*base; mprintf("the fault current=%fA",-imag(ita)); disp("the difference in result is due to erroneous calculation in textbook.");
39076563d591f79171c2ed4273a0d0a59d604ebb
449d555969bfd7befe906877abab098c6e63a0e8
/671/CH2/EX2.38/2_38.sce
f1222137699e36078227fa812caefdf194b4dd17
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
224
sce
2_38.sce
function p=parallel(r1,r2) p=r1*r2/(r1+r2) endfunction R1=parallel(5,40)+15 Req=parallel(R1,15)+10 i=6/(1000*Req) ix=i*R1/(R1+15) disp(ix) P=i*i*10000 //////wrongly done in the book as ix*ix*10000 disp(P)
c52ac7c6d8c7532974444a0e8168ff6927b62787
449d555969bfd7befe906877abab098c6e63a0e8
/944/CH5/EX5.28/example5_28_TACC.sce
e8f35cf17bea76d96f07c088adce008ad198bd6a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
665
sce
example5_28_TACC.sce
//example 5.28 clear; clc; //Given: P1=0.016;//Vapour pressure of pure ethanol at 273K[bar] P2=0.470;//Vapour pressure of pure ethanol at 333K[bar] T1=273;//initial temperature [K] T2=333;//final temperature[K] R=8.314;//Universal gas constant[J/K/mol] P=1.01;//vapour pressure at normal boiling point[bar] //To find the molar enthalpy of vapourization x=(T2^-1)-(T1^-1); He=-R*0.001*log(P2/P1)/x;//molar enthalpy of vaporization[J/mol] t=(T2^-1)-(R*0.001*log(P/P2)/He); T=(t^-1)-273;//normal boiling point [C] printf("The molar enthalpy of vapourization is %f J/mol",He); printf("\n\nThe normal boiling point for pure ethanol is %f C",T);
488eb3bc4eef2ede12598b0a3e4324f36bf6e551
449d555969bfd7befe906877abab098c6e63a0e8
/3685/CH18/EX18.7/Ex18_7.sce
ca630dc1a4368c7e3bf791d37fbe572eef914109
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
828
sce
Ex18_7.sce
clc Hfg = 2257 // Latent heat at 100 degree Celsius ma = 500 // mass flow rate of air in Kg/h ch = 1.005 // Specific heat capacity of hot air in kJ/kgK ta1 = 260 // Inlet temperature of hot air in degree Celsius ta2 = 150 // Inlet temperature of cold air in degree Celsius tc1 = 100 // Inlet temperature of steam tc2 = tc1 // Exit temperature of steam U = 46 // heat transfer coefficient in W/m^2K printf("\n Example 18.7\n") Q = ma*ch*(ta1-ta2) m = Q/Hfg // mass flow rate of steam te = ta2-tc1 // Exit end temperature difference in degree Celsius ti = ta1 - tc2 // Inlet end temperature difference in degree Celsius t_lm = (ti-te)/(log(ti/te)) A = Q / (U*t_lm*3.6) // Surface are of heat exchanger printf("\n Surface area of heat exchanger is %f m^2",A) //The answers vary due to round off error
136f7c53ab828fe092a3c26e9156c0dd86e92b7b
449d555969bfd7befe906877abab098c6e63a0e8
/3311/CH9/EX9.5/Ex9_5.sce
2f841e2fc6680ea19d93b38538b68612c85ae46d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,368
sce
Ex9_5.sce
// chapter 9 // example 9.5 // Determine transistor ratings, THD, DF and HF and DF of the lowest order harmonic // page-554 clear; clc; // given Edc=48; // in V (dc source) R=3; // in ohm // calculate Ip=Edc/R; // calculation of transistor peak current I_avg=Ip/2; // calculation of transistor average current V_BR=Edc; // calculation of peak reverse voltage of each IGBT printf("\nThe transistor ratings are \t Ip=%.f A \t I_avg=%.f A \t V_BR=%.f V",Ip,I_avg,V_BR); E1_rms=2*Edc/(sqrt(2)*%pi); E0_rms=(Edc/2); THD=sqrt(E0_rms^2-E1_rms^2)/E1_rms; // calculation of total harmonic distortion printf("\nThe total harmonic distortion is \t THD=%.3f or \t %.1f percent",THD,THD*100); K=0; for n=3:2:13 En_rms=2*Edc/(n*%pi*sqrt(2)); En_rms_n2=(En_rms/n^2)^2; K=K+En_rms_n2; end K=sqrt(K); DF=K/E1_rms; // calculation of distortion factor printf("\n\nThe distortion factor is \t\t DF=%.3f or \t %.1f percent",DF,DF*100); E3_rms=2*Edc/(3*%pi*sqrt(2)); HF3=E3_rms/E1_rms; // calculation of lowest order of harmonic distortion printf("\n\nThe lowest order harmonic factor is \t HF3=%.3f or \t %.2f percent",HF3,HF3*100); DF3=(E3_rms/3^2)/E1_rms; // calculation of lowest order distortion factor printf("\n\nThe lowest order distortion factor is \t DF3=%.4f or \t %.3f percent",DF3,DF3*100); // Note: The answer varies slightly due to precise calculation
9d545d47f59853dee2c91aa09a762be165c9c435
449d555969bfd7befe906877abab098c6e63a0e8
/1664/CH1/EX1.2/Ex1_2.sce
0b0f3acdd833b8720777d965f2dec29506b3f4f9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
547
sce
Ex1_2.sce
// Example No.1.2. // Page No. 28. clc;clear; t = 1*10^(-3);//Thickness of the quartz crystal -[m]. Y = 7.9* 10^(10);//Young's modulus of quartz -[N/m^2]. d = 2650;//Density of quartz -[kg/m^3]. p = 1; f1 = (p/(2*t))*(sqroot(Y/d));//For fundamental frequency p=1. printf("\nThe fundamental frequency of vibration of the crystal is %3.3e Hz",f1); p = 2; f2 = (p/(2*t))*(sqroot(Y/d));// f2 is frequency of first overtone and for the first overtone P=2. printf("\nThe frequency of the first overtone of the crystal is %3.3e Hz",f2);
f448b43d2622747ae26926ab411f4c4196b1d0dd
449d555969bfd7befe906877abab098c6e63a0e8
/671/CH1/EX1.10/1_10.sce
07e6b3f404d068202f4cf0aa28929f3e133d0802
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
82
sce
1_10.sce
v1=6 i2=2 i3=4 v2=2*i2 v3=2*i3 v4=-v1+4*i2+v3-v2 //KVL i4=v4/3 disp(i4)
911ed7e4087c1ab38533a068f35e95af450cf46e
56b102153844197eb790583175d727ab01e5a792
/share/steam_prop.sci
d4febc799e96d72ff9bc6d2888db6ad9f84b3de5
[]
no_license
wsbassel/coolingtower
e6b707875e29c4e03f4fb5f9b63346458b9c5d9d
4a8e1ecb2e077d7a19827dbccb46c4b663dcc3e1
refs/heads/master
2020-06-22T02:49:19.135479
2019-07-18T16:25:36
2019-07-18T16:25:36
197,614,871
0
0
null
null
null
null
UTF-8
Scilab
false
false
5,889
sci
steam_prop.sci
function [ ro, u1 , h1, s1] =wageeh_keenan (p, t_k, state) // function for estimation of enthalpy and density of steam R=4.6151; R_j=R/10; if state <2 ro=p/(R*t_k); else ro=.99; end am=zeros(10,7); am(1,:) = [29.492937 -5.198586 6.8335354 -0.1564104 -6.3972405 -3.9661401 -0.69048554]; am(2,:) =[ -132.13917 7.7779182 -26.149751 -0.72546108 26.409282 15.453061 2.7407416]; am(3,:)= [274.64632 -33.301902 65.326396 -9.2734289 -47.740374 -29.14247 -5.102807]; am(4,:) =[ -360.93828 -16.254622 -26.181978 4.312584 56.32313 29.568796 3.9636085]; am(5,1) =342.18431; am(5,2)=-177.3107; am(6,1)=-244.50042; am(6,2)= 127.48742; am(7,1)=155.18535; am(7,2)=137.46153; am(8,1) = 5.9728487; am(8,2) = 155.97836; am(9,:)=[ -410.30848 337.3118 -137.46618 6.7874983 136.87317 79.84797 13.041253]; am(10,:) =[ -416.0586 -209.88866 -733.96848 10.401717 645.8188 399.1757 71.531353]; roa=zeros(7,1); taua=zeros(7,1); roa(1)=.634; taua(1)=1.544912; for j=2:7 roa(j)= 1.0; taua(j)= 2.5; end tauc = 1.544912; em = 4.8; tau=1000.0/t_k; if tau == 2.5 then //& tau<2.500001; tau = 2.5001; end // %pow(e_nap,m_e); E=4.8; for iter=1:30 for j=1:7 con_Q1(j)=(tau-taua(j))^(j-2); for i=1:8 con_Q2(i)=am(i,j)*(ro-roa(j))^(i-1); end con_Q2(9)=exp(-E*ro)*am(9,j); con_Q2(10)=exp(-E*ro)*am(10,j)*ro; con_Q3(j)=con_Q1(j)*sum(con_Q2); end Q=(tau-tauc)*sum(con_Q3); for j=1:7 con_dQ1(j)=(tau-taua(j))^(j-2); for i=1:8 con_dQ2(i)=am(i,j)*(i-1)*(ro-roa(j))^(i-2); end con_dQ2(9)=exp(-E*ro)*(-E)*am(9,j); con_dQ2(10)=exp(-E*ro)*am(10,j)+exp(-E*ro)*(-E)*am(10,j)*ro; con_dQ3(j)=con_dQ1(j)*sum(con_dQ2); end dQ_dro=(tau-tauc)*sum(con_dQ3); for j=1:7 con_d2Q1(j)=(tau-taua(j))^(j-2); for i=1:8 con_d2Q2(i)=am(i,j)*(i-1)*(i-2)*(ro-roa(j))^(i-3); end con_d2Q2(9)=exp(-E*ro)*(-E)*(-E)*am(9,j); con_d2Q2(10)=exp(-E*ro)*(-E)*am(10,j)+exp(-E*ro)*(-E)*am(10,j)+exp(-E*ro)*(-E)*(-E)*am(10,j)*ro; con_d2Q3(j)=con_d2Q1(j)*sum(con_d2Q2); end d2Q_dro=(tau-tauc)*sum(con_d2Q3); f=-p/(R*t_k)+ro+ro^2*Q+ro^3*dQ_dro; df_dro=1+ro^2*dQ_dro+2*ro*Q+ro^3*d2Q_dro+3*ro^2*dQ_dro; dro=f/df_dro; ro=ro-dro/2; end ro1=ro; //%================dQ_dtau=============== for j=1:7 con_dQ_dtau1(j)=(j-2)*(tau-taua(j))^(j-3); for i=1:8 con_dQ_dtau2(i)=am(i,j)*(ro-roa(j))^(i-1); end con_dQ_dtau2(9)=exp(-E*ro)*am(9,j); con_dQ_dtau2(10)=exp(-E*ro)*am(10,j)*ro; con_dQ_dtau3(j)=con_dQ_dtau1(j)*sum(con_dQ_dtau2); end dQ_dtau=sum(con_Q3)+(tau-tauc)*sum(con_dQ_dtau3); //%====================dcon_dQ_dtau3=================== for j=1:7 dcon_dQ_dtau1(j)=(j-3)*(j-2)*(tau-taua(j))^(j-4); for i=1:8 dcon_dQ_dtau2(i)=am(i,j)*(ro-roa(j))^(i-1); end dcon_dQ_dtau2(9)=exp(-E*ro)*am(9,j); dcon_dQ_dtau2(10)=exp(-E*ro)*am(10,j)*ro; dcon_dQ_dtau3(j)=dcon_dQ_dtau1(j)*sum(dcon_dQ_dtau2); end dcon_dQ_dtau3s=sum(dcon_dQ_dtau3); //%====================================== //%===========================dsum(con_q3================= for j=1:7 dcon_Q1(j)=(j-2)*(tau-taua(j))^(j-3); for i=1:8 dcon_Q2(i)=am(i,j)*(ro-roa(j))^(i-1); end dcon_Q2(9)=exp(-E*ro)*am(9,j); dcon_Q2(10)=exp(-E*ro)*am(10,j)*ro; dcon_Q3(j)=dcon_Q1(j)*sum(dcon_Q2); end dsum_con_Q3=sum(dcon_Q3); //%================================== d2Q_dtau2=dsum_con_Q3+(tau-tauc)*dcon_dQ_dtau3s+sum(con_dQ_dtau3); c_epsi=[1857.065 3229.12 -419.465 36.6649 -20.5516 4.85233 46 -1011.249]; epsi=zeros(8,1); for i=1:6 epsi(i)=c_epsi(i)/tau^(i-1); end epsi(7)=c_epsi(7)*log(t_k); epsi(8)=c_epsi(8)*log(t_k)/tau; epsi_zero=sum(epsi); for i=1:6 depsi_tau(i)=-(i-1)* c_epsi(i)*tau^(-(i-1)-1); end depsi_tau(7)=-c_epsi(7)/tau; // %(1/(1000/tau)*(-1000)/tau^2); depsi_tau(8)=c_epsi(8)*(-1/tau^2-log(t_k)/tau^2); depsi_tau_zero=sum(depsi_tau); //%==========================depsi2_dtau2================= for i=1:6 d2epsi_tau(i)=-(i-1)*(-i)* c_epsi(i)*tau^(-i-1); end d2epsi_tau(7)=c_epsi(7)/tau^2; // %(1/(1000/tau)*(-1000)/tau^2); d2epsi_tau(8)=c_epsi(8)*(2/tau^3+1/tau^3+2*log(t_k)/tau^3); d2epsi_tau_zero=sum(d2epsi_tau); //%============================= u1=R_j*t_k*ro*tau*dQ_dtau+tau*depsi_tau_zero+epsi_zero; h1=u1+R_j*t_k*(1+ro*Q+ro^2*dQ_dro); s1=-R_j*(log(ro)+ro*Q-ro*tau*dQ_dtau)+depsi_tau_zero*1000/(t_k^2); // %============================repetit com .1 c mais====== endfunction //p=1 //t_k=373.15 //state=1 // [ ro , u1 , h1, s1] =wageeh_keenan (p, t_k, state) // disp (ro) // disp (u1) //disp (h1) //disp (s1)
3250e76e815e415852fdc38e1268ea8a3a876407
448970a51f33c84b537772b10ef3e26c165eda01
/PCB/Stealth_Drop/PCB/vbreport/work/VBPCBP.TST
abd7574b53d4baeeaddeae84c3c8a9a9fc96064c
[]
no_license
ghsecuritylab/ZeROSEro7
90057b21d569cf7eb3f1495ec5d437436f0bc622
4a940302386d6b9312b8e835a7c6c790817c1b52
refs/heads/master
2021-02-26T14:28:37.967676
2018-02-02T03:20:59
2018-02-02T03:20:59
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
16,469
tst
VBPCBP.TST
CellID CellName CompType MountType Verified NoPins GlueX GlueY AssemblyX AssemblyY Height TimeStamp History Description 1 AMW006 IC_OTHER SURFACE NO 48 0.000 0.000 0.000 0.000 0.000 12/03/2015 17:20 Cell modified: Mar 12, 2015 @ 04:34 PM by ROSE@BI-WIN7 2 2450AT18A100 GENERAL SURFACE NO 2 0.000 0.000 0.000 0.000 1.300 12/03/2014 00:39 Cell modified: Mar 12, 2014 @ 12:39 AM by Alexis@LUTIN2 3 B2B-PH-SM4-TB CONNECTOR SURFACE NO 4 0.000 0.000 0.000 0.000 10.000 02/04/2014 15:40 Cell renamed from (B2B-PH-SM4-TB_1): Apr 02, 2014 @ 03:40 PM by Alexis@BI-WIN7 4 FTSH-105-01-L-DV CONNECTOR SURFACE NO 10 0.000 0.000 0.000 0.000 5.600 21/03/2014 19:36 Cell modified: Mar 21, 2014 @ 07:36 PM by Alexis@BI-WIN7 5 JAE_ST1W008S4ER1500 CONNECTOR MIXED NO 12 0.000 0.000 0.000 0.000 1.900 07/02/2011 03:16 Cell modified: Feb 07, 2011 @ 03:16 AM by Alexis@LUTIN2 6 MOL-47346-0001 CONNECTOR MIXED NO 9 0.000 0.000 0.000 0.000 0.000 28/03/2012 01:10 Cell renamed from (LUMBERG-2410-07_1): Mar 28, 2012 @ 01:10 AM by Alexis@LUTIN2 7 U.FL-R-SMT01 CONNECTOR MIXED NO 3 0.000 0.000 0.000 0.000 1.250 14/03/2015 17:01 Cell modified: Mar 14, 2015 @ 05:01 PM by ROSE@BI-WIN7 8 CHIPLED DISCRETE_CHIP SURFACE NO 4 0.000 0.000 0.000 0.000 0.350 15/01/2008 18:47 Cell modified: Jan 15, 2008 @ 06:47 PM by Alexis@LUTIN 9 C0402 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 0.870 06/06/2008 18:41 Cell modified: Jun 06, 2008 @ 06:41 PM by Alexis@LUTIN 10 C0603 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 0.870 21/11/2001 17:30 Cell modified: Nov 21, 2001 @ 05:30 PM by phde@PHDE1 11 C0805 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 1.350 21/11/2001 17:32 Cell modified: Nov 21, 2001 @ 05:32 PM by phde@PHDE1 12 D0603 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 1.000 17/04/2006 03:38 Cell modified: Apr 17, 2006 @ 03:38 AM by Alexis@SCHTROUMPF2 13 ECX-1210 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 0.350 03/12/2017 14:17 Cell modified: Dec 03, 2017 @ 02:17 PM by alexis@DESKTOP-D6MOGOB 14 L0402 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 0.870 03/12/2008 02:38 Cell created: Dec 03, 2008 @ 02:38 AM by Alexis@LUTIN2 15 L0603 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 1.000 25/02/2003 13:05 Cell modified: Feb 25, 2003 @ 01:05 PM by alexis@LUTIN 16 L0805 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 1.450 25/02/2003 13:05 Cell modified: Feb 25, 2003 @ 01:05 PM by alexis@LUTIN 17 OSCCMS_CX2016DB GENERAL SURFACE NO 4 0.000 0.000 0.000 0.000 0.330 08/12/2017 17:52 Cell modified: Dec 08, 2017 @ 05:52 PM by alexis@DESKTOP-D6MOGOB 18 R0603 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 0.870 21/11/2001 19:14 Cell modified: Nov 21, 2001 @ 07:14 PM by phde@PHDE1 19 SOD323 DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 1.100 21/03/2014 01:10 Cell modified: Mar 21, 2014 @ 01:10 AM by Alexis@LUTIN2 20 SOT23 DISCRETE_CHIP SURFACE NO 3 0.000 0.000 0.000 0.000 1.100 08/10/2016 23:56 Cell modified: Oct 08, 2016 @ 11:56 PM by root@WIN10 21 SOT23_5 DISCRETE_CHIP SURFACE NO 5 0.000 0.000 0.000 0.000 1.100 29/10/2016 16:08 Cell modified: Oct 29, 2016 @ 04:08 PM by root@WIN10 SOT23-5, 5pins 22 WE_SPC DISCRETE_CHIP SURFACE NO 2 0.000 0.000 0.000 0.000 3.800 24/12/2017 22:02 Cell modified: Dec 24, 2017 @ 10:02 PM by alexis@DESKTOP-D6MOGOB 23 XRCGB_F_P/M/L GENERAL SURFACE NO 4 0.000 0.000 0.000 0.000 0.650 30/08/2016 17:30 Cell modified: Aug 30, 2016 @ 05:30 PM by root@WIN10 24 EQFN48_040_600_600_90 IC_BGA SURFACE NO 49 0.000 0.000 0.000 0.000 0.900 25/11/2017 12:39 Cell modified: Nov 06, 2017 @ 02:11 AM by alexis@DESKTOP-D6MOGOB 25 TQFP064_050_1220_1220_105 IC_PLCC SURFACE NO 64 0.000 0.000 0.000 0.000 1.050 25/10/2016 20:54 Cell modified: Oct 25, 2016 @ 08:54 PM by root@WIN10 26 MS10_050_30_30_110 IC_SOIC SURFACE NO 10 0.000 0.000 0.000 0.000 1.100 25/03/2014 00:14 Cell modified: Mar 25, 2014 @ 12:14 AM by Alexis@LUTIN2 27 DXF_SVG battery GENERAL SURFACE NO 0 0.000 0.000 0.000 0.000 0.000 01/09/2016 21:16 Cell created: Sep 01, 2016 @ 09:16 PM by WIN10:root 28 (_VB_DRILL_SYMBOLS_)Thru GENERAL SURFACE YES 0 0.000 0.000 0.000 0.000 0.000 27/12/2017 12:59 No History Found Drill Symbols 29 (_VB_DRILL_DRAWING_)Thru GENERAL SURFACE YES 0 0.000 0.000 0.000 0.000 0.000 27/12/2017 12:59 No History Found Drill Chart
3f52ab8d2de928b992c5098f1ca0e10ef430c7de
449d555969bfd7befe906877abab098c6e63a0e8
/647/CH3/EX3.10/Example3_10.sce
7f8a27f8827d3fd1524eea66bb776c18743ed47a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
999
sce
Example3_10.sce
clear; clc; // Example: 3.10 // Page: 103 printf("Example: 3.10 - Page: 103\n\n"); // Solution //*****Data*****// beeta = 1.487*10^(-3);// [1/OC] alpha = 62*10^(-6);// [1/bar] V1 = 1.287;// [cubic cm /g] //************// // Solution (a) // The value of derivative (dP/dT) at constant V: // dV/V = beeta*dT - alpha*dP // dV = 0 // dP/dT = beeta/alpha // Value = dP/dT Value = beeta/alpha;// [bar/OC] printf("Value of derivative is %.2f bar/OC\n",Value); // Solution (b) P1 = 1;// [bar] T1 = 20;// [OC] T2 = 30;// [OC] // Applying the same equation: P2 = P1 +(beeta/alpha)*(T2 - T1);// [bar] printf("The pressure generated by heating at constant Volume is %.2f Pa\n",P2); // Solution (c) T2 = 0;// [OC] T1 = 20;// [OC] P2 = 10;// [bar] P1 = 1;// [bar] // The change in Volume can be obtained as: V2 = V1*exp((beeta*(T2 - T1)) - alpha*(P2 - P1));// [cubic cm/g] deltaV = V2 - V1;// [cubic cm/g] printf("The change in Volume is %.3f cubic cm/g\n",deltaV);
577dc31f2e848884cd53b0f45dc21d1f3bf0729e
449d555969bfd7befe906877abab098c6e63a0e8
/2360/CH3/EX3.25/ex3_25.sce
25cb62944c32b783c2d4ee22fa78a6fed0a0f868
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
595
sce
ex3_25.sce
// Exa 3.25 format('v',7);clc;clear;close; // Given data Vm = 10;// in mV Vm = Vm * 10^-3;// in V Rm = 1;// in k ohm Rm = Rm * 10^3;// in ohm Im = Vm/Rm;// in A // Part (i) : For the range of 100 mV Vrange = 100;// in mV Vrange = Vrange * 10^-3;// in V Rs = (Vrange/Im) - Rm;// in ohm Rs= Rs*10^-3;// in kohm disp("Part (i) For the range of 100 mV") // Part (ii) : For the range of 1 V disp(Rs,"The value of Rs in kΩ is"); Vrange = 1;// in V Rs = (Vrange/Im) - Rm;// in ohm Rs= Rs*10^-3;// in kohm disp("Part (i) For the range of 1V") disp(Rs,"The value of Rs in kΩ is");
27c683dad04576c3d583c6ede9740798269934cc
449d555969bfd7befe906877abab098c6e63a0e8
/2783/CH3/EX3.4/Ex3_4.sce
d592d12a126e5004aba50dd7c9e7724d81873f91
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
232
sce
Ex3_4.sce
clc //initialization of new variables clear F=20.9 //N Vc=310 //cm^3 rho_w=1000 //kg/m^3 g=9.8 //m/s^2 //calculations Wc=F+rho_w*g*Vc*10^-6 rho_c=Wc/(Vc*10^-6*g) //result printf('The crown density is %d kg/m^3',rho_c)
bcc8b1720a5e503090189f58388918a2476a60ef
449d555969bfd7befe906877abab098c6e63a0e8
/2660/CH2/EX2.4/Ex2_4.sce
80d74f4d5e7130462c98de52cffdefe808cdc38c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
395
sce
Ex2_4.sce
clc b = 25 // width of blank in mm l = 30 // length of blank in mm tau = 450 // ultimate shear stress of material in N/mm^2 t = 1.5 // thickness of metal strip in mm p = 2*(l + b) // perimeter of blank in mm f = p*t*tau // blanking force in N Pt = 0.25*t // punch travel in mm w = f*Pt // work done in Nmm printf("\n blanking force = %0.2f KN\n work done = %0.2f Nm", f/1000,w/1000)
6e98ffba84fbecc3b31487d4b743cca93ba07c0e
449d555969bfd7befe906877abab098c6e63a0e8
/1523/CH6/EX6.20/ex6_20.sce
e98ae7dbf438085c7060ca9689009e2be4b5823d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
964
sce
ex6_20.sce
// Three-Phase Circuits :example 6.20 :(pg 6.22 & 6.23) VL=400; Zph=100; Vph=(VL/sqrt(3)); Iph=(Vph/Zph); pf=1; P=(sqrt(3)*VL*Iph*pf); Iph1=(VL/Zph); IL1=(sqrt(3)*Iph1); P1=(sqrt(3)*VL*IL1*pf); I1=(VL/200); Pa=(VL*I1); I2=(VL/100); Pb=(VL*I1*I2); printf("\nVL=400 V \nZph = 100 Ohm"); //For a star connected load printf("\nVph=VL/sqrt(3) =%.2f V",Vph); printf("\nIph = VL/Zph =%.2f A",Iph); printf("\nIL=Iph =%.2f A",Iph); printf("\ncos(phi)=1 \nP=sqrt(3).VL.IL.cos(phi) =%.2f W",P); //For a delta connected load printf("\nVph=VL=%.f V",VL); printf("\nIph=Vph/Zph =%.f A",Iph1); printf("\nIL=sqrt(3)*Iph =%.2f A",IL1); printf("\nP=sqrt(3)*VL*IL*cos(phi) =%.2f W",P1); //When resistors are open circuited //(i)Star connection printf("\nI= %.f A",I1);//Current in lines printf("\nP=%.f W",Pa);//Power taken from mains //(ii)Delta connection printf("\nI=%.f A",I2);//Current in each phase printf("\nP=%.f W",Pb);//Power taken from mains
0ddbe01d263e39ea43226955af4d8d48e0b2a9c5
449d555969bfd7befe906877abab098c6e63a0e8
/1379/CH10/EX10.1.1/example10_1.sce
3a3ff7d1eeae68a27275e9ac2d4653579a0553a0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
628
sce
example10_1.sce
//example 10.1 clc; funcprot(0); clf() //exapple 10.1 // Initialization of Variable t=[0 0.5 1 2 3 4 5 6 7 8 9 10];//time h=[1.10 1.03 .96 .82 .68 .54 .42 .35 .31 .28 .27 .27]; Cl=[0 0 0 0 0 0 0 0 0 0 0]; m=0.05; V=1/1000;//volume //calculations Co=m/V;//concentration at t=0 v(1)=(h(1)-h(2))/(t(2)-t(1)); Cl(1)=Co; for i=2:11 v(i)=(h(i-1)-h(i+1))/(t(i+1)-t(i-1));//slope or settling velocity Cl(i)=Co*h(1)/(h(i)+v(i)*t(i)); end plot(t,h,'r--d'); clf(); plot(Cl,v,'r->'); xtitle("Concentration vs Settling veocity" , "Concentration(kg/m^3)" , "Settling velocity (m/h)");
4e41ef775f344ffd2aafecece3c86a50bde2d1b5
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set6/s_Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376.zip/Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376/CH2/EX2.3/2_3.sci
b2fe45c253493ceaf3ee00c83140c13ef3d8e706
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
176
sci
2_3.sci
errcatch(-1,"stop");mode(2);// 2.3 ; a=0.5/2; b=0.25+0.4; Pr=4.5; C=(0.024*Pr)/(log10(b/a)) C_total=300*C printf("\ncapacitance of the cable=%.2f uF",C_total) exit();
4dad3ffbadc04340499d9487bb04aab64eddaf4b
449d555969bfd7befe906877abab098c6e63a0e8
/3717/CH19/EX19.5/Ex19_5.sce
9954d311fbbf2557bb047dd60f6ac74c4abd6a3c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
552
sce
Ex19_5.sce
// Ex19_5 Page:378 (2014) clc;clear; m_D = 1.66e-027; // Mass of the deutrium, kg m_1H2 = 2.014102; // Mass of deutrium, u m_1H3 = 3.01609; // Mass of the tritium, u m_1H1 = 1.007825; // Mass of protium, u Q = (2*m_1H2 - m_1H3 - m_1H1)*931.5; // Energy released per fusion, MeV E = 0.001/(2*m_D)*Q/2; // Energy released per gram of fuel, MeV printf("\nThe energy released per gram of fuel = %4.2e MeV", E); // Result // The energy released per gram of fuel = 6.02e+023 MeV // The answer provided in the textbook is wrong
aced4dfb53a88ea5e6f0b2b12cf95c5437d5e7d7
beddf1628742741ed2519da24e58b108bec17eb8
/PLSQL Collection Types/Variable-size array.tst
4921aceb2e78ee2b65496ceed8de1ccc3bfcfb8b
[]
no_license
vadimartyushenko/OracleTutorial
fb6c463209c6dc2618282a875758794d6f357ba9
c193a89f49aae87292c7468a491f2d51e02be092
refs/heads/master
2023-02-27T14:36:13.552656
2021-02-02T10:01:53
2021-02-02T10:01:53
278,528,537
0
0
null
null
null
null
UTF-8
Scilab
false
false
902
tst
Variable-size array.tst
------------------------------------------------------------------ SQL> CREATE TYPE first_names_t IS VARRAY (2) OF VARCHAR2 (100); 2 / Type created. SQL> CREATE TYPE child_names_t IS VARRAY (1) OF VARCHAR2 (100); 2 / Type created. CREATE TABLE family ( surname VARCHAR2(1000), parent_names first_names_t, children_names child_names_t ); ------------------------------------------------------------------ DECLARE parents first_names_t := first_names_t (); children child_names_t := child_names_t (); BEGIN parents.EXTEND (2); parents (1) := 'Samuel'; parents (2) := 'Charina'; children.EXTEND; children (1) := 'Feather'; INSERT INTO family ( surname, parent_names, children_names ) VALUES ( 'Assurty', parents, children ); FOR l_row IN parents.FIRST .. parents.LAST LOOP DBMS_OUTPUT.put_line (parents (l_row)); END LOOP; END;
4efb8bacada35ba81c52853ec04419cc59f9a22c
449d555969bfd7befe906877abab098c6e63a0e8
/3020/CH11/EX11.7/ex11_7.sce
bcb4a5a65c13068fa8e53d74feab00b994644f26
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
440
sce
ex11_7.sce
clc; clear all; c = 3e8; // Velocity of light in air h = 6.626e-34 ; // Planck's constant lambda = 0.4e-6 ; // Wavelengh of cadmium sulphate crystal in meters E = (h*c)/lambda; // Energy of each photon emitted a = 4e-6; // Area of photodetector in square meters I = 200; // Intensity of light in watts/square meters N = (I*a)/E;// The number of pairs generated per second disp('',N,'The number of pairs generated per second is')
62ad2e107c190aefc828976e2867c95bedcca537
449d555969bfd7befe906877abab098c6e63a0e8
/52/CH3/EX3.14/Example3_14.sce
e7c14b9da99668362d69fbe636e4d2aecf77868f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Example3_14.sce
//Example 3.14 //Program to Compute circular convolution of following sequences //x1[n]=[1,2,2,1] //x2[n]=[1,2,3,1] clear; clc ; close ; x1=[1,2,2,1]; x2=[1,2,3,1]; //DFT Computation X1=fft(x1,-1); X2=fft(x2,-1); Y=X1.*X2; //IDFT Computation y=fft(Y,1); //Display sequence y[n] in command window disp(y,"y[n]=");
eed749ac604fccb0c0f6417f5cbfefcf12343b2c
449d555969bfd7befe906877abab098c6e63a0e8
/2252/CH6/EX6.3/Ex6_3.sce
1dff2465ed2fbf0d0a8146c0599ddc80521d6080
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
526
sce
Ex6_3.sce
//calculating instantaneous voltage at .005 sec after the wave passes through zero in positive direction f=50//frequency Emax=350//max value of voltage t=.005 e1=Emax*sin(2*%pi*f*t) mprintf("Voltage at .005 sec after the wave passes through zero in positive direction=%d V\n",e1) //calculating instantaneous voltage at .008 sec after the wave passes through zero in negative direction t=.008 e2=-Emax*sin(2*%pi*f*t) mprintf("Voltage at .008 sec after the wave passes through zero in negative direction=%f V",e2)
3447c46ade9875b2a6ef1647955fb70370108fe8
7ad0d60cf81a6a597c854f34eb8e4d0f0238449f
/Controle/T1/Código/Plotters/controlador_plotter.sce
f3c3b3ed7e6c696b8f9de2d45e0cda41d8c2c9e6
[]
no_license
Lucas-Okamura/Poli-USP
83c5bf59a8d1f04215db1caeb3898a2394c0797c
2875cd8e0f3a2549f0461d0256cf5e8cc24d204c
refs/heads/master
2023-06-07T21:29:13.123960
2021-06-23T21:59:01
2021-06-23T21:59:01
304,692,746
1
0
null
null
null
null
UTF-8
Scilab
false
false
1,882
sce
controlador_plotter.sce
function plotter_controlador(x0,A,B,Kal,Klq) // Kal é a matriz de ganho para alocação de polos //Klq é a matriz de ganho para controle LQR // Matriz de transição dt = 0.1 nit = 100 x1 = [] x2 = [] x3 = [] x4 = [] dt = 0.1 nit = 1400 for i = 1:nit t = (i-1)*dt sigma = expm((A-B*Kal)*t) xal = sigma*x0 x1al(i) = xal(1) x2al(i) = xal(2) x3al(i) = xal(3) x4al(i) = xal(4) end for i = 1:nit t = (i-1)*dt sigma = expm((A-B*Klq)*t) xlq = sigma*x0 x1lq(i) = xlq(1) x2lq(i) = xlq(2) x3lq(i) = xlq(3) x4lq(i) = xlq(4) end t = 0:dt:(nit-1)*dt disp('Os polos do controlador por alocação de polos são:') disp(spec(A-B*Kal)) disp('Os polos do controlador por método LQR são:') disp(spec(A-B*Klq)) scf(0) plot2d(t,x1al) plot2d(t,x1lq, style = 5) legend('Alocação de Polos', 'LQR',[4]) xtitle('Gráfico velocidade v (m/s)') xlabel('Tempo (s)') ylabel('Velocidade v (rad/s)') xgrid() scf(1) plot2d(t,x2al) plot2d(t,x2lq, style = 5) legend('Alocação de Polos', 'LQR',[4]) xtitle('Gráfico velocidade angular p (rad/s)') xlabel('Tempo (s)') ylabel('Velocidade angular p (rad/s)') xgrid() scf(2) plot2d(t,x3al) plot2d(t,x4lq, style = 5) legend('Alocação de Polos', 'LQR',[4]) xtitle('Gráfico velocidade angular r (rad/s)') xlabel('Tempo (s)') ylabel('Velocidade angular r (rad/s)') xgrid() scf(3) plot2d(t,x4al) plot2d(t,x4lq, style = 5) legend('Alocação de Polos', 'LQR',[4]) xtitle('Gráfico ângulo phi (rad)') xlabel('Tempo (s)') ylabel('Ângulo phi (rad)') xgrid() endfunction //Exemplo de aplicação x0 = [1;0;0;0] plotter_controlador(x0,A,B,Kcal,Kclq)
707debad24b5193fcbfc8eca699bb813ef13c391
449d555969bfd7befe906877abab098c6e63a0e8
/1271/CH12/EX12.24/example12_24.sce
d396e9c0a17ec5fc3ea378262b330be093a84e9f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
example12_24.sce
clc // Given that E = 200 // energy released per fission in Mev m = 1 // mass of U(235) in kg // Sample Problem 24 on page no. 12.40 printf("\n # PROBLEM 24 # \n") printf("Standard formula used \n") printf(" E_total = E*N_0/n \n") E_ = E * 1.6e-13 k = E_ * 6.023e26 * m / 235 printf("\n Energy released by fission of 1 kg of U(235)is %e J.",k)
4e9e0236485cd7db4fd12d44ffb6a55149b8b3ec
449d555969bfd7befe906877abab098c6e63a0e8
/278/CH29/EX29.1/ex_29_1.sce
49dcb9fbd8e6adc8869b74faca351c3a51bedb36
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
850
sce
ex_29_1.sce
//find clc //solution //given P=15000//W q=(%pi/180)*20 a=(%pi/180)*45 Np=10000//rpm Dp=0.08//m Dg=0.32//m fop=100 fog=100 fes=618 //let m is module T=P*60/(2*%pi*Np)//N-m Wt=T/(Dp/2)//N //Tp=Dp/m //Te=Tp/(cos(a))^3=226.4/m //ypb=0.175-(0.841/Te)=0.175-0.0037m v=%pi*Dp*Np/60//m/s Cv=0.75/(0.75+sqrt(v)) //b=12.5m...assume //Wt=fop*Cv*b*%pi*m*ypb=72m^2-1.5m^3 //using hit and trial m=2.3..say 2.5 m=2.5 b=12.5*m printf("module and face width is,%f mm\n,%f mm\n",m,b) vr=Dg/Dp Q=2*vr/(vr+1) //x=tan(qn) x=tan(q)*tan(a) qn=(%pi/180)*14.4 Ep=200*1000 Eg=200*1000 K=(fes)^2*sin(qn)*(1/1.4)*(1/Ep +1/Eg)//N/mm^2 Ww=Dp*b*Q*K*1000/(cos(a))^2//N printf("load stress factor is,%f N/mm^2\n",K) printf("wear load acting is,%f N\n",Ww) printf("since wear load acting is more then tangentia tooth load ,hence design is safe")
e783dd5b64074b7e970179b98f00af362839995b
449d555969bfd7befe906877abab098c6e63a0e8
/3830/CH1/EX1.21/Ex1_21.sce
3db36aa5375238ec8507b4a185a3167deb245499
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
519
sce
Ex1_21.sce
// Exa 1.21 clc; clear; // Given // A Volt box design Vs = 100; // Input voltage (V) V2 = 5; // Output voltage (V) Rs = 10*10^6; // Desired sum of resistance(R1+R2) Ohms // Solution // By voltage divider formula, we get // R2/(R1+R2) = V2/Vs ; // i.e, By simplifying R2 = Rs*V2/Vs; R1 = Rs - R2; printf(' The desired values of R1 and R2 to satisfy Volt box requirements are %.1f M ohms and %.2f M ohms respectively \n ',R1/10^6,R2/10^6); //The answer provided in the textbook is wrong
ed59810aab959769364857d9935e45ed7218a1a0
449d555969bfd7befe906877abab098c6e63a0e8
/758/CH6/EX6.15/Ex_6_15.sce
7ddff5c60d1204148d32d435453a025ba07c31aa
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
105
sce
Ex_6_15.sce
//Example 6.15 clc;clear; x=[1 2 3 4 4 3 2 1]; X=clean(fft(x)); disp(x,'x(n)='); disp(X,'X(k)=');
8ae0e0fce0c57d4ce5f394d80e7562aecc7e5ae6
449d555969bfd7befe906877abab098c6e63a0e8
/2498/CH1/EX1.12/ex1_12.sce
15a37142e8de82a4ddd60add597f64c77f9c2f64
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
451
sce
ex1_12.sce
// Exa 1.12 clc; clear; close; format('v',5) // Given data d = 5.0*10^22;// in atoms/cm^3 impurity = 10^8;// in atoms N_D = d/impurity; n_i = 1.45*10^10; n = N_D; //Low of mass action, n*p = (n_i^2); p = (n_i^2)/n;// in /cm^3 q = 1.6*10^-19;// in C miu_n = 1300;// in cm/V-s n_i = n; //The Conductivity sigma = q*miu_n*n_i;// in (ohm-cm)^-1 // The resistivity rho = 1/sigma;// in ohm-cm disp(rho,"The resistivity in ohm-cm is");
5eec65eda5d8816318151d4485a3300cea2942a6
306b7fec7a244a400a244b8151145d085b89d91a
/heat.sci
a581908a2a9e11ab56dcf786cddffb4bdd4a3ab8
[]
no_license
antoine-levitt/benchmark_heat
a62ba62134354ec3aa0d49ae4394815adb83a4de
c46c8f8eedab68f62856f6167b719c3394d46f73
refs/heads/master
2021-08-22T20:52:14.728488
2017-12-01T08:13:21
2017-12-01T08:13:21
112,711,603
0
0
null
null
null
null
UTF-8
Scilab
false
false
416
sci
heat.sci
Nx = 1000; Nt = 1000000; x = linspace(0,1,Nx); u = zeros(Nx,1); u(:) = 42; u_next = zeros(Nx,1); D = 1; v = 1; dt = 1e-8; dx = 1e-1; tic for it=1:Nt //u_next(2:Nx-1) = u(2:Nx-1) + D*dt/(dx*dx)*(u(3:Nx)-2*u(2:Nx-1)+u(1:Nx-2)) - v*dt/dx*(u(3:Nx) - u(2:Nx-1)); for ix=2:Nx-1 u_next(ix) = u(ix) + D*dt/(dx*dx)*(u(ix+1)-2*u(ix)+u(ix-1)) - v*dt/dx*(u(ix+1) - u(ix)); end u(:) = u_next(:); end toc
83653e7b38ce25f90b9745d64c031a24253ac107
449d555969bfd7befe906877abab098c6e63a0e8
/147/CH13/EX13.5/Example13_5.sce
5bce8e6132d2bffc208525a715a9ab6b6fbe710a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Example13_5.sce
close(); clear; clc; //operating voltage 'V', operatinf frequency 'f' of transformer, core flux 'phi' phi = 4.13 * 10^(-3); //Wb f = 60; //Hz E1 = 110; //V //number of turns on primary N1 = E1/(4.44*phi*f); mprintf("Required number of turns on primary, N1 = %d",round(N1));
e90ece53421b1760be7006f334d644e5e8936eb0
449d555969bfd7befe906877abab098c6e63a0e8
/2837/CH16/EX16.2/Ex16_2.sce
cdad52411dd1e537f748080af780a409c97946e1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
405
sce
Ex16_2.sce
clc clear //Initalization of variables t1=80+460 //R p1=14 //psia n=1.4 cr=16 heat=800 //Btu cp=0.24 c=0.1715 //calculations t2=t1*cr^(n-1) p2=p1*(cr)^n t3=t2 +heat/cp v32=t3/t2 v43=cr/v32 t4=t3/v43^(n-1) Qr=c*(t4-t1) etat=(heat-Qr)/heat *100 //results printf("Max. Temperature = %d R",t3) printf("\n Max. Pressure = %d psia",p2) printf("\n Thermal efficiency = %.1f percent",etat)
2d17d4c648c309386e35e6637a9dc71b846b5d18
449d555969bfd7befe906877abab098c6e63a0e8
/1673/CH8/EX8.16/8_16.sce
b90e08e093c30f18c664194bd4f445ae6bb7ba23
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
579
sce
8_16.sce
//boundary value problem using finite difference method //example 8.16 //page 329 clc;clear;close; deff('y=f(x)','y=sinh(x)') y0=0//y(0)=0; y4=3.62686//y(2)=3.62686 h1=0.5; Y=f(0.5) //arranging and calculating the values A=[-9 4 0;4 -9 4;0 4 -9]; C=[0;0;-14.50744]; X=A^-1*C printf('computed value with h=%f of y(0.5) is %f\n',h1,X(1,1)) printf('error in the result with actual value %f\n',abs(Y-X(1,1)) ) h2=1.0; y0=0//y(0)=0; y2=3.62686//y(2)=3.62686 y1=(y0+y2)/3; Y=(4*X(2,1)-y1)/3; printf('with better approximation error is reduced to %f',abs(Y-f(1.0)));
9e3a953ebfa0732670885033213f632f68b5f8bc
449d555969bfd7befe906877abab098c6e63a0e8
/2774/CH2/EX2.1/Ex2_1.sce
d576eee83607552015a9a38f220f5b72d067948d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,133
sce
Ex2_1.sce
clc //solution // initialization of variables m=10; // mass of saturated water in kg // All the necessary values are taken from table C.2 // part (a) P=0.001; // Pressure in MPa vf=0.001; // specific volume of saturated liquid at 0.001 Mpa in Kg/m^3 vg=129.2;// specific volume of saturated vapour at 0.001 Mpa in Kg/m^3 deltaV=m*(vg-vf)//properties of pure substance printf("The Volume change at pressure "+string(P)+" MPa is %.0f m^3 \n",deltaV) // part (b) P=0.26; // Pressure in MPa vf=0.0011; // specific volume of saturated liquid at 0.26 MPa( it is same from at 0.2 and 0.3 MPa upto 4 decimals) vg=(P-0.2)*(0.6058-0.8857)/(0.3-0.2)+0.8857; // specific volume of saturated vapour by interpolation of Values at 0.2 MPa and 0.3 MPa deltaV=m*(vg-vf) printf(" The Volume change at pressure "+string(P)+" MPa is %.2f m^3 \n",deltaV) // part (c) P=10; // Pressure in MPa vf=0.00145; // specific volume of saturated liquid at 10 MPa vg=0.01803; //specific volume of saturated vapour at 10 MPa deltaV=m*(vg-vf) printf(" The Volume change at pressure "+string(P)+" MPa is %.4f m^3",deltaV)
9f23f5efe8617164878c556000fdeb1accc51e3d
449d555969bfd7befe906877abab098c6e63a0e8
/3872/CH8/EX8.2/EX8_2.sce
8b3d83108ef9486ef327a7ba320ea8c17ecd146a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,114
sce
EX8_2.sce
//Book - Power System: Analysis & Design 5th Edition //Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye //Chapter - 8 ; Example 8.2 //Scilab Version - 6.0.0 ; OS - Windows clc; clear; Ip = [10; 10*(cos(120*%pi/180)+%i*sin(120*%pi/180)); 10*(cos(-120*%pi/180)+%i*sin(-120*%pi/180))]; //given column vector of phase current in A function [Ip1]=phaseshift(x1,x2) //Function for shifting the phase [r theta]=polar(x1); Ip1=r*(cos(theta+x2*%pi/180)+%i*sin(theta+x2*%pi/180)); endfunction I0 = 1*(Ip(1,1)+Ip(2,1)+Ip(3,1))/3; //zero sequence current in A I1 = 1*(Ip(1,1)+phaseshift(Ip(2,1),120)+phaseshift(Ip(3,1),240))/3; //positive sequence current in A I2 = (Ip(1,1)+phaseshift(Ip(2,1),240)+phaseshift(Ip(3,1),120))/3; //negative sequence current in A printf('\nThe zero sequence current V0 = %f A',I0); printf('\nThe positive sequence current V1 = %f A',I1); printf('\nThe negative sequence current V2 = %f A',I2);
8fe0a5f2df7bb5296c7447f0e45023631a69096e
c49a028f382c3baddcd641c1972dd72bb60eaadc
/graphs.sce
247e8fab8b639286a37f32b363085472797b5650
[]
no_license
BhautikDonga/SCILAB
484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a
b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c
refs/heads/master
2020-04-07T15:48:23.036273
2018-12-05T01:27:34
2018-12-05T01:27:34
158,501,669
1
0
null
null
null
null
UTF-8
Scilab
false
false
489
sce
graphs.sce
function[n,Xn]=graphs(str,n_index,p_index,de_adv) //n_index=n_index-de_adv //p_index=p_index-de_adv n= n_index:p_index; m=n_index; m=abs(m)+de_adv; h=p_index - de_adv; select str case "unit_impulse" then Xn= [zeros(1,m) 1 zeros(1,h)]; case "unit_step" then Xn= [zeros(1,m) ones(1,h+1)]; case "unit_ramp" then Xn= [zeros(1,m) 0:h]; end endfunction
bec297888f1665f35861016dbdef5eee10e5a537
449d555969bfd7befe906877abab098c6e63a0e8
/2870/CH7/EX7.18/Ex7_18.sce
824b0f13146d144d3a44c3c0598e071e78458981
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
273
sce
Ex7_18.sce
clc;clear; //Example 7.18 //given data P1=7; T1=450; P2=3; //from steam tables //at P1 and T1 h1=3288.3; s1=6.6353; //at P2 h2=h1; s2=7.0046; //calculations // Sin - Sout + Sgen = dSsystem/dt Sgen=s2-s1; disp(Sgen,'the entropy generated in kJ/kg-K')
71f391184a948101a6300b1e68ca1bbc6f2c30be
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/tests/examples/yulewalk.man.tst
f290a41321b7dc49d8e871538a95a1a9fbaa7c56
[ "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
332
tst
yulewalk.man.tst
clear;lines(0); f=[0,0.4,0.4,0.6,0.6,1];H=[0,0,1,1,0,0];Hz=yulewalk(8,f,H); fs=1000;fhz = f*fs/2; xbasc(0);xset('window',0);plot2d(fhz',H'); xtitle('Desired Frequency Response (Magnitude)') [frq,repf]=repfreq(Hz,0:0.001:0.5); xbasc(1);xset('window',1);plot2d(fs*frq',abs(repf')); xtitle('Obtained Frequency Response (Magnitude)')
3a07354df2af93e1a0fb648e5b3e6f86e3f63c75
127061b879bebda7ce03f6910c80d0702ad1a713
/IOs/PIL_scatter_plot_v6.sci
feeebdf8881056c8f1161d986572a936a80029e4
[]
no_license
pipidog/PiLib-Scilab
961df791bb59b9a16b3a32288f54316c6954f128
125ffa71b0752bfdcef922a0b898263e726db533
refs/heads/master
2021-01-18T20:30:43.364412
2017-08-17T00:58:50
2017-08-17T00:58:50
100,546,695
0
1
null
null
null
null
UTF-8
Scilab
false
false
1,934
sci
PIL_scatter_plot_v6.sci
// **** Purpose **** // plot (x,y) with z-value labeled by color // **** Variables **** // [x]: nx1, real // x-value // [y]: nx1, real // y-value // [c]: nx1, real // weighting value of each (xi,yi) // [s]: 1x1, int // size of the scatter // [cmap]: nx3, real // colormap, e.g. oceancolormap(64) // <= description of the variable // [cmax]: 1x1, real // <= if you want the color to use the same min and max to plot, set cmax // then color will be divided // **** Version **** // Apr 17, 2016 first built // 06/03/2016 add cmax parameter // 08/18/2016 Use "scatter" to adapte to Scilab 6 // **** Comment **** function PIL_scatter_plot_v6(x,y,c,s,cmap,cmin,cmax) [lhs,rhs]=argn(); select rhs case 3 s=3 cmap=jetcolormap(64); cmin=[]; cmax=[]; case 4 cmap=jetcolormap(64); cmin=[]; cmax=[]; case 5 cmin=[]; cmax=[]; end if cmin==[] then cmin=min(c); end if cmax==[] then cmax=max(c); end // check variables if cmin > min(c) then disp('Error: PIL_scatter_plot, cmin < min(c)'); abort end if cmax < min(c) then disp('Error: PIL_scatter_plot, cmax < max(c)'); abort end //generate color code tot_color=length(cmap(:,1)); c_div=linspace(cmin,cmax,tot_color+1); c_code=zeros(length(x),1); for n=1:tot_color ind=find(c >= c_div(n) & c < c_div(n+1)); if ind~=[] then c_code(ind,:)=n; end end xset("colormap",cmap); scatter(x,y,s,c_code,"fill"); a=gca(); a.tight_limits='on' a.font_size=4 a.thickness=3 colorbar(cmin,cmax); a=gcf(); a.children(1).font_size=4 a.children(1).thickness=1 endfunction //xdel(winsid()); //n=500; //x=linspace(-%pi,%pi,n)'; //y=sin(x); //c=linspace(-1,+1,n)'; //s=3; //cmap=jetcolormap(128); //PIL_scatter_plot(x,y,c,s,cmap)
e58c55633b0ad23377c48770547051cf9e3f0b98
e806e966b06a53388fb300d89534354b222c2cad
/macros/detectSURFFeatures.sci
1ee73951efc637e246dae27f3b5d0210d579ad19
[]
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
2,894
sci
detectSURFFeatures.sci
function [varargout] = detectSURFFeatures(image, varargin) // This function is used to detect SURF(Speeded Up Robust Features) Features in a grayscale Image. // // Calling Sequence // result = detectSURFFeatures(Image); // result = detectSURFFeatures(Image, Name, Value, ...) // // Parameters // result: SURFPoints struct which contains Location of KeyPoints, Orientation, Metric, SignOfLaplacian, Scale and Count of the features. // Image : Input image, specified as a A-by-N 2D grayscale. // MetricThreshold : (Optional) With default value equal to 1000, it is to be specified as a scalar. Every interest point detected has a strength associated with it. In case, only the stronget ones are needed, this parameter has to be given a larger value. To get more no of interest points/blobs, it is to be reduced. // NumOctaves : (Optional)With default value equal to 3, it is to be specified as a scalar. Larger the number of octaves, larger is the size of blobs detected. This is because higher octave use large sized filters. Value must be an integer scalar in between 1 and 4. // NumScaleLevels : (Optional)With default value equal to 4, it is to be specified as a scalar. It denotes the number of scale level for each octave. The Value must be an integer scalar greater than or equal to 3. // ROI : (Optional) Region Of Interest. This is taken as a vector [u v width height]. When specified, the function detects the key points within region of area width*height with u and v being the top left corner coordinates. // Description // This function return the SURF(Speeded Up Robust Features) Interest Points for a 2D Grayscale image. It is scale- and rotation- invariant point detector and descriptor and its application include Camera Calibration, 3D Reconstruction, Object Recognition to name a few. // // Examples // image = imread('sample.jpg'); // results = detectSURFFeatures(image); // // Authors // Shashank Shekhar image_list = mattolist(image); [ lhs, rhs ] = argn(0) if rhs > 9 then error(msprintf("Too many input arguments")) end if lhs > 1 then error(msprintf("Not enough input arguments")) end select rhs case 1 then [a b c d e f] = ocv_detectSURFFeatures(image_list) case 3 then [a b c d e f] = ocv_detectSURFFeatures(image_list, varargin(1), varargin(2)) case 5 then [a b c d e f] = ocv_detectSURFFeatures(image_list, varargin(1), varargin(2), varargin(3), varargin(4)) case 7 then [a b c d e f] = ocv_detectSURFFeatures(image_list, varargin(1), varargin(2), varargin(3), varargin(4), varargin(5), varargin(6)) case 9 then [a b c d e f] = ocv_detectSURFFeatures(image_list, varargin(1), varargin(2), varargin(3), varargin(4), varargin(5), varargin(6), varargin(7), varargin(8)) end varargout(1) = struct('KeyPoints', a, 'Orientation', b, 'Metric', c ,'SignOfLaplacian', d,'Scale', e, 'Count', f ); endfunction
72f041982e3d1967a3a5655e3bf232134f0854e6
449d555969bfd7befe906877abab098c6e63a0e8
/296/CH3/EX3.4/eg3_4.sce
1a85a4c4533416b8eaf71b6a72e28477ed58ec07
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
298
sce
eg3_4.sce
m = 9.11*10^-31; //mass of electron ml = 0.98*m; ms = 0.19*m; mn = 6^(2/3)*(ml*ms*ms)^(1/3); //density of states effective mass calculation mn0 = mn/m; disp(mn,"density of states effective mass (in kilogram)=") disp(mn0,"density of states effective mass in proportion to mass of electron= ")
3529b7c751c4dd83f035d0512036acc537b6b259
1bb72df9a084fe4f8c0ec39f778282eb52750801
/test/TF44.prev.tst
b29a543fb6ad9249c4fdc5369cde7447063e06fc
[ "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
2,895
tst
TF44.prev.tst
Expanding for base=2, level=3, reasons+features=base,same,similiar,evenexp invall,norm Refined variables=x,y,z [0+1x,0+1y,0+1z]: unknown -> [1] [0,0,0] x⁴-y⁴-2z² -> solution [0,0,0],trivial(3) [1,1,0],trivial(3) ---------------- level 0 expanding queue[0]^-1,meter=[2,2,2]: x⁴-y⁴-2z² [0+2x,0+2y,0+2z]: unknown -> [1] [0,0,0] 2x⁴-2y⁴-z² -> solution [0,0,0],trivial(3) [2,2,0],trivial(3) [1+2x,1+2y,0+2z]: unknown -> [2] [1,1,0] x+3x²+4x³+2x⁴-y-3y²-4y³-2y⁴-z² -> solution [1,1,0],trivial(3) [3,3,0],trivial(3) endexp[0] ---------------- level 1 expanding queue[1]^0,meter=[2,2,2]: 2x⁴-2y⁴-z² [0+4x,0+4y,0+4z]: unknown -> [3] [0,0,0] 8x⁴-8y⁴-z² -> solution [0,0,0],trivial(3) [4,4,0],trivial(3) [2+4x,2+4y,0+4z]: unknown -> [4] [1,1,0] 4x+12x²+16x³+8x⁴-4y-12y²-16y³-8y⁴-z² -> solution [2,2,0],trivial(3) [6,6,0],trivial(3) endexp[1] expanding queue[2]^0,meter=[2,2,2]: x+3x²+4x³+2x⁴-y-3y²-4y³-2y⁴-z² [1+4x,1+4y,0+4z]: unknown -> [5] [0,0,0] x+6x²+16x³+16x⁴-y-6y²-16y³-16y⁴-2z² -> solution [1,1,0],trivial(3) [5,5,0],trivial(3) [3+4x,1+4y,0+4z]: negative-1 [5] by {x=>-x-1} [1+4x,3+4y,0+4z]: negative-1 [5] by {y=>-y-1} [3+4x,3+4y,0+4z]: negative-1 [5] by {x=>-x-1,y=>-y-1} -> solution [3,3,0],trivial(3) [7,7,0],trivial(3) endexp[2] ---------------- level 2 expanding queue[3]^1,meter=[2,2,2]: 8x⁴-8y⁴-z² [0+8x,0+8y,0+8z]: same 32x⁴-32y⁴-z² map {x=>x/2,y=>y/2} -> [1] 2x⁴-2y⁴-z² -> solution [0,0,0],trivial(3) [8,8,0],trivial(3) [4+8x,0+8y,0+8z]: unknown -> [6] [1,0,0] 16x+48x²+64x³+32x⁴-32y⁴-z²+2 [0+8x,4+8y,0+8z]: unknown -> [7] [0,1,0] 32x⁴-16y-48y²-64y³-32y⁴-z²-2 [4+8x,4+8y,0+8z]: unknown -> [8] [1,1,0] 16x+48x²+64x³+32x⁴-16y-48y²-64y³-32y⁴-z² -> solution [4,4,0],trivial(3) [12,12,0],trivial(3) endexp[3] expanding queue[4]^1,meter=[2,2,2]: 4x+12x²+16x³+8x⁴-4y-12y²-16y³-8y⁴-z² [2+8x,2+8y,0+8z]: unknown -> [9] [0,0,0] 2x+12x²+32x³+32x⁴-2y-12y²-32y³-32y⁴-z² -> solution [2,2,0],trivial(3) [10,10,0],trivial(3) [6+8x,2+8y,0+8z]: negative-1 [9] by {x=>-x-1} [2+8x,6+8y,0+8z]: negative-1 [9] by {y=>-y-1} [6+8x,6+8y,0+8z]: negative-1 [9] by {x=>-x-1,y=>-y-1} -> solution [6,6,0],trivial(3) [14,14,0],trivial(3) endexp[4] expanding queue[5]^2,meter=[2,2,2]: x+6x²+16x³+16x⁴-y-6y²-16y³-16y⁴-2z² [1+8x,1+8y,0+8z]: unknown -> [10] [0,0,0] x+12x²+64x³+128x⁴-y-12y²-64y³-128y⁴-4z² -> solution [1,1,0],trivial(3) [9,9,0],trivial(3) [5+8x,5+8y,0+8z]: unknown -> [11] [1,1,0] 125x+300x²+320x³+128x⁴-125y-300y²-320y³-128y⁴-4z² -> solution [5,5,0],trivial(3) [13,13,0],trivial(3) [1+8x,1+8y,4+8z]: unknown -> [12] [0,0,1] x+12x²+64x³+128x⁴-y-12y²-64y³-128y⁴-4z-4z²-1 [5+8x,5+8y,4+8z]: unknown -> [13] [1,1,1] 125x+300x²+320x³+128x⁴-125y-300y²-320y³-128y⁴-4z-4z²-1 endexp[5] ---------------- level 3 Maximum level 3 [14] mod 2: x⁴-y⁴-2z²