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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
308e97f5dfa79778cb07bd758e1c3977228a8084 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/scilab/scilab_shallowwater/runshallowwater.sce | cc716d1f89f04dbdfe90efd635c5d70fab937b5d | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,333 | sce | runshallowwater.sce | //Steven McHale
//Tsunami Model
//Shallow-Water Wave Equation
//Crank-Nicholson Discretization
clear;
//clf;
clc;
// Constants
g = 9.81;
u0 = 0;
v0 = 0;
b = 0;
h0 = 5030;
// Define the x domain
//ni = 151;
... |
76130b94c06f0858801c047729855939bb4a9a83 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/util/zeros.sci | e2134a9dd7f94bb3aba06a14d15820a69a523f55 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sci | zeros.sci | function z=zeros(n,m)
[lhs,rhs]=argn(0)
if rhs==1 then
z=0*ones(n);return;end
if rhs==2 then
z=0*ones(n,m);return;end
|
434f24cf0a7bcbb05375cb3248691ca029f09f8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.35/exa_2_35.sce | 061c0dab838e0b192c78fce2ffc1be17ee70d50c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | exa_2_35.sce | // Exa 2.35
clc;
clear;
close;
// Given data
N_A= 4.4*10^22/10^8;// in /m^3
N_D= 10^3*N_A;// in /m^3
ni= 2.5*10^13;// /cm^3
Vt= 26;// in mV
Vt= Vt*10^-3;// in V
Vj= Vt*log(N_A*N_D/ni^2);// in V
disp(Vj,"The junction potential in volts is : ")
|
01ddcc00d5ae929cac572d729de9751805c8b29f | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH12/EX12.11/c12_11.sce | 12dfd56ac6e2c91b1cc1a620c44225cbc196a45d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | c12_11.sce | //(12.11) Moist air at 30C and 50% relative humidity enters a dehumidifier operating at steady state with a volumetric flow rate of 280 m3/min. The moist air passes over a cooling coil and water vapor condenses. Condensate exits the dehumidifier saturated at 10C. Saturated moist air exits in a separate stream at the... |
a470d27a418dabec4e97e65da437dc2a275bb9ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.26/ex4_26.sce | 5d23331c911c577bba4dac5cc34b382f89d1ba63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | ex4_26.sce | //Example 4.26
//use of uppercase conversion characters in printf function
a = hex2dec('80ec');
b = 0.3e-12;
printf("%4x %10.2e\n\n", a, b);
printf("%4X %10.2E", a, b); |
f94f33a48539c37ce25c5c54dd961b5ce74a4a3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH1/EX1.11/1_11.sce | ecc6c100471e7ee79210a8ced44159817477d964 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_11.sce | //1.11
clc;
//when conduction period is 2*pi
amplitude=200;
pd=1.8;
power_loss_average= amplitude*pd*2*%pi/(2*%pi);
printf("power loss average when conduction period is 2*pi= %.0f W",power_loss_average)
//when conduction period is pi
amplitude=400;
pd=1.9;
power_loss_average= amplitude*pd*%pi/(2*%pi);
prin... |
47c45a792b54db5646aa5e4e2e77943b74035134 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.9/P6_9.sce | 574b284150b4afe78e7fec7dc21ecf2a4657e756 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | P6_9.sce | //EXAMPLE 6.9
//Determination of ROC
clc;
clear;
z=%z;
a=2*z^4+16*z^3+44*z^2+56*z+32;
b=3*z^4+3*z^3-15*z^2+18*z-12;
[h1,g1]=factors(a);
[h2,g2]=factors(b);
disp(h1,'h1 = ');
disp(h2,'h2 = ');
c=a/b;
disp(c,'function is = ');
plzr(c); |
9dd384a17231cd2bde8ec35f7b350e8d9f53e29c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH8/EX8.25/Ex8_25.sce | 78fa7feb62bef7900e3f91220c271991836a8ad5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | Ex8_25.sce | //effective area of hertzian dipole
//given
clc
f=0.2d+9//hertz
Vo=3d+8//m/s
lemda=Vo/f
Ae=(lemda^2/(4*%pi))//metre^2//ERROR
Ae=round(Ae*1000)/1000///rounding off decimals
disp(Ae,'the effective area of a half wave dipole in metre^2')//m^2
//ERROR in the calculation of the book as effective area includes lemd... |
4c3b6544ed0e0a2b8ed11d15e5825738907af787 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH8/EX8.1/8_1.sce | f026200e2b51eb62a7c87eec5f1d7225b57d56f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | 8_1.sce | clc
clear
//Initialization of variables
area1=2.7
len=3.4
scale=60
area2=2.75
dia=12 //ft
d2=2.5 //ft
L=15/12 //ft
n=250 //rpm
F=600 //lb
r=3 //ft
//calculations
Ah=dia^2 *%pi/4
Ac=(dia^2 -d2^2)*%pi/4
Pih=area1/len *scale
Pic=area2/len *scale
Hihp=Pih*L*Ah*n/33000
Cihp=Pic*L*Ac*n/33000
Tihp=Hihp+Cih... |
2435c86f447ab485684b915a2a6dd48401458a04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH7/EX7.21/Example7_21.sce | 844fd63fdd8c168a70891de995c77aea29eba91a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,424 | sce | Example7_21.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART I : GENERATION
// CHAPTER 7: TARIFFS AND ECONOMIC ASPECTS IN POWER GENERATION
// EXAMPLE : 7.21 :
// Page number 81-82
clear ; clc ; close ; // Clear the work space a... |
502f30e8d37bea54e63498a5d23077c0f45ebbe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.28/2_28.sci | ac0128faa0a78b12b5b6ff8eb4c3899519f4d5f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_28.sci | //calculating the actual value of current, measured value of current and percentage error
clc;
Eo=10-((10*1000)/(1000+1000));
Zo=((1000*1000)/(1000+1000))+500;
Io=Eo/Zo;
disp(Io,'Actual value of current (A)=')
Zl=100;
Il=Eo/(Zo+Zl);
disp(Il,'Measured value of current (A)=')
PE=((Il-Io)/Io)*100;
disp(PE,'Per... |
099f863ebf6cefff0268f015444e1e6e4cebb1e8 | 1ebbdce5d3f3daa6d9e8b439410e447941bc49f5 | /résolution numérique/livrable/autres/matrices utiles pour les calculs.sce | 1d0dacc5f242e601b5232fb9897bff3190075bfa | [] | no_license | sebastienbaur/legionella_proliferation_modeling | 2aff0e2499584e99c07116a700e43218976b9b12 | ae9b5d4dde1912a98584c6319eae41980355ef03 | refs/heads/master | 2020-03-07T15:25:49.881820 | 2018-03-31T17:27:52 | 2018-03-31T17:27:52 | 127,554,634 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,957 | sce | matrices utiles pour les calculs.sce | // -----------------------------------------------------------------------------
// QUELQUES MATRICES UTILES DANS LES CALCULS
// -----------------------------------------------------------------------------
// vecteurs pour construire des matrices
one = ones(M,1); // vecteur colonne à M lignes qui ne contient que de... |
376a9671753d9e5d97d406ee07c196ed15ecdc3f | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/lud.tst | b733646dd843e34f0818e8821843b023ec7f460d | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,536 | tst | lud.tst | lugend lugendan N;GEN;SG
astuda lienette astunu V;PRF;POT;PL;2;POS;PRS
ižand ižandad N;NOM;PL
mečče mečiči N;PROL;PL
mečče mečinny N;BYWAY;PL
mečče mečätä N;PRIV;SG
mečče mečin N;INS;PL
mečče mečäd N;NOM;PL
mečče mecači N;PROL;SG
astuda en astunu V;IPFV;IND;SG;1;NEG;PST
poige poige N;NOM;SG
licei licejad N;PRT;SG
voine... |
286519261cac19ecf7ee8d19ad2b2659b6a0888d | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH5/EX5.1/1.sce | 16677dc70b6109c36e36bd4296439c8cc7006e6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | 1.sce | clc;funcprot(0);
//Example 5.1
//Initializing the variables
l = 60 ; //Length of pipeline
rho = 1000; // Density of liquid
a = 0.02; //Acceleration of fluid
//Calculations
delP = rho*l*a; //Change in pressure
disp(delP/1000,"Increase of pressure difference required (kN/m2):"); |
da5174ec1cbd5f5e27ca060b2c9836274a649b90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH3/EX2.2.15/U2_C2_15.sce | 59f8ca60182c7e261d5ecbf160bdcbc14e268450 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 992 | sce | U2_C2_15.sce | //variable initialization
h=1.054*10^-34; //planck's constant (joule-second)
x=10^-14; //dimension of the nucleus (meter)
e=1.6*10^-19; ... |
b809052105eed042da4fd8e5821b18f8729d7cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH24/EX2.3/243.sce | 6bb50d6f9c41c61603ee7976c68900e204384c2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,063 | sce | 243.sce | clc;
//Example 24.3
//page no 352
printf("Example 24.3 page no 352\n\n");
//classification of small speherical particles of charcoal with a specific gravity of 2.2
//the particles are falling in a vertical tower against a rising current of air
//we have to calculate the minimum size of charcoal that will settle ... |
adede6118875750bf2e2e730b54e8484d0650ba1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH32/EX32.2/Example32_2.sce | 906ec8cd575df9d98a6feddab38ce77c6dd567db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Example32_2.sce | //Given that
density = 7900 //in kg/m^3
L = 3*10^-2 //in meter
w = 1*10^-3 //in meter
t = 0.50*10^-3 //in meter
MFe = 2.1*10^-23 //in J/T
f = 10/100
M = 55.847*10^-3 //in kg/mol
Na = 6.023*10^23 //in /mol
//Sample Problem 32-2
printf("**Sample Problem 32-2**\n")
N = density*L*w*t/M * Na
MD = N*f*MF... |
c4e13b25298268a4625a1c64dbd59ffdb3f626ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.55/Ex6_55.sce | 07e3fee525ff396fb92d776507f91afee6214946 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 765 | sce | Ex6_55.sce | clc;
v=440; // rated voltage of distribution circuit
im=1200; // maximum current that can be supplied
n=0.85; // efficiency of induction motor
pf=0.8; // power factor of motor
ir=5; // ratio of starting current to full load current
disp('case a');
il=im/ir; //rated line current
p=sqrt(3)*v*il*n*pf;
printf('Ma... |
891649afff8f1dc673974e59df5b4fe2a96edd74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.5.2/Ch04Exa4_5_2.sci | c193c29daf149a5279f0bc6a0b0e8bfc1b86fd26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sci | Ch04Exa4_5_2.sci | // Scilab code Exa4.5.2: To calculate Q-value for the reaction : Page 183 (2011)
M_Cf = 252.081621; // Mass of califronium, amu
M_Cm = 248.072343; // Mass of curium, amu
M_He = 4.002603; // Mass of alpha particle, amu
Q = [M_Cf-M_Cm-M_He]*931.49; // Q-value, MeV
printf("\nThe Q-value for the reaction : %4.2f MeV",... |
78d60fdc858c369f814a05696770a381499cc119 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.47/Ex1_47.sce | d5cf2d09533fbcc70565d2b1e0768bd37a3a8465 | [] | 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 | 300 | sce | Ex1_47.sce | errcatch(-1,"stop");mode(2);//Example 1_47
;
;
//To find the thickness of the glass plate
lemda=5000 //units in angstroam
lemda=5000*10^-8 //units in cm
s_beta=6
u=1.5
t=((s_beta)*lemda)/(u-1)
printf("The thickness of the glass plate is %.4f cm",t)
exit();
|
4c640774f16b1c8291e7b65e202385bcf82b1e5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.19/Ex7_19.sce | a89b45a0bed8b67c76474459470615b81749aa8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | Ex7_19.sce | //Exa 7.19
clc;
clear;
close;
// given :
f=6 // frequency in GHz
f=6*10^9 // frequency in Hz
c=3*10^8 // speed of light in m/s
lambda=c/f // wavelength in m
d=10 // aperture length in cm
d=10*10^-2 // aperture length in m
w=5 // aperture width in cm
w=5*10^-2 // aperture width in m
G_p=(4.5*w*d)/(lambda)^2... |
df67cec89171eba07a64d02382fafea28e621cf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH8/EX8.9/ex8_9.sce | 1626aa6cc878bf851675459773cedc5a0d6eae91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | ex8_9.sce | // Exa 8.9
clc;
clear;
close;
format('v',7)
// Given data
N = 500;
R = 4;// in ohm
d_mean = 0.25;// in m
a = 700;// in mm^2
a = a * 10^-6;// in m
V = 6;// in V
miu_r = 550;
miu_o = 4*%pi*10^-7;
l_i = %pi*d_mean;// in m
S = l_i/(miu_o*miu_r*a);// in AT/Wb
I = V/R;// in A
// Calculation of mmf
mmf = N*I... |
fea71da659c8b8dfbcd6190785a5fda5c6b4bd12 | 2a39d29b2cb27e98632f6810ed3c2a22a56fa8eb | /Materias/LabCalcNum/Rafael/newtonraphsonPolinomial.sci | e786a32ec48cd7594729e07486854f62286844d8 | [] | no_license | rafael747/my-stuff | 74358384bc1a5b381d1951dfaef87efdf4cb53c2 | 8614aefdc3ca9afdc1534557f73719af8494f7fa | refs/heads/master | 2021-01-17T12:47:48.206860 | 2020-06-04T15:10:20 | 2020-06-04T15:10:20 | 57,989,835 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 827 | sci | newtonraphsonPolinomial.sci | function [raiz, x, iter, ea]=newtonraphsonPolinomial(x0,a,f,tol,imax)
iter = 0; // inicializa numero de iteracoes
xr = x0; // inicializa raiz aproximada com a inicial
x(iter+1)=x0; // insere raiz inicial no vetor de raizes
while (1)
xrold = xr;
[fp,dfp]=f(xrold,a)
xr = xrold - fp/dfp; // aplica form... |
7a07c7677ee9f7fc3947aa0543b08734bfe76352 | 5d0ddbd6f42843ded4d5ba18966dc130725607d2 | /c13.code/uintah/branches/pearls/src/orderAccuracy/test_config_files/Examples/rayGPU.tst | 5f89b796ad0468ca536c11797807bfa4a0cf205c | [
"MIT"
] | permissive | alvarodlg/lotsofcoresbook2code | b93ad62e015d205e4f550028ceb54254023021ee | a2dbeb306fa29ae6663ae29b2c4c132608375cf0 | refs/heads/master | 2020-12-31T03:02:22.579614 | 2015-09-02T15:23:18 | 2015-09-02T15:23:18 | 54,509,919 | 2 | 1 | null | 2016-03-22T21:27:56 | 2016-03-22T21:27:56 | null | UTF-8 | Scilab | false | false | 2,712 | tst | rayGPU.tst | <start>
<upsFile>RMCRT_test_1L.ups</upsFile>
<gnuplot>
<script>plotScript.gp</script>s
<title>GPU::RMCRT order-of-accuracy \\n 1 timestep (41^3)</title>
<ylabel>Error</ylabel>
<xlabel># of Rays</xlabel>
</gnuplot>
<AllTests>
<replace_lines>
<max_Timesteps>1</max_Timesteps>
<randomSeed> true </randomS... |
5a4d34684ca2961e7a92378bcef5b487b8db15c9 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_delete_object.sci | 1875390bff1a97210e3638aa150c66c5d1694f9a | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,036 | sci | kiks_delete_object.sci | function [res] = kiks_delete_object(id,objtype)
// Ouput variables initialisation (not found in input variables)
res=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// ... |
e5c967115171e94a9b85704bb99b1618088d32b8 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.11_5.tst | f4e1010989f3019c743f39c9083e7c033144983c | [] | 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 | 35,040 | tst | bow.11_5.tst | 11 8:0.25 12:0.3333333333333333 20:1.5 21:0.125 26:0.02702702702702703 38:2.0 48:1.0 64:0.16666666666666666 88:2.0 133:0.5 134:0.14285714285714285 165:0.5 251:1.0 281:0.3333333333333333 375:1.0 387:1.0 431:1.0 534:0.3333333333333333 548:0.5 596:1.0 999:0.25 1000:0.5 1030:2.0 1126:0.25 1588:1.0 1985:1.0 3305:0.142857142... |
7d3aac2800d55689bdc282511c15eaa7885c12a3 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_gui_eventhandler.sci | 935322aeda6995b3571829cf69f662191c3f3363 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sci | kiks_gui_eventhandler.sci | function [] = kiks_gui_eventhandler(win,x,y,ibut)
printf("Event handler %d\n", ibut);
if ibut == -1000 then
kiks_quit;
end;
endfunction;
|
a3f21286758e624c7ab715ebf545ffdbeec68c5e | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /potensio_demo.sci | cb8ae16305b9993aec213366c3e59694c71376f9 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sci | potensio_demo.sci | function potensio_demo()
for x=1:10
p = cmd_analog_in(1,2);
if(p>uint16(0) & p<uint16(320))
cmd_digital_out(1,11,1);
sleep(1000);
cmd_digital_out(1,11,0);
elseif p>=uint16(320) & p<=uint16(900)
cmd_digital_out(1,10,1);
sleep(1000);
... |
eb0910fad467c72cef63abbf0f336f83725dd80c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH9/EX9.9/ex9_9.sce | 9e3e8de184c23e84b813b5901dae7ad936296bef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | ex9_9.sce | clc;
clear all;
m = 9.1e-31; // Mass of electron in kg
h = 6.62e-34; // Planck's constant in Js
c = 3e8; // Velocity of light in vaccum
lambda = 1.5e-10; // Wavelength of light in meters
E = 0.5e-16; // Energy of electron in J
Nlambda = ((h*c)/lambda)-E;//'Energy of scattered electron
disp('J',Nlambda,'Energy ... |
26f27cd3b3193242feb67d265cd976f43f0f3440 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH6/EX6.17/Ex6_17.sce | 8d05b866f02d4ab0044b73af0a96bab96935c78a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | Ex6_17.sce | clc
// Given that
I = 1e5 // Power intensity of laser beam in W/mm^2
t = 0.5 // Thickness of tungsten sheet in mm
d = 200 // Drill diameter in micro meter
P = 3e4 // Energy required per unit volume to vapourize tungsten in J/cm^3
p_e = 10 // Percentage efficiency
T_m = 3400 // Melting temperture of tungsten in °C
k = 2... |
b42e9d34da5fc4929a9d081396289ca42e1b0ab5 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH20/EX20.6/Ex20_6.sce | afb2d6b73d39eb79a9fd2c6fdd8936f30eb2b913 | [] | 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 | 214 | sce | Ex20_6.sce | errcatch(-1,"stop");mode(2);//Example 20.6
emf=120//in Volt
R=10//in Ohm
e_back=70
I=emf/R
disp("Solution a")
disp(I,"Maximum Current in A=")
disp("Solution b")
I=(emf-e_back)/R;
disp(I,"Current in A=")
exit();
|
aade60b5df027ce0246b0e73970e69455dcf13e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH40/EX40.16/40_16.sce | 518dcfa58f465a2559fd890b4246cc7a46cf6aad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | 40_16.sce | //Problem 40.16: A coaxial cable has an inner core of radius 1.0 mm and an outer sheath of internal radius 4.0 mm. Determine the inductance of the cable per metre length. Assume that the relative permeability is unity.
//initializing the variables:
u0 = 4*%pi*1E-7;
ur = 1;
a = 0.001; // in m
b = 0.004; // in m
... |
202cd92d3dbc23e78cda69ddafd248253da8fa48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH8/EX8.13/13.sce | 4ed2f053675332ba96d56c38162c3fd0fe6c06c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13.sce |
//Variable declaration
mewn=0.35; //mobility of electrons(m**2/Vs)
e=1.602*10**-19;
rho=0.2; //resistivity(ohm m)
//Calculation
n=1/(rho*e*mewn); //density of donor atoms
//Result
printf('density of donor atoms is %0.3f *10**19 electrons/m**3 \n',(n/10**19)) |
eac8f1b66ab2a8f01d879f8c169e7ec4bc3a996b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH2/EX2.a.4/Example_a_2_4.sce | 6ba2f684a96cc752363956d39f4a40fff4dc6b00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Example_a_2_4.sce | //Example 2_4 page no:88
clc;
A=[1.25,-0.75,
-4.75,5.75];
B=[-12.5,
42.5];
X=inv(A)*B;
Va=X(1);
Vb=X(2);
I10=(Va-Vb+10)/4;
P=10*I10;
disp(P,"the power supplied by 10V source is (in W)");
|
4a9a88dc4ccb728852d4dabf4e65101e1ab5a090 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH12/EX12.5/12_5.sce | 8e3616c94ec1bae7db10f7a84067559a781fb5d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | 12_5.sce | clear; clc; close;
Vcc = 10;
Icq = 140*10^(-3);
Po_ac = 0.477;
Pi_dc = Vcc*Icq;
Pq = Pi_dc-Po_ac;
n = (Po_ac/Pi_dc)*100;
disp(Pi_dc,'Dc input power(Watts) = ');
disp(Pq,'Power dissipated by transistor(Watts) = ');
disp(n,'Efficiency(Percentage) = ');
|
a47073355c204913ef926c7510c80f42e36a4020 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/flags24.tst | 60e2602c7d81d214577222810d8d651d6b8eaef0 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | tst | flags24.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the BST (bit store to register T) instruction"
; @Result: "flags.t = 0, r17 = 11"
start:
set
ldi r17, 0b1011
bst r17, 2
end:
break
|
a82793b9ac06708ec67eac7880aa8cc03ba594e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH7/EX7.1/s1.sci | 5843c042492b2725f9b5e640723b71f641b7e92c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sci | s1.sci | function[]=search(a,n,ele)
i=1;
j=0;
for i=1:n
if(a(i)==ele)
printf("Found %d AT %d\n",ele,i);
j=1;
end
end
if(j==0)
disp("%d NOT FOUND",ele);
end
endfunction
//Calling Routine:
a=[2 33 22 121 23 233 222]
disp(a,"Given array");
search(a,7,23)
|
28492e7ec3ca2ca076b364c81ec43e5666091c64 | dc43d2d07e54764662d2629492544cc614c391a7 | /Regula_Falsi.sce | c511153a7a64c1456677c34e099fd04237b8ce7e | [] | no_license | CaptainLazarus/Scilab | 6634ea1774f00e1a25b5b05c622429bfc51f9abf | 3af1504ebbdb784e6493a8c4b264e6994c45a02b | refs/heads/master | 2020-04-16T19:27:39.496867 | 2019-02-26T05:53:48 | 2019-02-26T05:53:48 | 165,860,221 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | Regula_Falsi.sce | function y = f(x)
y = x^3 - 2*x^2 - 3*x - 1
endfunction
function f1(a,b)
c = b - f(b)*(a-b)/(f(a)-f(b))
if f(c) < 10^-5 then
disp(c)
break
end
if f(c)*f(a) < 0 then
f1(a,c)
else
f1(b,c)
end
endfunction
|
0b3ece58ca06d66abfd6f703896adb38b9d85295 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH12/EX12.9/12_09.sce | fbb04decea2f7f8a7f0f73fb2089bead970d3cf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | 12_09.sce | //Chapter 12, Problem 9
clc;
Id=100*10^-3; //operating drain current
dVgs=-0.1; //change in gate-source voltage
gfs=0.25;
dId=dVgs*gfs; //calculating change in drain current
Id1=Id+dId; //new value of drain current
disp(... |
995ae9c7784c00f44fda175cb34a303eb08b9a7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH16/EX16.2/16_2.sce | 44a162f3c7eda025bd9ff5e597a6bf53aebdf651 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sce | 16_2.sce | //chapter 16
//example 16.2
//page 475
clear all;
clc ;
//given
Eo=20;//supply voltage
Eomin=Eo-1;
Eomax=Eo+1;
theta1=asin(Eomin/Eomax);//in radians
theta=(theta1*180)/%pi;//in degrees
T=1000/60;//in ms
T1=T *180/360;
T2=T1/2;//time for 90 degrees
T3=T*theta/360;//time for theta
t1=T1+T2+T3;//total time... |
0633b16cdcf104c32b300b7418221c8dfe4a4c02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.22/EX3_22.sce | 2563e2d1f12106a1e52641faf5a941fff20e8dde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,881 | sce | EX3_22.sce | clc;funcprot(0);//EXAMPLE 3.22
// Initialisation of Variables
rc=15.3;....................//Compression ratio
re=7.5;...................//Expansion ratio
cp=1.005;.................//Specific heat at constant pressure in kJ/kg K
cv=0.718;..................//Specific heat at constant volume in kJ/kgK
ga=1.4;.......... |
79f43884bbce7db60e29f7d73b0e3e3156d8c3d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH5/EX5.6/Ex5_6.sce | 63838ea4f484ce92b837d5e96007d7d83273ba7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Ex5_6.sce |
//Calculate the Increase in Entropy at constant pressure
//Example 5.6
clc;
clear;
m=200; //Mass of water in g
M=18.02; //Molar mass of water in g mol^-1
n=m/M; //Number of moles of water present in mol
t1=10; //Initial temperature of water in degree Celius
T1=10+273; //Initial temperatu... |
d4f82c6621ba7a70d9166c0969559c88ddecdeb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH3/EX3.4/ex3_4.sce | 5d438b6fae477b9d25cd70b2b09cfd4414bfc350 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | ex3_4.sce | // Example 3.4 page no-157
clear
clc
Rl=5010 //ohm
idc=0.001
Vrms=idc*%pi*Rl/(2*sqrt(2))
printf("\nVrms = %.2f V",Vrms)
|
c7077efa1b4d25682354ba6e27016dbcbeb9fe56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.03/Ex2_3.sce | ad76693ad99db0babc74eadf57bd6320c24dcb43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Ex2_3.sce | // Example 2.3
// Calculation of potential difference
// page no 480
clc;
clear;
close;
// Given data
na=10^24; // Accepter impurity level
nd=10^22; // Donor impurity level
ni=2.4*10^19; // Intrinsic electron
T=290; // Room t... |
9c9fa003319aa8c742260efc0c6a2344a7472156 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.39/Ex12_39.sce | a7a0f1633a95223ee3ff86615d908a2bf53499ea | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | Ex12_39.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 8.19
A=[3 1 2;1 2 1;1 1 1]
B=[5 3 2;2 3 1;7 5 3]
C=[1 0 0;1 2 0;1 2 3]
detA=det(A)
detB=det(B)
detC=det(C)
invA=inv(A)
invB=inv(B)
invC=inv(C)
disp(detA,'detA=')
disp(invA,'invA=')
disp(detB,'detB=')
d... |
77799db9bea65e30c37fc20b3c8ba5863f025a4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH10/EX10.13/ex10_13.sce | e750effb69eb063a4fc788832383efa10c2e31e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | ex10_13.sce | // Exa 10.13
clc;
clear;
close;
format('v',6)
// Given data
V = 230;// in V
Ra = 0.115;// in ohm
Rsh = 115;// in ohm
I_L = 100;// inA
Ish =V/Rsh;// in A
Ia = I_L + Ish;// in A
Eg = V + (Ia*Ra);// in V
Ia = I_L-Ish;// in A
Eb = V - (Ia*Ra);// in V
// The ratio of speed as a generator to speed as a motor
... |
65ab5c9d78a32f2993339248b5b055aa7dcea084 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH10/EX10.1/ex10_1.sce | fde02f7dcee096c994d23e00602ac55817b09c0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | ex10_1.sce | clc;
m=100; // Mass of water in kg
T0=90; // Initial temperature of water in degree celcius
T=30; // temperature of Surroundings in degree celcius
C=4.1868; // Specific heat in kJ/kg K
AE=m*C*((T0-T)-(T+273)*log ((T0+273)/(T+273))); // Available energy
Q=m*C*(T0-T); // Heat supplied
UE=Q-AE; // Unavailable energ... |
3eeccda1cdd29b3993ad3c21f7ffbc71205bf70d | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/Morisita_RP-022.tst | 6c578cb3fdb547d97e5ca5df3fcca7036e33474c | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31 | tst | Morisita_RP-022.tst | ../inputs/pops-31x2-sine-03.ssv |
615ac25012da986c9c1609eff2149d8b90f38ba8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH3/EX3.6/3_6_Spherical_Composite.sce | 8cc30f96a1e5b25c3963b8bf5fc0e5442350a514 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,043 | sce | 3_6_Spherical_Composite.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 3.6 Page 122 \n'); //Example 3.6
// Heat conduction through Spherical Container
k = .0017; //[W/m.K] From Table A.3, Silica Powder at Temp 300K
h = 5; //[W/m^2.K]
r1 = 25*10^-2; //[m] ... |
1bbcfdb395cbe9e44ed0d68c5c6eb1a11064e3c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH11/EX11.1/Ex11_1.sce | c046d3690d1965a572ffcbb8acbc08400efd4214 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex11_1.sce |
clc
// given that
sigma=40*10^6 // in Pa Tensile stress
E=69*10^9 //Modulus of elasticity in pa
Ys=0.3 //Specific surface energy in N/m^2
printf(" Example 11.1\n");
a=2*E*Ys/(%pi*sigma^2) //Maximum length of surface flaw
printf("\n Maximum length of surface flaw without fracture is %.1f micro me... |
edc35410750b50818a97ad89465f2464b5c1190d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH2/EX2.11/2_11.sce | ac642992c16b17dadc3d24389b745eb9b0ad8daf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | 2_11.sce | //To calculate the number of atoms per square millimetre
//in (100) plane the total number of atoms are n
n = (1/4)*4;
//A = a^2. number of atoms per mm^2 is n/a^2
printf("number of atoms in (100) plane are %d",n);
printf("number of atoms per mm^2 is 1/a^2");
//in (110) plane, area is sqrt(2)*a*a = sqrt(2)*a^2
p... |
b67ecf37b7a4126e7e1147a759748cd4dc907f9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH6/EX6.15/Ex6_15.sce | 9a7346b3e40547f0dbf40fcd55cb71cf64ebad0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex6_15.sce |
//Example No.6.15.
//Page No.191.
clc;clear;
r = 1.278*10^(-10),'m';
M = 63.54;//Atomic weight of copper.
Na = 6.022*10^(26);
d = 8980;//density
a = r*sqrt(8);//Interatomic distance.
printf("\n The interatomic distance is %3.3e m",a);
n = ((d*a^(3)*Na)/(M));//The number of atoms per unit cell.
printf("\n ... |
1c8e0a3233b2c530b3ed05c15e18ba0c5a287994 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH1/EX1.23/Ex1_23.sce | 8088057df008c998764a770deb04a5a5fa77d8c2 | [] | 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 | 176 | sce | Ex1_23.sce | errcatch(-1,"stop");mode(2);//Ex:1.23
;
;
u=4*%pi*10^-7;//in H/m
i=20;//in amps
d=50*10^-3;//in meters
B=(u*i)/(2*%pi*d);
printf("Flux Density = %e Tesla",B);
exit();
|
653f06f4ac0656832df1e74d88a6c1a1046efef3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.47/example5_47.sce | 7dd98070fdf9af0f2a98f7a69e1d0d9a53ec1a65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | example5_47.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.47
// Page 300
printf("Example 5.47, Page 300 \n \n");
// solution
// basis 100(m1) kg 46% sol
NaOH = 46 // kg
H2O = 54 // kg
m2 = NaOH/.25
NaOHo = 25 // kg
H2Oo = 75 // kg
Hf1 = -453.138 // kJ/mol
Hf2 = -467.678 // ... |
c7ae4b76a0a722d641b2fcd98d3b7554313ba6d2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.4_5.tst | 8d5e19787f0ee01915d766b159b32fec13cf7f2e | [] | 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 | 42,445 | tst | bow.4_5.tst | 4 8:0.058823529411764705 17:0.16666666666666666 28:1.0 81:0.5 206:0.25 268:1.0 402:1.0 488:1.0 761:1.0 762:1.0 880:1.0 990:1.0 1446:0.3333333333333333 1447:1.0 1620:1.0 2088:1.0 2330:1.0 2607:0.5 3090:1.0 3091:1.0 3533:1.0
4 8:0.11764705882352941 14:0.2857142857142857 31:0.5 37:0.1111111111111111 54:0.5 58:0.1111111111... |
0255c6ee7b22db5ca80bcb1f3edfc04378d86ec2 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/solvePnP/test5.sce~ | b0cd956fd501750a93dd1730dbd14f3fc1ec7e14 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | test5.sce~ | //Checking if error message pops up when camera matrix is 3x4 instead of 3x3
obpts = [ .5 .5 -.5;
.5 .5 .5;
-.5 .5 .5;
.5 .5 .5;
.5 -.5 -.5;
-.5 -.5 -.5;
-.5 -.5 .5];
impts = [282 274;
397 227;
577 276;
462 378;
270 479;
450 523;
566 476];
camera = [ 1 0 0 11;
0 1 0 0;
0 0 1 12];
dist = [0
0
0
0];
[rv... | |
094dac4061218c44579a34d7704c705d6cb8a97b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH10/EX10.15/Example10_15.sce | eaf5374498019a84a6dcdcbcc38cb5756372ffaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Example10_15.sce | /////////Chapter 10 Properties Of Steam
///Example 15 Page No:197
///Find Enthalpy of wet steam
///Input data
clc;
clear;
P=15; ///Absolute pressure in bar
///From steam table (pressure basis at 15 bar)
h=1950; //In KJ/Kg
ts=198.3; //In degreee celsius
hf=844.7; //In KJ/Kg
hfg=1945.2; ... |
67581b3e1f97b9b2d4502c5eaa10ca83e6259225 | e9854f13c702aad5562ed1644c47b99122268448 | /BioChem_Scilab_Old/Reator_BAT_ALIMENTADO_NAO_ISOTERMICO_SCILAB_jun_20_2017.sce | b817f205236ed155b332768b6bde4d82709811be | [] | no_license | ucfilho/Biochemical_Engineering | dd5edfdd2d0a531a9c59d21f44938e0993375824 | 683a02465783ab91c3e7bb06c591b914e7c17350 | refs/heads/master | 2023-05-28T02:50:42.486495 | 2023-05-25T20:53:48 | 2023-05-25T20:53:48 | 228,916,024 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,346 | sce | Reator_BAT_ALIMENTADO_NAO_ISOTERMICO_SCILAB_jun_20_2017.sce | clc
clear
//codigo scilab sistema Edo
//Eng.Bioq prof.Ubirajara-fev 07 2014
function [f]=BACH(t,Var)
T1=Var(1);Tc=Var(2);Tj=Var(3);
V1=Var(4);X1=Var(5);S1=Var(6);P1=Var(7);
Pmax=Alfa*exp(Beta*T1);
MI_0=k0*exp(-E/(R*(T1+273)));
MI=MI_0*S1/(S1+Ks)*(1-P1/Pmax)^n*(1-X1/Xmax)^m;
if(V1 < Vdorna) F0=Falim; else F0=0;V1=Vdorna... |
51d6ff1551702f2212dc552cea5ac16f82aef813 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.18_1.tst | 003fd27cad42401881c6b0d9e15702eabee82845 | [] | 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,260 | tst | bow.18_1.tst | 18 1:0.14285714285714285 12:0.022222222222222223 41:0.2 47:1.5 70:0.45454545454545453 75:0.25 84:1.0 87:1.0 98:1.0 122:1.5 136:1.0 191:1.0 277:1.0 289:1.0 326:1.0 337:2.0 499:1.0 516:1.0 522:0.3333333333333333 707:1.0 998:1.0 1238:1.0 1573:1.0 2623:3.0 2704:1.0 2906:1.0 4761:1.0 4765:2.0 4767:0.047619047619047616 4980:... |
7e5d9c7a664ed16379d82b9951869526a3c7815d | 3497e4f99295f9d0a26c0281451b49f83a91561b | /algo/tests/synchronous-shopping-3.tst | af911e7f4bd6e865382916fec46d9b6e67cb50ac | [] | no_license | lkuligin/hrank | e2af0bda04faf52198dccc6583c7e37366a105ba | ec8c5a9d7e7ac153c63cd3b2d3edf128c5e5ac79 | refs/heads/master | 2021-01-23T07:37:45.139920 | 2017-04-09T08:11:03 | 2017-04-09T08:11:03 | 86,432,729 | 0 | 0 | null | 2017-04-09T08:08:53 | 2017-03-28T08:10:16 | Scilab | UTF-8 | Scilab | false | false | 1,105 | tst | synchronous-shopping-3.tst | 50 100 7
0
1 3
3 4 5 7
0
0
0
0
0
1 4
2 3 5
1 3
0
0
0
2 3 4
0
0
0
1 3
0
0
0
1 5
1 3
1 3
0
1 1
1 5
0
1 3
1 1
2 2 6
0
1 5
0
0
0
0
1 4
1 7
0
1 5
0
0
1 3
0
0
0
0
1 4
34 42 44
20 15 1000
44 31 375
30 14 504
13 6 734
39 45 968
9 20 497
47 37 568
17 41 916
15 8 361
44 25 535
45 24 424
36 26 396
29 25 916
24 32 156
33 9 591
39 ... |
133b23b90ddad8bfd4a57c3a5f3010cea49b0c67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.13/13.sce | 7b97d734636162c2095ea1c50e8c3187d81c6532 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | 13.sce | //problem 1.13
p=490500
w=9810
h=p/w
D=0.15
A=3.142*D*D*0.25
pt=w*A*h
h1=(D*D)/(16*h)
disp(pt,"total hydrostatic pressure in N")
disp(h1,"position of centre of pressure below the centre of pipe")
|
2c2b4725d243c011c2712c96d9cb2aaac360d379 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testplot2dmark.sce | ed54b8d4408cf0834d290ab7023cbc2862531ae2 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | testplot2dmark.sce | clf;
//color plot
x=[0.001:0.02:2*%pi]';
y1=cos(x);y2=sin(x);y3=-sin(x.^2)./x;
plot2d([x x x],[y1 y2 y3],[2 4 5])
//plot with markers
x=[0.001:0.2:2*%pi]';
y1=cos(x);y2=sin(x);y3=-sin(x.^2)./x
plot2d([x x x],[y1 y2 y3],[-1 -3 -5])
|
c0c46204b8a37a7244a947dbff111e45ed95a8f0 | 475a9e3173cbf116c786e8a60b1323f29f10a134 | /solvingODE.sce | 474dd1aec92649bb94cab12f36a3edbdfa396fda | [] | no_license | jatinmandav/Sci-Lab-Implementations | bee5e375735ca0ebee9fd7afa69ddddbdadb5e3c | d1f65da040022b785763fe74d4b49468dc6078f3 | refs/heads/master | 2020-03-10T06:35:07.107772 | 2018-04-12T19:13:37 | 2018-04-12T19:13:37 | 129,242,875 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,557 | sce | solvingODE.sce | /*
* By: Jatin Kumar Mandav
*
* Euler's Method: Is a first-order numerical procedure for solving
* Ordinary Differential Equations with a given initial value.
* It is the simplest Runge-Kutta Method
*
* Runge-Kutta 4th Order Method: is a nmerial technique used to
* solve Ordinary... |
f090db1dc34b85af4f92b85b95789cc7bb652005 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH9/EX9.2/Ex9_2.sce | 8266bd23cebe9a758e289840011e5bca720d64d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | Ex9_2.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 9.2
//calculation of resistivity of the specimen
//given data
tm=30//time (in minute)
ts=20//time(in second)
Vn=1000//voltage(in V) to which the condenser was charged
V=500//voltage(in V) fall to
C=0.1*10^-6//capacit... |
7fc90308ed3ad388fb41b310264aea4e6c3ee90a | 12636981a5302a614e1005bab7d20fa7e4fcda56 | /Raizes de polinômios/Newton-1.sce | ff4e92c256cffabdbc7364d39cf6a70f6e1da8ea | [] | no_license | willcribeiro/CN | 080593d5b9ce2f3ea04a6bee2f9df9abde77bc17 | d2329b39ac26221e544b497c88f3e2a2799118d6 | refs/heads/master | 2020-05-24T22:56:53.422197 | 2017-04-18T12:22:52 | 2017-04-18T12:22:52 | 84,888,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,107 | sce | Newton-1.sce | // Alg de Newton
clc
clear
function y=f1(j) // Função 1
y=1-((1+j).^(-48))-34.95*j
endfunction
function y=d1(j) // derivada1 1
y=(48./(((1+j).^(49)))-34.95)
endfunction
function y=f2(k) //Função 2
y=1-((1+k).^(-60))-39.63*k
endfunction
function y=d2(j) // derivada2
y=(60./(((1+j).^(61)))-39.63)... |
9d6982aa991ea829f2d4887653a38d1f4603c166 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH1/EX1.11/Exa1_11.sce | d819b042692be795ae522b0f27cd12b3111a48f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 623 | sce | Exa1_11.sce | //Exa 1.11
clc;
clear;
close;
//Given data
format('v',6);
C1min=10;//in pF
C2max=50;//in pF
L=5;//in mH
L=L*10^-3;//in H
//Formula : CT=C1*C2/(C1+C2)
//Minimum
C1=10;//in pF
C2=10;//in pF
CTmin=C1*C2/(C1+C2);//in pF
CTmin=CTmin*10^-12;//in F
//Maximum
C1=50;//in pF
C2=50;//in pF
CTmax=C1*C2/(C1+C2);/... |
dd5ee128c32bc0564f80458cb3e2c1b4d0e32e33 | cea88917b1a7177608e003c8c7c60943569bbd95 | /Scilab Files/frequency_sort.sci | e433a65b8a5c245cc6c5f8d6ee9ba5d3c26d0bd4 | [] | no_license | seanpoyner/Zodiac | 0dc763e8e512cbcd9d0411b0da3ec9a8f4680094 | 3808665632d90f71740350dcdbd0e72a6b04e634 | refs/heads/master | 2021-01-01T06:45:40.358770 | 2012-01-05T13:40:04 | 2012-01-05T13:40:04 | 3,059,564 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sci | frequency_sort.sci | function [B] = frequency_sort(B)
[m,n] = size(B);
N = m*(m-1);
while N > 0;
for i = 1:m-1
if B(i,2) < B(i+1,2)
hold = B(i,2);
B(i,2)= B(i+1,2);
B(i+1,2)= hold;
end
N = N - 1;
end
end
endfunction
|
8abf0c420e8c0cc43b006236b3aca39a461ace49 | d928b1aab410da87208944a0d34890254d7b7897 | /Design Exp 3/a/PC8Bit.tst | e68cacebbea2fb24639db308c0f6c42d77b367e2 | [] | no_license | karthikswarna/CS4110-Computer-System-Design-Lab | e19a0d9d69ca666acfe054b5058e7355a32a62fe | 2fd40644f2dbf79624a736f267aecf057477e6dc | refs/heads/master | 2023-02-06T16:11:02.458719 | 2020-12-28T08:31:30 | 2020-12-28T08:31:30 | 292,209,978 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,180 | tst | PC8Bit.tst | load PC8Bit.hdl,
output-file PC8Bit.out,
compare-to PC8Bit.cmp,
output-list time%S1.4.1 in%D1.6.1 reset%B2.1.2 load%B2.1.2 inc1%B2.1.2 inc0%B2.1.2 out%D1.6.1;
set in 0,
set reset 0,
set load 0,
set inc1 0,
set inc0 0,
tick,
output;
tock,
output;
set inc0 1,
tick,
output;
tock,
output;
set in... |
c92ddf9487bba45ca7c93afa5aa12105effbf622 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH8/EX8.3/8_3.sce | d584cce01585c340147391ae66852388fc32ecb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | 8_3.sce | clc
//Initialization of variables
Q=2
A=0.196 //cm^2
D=0.5 //ft
rho=0.9*1.94
mu=0.0008 //lb s/ft^2
hl=25
g=32.2 //ft/sec^2
L=200 //ft
r=2 //in
//calculations
V=Q/A
R=D*V*rho/mu
f=hl*D*2*g/(L*V^2)
umax=V*(1+1.33*sqrt(f))
T0=f*rho*V^2 /8
u2=umax - 5.75* sqrt(T0/rho) *log10(D*12/r)
//results
printf("Ce... |
a34f5de7f6c0633ef27b1631ef347ebc93d9c97e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/auto/st_ility.sci | f1a43755574c7628fec6149c2572b2f1ff4142ed | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sci | st_ility.sci | function [n,u,sl]=st_ility(sl,tol)
[lhs,rhs]=argn(0)
[a,b,c,d,x0,dom]=sl(2:7)
if dom=[] then dom='c';warning('st_ility: sl assumed continuous!'),end
typ='c';if dom<>'c' then typ='d',end
[na,nb]=size(b)
// controllable part
if rhs=1 then [a,b,u,n]=contr(a,b)
else [a,b,u,n]=contr(a,b,tol)
end;
n=sum(n)
if lhs=3 ... |
264d359e40fb2f89109e4ecdc506f82bba84cc6f | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/lib/poly_Gregory_Newton.sci | b7fbe35b1072d871a25b737198a0a6f5299efca8 | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,020 | sci | poly_Gregory_Newton.sci | function Px = poly_Gregory_Newton(varargin)
//
// Polinomio de Gregory-Newton usando dispositivo pratico
//
// parametros de entrada:
// x: vetor contendo as abscissas,
// y: vetor contendo as ordenadas,
// [Exibe]: Parâmetro opcional de exibição da tabela de Dif. finitas
/... |
d93abd46f10f0bcaec3b2c10b02fe298b99af0ef | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TX54.prev.tst | dd856f3521c4b3cbad6c36214ae702c55c308aeb | [
"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 | 3,922 | tst | TX54.prev.tst | TranspositionSet={[1,0,2]}
considerNonPrimitive
Expanding for base=2, level=4, reasons+features=base,transpose,primitive,same,similiar norm
Refined variables=x,y,z
[0+1x,0+1y,0+1z]: unknown -> [1] [0,0,0] -x³-3x²*y-3x*y²-y³+3x²*z+5x*y*z+3y²*z-3x*z²-3y*z²+z³
-> solution [0,0,0],trivial(3) [1,0,1],trivial(3) [0,1,1],triv... |
cfad37f9bb7aa328ce8f768064a2d07d8320880c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH15/EX15.7/ex15_7.sce | 5eed8ee514e8344e65795c00d38cc824c87413e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex15_7.sce | //Determine rms value and frequency of the sine voltage
clear;
clc;
//soltion
//given
l=3.5;//cm //length of the trace
D=2;// V/cm //deflection sensitivity
Vpp=l*D;
Vrms=Vpp/sqrt(2);
printf("The rms value of the sine voltage = %.2f V\n",Vrms);
x=4;// cm //one cycle length on x axis
t... |
ff94885e7b30d32624f70a363c3e3cdeddb06707 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/ctr_gram.man.tst | 156c3c0b93a88419cc169fb86db0033a648239eb | [
"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 | 134 | tst | ctr_gram.man.tst | clear;lines(0);
A=diag([-1,-2,-3]);B=rand(3,2);
Wc=ctr_gram(A,B)
U=rand(3,3);A1=U*A/U;B1=U*B;
Wc1=ctr_gram(A1,B1) //Not invariant!
|
6561d786fc82cc62cd400ff8e84e839429ef0db7 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/P7_test_sample_size/P7.sci | a2a3782b1685f6c58811ea5efe60061578dad340 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,337 | sci | P7.sci | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// Proposed by author
//10 Streams
//6 Equipments
function [x_sol, f_sol, status]=P7(xm, sd)
//The jacobian of the constraints
// 1 2 3 4 ... |
17e5226fd03c7ad64a4ec053429c64ef0c00f428 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.2/Ex2_2.sce | 499bc0e94aea80f337fee5e45a3c86c5b232e4bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | Ex2_2.sce | //Horizontal and Vertical components of Force
//Resolving 20 kN force we get
Fx=20*cosd(60) //kN (towards left)
Fy=20*sind(60) //kN (Downward)
printf("Horizontal and vertical components respectively are:-\n Fx=%.2f kN (towards left)\n Fy=%.2f kN (Downward)",Fx,Fy)
|
bf1f2e4185860c962a341ea06c8161d64e44ae2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH4/EX4.16/4_16.sce | 6be2bff7cb68c89cd61e983b585400cb8c0d4470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,235 | sce | 4_16.sce | clc,clear
printf('Example 4.16\n\n')
Pole=10
Ns=600 //speen in rpm
conductor_per_slot=8
n=12 //slots per pole
Slots=Pole*n
m=n/3 //slots per pole per phase
beeta=180/n //slot angle
alpha=2*beeta //short by 2 slots
//flux per pole corresponding to 1st,3rd and 5th harmonic
phi_1=100*10^-3
phi_3=(33/100... |
93f05cffe9af48d8f67be1acc4e9a17a99ef88b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH15/EX15.6/15_6.sce | 15f88ac08bcea6df43dfffbd19c863d42e2e4f64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 15_6.sce | //example 15.6
clc; funcprot(0);
// Initialization of Variable
//solving for Ts
Tinfinity=293;
Tsurr=303;
epsilon=0.5;//emmisivity
alpha=0.8;
G=2000;
h=15;
sigma=5.67e-8;
deff('y=f(x)','y=alpha*G-h*(x-Tinfinity)-epsilon*sigma*(x^4-Tsurr^4)');
[x]=fsolve(307,f);
disp(x,"temperature in K");
disp(x-273,"temp... |
dd709b71fea0d8405959db06939cc470b59f5624 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH6/EX6.11/Ex6_11.sce | 5a3b1ed97fbe97b9e4bfd518d46da2834c3fd340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,812 | sce | Ex6_11.sce | //Chapter 6:Induction Motor Drives
//Example 11
clc;
//Variable Initialization
//Ratings of the star connected squirrel Induction motor are same as that of Ex-6.9
f=50 // frequency in HZ
Vl=400 // line voltage in V
P=4 // number of poles
N=1370 // rated speed
//Parameters referre... |
c0331f834a32bc8a6c07cff386e39084253a9369 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH15/EX15.2/EXP15_2.sce | f8d97a0e50a2d089a2807be75aaa4792af653eff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EXP15_2.sce | clc;funcprot(0);//EXAMPLE 15.2
// Initialisation of Variables
R=2.5;..........//Ratio of O to Si in SiO2
W1=69.62;........//Weight of B2O3 in g/ml
W2=60.08;........//Weight of SiO2 in g/ml
//CALCULATIONS
Fb1=(R-2)/3.5;...........//Mole Fraction of B2O3
Fb2=1-Fb1;.........//Mole fraction of SiO2
Wp=((Fb1*W1)/((F... |
0ebc2e4a9497124061952e7ac6e1669eff1b8e40 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /cs headshot dynamic.sce | 3ccc5d2fbb3b537d7dd283d517a45403605afe15 | [] | 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 | 309,483 | sce | cs headshot dynamic.sce | Name=cs headshot dynamic
PlayerCharacters=Counter-Striker
BotCharacters=Counter-Striker Bot strafe pause.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot strafe pause.bot;Counter-Striker Bot strafe pause.bot;Counter-Striker Bot strafe pause.bot
PlayerMaxLives=0
Bot... |
d217c29815c88d3bc056f65d647d1b8ead5791ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH7/EX7.8/Example_7_8.sce | c5ef468b6f7250c1de460914556cfc8a6cfad602 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | Example_7_8.sce | //Scilab Code for Example 7.8 of Signals and systems by
//P.Ramakrishna Rao
clc;
clear x y1 y y2 q t n;
clear;
//y(t)=sum(x(n)),n-2<=n=<n+2
x1=[1,3,5,3,0,0,0,0,0,0];//random variable
x2=[2,4,6,4,0,0,0,0,0,0];
for n=1:4
y1(1,n)=x1(n)+x1(n+1)+x1(n+2)+x1(n+3)+x1(n+4);
y2(1,n)=x2(n)+x2(n+1)+x2(n+2)+x2(n+3... |
19ee50f5cad167566b624cb01f6dfeb6a0d1df10 | 7e1b0b7ceda8e9c25d67d330a7bb5e562a01f27a | /ProbInverses/TomoToy/toy.sce | 471edaf6163351359d6a0931e15ad373f2ad0e4e | [] | no_license | sebherv/master2 | 59b8232e62bef140636bfad8c986bbd10e7d7beb | b8cd8bcde1ae3ae7a5bca58183804faa21456dd8 | refs/heads/master | 2021-09-13T19:33:50.766722 | 2018-02-09T15:09:24 | 2018-02-09T15:09:24 | 103,376,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | toy.sce | // Définition de G
G=[1,0,0;0,.5,.5];
d=[3;4.5]
// SVD
[U,S,V]=svd(G);
// Calculer Up, Vp, Sp
p=rank(G);
Vp=V(:,1:p);
Up=U(:,1:p);
Sp=S(:,1:p);
// Calculer Rm;
Rm=Vp*Vp';
// Calculer Rd;
Rd=Up*Up';
// Calculer Gg
Ggpen=pinv(G);
Ggcalc=Vp*inv(Sp)*Up';
// Calculer le modèle
M=Gg*d;
// Prédire les données
|
28669b0ef44ded624eec2188782b7b56d4471025 | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /src/identification/humanIdentification.sce | 16f75c5de7d380c06927bc69ecb93d246aa0dc58 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 883 | sce | humanIdentification.sce | function P = computePest(x)
//x=(d,q)
d = x(1:15);
d(1) = 0.2; // longueur du pied gauche
d(9) = 0.2; // longueur du pied droit
d(14)= 0.5; // largeur deamb
d(15)= 1;//hauteur deamb
q = x(16:$-2);
//q(1) = 0 ; // angle plante du pied/sol G
//aq(8) = 0; // ... |
d0514e463fc834a376dac61c0bfa6861456b011b | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH5/EX5.6/EX6.sce | e5f697da1c0943123935c8804084d993e1074bb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | EX6.sce | // Example 5.6: RF so that IE=+2 mA
clc, clear
IE=2e-3; // in amperes
VBE=0.7; // in volts
betaf=49;
// From Fig. 5.17
VCC=12; // in volts
RB=25e3; // in ohms
RC=2e3; // in ohms
I1=VBE/RB; // in amperes
IB=IE/(1+betaf); // in amperes
// KVL for the indicated loop gives
RF=(VCC-RC*(I1+(1+betaf)*IB)-VBE)/(I1+... |
28c0dee44ad0c69944f9c25606ee5f7f65f351c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1844/CH1/EX1.7/1Q7.sce | bf1afe4f34d115cfdb84db45a8e0c6d3e9930c6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | sce | 1Q7.sce | clc
//Intialisation of variables
s=1 // in degrees
LC = 1/6 // LC=10 minutes
n= s/LC
//Results
printf ('Taken eleven spaces of the main scale and divide it into %f spaces of the vernier',n)
|
3a68a5714a0c7f83f98419e17f435065f7eb8acc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH5/EX5.39/s39.sce | c61752cf5adf1a010f50f37869f64f5cecd33536 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | s39.sce | s=%s;
syms k
H=syslin('c',2/(s*(1-2*s)))
// for K/2>-1 or K>-2
nyquist(H)
show_margins(H,'nyquist')
printf("P=1(poles in RHP)")
printf("N=0,hence Z=1")
printf("Therefore,System is unstable")
|
4de2b7b1b85a6467f6df3f067240eff0f5659176 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introduction_To_Materials_Science_For_Engineers_J._F._Shackelford_3557.zip/Introduction_To_Materials_Science_For_Engineers_J._F._Shackelford_3557/CH8/EX8.4/Ex8_4.sce | 68bdd2b7876a020d95dc00ced27c877b03cc2623 | [] | 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 | 149 | sce | Ex8_4.sce | errcatch(-1,"stop");mode(2);//Example 8.4//
T.S=800;//MPa
F.S=T.S/4
mprintf("F.S = %i MPa",F.S)
ss=F.S/2
mprintf("\n ss = %i Mpa",ss)
exit();
|
5af32bb6849ea69101df00d3867814745623716d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH7/EX7.7/Ex7_7.sce | 47b330bc4eedfa1bd6fc7a3908699f1197db4960 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | Ex7_7.sce |
clc
//initialisation of variables
Fhy1=0.6008 //Btu/lbm-R
Fhy2=0.7963 //Btu/lbm-R
P1=50 //lbf/in^2
P2=40 //lbf/in^2
T=778//R
g=53.34//Btu/lbm-R
//CALCULATIONS
S=Fhy2-Fhy1-(g/T)*log(P2/P1)//Btu/lbm-R
//RESULTS
printf('The change in entropy per pound as air is heated =% f Btu/lbm-R',S)
|
9f92ac78d4beb4719f598d8bc53772bd101b6c59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH3/EX3.9/EX3_9.sce | c3c938713b78945ef239baff695406e976ca271a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sce | EX3_9.sce | // Example 3.9
// Determine the minimum power rating required for each transformer
// Page No. 117
clc;
clear;
close;
// Given data
P=50000; // Transformer power rating
Eline=120; // Line voltage
FP=0.9 // Power factor lagging
VL=120;
// Li... |
31fb72af0f434301acc36552b8b0f3e110e96831 | f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22 | /BCPST Vaisseau/jauge.sci | 63443419237a7830b2ada31a5ca7c33d129b2417 | [] | no_license | ThibaultLatrille/Slides-Sciencework | bfdf959dbbe4a94e621a3a9a71ccbcd06c5fc338 | 84b53f3901cbdb10fab930e832dc75431a7dce05 | refs/heads/master | 2020-04-27T07:53:52.313720 | 2019-03-06T16:17:57 | 2019-03-06T16:17:57 | 174,151,758 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,244 | sci | jauge.sci | function []=jauge(fuel)
xset("color",8);xfpoly([60,57,57,60],[17,17,5,5]);
//rectangle : 12*3
//séparation en 12 fractions
u=[60,57,57,60];v=[17,17,5,5];
xpoly(u,v,"lines",1)
if fuel>92 then xset("color",13);xfpoly(u,v);
elseif fuel>84 & fuel<=92 then v(1)=v(1)-1;v(2)=v(1);xset("color",14);xfpoly(u,v);
elseif fuel>... |
12eafe55b02902f0ab8d0cca4a486b93f1b8ad13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2549/CH3/EX3.5.4/Ex3_5_4.sce | 8c3922c789b136a3036a24f1dca781216c777026 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_5_4.sce | //Ex3.5.4
//calculation of parameter for full wave rectifier ckt
clc;
clear;
//given
Pl_dc=100;// dc load power in watt
Vl_dc=10;//dc Voltage
Vs=230;//supply voltage
Il_dc=Pl_dc/Vl_dc;
disp('***Part(1)');
disp('Ampere',Il_dc,'dc load current is :');
Vm=(%pi*Vl_dc)/2;//peak Voltage
Vs_rms=Vm/sqrt(2);//rms se... |
904aa33871e0d5351184c6f6957ac4be9f15a701 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter7/Ch_7_Eg_7.2.sce | e0dee050077fe45f5e1c1abfee2066aecc0f3065 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,213 | sce | Ch_7_Eg_7.2.sce | //A program to implement the false position method
//Input:
// f = The function handle of the equation (written as x0 Scilab function) whose root is to be found.
// (x0, x1) = The initial interval in which the root is to be found.
// epsilon = The desired accuracy level of the root.
// maxit = ... |
65d6dd232eb81917757af40144e1d12523ad2642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH8/EX8.15/8_15.sci | f5a092e1e9e11e5ef3d6f8d623db47aa44b0f7b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 8_15.sci | //coefficient//
s = poly ( 0,'s' );
sys = syslin ('c',180/(s*(s+6))) //G(s)H(s)
disp(sys,"G(s)H(s)")
syms t s;
//R=laplace('4*t',t,s)
R=laplace('4*t',t,s);
e=limit(s*R/(1+sys),s,0);
y=dbl(e);
disp(y,"steady state error")
syms k real;
//value of k if error reduced by 6%;
e1=limit(s*R/(1+k/(s*(s+6))),s,0) ... |
07d3a0288a04dae56807b31d077ad6b5b3a443db | 15d3702a1f4402ab16e6b4cfc725ff7e996843ef | /predictions/wsj/wsj-10/parses.tst | 7de6daea07b26f840d4deb7fbcffc603abd68678 | [] | no_license | viking-sudo-rm/industrial-stacknns | 2ecb36a6c5da2e295b91f854dc96d6bc4c2e4b6a | f08da2dcc27f2688eb99e10934ad89e41b879de8 | refs/heads/master | 2020-04-26T03:36:50.038626 | 2019-12-26T16:51:52 | 2019-12-26T16:51:52 | 173,272,681 | 14 | 3 | null | 2019-04-13T19:51:25 | 2019-03-01T09:22:01 | Jupyter Notebook | UTF-8 | Scilab | false | false | 658,083 | tst | parses.tst | (X (X (X A) (X (X Lorillard) (X (X spokewoman) (X (X said) (X (X ,) (X ``)))))) (X (X This) (X (X (X is) (X (X an) (X old))) (X (X story) (X .)))))
(X (X (X There) (X (X is) (X (X no) (X (X (X asbestos) (X (X in) (X our))) (X products))))) (X (X now) (X (X .) (X ''))))
(X (X (X (X (X It) (X has)) (X (X no) (X (X (X bea... |
14f11164fbd5c656816c964b66f73b623823128f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH9/EX9.6/ch9_6.sce | 92d022be760431281bc728aff4e3291bc9d68bc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | ch9_6.sce | // Determine the capacitance (a)between any two conductors (b)between any two bunched conductors and the third conductor (c)Also calculate the charging current per phase per km
clear
clc;
C1=.208;
C2=.096;
Cx=3*C1;
w=314;
V=10;
Cy=(C1+ 2*C2);
Co=((1.5*Cy)-(Cx/6));
C=Co/2;
mprintf("(i)Capacitance between any ... |
3b35090c91153fb4dc3f7e442c53d99d9d672964 | f27b2cb884d353ee9999169f89cbbd62fbaded67 | /scilab/for_clothoids/functions_for_FI.sci | 3319c45a2de562e39e92fc4b8a84c23aadc13104 | [] | no_license | red-itmo/lego-car-movement-control | b5f2180bef04ddf7348d2da39bb03a8a723bdb0c | ca5545dbd72744daf53710c09998491386a810c8 | refs/heads/master | 2018-12-22T08:32:20.637335 | 2018-09-30T14:38:52 | 2018-09-30T14:38:52 | 117,673,569 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,537 | sci | functions_for_FI.sci | //////////////////////////////////////////////////////////
//// The file contains some functions for calculating ////
////// Fresnel integrals, its approximation and //////////
///////////////// some other things //////////////////////
//////////////////////////////////////////////////////////
function y=cosF(t)
y =... |
75a1f567109eb5c637b323d0a3af16ea04e8c0df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH12/EX12.9/Chapter12_Example9.sce | 15f945c7d35f130fc20ee0aabe7f56040ec979ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | Chapter12_Example9.sce | clc
clear
//INPUT
n=17000;//luminosity of star compared to sun
t=6000;//temperature of the sun in K
//CALCULATIONS
t1=(n*t^4)^(1/4);//temperature of the star in K
//OUTPUT
mprintf('the temperature of the star is %3.2f K',t1)
|
7b42444a01be7cff0bd78949658291e1f2f85239 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_3/Scilab_codes/Finding_poles.sce | 733dcf65686a3da2bae4876b01d5bec81aa2f356 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | Finding_poles.sce | clear;
close;
clc;
s = poly(0,'s');
g = 9/(s^2 + 2*s + 9);
poles = roots(g.den)
disp(poles , 'Poles of the system are ')
|
2b6e8806f12423d2d00f1b662a39c78d16f464ca | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/percent/%shb.sci | 267b034fa165080f3c74166530c0b513b8b74fe8 | [
"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 | 41 | sci | %shb.sci | function r=%shb(a,b)
// r=a&b
r=(a<>0)&b
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.