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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3e85a11f538d7d1bb3216bca7754232a62b07a39 | 85796c94fc9059fcb09697ae3509fd9488d77aa8 | /getMove.sci | 96dd9b9a1d16b97e4c3b7f6f78043b1cf6c556c2 | [] | no_license | MyCSDegree/snakenladder | 680d5cd7687da44a227c2b242765ab96e0b7534d | bedb901cbcede9ca3972514ec12686b33a9eaf85 | refs/heads/master | 2016-08-06T04:08:29.276575 | 2015-10-28T01:16:18 | 2015-10-28T01:16:18 | 42,781,425 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,572 | sci | getMove.sci | function [q]=getMove(x, throw, str, player)
q = x + throw;
if (player = 1) then
printGraph(q, p0, c, s_player, s_ai, c_player);
else
printGraph(q, c0, p, s_ai, s_player, c_ai);
end
sf_snake = %f; sf_ladder = %f;
while (sf_snake = %f) and (sf_ladder = %f)
for i = 1:sizesnake
... |
1434e8cc8d45378ef2f9767495fc655ad876fa3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH13/EX13.5/Ex13_5.sce | ea8756d10be4dbbe1806f222f86eaa8fef264fc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sce | Ex13_5.sce | clc
d = 150 // diameter in mm
h = 10 // thickness in mm
R = d/2 // radius in mm
mu = 0.2 // coefficient of friction
sigma_0 = 200 // N/mm^2
Rs = R - (h/(2*mu))*log(1/(sqrt(3)*mu)) // sticking radius in mm
Ps = sigma_0*exp(2*mu*(R-Rs)/h) // pressure at sticking radius in N/mm^2
function y=f(r)
y=2*%pi*r*sig... |
22732ce7f4822d7c90bcf5b6aec59941559c0f54 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/ChanStability_adj_Ar.tst | fd312c62592051c47b9078e2a56f9d0c7a97224a | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 674 | tst | ChanStability_adj_Ar.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Adjoint stability (Arpack): Channel</description>
<executable>IncNavierStokesSolver</executable>
<parameters>ChanStability_adj_Ar.xml</parameters>
<files>
<file description="Session File">ChanStability_adj_Ar.xml</file>
<file descriptio... |
862edb671d705bbf35c6f539b0a45645e5b9d45c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.13/Ex1_13.sce | 527f55d3c748a934774820144dc256ba6843bec3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Ex1_13.sce | clear
//
//values are obtained from the graph
i=10 //10t A for 0 to 1 second
d=10 //where di/dt is 10
L=2
// at one second
v=L*d
printf("\n v= %0.1f v",v)
//for 1 to 5 seconds
d=-5
//at t=3 seconds voltage across the inductor is
v=L*d
printf("\n v= %0.1f v",v)
|
9fdfcc93ebc6fefa2f4e366bc6845ce4a5b7fb2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.7/Ex2_7.sce | a2b70e663553d6173d880b62c79d019ad35df853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | Ex2_7.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 7
clc;
disp("CHAPTER 2");
disp("EXAMPLE 7");
//VARIABLE INITIALIZATION
s1=300; //apparent power in kVA
pf1=0.65; //power factor(lagging)
pf2=0.85; //power factor(lagging)
//SO... |
9eb9c0991742ce58abf8bd26470c371d90052d02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.12/Ex9_15_12.sce | 2acc3570bcc97eda9c4160346477aa80c330ce0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | Ex9_15_12.sce | //Section-9,Example-3,Page no.-E.13
//To calculate E0 cell for the given cell.
clc;
E0_cathode=0.77
E0_anode=0.76
E0=E0_anode+E0_cathode
disp(E0,'Emf of the cell')
|
867d9a9fe9db3738c301b255676b854f82a014e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH2/EX2.1/Ex2_1.sce | c1d0dd40ed182e681e697d1c537c7a38607f9f3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | Ex2_1.sce | clc
d = 1 // Assumption
l = 1 // Assumption
A_ACDB = (%pi/4)*(1/3)*((1.05*d)^2)*10.5*l - (%pi/4)*(1/3)*d^2*10*l // Area of ABCD
A_AEFB = (%pi/4)*(1/3)*((1.1*d)^2)*11*l - (%pi/4)*(1/3)*d^2*10*l // Area of AEFB
t = 100*(A_ACDB/A_AEFB)
printf("\n Example 2.1")
printf("\n The straight bore thermometer reading will ... |
e6bc056c9612c19800f6a9c181df8e8fdcf01bd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH11/EX11.4/c11_4.sce | 224bad2789c284ce492467f46148376051ea7c00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,877 | sce | c11_4.sce | //(11.4)Using p–v–T data for saturated water, calculate at 100C (a) hg - hf, (b) ug - uf, (c) sg - sf. Compare with the respective steam table value.
//solution
//analysis
//For comparison, Table A-2 gives at 100C,
hgf =2257 //in kj/kg
... |
4faad1b1b84a8ca118d8f937bc457172aec9a233 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH10/EX10.15/example10_15.sce | 5bf3e996f39eb75159814f90e980f23c6828f92c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | example10_15.sce | r1=0.4;
r2=1;
rl=2;
v1=12;
v2=15;
i1=v1/r1;
i2=v2/r2;
vx=(i1+i2)/(1/r1+1/r2+1/rl);
disp("the load voltage (in V) is");disp(vx); |
82359e6b273cf0ede8148e9db6a2b2cf585dd886 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.16/7_16.sce | 65a7ec5fdb2f870959888ac6f50e48d71c9f3385 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | 7_16.sce | clc,clear
printf('Example 7.16\n\n')
V_L=3300
V_ph=V_L/sqrt(3)
E_bph=V_ph
Z_s=complex(0.5,5) //synchronous impedance
theta=(%pi/180)*phasemag(Z_s) //phasemag returns angle in degrees, not radians
P=8,f=50 //pole and frequency
delta_mech=3 //mechanical angle in degrees by which rotor is behind
delta_elec=(P/2... |
599dee04fc03fe421a3811f95d09cd0cc6258748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH6/EX6.1/EX6_1.sce | a1318dcda98e6bba07dd79ffbf6b1a86a630d065 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | EX6_1.sce | //Chapter 6, Example 6.1
clc
//Initialisation
w=1000 //angular frequency
L=10**-3 //inudctance in henry
//Calculation
Xl=w*L //reactance in ohm
//Results
printf("Reactance, Xl = %d Ohm",Xl)
|
aef9ae3a3c4ab0c7feeb00d665490502bc30a41c | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnHi/enhi.4.tst | 1e7cdfec892186c3fcce6f4fca15d0276dfa95f9 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 67,732 | tst | enhi.4.tst | a a c h a a r y a n a n d a n आ च ा र ् य न ं द न
a a d h a d i n a a d h i r a a t आ ध ा द ि न आ ध ी र ा त
a a h l a d आ ह ् ल ा द
a a h u t i आ ह ु त ी
a a k h r i g o l i आ ख ि र ी ग ो ल ी
a a n c h a l k e p h o o l आ ँ च ल क े फ ू ल
a a n k h o n a n n k h o n m e i n आ ँ ख ो ं आ ँ ख ... |
85085dd70add1760b1a84b787586425bc607cdbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.8/Chapter6_Example8.sce | 72b73dcbae30cdf4d197c883252c28ca98dc2a1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | Chapter6_Example8.sce | clc
clear
//Input data
t1=100;//The temperature at steam point in degree centigrade
t2=0;//The temperature at ice point in degree centigrade
//Calculations
T1=t1+273;//The temperature at steam point in K
T2=t2+273;//The temperature at ice point in K
n=(1-(T2/T1))*100;//The efficiency of the carnots engi... |
86fabf34352ea56375caa97e8503cad8c14cd835 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH4/EX4.05/4_05.sce | 84825091d3cdec25f71f6a771c9eadb79aa507c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | 4_05.sce | //pathname=get_absolute_file_path('4.05.sce')
//filename=pathname+filesep()+'4.05-data.sci'
//exec(filename)
//Temperature inside the house(in K):
T1=25+273.15
//Temperature outside the house(in K):
T2=-1+273.15
//Heating load(in MJ/h):
Q1=125
//COP:
COP=1/(1-T2/T1)
//Minimum power required(in MJ/h):
W=Q1/C... |
9ecb4a049aaa6f1f80ff8bca5d1fd4181261b9c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH10/EX10.2/10_2.sce | cfb8b26cb53317affad4c49b97ffc8356f0dc40e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | 10_2.sce | clear
clc
s=50
v=11
x=.15
S=50
V=11
Xe=.15/4
FMVA= round(10000/Xe)/10000
Fault=FMVA * S
mprintf("\n(a)fault level = %.3f pu", Fault)
sga=.5*Fault
sgb=800-sga
xb=.15/2
X=(S/sgb)-xb
x=X*(V*V/S)
mprintf("\n(b)X = %.3f ohms", x)
|
f49e0dfe239f4775b294d869b5cb3b6908c2f994 | fd6a414e5722e920e5ebe08c77fe0f70b29e77cf | /CallthePowerSpectrum.sce | 5a41114b6e8f53b496df892daba173a1c76e5fc9 | [] | no_license | JBouis/AudioProcessing | e774bdfaf38207643d441f975a96773ae3cbbd24 | c9f81b8d5ce447b014707b309ef209530219adc0 | refs/heads/master | 2021-05-18T02:21:40.839402 | 2020-03-29T15:22:16 | 2020-03-29T15:22:16 | 251,063,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22 | sce | CallthePowerSpectrum.sce |
PowerSpectra_PAM()
|
b6cccc7e566c6fee394ecd78471cc4f4cfd10a5b | 04101e89f0980b65ec0350667a3cbf16ccd56630 | /Broyden_Fletcher_Goldfar_Shanno.sce | 478d783a07419c826d72b8f080d3c4df025e7d68 | [] | no_license | francissinco/Numerical-Analysis-in-Scilab | a810d30dc1ba032a6a9bc37a6f5345185781380e | 51f9d2da4d31e865be158bea2b7cf563ccbe21eb | refs/heads/master | 2021-01-10T11:45:15.197910 | 2016-05-06T10:34:45 | 2016-05-06T10:34:45 | 52,008,949 | 0 | 0 | null | 2016-05-06T10:34:45 | 2016-02-18T13:27:34 | Scilab | UTF-8 | Scilab | false | false | 1,676 | sce | Broyden_Fletcher_Goldfar_Shanno.sce | //Francis Brylle G. Sinco
//MS Applied Mathematics
//Math 288
//University of the Philippines - Diliman
//12 March 2011
//Broyden-Fletcher-Goldfar-Shanno(BFGS) Algorithm with Line Search Algorithm using the Strong Wolfe Conditions applied to minimize the Rosenbrock Function
//INITIALIZATION OF QUANTITIES
k=1;
M=100... |
06ad1da5b2f9d6e52bc185f0eff0cf0699fd9582 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH9/EX9.3/9q3.sce | 71679a4268ed0c5dee606a222490df08a1400557 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | 9q3.sce | clc
//initialisation of variables
G= 2.68
e= 0.52
g= 9.81 //kN/m^3
h1= 0.7 //m
h2= 1 //m
h3= 1.5 //m
h4= 2 //m
//calculations
//for soil A
sa= (G+e)*g/(1+e)
//point a
Sa= h1*g+h2*sa
u= (h2+h1+h3/2)*g
Es= Sa-u
//point b
sb= h1*g+h4*sa
ub= (h4+h1+h3)*g
Eb= sb-ub
i= h3/2
s= i*g
//results
printf ('ef... |
329403a286f2b35b9e3c3a4d3a3fa61040d8d47d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.6/Ch05Ex6.sce | 7958ac2ecbd93608743dacc6f3fa8d46763c90e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sce | Ch05Ex6.sce | // Scilab code Ex5.6: Pg:217 (2008)
clc;clear;
Lambda = 6e-05; // Wavelength of spectral line, cm
n = 1; // First order principal maxima
aplusb = 1/160; // Grating element where a is the width of slit and b is the width of opaque region in a grating, cm
// since the grating equation is given by (a +b)*si... |
f7f9059ff0e94857fa38b8c14fdb3ee4d24d679c | 91da29a7783c3162b1b743ad75d48814bd1f556e | /2_año/MN/LU_Scilab.sce | 3597a9c63cc4e732eb2da3e0539b0d0a4934f09c | [] | no_license | jfarizano/LCC | a149631059129b07a7c603bf16df0c1b25479edb | 70cb03b0ff0a788b1bbbf1a6bcd51beff48460fe | refs/heads/master | 2022-11-15T14:46:36.171561 | 2022-11-10T21:15:13 | 2022-11-10T21:15:13 | 246,933,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | LU_Scilab.sce | clc
clear
// Utilizaremos la factorización LU de Scilab para resolver el sistema A*x=b
A = [0 2 3; 2 0 3; 8 16 -1]
b = [7 13 -3]'
[L,U,P] = lu(A)
disp(P)
disp(L)
disp(U)
// Modificamos el vector b usando la matriz de permutación
c = P*b
// La solución del sistema A*x=b mediante la factorización L... |
ae3b0a4903d76376eddbc6b76d2a0adc86702201 | 1bf3cbe37018ca88ab0cd7a031c1e835b51adeeb | /qbases/general.tst | 6e6bee9f6824416fa82c21c2625096a96d28a3ad | [] | no_license | leotrubach/tester | 4dbae7f1310ecd732d0d28978f7d87d7d94276ad | 3d72a54d22e98100ef7e1dc400a7efe397f4cf9b | refs/heads/master | 2021-01-13T01:50:52.258365 | 2011-09-18T11:07:25 | 2011-09-18T11:07:25 | 2,409,112 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,176 | tst | general.tst | bQya2DqfmYMyUIJLUUP3UA==
UtwI+OolSTPi6lL1gf/XgNLcJAm6ThZThoA4m+RjJtC9vEtZ6iBJPeLrUvWB9SflvbFLUxpOH1OA
gDea05NHcLyNSmrqKkgB4u5Tz4H9JtC9vKXSEU8vU4eAOZrTknyA1CC6CI1PLFOJgDeb7JJ8gNQg
ugiAThlTgoEDm+ySfIDUBrcIgE4ZU4KBA5vsknyA1CC6CIxPLFOJgQCa2pNOfE3cLQiPTyJTh4A/
mtqTTlpA3C0Ij08iU4eAP5rak058TdwgCbpPKVKzgD+a2pNOfE3cLAiPTyJSsIEJ... |
e765c84067f626924367d8842b4da291ae5b0ceb | 0e637a0e41450cddb847e0328eaebb9365cefdd4 | /1st assignment/ramp.sce | 7720942faa5c2445e17bc661703f779dee8cf67e | [] | no_license | mehtasankets/CASP | 32c7ea00fca072e85d664f4acd050edee5f26a5f | 5dbdd3c14b1b2620c29ab5bfdad640f4529d779c | refs/heads/master | 2020-04-28T09:20:00.026745 | 2011-11-03T08:33:12 | 2011-11-03T08:33:12 | 2,700,756 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | sce | ramp.sce | x = -10:100;
t = 0:100;
y = [zeros(-10:-1),t];
plot(x,y); |
8730a8705048583a9a066a8e285e583d5fb34ae0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH14/EX14.3/Ex14_3.sce | 3cd7bdc9f549189faebda63103b9dd0783c3ac2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Ex14_3.sce | clc
//given data
F=100000 // final amount in rs
i=6 // interest rate in %
n=10 // time in years
P=F*(1/(1+i/100.0)**n) // initial amount
printf("The initial value is Rs %.2f",P)
|
94aa29425d3cc9951d00f38eefbad70bd9136029 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH7/EX7.7/Ex7_7.sce | 71497bc7e7f547f49d822ad84d16deb6b8628ad5 | [] | 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 | 371 | sce | Ex7_7.sce | clc
// Intialization of variables
Rw = 1/15 // Ratio of widths
Q = 125 // m^3/s
t = 24 // hr
w = 20 //m
//calculations
Qm = Q*(Rw)^2.5
tm = t*(Rw)^0.5
wm = w*Rw
// results
printf(" the required model width is %.3f m",wm)
printf(" \nthe required model flow rate is %.3f m^3/s",Qm)
printf(" \nthe operating m... |
ccf901f73f8b08fb034d4c65a40338df22cba6ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH6/EX6.16/Ex6_16.sce | ebae21bf09f5c3a5d9d5386a8a375e4bf38ed743 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,236 | sce | Ex6_16.sce | //Ex6_16
//Edge Detection Vector Space
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
close;
clear;
xdel(win... |
f7f86510f69832ab1af2875ca993ef0498a9f92b | 971b52073b0a9541c928a42091aba77bddc0743c | /A3/results/result0s0.tst | e9a9a8755fb01ee12f01dbd79c2347c85e6409b6 | [] | no_license | minminmail/FARCHD_Negative_Rules | 66cb7fd637a9394939688d5a9a804bdcdb9e7f47 | eb69bae9ffe5b94f3191b5456ea15fffacaa3e76 | refs/heads/master | 2023-07-22T15:50:10.413213 | 2021-08-27T06:03:30 | 2021-08-27T06:03:30 | 327,358,135 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,439 | tst | result0s0.tst | @relation
@attribute 3.61646249686014 real[0.032626572772507245,15.99550170609938]
@attribute 11.61879710931984 real[0.01308043209846943,15.989311852037073]
@attribute red{red,green}
@inputs 3.61646249686014,11.61879710931984
@outputs red
@data
red green
red green
red green
red green
green green
green green
green gre... |
341a42cce5d561f897aea8aca9851108b784f975 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH6/EX6.5/example6_5.sce | 6ac5614c2270109210cd7f548446bd1a9bfe1174 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,067 | sce | example6_5.sce | clear;
clc;
// Stoichiometry
// Chapter 6
// Stoichiometry and Unit Operations
// Example 6.5
// Page 356
printf("Example 6.5, Page 356 \n \n");
// solution
//(a)
printf("(a) \n \n")
// basis 50000 m^3/h of gas mix at 295.5K 100kPa
v = 24.57 //m^3/kmol sp vol of gas at 295.5K and 100kPa
n1 = 5000... |
46321f2a64b4394025d689e9ff0098b62245f543 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH6/EX6.1/6_1.sce | 8241feebdcf8f20880972fd634a34923ff564af2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | 6_1.sce | clc
//Intitalisation of variables
clear
d1= 5.9 //deg
d2= 5.3 //deg
//CALCULATIONS
r= sind(d1)/sind(d2)
vr= r^3
//RESULTS
printf ('Ratio of inter planar distance = %.2f ',r)
printf ('\n Ratio of volumes = %.2f ',vr)
|
20942e79bfc4d52fc1a356a88ecb9784609ce02f | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH4/EX4.7/ch_4_eg_7.sce | db80bd9c931cfe569fe7a7d522fd0cfc057c5693 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | ch_4_eg_7.sce | clc
disp("the soln of eg 4.7-->Simultaneous O.D.E.")
function dx_dt=fw(t,x,y);
dx_dt=x+2*y,
endfunction
function dy_dt=fq(t,x,y);
dy_dt=3*x+2*y
endfunction
y=4,x=6 //initial values
//solving by Runge-Kutta method
for t=0:.1:.2,
h=.1 ... |
03c9d0b23f9e8d744cbe5215e4fd86f5ab6d0dfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH3/EX3.8/3_08.sce | 3f8f1510fca4affd4857af1adb8f3cb4ad4bf2b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_08.sce | //Chapter 3, Problem 8
clc;
R0=100; //resistance at 0◦C
T=70; //tempreture in ◦C
a=0.0043; //temperature coefficient of resistance at 0◦C
Rt=R0*(1+(a*T)); //calculating resistance at 70◦C
printf("Resistance at 70◦C = %f ohm",Rt);
|
720b9585259e36980326d7a88f615e50bbd418f6 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/AcousticSolver/Tests/APE_2DVariableC_WeakDG_MODIFIED.tst | a1e9af9e62944fe2fb95fd85495a7285966901f8 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 843 | tst | APE_2DVariableC_WeakDG_MODIFIED.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>desc P=10</description>
<executable>AcousticSolver</executable>
<parameters>APE_2DVariableC_WeakDG_MODIFIED.xml</parameters>
<files>
<file description="Session File">APE_2DVariableC_WeakDG_MODIFIED.xml</file>
</files>
<metrics>
... |
3f3cd98df6c9b438a6bde910a104a13bb0295172 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH5/EX5.9/5_9.sce | 18c94368660de1149db1493e8ec1c91e0690410b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | 5_9.sce | //Minimum force required
//refer fig. 5.13
//Applying Lami's theorem to system of forces on block
R1=20*sind(145)/sind(140) //kN
R2=20*sind(75)/sind(140) //kN
//Applying Lami's theorem to system of forces on wedge
P=R2*sind(130)/sind(105) //kN
printf("required force is P=%0.2f kN",P)
|
52eeda76b8109e8910d54165c1c67a1b6ecbda9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH6/EX6.13/Ex6_13.sce | 134b40459404def6a3f1209c576a141bd32138ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Ex6_13.sce | clc; clear; close;
LEinv=1;
LEnor=5/3;
LEnand=4/3;
Cload=20;//in fF
Cin=10;//in fF
Pinv=1/2;
Pnor=3/2;
Pnand=1;
path_effort=LEinv*LEnand*LEnor*Cload/Cin;
disp(path_effort,'total path effort=');
SE=path_effort^(1/4);
disp(SE,'optimal stage effort=');
delay=(4*SE)+(2*Pinv)+Pnor+Pnand;
disp(delay,'normalis... |
32f2f39859136182c9716afc6497a017d832e516 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH16/EX16.10/Ex16_10.sce | 2d64a15c23a167a218842aa683ff9f7e6fa9c27a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ex16_10.sce | // Example 16_10
clc;funcprot(0);
// Given data
m=5.00*10^-3;// kg
T=20.0+273.15;// K
p=101.3*10^3;// kg/(m.s^2)
R=286;// m^2/(s^2.K)
D=3.00*10^-3;// m
g=9.81;// m/s^2
g_c=1;// The gravitational constant
// Calculation
W=(m*g)/g_c;// N
rho=p/(R*T);// kg/m^3
V_in=((4*g_c*W)/(rho*%pi*D^2))^(1/2);// m/s
pr... |
12ad3c10dd88f050609ffbe423dedcee75babb69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH10/EX10.11/Example10_11.sce | 040a2900d65a35e5a7fc5ca00639436e53a1eecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example10_11.sce | //Chapter-10,Example10_11,pg10_42
Tsh=190
P=8
f=50
fr=1.5
ML=700
s=fr/f
Ns=120*f/P
N=Ns*(1-s)
Po=Tsh*(2*%pi*N/60)
Pm=Po+ML
Pc=Pm*s/(1-s)
printf("rotor copper loss\n")
printf("Pc=%.3f W",Pc)
|
2f6e686656662c58aaa96693dfb067ebf5ea097b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH12/EX12.6/12_6.sce | 249c99e6422e1d62db1a355c3efef6e1503bf0c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | 12_6.sce | ////
//Variable Declaration
n = 52 //Number of cards in std . pack
j = 5 //Number of cards in subset
//Calculation
C = factorial(n)/(factorial(j)*factorial(n-j))
//Results
printf("\n Maximum Possible 5-card combinations are %8d",C)
|
ba5f6a8e2d8ae13b0989b54221e05256098ef08b | ed81f401dcd2ce0399cec3a99b6e5851e62e74ca | /data/github.com/scilab/scilab/0068b70ee75ebbfd7f0201abec7a5e56df5469b0/scilab/modules/xcos/tests/nonreg_tests/bug_11821.tst | 038f17e592fc4967cf610cc5f27ed89448fd6453 | [
"MIT"
] | permissive | smola/language-dataset | 9e2a35340d48b497cd9820fa2673bb5d482a13f7 | 4d1827d1018b922e03a48a5de5cb921a6762dda3 | refs/heads/master | 2023-03-10T12:42:04.396308 | 2022-07-15T18:05:05 | 2022-07-15T18:05:05 | 143,737,125 | 18 | 3 | MIT | 2023-03-06T05:01:14 | 2018-08-06T14:05:52 | Python | UTF-8 | Scilab | false | false | 781 | tst | bug_11821.tst | // =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2012 - Scilab Enterprises - Alexandre HERISSE
//
// This file is distributed under the same license as the Scilab package.
// ============================... |
dd343202acb91c1d8aa743d681837e82d8bcd4b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH15/EX15.7/ex15_7.sce | e0f20b2b06bc3de24bfb9d8f24ae94a79262def3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex15_7.sce | //ex15.7
R4=10^3;
C1=0.022*10^-6;
R7=R4;
C2=C1;
R6=R4;
R5=100*10^3;
f_c=1/(2*%pi*R4*C1); //critical frequency in hertz for each integrator
f0=f_c //center frequency
Q=(1+(R5/R6))/3;
BW=f0/Q;
disp(f0,'center frequency in hertz')
disp(Q,' value of Q')
disp(BW,'bandwidth in hertz') |
619541fa837fa76e36b1c90355c2050c49d74011 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH5/EX5.2/Ex5_2.sce | b2a16acc24096c02a36a5a3cea48f2eb88d1cbc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 855 | sce | Ex5_2.sce | clc;
p1=1; // Pressure before compression in bar
T1=350; // Temperature before compression in kelvin
T3=2000; // Temperature after combustion in kelvin
rp=1.3; // Pressure ratio
Cp=1.005; // Specific heat at constant pressure in kJ/kg K
r=1.4; // Specific heat ratio
R=287; // Characteristic gas constant in J/kg ... |
022c680aead535500ee8810884c313ad7cc339cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH8/EX8.18/example18.sce | 0c1cd75c8e2fa09a7e13d264ff38c15c4900dd4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | example18.sce | s=%s ;// convert to state space
TFcont=syslin ('c',20*(4*s+2)/(s^3+5*s^2+8*s+2))
SScont=tf2ss (TFcont )
[Ac ,Bc ,U, ind ]=canon( SScont( 2 ) , SScont( 3 ) )
disp(Ac,"Matrix A=")
disp(Bc,"Matrix B=")
|
8f5d73945ad55b8e6e0d7b66404b9db9f0e45a1b | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/BCK/Scripts/Test/test_blob.SCI | 21f52869d178fab9686bdb41e624004b2804e3bc | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,808 | sci | test_blob.SCI |
codeblock readtextfile(ScriptDir+"\TOOLS.sci");
id=3;
#break;
b=Blob;
if id==4 then {
b.Addtorus(point(-3,0,0),vector(0,1,0),2,0.5,2);
b.Addtorus(point( 0,0,0),vector(0,0,1),2,0.5,2);
b.Addtorus(point( 3,0,0),vector(0,1,0),2,0.5,2);
b.Addtorus(point( 6,0,0),vector(0,0,1),2,0.5,2);
}
if id==3 then {
... |
04e7705b20f608f9dcf39e03cb94bc34e058b477 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH11/EX11.4/Example11_4.sce | 5e3b94cc5db98fcefacb3d9bfb58e38dc8f4f931 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 630 | sce | Example11_4.sce | //Exa 11.4
clc;
clear;
close;
//Given data :
V1=11000;//Volt
f=50;//Hz
a=0.645;//cm^2
d=sqrt(4*a/%pi);//cm
d=d/100;//m
D=2.18/100;//m
epsilon_r=3.5;//relative permitivity
V=V1*sqrt(2)/sqrt(3);//V(assuming 3 phase system)
gmax=2*V/d/log(D/d);//V/m
gmax=gmax/10^5;//KV/cm
disp(gmax,"Maximum electrostatic st... |
b4f24a972b422d4e3f82a9857a70679568c4cf4c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH4/EX4.16.b/Example4_16_b.sce | f904ebbf1fdcfb8c630d5f46c782f1f6c4c80045 | [] | 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 | 270 | sce | Example4_16_b.sce | errcatch(-1,"stop");mode(2);//Example 4.16 (b)
//Program to Evaluate and Compare the 8-point DFT of the given Sequence
//x2[n]=1, 0<=n<=6 using DIT-FFT Algorithm.
;
;
;
x2=[1,1,1,1,1,1,1,0];
//FFT Computation
X2 = fft (x2 , -1);
disp(X2,'X2(k) = ');
exit();
|
0e7b8a0678f9bf56cfdc86a65b7b7f5a1c7aa169 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH3/EX3.6/NNID_Ex_3_6.sce | c39f70dffbe0a8f48c558b5647a30dbb874d4164 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | NNID_Ex_3_6.sce | clc
//Chapter 3:Network noise and intermodulation distortion
//example 3.6 page no 82
//given
NF=8//noise figure in dB
B=2.1*10^3//bandwidth
Rs=50//sourse resistance
Si_dB=NF-144+log10(B)//available input power in dBm
Si_W=(10^(Si_dB/10))/10^3//available input power in W
Ei=sqrt(Si_W*4*Rs)//minimum detectable ... |
7e77510231595045b6c1a856002cfde4c4f62e7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH2/EX2.4/Ch02Ex4.sci | 50e5ed53ef3228798451899618cb88feb72bed10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sci | Ch02Ex4.sci | // Scilab Code Ex2.4 Longest wavelength of incident radiation: Pg:45 (2008)
h = 6.624e-034; // Planck's constant, Js
c = 3e+08; // Speed of light, m/s
e = 1.6e-019; // Energy equivalent of 1 eV, joule/eV
phi = 6*e; // Work function of metal, joule
f0 = phi/h; // Threshold frequency for metal surf... |
10018cd625e7c1dfea4ff82cfaad7827f1be80e5 | 99602a3df67f0bf806ffb5e714bbafcdd7d6ae88 | /tp/tp4/proba.sce | bc525349efd882242acffe5859748f706fa586d1 | [] | no_license | BenjaminVanRyseghem/RDF | cbe77b76bb18680c03f16360fdad40723de25a68 | e9ed372d66fa4152426b3b1115448323ed0e9b58 | refs/heads/master | 2023-08-31T14:15:37.668811 | 2013-04-11T15:49:58 | 2013-04-11T15:49:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | proba.sce | // example 1: Gaussienne " '
//d = rand(1,10000,'normal');
//clf();
// 20 baton
//histplot(20,d,leg='rand(1,10000,''normal'')',style=16,rect=[-3,0,3,0.5]);
// example 2: Binomiale n = 6, p = 0.5
// fail 6 fois avant success et probabilite de success de 0.5
//d = grand(1000,1,"bin",6,0.5);
// creer un vector de -0.5... |
01c485a558b7052f9926c28fd69dade67a2336f6 | e388dc46e41d78403f4e7481eb3fd52f640bd20e | /sy27/ecart_pente_frenet.sci | a8c1d31b5db89675e5866d270341393f039c2e96 | [] | no_license | roddehugo/utc | 4ef822c019cb4a00775bdde6b908e258cd6ac1a5 | 1f81e64c13eed562b95ed67faedca24f0e583492 | refs/heads/master | 2021-06-02T02:01:33.907859 | 2020-05-04T16:31:54 | 2020-05-04T16:31:54 | 58,293,385 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sci | ecart_pente_frenet.sci | function [d,p]=ecart_pente_frenet(A,B,x)
//Le repère de Frenet a A pour origine et B définit l'axe x
//x est une position (ou bien une pose 2D)
//d= ecart latéral signé
//p= pente signée du segment [AB]
//PhB nov 2015
M = x(1:2);
xa=A(1);ya=A(2);
xb=B(1);yb=B(2);
alpha=atan(... |
f846166442d799e2f688f48460f56d1da52a1c7d | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/machine-sliding-mode/final-smc/M=I test/2自由度機械システム.sce | b68b32816036375d33d295268f09a3592b7d9ca2 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 2,430 | sce | 2自由度機械システム.sce | //------------------------------------------------
//■2013.10.09 秋山殿
// 対称化された最終SMC(極配置)+チャタリング除去
//------------------------------------------------
// ▼2自由度機械システムの定義
L=[1 0; 0 1]; //アクチュエータに加わる力を表す行列
k=10; //到達則のスカラ関数
m1=1; m2=10; //質量
k1=1.1; k2=2.2; //ばね定数
d1=1.2; d2=2.1; //減衰定数
M=[m1 0; 0 m2];... |
d815805c653e02b3115877fc36dbdafdd541a00d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH6/EX6.10/example6_10.sce | 1d114e835e2c5a567292b8b00b8af0df4c1201ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 837 | sce | example6_10.sce |
//example 6.10
//calculate
//minimum capacity of reservior
//the initial storage storage required to maintain uniform demand
clc;funcprot(0);
//given
in=[2.83 4.25 5.66 18.4 22.64 22.64 19.81 8.49 7.1 7.1 5.66 5.66]; //inflow(x10^5)
s=0;
for i=1:12
s=s+in(i);
end
avd=s/12; ... |
211a20b2546b156274cf195ee4bb03e105612247 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testgetset.sce | 5a097106bd3501d9f09b259535ba67778296725b | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | testgetset.sce | plot();F=gcf();
F.type // type of handle F= Figure
F.visible // on <=> the figure is visible
F.visible="off";// off <=> the figure becomes invisible
F.figure_id // figure number 0
F.figure_id=1; // in the graphics window, the number changes to 1
delete(F) //to delete
|
0b49e8ecc815783a3e9caeffae736f04117e0e8b | 8d84f0f9896b6d830524723e9edec1c30f50cc7b | /Unit 4/Rayleigh power method.sce | 277016dc4046f00c5bf610d5a98b39d93ae8810f | [] | no_license | saveri1205/Linear-Algebra | 29a40be2c04213cec652cee72ce14411ab0eeb9a | 0d2b0b23bbb9f693f4c1b4e34a1b434378ab3e18 | refs/heads/master | 2021-01-01T13:23:18.102349 | 2020-06-03T10:50:23 | 2020-06-03T10:50:23 | 239,297,246 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Rayleigh power method.sce | clear;clc;close();
// Given martrix
A=[3 0 1;2 2 2;4 2 5];
disp(A,'The given matrix is')
//Initial vector
u0=[1 1 1];
disp(u,'The initial vector is')
v=A*u0;
a=max(u0);
disp(a,'First approximation to eigen value is')
while abs(max(v)-a)>0.002
disp(v,'current eigen vector is')
a=max(v);
disp(a,'... |
4d64f614dc4613525fc9921d0ea0aae4db4f722a | 931090e82489a96a263c3a3f0747d2cf703d4672 | /tests/cmd-rv.tst | 45203a9c563ea3aa8ba4ee7d47bbecce0abcaa8a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause",
"Zlib",
"BSD-3-Clause"
] | permissive | darindf/hyperion | 2b70924f94fc5fa62eed330c3736f1adf9ff7c44 | 05652fb9d7993d942138196c4e9bad6b1c7a63e1 | refs/heads/master | 2020-12-03T10:29:01.460015 | 2016-07-30T09:37:00 | 2016-07-30T09:37:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | tst | cmd-rv.tst | *
#------------
defsym cmd r
#------------
*
defsym arch S/370
script $(testpath)/cmd-rv-2K.subtst
*
defsym arch S/390
script $(testpath)/cmd-rv-4K-32.subtst
*
defsym arch z/Arch
script $(testpath)/cmd-rv-4K-64.subtst
*
#------------
defsym cmd v
#------------
*
defsym arch S/370
script $(testpath)/cmd-rv-2K.subtst
*
d... |
08bdd9ac7191be4f88de13ffded1b2eccb0bfaab | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH2/EX2.5.b/Example2_5_b.sce | bf63017713d0e621f4c47b9c38f0b8f71635775f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | Example2_5_b.sce | //Example 2.5(b)
clear;
clc;
R1=15*10^3;//From the result of Example 2.4
p=0.001;//For 1% tolerance p=t/100=1/100=0.01
emax=4*p;//imbalace factor
Romin=R1/emax;
printf("Ro can be anywhere in the range Ro>=%.2f Mohms",Romin*10^(-6)); |
8f078a716428be2fab02958edcd20f5c4586bb26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.14/Ex12_14.sce | 0b88e0570e1c3203246a0c3bbef1db5aea39f3d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | Ex12_14.sce | //EX12_14 Pg-12.30
clc
clear
m=0.5;// modulation index
It=12;//antenna current when AM transmitter is 50% modulated
Ic=It/sqrt(1+m^2/2);//carrier current
m=0.9;//when modulation depth is increase to 0.9
It=Ic*sqrt(1+m^2/2)
printf("Therefore total antenna current It=%.2f A",It)
|
9ec72e2251f87863364668026f31f084672f6cf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH5/EX5.54/ex_5_54.sce | 1c107bbd54f631420a385a4e8680690b75a12bc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | ex_5_54.sce | syms t w0 W
w=-10:0.1:10;
wc=2;
for i=1:length(w)
if w(i)>-wc & w(i)<wc then
Hw(i)=1;
else
Hw(i)=0;
end
end
a=gca();
plot(w,Hw);
poly1=a.children.children;
poly1.thickness=3;
poly1.foreground=2;
xtitle('x(t)','t')
disp("we know y(t)=x(t) for w<wc");
Xw=ones(1,length(w))./(2+... |
ddb0134118afac86af2db79d48f1ce3cc2bb6d85 | b891303eb65fe7f18e45744097cd94c1a605c36b | /zad2.sce | fa0dcc0405ea7b0cf3505bceaed9a439f16ec8d0 | [] | no_license | julialaska/pu | 3d6c87c0fd8928683c96b3083fe38919e8b5be42 | e33e70462fe0e021eac1dbcdd99b5a14c883b1fd | refs/heads/main | 2023-02-17T00:04:51.726784 | 2021-01-20T12:54:06 | 2021-01-20T12:54:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | zad2.sce | clear
clf
clc
x = [-1:0.01:6];
y = 2**(x+4)+3;
z = (x**3+4*x)/x**2+5;
plot(x,y,'LineWidth',3)
plot(x,z,'r','LineWidth',3)
xgrid
title('Plot of 2**(x+4)+3 and (x**3+4*x)/(x**2+5)')
|
9ed32bf5da614ffcf86a2339818c9045c7034347 | 56c6f6a051cef6f7d5f48b0ce6931a759a22ea76 | /plugins/SimpleCronClone/tab.sce | 4e762e04ce21a20801f58772d47eff1baac79fdf | [] | no_license | admalledd/mcserver_scripts | 28caaa96aaa215542a6cd1f021335f7a8d2f6101 | 5816a321717b876eb2d93c382116f7a22b7fbaf1 | refs/heads/master | 2021-01-17T13:57:53.323676 | 2016-07-21T00:52:01 | 2016-07-21T00:52:01 | 10,610,030 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sce | tab.sce | playerJoin:
- command: 'do adm_log allevents::$0:::$1::$2::$3'
playerFirstJoin:
- command: 'do adm_log allevents::$0:::$1::$2::$3'
playerQuit:
- command: 'do adm_log allevents::$0:::$1::$2::$3'
serverEmpty:
- command: 'do adm_log allevents::$0:::$1::$2::$3'
serverNotEmpty:
- command: 'do adm_log... |
64ac0e81b7d2a42d8b2ed544e6dd17fe590b1af8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.17/Ex11_17.sce | b453bf07b76e9a5a43d5ae78962f77072eb6e3fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,478 | sce | Ex11_17.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.17\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.17 (page no. 578)
// Solution
//The first step is to check Reynolds number.It will be recalled that the Reynolds number is given by (D*V*rho)/mu and is dimensionless.Therefore,we can use D, ... |
5ca551ccd694a438197fc3e3a4aca884a80fc067 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH8/EX8.5/Example_8_5.sce | 6337880a7161b8d9c79d2ef2377456bc8a7dabd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Example_8_5.sce | // Chapter8
// Page.No-335, Figure.No-8.25(a)
// Example_8_5
// Output voltage
// Given
clear;clc;
vin=100*10^-3;
t=0:0.1:2*%pi;
i=1;
for t=0:0.1:2*%pi;
if t<=%pi
v(i)=vin*sin(t);
else
v(i)=0;
end
i=i+1;
end
t=0:0.1:2*%pi;
plot(t,v)
|
02a1ee8bd329c078d98b0942a04ba7d3fbf05a5b | 0e175f1d3cd0577b4c11412e79d40f48015dd488 | /lqr_pendulo1.sce | 18da457b8368aadc23188338f9fd9daf028f3b51 | [] | no_license | carbonmansp/Laboratorio3Linealizacion | eff813c9795ca10a16c69109da9bcbc8a46c6261 | 4b37a2e749014eae97c90dee73dfd412a83eabdf | refs/heads/master | 2022-11-28T21:17:21.870111 | 2020-08-16T04:17:15 | 2020-08-16T04:17:15 | 287,871,235 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,171 | sce | lqr_pendulo1.sce | // Form the state space model (assume full state output)
A = [0 1 0 0;0 -0.0014 0.1271 0;0 0 0 1;0 -0.025 19.1713 0];
B = [0;1.7777;0;3.4296];
C = [1 0 0 0 //dy1
0 0 1 0];//dy2
D=[0;0];
//inputs u and e; outputs dy1 and dy2
P = syslin("c",A, B, C, D);
//The compensator weights
Q=[800 0 0 0;0 0 0 0;0 0 20... |
5d8731685a81e07616ab700f54bb562f9f8c96d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH1/EX1.16/Ex1_16.sce | deb4a461007670b8d7cfc28a002ebf956eb2a967 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Ex1_16.sce | clear
//
//Given
//Variable declaration
D1=30 //Larger diameter in mm
D2=15 //Smaller diameter in mm
L=350 //Length of rod in mm
P=5.5*10**3 //Axial load in N
dL=0.025 //Extension in mm
//Calculation
E=int((4*P*L)/(%pi*D1*D2*dL)) //Modulus of elasticity in N/sq.mm
//Result
print... |
3682412ed3b9a0265bf49cedf6eed6063aa2ee8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3517/CH4/EX4.10/Ex4_10.sce | 539cc911970a4e59ee01990363af07f7732dec7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | Ex4_10.sce | //Caption:Determine output voltage when (a)Device is cutoff (b)Device is switched on
//Ex4.10
clc;
clear;
close;
Idf=0.25//Drain current at cutoff(in ns)
rd=40//Drain resistance at switched on(in ohm)
Vdd=15//Drain voltage(in volts)
Rd=6.8//Drain resistance(in kilo ohm)
Vo=Vdd-(Idf*Rd*10^(-6))
disp(Vo,'Output... |
965b5575b4f877c6371cc4ec04d315f57ddc9fe8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH9/EX9.9/Ex9_9.sce | b1b4c4f22a158c619b9e8ac0b640bd5847151492 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | Ex9_9.sce |
//Exa:9.9
clc;
clear;
close;
//Given:
SNR=32;
Actual_snr=10^(SNR/10);
w1=300;//in Hz
w2=3400;//in Hz
w=w2-w1;
c=w*log2(1+Actual_snr);
printf("\n Capacity=%f bits/sec",c); |
266b5ca57f7671bbd6c2fd53c5fde11dbce1b8e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.40.10/Ex1_40_10.sce | d6b95afd1c556ed915fe04645d866fa9fae569d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Ex1_40_10.sce | //Ex 1.40.10
clc;clear;close;
format('v',9);
//Given :
rho=9.6*10^-2;//ohm-m
mu_n=1300;//cm^2/V-s
q=1.6*10^-19;//Coulomb
sigma_n=1/rho;//(ohm-m)^-1
ND=sigma_n/q/(mu_n*10^-4);//per m^3
ni=5*10^22*10^6;//per m^3
disp(ND/ni,"Ratio of donor atom to Si atom : ");
|
332ffc91bfa52c7803b2ee6e64e2059bbf0bd013 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TE44.prev.tst | 6ad184ffcf2c66b0074961962395befa383bc25f | [
"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 | 4,226 | tst | TE44.prev.tst | TranspositionSet={[0,1,3,2],[1,0,2,3],[1,0,3,2],[2,3,0,1],[2,3,1,0],[3,2,1,0],[3,2,0,1]}
considerNonPrimitive
Expanding for base=2, level=2, reasons+features=base,transpose,primitive,same,similiar,evenexp invall,norm
Refined variables=a,b,c,d
[0+1a,0+1b,0+1c,0+1d]: unknown -> [1] [0,0,0,0] a²+b²-c²-d²
-> solution ... |
7b2372b9365a0b258acbe8a4173be9d8193ad8ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH4/EX4.4/ex4_4.sce | 11bf7b5ef93f14b218840a49e5254a6948c37ae3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | ex4_4.sce | //ex4.4
V_CE_sat=0.2;
V_BE=0.7;
V_BB=3;
V_CC=10;
B_DC=50;
R_B=10*10^3;
R_C=1*10^3;
I_C_sat=(V_CC-V_CE_sat)/R_C;
I_B=(V_BB-V_BE)/R_B;
I_C=B_DC*I_B;
if I_C>I_C_sat then
disp('transistor in saturation')
else
disp('transistor not in saturation')
end |
814ca54ae9f9c04df430a01d15f198a010ed8575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH4/EX4.2/4_2.sce | 57aa9be25171ab9afc67e06f1da25ce68a764867 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 797 | sce | 4_2.sce | clc,clear
printf('Example 4.2\n\n')
P=16*1000 //power supplied in watts
V=220 //supply voltage
e=0.9;k=0.57; //emissivity and radiant efficiency
rho=1.09*10^-12//resistivity in ohm-metre
l_by_d2 = %pi*V^2/(4*rho*P) //ratio of l and d^2 (i)
T1=1170+273; T2=500+273; //temperatures ... |
21de95a369f15fe0b0d602e3d16cee392c04a935 | a2845a06ebac1138c6854d691780b120cdd556ab | /bisection.sce | 4001d1a194da2e3e6060f40e6d6984a6b0201653 | [] | no_license | asp2809/Scilab-Programs | d734202084dc70e2b4e3281410833d315ce1558c | 6a49e9401ee81dd3ffc909fe6a3954b5e184c70c | refs/heads/master | 2020-03-10T15:11:33.831289 | 2018-10-05T09:50:06 | 2018-10-05T09:50:06 | 129,443,439 | 1 | 0 | null | 2018-10-05T09:50:07 | 2018-04-13T19:10:50 | Scilab | UTF-8 | Scilab | false | false | 580 | sce | bisection.sce | //program to implement bisection method
function []=bisection(r)
xl=0
xu=r
xm=xl+xu/2
p=poly([3.993*10^-4,0, -0.165,1],'x','coeff')
p1=horner(p,xl)
p2=horner(p,xu)
if p1*p2<0 then
xu=xm
else
xl=xm
end
xmn=(xl+xu)/2
e=abs((xmn-xm)/xmn)*100
whil... |
fbb4fb5d128ed224e1bed84337db45ff8093c065 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH15/EX15.30/Ex15_30.sce | 16920f893d31690a183a8ce0407e2de3829f5114 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | Ex15_30.sce | //Initilization of variables
rho=490 //lb/ft^3
t=0.02 //in
d=4 //in
r=d/2 //in
g=32.2 //ft/s^2
//Calculations
W=(%pi*r^2*t*rho)/1728 //lb
//Mass
m=W/g //slugs
//Momemt of inertia
I=(1/4)*m*(r/12)^2 //slug-ft^2
//Result
clc
printf('the moment of inertia is %fslug-ft^2',I)
|
31982af44b8770cd53a753fce3aa8b7b80b2d731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH16/EX16.9/16_9.sci | 41e4b2c097672db6a580050aad510ba9fab7e596 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 16_9.sci | //16.9
clc;
IL=11000;
Eph=IL/3^0.5;
printf("\nLine to neutral voltage=%.2f V",Eph)
E_Each_phase=Eph;
printf("\nVoltage induced in Each phase winding=%.2f V",E_Each_phase)
T=(242/360)*(1/50)*1000;
printf("\nTime interval=%.2f ms",T)
IL_peak=(2^0.5)*IL;
printf("\nPeak line voltage=%.2f V",IL_peak) |
b9280ef0148973e901610467251b259782e5539e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.4/Chapter5_Exampl4.sce | 79f9596e5fdaf96083993c22bb8744ac840674b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,115 | sce | Chapter5_Exampl4.sce | clc
clear
//INPUT DATA
n=1.35;//for cylinders
p1=1;//pressure in bar
v1=1;//volume in m^3
p2=7;//pressure in bar
nm=0.85;//mechanical efficiency in percentage
nt=0.9;//Turbine efficiency in percentage
N=300;//speed in rpm
//CALCULATIONS
//(a)single acting cylinder
ip1=((n/(n-1))*p1*10^2*v1*(((p2/p1)^((n-1... |
65064523c350c25569a34418eaf254a9cdffd4e3 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/nonlinear/scilab/nonlin_ammonia/flowsheet_res_s.sci | e8ae02768391be52b5f6b9639e79f4412ed63b1b | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,977 | sci | flowsheet_res_s.sci | function res = flowsheet_residuals(x, K_coef, cp1_coef, h_hx_coef, frac)
//*********************************************************************
// Data Reconciliation Benchmark Problems From Literature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
... |
8b9c22c35ac8a2135695c702d388880d230aefcb | f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22 | /BCPST UTT/Old/UTT.sce | d636433fe30b04363bb3914f86be7133ac834252 | [] | no_license | ThibaultLatrille/Slides-Sciencework | bfdf959dbbe4a94e621a3a9a71ccbcd06c5fc338 | 84b53f3901cbdb10fab930e832dc75431a7dce05 | refs/heads/master | 2020-04-27T07:53:52.313720 | 2019-03-06T16:17:57 | 2019-03-06T16:17:57 | 174,151,758 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 2,232 | sce | UTT.sce | //Marqueur de l'activité du programme
on=1;
//Blabla d'intro
disp(" Ultimate Traveler''s toolbox ");
disp(" V 1.0 ");
disp(" ");
disp(" ");
disp(" Ultimate traveller''s toolbox est l''outil idéal pour tous les grands voyageurs soucieux de prépar... |
4ad26d511df374eeb8dd52189e451b7f820503b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH11/EX11.3/Ex11_3.sce | 0af8b179b72f7c4232e34f9c5a719b1a15aa428e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | Ex11_3.sce | //Variable declaration:
syms l //Wavelength (mu.m)
I = 40*exp(-l**2) //Intensity of radiation (Btu/h.ft^2.mu.m)
//Calculation:
E = eval(integrate(I, l,0,%inf)) //Total emissive power (Btu/h.ft^2)
//Result:
printf("The total emissive power is : %.1f... |
fbffc88089d0dfb4357cea687747c71ad2fe670e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH3/EX3.26/Example_3_26.sce | 521a00ba9c94492fc5cb1c48b60a66dd9c49ff84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Example_3_26.sce | //Example 3.26 The mean of a certain normal distribution is equal to the standard error
clc;
clear;
n=49;
disp("Mean = S.E in sample size of 25 i.e s_d=5(m)",49,"Total Sample = ");
disp(1-0.9192,"Probab. of P(x<0), when n=40. Since the population is normal = P(x<0)=");
|
3765204bbc3ed3fcc0b29d8d83950174906f3d56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.9/Example5_9.sce | 646749b7f7b9ce5358bf637f1fd86497becdbefd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Example5_9.sce | //Example 5.9
clc
disp("The function can be implemented with a 8 to 1 multiplexer, as shown in fig. 5.22. Three variables A, B and C are applied to the select lines. The minterms to be included (1, 3, 5 and 6) are chosen by making their corresponding input lines equal to 1. Mintems 0, 2, 4 and 7 are not included by m... |
640ddc359c5223f04ec90487926fb31704688423 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH7/EX7.5/7_5.sce | d07c8aca6fdfdc4a942a610ba440c41189f4f4d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_5.sce |
clc
//initialisation of variables
f=0.01
l=2640
d1=0.5*16
d2=0.25
k1=0.03125
h=100//ft
pi=22/7
g=32.2
//CALCULATIONS
k2=(4*f*l)/(d1)
k3=(4*f*l)/(d2)
//results
k=k1+k2+k3+0.5+1
v2=sqrt(2*g*h/k)
dis=pi*d2*d2*v2*60*6.24/4
//Results
printf (' Discharge= %.1f gal/min',dis)
|
041cb532ad52e11b015ed2468f00b0e54057c32b | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/sigma_delta.sce | 0b71d0f56401e6dfe302175e58834682bc4702ca | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 944 | sce | sigma_delta.sce | //**************************** sigmadelta **************************************
if (blk_name.entries(bl) =='sigma_delta') then
mputl("# sigmadelta",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
sigma_str= '.subckt sigma_delta_fe in[0]=net' + string(blk(blk_objs(bl),2))+"_"+ string(ss) +" in[1]=net"+stri... |
62eb7801b172dc96330a941d2d22d036179140c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH7/EX7.6/Chapter7_Example6.sce | 96ec9f51addb0eeda21ef23ad2f906761990204b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | Chapter7_Example6.sce | clc
clear
//Input data
b1=80//Intensity levelof the sound produced by the electric generator in dB
b2=70//Intensity level of the room in dB
//Calculations
I2=10^(b1/10)*10^-12//Intensity of the sound produced by the electric generator in W/m^2
I4=10^(b2/10)*10^-12//Intensity of the sound existing in the room i... |
32bfc2e9a5a034fa564287f08bdc4d4318159b0a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Irrigation_And_Water_Power_Engineering_B._C._Punmia_2087.zip/Irrigation_And_Water_Power_Engineering_B._C._Punmia_2087/CH4/EX4.42/example4_42.sce | 4b2769d2d047318fd8033a2c88bbbc374b6007af | [] | 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 | 601 | sce | example4_42.sce | mode(2);errcatch(-1,"stop");driver("GIF");
//example 4.42
//calculate mean precipitaion using thiesson polygon method
clc;funcprot(0);
//given
a=4; //dimension of plot sides
P1=4.8;P2=13;P3=8;P4=5.4;P5=3.2;P6=9.4; //precipitaion at respective stations
A1=a^2/8+a^2/(4*1.73);
A2=a^2/8;
A3=A2;... |
16d4a79ddc7d5df0c8f09938e1e94c5ad5421bf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH9/EX9.3/ex9_3.sce | 2d21a203611e4d6288840d708a6d285accf9598f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex9_3.sce | // Exa 9.3
clc;
clear;
close;
// Given data
H2 = 3055;// in kj per kg
H3 = 2550;// in kj per kg
fie_1 = 7.15;// kj per kg k
fie_2 = 7.57;// kj per kg k
d_fie= fie_2 - fie_1;// in kj per kg k
disp(d_fie,"Change in entropy during throttling process in kJ/kg-K is :");
dH = H2 - H3;// in kj per kg
disp(dH,"Chan... |
2fd2fd86e0cfd417b23fb79fceff7b0bd742ebfc | dc628e7d8425aa0bb1460d2583f04c9969b4ec9c | /dlog-server/src/test/iocasteDBsimple.tst | c618071eb3e3fa8148b14e673f6d6c0380f12fe5 | [] | no_license | logicmoo/DLog | bc2c43523ccbc3747c381f2eb0e25960cfc8d6e1 | 855774c38c1eea119405fde0057cfdb1032006f0 | refs/heads/master | 2021-05-28T14:03:35.596790 | 2015-01-12T22:49:56 | 2015-01-12T22:49:56 | 27,461,790 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 993 | tst | iocasteDBsimple.tst | options([abox_target(allinonefile), tbox_target(allinonefile), indexing(yes)]).
options([abox_target(allinonefile), tbox_target(allinonefile), indexing(no)]). %All DB -> indexing doesn't help at all
options([indexing(no)]).
options([indexing(yes)]).
concept('Good').
concept('Patricide').
role(hasChild).
equiv(and([som... |
5687150cc3a3c86ea4933641215eb24dc311e344 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos_blocks/DELAYV_f.sci | 3d04115fdab88c59988f62d919b80e7867fdce02 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,465 | sci | DELAYV_f.sci | function [x,y,typ]=DELAYV_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then //normal position
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=ar... |
e3708d1b4d6cc7f42428c36ad5acbe3441eb3647 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH5/EX5.7/Exa5_7.sce | 285bf0c4f2f472df1bba77502cf2a6dc4f34ae15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | Exa5_7.sce | //Exa 5.7
clc;
clear;
close;
//Given Data :
format('v',7);
I=180;//in Ampere
cos_fir=0.8;//unitless
R=0.7;//in ohm/phase
X=1.2;//in ohm/phase
ETA=90;//in %
Pdev_BY_VR=3*I*cos_fir;//in KW
Psending_BY_VR=Pdev_BY_VR/(ETA/100);//in kW
Losses=3*I^2*R;//in watt
VR=Losses/(Psending_BY_VR-Pdev_BY_VR);//in volt
V... |
75839994f029da3e84a1c972cb2e9dc21a827a4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH15/EX15.5/S_5.sce | 086d491a81131ff3febbfce39436425f2a7fe80c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | S_5.sce | // sum 15-5
clc;
clear;
d=200;
r=d/2;
N=300;
P=5000;
D=500;
R=D/2;
u=0.3;
E=205*10^3;
G=84*10^3;
Ta=60;
Kb=1.5;
Kt=2;
w=2*%pi*N/60;
beta1=20*%pi/180;
V=r*w;
v=R*w;
// Let T1-T2 =T
T=P/V;
x=u*%pi/sin(beta1);
T2=T/((exp(x)-1));
T1=T2*exp(x);
t=P/v;
y=u*%pi;
T3=t/((exp(x)-1));
T4=T3*exp(x);
T=P... |
24f417e69b3c3d871c7ab5617daa14b34de9799e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH2/EX2.34/Ex2_34.txt | 2bad7973776b89ce9b455d60f184603074249140 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | txt | Ex2_34.txt | //Ex:2.34
clc;
clear;
close;
// For a closed surface, a sphere of radius r is choosen. To find the total radiated power, the radiated component of the power density is integrated over its surface. therefore,
// Wt=double integration of (ar.Ao.(sin(x)/r^2))*(ar.r^2.sin(x)) with limits from 0 to 2*pi and from 0 to p... |
f7f207cc75275d31b6c7380b4d306d0968891a5a | 0940381bdf69cd29be4b4c641a519ae596d697aa | /test/cflow.tst | cdc50c21bfa4310e8e806d785cc1b31e071d28aa | [
"MIT"
] | permissive | kevinmel2000/nanac | bfbad2085179cf3e8d5a71fc56657a31109bb5be | 577e270790fc00f9c1257b1b7bbf3de8c226c32f | refs/heads/master | 2020-03-11T08:51:33.769511 | 2017-04-18T19:53:46 | 2017-04-18T19:53:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | tst | cflow.tst | @0 op jmp 3 0
@1 op sav 1 0
@2 jmp to 4 0
@4 reg win 1 0
@5 jmp ret 0 1
@5 jmp to 3 0
@3 jmp die 0 0
|
70662275d4e7fcfa91c73b596d33266748fa379b | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.12/EX3_12.sce | ce25d3eb8bc19a2724ba9d1b53c1ebeab21ec5a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 925 | sce | EX3_12.sce | //Calculating equivalent impedence referred to primary
//Chapter 3
//Example 3.12
//page 216
clear;
clc;
disp("Example 3.11")
f=50; //frequency in hertz
r=6; //turns ratio
R1=0.90; //primary resistance in ohms
R2=0.03; //secondary resistance in ohms
X1=... |
bf3ea4296a271473b4728e8382a2929067829a00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH12/EX12.2/ex12_2.sce | 2ef8a2015222168944d2a39c9ad3e181b5601bb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | ex12_2.sce | clc;
warning("off");
printf("\n\n example12.2 - pg562");
p=1.2047*0.06243; //[lb/ft^3]
mu=(18.17*10^-6)*(0.6720); //[lb/ft*sec]
v=mu/p;
x=2; //[ft]
U=6; //[ft/sec]
Nre=(x*U)/v;
disp("The Reynolds number is well within the laminar region",Nre,"Nre=");
del=5*x*(Nre)^(-1/2);
C1=0.33206;
Cd=2*C1*(Nre)^(-1/2... |
da015210385ee45b11a3bf809fbac4954770db38 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/bin/gl_exportlig.sci | 89c398cfd150d485aeebcd41a0f12383ae66643d | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 100 | sci | gl_exportlig.sci | exec(INTER_SYS_DIR+'/bin/gl_draw_phy.sci');
exec(INTER_SYS_DIR+'/bin/gl_retrieve_exportlig.sci');
|
4b3a0702d624d0b1b012edab91a38e264c436fc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.4/Ex5_4.sce | 0afe20cb0969324d7fcf392bfca6b62cef2890fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_4.sce | //pagenumber 287 example 4
clear
ib=20*10^-6;//ampere
beta1=500;
re=10;//ohm correction in the book
r1=4.7*10^2;//ohm correction in the book
ic=ib*beta1;
voltag=ic*r1;//voltage drop at 4.7*10^3ohm
vc=(10-voltag);
rb=(vc-0.6)/ib;
disp("rb = "+string((rb))+"ohm");
//re included
voltag=ic*re;//voltage drop... |
5f9866724a257af531db0f79b559f4fab47f4836 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /FN AK Highground.sce | 25a35839a9c0dad51ee1328dbd1478c11cf7dde5 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27,350 | sce | FN AK Highground.sce | Name=FN AK Highground
PlayerCharacters=A_air_pistol_frozen
BotCharacters=target.bot;target.bot;target.bot;target.bot;target.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=A_air_pistol_frozen
AddedBots=target.bot;target.bot;target.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=square_1wall... |
dff177fce127ef758c9b028d2b6ed858cdb538dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.22/example12_22.sce | eb3ebe7c90bc50c5a208d868a561e666387163de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | example12_22.sce | clc
// Given that
E = 3 // kinetic energy of proton in Mev
m1 = 1.007276 // mass of H(1) in a.m.u.
m2 = 3.016056 // mass of H(3) in a.m.u.
m3 = 1.008665 // mass of neutron in a.m.u.
m4 = 3.016036 // mass of He(3) in a.m.u.
// Sample Problem 22 on page no. 12.39
printf("\n # PROBLEM 22 # \n")
printf("Standard law used ... |
ed8f3497296904c524dd46b32cfcaf0e13d631aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH6/EX6.9/EX6_9.sce | cb7f5d6e1483ee3dbe36087b065880bc36b348cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | EX6_9.sce | //Chapter 6, Example 6.9, page 245
clc
//Initialisation
d=5 //in dB
h=20 //Transmitter initial height
//Calculation
ht=h*10**(0.25) //Transmitter ultimate antenna height
//Results
printf("(1) Antenna Heigh... |
3c88375718d1fbedf0802b740277ec1c582e7e40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH7/EX7.2/ex_2.sce | c7b914e8344b6bc31841c9a058428818055c25c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | ex_2.sce | //Example 2 // intensity
clc;
clear;
close;
I=1;//assume
a1=1*I;//
a2=4*I;//
ph1=0;//degree
i1=(a1+a2)+a2*cosd(ph1);//
disp("intensity where phase difference is zero is "+string(i1)+"*I")
ph2=90;//degree
i2=(a1+a2)+a2*cosd(ph2);//
disp("intensity where phase difference is pi/2 is "+string(i2)+"*I")
ph3=180;//degree
i3... |
bacca2a33fa0f80d89281bc25fc3fbd2d92f4660 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH6/EX6.3.b/6_3_soln.sce | 15673b0df120211c7dca4d93e3d0d137b31c17bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | 6_3_soln.sce | clc;
pathname=get_absolute_file_path('6_3_soln.sce')
filename=pathname+filesep()+'6_3_data.sci'
exec(filename)
// Solution:
// Inclination of Weight,
theta=(theta*%pi)/180; //rad
// Cylinder Force,
F=W*sin(theta); //lb
// Results:
printf("\n Results: ")
printf("\n The Cylinder Force at constant velocity is %.0f ... |
d85f27039f1f356baabf032aa33b167ccaa8b578 | e4657d526ddb006886c9fca8229ddb7dc9b6c6cf | /two/OddCounter.tst | 92de57d2e1a33164f5bca7a571528c6a94f28912 | [] | no_license | marcusshepp/computer_arch | 14cfcf65c13a5db1c2255a011a743601a55ac4cb | 564dd2bcf32e7791b33e5ff41a3ec63e08b2b69e | refs/heads/master | 2021-01-10T07:54:53.011805 | 2016-04-16T22:37:38 | 2016-04-16T22:37:38 | 43,556,935 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | tst | OddCounter.tst | load OddCounter.hdl,
output-file OddCounter.out,
compare-to OddCounter.cmp,
output-list time%S1.4.1 reset%D1.3.1 out%B1.16.1;
set reset 0,
tick,output,
tock,output;
tick,output,
tock,output;
tick,output,
tock,output;
tick,output,
tock,output;
set reset 1,
tick,output,
tock,output;
tick,output,
tock,output;
set r... |
55e95ded09a69539cf0dde961b88a77b4eb30c48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH6/EX6.2/Ex6_2.sce | 123dc43712471404a3b44addbb21602637daf662 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 885 | sce | Ex6_2.sce | //Example 6_2
clc;clear;
// Given values
m=14;//Water flow rate in kg/s
rho=1000;//The density of water in kg/m^3
A_1=0.0113;// The cross sectional area of the elbow at inlet in m^2
A_2=7*10^-4;// The cross sectional area of the elbow at outlet in m^2
z_2=0.3;// m
z_1=0;// m
g=9.81;// The acceleration due to g... |
c468632d809c3b72af573dcca69bb28e3d5fbcb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH3/EX3.5/Chapter3_Example5.sce | 49eb1bd440be73dcb515ec0fecb558e277bec0ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | Chapter3_Example5.sce | clc
clear
//Input data
t=6;//Time taken for a liquid to cool from 80 to 60 degree centigrade in minutes
T=10;//To find the temperature after the time in minutes
t11=80;//The initial temperature of the liquid in degree centigrade
t12=60;//The final temperature of the liquid in degree centigrade
ts=30;//The t... |
b9b0ae36cb07299aeb0fcbe1d97f28dd4b943416 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH3/EX3.29/ex3_29.sce | 49bfb4a44342aa3fe58d2f50934d1df24b5e91f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex3_29.sce | //Exam:3.29
clc;
clear;
close;
n_1=1;//1st order reflection index
angle_1=10;//1st order reflection angle
n_3=3;//3rd order reflection index
//sind(angle_1)/sind(angle_3)=n_1/n_3
angle_3=asind(n_3*sind(angle_1)/n_1);//
disp(angle_3,'3rd order reflection angle=') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.