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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22502714cc048759c1452739854690be89ea035d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH6/EX6.10.1/EX6_10_1.sce | 3fa2ab27ed1d38f041a78d325605545d254fdc99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX6_10_1.sce | //Example No. 6.10.1
clc;
clear;
close;
format('v',6);
n=10;//no. of elements
//d=lambda/4;(spacing)
dBYlambda=1/4;///(Spacing/wavelength)
//Broadside array
D=2*n*dBYlambda;//unitless(Directivity)
D=10*log10(D);//dB(Directivity)
disp(D,"Directivity for broadside array in dB : ");
//Endfire array
D=4*n*dBYl... |
1d6791ac2e5d8945b6694dd35e500b138b2d8644 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH9/EX9.13/Example9_13.sce | f66e3f61fef7bcafd0d1c1a28989fe94883d7c57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | Example9_13.sce | clear;
clc;
// Example: 9.13
// Page: 357
printf("Example: 9.13 - Page: 357\n\n");
// Solution
//*****Data******//
Vl = 90.45*10^(-6);// [molar volume of liquid butadiene, cubic m/mol]
fsat = 4.12;// [bar]
P = 10;// [bar]
Psat = 4.12;// [bar]
T = 313;// [K]
R = 8.314;// [J/mol K]
//************//
... |
afa7b92924495f0c3470116352c67736f544e44c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH8/EX8.10/Ch08Ex10.sce | d2b16d10eae5f3c33543f00d897b4aca55b5282e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,183 | sce | Ch08Ex10.sce | // Scilab code Ex8.10 : Pg:335(2008)
clc;clear;
function [bini]= decimal_binary(ni) // Function to convert decimal to binary
bini = 0;
i = 1;
while (ni <> 0)
rem = ni-fix(ni./2).*2;
ni = int(ni/2);
bini = bini + rem*i;
i = i * 10;
end
endfunction
function [deci]... |
ddf6f07eba8973074a84fa2362a80c7f5f3cc3a0 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/magisch-vierkant-herkennen/edit-me.sce | 34e3ed83c4f8b6ce4c75395e138437d03d50c41c | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | edit-me.sce | function [r] = solve(ns)
// Gegeven een matrix ns.
// De functie geeft %t als ns een magisch vierkant is, %f als dat niet zo is
r = %t
// numbercount
for (num = 1:9)
numcount = 0
for (i = 1:size(ns,"r"))
for (j = 1:size(ns,"c"))
if (ns(i,j) == num) then
... |
1287cabad2349657f70f9bfd32aad8b00b641d72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.11/Ex7_11.sce | e1ad0bce1b4f76fbfc0697a1be8bcc6c5de16a2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,409 | sce | Ex7_11.sce | //Example 7.11
//Poles and Zeros of Tape Drive System.
//Also, Transform the system into modal form
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space matrices of Tape Drive System
F=[0 2 0 0 0;
-0.1 -0.35 0.1 0.1 0.75;
0 0 0 2 0;... |
fa92c28532a7d5a85f1f017d8ec5bc32c5f6906c | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH11/EX11.6/example_11_6.sce | 7cb20f7dcface9b3d8bd3669bd72b91d3caef04f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | example_11_6.sce | //example 11.6
clc;
clear;
disp('To analye the circuit we consider x = X(t-τ) where τ is the cummulative propagatin delay from input side up to X.For all possible combbinations of xAB we get X and Y following the logic relation as shown in the circuit and prepare the following Karnaugh map');
disp('Karnaugh map');... |
3829e00d2275b448b193365c9de53eb0f27be9b0 | d56141249002a5da7c4a2641dbdfc609809046a8 | /WT/surface_mat_r.sce | 5b2d1494325dd8fbf6b70fbbc1b91335a0691321 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,399 | sce | surface_mat_r.sce | // This code helps you generates the surface in Wannier Tool matrix by assigning
// the slab axis in r-space.
clear; clc; exec(PiLib);
// parameters =====================================
lat_vec=..
[ 6.28893418 -0.50705784 -1.78863214
0.00000000 6.30934241 -1.78863193
0.00000000 0.00000000 12.02232134
]*0... |
ed68771c49bb0d5f1bde495130f5c83a44d9353f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH6/EX6.11/EX6_11.sce | 10f7209bc7b60a815227e2a6eb6b7791ce23e644 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | EX6_11.sce | //Chapter 6, Example 6.11, page 262
clc
//Initialisation
p1=20 //transmitter power
g=6 //gain
h1=20 //height in metre
//Calculation
ct=p1/10 //Power gain
ch=(h1*30**-1)*... |
9bd18706b0305613c25e7881c8cef9bb1a547eb4 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/SCHI/HL35AUC/ATWM1_Working_Memory_MEG_HL35AUC_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | b4864e64cbd86873346dadcb54bbd9a955c1b494 | [] | 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,600 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#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... |
2dc365eca5d43d9396b42680ebab1b9bc7712fdf | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_c_aspfin_d/~BivLCM-SR-bfi_c_aspfin_d-PLin-VLin.tst | ea3a146df8f11cd19a290d013c5fca02f6267f90 | [] | 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-bfi_c_aspfin_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.304582D+00
... |
3eb4437f3e41372835af7a9dc280166b94f78d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.39/example1_39.sce | 95d38d922122ee9e03e7f4d31b35ca9f3a1e8ac4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | example1_39.sce | clc
// Given That
lambda = 5.896e-7 // wavelength of light in meter
D = 4e-3 // diameter of 7th brighter fringe in m
R = 1 // radius of curvature in m
// Sample Problem 39 on page no. 1.54
printf("\n # PROBLEM 39 # \n")
n = 7 // for seventh brighter fringe
mu = 2*(2*n-1)*lambda*R / D^2 // calculation for refractive i... |
8b00386afacc26ac244e4c7718b655bce877d3a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH9/EX9.12/Example9_12.sce | 808a71246402e3ff512d55f4dd6407f9b684cdb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Example9_12.sce | //Chapter-9,Example9_12,pg 9_46
V=250
Ra=0.5
Rsh=250
Ia1=20
Ish1=V/Rsh
Eb1=V-Ia1*Ra
N1=600
N2=800
//T1=T2
//Ish1*Ia1=Ish2*Ia2
//Ish2*Ia2=20............(1)
//(N1/N2)=(Eb1/Eb2)*(Ish2/Ish1)...........(2)
//using (1) and (2)
//240*(Ish2^2)-187.5*Ish2+7.5=0.........(3)
b=-187.5
a=240
c=7.5
Ish2=(-b+sqrt(((... |
72b3385dc7805c62b13d4cfeb8d8f905befb79d0 | 18cbceafa51692cec0d288cd11a9d4024eacd919 | /02/zxg.tst | 8263c9da79f5690f9df0ca9d9d0ac320378d8b3c | [
"MIT"
] | permissive | hw4282/nand2tetris | a4f95dba8fbe779974befa8d422be7b9be9e0f28 | 87a4ac19595871f3e6b695dd7371898d1ea2f896 | refs/heads/master | 2021-04-28T09:09:01.446446 | 2018-02-26T06:03:38 | 2018-02-26T06:03:38 | 122,032,122 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | tst | zxg.tst | load Zxg.hdl,
output-file Zxg.out,
compare-to Zxg.cmp,
output-list a%B2.16.1 b%B2.1.2 out%B2.16.1;
set a %B0000000000000000,
set b 0,
eval,
output;
set a %B0000000000000000,
set b 1,
eval,
output;
set a %B1111111111111111,
set b 0,
eval,
output;
set a %B1111111111111111,
set b 1,
eval,
output; |
3edf903dc7554cbadcadffea29b314e84ecbe767 | 9b60b7963181dd94c8d10cdb75a83bc010957e71 | /taf_monitor_code/taf_monitor/tests/acceptance/15-civil_tests.tst | 4536854479a1e7252d91e01d9ecb15167da614a9 | [] | no_license | alanyon/python | 577773100eac269750925c1f924edc51060ca865 | cbfe0f34fe61ed0495572fa05ea6bf4293ef15bb | refs/heads/master | 2023-07-13T17:27:59.555648 | 2021-08-09T15:59:08 | 2021-08-09T15:59:08 | 393,341,633 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | tst | 15-civil_tests.tst | {
"EGTE 181339Z 1815/1818 30006KT 9999 BKN045": {
"Known cloud failure": {
"metar": "EGTE 181450Z 27006KT CAVOK",
"test time": "20200618T1500Z",
"expected": "EGTE TAF bust by cloud"
}
},
"description": "Tests for cases highlighted as failing."
}
|
b41e22e040d926ae95746e5c44c41022b0640af1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH7/EX7.5.6/ex_7_5_6.sce | 8bd0c525ab579959022771e57491779fc7c137d4 | [] | 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 | 296 | sce | ex_7_5_6.sce | errcatch(-1,"stop");mode(2);//Example 7.5.6: resistance
;
;
//given data :
A=100.24;// in ohm
B=200;// in ohm
a=100.31;// in ohm
b=200;// in ohm
S=100.03;// in micro-ohm
r=700;// in micro-ohm
X=((A/b)*S)+(((r*b)/(r+a+b))*((A/B)-(a/b)));
disp(X,"the unknown resistance,X(micro-ohm) = ")
exit();
|
49dd4b0c8af95cecb3e267b03d2e365f1bd1d96b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.6/Ch017Ex6.sce | 186b6cadf2d8dd5a70648719145f70911950d1a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | sce | Ch017Ex6.sce | // Scilab code Ex17.6 : Pg:891 (2011)
clc;clear;
nucleus = cell(4,3);
nucleus(1,1).entries = 'Si';
nucleus(1,2).entries = 14;
nucleus(1,3).entries = 29;
nucleus(2,1).entries = 'H';
nucleus(2,2).entries = 1;
nucleus(2,3).entries = 2;
nucleus(3,1).entries = 'P';
nucleus(3,2).entries = 15;
nucleus(3,3).entries ... |
da4f64b9a198b00ff367c3705dc9d8c13720f2a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH11/EX11.21/Example11_21.sce | 62d76e6ded3b8e747663efc68a74eb87c807ff08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 807 | sce | Example11_21.sce | //Example 11.21
clear;
clc;
VI=12;
fs=100*10^3;
Vsm=1;
L=100*10^(-6);
C=300*10^(-6);
ESR=0.05;
dcHCO=VI/Vsm;
w0=1/(sqrt(L*C));
f0=w0/(2*%pi);
wz=1/(ESR*C);
fz=wz/(2*%pi);
Q=1/(ESR*sqrt(C/L));
fx=fs/5;
wx=2*%pi*fx;
f1=f0;
f2=f1;
f3=fz;
f4=2*fx;
HCO=(VI/Vsm)*... |
2162be924fb4fc189747634d7d921817558a3659 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH9/EX9.2/9_2.sce | 60e412b9918080b1b90a12b5447c1ba450993cd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | 9_2.sce | //Find Average and Boundary area
//Exa:9.2
clc;
clear;
close ;
n=2^(5-1);//astm no. = 5 in grain/inch^2
//Lineal and Areal magnifications are related as *100 Lineal = *10000 Areal
x=n/(.01*.01);//in grain/inch^2 at 1 x.
a=1/x;//average area in inch^2
a1=2.54*2.54*a;//average area in cm.^2
disp(a1,"Average are... |
f2223d58959660acae1642189e430bd3e205a589 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH14/EX14.1/ex14_1.sce | 9733fa0f21acedd8d1bb81fa38f7f7320b084659 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | ex14_1.sce | clc;
clear all;
m = 9.1e-31; // Mass of an electron in Kg
e = 1.6e-19; // Charge of an electron in Columbs
h = 6.626e-34; // Planck's Constant
V1 = 150; // Potential difference in Volts (case1)
lambda1 = h/(sqrt(2*m*e*V1));
disp('m',lambda1,'The de-broglie wavelength when V=150 volts is ')
V2 = 5000; // Poten... |
846ce021fde6286ae659c373b3166ccc67dd5ff6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH5/EX5.42/Ex5_42.sce | 139e323058de159dfb43e8183e9399ed9107a5b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 829 | sce | Ex5_42.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 5.42\n\n\n");
// Chapter 5 : Properties Of Liquids And Gases
// Problem 5.42 (page no. 227)
// Solution
//Because the process is irreversible,we cannot show it on the Mollier diagram.However,the analysis of problem 3.22 for the nozzle is still valid,and... |
1424e354a72f125b94072e04956b621c70f8119f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.29/example29.sce | 599c3eb2e7d1b2b4c98ac01595cd53d334687635 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | example29.sce | //Chapter-11 example 29
//=============================================================================
clc;
clear;
//input data
CR = 50;//compression ratio
PW = 2;//pulse width in us
//Calculations
CPW = PW/CR //compression pulse width in us
BW = 1/CPW //compression band width in Mhz
//output
mprintf('co... |
73fdba089ff45b716c1eb12d0889c5086fcf91f2 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_n_hrz_ind_d/~BivLCM-SR-bfi_n_hrz_ind_d-PLin-VLin.tst | 591ebc7bd7060e105a941f60c0e1b8f1151269d3 | [] | 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-bfi_n_hrz_ind_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.482960D+00
... |
77021245ab1f53192f5c2b00298970e511c2abb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.11/ex8_11.sce | 9ebcfa114506d4b5d0c4ea6f0a5e688723f695b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 862 | sce | ex8_11.sce | //Page Number: 8.12
//Example 8.11
clc;
//We use, F=(F1+(F2-1)/G1)
//Given
FA=1.5;
GA=10, //dB
GAA=(10^(GA/10));
FB=3; //dB
FBB=(10^(FB/10));
GB=15, //dB
GBB=(10^(GB/10));
//Case 1: Amp A followed by Amp B
F11=FA;
F12=FBB;
G11=GAA;
F1=(F11+(F12-1)/G11);
disp(F1,'Gain when Amp A followed by... |
5bf566f7c44d99a381212b570d6f8336f46037c7 | ad83b0d5959ff5ccc6ccffe929c9c007345d02c0 | /NovaSolucaoDoSistema.sce | 15855885a14b363a6f3a1233a58d03b0a10a7dae | [] | no_license | rodolfostark/Experimento3CN | 5146116b866a7e110ccef5ccff918730683f569a | 8253245c50d76917d8442481b40fb039789d8aef | refs/heads/master | 2020-03-28T21:16:03.786439 | 2018-09-30T23:01:32 | 2018-09-30T23:01:32 | 149,142,776 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,371 | sce | NovaSolucaoDoSistema.sce | clear
exec('C:\Users\bennb\OneDrive\Área de Trabalho\Experimento3CN\tabelaComPosicoesDeCadaEsfera.sce');
exec('C:\Users\bennb\OneDrive\Área de Trabalho\Experimento3CN\tabelaComAngulosDeCadaEsfera.sce');
exec('C:\Users\bennb\OneDrive\Área de Trabalho\Experimento3CN\calculadoraDeVelocidades.sce');
exec('C:\Users\be... |
6c91c7ac2906b53ea4484929ff1cab0dd29e9fea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH1/EX1.3/exa_1_3.sce | 25fffe63420b89887a578143ae0d5294c33d078f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,429 | sce | exa_1_3.sce | // Exa 1.3
clc;
clear;
close;
// Given data
format('v',9)
V_CC= 12;// in volt
V_EE= 12;// in volt
V_BE= 0.7;// in volt
R_C= 10;// in k ohm
R_C= R_C*10^3;// in ohm
R_E= 10;// in k ohm
R_E= R_E*10^3;// in ohm
R_B= 20;// in k ohm
R_B= R_B*10^3;// in ohm
Bita_dc= 75;
// Part (i)
//Ignoring V_BE
I_T= V_EE/... |
ba3b68d5051975523480bbb9363183bdf4e796d4 | 1ec9c08a5d53f6739297be0e229c5e242188e50a | /ratingsv2.sce | 960683e29b0693ba9f1f31e650b3840d9ea99698 | [] | no_license | jencwhitman/Attentional-Blink-Task | 8a9a5bac5d0fe7e4815d035ab557ce81c754220e | 699da75c65bb6e5b5ae4121feee35ba460564afc | refs/heads/master | 2020-03-06T19:26:35.818395 | 2018-03-27T18:30:12 | 2018-03-27T18:30:12 | 127,027,963 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,222 | sce | ratingsv2.sce |
scenario = "AB ratings on nbs presentation";
scenario_type = trials;
pcl_file="ratingsv2.pcl";
# the 2 mouse buttons
active_buttons = 2;
button_codes= 1,2;
default_background_color=255,255,255;
default_font="arial";
default_font_size = 14;
default_text_color = 0,0,0;
begin;
picture... |
8f5abb92e6a31ad9b34caf5911b176a5f594b06c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH3/EX3.29/ex_3_29.sce | 586876e9d115390e5d381c4aaea91b2096992c9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | ex_3_29.sce | //Example 3.29 : the number of atoms
clc;
clear;
close;
//given data :
d=7.87;//in g/cm^3
A=55.85;
a=2.9*10^-8;// in cm
N=6.02*10^23;//avogadro's number
n=(d*a^3*N)/A;
disp(round(n),"the number of atom,n = ")
|
b231703d7bdf386434b6208e6076d8e1e1297fc7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_P._V._Naik_710.zip/Engineering_Physics_P._V._Naik_710/CH2/EX2.7/2_7.sci | cc23fd08519c55a8f5ffc20b0f07684129887f43 | [] | 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 | 345 | sci | 2_7.sci | errcatch(-1,"stop");mode(2);;
;
//To determine the atomic radius
//Free volume=a^3-[(4/3)*pi*r^3];for sc,a=2r
//Therefore free volume =(2r)^3-[(4/3)*pi*r^3]
fv=30.48*10^-30; //free volume per unit cell
r=(fv/(8-(4/3)*%pi))^(1/3)*(10^10) //atomic radius
printf("The atomic radi... |
23513f27d048a59c5ea5c81d70b5fc32959db216 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.13/2_13.sce | 8e980f6f434494fdab5ac08f604103473f893e5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | 2_13.sce | //Example 2.13
printf("Example 2.13 \n");
L=1 //assume [m]
k1=43.03 //[W/(m.K)
k2=0.07 //(W/m.K)
T1=423 //inside temperature [K]
T2=305 // [K]
r1=0.0525 //[mm]
r2=0.0575; //[m]
r3=0.1075 //[m]
//r3=r3/1000; //[m]
Q=(2*%pi*L*(T1-T2))/(((log(r2/r1))/k1)+((log(r3/r2))/k2)); //Heat... |
d7ec6f0addf4b8512a0a6dfbf3b610689347950b | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH12/EX12.13/ex12_13.sce | 3ae89cbf6c29011ec060971d9121074d63d2ffd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex12_13.sce | A=[0 1;-1 -2];
B=[1;-1];
P=cont_mat(A,B);
disp(P,"Controllability Matrix=")
d=determ(P)
if d==0
printf("matrix is singular, so system is uncontrollable");
else
printf("system is controllable");
end; |
1b31bdbc875978e5f494ee9a376a066c5ae40129 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.2/EX8_2.sce | f5ea0b8ad8c2b09b458fa64d5247cd78672ec8b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | EX8_2.sce | //example 8-2 pg no -511
Ro=600;
Fc=940;
L=Ro/(%pi*Fc);
C=1/(%pi*Ro*Fc);
disp('ii) INDUCTANCE (L) is = '+string ([L]) +' H ')
disp('ii) CAPACITOR (C) is = '+string ([C]) +' F ')
|
5f05969394f631ed2aa7859402fcf9d83f801911 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH7/EX7.3e/eg7_3e.sce | 228553d500914dbc6ca494e989e7b6ca3e805198 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | eg7_3e.sce | X = [5 8.5 12 15 7 9 7.5 6.5 10.5];
num = 9;
meanX= mean(X);
X2 = X^2;
s2= (sum(X2)- (num*(meanX^2)))/(num-1);
s= sqrt(s2);
tval = cdft("T", num-1, 0.975, 0.025);
//disp(tval)
upperlim = meanX + (tval*s)/sqrt(num);
lowerlim = meanX - (tval*s)/sqrt(num);
disp(upperlim, "to ",lowerlim,"The 95% confidence inte... |
f94778fe12c038f7e83d8c4243d060016b4f9c70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH22/EX22.1/Ex22_1.sce | e457b3c8908b69f980d09409e6c891b283036f6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | sce | Ex22_1.sce | clc
d1 = 10 // min. dia of cutter in mm
d2 = 60 // max. dia of cutter in mm
v = 30e3 // operating speed in m/min
n1 = v / (%pi * d2) // n_min in rpm
n2 = v / (%pi * d1) // n_max in rpm
phi = (n2 / n1)^(1/5)
spindle_speeds = zeros()
for i=0:5
spindle_speeds(i+1) = phi^i * n1
end
cutter_dia = v ./ (%pi * s... |
17234dc24c05a56b4b659702d078b569222aeb7e | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH8/EX8.18/ch8_18.sci | e0a0b31c692b069f204866e5d7e9672e79942d5e | [] | 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 | 295 | sci | ch8_18.sci | //find the change in the poweer angle;
clc;
Pe=4000;
V=400';
pf=.8;dl=acosd(pf);
Ia=Pe/(sqrt(3)*V*pf);
Vt=V/sqrt(3);
Xs=25;
Ef=Vt+j*Ia*complex(cosd(-dl),sind(-dl))*Xs;
a=atand(imag(Ef)/real(Ef));
dl=asind((Pe/3)*Xs/(Vt*abs(Ef)));
ang=dl+a;
disp(ang,'change in power angle(deg)'); |
10d33c290194f3d1c7c914e1a2d4d67873872a82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH16/EX16.22/16_22.sce | 06861754c3011131826a09d2a0422614fdd43780 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 16_22.sce | clear
clc
V=33e3
L=10
Ce=.8
data=[
4e6 .8 10
2e6 .8 6
1e6 .8 8
]
rho=.0286*1e3
P=2000
q=0
for i=1:3
I(i,1)=data (i,1)/(sqrt(3) * V * data(i,2))
E(i,1)= I(i)^2 * rho*3* data (i,3) * 1e-3
q=q+E(i)
end
Q=q*365*Ce
a=sqrt(Q/P)
mprintf("a=%.2f sq mm", fix(a*100)/100)
|
788403568d79a096c8b168a6ceea50f22979014e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.3.1/Ex3_3.sce | 06e8dd6a394c23586c95081701472c155e5367e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | Ex3_3.sce | clear
clc
P1=2.75*100; //Pressure in kPa
V1=0.09 //Volume in m^3
T1=185+273; //Temperature in Kelvin
T2=15+273;
R=0.29;
Cp=1.005;
Cv=0.715;
m=(P1*V1)/(R*T1);
V2=(T2/T1)*V1;
W=P1*(V2-V1);
printf('The Work Done: %2.3f kJ',W);
printf('\n');
Q=m*Cp*(T2-T1);
printf('The Heat Transfer: %2.3f kJ',Q);
prin... |
5cb848519560da79048b08765d90e94c8ecfe008 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH9/EX9.11/Example9_11.sce | 3534149e51c23c5d3af632ff18c1ec2dc1a8cb8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Example9_11.sce | //Exa 9.11
clc;
clear;
close;
//Given data :
v2byv1=25/23.25;//ratio(By Kirchoff law)
v3byv1=1.65/1.1625;//ratio(By Kirchoff law)
Vbyv1=1+v2byv1+v3byv1;//ratio(Final voltage between line conductor & earth)
v1byV=1/Vbyv1;//ratio
v2byV=v2byv1*v1byV;//ratio
v3byV=v3byv1*v1byV;//ratio
eff=1/3/v3byV*100;//string ... |
d0f90f8564f589d278fdfaf8df0b6bab20e17177 | de21f9075f55640514c29ef0f1fe3f0690845764 | /unit/big-int/number.tst | e10157ec0d32f3254abc730d9c5e7fe414903623 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-4-Clause"
] | permissive | diffblue/cbmc | 975a074ac445febb3b5715f8792beb545522dc18 | decd2839c2f51a54b2ad0f3e89fdc1b4bf78cd16 | refs/heads/develop | 2023-08-31T05:52:05.342195 | 2023-08-30T13:31:51 | 2023-08-30T13:31:51 | 51,877,056 | 589 | 309 | NOASSERTION | 2023-09-14T18:49:17 | 2016-02-16T23:03:52 | C++ | UTF-8 | Scilab | false | false | 280,163 | tst | number.tst | "+", "17009115185923538769", "-12047631083067675031",
"4961484102855863738",
"+", "12677011568664239747", "3269056182420253574",
"15946067751084493321",
"+", "9315504781982082433", "13857624532376678678",
"23173129314358761111",
"+", "15226508728194069537", "11481952022080775416",
"26708460750274844953",
"+", "7461... |
2bb6629c9e2da98f1b9308168710072ec9110f56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH14/EX14.4/KC_4.sce | e72d389e96544a655e3af7a9f82399fcef2c61fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | KC_4.sce | // sum 14-4
clc;
clear;
N=300;
w=2*%pi*N/60;
P=12*10^3;
Ks=1.25;
Pd=P*Ks;
T=Pd/w;
Tas=50;
d=16*T*10^3/(%pi*Tas);
d=d^(1/3);
d=40;
Ts=10;
d1=(2*d)+13;
x=(d1^4-d^4)/d1;
//Let the shear stress in the key be Tsh
Tsh=T*10^3*16/(%pi*x);
l=3.5*d;
Ft=T*2*10^3/d;
l1=70;
sigak=50;
b=Ft/(l1*sigak);
t=2*Ft/(... |
868f8e854ce99822fd534643d5bc3a6aee041304 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Circle Tiles.sce | a09dbcef8cb2ab8d0857d9b3f90f3181afcfbfc0 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27,877 | sce | Circle Tiles.sce | Name=Circle Tiles
PlayerCharacters=Shooter
BotCharacters=Circle 24 Tiles.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=Shooter
AddedBots=Circle 24 Tiles.bot;Circle 24 Tiles.bot;Circle 24 Tiles.bot;Circle 24 Tiles.bot;Circle 24 Tiles.bot;Circle 24 Tiles.bot;Circle 24 Tiles.bot;Circle 24 Tiles.bot;Circle 24 Til... |
07db4f4788c90b14dbd369ef6fd57b629593f657 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/nested_structs_runme.sci | 1899fe378a8cb21e8095ecdc8386cfbacb41a11b | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 1,074 | sci | nested_structs_runme.sci | exec("swigtest.start", -1);
try
outer = new_Outer();
setValues(outer, 10);
inner1 = Outer_inner1_get(outer);
inner2 = Outer_inner2_get(outer);
inner3 = Outer_inner3_get(outer);
inner4 = Outer_inner4_get(outer);
catch
swigtesterror();
end
checkequal(Outer_inner1_val_get(inner1), 10, "Outer... |
c35b470548c7091f107f081e2af2442e15d8fc2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH3/EX3.3/Ex3_3.sce | 2620c936cc52539dbdf3255c6c70ee33508d4735 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | Ex3_3.sce | clc
clear
//DATA GIVEN
m=0.3; //mass of nitrogen in kg
p1=0.1; //pressure in MPa
T1=40+273; //temperature before compression in K
p2=1; //pressure in MPa
T2=160+273; //temperature after compression... |
f68e085cca14ba53a50f5c2aa356c996d8e5d246 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH10/EX10.5/EX10_5.sce | 422d0468f15de93f2d1565b056a872b7320da6ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | EX10_5.sce | //Finding of Bed slope of Trapezoidal channel
//Given
B=6;
y=3;
z=3/4;
q=30;
A=(B+(z*y))*y;
P=B+(2*y)*sqrt(1+z^2);
R=(A/P);
n=0.0158;
//To Find
sb=((q^2)*n^2)/((A^2)*(R^(4/3)));
disp("Bed slope of Trapezoidal channel ="+string(sb)+" no units");
|
dcab74856986616703236cf60e905a40dc4656e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH6/EX6.6/Ex6_6.sce | 644f9b9b933785ccc3ac76e124cc29ce395e9e54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | Ex6_6.sce | clc;
rp=11.3137; // Pressure ratio
WN=0; // Net work output
Q=476.354; // Heat added per kg of air mass in kJ
T01=300; // Inlet air total temperature in kelvin
eff_T=0.71; // turbine efficiency
Cpa=1.005;// Specific heat of air at constant pressure in kJ/kg K
Cpg=1.147;// Specific heat of fuel at constant press... |
6d8806d2546a743e75a561d763bce46b492f75d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH4/EX4.10/ex4_10.sce | 79dae9e00d6c0982a04d21d3ad42f35e77c3df61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | ex4_10.sce | // Exa 4.10
clc;
clear;
close;
format('v',7)
// Given data
R = 120;// in ohm
XC = 250;// in ohm
I = 0.9;// in A
Z= R-%i*XC;// in ohm
phi= atand(imag(Z),real(Z))
V=I*Z;// in V
VR = I*R;// in V
VC= I*XC;// in V
P= abs(V)*I*cosd(phi);// in W
Q= abs(V)*I*sind(phi);// in VAR
disp(cosd(phi),"The power factor ... |
72ec50cd7812c0bc524adafc53759bc959864170 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.44/Ch03Ex44.sce | 067b671779ac13077c0887c7926105c3f23af222 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,247 | sce | Ch03Ex44.sce | // Scilab Code EX3.44:: Page-3.57 (2009)
clc;clear;
w = 2; // Width of the grating, cm
P = 4500; // Total number of lines on the grating
a_plus_b = w/P; // Grating element, cm
lambda1 = 5890e-008; // Wavelength of sodium D1 line, cm
lambda2 = 5896e-008; // Wavelength of sodium D2 line, cm
lambda = (lambda1+lam... |
f219150884a00fc759a50b7cef83412abe5c17e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH6/EX6.2/ex2.sce | ba863c4784a6154af9da9013186e9b02105fa4e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | ex2.sce | // Example 6.2 : Comparison between NMOS transistor and npn transistor
disp("For NMOS transistor")
I_D=100*10^-6; // (A)
V_a=5; // V'_A=V_a (A)
L=0.4; // (um)
V_T=0.025;
K_n=267*4/0.4*10^-6; // K_n=u_n*C_ox*(W/L) (A/V^2)
V_OV=sqrt(2*I_D/K_n);
g_m=sqrt(2*K_n*I_D)
disp(g_m,"g_m (A/V)")
disp("R_in is infinite")
r_o=V_a*L... |
4ba530627209fb6529be5f7dc13b109d755f63bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.14/ch8_ex_14.sce | 2dedf26cec07186315a86b9b18504c41b57e1585 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | ch8_ex_14.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 14
disp("CHAPTER 8");
disp("EXAMPLE 14");
//VARIABLE INITIALIZATION
v_t=220; //in Volts
I_l=196; //in Amperes
s_loss=720; //stray loss in Watts
r_f=55; //shunt field ressitance in Ohms
eff=88/100; ... |
4ed65865cc5ac9df43e53a8eb1b50f4d09a99aac | 9b046504c3b7683d3bfa294fe100408058e75aa3 | /Metodos/Clase8/scripts/1EjemploClase.sce | db78a1ca6d3a040ec988c5a193c7d605c92e83ab | [] | no_license | DavidAlex99/Cursos | f15cb4f4fbb35a6eb62cbae0a9b51ea671f3ea8f | aee547ab09db7e535bea5a6d41ed6e455f8a9a89 | refs/heads/master | 2023-01-08T02:46:07.502656 | 2020-11-14T00:45:57 | 2020-11-14T00:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,659 | sce | 1EjemploClase.sce | clear all
clc()
clf()
function result=eqd(y,t)
result = 2*t-2*y
endfunction
function result = solucionAnalitica(t)
result = exp(-2*t)*(t*exp(2*t)-0.5*exp(2*t)+7/2)
endfunction
function result = metodoHeunOrden1(h,y0,t0,tf,f)
tiempo = t0:h:tf
result = (length(tiempo))
result(1)=y0
... |
519f92dca39e72bb7b9eee3f603fd4ff228e4fc8 | 94d8b66f6512f2f17f77000729fd8ac999484ed3 | /workspace/Analysis/FastSLAM/2D-4Transponders-Circle-Pure-Range-Only.sce | ceab08641f4c8a52317c3d2b752e30a31cf763d8 | [] | no_license | utctao/reliable-slam | 7885c098574afb5284675a6f022d368f7f303ba6 | 1f00c584d9dacfc17e31e0aa91b0d717998b0310 | refs/heads/master | 2021-01-20T19:49:49.038094 | 2013-07-22T21:50:55 | 2013-07-22T21:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,207 | sce | 2D-4Transponders-Circle-Pure-Range-Only.sce | funcprot(0);
clear;
xdel(winsid()); // close all previously opened windows
rand('seed',1)
// Personal laptop workstation (LINUX)
// path_in='/media/Documents/Etudes/ENSTA-Bretagne/Stages/ENSI3-UFRGS/reliable-slam/workspace/Simulations/Scenarios/2D-4Transponders/';
// path_out='/media/Documents/Etudes/ENSTA-Bretagne/S... |
829f3aed32a71f151e09bde4233504f0e296f791 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH7/EX7.4/Ex7_4.sce | 8313767f0d88a901382253809974f4275a536bcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sce | Ex7_4.sce | //chapter 7
//example 7.4
//Calculate the dipole moment induced in each atom and atomic polarisability
//page 188-189
clear;
clc;
//given
K=1.000134; // di-elecrtic constant of the neon gas at NTP
E=90000; // in V/m (electric field)
Eo=8.85E-12; // in C/N-m^2 (absolute premittivity)
N_A=6.023E26; // in atoms/... |
d0738979bc117327216e6c9ee5b0267bf9d5cc9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH27/EX27.7/277.sce | 979057b0bb39d8ace59335461714cdb22de17903 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 277.sce | clc;
//Example 27.7
//page no 418
printf("Example 27.7 page no 418\n\n");
//the following result were obtained during the running of a filteration experiment
alpha=4.57e+11//cake resistance,ft/lb
P_drop=1554//pressure drop ,lbf/ft^2
alpha_o=alpha/(P_drop^0.21)//specific cake resistance
printf("\n specific cake... |
57c563854b377307f1cacc40fe1dec139444803d | 4545588c8427debaf17f9dc71b0ace32f4fb5d67 | /avr32/services/dsp/dsplib/examples/dsp32_iirpart/iirpart_example.sce | b522da2a844f1ebb67cb421ddcc90f44879bec73 | [] | no_license | eewiki/asf | 02e06cec0465b28dd689dea801e6be6cbcd47eca | 8d0f55bd089f2e68d2b53aa76adbb02c07cdb166 | refs/heads/master | 2021-01-16T18:20:22.690176 | 2015-03-09T05:42:50 | 2015-03-09T05:42:50 | 18,419,213 | 34 | 30 | null | 2014-12-25T05:13:20 | 2014-04-03T21:42:46 | C | UTF-8 | Scilab | false | false | 1,359 | sce | iirpart_example.sce | clear
// Sampling frequency
fs = 8000;
// Number of point
SIZE = 144;
pi = %pi;
// Signal generation
t = 0:(SIZE-1);
F1 = 400;
F2 = 4000;
x1 = sin(2*pi*F1/fs*t);
x2 = cos(2*pi*F2/fs*t);
x = (x1+x2)/100;
// cutoff frequency
fc1 = 2000;
// cutoff frequency normalized
fc1n = fc1/fs;
// Order
orde... |
c067baa20770a4f79583c82618d0585e79416d7e | 4ba406c1422fd1f3462feb6c2f378b17ea9175c2 | /src/functions/dump/FunkyGeoPlanet.tst | c20ebc1a0de85f1b123a1990b06753bd33f8b968 | [] | no_license | dwjohnston/geoplanets-model | 236670178c456a0537ee31cfb3ab931ea46c7edf | 06ff2b0ec83272f56ffe02b9ee38f1e169b41a51 | refs/heads/master | 2021-07-12T23:00:17.411355 | 2018-09-02T08:08:22 | 2018-09-02T08:08:22 | 144,376,835 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,505 | tst | FunkyGeoPlanet.tst | import Parameter from '../Parameter';
import Planet from "./Planet";
import { Circle, Polygon, Position, Color, Line, GeoUtil, AbstractPolygon, NestedPolygon } from 'blacksheep-react-canvas';
import BasePhaser from './modules/phasers/BasePhaser';
//Doesn't have a distance
//Doesn't have a center
//Has a boundry (whi... |
3bcdd6b58abec4f5df7b25ddc2881180be2a6f75 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /acmp.ru/183, Энты/test1.tst | 6ca315f6efc265b6f547eb9b9a22792a72defede | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 34 | tst | test1.tst | 8 10
~~~~~~~~~~~~~~~~~~~~~
5
|
9e9b43bdf2b6820a20b2db7d98fe962c458818ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH2/EX2.10/example2_10.sce | ac5566c810f4a0fc97b6adfdf392729cde39c850 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,251 | sce | example2_10.sce | clear;
clc;
//Example2.10[Combined Convection, Radiation and Heat Flux]
//Given:-
T_surf1=20;//Ambient temperature in the interior of the house[degree Celcius]
T_surf2=5;// Ambient temperature outside the house[degree Celcius]
L=0.2;// Thickness of the wall[m]
a=0.5;// absorptivity of outer surface of wall
h_... |
83200f5c061b8c5af1a29fe144875dc8c41c86a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH16/EX16.8/16_8.sce | fb40d5c3b2e84dfd53636c13de27a373cea58748 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,220 | sce | 16_8.sce | //To find power and coefficients
clc
//Given:
N=600 //rpm
Tmax=90 //N-m
m=12 //kg
k=80/1000 //m
//Solution:
//Refer Fig. 16.10
//Calculating the angular speed of the crank
omega=2*%pi*N/60 //rad/s
//Power developed:
//Calculating the work done per cycle
WD=3*1/2*%pi*90 //Work done per cycle, N-m
//Calcula... |
a1a87a72703d8db972f574d17d4ee4a479e1de69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH3/EX3.2/Example3_2.sce | 42facbecb39b02f26fa52108554559f82a3b5da3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 999 | sce | Example3_2.sce | clear ;
clc;
// Example 3.2
printf('Example 3.2\n\n');
//Page no. 80
// Solution
// Basis 100kg mol gas
ml1 = 20.0 ;//[kg mol]
ml2 = 30.0 ;//[kg mol]
ml3 = 40.0 ;//[kg mol]
ml4 = 10.0 ;//[kg mol]
mw1 = 44.0 ;//molecular weight of CO2
mw2 = 28.0 ;//molecular weight of CO
mw3 = 16.04 ; //molecular we... |
75ed55794d4392433e6b3e5ef2ec3640e126ccc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.32/ch7_32.sci | 15337ad1db4baf703df4ba1997bfaf858413b557 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sci | ch7_32.sci | //to determine the reduction of flux/pole due to armature rxn
clc;
V=250;
R_a=.7;
function [phi]=arxn(I_a,n)
phi=(V-I_a*R_a)/n;
endfunction
phinl=arxn(1.6,1250);
disp(phinl,'flux/pole no load');
phil=arxn(40,1150);
disp(phil,'flux/pole load');
d=(phinl-phil)*100/phinl;
disp(d,'reduction in phi d... |
fcdee6e166b640e7e3ccd4a1893ffa4dec4de6ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH25/EX25.23/25Ex23.sce | 2b2f99a2c2b98d19e09a423e6f3662808f40f3c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | 25Ex23.sce | //Ch25_Ex23
clc;
clear;
close;
//since the radii are in in ratio 3:4 and heights in ratio 2:3;
//let ratio of radii be ratioR
ratioR=(3/4); ratioH=2/3;
ratioV=(%pi*ratioH*ratioR^2)/((1/3)*%pi);
mprintf("The ratio of their volumes is %.2f",ratioV);
|
de669f9d3efeb0f350f78162476a31db8f410fab | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/cap.sce | dca7b4117c9d38137a55080b9ec0218e87046699 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | cap.sce | style.fontSize=12;
//figure_path = unix_g("ls ~/rasp30/sci2blif/xcos_figures/cap_symbol.png");
style.displayedLabel="<table> <tr> <td><b>In</b></td> <td>CAP</td> <td align=left><b>Out</b></td> </tr> </table>";
pal2 = xcosPalAddBlock(pal2,"cap",[],style);//Capacitor
pal8 = xcosPalAddBlock(pal8,"cap",[],style);//Capacit... |
1eae30feb6eba9e3661504c514c0c7c77af7e022 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH6/EX6.1/Ex6_1.sce | 8d78fb95131c51c7e99a8c0bd28169a99d2e1176 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Ex6_1.sce | //Ex6_1
clc
IB = 40*10^-6
IC = 3*10^-3
beta = IC/IB
alpha = beta/(1+beta)
disp("IB = "+string(IB)+"A")//base current
disp("IC = "+string(IC)+"A")//collector current
disp("beta = IC/IB = "+string(beta))//current gain in CE configuration
disp("alpha = beta/(1+beta) = "+string(alpha))//current gain in CB configu... |
34d38bb18d9d19cee1df1beefa6ca30b19e95e50 | cccbd1095e2f872b44c9f2cf3aaea40ce3b94a77 | /SWaD/Swad.sce | fc17d3b9c87bd18512135384ceb114d463cf4006 | [] | no_license | Robstei/work | ca8a70dba742f520f16e0d7688fa448c79d7c2c5 | 0c7e3bedc1d66db3148de57f13d406d787b756df | refs/heads/master | 2021-07-16T17:37:10.588912 | 2020-05-17T19:51:43 | 2020-05-17T19:51:43 | 152,545,932 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31,719 | sce | Swad.sce | response_matching = simple_matching;
scenario = "Messung von Wechselkosten zwischen geteilter und selektiver Aufmerksamkeit";
default_font = "Apercu Mono";
active_buttons = 3;
event_code_delimiter = ";";
stimulus_properties = configuration, number, runid, string, blockid, string, form, string, character, string, sepera... |
27264dcae401cc2613732ba48c484b33315d3fed | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH4/EX4.20/4_20.sci | f8e59d00ee69cc0817b847495eb914d1cd29e7b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sci | 4_20.sci | //Calculate maximum and minimum value of indicated temperature, phase shift, time lag
clc;
T_max=640;
T_min=600;
T_mean=(T_max+T_min)/2;
Ai=T_mean-T_min;
w=2*%pi/80;
tc=10;
Ao=Ai/{(1+(w*tc)^2)}^0.5;
T_max_indicated=T_mean+Ao;
disp(T_max_indicated,'Maximum value of indicated temperature(degree C)=')
T_min_in... |
494ac364b35206738e37f271107f2c57b244e043 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH6/EX6.3/Ch06Ex3.sce | 9b4a21aa000aed6103387e6fe8e5fb6a7d334ab1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ch06Ex3.sce | // Scilab code Ex6.3: Pg 204 (2008)
clc; clear;
V_av = 3.5; // Average value of sinusoidal alternating voltage, V
T = 6.67e-03; // Time period of alternating current, s
V_m = V_av/0.637; // Peak value of alternating current, V
f = 1/T; // Frequency of alternating volatge, Hz
printf("\nThe standard expression... |
e4c86395146ac0b724d8ae654577c4f870628ab2 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Popcorn (easier v1).sce | 55a231c68b129cf10f5ec8c365dec480dab5a156 | [] | 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 | 22,731 | sce | Popcorn (easier v1).sce | Name=Popcorn (easier v1)
PlayerCharacters=pistol Launchman
BotCharacters=Pigeon.bot;Pigeon2.bot;Pigeon3.bot;Pigeon4.bot;Pigeon5.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=pistol Launchman
AddedBots=Pigeon.bot;Pigeon2.bot;Pigeon3.bot;Pigeon4.bot;Pigeon5.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0;0
PlayerTeam=1
Bot... |
bc768d2631ec1be52d5b5cac487cbb49893f9277 | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/jEdit/ground_truth/OpeningSequenceCoverage/length-1/max-150/t68.tst | 43e5930de6c0a55ee250a427e1fc27461f420083 | [] | no_license | csnowleopard/guitar | e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02 | 1fa5243fcf4de80286d26057db142b5b2357f614 | refs/heads/master | 2021-01-19T07:53:57.863136 | 2013-06-06T15:26:25 | 2013-06-06T15:26:25 | 10,353,457 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | tst | t68.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e40</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e64</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e66</EventId>
<Reaching... |
b8f7427be21caf151c9640bc5b46f4c12b3b598b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH6/EX6.15/Ex6_15.sce | ea9c1d7a291eff7d804640289836543a5e7015ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,246 | sce | Ex6_15.sce | //===========================================================================
//chapter 6 example 15
clc;clear all;
//variable declaration
Si = 0.1*10^-3; //current sensitivity in mA
Rm = 500; //meter resistance in Ω
V1 = 10; //full -scale voltage in V
V2 =50; ... |
34d6132eeae3093b95be1c9d67f464e0cd1bd671 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/metanet/plot_graph1.sci | df6a1ad2ec6561c7552f5bb4d3eecd390e06639c | [
"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 | 3,560 | sci | plot_graph1.sci | function []=plot_graph1(g,orx,ory,w,h)
//This function plot a graph with multiple arcs in the Scilab graphic window
//It uses the data of the list defining the graph
[lhs,rhs]=argn(0)
// g
check_graph(g)
n=g('node_number');ma=g('edge_number');
xnodes=g('node_x');ynodes=g('node_y');
if (xnodes==[]|ynodes==[]) then
e... |
864173a5e4fbb6816aaf2d09c74dfe678a278f6c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH4/EX4.1/ex4_1.sce | f8d74b7528161090a98cf0118931022e2c2c0528 | [] | 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 | 209 | sce | ex4_1.sce | errcatch(-1,"stop");mode(2);// Example 4.1, page no-209
//(a)
k=50
m=0.005
wn=sqrt(k/m)
printf("(a)\nNatural frequency(wn)= %d rad/s",wn)
//(b)
Cc=2*sqrt(m*k)
printf("\n(b)\nCc=%d",Cc)
exit();
|
54c98d01d4b5205408222636d6687961cf8d66c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH18/EX18.3/Ex18_3.sce | 3f73c91ac13797e8fc226b89f57b0f636579e37e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 954 | sce | Ex18_3.sce | b=225//in mm
D=500//in mm
c=45//cover, in mm
Asc=2463//in sq mm
Ast=Asc
fck=15//in MPa
fy=250//in MPa
fcc=0.446*fck//in MPa
//(i)
xu=1.1*D//in mm
m=0.43*D//in mm
esc1=0.002*(xu-c)/(xu-m)
esc2=0.002*(xu-D+c)/(xu-m)
//by interpolation
fsc1=217.5//in MPa
fsc2=217.5*esc2/0.0010875//in MPa
//stress block par... |
5fca73933e99219b1fd263fa687231eb3e4fb11b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.28/Example7_28.sce | 1f96f970e7a08abe2a7e72d875dd387f58221098 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | Example7_28.sce | //Chapter-7,Example7_28,pg 7-88
Im=120
Ic=38
Kn=1000/5
//at full load
Is=5
Ns=1000
Np=5
n=Ns/Np//turns ratio
R=n+(Ic/Is)
err=(Kn-R)/R//ratio error
err=err*100
printf("percentage ratio error\n")
printf("err=%.2f ",err)
|
272c81b1e5a74aa19eed4ac4f71f6c6fa806d744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH9/EX9.8/Ex9_8.sce | 4719c632fb66112fb5b342b6ad01d7cc6da7b129 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | Ex9_8.sce | clc
// initialization of variables
clear
// part(a)
Y=280 //MPa
A=4000 //mm^2
Am=44.99 //mm
R=100.0 //mm
r=180 //mm
r=60 //mm
// Mx is not yet known take it as unity
Mx=1 //unity
r=180
S_thMax=Mx*(A-r*Am)/(A*r*(R*Am-A))
Mx=Y/(abs(S_thMax))
printf('part(a)')
printf('\n Mx = %.2f kN.m',Mx/10^6)
// part(b... |
3891241ccb9c1dc30ac31c8ea2bd9281bc2aafec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH22/EX22.3/22_3.sce | 9704cefdc2a9a7730f28ab3b8c8cb67a7131a4c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 955 | sce | 22_3.sce | //Example 22.3
//Bisection Method
//Page no. 764
clc;clear;close;
deff('y=f(x)','y=x^3-x^2+x-1')
printf('N01\tN02\tN11\tN12\tN21\tNet31\tO31\tN41\tN42\n------------------------------------------------------------------------\n')
N01=[0,1,0.5,0.75,0.875,0.938,0.969,0.984,0.992,0.996,0.998,0.999,1,1]
N02(1)=2
f... |
b95491692bc26af9998573d911eaf12b1205ffbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH21/EX21.1/Ex21_1.sce | 710c5328dc414157f8643394e876a0ca238946cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | Ex21_1.sce | clc;
Av1=10;
Av2=20;
Av3=40;
Av=Av1*Av2*Av3;
disp(Av);
GV1=20*log10(Av1);
GV2=20*log10(Av2);
GV3=20*log10(Av3);
GV=GV1+GV2+GV3;//CORRECTION
disp('dB',GV*1,"GV=");
|
8f2d373bd84c4398e8cc990d92ccb0b616f622bd | 0577305335a94b42b5326da932fa216f0a3be24b | /Assignment 1/Gauss_Jordan_Inverse.sce | 94603a2bffa0e93d9f4f3bdf6f94f909121df14d | [] | no_license | RITIKHARIANI/Scilab-Assignment | 540ff67cce176b49c556e7d21cebbb03a8653e0f | b979fb6771f0e0855fa632a216a54aca892114ea | refs/heads/master | 2020-12-18T20:37:55.331452 | 2020-06-03T10:49:33 | 2020-06-03T10:49:33 | 235,514,808 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sce | Gauss_Jordan_Inverse.sce | //Gauss Jordan Method to find Inverse of a matrix
disp('Please enter the matrix A');
a11=input("Enter a11: ");
a12=input("Enter a12: ");
a13=input("Enter a13: ");
a21=input("Enter a21: ");
a22=input("Enter a22: ");
a23=input("Enter a23: ");
a31=input("Enter a31: ");
a32=input("Enter a32: ");
a33=input("Enter a33: ");
... |
613697c4efd9c9d7f0475ce7055fb596722a3c3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH5/EX5.3/Ex5_3.sce | 8a4b781ef104e3a39404e0f86b610485392c0584 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | Ex5_3.sce | //Example number 5.3, Page number 85
clc;clear;
close;
//Variable declaration
me=9.1*10**-31; //mass(kg)
h=6.62*10**-34; //plank constant
mn=1.676*10**-27; //mass(kg)
c=3*10**8; //velocity of light(m/s)
//Calculation
lamda=h*10**10/sqrt(4*mn*me*c**2); //de broglie wavelength(angstrom)
//Result
print... |
e551326714445d9f1c274d52a5d613b2b134381e | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH11/EX11.10/Ex11_10.sce | fdcb2a5d97b3d85f21f9739ba4243da517593e26 | [] | 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 | 677 | sce | Ex11_10.sce | // Variable Declaration
l = [0 12.0 ; 1 10.5 ; 2 10.0 ; 3 8.0 ; 4 7.0 ; 5 8.0 ; 6 7.5 ; 7 8.5 ; 8 9.0]
X = 6.5
// Calculation
x = l(:,1)
y = l(:,2)
x_sum = sum(x)
x_sq_sum = sum((x.^2))
x_cube_sum = sum((x.^2).*x)
x_four_sum = sum((x.^2).*(x.^2))
y_sum = sum(y)
xy_sum = sum(x.*y)
x2y_sum = sum(x.*x.*y)
a = [9 x_sum... |
ca9106e2c45fa0cdd6297c66dc4b6ce3c2193d7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.31/P2_31.sce | f596eea0c6094a8823b6863589017699258dd7fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | P2_31.sce | //EXAMPLE 2.31, Stability for causal system.
//h[i]=impulse response of LTI system.
clear;
clc;
n= -5:0.001:5;
a=0.6;
for i=1:length(n)
if (n(i)<0)
h(i)=0;
else
h(i)=abs(a^n(i));
end
end
S=sum(h);
if(S<%inf)
disp('BIBO stable system');
else
disp('BIBO unstable system');
... |
ad5f24c50cfef31ae32aeb323f098647aac12aec | e2f1cd4bf054393b04c3e30ca2bcdd4667395efc | /testLDV2.tst | a1081947df30ad16a49edc778cf48efd7fab38c7 | [] | no_license | unsegnor/BT | 37203462f8672b89b82cf025c5f05c67515263fb | 9051eb4b002f68041578bd581668bcc7959bda56 | refs/heads/master | 2021-01-10T02:05:05.487349 | 2014-07-04T17:56:31 | 2014-07-04T17:56:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 305,047 | tst | testLDV2.tst | mapaSBT
50
50
0
2
255
0
False
False
False
0
False
False
False
False
False
False
False
False
False
False
False
False
1
2
255
0
False
False
False
0
False
False
False
False
False
False
False
False
False
False
False
False
1
2
255
0
False
False
False
0
False
False
False
... |
65b585ed90a0401929b8cb54ffcab402ea486035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH3/EX3.6/ex3_6.sce | 286a9d6ba1165f781c10a4e726a2ed1eda6a0364 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | ex3_6.sce | //ex3.6
V_Z=12;
V_IN=24;
I_ZK=1*10^-3;
I_ZM=50*10^-3;
Z_Z=0;
R=470;
//when I_L=0, I_Z is max and is equal to the total circuit current I_T
I_T=(V_IN-V_Z)/R;
I_Z_max=I_T;
if I_Z_max<I_ZM then
I_L_min=0;
end
I_L_max=I_T-I_ZK;
R_L_min=V_Z/I_L_max;
disp(R_L_min,'minimum value of load resistance in ohms')... |
8f30acf327f4311a6af57bbda23e52ce28bde156 | 0638ccf4a1cb5242bee84d80c656709ff4eba73b | /Practice/Decoder4Way.tst | f7e73c92708796781ecd012032c3d9e3c09c61a6 | [] | no_license | siyeol/Logic-and-Computer-Design | 3bc584200083d685258df89b898f5b0111c005de | 6970c81a9977f4d4e5b2bfd47d9ee464ac5a2d45 | refs/heads/master | 2023-06-21T21:35:22.794565 | 2021-07-14T16:12:58 | 2021-07-14T16:12:58 | 262,973,492 | 0 | 0 | null | 2020-05-12T10:19:02 | 2020-05-11T07:42:18 | Scilab | UTF-8 | Scilab | false | false | 265 | tst | Decoder4Way.tst | // Modified by Minho Kim (9 Oct 2014)
load Decoder4Way.hdl,
output-file Decoder4Way.out,
compare-to Decoder4Way.cmp,
output-list in%B2.2.2 out%B1.4.1;
set in %B00,
eval,
output;
set in %B01,
eval,
output;
set in %B10,
eval,
output;
set in %B11,
eval,
output;
|
bf055e51cd84a1a3445301ac0d9115e6e07ed88a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH11/EX11.1/Ex11_1.sce | a20aed7cfa20261bfbc329b7250aff40f9c44c92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,287 | sce | Ex11_1.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 11 : SINGLE-PHASE MOTORS
// Example : 11.1
clc;clear; // clears the console and command history
// Given data
V = 220 // supply voltage in V
P = 4 // number of poles
f =... |
1249adac2e70ec99c295b763a0b0a35acec1c460 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/percent/%r_r_s.sci | 22762c411caf8f006bf4a9c23be4a985bd10ed50 | [
"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 | 561 | sci | %r_r_s.sci | function a=%r_r_s(a,b)
// a/b a rational matrix, b scalar matrix
//!
// Copyright INRIA
if size(b,'*')==0 then a=[],return,end
[num,den]=a(2:3);
[ma,na]=size(num);
[mb,nb]=size(b);
if mb*nb==1 then
a(2)=a(2)/b,
if ma==-1|mb==-1 then a(3)=a(3)*eye,end
return,
end
na=abs(na);ma=abs(ma)
mb=abs(mb);nb=abs(nb)
if na=... |
9775f530d738f0f7b664719267b850e31d6554b5 | f7e981eeadbb0bba2edc23eccc7168670c099d2d | /bsp15.sce | 3a9e41894a47f82a6c51a724b9bbdf68038579c1 | [] | no_license | mr-georgebaker/Scilab-Exercises | bf1e79d68b856f92e2be86b6b002f4eb657ff0ef | fc63d68aeaf495da81a0c557a4f07192aacbd1c6 | refs/heads/master | 2016-08-05T01:37:09.841260 | 2015-05-22T18:24:17 | 2015-05-22T18:24:17 | 32,216,608 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,565 | sce | bsp15.sce | // Calculates the integral of a function f(x) by using simpson's rule recursivly
clear
function y = f(x)
// Returns the value y = 1/sqrt(x)
// Input: x = number or vector
// Output: y = number or vector
y = 1 ./sqrt(x)
endfunction
function I = simpson(f,a,b,N)
// Calulates the integral of f(x) from a to b by usi... |
7541aed755c9e35864b8a59ad19f2b62d7c1f284 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH12/EX12.4/12_4.sce | 03d55a18471210da5d3e15607c48da5f2539ed88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 751 | sce | 12_4.sce | //Eg-12.4
//pg-514
clear
clc
x = 0.01;
h1 = 0.0001;
h2 = h1/2;
Re = 10^4;
deff('out = func(in)','out = 1/in^0.5 - 1.77*log(Re*in^0.5) + 0.6')
//Using central difference formula
Dh11 = (func(x+h1)-func(x-h1))/(2*h1);
Dh21 = (func(x+h2)-func(x-h2))/(2*h2);
Dh12 = (-func(x+2*h1) + 16*func(x+h1)... |
832377f9aa4a3306e7a219ef78c9ffa4d9cd0ad4 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/gmonopuls.sci | 72658538c8d7f639bbcc9d6a2c443831238e3462 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,874 | sci | gmonopuls.sci | // Copyright (C) 2018 - 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_... |
7da8ced78875871d0ecee8fdc7c4395ed619b6cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH14/EX14.12/Ex14_12.sce | add65bb2931f157b829051bf44fffc93e3cef38d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Ex14_12.sce | clc;
close();
clear();
//page no 487
//prob no. 14.12
Ex=3 //V/m
n0=377;
Hy=Ex/n0;
mprintf('(a) The vaulue of Hy is, Hy = %.3f * 10^-3 A/m\n',Hy*10^3);
Px=Ex^2/n0;
mprintf(' (b) The power density Px is, Px = %.3f * 10^-3 W/m^2\n',Px*10^3);
A=10*30;
P=Px*A;
mprintf(' (c) The net power transmitted is, P = ... |
d99ab70290c8bf1907f503e790f38aa37e96943c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH5/EX5.4/5_4.sce | 819041ae3da4ba57cc4fde93f219b84d01d045a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | 5_4.sce | clc
clear
//Initialization of variables
g=32.2
gam=62.4
r0=1
//calculations
function al= func1(r)
al=8/r0^8 *(r0^2-r^2)^3 *(2*r)
endfunction
alpha=intg(0,r0,func1)
function a2= func2(r)
a2=4/r0^6 *(r0^2 -r^2) ^2 *(2*r)
endfunction
bet=intg(0,r0,func2)
//results
printf("Alpha = %d ",alpha)
print... |
9b86d74ec9af1a2d2704b71f69a2ccda62b37b25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH5/EX5.29/5_29.sce | ecbcd593dbc24f3b5e340b28711442bddc51df2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | 5_29.sce | //ques-5.29
//Calculating hydrolysis constant and degree of hydrolysis of Ammonium chloride
clc
c=0.001;//molarity of ammonium chloride solution
Kw=10^-4;//(*10^-10)
Ka=1.8*10^-5;
Kh=Kw/Ka;//hydrolysis constant (*10^-10)
h=sqrt(Kh/(100*c));//degree of hydrolysis (*10^-4)
printf("Hydrolysis constant of Ammonium ... |
7fb7c57ef85ee8720e459a3c0c6a6314ea6c72f1 | 9a3cd47433581fc13c4eaceab5a95aacdaff8ca1 | /FourierT(1)_60002190017_Aryaman_Paigankar.sce | 9b311ca5387043713738b975d18df130b081361c | [] | no_license | aryaman-paigankar/SS-Experiments | c844eecca63148dda96cb4e9bede9f55bbd28a26 | 2ea34cb220d941b744d2664c9b301dff40e7fa75 | refs/heads/main | 2023-01-16T02:55:40.358834 | 2020-11-25T17:09:52 | 2020-11-25T17:09:52 | 315,990,354 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 97 | sce | FourierT(1)_60002190017_Aryaman_Paigankar.sce | t=-1:0.02:1;
w=2*%pi;
n_har=10;
n=1:1:n_har;
b=2 ./(n*%pi);
x=0.5+b*sin(w*n'*t);
plot(x);
|
ad59dac4b6179304277618d3da4d56333f900b57 | 4fc36cf9ad4abed8f783d4d04478e13f13cd58fa | /miniproject/2prob/1_auto_correlation.sce | 40d0e687aab4af6a78bb2d55874a670f9f04f3f4 | [] | no_license | sksavant/ee340 | 812857c69af65aef748ae86737c1bdfb4a3d0940 | 827918ae23644debcee0f8b890d4b46e35f93e79 | refs/heads/master | 2020-05-19T17:09:44.225110 | 2012-09-06T18:15:14 | 2012-09-06T18:15:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 912 | sce | 1_auto_correlation.sce | // Group_13: Bhargava B
// Surya K
// S K Savant
// Question:
// Let x(n) be the 13-point Barker sequence
// x(n) = {+1, +1, +1, +1, +1, -1, -1, +1, +1, -1, +1, -1, +1}.
// Determine the auto-correlation of the above sequence.
//
// Function to find auto_correlation of x
//Barker NOT WORK... |
8bbc0b3d742342633635a0a8577ecbbf80bd6fb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH5/EX5.14/Ex5_14.sce | 5543f51f93e12337573213ca543c1aa363932be3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Ex5_14.sce | clear;
clc;
//Example 5.14
I_D=0.5;
Vds=6;
Kn=80*10^-6;
Vgs=5;
Vtn=1;
//x=W/L
x=I_D*2/(Kn*(Vgs-Vtn)^2);
disp(x,"W/L ")
//maximum power dissipation in transistor
Pmax=Vds*I_D;
printf('\nmaximum power dissipation in transistor=%.3f W\n',Pmax)
|
91c747350f77c86d67bd51e719b2abc58d4d7481 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /nsp/scripts/vol_impli.sce | 2fce084b362cbf4ee0cf2a775f766b112a18914b | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,566 | sce | vol_impli.sce | // Computes the implied volatility for a given surface of prices
// call the function compute_vol (P, spot, interest)
// P is a Premia object (the computation must have already been done).
// spot is the spot price
// 1+interest/100 is the annual interest rate to be coherent with Premia
function p = cdf_nor(x)
[p, q... |
e4a6ab437dd3762af3b1730e2e7c32c9f2813b8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH3/EX3.1/Ch03Ex1.sci | a23907e97b805875ea97c5af8fe4c98638cba1b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sci | Ch03Ex1.sci | // Scilab Code Ex3.1 Packing of equal spheres in two dimensional square lattice: Page-88 (2010)
// Here we may assume square of unit length i.e. a = 1 such that radius of sphere, R = a/2 = 0.5
a = 1; // Length of the side of the square, unit
R = a/2; // Radius of the sphere, unit
r = (sqrt(2)-1)*R; // Radi... |
467959168bc3445a28715534fbebad76f345464f | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH12/EX12.1/example1_sce.sce | bc9d845d54db58c576ac9a390e8717c331bf396b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example1_sce.sce | //chapter 12
//example 12.1
//page 474
printf("\n")
printf("given")
hfe=50;hie=1*10^3;hib=20;f1=100;Rc=3.3*10^3;Re=Rc;
disp(" required capacitance")
Xc2=hib;
C2=1/(2*3.14*f1*Xc2)
disp(" voltage gain with emitter terminal completely bypassed to ground")
Av=-(hfe*Rc)/hie
disp("voltage gain when f=100")
Av=-(... |
4cd9c78972eb1ca80c02a00d1281927d2f045f8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH9/EX9.7/Ex9_7.sce | 4493385c4a23f7d51352d6d02350144e6e4b7848 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,162 | sce | Ex9_7.sce | clc
mu_n=600
disp("mu_n = "+string(mu_n)+"cm^2(Vs)^-1") //initializing value of channel mobility
kbT = 0.026
disp("kbT = "+string(kbT)+"eV") //initializing value of kbT at 300K
apsilen = 11.9*8.85*10^-14
disp("apsilen = "+string(apsilen)+"F/cm") //initializing value of relative permitivity
e = 1.6*10^-19
disp(... |
2cc4c691fd831a9927c0a174a9bbe06547bca45a | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH8/EX8.4/Example8_4.sce | 54db45becadf359c8b83f506cf1e735c3a3c8e7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Example8_4.sce | //Example 8.4
clear;
clc;
R1=30*10^3;
R2=R1;
ft=20*10^6;
Cext=3*10^(-12);
GBP=20*10^6;
Cd=7*10^(-12);
Cc=12*10^(-12);
Cf=(R1/R2)*((Cc/2)+Cext);
Cn=Cext+Cd+(Cc/2);
fx=ft/(1+(Cn/Cf));
x=poly(0,'f');
A=(1+(R2/R1))/(1+(%i*(x/fx)));
printf("A(jf)=");
disp(A);
printf("V/V"); |
0f353953e9560ec9580e146e5dc3f4563f18df75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH30/EX30.8/example_30_8.sce | 44c3ab4ad3fcc0c1b76513251b2b45d2d6e16fdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,664 | sce | example_30_8.sce | clear;
clc;
disp("--------------Example 30.8----------------")
p=397;
q=401;
n=p*q; // formula
phi=(p-1)*(q-1); // formula
e=343;
d=1; // not actual 'd' value; it has to be computed
message=['N' 'O']; // NO
t=1;
alphabet=['A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' '... |
ba46d97e1d4b0c40d9c9a51bac4ccb7877085901 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH4/EX4.17/Ex4_17.sce | 302f8a5660021c9bf6d9a6a73c608a16cd986226 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_17.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 4-Buoyancy and Floatation
//// Problem 4.17
//Derivation asked(Theoretrical Work)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.