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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6f469c4dfac840cf1a3923bed2a9d0ae8d87f645 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%hm_degree.sci | 8f2931325cf3c5282cbeb9c458a29a2087eda927 | [
"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 | 59 | sci | %hm_degree.sci | function P=%hm_degree(P)
P('entries')=degree(P('entries'))
|
aa6943c26ca133d6ba6f4de1b55f6cb87363d158 | f30266ba7a1997c211d675bf97cf1e8c87092331 | /Lab1/scale.sci | 81eff95ed7b9c1dd19d62c1f9ecf16a8595d26dc | [] | no_license | PeterZs/EE5175_ImageSignalProcessing | 5af1e3f396e394453307f5470b8a81ba27fc21b9 | b9a5cd16deaaeda4889eefa61c49442b45656905 | refs/heads/master | 2021-09-13T14:57:48.802391 | 2018-05-01T13:38:47 | 2018-05-01T13:38:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 947 | sci | scale.sci | //load the image read and write commands
exec pgmread.sci
//load the image
im1 = pgmread('cells_scale.pgm'); // NOTE : syntax is im = pgmread('PATH'); where PATH is full location of image file
//print the image size
disp(size(im1),'size(im)=');
[m,n]=size(im1);
//display the original image
scf();
xse... |
f03596959e4f6dbcdc034c7f7143568bb0eaa7d4 | c3d38db94d5862857932065e0c266a64e426002a | /tst/Ex4.tst | eebc418dee75e09fe55d25fe038eb4f8a49a2818 | [] | no_license | fingolfin/carat | 69806199557c0b46b752d83b0755c627ed5877ec | 21741c23edb7d5cf410e7dc1698f7fb942573e9e | refs/heads/master | 2020-09-03T15:33:29.255011 | 2019-05-23T07:31:58 | 2019-05-23T07:31:58 | 133,804,402 | 0 | 0 | null | 2018-05-17T11:35:02 | 2018-05-17T11:35:02 | null | UTF-8 | Scilab | false | false | 1,168 | tst | Ex4.tst |
# compared to Ex4_gn, the result has a different set of normalizer generators,
# but the normalizer is the same
echo "### Test Ex4-1"
../bin/carat/Normalizer Ex4_g
echo "### Ex4-1 return code $?"
echo "### Test Ex4-2"
../bin/carat/Vector_systems Ex4_gn
echo "### Ex4-2 return code $?"
echo "### Test Ex4-3"
../bin/car... |
1ff3ff9669e043e553ebaf09384c4a3665e95d9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH11/EX11.21/21.sce | d83ed8f02517413de1054f2c6ff20a4821c3690f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 956 | sce | 21.sce | clc
// 2H2 + O2 → 2H2O
// 2CO + O2 → 2CO2
// CH4 + 2O2 → CO2 + 2H2O
// C4H8 + 6O2 → 4CO2 + 4H2O
n_O2=0.853; //total moles of O2
disp("(i) Stoichiometric A/F ratio =")
AF=n_O2/0.21;
disp(AF)
disp("(ii) Wet and dry analyses of the products of combustion if the actual mixture is 30% weak :")
AF_act=AF+0.... |
a0e00eac77448f289b73e71fca9f43270c1b153f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH3/EX3.5/Ex3_5.sce | 80f8c77b960c5f9e339cb959920b30f9d1716aee | [] | 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 | 166 | sce | Ex3_5.sce | errcatch(-1,"stop");mode(2);//Ex:3.5
;
;
I_in=5;//in mA
R_m=100;
I_m=1;
R_s=R_m*I_m/(I_in-1);
printf("Value of parallel shunt resistor = %d A",R_s);
exit();
|
030ef954d9748fb92281c785398956c4089d3302 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.20/Ex2_20.sce | 92234f9ba0c41d26f1a188ecd2c6f7a898e93f30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | Ex2_20.sce | //Reactions developed at contacts
//Refer fig. 2.25(a),(b and (c)
//consider equilibrium of cylinder 1
//using conditions of equilibrium we get
RA=500*cosd(30) //N
RB=500*sind(30) //N
//Consider equilibrium of cylinder 2
//using conditions of equilibrium we get
RC=(500+250*sind(30))/cosd(30) //N
RD=RC*sind(... |
24b45d5f96c0cac498e456e1842e9ef2f5091f6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH5/EX5.48/ex_5_48.sce | 56ad1b871a45bf0e87e021dbe3c3f382961bb555 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 858 | sce | ex_5_48.sce | clear;
clc;
close;
w=-10:0.1:10;
Hw=[exp(%i*%pi/2)*ones(1,find(w==0)) exp(-%i*%pi/2)*ones(1,find(w==0)-1)];
d=gca();
plot(w,imag(Hw));
poly1=d.children.children;
poly1.thickness=3;
poly1.foreground=2;
xtitle('H(w)','w')
disp("H(w)=-%i*sgn(w)");
disp("we know sgn(t) <--> 2/(j*w)")
disp("by duality property ... |
dc19851695fd1919805fe1afc75d9cab0ba74361 | d56141249002a5da7c4a2641dbdfc609809046a8 | /espresso/band_w90_spin_plot.sce | 2019f3825ec1bcd43edb64ad3d99374f81e1261e | [] | 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 | 1,380 | sce | band_w90_spin_plot.sce | clear; clc; xdel(winsid());
// parameters ==========================================================
band_file='C:\MyDrive\Work\TaAs_qe\ONCV\TaAs.w90-bands.dat'
gnu_file='C:\MyDrive\Work\TaAs_qe\ONCV\TaAs.w90-bands.gnu'
E_Fermi=21.2
E_bound=[-2,+2]
// Main ==============================================================... |
b4b37be5e4b6b6bfc5e86aebc774e75ac07ff3ef | 7dbe475cd217e686e9689cb0536a9a73f625a85b | /Rez/univariate-lcmsr-post_mi/bfa_mt_d/~LCM-SR-bfa_mt_d-nat.tst | b416c64f3ea2d0b74a5d3e6c22108ead8b0f2917 | [] | no_license | jflournoy/lnt_pxvx | fac8d6b00b886fa3dc800dcaa288aa186027b9ea | 3f1ddc64e4bf0aecddfa21d45f889620dbdd442d | refs/heads/master | 2021-10-20T12:52:55.625243 | 2019-02-27T17:06:09 | 2019-02-27T17:06:09 | 64,423,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,999 | tst | ~LCM-SR-bfa_mt_d-nat.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.439042D+00
2 -0.558038D-02 0.374993D-02
3 -0.623768D-03 0.60305... |
4441c5cb12667e7c4736201688f26dd12b610fdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH15/EX15.1/Chapter15_example1.sce | 347e3c459e7446a58ad7ef969cf7b6d851596ca0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,856 | sce | Chapter15_example1.sce | clc
clear
//Input data
Vs=0.0028;//Swept volume in m^3
N=3000;//Speed of the engine in rpm
ip=12.5;//The average indicated power developed in kW/m^3
nv=85;//Volumetric efficiency in percent
p1=1.013;//The atmospheric pressure in bar
T1=288;//The atmospheric temperature in K
ni=74;//Isentropic efficiency in per... |
4488bdf03b2aad6fe5c44fa338b6e93b2055e0dd | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpklp2lp/test_2.sce | 996323be5fd9cdcae2225b2af594104e7559716a | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | test_2.sce | // Test # 2 : Excess Input Arguments
exec('./zpklp2lp.sci',-1);
[z,p,k,n,d]=zpklp2lp(0.3,0.2,0.7,0.5,0.6,4);
//!--error 58
//Wrong number of input arguments
|
1209a0421885e313ebe3401aabcb8ae57b48443e | 2c2dc93267283e4aebcffffd5bd76e19ddcf5cc7 | /output/C45-C.glass/result1.tst | a834e9d7a54b301a5386a8233bd8eb01b455e590 | [] | no_license | joseangeldiazg/probabilistic_keel | c9cf4ddc2cf750cbbeca88e6f84218084892ae1f | 6c5ddf8c98cc7431d523b291e521d1e8607dc662 | refs/heads/master | 2020-05-21T12:26:41.754863 | 2017-01-08T10:29:44 | 2017-01-08T10:29:44 | 55,733,275 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | tst | result1.tst | @relation glass
@attribute RI real[1.51115,1.53393]
@attribute Na real[10.73,17.38]
@attribute Mg real[0.0,4.49]
@attribute Al real[0.29,3.5]
@attribute Si real[69.81,75.41]
@attribute K real[0.0,6.21]
@attribute Ca real[5.43,16.19]
@attribute Ba real[0.0,3.15]
@attribute Fe real[0.0,0.51]
@attribute typeGlass{1,2,3,4... |
c49f7ffdffae9e40497e098ccf104dedaba438a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH10/EX10.5.1/FIR_DECIMATION_2.sce | 3d74a3a92efc80069443848e23fc7ec66c415ea2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,233 | sce | FIR_DECIMATION_2.sce | //Graphical//
//Example 10.5.1
//Decimation by 2, Filter Length = 30
//Cutoff Frequency Wc = %pi/2
//Pass band Edge frequency fp = 0.25 and a Stop band edge frequency fs = 0.31
// Choose the number of cosine functions and create a dense grid
// in [0,0.25] and [0.31,0.5]
//magnitude for pass band = 1 & stop ban... |
147ad5a95c521c60e246c3ef4517083ac1aead7f | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-detect-empty.tst | 04a494ade89609909919cda07e323084f2fc2ff0 | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 64 | tst | test-detect-empty.tst | FLAGS='--detect'
STDIN=''
STDOUT='NONE\n'
STDERR=''
EXITVAL='0'
|
e32f9bdd77f3fa489a59f9d6843bb27b4dc1a1e0 | b2d3db891e489d6c9c22b9c1b7d78745a13f2ebc | /DFT.sce | ac4c1f693e2d6ea01395d3155084a317e76e9517 | [] | no_license | rajas1612/Digital-Signal-Processing | 28f1eee626141f34b71f36fe4f338c2380065a0c | 7b040622bab80a30910a3cde431c7a253c76439d | refs/heads/main | 2023-04-02T22:46:16.605197 | 2021-04-01T12:05:32 | 2021-04-01T12:05:32 | 335,709,667 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,248 | sce | DFT.sce | clear;
clc;
close;
x = [5-4*%i,2-2*%i,-4,-6];
N = [0,1,2,3];
//Plotting magnitude of input signal
scf(1);
title('Plot of magnitude of x(n)','FontSize',4);
xlabel('n','FontSize',4);
ylabel('|x|','FontSize',4);
plot2d3(N, abs(x));
e = gce();
e.children.thickness = 4;
a = gca();
a.x_location = "origin";
... |
426da071486d16f2c53b3364d77bcc1cbe649ade | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH10/EX10.26/Chapter10_Example26.sce | 7fd52b1cf937f47e6bb85927279fe7ea84f1728e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,121 | sce | Chapter10_Example26.sce | //Chapter-10, Example 10.26, Page 451
//=============================================================================
clc
clear
//INPUT DATA
e=0.6;//Emissivity of thermocouple
Ta=20+273;//Ambient temperature in K
Tt=500+273;//Temperature from the thermocouple in K
e=0.3;//Emissivity of radiation shield
h=200... |
30eebbf6af3c65b8dd95bc50b0b9d73ed167389e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH20/EX20.1/Ex20_1.sce | 3a48add852c6d12f1a91a4f36e86823b58a7a01d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Ex20_1.sce | //To Calculate the smallest Diffraction Angle
//Example 20.1
clc;
clear;
a=2.6*10^-10;//Edge Length of Cubic Lattice
h=1;//Miller Indice h
k=1;//Miller Indice k
l=1;//Miller Indice l
lambda=1.542*10^-10;//Wavelength of light
theta=asin(lambda*sqrt(h^2+k^2+l^2)/(2*a))*180/%pi;
printf("Small... |
7312bfa168ec28636a6c887ceeb5f052f00a45f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH2/EX2.12/212.sce | e74c6f7bc18b2705ce7b34034d83d8dcc32773a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 212.sce | // problem 2.12
d=4
s1=0.6
s2=0.9
l=1
h=s1*l/s2
cob=h/2
cog=l/2
dcog=cog-cob
i=3.142*d*d*d*d/64
v=3.142*0.25*d*d*h
bm=i/v
bm=dcog
l=(6*1.5)^0.5
disp(l,"maximium lenght of cylinder in m")
|
be472a9a34ea692e02a1db2e13c5e8654fb9b38a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH12/EX12.1/gpc_ex11.sce | bbd5e557dcdc457da7f3e269755f1a5c27cd903e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 919 | sce | gpc_ex11.sce | // Model derivation for GPC design in Example 12.1 on page 439.
// 12.1
exec('xdync.sci',-1);
exec('polmul.sci',-1);
exec('flip.sci',-1);
exec('rowjoin.sci',-1);
exec('polsize.sci',-1);
exec('left_prm.sci',-1);
exec('t1calc.sci',-1);
exec('indep.sci',-1);
exec('seshft.sci',-1);
exec('makezero.sci',-1);
ex... |
d9934d37d4b91239d6d49e61de1e15d44c3a3705 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/percent/%lssls.sci | 87522b5be60cb23ef3bfc6cc5907bba714fc609a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48 | sci | %lssls.sci | //<s>=%lssls(s1,s2)
//
//!
s=s1*inv(s2)
//end
|
c5193080642e2031f38f7d6f8f67f3f6c2b98a9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH3/EX3.21b/Exa_3_21b.sce | 428a164d7eac7d3fba2c24d8d5916665a66ec122 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | Exa_3_21b.sce | clear;close;clc;
max_limit=10;
h=[2 5 0 4];
n2=-2:length(h)-3;
x=[4 1 3];
n1=-1:length(x)-2;
y=convol(x,h);
n=-3:length(x)+length(h)-5;
a=gca();
subplot(211);
plot2d3('gnn',n2,h)
xtitle('impulse Response','n','h[n]');
a.thickness=2;
a.y_location="origin";
a=gca();
subplot(212);
plot2d3('gnn',n1,x)
a.y_... |
ead7228a2c8834ee35a64f73140318c92741b745 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH5/EX5.21.b/solution5_21.sce | 2da667d0448338b86e44835c7c6b7aef1ba661fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,740 | sce | solution5_21.sce |
//Function to round-up a value such that it is divisible by 5
function[v] = round_five(w)
v = ceil(w)
rem = pmodulo(v,5)
if (rem ~= 0) then
v = v + (5 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution5_21.sce')
//Obtain path of data file
dat... |
d543624993416e962d0ed11d04da740134040bb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.20/Example5_20.sce | 3eb8028b8e11f50ae12c03c700b9c829726309b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Example5_20.sce | //Exmaple 5.20
clc
disp("The fig. 5.37 shows the implementation of 1 to 32 demultiplexer using two 74X154 ICs. Here, the most significant bit of select signal (A4) is used to enable either upper 1 to 16 demultiplexer or lower 1 to 16 demultiplexer. The data input and other select signals are connected parallel to bot... |
c35919a89e906e8daecbe386aef261a9e2a622c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH1/EX1.8/ex1_8.sce | b9e07d2b802010b57fb50f905c384adc147d55e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | ex1_8.sce | //Page Number: 20
//Example 1.8
clc;
//Given
c=3D+8; //m/s
f=3D+9; //Hz
ZL=50-(%i*100); //ohms
Z0=50; //ohm
//Wavelength
lam=c/f;
disp('cm',lam*100,'Wavelength:');
//Normalized load impedance
z=ZL/Z0;
disp(z,'Normalized load impedance:');
//From chart
zin=0.45+(%i*1.2);
yin=0.27-(%i*0.73);
ZINN=Z0*... |
c9dac2f599e0a7785b5b0c5fcaa1539f395355af | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/DetachBase.sci | ebcb564807cf35771beecaa00101ea3896720ab4 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 284 | sci | DetachBase.sci | // DetachBase.sci detach base frame from robot
// www.controlsystemslab.com August 2012
function [robot,Tb]=DetachBase(robot)
Tb = robot.base;
robot.base = eye(4,4);
endfunction
function [robot,Tb]=detachbase(robot)
[robot,Tb]=DetachBase(robot);
endfunction |
5f715d68be147c83e8210bae1a1ea896cacf37da | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/metanet/g_maxcap.sci | 85d05459d299245b6a75f2a674f270db271a5041 | [
"MIT",
"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 | 77 | sci | g_maxcap.sci | function m=g_maxcap(g)
[lhs,rhs]=argn(0), if rhs=0 then g=the_g, end
m=g(24)
|
c47bfe7c86cdaf8d487f878ae87877b4a9d4a701 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH8/EX8.3/8_3.sce | f5d7a31cb0a0de93cca1e0bae44fb5b59d35d99c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 904 | sce | 8_3.sce | //Find Rupture Energy Modulous Of Rupture and Notch Imapct Strength
//Ex:8.3
clc;
clear;
close;
l=0.1;//frictinal and windage losses in kgf-m
dr=5.9;//dial reading in kgf-m
u=dr-l;//in kgf-m
disp(u,"Rupture Energy (in kgf-m) = ");
t=10;//in mm
d=t/5;//depth of V-notch in mm
te=t-d;//effective thickness in mm... |
205c3b59bd22039e38134b7d5eed51f6f0ca0d94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH17/EX17.6/ch17_6.sce | 84ab97343760c43ea20522a3f7799a22a8b89acc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | ch17_6.sce | //(A) determine the critical clearing angle
clear
clc;
Pm=%i*.12 + %i*.035 + ((%i*.25*%i*.3)/%i*.55);
Pm1=0;
Pm2=1.1*1/.405;
r1=0;
r2=2.716/3.775;
d0=(asind(1/3.775));
dM=(180-asind(1/2.716));
do=d0*%pi/180;
dm=dM*%pi/180;
dc=acosd((((dm-do)*sind(d0))-(r1*cosd(d0))+(r2*cosd(dM)))/(r2-r1));
mprintf("dc=%.... |
df21d435cfa828fb7b46007595067453db87fd20 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/uencode/uencode6.sce | 8a769bade32be926519a13f58e9551d7a51c01ec | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | uencode6.sce | //check o/p when i/p is of type 'char'
u='character';
y=uencode(u,3);
disp(y);
//output
//!--error 144
//Undefined operation for the given operands.
//check or define function %c_a_s for overloading.
//at line 52 of function uencode called by :
//y=uencode(u,3);
//Corresponding MATLAB o/p
//Error using uencod... |
d8551bf4faed5b9febc2aee27805a363f859aa02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH11/EX11.6/Ex11_6.sce | 3f8e2c8e405c079a7648c617245b449a94ae6457 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Ex11_6.sce | clc//
//
//
//Variable declaration
r=5.29*10^-11; //radius(m)
B=2; //magnetic field(T)
e=1.602*10^-19; //charge(c)
m=9.108*10^-31; //mass(kg)
//Calculation
mew_ind=e^2*r^2*B/(4*m); //change in magnetic moment(Am^2)
//Result
printf("\n change in magnetic moment is %0.3f *10^-29 Am^2",m... |
1a1306e33ec0129a7bd79781976b82711ce41417 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos/standard_origin.sci | f3de281120291a7b73e3b6c92ccc966f5efd7796 | [
"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 | 91 | sci | standard_origin.sci | function [x,y]=standard_origin(o)
// Copyright INRIA
orig=o(2)(1)
x=orig(1);y=orig(2);
|
c7ce22f9a20273bde62377eae4f4d199daa1d8b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH16/EX16.5/EX16_5.sce | 5a9e11694933dcb2453b838f688247e4e05f5342 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX16_5.sce | //Example 16.5
c1=3*10^-6
c2=6*10^-6
c3=12*10^-6
c4=24*10^-6
delta_v=18
c_eq=c1+c2+c3+c4
disp(c_eq,"capacitance in farad=")
q=delta_v*c3
disp(q,"voltage between battery in c=") |
3e280cd44e3eae2828ed073e705d5d1be8d509c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH6/EX6.6/6_6.sce | 466045bf9d03c966bdcc316d8dab6bbf112f0c50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | 6_6.sce | // example:-6.6,page no.-307.
// program to evaluate the worst case percent error in computing magnitude of reflection coefficient.
Z1=100;Z2=150;Zl=225;
tao_1=(Z2-Z1)/(Z2+Z1);
tao_2=(Zl-Z2)/(Zl+Z2);
tao_exact=(tao_1+tao_2)/(1+tao_1*tao_2); // this results as angle is taken zero.
tao_approx=tao_1+tao_2; // this ... |
1ca7f3faa8e5e989f7117279f2b77181e8002cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.4/Ex7_4.sce | 021dca99e22bff5fc65189b701e352a057da22f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,064 | sce | Ex7_4.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 4
clc;
disp("CHAPTER 7");
disp("EXAMPLE 4");
//10kVA Transformer with 50 turns on primary and 10 turns on secondary
//connected to 440 V 50Haz supply
//VARIABLE INITIALIZATION
va=10*1000; //apparent power, converting kVA to VA
N1=50; ... |
be4aa63bf3ad49ca5af5e08abdc41ef80a295d4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH3/EX3.6/6.sce | a1a02600b4ebd925310aa369e72c4ee375a1d584 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 153 | sce | 6.sce | clc
u=0.03; //Ns/m^2
Q=10^(-7); //m^3/s
dp=integrate('8*u*Q/%pi/0.005^4/(1-L)^4', 'L', 0, 0.5)
disp("Pressure difference =")
disp(dp)
disp("N/m^2") |
0ca3f6eb58fc5d53f388096a9e28e18b1d511716 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH4/EX4.6/chapter4_ex6.sce | 7bce6f1c05447b99092941d0f23c12ade15c5eca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | chapter4_ex6.sce | clc
clear
//input
r=10;//resistance of an inductor in ohms
l=0.08;//inductance in henry
c=200*(10^-6);//capacitence of the capacitor connected in series to the inductor in farad
v=240;//supply voltage in volts
f=50;//supply frequency in hertz
//calculations
xl=2*%pi*f*l;//reactance of the inductor in ohms
... |
a723a72135df2b773c9e08a7e749156687b94420 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH17/EX17.1/17_1.sce | ce3316ba4aeac0a92cade9820ed1d08ab2c762df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,356 | sce | 17_1.sce | clear;
clc;
P=100e3;
pf=.9;
Len=200;
eff=.95;
Vreg=.15;
//(a)
V=5.5 * sqrt((Len/1.6)+(P/100));
V=220;
Z0=400;
SIL= V * V/Z0;
n=(P/(SIL*1e3))+1;
mprintf("\n (a) Voltage rating= %.0f kV,\n no of circuits= %d",V, n);
//(b)
Ir= P/(sqrt(3)*V * pf);
r20=.302
Temp2=75
Temp1=20
r75=round(r20 * ((228+Te... |
4b637a9834015c5d63ea55e34435bf7fea4c6877 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH14/EX14.2/Example14_2.sce | b9291e28e7ae0fc9f7fe13c4ab54073f146d7ce9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example14_2.sce | //computation of equilibrium constant
clear;
clc;
printf("\t Example 14.2\n");
NO=0.0542;//equilibrium conc of NO, M
O2=0.127;//equilibrium conc of O2, M
NO2=15.5;//equilibrium conc of NO2, M
Kc=NO2^2/(O2*NO^2);//equilibrium constant for given reaction
printf("\t the value of the equilibrium constant ... |
43d6f77bd31b5b26dd3178fe2c0c64592175064d | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH2/EX2.22/2_22.sce | 5eed2463d54919db29ec627e93811cf1be940a72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | 2_22.sce | clc
//ex2.22
V_s=15; //voltage source
R_1=10;
R_2=5;
i_s=2; //current source
//Analysis with only voltage source active
V_1=R_2*V_s/(R_1+R_2); //voltage-division principle
//Analysis with only current source active
R_eq=1/((1/R_1)+(1/R_2)); //R_1 and R_2 in parallel
V_2=i_s*R_eq; //oh... |
66c29e88c01c1b3e0af176c4dc6d3c3c6dd75518 | c02ed063f2e564a3a4ffb9bfc966bdd466fb9ae5 | /Cross Flow Dryers - Algorithm/project_version2/functionsGerator.sce | 269efdda8e35c306aff84a67c7034b21176437d1 | [] | no_license | higor21/Digital-Systems | 815078ac31f1c0808f253a04d4bc3441d182eead | ef3fb90d24dcfaaf4420480a50113c75903da235 | refs/heads/master | 2020-04-01T18:10:07.793739 | 2019-05-03T02:45:25 | 2019-05-03T02:45:25 | 153,475,650 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | functionsGerator.sce | T = [0: 0.25: 30]
Lp = 1000
Tp = 300
function [r] = z(t)
if(t <= 10) then
r = 0.035*t
elseif(t <= 15) then
r = 0.35;
elseif(t <= 20) then
r = 0.06*t - 0.55;
elseif(t <= 25) then
r = 0.65;
else
r = -0.13*t + 3.9;
end
endfunction
function [x] = f(T)
... |
96f191f244d02890a8b8d9aacf70471456ee8316 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH6/EX6.13/6_13.sce | a4e690c09d40e061746322c9c2fc4ea4ea171c82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | 6_13.sce | //area using cubic spline method
//example 6.2
//page 230
clc;clear;close;
x=[0 0.5 1.0];
y=[0 1.0 0.0]
h=0.5;
M0=0,M2=0;
M1=(6*(y(3)-2*y(2)+y(1))/h^2-M0-M2)/4;
M=[M0 M1 M2];
I=0;
for i=1:2
I=I+(h*(y(i)+y(i+1)))/2-((h^3)*(M(i)+M(i+1))/24);
end
printf(' the value of the integrand is : %f',I);
|
3c2c046aa0fb4631403af748542e323c2d8a556c | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/microdaq_macros/mdaq_enc_read.sci | 6b2422fec82beafb07d37b3dc4a21c75cc0805f6 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 643 | sci | mdaq_enc_read.sci | function [position, direction] = mdaq_enc_read(link_id, module)
position = [];
direction = [];
if link_id < 0 then
disp("Wrong link ID!")
return;
end
if module > 2 | module < 1 then
disp("ERROR: Wrong encoder module!")
return;
end
result = [];
[posit... |
4fca5cea4e7816c327b325667e1097ed4a6f58ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH6/EX6.3c/eg6_3c.sce | 856c116255937ab6ae8dfb5200fdbe94f8bb6bcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | eg6_3c.sce | ideal_num = 150;
actual_num = 450;
attend = 0.3;
tolerance = 0.5
disp(1-cdfnor("PQ",ideal_num+tolerance, actual_num*attend, sqrt(actual_num*attend*(1-attend)) )) |
bb44bc490a24e02373841c9aeb5b86ec2abd7834 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH5/EX5.20/Example_5_20.sce | 5a49afdc4552831d3fc81f0f0b7cee230ef18f17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Example_5_20.sce | //Example 5.20
clear;
clc;
//Given
delHf=335;//latent heat of fusion in J g^-1
Vs=1.0908;//volume of solid in cm^3 g^-1
Vl=1.0002;//volume of liquid in cm^3 g^-1
T=273;//temperature in K
//To determine the decrease in melting point with increase in pressure
delVm=Vl-Vs;//volume change in cm^3 g^-1
a=(delH... |
c96b8d7e7ef659aba88b9ec8fbb1c4feee7dd6b3 | 4c59f4da523df5b09b8bcd1a4b390c093a26b9b0 | /Analyse numérique appliqué/SCILAB/test.sci | 4fc836d162d1469e343aaa5e2626201db605e5ad | [
"BSD-3-Clause"
] | permissive | ticuss/Mon-parcours | efcb633d5461b9af7a4426e252b5bcde8b676deb | 85e162691feb4008372584b1922dbd0c4c11f18f | refs/heads/master | 2023-03-27T11:05:14.832185 | 2021-03-26T15:59:16 | 2021-03-26T15:59:16 | 274,419,849 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sci | test.sci |
//Initialiser
C0 = 25
R0 = 5
V0 = [C0;R0]
//la matrice de coefficients
A = [0.5 0.4;-0.104 1.1]
//nombre de mois
n = 20
M = zeros(2,2)
M(1,1) = C0
M(2,1) = R0
V=V0
for i = 2:n
V(1:2,i) = A*V(1:2,i-1)
scf(0)
clf(0)
a=get("current_axes");
a.x_location="origin";
a.y_location="origin";
xtitle("rats et chouettes en cou... |
97fe57fbf2113245672c724567602640ab6e868c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH8/EX8.5/ex8_5.sce | 873223717e0618b764557babef4ba03d7cb0851b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 788 | sce | ex8_5.sce | // Exa 8.5
clc;
clear;
close;
format('v',6)
// Given data
R1 = 10;// in k ohm
R2 = 5;// in k ohm
Zb = 1;// in k ohm
Zin = (R1*R2*Zb)/( (R1*R2)+(R2*Zb)+(Zb*R1) );// in k ohm
disp(Zin,"The input impedance in k ohm is");
R_C1 = 2;// in k ohm
R_E1 = 2;// in k ohm
R_C2 = 2;// in k ohm
R_E2 = 2;// in k ohm
h_o... |
25e92aea72b819262d982db7c2920d0c612edcfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH3/EX3.7/3_7.sce | 2e06030ec557548ba91b11010ae2c500153e8d9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,629 | sce | 3_7.sce | clear;
clc;
// Illustration 3.7
// Page: 183
printf('Illustration 3.7 - Page: 183\n\n');
// solution
//*****Data*****//
// 1-benzene a-absorber s-steams
T = 300; // [K]
P = 101.3; // [kPa]
R = 8.314; // [gas constant]
v = 1; // [cubic m/s]
// Gas in
y1a = 0.074;
// Liquid in
x2a = 0.0476
// Recov... |
21082cc5513084d42653deca7a5a34eb33dd3c24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH13/EX13.6/ex_13_6.sce | 76636f6b38cc22a4ad0aab2e005a2322c1f06644 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,056 | sce | ex_13_6.sce | warning('off');
printf("Enter the source file name");
//Enter file name (output.dat) which you have created in the example 13.3
// to see the output
inpfile=scanf("%s");
printf("Enter the destination file name");
outfile=scanf("%s");
try
fpin=mopen(inpfile,'r');
fpout=mopen(outfile,'w');
if(fpin>0) ... |
2fdf45488603e87712ebd408c8f579072ddafa7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH3/EX3.4/Ex3_4.sce | e1cf9bf017ef60a884c1621c96373a184150555e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | Ex3_4.sce |
mu_not=4D-7*%pi
I1=30//current in wire A
I2=30//current in wire B
R=10D-2//distance b/w 2 wires
F=mu_not*I1*I2/(2*%pi*R)
mprintf("Force per metre length is %d*10^-4 N/m in both cases (i)and (ii). However in case(i), it is attractive and in case(ii), it is repulsive", F*10^4)
|
baf653189e628d6d70a82494f2cc74ab2ed9b7f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH11/EX11.4/ex4.sce | 28d62f6a6547a9586d5c17d96f5c692c75686014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | ex4.sce | // Chapter 11_ Metal-Oxide-Semiconductor Field Effect Transistor:Additional Concepts
//Caption_Breakdown voltage
//Ex_4//page 527
eps=11.7*8.85*10^-14
e=1.6*10^-19;
Nd=10^19 //donor concentration
Na=10^16 //acceptor concentration
L=1.2*10^-4 //channel length
ni=1.5*10^10 //intrinsic carrier concentration
... |
e01e589b73242c160e21380c0e8bdf6a7bcd8ac0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.27/Exa2_27.sce | 960e74a3e3640fa207612a8b634ea867d45ac261 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Exa2_27.sce | //Exa2.27
clc;
clear;
close;
//given data
E_AC=16*10^-6;//in V per degree C
E_BC=-34*10^-6;//in V per degree C
//By law of successive contact (or intermediate metals)
E_AB=E_AC-E_BC;//in V/degree C
E_AB=E_AB*10^6;// in miu V/degree C
disp("EMF of iron with respect to constantan is : "+string(E_AB)+" micro V/d... |
1a851600e53af00944f292c10df49111abe217c3 | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/27.tst | 1a575d3c99a5f62590b5a6a94faef8f0c7d10773 | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | tst | 27.tst | 1000 1000
48
30 50 10
50 30 10
70 90 10
90 70 10
110 130 10
130 110 10
150 170 10
170 150 10
190 210 10
210 190 10
230 250 10
250 230 10
270 290 10
290 270 10
310 330 10
330 310 10
350 370 10
370 350 10
390 410 10
410 390 10
430 450 10
450 430 10
470 490 10
490 470 10
510 530 10
530 510 10
5... |
5258e178ad2067713e82f23cbcfe76c9357e216b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH2/EX2.16/Ex2_16.sce | 5c02efc60d2d9bf71c3464f80efc2da928c90a0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | Ex2_16.sce | //Example 2_16
clc();
clear;
//To find the angular separation of two lines of sodium in the first order spectrum
N=5*10^5 //units in lines per meter
m=1
lemda1=5890*10^-10 //units in meters
lemda2=5896*10^-10 //units in meters
theta1=asin(m*N*lemda1)... |
3530418478cf9fa7cbd8980c16fc646ae20b4224 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH8/EX8.7/Ex8_7.sce | c5d296458521b23f2e439063d2afaed3382b8370 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | Ex8_7.sce | clc;
close();
clear();
//page no 288
//prob no. 8.7
//All frequencies in kHz
k=7;
W=1;
Bt=k*W;
printf('Minimum Bandwidth is %i kHz',Bt);
|
b32c2ecc8b0684ad7cbd999174513e756a13717f | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH19/EX19.2/Example19_2.sce | 265788b845e4f74f81781b46d8a3d744259e53ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Example19_2.sce | //Given that
V = 37*10^3 //in Litre
b = 9.50*10^-4 //in /degree C
deltaT = -23 //in degree C
//Sample Problem 19-2
printf("**Sample Problem 19-2**\n")
deltaV = V* b* deltaT
Vd = V + deltaV
printf("The amount of oil delievered is %dL", Vd) |
40e32d08348354b9b70d175f7303715316cb0ddb | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH2/EX2.26.b/2_26_b.sce | 83974093b5e825fad70e88910c1e07ba08db626d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 2_26_b.sce | clear; clc; close;
Rl = 3*10^(3);
R = 10^(3);
Vi = 16;
Vz = 10;
V = Vz;
Vl = V;
Vr = Vi-Vl;
Il = Vl/Rl;
Ir = Vr/R;
Iz = Ir - Il;
Pz = Iz*Vz;
disp(Vl,'Vl is : ');
disp(Vr,'Vr is :');
disp(Iz,'IZ is :');
disp(Pz,'Pz is :');
|
7af8f6f9736d09674374347805c465745c3989d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH3/EX3.2/example3_2.sce | 32cfd2d15310f85d99add2feb71b044ba982bfbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | example3_2.sce | //clc()
MK = 39.1;
MC = 12.0;
MO = 16;
MK2CO3 = MK * 2 + MC + MO * 3;
m = 691;
N = m / MK2CO3;
A = 6.023 * 10^23;
molecules = N * A;
disp("molecules",molecules,"Total no. of molecules =") |
31dcc935777c999e293fe8907665d341974df412 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH8/EX8.5/5.sce | 4ed72447a786037f9bab6499c1514bc2be54fc11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | 5.sce | //variable declaration
a=5
n1=1.450
n2=1.447
lamda=1 //wavelength
//Calculations
N_a=(n1**2-n2**2) //Numerical aperture
N=4.9*((a*10**-6*sqrt(N_a)/(lamda*10**-6))**2)
//Result
printf('maximum no.of modes propogating through fiber =%0.3f \n',(N))
printf('Correction needed')
|
191192d879e95b44dc1fe77a009152c92a96218b | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RM1.prev.tst | 4db8efc3f39e3403aaf7d84fd4acfd09eb7fd650 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | tst | RM1.prev.tst | {a=>2+4*a,b=>3+4*b,c=>2*c,d2=>1+2*d2} refined by [1 1 1 1]: {a=>6+8*a,b=>7+8*b,c=>2+4*c,d2=>3+4*d2}
set to [1 1 1 1]: {a=>1,b=>1,c=>1,d2=>1}
|
f3841ca16bc24f22230889b08661df1aa1b565c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH6/EX6.3/ex6_3.sce | 838a85fe0851d72f12d2a4706a8cba0d16c138f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_3.sce | // Exa 6.3
clc;
clear;
close;
// Given data
R3 = 6;// in k ohm
R4 = 2;// in k ohm
A = 1+(R3/R4);
if A>3 then
disp("The circuit will work as the oscillator")
end
R = 5.1;// in k ohm
R = R * 10^3;// in ohm
C = 0.001;// in µF
C = C * 10^-6;// in F
f = 1/(2*%pi*R*C);// in Hz
f = f * 10^-3;// in kHz
dis... |
4e2e86e51c560c7a5b145c2be95ee3cff4fd5c36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH4/EX4.2.4/4_2_4.sce | 92cb1f99a6ff91aba4358d4bf326f8d26472498a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | 4_2_4.sce | clc
pathname=get_absolute_file_path('4_2_4.sce')
filename=pathname+filesep()+'424.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
ndot=rate/(1-x1)
deltaN= -vol*d*10^3 /M
tf=deltaN/(-0.1 * ndot)
printf(" \n The time Requir... |
38fca915cd3413697cc19af2b41413fc91c7ed8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH12/EX12.4/Ex12_4.sce | dd3e876fc4f84002f09a77f21a69f8d716e26c89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | Ex12_4.sce | // Example 12_4
clc;funcprot(0);
// Given data
p_s=4*10^5;// Pressure in Pa
a_s=347.2;// Sound speed in m/s
A_c=1*10^-4;// The flow area in m^2
p_a=1*10^5;// The atmospheric pressure in Pa
r=1.4;// The specific heat ratio
V_c=0.5787;
// Calculation
rho_c=(r*p_s)/a_s;// kg/m^3
m_c=rho_c*V_c*A_c;// kg/s
V_c... |
7db94561aed452fbd28cef52ba0874cd2c4eae6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.9/ex6_9.sce | e37bff8fc568f3a2b9742cd42f6793cdcf5440af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | ex6_9.sce | // Exa 6.9
clc;
clear;
close;
format('v',7)
// Given data
Vout = 12.5;// in V
Vin = 0.25;// in V
Av = Vout/Vin;// unit less
disp(Av,"The voltage gain without feed back is ");
Vin = 1.5;// in V
Avf = round(Vout/Vin);// unit less
// Avf = Av/(1+(Beta*Av));
Beta = ((Av/Avf)-1)/Av;// unit less
Beta = Beta*100... |
4f2744eeef60783f4ebbf5d29ee7ecd87eb6ccf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH13/EX13.6/Ch13Ex6.sci | 1f99790eb856fe692127de725748a0759a9355d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sci | Ch13Ex6.sci | // Scilab Code Ex13.6: Electronic polarizability from refractive index : Page-289 (2010)
N = 3e+028; // Number density of atoms of dielectric material, per metre cube
epsilon_0 = 8.854e-012; // Absolute electrical permittivity of free space, farad per metre
n = 1.6; // Refractive index of dielectric materia... |
52c65cdfba6821140587b18951240a4019e55887 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH7/EX7.2/7_2.sce | 65f2d8c5aa7f4d2dc3449b7e99e870fb33dca2c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | 7_2.sce | clc
//initialisation of variables
d1= 4//ft
d2= 2 //in
l= 300 //ft
P= 5 //lb/in^2
h1= 3 //ft
h2= 6 //ft
f= 0.01
//CALCULATIONS
X= P*2.31*10*(d2/12)^5/(f*l)
A= %pi*d1^2/4
function [y]=fun(h)
y=A*sqrt((P*2.31*10*(d2/12)^5/(f*l))-(10*(d2/12)^5*h/(f*l)))/(10*(d2/12)^5/(f*l))/7
endfunction
vec2=intg(h1,h2... |
13474a0f5d0f59149f45ead7358594e46f7576ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH9/EX9.23/ex9_23.sce | afdf321cea246cc11e21cbe3140f1d12c44f9ff6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | ex9_23.sce | //Page Number: 515
//Example 9.23
clc;
//Given
lam=8000D-10; //m
a=0.5D-2; //m
D=4D+8; //m
//Angular Spread
t=(1.22*lam)/a;
disp('rad',t,'Angular spread:');
//Aerial spread
A=%pi*((D*t)^2);
disp('m sqr',A,'Aerial spread:');
//Answer for A is given as 193 m sqr but it is 1.915D+10 m sqr
|
4675d902244548bf4ea570a7a901b86e93109c3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH1/EX1.1/ex1_1.sce | dc508ea1d79ee0bda60f8e559e605a9ea0d37182 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | ex1_1.sce | // Exa 1.1
clc;
clear;
close;
// Given data
V_EE = 10;// in V
R2 = 2.4;// in k ohm
R1 = 2.4;// in k ohm
R3 = 1;// in k ohm
V_BE3 = 0.7;// in V
I = (V_EE - ((R2*V_EE)/(R1+R2)) - V_BE3)/R3;// in mA
disp(I,"The constant current in mA is");
|
729b0210f4f66c8f8c52282b11b1afc10d0fcf22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.3/ex_4_3.sce | e8c3b69b3d1b9bd6ee87fb827ac5c8b5b3f5b204 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | ex_4_3.sce | // Example 4.3
clc;
clear;
close;
// Given data
// Part (i)
a= 0.90;
B=a/(1-a);
disp(B,"At alpha= 0.90, the value of Bita is : ")
// Part (ii)
a= 0.99;
B=a/(1-a);
disp(B,"At alpha= 0.99, the value of Bita is : ")
|
4d06c3d3bae3a9ef34a93562ce3bdc7f1be71282 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH10/EX10.6/Ex10_6.sce | 46b910f7c10f18d3cb93f23380b6bc283fa3611b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ex10_6.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex10_6.sce
clc;
clear;
s=0.05; //Full load slip of 5 percentage
Iss_by_Isf=5; //Taken from question statement
Ts_by_Tf=s*(Iss_by_Isf)^2;
printf("\n Starting ... |
fbce9754a3f8ffa7fe711da6f842d03fffcd6632 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH2/EX2.5/Example2_5.sce | 1d80a7f2f4c37c9e15a5c2e2b1e65c755c8e3f00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example2_5.sce | ////Example 1.5 Page No:23
////Find Stress in metallic rod
////input data
clc;
clear;
d1=50*10^-3; //Diameter of metalic rod in mm**2
L1=220*10^-3; //Length of metalic rod in mm
Pt1=40*10^3; //Load of metalic rod in KN
deltaLt1=0.03*10^-3; //Elastic enlongation... |
79e84178cb9a53c89ee7bfd9b33045adefe9ef66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch4_3.sce | 74e715ca37430d921737868aefc2da0ab7c86ee0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | ch4_3.sce | clc
disp("Problem 4.3")
printf("\n")
//From figure 4.2
disp("The reduced incidence matrix is ")
A=[-1 1 0 0 1 0
0 -1 1 0 0 1
0 0 0 1 -1 -1]
disp(A,"A=")
AT=[ -1 0 0
1 -1 0
0 1 0
0 0 1
1 0 -1
0 1 -1 ]
disp(AT,"AT=")
//Let e be the node to ... |
88abf7be3df2a579acf056a70b383056a2154f49 | 725517259e3eea555ad0f79d421792c632bc4655 | /workspace/MissionB3.sci | 8f5cafbea49c0087c25e505b3458b2d5bdf1537a | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sci | MissionB3.sci | //Load scripts from folder
funcprot(0)
getd("../scripts")
//Global variables
imgPos = "../images/" //The position of the source images
renderPos = "render/" //The folder where the render images will be saved
//Load image
imgin = readpbm(imgPos+"HD215497.pbm")
//Isolate the specific color range to yellow
coldwimg = ... |
9741a75deb4a6855fa884cd5c645cffcf836db00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH10/EX10.9/EX10_9.sce | b5f8f1c928c22d0ca725f8f2e8e72896e3376377 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,202 | sce | EX10_9.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 10 ; Example 10.9
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
Srated = 10; //power rating in MVA
Vprtr = 80; ... |
8863913b8097b634211d72ca295e83ff18794a65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH4/EX4.11/Ex4_11.sce | 1f3099ebec1007decaf805911d8963addca02a29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | Ex4_11.sce | //Caption:Find all modes that can propagate at 5000MHz.
//Exa:4_11
clc;
clear;
close;
a=4;//in cm
b=3;//in cm
f=5*10^9;//in Hz
c=3*10^10;//in cm/s
wl_o=c/f;
//For TE waves:
wl_c_TE01=2*b;//for TE01
wl_c_TE10=2*a;//for TE10
wl_c_TE11=2*a*b/sqrt(a^2+b^2);//for TE11
if(wl_c_TE01>wl_o)
disp('TE01 can pr... |
a04d5554e2527567b99e49e8c406c5d711da654d | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.14/Ex_6_14.sce | 26540e5971f7b6dd7b668d85a873704f05c63da1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | Ex_6_14.sce | //Example 6.14
clc;clear;close;
X=[3 2+%i 1 2-%i];
//Calculation of IDFT
x=fft(X,1);
x=clean(x);
disp(X,'DFT of the Sequence is X(k): ');
disp(x,'Sequence is x(n): '); |
b88dea91d387ac8506a1e45f322b9ac3fac80f4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH3/EX3.26/Exa_3_26.sci | 039b1b19fd1e538d0c917f095533d7968cef771d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_3_26.sci | //Response of periodic inputs
function[p]=period(x)
for i=2:length(x)
v=i
if (abs(x(i)-x(1))<0.00001)
k=2
for j=i+1:i+i
if (abs(x(j)-x(k))<0.00001)
v=v+1
end
k=k+1;
end
end
if (v==(2*i)) then
bre... |
a69215d8f4941cc50029c45341070c3dfb4a9425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH13/EX13.11/ques11.sce | 709231fdcb9f4516f1969a092857a74f8f0f2e23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | ques11.sce | //ques11
clc
disp('solution of the given linear differential equation is given by : ');
disp('CF + PI');
syms c1 c2 x
m=poly(0,'m');
f=(m-2)^2;
r=roots(f);
disp(r);
disp('CF is given by ');
cf=(c1+c2*x)*exp(r(1)*x);
disp(cf);
disp('----------------------------------');
disp('PI =8*{1/(D-2)^2[exp(2x)]+{1/(D... |
b8a031812830c983a21597fbb8ce77e1e595f869 | 7bf9b615fc7bd8790ccc10d5e8f07824d114a245 | /demo_plotline.sce | 46080d7db9bf833c9ee20983611d8bb69690d35f | [] | no_license | szhilin/scirt | 91b4ea7c9f328999e8f5aa1799b0930256bcdde9 | 31ea78eb9e7fb547dd6d81fe86b89ccb9f4c761d | refs/heads/master | 2021-01-09T06:00:49.769480 | 2017-02-05T15:56:33 | 2017-02-05T15:56:33 | 80,890,335 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | demo_plotline.sce | /// Demo for ir_plotline()
b = [1; 2]; // line coefficients
bb = [2*%pi*b(1); -b(2)]; // compute another line coeficients
X = (1:5)'; // data points lying at
Y = [ones(5,1) X]*b; // the line y = b(0) + b(1)*x
figure;
plot(X,Y,'k*') // plot black points (X,Y)
ir_plo... |
daae0fed4a1cae3f07461c5866e107c980743b45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH11/EX11.10/11_10.sci | 67a0fd7544ca074b6eec7f2a3a63c75ad771155c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sci | 11_10.sci | clc();
clear;
//To calculate radius
rho=1.83*(10^17); //average density of carbon nucleus in kg/m^3
m=12; //mass in u
//rho=m/[(4/3)*pi*r].Therefore r=[m/[(4/3)*pi*rho]]^(1/3)
r=[m*1.66*(10^-27)/((4/3)*%pi*rho)]^(1/3)*10^15 ... |
a090fff66935f494bb7601870b775cde4b772c60 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.18_10.tst | 5e851228cb382c7947da7dd1686bc03a39fce9e9 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 27,198 | tst | bow.18_10.tst | 18 5:0.5 8:0.5 14:1.5 18:1.0 23:1.0 26:1.5 39:0.16666666666666666 40:0.3333333333333333 43:0.5 56:0.04 89:0.3333333333333333 100:1.0 114:0.2 182:1.0 185:2.0 199:0.3333333333333333 460:1.0 503:0.25 524:1.0 610:1.0 663:1.0 685:2.0 700:1.0 748:1.0 1017:1.0 1026:1.0 1108:1.0 1230:1.0 1398:1.0 1402:2.0 1404:0.04761904761904... |
65c0ef12ebca0d3397e4aba82a2cb235f6c5a9b7 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/PCIeGen3/HSpiceUtilities/ACAnalysisConverter.sci | d055cd7147d5e8a5afe8dfbc5b974608a6c41008 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,238 | sci | ACAnalysisConverter.sci | // HSpice AC Analysis Frequency Response to S-parameter converter
//
// (c)2009 L. Rayzman
// Created : 05/14/2009
// Last Modified: 05/14/2009
//
// TODO:
//
clear;
//////////////////////////////////////Extraction Function////////////////////////////////////
function [f, D, Desc] = extract_from... |
4895646afb4b440cfde0e4fd1b1c76bba604286f | 31cfd6fac62ce1e0f8bb81f96db3978b301d4fd2 | /Raízes (zero de funções reais)/Pegaso/pegaso.sce | c289c9145996a17c6058f57ff054602143eaecf3 | [] | no_license | PierreVieira/Scilab_Programs | 2205084b7356cf9ab68e8b04525e55fd7e29636c | 63d717f04db929c81dc1ff7fa9eb886f3c6b6a8c | refs/heads/master | 2020-09-09T00:59:34.924700 | 2020-03-17T18:46:50 | 2020-03-17T18:46:50 | 221,296,397 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | pegaso.sce | exec('pegaso.sci');
a = -1;
b = 2;
Toler = 0.01;
IterMax = 100;
[Raiz, Iter, CondErro] = Pegaso(a, b, Toler, IterMax);
printf("\nRaíz %f\nIter %d\nCondErro %d", Raiz, Iter, CondErro);
|
19b4b00d92306a68ee3b02112da21216981bcb5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH10/EX10.5/ex10_5.sce | 7072e980a760118005b3b82e00153a77550e9bed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,118 | sce | ex10_5.sce | // Exa 10.5
clc;
clear;
close;
format('v',5)
// Given data
V_CC = 10;// in V
V_BB = -10;// in V
R_C2 = 1.2* 10^3;// in ohm
R_C1 = R_C2;// in ohm
R_B1 = 39 * 10^3;// in ohm
R_B2 = R_B1;// in ohm
R2 = 10* 10^3;// in ohm
R1 = R2;// in ohm
h_fe = 30;// unit less
V_CE2sat = 0;// in V
I1 = (V_CC-V_CE2sat)/R_C... |
6a997d23469acf3e6c189791d46d515aec507ffc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH6/EX6.10/pacf.sci | df383297cde8c0572da3c19a75e061ee5068f1fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sci | pacf.sci | // Determination of the PACF of AR(p) process, as explained in Sec. 6.4.5.
// 6.10
function [ajj] = pacf(v,M)
exec('label.sci',-1);
rvvn = xcorr(v,'coeff');
len = length(rvvn);
zero = (len+1)/2;
rvvn0 = rvvn(zero);
rvvn_one_side = rvvn(zero+1:len);
ajj = [];
exec('pacf_mat.sci',-1);
for j = 1:M,
ajj = ... |
2ff1daea197541df7be29d2e053e5614710896b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH5/EX5.1/Example5_1.sce | 2eeb72cd0593034877d7fc04e6397fdf1c4fd67e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | Example5_1.sce | //chapter5,Example5_1,pg 97
T1=1.5
T2=1
A=20
V=10*8*6
a=((0.161*V)/(2*A))*((1/T2)-(1/T1))
printf("absorption coefficient\n")
printf("a=%.3f Sabines",a) |
7b63c5e7e06c45e6f48288486fe4c64e9fa28858 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.56/ExampleA56.sce | f9227536b836290149f61fdaa7fe18b6429de606 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | ExampleA56.sce | clc
clear
//Page number 497
//Input data
dp=100;//The change in mercury pressure in cm of Hg
v2=1601;//Specific volume of steam in cm^3/gram
v1=1;//Specific volume of water in cm^3/gram
l=536;//Latent heat in cal/gram
t=100;//The temperature of the steam in degree centigrade
//calculations
dP=1*13.6*... |
cb42014812af7e80d2851c73cd1b86bdffbcca98 | ca1eaf862df63e8164039eec4e299554cf91908b | /tests/e_basic.tst | 35f3ab3e832c80e3d03d87ebb705f96c13c6feb6 | [
"Unlicense"
] | permissive | Coloquinte/Single-row-problem | 9e146856ca76e733d680763b682cb0362cd2132d | eac4ccb780627999b46df6a6e9ff1f4ed8a9d03c | refs/heads/master | 2021-01-22T02:08:24.392105 | 2017-01-06T20:59:05 | 2017-01-06T20:59:05 | 19,968,781 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13 | tst | e_basic.tst | -10 15 20 45
|
d220699c0548945ff33e501d6edc9a6142c46119 | 1468f13d61172c83130184bd54d023deb150303d | /test/index.tst | 0d01a624f3525a5f7c1cbae0a451402e373ee9a1 | [
"Apache-2.0"
] | permissive | longde123/sqlparse | 2fce59d9a1fe92b26dcd92b1f0c34cca6487e5be | 4b2101a6ef9d7d4a23445add164fb915e158786a | refs/heads/master | 2021-01-13T12:09:04.472322 | 2016-10-17T13:23:26 | 2016-10-17T13:23:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | tst | index.tst | %%-*- mode: erlang -*-
%%-*- coding: utf-8 -*-
% Test control options
[{tests, []}].
%%
%% TESTS
%%
"create index on tab".
"CREATE BITMAP INDEX ON tab".
"create unique index s.a on s.d (f)".
"create bitmap index s.a on s.d (f)".
"create keylist index s.a on s.d (f)".
"create hashmap index s.a on s.d (f)".
"create... |
63ead9136c154bede9bdb4440fd827722aacfd1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH2/EX2.16/example2_16.sce | a32821fd5670c7adbef62a9e46dadc5e2372f3dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 867 | sce | example2_16.sce | // Find current when forward biased
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-16 in page 97
clear; clc; close;
// Given data
k_T=1.38*10^-23; // Constant of calculation
T=293; // Temperature in K
I_s=1.5*10^-13; // Saturation current i... |
6494ce2a341ed48baec7915b26ff100624595ca6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.14/example5_14.sce | e214a58945239b993b0469af4accc08ae3ec5cd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | example5_14.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.14
// Page 237
printf("Example 5.14, Page 237 \n \n");
// solution
// basis 1000 kg/h of condensate at the saturation temperature corresponding to 8 bar a
// using Appendix IV.2
H = 720.94 // kJ/kg
Hm = 419.06 // kJ/kg
x = ... |
aa99393677ddc8b5742c1fdcc12ea9eeb864f35f | 4545588c8427debaf17f9dc71b0ace32f4fb5d67 | /avr32/services/dsp/dsplib/conception/nlms/nlms.sci | b4bfaaf0e3b2711710f563f8808f8279debc474e | [] | 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 | 512 | sci | nlms.sci | clear all
i=0:1:16000;
i=rand(1,16001)*100-50;
x=sin(2*%pi*i/8);
y=rand(1,16001);
z=x+y;
// figure(1):plot(z);
n=1000;
length_=15001;
w=zeros(1000,1);
e=zeros(1,length_);
u=0.1;
r=0.0;
for i=1:length_
e(i)=x(i)-z(i:i+999)*w;
w=w+u*e(i)*z(i:i+999)'/(r+z(i:i+999)... |
223b6656346f0c52827a6526957c0eb3244ef1d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH8/EX8.5/Ex8_5.sce | 20eaab5abec2bf244895a302169bfe5a74ca3340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex8_5.sce | // determine discharge and head with two identail
clc
f=0.025
l=70
D=0.3
k=2.5
g=9.8
m=((f*l/D)+k)/(2*g*(((%pi*D*D)/4)^2))
disp(m)
mprintf('\n H1 =15 +%d Q^2',m)
b=5.35
a=112.8
c=7.9
Q=(1/(2*a))*(b+sqrt((b^2)+(4*a*c)))
mprintf('\n Q= %f m3/s',Q)
H1=15+85*Q^2
mprintf('\n H1 = %f m',H1)
|
c3d6e5d7ee0b076266bd97b87610b9f72d4c896c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH10/EX10.2/EX10_2.sce | 046ec038d3c5e11f106088a3dd039cc5241fd957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,894 | sce | EX10_2.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 10 ; Example 10.2
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
Irelay=200 //Current through the relay in Amperes
CTratio=100/5; //CT ratio
... |
3a63617e090342605f2b93125fb30ab7f0b6335a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3564/CH1/EX1.1/Ex1_1.sce | ec0eee9f8ac07074d6f2168ddd1c4f212481c70c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | Ex1_1.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Introduction to Fluid Mechanics, 3rd Ed. William S. Janna Chapter - 1 Example # 1.1 ")
//Weight in lbf
F = 150;
//Solving part a
disp("Part a)")
//Acceleration due to gravity in ft/s2
a = 32.2;
//Calcula... |
5270d3a16f417c2c5f69d4d9116e5bb6b40f3bc9 | e4f9f1e6e71a23e167047e5a900ec66a13e1578d | /tests/fixtures/dns/test-domain.com.tst | 21fffd33ce53fc90598ea7f5f9f53d76f8c55e78 | [
"MIT"
] | permissive | onecommons/unfurl | 546b9255e3551aa2f4badd8d58ea7958dd362881 | 25a3c81a64ee661813662615d6a0651ff3749219 | refs/heads/main | 2023-08-23T22:07:56.949658 | 2023-08-22T19:59:23 | 2023-08-22T19:59:23 | 132,939,353 | 133 | 11 | MIT | 2023-09-12T00:09:57 | 2018-05-10T18:27:46 | Python | UTF-8 | Scilab | false | false | 1,900 | tst | test-domain.com.tst | ; This file is used in unit tests for OctoDNS
$ORIGIN test-domain.com.
@ 3600 IN SOA ns1.test-domain.com. root.test-domain.com. (
2018071501 ; Serial
3600 ; Refresh (1 hour)
600 ; Retry (10 minutes)
604800 ... |
353a4ca7c71569ad66060438c3733d6982ff5c43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH21/EX21.2/Example21_2.sce | b9c4d4af476ff236de5bbfef7cf29d2323c5ab3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | Example21_2.sce | clear ;
clc;
// Example 21.2
printf('Example 21.2\n\n');
//page no. 624
// Solution
//Given
id = 3 ;// Internal diameter of tube-[cm]
Vf = 0.001 ;// Volume flow rate of water in tube-[cubic meter/s]
rho = 1000 ;// Assumed density of water-[kg/cubic meter]
rad = id/2 ;// Radius of tube -[ cm]
a = 3.14*rad^2 ;// Area... |
cdf91bd4a1dfc697b4b633fc9aa65614341ae124 | b825b6ce6352251fd4adf3aafd7e526689dc0370 | /src/Oddball_omission/Presentation Files/scripts/oddball_omission_375SOA.sce | 743f752d91b6003377ebfce70abb6004f665d9eb | [
"MIT"
] | permissive | CognitiveNeuroLab/Oddball_experiments | 805723beb0199d993f787202a00bece8a2ec09b5 | d1a06011caeb2cc896b99b7eb40207e9c63d6543 | refs/heads/master | 2023-07-16T08:40:29.974788 | 2021-08-20T21:01:43 | 2021-08-20T21:01:43 | 391,151,013 | 0 | 0 | MIT | 2021-07-30T17:53:14 | 2021-07-30T17:53:14 | null | UTF-8 | Scilab | false | false | 2,008 | sce | oddball_omission_375SOA.sce | ##8/30/2019
##omission Oddball paradigm created by Douwe Horsthuis for Ana Francisco
#addapted from oddball duration paradigm
#375 SOA
scenario = "omission_oddball_375SOA";
no_logfile = false;
scenario_type = trials;
active_buttons = 1;
button_codes = 255;
default_background_color = 0, 0, 0;
default_text_color =... |
507bdbc8f77da9fc0d1373d925627c08948b0fb5 | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH5/EX5.8/example8_sce.sce | 1637af9b2a9dc8e08328ca4700938774d26ecdcb | [] | 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 | 255 | sce | example8_sce.sce | //chapter 5
//example 5.8
//page 199
printf("\n")
printf("given")
Vcc=18;Vbe=.7;hfe=100;
R1=33*10^3;R2=12*10^3;Re=1*10^3;
Vt=(Vcc*R2)/(R1+R2)
Rt=(R1*R2)/(R1+R2)
Ib=(Vt-Vbe)/(Rt+Re*(1+hfe))
Ic=hfe*Ib
Ie=Ib+Ic
Ve=Ie*Re
Vc=Vcc-(Ic*Rc)
Vce=Vc-Ve |
fe4859b11aab2b47af82868873b9cb82d29d1132 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH4/EX4.5/ex4_5.sce | 041a25f605cb930a938a18968a2c916cc533bfd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_5.sce | // Exa 4.5
clc;
clear;
close;
format('v',7)
// Given data
h_ie = 1.1;// in k ohm
h_oe = 25;// in A/V
h_oe = h_oe * 10^-6;// in A/V
h_fe = 50;
h_re = 2.5*10^-4;
R_L = 1.6;// in ohm
R_S = 1;// in k ohm
V_CC = 15;// in V
// (i) Current Gain
Ai = -h_fe/(1 + (h_oe*R_L));
disp(Ai,"The current gain is");
// (... |
c44f33732c6e8ddd2cc3a14ad0521d737e403f65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH3/EX3.11/Ex3_11.sce | 34b03a4d729beba38c3b22f3c4c3ba1550d7ce8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,171 | sce | Ex3_11.sce | Bf=1500//width of flange, in mm
Df=150//thickness of flange, in mm
d=600//effective depth, in mm
sigma_cbc=7//in MPa
sigma_st=230//in MPa
m=13.33//modular ratio
Ast=1964//in sq mm
Asc=1140//in sq mm
top_cover=50//in mm
//to find critical depth of neutral axis
Xc=d/(1+sigma_st/(m*sigma_cbc))//in mm
//assume x... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.