blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2d53d29359ebbc5ab8419133404ad1b6daad4025 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH4/EX4.6a/eg4_6a.sce | 590bd709ce57d64835f2c5cf240ebb155b35ec3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | eg4_6a.sce | probXequalsi = 1/6;
expecXsquared = 0;
for n=1:6
expecXsquared = expecXsquared + (n*n*probXequalsi)
end
expecX= 3.5 // from eg 4.4a
var = expecXsquared - (expecX^2);
disp(var, "The variance is")
|
be125dee962426f68489c2194da46dbc168c70d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.61/ex2_61.sce | a209ae5a8d621056d6d33931acf8a4213085d1a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | ex2_61.sce | clc
Z1=14.14-%i*14.14; //Assigning values to parameters
Z2=26+%i*15;
I=10;
Zeq=Z1+Z2;
V=I*Zeq;
Zeq=(Z1*Z2)/(Z1+Z2);
I=V/Zeq;
disp("Amperes",polar(I),"Supply current"); |
f626df3aa02c7610c2f2c82d94dcb734b4d6df6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.25/ex6_25.sce | cca56f01c5159b85cb8a0560f33d14dc3d738fd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 664 | sce | ex6_25.sce | // Exa 6.25
clc;
clear;
close;
format('v',5)
// Given data
V_CC = 20;// in V
R1 = 10;// in k ohm
R1 = R1 * 10^3;// in ohm
R2 = 10;// in k ohm
R2 = R2 * 10^3;// in ohm
R_E = 9.3;// in k ohm
R_E = R_E * 10^3;// in ohm
R_L = 18.6;// in k ohm
R_L = R_L * 10^3;// in ohm
V2 = (V_CC/(R1+R2))*R2;// in V
V_BE = ... |
c0c57977c9d8d6c340dcd5353ae66f89426422ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH7/EX7.3/7_3.sce | 1fb8432142e9219cb787b8c879756293b6fb3a7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | 7_3.sce | //kVAr rating of a synchronous condenser
clc;
clear;
P=5000*(10^3); // Power delivered to the load
pfo=0.8;// Original Power Factor
pfn=0.9;// New Power Factor
Pcomo=P+%i*(P*tand(acosd(pfo)));//Original Complex Power
Pcomn=P+%i*(P*tand(acosd(pfn)));//New Complex Power
Psc=abs(imag(Pcomo-Pcomn)); // Differ... |
f1e164871e5ca438f03c3e201379b11947a195e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH10/EX10.10/10_10.sce | 5b9c2d5c439b9ff267407bd5ebfc85a165f1ac7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | 10_10.sce |
clc
//initialisation of variables
A1= 25 //degrees
A2= 80 //degrees
H1= 100 //ft
H2= 13 //ft
g= 32.2 //ft/sec^2
v= 8 //ft/sec
d= 3.5 //in
de= 15.4 //in
b= 1.5 //in
w= 62.4 //lb/ft^3
//CALCULATIONS
W= H1-H2-(v^2/(2*g))
f= sqrt(W*g/(cotd(A1)*(cotd(A1)-cotd(A2))))
u= f*(cotd(A1)-cotd(A2))
V= d*u/7.7
r= ... |
f7cb66c0726eab374871153c2e65c413ef4d16c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH3/EX3.7.9.A/3_7_9_A.sce | 90f28839e0bc05c20880b60246b6b57703164cda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | 3_7_9_A.sce | //lubricants//
//example 3.7.9.A//
clc
wt_oil=1.55//weight f oil saponified(gms)//
blank=20//volume blank titration reading(ml)//
back=15//volume back titration reading(ml)//
volume=blank-back//volume of alcoholic KOH consumed(ml)//
normality_KOH=0.5//normality of KOH //
S=volume*normality_KOH*56/wt_oil//formul... |
916040d2f9b820bafce4fa13c52c38f4c56523d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.32/Ch03Ex32.sce | ce3a19049fbe048c21095ffe661bc4a6adf3025d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | Ch03Ex32.sce | // Scilab Code Ex3.32:: Page-3.50 (2009)
clc; clear;
// Function to convert theta into degree-minute
function[degre, minute]=deg_2_degminsec(theta)
degre = floor(theta);
minute = (theta-floor(theta))*60;
endfunction
N = 15000; // No. of lines on the grating per inch, lines/inch
a_plus_b = 2.54/N;... |
d6fcb4351b971d36613df084164ec5cd9bc5fd07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH8/EX8.5/Ex8_5.sce | 33337343a99f0f23f2492b8c09e0cc86a3a06f37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Ex8_5.sce | //Example number 8.5, Page number 171
clc;clear;
close;
//Variable declaration
Is=1.96*10**6; //saturation magnetisation(amp/m)
a=3*10**-10; //cube edge(m)
mewB=9.27*10**-24; //bohr magneton(amp/m**2)
n=2; //number of atoms
//Calculation
N=n/(a**3);
mew_bar=Is/(N*mewB); //average numbe... |
754fd0e9afb713b94384aabff82c16ea2da29c6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH4/EX4.8/4_8.sce | ef91a48d58576ea9186b3486e08fcb24acd935a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,042 | sce | 4_8.sce | clear;
clc;
// Illustration 4.8
// Page: 259
printf('Illustration 4.8 - Page: 259\n\n');
// solution//
// From Example 4.4, 4.6 and 4.7
Do = 5*10^-3; // [m]
rowg = 1.923; // [kg/cubic m]
rowl = 986; // [kg/cubic m]
g = 9.8; // [square m/s]
hl = 0.0173; // [m]
vo = 18.48; // [m/s]
phie = 0.274;
Ks... |
8db3cd92696e767f3186a6aa0690fb9033ea37ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH10/EX10.3.3/Ch10Ex6.sci | 945932cbcf8a795a5f98fa7726f694a53caee115 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sci | Ch10Ex6.sci | // Scilab Code Ex10.3.3 Mass of deuterium nucleus: Pg: 220 (2008)
amu = 1.6e-027; // Mass of a nucleon, kg
mp = 1.007895; // Mass of proton, amu
mn = 1.008665; // Mass of neutron, amu
BE = 2/931; // Binding energy of two nucleons, amu
M_D = (mp+mn-BE)*amu; // Mass of a deuterium nucleus, kg
printf(... |
a107cd12935188e28ec45c9c772fffb90c3e237b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH5/EX5.34/Ch05Ex34.sce | da5aaec78f18852e1d2a98babef9facff85d1aa7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ch05Ex34.sce | // Scilab Code Ex5.34: Page:313 (2011)
clc;clear;
lambda = 5.89e-07;....// Wavelength of light used, m
mu_O = 1.55; // Refractive index of ordinary light
mu_E = 1.54; // Refractive index of extraordinary light
tQ = lambda/(4*(mu_O-mu_E)); // The thickness of the quarter wave plate, m
printf("\nThe thickn... |
61d0b5ea4422bba6d155ebabca9b64ae21203e44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.3/Ex_2_3.sce | bb33a782f8b46156449168e6671bf7f0f7b60b9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Ex_2_3.sce | // Example 2.3:Numerical Aperture
clc;
clear;
close;
v= 26.6;//normalised frequency
h=1.3;// Wavelenght in micro meters
a=25;//core radius in micro meters
NA=(v*h)/(2*%pi*a);// Numerical Aperture
disp(NA,"Numerical Aperture of the Fiber is")
|
0dafe7cc0cdb43f680e9a7d4e78e64b592b79b1e | f934e15695c77d0a1015c230c5ed65c4f16a2425 | /band pass butterworth.sce | 8ea30ee9a91b210e75ef05a19ee689b23a5c9426 | [] | no_license | manasdas17/Scilab-for-Signal-Processing- | 6efc5adb507243c7302f7b4f3f12d12060112038 | 5f6e6ce941c0a11212a83674b5d35d97a2cf4396 | refs/heads/master | 2021-01-10T07:49:58.006357 | 2016-04-07T07:45:26 | 2016-04-07T07:45:26 | 55,673,271 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | band pass butterworth.sce | //By Manas,FOSSEE,IITB
//function which designs an iir digital filter using analog filter designs and bilinear transformation .
hz=iir(3,'bp','butt',[.15 .25],[0 0]);
[hzm,fr]=frmag(hz,256);
plot2d(fr',hzm')
xtitle('Discrete IIR filter band pass 0.15<fr<0.25 ',' ',' ');
q=poly(0,'q'); //to express the result... |
dfcff762cb17a05e0f889713936ac68f75f7b185 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/EA39DWK/ATWM1_Working_Memory_MEG_EA39DWK_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 72dc1f8d4a6fd40a68b2c5daa62b085545977fbe | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,383 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
0d4ea33782f1abfc2740e92ac968589ed4fff8d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.17/ex3_17.sce | 87c308cbde59729a285b129fbc80f5e229a899c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 917 | sce | ex3_17.sce | //Caption:In a single phase transformer Calculate the secondary terminal voltage at full load.
//Exam:3.17
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 transformation
R_1=5;//Primary resistance(in Ohm)
R_2... |
036484c7827d812f4634dc68b4d14c029260fc24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH37/EX37.3/Ex37_3.sce | 69190e77546c252aaf0126880383415f53b62b87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | Ex37_3.sce |
//To Calculate the percentage increase in Magnetic Field
//Example 37.3
clear;
clc;
X=2.1*10^-5;//Susceptibility of Aluminium
Bin=X*100;//Percentage increase in Magnetic Field
printf("Percentage increase in the Magnetic Field = %.1f*10^-3",Bin*10^3);
|
c9d4fcbb43c948647ec337fd3b349c0ec4c8ffc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH5/EX5.8/Example8.sce | 9aa94ac9b68d4b28686c23fcbbe50dea245fd2f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,807 | sce | Example8.sce | clear
flag=1
clc
mode(-1)
printf("Example 8 : Show the method of comparing files using cmp command \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\nHere all instructions are preloaded in the form of a demo... |
d62aedb2b69468e36bf576867f153a79bb2b54d3 | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/sessao01.sce | 6249f5034fe6d7d50e2c4d29009d4dd8ccfd5e89 | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 649 | sce | sessao01.sce | mode(7);
// Primeira sessao no Scilab (parte 1)
// define variável
a = 1;
// define outra variável (case sensitive)
A = 2;
// soma
a + A
// dois comandos na mesma linha
c = [1 2]; b=1.5
// um comando em diversas linhas
u = 1000000*(a*sin(A))^2+...
2000000*a*b*sin(A)*cos(A)+...
1000000*(b*cos(A))^2
// list... |
e53f63989ebd4a183f1917748b0709e17d696836 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH8/EX8.3/exp_8_3.sce | d10ed7e317e765c9e5fbc88490f2a3e81d8b671e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | exp_8_3.sce | clear;
clc;
S=110;
ff=.1;
sg=.05;
f=50;
//supplying to infinite work
mprintf("since power is supplied to infinite work frequency changes are independent of output\n");
mprintf("Since DelPg(0) is proportional to DelP(ref) therefore turbine generation can be reduced by giving a command to servometer of the speed ... |
ef858d55e42fa97aff7e3ad03b9f86da2e0b979c | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH6/EX6.3e/eg6_3e.sce | c6ae2ff4edc03e68bd3ea026a5c4bb97ed642e2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sce | eg6_3e.sce | prob = 0.95;
lim = 0.5;
X = cdfnor("X", 0,1, 0.975, 0.025 )
disp(ceil((4*X)^2), "Observations are necessary (atleast)") |
67b2232208c3ec30656f2fd549f490a0c2004f0d | bd2dd6dcbf234dcda02553cfe9990ff2cc91f09a | /closedloop.sce | 2936d0cc0f59aaa93671062b30c859d2f0c94c1d | [] | no_license | jdelacruz26/matlabcode | 13165d9aa0c40cd120c7903e2bdd3a2e02208898 | f4264a28bb92a7c6908c84f9fc948b34312dd70f | HEAD | 2016-09-06T08:10:45.762319 | 2015-05-31T05:57:14 | 2015-05-31T05:57:14 | 20,492,021 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sce | closedloop.sce | // Speed tachometer example
clear
Ra=1; Kt=10; J=2; f=0.5; Kb=0.1; Ka=54; Kg=1;
num1=poly([1],'s','c');
den1=poly([f,J],'s','c');
num2=poly([Kg*Ka],'s','c');
den2=poly([1],'s','c');
num3=poly([Kb],'s','c');
den3=poly([1],'s','c');
num4=poly([Kt/Ra],'s','c');
den4=poly([1],'s','c');
// defining transfer functions
G1... |
ef31b1788df742d61d907b8273f9e2febc8c7657 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH16/EX16.13/Ex16_13.sce | 0bc3c7c758678b01ecb6895a02cfa1badeab1adc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,098 | sce | Ex16_13.sce |
clc
// Environment
T0 = 298.15 // Environment temperature in K
P0 = 1 // Atmospheric pressure in atm
R = 8.3143// Gas constant
xn2 = 0.7567 // mole fraction of nitrogen
xo2 = 0.2035 // mole fraction of oxygen
xh2o = 0.0312 // mole fraction of water
xco2 = 0.0003// mole fraction of carbon dioxide
xother = 0.... |
2e9e3b89e750e9b23dc0cd24770fea332847dcf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH10/EX10.5/Example10_5.sce | 2cfcf33f2d955e0c93b696765fb76bd6faf59971 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,374 | sce | Example10_5.sce | clear;
clc;
// Example: 10.5
// Page: 401
printf("Example: 10.5 - Page: 401\n\n");
// Solution
//*****Data******//
deff('[P1] = f1(T)','P1 = exp(14.3916 - 2795/(T + 230))');
deff('[P2] = f2(T)','P2 = exp(14.2724 - 2945.47/(T + 224))');
deff('[P3] = f3(T)','P3 = exp(14.2043 - 2972.64/(T + 209))');
//**... |
673c9b5a3a67dbf60e4f9555db42b6a4239a5b48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.19/Chapter1_Example19.sce | 47a20b6c8dc9f13d579039a6d86a9b8dce07c94a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | sce | Chapter1_Example19.sce | //Chapter-1, Example 1.19, Page 1.45
//=============================================================================
clc
clear
//INPUT DATA
N=(300/60);//Speed of the motor in rps
P=4;//Number of poles
Z=732;//Number of conductors
I=80;//Current through each conductor in A
l=0.35;//Length of the conductor in... |
49f02ade34df13287e2a9eb0331c10171e4302f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH11/EX11.12/ex11_12.sce | 2a64847059ee1a6581b9fe484e01f79ae8edbacf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sce | ex11_12.sce | // Exa 11.12
clc;
clear;
close;
format('v',6)
// Given data
C = 0.01;// in pF
C = C * 10^-12;// in F
L = 10;// in mH
L = L * 10^-3;// in H
f_o = 1/(2*%pi*sqrt(L*C));// in Hz
f_o = f_o * 10^-6;// in MHz
disp(f_o,"The oscillation frequency in MHz is");
R1 = 100;// in k ohm
R2 = 5;// in k ohm
A = 1 + (R1/R2... |
6fced2b6f02e780ee364652f8a89664321438ab0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/signal/dft.sci | 1c1ef5e03e2ebfbfde60b9fcc9f4964cb415e2df | [
"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 | 349 | sci | dft.sci | function xf=dft(x,flag);
//xf=dft(x,flag);
//macro which computes dft of vector x
// x :input vector
// flag :indicates dft or idft
// xf :output vector
//!
//author: C. Bunks date: 29 Sept 1988
n=maxi(size(x));
arg=(0:n-1);
am=-2*%pi*%i*arg'*arg/n;
if flag=1 then,
am=-am;
end,
xf=exp(am)*matrix(x,n,1);
if fl... |
fdeab3095616419a19a40cc1488c36a2fd303777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH10/EX10.8/ex10_8.sce | 99f52a9be86590ff66cbdc16198c899ccce5c556 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | ex10_8.sce | fRF=1.89*10^9; //RF frequency
BW=20*10^6; //Bandwidth
fIF=200*10^6; //Intermediate Frequency
flo=fRF+fIF; //Local oscillator frequency
Q=fIF/BW; //Quality factotr
disp(Q,"Quality Factor"); |
1ec16ecda40b7925e3951b09a6a09a8e4a5dafc2 | f0919c8ea73f22939a890aa4f8327f8200344d2b | /test/t2_int.tst | 1d69968936e2e3168b8b0074cc935d6ab129367a | [] | no_license | kalex375/OVC | af5e91f90754454b90f339e846c5b9112d38d6c8 | f4b47dfc497299c4944b4ff9b93253c279012454 | refs/heads/master | 2021-05-31T07:55:44.326597 | 2013-12-02T14:15:52 | 2013-12-02T14:15:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,694 | tst | t2_int.tst | PL/SQL Developer Test script 3.0
93
declare
-- Non-scalar parameters require additional processing
p_ints_1 p_diff.TIntArray;
p_ints_2 p_diff.TIntArray;
p_intss_1 p_temp.TListInt;
p_intss_2 p_temp.TListInt;
m_compare p_temp.TCompareRecInt;
m_str_1 varchar2(60);
m_str_2 varchar2(60);
m_ch varchar2(... |
4dce9054f94b4ef7ec8b5e781570e9f41564086b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH3/EX3.12/Ex3_12.sce | 3396d734780a3001ac0a972cdc8db8f7a32ab7ef | [] | 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 | 177 | sce | Ex3_12.sce | errcatch(-1,"stop");mode(2);//Ex:3.12
;
;
c=150*10^-6;//in farads
r=2*10^6;//in ohms
V_s=150;//in volts
V_c=0.8187*V_s;
printf("Capacitor voltage = %f V",V_c);
exit();
|
efd0bc24060ea917faa4707557a07e298f21e1dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH5/EX5.13/ex5_13.sce | e8e2d02304d8176fcfd6be8235ec22f0ae7bb11d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | ex5_13.sce | // Exa 5.13
clc;
clear;
close;
format('v',6)
// Given data
V_L = 400;// in V
I_L = 10;// in A
W2= 1;// assumed
W1= 2*W2;
phi= atand(sqrt(3)*(W1-W2)/(W1+W2));
W1= V_L*I_L*cosd(30-phi);// in W
W2= V_L*I_L*cosd(30+phi);// in W
disp(W1,"The reading of first wattmeter in W is : ")
disp(W2,"The reading of secon... |
e5ad7f6e400294cbbdc7f2d0b461629a98228cf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH6/EX6.7/6_7.sce | 59e723425b7c9d83a7928f8c5415ea37c47f917a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | 6_7.sce | clc
//initialisation of variables
g= 32.2 //ft/sec^2
d= 3 //in
h= 50 //ft
w= 6.24 //lb/ft^3
r= 0.5
r1= 16
r2= 9/16
r3= 0.25
r4= 40.5/256
r5= 972/256
r6= 81/256
//CALCULATIONS
v=sqrt(h*2*g/(r+r1+r2+r3+r4+r5+r6))
Q= %pi*(d/12)^2*v*60*w/4
//RESULTS
printf ('discharge in the pipeline= %.1f gal.min',Q)
|
c4ec06fc10b4606a3ac2b3aaa4efebd1a35465ca | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-usage-002.tst | b28abab0deb30021626bda7e7283ae2b1eb2fda9 | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | tst | test-usage-002.tst | FLAGS='--strip --detect'
STDIN=''
STDOUT=''
STDERR='!USAGE!'
EXITVAL='1'
|
9f38d0a791dbaa4db550abcb76355337c38dfa1a | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/event/event2.tst | 83d5d86e32c1f2f0a4572279b0e98e5c9b580edd | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | tst | event2.tst | # @Harness: eventqueue
# @Result: 5 A; 10 A; 15 A; 20 A; 25 A
# @Purpose: this tests the operation of the delta queue using simple events
event A { insert A 5; }
main {
insert A 5;
advance 25;
}
|
1693838ae6196f1171e9a257376b78852fe4e86f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.8/exa_2_8.sce | af3a663eeb03cf1a339fa9a4242059b503b511e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | exa_2_8.sce | // Exa 2.8
clc;
clear;
close;
// Given data
Nsi = 4.9*10^22;// in /cm^3
ni= 2.5*10^12;// in /cm^3
q=1.6*10^-19;// in C
miu_n= 1600;// in cm^2/Vs
miu_p= 400;// in cm^2/Vs
N_D= Nsi/(100*10^6);
sigma= q*ni*(miu_n+miu_p);// in (Ωcm)^-1
rho= 1/sigma;// in Ωcm
disp(rho,"Resistivity of silicon in Ωcm is :")
n=N_... |
460d09ca8cf348d8d117f15e06162f6ffbb1784d | 717ddeb7e700373742c617a95e25a2376565112c | /3411/CH14/EX6.2.u2/Ex6_2_u2.sce | 660d568da969dbf93d582df66dd142fc79e6e0b0 | [] | 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 | 242 | sce | Ex6_2_u2.sce | //Example 6_2_u2
clc();
clear;
//To calculate the atomic polarizability
eo=8.85*10^-12
er=1.000435
n=2.7*10^25
alpha=(eo*(er-1))/n //units in met^3
printf("The atomic polarizability is aplha=")
disp(alpha)
printf("met^3")
|
45b952d0d132a49eeb921f0b575cf30874d43679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH5/EX5.9/Ex5_9.sce | 484d0ab2c47c3378ca9edb601f2d0b075fac18a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_9.sce | //Chapter 5, Exmaple 9, page 180
//Calculate corona onset voltage
clc
clear
t = 5*5*8.66 // the three side of the trangle in m
Deq = nthroot(t,3)
dt = 1 //delta = 1 at standard temperature and pressure
r = 1 //radius of the conductor
En = 27.501 // kVpeak/cm
E0 = 30*dt*(1 + 0.3*sqrt(dt*r))
V0peak = E0*log(Deq*10**2)
V... |
8ece723b6df7c34b72850fed21033c740b72abd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.17/ex1_17.sce | b7382670ef60b84b8e750407d116db30c3310e27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_17.sce | // Exa 1.17
clc;
clear;
close;
// Given data
V1 = 0.7;// in V
V2 = 5;// in V
V_o = V1-V2;// in V
R = 2.2*10^3;// in ohm
I_D = -V_o/R;
I_D = I_D * 10^3;// in mA
disp(V_o,"The output voltage in volts is : ")
disp(I_D,"The current through diode in mA is");
|
90dd4d6f069a4e32c9053e9b47524aec4738474a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH5/EX5.10/Ex5_10.sce | a3a2e17aa3b9115572e521915c483d6b3a55499d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,145 | sce | Ex5_10.sce | clc
Na=10^16
disp("Na = "+string(Na)+"/cm^3") //initializing value of medium p doping concentration.
Nd=10^18
disp("Nd = "+string(Nd)+"/cm^3") //initializing value of light n doping .
Vbi=0.64
disp("Vbi = "+string(Vbi)+"V") //initializing value of built in voltage.
e=1.6*10^-19
disp("e = "+string(e)+"columns") ... |
dcb161689f812db7eb4768e3df827cada5a1348f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.4/1_4.sce | 32f39d480d954b8d9d93cdd05bacab7cce138efa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | 1_4.sce | //Chapter-1,Example 1_4,Page 1-17
clc()
//Given Data:
B=0.1*10^-2 //fringe spacing
lam=5.893*10^-7 //Wavelength of light
u=1.52 //Refractive index of wedge
//Calculations:
//We know, B=lam/(2*u*theta). Here u=1
theta1=lam/(2*u*B) //angle of wedge in radi... |
46eb50ac9cbf03ef8faef231331eb29cfa60be52 | cb3612e7507309a5c30d1ea7f640c0ccde8f8bf9 | /set_images.sce | 1d905df4b70b16f3ec4d69d5a1a268e6946ad9a5 | [] | no_license | aforehand/thesis | b797c6646b5f6bc48d58c3df318c014038fc6c84 | 8189db373898e264544a5d9d52fc00296ea4abb6 | refs/heads/master | 2021-01-01T04:54:01.627632 | 2017-07-26T16:46:02 | 2017-07-26T16:46:02 | 97,270,443 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,744 | sce | set_images.sce | scenario = "Set Images";
response_matching = simple_matching;
active_buttons = 3;
button_codes = 1,2,3;
default_font = "Calibri";
default_font_size = 24;
default_text_color = 100,100,100;
response_logging = log_active;
begin;
#image
bitmap {filename = "\\training\\tree_flower_18.png";} flower;
#letter
... |
971b7f0bdc2fb2b1d6087d4a937f2daadb360faf | 07caba0784869e2ef1ea9e69ffb15df79295dc13 | /02/HalfAdder.tst | 2907bfd34ee0e56e68089a4955ac7e862d27f61d | [] | no_license | diskkid/nand2tetris | 330f133c8810dbf10e3eb13cd208ed1953422c25 | 6224836a2a94b80de204fac3fbc6cac86ff579b6 | refs/heads/master | 2016-09-11T02:43:00.044025 | 2015-04-12T14:50:44 | 2015-04-12T14:50:44 | 33,446,727 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | tst | HalfAdder.tst | load HalfAdder.hdl,
output-file HalfAdder.out,
output-list a b carry sum;
set a %B0,
set b %B0,
eval, output;
set a %B0,
set b %B1,
eval, output;
set a %B1,
set b %B0,
eval, output;
set a %B1,
set b %B1,
eval, output;
|
6231502fd478a72839328e95917f9147147eb92b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.32/Ex5_32.sce | 1b27288fcdb9ee731cf160d9445ff3f2a7c984df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | Ex5_32.sce | clc;
// Answer for minimum excitation voltage is given wrong in book
v=400; // rated voltage of motor
xd=6; // d-axis synchronous reactance
xq=4; // q-axis synchronous reactance
vt=400/sqrt(3); // rated per phase voltage
p=21; // load carried by motor
pph=(p/3)*1000; // per phase load carried by motor
// As per... |
cd846b39a035198586fe9be6c8e58a821d5d03eb | c03689c3547a8d6a40f80aaf7e53c4edf766eaab | /Multiply Function.sce | c58ddf459f577ca894d9d7399f64af8296531f46 | [] | no_license | DoanTanLoc-2203/Digital-Signal-Processing-Scilab | 2951686f7a8f015ff966f21c8324508a84cb2fba | eccea257fd10c8bdafba4d7af1ddf8cde9d4dc5c | refs/heads/main | 2023-01-07T15:26:51.606190 | 2020-11-13T15:48:16 | 2020-11-13T15:48:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,064 | sce | Multiply Function.sce | function mymultiply=multiply(xn,n0,xm,m0)// Hàm multiply y(n)= x1(n).x2(n)
// Tiền xử lí tín hiệu xn và xm
// Bổ sung thêm a lần phần tử '0' vào bên trái tín hiệu xm
a=abs(m0-n0);
if n0>m0 then //xn --> xnnew0
xnnew0=xn; //xm --> xmnew0
... |
9500d0c0d1a12f6b82ab74d3d0f333d62906a0fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH6/EX6.3/example6_3.sce | 359243172373aee291ccbf14854782f41ba9bdb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | example6_3.sce | disp('chapter 6 ex6.3')
disp('given')
disp("current souurce to be designed")
disp("constant output current=100mA")
Il=.1
disp("maximum load resistance=40ohms")
Rlmax=40
disp("available supply voltage=+/-12V")
Vcc=12
disp("for P MOSFET Vdsmax=100 Idmax=210mA Rdon=5")
Vdsmax=100
Idmax=0.210
Rdon=5
disp("Vdsmax=Vcc=12")
... |
075e3e32356c41cef2950fda7b9a05773b2b5c47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH3/EX3.9/3_9.sce | 6c89897db04fcd39db8787095c969aec653f702d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,176 | sce | 3_9.sce | //To Determine phasors and phasor diagrams when loaded with a balanced resistor
//Page 154
clc;
clear;
R=2.77; //Resistance of the balanced load
//From Phasor Diagram in Result file
Vab=480*exp(%i*0); //Reference Voltage
MVn=abs(Vab)/sqrt(3); //Magnitude of line to neutral voltages
//Angles of Three phase vol... |
4588854ed7d2348e6d6fb9313daf9319c426d174 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/arma/narsimul.sci | e137a7b7662d6ea4e674aa8edc16413d98d73cff | [
"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 | 2,964 | sci | narsimul.sci | function z=narsimul(x1,x2,x3,x4,x5,x6,x7,x8)
//function z=narsimul(a,b,d,sig,u,up,yp,ep)
// or
// function z=arsimul(ar,u,up,yp,ep)
//
// Armax simulation using rtitr
// A(z)= Id+a1*z+...+a_r*z^r; ( r=0 => A(z)=Id)
// B(z)= b0+b1*z+...+b_s z^s; ( s=-1 => B(z)=0)
// D(z)= Id+d1*z+...+d_t z^t; ( t=0 => D(... |
86e239d2b831a8f6c47242fbdca60122c7d301de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH4/EX4.6.1/Example4_1.sce | 18e43070eacfc69fd322e9134e1df9a5099d7ede | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example4_1.sce | //Chapter-4,Example4_6_1,pg 4-7
P=3.147*10^-3 //output power
t=60 //time
wavelength=632.8*10^-9 //wavelength of He-Ne laser
h=6.63*10^-34 //Plancks constant
c=3*10^8 ... |
eb5af2d9f3f9cd10c3143292d976b16d506b8645 | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD4/Scripts/Service 3/serveur3_densite.sce | f8f403ca400a3330cc2fd01bccaaecffe24dbed0 | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 981 | sce | serveur3_densite.sce | clf;
clear;
clc;
load('C:\Users\tangu\OneDrive\Documents\GitHub\Modelisation\TD4\NetworkData.sod')
// Extraction des temps de service
index_bool = ( data(:, 3) == 3 )
tabS3 = data(index_bool, :)
t_s3 = tabS3(1:$,4);
deciles=perctl(t_s3,10:10:90);
for i=2:10
ClassesDeciles(i)=deciles(i-1)
end
ClassesDeciles(1)=min... |
6127573cc3faf6ebc6ac2b8031e5374a4f07b33c | 56e59af8cc0c2cc5477a52284f118c9749aea002 | /me.tst | bf681f41df53503689565c193216a8f7dc1d45eb | [] | no_license | lnadi17/game-of-life | a5030738bb3d2128f819c3fee427002940a0e789 | 98f21e282fe1df497dd94d9fff99453c6c0b824d | refs/heads/master | 2023-07-20T02:15:44.713953 | 2023-07-07T09:54:18 | 2023-07-07T09:54:18 | 259,964,709 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | tst | me.tst | load GameOfLife.asm,
output-file me.out,
compare-to me.cmp,
output-list RAM[100]%D1.8.1 RAM[101]%D1.8.1 RAM[132]%D1.8.1 RAM[133]%D1.8.1;
set PC 0,
set RAM[99] 1, // set number of generations
set RAM[100] 1, // set starting pattern
set RAM[101] 1,
set RAM[132] 1,
repeat 5000000 {
ticktock;
}
output; |
391bc5b77fc91d601942bc7ade85e6fcf7904ff1 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RS6.prev.tst | ed786f0f97ce1b788605c99a2e38c37e81d8fe79 | [
"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 | 105 | tst | RS6.prev.tst | x^2 + y^2 - z^2
- x^2 - y^2 + z^2
equals=false, isEqualTo=true, isEquivalent=false, similiarity=null
|
173b9e06ac34fd8bb0121245f955a6a53e8ce876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.21/1_21.sce | 242ece7281ac44bf065ffcb9715e9afb7b9c5ea2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | 1_21.sce | // To determine Rl for which resonance can take place
clc;
clear;
Rl=poly(0,'Rl');
Rc=5;
Xc=6;
Xl=15;
x=(((Rl^2)+(Xl^2))*Xc)-(((Rc^2)+(Xc^2))*Xl);
Rl=roots(x);
disp(x)
printf('The above eqaution must be eqauted to zero to get Rl \n')
disp(Rl)
printf('The above eqaution leads to imaginary roo... |
67be608f92d0262e080206e649b3bd52b514b5c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH24/EX24.15/example15.sce | e3145739ab123729012e57be718d54a282ea7981 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | example15.sce | // find output voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 24-15, page 984
clear; clc; close;
// Given data
R1=2.21*10^3;// in ohms
R2=2.8*10^3 ;// in ohms
Vref=2.21;// in volts
// Calculations
Vout=((R1+R2)/R1)*Vref;//... |
27baac8e482831eccd9beb6cb9d80019deb89424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH9/EX9.6/9_6.sce | 2acd2d4ef36ecf0ee5534348aa70d315bb37109f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | 9_6.sce | K=8.62*10^-5;
T=300;
a=K*T;
printf('\n The value of K*T is %fV',a);
I0=10^-6;
Va=0.15;
disp("rac=1/((I0/K*T)*exp(Va/K*T));");
rac=1/((I0/a)*exp(Va/a));
printf('\n The value of rac is %f ohm',rac); |
e680582ab0734e6f1510fe745f98d01a779659a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH31/EX31.4/Example31_4.sce | d5f411ba6be1b6f1aa150e85a5be069d3f61a22f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | Example31_4.sce | //Given that
R = 8.5*10^-2 //in meter
Rb = 0.13 //in T/s
r = 5.2*10^-2 //in meter
//Sample Problem 31-4a
printf("**Sample Problem 31-4a**\n")
//Using Faraday's law
Rf = Rb*%pi*r^2
E = Rf/(2*%pi*r)
printf("The induced electric field is equal to %eV/m\n", E)
//Sample Problem 31-4b
printf("\n**Sample Pr... |
1684383d1655e5c343bc4344b7a1672ffb367066 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH14/EX14.35/example14_35.sce | 56137be93d339bea99ccce77d3b9fd94de85a07b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 878 | sce | example14_35.sce |
//example 14.35
//design the distributory using Laecey theory
clc;funcprot(0);
//given
f=0.85; //silt factor
AR=3600; //area for rabi
AK=1400; //area for kharif
delta_r=0.135; //kor depth for rabi
delta_k=0.19; //kor depth for kharif
tr=4; //kor period for rab... |
8bd92c5c80def225c82d5548787bafbf773a3591 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH3/EX3.7/Ex3_7.sce | 60b41bf5e15d14d0dc49b4d6d0f64bc7cf305e13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_7.sce |
//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 3.7
//OS = Windows 7
//Scilab version 5.5.2
clc;
clear;
//given
C=3*10^8;//speed of light in m/s
lamda=0.85*10^-6;//wavelength in m
SW=0.003*10^-6;//spectrum width in m
Ym=0.021;//material dispersion parameter (ps... |
3ae6ad9a1ee9c57ddfe1cb313cd680231ef61a2b | 3400b6b1e511bad0dcfea2f3c1bec8469aec61ec | /shell/group114/esh/src/eshtests/basic.tst | 7bbb0c9580b22cc8378ab90c4a5c5cfff659af3b | [] | no_license | mtanvir21/School | dbbd5cf3c972fda6e84b27377fd649620a898009 | a63601a5cc93650f860e57880cb2226f7ce96a2b | refs/heads/master | 2020-04-30T09:46:00.745068 | 2013-07-20T22:01:22 | 2013-07-20T22:01:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | tst | basic.tst | = Basic Tests
6 basic/ctrl-z_test.py
6 basic/ctrl-c_test.py
6 basic/fg_test.py
6 basic/jobs_test.py
6 basic/stop_test.py
5 basic/bg_test.py
5 basic/kill_test.py
|
113122247058a9faab90426563bd5f49a6caa480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH5/EX5.9.7/exa5_9_7.sce | 8fba364de85f37706ee010d9aa79af1607f0b682 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | exa5_9_7.sce | //Caption:transfer_function_of_generator
//example 5.9.7
//page 105
syms E Vf Kg R L
s=%s;
//generator_field_constant_Kg=delta(e)/delta(If)
Kg=50/2;
L=2;//field_inductance
R=200;//field_resistance
//transfer function is given by : E/Vf=(Kg/R+s*L)
a=Kg/(R+s*L);
disp(a,"E(s)/Vf(s)=");
|
ec953454acb9f4384794ef2074c1f098b8bbdb33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH7/EX7.7/Ex7_7.sce | df21dadbd179fd57cea85bd0beceaf69322594c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 895 | sce | Ex7_7.sce | //Example 7.7
clc
clear
function [I] = simp13 (fun,a,b,n)
// Integrate the function over the interval using Simpson's 1/3rd rule
// simp13 (fun,a,b,n)
// fun - function to be integrated
// a - lower limit of integration
// b - upper limit of integration
// n - No. of times simpson's 1/3rd rule needs to be ... |
51f34df7a01c5bfcc97d9d1aed308adfd118541c | 6583b7f11175c40106fb7cc0037578abae125f42 | /test/answers.tst | eddb49442db94e52280491a5dae9d2733f923cbc | [] | no_license | FREDY1969/tampa-bay-python-avr | 02f913ee8373bfab4ef88902844476080b560226 | e0311815ebf81b5e1b128f621bf1f15b4fa28289 | refs/heads/master | 2020-04-24T17:45:03.787951 | 2011-10-23T17:58:09 | 2011-10-23T17:58:09 | 40,279,869 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,080 | tst | answers.tst | # answers.tst
>>> from xml.etree import ElementTree
>>> from ucc.word import answers, xml_access
>>> root = ElementTree.fromstring('''
... <answers>
... <answer name="q1" type="bool" value="True" />
... <answer name="q2" type="number" value="123" />
... <answer name="q3" type="int" value="123" repeated="T... |
ccc8b08458713fcf10d615ba7e0255a0ce08d6c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH10/EX10.9/109.sce | 30364a0062e2b21aa5dc3ee17d3cdf95836d8c82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | 109.sce | // problem 10.9
Q=0.05
p=392.4*1000
n=0.65
s=0.8
w1=9810
Hw=p/w1
Hoil=p/(w1*s)
Pw=(w1*Q*Hw)/(n*1000)
Poil=(w1*s*Q*Hoil)/(n*1000)
disp(Pw,Poil,"power in Kw to drive the pump with water and oil of s,p=0.8")
|
e62e81c1eac5de1a1a9905d5c7fa2c580d259388 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.5/Ex3_5.sce | 13bbea96e90a9e15a141ed1c534a93dcd11d2731 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | Ex3_5.sce | //===========================================================================
//chapter 3 example 5
clc;
clear all;
//variable declaration
er = 1.5*10^-2; //accuracy
A1 = 10; //current in A
A2 = 2.5; //current in A
//calcu... |
fba5b150f47b0092e886eb6df26eafab6e8974f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH19/EX19.4/Ex19_4.sce | 0cec4f91ce0142d0ae560f94522ca5935b933ea4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,422 | sce | Ex19_4.sce | clear;
clc;
disp(' Example 19.4');
// aim : To determine
// (a) the volume of external saturated air
// (b) the mass of air
// (c) the heat transfer
// (d) the heat transfer required by the combind water vapour
// given values
Vb = 56000;// volume of building, [m^3]
T2 = 273+20;// temperature of air in th... |
311e3311f57e160c6b6cfd93415d40a6025310ab | 19304e6fdf8f931394819aa5055f0ab261e17981 | /MC/9. GSM, CDMA/mc9.sce | 562c31cbfa5b724a3bce563a3ac578fa10cc7bb4 | [] | no_license | usernotfound0/pracs | c2b6e17bf4c08668c777bdda3bf6ae548abd2f39 | 82c9657c5bf9dfcd38776a0c107669186c529732 | refs/heads/master | 2020-08-28T20:15:08.550257 | 2019-11-05T03:47:02 | 2019-11-05T03:47:02 | 154,515,934 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | mc9.sce |
//Question 1
Rb = 270.833;
Tb = 1/Rb;
disp(Tb);
B = 0.3/Tb;
disp(B);
//Question 2
Rb = 270.833;
c = Rb/0.4;
disp(c);
b1 = 200;
snr = (2^(c/b1)) - 1;
disp(snr);
//Question 3
b = 200;
Rb = 270.833
be = Rb/b
disp(be);
//Question 4
bc = 1250;
rb = 9.6;
srmin = 3;
sumin_ratio = 10^(srmin/10);
disp(sumin_ratio);
mm... |
8a50d35d6f3bb82f1897231c28d8618116b6cdcd | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/Sinais_e_Sistemas/complexo.sce | c5a439ae0b26650db510db4b88353c5fc4f49375 | [] | no_license | Roast-Lord/SMGcodes | 36e55be6c1cc17af91ab2e3f5117c78684f20604 | b75107be829fb4373dc1bc4b8696fe4b9cec437a | refs/heads/main | 2023-07-05T05:25:50.557705 | 2021-08-17T17:46:25 | 2021-08-17T17:46:25 | 301,012,145 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | complexo.sce | function [mod,fase]=polar2(z)
mod = abs(z)
fase = atan(imag(z),real(z))
endfunction
function [mod,fase]=polard(z)
mod = abs(z)
fase = atand(imag(z),real(z))
endfunction
|
760e317ad1f3bbc1d6931b074aa86f9f95e13c94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH28/EX28.10/Ex28_10.sce | c1384b9041b0b23735ca5c37ee252b6040be491a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | Ex28_10.sce | //chapter28
//example28.10
//page607
printf("1) Y = A . B . C` + A . ( B . C )` \n")
printf(" Y` = ( A . B . C` + A . ( B . C )` )` \n")
printf(" By De Morgan theorem \n")
printf(" Y` = ( A . B . C`)` . ( A . ( B . C)` )` \n")
printf(" By De Morgan theorem \n")
printf(" Y` = ( A` + B` + C ) . ( A` ... |
2d3fc3e4b018874147aae159bbdeed7a2d286b73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH4/EX4.12/c4_12.sce | ba3eab3558fd375eb2acfa8913e31a9e7e95cbcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,526 | sce | c4_12.sce | // (4.12) Steam at a pressure of 15 bar and a temperature of 320C is contained in a large vessel. Connected to the vessel through a valve is a turbine followed by a small initially evacuated tank with a volume of 0.6 m3. When emergency power is required, the valve is opened and the tank fills with steam until the pre... |
5804493dcacbb691b5bc9add791355fd7b0b73a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH7/EX7.1.1/7_1_1.sce | 2ab5e67df259b4e20103272e564461ecfe61215f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | 7_1_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 7
//Example 7.1-1
//Principles of Unsteady state and convective mass transfer
//given data
//si units
c0=0.1;//initial concentration
c1=0;//final concentration
K=1;//assumed as 1
Dab=4.72/(10^10);//diffusivity
t1=10*3600;//time take
x1=0;
xc... |
99c25b35faf3f4a95f7599abefa5a5a1c0fab88a | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH10/EX10.9/ch10ex9.sce | 08852ffe649acfa298061a04f625aed2ac2f932b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sce | ch10ex9.sce | A=[0 1;-2 -3];
B=[1;2];
P=[1 1;1 -1];
Ahat= P*A*inv(P)
Bhat=P*B
disp(Ahat,"A^=")
disp(Bhat,"B^=")
|
a7ccdd064a5665654fb4dbcc94bb7e6bf33959c2 | 6ba60b2f6f1960358db9c0c2f18ee442e1eb9497 | /phase1_alternation_bandit_HW.sce | 17bf6f2fbf59742b968f2bf2a0a22858c51c87ad | [] | no_license | sumwor/presentation-code | d983fb2d88b6549eceee7de3ae8453b7e3576a8a | 37af25a320797ee332f062f3d1b320edb4bc6b85 | refs/heads/master | 2021-01-21T20:19:29.493327 | 2017-05-23T21:16:42 | 2017-05-23T21:16:42 | 92,221,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,111 | sce | phase1_alternation_bandit_HW.sce | #-- scenario file --#
# when mouse have to alternately lick either port (3x) to get water
# to motivate exploratory licking, can press spacebar to give free drop of water
# pure-tone sounds are also played when reward is delivered, so mouse gets used to cue
# modified from MJ phase1_Alternation 2/14/2017
# correct disp... |
6a77a7b12281b21271fa331fdc47f07268023ccb | 51c4c028f490213495b3a6df77e94afcfa03c254 | /delta-3_robot/loader.sce | 778c73d14554af7c997a0d46a8bf372598d14290 | [] | no_license | dgerod/robotics-utils | d8b130290ba77a3aa2fbe9502c39cfba78f40609 | 5d5d6c4c426de3bf859303b56c431ecd4b203d86 | refs/heads/master | 2020-05-17T08:31:03.702958 | 2016-08-20T11:14:57 | 2016-08-20T11:14:57 | 32,637,117 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | loader.sce | // =============================================================================
// loader.sce
// =============================================================================
D3R_KINEM_ALG_DIR = get_absolute_file_path( "loader.sce" );
getd( D3R_KINEM_ALG_DIR );
// ====================================================... |
53565e15e347768aa78a8214b8736bfbeecba3ab | bd9ba5abb6de1e9d9485b5e98b2b68868aab21db | /Lab/basics/zeros.sce | 26eb8e7c1cb9b28f2fde9d42f2210653ccbc8c68 | [] | no_license | ShubhamRattra/Scilab_programs | c61b6538a064afe82c99507c1064cd55bbd870fa | de2bf6ab0de0b1a19c4903bb13819edc39f93d0e | refs/heads/master | 2023-03-04T17:53:58.414180 | 2021-02-11T08:08:11 | 2021-02-11T08:08:11 | 296,920,175 | 2 | 2 | null | 2021-01-11T15:53:39 | 2020-09-19T17:37:42 | Scilab | UTF-8 | Scilab | false | false | 87 | sce | zeros.sce | --> zeros(3,4)
ans =
0. 0. 0. 0.
0. 0. 0. 0.
0. 0. 0. 0.
|
b6d662f3841a3b45c05430f74d0cdc91911b7dee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH11/EX11.9/11_9.sce | c2a1995f9bc12c3971a9efddebf00960c6abb910 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | 11_9.sce | clc
//initialization of variables
V=1000 //mph
P=14.7 //lb/in^2
T=60 //F
g=1.4
//calculations
V1=V*(88/T)
Pratio=(1+ (g-1)*V1^2 /(2*g*32.2*53.3*(T+460)))^(g/(g-1))
eta=1-1/(Pratio)^0.286
//results
printf("Theoretical cycle efficiency = %.3f",eta)
|
5bd2330edd2d87de04130886c8650b878a3e47fb | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH10/EX10.6/ch10_6.sci | 73c95442f87cbeccd35b64d6d236f0f70696c67c | [] | 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 | 1,335 | sci | ch10_6.sci | //to calculate starting torque and atarting current,motor performance
clc;
V_a=110*complex(cosd(90),sind(90));
V_m=220*complex(cosd(0),sind(0));
R_1=3;
R_2=2.6;
X_1=2.7;
X_2=2.7;
X=110;
V_f=(1/2)*(V_m-imult(V_a));
V_b=(1/2)*(V_m+imult(V_a));
Z_f=(complex(0,X)*complex(R_2,X_2))/(complex(0,X)+complex(R_2,X_2... |
4bad827ccd72326035a131da16912980a2555fb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH3/EX3.5/3_5.sce | 2d08599432d1b6f91786fe267f169c9b4dc51f93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | 3_5.sce | //To find line current and pf and powers of a balanced delta load
clc;
clear;
Z=8+6*%i; // Load
V=230; // Voltage supply
iR=V/Z;
theta= atand(imag(iR)/real(iR));
Il= iR*sqrt(3); // Line current
Pa=sqrt(3)*V*abs(Il)*cosd(theta); // Active Power
Pr=sqrt(3)*V*abs(Il)*sind(theta); // Reactive Power
Pt... |
91aace12c140d85a52d7ed970ce28a895152e286 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH28/EX28.6/ex28_6.sce | 3e8e2d0c5258d45a3475e91544848fdd724341f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex28_6.sce | //Chapter 28
clc
//Example 6
//given
Z=74 //atomic number of tungsten
Eo=13.6 //ground state enenrgy in ev
E_K=-(Z-1)^2*(13.6) //Energy of the electron in K shell
n=3
Z_eff=Z-n^2
E3=Eo/n^2
E_M=-Z_eff^2*E3
E=E_M-E_K
disp(E,"Energy of the characteristic emiited from tungsten target when electron drops from M shell to K s... |
e72865fb00bd3b02737a99f87a889bde50b1f9d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH12/EX12.18/Example12_18.sce | 0e0b3e7ad8194de1dacfafebe6a011cf934b93ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,386 | sce | Example12_18.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 12: POWER,ENERGY,AND EFFICIENCY RELATIONS OF DC AND AC DYNAMOS
// Example 12-18
clear; clc; close; // Clear the work space and console.
// Given data (Ex.12-16)
// code letter = J
P = 6 ; // Numb... |
947946f8e0f154327f35d0d3eb18b7cc24d7694c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH3/EX3.6/Ex3_6.sce | c72a03afbb2843349ff8af939f0ee4ba4d3b8fa3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_6.sce | clc;
//ex3.6
q=1.60*10**-19;
l=0.2*10**-3;
a=0.04*10**-6;
v=1;
i=8*10**-3;
mun=0.13;
//concentration of free electrons
R=v/i;//resistance
disp('ohm',R*1,"R=");
rho=(R*a)/l;
disp('ohm-m',rho*1,"rho=");
sigma=1/rho;//conductivity
n=sigma/(q*mun);//concentration of free electrons
disp('/m^3',n*1,"n=")
//Dr... |
4a2f2ffdf3793c2bdc3a66ca4686f8229b7c26bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH8/EX8.7/example_7.sce | d62873e680b2e127de99388336ad7b3d172f5e52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | sce | example_7.sce | clc
clear
printf("example 8.7 page number 367\n\n")
//to find the flow rate in an orifice
density_of_water = 1000; //in kg/m3
viscosity = 1*10^-3; //in Pa-s
pipe_diameter = 250; //in mm
orifice_diameter = 50; // in mm
density_of_mercury = 13600; // in mm
manometer_height = 242; ... |
a6bf211d753ec9348000ed3bd1928dc3fffdd373 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH15/EX15.2/Ex15_2.sce | 3c179224b12ea4450c03bc1f19a7c2a7fd4dbfe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 844 | sce | Ex15_2.sce | // Initilization of variables
r=200 // m // radius of the curved road
v_1=72*(1000/3600) // m/s // initial speed of the car
v_2=36*(1000/3600) // m/s // speed of the car after 10 seconds
t=10 // seconds
// Calculations
A_n=v_1^2/r // m/s^2 // normal component of acceleration
A_t=0 // since dv/dt=0 // tangential ... |
ee0b53aa29615cb121135cb538d14c0da3c2d4c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH3/EX3.23/Ch03Ex23.sci | 6f47c3e1a3cccca7bc29f9ea2ebaf5c063da91b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sci | Ch03Ex23.sci | // Scilab code: Ex3.23 : Uncertainity in the position of a bullet:Pg: 93 (2008)
m = 0.025; // Mass of an bullet, kg
v = 400; // Speed of bullet, m/s
h_bar = 6.6e-034; // Reduced Plancks constant, joule second
p = m*v; // Momentum of bullet, kgm/s
del_p = 2e-04*p; // Minimum uncertainity in momentum,... |
07fd4d1a8456d26fa18e29d0e33a11df8b772631 | 56743f362de98f910919780918c86679ec136d3e | /resolvidos/Ficha prática 5.sce | 004ee6e192867606d6825323784cd83a9b6eb3fa | [] | no_license | andre-paulo98/fichas-ei-a1s2-MD | aaf75e6b45cbac7ebbf92949deb783ce6f1201b7 | 99c50eb08cf409ce8e5aa8301728dbe9148e16c5 | refs/heads/master | 2022-02-24T23:13:49.293944 | 2019-10-06T17:50:26 | 2019-10-06T17:50:26 | 171,472,323 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,328 | sce | Ficha prática 5.sce | //Matemática Discreta - Proposta de resolução da ficha prática 5
//Nota: As resoluções que se seguem apresentam apenas sugestões de resolução dos exercícios propostos. Na maior parte dos casos, existem muitas outras formas de resolver o exercício.
function M=um(A) //função equivalente à função bool2s
V=size(A)... |
5fd3aaa54032d7693b2e1d9570d0a1b6e2d45920 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH2/EX2.6/Ex2_6.sce | f8a3b50ed6ced039a95e24ae1937ee6bf62fdd3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | Ex2_6.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 2: Basic Laws
// Example 2 - 6
clear; clc; close;
//
// Given data
v1 = -12.00;
v2 = -4.00;
R1 = 4.00;
R2 = 6.00;... |
fcf07409812ad5519dba2bb7f72c96cee3c0cb17 | 04ebc1029c20752e734a1d83b49a31329d5283fd | /trust_game_2/40 boxes.sce | a4b5a9f6c3fc5d193de713c0c49778e6cf310a3e | [] | no_license | jangwoopark/presentation-trust | a1293e481da417c914534a30b1969f092f08e115 | 31621ef8b534bca19d4b9d4a5d57792ff8bb058d | refs/heads/master | 2020-06-27T14:50:42.294466 | 2017-09-12T01:51:08 | 2017-09-12T01:51:08 | 97,063,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,498 | sce | 40 boxes.sce | scenario = "frame";
scenario_type = fMRI_emulation;
#scenario_type = fMRI;
scan_period = 3000;
response_matching = simple_matching;
no_logfile = false;
sequence_interrupt=false; #default
active_buttons = 2;
button_codes=0,1;
default_font="arial";
default_font_size=30;
default_text_color=255,255,255;
default_background_... |
f99d9627e70a13f4089430bb16be5a67d5ef73bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH5/EX5.50/5_50.sce | 7b59a67de57ee64dccdaddf5c060026d945bb35a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 5_50.sce | //Example 5.50
//Spline Interpolation
//Page no. 204
clc;close;clear;
xi=[1,2,3];
yi=[-1,4,21];
x=poly(0,'x')
deff('y=S(x0,x1)','y=(x-xi(x1))*yi(x0)/(xi(x0)-xi(x1))+(x-xi(x0))*yi(x1)/(xi(x1)-xi(x0))');
S1=S(1,2);
S2=S(2,3);
printf('\n The required Spline is : \n')
disp(S2,'S2 = ',S1,'S1 = '); |
c703fbc1b93b554d5f24179df2df08601d730143 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/rceps.sci | 8b4d89ac284f37d2a87a8dd3b463b8d273bbaa43 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,045 | sci | rceps.sci | function [y, xm]= rceps(x)
//Produce the cepstrum of the signal x, and if desired, the minimum phase reconstruction of the signal x.
//Calling Sequence
//[y, xm] = rceps(x)
//Parameters
//x: real or complex vector input
//Produce the cepstrum of the signal x, and if desired, the minimum phase reconstruction of the sig... |
aeeed1b042bfe2a3b17d9b86f99b8e4a5ab2ae32 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/util/%r_rand.sci | 14d38bba02a8005acda041a31a5ca4db233ff299 | [
"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 | 55 | sci | %r_rand.sci | function x=%r_rand(a)
// Copyright INRIA
x=rand(a(2));
|
1d4b94b97895a8d3842ef92f25f122f7cc4dc76b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH15/EX15.6/ex15_6.sce | 594d62f0c05226a37c122cddc3930bf8d0428e05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | ex15_6.sce | clc;
i1=3; //current in Ampere
n2=500; //no. of turns
n1=100; //no. of turns
v1=120; //potential diff in volt
v2=(n2*v1)/n1; //calculating v2
i2=(n1*i1)/n2; //calculating i2
disp(v2,"Voltage in volt = "); //diplaying result
disp(i2,"Current in Ampere = "); //diplaying result |
ed5e635529a7a8003fb9e3fcaeaad03e298b8310 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH2/EX2.12/Ex2_12.sce | 3e360eda724a0951cac614772013562c28526774 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 874 | sce | Ex2_12.sce | // Example 2_12
clc;funcprot(0);
// Given data
v_0=250;// km/h
theta_i=15;// degree
a=0.8;// m/s^2
t=60;// seconds
s_0=0;// m
x=3000;// m
// Calculation
// (a)
v_0=v_0/3.6;// m/s
v=v_0+(a*t);// m/s
s=s_0+(v_0*t)+((1/2)*a*t^2);// m
y=s*cosd(theta_i);// m
theta=atand(y/x);// degree
r=sqrt(x.^2+y.^2);// ... |
f0fc82361bec4cd25db3cbb71242b163ad3be000 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.45/18_45.sce | a8148a13421d602a154011be8249019e778d9597 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | 18_45.sce | //ques-18.45
//Calculating change in chemical potential of a substance
clc
P1=1; P2=0.5;//partial pressure (in atm)
T=298;//temperature (in K)
C_P=8.314*T*log(P2/P1);
printf("The change in chemical potential is %.4f kJ/mol.",C_P/1000);
|
77ab722b77552981eea30ece64f8229508e3d0b4 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/vep.tst | b1ff3070ae18d2c4b9d4235021a670ef153ee785 | [] | 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 | 940,614 | tst | vep.tst | čagar’ čagarilesai N;TERM;SG
saged sagedoihe ADJ;IN+ALL;PL
lainduz lainduselesai N;TERM;SG
rida ridoilepäi N;PRP;PL
kül’menzoitta kül’menzoitta V;NFIN
allergine allergižen ADJ;ACC;SG
avtozavod avtozavodoin N;FRML;PL
konsonant konsonantoihepäi N;PRP;PL
pakssil’mäine pakssil’mäiženno ADJ;APPRX;SG
armahtuzkäsk armahtuzkäs... |
68bf8ee7b49f7d203f08613842e1fd2bb57121e1 | a985f04df7e36acafddf7c2db82fd91f7a6c0ac7 | /SUI/du/negatives.tst | 9e5092957ed0b6a4e546402010b945ee5dae0f0d | [] | no_license | kateriska/6.-semestr-FIT | f5b9c564ea8579fff4003ebe7152be11de0e41dd | 695079d3ebe751c7fb472d23f1cce126cdb998f5 | refs/heads/master | 2023-08-13T05:17:28.114132 | 2021-10-04T15:13:29 | 2021-10-04T15:13:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 63,345 | tst | negatives.tst | 0 0 0.0 0.0 0 0.0 0
0 0 0.0 0.0 0 0.0 0
0 0 0.0 0.0 0 0.0 0
0 0 0.0 0.0 0 0.0 0
9 2 0.10112359550561797 0.10526315789473684 3 0.15789473684210525 1
0 0 0.0 0.0 0 0.0 0
0 0 0.0 0.0 0 0.0 0
3 1 0.027522935779816515 0.047619047619047616 1 0.1 0
29 7 0.21641791044776118 0.4117647058823529 2 0.25 2
8 1 0.09302325581395349 0... |
654ccac270c4c0903e474eac1bc96ede71d1cc0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH7/EX7.9/EX7_9.sce | dc0a06963c2633fd6a654171e993d015b20d147e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,270 | sce | EX7_9.sce | clc;funcprot(0)//EXAMPLE 7.9
//Initializing the variables
etaV1 = 0.81;.........//Volumetric efficiency
pi1 = 1.01;.......//Inlet pressure before supercharger
pe1= 1.01;...........//Exhaust pressure before supercharger
pi2= 1.38;............//Inlet pressure after supercharger
pe2 = 1.01;.........//Exhaust press... |
6b3e72b7ecd4f5b0a890695ab8a97c297d19d2a6 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/simple_array_runme.sci | 8ff1a3a57d671873539bf29d90f243bbe0d41c81 | [
"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 | 249 | sci | simple_array_runme.sci | exec("swigtest.start", -1);
try
initArray();
catch
swigtesterror();
end
if x_get() <> int32([0,1,2,3,4,5,6,7,8,9]) then swigtesterror(); end
if y_get() <> [0/7,1/7,2/7,3/7,4/7,5/7,6/7] then swigtesterror(); end
exec("swigtest.quit", -1);
|
3ae8b3396b0e4ab9fc7d2db1643462ebc163e3eb | 59ea89f1162f8048d9f7f10f6e6a3a1567c56607 | /expe/pat/Prog/PrepAtt_Disc_Control_pcl_D.sce | f6d93622bfeb66ae059e1562460951deb22b4fdb | [] | no_license | elshafeh/own | a9b8199efb3511aa1b30b53755be9337d572b116 | ef3c4e1a444b1231e3357c4b25b0ba1ba85267d6 | refs/heads/master | 2023-09-03T01:23:35.888318 | 2021-11-03T09:56:33 | 2021-11-03T09:56:33 | 314,668,569 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 10,947 | sce | PrepAtt_Disc_Control_pcl_D.sce | # - Header - #
# - Disc Threshold One - #
scenario = "17_March_2015";
$BP = "D";
response_matching = simple_matching;
active_buttons=3; # button press
button_codes=251,252,253;
# - Screen Parameters - #
default_font_size = 26 ;
default_font = "Arial";
default_text_color = 0, 0, 0;
screen_width = 102... |
68b1609e37a6b0d9aa56b9d0dddc39088ad2d8d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH13/EX13.16/ex13_16.sce | 5185d7e939860672705157549e7a1eaac55b0190 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | ex13_16.sce | // Exa 13.16
clc;
clear;
close;
// Given data
f = 700;// in Hz
D = 0.5;
C = 0.1;// in µF
C = C * 10^-6;// in F
// Formula f= 1.44/((R_A+2*R_B)*C)
// R_A+2*R_B= 1.44/(f*C) (i)
// D= (R_A+R_B)/(R_A+2*R_B) or
// R_A+R_B=D*1.44/(f*C)
// From eq (i) and (ii)
R_B=round(1.44/(f*C))*(1-D);
R_A= ... |
26fa5f837c581455bc9e486569f761e7a56bda22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH2/EX2.1/Ex2_1.sce | bfb77d8a7ab1d4f902c95049635f75454936b35d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex2_1.sce |
epsilon=8.854D-12
r=sqrt(.1^2+.1^2)//distance b/w A and C
Fca=(2D-6)*(4D-6)/(4*%pi*epsilon*r^2)//from A to C
Fcb=(4D-6)*(2D-6)/(4*%pi*epsilon*.1^2)//from C to B
Fcd=(4D-6)*(4D-6)/(4*%pi*epsilon*.1^2)//from C to D
//Fr has horizontal and vertical components as Frx and Fry respectively
Frx=Fcd-Fca*cos(45*%pi/180)... |
9d5c91b33bfd54a077f08d60f9b8f49c51388d0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH8/EX8.7/Ex8_7.sce | e4baf766992cc8c1b508c274fbf0b7d228ab5635 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | Ex8_7.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 8.7\n\n\n");
// Chapter 8 : Vapor Power Cycles
// Problem 8.7 (page no. 386)
// Solution
//From problem 8.3,
work=1515-1150.5; //Unit:Btu/lbm of steam //pump work is neglected //Useful ideal work
//Because of the heat losses, 50 Btu/lbm of the 364.5 B... |
4e33d06b930bd49ecd447dee297193a0de00ccf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH7/EX7.7/Ex7_7.sce | 50e484644fb96a038e05b135c657838838ff504d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 909 | sce | Ex7_7.sce | clear
//
//From the circuit diagram of the figure we can obtain tha following equations based on which the problems are solved
//eqn 1..........vl=(i1+i2)*zl....the load voltage
//eqn 2..........vl=e1-i1*z1=e2-i2*z2
//eqn 3..........i1=(e1-vl)*y1 and i2=(e2-vl)*y2
//eqn 4..........vl=(e1*y1+e2+y2)/(y1+y2+yl)
//load vol... |
a209dcf6bd768bd7a11b9c74b2786148ac590521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH9/EX9.8/9_8.sce | 0e9ebb4c912c313f3dd4b80566ab886ab5d62e6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | 9_8.sce | //clear//
clc
clear
exec("9.8data.sci");
t = 0:.01:1.5;
function w=f(t,Y)
w =zeros(4,1);
k1a=1.25*exp((9500/1.987)*((1/320)-(1/Y(4))));
k2b=0.08*exp((7000/1.987)*((1/290)-(1/Y(4))));
ra=-k1a*Y(1);
V=100+vo*t;
rc=3*k2b*Y(2);
rb=k1a*(Y(1)/2)-k2b*Y(2);
w(1)=ra+(Cao-Y(1))*vo/V;
w(2)=rb-Y(2)*vo/V;
w(3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.