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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9ce3cff624be8ba9708cbbaf2ce59d89367a366b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH8/EX8.14/Ex8_14.sce | fe51fd767ac0eac45caf2b602de4c02ad87f4378 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Ex8_14.sce | clc
//to calculate wavelength and energy
//formula is lambda'-lambda=h*(1-cos phi)/(m0*c),where phi=90 degree, lambda'=2lambda ---------------eq(1)
//dellambda=2lambda-lambda=lambda ----------------------------eq(2)
h=6.62*10^-34 //planck's constant
c=3*10^8 //light speed in m.s
m0=9*10^-31 //mass of electron in ... |
a5d8f9af753eee5d17b1a3825e9fea8480f6b427 | cee0a584987e8f6eae19ed5deb199e1394820f95 | /Pendulo.sce | 211d69e3ba200e23a9c2bf848ba1d4036a88885d | [] | no_license | izlervaldivia/Penduloinvertido | 55e11b16d0565e4c6e85ad5ce79814467afc4191 | 71745eeadf03ee63992a80eebf231d8b931c7035 | refs/heads/master | 2022-12-01T16:32:50.105285 | 2020-08-16T07:12:00 | 2020-08-16T07:12:00 | 287,870,940 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,345 | sce | Pendulo.sce | clear
clc
// load the data
A=[0 1 0 0;0 -0.0014 0.1271 0;0 0 0 1;0 -0.0025 19.1713 0];
B=[0;1.777;0;3.4296];
C=[1 0 0 0;0 0 1 0 ];
D=[0;0];
//trick to tackle when "D12 is not full rank"
//inputs u and e; outputs dy1 and dy2
sys = syslin("c",A, B, C);
Ap=sys.A;
Bp=sys.B;
Cp=sys.C;
Dp=sys.D;
////Evluam... |
d0ea4025a60388808fcad0f32c9fc0fe142473d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.4/4Ex4.sce | 29a729de833003de82530a194cba2f331d69f039 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | 4Ex4.sce | //Chapter 4 Ex 4
clc;
clear;
close;
// from given statement we the equation as (4/21)x-(8/45)x=8
for x=1:700
if ((4/21)*x-(8/45)*x)==8
break;
end
end
half=x/2;
mprintf("The required number is %d",half);
|
2a1ad4f11d17b222a58269354159b37338d0aa1a | 717ddeb7e700373742c617a95e25a2376565112c | /3165/CH6/EX6.3/Ex6_3.sce | 4e19a5c53c2535108c4abd69eeaf623159ead8b3 | [] | 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 | 372 | sce | Ex6_3.sce | //Example 6. 3
//Program to c a l c u l a t e s h o r t e s t s e quenc e N such tha t a l g o r i t hm B runs // f a s t e r than A
clc ;
i =0;
N =32; //Given
// Ca l c u l a t i o n o f Twiddle f a c t o r exponent s f o r each s t a g e
while 1==1
i=i+1;
N =2^ i;
A=N^2;
B =5* N* log2 (N);
if A>B then brea... |
6b6876c30682ee51686664d78442353a358e45ee | d9612cedad2cc7e72324ef98b63e914d2b9580b3 | /a4.sce | 42c6aa739e36e7114879c744e0e010531b6b1bd5 | [] | no_license | DSheth97/Artificial-Intelligence | 1a71c2d43e1f8565cd4a2c902eb6c4be47323df2 | 3ee8c9943db653ae7cd21f6a5cdf16d6c6515bff | refs/heads/master | 2020-06-02T20:22:48.705866 | 2019-07-15T14:32:31 | 2019-07-15T14:32:31 | 191,298,532 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | a4.sce | x=[-100:100];
y=1./(1+exp(-x)); // Evaluating function
disp(string(x)+" "+string(y));
plot(x,y); // Plotting x vs y
|
81a64c50f21f1dd3c267eaccf0b5c35daa0edffd | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH1/EX1.2/example1_2.sce | 475fbd17f11c5dbfbd903d7d7c9254c70e48436d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | example1_2.sce | s=0.0005;
ms=s*10^3;
disp("the value (in ms) is"); disp(ms);
mus=s*10^6;
disp("the value (in μs) is"); disp(mus); |
64899191e1f75bd76aadedcbe61865230b22a187 | cb3687aa6dd5d373fa5d03e620fad57423056b60 | /chap8/word_count.tst | 610db7828a7c2c15e7fa297095e8437665ae1228 | [] | no_license | MiyamonY/quick-python | c95920cb04ea4353c519b3bd03091482be3b5483 | fcacc59043fb2705cfdf7a655f9f9bcff94fc3c7 | refs/heads/master | 2020-05-19T16:26:10.470711 | 2014-08-26T09:30:02 | 2014-08-26T09:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | tst | word_count.tst | Python provids a complete set of control flow elements, including while and for
loops, and conditionals Python uses the level of indentation to group blocks of
code with control elements. |
e5f35a35ecf6c170c7abf3b8b44c4867db5acacf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.29/M_Ex_3_29.sce | 2d885623ded8e3ce601cb682a40be0e94362685d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | M_Ex_3_29.sce | clc
//Chapter3: Modulation
//Example3.29, page no 177
//Given
Pc=100e3//Carrier power
ma=0.5//Depth of modulation
Pt=Pc*(1+((ma^2)/2))//total RF power
mprintf('Total RF power delivered is:Pt= %f kW',Pt/1e3)
|
217d4b2c79110373396d35e1611163dd9416c46c | 959754762371798e1ca245165508ab6036581cff | /cs3214-cush/src/custom_tests.tst | 3daa00f70d6b0db3504bb83e6ae4d89c884b4bab | [] | no_license | ahmadmlk16/LinuxShell | cd211b0dac9a1e3d052e18ecd2b382c85fd1d193 | 4f6bb790baefa1298142214880f5db71ed4817b7 | refs/heads/main | 2023-04-24T23:44:03.180450 | 2021-05-20T16:17:08 | 2021-05-20T16:17:08 | 368,670,644 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | tst | custom_tests.tst | = Tests for Custom Features
1 cd_test.py
2 history_test.py |
5fe6ec6fbaefddbb6343470a9f58c9b417073a8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH3/EX3.17/Example3_17.sce | 2a70104c993f5b733935855d1d162463d1e3c3fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Example3_17.sce | clc
//Given that
lambda1 = 4700 // wavelength in Angstrom
lambda2 = 1.4e-5//wavelength in cm
temp1 = 6174 // temperature of a black of in kelvin
//Sample Problem 17 page No. 143
printf("\n\n\n # Problem 17 # \n")
printf("\n Standard formula Used \n lambda * T = constant")
temp2 = lambda1 * temp1 / (lambda2 * 1... |
3aaa220d7371d6bc9cc7209ec56f7d5ea96610b6 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnKo/enko.0.tst | 7fa5efc2479d8a7100991aff4d734e1c3de377b0 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,532 | tst | enko.0.tst | a b b e 아 베
a b e l l 아 벨
a b i d j a n 아 비 장
a b u j a 아 부 자
a c c r a 아 크 라
a d o n i s 아 도 니 스
a d r i a n 에 이 드 리 언
a d r i e n n e 에 이 드 리 엔
a f a n a s i e v 아 파 나 시 예 프
a g o s t i n o 아 고 스 티 노
a g r i p p a 아 그 리 파
a l a m e d a 알 러 미 다
a l b a n o 알 바 노
a l b a n o 알 바 노 호
a l e k s a n d r 알 렉 산 드 르
a l e n ... |
b68dd8b4655c1ae4cbad570a95186b7fcd01377f | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH7/EX7.31/ex_7_31.sce | f05ff43a2cbbbea303ebc70515cc7a84cec23662 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_7_31.sce | clc;
A=[0 1;-1/3 4/3];
B=[0;1/3];
C=[-1/3 4/3];
D=[1/3];
Hz=ss2tf(syslin('d',A,B,C,D));
disp(Hz,"H(z)=");
z = %z;
syms n z1;
X =z ^2 /(1-4*z+3*z^2)
X1 = denom (X);
zp = roots (X1);
X1 = z1 ^2 /((z1-1)*(z1-1/3))
F1 = X1 *( z1 ^(n -1) )*(z1 -1/3 );
F2 = X1 *( z1 ^(n -1) )*(z1 -1 );
h1 = limit (F1 ,z1 ,zp ... |
0b069b5f98f4d68b4f412770185c198b332c014c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH6/EX6.5.2/Example6_5_2.sce | d823f4046d859c0b7964f285adc542d17be4d49c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | Example6_5_2.sce | //Example 6.5.2 page 6.12
clc;
clear;
Ps_out= 30; //in uW...
Ps_in=1;
Noise_power = 0.5;
G= Ps_out/Ps_in;
G= 10*log10(G);
printf("\nThe Gain EDFA is %.2f dB",G);
|
975ce229d5feee9b1077ce0c71d7cdc9142c7e4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH4/EX4.3/ex4_3.sce | 445135ca83204fed01c974dee99879bbd5b013f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | ex4_3.sce | //Exam:4.3
clc;
clear;
close;
F_1=3.02*10^(-9);//force of attraction b/w ions of Na+ and Cl-
Z_1=+1;
Z_2=-1;
e=1.6*10^(-19);
E_o=8.854*10^-12;
pi=22/7;
r_Na=0.95;//ionic radius of Na+ ion
r=(-Z_1*Z_2*e^2/(4*pi*E_o*F_1))^(1/2);//Radius of ion in meter
R=r/10^(-10);//Radius of ion in Angstrom
r_Cl=(R-r_Na);/... |
b214b96c1a62fc29aba89015e85581c5619b2adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH4/EX4.14/Ex_4_14.sce | 4064d43896fab4870ae80cc41253d0e2a511342e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Ex_4_14.sce | // Example 4.14 //birefringence
clc;
clear;
close;
Lbc1=0.7;//beat length micro meter
h=1.3;//wavelength in micro meter
Bf1=((h*10^-6)/(Lbc1*10^-3));// birefringence when beat length = 0.5mm
Lbc2=80;//beat length meter
Bf2=((h*10^-6)/(Lbc2));// birefringence when beat length = 60 meter
disp(Bf1,"birefringence ... |
a37a3234d6e066aad9bec52263c31e35a2f1c61c | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Ajuste Método Gradiente.sce | 7783a4a5cf27dee75bfc1c8239ddef2883b209ee | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,145 | sce | Ajuste Método Gradiente.sce | clc
clear
close
//Dados experimentais:
x = [1:8];
y = [3.9 2.7 1.8 2.5 3.8 6.5 10.0 14.1];
grau = 2; //grau do polinômio
alfa = 0.0001;//parâmetro
v = zeros(1,grau+1); //aproximação inicial dos coeficientes do polinômio
function y=f(x,a)//criação do polinomio f
y = 0
for i=1:length(a)
y = y + a(i)*... |
5de5bfc92315a6ec1f444f0688f3db4699b55f81 | 9a4f02797ab8eecfe1394e2d276ac86379bb9824 | /symphony-master/Examples/example.sce | ee00209c39c0bf160d9dc27fbf6a5399a62f5b6d | [] | no_license | RVidyadhar/Scilab_FOSSEE_Project | b686bfa6127df08ef47bfa430580be7779d9e2c5 | 7656e5089f307d46eacf77be8991d82125643365 | refs/heads/master | 2021-01-20T16:34:39.597133 | 2015-12-23T04:34:27 | 2015-12-23T04:34:27 | 48,269,308 | 0 | 0 | null | 2015-12-19T05:10:17 | 2015-12-19T05:10:17 | null | UTF-8 | Scilab | false | false | 555 | sce | example.sce | //fminunc
function y=fun(x)
y=-((x(1)-1)^2+(x(2)-1)^2);
endfunction
//FAILURE CASES
//Fails sometimes if starting point is a stationary point i.e. f'=0. (works for x1^2+x2^2 and (0,0) but fails for (x1-1)^2+(x2-1)^2 and (1,1))
//Fails when it converges to point of inflecion. So if function has a point of inflection ... |
d1c3159e016d4318cf2e251832b6de56a36502f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH5/EX5.1/5_1.sce | 0eba0a3bcd9e9aecd6be7f11a4168121d451a128 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | 5_1.sce | clc
//Intitalisation of variables
clear
m1= 1.947 //gms
V= 10 //lit
T= 22 //C
p= 752 //mm of Hg
T1= 28 //C
W= 46 //gms
R= 0.082 //lit-atm mole^-1 K^-1
//CALCULATIONS
P= (m1*p/W)/((m1/W)+((p/760)*V/(R*(273+T))))
P1= (m1*p/W)/(((p/760)*V/(R*(273+T))))
P2= (m1/W)*R*(273+T)*760/V
//RESULTS
printf ('Vapour pr... |
1b9545cfd2190853cafc034328031df5148422e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH14/EX14.5/ex14_5.sce | bce38fcaf162f97360d8a15f9408db691cc1d4dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | ex14_5.sce | clc;
clear all;
k = 1.38e-23; //Boltzmann constant
h = 6.62e-34; // Planck's constant
m = 9.1e-31; // Mass of an electron in Kg
L = 0.1e-9 ; // Length of potential wall in meters
nx = 1; // For the lowest energy level
ny = 1; //
nz = 2; // The higher energy level
E = (h^2*(nx^2+ny^2+nz^2))/(8*m*L^2);//Energy o... |
5da5ba23d669e36e8b13acf5262e4c3e3fe1befd | 2a39d29b2cb27e98632f6810ed3c2a22a56fa8eb | /Materias/LabCalcNum/Rafael/provaCasa.sce | e4c1afb94647cdef44e9673b376c20d6bfa0eb56 | [] | no_license | rafael747/my-stuff | 74358384bc1a5b381d1951dfaef87efdf4cb53c2 | 8614aefdc3ca9afdc1534557f73719af8494f7fa | refs/heads/master | 2021-01-17T12:47:48.206860 | 2020-06-04T15:10:20 | 2020-06-04T15:10:20 | 57,989,835 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | sce | provaCasa.sce | // Problema 1
z=[0,4,8,12,16]
a=[9.8175, 5.1051, 1.9635, 0.3927, 0]
c=[10.2, 8.5, 7.4, 5.2, 4.1]
//numero de ponto = 5
//numero de intervalos = 4 (par)
//podemos usar simpson1/3
cMedia = simpson13tab(z,a.*c) / simpson13tab(z,a)
disp(cMedia,"PROBLEMA 1 - Concentração média: ")
// Problema 2
t=[0,10,20,30,35,40,45... |
462a44c9b38dc6a8ae37c68923241bf73af1d8aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH26/EX26.4/26_4.sce | f4ef8ffa2480e8f9124ebee6f30a8a2fc4e1dba6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | 26_4.sce | //clc()
//clc()
x0 = 0;
x1 = 1;
x2 = 2;
y1 = 6.194631;
y2 = 14.84392;
y10 = 5.607005;
y11 = 6.360865;
y1m = y11 - (y11 - y10)/5;
e = (y1 - y1m)*100/y1;
disp(y1m,"ym")
disp("%",e,"error = ")
y20 =2+(4*exp(0.8*x1) - 0.5*y1m)*2;
e2 = (y2 - y20)*100/y2;
disp(y20,"y20 = ")
disp("%",e2,"error = ")
y2o = y20 ... |
8fd7bfe1d18808b6e845d7199430c77677997ae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.3/ex18_3.sce | 527126e1ebabb63ee22cdc09e54b6b553174e823 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex18_3.sce | // Example 18.3, page no-461
clear
clc
n=2.69
er=4.94
alfi_by_alfe=(((n+2)*(er-1))/((er+2)*(n-1)))-1
printf("The ratio of the electronic to ionic polariability is %.4f",1/alfi_by_alfe)
|
6b4d1bbc0b6a362faf21ce406842e2d4b3bc11c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH14/EX14.14/ex14_14.sce | 7da0267c5def405deb6eeb95ffcf2742d128f59f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | ex14_14.sce | clc;
P=2000; //power in Watt
V=120; //potential diff in volt
I=P/V; //current in Ampere
s=2*10^-3; //distance in m
K=2*10^-7; //constant in N/A square
F=(I*I*K)/s; //calculating force per metre
disp(F,"Force in Newton per metre in opposite direction = "); //displaying result |
7d7fe91591fa4fd085252fbba7ee8c8b96a6ebd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH3/EX3.12/3_12.sce | 28c946161ac1c98d395bc755658c37138108a412 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | 3_12.sce | clear//
//Variables
T1 = 800 //Temperature (in celsius degeree)
T2 = 2250 //Temperature (in celsius degeree)
R20 = 3.49 //Resistance at 20 degree celsius (in ohm)
alpha20 = 4.5 * 10**-3 //Temperature ... |
de358c5ece642e484f827b91796d504cc9666eef | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH3/EX3.9/3_09.sce | 0e8521997474040b863d502a5c00970b5c1f5cce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | 3_09.sce | //Example No. 3_09
//Binary representation
//Pg No. 51
clear ;close ;clc ;
n = -32768
compl_32767 = dec2bin(bitcmp(abs(n)-1,16) + 1)
disp(compl_32767,'binary equivalent of -32767 is ')
n_1 = -1
dcomp = bitcmp(1,16)
compl_1 = dec2bin(dcomp+1)
disp(compl_1,'binary equivalent of -1 is ')
compl_32767_code = ... |
4024c69ab3097f4303d39965837989011f61db80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.14/example15_14.sce | 969c8a13d7d228dcf37084b8acf691219fc98eb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | example15_14.sce | //Example 15.14
//position servomoter
clear;clc;
xdel(winsid());
//Mil= motor inertia referred tothe load side
Mil=20^2*0.45*10^-6 //unit= kg.m^2
//Tr= Transformation ratio of gear train between the loadshaft and the tachogenerator
Tr=20*2
//til= tachogenerator inertia referred to the load side
til=40^2*0.35*10^-... |
20bbf6fb07ac41d2788d71f6b929dba64765d000 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.33/example2_33.sce | aba41f0197cc834d248b0f54d5e8e6b13d1af242 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example2_33.sce | clc
// Given that
N = 2620 // no. of lines in plane transmission grating per inch
lambda = 5e-7 // wavelength of incident radiation in meter
// Sample Problem 33 on page no. 2.51
printf("\n # PROBLEM 33 # \n")
k = 2.54 / N * 1 / 100 // calculation for b+d in meter
n = k / lambda // calculation for order of spectrum
pr... |
1139afd6b2bbc72b8d576e7aabaf773054c2c62d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH13/EX13.10/Ex13_10.sce | 0bc807691f74f1699e53647214597c5ed9bb62bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | sce | Ex13_10.sce | clear all; clc;
disp("Scilab Code Ex 13.10 : ")
//Given:
L = 750; //mm
P = 60; //kN
sigma = 195; //N/mm^2
K = 1;
//Calculations:
b2 = (P*1000)/(2*sigma);
b = sqrt(b2);
A = 2*b*b;
Iy = (1/12)*(2*b*b^3);
ry = sqrt(Iy/A);
sl_ratio = (K*L)/(ry);
if(sl_ratio>12)
b4 = (P*1000*2598.1^2)/(2*3... |
d4ac1745c606dc556258a7293cbf3d5fd7e9d5f9 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/ボード線図.sce | 52ec03fee6edbd370c255573145e83cd8c7df045 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 68 | sce | ボード線図.sce | s=%s;
G=1/(1+2*s);
sys=syslin("c",G);
clf();bode(sys,1e-2,1e1,0.01)
|
4cba72754cb9aad78628898a1573adb64ffda3da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH3/EX3.7/3_7.sce | 31fdca8a34f2f5e75f0ad83fb8cda817b82dea45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | 3_7.sce | //to find velocity and acceleration of ram R
clc
printf("\n")
//GIVEN
OC=8//inches
CP=4//inches
N=60//inches
ON=15//inches
RN=6//inches
X=120//degrees
OP=10.6
OQ=OP
//from fig 65(a)
Vq=1.56//ft/s
Vrn=0.74//ft/s
//from fig 65(b)
ftq=3.74//ft/s^2
ftrn=2.03//ft/s^2
w1=(%pi*N)/30
w=Vq/(OQ/12)
wrn=Vrn/(... |
4ee1cb829ab5423e368f8fea1e253b2a490b992f | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH8/EX8.6/Example8_6.sce | 437bee5c8907475a681d5995a27e59f958b25c83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Example8_6.sce | //clear//
//Caption:Reed-Solomon Codes
//Example8.6: Reed-Solomon Codes
//Single-error-correcting RS code with a 2-bit byte
clc;
m =2; //m-bit symbol
k = 1^2; //number of message bits
t =1; //single bit error correction
n = 2^m-1; //code word length in 2-bit byte
p = n-k; //parity bits length in 2-bit byte
r... |
86c4891a627e9c5157687d53cc07f7f345907b87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.21/example_5_21.sce | 65046d483e65e555cb53f19da29a12e62891df10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_5_21.sce | s=%s;
syms t s;
F=(1- (3*%e^(-2*t)) + (2*%e^(-3*t)) );
y=laplace(F,t,s);
G=1
x=laplace(G,t,s);
disp((y/x),"closed loop transfer function is")
T=y/x;
disp((T/(1-T)) , "openloop transfer function is") |
6ace974daf81dbaa5ed2daafd26737303ff64969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.1/ex1_1.sce | e98c2d6748d25eb5bc655424ee754482cf081388 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | ex1_1.sce | // Exa 1.1
clc;
clear;
close;
format('v',6)
// Given data
miu = 0.2;// in m^2/V-s
V = 100;// in mV
V = V * 10^-3;// in V
d = 0.5;// in mm
d = d * 10^-3;// in m
// mobility, miu = Vd/E and
E = V/d;
// Drift velocity,
Vd = miu*E;// in m/s
disp(Vd,"The electron drift velocity in m/s is");
// Time required,... |
0f480eee1b3c68806571e935b089b6d7ca594650 | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/IPDesignLab.sci | 0d345b7ff9da666b54625ce35bc752688e2d601b | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,165 | sci | IPDesignLab.sci | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[347,147],'figure_size',[640,501],'auto_resize','on','background',[33],'figure_name','图像窗口%d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','visible','off');
///... |
4cc480df12c6616f79e2ad2a5ec32286ceb1288f | ac717936dd571d8c25bf302308d8ad59dc34321f | /src/sciTest/old/sendViaJava.sce | 7fc731266f34dfbaa7e0aed330628334fadc4bac | [] | no_license | MhDelt/diplom | df6e5b2a3941563719d05b9bbc1dac2b6c8b0b28 | d27a26fdc5f12481a1f6f63612f46d7b49bfe845 | refs/heads/master | 2021-01-18T21:57:15.082025 | 2016-06-07T10:10:11 | 2016-06-07T10:10:11 | 54,836,786 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sce | sendViaJava.sce | function [res]=sendViaJava(x, t)
sciBuffer = t;
sciBuffer.write(x);
res=sciBuffer.read();
endfunction
|
7c727149dd7bb4ecddd30b7b8e8c73defee317aa | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/dedup.tst | 1f527d5be4c5fc987b8742d8180a04a42a6abbb5 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 619 | tst | dedup.tst | ## test the dedup function
read <<EOF
blob
mark :1
data 75
This is a toy repo intended as a correctness test for the dedup operation.
blob
mark :2
data 50
This is a file with content in a duplicate blob.
blob
mark :3
data 50
This is a file with content in a duplicate blob.
reset refs/heads/master
commit refs/heads... |
6b5adfe4293a0ac1f2fecd3685a55ab4be5c5758 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH8/EX8.3.e/E8_3.sce | cfd7a38bada414096ff8e9eca8c0dc92cae2da95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | E8_3.sce | clc
//Initialization of variables
pKa2=10.25
//calculations
C=10^(-pKa2)
//results
printf("Concentration of Carbonate ions = %.1e mol/l",C)
|
cf7eae4d8640bc5b41cf4efee1de8c355943ec6f | d422d2bd9c82ca6a247ec578514ee6d3b5fa48b7 | /beam_and_ball/dfvdf.sce | e527e246dc51ce2827ccc869801851c0891bf518 | [] | no_license | kirillin/python_ev3 | bee3d9682f848b188d6c3b967f37dfc5a4aa3080 | 58c34ad11588bdc05e53a8466d6a12fe2c1a6ab2 | refs/heads/master | 2020-08-04T22:52:07.665251 | 2017-01-06T15:17:10 | 2017-01-06T15:17:10 | 67,629,534 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | dfvdf.sce | plot2d(D.time, D.values(:,2));
plot2d(D.time, D.values(:,3));
plot2d(D.time, D.values(:,4));
plot2d(D.time, D.values(:,5));
scf(0);
plot(D.time, D.values(:,1), 1);
plot(D.time, D.values(:,2), 2);
plot(D.time, D.values(:,3), 3);
plot(D.time, D.values(:,4), 4);
plot(D.time, D.values(:,5), 4);
plot(D.time, D.values(:,... |
827e325509a76c1d6c7d9fe628af415a56141dde | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH1/EX1.5.1/1_5_1.sce | 943043ee11cfe43fa56ad6e8e18dacff23198440 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_5_1.sce | disp('the augmented matrix is:')
a=[2 -5 8 0;-2 -7 1 0;4 2 7 0]
disp(a)
disp('R2=R2+2*R1 and R3=R3-2*R1')
a(2,:)=a(2,:)+a(1,:)
a(3,:)=a(3,:)-2*a(1,:)
disp(a)
disp('R3=R3+R2')
a(3,:)=a(3,:)+a(2,:)
disp(a)
disp('only two columns have non zero pivots')
disp('hence, one column is a free column and therefore ther... |
c6e188e4b5e1ae1a1b0b414d9cc63766fd9b662d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH8/EX8.20/Ex8_20.sce | f91c503c36bda25a3975d15fb2cc8fc0f2082c02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | Ex8_20.sce | // chapter 8
// example 8.20
// Compute the value of commutating capacitance and transformer inductances
// page-499
clear;
clc;
// given
Edc=60; // in V (dc source)
I0_m=140; // in A (load current)
t_q=20; // in us
g=4;
// calculate
t_q=t_q*1E-6; // changing unit from us to s
Rm=Edc/I0_m;
// since g=(1/Rm)*sqrt(L1/C) ... |
d10c7cf139d2433efad559c718208b8736d0463a | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A3/centeredCircle.sce | 14f30dd379876812aa8b49f3c434b2cb8581c5ab | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | centeredCircle.sce | nx = 100;
ny = 100;
x = linspace(-1,1,nx);
y = linspace(-1,1,ny);
[X,Y] = ndgrid(x,y);
r = sqrt((X.^2) + (Y.^2));
A = zeros(nx,ny);
A (find(r<0.7) ) = 1;
f = scf();
grayplot(x,y,A);
f.color_map = graycolormap(32);
A = double(A);
fftA = fft2(A);
fftA = uint8(imnorm(fftshift(abs(fftA)))*255);
f=scf();
imshow(fftA);
//... |
1167118fe1b67b75735a92265d903af2528618c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH5/EX5.7.a/48sampleex1.sce | d46605594e6865fdb59cc78bb26eacd8938b1b72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 48sampleex1.sce |
//f(x):x->3x;g(x):x->x-2;fg(5)
clear;
clc;
close;
x=poly(0,'x');
f=3*x;
g=x-2;
// fg= f(g(x))=f(x-2)=3*(x-2)
x=5;
fg=3*(x-2)
|
496623c614e1a8d75a976d86e3b7e67e6295443a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH15/EX15.11/example15_11.sce | 21c86c689fa615c45dedc123d85e623133cdb93b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | example15_11.sce | clc
// Given that
t = 2.5e-14 // life time of hydrogen atom in exited state in sec
h = 6.62e-34 // Planck constant in J-sec
// Sample Problem 11 on page no. 15.28
printf("\n # PROBLEM 11 # \n")
printf("Standard formula used \n")
printf(" del_E*del_t = h/(4*pi) \n")
delta_E = h / (4 * %pi * t)
printf("\n Minimum error ... |
128fca2bf5740c5b45ce55cc633ddb235eff6b13 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH3/EX3.30/Example3_30.sce | 95758b3a3bae3bb94e94ee7e76d8947592519c33 | [] | 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 | 288 | sce | Example3_30.sce | errcatch(-1,"stop");mode(2);//Example 3.30
//Program to Calculate N from given data
//fm=5000Hz
//df=50Hz
//t=0.5sec
;
;
;
fm=5000 //Hz
df=50 //Hz
t=0.5 //sec
N1=2*fm/df;
N=2;
while N<=N1, N=N*2,end
//Displaying the value of N in command window
disp(N,"N=");
exit();
|
4ba793fc96ae89251b4d06f5962205fe053b00d3 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /acmp.ru/144, Без двух нулей подряд/test1.tst | 4e920cbae5f237e9b5100fe39622d7c805f9f4ab | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33 | tst | test1.tst | 4 2
~~~~~~~~~~~~~~~~~~~~~
5
|
b4634d687f6c862f494eb9c1f84312323ba63234 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH4/EX4.3.3/4_3_3.sci | 69fe3da95387fb35a619dc910c32c3fac8b8f282 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sci | 4_3_3.sci | //page 214
clear;
close;
clc;
A=[2 -1 0 0;-1 2 -1 0;0 -1 2 -1;0 0 -1 2];
disp(A,'A=');
[m,n]=size(A)
a=A(1,:);
c=[];
for l=1:4
B=A([1:0,2:4],[1:l-1,l+1:4]);
c1l=(-1)^(1+l)*det(B);
c=[c;c1l];
end
d=a*c;
disp(d) |
0fdf49e095ba2d17f8367f14a62e8ce3c6b745cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.01/Ex2_1.sce | a432408bf5cca1f13c98569331aaaa47753ab488 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Ex2_1.sce | // Example 2.1
// Compuatation of mode parameter
// Page no. 479
clc;
clear;
close;
//Given data
n1=1.503; // refractive index of core
n2=1.50; // refractive index of cladding
a=4*10^-6; // core radius
lambda=1*10^-6; // light wavelength
// Mode parameter computation
V=(2*%pi*a*sqrt(n1^2-n2^2))/(lamb... |
d6d374b7b9fc9bc690374d4e3340619c636425f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH14/EX14.3/Ex14_3.sce | 4e0ea5edcc4396f5fcb26c0a94f0730012acaa22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Ex14_3.sce | //Example 14.3
m_Al=0.5;//Mass of aluminum pan (kg)
c_Al=900;//Specific heat of aluminum (J/kg.C)
T_Al=150;//Initial temperature of pan (C)
m_W=0.25;//Mass of water (kg)
c_W=4186;//Specific heat of water (J/kg.C)
T_W=20;//Initial temperature of water (C)
T_f=[(m_Al*c_Al*T_Al)+(m_W*c_W*T_W)]/(m_Al*c_Al+m_W*c_W);/... |
2eb7d33e323fd3276e46f3168eb96363a19761d8 | abde5210bd538a9873f628945f25c08a6711abd0 | /appTests/v0.1_given_file_has_no_read_permission.tst | e49a9733c62b72219533b8a66faec4100824ad9e | [] | no_license | step-batch-7/jsTools-mildshower | 4ff0f8357dac1fbb1603f933d4a9b658aa9bf61f | 20444d5ca9540782b793270f9c5e2f138696b6d7 | refs/heads/master | 2023-01-12T06:32:14.662150 | 2020-01-09T06:10:28 | 2020-01-09T06:10:28 | 229,381,464 | 0 | 1 | null | 2022-12-30T19:21:29 | 2019-12-21T05:32:22 | JavaScript | UTF-8 | Scilab | false | false | 78 | tst | v0.1_given_file_has_no_read_permission.tst | (touch file ; chmod -r file ;node sort file ; rm file)
sort: Permission denied |
24a977d1a0cf161d726fc089777428deb6a5b33d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH9/EX9.3/9_03.sce | 00fa7cd0a9861d16dd5293d1472f409f1997de96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | 9_03.sce | //Chapter 9, Problem 3
clc;
v=15; //velocity of conductor
l=0.02; //length of conductor
A=2*2*10^-4; //area of conductor
phi=5*10^-6; //flux
Q1=%pi/2; //converting 90 degree into radian
Q2=%pi/3; //convert... |
b0f3136366c17343aa45db4b5d57d542c1d3a07e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH18/EX98.6/98.sce | 9ec5b93c6538d81549ef3ed42efa6889a3f18615 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 98.sce | clc
//initialisation of variables
n=180//rpm
a=420//mm
h=a/8//mm
w=60*n*12//sec
b=5//mm
p=20//m
v=30//m
r=50//mm/sec
d=28.5//mm
//CALCULATIONS
D=b*p/v//mm
D1=d*r//mm/sec
//RESULTS
printf('the legth of crank =% f mm/sec',D1)
|
001b508466b4727f66b2ece10b7219b798308201 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH1/EX1.7/ex_1_7.sce | 0abdf19cf2a1eaf4e0618145e1f8ae9f9c81cb03 | [] | 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 | 355 | sce | ex_1_7.sce | errcatch(-1,"stop");mode(2);//Example 1.7://limiting error
;
;
fse=1;//full scale deflection
vr=150;//range in volts
ev=(fse/100)*vr;//voltas
v1=100;//volts
le100=((ev)/v1)*100;//in percentage
ve=100;//range in mA
ee=(fse/100)*ve;//mA
e1=55;//mA
le50=((ee/e1)*100);//in percentage
ler=le100+le50;//
disp(ler,"limiting e... |
18aaab79b85a112a708c955f4514b4b1ee58464f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.19_18.tst | 1e80a6c46b07049193e91832522a9e850b867532 | [] | 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 | 13,549 | tst | bow.19_18.tst | 19 5:1.0 56:1.0 66:0.5 86:0.07692307692307693 106:0.5 317:0.5 342:1.0 390:0.25 574:1.0 698:1.0 712:0.5 1153:0.3333333333333333 1764:0.5 1808:1.0 2581:1.0 4115:1.0
19 37:0.14285714285714285 85:0.09090909090909091 106:0.25 107:0.125 259:1.0 261:1.0 267:0.03508771929824561 317:1.0 390:0.25 927:0.5 1676:0.5 3752:0.5 4669:1... |
fcfa487b0a903a4e22801056bb2a24e0c82ba0e0 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH26/EX26.15.2/ques15_2.sce | 98859230bb6c087d45523533d92b0b1ec984b305 | [] | 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 | 105 | sce | ques15_2.sce | errcatch(-1,"stop");mode(2);//ques15(ii)
syms n z
y=z^(-n);
f=symsum(y,n,0,%inf);
disp(f);
exit();
|
ca3c10aba936aea6995f47d3aa5ab6d5f16e3e94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH9/EX9.1/Ex9_1.sce | d47ec3636b4ebab59ca61ee8b2124cf583d07322 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex9_1.sce | clc
clear
//Initialization of variables
T=32 //F
m=1 //lbm
J=778.16
//calculations
disp("From steam tables,")
hf=0
p=0.08854 //psia
vf=0.01602 //ft^3/lbm
u=hf-p*144*vf/J
//results
printf("Internal energy = %.7f Btu/lbm",u)
|
475b554265387b459f3c5ea7fbf4531064416aaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH6/EX6.2/6s2.sce | 16e922e34a8081bdce548b6a49e14044a3fb9be0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,139 | sce | 6s2.sce | clear;
clc;
disp("Example 6.2");
////BFS Traversal
funcprot(0)
function[q2]=push(ele,q1)
if(q1.rear==q1.front)
q1.a=ele;
q1.rear=q1.rear+1;
else
q1.a=[q1.a(:,:) ele];
q1.rear=q1.rear+1;
end
q2=q1;
endfunction
function[ele,q2]=pop(q1)
ele=-1;
q2=0;
if(q1.rear==q1.front)
... |
e3a0076527211fafba078523743992dab27085c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.30/ex4_30.sce | 0670878e215da46b74d531cd090a0eebcf4d2c81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_30.sce | // Exa 4.30
clc;
clear;
close;
// Given data
I_C = 10;// in mA
I_B = 0.1;// in mA
bita = I_C/I_B;
disp(bita,"The current gain is");
|
88ea5ea8aad36b157d8e1504d91c56474db36ab6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%lss_o_r.sci | 2bf13a235cfff4740898b5cc0b6a21aedf6aca10 | [
"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 | 84 | sci | %lss_o_r.sci | function [r]=%lss_o_r(s1,s2)
//%lss_o_r(s1,s2) <=> s1==s2
// Copyright INRIA
r=%f
|
25853740f2d165a0dc66af7fc5aefbe64db3597f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH16/EX16.2/Ex16_2.sce | 795dab3ffbfbd559c696747bb1d52da79438d452 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | Ex16_2.sce | clc
clear
//Initialization of variables
per=0.071 //mass fraction of nitrogen
//calculations
O2=8.74
N2=per/2 + 3.76*O2
Nin=32.85
CO2=7.333
H2o=3
So2=0.0312
//results
printf("Oxygen = %.2f and Nitrogen = %.2f",O2,N2)
printf("\n Equation is C %.3f H %d + %.2f O2 + %.2f N2 = %.3f CO2 + %d H2O + %.5f SO2 + %.... |
ae58326a9c29d434a07415a9e23dd9e1372c44d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH9/EX9.2/example9_2.sce | 23e157cc5d1e8e9745f0e786063522f582598b50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | example9_2.sce | //example9.2
clc
disp("Initially electron is at rest and V=200 V")
disp("Therefore, v(in m/sec)=sqrt(2*q*V/m)=(5.94*10^5)*sqrt(V)")
v=(5.94*10^5)*sqrt(200)
format(8)
disp(v,"= (5.94*10^5)*sqrt(200) = ")
|
5f7ecf8c34ebbf51e25f9aaefa9733ad5f8d4d77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH4/EX4.17/Example_17.sce | 483dd3afd73a3145ae8ba2536c6a2fc6707a44b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Example_17.sce | //Chapter-4,Example 17,Page 97
clc();
close();
q= 300 //heat energy
P= 2 // pressure in atm
V1= 10 // volume in litre
V2= 20 //volume in litre
//since 1 lit.atm = 24.25 cal
W=P*(V2-V1)*24.25 //work done
delta_E= q-W //from the 1st law of thermodynamics
printf('the change in inte... |
7bc7be93a5328ed735c06f17f26c020135ac36e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH9/EX9.7/PLLA_Ex_9_7.sce | 6fc84ffd1e522fa0aacab4e38eacaaf75cc3173a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sce | PLLA_Ex_9_7.sce | clc
//Chapter 9:Phase locked loop Analysis
//Example 9.7 page no 376
a=28//taking alpha as a
Ka=0.21*10^6
GF=20*log10(a)^1/2
disp(GF,'The value of gain is ')
disp('so we must determine where the uncompensated frequency response is -14.5dB ')
Wc=a^(1/4)*Ka^(1/2)
disp('The 28:1 lead ratio will increase the cros... |
8d3d9bd0dcc9954a257ab9622656ec375186cecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.12/ex6_12.sce | 88cf6ffc4eb46a8ee66c190b463f5e4c40faa3dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | ex6_12.sce | // Exa 6.12
format('v',7);clc;clear;close;
// Given data
f1 = 2;//frequency in MHz
f1 = f1 * 10^6;// in Hz
C1 = 500;// in pF
C2 = 60;// in pF
// f1 = 1/(2*%pi*sqrrt(L*(C1+Cd))) (i)
// f2 = 1/(2*%pi*sqrrt(L*(C2+Cd))) (ii)
// and f2 = 2.5*f1 (iii)
//From eq(i),(ii) and (iii)
Cd = (C1 - (6.25*C2))/5.25;/... |
dcaa807a59a70c3e57d84c30c870ef2e1ba4aa98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH8/EX8.11/example_11.sce | 4ccc8f228f002b0a977ee2ec706ce93164b40f49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | example_11.sce | clc
clear
printf("example 8.11 page number 372\n\n")
//to find the maximum capacity of keroscene
flow_rate_steel=1.2; //l/s
density_steel=7.92;
density_kerosene=0.82;
density_water=1;
flow_rate_kerosene =(((density_steel-density_kerosene)/density_kerosene)/((density_steel-density_water)/density_water))^0... |
ec9351cb951509712ef64397b7a76e362d81bdde | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH6/EX6.3/Ex6_3.sce | 38b25c4719f00f8c648889c0776c16292bce7f25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | Ex6_3.sce | //fiber optic communications by joseph c. palais
//example 6.3
//OS=Windows XP sp3
//Scilab version 5.4.1
clc;
clear all;
//given
NFdb=3.2//noise figure in dB
SNRidb=50//input snr in dB
//to find
NF=10^(NFdb/10)//converting from decibels to ratios
SNRi=10^(SNRidb/10)//converting from decibels to ratios
SNRo... |
a6299dd33cc7a4bd125415f413e3c4c19cff3f98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.23/Ch01Ex23.sci | bbf2a9495e7063fc9f9eeb478ce8d3aca182056d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sci | Ch01Ex23.sci | // Scilab Code Ex1.23 Energy released in fission: Pg: 30 (2008)
c = 3e+08; // Speed of light, m/s
e = 1.6e-019; // Charge on an electron, coulomb
r0 = 1.2e-015; // Equilibrium nuclear radius, m
A = 238; // Twice the mass of each fragment
q1 = 46*e; // Charge on first fragment, coulomb
q2 = 46*e; ... |
47f1e950a2a58fe11d7cc35cdcdb838aadd3bb03 | 3210e96373d039f25952e04ff12570a96a9c5980 | /13-simpson.sce | 2ca1b25237c90b50ac38479fd4ed929fb72b7ac6 | [] | no_license | roscibely/numerical-integration | 342a083138e8a0215f514dd5e06640af1b16fe28 | 7daf056119a51f253a4be2b250915f79fd256ce9 | refs/heads/master | 2020-12-14T11:21:19.899255 | 2020-04-28T00:58:26 | 2020-04-28T00:58:26 | 234,725,644 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | 13-simpson.sce | clear, clc
function F = f(x)
F = sin(x)/x
endfunction
a=0.01;
b=1;
N=1;
n=2*N;
h = (b-a)/n;
x=a:h:b;
soma=4*f(x(2));
printf("Para x%d -> f(x%d) = %c\n", 0,0, string(f(a)));
printf("Para x%d -> f(x%d) = %c\n", 1,1, string(f(x(2))));
for i=3:n
if(pmodulo(i,2)==0)
soma = soma + 4*f(x(i));
... |
cfd00e277bbdb2bb7794308b9d63252756639e9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH5/EX5.7/Ex5_7.sce | 55ac6056eea11d20015adf18cec4153cbc292bbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | Ex5_7.sce | clc
//variable initialisation
Pout=7.5 // Output Of Motor In KW
Vm=230 //Supply Voltage in volt
F=50 //supply frequency in hrtz
R1=0.36 //resistance of stator in ohm
R2=0.222 //resistance of rotor in ohm
X1=0.47 //reactance of Motor in ohm
X2=0.47 //reactance of Motor in
Xm=15.5 //reactance of Motor in ohm
S... |
4927c3e58cd6afd058f1539317a4dcadc3f18a9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.37/EX3_37.sce | 821427dcb1bf25059788b675058b1cad9595275f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,482 | sce | EX3_37.sce | //EXAMPLE 3-37 PG NO-196-197
Vry=450+%i*0;
Vyb=-225-%i*389.711;
Vbr=-225+%i*389.711;
Vrn=225-%i*130;
Vyn=-225-%i*130;
Vbn=0+%i*259.8;
Z1=10.60+%i*10.60;
Z2=5+%i*8.66;
Z3=2.6+%i*1.5;
Z4=12.21+%i*4.44;
Iry=Vry/Z1;
disp('i) CURRENT (Iry) is in rectangular form = '+string... |
49e911d21428a2c4ef8c06936399bbb900a8c1e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH12/EX12.2/ex2.sce | 5157361d7c04a59c5c0922e11652a0c230c9203e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | ex2.sce | //example 2
//Total Differential versus Partial Differential
clear
clc
R=0.287 //Universal gas constant kPa-m3/kg-K
v=(0.86+0.87)/2 //average value m^3/kg
T=(300+302)/2 //average temp. in kelvins
dT=302-300 //change in tep. in K
dv=0.87-0.86 //change in volume in m^3/kg
dP=R*dT/v-R*T*dv/v^2 //Change in the pre... |
3e40da8b4720671013155efa482f4da31eb7f100 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH14/EX14.1/Example_14_1.sce | fa2d933ebf85cc271cff497a1cdbd2a993a3392c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | Example_14_1.sce | //Chemical Engineering Thermodynamics
//Chapter 14
//Thermodynamics of Chemical Reactions
//Example 14.1
clear;
clc;
//Given
H_f_C2H4 = 12500;//Standard heat of formation of ethylene at 25 deg cel in Kcal/Kgmole
H_f_C2H4O = -11667;//Standard heat of formation of ethylene oxide at 25 deg cel in Kcal/Kgmole
... |
7b6018af59baed9f66af1e0b7053e6c74e94f453 | 9e8eb5a9631d8770d0d0a918c1dc57e5122ae94d | /Point Processing.sce | 44a5dc4cac0eb05c328483beedeacaa24639ca84 | [] | no_license | vishalraj3112/Image-processing | db2948c37be6ef43c13ff120b97680bf13151d8d | 160a17990e1c80da44ef0daf2d148d6f33d37c6c | refs/heads/master | 2020-04-03T06:49:20.483364 | 2018-10-28T16:36:46 | 2018-10-28T16:36:46 | 155,085,134 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Point Processing.sce | clc
clear all
i=imread("C:\Users\VIshal\Desktop\lena.png")
im=rgb2gray(i)
figure,imshow(im);
s1=255*bitget(im,1);
s2=255*bitget(im,2);
s3=255*bitget(im,3);
s4=255*bitget(im,4);
s5=255*bitget(im,5);
s6=255*bitget(im,6);
s7=255*bitget(im,7);
s8=255*bitget(im,8);
figure,
subplot(2,4,1),imshow(uint8(s8));
subplot(2,4,2),im... |
421e35faff5b91e29681246c19171c53f005adb5 | 86b07272c2e128fdec8e3fb2a793cd56b3f8876d | /test/scenarios/set-max-cap.sce | 431cb5fbe2d02b301b05aaf41d22a84ea3cdd081 | [
"MIT"
] | permissive | jimjag/ls-qpack | f582623269c38006f997ab5ac1bd597d960dcc19 | 79c136923681d7187feade455225543335525c3f | refs/heads/master | 2023-06-01T08:21:41.291968 | 2023-05-26T12:37:58 | 2023-05-26T12:37:58 | 211,070,438 | 0 | 0 | MIT | 2019-09-26T11:13:34 | 2019-09-26T11:13:34 | null | UTF-8 | Scilab | false | false | 139 | sce | set-max-cap.sce | TABLE_SIZE=256
ANNOTATIONS=1
QIF=$(cat<<'EOQ'
dude nude
dude nude
dude where is my car?
## t 0
one fish
two fish
red fish
blue fish
EOQ
) |
e44487b00e48d51ffd4dc1b9a57ffce235ea5d15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH13/EX13.1/Ex13_1.sce | cf6368a314940cdd8e7c1f52c37dedd130ee43d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | Ex13_1.sce | clc
clear
//DATA GIVEN
N1=240; //speed of the engine shaft in R.P.M.
d1=1.5; //diameter of pulley on engine shaft in m
d2=0.75; //diameter of pulley on machine shaft in m
t=0.005; //thickness of the belt in m
//with no slip
//(N2/N1... |
b4645f6e4152c404fc52532fbed9f02f47f51006 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH9/EX9.3/Ex9_3.sce | b5b8775a57eca137cc2659d33aaf0a3b33ae5608 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,015 | sce | Ex9_3.sce | //Book - Power system: Analysisi & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J.Overbye
//Chapter-9 ;Example 9.3
//Scilab Version - 6.0.0; OS - Windows
clc;
clear;
Xn=0.05 //motor neutral is grounded through reactance in per unit
Sb=100 ... |
c2e34d4c4b91f8c1f23a77479295baa7097f8b94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.6/Ex11_6.sce | fdf0c4a66e06e6444e885ccfb2292a49013d338e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,602 | sce | Ex11_6.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.6\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.6 (page no. 559)
// Solution
//For Brick,
deltaX=0.150; //Unit:m //150 mm = 0.150 m //deltaX=length //unit:meter
A=1; //area //unit:m^2
k=0.692; //Unit:W/(m*C) //k=proportionality constant //... |
3ad80dfad083908d494d9a161ff566e072d5b297 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH16/EX16.3/ex16_3.sce | 10e8d9ed3641904e76a730928e5862de3f5b5e3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | ex16_3.sce | clc;
clear all;
n = 25.33e27; // Number of electrons per unit volume
tr = 3.1e14; // Mean free time of electron
m = 9.11e-31; // Mass of electron in Kg
e = 1.6e-19; // Charge of an electron
rho = m/(n*e^2*tr); //Electrical resistivity of sodium metal
disp('Ohm.meter',rho,'Electrical resistivity of sodium metal a... |
1af74f033c772d85f6f6e8c5d7f50b852afb4e03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.a.19/Example_a_9_19.sce | d84760617fb5fa3cd5c5a9c54effdb854bd25ff6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | Example_a_9_19.sce | //Example_a_9_19 page no:418
clc;
V=340;
fund_comp=340/sqrt(3);
harmonic_comp=sqrt(220^2-(fund_comp)^2);
disp(harmonic_comp,"the third harmonic component is (in V)");
|
3289f63a1bd35c3ea416bdad060c806fb5a532c9 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/AD16MYR/ATWM1_Working_Memory_MEG_AD16MYR_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | 2aee33d5c570e63cd1222e78d424faaaa9f7660f | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,381 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
40fd1cd5238410087d622f9d91a33a9d9667ccb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH4/EX4.6/4_6.sce | 7a7049aca07e69d4e14534d0582f4df8c47c7955 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | 4_6.sce | clc,clear
printf('Example 4.6\n\n')
P=400 //power absorbed in watts
phi=acos(0.05) //power factor angle
f=30*10^6 //frequency in hertz
k_0=8.854*10^-12 //permittivity of free space
k=5 //relative permittivity of wood
A=150*10^-4 //area of cross section of plate in m^2
t=0.01 //thickness in m
C=k_0*k*A/t //... |
99ba12376ec6f3049befbb074c48903f846f770d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.11/Ch02Ex11.sce | 04ad332e543c7445fec4fdd4fb0ec903afc4a5f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | Ch02Ex11.sce | // Scilab Code Ex2.11:: Page-2.13 (2009)
clc; clear;
alpha = %pi/180; // Acute angle of biprism, radian
mu = 1.5; // Refractive index of biprism
lambda = 5900e-008; // Wavelength of light used, cm
y1 = 10; // Distance of biprism from the source, cm
y2 = 100; // Distance of biprism from the screen, cm
D = ... |
da0d93a59858bc0f4c00aedbe9293a88ebaf0a33 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/nfet_i2v.sce | 20c6750d7172a1ddb1e2e580dfd0c51b85e60144 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | nfet_i2v.sce | //**************************** nfet i2v ***********************************
if (blk_name.entries(bl) =='nfet_i2v') then
mputl("# nfet_i2v",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
nfet_i2v_str=".subckt nfet_i2v in[0]=net"+string(blk(blk_objs(bl),2))+'_'+ string(ss)+" out=net"+ string(blk(blk_objs(bl... |
e123f4ca743d90b10467a8a6692800d761d5a31b | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH5/EX5.5/Ex5_5.sce | 437ff2835edd77644a066c5b832e0a0a5f3308f7 | [] | 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 | 303 | sce | Ex5_5.sce | clc
//Initialization of variables
D = 1.94 // slugs/ft^3
A1 = 0.06 //ft^2
V1 = 10 // ft/s
// Calculations
Fax = -D*A1*(V1)^2
Faz = D*A1*(V1)^2
// Results
printf (" the force required in x direction is %.2f(1-cosT) lb",Fax)
printf ("\n the force required in z direction is %.2f(sinT) lb",Faz)
|
e23a0725e0f2f5ce812d4ec9e09eb5f6219e4d9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH6/EX6.10/Ex6_10.sce | 58965919616c3225579452befdecc4b1906a29b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | Ex6_10.sce | //chapter 6
//example 6.10
//Calculate mobility of electrons
//page 149-150
clear;
clc;
//given
n=9E28; // in 1/m^3 (density of valence electrons)
sigma=6E7; // in mho/m (conductivity of copper)
e=1.6E-19; // in C (charge of electron)
//calculate
// Since sigma=n*e*mu therefore
mu=sigma/(n*e); // calculati... |
078b4862551c130488a9066470ed59313a7c1d42 | 3f321619d7f900b79810e0b5e3722b405b099c72 | /PFM-I/cms1329-assin1-30-10-13/que6.sci | f4edec18ae59e90f7eff5289a038b38114dd71c3 | [] | no_license | mina20/cppLinux | a1c1b3dfd78a3edc69e08d50c532b9325a9b4110 | d0b4e950d962315b36f3202920ddda37ac744911 | refs/heads/master | 2020-12-02T22:47:50.704032 | 2017-07-04T06:42:28 | 2017-07-04T06:42:28 | 96,184,034 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sci | que6.sci | //Find avg of given no
function[]=avg(n)
x=1:n
a=sum(x)
disp('Average is')
y=a/n
disp(y)
endfunction
|
efa4292df39704e44d7f1a0bd8fcc521214a2a3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH4/EX4.3/3.sce | f1b60af657859baa8654297c10da12925c12cd10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,242 | sce | 3.sce | clc
clear
//input data
M1=2 //Mach number at entry
P1=1.4 //Static Pressure at entry in bar
T1=323 //Static Temperature at entry in K
Cp=1.005 //Specific heat of dry air in kJ/kg-K
k=1.4 //Adiabatic constant
R=287 //Gas constant in J/kg-K
//calculation
t1=0.555 //Temperature ratio at entry from gas tables... |
57bbf1c9b485c624d4170f136a2541ca63b61059 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH4/EX4.18.1/4_18_1.sce | d10221597f767ccf2707a94a78b0ab0759c8cf60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_18_1.sce | clc;
// page no 144
// prob no 4_18_1
//A receiver with noise fig. 12dB fed by low noise amplr with gain 50 dB with noise temp of 90 k
f=12;
Tm=290;//Room temp value
T=90;
g=50;
//calculating power ratio
F=10^(f/10);
G=10^(g/10);
//Determination of equivalent noise at room temp
Tem=(F-1)*Tm;
disp('K',Tem... |
14e64eac77015a95c6dc0c4924ff66176f21f712 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH10/EX10.2/Ch10Ex2.sce | e5ee27879d12871af70919cd17f710e98ecf6a3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | Ch10Ex2.sce | // Scilab Code Ex10.2: Page-10.5 (2004)
clc;clear;
Tc = 7.18; // Critical temperature, K
r = 1e-003; // diameter of wire, m
Ho = 6.5e+004; // Critical field at zero kelvin, A/m
T = 4.2; // temperature at which filed being calculated, K
Hc = Ho*[1-(T/Tc)^2];
ic = %pi*r*Hc; // critical current , A
prin... |
7233ce0c8134e66e36dd9f05f8c7b282188520ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH1/EX1.3/Ex1_3.sce | 141d8afeed5a105d2f1f26912097693b01788b8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Ex1_3.sce | // Example 1_3
clc;clear;funcprot(0);
// Given values
rho=850; // Density of oil in kg/m^3
V=2; // Volume of the tank in m^3
// Calculation
m=rho*V;// kg
printf('The amount of mass in the tank,m=%0.0fkg\n',m);
|
0e4fb8603260429e8075e2da7fd77a6093e57ce4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH2/EX2.3/Example2_3.sce | 615b087bce7620fd8a4a1a0b9e9a0db26df0a80c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 979 | sce | Example2_3.sce | clear;
clc;
// Illustration2.3
// Page: 32
printf('Illustration 2.3 - Page: 32\n\n');
// solution
//***Data***//
// a = C2H5OH b = air
Pt = 101.3*10^(3);//[N/square m]
T = 273;//[K]
//********//
Ma = 46.07;// [kg/kmol]
Mb = 29;// [kg/kmol]
//For air from Table 2.2 (Pg 33)
Eb_by_k = 78.6;// [K]
... |
46ed78affb273d6a5f7f80ebbc76a9ea89f6746f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/gammaln.man.tst | 3b30204c929f80c14c78530de18fee6579226232 | [
"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 | 30 | tst | gammaln.man.tst | clear;lines(0);
gammaln(0.5)
|
e7e8bbfa2ceb36619710640232c92359abb88405 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH2/EX2.12/Ex2_12.sce | fa5868bd025b04fe8e72e7390ea2c3497f352ff4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Ex2_12.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex2_12.sce
clc;
clear;
R=50; //Resistance in ohm
Is=1/30; //Source current in Ampere
Rs=40.92; //Parallel resistance in ohm
Gs=1/Rs; //Parallel conductance in... |
dc337d398a33d89f43d633808d58968e420c5316 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.27/4Ex27.sce | 152c8afa0e87574cb94185eb0671bce71b8fecb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | 4Ex27.sce | //chapter 4 Ex 27
clc;
clear;
close;
firstStation=280;
secondStation=12;
thirdStationTotal=248;
totalBeginning=(((thirdStationTotal-secondStation)/(1/2))-280)/(2/3);
mprintf("The total number of passengers in the beginning were %0.0f",totalBeginning);
|
10c9d2562b24ed72e6780476ce9933cb94263913 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH9/EX9.14/9_14.sce | 04e943a09cfaa50e4f8dde7195d72109e1abaed8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | 9_14.sce | //Example 9.14
//Particular Solution
//Page no. 296
clc;clear;close;
x=poly(0,'x')
n=2;
f=x^(n)+5*x^(n-1)+4*x^(n-2);
z=roots(f)
disp(z,f)
printf('\n\n')
printf(' n n\nC.F. = ')
for i=1:n
printf('c%i(%g)',i,z(i))
if i~=n then
printf(' + ')
end
end
C=18;
printf('... |
bd1d6b6128f4cc950c14b0c32d48f86e6eb86095 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/oto-manguean/cly.tst | e3f8d0edf57f46c1eeba1ea35364ea3043645c28 | [] | 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 | 18,919 | tst | cly.tst | yjoq⁴ V;PROG;PL;3
yjoq⁴ V;PROSP;SG;3
yjoq⁴ V;PROG;SG;2
yjoq⁴ V;HAB;PL;1+INCL
yjoq⁴ V;PROG;SG;3
yjoq⁴ V;PROG;SG;1
yjoq⁴ V;PROSP;PL;1+INCL
yjoq⁴ V;PFV;PL;1+EXCL
yjoq⁴ V;HAB;PL;2
yjoq⁴ V;PROSP;SG;2
yjoq⁴ V;PROG;PL;1+INCL
yjoq⁴ V;HAB;SG;1
yjoq⁴ V;PROG;PL;2
yjoq⁴ V;PFV;PL;1+INCL
yjoq⁴ V;HAB;SG;3
yjoq⁴ V;HAB;PL;1+EXCL
yjoq⁴ ... |
1202eca7970fb8ab679b0f62564f01e45b52c6c9 | c61d570c37971fa455028a89d2163f455f91c291 | /script_fisico/series.sci | 482c7833e7dd281f0f941efde462afc7e7b6103f | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,092 | sci | series.sci | function [fx,term]=series(fun, x, n_sig)
// Cálculo de funções com serie de potências
// function [fx,term]=series(funcao, x, n_sig)
// onde fx é o valor da função em x
// term é o número de termos usados para o erro especificado
// fun é a função de entrada literal em x e n
// onde n é o numero do termo
... |
76c6b17eb429b2e608f41c65ef9c04b73b5761ad | 8423ca9ce33d0d3ba30dc05b86e8241e4894d0af | /gausspivot.sci | c7dc378d85931d2bc0c3416555607257129ddee8 | [
"MIT"
] | permissive | fbarrueta22/TAP-1 | b99581dab6414d93988b708d61ac7e5e6610a6e5 | 61324322191684285df528149c7829b8cfe3dc5f | refs/heads/master | 2022-04-25T18:44:31.343068 | 2020-04-18T17:22:50 | 2020-04-18T17:22:50 | 256,637,464 | 1 | 1 | MIT | 2020-04-18T17:22:51 | 2020-04-18T00:22:58 | Scilab | UTF-8 | Scilab | false | false | 972 | sci | gausspivot.sci | exec('plates.sci')
//funcion intercambia filas
function sol = intercambiarFilas(A, i, j)
temp = A(i,:)
A(i,:) = A(j,:)
A(j,:) = temp
sol = A
endfunction
function sol = gausspivot(A, b)
[m,n] = size(A) // Dimesiones de la matriz de entrada
if (m <> n) then // Comprueba si la matriz es ... |
771f5f369c0a7519a4e08960dd8160f3737c5325 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Adv-FitDistributions/FLMDELogNormalUdt-TD-01.tst | 8130c158884ad3b2d2fda57e16efb078cd4f8c22 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53,930 | tst | FLMDELogNormalUdt-TD-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
e3d19e4e5d4aad9613e5e0a8197b02d5635b2b71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH4/EX4.4/example4_4.sce | 77351801050ac48749cc1aab9bf74e8d733c150a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | example4_4.sce | disp('chapter 4 ex4.4')
disp('given')
disp('capacitor coupled non inverting amplifier design')
disp("lower cut off frequency for the circuit =120Hz")
disp('Rl=2.2kohms')
disp("R1max=0.1Vbe/Ibmax")
disp("Vbe=0.7volts")
disp("Ibmax=500nA")
Vbe=0.7
Ibmax=500*10^(-9)
R1max=0.1* Vbe/ Ibmax
disp("R1max= ",R1max)
... |
9c5fb727069d98b5f927a7016dedb1a864ac7956 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH2/EX2.8.a/8_a.sce | 17ddd3b13f4f66bec54f11a48a815c5c971f19b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 8_a.sce | //simplification of boolean expression//
//example 8.a//
clc
//clears the command window//
clear
//clears//
disp('given Y=AB+AB''C(B''C''+C)+A''C''')
disp('Y=AB+AB''B''CC''+AB''CC+A''C''');//ON MULTIPLICATION//
disp('Y=AB+AB''C+A''+C''');//CC''=0//
disp('Y=C''+AB+(A+A'')(A''+B''C)')
disp('Y=C''+AB+1.(A''+B''C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.