blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fb87c50e3885a651f40a526c227efd81b7c73992 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/examples/addinter-examples/ex17c.sce | 6d1c32a1c3eba24745f766d42b4e3181019d3c00 | [
"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 | 3,004 | sce | ex17c.sce |
//We build a function ex17c with 3 input parameters X,Y,f and
//1 output parameter Z: Z=ex17c(X,Y,f).
//The third input parameter of ex17c (f) is a function.
//This function, which is passed to ex17c as an argument,
//is called a "argument function".
//This function can be a Scilab function or a C function.
//In both ... |
48f9cfb82bac9cb4a3bd0c28c6d3d90db47603f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH12/EX12.3.b/EX_12_3_b.sce | 1bcdef6659f15c279bd1f2613311b48453165ec6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 709 | sce | EX_12_3_b.sce |
//Example 12.3.b // motor generator in each phase
clc;
clear;
close;
Vl=1100;//line voltage in volts
n=99;//motor efficiency in percentage
Mo=n*735.5;//output of the motor
Mi=(Mo*100)/75;// INPUT OF THE MOTOR IN WATTS
pf= 0.8;//power factor
Il=(Mi)/(sqrt(3)*Vl*pf);//line current in amperes
Ip=Il/(sqrt(3));//phase curr... |
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... |
d3800699c91e45b288c4b537a79ed2fc05f322d5 | 717ddeb7e700373742c617a95e25a2376565112c | /40/CH8/EX8.10/Exa_8_10.sce | d9676ae26ee0289e4ef58a2b1a78c9ba40f6bf38 | [] | 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 | 219 | sce | Exa_8_10.sce | //DFS of sampled periodic signals
xn=[0 ones(2:16) 0 -ones(18:32)];
XDFS=0.032*dft(xn,-1);
for i=1:length(XDFS)
if (abs(XDFS(i))<0.000001) then
XDFS(i)=0;
end
end
disp(XDFS,'The DFS of x[n] is'); |
b122fe3488160191e6b3d9ae4b61c4bd3a282a8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH4/EX4.11/Ex4_11.sce | 74809924c2d3a7954bf374c0dfc205f6a50a2042 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | Ex4_11.sce | clc
// from figure 4.4
v = 100 // cutting speed in m/min
D = 50 // mm
l1 = 76 // mm
f = 7.5 // feed in mm/rev.
// Case 1 , time to turn 38 mm diameter by 76 mm length of cut
N1 = (1000*v)/(%pi*D)// r.p.m
tm1 = l1*10/(f*N1) // min.
// Case 2 , time to turn 25 mm by 38 mm length
N2 = (1000*v)/(%pi*38) // r.p.m
... |
6a4964a6ebb5391bdda7d17ab12c4c32e5cc3391 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH27/EX27.3/27_3.sce | 3d33e41f08e49ee0ad580a250406fcc556d5efff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | 27_3.sce | clear//
//Variables
r1e = 8.0 //a.c. load resistance (in ohm)
RC = 220.0 //Collector resistance (in ohm)
RE = 47.0 //Emitter resistance (in ohm)
R1 = 4.7 * 10**3 //Resistance (in ohm)
R2 = 470.0 //Resistance ... |
b1b9f215cbd123dd6896c8f5aef53336d2ec246a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3622/CH1/EX1.1/Ex1_1.sce | 609c49cf2bd2db38690ab010705eb8d4225d4a08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | Ex1_1.sce | //Initialisation of variables
clc
C=20/(9*10^11)//converting cms to farads
F=154-100//fall in potential
R=F/60//rate of fall in potential
I=C*R//ionization current
printf('ionization current is %e amp \n',I)//correction applied
|
c02c9078f76492e1a46506b22dd687748621fba5 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electronic_Devices_P._Raja_And_P._Sharma_2720.zip/Fundamentals_Of_Electronic_Devices_P._Raja_And_P._Sharma_2720/CH5/EX5.9.2/ex5_9_2.sce | 951e604de1c8db570ce8cb575f8661237c7e3061 | [] | 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 | 206 | sce | ex5_9_2.sce | errcatch(-1,"stop");mode(2);// Exa 5.9.2
;
;
// Given data
alpha = 0.9;
I_E = 1;// mA
I_C = alpha * I_E;// in mA
I_B = I_E - I_C;// in mA
disp(I_B,"The value of base current in mA is");
exit();
|
feb5fa8c2b943844cfdf6c269b58b1ca3dbd6577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH4/EX4.4/Ex4_4.sce | c4313952786313cba152013ab3e236f330f742a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | Ex4_4.sce | clc
//initialisation of variables
f=5//cm
d=10//cm
r=150//liters
p=4//in
A2=7.84*10^-3//m^2
//CALCULATIONS
A=((%pi)*(f*10^-2)^2)/p//m^2
V1=(r*10^-3)*(1/60)/A//m/s
V2=(A*V1)/A2//m/s
//RESULTS
printf('The velocity of the fluid in both pipes=% f m/s',V2)
|
2eab3470a22d66638289ddd2abef5cc3b5e3f679 | fcd4bce0080771389b4a69338ed6443153942183 | /cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/cvt.tst | 18282597ce7f2d7d8fb652353aad911488e38f87 | [
"GPL-3.0-only",
"LGPL-3.0-only",
"MIT",
"GPL-2.0-only",
"GFDL-1.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-copyleft",
"GFDL-1.1-only",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"Zlib",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public... | permissive | wulfebw/retro | d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa | dad4b509e99e729e39a2f27e9ee4120e3b607f58 | refs/heads/master | 2022-10-23T07:17:55.320585 | 2020-06-12T01:38:06 | 2020-06-12T01:38:06 | 260,832,205 | 8 | 1 | MIT | 2020-06-12T01:38:08 | 2020-05-03T05:06:17 | C | UTF-8 | Scilab | false | false | 8,401 | tst | cvt.tst | .data 12
ok:
.c "ok\n"
#if __WORDSIZE == 32
# define w7f 0x7fffffff
# define w80 0x80000000
# define w81 0x80000001
# define wff 0xffffffff
# define LEXTII2(N, R0, R1)
# define LEXTIC2(N, R0)
#else
# define w7f 0x7fffffffffffffff
# define w80 0x8000000000000000
# define w81 0x8000000000000001
# define... |
e850a86234ab35471911399cde13b37088456121 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH11/EX11.5/example11_5.sce | 9d639ea87c174e21aa82915b5404df028c664326 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example11_5.sce | s=2*10^(-2);
a=s^2;
phi=5.2*10^(-4);
b=phi/a;
h=800;...........//from the B-H curve
l=4*6*10^(-2);
n=600;
i=h*l/n;
disp("the current required (in A) is"); disp(i); |
8848efd521e4c586f202ec4af52a5ea1d46b2e03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH1/EX1.11/Ex1_11.sce | 1b84bcb361cfcdba43fb31ae364902bb34f8e7ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Ex1_11.sce | clc;
//page 17
//ex-1.11
P=5; //In mW
N=100*10^-6; //in mW
S2N=P/N;
disp(S2N,'(a) Absolute signal to noise ratio :');
S2NdB=10*log10(S2N);
disp('dB',S2NdB,'(b) dB signal to noise ratio is:')
PdBm=10*log10(P/1);
disp('dBm',PdBm,'(c) Signal Power is');
NdBm=10*log10(N/1);
disp('dBm',NdBm,'Noise p... |
cd8c27fffb6c49d23dc4ee01427dc78e107fffff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH7/EX34.5/34.sce | f8ff8864d6e617d352cad1ac9c9a923244e2480d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 34.sce | clc
//initialisation of variables
a=0.139//m/sec^2
h=12.5//m/sec
t=120//m/sec
//CALCULATIONS
V=h+a*t//m/sec
//RESULTS
printf('The acceleration level trackage it was travelling at speed=% f m/sec',V)
|
7a1a60b39ac030f114f7b6b30a4472ef4322b9d9 | 89dea31a969e428f3ba6bbe7e01abe63875ecc6e | /scilab/Policy for Inventory Control.sce | d7da294bbf0f4a4007c461ea5367e9be2462ff7b | [] | no_license | arvinsingh/b_tech | 9603a83121f8b6beb7ee7d4aae9c2a27599b6f92 | 40e4d29ddfbe13d613709d8303faaccd9bb2db33 | refs/heads/master | 2020-03-19T14:40:00.460378 | 2018-06-08T15:25:19 | 2018-06-08T15:25:19 | 136,634,452 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,008 | sce | Policy for Inventory Control.sce | //Policy for Inventory Control
function bestpolicy(p, q)
C = 0.0//Cost
S = 115//Stock
I = 1//Day
UD = 0//Units Due
DD = 0//Due Date
for I = 1:180//Loop for 6 months or 180 days
if DD == I then//Is today due date?
S = S + q//Add q to stock
UD = 0//units due = 0
end
dem = int(abs(g... |
491e8e322e01b13608777e7f647029011e431744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH16/EX77.3/77.sce | b32bcc8e508fceddca2b5bb331843ecc6f0fc434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | 77.sce | clc
//initialisation of variables
n=1500//rpm
d1=180//mm
d2=540//mm
d3=160//mm
d4=400//mm
//CALCULATIONS
M=(d1/d2)*(d3/d4)//mm
N=n*M//rpm
//RESULTS
printf('the total speed ratio=% f rpm',N)
|
320d3a93f9562d716ee7fc4f8d313335efa28acd | 8969edc2d07b10470fa302efcbdd89c39694ff71 | /Labs/module_1/Importing-Exporting-Data/data/shuttle.csv | 08dbbe382cbdef0511f7837f779a9a1a0a804d21 | [] | no_license | tmcdonald92/248_Repo | 4173c417c7ba72412d23bed429aa2717cf99d22e | 35e173a75705e526e93d17f8ea9374ed0b4c4d74 | refs/heads/master | 2023-01-07T14:28:16.966520 | 2020-11-02T14:06:07 | 2020-11-02T14:06:07 | 289,919,738 | 0 | 0 | null | 2020-08-24T12:20:05 | 2020-08-24T12:20:04 | null | UTF-8 | Scilab | false | false | 135,084 | csv | shuttle.csv | :@computed_region_cbhk_fwbd,:@computed_region_nnqa_25f4,fall,geolocation,id,mass,name,nametype,recclass,reclat,reclong,year
,,Fell,"{'type': 'Point', 'coordinates': [6.08333, 50.775]}",1,21.0,Aachen,Valid,L5,50.775,6.08333,1880-01-01T00:00:00.000
,,Fell,"{'type': 'Point', 'coordinates': [10.23333, 56.18333]}",2,720.0,A... |
edb68b6d11db70cc398b1be494b09758383d5e78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH24/EX24.5/24_5.sce | 675c4fbe731369230e024767112e4352f3a6b49a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | 24_5.sce | clc
//initialisation of variables
mr= 2.01474 //amu
mH= 0.00237 //amu
mD= 1.00814 //amu
//CALCULATIONS
mn= mr+mH-mD
//RESULTS
printf ('mass of neutron = %.5f amu',mn)
|
a182e1dd2a917a13b405884f6109fe0d0624630d | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH8/EX8.12/example812.sce | c1c7f0d67e17197bf90916fbf1725510f60920a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | example812.sce | //Example 8.12
//For the given x[n] determine X[k] using FFT algorithm
clc;
x=[0,1,2,3,4,5,6,7];
X=fft(x,-1);
disp(X,'X[k]='); |
c6f1338c925c4ec5a555e2deb6bb07d44b0016cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH4/EX4.2/Exa4_2.sce | 804440304ba9f5643ee2b398498bb019929ba75b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | Exa4_2.sce | //Exa 4.2
clc;
clear;
close;
//Given data
Omega_P1=10^4;//in Radian/sec
Omega_P2=2*10^4;//in Radian/sec
Omega_Z1=10^5;//in Radian/sec
omegaH=1/sqrt(1/Omega_P1^2+1/Omega_P2^2-2/Omega_Z1^2);//in radian/sec
disp(round(omegaH),"Approximate value of lower 3dB Frequency in radian/sec : "); |
bd007fc4da77c948996263ded2b02c97288693c0 | 0996858242fa0006525b2edd5d01faee1b3f8a03 | /fatoracaoLU.sce | 6dde1032e1949927aa0d81e5a6ffcea2b38820ba | [] | no_license | lucascmb/LAAlgorithms | 575a4a11c1909bc413f913d76a53b1ad34b88d73 | 9234e625c8858a85338ef49de562a68545be41e4 | refs/heads/master | 2021-06-05T01:30:16.739042 | 2016-09-30T14:46:10 | 2016-09-30T14:46:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,444 | sce | fatoracaoLU.sce | //Eliminação Gaussiana:
//Implementação destinada à resolução de um sistema linear Ax=b.
//Entrada: A (matriz mxn), b (vetor mx1)
clear //limpa a memoria do scilab
clc //limpa a tela do console
//A = [1 0 -1; 0 3 7; 5 -2 1]; //linhas espaçadas por ponto e vírgula
//A = [0 0 -2; 2 4 -10; 2 5 1];
//A = [0 3 1; 2 -2 1; ... |
3c37501b630771d44ec6a6b330e67700bbd7d387 | d167200e784b8019615f6b37b5a46b91ec43b98d | /macros/fillConvexPoly.sci | 9a0f08e0a83cd4cf19c0f2adb2651a2a8f5db27f | [] | no_license | AshishMantosh/FOSSEE-Image-Processing-Toolbox | ee9c1a00f97627f372fae1d7d851c4905ac9d83e | e4fbe1891e13e4dc9b62513f0aef2b101638f084 | refs/heads/master | 2021-01-01T19:05:15.966438 | 2017-07-27T07:16:11 | 2017-07-27T07:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,968 | sci | fillConvexPoly.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
4732a2c748df2ea7ae40bd5b78739ca98de0b825 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH19/EX19.15/Ex19_15.sce | 59e40797813b7e59929485e5227d28f101a74c0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex19_15.sce | clc
// Given that
m = 1 // Mass flow rate in kg/s
r = 2 // Prssure ratio of blower
t1 = 70 // Inlet temperature in degree centigrade
p1 = 1 // Inlet pressure in bar
R = 0.29 // Gas constant in kJ/kgK
x = 0.7 // Reduction in pressure ratio and intake volume
gama = 1.4
printf("\n Example 19.15\n")
T1 = t1+273... |
ff91277e66db5eda608acebbdec25bf8c3120977 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH10/EX10.4/Ex10_4.sce | f2e97557be1b21baf2b93edcc76c18f99c86f6d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | Ex10_4.sce | clc
//initialization of variabes
clear
cA=10 //cm^2
wA=5 //cm^2
P=1 //tonne
E=2*10^6 //kg/cm^2
P=P*1000 //kg
// calculations
U_up=P^2*200/(2*E*cA)*1/sqrt(3)*(2+4+6+8+10+12)
U_do=P^2*200/(2*E*cA)*1/sqrt(3)*(1+3+5+7+9+11+13/2)
U_web=P^2*200/(2*E*wA)*1/sqrt(3)*(2*13)
U=U_up+U_do+U_web
delta=U*2/(P)
// result... |
5050d80f6524f44f17ce504cd6092599b7b93614 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.32/2_18_32.sce | 682fd34dc2c19fd98635be36340d59a82ec53804 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | 2_18_32.sce | //water and its treatment//
//example 2.18.32//
clc
Purity_Lime=.97
Purity_soda=.91
W1=24;//amount of Mg2+ in ppm//
W2=20;//amount of Ca2+ in ppm//
W3=30;//amount of CO2 in ppm//
W4=150;//amount of HCO3- in ppm//
W5=40;//amount of K+ in ppm//
M1=100/24;//multiplication factor of Mg2+//
M2=100/40;//multip... |
94d6f4b43a1968366555e82811404e8a0f3f762b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.32/ch12_32.sce | d853fedd492ed15cfa8de0f4b31f487003745197 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | ch12_32.sce | clear;
clc;
V=700;
E2=V;
N_s=1500;
N=1200;
s=(N_s-N)/N_s;
V1=415;
a_T=s*E2/V1; printf("voltage ratio of the transformer=%.4f",a_T); |
f6cf9916265f7d7358474066af16b835d758c3dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH4/EX4.13/4_13.sce | e1611ef8764dc1ab5536be6c2ed173a03c92d5a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sce | 4_13.sce | //Example No. 4_13
//Pg No. 78
disp('Theoritical Problem')
disp('For Details go to page no. 78') |
ee74a84540cd55eca0304e701345d8c272f0cbe5 | 717ddeb7e700373742c617a95e25a2376565112c | /3411/CH10/EX2.2.u2/Ex2_2_u2.sce | da5cee9374bb82cf0f7ffc02e4b286c8643cf784 | [] | 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 | 697 | sce | Ex2_2_u2.sce | //Example 2_2_u2
clc();
clear;
//To corresponding mean free path and compare with experimental value
row=6.87*10^7
m=9.11*10^-31
n=5.86*10^28
e=1.6*10^-19
t=(row*m)/(n*e^2) //units in s
printf("The mean free path is t=")
disp(t)
printf("sec")
kb=1.381*10^-23
T=300
m=9.11*10^-31
v=(sqrt(3*kb*T))/s... |
b8f2b03559f48a10290a4b9fa05342d94f24b0ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/8_5_1.sci | 366041a52f662efca1b926425b557f9c20bb7965 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sci | 8_5_1.sci | M1=35.6 //g/mol
M2=18 //g/mol
x=0.2
mdot=1000 //kg/h
T1=25 //C
T2=100 //C
T3=40 //C |
bb48fae1daf0e7fa9626965d8532e3b66fd8d8b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH8/EX8.1/ex_8_1.sce | 0987cdf0d67e25b30d6861daddec01b2d1340155 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | ex_8_1.sce | //Example 8.1: Motor speed
clc;
clear;
close;
v=230;//in volts
rm=0.3;//in ohms
Ia=[5;10;15;20;25;30;35;40];//in amperes
T=[20;50;100;155;215;290;360;430];//
for i=1:8
eb(i)= v-(Ia(i))*rm;//
N(i)=(9.55*eb(i)*Ia(i))/(T(i));//
disp("speed in rpm is for current "+string(Ia(i))+" amperes "+string(round(N(i)))... |
8aec4289b9fddd7bd89c5b61ea97bac0c7388abe | ce4dbe0e5cac31e35a009625bdcce8bad8ad8d44 | /Программа для тестирования/C# тестирование.tst | 369dc357c68ca6dedc3a1451c9054e9e0e335975 | [] | no_license | VitalikMorozov/Testprogram | 6fdb8b4679ba5563d5dbc51ec4d953ea08b83cd4 | 21e358f2c53576bd1547a9702fb5df02dd03b0ee | refs/heads/main | 2023-07-20T03:54:24.850592 | 2021-08-31T21:39:07 | 2021-08-31T21:39:07 | 394,771,752 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,598 | tst | C# тестирование.tst | 9
Что делает оператор «%»
Возвращает процент от суммы
0
Возвращает остаток от деления
1
Возвращает тригонометрическую функцию
0
Ничего из выше перечисленного
0
Что сделает программа выполнив следующий код: Console.WriteLine(«Hello, World!»);
Напишет на новой строчке Hello, World!
1
Напишет Hello, World!
... |
5aa20e7fad7d5168c877726e3c22a36f194ee907 | 98074d67753fcd91680ba7e447cba54e710d6410 | /topologias emulando ejemplos/EstiNet/linear5.results/linear5.sce | b01a29f344acb32b6c7242dbca64fe5ecc85c8ac | [] | no_license | elchobo5/licenciaturaSDN | 82fd88740f131234fde2e3d965d8e69cc85a22d2 | 9868bbb16c26389eac7353f873aac08654a085d1 | refs/heads/master | 2020-04-06T07:00:01.266197 | 2016-09-03T15:13:12 | 2016-09-03T15:13:12 | 63,431,538 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | linear5.sce | #estinet scenario file
$node_(1) set 362.000000 199.000000 0 0.0 0.0 0.0
$node_(2) set 235.000000 195.000000 0 0.0 0.0 0.0
$node_(3) set 541.000000 98.000000 0 0.0 0.0 0.0
$node_(4) set 558.000000 230.000000 0 0.0 0.0 0.0
$node_(5) set 541.000000 284.000000 0 0.0 0.0 0.0
$node_(6) set 503.000000 319.000000 0 0.0 0.0 0.... |
a13e9dc05f1a2d02569cc71e47fc8b521bd89969 | 333d6160f9a6d9e23a6bea06cd03e5e8fa8785a9 | /RobotLab2/SciLab/FindOmegaNls.sce | 88dc3aa336130898461101a103f60f0f1832fb93 | [
"MIT"
] | permissive | DmitryIo/ROBOTS | 6f6bb12a8e08dd28024136ee1a8a84ea7254da60 | 777f0884a098c4f21d044985c25a8be276334116 | refs/heads/master | 2023-04-30T12:52:54.082977 | 2021-05-17T19:55:34 | 2021-05-17T19:55:34 | 294,091,170 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | FindOmegaNls.sce |
Wnls = []
for i=1:10
data = read(get_absolute_file_path("FindOmegaNls.sce") + "..\Data\log" + string(-i * 10) + ".txt", -1, 2);
angle = data(:, 1)*%pi/180;
time = data(:, 2);
aim = [time, angle]';
deff('e=curve(k, z)', 'e=z(2)-k(1)*(z(1) - k(2) * (1-exp(-z(1)/k(2))))');
att=[-15;0.06];
... |
39bc854cf62f8d4e23ab7c77a7088f3928463203 | 449f0d9106e35fc361bdb53d55d9563796f0d2c3 | /week1/scilab1.sce | 5714f72c5e2e65bb6ed96072e7ff7b3e513eee1e | [] | no_license | aleksey-sinos/OpenEdu | 72eefffcc4ddbb45345a9bee61e534f9bf540390 | 6c3b4943a669b9398ad75e0fae44937cc6b04dc0 | refs/heads/master | 2020-06-30T13:29:27.839046 | 2019-12-04T07:47:12 | 2019-12-04T07:47:12 | 74,368,213 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 906 | sce | scilab1.sce | ///////////////////////////////////////////////////////////////////////////////
//// Неделя 1.1
//// Случайные величины и методы их описания.
///////////////////////////////////////////////////////////////////////////////
clear;
deff('[numd] = roundd(num,n)','numd = round(num *10^n) / 10^n');
rand("seed",getdate("s")... |
e5ec32d8e1dde4d0cef8f23af5150bd3d95a3e42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH8/EX8.3/Ex8_3.sce | 4335d5865a70e6ce7bae8f621e75eb992d8100a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Ex8_3.sce | clc;
close();
clear();
//page no 277
//prob no. 8.3
W=5000; //Hz
fs=1.25*2*W;
tp=30*60; //seconds
N=fs*tp; //samples
mprintf('Total number of samples is %i ',N);
|
6fae8b4f4fafe9683276a6604427b830304f45e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH21/EX21.6/Ex21_6.sce | 014552ed48825b9440216bbd9e0c6aadd55beee5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | Ex21_6.sce |
//calculating regulation at full load at unity pf
V=3300//line voltage
Vph=V/sqrt(3)
P=500D+3//output
Ia=P/(sqrt(3)*V)
Ra=.4//resistance per phase
Xs=3.8//reactance per phase
pf=1//power factor
Ef=[(Vph*1+Ia*Ra)^2+(Vph*0+Ia*Xs)^2]^.5//open circuit voltage per phase
VR=(Ef-Vph)/Vph*100
mprintf("Regulation at... |
cf1f1c9b481bb6c1d9c491876185e42b049c214e | 44dccf35d0d05580e3fc20af3b7697b3c638d82d | /testcases/detectHarrisFeatures/1.sce | 02074a6028d44a41657817d22e2469b8a307c148 | [] | no_license | surirohit/Scilab-Image-Processing-Toolbox-Unclean | 213caacd69badd81ec0f99a800f44a2cf8f79b5d | 3a8057f8a8d05e7efd83704a0e732bdda23fa3a0 | refs/heads/master | 2020-04-09T07:31:20.042501 | 2016-06-28T09:33:57 | 2016-06-28T09:33:57 | 60,406,367 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | sce | 1.sce | i = imread('test1.jpg');
corners = detectHarrisFeatures(i);
disp(corners);
|
32a9a33a14f58ba3d7e691bca7c79ef35c8d290b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.37/37.sce | 55434a18797a5127516df541d0eab1608eea924d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,199 | sce | 37.sce | clc
clear
//Input data
mol=4 //Molecular weight of gas in kg/mol
k=1.3 //Adiabatic constant
C1=150 //Gas Velocity at section-1 in m/s
P1=100 //Pressure of duct at section-1 in kPa
T1=15+273 //Temperature at section-1 in K
T2=-10+273 //Temperature at section-2 in K
Ri=8314 //Ideal gas constant in J/mol-K
/... |
e9612b6d904453907a3133e30a5660a038ba2d98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH16/EX16.3.3/Ex16_3_3.sce | 9e152b1306ec1a3bde771288b850a13ecc1ece2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | Ex16_3_3.sce |
clc
//initialization of variables
D =2*10^-6 // cm^2/sec
nu = 0.036 // cm^2/sec
d1 = 1.59 // cm
d2 = 1 // cm
deltap = 1*10^-5 // g/cc ( change in density)
p = 1 // g/cc
Re = 11200 // Reynolds number
g = 980 // cm/sec^2
dis = 5.37*10^-9 // g/cm^2-sec // Dissolution rate
sol = 1.48*10^-3 // g/cc
//Calcul... |
9f7ed7f709727c70cde4c93ef5bfcab174b11901 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.31.sci | cea07a8024da9d3d5994e23e6b92cd7f06e08190 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sci | Ch_6_Eg_6.31.sci | //A program to illustrate the use of Nested functions.
function y=outer_fun(x)
a=x+1;
disp ("executing outer_fun");
function y=inner_fun1(x)
z=x+2;
whereami (); // a library function to return the current line of the program
function y=inner_fun2(x), y=x^2, disp ("Executing in... |
b75933f8fc96d72a863a6c2647e35b2affe0acef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH4/EX4.4/4_4.sce | 3d400acec026a55ba80bd0d6896794714641569c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | 4_4.sce | clc
//initialisation of variables
Hv= 9720 //cal mole^-1
Hv1= 30900 //cal mole^-1
Tb= 373 //K
Tb1= 1029 //K
//CALCULATIONS
Sv= Hv/Tb
Sv1= Hv1/Tb1
//RESULTS
printf (' Entropy= %.f cal mole deg^-1',Sv)
printf (' \n Entropy = %.f cal mole deg^-1',Sv1)
|
ad5c08312c930c038b00eebdc3c0ca7a8768f160 | c2249f1089957357481c4bc88e17047fb96af0fd | /TestCases/projp2.tst | 44a4ecbc129d35235281e1ba5a50d3ffef73dd90 | [] | no_license | FikriAnuar/LaTeXParser | 9bf5d0f1ea85d26ae4cb4cb72ef0cd95a7e358d6 | 97a872d3903aafea98045050f1782b0ff7840ed7 | refs/heads/master | 2022-12-12T04:17:47.702201 | 2020-09-09T16:38:05 | 2020-09-09T16:38:05 | 294,170,332 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,053 | tst | projp2.tst | \begin{document}
The second part of the semester project focuses on gaining experience with
lex (flex) and yacc (bison), coupled with continued design (and redesign)
skills for context free grammars (CFGs). The second part of the project
is divided into two major tasks, and is worth a total of 50 points:
\begin{enumer... |
29c7bb1845e07b918751c98c27a3c687e72e771a | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.67/ex2_67.sci | 75cb975c76e8d518352a9e8aa6f98f879f82f5dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sci | ex2_67.sci | //Chapter 2,Ex2.67,Pg2.84
clc;
disp("Refer to the diagram shown in the question")
A=[1 0;5 -10]
B=[50;0]
I=A\B
printf("\n I1=%.0f A \n",I(1))
printf("\n I2=%.0f A \n",I(2))
Vth=3*I(2)
printf("\n Vth=%.0f V \n",Vth)
//Calculation of Rth
Rth=(7*3/(7+3))
printf("\n Rth=%.1f \n",Rth)
//For maximum power transf... |
209e235a94dd31fc4e8053812212fad5da8d085e | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH4/EX4.1/Example_4_1.sce | 079fe67e62441b0ce81548f4012f736a682827af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Example_4_1.sce | //Number of Vacancies Computation at a Specified temperature
clear;
clc;
printf("\tExample 4.1\n");
Na=6.023*10^23; //Avogadro No.
den=8.4D+06; //Density of Copper
A=63.5; //Atomic weight of Copper
//No. of atomic site per cubic meter
N=Na*den/A;
//No. of vacancies at 1000 C... |
62f3e4f3ddc1eac8ad4bc15ea23e2cc60eeb24fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH14/EX14.1/Ex14_1.sce | 3c0c5aaeba357c85d396656806ebca5c323cbeaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 828 | sce | Ex14_1.sce | clc
clear
//Initalization of variables
lhs=8.5 //moles of reactants
rhs=6 //moles of CO2
n=3 //moles of H2O
R=1545 //Universal gas constant
R2=18.016 //molar mass of water
J=778 //Work conversion constant
T=537 //R
T2=1050.4 //R
T3=991.3 //R
Qhp=1417041 //Btu/mol
//calculations
Qhpv=(lhs-rhs)*R*T/J
Qhv=Q... |
6ef8ba27295457f662a020016cd6fa5802fde1ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH8/EX8.1/Ex8_1.sce | c3f8b44d730ec84229cdab65f1c6c5d11ebbb202 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | Ex8_1.sce | clear;
clc;
//page no. 266
Tw = 32;// degreeF
d1 = 3;// in
v = 10;//fps
delp = 2;//psi
h1 = 30;// ft
Tb = 68;//degreeF
d2 = 1;//in
h2 = 10;//ft
V = v*(d1/12)*0.0000137/((d2/12)*0.88*0.0000375);
del_p = delp/h2^2 *0.88*V^2;
printf('V = %.2f fps\n del_p = %.2f psi',V,del_p);
|
266cb8c531a46116e37afa315e6249d3de692e51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH8/EX8.6/8_6.sci | d547dc6739de1293bcfc96e6bf8c58066de934b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sci | 8_6.sci | //Harmonic and Powerfactor with the Converter system//
//Example 8.6//
printf('For six pulse converter most effective harmonic is 6th and for worst case a=90 degree\n');
h=6;
Wv=24.1;//voltage ripple in percentage//
printf('voltage ripple=Wv=%fpercent',Wv);
Edc=460;//dc voltage in volts//
W=2*3.14*50;
Ldc=6;//t... |
29cbe8e63f82c1e87f1da259609d38cad654a491 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH5/EX5.8/Ex5_8.sce | 08c9d1c099be67cac39e4fcf29e05524f135ed07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | Ex5_8.sce | clc
// Given that
V = 0.12 // Volume of tank in m^3
p = 1 // Pressure in MPa
T = 150 // Temperature in degree centigrade
P = 0.1 // Power to peddle wheel in kW
printf("\n Example 5.8")
u0 = 0.718*273 // Internal energy at 0 degree Celsius
// Function for internal energy of gas
t=poly(0,"t")
u = u0+(0.718*t)
... |
014c58e98d0e9e7ecb113d928681846e20c69b43 | ed5e7aeae2745973cd8038caec7b1fce3cab8914 | /analyze/loadData.sce | b037dad17a4a1acc90cc30bd2b1a6ce16a41184b | [] | no_license | cmmurray/soccer | ff246d1a61cb6f6a43e7edd3f7b92802a48cb155 | 0a7b709e244db8d7cc56a5ee1361ecef7ae5da8b | refs/heads/master | 2020-05-09T18:09:04.531264 | 2015-01-05T23:13:52 | 2015-01-05T23:13:52 | 13,311,958 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | sce | loadData.sce | clear;
clc;
stacksize('max');
data = read_csv('../getdata/Data/master.csv');
//split headers and data
headers = data(1,:);
data = data(2:$,:);
hg = round(strtod(data(:,5)));
ag = round(strtod(data(:,6)));
hgh = round(strtod(data(:,8)));
agh = round(strtod(data(:,9)));
tg = hg + ag;
tgh = hgh + agh;
//Fix some things... |
02e4fbbe5ed07393dadf96c5998f6ce1144a2157 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH3/EX3.3/example3_3.sce | 2666d7e136daa39d73fb8c07a23b322ad0e9e502 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | example3_3.sce | //Chapter3
//Example 3_3
//PAge 50
clear;clc;
max_dem =100;
p1=100;
t1=2;
p2=50;
t2=6;
no_operation =45;
//Annual load factor
e_per_day=(p1*t1)+(p2*t2);
printf("Energy per day = %.2f MWh \n\n", e_per_day)
operation_days=365-no_operation;
e_per_year = e_per_day*operation_days;
printf("energy per year = %.2f MWh\n\n... |
1cbccf3f0afd2d364da6f11264b644f81aa1b7d7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuit_M._S._Sivakumar_1757.zip/Linear_Integrated_Circuit_M._S._Sivakumar_1757/CH5/EX5.9/EX5_9.sce | cf8092fad9c1c39146c7d5a24607bcb4ccc25dfa | [] | 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 | 229 | sce | EX5_9.sce | errcatch(-1,"stop");mode(2);//Example5.9 //to determine open loop gain
;
;
beta = 0.0120 ; // Feedback transfer function
Af = 80 ; //d loop gain
A = (Af)/(1-beta*Af) ;
disp('open loop gain is = '+string(A)+'');
exit();
|
427fe0a6a0c5171f06b2fc1766f676b0b1e7ca13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH9/EX9.7/Ex9_7.sce | 1793b5f173cdd6f3b3d2b78604648686605c6d13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,266 | sce | Ex9_7.sce | clear
//
//
//Initilization of Variables
//Let X=(P*A**-1) //Average Stress at Failure
Lamda_1=70 //Slenderness Ratio
Lamda_2=170 //Slenderness Ratio
X1=200 //N/mm**2
X2=69 //N/mm**2
//Rectangular section
b=60 //mm //width
t=20 //mm //Thickness
L=1250 //mm //Length of strut
FOS=4 //Factor of safety
//Calculatio... |
46c8454bc141cf06d90dc72006c9e6f678efc8de | 28a8d47c4d79b231f8bebc28925792a290f67e9f | /bk/others/create_scheme/create_scheme.tst | 0abbe28fbacc5e7ca1a89599b1286a6a170cb10a | [] | no_license | ZVlad1980/doo | a1fe7d18ccfd0acf6ced7dbb33927c86a925aae8 | e81be8f524b78b9a6ec06b7f83a8c13354fc6412 | refs/heads/master | 2021-08-17T02:03:54.553822 | 2017-11-20T17:21:03 | 2017-11-20T17:21:03 | 111,440,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,441 | tst | create_scheme.tst | PL/SQL Developer Test script 3.0
161
--select lower(name), body from xxdoo.xxdoo_db_scripts_t order by id
/*declare
l_result clob;
cursor l_scripts_cur is
select lower(name) name from xxdoo.xxdoo_db_scripts_t order by id;
begin
dbms_lob.createtemporary(l_result, true);
--
for s in l_scripts_cur loop
... |
f6872677a8769e4b4810a4a4623bf3c2050ab597 | 8b2aa0460ec6250a29ed3fb32790e0211478b29a | /src/5minVar2.sce | 7bf0dad72df3ff0bb3026da34403323550ea95a0 | [] | no_license | samverneck/RealTimeMonitor | 41f37735570aa91cab7765f0800547987f0eb72c | f2ea3d70df9fbeed651b0f0b367b09b9fa84b6fa | refs/heads/master | 2020-12-02T18:09:27.752225 | 2017-06-21T19:52:00 | 2017-06-21T19:52:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | sce | 5minVar2.sce | subplot(224);
a = gca();
a.axes_bounds = bottom_axes_bounds;
a.tight_limits="on";
a.axes_reverse = ['on', 'off', 'off'];
a.grid=[-1, color("darkgrey")]
a.tag = "sensor2Axes";
plot2d(0:timeBuffer2, zeros(1,timeBuffer2 + 1)-50, color("red"));
a.title.text="Temperature variations of the sensor 2";
a.data_bounds = [0, minT... |
b92f883ddd5cb76e4bb45e527030b83c52a63679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH1/EX1.4/Exa1_4.sce | 140ccca1c054c1236b9afd34a0252583563e12f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | Exa1_4.sce | //Exa 1.4
clc;
clear;
close;
//Given data :
format('v',9);
n=1.33;//refractive index
//Formula : velocity_of_light_in_medium=velocity_of_light_in_free_space/Refractive_Index;
c=3*10^8;//in m/s
v=c/n;//in m/s
disp(v,"velocity of light in medium in m/s : "); |
c8d06204bd59444ac2ae98f5b5e878642e1564ee | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/demos/flat/car.sci | 7c9c29f3593ab91c41603e246c17dc8a99018e9e | [
"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 | 16,617 | sci | car.sci | function []=mvcr(x,y,theta,phi)
///////////////%% BEGIN OF SCRIPT-FILE mvcr %%%%%%%%%%%%%%%
//
// CAR PACKING VIA FLATNESS AND FRENET FORMULAS
//
// explicit computation and visualisation of the motions.
//
// February 1993
//
// ............................................................
// : pierre RO... |
a6bf8f546bd3fbc86ce66223dc68f3076d8b782e | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Stairmaster 2.sce | 7edbb024c18a85f9395bde1146e4853e8dbdcb16 | [] | 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 | 143,320 | sce | Stairmaster 2.sce | Name=Stairmaster 2
PlayerCharacters=Tony Hawk
BotCharacters=Nyjah Huston.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=Tony Hawk
AddedBots=Nyjah Huston.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=rightstair.map
MapScale=2.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=fal... |
9efa1eef702b4a8bbc19fba5cea45c4f3edba65f | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH10/EX10.6/Ex10_6.sce | d45a319c63f87ce36dd69b300c6898518d90cadf | [] | 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,704 | sce | Ex10_6.sce | // Variable declaration
alpha = 0.05 // level of significance
semi = []
failures = []
// Calculation
// null hypothesis: if p1=p2=p3=p4 , Alternative hypothesis if p1,p2,p3,p4 all are not equal
chi_sq_thr = 7.815 // theoritical value of chi square at alpha = 0.05 with v =... |
86c5d61e7c48cdcf06e184a16b3b972266e2fa55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.38/example2_38.sce | aa310aa0d37a282949c2a2c757137ec05067617b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | example2_38.sce | clc
// Given that
n = 1 // no. of order
lambda1 = 5.89e-7 // wavelength of light in first case in meter
lambda2 = 5.896e-7 // wavelength of light in second case in meter
// Sample Problem 38 on page no. 2.53
printf("\n # PROBLEM 38 # \n")
N = lambda1 / (n * (lambda2 - lambda1)) // calculation for minimum no. of lines ... |
a48ed39c33cccc96c1ddc3d327287746eb8d8a7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH4/EX4.10/4_10.sce | 7c4f63429d884169053923e1adcd39c099b19a68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | 4_10.sce | clc();
clear;
// To calculate the flux density at centre and dipole moment
r=6.1*10^-11; //radius of H atom in m
new=8.8*10^15; //frequency in rev/sec
e=1.6*10^-19;
mew0=4*%pi*10^-7;
i=e*new;
B=(mew0*i)/(2*r);
mew=i*%pi*(r^2);
printf("current is %f amp",i);
printf("magnetic induction is %f weber/m^2",... |
9d0e1e2dea2220ae664d8ec95d04a00e2467ea7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH12/EX12.14/ex12_14.sce | 55f8432ff960848ecbc6eac6d60deb7400d1a26e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex12_14.sce | clc;
e=1.6*10^-19; //charge on an electron in coulomb
E=5*10^3; //electric field in V/m
m=3.3*10^-26; //mass of neon ion in kg
F=E*e; //calculating foece in Newton using F=Q*E
a=F/m; //calculating accelaration in m/sec square using Newton's Law(F=m*a)
disp(F,"Force on neon Ion in ... |
75905171d654b92c46f3571d2c7132408c4cb707 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.14/Example7_14.sce | 78cf3c686b690390af187f8feb88b59bb2ed33bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | Example7_14.sce | ///Chapter No 7 Fluid Mechanics
////Example 7.14 Page No:126
////Find Total energy per unit weight
//Input data
clc;
clear;
V=13; //Velocity of water flowing throgh pipe in m/s
P=200*10^3; //Pressure of water in Kpa
Z=25; //Height above the datum in m
g=9.81;
rho=1000;
... |
8233c53a28a75529665c37d7a8441065feb7321d | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/GF38CPK/ATWM1_Working_Memory_MEG_GF38CPK_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 632f439ee49be52a3be84444ad4268f4067887e1 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
385677ae7ee6a9f4b3c6bc33f72875695693edd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH9/EX9.12/Chap9_Ex12_R1.sce | fd383d6c1bfb3ba6bcd2b3e0d795adf7adafe4bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,122 | sce | Chap9_Ex12_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-9,Example 12,Page 335
//Title: Molar volume of mixture using van der Waals equation of state
//================================================================================================================
clear... |
7691d57e5b81419d08641f63269fe3b297038454 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ee_hrz_col_d/~BivLCM-SR-bfas_ee_hrz_col_d-PLin-VLin.tst | 32be12dc605adac120d137db2b597be0723d39ce | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ee_hrz_col_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.378518D+00
... |
58af519495862e883449c6dc83c1e9e6109e5c3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH2/EX2.34/EX2_34.sce | 358d81cb422a3d3ade012ff5a3d1336d7a991bf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | EX2_34.sce | clear;
clc;
printf("\nEx2.34\n");
//page no.-73
//given
h=6.63*10^-34;............//planck's constant in J-sec
t=2.5*10^-14;.............//time required in sec
//By Heisenberg's uncertainty principle, E*t=h
del_E=h/(2*%pi*t).............//error in energy in joule
printf("\nminimum error in energy is 4.22... |
8e5be2e9884f1c652fee67be95897194ba5519c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH17/EX17.5/example5_sce.sce | 8d44ba0afab8aafbb0fafe688bb5f4f8798fc602 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | example5_sce.sce | //chapter 17
//example 17.5
//page 7
printf("\n")
printf("given")
f=12*10^3;C1=1000*10^-12;
disp("butterworth second order filter")
C2=C1;
R2=(sqrt(2))/(2*3.14*f*C1)
R1=.5*R2
R3=R2;
fc=1/(2*3.14*(sqrt(R1*R2*C1*C2)));
printf("actual cutoff frequency is %dHz\n",fc) |
399ff78e53f800342fcdb124d2fd00e4b3cc7f47 | cb412970af67cd342235f1ad29668c7ac9a2dfed | /mt_tutorial41/mt_1.sci | 87671acb0de875daa3a1b7418e492fc8ddd5a1c1 | [] | no_license | dowaiko/mt_tutorial41 | cdab43af761897afc940ae64deb7df423bdd5776 | d21788c424e2c1df2ecc46ca6ae270e393433e85 | refs/heads/master | 2020-04-10T13:25:27.584350 | 2019-05-31T13:37:08 | 2019-05-31T13:37:08 | 161,050,504 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,302 | sci | mt_1.sci | clear;
printf('\n');
printf('************** mt_1.sci Start! ****************');
printf('\n');
printf('Enter a File Name of UNIT SPACE Material');
UnitSpaceFile = input('File Name(.xls)?: ',"string");
printf('./' +UnitSpaceFile+'.xls\n');
MT_Mat_Sheets = readxls('./' + UnitSpaceFile + '.xls'); // EXELファイルの読み出し
S... |
66b7c8fe0dca14b060d311a9d2a33168849b9e75 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH1/EX1.4/EX1_4.sce | 4427fa2fa019645e08cf7ee8873abed0ad33775b | [] | 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 | 433 | sce | EX1_4.sce | clc;funcprot(0);//Example 1.4
//Initilisation of Variables
T1=500;.........//tempatarure of plate 1 in K
T2=350;.........//tempatarure of plate 2 in K
d=0.15;.........//diameter of the rod in m
L=1.5;.........//Length of the rod in m
K=0.4;.........//thermal conductivity in W/(m*K)
//Calculations
A=(%pi/4)*d^2;... |
a51442c199295c5667b90e87bc93715da726ed8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH6/EX6.5/Ex6_5.sce | ae8a58134462adb1c17ba8bdfb0d4d11f5690275 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,076 | sce | Ex6_5.sce | //Ex6_5
// For class-AB BJT amplifier
clc
VCC=(10)
disp("VCC= "+string(VCC)+" volts") // Collector voltage supply
VEE=VCC
disp("VEE=VCC= "+string(VEE)+" volts") // Emitter supply voltage
ICQ_0=10*10^(-3)
disp("ICQ_0 = "+string(ICQ_0)+" ampere") // Zero signal collector current
RL=5
disp("RL= "+string(RL)+ ... |
3f655e34e0f37ac5507a720d2a363c7222462948 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH21/EX21.6/Example21_6.sce | 8e3b9ae180ce8d5dcedb4831bba8ee7271e0fa41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Example21_6.sce | clear ;
clc;
// Example 21.6
printf('Example 21.6\n\n');
//page no. 632
// Solution
printf('\n As we know that enthalpy(H) is state variable , therefore change in enthalpy(del_H) depends only on initial and final state , independent of the path taken for process.\n Hence, change in enthalpy for both paths A-B-D and A-... |
a94f597ee260bfd887f73aebedbd3229813710ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH12/EX12.5/exa12_5.sce | 523493127b2c945df52e869083c8264b9676a5ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | exa12_5.sce | clc;
//Example 12.5
//Page No 514
//solution
Ei=5;
Er=3;
disp("Substituting into equation 12-33 yield");
r=Er/Ei;
disp(r,"r = ");
disp("Substituting into equation 12-37 yield");
swr=(Ei+Er)/(Ei-Er);
disp(swr,"SWR = ");
disp("Substituting into equation 12-45 yield");
r1=(swr-1)/(swr+1);
disp(r1,"r = ");
|
1292f43e55d05bfd6f7c3f52385ef6870486c8ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH8/EX8.23/Ex8_23.sce | 831166b9412e6b9d90cd5533b9347edf2fb4071d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Ex8_23.sce | clc
//initialization of new variables
clear
m=250 //tonne Weight
b=64.4 //m wing span
S=541 //m^2 Wing area
c=8.4 //m Wing chord
r=1.1 //kg/m^3 Air density
u=600 //km/h air speed
g=9.8 //m/s^2 Acceleration due to gravity
//calculations
u=u/3.6
Cl=m*g*1000/(0.5*r*u^2*S)
AR=b^2/S
Cla=2*%pi/(1... |
ef783419048c95a13008ea87aba30165807d6970 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH8/EX8.2/Ex8_2.sce | dea278ded808a17093a172acd4a8b1fe7a2e7b8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 900 | sce | Ex8_2.sce |
// Example 8.2
R=0.8; // Resistance
L=1.6; // Inductor
t1=L/R; // Time
// Instantaneous current is ( it= Io*e(-t/2) )
Io=20/exp (0.5); // The current ( at t= -1 & i= 20A )
disp(' The value of current at t... |
af5be6198082492e33d4d1ae2bcee2cc74ef4a5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH14/EX14.5/5.sce | d98ab0a7c11a4d91085f24442c9a79876998b7d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | 5.sce | clc; funcprot(0); //Example 14.5
//Initializing the variables
D = 0.3;
Q = 0.8;
rho = 1.2;
f = 0.008;
L_entry = 10;
L_exit = 30;
Lt = 20*D;//Transition may be represented by a separation loss equivalent length of 20 × the approach duct diameter
K_entry = 4;
K_exit = 10
l = 0.4; // length of cross s... |
edc54c3e3ec29a267edf04f943cf103c08b3892c | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH4/EX4.5/4_5.sci | ec3685f0d869b032c26131eb427be12da637d422 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sci | 4_5.sci | // Calculate the value of resistance after 15s
clc;
R0=29.44;
Rs=100;
t=15;
tc=5.5;
R_15=Rs+R0*[1-exp(-t/tc)];
disp(R_15,'value of resistance after 15s(ohm)') |
a0656a321922fb875b16a0caf4cf127834695652 | c467ffcfa06f9033a1d1d4e4fe4ec455bfeac36d | /Busqueda_secuencial.sce | 0e6f0bc2fc7cf980fd17804f5971a333f8d2c730 | [] | no_license | Juliansrami99/reporte | 81265fee25990625493b5fc06712b1ec0c89a225 | fa0d45aa95296e041c9389375c91db3752c2743f | refs/heads/master | 2022-12-05T00:42:10.923889 | 2020-08-14T03:58:30 | 2020-08-14T03:58:30 | 287,424,904 | 0 | 0 | null | 2020-08-14T03:58:31 | 2020-08-14T02:27:46 | R | UTF-8 | Scilab | false | false | 531 | sce | Busqueda_secuencial.sce | function y = f(x)
y = 2* x(1)**4 + (x(1) + x(2) - 1)**2
endfunction
function Optimo = minSol(a,b,e,m,f,x,d)
dif = b - a
while(dif >= e)
h = dif/(m+1)
u = [a:h:b]
mini = a + h
for i = a:h:m
t_i = a + i *h
if f(x + mini*d) > f(x + t_i* d) then
... |
e09f1a518029f88c6d3b8c7e2adc56881a313df7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH10/EX10.5/Chapter10_example5.sce | 15d505a6e6a07e4567b500d30215002ea0aa6c57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | Chapter10_example5.sce | clc
clear
//Input data
n=30//Efficiency of the reactor in percent
Ef=200//Energy released per fission in MeV
E=200//Energy needed to the city in MW
e=1.6*10^-19//Charge of electron in Coulumb
A=6.023*10^23//Avagadros number
a=235//U235
//Calculations
E1=E*10^6//Energy required to the city in J/s
E2=E1*24*... |
6ff7cba567e773674840647e7bd90dbe52349234 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.10/ex2_10.sce | b9270a2ee637b5528ad443e7834f26a7e136dfd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | ex2_10.sce | Vm=1; //Assuming Vm=1
function y=f(t),y=Vm*Vm*sin(t)*sin(t),endfunction //Defining Voltage Equation
T=2*%pi;
Res=sqrt(intg(0,%pi,f)/(T));
disp("Volts",Res,"Rms value of voltage"); |
d143bdc980fa7138c7a50448a6f0725f940f66ad | 1485852dd59aafc286600126cf832a32e10f117f | /macros/sampletry.sci | 159016c9392c1618b45e5cdbb7704d511d36b2ae | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 175 | sci | sampletry.sci | function sampletry()
// unix('wish /home/codestation/sample_im.tcl');
//exec('/home/codestation/sc.sh');
TCL_EvalFile('/home/codestation/sample_im.tcl');
endfunction
|
1262a30015435f252c19f6531859d4921707a363 | e46eeada1bd3e461d9e4c2913bb12e406391f603 | /Labdig/P12019-1.sce | e994bd59c363bb67110ff18402855b5675227ec3 | [] | no_license | JoseColombini/Poli | fcc73dcf863256055ff0eb5202617ebb3434fcf3 | c913de4597496164646b262fe2a66f1fdebc05b7 | refs/heads/master | 2023-03-11T21:49:04.619768 | 2023-03-04T20:41:46 | 2023-03-04T20:41:46 | 203,501,300 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | P12019-1.sce | Vl = 380
Vf = Vl/sqrt(3)
Zc1 = 36+%i*32.5
I = Vf/Zc1
S = 3*Vf*I'
modS = polar(S)
Fp = real(S)/modS
Qc = imag(S) -real(S)/0.92*sqrt(1-0.92^2)
S = S - Qc*%i
I = (S/(3*Vf))'
//W1 = Vf*I*expm((acosd(0.92) + 30)*%pi/180)
W1 = (Vl*expm(30*%pi/180*%i))*I'
W2 = (Vl*expm(-30*%pi/180*%i))*I'
Zcap = - abs(Vf)^2/(2*%pi*60*Qc/... |
3bd4754494a17016e15bb1ab1090c4bd4453422b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH4/EX4.1/4_1.sce | bf643cc0578977a75b4f290c8ee41a0819dfa2ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | 4_1.sce | clc
//Intitalisation of variables
clear
v= 240 //ml
p= 1.25 //atm
p1= 0.75 //atm
n= 2
//CALCULATIONS
v1= v*p/p1
dv= v1-v
V= n*v1
//RESULTS
printf ('Increase in volume = %.f ml',dv)
printf ('\n Final volume = %.f ml',V)
|
682a8dc8a9c4496f1962da3e7d63e5b093043df2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH16/EX16.6/Ex16_6.sce | 0c4f47f3ed058071a1d5f6ce069cc887ba7535fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,006 | sce | Ex16_6.sce | //Variable declaration:
T1 = 400.0 //Temperature of fluid entering the shell ( F)
T2 = 250.0 //Temperature of fluid leaving the shell ( F)
t1 = 100.0 //Temperature of fluid entering the tube ( F)
t2 = 175.0 //Temperature of fluid leavin... |
52d5dabda112a8cf5b77387ba2a2e0be5774a06b | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH5/EX5.1.b/51b.sci | 149c1f005e6d37577635713251357b31695a3529 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sci | 51b.sci | //chapter 5 example 1//
clc
clear
//band gap energy=Eg,voltage applied=V,total effeciency of an injection laser=nT//
Eg=1.43;//in ev//
V=2.5;//in volts//
nT=0.18;
ne=((nT*Eg)/V)*100;
printf("\n external power efficiency=%f percent\n",ne) |
627960158fb8807edc5f7fd2ca43eacce90c0eac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH6/EX6.3/6_3.sce | 5d481318576b42dd34ccbb67aac0baa198904450 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | 6_3.sce | //Example 6.3
//Least Square Method
//Page no. 217
clc;close;clear;
x=[1,2,3,4,5,6,7,8];
y=[3,3,4,5,5,6,6,7];n=1;
printf('\t 2\t\t 2\n n\tx\tx\ty\txy\ty\n--------------------------------------------\n')
x1=0;x2=0;x3=0;x4=0;x5=0;x6=0;
for i=1:8
printf(' %i\t%i\t%i\t%i\t%i\t%i\n',n,x(i),x(i)^2,y(i),x(i)*y(... |
ed4f642cfc05caab6869a7983eb9476664131d47 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.44/Ex2_44.sce | 9a77a9d08fd499ec60afcc45490a4fc7124011cb | [] | 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 | 233 | sce | Ex2_44.sce | errcatch(-1,"stop");mode(2);//Caption:Find the armature voltage drop
//Exa:2.44
;
;
V=440;//in volts
N_1=1000;//in rpm
N_2=1050;//in rpm
r=N_1/N_2;
V_drop=2*(V-V*r)
disp(V_drop,'Armature voltage drop (in volts)=')
exit();
|
f93c19773ca5a57b9fbba1f501ceae244315d133 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH8/EX8.6/Chapter8_Example6.sce | 28adb04bc72aa5249983e17d296d7c9cc380e870 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,234 | sce | Chapter8_Example6.sce | //Chapter-8, Example 8.6, Page 346
//=============================================================================
clc
clear
//INPUT DATA
L=0.3;//Height of the duct in m
W=0.6;//Width of the duct in m
Ts=15;//Surface temperature in degree C
Ta=25;//Temeprature of air in degree C
//CALCULATIONS
Tb=(Ts+Ta)/... |
12a24e1b90c0845c18c038852c8d711d0d008105 | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH4/EX4.1/1.sce | 1b30797fd2869f16c07315ca87da6d4305144135 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | 1.sce | // Caption: Finding peak mmf and flux
clear;
close;
clc;
function [F_peak]=mmf(k,N,p,I)
F_peak=(4*k*N*I)/(%pi*p);
endfunction
f=mmf(.9,46,2,1500);//peaf fundamental mmf
B_peak=(4*%pi*10^-7*f)/(7.5*10^-2);//peak flux density
phy=2*B_peak*4*0.5;//flux per pole
E_rms=sqrt(2)*%pi*60*.833*24*2.64;//rms vol... |
83f33394a776dbb874fc4e4f7ba700cddce49377 | 99b88a8b86c9ba133f1838fdb89798ab0121134a | /app/pid_calculate.sci | ca33bde738c53ba8b903af28e91a3d548aa1d186 | [] | no_license | feng42/Interface_scilab_mbdyn | aae1dd4d7ad13c4440be8ac4e6cb9d5d42cea512 | 604c543f8033fd5e0eed175dc66e5d0e44f5197e | refs/heads/master | 2020-04-26T21:35:30.077586 | 2019-04-27T05:32:31 | 2019-04-27T05:32:31 | 173,845,932 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,469 | sci | pid_calculate.sci | function [yout,last] = pid_calculate(pid_cfg, pre, cur, trg)//,u_last)
_dt = pid_cfg(1);
_max = pid_cfg(2);
_min = pid_cfg(3);
_Kp = pid_cfg(4);
_Ki = pid_cfg(5);
_Kd = pid_cfg(6);
_pre_error = pre(1,:);
_integral = pre(2,:);
size(_integral)
input_size = size(trg);
nums ... |
7890cd917e8771b3fc085b02ab26b69fd4e9dd2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH6/EX6.2/Ex6_2.sce | 9944263ea24b94d618f96209bf381da4d12da0c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,859 | sce | Ex6_2.sce | //Chapter 6:Induction Motor Drives
//Example 2
clc;
//Variable Initialization
//Ratings of the Delta connected Induction motor
f=50 //frequency in HZ
Vl=2200 //line voltage in V
P=8 //number of poles
N=735 //rated speed in rpm
//Parameters referred to the stator
Xr_=0.55 //... |
80e13222d73429529c61429e3d7969111201aa94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH14/EX14.2/14Q2.sce | 79001ee8cfb8e9a146383e5d99b81b33219a9e85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | 14Q2.sce | clc
G=16
H=7
c=30
Ta=0.65*G*H*(tand(45-c/2))^2
A=Ta*3*3/4
B1=Ta*3-54.61
C=Ta*4*4/4
B2=Ta*4-97.08
s=2
As=A*s
Bs=(B1+B2)*s
Cs=C*s
printf( 'The strut loads at level A = %f kN\n',As)
printf( ' The strut loads at level B = %f kN\n',Bs)
printf( ' The strut loads at level C = %f kN',Cs)
|
1bd821df939a818ae93c12b7882ade29f0f783d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH2/EX2.16/2_16.sce | 7a21c59c091b90302ab163c31ce87537ec114eed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | 2_16.sce | // To determine the current in the 2 ohm resistor using superposition theorem
clc;
clear;
// Voltage Sources
V1=5;
V2=10;
// Since both Voltage sources are connected in parallel and are unequal
R1=%inf; // As seen by 5V Source
R2=%inf; // As seen by 10V Source
I1=V1/R1; // Current Drawn from 5V supply
... |
18d7205877d37e94726e90cbb9f8d70219a1fad4 | 786995be3311f963d1005b87d1f1f84548cce97e | /Ec.Lineales.sce | 9a47c5b25186d5d989bea51af3f4539045c3e479 | [] | no_license | paez74/NumericMethods | 914473a1aac1fee26c11f45b222c6250c15d90ad | d051a926931996d338d3df7b035e494a45c1d3e0 | refs/heads/master | 2020-05-18T18:34:08.886882 | 2019-05-06T14:07:56 | 2019-05-06T14:07:56 | 184,589,853 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,512 | sce | Ec.Lineales.sce | function dX = Montante(MAT)
//Inicializar el pivote en 1
dPivAnt = 1
//Recorrido por renglones
for i = 1: size(MAT, 1)
//Recorrido por columnas
for k = 1: size(MAT, 1)
if i <> k
//Recorrido por columnas (Las qu... |
0b2ef2f23836473a177ef58b420f7e59e6b6e9bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH4/EX4.11/4_11.sce | 740616998b5388c4d534e46397d28ea7f7ba0d04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | 4_11.sce | //Eg-4.11
//pg-163
clear
clc
// Secant Method
clear ;
close ;
clc ;
deff('[z]=f(x)','z=1.55*x^(-0.5)-7.2*x+8.1*x^2-4*x^3-1.3');
iter=1;
eps=10^(-10);
x1=0.5;
x2=1;
imax=20;
Abserr=100;
while Abserr>eps&iter<imax
//printf('iteration number %i\n',iter);
xnew1=x2-feval(x2,f)*(x2-x1)/(fev... |
d361f8db50ee735e7021c0a5909f8415d32e19d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH6/EX6.4/Ex6_4.sce | 784243f68f3e9f665491462cd7f593122f1b0b8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Ex6_4.sce | //EX6_4 PG-6.34
clc
Vbb=20;
Ct=0.1e-6;//capacitance
Rt=10e3;//resistance
Vv=1.5;//valley potential
Vd=0.7;//cut in voltage of diode
n=0.6;//stand off ratio
Vp=n*Vbb+Vd;
disp("We know that Vp=Vbb(1-exp(-T/(Rt*Ct)))")
x=(Vp-Vv)/Vbb;//x=(1-exp(-T/(Rt*Ct))
y=1-x;//y=exp(-T/(Rt*Ct)
z=Rt*Ct;
T=-log(y)*z;//time... |
3d954d5c826082dc24d71d5c61984c822566d3ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH9/EX9.1/Ex9_1.sce | c579c715af79dc749e27343c881c46fd9cf0b2d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | Ex9_1.sce |
clc
// given that
E=110*10^3 //Young's modulus of Copper in MPa
sigma=276 //Applied stress in MPa
l_o=305 //Original length in mm
printf("Example 9.1\n")
del_l=sigma*l_o/E //Deformation
printf("\n Elongation obtained is %.2f mm \n",del_l)
|
d7c4d0b58febfc7f34e5b8a7e0c1bf20f591bb50 | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/demos/xls_link.dem.gateway.sce | 5e1d56b2138564e713fea0c4865b44b1d9e85dbb | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | xls_link.dem.gateway.sce | // ====================================================================
// Copyright DIGITEO 2010
// Allan CORNET
// ====================================================================
demopath = get_absolute_file_path("xls_link.dem.gateway.sce");
subdemolist = ["demo xls_link set/get datas" ,"xls_link_setget_d... |
12c7a3f3815593bc78133fd2ec9e24b96decb975 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/3_07.sci | 0a44b164ac84d55f9bf6ef3b92ee6a90141e1202 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sci | 3_07.sci | //Width of gate(in m):
w=5;
//Depth of water(in m):
D=4;
//Density of water(in kg/m^3);
d=999;
//Accelration deto gravity(in m/sec^2):
g=9.81;
//Value of a (in m):
a=4;
//Point where force acts(in m):
l=5;
|
bd135b58fbaff2b3f984a97f1d95b1e73fb54389 | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_29/results/29/g20-4/result4s0.tst | a930d6df8349d7df805b4c5b708a4e5b813a2236 | [] | no_license | Tiburtzio/TFG | 3132fd045de3a0e911e2c9e23e9c46e1075a3274 | 864ce4dd00b7f8fe90eafa65b11d799c5907177e | refs/heads/master | 2023-01-03T12:44:56.269655 | 2020-10-24T18:37:02 | 2020-10-24T18:37:02 | 275,638,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | tst | result4s0.tst | @relation unknow
@attribute left-weight real[1.0,5.0]
@attribute left-distance real[1.0,5.0]
@attribute right-weight real[1.0,5.0]
@attribute right-distance real[1.0,5.0]
@attribute class{L,B,R}
@inputs left-weight,left-distance,right-weight,right-distance
@outputs class
@data
R R
R R
R R
R R
R R
R R
R R
L L
B L
R R
R... |
3e24cb3272f97197f47fa98b825ed6d633c34919 | 59ea89f1162f8048d9f7f10f6e6a3a1567c56607 | /expe/eyes/_old/presentation-v2019 final/spatial_attention_eyes_block.sce | 3e9ee4d0b0070656ccade304a3f7612606662008 | [] | no_license | elshafeh/own | a9b8199efb3511aa1b30b53755be9337d572b116 | ef3c4e1a444b1231e3357c4b25b0ba1ba85267d6 | refs/heads/master | 2023-09-03T01:23:35.888318 | 2021-11-03T09:56:33 | 2021-11-03T09:56:33 | 314,668,569 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,591 | sce | spatial_attention_eyes_block.sce | # header
scenario = "spatial attention block";
write_codes = true; # send codes to output port
active_buttons = 2;
button_codes = 4, 8;
default_font_size = 30;
default_text_color = 255,255,255; # white
default_background_color = 0,0,0; # black
$set_comb = 4;
$eye_cond ... |
8f3003c7909e29b89cf11d574c2ea4b51262c9fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.64/example4_64.sce | 7debd4aff7ac595fdc07635acfe35a41423b0bc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | example4_64.sce |
//example 4.64
//calculate flood magnitude with return period of 500 years
clc;funcprot(0);
//given
T1=50;T2=100; //Return period
F1=20600;F2=22150; //Peak flood
y100=-(2.303*log10(2.303*log10(T2/(T2-1))));
y50=-(2.303*log10(2.303*log10(T1/(T1-1))));
y=(F2-F1)/(y100-y50);
T=500;
y500=-(2.3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.