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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
089b60900f9e396c41808ddc30071f8a9f983851 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.19/ex3_19.sce | 23548ab4bfc5011485c9cbf595ed2afa0e2052d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 788 | sce | ex3_19.sce | //Caption:In a single phase transformer Determine equivalent resistance referred to secondary side and equivalent reactance referred to secondary side
//Exam:3.19
clc;
clear;
close;
V_1=2000;//Primary voltage at no load or full load(in Volts)
V_2=400;//Secondary voltage at no load (in Volts)
K=V_2/V_1;//Ratio of... |
a9ac71d6d8727342673c3ae400f4ef0ac1edd82a | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH28/EX28.1/ex_28_1.sce | 231056c07ca0161e92bfa31e15a4d7da66650c09 | [] | 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 | 628 | sce | ex_28_1.sce | //find
clc
//solution
//given
G=10
//Tg/Tp=10
//Dg/Dp=10
L=660//mm
P=500*1000//W
Np=1800//rpm
q=(%pi/180)*22.5
Wn=175//N/mm
Aw=1
//Tp=(2*Aw)/[G*{sqrt(1+1/G*(1/G +2)*(sin(q))^2)-1}]
//x=G*{sqrt(1+1/G*(1/G +2)*(sin(q))^2)-1}
printf("numbr of teeth on pinion is,%f\n",Tp)
printf("numbr of teeth on pinion is... |
4f5a0212c6dd462b04a0cf9604a2883682753a40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH10/EX10.5.2/EX10_5_2.sce | 9077337429b1317098c559ad06895259509a6b5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,555 | sce | EX10_5_2.sce | //Example No. 10.5.2
clc;
clear;
close;
format('v',6);
N=5;//no. of turns
f=300;//MHz(Frequency)
c=3*10^8;//m/s(speed of light)
disp("Part (i)");
lambda=c/(f*10^6);//m(Wavelength)
C_BY_lambda=1;//(Circumference/wavelength)
disp("Near optimum circumference is "+string(C_BY_lambda)+"*lambda");
C=lambda;//m(Ci... |
a7079b217ce8dd13bf6921a2fcfed88b8ff284ff | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.17_7.tst | 88d912f5e2029793a2d0077da524c8428496d36d | [] | 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 | 26,710 | tst | bow.17_7.tst | 17 34:1.0 48:0.09090909090909091 520:0.5 669:0.16666666666666666 1722:0.3333333333333333 3532:0.5 3544:0.5 3635:1.0 3761:1.0 4337:1.0 4375:0.5 4564:1.0 5557:1.0 5833:1.0 6576:1.0 6594:1.0 7831:1.0 7989:1.0
17 3:1.0 4:0.15384615384615385 18:0.14285714285714285 46:0.06666666666666667 61:0.5 73:1.0 217:1.0 283:0.2 335:0.2... |
ef9c8b43c458a83c2f84d7b944137bb045a63f1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH7/EX7.11/Example7_11.sce | 3c9a0e3eaf9460f94d67026a5c9d298abfe161e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Example7_11.sce | //Example 7.11
//Program to Calculate DC Bias Voltages and Currents
clear;
clc ;
close ;
//Given Circuit Data
Vcc=12; //V
Vbe=0.3; //V
R1=40*10^3; //Ohms
R2=5*10^3; //Ohms
Re=1*10^3; //Ohms
Rc=5*10^3; //Ohms
Beeta=60;
//Calculation
Vb=(R2/(R1+R2))*Vcc;
Ve=Vb-Vbe;
Ie=Ve/Re;
Ic=Ie;
Vc=Vcc-Ic*Rc;
Vce=V... |
1f1139f1dc003e36002f1aa0cf606fb1f18026bc | e84c695e8b1696d2aeef6bd6e769c7948dbeb16a | /cn/jacobi.sce | 99a2932e3adc17ed0ade2c1d2a5128cb14fb4048 | [] | no_license | xarmison/disciplinas | 33bdef9ced6b7fd2da82d9929eb06a2fe5f66143 | 0fd6cd2241ab5108061e46f95f6db01b1ad8a350 | refs/heads/master | 2022-01-05T16:37:51.066680 | 2019-06-29T15:35:46 | 2019-06-29T15:35:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | jacobi.sce | clear
clc
// Metodo iterativo de jacobi para resolução de sistemas lineares
function [x, i, eR] = jacobi(A, b, x, p)
B = eye(A) - inv(A .* eye(A))*A;
g = inv(A .* eye(A)) * b;
i = 0
while(1)
xOld = x;
x = B * xOld + g;
eR = max(abs(x-xOld))/max(abs(x));
if(eR < 10^-p)... |
29c46d92e16008bb9e382fb880d0532080648974 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.34/Ch04Ex34.sce | 23877e60198adee5af0cff5ebc5537ac9ad3300a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | Ch04Ex34.sce | // Scilab code Ex4.34: : Pg:188 (2008)
clc;clear;
Lambda = 5896e-08; // Wavelength of light, cm
d = 0.3; // Path difference between the M1 and M2 mirrors, cm
r = 0; // For central bright fringe
// Since 2*d*cos(r) = n*Lambda and for r = 0 which gives 2*d = n*Lambda
// 2*d*cos_theta = (n-6)*Lambda, solvin... |
730d395284faf72a4d6e5e59b8caf14fd01ef39a | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/physique/son/accorder_battements.sce | 7c10f1fa7b571ce204e520cd112d36ba90f4c0f2 | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | accorder_battements.sce | clear;
n=10; // duree
fs=44100; // frq ech
f1=440; // frq de ref
delta_f = 0.5; // erreur de f
t=soundsec(n, fs);
sref=sin(2*%pi*f1*t)*0.1;
s2=sin(2*%pi*(f1+delta_f)*t)*0.2;
s=sref+s2;
plot2d(t,s);
savewave("accorder_battements.wav",s,fs);
|
a4929b9800ec2db37cbddb2abf4038de14f14140 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH16/EX16.5/16_5.sce | b40e0450b11f59d832a4ab2b8f605ac26754124f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | 16_5.sce | clear;
clc;
D=15;Ro=75;
N=10^(D/20);
R1=Ro*(N-1)/(N+1);
R2=Ro*2*N/((N*N)-1);
printf("The arms of the T section will contain:\n");
printf(" R1 = %f ohms\n",round(R1*100)/100);
printf(" R2 = %f ohms\n",round(R2*100)/100);
//the difference in result of R1 is due to erroneous value in textbook.
disp("The differen... |
9026ee439a3e87ce7d81cba7a8e4e31b4735f6d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.1/Ch02Ex1.sce | 31c3c090ba154f74ade65f60b02ab940071ecb47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Ch02Ex1.sce | // Scilab Code Ex2.1:: Page-2.9 (2009)
clc; clear;
lambda = 5893e-008; // Wavelength of light used, m
D = 200; // Distance of the source from the screen, m
b = 0.2; // Fringe separation, cm
d = lambda*D/b; // Separation between the slits, cm
printf("\nThe separation between the slits = %3.1e cm", d);
... |
6c35ec2493378d39614a98ecc0893974fd6b0999 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH8/EX8.3/Example_8_3.sce | b3547368006d3406d0836bd653a766c00483e4c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 757 | sce | Example_8_3.sce | //Scilab Code for Example 8.3 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
syms n w;
h=(0.3)^n;
disp(h,'The impulse response of the system is:');
H=1/(1-(0.3*exp(-%i*w)));
disp(H,'The Transfer function of the system is:');
n=1;
for w=-%pi:0.1:%pi
Hmag(n)=1/sqrt(1.09-(0.6*cos(w)));
Hphs(... |
94a23802052c52373f874991a18248cf308c2682 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH1/EX1.5/Ch01Ex5.sce | 7c215acbc8a78f2634f73d5090309e2b9fd5be5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Ch01Ex5.sce | // Scilab code Ex1.5: Pg.9 (2008)
clc; clear;
I = 120e-06; // Electric current, A
t = 15; // Time for transference of charge between two points, s
// Since I = Q/t, solving for Q
Q = I*t; // Electric chrage transferred, C
printf("\nThe value of electric charge transferred = %3.1f mC", Q/1e-03);
// Res... |
f3d4505a26af212f11f4aed75dd4885aeb54f00a | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH9/EX9.10c/eg9_10c.sce | 0612c0de6be5f25265379dee217c9c3b91be71fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,053 | sce | eg9_10c.sce | x1 = [44 33 33 32 34 31 33 30 34 34 33 36 33 34 37];
x2= [1.3 2.2 2.2 2.6 2.0 1.8 2.2 3.6 1.6 1.5 2.2 1.7 2.2 1.3 2.6];
x3 = [250 115 75 85 100 75 85 75 225 250 255 175 75 85 90];
x4= [0.63 0.59 0.56 0.55 0.54 0.59 0.56 0.46 0.63 0.60 0.63 0.58 0.55 0.57 0.62 ];
y = [18.1; 19.6; 16.6; 16.4; 16.9 ;17.0; 20.0; 16.6; 16.2... |
deb97b4216e7ca669fb588a41ad116b5c27acbef | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH11/EX11.6/Ex11_6.sce | 890b7fcda312a09bef2a4b9570d92c7a361dbf02 | [] | 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 | 650 | sce | Ex11_6.sce | errcatch(-1,"stop");mode(2);//Caption: Calculate (a)Speed at which mechanical power from rotor will be maximum (b)Maximum power
//Exa:11.6
;
;
p=4//Number of poles
f=50//Frequency(in hertz)
V=440//Supplied voltage to induction motor(in volts)
R_r=0.1//Rotor resistance per phase(in ohm)
X_r=0.8//Rotor reactanc... |
794bbf275ed26965a1579ee69ea3959aa1d1d073 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH2/EX2.1/2_1.sce | 58873b8d4a0c9fafd18d5210a87e357519f0d4b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | 2_1.sce | clc;
disp("Example 2.1")
mew= 5e-3
//coefficient of viscosity in kg/ms
u=0.1
// velocity in m/s
b=3.5e-3
// width in metres
tau= (mew*u)/b // the value of shear stress
disp(" The value of shear stress is ")
disp(tau)
|
615daccb6a4fc1272179e0d4551d50809b6435e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH13/EX13.18/13_18.sce | 8dded6a250221138cd946f4890c95dd074acd2ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | 13_18.sce | //To find speed of road wheel
clc
//Given:
TA=10, TB=60
NA=1000, NQ=210, ND=NQ //rpm
//Solution:
//Refer Fig. 13.24 and Table 13.20
//Calculating the speed of crown gear B
NB=NA*(TA/TB) //rpm
//Calculating the values of x and y
y=200
x=y-210
//Calculating the speed of road wheel attached to axle P
NC=x+y /... |
25bc958a3256a5a891380d50f9226cfd9a66648d | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /narr05.sce | c72ff55ea87c7c53610c4aedc8107a742002ff36 | [] | 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 | 11,724 | sce | narr05.sce | Name=narr05
PlayerCharacters=player_char
BotCharacters=narrow_bot.bot
IsChallenge=false
Timelimit=30.0
PlayerProfile=player_char
AddedBots=narrow_bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=narrow_strafe.map
MapScale=10.0
BlockProjectilePredictors=true
BlockCheats=true
Invincib... |
050b786cdc4b9d04241ae02299d6c9387a81d816 | 13525377024c6d91a5eee2f120caf1f837b42683 | /Scilab/Probleme_S.sce | f5acefa7a715dfe2e5d32e327599630a6310088e | [] | no_license | BASARANOMO/water-distribution-network-convex-optimization | b6ea0b6c17734ff00f04065ff3a4b216166acffd | 454e87fa668cfbabe3e62991c87b24d679df6c75 | refs/heads/main | 2023-02-25T12:39:50.978120 | 2021-02-03T08:55:07 | 2021-02-03T08:55:07 | 335,556,035 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,805 | sce | Probleme_S.sce | ///////////////////////////////////////////////////////////////////////////////
// //
// DONNEES ASSOCIEES A LA RESOLUTION DES EQUATIONS D'UN RESEAU //
// //
... |
120408d70750e995270a74310d3de7ca804d1e34 | de14a6897d4397228a52bacb8905b8807370ef4b | /trace_poly.sce | 06190643531561ebfd356513173a875be1ef3482 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | trace_poly.sce | data=[...];//ici les donnees
t=data(:,1);
y=data(:,2);
function return=constrA(t,y,d)
n=length(t);
A=ones(n,d+1);
for i=1:d
A(:,i+1)=t.^i;
end
return=A;
endfunction
function [theta,reg,erreur]=reglin(t,y,d)
A=constrA(t,y,d);
theta=A\y;
erreur=norm(A*theta-y)^2;
reg=A*theta;... |
1861ee6f8ada3dec711629c14095a466c56ac719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH11/EX11.1/Ex11_1.sce | 728cd48ab7360b703efe624d4bc5ea4768ef182d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | Ex11_1.sce | // Problem 11.1,Page no.273
clc;clear;
close;
P=10 //KN //Load
e=0.06 //m //eccentricity
b=0.240 //m //width of column
d=0.150 //m //depth of column
//Calculations
sigma_d=P*(b*d)**-1 //KN/m**2
M=P*e //KN*m //Moment due to eccentricity
Z=(d*(b)**2)*6**-1 //mm**3
sigma_b=M*Z**-1 //KN/m**2
sigma_CD=sigma_d+sigma_b
... |
36fc9e3def81f228763720ee0af8a1391da10036 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH10/EX10.10/EX10_10.sce | 0ce9d7c99d261f6b50822b6e1ad8a351cf7fa9dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,068 | sce | EX10_10.sce | // Example 10.10
// Computation of (a) Mechanical power developed (b) Torque developed
// (c) Shaft torque
// Page No.427
clc;
clear;
close;
// Given data
T=40; // Hp rating of motor
Rf=95.3; // Field resistance
VT=240; // Rated voltade of the machine
IT=140... |
6e2519e223894310828c714b274ab46e9d22731a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH6/EX6.16/6_16.sce | 5836a7c699f512f7113f9bca6ae458210964c322 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_16.sce | //clc();
clear;
//To calculate the spacing of the crystal
V=854; //accelerated voltage in V
theta=56; //glancing angle in degrees
n=1;
h=6.625*10^-34;
m=9.1*10^-31;
e=1.6*10^-19;
lambda=h/(sqrt(2*m*e*V));
disp(lambda); //wavelength in m
d=(n*lambda)/(2*sind(theta));
printf("spacing of cry... |
a28df74038c40e21959fda99d791d9fbf02deca6 | d65667bd6da157e725e5083a95c7a5e3c5e50371 | /hdf5/.svn/pristine/a2/a28df74038c40e21959fda99d791d9fbf02deca6.svn-base | e01d5f24ceb55805954dc50418f34da111be4978 | [] | no_license | DCC-Lab/Umuco | 4748640ddd5869f193303057445fccbf2e1cc6c5 | 41c38cd6c8e8d771708959eb02c9dee054148cbc | refs/heads/master | 2020-08-07T01:11:31.456247 | 2019-02-24T18:16:16 | 2019-02-24T18:16:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | a28df74038c40e21959fda99d791d9fbf02deca6.svn-base | Creating datasets...
DS1 has allocation time H5D_ALLOC_TIME_LATE
DS2 has allocation time H5D_ALLOC_TIME_EARLY
Space for DS1 has not been allocated.
Storage size for DS1 is: 0 bytes.
Space for DS2 has been allocated.
Storage size for DS2 is: 112 bytes.
Writing data...
Space for DS1 has been allocated.
Sto... | |
2d5ff72beb144a3b2bf70ffaa7ad2117bd749e8f | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /Inria/2 cohorts/Tfini/DiffGame - Tfini.sci | 4ecd90990a9dc858ba5c8732c5812d0603c8816b | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,050 | sci | DiffGame - Tfini.sci | clear
clf()
exec('C:\Users\Julien Guégan\Documents\Cours\MAM4\STAGE\2 cohorts\Tfini\Fonctions 2 cohorts - T fini.sci',-1)
T = 20
t = 0:T
// CI
M01 = 800
M02 = 800
n1 = 100
n2 = 1
n = n1+n2
Mee = fsolve(0,eqnM)
τee = fsolve(0,list(lambda,Mee))
disp(" M** = "+string(Mee)+" , τ** = "+string(τee))
Mσ = 1700//Mσ au d... |
4110a54ed7431930ce7e2602c4459f6fe39dfb01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.1/Example6_1.sce | a1aaf21f65b7703aa3d7dcf24f687bb8224f4da5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | Example6_1.sce | //Example 6.1.
clc
format(5)
IE=10
IC=9.8
disp("The emitter current is,")
disp("IE = IB + IC")
disp("10 = IB + 9.8")
IB=IE-IC
disp(IB,"Therefore, IB(mA) = ") |
d5d2aceabe194e2fa151f2e7d986945adf2c5451 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH11/EX11.1/Chapter11_Example1.sce | 16909c80e0f18fc29a53cb9bb5d65548f1a58c5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter11_Example1.sce | clc
clear
//Input data
h=6.625*10^-34//Plancks constant in J.s
e=(1.6*10^-19)//Charge of the electron in C
c=(3*10^8)//Velocity of light in m/s
V=(10*10^3)//Potential difference applied in V
//Calculations
lmin=(12400/V)//The wavelength of X-rays emitted in angstroms
v=(c/(lmin*10^-10))/10^18//Frequency of t... |
da0bd78a7f3c02628428fadb5ab2a8038412d4d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH6/EX6.21/6_21.sce | 3ec65d2a919851a406dbe324530dfc9e93d3b73b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,181 | sce | 6_21.sce | //pathname=get_absolute_file_path('6.21.sce')
//filename=pathname+filesep()+'6.21-data.sci'
//exec(filename)
//Steam entering:
//Pressure(in MPa):
p1=2.5
//Temperature(in °C):
T1=350
//Steam rejected:
//Pressure(in kPa):
p2=20
//Dryness fraction:
x2=0.92
//Pressure of one quater of intial steam(in kPa):
p... |
fee7e6c8eab564cd5376d437115a4941c1d8a5b0 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Space/Trajectories/Voyager 2 zoom Jupiter.SCI | 0b0f45cd79e153ee1fdee557e52a9cae3e03f176 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 5,793 | sci | Voyager 2 zoom Jupiter.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
codeblock readtextfile(ScriptDir+"\Astronomy\_SUB\LoadPlanetMoonsKepler.sci");
au2km=149598000;
JID=0;
ssysframe=ssys_create;
showconstellations=true;
ssys_showconstellations(showconstellations);
root.SC.Universe.StarB... |
c8e13b39cc07306523f5bf4cdfd3fdccbb1b5373 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.28/P2_28.sce | d90addf124b3f77c7bc7e0fb3a45ef56d85f762f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | P2_28.sce | //EXAMPLE 2.28,graphical representation of convolution of x & h.
clear;
clc;
x=[-2 0 1 -1 3];
disp(x,'x');
h=[1 2 0 -1];
disp(h,'h');
n=0:7;
y=convol(x,h);
disp(y,'convolution = ');
clf();
figure(0);
a=gca();
a.x_location="origin";
a.y_location="origin";
plot2d3(n,y)
plot(n,y,'r.')
xtitle('convolution','n','Y');
a.chil... |
6fe4c59c103f0b84357e196bb7830cceb93c133f | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH2/EX2.28/2_28.sce | c580b72eb9fed5710e2f5c7a17fbef5563c8ba07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | 2_28.sce | clear; clc; close;
Rl = 1200;
R = 320;
Vz = 20;
Izm = 60*10^(-3);
Vimin = ((Rl+R)*Vz)/(Rl);
Il = Vz/Rl;
Irmax = Izm+Il;
Vimax = Irmax*R + Vz;
disp(Vimin,'Min value of V :');
disp(Vimax,'Max value of V: ');
|
fe531283833f1d81f0ac50acbb198f98830e8822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.49/EX8_49.sce | 694eca5132f9e1cac7ca5f87a73965000d74d05d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | EX8_49.sce | //EXAMPLE 8-49 PG NO-562
Ro=500;
N=10;
RA=Ro*[(N-1)/(N+1)];
RB=Ro*[(N+1)/(N-1)];
R1=Ro*[(N-1)/(N+1)];
R2=Ro*[(2*N)/(N^2-1)];
disp('ii) RESISTANCE (RA) is = '+string (RA) +' ohm ');
disp('ii) RESISTANCE (RB) is = '+string (RB) +' ohm ');
disp('ii) RESISTANCE (R1) is = '+str... |
59abc8d91c61419c45b4d934e6040eed92018d52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH3/EX3.14/Ex3_14.sce | 4b291d2e43da7013dfb5483fa7c18d2853610c13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_14.sce | clc;clear;
//Example 3.14
//given value
T=25;
//from table 3-1
Psat=3.17;//on kPa
//calculations
//Relative Humidity 10%
Pv1=0.1*Psat
//Relative Humidity 80%
Pv2=0.8*Psat
//Relative Humidity 100%
Pv3=1*Psat
// from table 3-1 Tsat at these Pressures are
T1=-8;
T2=21.2;
T3=25;
disp(T1,'With rel... |
cf4bc96dc15f22d83d62d591c22f3af1aeb953e6 | cefe1787aed5bd5b40d2139f03ad095cab6f6c01 | /input/sencilloweb.tst | 82d131e68aee31be38722b9832b3261415debe62 | [] | no_license | ftmlik/tfg_roc_keel | 088e73a34b6569c1c0a0d5880d98740888ef552d | 071179de84fa663099aaeb695d60fbbda6076e11 | refs/heads/master | 2020-04-04T02:49:17.564536 | 2017-01-07T15:16:13 | 2017-01-07T15:16:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | tst | sencilloweb.tst | true-class positive negative
positive 0.9 0.1
positive 0.9 0.2
negative 0.9 0.3
positive 0.9 0.4
positive 0.9 0.45
positive 0.9 0.46
negative 0.9 0.47
negative 0.9 0.48
positive 0.5 0.6
positive 0.9 0.49
negative 0.9 0.495
negative 0.39 0.71
positive 0.38 0.72
negative 0.37 0.73
negative 0.36 0.74
negative 0.33 0.77
ne... |
010e02a103f9d819782bdbd1ef8eda7cc037b28a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3159/CH16/EX16.5/Ex16_5.sce | 30a5c2e59720cdcd5cbb7ee15a750900fc2fb5e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Ex16_5.sce | // Calculation of eddy current loss at normal voltage and frequency
clc
Total1 = 2300 // total iron loss in W at 440 V and 50 Hz
Total2 = 750 // total iron loss in W at 220 V and 25 Hz
printf("\n Example 16.5")
W_e = 1/2*(Total1-2*Total2)
printf("\n Eddy current loss at normal voltage and frequency is %dW",4*W_e)... |
5569bcfb9f4dd1db60921ceb155452d9a7fe7c6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH12/EX12.10/Ex12_10.sce | bc8d7d5e1e445bcd706ee20acd30e105ff591517 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,592 | sce | Ex12_10.sce | // Example 12_10
clc;funcprot(0);
// Given data
T=25;// °C
P=1;// atm
// The combustion equation C_3H_8+12.5(O_2+3.76N_2)--->3CO_2+4H_2O+7.5O_2+47N_2
N_p=1;// mol
N_CO2=3;// mol
N_H2O=4;// mol
N_N2=47;// mol
N_O2=7.5;// mol
hbar0_fp=-103850;// kJ/kmol (C_3H_8)
hbar0_fCO2=-393520;// kJ/kmol
hbar0_CO2=9360;/... |
f9c60e8bf32e23f2ae097982299629083231fb42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH5/EX5.1/Example5_1.sce | 6f54cda8007e045e035a0c01168d6bb350050bed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | Example5_1.sce | //Example 5.1
clc;
clear;
close;
format('v',9);
//Given data :
m=2000;//litre or kg(1litre water =1kg)
M=m/60;//kg/s
p=4.5;//bar
p=p*10^5;//N/m^2
g=9.81;//constant
w=g*1000;//N/m^3
H=p/w;//m
Power=M*g*H/1000;//kW
disp(Power,"Power required in kW : ");
|
bd68fc3c037e22bca2f0194ef191c466bdfe22d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH3/EX3.17/Chapter3_Example17.sce | 5f953dd6842d7c37d4624bd769afcf097a55e67c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | Chapter3_Example17.sce | //Chapter-3, Example 3.17, Page 74
//=============================================================================
clc
clear
//INPUT DATA
D1=0.1;//I.D of the first pipe in m
D2=0.3;//O.D of the first pipe in m
k1=70;//Thermal conductivity of first material in W/m.K
D3=0.4;//O.D of the second pipe in m
k2=15;... |
fe97d6c60dca8c9da6f961ad4d816f93db9b335f | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.19/example19_sce.sce | 98c8482420286734f1634d50dbab1ba426a37ad5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example19_sce.sce | //chapter 19
//example 19.19
//page 862
printf("\n")
printf("given")
Vbe=.7;R2=560;R3min=0;R3max=1*10^3;Is=2*10^-3;
Ic2max=Vbe/(R2+R3min)
Ic2min=Vbe/(R2+R3max)
Vgsmin=(Is+Ic2min)*820
Vgsmax=(Is+Ic2max)*820 |
879a46a7a0da19356fc21107eabe08b59ee81eb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.9/ex12_9.sce | be20e3c96d6b5d55ed050dfb21bb98b8df67314f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex12_9.sce | //Chapter-12, Example 12.9, Page 351
//=============================================================================
clc
clear
//INPUT DATA
Rl=500;//resistance of load in ohms
f=400;//frequency in hz
ripplefactor=0.1;
//CALCULATIONS
C=inv(4*sqrt(3)*f*Rl*ripplefactor);//capacitance in uF
mprintf("thus capacita... |
b4efea205d1acbb0db2dd03c623ddda6aa2882d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.37/Exa2_37.sce | e9e5a9fb028211116e4619e239511fe64f490c8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Exa2_37.sce | //Exa 2.37
clc;
clear;
close;
//Given data :
format('v',7);
f=50;//in Hz
P=4;//no. of poles
phase=3;//no. of phase
MotorOutput=20;//in H.P.
MotorOutput=20*735.5;//in watts
S=4;//full load slip in %
MechLosses=500;//in watts
Pdev_rotor=MotorOutput+MechLosses;//in watts
S=S/100;//fractional slip
RotorI2RLo... |
0bedcdcfb7cee9d395db5ab77888b7082061ca5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH22/EX22.4/22_4.sce | 4faf109f9893468e6861afbcb8cf7517532d289e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,482 | sce | 22_4.sce | clear
clc
//Example 22.4
disp('Example 22.4')
K=[-6 3;12 5];
tau=[0.67 2;0.67 5];
s=%s;
G=K./(1+tau*s);
delay75=0.75;
delay1=1;
RGA=K.*inv(K');
disp(RGA,"RGA=")
//IMC based tuning
tauC=[tau(1,1) tau(2,2)];
Kc=diag(tau./(repmat(tauC,2,1)+[delay75 delay1;delay75 delay1])./K);
tauI=diag(tau);
disp(Kc,"Kc=")
disp(tauI,"t... |
0625f7ccac04bf23c58f93b119b36b882e3fe024 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Hydraulics_And_Fluid_Mechanics_E._H._Lewitt_1466.zip/Hydraulics_And_Fluid_Mechanics_E._H._Lewitt_1466/CH20/EX20.5/20_5.sce | 851f8dfb36be83e02e9d2a7f64f416a559ccf69a | [] | 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 | 315 | sce | 20_5.sce | mode(2);errcatch(-1,"stop");driver("GIF");clc
//initialisation of variables
clear
W= [0 2000 4000 6000 8000 10000 12000 14000]
V= [4 3.76 3.48 3.18 2.86 2.48 2.02 1.47]
//CALCULATIONS
plot (V,W)
xinit('/home/fossee/Downloads/tbc_graphs/Hydraulics_And_Fluid_Mechanics_E._H._Lewitt_1466/20_5');xend();exit();
|
6e6347093eb1b83f4d838ec6e0599466db5cbc0f | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/naivegauss/naivegauss.sci | 0c9040c07ef0f360af933952dc5a44ab61a01cee | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sci | naivegauss.sci | function sol=naivegauss(A,b)
M=[A b];
[n m]=size(M);
for j=1:n-1
for i = j+1:n
M(i,:)=-M(i,j)/M(j,j)*M(j,:)+M(i,:);
end,
end
nA=M(1:n,1:n);
nB=M(:,n+1);
sol=subbalik(nA,nB);
endfunction
function nilai=subbalik(A,b)
[m,n]=size(A);
x(n)=b(n)/A(n,n);
... |
8c145397afa5cad667c9c2405a6289b11f322c89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH10/EX10.18/10_18.sce | fd005b957d46b5d5b4db0c0e437a55cf5fa0ba46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | 10_18.sce | R=1.2
V=220
Ea35=V-35*R
n35=(475+400)/2
V=200
E0=V-35*(R+2)
n=n35*E0/Ea35
disp(n)
|
946be9991b430c1e640596041bb5020400f91df7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH3/EX3.11/3_11.sce | 64bac906a5b0a9df0f5ec759c6a610183d0096dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | 3_11.sce | //To calculate the velocity and kinetic energy of electron
h = 6.626*10^-34; //planck's constant, J sec
m = 9.1*10^-31; //mass of electron, kg
e = 1.6*10^-19;
lamda = 1.66*10^-10; //wavelength, m
v = h/(m*lamda); //velocity of electron, m/sec
v_km = v*10^-3; //velocity of electron, km/sec
... |
1d30a6ab6e3b45325112b9af65938b5804d2262c | 217746639c1e35275f7671eba32b352991e2394b | /code/vandermonde.sce | 4d5e4fd0f613dd8b4db81b6bc7bf4173e3e143ec | [] | no_license | fcomovaz/scilab-equivalents | 02a5aef393889794ca0d4e41a792f270028f6ab2 | 92613581053bf96241d2621e26b29b0a4ca5910f | refs/heads/master | 2023-01-13T20:19:48.874360 | 2020-11-26T19:28:46 | 2020-11-26T19:28:46 | 279,466,045 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | vandermonde.sce | function V = vander(data)
n = length(data);
V = zeros(n,n);
for i=1:n
V(:,i) = data(:).^(n-i);
end
endfunction |
15d2f4d6661b0618f51ce229295da18d9e3ed604 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH4/EX4.16/EX4_16.sce | 613128bfa5b6b0d709c3760ebec83e6039246814 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | EX4_16.sce | //EXAMPLE 4-16 PG NO-236-237;
VA=1.96;
VB=3.2;
IBA=(VB-VA)/2;
disp(' CURRENT is = '+string(IBA)+' A');
|
eb8f30a629f2e6d68fb313d3e55b75807e6e29c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH3/EX3.5/Ex3_5.sce | c402c7bec9b35e040efbc20076d81358d2c1e0c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Ex3_5.sce | clc//
//
//
//Variable declaration
a=0.19; //lattice constant(nm)
h=1;
k=1;
l=1;
lamda=0.058; //wavelength of X rays(nm)
n=2; //second order
//Calculation
d=a/sqrt(h^2+k^2+l^2); //distance between planes(nm)
x=n*lamda/(2*d);
theta=asin(x); //glancing angle(radian)
theta=theta*180/%pi ... |
c82e0bd41e827ffbf3f0490e621d59025fb014d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH9/EX9.9/Ex9_9.sce | e65412c848df6b45c73c9fdb76cb9d00f125964c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | Ex9_9.sce | // Chapter 9
// determine Output frequency
// Page.No-333
// Example9_9
//Figure 9.37
// Given
clear;clc;
Vp=6; //in V
R1=4000; //in Ohm
C=330*10^-12; //in Farad
C2=270*10^-12; //in Farad
fo=0.3/(R1*C);
printf("\n Free runing frequency = %.0f Hz\n",fo); // Result
... |
21871ed4446175880b094e10f091d9ba2947d615 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH3/EX3.7/3_7.sce | 2963b7a4241320af17c901a9a28fd4c46d539f20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | 3_7.sce | clc
clear
//Initialization of variables
r=4 //ft
n=300 //rpm
F=60 //lb
//calculations
Bhp=2*%pi*r*F*n/33000
//results
printf("Bhp of the engine = %.1f",Bhp)
|
36b7cb21779591d53a2a521d95822c202ea25e63 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%lsslp.sci | 0998ebd77ca445fe16316ed354c26686d9c3f725 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 192 | sci | %lsslp.sci | function [sr]=%lsslp(s,p)
//sr=%lsslp(s,p) <=> sr=s\p
// p polynomial matrix
// s syslin list
//!
//origine S Steer INRIA 1992
sr=s\tlist(['lss','A','B','C','D','X0','dt'],[],[],[],p,[],[])
|
d41eb886f617f10820bfcd013b46ede8e5f71276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH4/EX4.1.a/ex_4_1_a.sce | c17cba077f0480a730efe7dae342c8ab0774d866 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | ex_4_1_a.sce | //example 4.1(a)//
//the average power dissipation of a single NAND gate//
clc
//clears the variables//
clear
//clears the screen//
//given//
a=0.4
//I(oh)max in mA//
b=2.7
//V(oh) min in V//
c=2
//V(ih) min in V//
d=.8
//V(il)max in V//
e=.4
//V(ol) max in V//
f=8
//I(ol)max in mA//
g=.4
//I(il)max... |
7eb22aa34efc8a2ed3d90159a6f6c1f1ae56a03f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.53/ex1_53.sce | baa7fd271039734125612397f4212e49d8ee3457 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | ex1_53.sce | //Exa:1.53
clc;
clear;
P_cont=100;//in KWs
Eff=0.8;//Efficiency
T_1=50;//in minutes
T_2=70;//in minutes
t_1=10;//in minutes
t_2=10;//in minutes
r=(1-exp(-((t_1/T_1)+(t_2/T_2))))/(1-exp(-t_1/T_1));// r=theta_f/theta_F
P_L=2.5625;//Losses at 100 KW Load
P_L1=Eff*P_cont;//in Kws
P=sqrt(((P_L*r)-1)*P_L1^2);
d... |
f978b03a7962f90f57152b9052d1e81744b98cde | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH11/EX11.5/11_5.sce | 615fab92cc0eb571093fb7ce18c013e8001ce1a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | 11_5.sce | clc
//Initialization of variables
ratio=0.15
//calculations
VU= (1/(1-ratio))^(1/3)
percent= (VU-1)*100
//results
printf("percent increase in speed = %.1f ",percent)
|
28fbb3ec5a336e7fe8e3a5442e681b5d04e58132 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH10/EX10.2.a/Chapter10_Ex2_a.sce | ec130cc5015c6ac3ee1678c8f8083de35a8b0fc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,340 | sce | Chapter10_Ex2_a.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc. USA,pp 436.
//Chapter-10 Ex10.2.a Pg No. 414
//Title:Conversion as a function of No. of Gauzes
//===========================================================================================================
clear
clc
//INPUT
M_NH3=17;//Molecu... |
62692db1b835de2a06aefab679ed9e1156d97419 | 5e244ee21a463b92f547cd5626e466ab167a3e1b | /Semester 5/OST/06. Hamming Distance and Seven Notes of Music/ost6b.sce | f36006618c828a3e69121f4355481efea57b933f | [] | no_license | bumblebee26/Lab-Experiments | 5ab36e3a52fd3348d0d7634a08541e229e55680f | 8408eceabf65489d477c1e62a998c39b0bd0d828 | refs/heads/master | 2020-04-20T12:44:52.375127 | 2020-02-28T15:10:45 | 2020-02-28T15:10:45 | 168,850,941 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | ost6b.sce | clc
pi=3.14;
f=[240 254 302 320 358.5 381 470];
N=1:1000;
fs=4000;
temp=[]
y=[]
for i=1:length(f)
y=sin(2*pi*(f(i)/fs)*N)
temp=[temp y]
end
for i=length(f):-1:1
y=sin(2*pi*(f(i)/fs)*N)
temp=[temp y]
end
sound(temp,fs)
|
1333edaab0bd72cd34ca0f77af02fa57f7844154 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH5/EX5.10/48ex3.sce | 84b5b93072ab87fa30d36b7eff38e723298bb460 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | sce | 48ex3.sce |
clear;
clc;
close;
for x=1:20
if(3*x+4==19)
mprintf("the number which gives 19 as result is %i",x)
end
end
|
90c89f68af557650c70f613ab90e9595a537d06a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH16/EX16.7/Ex16_7.sce | 5d16670cac74a663119cfaf87469fb2168af3a87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | Ex16_7.sce | // Example 16_7
clc;funcprot(0);
// Given data
D_bag=3.00;// ft
t_fill=30;// milliseconds
p_air=15.00;// psia
p_os=1500;// psia
T_os=70.0+459.67;// R
k=1.40;// The specific heat ratio
R_air=53.34;// ft.lbf/lbm.R
// Solution
V_bag=(%pi*D_bag^3)/6;// ft^3
T_air=T_os*(2/(k+1));// R
rho_air=(p_air*144)/(R_ai... |
481086217fd5a880d2b97d56942f1c9628780968 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.8/Ch01Ex8.sce | c702c2805915cccf58cc5668440aec94a4c4f94a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | Ch01Ex8.sce | // Scilab Code Ex1.8: Page-1.7 (2009)
clc; clear;
m = 9.1e-031; // Mass of the electron, kg
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
h = 6.626e-034; // Planck's constant, Js
E = 5*e; // Energy of the electron, J
// As 1/2*m*v^2 = E, solving for v
v = sqrt(2*E/m); // Velocity of the... |
854698a36e03a2b9adc85a9035beddf27d085937 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH17/EX17.4/Ex17_4.sci | 20cabc3facb55d17879e21d0799675952214868b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sci | Ex17_4.sci | //Initilization Of Variables
s1=2 //Lower Limit oF the Integral
s2=5 //Upper Limit of the Integral
n=10 //Interval of the integral
k=20 //lb/in
//Calculation
//Using Trapezoidal Rule for Intergration
function[I1]=Trap_Composite1(f,s1,s2,n)
h=(s2-s1)/n
s=linspace(s1,s2,n+1)
I1=(h/2)*((2*sum(f(s)))... |
1ebe3121c5440ad65377225067826c20f67a6ec1 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Stairmaster 2.sce | 2d999158c0ab132e462748ad2b74b0a7d2ba6c2c | [] | 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 | 146,925 | sce | Stairmaster 2.sce | Name=Stairmaster 2
PlayerCharacters=Tony Hawk
BotCharacters=Nyjah Huston.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=Tony Hawk
AddedBots=Nyjah Huston.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=rightstair.map
MapScale=2.0
BlockProjectilePredictors=true
BlockCheats=true
Invin... |
986c11d5d3a46679797cc89313b3c865166508c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH5/EX5.2/2.sce | b9254b44845707bc40026ccabc870c255aeb7a70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,019 | sce | 2.sce | clc
clear
//Input data
Tx=350 //Temperature before the shock in K
Px=137.8 //Pressure before the shock in kPa
Cx=750 //Velocity before the shock in m/s
k=1.4 //Adiabatic constant
R=287 //Specific gas constant in J/kg-K
//Calculation
ax=sqrt(k*R*Tx) //Velocity of sound before the shock in m/s
Mx=Cx/ax //M... |
c629b627bc75cd4b270f1be91e74bd8e5f82a101 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH5/EX5.3/exa_5_3.sce | 91b56aa875ec2b67c1165b59871b6b892b285b77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_5_3.sce | // Exa 5.3
clc;
clear;
close;
// Given data
epsilon_Ge= 16/(36*%pi*10^-11);// in f/C
A=10^-12;
d=2*10^-4;// in cm
// C_T= epsilon_0*A/d= epsilon_Ge*A/d
C_T= epsilon_Ge*A/d;//in pF
disp(C_T,"The space charge capacitance in pF")
|
30e87e64eb8b327b16edb77e15f3e958d993564a | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /macros/distfun_chi2rnd.sci | 7cb68385d3959757da40a3de39dd319dbb7ea942 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,820 | sci | distfun_chi2rnd.sci | // Copyright (C) 2012 - Prateek Papriwal
//
// 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_V2-... |
4aa1e1e1ddcf1175e0c526678218a564c9d16fab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH16/EX16.3/Ex16_3.sce | aa26bd30e3bd7c7fed9b62356a7ecac4ea6d0608 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 954 | sce | Ex16_3.sce | //Chapter 16,Example 3, page 557
//Determine the (a)ripple voltage (b)voltage drop (c)Average output volatge (d)ripple factor (e)optimum number of stages
clear
clc
I1 = 5*10^-3 // A
C = 0.15*10^-6 // F
Vs = 200 // kV
f = 50 // Hz
n = 12
// (a) Ripple voltage
printf("\n Part (a)")
delV = I1*n*(n+1)/(f*C*2)
printf("\n R... |
598408c46e623dc916e4a2b2a54f9e8c9914379c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH2/EX2.23/Ex2_23.sce | 70d7bee9fa080bb8630d65c33b92dfc45d5947ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,946 | sce | Ex2_23.sce | //Fluid system - By - Shiv Kumar
//Chapter 2 - Impact of Jet
//Example 2.23
clc
clear
//Given Data:-
Vi=65; //Absolut velocity of Jet at Inlet, m/s
Ri=400; //Inner radius of wheel, mm
Ro=800; //outer radius of wheel, mm
alpha_i=24; //degrees
... |
08abc159ec644ac2144d2f0e2a539fbbf20fb797 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH6/EX6.8/Exa_6_8.sce | 0d61b24f2c5c9f3ef69e937744c864f5b44dad20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | Exa_6_8.sce | //Example No. 6.8
clc;
clear;
close;
format('v',6);
//Given Data :
V=400;//volt
P=4;//pole
f=50;//Hz
r1=0.64;//ohm
r2=0.08;//ohm
x1=1.1;//ohm
x2=0.12;//ohm
T1=40;//N-m
N=1440;//rpm
n=2*f/P;//rps
n=n*60;//rpm
N1=1300;//rpm
Tload=T1*(N1/N)^2;//N-m
disp(Tload,"Load torque in N-m : ");
S=(n-N1)/n;//s... |
6ca394ae96324172bf9db1dbb687b1a0d0344d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH8/EX8.7/Ex8_7.sce | 534f4f01ef5ef0c0925250abf0e39cda20376e3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sce | Ex8_7.sce | clear;
clc;
disp('Example 8.7');
// aim : To determine
// the percentage analysis of the gas by mass
// Given values
CO2 = 20;// percentage volumetric composition of CO2
N2 = 70;// percentage volumetric composition of N2
O2 = 10;// percentage volumetric composition of O2
mCO2 = 44;// moleculer mas ... |
6fc44b33135990eab6d18e0d920e83b30aba9078 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH6/EX6.8/Exa6_8.sce | 8630173dc5cac1f3398188ea19abb05148bd343c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Exa6_8.sce | //Exa 6.8
clc;
clear;
close;
//given data
a=5.6*10^-6/2;//in meter
k=12;//unitless
epsilon_o=8.86*10^-12;//in F/m
epsilon=k*epsilon_o;//in F/m
ND=10^15;//in cm^-3
ND=10^15*10^6;//in m^-3
e=1.6*10^-19;//in Coulamb
VP=e*ND*a^2/(2*epsilon);//in Volt
disp(VP,"Pinch off voltage in volts : "); |
46a0fe61deb1475004ce2207c2ce11c19b3f6a23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.51/Ex1_51.sce | 5a68492b35b2b9d76a5f61e3f5b8912a6b502485 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex1_51.sce | clc;
k1=1000; // Rated KVA of transformer1
k2=500; // Rated KVA of transformer2
ze1=0.02+%i*0.06; // p u leakage impedance of transformer 1
ze2=0.025+%i*0.08; // p u leakage impedance of transformer 2
zb=1000; // base impedance
Z1=(zb/k1)*ze1; // impedance of transformer 1
Z2=(zb/k2)*ze2; // impedance of transfo... |
e9a3d779f42e2711f1dbfa82948dabf809cfecde | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.10_4.tst | e7d4626f09f0c7252068deade55e17ede0ca6ea6 | [] | 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 | 256,429 | tst | 5.10_4.tst | 10 8:1 1388:1 2276:1 2463:1 2507:1 3588:1 3834:1 5072:1 5249:1 5877:12 6818:1 6885:1 7278:1 7372:1 7400:1 8189:1 9602:1 9864:1 10050:1 11732:1 11760:1 12297:1 12394:1 13117:1 13344:1 13703:1 16107:1 16213:1 16667:1 16726:1 18234:1 19176:1 19253:1 19338:1 19960:1 20102:1 20134:1 20614:1 21606:1 22072:1
10 8:1 10:1 408:1... |
052a0f4d7ca3ee0e5c6ac66d9ec201a4181cdef5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH9/EX9.1/Ch09Ex1.sce | 162366788380bb5cbb4fd93b66d30d88328b630f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | Ch09Ex1.sce | // Scilab code Ex9.1 Page:278 (2006)
clc; clear;
H_c0 = 0.0803; // Critical field at absolute zero, Tesla
T_c = 7.19; // Transition temperature of specimen lead, Kelvin
T = 5; // Temperature at which destruction of superconductivity is to be found, Kelvin
H_c = H_c0*[1-(T/T_c)^2]; // Critical field re... |
c66b560d654271052f6e3259608f2991994bf8c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.11/ex4_11.sce | d08b52d06dbb91dfc1e3320aecc636edd69d5acb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | ex4_11.sce | //Example 4.11
clc
//ix, iy= short integers
//lx, ly= long integers
//dx, dy= double
printf("\nShort, ix= ");
ix=int8(scanf("%hd"));
disp(ix,"ix = ");
printf("\nlong, lx= ");
lx=int32(scanf("%ld"));
disp(lx,"lx = ")
printf("\ndouble, dx= ");
dx=scanf("%lf");
disp(dx, "dx = ");
//oc... |
75c0e1d3b3ae87aa2552a7404b314f00f3aaa656 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GFS-GCCL-C/results/GFS-GCCL-C.vowel-10-1tra/result5s0.tst | fdb5cf1990b75756e4e0c6eb5c4b4278f57dd32a | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 970 | tst | result5s0.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute... |
cf511c37b0170e3d010ab64d5ec04702929e1986 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH12/EX12.9.1/Ex12_1.sce | 3520d6b5729b61e869aa01106236c7322efd8fd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | Ex12_1.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 12 Modulation and Demodulation
clc
clear
Vmax=8//Vmax=maximum peak to peak value of an AM voltage
Vmin=2//Vmin=minimum peak to peak value of an AM voltage
ma=(Vmax-Vmin)/(Vmax+Vmin)//ma=percentage modulation
disp("%",(ma*100),"Percentage modulation ma=")
/... |
47d2c5fb09bea98dd6f748e81b418fc1f5d685fc | 26e635ac8cface47c780ac4fb8a3b3270780a36d | /School of Basic Sciences/IC150P Computation for Engineers LAB/Lab/Assignment_11/lab11q4.sce | fe92e3a416d8a65ca10dd7ff5169cb448eea6abf | [] | no_license | tshrjn/iitmandi | 62643ce37accd9b1fb3981eb34e7dc3c4314fe43 | 6c020e591b97e3920f53c12da320fac270b26254 | refs/heads/master | 2021-01-22T05:23:54.077888 | 2017-02-11T13:40:11 | 2017-02-11T13:40:11 | 81,653,245 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | lab11q4.sce |
a =rand(10000,1,'uniform');
histplot(10,a)
b =rand(10000,1,'normal');
histplot(10,b) |
a9caea8359e4ebbb1e097b0c6445a1023e61dd21 | b03f367d0c655c7776c8474c5e21a44d0890ea3d | /docs/candidate/images/pressure_plot.sce | e5592044bb657a640d72afd85a1e7c2cc61c96ab | [] | no_license | Jacobi20/nano-vis | 0f94c77c5a03a5d1185f654528c69e5841571cb9 | 9c713a5f20c5b8c676e0a0847c8131e2a996d784 | refs/heads/master | 2021-01-20T11:31:23.350419 | 2011-08-09T13:22:57 | 2011-08-09T13:22:57 | 37,013,226 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,508 | sce | pressure_plot.sce | clc(); // clear screen
//xdel(); // delete windows
printf('\n'); // fix first character in output window
G = 9.8;
//------------------------------------------------------------------------------
// Fourier :
//------------------------------------------------------------------------------
funcprot... |
528e1c784ccf27714f22fc06da71783cd00390ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH21/EX21.4/21_4.sce | 25304e30addaf4f9a2bd9e01f0e129b18e1e0e83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | 21_4.sce |
clc
//initialisation of variables
clear
Ls=20//ft
g=32.2//ft/sec^2
d1=6//in
d2=3//in
s1=30//rpm
r=0.5
f=0.01
ds=0.25
Hs=15//ft
ld=120//ft
Hd=100//ft
//CALCULATIONS
Ha=Ls*(d1/d2)^2*(2*%pi*s1/60)^2*r/g
hfs=(4*f*Ls*((d1/d2)^2*2*%pi*s1*r/60)^2)/(ds*2*g)
pb=Hs+Ha
pe=Hs-Ha
pm=Hs+hfs
nHa=ld*(d1/d2)^2*(... |
46bb34e77de37a4bd368b401b392c2a22615410c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH12/EX12.1/EX12_1.sce | 8dc144950a28d3f37bec9c39b17d860461788bc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | EX12_1.sce | clc;funcprot(0);//EXAMPLE 12.1
// Initialisation of Variables
n=6;...............//No of cylinders
BP=125;...............//Brake Power in kW
N=3000;..............//Engine rpm
bsfc=200;............//Brake Specific Fuel Consumption g/kWh
spgr=0.85;.............//Specific Gravity
//Calculations
fc=(bsfc/1000... |
62b442fd439283e90d0ba98de66d175e05947f40 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/li_typemaps_runme.sci | d9ea0218f5aa76b97b65c581067eab3a7ab3b734 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 4,348 | sci | li_typemaps_runme.sci | exec("swigtest.start", -1);
// double
checkequal(in_double(22.22), 22.22, "in_double");
checkequal(inr_double(22.22), 22.22, "inr_double");
checkequal(out_double(22.22), 22.22, "out_double");
checkequal(outr_double(22.22), 22.22, "outr_double");
checkequal(inout_double(22.22), 22.22, "inout_double");
checkequal(inout... |
907d7bb15b1091d2db54f3aafaaaadcc7bca4096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH6/EX6.12/ex6_12.sce | 33e0bbfb2322940c29aac95a42af26e74f1b2110 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sce | ex6_12.sce | // Three-Phase Circuits :example 6.12 :(pg 6.17)
P=100*10^3;
IL=80;
VL=1100;
f=50;
Vph=(VL/sqrt(3));
Iph=IL;
Zph=(Vph/Iph);
pf=(P/(sqrt(3)*VL*IL));
phi=acosd(pf);
Rph=Zph*pf;
Xph=Zph*sind(phi);
C=(1/(2*%pi*f*Xph));
printf("\nP=100kW \nIL=80 A \nVL=1100 V \nf=50 Hz");
//For a star-connected load
printf("\... |
6cb26eacb3df13eded0c778626a4f376cf27ae33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH12/EX12.7/Ex12_7.sce | 98332ef5d8b39ba91be0a2972b7b5ba594cd0e1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_7.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 12 : Three Phase Circuit
// Example 12 - 7
clear; clc; close;
//
// Given data
P_motor = 5600.0000; ... |
efcfc6ffb68ae7dc4cd037c99deb54a87561257e | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH12/EX12.1/ex12_1.sce | a16292e37cad11ec1c3830324db27e66adee5216 | [] | 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 | 351 | sce | ex12_1.sce | clc;
clear all;
LIS=1200;//given lines in system
BK=0.07;//blanking time
K=0.7;//kell factor
//part a
LLB=LIS*BK;//lines lost in blanking
disp(LLB,'lines lost in blanling are');
//part b
AL=LIS-LLB;//Active lines
disp(AL,'active lines are');
//part c
LVR=K*AL;//lines of vertical resolution
disp(LVR,'lines ... |
9d3f0bbd7912ed5fb20279a03ac977ac89db8ed4 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RPS5.prev.tst | 440fa9a0ee76912e148155816dc79b63fccb4a01 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,413 | tst | RPS5.prev.tst | # (2v + 1)^3 = 2 * m^2 + n^2 ?
0 1
1 3^3 = 2 * (1)^2 + (5)^2 proper representation by 1^2 + 5^2
= 2 * (3)^2 + (3)^2 [2]
2 5^3
3 7^3
4 3^6 = 2 * (2*5)^2 + (23)^2 proper representation by... |
619d836a8448b0ee381d184bddd627fe841fc187 | 4c888070ef0e5ac657898d54a469c6587077d0f9 | /tests/ok/multi-path-5.tst | 47595a61badc5f716e6f0fce022189dc6ac6ac86 | [] | no_license | Vezyr68/Tests4lemin | 047babbbdd269de9841cfda1f0bd229e9761838f | 426cf85358a1879c039f06d2de595451126d746e | refs/heads/master | 2023-01-06T19:39:28.329496 | 2020-11-10T12:28:17 | 2020-11-10T12:28:17 | 310,910,849 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | tst | multi-path-5.tst | 5
#rooms
##end
e 4 1
r11 1 1
r12 1 2
r13 1 3
r22 2 2
r23 2 3
r33 3 3
##start
s 0 0
#links
#from start
s-r11
s-r12
s-r13
#from end
e-r33
e-r22
e-r11
#internal links
r11-r12
r11-r22
r12-r13
r12-r22
r13-r23
r22-r23
r22-r33
r23-r33
|
bcdc6c41705b15a21b84e5867088137bd0565e7c | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/wta.sce | d40d26e2e8f93cc5abdeec3a999f5bf868512bae | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 840 | sce | wta.sce | //***************************** WTA ************************************
if (blk_name.entries(bl) =='wta') then
addvmm = %t;
mputl("#WTA",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
mputl(".subckt wta in[0]=net"+string(blk(blk_objs(bl),2))+"_"+string(ss)+ " in[1]=net"+string(blk(blk_objs(bl),3))+"_... |
13a733863ddd7503306cddc4af4e3211f2fab53f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH13/EX13.2/Ch13Ex2.sce | e02dd2fe1f9fc6813e2fa0038fe1d5b0c700af3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ch13Ex2.sce | // Scilab code Ex13.2: Pg 468 (2005)
clc; clear;
r0 = 1.2e-015; // Nuclear mean radius, m
m = 1.67e-027; // Mass of the nucleon, kg
rho_0 = 3*m/(4*%pi*r0^3); // Density of the nucleus, kg per metre cube
printf("\nThe mass of the nucleus = Am approx.");
printf("\nThe volume of the nucleus = 4/3*pi*r0^3*A");
p... |
af92120f924510d71a67b1252ba5a5b7639e6946 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH9/EX9.15/15.sce | 11354326c491af59957606f0c993bc7661ed39f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | 15.sce | clc
// x=r*(1-cos(wt))
// v=r*wsin(wt)
// V=2*A*w*r
// Q=V/2/%pi
// Q=A*w*r/%pi
// Q_peak=A*w*r
// Q_peak/Q=%pi
disp("The ratio of peak to average flow =")
disp(%pi)
|
fc486da6d6f1dff93386d506886c7310f69534f5 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/blackman/blackman9.sce | 6d5742af2300d931e6d9b246cfe221d255a58614 | [] | 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 | 231 | sce | blackman9.sce | //char i/p
w=blackman('a');
disp(w);
//output
//!--error 144
//Undefined operation for the given operands.
//check or define function %c_3_s for overloading.
//at line 32 of function blackman called by :
//w=blackman('a');
|
aa8b945a2734261ba1d14ebd80ee21d626c1dfd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH16/EX16.8/Example16_8.sci | 26928ec3424fa948b0992dfd5e25b0cd4e6f820c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 903 | sci | Example16_8.sci | clc();
clear;
// To know the moisture content of air
Td=70+460; // Dry bulb temperature in degR
Tw=60+460; // Wet bulb temperature in degR
a=0.26; // Ratio of coefficients ie. h/hmw from table
L=1059.9; ... |
11f3f8e02b3333091a317816a240a8c65aadde0a | 717ddeb7e700373742c617a95e25a2376565112c | /2495/CH2/EX2.10.1/Ex2_10_1.sce | 60ae1e907464024c663dd964c6e0b7ff2e9e17c1 | [] | 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 | 491 | sce | Ex2_10_1.sce | clear
clc
P=2.47;//osmotic pressure in atm
DelHm_v=539*18;//in cal/mol
R=0.082;//in litreatm
Vm=18.1;//molar volume of water
T=303;//in K
Tb=373;//boiling point temperature in K
DelTb=(P*Vm*10^-3*(Tb^2))/(DelHm_v*(R/1.987)*T)
printf('DelTb=%.4f K',DelTb)
//The above calculations are done in CGS units
//To convert the... |
635c4b999c98d828bb0925fa39dfc1af1ff32bd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.41/ch12_41.sce | ec6de7809004dbda0c2d0dabeee4034cdce658e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | ch12_41.sce | clear;
clc;
r1=.6;
r2=.4;
s=0.04;
x1=1.6;
x2=1.6;
Z=(r1+r2/s)+%i*(x1+x2);
V=400;
I1=V/Z; printf("source current=%.3f A and with %.1f deg phase",atand(imag(I1)/real(I1)),abs(I1));
I2=V/Z;
N=1500;
w_s=2*%pi*N/60;
T_e=(3/w_s)*abs(I2)^2*r2/s; printf("\nmotor torque=%.2f Nm",T_e);
N_r=N*(1-s);
f=45;
... |
c1487f289a97b1235c5b92d7916848bfc8879df9 | e9e370052f7ecbe6a5e198a1432f6424815f9a68 | /Sandbox/Tests/MakeMar.tst | 7eaa7eb5d8f758ecb732679b0895e77a337d5a31 | [] | no_license | willcademo/devtest | e766df0df0a30f89dd85da93057bf14cea7e382f | c4be35f52210d727fdbafabaa4c6c69aa7e07ced | refs/heads/master | 2020-03-23T22:42:19.895576 | 2018-07-26T00:26:37 | 2018-07-26T00:26:37 | 142,192,866 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,198 | tst | MakeMar.tst | <?xml version="1.0" ?>
<TestCase name="MakeMar" version="5">
<meta>
<create version="10.1.0" buildNumber="10.1.0.283" author="admin" date="07/23/2018" host="truwi01mac1448" />
<lastEdited version="10.1.0" buildNumber="10.1.0.283" author="admin" date="07/23/2018" host="truwi01mac1448" />
</meta>
<id>9D80428A8EC... |
a9aa92a653b0f781efaff0de1ba851cb6a826ee6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH1/EX1.5/1_5.sce | e6ab5343c4e2d529460e8519ca50c80fd3e540df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | 1_5.sce | clear; clc; close;
c = 3*10^(17);// nm/s
f = 750*10^(12);// Hz
Lambda = c/f;
disp(Lambda,'Wavelength provided for visible light(in nm): ');
|
1a2b442981a4a8f4782369d6f099e23553b536b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH1/EX1.16/ex_1_16.sce | 9a8d556ef3f97d86210ea3cb76dcf40e8f1d4871 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | ex_1_16.sce | //example 1.16//
//sequence of gray numbers//
clc
//clears the screen//
clear
//clears all existing variables//
f=0101;
disp(f,'The first no of the gray sequence is ')
disp('Numbers following it are 0100, 1100 and 1101.') |
5dc4277ddae78e4d12fa7bc61a0b179352210530 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH46/EX46.2/example2.sce | acaac61698477b6f7607b57825b5d67da0a9a0eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | example2.sce | //example 2
// Chapter 46
theta_p= atand(1.5)
disp(theta_p,"theta_p in degrees")
sin_theta_r= sind(theta_p)/1.5
theta_r=asind(sin_theta_r)
disp(theta_r,"angle of refraction fron snells law in degrees=") |
a8bb750a13e67264ea066e6d5a0a14f06e6ecb97 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH7/EX7.1/Ex7_1.sce | 771ea8294b929cfdfba58ec0d8bcda408a7c2a68 | [] | 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 | 631 | sce | Ex7_1.sce | // Variable declaration
l = [2.4,2.9,2.7,2.6,2.9,2.0,2.8,2.2,2.4,2.4,2.0,2.5] // list of lead concentration
x = [1,1,1,1,1.1,1,1,1,1.1,1.2,1.1,1]
n = 12 // sample size
// Calculation
plot(l,x,"ro")
title("DOT DIAGRAM")
xlabel("$ Lead(micro gram/l$")
... |
d1526e5bff7fbfaa40caa927d9fd16800d6fdb24 | b2beecc967bc870533445c78378994b5f0e00369 | /Scilab Algebra e CalcNum/Gauss.sci | f944c5f2d47cd1f71097265b7d0ab245f6d0f1a1 | [] | no_license | gabriel-almeida/ufrj | 2a3b100d8a9eace56f740a1654c51e0918097bf2 | bb62b51ea2b8c4cf71d7cb9f0f2d0172a1338933 | refs/heads/master | 2021-01-13T02:08:16.262640 | 2013-01-15T01:44:45 | 2013-01-15T01:44:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,662 | sci | Gauss.sci | function [b]=eliminacao(A,b)
[m,n]=size(A)
x=zeros(n,1)
for k=1:n
//pivoteamento parcial
if A(k,k)==0 then
maiorLinha=k
//percorro toda a coluna J
for i=k+1:n
//verifico se esse elemento A(i,j) é o maior ate agora... |
4372572dc9287d8791e421959f50a43968e923e2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/xdess/hist3d.sci | f359b041922eb46c41c5bc75abfeb46074d57cce | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,339 | sci | hist3d.sci | function hist3d(f,T,A,leg,flags,ebox)
//!
nep=8
[lhs,rhs]=argn(0)
if rhs<=0 then //demo
s_mat=['hist3d(10*rand(10,10));';]
write(%io(2),s_mat);execstr(s_mat);
return;end
if typeof(f)='list' then
x=f(2); y=f(3);f=f(1);
sx=prod(size(x));
sy=prod(size(y));
if [sx-1,sy-1]<>size(f) then
write(%io(2),'f: Incom... |
b52997e6288c527efe4c7610597732fb3dfab79f | 2583f099a6ec9eabbe17dc9c870b761737c7a167 | /TEST/dlist.tst | f1e9340eae91a67c85eb9cf76aa35d90a3cc9375 | [
"MIT"
] | permissive | ihgazni2/dlist | 11235510103dfa6d2b3b223f42d975dde2221823 | 117661a5ab3ffa19b24506a9c8163b7e5b74e96f | refs/heads/master | 2020-04-07T19:00:20.915876 | 2019-09-13T04:51:12 | 2019-09-13T04:51:12 | 158,632,713 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,553 | tst | dlist.tst |
rslts = {}
from dlist import *
rslts[0] = (is_dlist([]) == True)
rslts[1] = (is_dlist([{1:'a'},{2:'b'}]) == True)
rslts[2] = (is_dlist([{1:'a',2:'b'},{3:'c',4:'d'}]) == False)
from dlist import *
d = {1:2,3:4,5:6,7:8}
rslts[3] = (dict2dlist(d) == [{1: 2}, {3: 4}, {5: 6}, {7: 8}])
from dlist import *
d = {1:2,3:4,5... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.