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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7bf9163edb1fbea091fcaa1d7c136b0d14d512f1 | 9d349faf3f38b8e91b7bb61e9b195e058312b11f | /Proyecto_1.sce | 31ab670e1094e09cdabb699db3191c1e286a3dbb | [] | no_license | KaeTahr/Regresion-finder | f45394fa1e55c0d441c60d87691c6ee3ff29d070 | 052497f8793aa7bcf5a808dce6f71c8da09f635e | refs/heads/master | 2022-10-25T09:15:45.664597 | 2019-11-27T18:37:24 | 2019-11-27T18:37:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,202 | sce | Proyecto_1.sce | clear
////////////////////////////////////////////////////////////////////////////////
// Encuantra_Regresiones_1.sce
// El programa lee de un archivo de excel, cuyo nombre es dado por el usuario
// Calcula funciones de regrion lineal, de cuadrática, de potencia, y
// exponencial. Despliega cada una de estas funciones ... |
79757d779c540b5be92e5f102e2a54bc9c590e3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH9/EX9.1/Example_9_1.sce | da3e5cfc6ede921f55aa1871d2c38ed48e430d86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,028 | sce | Example_9_1.sce | //Caption: One-Sample Tests
//One-sample Sign Test for small samples
//Example9.1
//Page313
//Test 1: Ho: p =1/2, H1: p>1/2
clear;
clc;
n = 9;//sample size
p = 0.5;
q = 1-p;
plus_signs = 7;
minus_signs = 2;
alpha = 0.05; //significance level
//P(X>=7, n=9, p =0.5) =1-P(X<=6, n=9, p=0.5)
X = 6;//Number plu... |
0aa0f046b5e81599e5ccfbbeafa9cdd4debfd21b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH2/EX2.2/Ex2_2.sce | 88d9c4ad68e79bb11a312a3229374a4ba7fd40f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | Ex2_2.sce | clear
l_ob = 2000 //mm - length of rod ob
l_bc = 1000 //mm - length of rod bc
l_cd = 1500 //mm - length of rod cd
p_ob = 100 //kN - Force in rods
p_bc = -150 //KN
p_cd = 50 //KN
A_ob = 1000 //sq.mm - Area of rod ob
A_bc = 2000 //sq.mm - Area of rod bc
A_cd = 1000 //sq.mm - Area of rod cd
E = 200.0 //GPA
// the t... |
730ee05b4cab77a6c5f9e2d1e5b82366b04a42b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH10/EX10.6/Ex10_6.sce | d384c46f1f7a598d8d160f181095ecf91be253eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Ex10_6.sce | //Chapter 10 Electmotive Force
clc;
clear;
//Initialisation of Variables
E1= 0.763 //v
c= 0.1 //mol/lit
c1= 0.01 //mol/lit
R= 8.31 //J/mol K
T= 25 //C
F= 96500 //coloums
c2= 1 //molar
c3= 1 //molar
//CALCULATIONS
E= E1-(log10(c*c2/(c1**2*c3))*R*(273+T)*2.3/(2*F))
//RESULTS
mprintf("Potential of the cell = %.3f v",E... |
3394e31c85c8dc0e2bf31e6ee3d294c6b01a6d00 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/bak.tst | 6b54624e548f4857cfce3eef36ea3a494acd3777 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99,268 | tst | bak.tst | айыу айыу N;NOM;SG
дарыу дарыуҙарҙы ADJ;ACC;DEF;PL
шишә шишәләрҙә N;LOC;PL
һыҙыҡ һыҙыҡты N;ACC;DEF;SG
гәрәбә гәрәбәлә N;LOC;SG
сәйхана сәйханаға N;DAT;SG
Ҡуҙы Ҡуҙыға N;DAT;SG
милләт милләттең N;GEN;DEF;SG
һорау һорауҙы N;ACC;DEF;SG
ҡашығаяҡ ҡашығаяҡҡа N;DAT;SG
ҡунаҡхана ҡунаҡхана N;NOM;SG
таҡырбаш таҡырбаштарҙы N;ACC;D... |
a860778a078b52dabeff248069e16c73b815af2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH6/EX6.12/Ex6_12.sce | dcfdfe5767bf97a9da8dc9d70c0234092d575e00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Ex6_12.sce | // chapter 6 , Example6.12 , pg 177
n=5.8*10^28 // electron concentration (in /m^3)
e=1.6*10^-19 // charge of electron (in C)
rho=1.54*10^-8 //resistivity of metal (in ohm*m)
M=9.11*10^-31 //mass of electron (in Kg)
T=M/(n*e^2*rho) //relaxation time
printf("Relaxation time(in s)")
d... |
0dc9dd99cb0c3a19f58b2e3e172f9528540f62da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1844/CH5/EX5.2/2.sce | 172cfd3f1c58fa791c0ceaa9c9c4f39263bfb231 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | 2.sce | clc
// done for WCB only
FB=12.4
if FB < 180 then BB= FB+180;
else BB= FB-180;
end
printf('B.B of AB = %f\n',BB)
FB=119.8
if FB < 180 then BB= FB+180;
else BB= FB-180;
end
printf(' B.B of BC = %f\n',BB)
FB=266.5
if FB < 180 then BB= FB+180;
else BB= FB-180;
end
printf(' B.B of CD = %f\n',BB)
FB=354.3
... |
a1da1ec1649ef34864fb32f84b42d07c3928606b | 0aacc4aca603f61e9ac05bdb6de5b3b783f797fe | /Mission-B2/B2_Normilasation.sci | fd2cc1cb0e61939570a87890e07581d46a06b73c | [] | no_license | ZHamsiou/EXOLIFE-A2 | cf6001f744bf26109af2b552ecc2fe055ab8efd7 | 675a20670231c2a0a6c73333c988b1e651cab264 | refs/heads/master | 2021-04-29T19:18:23.002372 | 2018-02-16T03:22:18 | 2018-02-16T03:22:18 | 121,710,650 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sci | B2_Normilasation.sci | // Lecture de l'image
img = readpbm('B2.pbm');
//Attribution de la taille de l'image
[colonne, ligne]=size(img)
// Déclaration & initialisation de deux variables pour déterminer
// la valeur minimale et maximale de l'image.
maximum=max(img)
minimum=min(img)
// Boucle pour parcourir l'image.
for ... |
c5a44bfde0a5aeec14f68c9695c4efff5cbed239 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH7/EX7.2/Ex7_2.sce | 4a58e235af4dd5320dcba046ad73b491659260f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Ex7_2.sce | //Ex7_2 PG-7.17
clc
Vi=50e-3//input supply
Rd=5e3;
Yfs_max=4000e-6;
Yfs_min=1000e-6;
disp(" For Yfs_max=4000e-6")
Id_delta=Yfs_max*Vi;
printf("\n Change in Id is +/- %.1f mA \n",Id_delta*1e3)
Vo=Id_delta*Rd;//output voltage
Av=Vo/Vi;//voltge gain
printf("\n Voltage gain is %.0f \n",Av)
disp(" For Yfs_min=1... |
a8923f1591a9cef81c8efb62151b367c1a3fd138 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH6/EX6.7/Ex6_7.sce | 1521b66263265cf176b54951bfeed3dfa29a5904 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | Ex6_7.sce | clear
//
//
//
//Variable declaration
h=6.6*10^-34; //planck's constant(J-sec)
m=9.1*10^-31; //mass of electron(kg)
lamda=0.4*10^-10; //de-broglie wavelength(m)
e=1.6*10^-19; //charge of electron(c)
//Calculations
V=h^2/(2*m*e*lamda^2); //voltage(V)
//Result
printf("\n... |
d74b769e44d7cfbcf3ecb1f027d56801352ffa6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.7/7.sce | 2a7e15448c2efd9662199caec36f8d246b871009 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | 7.sce | clc
dh=840; //kJ/kg; Adiabatic enthalpy drop
h1=2940; ///kJ/kg;
p2=0.1; //bar
h_f2=191.8; //kJ/kg
n_rankine=(dh)/(h1-h_f2)*100;
disp("rankine efficiency=")
disp(n_rankine)
S=3600/dh; //Specific steam combustion
disp("Specific steam combustion=")
disp(S)
disp("kg/kWh") |
c226c7926e3e6b21d358e06f8bd5849c6e516d26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH8/EX8.8/Example_8.sce | 7e43b504c2451fa37929fbd6861211a9c4e9d078 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | Example_8.sce | //Chapter-8,Example 8,Page 197
clc();
close();
Ksp=8*10^-12 //solubility product of SrF2
//Ksp= [Sr+2]*[F-]^2.....F=0.1 M
F=0.1 //concentration of F in SrF2
S=Ksp/F^2
printf('the solubility of SrF2 is')
disp(S)
printf('mol/litre')
//mistake in textbook
|
a89b278ab99a7cc85444aaa6182d0bbcb03a7a9c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Engineering_P._Raja_2150.zip/Electronics_Engineering_P._Raja_2150/CH6/EX6.14/ex6_14.sce | bf9c07f73e72ed3fc42de6a191541fe897412b01 | [] | 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 | 616 | sce | ex6_14.sce | mode(2);errcatch(-1,"stop");driver("GIF");// Exa 6.14
clc;
clear;
// Given data
I_DSS = 12;// in mA
V_GS = 0;// in V
I_D = 0;// in mA
V_P = -6;// in V
V_GS= 0:-0.1:V_P;// in V
I_D = I_DSS*(1-(V_GS/V_P))^2;// mA
subplot(1,2,1)
plot(V_GS,I_D);
xlabel("V_GS in volts")
ylabel("I_D in mA")
title("n-channel d... |
0288e9f117f4c3f73d0381001ab0bbd620493052 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.24/4Ex24.sce | d87fe2f2d875d67ceeea926c68b5b2c6594ec618 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | 4Ex24.sce | //chapter 4 Ex 24
clc;
clear;
close;
penBlack=1/8; penBlue=3.5;
totalLength=penBlue/(1/2*(1-penBlack));
mprintf("The total length of pencil is %0.0f",totalLength);
|
16ffa5f08a0b4fe6d06cb1926df42c2c1d43a7a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH3/EX3.14/Example3_14.sce | 58268bee55f4fd1f0f7121bebc7f9a2d456a89c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | Example3_14.sce | //Inductance L, Resistance of coil Rl, Voltage V, Frequency f
close();
clear;
clc;
L = 0.046;//H
Rl = 10;//ohm
V = 100;//V
f = 60;//Hz
omega = 2*%pi*f;
Zl = Rl + %i*omega*L;
Il = V/Zl;
Ilr = polar(Il);
Ilarg = atan(imag(Il),real(Il))*180/%pi;
Power_factor = cos(Ilarg*%pi/180);
//For unity power factor ima... |
0cce5bddd68d7ee013ab883de479f64df96fb2f8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/examples/mex-examples/mex-with-objects/mexobjs.tst | 9cb26ae045eb6fee1ef7970261a51b56b7adede8 | [
"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 | 1,081 | tst | mexobjs.tst | exec startup.sce;
[p,q,r]=mexfunction1(1:4,'qwerty');
if r~='qwerty' then pause,end
[a,x]=mexfunction2(20,'x');
if a~=20 then pause,end
A=rand(2,2);B=rand(2,3);
C=mexfunction3(A,B);
if norm(A*B-C) > %eps then pause,end
p=mexfunction4(1:3,'x');
if p ~= poly(1:3,'x') then pause,end
w1=mexfunction5(1:5);
if and(w1~=(1:5))... |
31ec54fdc5311c5750b5021aa0c0b74fec174e01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH7/EX7.8/ex_8.sce | 4f484fdce8981a9371a2a26965a3a4c2ca7bbc2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,890 | sce | ex_8.sce | //Example 7.8
// True value of the integral
x0=0
x1=1
I=integrate('sqrt(x)','x',0,1)
//using adaptive quadrature based on simpsons rule
deff('[y]=f(x)','y=[(x)^(1/2)]')
x=1:1:10
plot(x,f)
x2=(x0+x1)/2;
h=1/2
//considering the interval [x2,x1]=[1/2,1]
s=h/6.*{f(x2)+4*f((x2)+h/2)+f(x1)}
p=h/12*{f(x2)+4*f((x2)+h/4)... |
1dfd5c5e93c9d736eee2569de97ce44a9213c264 | aef26b59d30e6dadcb4ad4adca5fef486bba8f39 | /99乘法表 for.tst | 0a652b9005494debaa12b64f3aa5c647c6b60d76 | [] | no_license | BinYangXian/ora | 23141658d122e552ae63d2c091a0b038446da275 | ebb23fed403da5248f8926f902a247b4046e540c | refs/heads/master | 2021-01-20T15:07:10.757649 | 2017-05-09T08:34:52 | 2017-05-09T08:34:52 | 90,722,061 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 353 | tst | 99乘法表 for.tst | PL/SQL Developer Test script 3.0
17
-- 99³Ë·¨±í
declare
s number :=1;
begin
for i in 1..9 loop
for j in 1..i loop
s :=j*i;
if s>=10 then
dbms_output.put(j||'*'||i||'='||s||' ');
else
dbms_output.put(j||'*'||i||'= '||s||' ');
end if;
end loop;
dbms_output.new... |
7a69f0697099022962af8b407848d148e2660aa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH35/EX35.06/35_06.sce | 7a6dbbddac830157163102db2b415daac2cd30e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,205 | sce | 35_06.sce | //Problem 35.06: Determine, for the network shown in Figure 35.8, (a) the values of R and X that will result in maximum power being transferred across terminals AB, and (b) the value of the maximum power.
//initializing the variables:
rv = 100; // in volts
thetav = 30; // in degrees
R1 = 5; // in ohm
R2 = 5; // ... |
9dffe47aa9ed28eae6b4436ef504311f905ec823 | a5e2e29746cbbbfd0c0bd14cc542cd3ba2bf7d3f | /Sem2_Mathe/random nice shit/dgl2.sci | 503ddf5e4f70b4a6200e8d8e3f314349d3b76b8c | [] | no_license | DonnyAwesome/UNI | 99580eabc0ff200eeecb72d866313b89cd28d0cb | c028434b672ae1962c2074fc249012d68a63db2b | refs/heads/master | 2020-04-02T13:05:02.067280 | 2019-02-14T02:14:06 | 2019-02-14T02:14:06 | 154,466,384 | 0 | 0 | null | 2018-10-24T08:33:10 | 2018-10-24T08:33:10 | null | UTF-8 | Scilab | false | false | 107 | sci | dgl2.sci | function zp = dgl2(t, z)
zp = [z(2);
-sin(z(1))+cos(t)];
endfunction
|
4fda6cc9eaa27536f8e257c1d07aea4371a2fa6d | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_12/ej4.sce | 9c3214c6358543db0a7c73cb6dcbf8ca788b54f9 | [] | 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 | 278 | sce | ej4.sce | clc
deff('y=f1(x)', 'y=exp(x).*(x^2+2*x)')
h = 1
Ie = intg(0,1,f1)
disp(Ie)
Ia = (h/2)*(f1(0)+f1(1))
disp(Ia)
err = abs(Ie-Ia)
disp(err)
h = 1/2
Ia2 = (h/2)*(f1(0)+2*f1(0.5)+f1(1))
disp(Ia2)
err = abs(Ie-Ia2)
disp(err)
//Simpson 1/3
h = 0.5
Isimp = h/3*(f1(0)+4*f1(0.5)+f1(1))
|
3ec8ee75ce539a26f8f0040b5ade02394afdcf3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH6/EX6.6/66.sci | 56f85f4e0e7e186d81320c6d0cb6498bc7c7faea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sci | 66.sci | //chapter 6 example 6//
clc
clear
//effeciency=n,charge of electron=e,wavwlength=l,plancks constant=h,speed of light=c,diode current=Ip,multiplication factor=M//
n=0.7;
e=1.6*(10^-19);
l=0.8*(10^-6);//in meters//
h=6.62*(10^-34);
c=3*(10^8);//in mts per sec//
R=(n*e*l)/(h*c);//responsivity//
printf("\n Respon... |
b2b473e4014e425667676373466ea778bde4d3dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH9/EX9.6/9_6.sci | 5d3989014a19c611a47f8dcc9835c083ed9f9ea7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 9_6.sci | //9.6
clc;
E2=((1.8+5*0.16)^2+(2.4+5*0.195)^2)^0.5;
pf2=2.6/E2;
AT_sec=600;
sina=3.375/E2;
AT_pri=600+10.1*pf2+13.4*sina;
I1=AT_pri/40;
Ratio_error=(15-I1)*100/I1;
printf("Ratio error=%.2f percent",Ratio_error)
|
d225976b84d9a2cceed02e6eb3acfed6ac05df80 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH4/EX4.1/4_1.sce | f222d19ff9c6dad2ee1d96068c9bf77b4a5ddfb4 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 4_1.sce | clc;
s1=6.5;
sf1=1.992;
sfg1=4.717;
x=(s1-sf1)/sfg1;
hf1=697;//kJ/kg
hfg1=2067;//kJ/kg
h1=hf1+x*hfg1;
h2=2995;//kJ/kg
Q=h2-h1;
disp("heat supplied:");
disp("kJ/kg",Q)
|
de4fbcf061bf92e522783b747fdd308263258f64 | cd3baacb9aa523e8ac4f10406c5fb62c9c60998a | /gate/MyNot.tst | c3e2ccfcdcb42e871b4a6beef7d9b4f97b07f8cd | [] | no_license | wangkekekexili/cuddly-octo-pancake | f8bbebc043417af9662712de610b390f062545f8 | 67b3d4c3d15c5877644221b6d987dd911101d013 | refs/heads/master | 2023-03-06T12:49:54.668374 | 2021-02-14T14:53:07 | 2021-02-14T14:53:07 | 338,038,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | tst | MyNot.tst | load MyNot.hdl,
output-file MyNot.out,
output-list in%B3.1.3 out%B3.1.3;
set in 0, eval, output;
set in 1, eval, output;
|
541259bb50ec641e7bb22834bde6677d0458c279 | d52d3664d9650ed9473dfaa3c4b379f05ef9fa78 | /test/f2ndfl/merge_load_xml.tst | 8d568c3169d96ff14b17d870c449c783f7881c45 | [] | no_license | ZVlad1980/excel_api | 7b517bf68b677f8e947cba8794ae557e48c9ce06 | b514dbea9cb619e0e73c67b2e8fec4a59301101a | refs/heads/master | 2020-04-04T01:51:22.004466 | 2018-10-02T05:52:04 | 2018-10-02T05:52:04 | 155,679,735 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | tst | merge_load_xml.tst | PL/SQL Developer Test script 3.0
13
declare
-- Local variables here
begin
--dbms_session.reset_package; return;
f2ndfl_load_empl_api.merge_load_xml(
p_code_na => 1,
p_year => 2017
);
exception
when others then
dbms_output.put_line(utl_error_api.get_exception_full);
raise;
end;
0
0
|
f16f0931dfb4098bee5610fc36ecd365d9347e69 | be72b348d2bbd0cd916ee42daf3151ca8d3d6fc5 | /Fourier-Transform-in-Image-Formation/roof_fft.sce | fea597853c61df366fc043558970493b524e90cb | [] | no_license | albertyumol/Image-Processing-on-Scilab | f9b859b35cd4279abaa79aef65598425a7ef37c9 | 33032c819026222dc75b8364b81012986a5e46ab | refs/heads/master | 2020-04-26T15:40:55.463187 | 2019-12-06T16:25:15 | 2019-12-06T16:25:15 | 173,654,065 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 791 | sce | roof_fft.sce | I = imread('C:\Users\csrc-lab03\Desktop\Activity5\roof.jpg');
//Igray0 = rgb2gray(I); //Change image to grayscale.
Igray = mat2gray(I);
FIgray = fft2(Igray); //Apply 2D FFT.
F1 = mat2gray(abs(FIgray)); //Get magnitude of complex values.
FS1 = fftshift(F1); //Shift quadrants back to proper image.
F2 = fft2(FIgray)... |
206b637a9a12e98336d14902eabafcf45b619bd8 | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/op2.tst | 435652145672545d7eb26ee95030a59d9537629d | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | tst | op2.tst | main {
int a;
a := 2 * 3 * 4 / 6 / 2;
print(a);
return a;
}
|
46be3b858aa07929ba78c508d950161255aeb3e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH9/EX9.10/Ex9_10.sce | 0610041aa24ba33188cfd80f161c45bc8992a598 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,826 | sce | Ex9_10.sce | //Ex9_10 Refer Fig.9.17(a)
clc
V_gamma=0.6
disp("V_gamma= "+string(V_gamma)+" volts") //Threshold voltage
VEE=-5.2
disp("VEE= "+string(VEE)+" volts") // voltage supply
VBE3=0.7
VBE4=VBE3
VBE5=VBE3
disp("VBE3=VBE4=VBE5 "+string(VBE3)+" volts") //base-emitter voltage
RE=779
disp("RE= "+string(RE)+ " ohm") /... |
d1ce6fd9aaa16eda10242177bd2258078e452bee | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/elem/fix.sci | e3a290cc8d58c0fe49b5ee78b29563de769a9376 | [
"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 | fix.sci | function x= fix(x)
//x1=x(:)
//y=sign(x1).*floor(abs(x1))
//x(:)=y;
x=int(x);
|
c387c058f76d0fa7a544b1b8ac4878eca0fc1cc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.27/Ex6_27.sce | bbc038fbc7d0c8514c39629044b2200bcddb3fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | Ex6_27.sce | clear;
clc;
printf("\t\t\tProblem Number 6.27\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.27 (page no. 270)
// Solution
//data given
T=50+273; //Celsius temperature converted to Kelvin //final temperature //unit:K
v2=1/2; //Because,v2=(1/2)*v1 //volume increases to its half its final volume
v1=1;
R=8... |
a785138ee5cc02a5565daf9e65facb54b8ae0cb8 | 7f8a82b193633b744689e1f194923592e656b470 | /rltoolSci/macros/plotEvans.sci | f5840d5d05d6929e0636eef3b8fbc182e719ce34 | [] | no_license | josuemoraisgh/rltoolSci | 3b5a5e8fc6a27b60bca3354af5222350cd8e8b3b | a76ad9fbfe988bb2674adfeb466847a32719474a | refs/heads/main | 2023-07-14T10:40:12.549424 | 2021-08-26T17:52:16 | 2021-08-26T17:52:16 | 385,216,740 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,143 | sci | plotEvans.sci | function plotEvans()
global main_fig1 axes sys gnum gden cnum cden hnum hden Mp T5 ganhoEvans
delete (axes.children);
axes.auto_clear = 'off'; //Equivalente ao 'hold off' no Matlab
s = %s;
i = %i;
execstr(msprintf('sys = clean(syslin(''c'',(%s)*(%s),(%s)*(%s)));',cnum,gnum,cden,gden));
sma... |
88ed2f36f09707e72fa416301c8a407bf3fae9ce | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/thcase.tst | f31a053e588dac0814851f696096e63ae1157bef | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,983 | tst | thcase.tst | #Test thermo cases
#Create any dummy unit ops
s1_Lev1 = Flowsheet.SubFlowsheet()
s2_Lev1 = Flowsheet.SubFlowsheet()
#Now create a first thermo case
$thermo = VirtualMaterials.RK
/ -> $thermo
thermo + METHANE ETHANE PROPANE
#See who got it
/thermo
s1_Lev1.thermo
s2_Lev1.thermo
#Create one more unit op at the sam... |
efb4d7367b315d089c685b50256fe97d7d6824d7 | 16b5f4295c23a1225d116042f8f90badf64b339c | /codebase/superdarn/src.bin/tk/tool/fit_demo.1.0/out.tst | 0f2d2c34212fd28d449c3570a9fee9d8b8a3e877 | [] | no_license | ajribeiro/VT_RST3 | 152804ab6d399626bcf28802f89afe42a283571e | c289ed8f27c8a123ceb12ec86000920dc6d01fea | refs/heads/master | 2021-01-22T17:47:33.247213 | 2012-07-04T15:43:40 | 2012-07-04T15:43:40 | 2,048,089 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175,078 | tst | out.tst | **********************************************************
First, we will read 10 fit data racords 1 record at a time
**********************************************************
Date: 2011-5-2 Time: 0:2:0 Beam: 15
Scan Flag (!= 0 indicates a new scan is starting) : 1
# of range gates : 100 Distance to First Range : 12... |
02b002c0cf17ea340b7c3a31118815e9e75e2b10 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/Z-trans/scilab/supply1.sce | 15658c9f5570d775bd962f146264b11b998d7c93 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sce | supply1.sce | // Updated (13-12-06)
Ti=0.501;
A = [Ti 0 0 0 1-Ti];
abs(roots(A))
|
b3555530544b66a77b5d276bbed87daccf10518b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH4/EX4.4.1/Ex4_4_1.sce | 4c637c44dea3d19ae27fc9a326883c6b216ffd07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | Ex4_4_1.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 4.4.1
//windows 7
//Scilab version-6.0.0
clc;
clear;
//given
d=62.5E-6;//core diameter in SI units
D=125E-6;//cladding diameter in SI units
NA=0.275;//numerical aperture
lambda=1300E-9;//operating wavelength lamb... |
58d50320f040a821c09290ab86354d3f388b916e | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/rule/0004.tst | 245f61e809b08b324616bff5075b9d33a2a65917 | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,021 | tst | 0004.tst | R-
=*"h!!" *18([83%D1 (W--/GQ 282491*4"x3")/ ""
0""
97*s]
3*0%D7.7 *45(%xcC-B
"";D
/
10HO
;E
) 4(17(26[f;
; ^
;
([(
%XA.4.DE
Z-r
q3n6;]
6(; h +'O
;
23"!9" ) *j J38 86*61(8*B
"!"/ 2*9w/
71[ osF-;
;
]
[ 366m7 67*""
%XaAd] [ D O9-354 5"D";... |
be64d59d2f7cc33f454a689c845839ee9a80324c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH9/EX9.6/Ex9_6.sce | ae4927726c57a053196b68b3b05621da3889399d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,112 | sce | Ex9_6.sce | clc
// initialization of variables
// The reaction equation is
//C3H8 + 5(O2+3.76N2)---> 3CO2 + 18.8N2 + 4H2O
// All the enthalpy of formation values are taken from Table B.5 with units in kJ/mol
hfCO2=-393520 // enthalpy of formation associated with CO2
hbarCO2=22280 //enthalpy associated with CO2 at 600K fro... |
1de81db7d8dbd7872c14282f1969756d6cc1482e | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH3/EX3.3/c3_3.sce | da48c3110f53785aec3420fe7b2d0d9af8279b1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,196 | sce | c3_3.sce | // (3.3) A well-insulated rigid tank having a volume of .25 m3 contains saturated water vapor at 100C. The water is rapidly stirred until the pressure is 1.5 bars. Determine the temperature at the final state, in C, and the work during the process, in kJ.
//solution
//variable initialization
V = .25 ... |
71b324a6ceae6128fb3a69e3d8d8999061495c4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /53/CH4/EX4.2/example_2.sce | 4954600b54d4be925302a6a91cffb930bfebffd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | example_2.sce | //input impedance in ohms
Rin=10000;
//Trans-resistance in ohms
Rt=(10)^(5);
//feedback fraction Bg
Bg=(10)^(-3);
AB=Rt*Bg;
//input impedance after feedback is applied Zif in ohms
Zif=Rin/(1+AB);
printf("RESULTS:\n");
printf("Input impedance after feedback applied is Zif=%d Ohms",Zif); |
40ead25d0e799928375248403ef120a09579e7dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH6/EX6.5/Ex6_5.sce | ec72f4ae113a5495f656f7d0fbc4afca570029f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Ex6_5.sce |
//Variable declarations
A = complex(0,60) //amplifier
B = complex(0,30) //amplifier
AB = A*B
C = (1+A)/AB //condition for oscillation
phi = phasemag(C) //phase
//Result
printf ( "C = %.4f with phase = %.2f ",abs(C),phi)
|
58ea88a17d47ebc1d839402ab7229bdfb6d8211c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH8/EX8.7/ex8_7.sce | c6c994d593ce2746929ac6d5283b1f41cf891936 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | ex8_7.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
Na=10**16 //cm^-3
Nd=10**16 //cm^-3
ni=1.5*10**10 //cm^-3
tau0=5*10^-7 //s
eps=11.7
//Vbr+Vr=z
z=5 //V
W=sqrt(((2*eps))*((Na+Nd)/Na*Nd)*z)
disp(W,"depletion width in cm is= ")// textbook ans is wrong
Jgen=(e*ni*W)/(2*tau0)
disp(Jgen,"generat... |
da4df2a0b8421144ac9c85902cb49086c3119529 | eee6b5ba0933f6b42d6abe6b5180679afff46b59 | /simulate_model.sce | 29b4517cfdd010eb7f57e018517e1f788473ec3e | [] | no_license | Cedev/fluidic-amplifiers | f3e528dc22cc2824cf0c5c869c7e04489c3b116f | 08db2e272a580947d744605bbc42c536ce7e43cf | refs/heads/master | 2021-05-17T16:30:12.460688 | 2020-04-05T15:35:28 | 2020-04-05T15:35:28 | 250,872,346 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,480 | sce | simulate_model.sce | function fr=is_finite_real(x)
fr = isreal(x) && ~isinf(x) && ~isnan(x)
endfunction
function check_nan_variable(name)
[obj, ierr] = evstr(name)
if ierr == 0 then
if ~is_finite_real(obj) then
disp("NaN variable", name, obj)
end
end
endfunction
function check_nan(... |
4d0fd455fad2507bf4f369798b20c90147d5d1da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.42/2_18_42.sce | 9f9f86629c65a09ac03325de08ed7cec372ebfc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 972 | sce | 2_18_42.sce | //water and its treatment//
//example 2.18.42//
clc
W1=10;//amount of CaCO3 in ppm//
W2=14.6;//amount of Mg(HCO3)2 in ppm//
W3=4.4;//amount of CO2 in ppm//
W4=22.2;//amount of CaCl2 in ppm//
W5=9.5;//amount of MgCl2 in ppm//
W6=2.8;//amount of SiO2 in ppm//
M1=100/100;//multiplication factor of CaCO3//
M2... |
5554c3a3ac1749f5533c552d4729d023af676c89 | f471c9c3ef94fe689af37cc9be0a47874cd8ea48 | /FilterInteraction.sce~ | 74433c98c8836d7eb716aae45f3a37972ab1e351 | [] | no_license | Powerman95/FilterInteraction | 3f8cfda82d74dc95266e59f2c728c09a38aa39ee | d28dad5a7111b0c879c0f2b276f12af444ec02e5 | refs/heads/master | 2021-01-10T16:05:41.177837 | 2015-11-18T21:34:24 | 2015-11-18T21:34:24 | 45,051,596 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,212 | FilterInteraction.sce~ | // This file will eventually become a filter interaction simulation.
// For now, it will test the github.
// To run on linux, type :!scilab-cli -f %
// To run on windows, type !C:\"Program Files"\scilab-5.5.1\bin\scilex -nwni -f %
// Added a line. 11/2/2015
printf("What hath God wrought.\n");
L=1;
C=1;
// Scaling. S... | |
ab5399c920f869e7b8c583364b762591b4a04bdb | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/1/tests/test2.tst | 34c774778e357e2ad6cc6fa9394427fefd9ba503 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | tst | test2.tst | main ( ) {
type myinteger = short ;
var foo , bar : void ;
const FALSE = 0 ;
const TRUE = 1 ;
foo = 1 ;
bar = 2 ;
while ( foo != 10 ) {
foo = foo + 1 ;
bar = ( bar * foo ) / 2 ;
}
if ( bar > 100 ) {
print 1 , 3 , 3 , 7 ;
}
} |
5cc2a0e653866e1debe2f304c870d4f5f3129748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH7/EX7.1/example7_1.sce | fe37a4056d4259e42ffd935867fd6ac57711c662 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example7_1.sce | clear
clc
//Example 7.1 KINETIC ENERGY CORRECTION FACTOR FOR LAMINAR FLOW
Vmax=1; //max velocity[m/s](say)
ro=1; //radius of pipe[m](say)
A=%pi*ro^2 //area[m^2]
//Given, V=Vmax(1-(r/ro)^2)
//dA=2*pi*r*dr
Vbar=(1/A)*integrate('Vmax*(1-(r/ro)^2)*2*%pi*r','r',0,ro) //mean velocity[m/s]
alpha=(1/A)*integrate('((Vm... |
8ae2f18e2a094532d43ff9a4b4fdeeb5773c1c5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.25/Ex1_25.sce | a055c32e0f1fdf77984415ebdaf48adb5c781e35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_25.sce | //Example 1_25
clc();
clear;
//To find the value of the slit width
lemda=6500 //units in angstroam
theta=30 //units in degrees
a=lemda/sin(theta*%pi/180)
printf("The value of the slit is %.0f angstroam",a)
|
afeeace6d63e3c5e0f7e96ba68d613f043bca424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH2/EX2.6/Example2_6.sce | 4adb4e3aff43281fba75eeb4c2d85c59c5466efb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | Example2_6.sce | //clear//
//Example 2.6:Convolution Integral of input x(t) = (e^-at).u(t)
//and h(t) =u(t)
clear;
close;
clc;
Max_Limit = 10;
h = ones(1,Max_Limit);
N2 =0:length(h)-1;
a = 0.5; //constant a>0
for t = 1:Max_Limit
x(t)= exp(-a*(t-1));
end
N1 =0:length(x)-1;
y = convol(x,h)-1;
N = 0:length(x)+length(h)-2... |
de4314b39a6da49f0cf5dcfa3ea5997308a6fdc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.30/Ex30.sce | 9e498e9edd742c7932d6151dd3056432ccfd99d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | Ex30.sce | // Additional solved examples , Example 30 , pg 345
H0=6*10^4 //magnetic field intensity at 0K (in A/m)
T=4.2 //temperature (in K)
Tc=8 //critical temperature (in K)
Hc=H0*(1-(T^2/Tc^2)) // critical magnetic field intensity
printf("critical magnetic field intensity\n")
printf("Hc=%.0f A/m"... |
ec2b8aba10d325977d49efed3972ef842f3f3c37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH4/EX4.7/Ex4_7.sci | 74950f8d6cd30a98f76c0ad39f94bcf139da4c2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sci | Ex4_7.sci | clc();
clear;
// To calculate the depth of penetration of the temperature oscillation into the cylinder wall
rpm = 2000; // Revolutions per minute of motor
a = 0.64; // Thermal diffusivity in ft^2/hr
to = 1/(60*rpm); // Period of osc... |
d6910c69c6ad4b17a914a59970524b1ad28a291f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH3/EX3.4/Ex3_4.sce | 11b66cff354b0ec12572b8c26ac3771109cf432d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | Ex3_4.sce | //Ex3_4
clc
Bx = 40*10^-6
By = 10*10^-6
N = 10^6
e = -1.6*10^-19
v = 8*10^6
disp("B = "+string(Bx)+"ax + "+string(By)+"ay Wb/m-sq")//magnetic field
disp("N = "+string(N))//number of electrons
disp("e = "+string(e)+"C")//electron charge
disp("v = "+string(v)+"ax m/s")//velocity of electron
disp("F = Q(VxB) = ... |
8ff6dd82e027261914090a7e3d678030ba7c543f | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.ecoli-10-1tra/result8s0.tst | 375381c80c9e7951b7999ad348a0d6e0c6957493 | [] | 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 | 533 | tst | result8s0.tst | @relation ecoli
@attribute Mcg real[0.0,89.0]
@attribute Gvh real[1.0,88.0]
@attribute Lip real[1.0,48.0]
@attribute Chg real[1.0,5.0]
@attribute Aac real[0.0,88.0]
@attribute Alm1 real[1.0,94.0]
@attribute Alm2 real[0.0,99.0]
@attribute Site{cp,im,imS,imL,imU,om,omL,pp}
@inputs Mcg,Gvh,Lip,Chg,Aac,Alm1,Alm2
@outputs ... |
84dd19640b7cfea8dc819b4bdd9e0b38ad4441b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH15/EX15.2/Ex15_2.sce | 63b14b328874b87eefa2b523e740f3386dab6a76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Ex15_2.sce | //example-15.2
//page no-463
//given
//temp
T=983+273 //K
Tm=1083+273 //K
deltaT=Tm-T //K
//given that
//latent heat of fusion of copper
deltaHm=1.88*10^9 //J/m^3
//interface energy/unit area
gammasL=0.144 //J/m^2
//change in free energy of vapour
deltaGv=deltaHm*deltaT/Tm //J/m^3
//critical radiu... |
4a2595e5da4bd234100ef7bcdcb77831e82a8123 | efe59cd4cca137aba9af447e8040b1eac3738006 | /solutions/2021-1/exercise/desafio_parabola/desafio_parabola-vetor.sce | b8c993f8f2aaaa7ad278b8bb1d0a436241fec94e | [] | no_license | thejefecomp/scilab-codes | fd13f6aa666135c0fb08989e25b0ca1354c58b51 | 6eefce6eed8af0b54f2d6172f6e2b05513327184 | refs/heads/master | 2023-07-31T13:23:50.467306 | 2021-09-23T09:00:49 | 2021-09-23T12:04:06 | 287,115,880 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,682 | sce | desafio_parabola-vetor.sce | /*
Author: Jeferson Souza (thejefecomp) - jeferson.souza@udesc.br
O desafio da parábola
Uma parábola pode ser definida pela equação y = ax^2 + bx + c. Suponha
a necessidade de calcular os valores de y para diferentes parábolas, as quais
só serão conhecidas durante a execução do seu programa. O seu desafio é
escrever... |
7cd6d56a9ae46da159449039ec129d0c0cb9a083 | 903f095ccddc6ac2990aff02be300cd6229a2a99 | /practical-classes/gauss-seidel-iterative-method.sce | 91d92acbb54a62abc622d3accd65e399aa535318 | [] | no_license | pdelfino/linear-algebra-numerical-methods | dfb39b8500eba28cc884ecb31a948f51517f1503 | 065353c0be82db134506a7b4922e08cfe77d918c | refs/heads/master | 2021-06-10T20:45:46.654441 | 2020-06-15T11:48:01 | 2020-06-15T11:48:01 | 98,227,297 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,029 | sce | gauss-seidel-iterative-method.sce |
function [iter_x,norm_dif,k,residual_norm] = gauss_seidel_algorithm(A,b,x_zero,E_tolerance,M)
L = tril(A)
U = triu(A) //U preliminar, precisa ter sua diagonal zerada
[nRows,nCols] = size(A)
U(1:(nRows+1):nRows*nCols) = 0
// A == L+U; teste para checar se a separação foi correta
L_inverse = inv(L)
t_matrix = (-... |
61de0d575a5b35fb3d097c55b3d6035c5cb46ae2 | 7a5c946ff5a4aba4c781b98272702367d698fd73 | /TAREAS/Tarea 3_Matrices de rotacion/3_Ejercicio.sce | 25f67f00cdf3aa249a6cc6c46b95131be7d9becd | [] | no_license | ds365/Garcia.Barajas.Raul.Israel | 44465872133d2e76cf2e6afb36fa87bc964dc998 | b1732d12d1d3fb22481f1b94ae64b1098288efa1 | refs/heads/master | 2020-04-16T22:15:11.635819 | 2019-04-09T20:09:12 | 2019-04-09T20:09:12 | 165,959,498 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 912 | sce | 3_Ejercicio.sce | g1=15
g1 =
15.
g2=35
g2 =
35.
g3=45
g3 =
45.
r1=g1*%pi/180
r1 =
0.2617994
r2=g2*%pi/180
r2 =
0.6108652
r3=g3*%pi/180
r3 =
0.7853982
A=[cos(r1) -sin(r1) 0;sin(r1) cos(r1) 0;0 0 1]
A =
0.9659258 -0.258819 0.
0.258819 0.9659258 0.
0. ... |
34a7cde2a8a0d3b347609fe312437a16dc465f3e | b6bf377ad0dd93166c29119fdaf090d104caf3b7 | / extensiblesimulationofplanetsandcomets --username lasxrcista/Miscellaney/2Body1.1.sci | eacb8f8ebb6a465e29760f000b56eb58acca44a5 | [] | no_license | tectronics/extensiblesimulationofplanetsandcomets | d69905f0406bf552043dd0e244ea889a55922ef9 | d9d59841d1d177026e60245d3f99c879ee0f8ca0 | refs/heads/master | 2018-01-11T15:15:54.659208 | 2009-07-21T21:22:33 | 2009-07-21T21:22:33 | 47,740,385 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,247 | sci | 2Body1.1.sci | function xyp=f1(t,Z);
xpos=1;
xvel=2;
ypos=3;
yvel=4;
GSun=5;
MassEarth=6;
r = (Z(xpos)^2 + Z(ypos)^2)^(1/2);
xyp(xpos) = Z(xvel);
xyp(xvel) = (Z(GSun)*Z(MassEarth)) * Z(xpos) / ( r^3 )
xyp(ypos) = Z(yvel);
xyp(yvel) = (Z(GSun)*Z(MassEarth)) * Z(ypos) / ( r^3 )
... |
4487051bf62f17ea177e76c2dd1d796c60f08c8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH6/EX6.7/Ex6_7.sce | efc1bb918761212890af7f6da139b2a0e7deaeca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex6_7.sce | clc
//
//
//
//Variable declaration
Q=2000 //Quality Factor
f=240 //Frequency
//Calculations
Tau=((Q)/(2*3.14*f))
t=4*Tau
//Result
printf("\n The Time in which the amplitude decreases is %1.1f sec",t)
|
c503d148ea0ce1bd1498c377fe0db47883021d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH4/EX4.23/ex4_23.sce | a4d2cd39379ed41e0869215dc222c92000ebe94a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | ex4_23.sce | // Exa 4.23
clc;
clear;
close;
format('v',5)
// Given data
V_GS = -1.0;// in V
V_DS = 4.0;// in V
I_DS = 1;// in mA
I_DS = I_DS * 10^-3;// in A
I_G = 0;// in A
R_G = 500;// in k ohm
R_G = R_G * 10^3;// in ohm
V_DD = 10;// in V
V_DS = 4;// in V
V_G = I_G*R_G;// in V
Vs = V_G-V_GS;// in V
R_S = Vs/I_DS;/... |
6fb8907508adae807224bed36342b6b002c8b84b | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH3/EX3.7/3_7.sce | 2691b2075b20c83ef1fdb9d05a0b592dd75f3de9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,193 | sce | 3_7.sce | //Eg-3.7
//pg-86
clear
clc
//Matrices A and B
A=[-0.41 0.58 1 0 0;0.41 0.58 0 1 0;-.82 -.58 0 0 1;.82 .58 0 0 0;-.82 .58 0 0 0];;
B=[0;3;0;6.25;0];
[n,n]=size(A);
//Permutation,Lower triangular matrix initialisation
P=eye(n);
L=zeros(n,n);
//Algorithm of LU decomposition to find L,U,P and X
//Par... |
9717fe20165ac4b3b8c84a19c5a1e498eb1fbd72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH3/EX3.8/Ex3_8.sce | 17744a51f049ea9ae141f40a2d27521c3e82ea76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,429 | sce | Ex3_8.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 3: Methods of Analysis
// Example 3 - 8
clear; clc; close;
//
// Given data
// Diagonal term of G
G11 = (1/5.00) + (1/10.00); ... |
9a8e063fa1c2d9b7954be36d9d446aa358bee525 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH7/EX7.22/ex_7_22.sce | 3af517a92c7938d7834b50b51f048c822a65dbab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_7_22.sce | //Example 7.22 // sensitivity
clc;
clear;
close;
//given data :
d=0.06; // in mm
Rg=120; // in ohm
Gf=2; // gauge factor
v=6; // im volts
E=200; // GN/m^2
mu=0.3; // poisson's ratio
l=1000; // consider a load applied in N
Si=l/((%pi/4)*(d)^2)
e=Si/(E*10^9);
R=Gf*e;
dVo=2*(1+mu)*R*(v/4)*10^-6;
S=dVo/(l... |
1fb176d9aae50462960125d345ede8a6289db397 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/sske390.tst | fa6155d585b2946359d39974ec3b7ae1635867dd | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 14,816 | tst | sske390.tst | *
* --------------------------------------------------------------------
* S/390 SSKE test
* --------------------------------------------------------------------
*
mainsize 2M
*
* page addresses
*
defsym page0 00000000 # (pr)
defsym page1 00001000
defsym page2 00002000
defsym page3 000030... |
982a428521d3e2858820ea3b911dc45f28383ad1 | 7a910c551537a77936de100fb76d8934a5651d0d | /examples/my_examples/generator_function.sce | b04db704130e0f2773f9a45a285cd241baa291e1 | [
"MIT"
] | permissive | mtxslv/StudyingMachineLearning | bb660d648b375cd20722dfb403b0f3499c013b22 | 667527904acd495499250967b86e1ccdf00b2631 | refs/heads/master | 2021-06-29T19:52:57.506998 | 2020-09-12T15:44:58 | 2020-09-12T15:44:58 | 144,077,249 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | generator_function.sce | // consider the function z = x² + y²
// let's make a database of qtd_elements
qtd_elements = 500
i = 1; //iterator
rand('seed', getdate('s')); //initialize the random number generator
rand('uniform'); // the random number generator should create numbers between 0 and 1
//it makes the process ... |
b41be9af25677f48f3de4f67986b2b51f2b95293 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH7/EX7.2/example7_2.sce | a9f859443001b4b057ac1ca21657f05d0fb65ccc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | example7_2.sce | // Find amplification
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 7-2 in page 312
clear; clc; close;
// Given data
mu=30; // FET parameter
rd=5; // FET parameter
Rd=10; // FET parameter value in ohms
R=50; // Resistor value in ohms
// ... |
a492716933826ae9ae40b091e0bd38baf03e8854 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1204.sce | 4c2d0766216a85eddd60963dc25a937f15a4ba59 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,804 | sce | map1204.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1206" Width="17" Height="9" CellSize="40" BackgroundSize="1" Background="9plus.png">
<Cell Name="篱笆2" X="1" Y="1" />
<Cell Name="篱笆2" X="2" Y="1" />
<Cell Name="篱笆2" X="3" Y="1" />
<Cell Name="篱笆2" X="4" Y="1" />
<Cell Name="篱笆2" X="5" Y="1" />
<Cell Name="... |
09c5129417b69918ca3c617476d0a46f199ad135 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH11/EX11.13/13.sce | 0e8be01d076f699bd091a9edd58e27b51d6ff404 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | 13.sce | clc
clear
//INPUT DATA
RH=0.0125//Hall coefficient of a sample n-type semiconductor in m^3 C^-1
rh=-0.0125//Hall coefficient of a sample n-type semiconductor in m^3 C^-1
me=0.36//electron mobility in m^2 V^-1 s^-1
EH=100//electric field in V/m
e=1.6*10^-19//charge of electron in coulombs
//CALCULATION
n=(1/(... |
bc0e759020ee7a100e8c0445c80ad26507757f30 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Structure/PIL_kpt_conv.sci | 9331f08622f21e3d5710b99cd458e5123ab162cc | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,111 | sci | PIL_kpt_conv.sci | // **** Purpose ****
// Convert the input k-space coordinate from reduced coordinates to
// cartesian coordinate and vice versa.
// **** Variables ****
// [prim_vec]: 3x3, real
// <= prim_vec row vectors
// [kpt_in]: nx3, real
// <= input of the k-point, can be many, in row form
// [inp_type]: 1x1, string, 'red' / '... |
439c3636e76d7f73ba5ab751f4cc259217cb430a | 44dccf35d0d05580e3fc20af3b7697b3c638d82d | /testcases/corner/4.sce | 03458ae340d6227859eb346142e3ef258f8b124c | [] | no_license | surirohit/Scilab-Image-Processing-Toolbox-Unclean | 213caacd69badd81ec0f99a800f44a2cf8f79b5d | 3a8057f8a8d05e7efd83704a0e732bdda23fa3a0 | refs/heads/master | 2020-04-09T07:31:20.042501 | 2016-06-28T09:33:57 | 2016-06-28T09:33:57 | 60,406,367 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | 4.sce | i = imread('test1.jpg');
corners = corner(i,'SensitivityFactor',0.08);
disp(corners);
|
f069137318a85b2ddca56a28570a1ffd432798b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH6/EX6.7.3/Ch06Exa6_7_3.sci | d35c9a484a4517ad09eeae19d5fe1c5834eed394 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch06Exa6_7_3.sci | // Scilab code Exa6.7.3 : To calculate the magnetic field applied to cyclotron whose frequency is given. Page 271(2011)
q = 1.6e-019; // Charge of the proton, C
r = 0.60; // radius of the dees, m
m = 1.67e-027; // Mass of the proton, Kg
f = 10^6; // Frequecy of the proton,Hz
B = 2*%pi*m*f/q; // Magnetic field appl... |
25f5eb7d38bc37235e253f3693c24d6c6a4e201d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH2/EX2.21.3/ex2_21_3.sce | 22afacca098636d7a024eabddd4fda5e7ebec86d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | ex2_21_3.sce | //Chapter-2,Example2_21_3,pg 2-47
e=1.6*10^-19 //charge on electron
ne=2.5*10^19 //density of carriers
nh=ne //for intrinsic semiconductor
ue=0.39 //mobility of electron
uh=0.19 ... |
80a3408ff4f214025b27c3a9177252aaafa22f72 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RET3.prev.tst | 980047156e4c1410c522ecccc91175b5c62499bf | [
"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 | 281 | tst | RET3.prev.tst | Construction of TranspositionSet(7) takes too long
Expanding for base=2, level=4, reasons+features=
Refined variables=a,b,c,d,x,y,z
ReasonFactory: , code="transp"
Reason "transp" is not considered for x⁴+y⁴+z²; -2a*b+y²; -a²+b²+z; a²+b²-x²; a-2c*d; b-c²+d²; c²+d²-x
|
a717099d7b54ab74b42453b7a0aa7ea1b4e39ba9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH5/EX5.a.14/A_Ex5_14.sce | 0917dceef4f2c8c15450f14d3c4f467855a4f772 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | A_Ex5_14.sce | // Chapter 5 additional Example 14
//==============================================================================
clc;
clear;
// if a plane cut intercepts of lengths l1,l2,l3 the on three crystal axes ,then
// l1 : l2 : l3 = pa : pq :rc
// where a,b and c are primitive vectors of the unit cell and p,q and r a... |
c1ee6a69d5090c67813824f58c5868da96ee8113 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH3/EX3.3/3_3_sci.sce | 459d1f5af48ad00eb3903b294f1727943cf8873b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | 3_3_sci.sce | //Fabrication and Thermal characteristics
//Example 3.3
Xa=35;//Ambient temperature//
P=150;//on state power loss in Watts//
Rjc=0.01;//junction_case thermal resistance//
Rcs=0.08;//case_sink thermal resistance//
Rsa=0.09;//sink_atmosphere thermal resistance//
Xj=Xa+P*(Rjc+Rcs+Rsa);//junction temperature//
prin... |
94c556e910d31b73f6f95cf89a2c56bf52b4241b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH6/EX6.17/example17.sce | ce50f544939a3e898dfac2252f9e186ca5940a0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | example17.sce | s=%s;
m=s^4+2*s^3+8*s^2+4*s +3;
disp (m)
r= coeff (m)
n= length (r)
routh = routh_t (m) // Thi s Func t ion g e n e r a t e s the Routht a b l e
disp (routh ," r o u t h s t a b u l a t i o n=")
c =0;
for i =1: n
if ( routh (i ,1) <0)
c=c+1;
end
end
if(c >=1)
printf (" system is unstable ")
else printf (... |
0a14095164773d1ce5f104af625837ef99ae9ff5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH1/EX1.4/1_4.sce | 07f70ddc8c6a6eddc7934ba2e407caeaf69a7421 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | 1_4.sce | //1.4
clc;
V=100;
L=10;
i=80*10^-3;
t=i*L/V*10^3;
printf("t= %.0f ms", t)
disp('So the width of the pulse should be more than 8 ms') |
fdb8f4eae20f197e4adf6c187b5fe90ab10d558c | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_Dense/eig_sym.sce | cfbe5c6556896e5bb612c19a6f1e61cdc23336d6 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | eig_sym.sce | // Function Name: eig_sym
// Returns the Eigen decomposition of dense symmetric/hermitian input matrix
// Calculating the eigen avlue
inputMat= [2,1,0;1,2,1;0,1,2];
result = armaDenseMat("eig_sym",inputMat)
|
b9db646f4a552a93bd0918a01f949cb7388b6e5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH2/EX2.7/Ex2_7.sce | 6ad62d0548b58dab04b556d8305ee33a430103de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | Ex2_7.sce | //Ex2_7
clc
C = 0.2*10^-6
f1 = 1.0*10^3
f2 = 50
disp("C = "+string(C)+"F")//capacitance
disp("at... f = "+string(f1)+"Hz")//frequency
disp("Xc = 1/(2*pi*f*C) = "+string(1/(2*%pi*f1*C))+"ohm")//calculation for capacitive reactance
disp("at... f = "+string(f2)+"Hz")//frequency
disp("Xc = 1/(2*pi*f*C) = "+string(... |
496b79e6a64aa207734c4661199c8f53ee76320e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/examples/addinter-examples/ex5f.sce | af5aee3e3b33621b8f4f948899329cfb86596c45 | [
"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 | 515 | sce | ex5f.sce | // Copyright INRIA
if ~c_link('cfunc') then
files=G_make(['/tmp/ex5fI.o','/tmp/ex5f.o'],'ex5f.dll');
addinter(strcat(files,' '),'cfunc','ffuncex');
end
deff('[z]=f(x,y)','z=x+y');
res=ffuncex(1:3,4:6,f);
if norm(res -feval(1:3,4:6,f)) > %eps then pause,end
res1=ffuncex(1:3,4:6,'fp1');
if norm(res - res1 ) > %ep... |
98f1590bfeb190576df3b3417bc2f944877ff7a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH7/EX7.17/Ex7_17.sce | d34591133ede7fb3876824924fc20c57103bf7e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | Ex7_17.sce | clear
//Given
a=14
b=60
c=24
d=7.0
//Calculation
t=a*b/60.0
t1=(c/d)
//Result
printf("\n (i) Time in series is %0.3f minute", t)
printf("\n (ii) Time in parallel is %0.2f minute",t1)
|
285c81923111f5a9f095e5f9f967f8a29ef65bd1 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_11/ej2.sce | 444d9c9d4d9d2d7a75f74aeb59bf3adfe7ab4aef | [] | 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 | 122 | sce | ej2.sce | //Interpolacion
x = [0 1 3 5]
y = [1 2 6 7]
D = TablaDifDiv(x, y)
disp(D)
//Hallando el polinomio interpolante de Newton
|
9a00bee207aa98fbebae57f67910bf3bda2abda3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH13/EX13.11/Ex13_11.sce | 24488c6291c0331553113750f66cc21779e49a00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex13_11.sce | clc
clear
//Initialization of variables
p1=50 //psia
pr=0.58
//calculations
p=p1*pr
s1=1.6585
h1=1174.1 //Btu/lbm
sf=0.3680
sfg=1.3313
hfg=945.3
vg=13.746
hf=218.82
x= (s1-sf)/sfg
v2=vg*x
h2=hf+x*hfg
V2rev=223.77*sqrt(h1-h2)
m=%pi/4 *1/144 *V2rev/v2
//results
printf("mass flow rate = %.3f lbm/sec",m... |
6841977122fbf7b9ee94b61e57f1d59b2678171a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH9/EX9.10/Ex9_10.sce | 205bf58396f72cb56fd235625c998ad4cafca956 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex9_10.sce | //Chapter 9 Ionic Equilibria and Buffer Action
clc;
clear;
//Initialisation of Variables
c= 0.1 //M
Kb= 1.8*10**-5
Kw= 10**-14
//CALCULATIONS
C= sqrt(c*Kw/Kb)
//RESULTS
mprintf("Concentration of hydronium ion = %.2e mol per litre",C)
|
0bba9a7b1caef527d71429db03baab63b2e6c205 | 8b0dc85ba6f74c645c63790977e74bf41d3f52c6 | /PS2_1.sce | ec310232ba032485d7d0b4123f43123c428bebe1 | [] | no_license | formidablefrank/CS131PS2 | 82cc999382074f5499a58300673394e7bece9a01 | b93e68cbb465def3c3a0c079ac95d551182aaca6 | refs/heads/master | 2016-09-05T21:32:49.999802 | 2014-04-06T16:45:13 | 2014-04-06T16:45:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,746 | sce | PS2_1.sce | funcprot(0)
//Gaussian function
function y = p1(x)
y = 1/sqrt(6*%pi)*%e^(-x^2/6)
endfunction
//t-distribution function
function y = p2(x)
y = 1/(0.886226925453*sqrt(3*%pi))*(1+x^2/3)^(-2)
endfunction
//definite integral of Gaussian function for z >= 0
//Simpson's 1/3 rule with 5 panels, 6 points
function y =... |
5f521b0ab485a9b5e92adaee580e0812ee515595 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH5/EX5.17/Ex5_17.sce | e1421e0e16aa81fdf9e51cce0091a9507cbfde60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,583 | sce | Ex5_17.sce | // Calculating the instantaneous radial force and instantaneous axial force on the h.v. winding under short circuit conditions
clc;
disp('Example 5.17, Page No. = 5.98')
// Given Data
// 7500/435 V, single phase core type transformer
Q = 575;// kVA rating
f = 50;// Frequency (in Hz)
u0 = 4*%pi*10^(-7);
Z_pu = 0... |
5695069814c285eab83e7d2330dc806fbff3c0be | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH3/EX3.2.7/exa3_2_7.sce | 3a0a45c95be97f3dd3e95a1eac6dfab72f9162ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa3_2_7.sce | //Caption:transfer_function
// example 3.2.7
//page 39
// we have defined parallel and series function which we are going to use here
//exec parallel.sce;
//exec series.sce;
syms G1 G2 G3 H1 H2;
//shift the take off point placed before G2 to after block G2
a=G2*H1;
//shift the take off point placed before G2 t... |
6f55e0d02236672d2da7c60323f43fddfa25cc27 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassshift/test_8.sce | e9cca2346512671dd8b5a659f1e70cb26000cb30 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | test_8.sce | // Test # 8 : For zero valued inputs
exec('./allpassshift.sci',-1);
[n,d]=allpassshift(0,0);
// !--error 10000
//Wo must lie between 0 and 1
//at line 36 of function allpassshift called by :
//[n,d]=allpassshift(0,0);
|
0135001b65e560ea1f2b61e2a17235f5d0d54549 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH6/EX6.1/Ex6_1.sce | f4b8cdee5ac167cc14d45b04504a1ee4a05c6e0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 722 | sce | Ex6_1.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 6 : CONTROL AND STARTING OF A DC MOTORS
// Example : 6.1
clc;clear; // clears the console and command history
// Given data
V_t = 220 // supply voltage in V
I_a1 = 10 // dc shunt motor arm... |
b4d1946a9c1a2444fa7843d6e8b721b1520dd84b | 49148682b78b6520a61de9a700f791835e1b32d5 | /Gachan/Gachan3D/Gachan3DTextData/TextKatakanaMplus1p.tst | d71e3a0acc0b9460b08185a2f387ca0253323790 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Ashitagachan/Gachan | 535a19ea05bfcb3207a0a106b1d62db48a143f16 | 63b5410e128628222447c837a7209162487aa246 | refs/heads/master | 2021-08-07T21:53:13.048753 | 2020-05-16T08:01:10 | 2020-05-16T08:01:10 | 178,514,045 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 695,215 | tst | TextKatakanaMplus1p.tst | //skipped groundPlane_transform
//skipped Manipulator1
//skipped UniversalManip
//skipped CubeCompass
/////////////////////////////////////////////
// object_Trim_Char_x_1_1__
/////////////////////////////////////////////
#if 0
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
#endif
DX3DMATERIAL_STA... |
8164057a7256d3c999885c24bb42c2309f29ad6f | 82ef35e5ce08e179e51a319ec6106aa08a3bf471 | /LQGPendulo.sce | 95105c8a38d0ba61d0bf52032b4e2d5bf2a8d369 | [] | no_license | jfloreshu/Inverted_Pendulum_Linealizacion_LQG_with_LQRControler_DeterministicObserver | 1226dc95f806d35d10feab61b48138a5a83c314b | aa3cca25c2a0ce34af8a607814250b96ec8a57b8 | refs/heads/master | 2022-12-02T04:07:07.017492 | 2020-08-16T00:42:04 | 2020-08-16T00:42:04 | 287,839,193 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,313 | sce | LQGPendulo.sce |
// load the data
load("pendulojLTILab1.sod","X","U","sys")
Ap=sys.A;
Bp=sys.B;
Cp=sys.C;
Dp=sys.D;
//checking controllability and observability
[i,j] = size(Ap);
// e=[B, AB, A^2 B,..., A^(n-1) B]
e = cont_mat(sys.A,sys.B);
rankC=rank(e);
if i == rankC then
disp('Continuous System is Controllable'... |
e2aed25b7e869180a51ed837c8dd66dc8a79bc89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH2/EX2.3/Ex2_3.sce | e0b2777ae439b0b0f661ed7b60864b16f3a7baaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | Ex2_3.sce | // Book Name: Fundametals of electrical drives by Mohamad A. El- Sharkawi
//chapter 2
//example 2.3
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
VBO=300; //base voltage in volts
de=100; //maximum di/dt of SCR in A/microsec
Vs=120; //source voltage rms value in volts
L=(VBO/(0.5*de));
disp(L,'The min... |
ab1e4f0ce199d83b53eda671c65337de77e8c20a | 72bdc6d649588b61192529e7d1420ddc18d1a67a | /graphics-demos/graphics.dem.gateway.sce | f5b07efea57601d3a8a23b0a4cf0b995100a681e | [] | no_license | jgpATs2w/scilab-examples | c3fcff648f720a8e909b2af0ec9ab70fb90dfcd2 | 59522a5ae1abbadf6f62bff16095f4b74c707918 | refs/heads/master | 2020-09-27T23:41:06.927931 | 2020-02-11T08:54:24 | 2020-02-11T08:54:24 | 226,637,785 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,796 | sce | graphics.dem.gateway.sce | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA
// Copyright (C) 2009 - DIGITEO
// Copyright (C) 2011 - DIGITEO - Allan CORNET
//
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function subdemolist = demo_gateway()
demopath = get_absolut... |
225569ade167fe426af93f339ad815f2ea5d27f7 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/expanderwcurve.tst | 9ab4067342cb4590e9405c17ee671adaf924f5b8 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 1,415 | tst | expanderwcurve.tst | optimizecode 1
maxversions 0
units Field
/LiquidPhases = 2
/StdLiqVolRefT = 288.15
/StdLiqVolRefT = 60 F
/RecycleDetails = 1
displayproperties
displayproperties VapFrac T P MoleFlow MassFlow VolumeFlow StdLiqVolumeFlow StdGasVolumeFlow Energy H S MolecularWeight MassDensity Cp ThermalConductivity Viscosity mo... |
3f62d687d78fdb8ed8e635a9e58d768d054961d9 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH7/EX7.4/ex7_4.sce | 2e25dec8dd6a79e3a9e610cac44f311774cb86d8 | [] | 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 | 253 | sce | ex7_4.sce | clc;
clear all;
Dm=80;//given max space wave communication distance
Ht=100;//given height of transmitting antenna in meters
Hr=(Dm-4*sqrt(Ht))*(Dm-4*sqrt(Ht))/16;//height of receiving antenna
disp(Hr,'height of receiving antenna in meters is');
|
1d53945db93e0e38d52b4007bb41d4b123d0875c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH4/EX4.12/Ex4_12.sce | c5e1a070fbf8da64495d3548d0c2cde5693a2ee3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Ex4_12.sce | clc;
clear;
close;
//pagec no 111
//Figure 4.18
Ai=50;
Rl=200*10^3; //In Ohm
//Ai=1+(Ri/Rf)
Rf=1*10^3; //In Ohm(Assumption)
Ri=Rf*(Ai-1);
disp("ohm",Ri,"Ri for Rf 1000ohm");
Rf=2*10^3; //In Ohm(Assumption)
Ri=Rf*(Ai-1);
disp("ohm",Ri,"Ri for Rf 2000ohm");
Rf=0.5*10^3; /... |
8382e25deb5f8b586f4414e4e12eb26f5900b6ec | e806e966b06a53388fb300d89534354b222c2cad | /macros/line.sci | df1d19f108f5e0259209ba47b751d0cebab543e4 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sci | line.sci | function outputImg= line(inputImage , x1 , y1 , x2,y2,r_value,g_value,b_value,thickness,linetype,shift)
inputList=mattolist(inputImage);
outputList=opencv_line(inputList , x1 , y1 , x2,y2,r_value,g_value,b_value,thickness,linetype,shift)
for i=1:size(outputList)
outputImg(:,:,i)=outputList(i)
end
e... |
7ef9f877a53279d7c21a57a9f10e7a4f7f4087cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH9/EX9.2/ch9_2.sci | 4a629714899c25ac89321d71e642a3ca6a9bcdec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sci | ch9_2.sci | //to calculate torque,resitance to be added to rotor ckt
clc;
clear
s = 0.05;
f=50;
P=6;
n_s=120*f/P;
w_s=2*%pi*n_s/60;
n=875;
s_maxT=(n_s-n)/n_s;
R_2=.25;
X_2=R_2/s_maxT;
T_max=10;
//v=V/a
v=sqrt((T_max*w_s*X_2)/(3*.5));
T=((3)*v^2*(R_2/s))/(w_s*((R_2/s)^2+(X_2)^2));
disp(T,'torque(Nm)');
//from eqn(T_start/T_max)=(... |
e881da9776fe75d036969ee311c62bc7decb46a7 | 3a031f437fdd7426aec9731b31871506b540c723 | /GrayLevel1.sce | dc14f29870fcd19866cddfdbe449f0c89cc103ef | [] | no_license | mohammedkesury/Digital-Image-Processing | 006294df3c05100912ade8f75dcadc59f518cbba | 6589dcf0f400a803862fcd2194ff4b008ceb795e | refs/heads/master | 2020-04-20T05:20:20.161398 | 2019-04-09T16:04:04 | 2019-04-09T16:04:04 | 168,653,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | GrayLevel1.sce | org=imread("C:\Users\Poonam\Documents\DIP\Practicals\kidney1.jpg")
A = 180
B = 250
mod=[]
[m n] = size(org)
for i = 1:m
for j=1:n
if (org(i,j)>=A & org(i,j)<=B)
//mod(i,j)= 255
mod(i,j) = org(i,j)
else
mod(i,j) = 0
end
end
end
figure
i... |
fa3eed30071b84ffd0eaef92e2a34e9014dc3c30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH14/EX14.3/Ex14_3.sce | fb994c0b5192f9a067c68293777fa697080c9a61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,861 | sce | Ex14_3.sce | // Example 14_3
clc;funcprot(0);
// Given data
T_H=20.0+273.15;// K
T_L=-15.0+273.15;// K
// Solution
// (a)
COP_Cr=T_L/(T_H-T_L);// COP of a reversed Carnot cycle
// From Table C.9b in Thermodynamic Tables to accompany Modern Engineering Thermodynamics, the thermodynamic data at the monitoring stations shown... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.