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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
77dcaf69f0c3b221e20f96fc572bd5373222f862 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.68/ex_68.sce | 7964f755cb31ea8beebae9ac6dd9b874ff92e645 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | ex_68.sce | R1=10; //Assigning values to parameters
R2=20;
R3=40;
R4=30;
R5=15;
V=2;
I1=V/(R1+R4);
I2=V/(R2+R5);
Vth=R2*I2-R1*I1; //Calculation of Thevenin voltage
Rth=((R1*R4)/(R1+R4))+((R2*R5)/(R2+R5)); //Calculation of Thevenin resistance
Il=Vth/(Rth+R3);
disp("Amperes",Il,"Load current"... |
51d078859f1e94fd54aa0df4161ad79b0915b480 | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD1/logistique/logistiqueB.sce | e53689b21cd3db3fe7446d4316e2bcebaa225928 | [] | 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 | 273 | sce | logistiqueB.sce | clear
clf
d=0.3;
bvect = 0.1 : 0.05 : 0.55;
ndate = 0:30;
alpha = 0.05;
for i = 1:10
b=bvect(i);
x(1) = 1;
for n = 1:30
x(n+1)=x(n)+b*x(n)- (d*x(n)+alpha*x(n)*x(n));
end
plot2d(ndate, x, style = -1);
plot2d(ndate, x, style = i);
end
|
6f8651ab22f682993a27643a3b03dd9718989211 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_numeric_1_c.tst | aa8439a54149be36b5c1d084987190ca1487fcc8 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 1,015 | tst | test_numeric_1_c.tst | set 2
2
div 3
0.666666666666666666
mul 3
1.99999999999999999
div 3
0.666666666666666663
mul 3
1.99999999999999998
div 3
0.66666666666666666
mul 3
1.99999999999999998
round 16
2.0000000000000000
div 3
0.666666666666666666
div 4
0.166666666666666666
mul 4
0.666666666666666664
mul 3
1.99999999999999999
div 3
0.66666666666... |
896906e18c391ebb7166e6c9f5c9baee08d2b7e0 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/inherit_missing_runme.sci | 3580b53f3f2b3b3cb160f116cf1c0d55b91a6743 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | inherit_missing_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:e86003c7fc5c232523f2a2bbfd05d16f183ad6c0c99055e0b0b72be0eee372ef
size 305
|
026d4344249176efd2ff8aec51a0dbd0378e8d4f | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/SCHI/DZ59LCP/ATWM1_Working_Memory_MEG_DZ59LCP_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | d9cb8c99f4689e358305114616c4c1e9d854741f | [] | 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 | 48,620 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_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_monito... |
8b18f723f3de0aab20139f666072d7e651e60695 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH6/EX6.1/Ex_6_1.sce | 0cb810bffc8aeaccc7e4ad364c7b10c49d3a93f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Ex_6_1.sce | // Example 6.1 //inernal quantum efficiency
clc;
clear;
close;
tr=2.5;//radiative recombination time in milli second
tnr=50;//non radiative recombination time in milli second
t=(tr*tnr)/(tr+tnr);//Bulk recombination life time in millisecond
nint= (t/tr)
disp(nint*100,"inernal quantum efficiency is(%) ")
|
50d2af1d17caf23337c2b88d7f90ebdaea40f9e4 | 097591ff707dad61b15d02ef979997b1425cc204 | /02/Comparator.tst | 63f91cce7bb3f5f0b762bc45535f34a24a37e41c | [] | no_license | murillohl/ESC | d044cbadb0d108362f46ce0e2ca0c59beb3d11ec | 688e7acd67132c20c88748f05a2604ed9dcb63ef | refs/heads/master | 2020-03-27T05:31:35.873290 | 2018-12-11T11:39:54 | 2018-12-11T11:39:54 | 146,028,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | tst | Comparator.tst | load Comparator.hdl,
output-file Comparator.out,
compare-to Comparator.cmp,
output-list in%B1.16.1 eqz%B2.1.2 ltz%B2.1.2;
set in %B0000000000000000,
eval,
output;
set in %B0111111111111111,
eval,
output;
set in %B1000000000000000,
eval,
output;
set in %B1111111111111111,
eval,
output; |
e5d5d315e42b12aed260ca841db34aa67de13ca7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH9/EX9.17/9_17.sce | 114f85e136e68384e860ae7d2753aad8c9751794 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | 9_17.sce | clc
//Initialization of variables
hf=1187.2 //Btu/lbm
p2=100 //psia
//calculations
t=328 //F
u2=hf
disp("from steam table,")
t2=540 //F
p2=100 //psia
dt=t2-t
//results
printf("Rise in temperature = %d F",dt)
|
ede3d2576e7789f5cda4cfb20342a3f6ffc03aa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH5/EX5.a.2/A_Ex5_2.sce | 8842b14586880e95908fe15be65d0d9888451fa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 774 | sce | A_Ex5_2.sce | // Chapter 5 additional Example 2
//==============================================================================
clc;
clear;
// input data
// Copper has FCC structure
r = 1.278; // Atomic radius in angstrom
N = 6.023*10^26; // Avagadros number in atoms/kilomole
A = 63.54;... |
a1bb887f671a7f2ef48c360e7b96df39125e0544 | 717ddeb7e700373742c617a95e25a2376565112c | /545/CH5/EX5.8/ch_5_eg_8.sce | 812c04d917b98885427f93896eefaf765509ce05 | [] | 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,108 | sce | ch_5_eg_8.sce | clc
disp("the soln of eg 5.8-->Chemical Reaction and Diffusion in Pore");
lnght=.001
k_const=.001
D=10^-9
delta_x=l/100
C=1 //in mol/m3
//B.C. are C=1 at x=0
// dC/dx=0 at x=10^-3 since at the end point conc. is const.
//using central difference method we get the following eqns which... |
70ba1b01e7a1ec5f6b7eac1f75a005034e9a99ed | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106.zip/Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106/CH8/EX8.7/ex8_7.sce | 61e29bac9e529a60b02c727bfec0369ac874a844 | [] | 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 | 169 | sce | ex8_7.sce | errcatch(-1,"stop");mode(2);// Example 8.7, Page No-378
R2=10000
Vo=12
Vref=7.15
R1=(Vo/Vref)*R2 - R2
R1a=R1/1000
printf('\nR1= %.2f kohm', R1a)
exit();
|
55698ccf7bf59c547c449252f8cd31ca7300f565 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH2/EX2.7/Ex2_7.sce | 7055758c54fbfadbcca50b8c5317c62031faee34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,248 | sce | Ex2_7.sce | // Example 2_7
clc;funcprot(0);
// Given data
T=500+273;// K
rho=24;// The density in kg/m^3
R=0.462;// kJ/kg.K
v=1/rho;// m^3/kg
// Calculation
// (a)
P=rho*R*T;// kPa
printf("\n(a)Using the ideal gas equation,The pressure of steam(P)=%4.0f kPa.",P);
// (b)
// Using values for a and b from Table B-8,the ... |
63c4394f8201407967bcf8f8ddf10a94fae12dd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH4/EX4.2.1/EX4_2_1.sce | c76cef1a9c6e01789122eebc7a69c6af15a8e5f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,358 | sce | EX4_2_1.sce | //Example No. 4.2.1
clc;
clear;
close;
format('v',7);
l=5;//cm(length of antenna)
f=100;//MHz(operating frequency)
Io=120;//mA(Terminal current)
t=1;//s(time)
theta=45;//degree(Angle)
r=3;//m(radius)
c=3*10^8;//m/s////Speed of light
omega=2*%pi*f*10^6;//rad/sec(rotation)
k=omega/c;//rad/m(Phase constant)
... |
306431a2c4883b46700c25750e01b5072470ecf6 | 1d7b0d2d2e1b23faa4bf321453d437f21afd5fe5 | /lab 6 - Sampling/scilab6_q1_sampling.sce | f2eabdbdffd39660c62a559479b09983ea9583a3 | [] | no_license | aaryashah11/60002190003_SciLab | 2847a459a8a90ef07f4f17d8f18bb1be39a6c574 | 9ca078e5a8790fd0b1dea8320687e68c976a1efc | refs/heads/main | 2023-01-19T05:53:02.417751 | 2020-11-25T07:55:15 | 2020-11-25T07:55:15 | 315,696,665 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | scilab6_q1_sampling.sce | clc ;
n=0:1:25;
fs=0.02;
T=1/fs;
t=n*T;
x = cos(2* %pi *0.02*(n/fs) ) ;
plot2d3(n ,x) ;
figure;
n=0:1:25;
fs=0.04;
T=1/fs;
t=n*T;
x = cos(2* %pi *0.02*(n/fs) ) ;
plot2d3(n ,x) ;
figure;
n=0:1:25;
fs=0.4;
T=1/fs;
t=n*T;
x = cos(2* %pi *0.02*(n/fs) ) ;
plot2d3(n ,x) ;
figure;
|
7a5cbdc1fe0888694e9f77941ebfaeac430e47d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.8.a/data7_8.sci | 1d39288b628e998fd56452a98b96366f568d3373 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | data7_8.sci |
//(Threaded Joints) Example 7.8
//Refer Fig.7.23 on page 239
//Number of bolts N
N = 2
//Permissible tensile stress in the bolts sigmaMax (N/mm2)
sigmaMax = 75
//Load acting on the bracket P (kN)
P = 20
//Eccentricity value e (mm)
e = 550
//Distance of bolt1 from the C l1 (mm)
l1 = 450
//Distance of bolt2... |
6a1d60f24d01f512b4a2ce1ce790baa2c4390017 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH21/EX21.5/Ex21_5.sce | b98e178fcfcc9b1f5985332d24028a565ba82301 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | Ex21_5.sce | //Example 21.5
clc;
V_max=150//in V
V_rms=(V_max)/sqrt(2)
I_max=.255//in ohm
I_rms=I_max/sqrt(2)
cos=.426
P=V_rms*I_rms*cos
disp(V_rms,"Voltage in V=")
disp(I_rms,"Current in Amps=")
disp(P,"Power in watt=")
|
e79dcdc71a24f1f8ad3d77f5e35c9d65f3238491 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH11/EX11.12/example11_12.sce | b5ef70cf0aaba59cc706ec6868e921d91b37203e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | example11_12.sce | //Chapter 11
//Example 11_12
//Page 282
clear;clc;
d_in=2;
d_out=8;
e1=5;
e2=4;
e3=3;
g_max=40;
d1=e1*d_in/e2;
d2=e1*d_in/e3;
printf("GRADED CABLE: \n");
printf("d1 = %.2f cm \n", d1);
printf("d2 = %.2f cm \n", d2);
v=g_max/2*(d_in*log(d1/d_in)+d1*log(d2/d1)+d2*log(d_out/d2));
sv=v/sqrt(2);
printf("Permissible pe... |
4a71dd047ce8471e60ead4f55290bb6583e5a01e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH6/EX6.13/Ex6_13.sci | 71b989efcfad1be88a579a01970a19a1c59a40ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,167 | sci | Ex6_13.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 6.13
clc;
clear;
s=poly(0,'s')
//given tranfer function g(s)=100/(s+1)*(s+2)*(s+10)
h=syslin('c',100/(s+1)*(s+2)*(s+10))
pm=45//given phase margin
w=4//given gain cro... |
2f160f7a3f8c836d483e61aff30001e26dc406ef | e4678000832d299b2f62fd1a09d7a5627b312b1d | /elk.tst | 25572b1bb52d40db9b6045dac7f1b9a21704e7b6 | [] | no_license | vengatc/Notes | e88c621deee3c3c4a3893d0ad58d8d6911829f89 | e603951a99af8a2f7c3ea64f5662dcda50f31d88 | refs/heads/master | 2021-09-24T09:54:25.646343 | 2021-09-21T05:06:54 | 2021-09-21T05:06:54 | 147,392,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | tst | elk.tst | /elasticsearch
/kibana
/filebeat
logstash -f config/logstash.conf
|
7cc768179f1713ca03693d2b080caf977569be9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH12/EX12.4/12_4.sce | 8be082ed90c67cc466979525acc2a56cf4dbf2c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | 12_4.sce | clc
//initialisation of variables
r2= 0.0078 //lb water /lb dry air
r1= 0.0032 //lb water /lb dry air
h2= 25.33 //Btu/lb
h1= 12.9 //Btu/lb
pg= 0.1217 //psia
p= 14.7 //psia
h3= 13 //Btu/lb
n= 60
t2=70
t1=40
cpa=0.240
R2= 0.00788 //lb/lb of dry sir
w1= 0.00477 //lb/lb of dry sir
//CALCULATIONS
disp('Metho... |
291c7cd9d87d58fda388f56c19be7a4e4bdb7964 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH2/EX2.4.1/2_4_1.sce | 74c3e21294cb172a46f4e96d4ad501845406f9db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 882 | sce | 2_4_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 2
//Example 2.4-1
//Principles of Momentum Transfer and Overall Balances
//given data
dely=0.5;//dist between 2 plates in cm
delv=10;//vel diff along z in cm/s
mu=0.0177//viscosity in CP
//a) after integrating shear stress(tao)= mu*(delv)/dely
t... |
e06bf833704f579f9c63dde7330c572d326aa174 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.1/Example_5_1.sce | a4b1eea3a549b702151ea2a1a5265f5c6a8e9829 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 932 | sce | Example_5_1.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 1
clear;
clc;
//Given:
u1 = 1; //entering velocity of water (m/s)
d_ent = 0.2; //entrance diameter of reducer (m)
d_exit = 0.1; //exit diameter of reducer (m)
P_ent = 105; //pres... |
03e9f59f124e8db34b5722e4b26d142261b364bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH4/EX4.3/ex4_3.sce | 0a84ccc6906793f29771bb16755503b5151c8667 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | ex4_3.sce | //Page Number: 194
//Example 4.3
clc;
//Given
c=3D+8; //m/s
a=2.286;//cm
a1=a/100;//m
b=1.024;//cm
b1=b/100;//m
f=10D+9;//hz
sig=6D+7;
u=4D-7*%pi;
w=2*%pi*f;
eet=377;
//Shortest cavity length
lamc=2*a1;//m
fc=c/lamc;//hz
lam=c/f;//m
lamg=lam/sqrt(1-(fc/f)^2);//m
sc=lamg/2;//m
disp('cm',sc*100,'Sho... |
9621464e7085f2d098b121e8adb6411da80e55e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH4/EX4.9/Ex4_9.sce | 35ecdb9a3d975289acf0640f37bdec1cf9a82f3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ex4_9.sce | // Example 4.9
clc;
clear;
close;
format('v',6);
// Given data
R= 40;// in kΩ
R= R*10^3;// in Ω
C= 0.2;// in µF
C= C*10^-6;// in F
Vin= 5;// in V
V1= 3;// in V
t= 50;// in ms
Vout= 3;// in V
t=[0:0.1:50];
vout= -1/(R*C)*integrate('(Vin-V1)','t',0,t)*10^-3+Vout;//in V
plot(t,vout);
title("Sketch of outp... |
a68a7ae5c82459194d3cc44a7c39d0f7fe896186 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/plotacf.sci | a36f8cafff5affa3144ebccd48e5d75e44d3ca96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,037 | sci | plotacf.sci | // Procedure to plot the ACF, as discussed in Sec. 6.4.3. An example usage is given in 6.5.
// 6.6
// PLOTACF: Plots normalized autocorrelation function
//
// USAGE:: [acf]=plotacf(x,errlim,len,print_code)
//
// WHERE:: acf = autocorrelation values
// x = time series data
// errlim > 0; error limit = 2/sqrt(d... |
4493af9d582d7aa649d28edcc0f3b47d0c765cd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH5/EX5.5/5_5.sce | 395114163a8d2c5e2687151e7a57db6fabe4a001 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | 5_5.sce | clc;
disp("Example 5.5")
// WE need to calculate the integral of the manipulated expression in terms of y/delta
int= integrate('2*y-(5*y*y)+(4*y*y*y)-(y*y*y*y)','y',2,1)
disp(int, "Momentum thickness is ")
|
3b6ca22f703692bae47d77b056a4978e00589e91 | b2675f983fedb79e5e6f1940962373bda0570ec4 | /Example_JSON_Scripting.tst | be2081228c0b603d4e0b9dc20e3cd293f58fa0a7 | [] | no_license | Meena92/Projects | b854c40b91515bb429c9e13fb0cbc95c03e0a9d6 | 06361e24bf51883ff4140db5c37c3f40836a5752 | refs/heads/master | 2020-03-29T01:45:03.726432 | 2019-06-11T05:26:08 | 2019-06-11T05:26:08 | 149,404,524 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,380 | tst | Example_JSON_Scripting.tst | <?xml version="1.0" ?>
<TestCase name="Example_JSON_Scripting" version="5">
<meta>
<create version="10.1.0" buildNumber="10.1.0.283" author="admin" date="08/31/2017" host="NESJO02" />
<lastEdited version="10.1.0" buildNumber="10.1.0.283" author="admin" date="08/31/2017" host="NESJO02" />
</meta>
<id>BBF0F2D98E... |
0d656051e47e306219eae0d0b2adc2739f3e037b | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH28/EX28.2/example28_2.sce | f9b07d9a8255c335eeb7b29b863b53e632d2dd68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | example28_2.sce | p=60;
v=120;
f=60;
disp("Part a");
r=v^2/p;
disp("the normal hot resistance (in Ω) is"); disp(r);
disp("Part b");
vrms=v/sqrt(2);
disp("the r.m.s. voltage (in V) is"); disp(vrms);
disp("Part c");
v1=85;
r1=r*v1/v;
disp("the resistance (in Ω) of the lamp is"); disp(r1);
disp("Part d");
prms=vrms^2/r1;
dis... |
6faddccddbf1d2ebc84f6bc3d96e2e59676e83af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH4/EX4.21/Ex4_21.sce | 9e4202ac87787ef534fc3a128ca132335548b9ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | Ex4_21.sce | clc
v = 6 // cutting speed in m/min
n = 5 // number of cuts
D = 44 // diameter in mm
N = (1000*v)/(%pi*D) // r.p.m
f = 0.5 // feed in cm
l = 8.9 // length of cut in cm
Tm = (l*n)/(f*N) // time in min
printf("\n Time to cut the threads = %0.2f min" , Tm)
// Answers vary due to round off error
|
4259706cc7f715401eec509c3776791baadb7e6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH3/EX3.15/Ch03Ex15.sce | dabf43ca99fdcba884a530f5898aa6e2ad367ac9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | Ch03Ex15.sce | // Scilab Code Ex3.15: Page-94 (2006)
clc; clear;
T_M = 1356; // Melting temperature of Cu, K
V = 7.114; // Atomic volume of Cu, cm cube per g-atom
M = 63.5; // atomic weight of Cu, g/mole
K = 138.5; // Lindemann constant
theta_M = K*(T_M/M)^(1/2)*(1/V)^(1/3); // Debye temperature by Lindemann... |
734118e5b8981b1b42d1be88c9656423b4c5838e | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH1/EX1.5/1_5.sci | 9b9b68e178f4903d6c24b5e2e3580b5573b44474 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 1_5.sci | clc();
clear;
//To determine the frequency of ultrasonic waves
Y=77*(10^10); //Youngs modulus for quartz in dyne/cm^2
rho=2.6; //density of quartz in g/cm^3
t=0.4; //thickness in cm
f=((1/(2*t))*sqrt(Y/rho))*10^-... |
b165d6dd826d01c5b8c07ed89c95b6130b7b5347 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.28/Ex4_28.sce | db8bcfea49713132ca96077721c40cb7b3dfeb63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_28.sce |
4.28//voltage across R$C
C=15e-6;//farad..
R=100;//ohms
V=100;//volts
f=50;//hertz
Xc=1/(2*%pi*f*C);
Z=sqrt(R^2+(Xc^2));
I=V/Z;
coso=R/Z;
sino=R/Z
o=acosd(coso);
o=asind(sino)
Vr=I*R;
Vc=I*Xc;
AP=V*I*coso
RP=V*I*sino
APP=V*I;
disp('The time equation of current i = (0.426)1.414sin(314t-64.34)' , 'A... |
3d750dc261dc3dcf189323f0f7cdae919850dc66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH10/EX10.9/Example10_9.sce | a54e38c5f91f5812a727ed5cd5c7bd8e72ff747e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,192 | sce | Example10_9.sce | clear;
clc;
// Illustration 10.9
// Page: 551
printf('Illustration 10.9 - Page: 551\n\n');
// solution
//****Data****//
B = 20000;// [kg/h]
//******//
// x and y are taken in weight fraction acetic acid.
x1 = 0.30;// [Wt fraction]
xF = 0.30;// [Wt fraction]
y2 = 0;// [Wt fraction]
x2 = 0.02;// [W... |
6922e44ffc17c23b664b0f6ca02921d6ec326fcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH7/EX7.5/example75.sce | 46d3707d6495f3270b389a5d60411dee9850b185 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | example75.sce | //Example 7.5
clc;
syms Wo n z;
x1=exp(sqrt(-1)*Wo*n);
X1=symsum(x1*(z^-n),n,0,%inf);
x2=exp(-sqrt(-1)*Wo*n);
X2=symsum(x2*(z^-n),n,0,%inf);
X=(X1+X2)/2;
disp(X,'X(z)='); |
31a3bc9be4823558c161002e908c7f63f3584ecd | 207c864c3f938783d617dca78232e70445ae21e6 | /Ch11_I.sce | 2ef07751a23b41fb918968c1e1bfa931367dbc3e | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | Ch11_I.sce | /* Sa se calculeze derivatele functiilor in punctul indicat:
f(x)=x-2cos x x0=1
*/
deff('y=f(x)','y=x-2.*cos(x)')
numderivative(f,1)
[d1,d2]=numderivative(f,1)
|
7d25a2406844d99596fa56eb7610bc3655254d56 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/util/g_round.sci | 4921d3981c239a072641075ce9258c6edf1e38b7 | [
"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 | 68 | sci | g_round.sci | function sp=g_round(a)
[ij,v,mn]=spget(a)
sp=sparse(ij,round(v),mn)
|
c13823bacc8c103e839acf01f9e479188c119ba1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/842.sci | 9ed6dc5e8e858d42f4922fd4486e5e37c41a49c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sci | 842.sci | deltaHv=28.85 //Kj/mol at 69 C
T1=25 //C
T2=69 //C
Cp=0.2163 //Kj/mol C
V=1 //L
P=7 //bar
D=0.659 //KG/L
M=86.17 //Kg
ndot=100 //mol/h
T3=300 //C |
8adcbe8c6401cd3b5c9b302613ef587b495ef9b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH3/EX3.1/ex_3_1.sce | 8e0a214147514512506cabee0782d2f58be423c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_3_1.sce | //Example 3.1 // range of propagation constants and maximum no. of modes
clc;
clear;
close;
format('v',9)
n1=1.5;//core refractive index
n2=1.49;//cladding refrative index
t=9.83;//thickness of guided layer in micro meter
h=0.85;//wavelength in µm
b1=((2*%pi*n1)/(h*10^-6));//phase propagation constant in m^-1
b2=((2*%p... |
1857682f5d8b0863233d6feed9820f9f0467a24b | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH4/EX4.9/Example4_9.sce | f842354daac33bd8ccb1cb61c8ec9a73e6a2acbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | Example4_9.sce | //clear//
//Example 4.9:Continuous Time Fourier Transform Properties:
//Linearity and Time Shift Property
clear;
clc;
close;
// CTFT
t1 = -1/2:0.1:1/2;
t2 = -3/2:0.1:3/2;
x1 = ones(1,length(t1));
x2 = ones(1,length(t2));
t3 = t1+2.5;
t4 = t2+2.5;
x1 = (1/2)*x1;
x = [x2(1:floor(length(x2)/3)),x1+x2(ceil(l... |
1effcef35d2f01dbfdf8ab6da5ad66496b537e5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH14/EX14.25/Ex14_25.sce | a3404c0bd445bfc6dd333f94c160e3a598ca6737 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | Ex14_25.sce | // Initilization of variables
P=30 // N // weight on pulley A
Q=20 // N // weight on pulley B
R=10 // N // weight on puey B
g=9.81 // m/s^2 // acc due to gravity
// Calculations
// Solving eqn's 6 & 7 using matrix for a & a_1, we get
A=[70 -40;-10 30]
B=[10;-10]
C=inv(A)*B
// Acceleration of P is given as,
P... |
eaf771889f0c1c8847ef5ed4cc7bbea2e0eff8ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH13/EX13.3/C13P3.sce | 4548c190b786ed283dc9d2f102bde3a09d8f90d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | C13P3.sce |
clear
clc
//to find speed of center of mass
//to find change in stored internal energy
// GIVEN:
//refer to figure 13-5 on page no. 285
//mass of ice skater
M = 50//in Kg
//force exerted
F = 55//in N
//distance moved by center of mass
scm = 32e-2//in m
// SOLUTION:
//consider newton's third law and ... |
5d362ce94c3563d51ac8be961b4351177e288ce7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH10/EX10.5/Example10_5.sce | df0e4290e91511b306eb90a24decb495c5b7f7bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 681 | sce | Example10_5.sce | //Example 10.5
clear;
clc;
Vclamp=5;
VT=10;
VDon=0.7;
Vz5=Vclamp-(2*VDon);
Rrat=Vclamp/VT;
R1=20*10^3;
R2=R1*Rrat;
f0min=10;
f0max=10*10^3;
f0range=f0max/f0min;
Rpot=2.5*10^6;
Rs=Rpot/f0range;
Rmin=Rs;
C=(R2/R1)/(4*Rmin*f0max);
IRmax=Vclamp/Rmin;
IR2max=Vclamp/R2;
... |
39b815f013717fcbecfeb8657107bbd10c2b57b9 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/comment/0063.tst | 9825ac378aed4d855b2677fef70adf51613be44c | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9 | tst | 0063.tst | ;8f9@[i
|
bdbbff7b90795c4a7ad70d168fc7496111de99e2 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/misc/comp_form.sci | 7fc3d573ed3dc2bdc44cfb8ee7111973a3a23c64 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sci | comp_form.sci | function [Contr]=comp_form(A,B,C,D,Ts,K)
// Create the compact form of the Observer ABCD and the
// gain K,
//
// A,B,C,D: Observer matrices
// Ts: sampling time
// K: state feedback gains
Bu=B(:,1);
By=B(:,2:$);
Du=D(:,1);
Dy=D(:,2:$);
X=inv(1+K*Du);
Ac=A-Bu*X*K*C;
Bc=[Bu*X,By-Bu*X*K*Dy]
Cc=-X*K*C;
Dc=[X,-X*K*Dy]
... |
266c03b5910e5fb6598ebacecd226ef8eb46f991 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.7/Ex5_7.sce | e2885ed6dfa6e91467d2726b5c76ced10d74d011 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | Ex5_7.sce | //==========================================================================
//chapter 5 example 7
clc;clear all;
//variable declaration
R = 50; //resistance of the magnetic coil in Ω
Rt = 500; //resistance in Ω
L = 0.09; //inductance of the voltmeter in H
//calculatio... |
88ce2a0b69e2966cabc785316aa72f227c0aef7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH21/EX21.9/Ex21_9.sce | b4ffd2f6e4022a649ba36d63cc4979484cb71abd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,028 | sce | Ex21_9.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 21.9
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
//Since the peak reflectivity of fiber is 0.85,
R=0.85;//Reflection coefficient of fiber
L=1e-2;//Length of interaction in m
lambda0=1.55e-6;... |
02458343d714985a720c553ca95c1e76d4e8c2c7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/robust/leqr.sci | 1549bd6a71eea9d3eb677ca3faa6a098420289e2 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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,060 | sci | leqr.sci | function [K,X,err]=leqr(P12,Vx)
//H-infinity lqr gain for full-state LQ problem
//(discrete or continuous)
// discrete continuous
// |I -Vx 0| | A 0 B| |I 0 0| | A Vx B |
// z|0 A' 0| - |-C'C I -S| s|0 I 0| - |-C'C -A' -S |
... |
950a88f4efd253faf5f8cd3e28835e46c0009c87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH25/EX25.14/25_14.sce | 66b236d3700fac0a0ba733c41dc6c34a4d5608d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | 25_14.sce | clc;
clear;
function yp=f(x,y)
yp=10*exp(-(x-2)^2/(2*(0.075^2)))-0.6*y
endfunction
x=0:0.1:4
y0=0.5;
sol=ode(y0,0,x,f);
plot(x,sol)
xtitle("y vs x","x","y")
|
71f506190bb8a1154d4b8f8fb91706cde1df1e15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH2/EX2.23/Ex_2_23.sce | 27d199af6bc2f448c0555160007f9212958d0b2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Ex_2_23.sce | // Exa 2.23
clc;
clear;
close;
// Given data
I_D= 1;// in mA
I_D= I_D*10^-3;// in A
gm= 1;//in mA/V
gm= gm*10^-3;//in A/V
f_L= 10;// in Hz
R_S= 6;// in kΩ
R_S= R_S*10^3;// in Ω
R_D= 10;// in kΩ
R_D= R_D*10^3;// in Ω
vo_by_vi= -gm*R_D/(1+gm*R_S);// in V/V
disp(vo_by_vi,"Mid band gain in V/V is : ");
//... |
4640904b7e3e4067c873cbbe4c91c3b341090493 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH4/EX4.2/2.sce | 37e770be645b5ff54c3988cdc56f9109a397f013 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | 2.sce |
//Variable declaration
e=1.6*10**-19;
m=9.1*10**-31; //mass(kg)
h=6.626*10**-34; //planck's constant
lamda=1.66*10**-10; //wavelength(m)
//Calculation
v=h/(m*lamda); //velocity(m/s)
E=h**2/(2*m*e*lamda**2); //kinetic energy(eV)
//Result
printf('velocity is %0.3f *10**4 m/s \n',(v/10*... |
e493b3e418e3e5eebbde84dcfba936a037bf0d03 | c364a4a4362d5f4ba6c3b5af605b8938c1dafa8b | /订单数据修复/订单审批状态重推.tst | 0df245cc463d961d66965d591e8156af91ce45c1 | [] | no_license | foliage11111/times-srm-sql | 9a36a3320d930e37bf56fce8294da5a18cd98813 | dd1abb497820a6b1a1f179cc1b523cc2f6eb59e1 | refs/heads/master | 2020-03-27T05:51:32.884905 | 2018-08-23T16:14:08 | 2018-08-23T16:14:08 | 146,057,767 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,721 | tst | 订单审批状态重推.tst | PL/SQL Developer Test script 3.0
56
Declare
--l_Po_Header_Id Number := &PO_header_id;
l_Authorization_Status Varchar2(50);
l_Return_Status Varchar2(50);
l_Exception_Msg Varchar2(2000);
l_Po_Header_Id Number ;
l_Po_segment Varchar2(50) := '2018001054'; ... |
559118aa7529f5da06651b54e6330e07b56120c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH9/EX9.6/example9_6.sce | 2b0b550d842a59e7077cf17e3b48476b239eb509 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 842 | sce | example9_6.sce | c=2;
v=1.5;
r=0.1;
i=0.1;
disp("Part a");
vt1=6*v;
disp("the terminal voltage (in V) is"); disp(vt1);
disp("the current capabilty (in A) is"); disp(i);
r1=6*r;
disp("the internal resistance (in Ω) is"); disp(r1);
disp("the ampere-hour capacity is"); disp(c);
disp("Part b");
disp("the termnal voltage (in V) ... |
b924dc4a4ac54a792a9882cb289d30e843af2f2a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH7/EX7.11/ex7_11.sce | 2b14ca62346bdd9dd85df2da424f8e578e8ed68a | [] | 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 | 158 | sce | ex7_11.sce | errcatch(-1,"stop");mode(2);//Example 7.11, page no-442
i1=250
i2=350
m=(i2-i1)*100/i1
printf("%% increase in moisture content = %d%%",m)
exit();
|
fe2e1350af52a993440995caae860dca12d0d043 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH8/EX8.3/8_3.sce | 5f6f00c7410d1c3a9a49053795e1bd55fd565ca0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,295 | sce | 8_3.sce | clc
clear
//Input data
P1=12;//Inlet pressure of steam nozzle in bar
T1=250;//Inlet temperature of steam nozzle in degrees celcius
P2=2;//Final pressure of the steam nozzle in bar
n=1.3;//Polytropic constant for superheated steam
St=6.831;//For isentropic expansion, entropy remains constant in kJ/kg
h1=2935.4//... |
a6a3f26fc6d74d68cafa1e25133f030a16c79ab1 | 4d05c7f7559264f205dc6abda9e49aca7d7057ac | /Nand2Tetris/11_compiler_II/test2/test2.tst | df30ed4cbd36ac487eef5f83fa564e05a380d9be | [] | no_license | daniellevin233/Python_projects | 22cc1a4a194d0b5253d06f9596d21f07bc5e44fb | 7f9eba191d0ad656b0b55421f2054efa2a1177cf | refs/heads/master | 2023-01-14T05:29:33.591746 | 2020-11-20T13:36:40 | 2020-11-20T13:36:40 | 298,377,620 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | tst | test2.tst | load,
output-file test2.out,
compare-to test2.cmp,
output-list RAM[5002]%D1.6.1 RAM[5004]%D1.6.1 RAM[5006]%D1.6.1 RAM[5008]%D1.6.1 RAM[5010]%D1.6.1;
repeat 1000000 {
vmstep;
}
output;
|
b0a89e02d2b193f549627e85f82821bd59471489 | 178822612bcd418dc12ba7a649304a24ab618d60 | /Numerical Analysis/El Hadji NGOM projet Scilab(Amélioré)/Projet 1 Méthodes directes et iteratives/Jacobi.sci | 992d8454e99da8a80764c081ec51d1d69cad03fe | [] | no_license | engom/Math_Problem_Solving | b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3 | 6538c476681ae4ee803ea9b3a8944c5f370e1961 | refs/heads/master | 2022-05-25T01:13:16.123161 | 2016-02-13T11:32:28 | 2016-02-13T11:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sci | Jacobi.sci | A = [1 2 -2;1 1 1;2 2 1]
b = [1;-2;3]
tol = 10^-8
x0=zeros(b)
iterMax = 100
function[x,iter]=Jacobi(A,b,tol,iterMax,x0)
n=size(A,'c')
r=norm(A*x0-b)
iter=0
while (r>tol & iter<iterMax)
iter=iter+1
x=x0
for i=1:n
s=0
for j=1:n-1
s=s+A(i,j)... |
cb6bdce765736f0cfea7cdafdc80aabfcab30165 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH7/EX7.9/7_9.sce | 42b0db143d1612673258ab62e6a7d40e52a59333 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_9.sce | // example:-7.9,page no.-376.
// program to derive an expression for the change in resonant frequency.
syms Ey Hx Hz A Zte n a pi x z d j eo c wo w b l ro;
Ey=A*sin((pi*x)/a)*sin((pi*z)/d);
Hx=((-j*A)/Zte)*sin((pi*x)/a)*cos((pi*z)/d);
Hz=((j*pi*A)/(k*n*a))*cos((pi*x)/a)*sin((pi*z)/d);
Ey=A;// at x=a/2,y,z=d/2;
H... |
cf4dbdb9b5644a8cf1b390be3f3604ae83ac238a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH9/EX9.15/Ex9_15.sce | eaa113d5f4efe0beafbafd711895341252158c1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | Ex9_15.sce | //Example number 9.15, Page number 209
clc;clear;
close;
//Variable declaration
I=3*10**-3; //current(A)
RH=3.66*10**-4; //hall coefficient(m**3/C)
e=1.6*10**-19; //charge(c)
d=2*10**-2;
z=1*10**-3;
B=1; //magnetic field(wb/m**2)
//Calculation
w=d*z; //width(m**2)
A=w; //area(m**2)
EH=RH*I*B/... |
fd1c3993b30e19a535bb0d2fc5f4eddf9b141564 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH23/EX23.2/Example2.sce | 27a705be58cff86ea87be69070d13e9991868ab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,262 | sce | Example2.sce | clear
flag=1
mode(-1)
clc
printf("Example 2 : Show the method of reversing a file using lseek \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs are part of systems programming in Unix and the ... |
4ed98f1f35732adbc43e7dd02e9e41b2736dd672 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH5/EX5.2.2/5_2_2.sce | 95557fad0e0efdd3e29fd87738031c63ddf830bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,594 | sce | 5_2_2.sce |
//CHAPTER NO.-5
//Example No.5-2-2 , Page No.-215
//(a) Program_to_compute_the_built-in voltage_in_the p-GaAs_side
Na=6*(10^16); //Acceptor_density_in_p-GaAs_side
w02=-26*(10^-3)*log(Na/(1.8*(10^6))); ... |
3c91162c1cfb5cdfa32731185268e848caf589b5 | 0921fa47b8952581116ff38b7fd5f91e633e3726 | /Modelisation_Et_Architecture/Architecture/TP1/fulladder.tst | e1e0812c3fdff804515c755b42ab0a6e5d48f8f9 | [] | no_license | Noa-Cazes/1A | cbc8cb5f5a37ee96eabe3e088ad3e654fdd7b61b | 35091072651d2760b6fb35a2d81b947cd42d9161 | refs/heads/master | 2023-02-12T06:07:51.275766 | 2021-01-06T21:01:37 | 2021-01-06T21:01:37 | 327,429,868 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | tst | fulladder.tst | // 0 + 0 + 0 -> 0, 0
set a 0
set b 0
set cin 0
check s 0
check cout 0
// 0 + 0 + 1 -> 1, 0
set a 0
set b 0
set cin 1
check s 1
check cout 0
// 0 + 1 + 0 -> 1, 0
set a 0
set b 1
set cin 0
check s 1
check cout 0
// 0 + 1 + 1 -> 0, 1
set a 0
set b 1
set cin 1
check s 0
check cout 1
// 1 + 0... |
963e4579c4bc3a4376c614030c7e587de4c4efe6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.54/Ex1_54.sce | 373e556a09e3661295d3febe262b8045ad722ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | Ex1_54.sce | clear
//
//
//
//Variable declaration
R=70 //radius of curvature of lens(cm)
n=10
Dn=0.433 //diameter of 10th dark ring(cm)
//Calculation
lamda=Dn**2/(4*R*n) //wavelength of light(cm)
//Result
printf("\n wavelength of light is %0.3f *10**-5 cm",lamda*10**5)
printf("\n answer given in the... |
6530e8a3144e26206cbca9cbbd3eb9cccd7145d2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/ltitr.man.tst | 4cf7444b0d6b1334dbbcb03ae356f383b8511e3b | [
"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 | 133 | tst | ltitr.man.tst | clear;lines(0);
A=eye(2,2);B=[1;1];
x0=[-1;-2];
u=[1,2,3,4,5];
x=ltitr(A,B,u,x0)
x1=A*x0+B*u(1)
x2=A*x1+B*u(2)
x3=A*x2+B*u(3) //....
|
8f006d5460bac2bf464eb8a0065df940d8d32567 | 9b3a82b71b55170a9d272048e2f4dc6858ff106c | /control-system/response_stability.sce | 3052072802caea722365897435b8928f3e365155 | [] | no_license | omrastogi/Digital-Signal-Processing | afcee58a1decbd9949e0bfcda47b62bbf19c935f | 68b4f85ec5b9dbf7840a0857ee388f9d660bbb2e | refs/heads/main | 2023-01-03T13:54:45.554127 | 2020-11-02T05:40:13 | 2020-11-02T05:40:13 | 309,267,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | response_stability.sce | clc;
clf;
clear all;
t=0:0.01:5;
s1=exp(-t);
s2=exp(t);
subplot(2,1,1);
plot(s1);
xlabel("time");
ylabel("amplitude");
title("plot by Om");
subplot(2,1,2);
plot(s2);
xlabel("time");
ylabel("amplitude");
title("plot by Om");
|
e148086262867520f09e44afe5da240a31fd058e | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH10/EX10.3c/eg10_3c.sce | 1252a81251cfc229c033231fa99da119742d664f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 851 | sce | eg10_3c.sce | Xij = [3.2 3.4 3.3 3.5; 3.4 3.0 3.7 3.3; 2.8 2.6 3.0 2.7];
Xi = zeros(3,1);
n= 4;
m=3;
for i=1:3
for j=1:4
Xi(i)= Xi(i) + Xij(i,j);
end
end
Xi = Xi/n;
SSW= 0;
for i=1:3
for j= 1:4
SSW = SSW + ((Xij(i,j)-Xi(i))^2)
end
end
sigma1 = SSW/((n*m)-m);
Xdotdot = sum(Xi)/m;
new ... |
ec1bea3981b56054ea4b31977968d668ff383668 | fd4b1f9f2f7fc4cac772482125a749e51c444ca1 | /Metodos de aproximacion de raices.sci | 392100ed998d45dbc3900bc2bd3719fe37ea2302 | [] | no_license | barufa/Metodos_Numericos | db0cb98dbf81654ec14f73cb34b84ba7c98ac52a | 012d08e8de6e971a38a32c9768f463ca58a07839 | refs/heads/master | 2020-03-15T22:49:33.054047 | 2018-09-03T13:18:24 | 2018-09-03T13:18:24 | 132,380,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,563 | sci | Metodos de aproximacion de raices.sci | function y = biseccion(ff,a,b,d,e,m)
deff("y=f(x)","y="+ff)
m=m-1
if f(a)*f(b) < 0 then
c = (b+a)/2
if (b-a)<d | abs(f(c)) < e | m <= 0 | f(c) == 0 then
y = c
else
if f(a)*f(c) < 0 then
y = biseccion(ff,a,c,d,e,m-1)
else
... |
845f8e762e130888ed54751d3ad618ea65325d5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.33/Ex34_33.sce | 16b7aad84744e060e41ad74b4c8ef052195aad0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex34_33.sce | // Example 34_33
clc;funcprot(0);
//Given data
P=210*10^3;// kW
CC=10000;// Rs./kW
//Calculation
CC=CC*P;// Capital cost of the plant in rupees
//(a)When the plant is operating at full load
F_l=1;// Load factor
Fc=CC*(13/100);// Fixed cost in rupees
Vc=Fc*1.3;// Variable cost in rupees
Tc=Fc+Vc;// Total co... |
7e64744a039b7ee5c0161e26db6771685169f1e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH3/EX3.3/ex_3_3.sce | c19dc2231f01bfb78e82ea4289d6d1e4fde367e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,163 | sce | ex_3_3.sce | //Example 3.3 // no. of modes
clc;
clear;
close;
format('v',10)
disp("part (a)")
n1=1.5;//core refractive index
n2=1.48;//cladding refrative index
t=10.11;//thickness of guided layer in micro meter
h=1.55;//wavelength in µm
b1=((2*%pi*n1)/(h*10^-6));//phase propagation constant in m^-1
b2=((2*%pi*n2)/(h*10^-6));//phase... |
335d59dd316e5e499619a035ecbe2d7264c144f5 | 899cecef18712265c22e100bf72286df1ec5fb65 | /Asgn3/Q4.sce | d8dfab7a1e7916cff3b024b813cd027a81f37fad | [] | no_license | ajaykumarkannan/Speech-Signal-Processing-and-Coding | 449679bef8bdf0215e96521163774f88d8a6b41e | c1d371b2866239a89312a0f64db3d61cc0b1011c | refs/heads/master | 2020-05-17T17:02:33.143586 | 2012-11-15T12:48:40 | 2012-11-15T12:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,822 | sce | Q4.sce | clear;
[y, Fs, bits] = wavread('Sound4.wav');
y = y(1,:); // Had recorded in stereo - Converting to mono
y = y./(abs(max(y))); // Normalizing the signal
N = Fs * 40 /1000; // 30ms block size
shift = Fs * 10 /1000;; // 10ms shift
ceps = zeros(N, (length(y)-N)/shift);
cepsl = zeros(N, (length(y)-N)... |
802d81e201d83535fde8b4adde9923bd50bb1b4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH25/EX25.23/25_23.sce | 1b2a5a25fa2537efb8ae96e745c5a887a1772edb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | 25_23.sce | //ques-25.23
//Calculating volume occupied by ideal gas equation and compressibility factor
clc
Z=0.2007;//compressibility factor
T=273;//temperature (in K)
P=101.325*10^5;//pressure (in N/m^2)
n=0.1;//moles of CO2
//Ideal Gas equation
V1=(n*8.314*T)/P;
//Compressibility factor
V2=(Z*n*8.314*T)/P;
printf("Th... |
96180fe75e0cae00e8d1a4bb806feffea2364c28 | b829a470efb851fdd8700559c2092711adaa42e0 | /Data/OVI-CV-03-Facenet/CV-Groups/cv-group-114528472704/OVI-Test/cv-group-114528472704-run-04.tst | 53a9f71f4f67e23bff0a78415096f669e5b2b333 | [] | no_license | achbogga/FaceRecognition | 6f9d50bd1f32f2eb7f23c7ae56f9e7b225d32325 | 165ebc7658228d2cceaee4619e129e248665c49a | refs/heads/master | 2021-07-04T21:47:57.252016 | 2017-08-01T18:53:12 | 2017-08-01T18:53:12 | 96,568,452 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | tst | cv-group-114528472704-run-04.tst | Huiping\Huiping_013.jpg
Huiping\Huiping_015.jpg
Don\Don_012.jpg
Don\Don_002.jpg
Shirley\Shirley_009.jpg
Shirley\Shirley_003.jpg
Ahmad\Ahmad_011.jpg
Ahmad\Ahmad_012.jpg
Sima\Sima_009.jpg
Sima\Sima_011.jpg
SungChun\SungChun_010.jpg
SungChun\SungChun_017.jpg
Kiran\Kiran_012.jpg
Kiran\Kiran_016.jpg
Allison\Al... |
571f3adafc3ffbc942ba75421bc45f64acfd6091 | 8af93c9baa863fc851f1cef5b756230e59303aec | /Ex_9_8.sce | 92c91c132a5281925cee1a62f5b444384d9d91a5 | [
"MIT"
] | permissive | nikita9604/Page-Replacement-Algorithms | 9ad7e95de7cfbcdf4876d89516dcdab47d1c0a35 | eff739b749ddcdac9dd8181d96861f196beac3d4 | refs/heads/main | 2023-01-19T00:48:05.525482 | 2020-12-01T08:25:45 | 2020-12-01T08:25:45 | 317,469,859 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Ex_9_8.sce | //This Source file is written by Nikita Rath (18BLC1131)
clear;
exec("F:\APP MAIN\Scilab\Ex_9_8_lru.sci")
exec("F:\APP MAIN\Scilab\Ex_9_8_fifo.sci")
exec("F:\APP MAIN\Scilab\Ex_9_8_optimal.sci")
clc;
//MAIN: (Given Conditions)
printf("\n Given Page Reference String :\n \t")
n = 20
a = [1 2 3 4 2 1 5 6 2 1 2 ... |
32ff24f30b070f2dff1ddfc63498e5c8b77de116 | fbd17575bab2ee4dc49cc7d13b5b94d24ab9482c | /TP5/test.sci | 3c6ddb1e41a5fec607782f81640747ccdad8b27f | [] | no_license | 1saac-W/MT09-Analyse-Num-rique | 05b509981dfa00e3b7b550716b1487cbbf0a3fed | 0853f8053254f5dd23179073187ada3d936aff84 | refs/heads/master | 2020-09-27T04:34:36.549125 | 2020-01-05T16:02:18 | 2020-01-05T16:02:18 | 226,431,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sci | test.sci | exec './newton.sci';
exec './foncjaclap.sci'
tol = 1e-6;
N = 1000;
//on prend v initial (vi10 et vi20) avec tout les composants nulls
vi10 = zeros(9,1);
[v10, k10] = newton(foncjac_lap, tol, N, vi10);
vi20 = zeros(19,1);
[v20, k20] = newton(foncjac_lap, tol, N, vi20);
//v10 et v20 contient les resultat de chaque ite... |
bd33a2e87c934849a57bfcfcb6ce94385ffcf88e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/fftfilt/fftfilt2.sce | b752e87917d2eb732075719f2bd8f84ef4c09d14 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | fftfilt2.sce | //i/p arg n i.e the length of the fft is given
x=[1 2 3 4 5 6 7];
b=[0.1 2 3 4 0.12];
n=10;
y=fftfilt(b,x,n);
disp(y);
//output
//!--error 4
//Undefined variable: nfft
//at line 128 of function fftfilt called by :
//y=fftfilt(b,x,n);
|
b838d1fc5210a560ee8bb11574d0599551ecd43b | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH4/EX4.3/3.sce | 71b0a81faf2799851da3650c1a518c38a38616a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3.sce | clc;funcprot(0);
//Example 4.3
//Initializing the variables
vx= -poly(3,'x');
vy = 2*poly(-2,'x');
vz = -poly(2,'x');
//Calculations
delVx = derivat(vx);
delVy = derivat(vy);
delVz = derivat(vz);
result = derivat(vx)+derivat(vy)+derivat(vz); //requirement of continuity equation (result = 0)
disp("Satisfy require... |
6cd58a2da332bb18229a9bac14a246d3765e7c13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH3/EX3.5/Ex3_5.sce | c2bb5965ad0b3142936e61863b15772738414927 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | Ex3_5.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 3-Hydrostatic Forces on surfaces
// Problem 3.5
//Data given in the Problem
d=4
A=%pi/4*d
SG=0.87
dens=SG*1000
g=9.81
//Calculations
w=dens*g
p=19.6*10^4
p_head=p/w
//1)Force exerted
F=dens*g*4*%pi*p_head
mprintf("The ... |
236011c45031942f4d694383289fea729c936234 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH7/EX7.7/Ex7_7.sce | 0f0b951a5de37b6396b1021aa63923afd76390bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 846 | sce | Ex7_7.sce | clc
clear
//DATA GIVEN
IP=30; //indicted power in kW
BP=26; //Brake Power in kW
N=1000; //engine speed in R.P.M.
F=0.35; //fuel per brake power hour in kg/BP/h
C=43900; //calorific value of fuel used in kJ/k... |
6377e1f10df80889077fd8f7e9ff67509324d6af | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH6/EX6.1/ex1.sce | 51ac9515400985bccc3166fd6906f49dcd0336ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | ex1.sce | // Example 6.1: To find the operating point of NMOS transistor
// Consider NMOS transistor
// 6.1a
I_D=100*10^-6; // (A)
K_n=387*10^-6*10; // K_n=u_n*C_ox(W/L) (A/V^2)
V_th=0.48; // (V)
V_OV=sqrt(2*I_D/K_n);
disp(V_OV,"V_OV (V)")
V_GS=V_th+V_OV;
disp(V_GS,"V_GS (V)")
// 6.1b
I_C=100*10^-6; // (A)
I_S=6... |
5da2cd1e569811c026f4e16140e601f12cb88f20 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/pchip/pchip9.sce | 172050c493014245f248aac6895a1593549f6b90 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | pchip9.sce | //check o/p when no i/p args are given
v=pchip();
//output
// !--error 144
//Undefined operation for the given operands.
//check or define function %c_s_c for overloading.
//in execstr instruction called by :
//at line 37 of function diff called by :
//at line 40 of function pchip called b... |
a4154ff1104265cd1377252b94f2ad91c4aa85f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH16/EX16.9/ex16_9.sce | f7fb294391f4d9e8c70507d388ca2cef2002c59c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | ex16_9.sce | clc;
l=10^-4; //lambda in m
v=0.25; //velocity in m/sec
f=v/l; //calculating frequency
disp(f,"Frequency in Hz = "); //diplaying result |
e872ebb6ceebbf150846f23df7a2d61de54fb52d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH1/EX1.12/Ex1_12.sce | fe5bbf2204fb84b310ce07a74570ab5e24a8b15e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_12.sce | //exa 1.12
clc;clear;close;
format('v',5);
//Arranging data for Load Duration Curve
//week days 5-9pm load
L1=350;//MW
t1=4*5;//hours
//week days 8-12am & 1-5pm load
L2=250;//MW
t2=t1+8*5;//hours
//saturday & sunday 5-9pm load
L3=200;//MW
t3=t2+4*2;//hours
//All days 150MW load
L4=150;//MW
t4=t3+6*5+15*2... |
e0db6578edb92b6d023543d5e3bffa16343d552c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH7/EX7.8/Ex_7_8.sce | 1afda51ea5d989b59f53a399a36428df2c0af37c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | Ex_7_8.sce | //Example 7.8 // Maximum response time
clc;
clear;
close;
//given data :
Vd=3*10^4;// in m/s
W=30*10^-6;// in m
Bm=Vd/(2*%pi*W);
M=(1/Bm)*10^9;
disp(M,"Maximum response time,(ns) = ")
|
9171b1d2646dd05437d53082599590df11ddc2a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH10/EX10.12/example10_12.sce | 0bb1a88d3c88ee9323156b95a0967215e3afe8d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | example10_12.sce | //clc()
macid = 1000;//kg ( basis - dilute phosphoric acid )
Mphacid = 97.998;
P = 1.25;//% ( dilute % )
mphacid = macid * P /100;
Nphacid = mphacid / Mphacid;
//1mole of phosphoric acid - 1mole of trisodium phosphate
NTSP = Nphacid;
MTSP = 380.166;
mTSP = NTSP * MTSP;
disp("kg",mTSP,"(a)Maximum weight of TSP... |
78005bcb909465bf02c935126801c0770aa8f29a | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH14/EX14.14/Example14_14.sce | 9e54ed953b1fba2b127774216052eef96b64b173 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Example14_14.sce | //Voltage V, Armature resistance Ra, Field resistance Rf
//Armature current Ia, Line current Il, flux is reduced by phir
close();
clear;
clc;
V = 250;//V
Ra = 0.22;//ohm
Rf = 170;
N = 1200;//rpm
Ia = 3;//A
Il = 55;
phir = 0.06;
E_noload = V - Ia*Ra;
If = V/Rf;
E_fullload = V - (Il-If)*Ra;
nm_fullload = N... |
fe8ad338f697c203a02e66ef185a522287451e01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH3/EX3.1/3_1.sce | 4fbd5abc2ebe53b5a0e1a9d2d084290dc126f047 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_1.sce | // To determine the parameters of a balanced 3 phase star connected to a resistive load
clc;
clear;
V=208;
Vph=V/sqrt(3);
R=35;
// Star Conncected load has its line current = phase current
Ia=Vph/R;
Ib=Ia*(expm(%i*(-2*%pi/3)));
Ic=Ia*(expm(%i*(2*%pi/3)));
Pperphase= (abs(Ia)^2)*R;
Pt=3*Pperphase;... |
bca1cc9dfbd435f52647f66fd4e7a7b8ad98b131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH2/EX2.5/Ch02Ex5.sce | a96772f1743bc19c235636d4ae0b0afc89a94fe0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | Ch02Ex5.sce | // Scilab Code Ex2.5: Page:80 (2011)
clc;clear;
a = 0.003;....// Accuracy of the electron,in percent
s = 5e+03;....// Speed of the electron,in m/s
del_v = (a/100)*s;....// Change in velocity,in m/s
m0 = 9.1e-31;....// Rest mass of the electron,in kg
hcut = 1.054e-34;....// Plancks constant,J-s
del_x = hcut/(2*de... |
6d735496faec06d696b19537db2406a5a10d4691 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH5/EX5.2/Ex5_2.sce | a230873f2777bd3beece9356396981e7dac7217a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,207 | sce | Ex5_2.sce | //Ex 5.2
clc;clear;close;
format('v',7);
N1=480;//no. of turns in primary
N2=90;//no. of turns in secondary
lfp=1.8;//m(length of flux path)
ag=0.1;//mm(airgap)
Flux=1.1;//T(flux density)
MF=400;//A/m(Magnetic flux)
c_loss=1.7;//W/kg
f=50;//Hz
d=7800;//kg/m^3(density of core)
V=2200;//V(potential difference... |
4692add66a63994cedaccf031c45893f53087019 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.34/ex5_34.sce | 2401bc38be4250b75b7981b71e0cd0c9cc3ff43e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | ex5_34.sce | //Chapter-5, Example 5.34, Page 197
//=============================================================================
clc
clear
//INPUT DATA
R=20;//resistance in ohms
L=0.2;//inductance in H
C=100;//capacitance in uF
//resistance will be non-inductive only at reosnant frequency
//CALCULATIONS
fr=(1/(2*%pi*(sqr... |
0de8c4059241839674b059904866dcc28a836f3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH1/EX1.11/Ex1_11.sce | f555d7f6bc50dbd00f2122ca47673c10fb002c6a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | Ex1_11.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 1.11\n\n\n");
// Chapter 1: Fundamental Concepts
// Problem 1.11 (page no. 35)
// Solution
//Given
Patm=30.0 //in. //pressure of mercury at standard temperature
Vacuum=26.5 //in. //vaccum pressure
Pabs=Patm-Vacuum; //Absolute pressure of mercury //i... |
0cf39973d79d99bec0b467dd785c845beb948ed4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH21/EX14.21.19/Ex14_21_19.sce | c13f0b2a81cefbec86426f47b20e2665f5cca0fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | Ex14_21_19.sce | //Section-14,Example-6,Page no.-PC.32
//To calculate moles of ammonia.
clc;
P=20 //atm
V=7.0 //L
R=0.0821 //Latm/molK
T=373 //K
n=((P*V)/(R*T)) //mol
a=4.17 //L^2atm/mol^2
b=0.0371 ... |
fcb74120d28f2a87365df4b78e241df6ce2ebe4e | 126193a2cf6352c93a4bfd8f1de87484f6704a61 | /ann04.sce | 4972db2ec54ebf23caceb5c626c9849e24ca94a3 | [
"MIT"
] | permissive | edenlandpl/training-neuron-in-artificial-neural-newtorks | 33f86553afbfdf2f5de68dcf4f85c0db5fbb6ecb | ab842f0ad3edc72c37ba5d15b993f349781cfe86 | refs/heads/master | 2022-02-11T18:58:58.133425 | 2019-07-21T11:19:32 | 2019-07-21T11:19:32 | 198,047,207 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,591 | sce | ann04.sce | //---- perceptron trenowanie
//---- okreslenie par wektorow trenujacych
//---- dla podanej funkcji logicznej
A=ones(8,5);
A(1,2)=-1; A(1,3)=-1; A(1,4)=-1; A(1,5)=-1;
A(2,2)=-1; A(2,3)=-1; A(2,5)=-1;
A(3,2)=-1; A(3,4)=-1; A(3,5)=-1;
A(4,2)=-1; A(4,5)=-1;
A(5,3)=-1; A(5,4)=-1; A(5,5)=-1;
A(6,3)=-1;
A(7,4)=-1;... |
ef1903e6697b4f43f7b6930c55f2ced07cecf9ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH6/EX6.3/Ex6_3.sce | 0dc3292fe6c0a2ce9adaad693b74ac78470d0c43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | Ex6_3.sce | clc
//variable initialization
Pout=50 //output of induction motor in kilowatt
Vm=400 //input of motor in volt
F0=50 //supply frequency in hrtz
N1=1475 //speed of motor in rpm
P=4 //number of poles
Rs=0.42 //resistance of stator in ohm
Rr=0.23 //resistance of rotor in ohm
Xs=0.95 //reactance of stator in ohm
... |
49c163517ead9b34cbd0ed66b39842462e7c9233 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoDelay.sci | b8ade7939ad20bb4d704c4e7e4186a5029ad1b03 | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,850 | sci | SSSoDelay.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Out=SSSoDelay(In,Delay_ns,PhaseRotat?)
// Optical Delay
//
// Calling Sequence
// Out=SSSoDelay(In,Delay_ns,PhaseRotat?)
//
// Parameters
// In : Optical Input
// Delay_ns : Delay... |
a6d5d01e0996f99bf3c82ea1ae6452e59e01a488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH9/EX9.6/Ex9_6.sce | b139a8e1c4930289a9bdd61b044d1a053167ee63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Ex9_6.sce | //pagenumber 429 example 6
clear
hfe=50;
hie=1.1*10^3;//ohm
//(1) gain
r1=2*10^3;//ohm
volgai=-hfe*r1/(hie);
r11=25*10^3*hie/(25*10^3+hie);
r11=r1*r11/(r1+r11);
volga1=-hfe*r11/hie;
volgai=volgai*volga1;
disp("voltage gain = "+string((volgai)));
freque=20;//hertz
ri=25*10^3*hie/(25*10^3+hie);
cb=1/(2*... |
1b3211c4db29817162ebf1e990150228f771ce5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH7/EX7.3/example3_sce.sce | bb3c6c0672cd5a57957ac272c7256ff6b73fdd44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example3_sce.sce | // chapter 7
// example 7.3
// page 276
R3=6000;R4=2000;//given
R=5100;
C=.001*10^-6;
A=1+(R3/R4);
if A>3 then
f=1/(2*3.14*R*C)
disp(f)//frequency of oscillation
end
|
11138d6f351dc9d7a1f908d492841e9cb590c6bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH2/EX2.1/2_1.sce | 2e4989fd8d1c6b5c4efb385404a34fe265a80663 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | 2_1.sce | clc
//initialisation of variables
clear
T= 40 //C
R= 0.0820 //lit-atm deg^-1 mol^-1
v= 0.381 //lit
b= 0.043 //lit
a= 3.6
//CALCULATIONS
P= (R*(273+T)/(v-b))-(a/v^2)
//RESULTS
printf ('Pressure = %.1f atm',P)
|
6c6cf64aa66548907199d9f4bf917ecdc6fa6998 | dba43ae0c5d0c50780be579f98977a9836292852 | /04/RAM512/RAM512.tst | fb7b08ce5b231e0c1a5a6de9198989f4ff07b6a8 | [
"MIT"
] | permissive | AbstractXan/ComputerSystemDesignLab | c49458dfcbd2e7ee769cb6044868a33601e42968 | 2851da683e4e894be66463dcc29a9fa6ba0538b6 | refs/heads/master | 2020-07-06T22:44:45.031534 | 2019-11-20T04:42:52 | 2019-11-20T04:42:52 | 203,161,348 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,030 | tst | RAM512.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/03/b/RAM512.tst
load RAM512.hdl,
output-file RAM512.out,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 address%D2.3.2 out%D1.6.1;
set in 0,
set load 0,
... |
b9b79eea8a8ed4ba404e4cfc54abd33445f941b3 | 4f610a7615cc28364b5eefb965a2685d117dceca | /Selection/startHandle.sci | e37a7b5934d753baf27883875a862d391321db77 | [] | no_license | Alexcei88/Client-GixAnnex | e1aaff49e9ec3064a3115a826fde5755b6e29921 | d71002fdc9a5c0df60a84e2c90af254f9d4a3351 | refs/heads/master | 2021-01-22T13:57:49.357485 | 2014-04-23T17:55:18 | 2014-04-23T17:55:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sci | startHandle.sci | border.left: 6
border.top: 6
border.bottom: 6
border.right: 0
source: startHandle.png |
f1fff4dbabbcf83062db504a674473936be71a31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH14/EX14.2/Ex14_2.sce | b028b2fb02fde0912b3a07bfea86e3d68158b868 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | Ex14_2.sce | b=300//width, in mm
d=600//effective depth, in mm
fck=15//in MPa
fy=500//in MPa
Xc=0.456*d//in mm
Mu=0.36*fck*b*Xc*(d-0.416*Xc)/10^6//in kN-m
Ast=round(0.36*fck*b*Xc/0.87/fy)//in sq mm
mprintf("Moment of resistance of the beam=%f kN-m\nSteel required=%d sq mm", Mu,Ast)
|
4cc2f093d88ef7271af3330116317a593c8951c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH12/EX12.3/Ch12Ex3.sci | 823e6d15286a5efbce8f10d2da2a924f6230d480 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sci | Ch12Ex3.sci | // Scilab Code Ex12.3: Numerical aperture and acceptance angle of step index fibre : Page-271 (2010)
n1 = 1.55; // Refractive index of fibre core
n2 = 1.53; // Refractive index of fibre cladding
n0 = 1.3; // Refractive index of medium
NA = sqrt(n1^2 - n2^2); // Numerical aperture for optical fibre
// n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.