blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
34d729bf1fa972fb9e60bfdd6d6f9803732f9242 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH7/EX7.5/exa7_5.sce | 9f902f6b542fc4a24b13576661c5b3c0b6fc548a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | exa7_5.sce | // Example 7.5
// Designing Power-Factor Correction
// From figure 7.10(a)
V_rms=500; // Volts
f=60; // Radian Frequency (rad/s)
omega=377; // (rad/s)
P_1=48*10^3; // Watts
pf_1=0.60; // Lagging
P_2=24*10^3;// Watts
pf_2=0.96; // Leading
// For Load 1
S_1= P_1/pf_1; // apparent power
Q_1=sqrt(S_1^2-P_1^2); ... |
c884425b464297511987a052ad1e43a9565b732f | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH5/EX5.5/example5_5_TACC.sce | f37567929a4235e601b824dc010ac67653c64fe0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example5_5_TACC.sce | //example 5.5
clear;
clc;
//Given:
T=298;//Temperature [K]
n=1;//no. of moles
V1=500;//initial volume [cm3]
V2=1000;//final volume [cm3]
R=8.314;//Universal gas constant [J/mol/K]
//to find the molar entropy change
S=R*log(V2/V1)//molar entropy change at constant temperature[J/K]
printf("Molar entropy c... |
bf5d46622b06e8b45328c3db60cefe76b52a6ac6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH24/EX24.15/Example15.sce | ab39ecc567935b9eec477012ca005115e57a88b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,654 | sce | Example15.sce | clear
flag=1
mode(-1)
clc
printf("Example 15 : Show the effect of [Ctrl-c] in the shell so as to do some operations \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs are part of systems programming PU... |
e3d623025a2778d06cdd09e643fdddf8536b074e | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/brcc.instr.tst | 6ddce86b6a6e29c871344c7b8f354d32e299439f | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,670 | tst | brcc.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000100 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000134 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0xf8 0xf5 brcc .+126 ; 0x80
0x2: 0xf0 0x... |
ec62ec5677d4a833438d81472c7e197d73bd9007 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH14/EX6.2.u2/Ex6_2_u2.sce | 6535ea9848d7d63ea2ba23da12eecc249a5348cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_2_u2.sce | //Example 6_2_u2
clc();
clear;
//To calculate the atomic polarizability
eo=8.85*10^-12 //units in F/meter
er=1.000435
n=2.7*10^25 //No of atoms/meter^3
alpha=(eo*(er-1))/n //units in meter^3
printf("The atomic polarizability is aplha=")
disp(alpha)
printf("meter^3")
|
0d02edf8aebb889e0f77497d7e8e0653d38cc628 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rms/rms10.sce | 181965af998a39cb4ef125213bdf8a9c8637fd96 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | sce | rms10.sce | y=[%i 2 4];
Y=rms(y,2);
disp(Y);
//output
// 2.6457513
|
b45b882f929f69966c19804c1cd766b865b24515 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH6/EX6.3/6_3.sce | 4f126ae776c4fb0083b798972783cf022ba6c15b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,969 | sce | 6_3.sce | clear
clc
//Example 6.3
disp('Example 6.3')
//Smith's method
t20=1.85;//min
t60=5;//min
ratio=t20/t60;
zeta=1.3;//Zeta obtained from Fig 6.7 page 109
tau=t60/2.8//Value 2.8 obtained from Fig 6.7
tau1=tau*zeta+tau*sqrt(zeta^2-1);
tau2=tau*zeta-tau*sqrt(zeta^2-1);
mprintf('From Smiths method \n tau1=%f min\n tau2=... |
2ecd77ba2e7fd1b2072ff6059f47b7cfbd56c553 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH12/EX12.3/Ex12_3.sce | a13e4756bcf2db0cdceedcee16d90711708a2f4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | Ex12_3.sce | clear;
clc;
//Example 12.3
Ao=10^4;
wh=2*%pi*100;//rad/s
Af=50;
//x=(1+bAo)
x=Ao/Af;
printf('\n(1+bAo)=%f\n',x)
wfh=wh*x;
printf('\nclosed loop bandwidth=%f\n',wfh)
|
af089f4d06ee18d67ac0ef38b7aabc6270cf0600 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH4/EX4.6/Ex4_6.sce | 421951f8879a580e8315122bd4278d4aa20cb4f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sce | Ex4_6.sce | clc;
clear;
Y1=1*10^-3 //distance of the point from the screen in m for first case
D=1 //distance between the slit and the screen in m
d=1*10^-3 //distance between the slits in m
lambda=5893*10^-10 //wavelength in m
phase_diff2=%pi/2 //phase difference when intensity is half the maximum
//calculation
delta_1=... |
bdf5ed54644f8c5a09ff6048178069c3596bbd5e | 610a40b181f1497601b7ba08f2bbf02991b4a80f | /advent_of_code/2022/day-11b/example.input | c04eddb7916944a948afb80441b3cb6d2ac25daa | [
"MIT"
] | permissive | SpicyLemon/SpicyLemon | a5e49eb17e6c1f637e2e47186481cbf4875ff630 | c465555fdfba1ad9e22cf36b1324673f7bceaa19 | refs/heads/master | 2023-08-16T12:12:07.674172 | 2023-08-09T19:58:46 | 2023-08-09T19:58:46 | 229,794,690 | 10 | 0 | MIT | 2021-04-05T22:50:44 | 2019-12-23T17:18:56 | Shell | UTF-8 | Scilab | false | false | 609 | input | example.input | Monkey 0:
Starting items: 79, 98
Operation: new = old * 19
Test: divisible by 23
If true: throw to monkey 2
If false: throw to monkey 3
Monkey 1:
Starting items: 54, 65, 75, 74
Operation: new = old + 6
Test: divisible by 19
If true: throw to monkey 2
If false: throw to monkey 0
Monkey 2:
... |
7b7eafdbe1a2483e647cc21171508cd1cd393c47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH10/EX10.6/Ex10_6.sce | 24a2b42d6569b3c2ab4822c4cc4acf5e79832ac7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,111 | sce | Ex10_6.sce | clc
P1 = 700 // Initial pressure of gas in kPa
T1 = 260 // Initial temperature of gas in degree Celcius
T3 = T1 // Temperature at state 3
V1 = 0.028 // Initial volume of gas in m^3
V2 = 0.084 // Final volume of gas in m^3
R = 0.287 // Gas constant
m = (P1*V1)/(R*(T1+273)) // mass of gas
P2 = P1 // Pressure a... |
0c86cce9efe0f332fb271f2947e928d97e9c7858 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r35/xmpl/limits.tst | 950e44119f8a017146cf2334555185c20296d912 | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 6,604 | tst | limits.tst | % Tests of limits package.
limit(sin(x)/x,x,0); % 1
limit(sin(x)^2/x,x,0); % 0
limit(sin(x)/x,x,1); % sin(1)
limit(1/x,x,0); % infinity
limit(-1/x,x,0); % - infinity
limit((sin(x)-x)/x^3,x,0); % -1/6
limit(x*sin(1/x),x,infinity); % 1
limit(sin x/x^2,x,0); % infinity
limit(x^2*sin(1/x),x,infinity); % infinity
% Simple... |
3afb9b21b66b497c721c0b76f5cfc45288289efe | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH12/EX12.3/12_3.sce | b950bd54dd49ca108648d7e8d92818dc13cfb7a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | 12_3.sce | clc;
clear;
format('v',11);
Z=75;
epsilone_r=2.56;
epsilone_0=8.85*10^-12;
m_0=4*%pi*10^-7; //The permeability of air.
a=1*10^-3;
b=a*exp(Z*2*%pi*sqrt(epsilone_0*epsilone_r/m_0));
disp(b,"b(in meter)=");
C=(2*%pi*epsilone_0*epsilone_r)/log(b/a);
disp(C,"The capacitance(in F/m)=");
L=(m_0/(2*%... |
4cecc523fb4f325d06af9a66642a614dcd6b7b05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH5/EX5.12/Ex5_12.sce | 1f98ba667648364cf20f73f0bb8b7de8514433cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_12.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 5 Bipolar Transistor Biasing Pg no. 165
clear;
clc;
//Given Data
//Figure 5.26
RL=10;//load resistance in ohms which is dc resistance of primary coil of transistor
R=20D3;//base collector parallel resistance in ohms
B=90;//DC CE current gain beta
//Solution... |
325c89e249ea941c47f86eb1511d93ac27167dd9 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.5_12.tst | 02f125f771055c181793c725de61966c73ea2a70 | [] | 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,608 | tst | bow.5_12.tst | 5 56:1.0 119:0.14285714285714285 251:0.25 266:1.0 308:0.3333333333333333 1140:1.0 1256:0.5 1264:1.0
5 1:0.6666666666666666 3:0.015625 7:2.0 25:2.0 30:1.0 44:0.0625 57:0.07692307692307693 134:1.0 283:1.0 430:1.0 436:1.0 508:1.0 561:1.0 598:1.0 931:1.0 1029:1.0 1105:1.0 1268:1.0 1321:1.0
5 1:0.2222222222222222 3:0.015625... |
6a002e5cb27b2dd7a80a45e4d2bf9267c0c61354 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/auto/dsimul.sci | e8fcd1dfc7921b46f37ce0589b1cabcb51f0b69c | [
"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 | 78 | sci | dsimul.sci | function [y]=dsimul(sld,u)
[a,b,c,d,x0]=sld(2:6);
y=c*ltitr(a,b,u,x0)+d*u;
|
d5a4b92c0831322ad3295420ae763d0c0ae6fde1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH12/EX12.14/Ex12_14.sce | df5ab4cff03d5199264ed3baa8250f55e9c9a454 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | Ex12_14.sce | //chapter12
//example12.14
//page251
Vcc=20 // V
Re=5 // kilo ohm
Rc=1 // kilo ohm
Vbe=0 // considering it as negligible
R1=10 // kilo ohm
R2=10 // kilo ohm
V2=Vcc*R2/(R1+R2)
// since V2=Vbe+Ie*Re so
Ie=(V2-Vbe)/Re
Ic=Ie
Vce=Vcc-Ic*(Rc+Re)
Vc=Vcc-Ic*Rc
printf("emitter current = %.3f mA \n",Ie)... |
d4eb3541c973a9d346e492261cacf869d043f8e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH7/EX7.1.2/example7_2.sce | b793f2281bed709acf1d24a4d2ec433dcdf65a97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | example7_2.sce |
//exapple 7.2
clc; funcprot(0);
// Initialization of Variable
mu=2.5/1000;
rho=897;
g=9.81;
pi=3.1414;
K=5.1;
l=6.35/1000;
d=l;
hei=24.5+0.65;
len=24.5;
dc=2.65;//dia of column
thik=0.76/1000;
Vs=pi*d^2/4*l-pi*l/4*(d-2*thik)^2;//volume of each ring
n=3.023*10^6;
e=1-Vs*n;
e=round(e*1000)/1000;
Su... |
d46783d5b6b2cb2a0150bb28c4caf1cee571ba4a | efd8a524f4cb26e7523ef0e7211ba3ea3b60177d | /tests/test-tab-noskip.tst | 326dfb43283ba4d6c37611a109770d372220c97a | [
"Apache-2.0"
] | permissive | archiecobbs/csvprintf | 2788ee5c236d0e3ea329c927f15464c09ecef118 | 270286b352559219b26127775238331e052150ec | refs/heads/master | 2023-08-03T18:32:23.588637 | 2023-07-31T21:45:54 | 2023-07-31T21:45:54 | 34,139,639 | 38 | 4 | null | 2015-12-05T20:53:45 | 2015-04-17T20:53:56 | C | UTF-8 | Scilab | false | false | 96 | tst | test-tab-noskip.tst | FLAGS='-nj -s \t'
STDIN='aaa\tbbb\tccc\n\t\t\n'
STDOUT='\x1e["","",""]\n'
STDERR=''
EXITVAL='0'
|
ddfaa90436578d3a588002550abf78ce6f32f74e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH4/EX4.9/Ex_4_9.sce | f4ffb50f003c361a6fe41df477a342eadbbdddcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | Ex_4_9.sce | // Example 4.9:Attenuation
clc;
clear;
close;
Pb=150;//Threshold optical power for brillouin scattering in milli watt
Pr=1.5;//Threshold optical power for Raman scattering in watt
d=8;//Core diameter in micro meter
v=1;//frequency in Giga Hertz
h=(5.9*10^-2*d^2*Pb*10^-3)/((4.4*10^-3*d^2*Pr));
alpha=(Pb*10^-3)... |
4d7e93a5b9ee8ca06aa66807c6ebbd50c9673982 | b4e34afbccba260cb01882a6e81a58851bc6ee2c | /min_square_non_lin.sce | c7963a3f93dc876dc0fd8ecf08b436f5660a0367 | [] | no_license | gabrielseibel1/num | 258ce3b7a99a3bcd091ba4791be6f48de60a49c2 | 088ae943687d83d1cf4a84e59bcb70af1eea6ee5 | refs/heads/master | 2020-06-11T14:52:40.461998 | 2019-06-27T23:10:50 | 2019-06-27T23:10:50 | 194,003,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | min_square_non_lin.sce | function a = non_lin_adjust(x, y, yTransform, varargin)
// Adjusts functions to points {x,y} minimizing squared error
//size of the system
n = size(x, 1)
//save number of provided functions
nFuncs = argn(2) - 3
//make V
V = zeros(n,nFuncs)
for i = 1:n
for j = 1:nFuncs
... |
6f8fdcba8aeee65b5d20905aee73f226a5f4ad68 | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/signal_get.sci | a3d34002b0fe0e7a85070ef385779b3edcfac939 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 247 | sci | signal_get.sci | function [result, data] = signal_get(id, signal_rows, signal_cols)
[data result] = call("sci_signal_get",..
id, 1, "i",..
"out",..
[signal_rows, signal_cols], 2, "d",..
[1, 1], 3, "i");
endfunction
|
256754872ec45c258fb21d4180b69448dd40079e | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH3/EX3.6/Ex3_6.sci | 0083332db5a2959b14574f21d4d0485a978ac1a3 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sci | Ex3_6.sci | //finding the signal energy and power of signal//
//part-A//
n=-100:100
x=(0.9).^abs(n).*sin(2*%pi*n/4);
p=x.^2;
s=sum(p);
disp(['(a) s=',string(s)]);
//part-B//
N0=35;
delta5=4
delta7=-7
x1=delta5.*delta5+delta7.*delta7
//The impules in the two periodic impulses only coincide at integer multiple of 35.
//... |
84bd9fe8e7581b6b426b320e92c14583b2b1a04d | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH7/EX7.5/7_5.sce | 60afc3f2f23191bb95963bebb231ebc6c90fc54c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 7_5.sce | clear;
clc;
close;
disp("Example 7.5")
ps=1.5
es=0.9
gm=1.4
ts=1+(1/es)*(ps^((gm-1)/gm)-1)
ec=(gm-1)/gm*(log(ps))/log(ts)
disp(ts,"Total temperature ratio :")
disp(ec,"Compressor polytropic efficiency :") |
bdc0b36565b1598821d3176a92402006069ae2db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH2/EX2.16/2_16.sce | 27f00d78dca9e8ffab1f2777f8a9f2f78a486fcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | 2_16.sce | //To calculate the highest order for which Bragg's reflection can be seen
lamda = 1.5; //wavelength, A.U
d = 1.6; //interplanar spacing, A.U
theta = 90; //maximum glancing angle possible, degrees
n = 2*d*sind(theta)/lamda; //maximum possible diffraction order
printf("maximum possible diffraction... |
463d8396bb15cec16b4e5c8bab2b96f900d81ff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH3/EX3.17.b/ex3_17b.sce | 386da92f6039582b29de168d39005826e60bcec1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | sce | ex3_17b.sce | //Ex 3.17b
clc;
syms z n;
x=1;
X=symsum(x*z^(-n),n,0,%inf);
disp(X); |
69f9faba5a5cbd5c052007b6d32b263ca62ac3a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH9/EX9.11.e/E9_11.sce | fcd0c93397fe35b62d64983d3335ebda482c250c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | E9_11.sce | clc
//Initialization of variables
v=2
F=9.6485*10^4 //C/mol
E=0.2684 //V
V1=0.2699 //V
V2=0.2669 //V
T1=293 //K
T=298 //K
T2=303 //K
//calculations
Gr= -v*F*E
Sr=v*F*(V2-V1)/(T2-T1)
Hr=Gr+T*Sr
//results
printf("Gibbs enthalpy = %.2f kJ/mol",Gr/1000)
printf("\n Standard Entropy = %.1f J /K mol",Sr)
prin... |
e2d5666e8deedb976a1aba6eb4ccb822a73cf632 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.36/Ch01Ex36.sce | a9a5f1aae1a180a3b95263a2c90e035372ab8c5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sce | Ch01Ex36.sce | // Scilab Code Ex1.36:: Page-1.47 (2009)
clc; clear;
h = 6.6e-034; // Planck's constant, Js
m = 9.1e-031; // Electronic mass, kg
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
l = 2.5e-010; // Length of one dimensional potential box, m
// First energy level
n = 1; // The lowest energy state of electron
... |
05755dbd843f52f465dee32db59d0b99548c3427 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH6/EX6.9/Ex6_9.sce | 540e9f913bdebad34802933a03b1c61d6f10e94d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | Ex6_9.sce | //Ex 6.9
clc;
clear;
close;
format('v',6);
disp("Part (a)");
L1=25;//micro H
L2=10;//micro H
Rf=22;//kohm
C=0.01;//micro F
LT=L1+L2;//micro H
fr=1/(2*%pi*sqrt(C*10^-6*LT*10^-6));//Hz
fr=fr/1000;//kHz
f0=fr;///kHz
disp(f0,"Oscillation frequency(kHz)");
Ri=Rf/(L1/L2);//kohm
disp(Ri,"Resistance Ri(kohm)");... |
c7007ef9ec886a80aa707ddb4cdda804c2de05ce | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Sparky Comp 64 - Air 2.sce | a1d57adf2e591db4c4bbb1dd76889323db0ced24 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68,531 | sce | Sparky Comp 64 - Air 2.sce | Name=Sparky Comp 64 - Air 2
PlayerCharacters=A
BotCharacters=Air2 Rotation.rot
IsChallenge=true
Timelimit=1000.0
PlayerProfile=A
AddedBots=Air2 Rotation.rot
PlayerMaxLives=0
BotMaxLives=9
PlayerTeam=1
BotTeams=2
MapName=godwhygodpleasegod.map
MapScale=5.0
BlockProjectilePredictors=false
BlockCheats=true
... |
783024cac4957d61851b76733e86b316ec72fb44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH11/EX11.7/Example11_7.sce | 7cc4d3cac39208ad82b1a420840a67b82b908418 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | Example11_7.sce | //clear//
//Example 11.7
//Nyquist Plot
s = %s;
T =1;
//Open Loop Transfer Function
G = syslin('c',[-%e^(-s*T)]);
clf;
nyquist(G)
show_margins(G,'nyquist')
|
7957ccee365e367c4b778fd0e5ef24d95028131c | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH9/EX9.2/ex_9_2.sce | 0d76906d315a21fc03f387b7364362dff2df4411 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | ex_9_2.sce | //example 9.2//
clc
//clears the screen//
clear
//clears all existing variables//
close
//closes all other files//
a=log(6000)
//from the data//
b=log(2)
c=a/b;
N=round(c)
disp('Minimum number of flip flops=')
disp(N) |
ea3dc5c68efb197a7b0e8cfeb9747061aa923936 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH15/EX15.4/ex15_4.sce | 826892181fc19cfb5daa515f0f735e724ae39143 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | ex15_4.sce | //Calculate multiplier resistance and voltage multiplying factor
clear;
clc;
//soltion
//given
Im=50*10^-6;//A
Rm=1000;//ohm
V=50;//V
Rs=V/Im-Rm;
printf("The value of multiplier resistance is %.0f kΩ\n",Rs/1000);
Vm=Im*Rm;
n=V/Vm;
printf("Voltage multiplying factor =%.0f",n);
|
400f15fb7a1df9dd3acb915705060c5894e6922b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH6/EX6.3/Ex6_3.sce | 04c423d74667312eb69e7dc87bea585dfc4679eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | Ex6_3.sce | //Ex 6.3
clc;clear;close;
format('v',5)
n=8;//no. of bits
Range=0:10;//range
LSB=max(Range)/2^n;//V
MSB=max(Range)/2^0;//V
VFS=MSB-LSB;//V
disp(LSB*1000,"LSB(mV)");
disp(MSB,"MSB(V)");
disp(VFS,"VFS(V)");
|
b66f9679d48274784d3af2579c9a1fbf63cc59ab | 4f670294d6de9b3dff4c0eb15980b23d1ffaa629 | /macros/pclknn.sci | 0792288fe343c71a7f10a5d8c7e2467453444fe0 | [] | no_license | avinashr175/FOSSEE-Image-Processing-Toolbox | 49cb1352c88f9a5c7d7e984a42e3ba4ed60b059d | ff4afb9f614c2dd401d56fa8b5ad35cf5427a5cc | refs/heads/master | 2020-12-02T16:17:03.873509 | 2017-07-10T09:21:12 | 2017-07-10T09:21:12 | 96,529,053 | 0 | 0 | null | 2017-07-07T10:43:02 | 2017-07-07T10:43:01 | null | UTF-8 | Scilab | false | false | 1,384 | sci | pclknn.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
a0444b125cc65a63f9dca1e86ff2feeedafceb00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH9/EX9.3/Ex9_3.sce | fcf86d81dd66a79a82963c478a4fa85ddde27d23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | Ex9_3.sce | clear;
clc;
b = 10;// inches
d = 6;//inches
l = 15;// feet
A = 11.77;// in^2
I_xx = 204.80;// in^4
I_yy = 21.76;// in^4
f_c = 21;// tons/in^2
a = 1/7500;
n = 3;//factor of safety
k = sqrt(I_yy/A);// radius of gyration
P = f_c*A/(1+(a/2)*(l*12/k)^2);// tons
P_s = P/n;// safe load
printf('The safe axial loa... |
7ad789b7d96bc86c00d092256cbe6287aff5819c | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH10/EX10.11/Ch10Ex11.sce | 9770b88c98f90ef76457640f3579c2122c6c11ac | [] | 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 | 632 | sce | Ch10Ex11.sce | // Scilab code Ex10.11: Pg.464 (2008)
clc; clear;
T_c = 0.517; // Critical temperature for Cadmium, K
k = 1.38e-23; // Boltzmann constant, J/K
q = 1.6e-19; // Electronic charge, J/eV
h = 6.63e-34; // Planck's constant, J-s
c = 3e+08; // Velocity of light, m/s
E_g = 3.5*k*T_c/q; // Energy gap fo... |
523266506f3a15a957f94c6e632f70503ec9aa4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH6/EX6.5/Ex6_5.sce | dae1ae0d96583d1a3cee1165c2ed9b40e7e3a21c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_5.sce | clear;
clc;
//page no. 186
p1 = 14.7;//psia
V1 = 1732;//pfs
a1 = 862;//fps
M1 = V1/a1;
M2 = sqrt((1+0.4*0.5*M1^2)/(1.4*M1^2 - 0.4*0.5));
p2 = p1*(1+2*(1.4/2.4)*(M1^2 -1));
V2 = V1*(2+0.4*M1^2)/(2.4*M1^2);
a2 = V2/M2;
T2 = a2^2/(1.4*32.2*53.3);
T1 = a1^2/(1.4*32.2*53.3);
del_T = T2-T1;
printf('p2 = %... |
7082880ccb60eca654bea6796debe92189bbef65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH15/EX15.11/Ex15_11.sce | e8e877d749a88e476a208fea1ef33334cad36954 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 912 | sce | Ex15_11.sce | // Exa 15.11
clc;
clear all;
// Given data
Fc=4;// kHz
Q=8;
// Solution
disp(" The FLT-U2 can be used as a notch filter by summing the inverted output of the bandpass filter designed with the input signal by means of the uncommitted opamp.");
// From table 15.3 given on page no 538
R2=100;// k Ohms... |
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... |
74fa50cd6fe6c13fe314ee1682af5f008e251382 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 11/Lista Baron/q2.sci | adab44b63477a9c89ede680e0fd0bc788fcedba1 | [] | 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 | 833 | sci | q2.sci | function [x,niter]=q2(A,b,w,e)
//dimensão da matriz A
[l,c]=size(A)
D=diag(diag(A))
L=(tril(A)-D)
M = w/(2 - w) * ( ( (1/w) * D ) + L ) * inv(D) * ( (1/w) * D + L')
niter=0
//x inicia como vetor de zeros
x=ones(l,1)
//r=b, pois A*x... |
b05117a3a9fb4c03b27b78211a5dfad823de75cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH22/EX22.2/FC_22_2.sce | fa490678408704bc8a7bc261ac3641382f1e959e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,117 | sce | FC_22_2.sce | // 22-2
clc;
clear;
//Power P
P=80*10^3; //(Watt)
N=3000; //(Engine rpm)
w=2*%pi*3*10^3/60
Tf=8*10^4/w;
Rm=100;//(mm)
p=0.2 //N/mm^2
u=0.22
// let width b= (R1-R2).
//Axial force W=2*pi*Rm*b*p
//Torque T=u*W*Rm
b=Tf/(u*2*%pi*(Rm^2)*p);
b=50;
R2=Rm+b;
R1=Rm-b;
Di=2*R1; //inner diameter
W=2*%pi*Rm*b... |
9a878db480e97caa17bcc41914e75c23c85cd79a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.46/example46.sce | db0d6b4c77c01984e0baa945d4f282f863f47717 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example46.sce | //to find transfer function using mason gain formula
printf("syms G1 G2 G3 G4 H1 H2 \n //gains of forward paths\n P1=G1*G2*G3;//forward path1 gain\n P2=G4;//forward path2 gain\n //gain of individual loops\n L1=-G2*H1;\n L2=-G1*G2*H1;\n L3=-G2*G3*H2;\n //there are no two non touching loops\n //since all the loops tou... |
30c2dbc197c4b3bcfa87140f50d70c0b57621814 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH12/EX12.5.2/12_5_2.sce | 09f4d08815ed27c2e8333a628897207ba2309632 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | 12_5_2.sce | //Transport Processes and Seperation Process Principles
//Chapter 12
//Example 12.5-2
//Liquid Liquid and Fluid Solid Seperation Process
//given data
ya=0.04;//concn of A in upper layer
yb=0.02;//concn of B in upper layer
yc=0.94;//concn of C in upper layer
xa=0.12;//concn of A in lower layer
xb=0.86;//concn o... |
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")
|
be81912a81d3088bd7b8a7a1397a04e6f1b2845f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH7/EX7.10.b/Ex_7_10_b.sce | 1f225f15562b0e1eb5e719820031f7ceb57063f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_7_10_b.sce | // Example 7.10.b;//power emitted
clc;
clear;
close;
n=3.5;//refractive index
e=1.6*10^-19;//Electronic charge
ht=6.62*10^-34;//Constt
C=3*10^8;//sPPED OF LIGHT IN M/S
h=1310*10^-9;//wavelength in meter
tr=25;//radiative recombination time in nano second
tnr=90;//non radiative recombination time in nano secon... |
54beaa1434257022c31e1834c2d24bb7374aa715 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH8/EX8.8.e/8_08_example.sci | 298499649b413ddad46e29202d32fff489830752 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 664 | sci | 8_08_example.sci | //Example 8-8 Gravity-Driven Water Flow in a Pipe
T = 10 //temperature of water [degree C]
D = 5 //diameter of pipe [cm]
rho = 999.7 //density of water at 10 C [kg/m^3]
mu = 1.307 * 10**-3 //dynamic viscosity of water at 10C [kg/m.s]
epsilon = 0.00026 //roughness of cast iron pipe [m]
Vdot = 6 //flow rate required [L/s... |
d8185127363a8b575a68dc1cfe9353f57c6005d0 | 377a111fb7585caf110377625ad0e261a44e93ed | /herbie/writting/publish/codes/lockwood/aim_optimization/Lockwood/PATO_PLUS/tst/input1.tst | b1df2332d36a81fd0d06c89ea7997bfc7ff53fa2 | [] | no_license | gasduster99/theses | ba385499ea0a502b9067c243f7100d82ff1ef4ce | 9c5f8b5d7564292e2e36547ed8d5563a8639f158 | refs/heads/master | 2023-08-25T18:14:09.741032 | 2023-08-22T05:33:06 | 2023-08-22T05:33:06 | 217,375,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54 | tst | input1.tst | 12
1
1
1
1
0
1
353
6003
13526
2472
777
600
|
eb8670295f6275677ee18ff181db98841d840b33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH14/EX14.3/P3_Friction_radii_for_different_conditions.sce | 656cb6abd0f9e52a853100bb2669057522044959 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,767 | sce | P3_Friction_radii_for_different_conditions.sce | clc
//Example 14.3
//Comparison of friction radius between clutches of different dimensions
//Ro= outer radius; Ri=inner radius
//-----------------------------------------------------------------------------
//Case 1: Ro=100mm ; Ri= 90mm
Ro1=100//mm
Ri1=90//mm
Ro31=Ro1^3
Ri31=Ri1^3
Ro21=Ro1^2
Ri21=Ri1^2
/... |
bceddc56d905fd63ef9748b6e1753de4cbc3feda | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH8/EX8.18.11/Ex8_18_11.sce | 5ad28026cc34dc0d2411c6bfeb681b14a5572c8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | Ex8_18_11.sce | clear
clc
E1=-0.151;//in V
E2=0.799;//in v
E=(E1-E2);//in V
RT_F=0.05913;//in V
Ksp=10^(E/RT_F);//solubility product
printf('Ksp=%.2f*10^-17',Ksp/10^-17)
//page 487
|
d89da8e59c2b6b3ad89b56b579931bbcafe17639 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH5/EX5.3/Example_5_3.sce | 51fc97cb6bd6a96d78d44a7ec4e883087d3f6902 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Example_5_3.sce | //Nonsteady-State Diffusion Time Computation II
clear;
clc;
printf("\tExample 5.3\n");
D500=4.8*10^-14; //Diffusion coefficient at 500 C
D600=5.3*10^-13; //Diffusion coefficient at 600 C
t600=10; //Time in hours to diffuse
t500=D600*t600/D500;
printf("\nTime to diffuse at 500 C i... |
31df270b6aaeeccede5402f311542106f261bb19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH9/EX9.4/Ex9_4.sce | 697de7a2489749fc7bbbdb855ad4dc4ea9bf6519 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | Ex9_4.sce |
//Exa:9.4
clc;
clear;
close;
//Given:
Pe=10^-5;
v=0.5;
n=2*10^-6;
x=3.02;//at erfc(x)=2*10^-5 at x=3.02
T=(x^2*n)/(4*v^2);
B=1/T;
printf("\n Minimum Time Period= %f 10^-6",T*10^6);
printf("\n Maximum Bit rate = %fKb/sec",B/10^3); |
4134f83fe767ffb8f83d4afa6489f6e65a0a375d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH1/EX1.5/Example1_5.sce | 4f9e5b9118d67b95e2efd8da66fa273fd8f69916 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | Example1_5.sce | clc
//Given that
x_n=1.88// fringe separation of nth fringe from central fringe in cm
N=20// order of fringe
beta=0.02//fringe width in cm
D=120// separation between source and eyepiece in cm
d=0.076// separation between sources in cm
//Sample Problem 5 Page No. 47
printf ("\n # Problem 5 # \n")
printf (" \n... |
238b1ca8646f4f678b4e8598d63822872c43bb99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH2/EX2.3/Ex2_3.sce | 0bd668d75571218258bbf0804f46fce7e36a9566 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | Ex2_3.sce | //Ex:2.3
clc;
clear;
close;
v=28;//in volts
i=0.1;//in A
r=v/i;
p=v*i;
printf("Resistance Value = %f ohms & Power dissipated = %f W",r,p);
|
d8c3225f08debca4956da1447b097d3b3dda40e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.56/ch1_ex_56.sce | 3ec8eff3ec4449f3fdee77146e08d75641095204 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | ch1_ex_56.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 56
disp("CHAPTER 1");
disp("EXAMPLE 56");
//VARIABLE INITIALIZATION
r=1; //this is an assumption
r1=r*1; //in Ohms
r2=r*2; //in Ohms
r3=r*3; //i... |
6f0feb84d2fbeea7c6b47e1afa463f1eafa6a55c | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/autoreg_matrix.sci | bc36969ae0f6db784a77e408ebcfb2825804dead | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sci | autoreg_matrix.sci | function y = autoreg_matrix(Y, varargin)
funcprot(0);
rhs = argn(2)
if(rhs<2 | rhs>2)
error("Wrong number of input arguments.");
end
select(rhs)
case 2 then
y = callOctave("autoreg_matrix", Y, varargin(1));
end
endfunction
|
eed2dc0e139835425210a7fd07da5802748cbbea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH22/EX22.2/Ex22_2.sce | cf9bc854a2398a6165460ba312ef3ac666b68fde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | Ex22_2.sce | //chapter22
//example22.2
//page491
I_DSS=32 // mA
V_GS=-4.5 // V
V_GS_off=-8 // V
I_D=I_DSS*(1-V_GS/V_GS_off)^2
printf("drain current = %.3f mA \n",I_D)
|
adbb6e77073ce164b26e2424a0f8ed05d22c21b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/DEPENDENCIES/dft_mtx.sce | aaee76368494a1a4ae739e000f7242543732cf1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | dft_mtx.sce | function [D] = dft_mtx(n)
f = 2*%pi/n; // Angular increment.
w = (0:f:2*%pi-f/2).' *%i; //Column.
//disp(w)
x = 0:n-1; // Row.
D = exp(-w*x); // Exponent of outer product.
for i = 1:n
for j = 1:n
if((abs(real(D(i,j)))<0.0001)&(abs(imag(D(i,j)))<0.0001)... |
08859ff2f530a20bb8124aa4da8615b1804871a3 | f00b7886965ffc7ecabd54c526aa091a8777d7ce | /projects/04/divide/divide.tst | 846143d6484b20cf78581086a95fc3a04a831fd5 | [] | no_license | mishelle123/nand2tetris | 7917e1d28d6c3daeaef2c0709244294919e4cdea | 50db787e3cb75d708a1af99f931a83038ade0a96 | refs/heads/master | 2020-04-26T04:10:48.137524 | 2015-04-21T16:46:41 | 2015-04-21T16:46:41 | 33,683,102 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,443 | tst | divide.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/divide/Divide.tst
load Divide.asm,
output-file Divide.out,
compare-to Divide.cmp,
output-list RAM[13]%D2.7.2 RAM[14]%D2.7.2 RAM[15]%D2.7.2;
set RAM[13] 0, //... |
433c8a99a8941cc20e058e09129dc76ac83db1ea | 46b2e0d9f2de6dc4ce132cc405494354129e9fb3 | /False position.sce | 2ffe3985d722cfd78addcf4d3a222298f887774e | [] | no_license | nilaybhatia/Scilab-pracs | 967f03fc5aa8ad000e221944f17e9b4a81b38883 | a885af1da65d57bd66a6f9d546cd9595ca652b43 | refs/heads/master | 2020-04-09T07:23:47.318916 | 2018-12-08T16:58:25 | 2018-12-08T16:58:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | False position.sce | clc
str=input('Enter y as a function of x ',"string")
//str='y=exp(-x)-sin(x)'
deff('[y]=f(x)',str)
n=input('Maximum number of iterations= ')
printf ("\t Iteration \t Value of x \n\n")
|
dc5343a07acb1d1f549c222f45f3f4baf846934d | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /SciLab/btw.sce | 5318a0b0dd401f31fe51374bdf04cfd78036f7f6 | [] | no_license | bozhink/Code-Chunks | 74355eb4c0d423c2f6484226e564030dff798678 | 860b7b8f53089ed96fd0ebead2e3eec16fa377cb | refs/heads/master | 2020-12-24T06:19:04.343239 | 2019-11-13T14:09:15 | 2019-11-13T14:09:15 | 42,819,484 | 0 | 1 | null | 2019-11-13T14:09:16 | 2015-09-20T16:09:09 | HTML | UTF-8 | Scilab | false | false | 906 | sce | btw.sce | funcprot(0);
N=256;
A=int(4*rand(N,N));
//A=2*ones(N,N);
function z=btwUpdate(n,x)
zc=4; // Threshold value
zz=zeros(n+2,n+2);
zz(2:n+1,2:n+1)=x;
zz(n/2+1,n/2+1) = zz(n/2+1,n/2+1)+1;
toppled=%T;
while toppled
toppled=%F;
for i=2:n+1
for j=2:n+1
if zz(... |
4e4f4e0696f3e5aa1698076f88a1c45eb608e4fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH12/EX12.2/Ex12_2.sce | cdd152ddcd9a0a36ee1296772da3304306217fd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Ex12_2.sce | clear
//
//Given
//Variable declaration
L=4*1000 //Length in mm
//Calculation
thetaA=((%pi/180)*(1)) //Slope at the ends in radians
yc=(thetaA*(L/3)) //Deflection at the centre in mm
//Result
printf("\n Deflection at the centre = %0.3f mm",yc)
|
5150a71d74cb871d74b3a6cda0c589845d195414 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH13/EX13.2/13_2.sce | 828afb1f9d760953a970acab9ba5d7f9cb61a47f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | 13_2.sce | clc
//Initialization of variables
disp("For steady state, dV/dt =0")
Q=1600/449
A2=0.1963
g=32.2
rp2=2000
//calculations
V2=Q/A2
hp1=32*V2^2 /(2*g) -50
hp2=hp1*(rp2/1650)^2
hpf=169 //ft
Q=4.1 //cfs
//results
printf("Steady state flow rate = %.2f cfs",Q)
|
1f58de7ef137321534dc06ff38807a26d86529d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH9/EX9.43/Example9_43.sce | 06248f33937069f33affe1997b4e6e375ed1d383 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | Example9_43.sce | //Example 9.43
clc
disp("The maximum frequency is given by,")
f=1/(2*%pi*(9*10^-6)*2^8)
format(6)
disp(f,"f_max(in Hz) = 1 / 2*pi*(T_C)*2^n =")
|
c920a38b0d7fb68d995b948fd529a703288202cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH7/EX7.7.b/Example_7_7_b.sce | cd5bc999722a95eb15092db0ef811edc63b7c86f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,860 | sce | Example_7_7_b.sce | // Chapter7
// Page.No-270
// Example_7_7_b
// Frequency response of bandpass filter
// Given
clear;clc;
Aft=4; // Passband gain of the filter
fl=200; // Lower Cut-off frequency
fh=1000; // Higher Cut-off frequency
f1=10; // Input freq in Hz
av1=(Aft*(f1/fl))/sqrt((1+(f1/fl)^2)*(1+(f1/fh)^2));
printf("\n Gai... |
21630b4c2db7effdad20da9408b4908f7f5257dc | ffda72af53128fa90b1d8ad1a8772b965c2e3442 | /Collatz Conjecture/collatz-single.sci | b066d59c134330da1d9e31f0b0f0586e8dfd1d14 | [
"MIT"
] | permissive | linux-man/The-Travelling-Salesman-Problem | 5ca99a3b0024273ed1f6404000fb28785ee18a9f | 6e6d1020b3ae86dc928aeaeea773065d3a9145d7 | refs/heads/main | 2023-03-07T06:04:59.935447 | 2021-02-16T12:52:32 | 2021-02-16T12:52:32 | 333,133,666 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,875 | sci | collatz-single.sci | // For this script to work, you need to install bigint toolbox (https://forge.scilab.org/index.php/p/bigint/)
SAVEPATH = "" //Working directory
exec(SAVEPATH + 'bigint/loader.sce',-1)
format("v",25)
warning("off")
scf(0)
n = brand("10000000000000000000000000000000000000000000000000000000000000000000000000000000000000... |
55158af6f63d39a6eb7bef0fbed8329aea434a04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH12/EX12.2/Example12_2.sce | a9d5983f070f109c1235910fe0587805f2d7873b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | Example12_2.sce | //chapter12,Example12_2,pg 357
lam=1*10^-6//wavelength
n1=1.53
n2=1.5
NA=sqrt((n1^2)-(n2^2))
a=(2.405*lam)/(2*%pi*NA)
printf("core radius\n")
printf("a=%.8f m",a) |
eba9a46f06fab4c17f0636932fd60bcef067836c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH17/EX17.5/Ex17_5.sce | 6eab4fc67de1e5477e79d9cf430b4b9225f8f41c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 992 | sce | Ex17_5.sce | //Example 17_5 page no:838
clc;
k=500;
f1=1000;
f2=10000;
L1=k/(%pi*(f2-f1));
C1=(f2-f1)/(4*%pi*k*f1*f2);
L2=C1*k^2;
C2=L1/k^2;
//calculating the T-section filter
L11=16.68/2;//inductance of T-section filter is calculated wrongly in text book
L11=L11;//converting to milliHenry
disp("the value of T-section e... |
48b026ee3ea23b81798d427f55c5c841d482a5f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.4/ex18_4.sce | 586d08ea8b55f172bfcd9234f35158e5bd6c4057 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex18_4.sce | // Example 18.4, page no-462
clear
clc
N= 2.7*10^25//atoms m^-3
alfe=0.35*10^-40 //F m^2
eps=8.854*10^-12
epsr=(1+(2*N*alfe)/(3*eps))/(1-(N*alfe)/(3*eps))
printf("The dielectric constant of Ne gas is %.8f",epsr)
|
2d7038717e0f94b0b3652372b22409b10f9bea4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH9/EX9.14.3/ex_9_14_3.sce | 5deb16127f295442ce1166f942814040029096ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | ex_9_14_3.sce | //Example 9.14.3 // period and frequency
clc;
clear;
close;
format('v',6)
vdv=2;//volts per division in micro seconds/div
n=12;//no. of divisions
Tp=vdv*n;// period in micro seconds
f=1/(Tp*10^-3);//frequency in kHz
disp(Tp,"period in micro seconds")
disp(f,"frequency in kHz")
|
25abe318e58db943c3769943ba679bf25ad7f884 | 78ff3e16a288175ff606f38ee5ee877d4844773e | /10_chapter/10_09_example.sci | a49379b5f03fb87e3811c3313b5dd8502d16b9a3 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sci | 10_09_example.sci | //Example 10-9 Laminar or Turbulent Boundary Layer?
V = 10 //velocity of water over the fin [km/h]
T = 5 //temperature of water [C]
c = 0.5 //chord length of the fin [m]
rho_water = 999.9 //density of water at 5 C [kg/m^3]
mu = 1.519 * 10**-3 //viscosity of water at 5 C [kg/m.s]
Re_cr = 5 * 10**5 //critical Reynolds nu... |
9165ef934a3e28729cc0a021a1696d7b09e45ecc | d7087cf730b37f76170323e080c090f8094979ac | /test/eval_expr/more_3.tst | 1312ecb98eecbf1a5cd8b1aa33dc210afa3797d3 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | tst | more_3.tst | <cmd>
./main_test/eval_expr_tst "1+1+0"</cmd>
<ref>
echo "$((1+1+0))"</ref>
<stdout>
2
</stdout>
<ret>
0</ret>
|
05e9c31757ebf7ac0570d380a4b818879fec44be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH9/EX9.1/Ex9_1.sce | 84b918128f05eb2f966deb0ee6b1c3fb2561ed42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_1.sce | clc
// Given that
x=0.2// Area fraction of the fibre in the composite
Ef= 300 // Elastic modulus of the fibre in GPa
Em= 100 // Elastic modulus of the matrix in GPa
// Sample Problem on page no. 229
printf("\n # application of reinforced plastics # \n")
Ec = x*Ef + (1-x)*Em
printf("\n\n The Elastic Modulus of the ... |
0d03363f4bc1c820532e2dfc592bf29515fab885 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH3/EX3.3.2/Example3_3_2.sce | fc65f780436a04f17c8a49aa923112c598038be7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Example3_3_2.sce | //Example 3.3.2page 3.27
clc;
clear;
n= 3.7;
lamda = 950*10^-9;
L= 500*10^-6;
c= 3*10^8;
DELv = c/(2*L*n)*10*10^-10; //converting in GHz...
printf("The frequency spacing is %d GHz",DELv);
DEL_lamda= lamda^2/(2*L*n)*10^9; //converting to nm..
printf("\n\nThe wavelength spacing is %.2f nm",DEL_lamda);
printf... |
985d9d01fc922140cffa5e0e290de80f5d6af2b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH5/EX5.a.8/exaA_5_8.sce | ad6403fa7c4a034d684ccbb954ebf44bf38d3526 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | exaA_5_8.sce | // Example A-5-8
// Unit step response and partial fraction expansion
clear; clc;
xdel(winsid()); //close all windows
// Please edit path
// cd "<your codes path>/";
// exec("pf_residu.sci");
// exec("plotresp.sci");
s = %s ;
N = poly( [80 72 25 3],'s','c');
D = poly( [80 96 40 8 1],'s','c');
G = syslin('c',N,D)
t... |
c98df957134e0715fca8d6517ab5d5e69e78e493 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH10/EX10.2/10_2.sce | 2748d92280a9f09417ef1e27e53c23bb9ad3e80d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | 10_2.sce | clc,clear
printf('Example 10.2\n\n')
area= 33*13 //length * breadth
E = 72 //illumination
UF = 0.4 //utilisation factor
DF = 1.4 //depreciation factor
wattage_of_lamp=200
lumens_per_lamp= 2730
E_reqd= E*area * DF/UF //total illumination required from source
lamps= E_reqd/lumens_per_lamp//total no of lamps r... |
e0b7b3bcfbdb9bcc61333c5044a193e86d7c039c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH3/EX3.4.5/ex_3_4_5.sce | 4ea8035c9531168db83759df97786460579896f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,103 | sce | ex_3_4_5.sce | // Example 3.4.5: delay angle,rms , averae output current ,average and rms thyristor current
clc;
clear;
close;
format('v',5)
Vrms=120;//RMS VOLTAGE
R=10;//in ohms
Vldc= (0.25*(2*sqrt(2)*Vrms))/%pi;//in volts
csd= (Vldc*%pi)/(sqrt(2)*Vrms);//
alpha= acosd(csd-1);//
disp("part (a)")
disp(alpha,"delay angle i... |
a8f80424a1855d4233fe3164aeff7f1ed0808414 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.10/ex5_10.sce | 6681404caba2c96f878fe68b7b2f44e83b28d2fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | ex5_10.sce | //Chapter-5, Example 5.10, Page 169
//=============================================================================
clc
clear
//INPUT DATA
//given v=141.4*sin(314*t)
P=700;//power in Watts
pf=0.707;//powerfactor------>leading------>cos(phi)
Vm=141.4;//maximum value of supply voltage
//CALCULATIONS
Vr=Vm/(sqrt... |
280966aa46ca73b17beb451b0bc943c9c61e9cfe | b9781981d5ca15933d6c8d3cbdee299266220fc0 | /projects/01/Mux4Way.tst | 980d2975ce40a0d345bcae0583bd4f881cb7d010 | [] | no_license | zhuyoujun/nand2tetris | 7740e80bb294068661cf78a939565581eabeec7e | ed0c0f5e42bf77df6094e719083513e673594872 | refs/heads/master | 2021-01-25T05:57:51.024309 | 2016-02-03T05:56:00 | 2016-02-03T05:56:00 | 39,622,339 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | tst | Mux4Way.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/Mux4Way.tst
load Mux4Way.hdl,
output-file Mux4Way.out,
compare-to Mux4Way.cmp,
output-list a%B3.1.3 b%B3.1.3 c%B3.1.3 d%B3.1.3 sel%B3.2.3 out%B3.1.3;
s... |
d6c4dbc43e87b7f40362dbe8ca1d5fe13ffe5c4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH3/EX3.12/Ex3_12.sce | 2b992f91e695b5878dd2589d771b50eb71c767b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 921 | sce | Ex3_12.sce | clc
I=2*10^-3
disp("I = "+string(I)+" amphere") //initializing value of current flowing through the sample.
B=1000*10^-4
disp("B= "+string(B)+" Tesla") //initializing value of magnetic field.
w=0.2*10^-3
disp("w = "+string(w)+" mm") //initializing value of width of sample.
l=2*10^-3
disp("l = "+string(l)+" m")... |
b65d261400802dd3b4dca1fc553651c35f8b2979 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.15/Exa1_15.sce | c3616ecefe8df1d13b2e444ceb36b13669e641d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | Exa1_15.sce | //Exa 1.15
clc;
clear;
close;
//given data :
disp("Erms^2 = 30*Wt/r^2");
disp("Wt = Erms^2*r^2/30");
disp("Given : E = 10*I/r");
disp("Wt = (10*I/r)^2*r^2/30")
disp("Wt = 100*I^2/30")
disp("Rr = Wt/I^2 = 100/30");
disp(100/30,"Radiation resistance in Ohm : "); |
ab4519de2c3e624e9c0ac04acd945dcaf3b265cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.15/2_15.sci | e826fa64fc437df136c8479b8e4fd82acfca728c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sci | 2_15.sci | //calculating the sum of resistances connected in series with appropriate number of significant figure
clc;
R1=28.7;
R2=3.624;
R=(R1+R2);
disp(R,'sum of resistances(ohm) =');
disp('the resultant resistance is 32.3 ohm as one of the resistance is accurate to three significant figure') |
90ca2e161a626c1b3f809a855ca6be74f94df3b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH6/EX6.12/Ex6_12.sce | 8e540bd870cfee38e67c9e70a87dd0d4721e86c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Ex6_12.sce | // Example 6_12
clc;funcprot(0);
// Given data
// From Example 6_4
h=0.1;// The gap betwen the shaft and the bearing in mm
mu=6.7*10^-5;// Viscosity in Pa/s
rho=8.0*10^2;// kg/m^3
//Calculation
// (b)
t=(rho*(h*10^-3)^2)/mu;// s
printf("\nThe numerical value of t is %0.4f s",t);
|
270fe6d42718ea94b8414dac4a48bc18800e4ddc | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /DJ Simulator.sce | 1c0ef8980dce30ebd81ee787f08aa25d13dd7d67 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 156,961 | sce | DJ Simulator.sce | Name=DJ Simulator
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Fast Strafes.bot
IsChallenge=true
Timelimit=3600.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.b... |
d73eb1f069c5da61c335dd5c601db2b5718860d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH2/EX2.15/Ch02Exa15.sce | 07cc4bad5bb076efe56b98ad965a4e22da4d1ebc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 756 | sce | Ch02Exa15.sce | // Scilab code Exa2.15 : : Page 94 (2011)
clc; clear;
Y = 110e-03;// Yield of Na-24, mCi/hr
T = 14.8;// Half life of Na-24, hours
t = 8;// Time after which activity to be compute, hours
lambda = 0.693/T;// Disintegration constant, hours^-1
A = 1.44*Y*T;// Maximum activity of Na-24, Ci
A_C = A*[1-%e^(-lambda*t)];... |
6b487e05b5d5b3149ce095869861402ff5b7cada | b24d354cfcd174c92760535d8b71e22ced005d81 | /DSP functions/allpasslp2xn/test_1.sce | 0a9fad69d7b41ce48ce24af2e60a4b3fcbc8831e | [] | no_license | shreniknambiar/FOSSEE-Signal-Processing-Toolbox | 57ad8e2a71d64f95c4ccfd131e00095cf2b9c6f8 | 143cf61eff31240870dc0c4f61e32818a4482365 | refs/heads/master | 2021-01-01T18:25:34.435606 | 2017-07-25T18:23:47 | 2017-07-25T18:23:47 | 98,334,322 | 0 | 0 | null | 2017-07-25T17:48:00 | 2017-07-25T17:47:59 | null | UTF-8 | Scilab | false | false | 234 | sce | test_1.sce | // Test # 1 : No Input Arguments
exec('./allpasslp2xn.sci',-1);
[n,d]=allpasslp2xn();
//!--error 10000
//Number of input arguments should either 2 or 3
//at line 30 of function allpasslp2xn called by :
//[n,d] = allpasslp2xn()
|
9d4499fd7087f98c679cc4810ec43d240fa41dc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH4/EX4.23/Ex4_23.sce | 157821ccbc8b9c5008c1bdc56e16de68fa4db0c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_23.sce | // Example 4.23
// Calculation of overall external efficiency of a Laser diode
// Page no 486
clc;
clear;
close;
//Given data
eg=1.43; // Bandgap energy
v=2.5; // Voltage applied
nd=0.30; // Optical efficiency of laser diode
//// Overall external efficiency
ne=(nd*... |
e9ab3e4e9b8e7a4670eb7bf58ef75c060221676d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH3/EX3.22/Example3_22.sce | 6ff9e701da879dad70d54daf464e2bfcd6a1f613 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Example3_22.sce | //Example 3.22
clc;
clear;
close;
format('v',7);
//Given data :
A=2*1;//m^2
xbar=2+2/2;//meter
w=9.81;//kN/m^2
PH=w*A*xbar;//kN
disp(PH,"Horizontal component of resultant Pressure in kN : ");
PV=w*[2*2+2*2-%pi*2^2/4]*1;//kN
disp(PV,"Verticalal component of resultant Pressure in kN : ");
P=sqrt(PH^2+PV^2);/... |
a51d7a28c930108df4a1c5229383c36bcaf0c9e5 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/demos/Perceptron_Demo.sce | c2d8707eb5de2106612e80504c0cdc90758fce31 | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Perceptron_Demo.sce | // Demo for single perceptron -- Scilab
getd('../macros')
// Data preparation
M = csvRead('Datasets/titanic.csv')
x = M(:, [3,6]);
y = M(:, 2);
// Data cleaning
function xnorm = norma(x)
n = length(x)
disp(x)
mi = min(x)
ma = max(x)
for i=1:n
x(i) = 1.0*(x(i) - mi)/(ma - mi)
end
xnorm = x
endfunction
... |
c9b2ff3e1c0cebaf785842896f4e0a14093496eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH15/EX15.4/15_4.sce | 79c872aa665b3f2cc27091ef106d977cc16fb6aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | 15_4.sce | disp("λ=c*h/E");
h=6.626*10^-34;
c=2.998*10^8;
E=1.5*10^-19;
d=c*h/E;
printf('\nThe value of λ is %fμm',d*10^6);
n=0.65;
e=1.602*10^-19;
R=n*e/E;
printf('\nThe value of R is %fA/W',R);
disp("Po=Ip/R");
Ip=2.5*10^-6;
Po=Ip/R;
printf('\nThe required incident opticalpower is %fμW',Po*10^6); |
ff358c383a22be2480ccb51b3a13dbd588e23711 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH11/EX11.5/11_5.sce | 1f359fd3fd74e4f32d2c73a19551cb3cf741cad7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 11_5.sce | clear; clc; close;
Rf = 500*10^3;
A1 = -10;
A2 = -20;
A3 = -50;
R1 = -Rf/A1;
R2 = -Rf/A2;
R3 = -Rf/A3;
disp(R1,'R1(ohms) = ');
disp(R2,'R2(ohms) = ');
disp(R3,'R3(ohms) = ');
|
5dade39a6441f09b331ae67c9f1608e75bdd3d02 | f23e565144f1b0f63c7b613c0f549944d425a073 | /Cours/TP_INFO/TP_note/TD4-CITAThibault.sce | 4c33a3cfc58a007e2404c2990dc126e07b963036 | [] | no_license | Antoine-Gerard/Valar-Morghulis | c45766f03898241bd9c424256744b5ffa16dd82c | 796363bfbc6f2e3249c90f1762e041ff5a4e705a | refs/heads/master | 2021-08-31T06:06:55.296982 | 2017-12-20T13:54:33 | 2017-12-20T13:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sce | TD4-CITAThibault.sce | //Cita Thibault
//Exercie A
v0= zeros(1,50)
v1= 10*ones(1,50)
v2= |
3b896a82a087346520964df1ca454d09e5e46074 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /dbt air rockets.sce | 075a208b98007225f40b4c731200fb4ea4b68a4c | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29,145 | sce | dbt air rockets.sce | Name=dbt air rockets
PlayerCharacters=QC no movement
BotCharacters=target_decay_midair.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=QC no movement
AddedBots=target_decay_midair.bot
PlayerMaxLives=0
BotMaxLives=100
PlayerTeam=1
BotTeams=2
MapName=boxernobounds.map
MapScale=3.5
BlockProjectilePredictors... |
1bc1ca842b3453cde0d555728fcc05fcd2d62ab4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH4/EX4.7/7.sce | f4a554df61b34fcd5081536d561cd3c8f073714c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | 7.sce | clc
clear
//INPUT DATA
w=5893*10^-10//wavelength of sodium light in m
Re=1.5532//Refractive index of quartz for e ray
Ro=1.5332//Refractive index of quartz for o ray
//CALCULATION
t=((w/(4*(Re-Ro))))/10^-6//thickness of a quarter wave plate of quartz for sodium light in m *10^-6
//OUTPUT
printf('The thickn... |
c26ca28dfd000134fed39208a4dee5ae2560e79a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH6/EX6.14/Ex6_14.sce | b93675d483150252d6444e40f9e06c463f5b0e64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_14.sce |
//Example No.6.14.
//Page No.191.
//To find interplanar distance.
clc;clear;
// (h,k,l) are the miller indices of the given lattice plane (212).
h = 2;
k = 1;
l = 2;
a = 2.04;//Lattice constant -[A].
d = (a/sqrt(h^2+k^2+l^2));
printf("\nThe interplanar distance is %.2f A",d);
|
f07bb5bc9c8cdc1b28ebda4f1e638a968c28836a | 27e7499ddd3bb1d3c73a575f3555bac816e2c2b1 | /testovac/task_data/order/03.tst | 78f733c6d83b0866f620e44b57bc2b68853c9972 | [] | no_license | mirelon/ksp-editor | eeccf1ca22e6808cf10d49d03a2bbef53ab5b305 | c750d25154a6b8cb7e765ce17e9bc5ccfdc9bfd8 | refs/heads/master | 2019-01-02T08:32:00.363803 | 2014-09-23T14:02:06 | 2014-09-23T14:02:06 | 33,381,936 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | tst | 03.tst | 914615
(
317403
(
0
(
)
(
)
)
(
11560
(
)
(
)
)
)
(
30725
(
611534
(
)
(
)
)
(
960600
(
)
(
778767
(
)
(
)
)
)
)
|
cc5d807bf42c5906cd7cc1f5562dddbf6a197efe | 6e51f2fdd036612dc2b51c405904fed97d2ae8b0 | /src/test_server_1_a.tst | 67b6291053884e08af7cdf0eb3b18f6989cee775 | [
"MIT",
"Zlib",
"BSD-3-Clause",
"OML"
] | permissive | joe-nano/ciyam | 92c6ccb58029a1b2a641a7e00417ab524cb9f957 | a92c296b911b29620a7bb3b758eb55339e040219 | refs/heads/master | 2022-04-16T14:39:55.822434 | 2020-03-27T06:39:13 | 2020-03-27T06:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,368 | tst | test_server_1_a.tst |
> version
0.1
> session_list -min
1* session_list <none> <unknown> 0:0 0:0 2
> encrypt -no_ssl -no_salt for_testing_password
Zm9yX3Rlc3RpbmdfcGFzc3dvcmQ=
>
>
>
> X
> X.
> .X
> X
> X.
> .X
> XY
> XY.
> .XY
> X.Y.
> XY
> .XY
> XY.
> X.Y.
> XYZ
> XYZ.
> .XYZ.
> X.Y.Z.
> XYZ
> XYZ.
> .XYZ.
> X.Y... |
430aedc8e82b938d8ea99928f6e1b33f43eae4a8 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Proyecto1/dijsktra.sce | 46e02d8f812175d56b750623dda033feda8b3f43 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,496 | sce | dijsktra.sce | function D = dijkstra(G, pairs)
//This function takes an adjacency matrix called G
//and a p-by-2 matrix called pairs.
//The pairs matrix will contain pairs of indices.
// This function will determine the shortest distance from
// the first index in the pair to the second index for
// every pair in matrix pai... |
623f353c5c0b0fcb2de1b616fd717f3c85f8e3b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH6/EX6.4/6_4.sce | 8fd66ac87b49c7a64e69ec633d2f29cf70b3e51d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | 6_4.sce | //Ratio of speeds of a generator and motor
clc;
clear;
V=250;
Il=80;
Ra=0.12;
Rf=100;// Field Resistance
Ish=V/Rf;// Field Current
Ia1=Il+Ish;// Machine Current genrated
Ia2=Il-Ish;// Motor Current taken by the motor
E=V+(Ia1*Ra);// Generator Induced EMF
Eb=V-(Ia2*Ra);// Motor Operating EMF
//... |
87c9cf832aa538f1eec564c9636f83da02d4947d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/percent/%polss.sci | b1be350d108f62c347c1b8cb856de1e4ec0b7f89 | [
"MIT",
"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 | 148 | sci | %polss.sci | //[r]=%polss(s1,s2)
//%polss(s1,s2) effectue le test d'egalite entre polynome et systemes d'etat
//correspond a l'operation s1==s2
//!
r=%f
//end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.