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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12366276f19b587544ddac5725c9b7dc9475e78f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH7/EX7.11/chapter7_ex11.sce | eeab2dfffb6b69bcd8a857da20b0493b3fa6bf9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | chapter7_ex11.sce | clc
clear
//input
r=10;//resistance in source impedance in kiloohms
l=0.005;//inductance in source impedance in henry
v=100;//supply voltage in volts
f=10000;//supply frequency in hertz
//calculations
xl=2*%pi*f*l;//inductive reactance in ohms
c=((10^6)*(10^3))/(2*%pi*f*xl);//capacitance in picofarad
//... |
a5f0d8b32fba4d2388d72fcf5ef9d40bd1280263 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH5/EX5.8/EX5_8.sce | 915351ce4c02bbad2f78d943180ae1a5ea8c106e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 969 | sce | EX5_8.sce | // Example 5.8
// Determine (a) Expected minimum locked-rotor torque (b) Repeat (a) when
// voltage and frequency dropped to 230V and 58Hz
// Page No. 193
clc;
clear;
close;
// Given data
HPrated=75; // Rated horsepower
nrated=1750; // Rated speed
V1=240; // Rated vo... |
73c01ec035246c7f3890bca47c3fd4f644d5b41e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.14.8/ex1_14_8.sce | 03332c5df855875660658645fc61c95b89e8e7be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | ex1_14_8.sce | //Chapter-1,Example1_14_8,pg 1-61
//the interplanar spacing of plane
h=1
k=1
l=0
d=2 //interpanar spacing in amstrong unit
//we know that d=a/sqrt(h^2+k^2+l^2) therefore
a=d*sqrt(h^2+k^2+l^2)
//for FCC structure
r=sqrt(2)*a/4
printf("radius r=")
disp(... |
68fe01e6bcb5c70d820c7b6d119e042c1617e78a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH9/EX9.2/9_2.sce | 07ab5a03ed471da68a769a3a72cd80e5db60aaaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_2.sce | clc
//initialisation of variables
m=0.001//kg
l=80000//cal/kg
T1=273//k
T2=373//k
s=1000
l1=540000//cal/kg
//CALCULATIONS
ds=(m*l/T1)+(m*s*log(T2/T1))+(m*l1/T2)
//results
printf(' change in entropy = % 1f cal/k',ds)
|
d733f119d9624941a938abe97848d66cc2dcd93e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH6/EX6.11/Example_6_11.sce | 0044f35849ba6f5d66d1876adee270dd5df022a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | Example_6_11.sce | // Example 6.11 Calculate the five year Moving Average
clc;
clear;
Val=[105 115 100 90 80 95 85 75 60 65 70 58 55 53 60 52 50];
MV1=0;
MV2=0;
MV16=0;
MV17=0;
MV3=Val(1)+Val(2)+Val(3)+Val(4)+Val(5);
MV4=Val(2)+Val(3)+Val(4)+Val(5)+Val(6);
MV5=Val(3)+Val(4)+Val(5)+Val(6)+Val(7);
MV6=Val(4)+Val(5)+Val(6)+Val(7)... |
f0f2a90ebf6527fd7d76486ae5ba2e3cc4d87b9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH7/EX7.14/Example_7_14.sce | f709ac121ba2077bae9220d89ac56e0866f10b6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Example_7_14.sce | // Chapter7
// Page.No-285
// Example_7_14
// Design of quadrature oscillator
// Given
clear;clc;
fo=159; // Frequency of oscillation
C=0.01*10^-6; // Assumption
R=0.159/(fo*C);
printf("\n Resistance values R1,R2,R3 is = %.1f ohm \n",R) // R1=R2=R3=R
printf("\n Capacitance values C1,C2,C3 is = %.8f farad \n",... |
30debf7b44e74587478b2ab1a19e875b8ed99790 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH11/EX11.16/Ex11_16.sce | 9b7dbbfecd3663e20506229c6d5e37cfe9edd3c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sce | Ex11_16.sce | //Variable declaration:
FV = 1.0 //Correction factor
//From example 11.9:
FE = 0.358 //Emissivity correction factor
TH = 300.0+460.0 //Absolute temperature of external surface (°R)
TC = 75.0+460.0 //Absolute temperature of duct (... |
c3a9914b170b1bfc125e7898e1070e5a1fa28be5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH19/EX19.1/19_1.sce | c8298ea69e33e6f58319264a5a85832f8536db2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | 19_1.sce | clc
//initialisation of variables
Na= 1
Nb= 1
Nc= 1
Na1= 2
Nb1= 1
Nc1= 0
Na2= 3
Nb2= 0
Nc2= 0
//CALCULATIONS
Wabc= factorial(Na+Nb+Nc)/(factorial(Na)*factorial(Nb)*factorial(Nc))
Waab= factorial(Na1+Nb1+Nc1)/(factorial(Na1)*factorial(Nb1)*factorial(Nc1))
Waaa= factorial(Na2+Nb2+Nc2)/(factorial(Na2)*facto... |
7bdb3fa5308e1c93b8360367019aeda81f03c110 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH15/EX15.1/Ex15_1.sce | 0bc98a6dbe399994f31e606db134ef1b35291574 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | Ex15_1.sce |
// Examle 15.1
p=6; // No.Of poles
f=50; // Frequency
Ns=(120*f)/p; // Synchronous speed
disp('(a) The Synchronous Speed (Ns) = '+string(Ns)+' rpm');
s1=0.01; // Slip (s=1 %)
N1=Ns*(1-s1); // he No Load Speed (N)
disp... |
f740d009f1c8692e5cebf1e98da4ee3db8b7849b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH25/EX25.16/Ex25_16.sce | 26399632f98cf61fa55365a1423c9cdb00056fd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | Ex25_16.sce | clear
//Given
a=2*10**12
b=9.0*10**12
T=80
//Calculation
//
c=log(a/b)
t=-(c*T)/0.693
//Result
printf("\n Time required is %0.0f second",t)
|
22d6b07eb7d0683762009f2dbeb23f6b971d25d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.15/Ex3_15.sce | d2ba4515032f21e8691f2bf3e4b0bf6bed651a10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | Ex3_15.sce | //Example 3_15
clc;
clear;
close;
format('v',5);
//given data :
f=50;///Hz
V=160+%i*170;//V
I=12-%i*5;//A
Z=V/I;//ohm
disp(Z,"Impedence Z(ohm)");
fi=atand(imag(Z)/real(Z));//degree
pf=cosd(fi);//Power Factor
disp(pf,"Power Factor(lagging)");
P=abs(V)*abs(I)*pf;//W
disp(P,"Power Consumed(W)");
XL=imag(Z)... |
0099dd2b3656917a5baca97f07816aaeb2105649 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH5/EX5.54/5_54.sce | 6812d9e68232a47e545503d3f4bc8bdf7e150ccb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_54.sce | //Example 5.54
//Spline Interpolation
//Page no. 207
clc;close;clear;
xi=[0,1,2,3];
yi=[1,-1,-1,0];
h=1;n=3;
x=poly(0,'x')
m=[4,1;1,4];
mb=[12;6];
m=inv(m)*mb
m(3)=m(2);
m(2)=m(1);
m(1)=0;m(4)=0;
function [y]=S(i,x)
y=m(i)*(xi(i+1)-x)^3/(6*h)
y=y+m(i+1)*(x-xi(i))^3/(6*h)
y=y+(yi(i)/h-(m(i... |
5b9a0c6966f27b9781bd2ffbb232dd0563580cde | e806e966b06a53388fb300d89534354b222c2cad | /macros/cornerMinEigenVal.sci | 8d8f82d9972189424bbcfbed23024f4a66ed1ec4 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sci | cornerMinEigenVal.sci | function [outputImg]= cornerMinEigenVal(inputImage, blockSize, kSize, borderType)
inputList=mattolist(inputImage);
outputList=opencv_cornerMinEigenVal(inputList, blockSize, kSize, borderType);
for i=1:size(outputList)
outputImg(:,:,i)=outputList(i)
end
endfunction
|
eeb0d148647a4603d10da91911ca6c7fede3106a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.30/EX3_30.sce | 17a68415ed24b13c06b600eb9f7932f4f2582c94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | EX3_30.sce | //EXAMPLE 3-30 PG NO-192
R=8*0.866; //cos30=0.866
disp('i) Resistance (R) is = '+string (R) +' ohm ');
X=8*0.5;
disp('ii) X (X) is = '+string (X) +' ohm ');
|
60aa036dc70d4628758714934fb19dfe1b6b7243 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH2/EX2.1/Ch02Ex1.sce | 702c362d2447a8098d01d50ada3b7d697070abc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sce | Ch02Ex1.sce | // Scilab code Ex2.1: Pg.44 (2005)
clc; clear;
c = 3e08; // Velocity of light, m/s
u = 0.750*c; // Velocity of electron, m/s
m = 9.11e-31; // Rest mass of electron, kg
p_r = m*u/(sqrt(1 - (u/c)^2)); // Relativistic momentum of electron, kgm/s
p = m*u; // Classical momentum of electron, kg-m/s
printf("\... |
c59ead82cd8c5a6567d7122327f906c750485d25 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test1-1.tst | 325ae3de552382d98c4b62fcd6f88b5ce0b62ea1 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | tst | test1-1.tst | main
var myvar;
{
let myvar <- call inputnum();
call outputnum(myvar);
call outputnewline()
}.
|
10d15a8e4b79ef7b293600682722395a1e453ac7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH5/EX5.1/Ex5_1.sce | a7c79e0b42818bf373a955dfe01498e96252a6ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Ex5_1.sce | //Ex 5.1 page 184
clc;
clear;
close;
R=10;// ohm
Vs=230;// V
f=1*1000;// Hz
Ton=0.4;// ms
k=0.4 ;// duty cycle
Vo=Vs*k;//V
Ioav=Vo/R;// A
Vor=Vs*sqrt(k);// V
Po=Vor**2/R;// W
printf('\n Average load current = %.1f A', Ioav)
printf('\n Power delivered = %.2f W',Po)
|
5008e48bbfdaac16eca54377ac15ba6cefc0fc12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/541.sci | 3e49235d45be6acf7151a24b4c230be8c8b05f79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 63 | sci | 541.sci | Vcap=50 //M^3/hr
P=40 //bar
T=300 //K
R=8.314
M=16.04 //kg/kmol |
3add493a2dc595090b4d56bce88aa9ce835b53f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.6/Ex18_6.sce | fae4d033b414dfc14325d542e3e91f6721ac0d10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex18_6.sce | // scilab Code Exa 18.6 Calculations on a Gas Turbine
m=472; // flow rate of hot gases in kg/s
T01=1335; // Turbine inlet temp in Kelvin
p01=10; // Turbine Inlet Pressure in bar
c2=150; // exit velocity in m/s
pr0=10; // Turbine pressure ratio
gamma_g=1.67;
T2=560; // Temperature of gases at exit in Kelvin
... |
16b67944f66e2ce790c97636e5efb6e78b3a6b24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.12/example15_12.sce | c4d641bc30356ae76c2ae9fa39f1b9f16e5c6b77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | example15_12.sce | //Example 15.12
//prove the solution of the equation
clear;clc;
xdel(winsid());
//assuming n=1
n=1;
z=%z;
y(n)=z^n;
y(n+1)=z^(n+1);
y(n+2)=z^(n+2);
A=y(n+2)+3*y(n+1)+2*y(n)
B=A/z
roots(z^2+3*z+2)
disp("y(n)=z^n is solution of polynomial equation (z+2)*(z+1)=0")
|
456d75ba17eb7e3db070396242cf86beaf63e47c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH11/EX11.6/6.sce | b318597312da4117baf0d1bb22674db69322e6b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | 6.sce |
//Variable declaration
n1=1.55; //refractive index of core
n2=1.50; //refractive index of cladding
//Calculation
NA=sqrt((n1**2)-(n2**2)); //numerical aperture
//Result
printf('numerical aperture is %0.3f \n',(NA)) |
946c1b2fb2c34b37772db68e10016fdd2a746f81 | 5d5e31df1b995c9efc4609a22cb7aea39222a054 | /basiscs/Or.tst | 346565780d92719956a7e2157ec6eaa0d2abbc16 | [] | no_license | SamratGhale/nand2tetris | c8f19fff10512dcf6fd46b129ee9e2ad358bde6c | facfb249f692fc329f7b4dbc4652e0225eb4f8b3 | refs/heads/master | 2023-02-08T05:25:09.138357 | 2021-01-02T13:53:34 | 2021-01-02T13:53:34 | 326,141,575 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | tst | Or.tst | load Or.hdl;
output-file Or.out,
compare-to Or.cmp,
output-list a%B3.1.3 b%B3.1.3 out%B3.1.3;
set a 0, set b 0, eval,output;
set a 0, set b 1, eval,output;
set a 1, set b 0, eval,output;
set a 1, set b 1, eval,output;
|
f983f539d5600457f88e6ad600a0dd68a380f8ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH14/EX14.3/Example14_3.sce | 5eca45dfa9f766188a4e263b18e404a7cd4d22a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | Example14_3.sce | //computation of component pressure from equilibrium constant
clear;
clc;
printf("\t Example 14.3\n");
PCl3=0.463;//equilibrium pressure of PCl3, atm
PCl5=0.875;//equilibrium pressure of PCl5, atm
Kp=1.05;//equilibrium constant of the reaction
Cl2=Kp*PCl5/PCl3;//equilibrium pressure of Cl2 in atm, formul... |
0d366a70c45d6eef3e39294482e00fd49cd9e3d9 | d0080e0eb466760ff9223b7198868b34c6783607 | /Apprentisage/exercices/get_cluster.sce | e3bbde4199a352d3371bf4b9ce130e171e3f6e34 | [
"BSD-3-Clause"
] | permissive | vanthonguyen/m2 | fc8b80f19a456e0f038f28c3e03a88e85e1c17c3 | 41b9380951a5e241cab591e186af80c40e4be663 | refs/heads/master | 2020-12-26T01:12:07.179725 | 2014-05-13T08:17:28 | 2014-05-13T08:17:28 | 19,494,479 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | get_cluster.sce | function [ind, d] = get_cluster(p, c)
l = length(c(:,1))
found = 0;
min_dist = 2147483647
for i = 1: l
dist = sqrt( (p(1) - c(i, 1))^2 + (p(2) - c(i, 2))^2)
if dist < min_dist then
found = i;
min_dist = dist;
end
end
ind = found
d = min_dist
en... |
a6fb947659bf50c85ecc42e82bfe3cbcfad79e0b | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnJa/enja.8.tst | ac97b548ef7038ec9e57d4127c72dc8cf611da2c | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104,518 | tst | enja.8.tst | a a r n e ア ー ル ネ
a b d u s ア ブ ド ス
a c h a t z ア ハ ツ
a c h u c a r r o ア チ ュ ー カ ロ
a c k e r m a n ア カ ー マ ン
a c k e r m a n ア ッ カ ー マ ン
a c k e r m a n n ア ケ ル マ ン
a c k e r m a n n ア ッ カ ー マ ン
a c k e r m a n n ア ッ ケ ル マ ン
a d a n s o n ア ダ ン ソ ン
a d e e エ ー デ ィ ー
a f g h a n i s t a n ア フ ガ ニ ス タ ン
a g a f o s h i ... |
ac979df32b13e7f2cfa3408435daf02063f71970 | 8dc4c6a077c37d2fbf84cd333df26d3499757028 | /OfficeTasker_final.sce | 1a57d025bb8d4e103b8b99b93eb9744310ba04c5 | [] | no_license | kartikay101/OfficeTasker | 7a659d42dc24db953132d4015c25054cbda37ed7 | 98c279e4022297eefc6699acc037b8154c11a6ce | refs/heads/master | 2021-01-11T03:20:06.900079 | 2017-05-13T12:39:57 | 2017-05-13T12:39:57 | 71,023,026 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,721 | sce | OfficeTasker_final.sce | PATH='C:\OfficeTasker\'
function filescreate()
s=PATH+''+'Manager.mdp'
creater= mopen(s,"w")
mclose(creater)
s=PATH+''+'Employee.mdp'
creater= mopen(s,"w")
mclose(creater)
s=PATH+''+'Employeelist.txt'
creater= mopen(s,"w")
mclose(creater)
endfunction
// First time run only
func... |
2761cc195603b8abaf931b8d711f7a9a23cb8659 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH9/EX9.6/Ch09Ex6.sci | 451bd182c1e82c836f3ebe3417fb8484c7f935bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 926 | sci | Ch09Ex6.sci | // Scilab Code Ex9.6 Heat transference into rock salt at low temperature: Page-313(2010)
A = 464; // Atomic specific heat of rock salt, cal g/mol/kelvin
theta_D = 281; // Debye temperature of rock salt, K
delta_T = 10; // Rise in temperature in each class interval, K
// Define a function which returns latt... |
1aeccde9b381bd4e8a30d2edb327135ccbccb851 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH3/EX3.12/Example_12.sce | 8e01cce4686b9d4c7d0a34abbfb0e843744ffa26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | Example_12.sce | //Chapter-3,Example 12,Page 60
clc;
close;
t_half =6.13 //half life of Ac(222)
t= 10 //time period
amnt=1/10^(t*0.693/(2.303*t_half))
printf('the amount of the substance left is %.4f ',amnt)
|
41e1758b167b2a92af647b84fd04c14ada14dfe4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.61/exa12_61.sce | fc81b8e8ddad4c2d5bc3ed4041798d9876fddd42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | exa12_61.sce | //caption:obtain_transfer_matrix
//example 12_61
//page 592
s=%s;
syms t
A=[-1 -1;3 -5]
B=[1 1]'
C=[1 2]
[r c]=size(A);//size of matrix A
p=s*eye(r,c)-A;//s*I-A where I is identity matrix
q=det(p)//determinant of sI-A
r=inv(p)//inverse of sI-A
G=C*r*B
disp(G,"transfer_matrix=") |
393f53fb0ac77cfadf5d50c87f5b82ea912adba7 | 482cdc3e27e99afe860829eff3e593caa62202e3 | /src/Assignment1_Tests/test12.tst | adf4ae3192c0af1705a100978731df9a2803bbbd | [] | no_license | abrageddon/DLXCompiler | e153430de4412fe48a34955851352d0fd73ab2d8 | 2d1abd102f723c2e1f0ed5893e86c7d0ceb42914 | refs/heads/master | 2020-12-30T10:50:20.955331 | 2011-12-02T03:34:59 | 2011-12-02T03:34:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33 | tst | test12.tst | ({({
var nested == 44; <-
})})
|
12defc30445575ea83a16ab02ef7c6df894b300e | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.vehicle-10-1tra/result6s0.tst | 6673e467d3f39a8fc24e40e55dce9ddea6e060b9 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,907 | tst | result6s0.tst | @relation vehicle
@attribute Compactness integer[73,119]
@attribute Circularity integer[33,59]
@attribute Distance_circularity integer[40,112]
@attribute Radius_ratio integer[104,333]
@attribute Praxis_aspect_ratio integer[47,138]
@attribute Max_length_aspect_ratio integer[2,55]
@attribute Scatter_ratio integer[112,265... |
88598b545f8d51d0605b9dd94ce220281a315066 | d798d97f3aec3c77fe1b7db97e484616f605aada | /ana.sce | 261a0b209c247703b0566a62c603de1e939af289 | [] | no_license | fazedo/modelagem | 2261ddfb394cc0def69eabfd88abe8a1d42a1ea7 | 3b4416c0469448117b9bb7c7a3ac562d871b620b | refs/heads/master | 2020-03-11T15:41:00.712925 | 2018-04-18T18:03:05 | 2018-04-18T18:03:05 | 130,092,684 | 0 | 6 | null | 2018-04-25T14:10:50 | 2018-04-18T16:36:26 | Scilab | UTF-8 | Scilab | false | false | 10 | sce | ana.sce | y=3
x+y=1
|
81786b8083fb3ac4d7159e1c3802bdee97d5ba86 | 2d011bdef44dc6c9c391b95334b651e8c6353865 | /Código/pageRank.sci | 9f661c2267bb2c52ecd5ce0f34ae4da2d05345ff | [] | no_license | MarianaFRocha/Page-Rank | e13e6fd354b7ec7bc6012cccba10dc288b716b8f | 4023ebdc5aa8a6b697871a9c0686dfe579cdac51 | refs/heads/master | 2020-05-22T18:11:18.867021 | 2019-05-13T17:44:38 | 2019-05-13T17:44:38 | 186,467,398 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sci | pageRank.sci |
function pageRank()
A=[0 1/2 1/3 1/4 0;
0 0 0 1/4 0;
1/2 0 0 1/4 1;
1/2 1/2 1/3 0 0;
0 0 1/3 1/4 0]
erro=0.0001
y0=[0;1;0;0;0]
A=A^25
metPotencia(A, erro, y0);
endfunction
|
9a40f8b96cad2dbd3be2a30069fadc80c856db7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH3/EX3.4.b/3_4_soln.sce | 684492f38f9ed36aea6dc6e472350e313f0a4975 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | 3_4_soln.sce | clc;
pathname=get_absolute_file_path('3_4_soln.sce')
filename=pathname+filesep()+'3_4_data.sci'
exec(filename)
// Solution:
// Pascal law states, (F1*A1 = F2*A2)
// Similarly, (S1*A1 = S2*A2)
// Output force upward,
F2=(A2/A1)*F1; //lb
// upward movement of piston 2,
S2=(A1/A2)*S1; //in
// Energy Input,
E1=F1*S1; //i... |
e5df935c163f1b32efb2f76c30a22beccb2696c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH7/EX7.14/7_14.sce | ec413e0dc6323b8c2c488f8149f1e78dd253a7b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_14.sce | clc
//initialisation of variables
a= 2.4*10^-4
Ph= 11.54
//CALCULATIONS
Ph1= -log10(a)
a= 10^(-Ph)
//RESULTS
printf (' pH of solution = %.2f ',Ph1)
printf (' \n activity coefficient = %.1e ',a)
|
a998aeb56645dc656edd06b5925d16762ecad336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH9/EX9.8/9_8.sce | 7af1bed00c289d89a9d8dfbd2312e2147ad3350f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_8.sce | clc
//initialisation of variables
h1= 174.076 //kJ/kg
h3= 74.527 //kJ/kg
h4= 8.854 //kJ/kg
m= 0.8 //kg
e= 0.85
//CALCULATIONS
h2= h1+h3-h4
Q= m*(h2-h1-23)
Q1= e*Q
//RESULTS
printf (' Heat = %.2f kW',Q)
printf (' \n Heat = %.2f kW',Q1)
|
69db3e86bd99722a66c5c47128f90b62d4796167 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH5/EX5.3.4/Example5_3_4.sce | 6eccdff57817f55fd969fcde48d80a4621e34b1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | Example5_3_4.sce | //Example 5.3.4 page 5.9
clc;
clear ;
LED_output = 3;
PIN_sensitivity = -54;
allowed_loss= LED_output -(-PIN_sensitivity);
Lcoupling = 17.5;
cable_atten = 30;
power_margin_coupling= 39.5;
power_margin_splice=6.2;
power_margin_cable=9.5;
final_margin= power_margin_coupling+power_margin_splice+power_margin... |
e62ca93da393a2d7cc2b0745ea7cff20b5e5b8f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH3/EX3.9/Ex3_9.sce | 0dd222f440d4ce05c0b1fc8e2ed49a1c97d42f3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | Ex3_9.sce | fcMhz=800
ht=30
hr=2
rkm=10
LpHdB=68.75+26.16*log10(fcMhz)-13.82*log10(ht)+(44.9-6.55*log10(ht))*log10(rkm)//propogation path loss using hata model
LpfdB=110.5//prpogation path loss using free space model
D=LpHdB-LpfdB
disp(LpHdB,'propogation path loss using hata model in dB')
disp(LpfdB,'propogation path loss using f... |
87b935625d196ef86e6ebaf8adc50ad29ac454ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.59/ex1_59.sce | df634a26ffe16a0472e5e7d3339781b7f184603d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | ex1_59.sce | //Exa:1.59
clc;
clear;
close;
t=90;//in seconds
T_eq=sqrt(40750/t);//in Kg-m
N=750;//in rpm
P=T_eq*9.81*2*%pi*N/60;
disp(P,'Power Rating Of Motor (in Kws)='); |
d3718481c66be71f64036326a8e9baf5c83342c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH2/EX2.9/chapter2_ex9.sce | 0d93044b83dca3d2f5324e943a3e076782eea53c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | chapter2_ex9.sce | clc
clear
//input
l=0.002;//length in meters
a=0.01;//area in square meters
pd=250000;//potential gradient in V/m
h=250000;//magnetic force in A/m
e0=8.85*(10^-12);//absolute permittivity
er=1;//relative permittivity of air
u0=1.257*(10^-6);//absolute permeability
ur=1;//relative permeability of air
//c... |
7b637ededd4cf5a1555bf7c73e90371ef8905f9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH3/EX3.1/EX3_1.sce | fc5ab1007e0f0eae7b80f728d18d10a0bc4f525b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | EX3_1.sce | //page 53
clc;funcprot(0);//EXAMPLE 3.1
// Initialisation of Variables
Cn=8;......//No. of Corners of the Cubic Crystal Systems
c=1;......//No. of centers of the Cubic Crystal Systems in BCC unit cell
F=6;.......//No. of Faces of the Cubic Crystal Systems in FCC unit cell
//CALCULATIONS
N1=Cn/8;.....//No. of la... |
bb77a9e8852c9934a84101fac0841efc9c00aaa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH13/EX13.4/ex13_4.sce | e0d4f279b3be1d6a7f4114577529f56c50375a7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex13_4.sce | clc;clear;
//Example 13.4
//calculation of wavelength of scattered radiation and velocity of recoiled electron
//given values
alpha=30*%pi/180;//scattering angle in radian
e=1.6*10^-19;//charge ofelectron
x=1.372*10^-10;//wavelength of incident radiation in m
c=3*10^8;//velocity of light in m/s
h=6.626*10^-... |
e74a115cc653b881a10fb36f86d24b3fd30b7b30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH5/EX5.1/example_5_1.sce | 47b0cc28143df59fb9571ef61ae58f6cff96b321 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,971 | sce | example_5_1.sce | //Example 5.1
clc //clears the command window
clear //clears all the variables
p=1; //initialising variables
q=1... |
e93506dd81b8c1ad18df4635c326ac2a34306526 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.22.1/Ex8_22.sce | c70d2ccc52cbfb403076770a5c7b87d351cb334d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Ex8_22.sce | clc
clear
V14=7.5;
P1=1;
T1=27+273;
P2=5.5;
n=1.3;
C=0.06;
T2=T1*[(P2/P1)^((n-1)/n)];
printf('T2: %3.1f K',T2);
printf('\n');
Ev=1+C-[C*((P2/P1)^((1/n)))];
printf('Vol Eff: %3.1f Percent',Ev*100);
printf('\n');
AP=[n/(n-1)]*[P1*100*V14/60]*[((P2/P1)^((n-1)/n))-1];
printf('Air Power: %3.1f kW',AP)... |
421596adf920bdf1546f5ea1343ac3dc48578f28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH7/EX7.6/Ex7_6.sce | c6ce8aeb8bea41f23278f9af27c5d7c773779b38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | Ex7_6.sce | clear;
clc;
//Example 7.6
Rs=3.2;
Rd=10;
Rl=20;
Cl=10;
Vtp=-2;
Kp=0.25;
Idq=0.5;
Vsgq=3.41;
Vsdq=3.41;
gm=2*Kp*(Vsgq+Vtp);
printf('\ntransconductance =%.3fmA/V\n',gm)
Tp=Cl*Rd*Rl/(Rd+Rl);
printf('\ntime constant=%.3f ns\n',Tp)
Tp=66.7*10^-3;//micro sec
fH=1/(2*%pi*Tp);
printf('\ncorner frequency=%.2f ... |
1ae0182f2f180ef0bc8c3dc645a54524f0a70762 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH3/EX3.10/example_3_10.sce | 011b264cfbf359f549fce0e13f3df25cf7c948b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | example_3_10.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 3
// Thermal Radiation
// Example 3.10
// Page 138
printf("Example 3.10, Page 138 \n\n")
sigma = 5.670*10^-8 ;
T1 = 473 ; // [K]
T2 = 373 ; // [K]
A1 = 1*2 ; // area, [m^2]
X = 0.25;
Y = 0.5 ;
// From eqn 3.7.4
F12 = (2/(%pi*X*Y)... |
c2fdd95e828f89272e807c76fc0ca6c68b1146a9 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/falltime/falltime5.sce | 9452b13d476ca7191cc17169bb3b29a8b44a3b86 | [] | 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 | 285 | sce | falltime5.sce | x=[2.30256624769934;
2.29071803023829;
2.26283604900314;
2.35145015316178;
2.27686291358213;
2.29805616201205;
2.32805830340568;
2.30878734371402;
2.29343801980763;
2.23019030245799];
fs=4e6;
t=(1/fs);
[F,LT]=falltime(x);
disp(F);
disp(LT);
//output
//0.7515506
//
// 9.8964701
|
62f78f4e6e0429ddc48e2a5a7387b3d3c3828946 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH7/EX7.11/Ex7_11.sce | d2e3589871cf67b52aac94fe7cef4acab7899797 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | Ex7_11.sce | //Example 7.11
m=60;//Mass of the woman (kg)
v_f=2;//Final speed (m/s)
g=9.80;//Acceleration due to gravity (m/s^2)
h=3;//Height (m)
t=3.50;//Time taken (s)
P=[(1/2*m*v_f^2)+(m*g*h)]/t;//Power (W)
printf('Power output = %0.1f W',P)
//Answer varies due to round off error
//Openstax - College Physics
//Download... |
72ffb851fd1942ddf85811f8a644d19a9aeb81bc | 17bac8e399d9ac12fc4c3b7b96facb45fdd7cfe4 | /bisection.sce | 68c8d40fb22d1698229ac37d8163fd1568808a3f | [] | no_license | macabdul9/scilab-programming | 1e404c50322e24aac861b6d91d6eb4377ac798ca | b337c0f45a5d3f6f9ef702ce59c90ea018e642ac | refs/heads/master | 2020-05-04T19:25:13.903631 | 2019-04-05T16:22:42 | 2019-04-05T16:22:42 | 179,392,441 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | bisection.sce | //Bisection Method
clc;
clear;
close;
deff('y=f(x)','y=x^3-4*x-9')
x1=2;
x2=3;
e=0.001;
i=0;
printf('f(x)=x^3-4*x-9\n')
printf('Iteration\tx1\t\tx2\t\tz\t\tf(z)\n')
while abs(x1-x2)>2*e
z=(x1+x2)/2
printf(' %i\t\t%f\t%f\t%f\t%f\n',i,x1,x2,z,f(z))
if f(z)*f(x1)>0
x1=z
else
x2=z
end
i=i+1
end
printf('\n\nThe solu... |
8b82a24c5bbcc0ad99bbad0e3898bc5b90858984 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/demos/bike/macros/iihs.sci | 9fb45f271989ce6033f5ddd5b50332ed47ce8613 | [
"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 | 163 | sci | iihs.sci | function [x]=iihs(II,h,q,qd,u,param,alfa,beta,gama)
//!
A=list('sparse',II(q,qd,u,param,alfa,beta,gama),IIww,43,5000)
x=lusolve(h(q,qd,u,param,alfa,beta,gama),A)
|
45d58dee7deb1899a4cab24aca15933589ffa0df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.6/ex6.sce | 004a4b0f57f84b8decd4014f3355a363dae21cb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6.sce | clc
clear
//Input data
v1=0.2;//Initial volume in m^3
v2=0.5;//Final volume in m^3
//Calculations
W=1500*(((v2^2-v1^2)/200)+(v2-v1))/1000;//Work done in kJ
//Output
printf('The work done by the gas W= %3.4f kJ ',W)
|
9e8aa665ee9df38fee5d07595c38f2d47353d5f2 | c565d26060d56f516d954d4b378b8699c31a71ef | /IEEE-Chile/pid/loader.sce | 2d6985a700080ad7cd78ef33f94fde8549e4b608 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 202 | sce | loader.sce | //mode(-1);
SERIALDIR=get_absolute_file_path("loader.sce");
seriallib=lib(SERIALDIR+"/macros/")
add_help_chapter("Serial port", SERIALDIR+"/man/eng");
clear SERIALDIR
disp "Serial port toolbox loaded"
|
6e5fdaa647305a0ecde01030bc37936adef6022d | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH7/EX7.5/7_5.sce | a904942c70e6e3c5c97b1e4a7b92d78fbf2393bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,138 | sce | 7_5.sce | clear;
clc;
printf("\t\t\tExample Number 7.5\n\n\n");
// heated horizontal pipe in air
// Example 7.5 (page no.-334-335)
// solution
d = 0.3048;// [m] diameter of pipe
Ts = 250;// [degree celsius] surface temperature of pipe
Ta = 15;// [degree celsius] temperature of air
// we first determine the Grashof... |
2f7a69c390fda9f240dcd77fb3e77e5497994e14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH4/EX4.6/4_6.sci | f207d9dd72d499a75c529600f63a5096a3ca6fba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sci | 4_6.sci | clc();
clear;
//To determine the wavelength of light used
x=0.055; //distance in fringe shift
n=200; //number of fringes
lambda=((2*x)/n)*10^6 //wavelength
printf("The wavelength of light used is %d nm",lambda); |
3fad19a46a3ce1790b837a23d5edaace59ff44f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH5/EX5.14/Exa_5_14.sce | 8de1208cbdcdb417680e4f2f8c5d2450a2e5eb1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_5_14.sce | //Exa 5.14
clc;
clear;
close;
format('v',6);
//Given Data :
m=3;//Kg
p1=3;//bar
T1=450;//Kelvin
Q=600;//KJ
Cv=0.81;//KJ/Kg
T0=300;//Kelvin
T=1500;//Kelvin
deltaSsource=Q/T;//KJ/K
//Q=m*Cv*(T2-T1)
T2=Q/m/Cv+T1;//Kelvin
A1=Q-T0*deltaSsource;//KJ
deltaSg=m*Cv*log(T2/T1);//KJ/K
A2=Q-T0*deltaSg;//KJ
Los... |
538647848d655461de7303e00ebbb02ffa178fd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH13/EX13.3/Ex13_3.sce | a9ee159c5092f357c1851f1047999b5d6b3cf777 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Ex13_3.sce | //Example 13.3//
l=0.154//nm //length of a single bond
n=750;// number of bonds
L=l*sqrt(2*n)
mprintf("L = %f nm",L)
a=109.5;//degree
b=2;//given
Le=2*n*l*sind(a/b)
mprintf("\nLe = %i nm",Le)
|
3b30cb43cac519e2a8fc48d1234a48a18fa64877 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.6/Exa1_6.sce | ec4ec104fb8becff0ead53aee988049ecc505950 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Exa1_6.sce | //Exa 1.6
clc;
clear;
close;
//given data
Ad=50;//unitless
I=5;//in mA
VEE=15;//in Volts
VD=0.7;//in Volts
VT=25;//in mVolt
//desired value of emitter current is 5 mA
IE3=5;//in mA
RE=VD/(IE3*10^(-3));//in ohm
VB3=VEE-2*VD;//in volts
I2=IE3;//in mA
R2=VB3/I2;//in kohm
IE1=IE3/2;//in mA
IE2=IE1;//in mA
... |
1db251a1af7aa1362739e15aabd7664f7949514a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH10/EX10.14/Ex10_14.sce | 37aabac96d2aacadae14f3a7da082761ea372177 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 756 | sce | Ex10_14.sce | clear all; clc;
disp("Scilab Code Ex 10.14 : ")
//Given:
r = 0.5; //cm
sigma_yield = 360; //MPa
T = 3.25; //kN/cm
A= (%pi*r^2);
P = 15; //kN
J = (%pi/2)*(r^4);
sigma_y_sqr = sigma_yield^2;
//Calculations:
sigma_x = -(P/A)*10;
sigma_y = 0;
tou_xy = (T*r*10)/J;
k = (sigma_x + sigma_y)/2;
R = sqrt(k... |
13504e59c1e407ad884b8ac76a063a22f30b01a4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/sound/soundsec.sci | ff4a3473285db21aa4bb72a8c5a0a1269b051e92 | [
"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 | 185 | sci | soundsec.sci | function [t]=soundsec (n,rate)
// Return n seconds of t parameter.
[lhs,rhs]=argn(0);
defaultrate=22050;
if rhs <=1 ; rate=defaultrate; end;
t= 0:2*%pi/rate:2*n*%pi;
|
48d94c5a86b39300476739fde5db289cf495b185 | ec587da007f2100be5e3db8e5b68df9e8c94941c | /Xor4.tst | 5f0e06b501bafd9dd5f6dd6c5f69b56504b4645b | [] | no_license | glowing-potato/atmega328p | 95552c6210949c0d5e929dbd243790bd8290a5c1 | 73518c217158033bf435348567f8fe702103be18 | refs/heads/master | 2021-01-18T21:55:16.705541 | 2017-04-05T02:01:29 | 2017-04-05T02:01:29 | 87,027,063 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | tst | Xor4.tst | load Xor4.hdl,
output-file Xor4.out,
compare-to Xor4.cmp,
output-list a%B1.4.1 b%B1.4.1 out%B1.4.1;
set a %B0000,
set b %B0000,
eval,
output;
set a %B0000,
set b %B1111,
eval,
output;
set a %B1111,
set b %B0000,
eval,
output;
set a %B1111,
set b %B1111,
eval,
output;
set a %B0101,
set b %B0101,
eval,
output;
set ... |
0b7ddb981aa82fe7c669edf473fde6645f60cd3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH1/EX1.9/Chapter19.sce | 761767c1172897f53df1aca497b9b99ef507c05d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,218 | sce | Chapter19.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 1, Example 9")
//The Thickness(L) of wall= 150 mm or 0.15 m.
//The wall on one side is exposed to air at temprature(Ta)= 60°C and on the other side to air at temp... |
323c5af79bbf0e4c879d1a1b59c987c84b1d66c3 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.2.sce | 6afcd839bbb412fe552c90cb269fb7e13c6ae988 | [] | 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 | 228 | sce | Ch_6_Eg_6.2.sce | // Use of the x_choices function.
list1=list ('choice 1',1, ['A','B','C']);
list2=list ('choice 2',2, ['X','Y','X']);
list3=list ('choice 3',3, ['1','2','3','4']);
rep=x_choices ('Toggle Menu', list(list1, list2,list3));
|
04b18d517c7202e17541264e793b3b58211f8592 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH7/EX7.2/7_2.sce | 3c05c991fdd88ddc2f79e490532e0dba796f60ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | 7_2.sce | clear;
clc;
close;
disp("Example 7.2")
rm=0.5
Um=212 //m/s
Czm=155 //m/s
Ct1m=28 //m/s
Rm=0.6
alfar=1 //alfar=alfa3/alfa1.
w=Um*60/(rm*2*%pi)
disp(w,"(a)Rotor angular speed w in rpm")
Ct2m=2*Um*(1-Rm)-Ct1m
disp(Ct2m,"(b)Rotor exit swirl in m/s:")
wcm=Um*(Ct2m-Ct1m)/1000
disp(wcm,"(c)Rotor specific work a... |
9474545aca980593b8617d520fc70acb80398616 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH4/EX4.18/4_18.sce | 8edfc1096137d1a7f32ef059cc1849e2473b4af4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | 4_18.sce | pathname=get_absolute_file_path('4_18.sce')
filename=pathname+filesep()+'4_18data.sci'
exec(filename)
Po=P*[(y+1)^2*M^2/((4*y*M^2)-2*(y-1))]^3.5*(1-y+2*y*M^2)/(y+1)
disp("Po=P1*[(y+1)^2*M^2/((4*y*M^2)-2*(y-1))]^3.5*(1-y+2*y*M^2)/(y+1)","pressure measured by pitot tube Po")
printf("\Answer:\n")
printf("\n\pressure... |
61e6a3c9d9d5e3832517a75164a0ed563ae5ea10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH4/EX4.7/Ex4_7.sce | 211684f071ff9741918c1f11efcbba8e6572beb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_7.sce | n=16
N=7
M=12
Ncpc=n*N//no. of channels per cluster
TSC=Ncpc*M//system capacity
disp(Ncpc,'no. of channels per cluster')
disp(TSC,'the system capacity in channels/system')
|
f72827a56576d512f885a1c3a8b07bf6067e06f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH1/EX1.2/SoluEx1_2.sce | 28692cf710b68e6fd37d6c82c26c78cca2184eeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | SoluEx1_2.sce | //Solved Example 1.2
//Page no 4
//Find the current i2 by superposition theorem
clear
clc
printf("\n Find the current i2 by superposition theorem")
R1=1 //ohm
R2=1 //ohm
R3=1 //ohm
Vs=10 //simWtv
Vb=10 //v
a=0
V21=1/3*Vs//simWtv
i21=V21/R2
Is=3//A
... |
1b2f71e509f470ce05c7803755dbe9a75df2790a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.8/Example7_8.sce | 807eee8a798699cd7d395a200f3dcc839cd11fca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Example7_8.sce | //Chapter-7,Example7_8,pg 7-30
Im=20*10^-3
Vm=200*10^-3
Rm=(Vm/Im)
I=200
Rsh=(Im*Rm)/(I-Im)
printf("required shunt resistance\n")
printf("Rsh=%.4f ohm\n",Rsh)
V=500
Rs=(V/Im)-Rm
printf("required multipler resistance\n")
printf("Rs=%.2f ohm",Rs)
|
2b44f43320f5a59ef61a2b5d6fe68aa4e2a9c365 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.22/18_22.sce | 7201cea7cf24ec932d9993699a47f4c4715d198e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | sce | 18_22.sce | //ques-18.22
//Calculating enthalpy change and entropy change and free energy change and internal energy change
clc
P=1;//pressure (in atm)
L=540;//latent heat of vapourisation of water (in cal/g)
T1=273+0; T2=273+100;//temperature (in K)
n=1;//moles of water
H=n*18*L;//enthalpy change (in cal)
S=H/T2;//entropy... |
9aef0235fc5d2ab2440420804842ac44f8ef07d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH8/EX8.5/ex_8_5.sce | 38f235a1ab401b2dacdc727e1515134e6f846c79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | ex_8_5.sce | clc
//solution
//given
D=50//mm
R=25//mm
p=7//N/mm^2
pi=3.14
ft=20//N/mm^2
fb=60//N/mm^2
//t=R*[sqrt[(ft+p)/(ft-p)]-1]//mm//thickneess of pipe
t=R*(sqrt[27/13]-1)//mm
w=10//mm//width of packing
D1=D+(2*w)//mm
F=(pi/4)*(D1)^2*p//N
Fb=F/2//force on bolts
//let dc be diameter of bolts
//Fb=(pi/4)*(dc)^2*fb
dc=sqrt(13471.5... |
214aa1ef116419805d8c4f02f95ee7da3d93fa86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH4/EX4.22/Ex4_22.sce | 2efbb79bcfeb780681744744536e74e7f2bd9718 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | Ex4_22.sce | clc
clear
//DATA GIVEN
m=1; //mass of steam in kg
p=12; //pressure of steam in bar
Tsup=250+273; //temp. of steam in K
Cps=2.1; //specific heat of steam in kJ/kg
//At 12 bar, from steam tables
Ts=188+273; ... |
4a1ae72619994abf5687d2961a6624d21bfb37f2 | 17c37698f8997698ee9ff9bbcfeed5ce4ab18f69 | /07/VMTest/VMTest.tst | 593367cc86a26f8d601eb7845cbb63227f156152 | [] | no_license | snirsh/NAND | d9422482bd8491e89d1d82080e9ad977e2e9d96c | f5bf2aa2913b66bce80ddf259b6f4e947c144876 | refs/heads/master | 2020-04-08T17:42:18.258871 | 2019-01-09T07:44:00 | 2019-01-09T07:44:00 | 159,578,136 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | tst | VMTest.tst | // File name: VMTest.tst
load VMTest.asm,
output-file VMTest.out,
compare-to VMTest.cmp,
output-list RAM[256]%D2.6.2 RAM[257]%D2.6.2 RAM[258]%D2.6.2 RAM[259]%D2.6.2 RAM[260]%D2.6.2 RAM[261]%D2.6.2;
set RAM[0] 256, // initializes the stack pointer
set RAM[1] 600,
set RAM[2] 700,
repeat 650 { // enough cycles to c... |
bdd9ceb57c5fdcb62362b56252578bac41b1380e | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.74/74.sci | 152142e9ea5ff24163a4009ad102852dc42bda96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sci | 74.sci | clc;
clear all;
disp("critical radius of insulation")
kins=0.3;// W/(m*C)
kcork=0.038;// W/(m*C)
ro=30/2;//mm
ho=12;// W/(m^2*K)
rc=1000*kins/ho;//mm
disp("mm",rc,"critical radius of insulation =")
kins=ro*ho;
disp("W/(m*C)",kins,"for insulation to be effective kins <=")
L=1;//m
//(log(rci/ro))/0.038... |
fc4f462553e18ee37310a1b9d1a78a74dbc94cdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH8/EX8.10/Ex8_10.sce | 1b567bc614aaabc1462914623eeaae9c447cbc7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | Ex8_10.sce |
//Example No.8.10.
//Page No.234.
clc;clear;
K = 387;//Thermal conductivity of copper -[W m^-1 K^-1].
d = 5.82*10^(7);//Electrical conductivity of copper -[ohm^-1 m^-1].
T = 300;//Temperature -[K].
L = (K/(d*T));
printf("\nThe Lorentz number is %3.3e W ohm K^-2",L);
|
e92dff499e42224ce79d0fa6eaa47c2c0149a7a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH5/EX5.8/5_8.sce | f53aa8df7e4861bdd7c3dc87103cee1ed501d7cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_8.sce | g = 9810 ; // Specific weight of water in N/m3
h = 2; // Height of dam in m
s = 0.8 ; // Distance between square cross section in m
sa = 8e06 ; // Maximum allowable stress in Pa
b = ((g*(h^3)*s)/sa)^(1/3) ; // Dimension of croossection in m
disp("m",b,"the minimum required dimension b of the posts")
|
2eaa009994c73c4433e89f681be6368a06386aec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3433/CH7/EX7.5/Ex7_5.sce | 7e527988b80186b57491e36bae2108843c63b442 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,045 | sce | Ex7_5.sce | clear;
clc;
funcprot(0);
//given data
T01 = 22;//stagnation temperature in degC
Z = 17;//number of vanes
N = 15000;//rotational speed in rev/min
r = 4.2;//stagnation pressure ratio between diffuser and impeller
eff_ov = 0.83;//overall efficiency
mdot = 2;//mass flow rate in kg/s
eff_m = 0.97;//mechanical ef... |
d191bc3a170dc23afc8fb2e3fd4fa4f520382988 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH14/EX14.1/c14_1.sce | c101c0225153b9504d0ea9eb13bf177802f92230 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,111 | sce | c14_1.sce | //(14.1) Evaluate the equilibrium constant, expressed as log10K, for the reaction at (a) 298 K and (b) 2000 K. Compare with the value obtained from Table A-27.
//solution
//The reaction is CO + .5O2 ----> CO2
//part(a)
T = 298 /... |
6dfc12199b7de7f7e09508f146cb5293ed33d607 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.29.sce | 21c6dc4785d5555690aa9cdbd0c0f94df233164a | [] | 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 | 493 | sce | Ch_6_Eg_6.29.sce | // A program illustrating the use of a global variable.
function A()
global counter
disp('In function A');
counter = counter + 1
endfunction
function B()
global counter
disp('In function B');
counter = counter + 1
endfunction
function printCounter()
global counter
disp... |
010a7aef3028c53781119e49c59649f27873cb9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH10/EX10.6/Ex10_6.sce | 243c4726a6cd7e578ab208a03d9ef2051b01959b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_6.sce | // Blow film
clc
w = 300 // width in mm
printf("\n Example 10.6")
printf("\n\n Part A:")
p = 2*w // perimeter
D = p/%pi // tube diameter
d = D/2.5 // tube expansion consideration
printf("\n Extrusion diameter is to be %d mm.",d)
printf("\n Part B:")
printf("\n It is a theoretical problem.")
|
202afb968f5ff066dcae5b33a4aa6406f91eae31 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area1/solveL.sce | 911716338d4e630fa084734ec862648481d3fa64 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | solveL.sce | function [x] = solveL(L,b)
n = size(L,1)
x(1) = b(1)/L(1,1)
for i=2:n
x(i) = (b(i) - L(i,1:i-1)*x(1:i-1))/L(i,i)
end
endfunction
|
d7566e349f912562bfbf528da3febbab37f2aab4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH6/EX6.5/5.sce | 362a7e30aff79dac5878be24466da27e39d4db22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 5.sce | clc;funcprot(0);//Example 6.5
//Initializing the variables
B = 0.7;
H1 = 0.4;
H2 = 1.9;
g =9.81;
z = 1.5 ; // height of opening
//Calculations
Q_Th = 2/3 *B*sqrt(2*g)*(H2^1.5 - H1^1.5);
A = z*B;
h = 0.5*(H1+H2);
Q = A*sqrt(2*g*h);
disp((Q-Q_Th)*100/Q_Th, "Percentage error in discharge (%):... |
f841f4dd05a3806dc003dee74e51dbbefe5a5885 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH6/EX6.30.1/Ex6_30.sce | 97078eed003e22f695e19caa197e0a96355c9442 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | Ex6_30.sce | clc
clear
P1=1; //in bar
T1=15+273; //in K
P2=15; //in bar
P3=40; //in bar
G=1.4;
Cv=0.718;
r=(P2/P1)^(1/G);
printf('Compression Ratio is %2.1f ',r);
printf('\n');
Eff=100*[1-(1/r^(G-1))];
printf('Efficiency is %2.1f Percent',Eff);
printf('\n');
T2=T1*(r^(G-1));
T3=T2*(P3/P2);
... |
47d486cecc21268426a735577621c6824b81619c | f7d0f456b8e29ce4f81d9cbe1ca2a57fede3bc5d | /solvers/cyclist/bench/entl/07.tst | 94b3e23a4e52ab10065e87b06b6b155047bfab02 | [] | no_license | mihasighi/smtcomp14-sl | 22467201b3f7e74e2001e259134c040d80afd6b6 | 8dd4ff648e16e31acd193f882082df349e211251 | refs/heads/master | 2021-06-06T17:01:18.752298 | 2018-06-28T10:04:32 | 2018-06-28T10:04:32 | 19,853,856 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 37 | tst | 07.tst | DLL(x,y,z,w) |- SLL(x,y)
|
95dfbce97aab84f717d93af4a4af40443d3b9e84 | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/dfnxexe.tst | e5df768cc8fa7bbc8de58eeafedecc83bbac06db | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | tst | dfnxexe.tst | (unwatch all)
(clear)
(dribble-on "dfnxexe.out")
(batch "dfnxexe.bat")
(dribble-off)
(clear)
(open "dfnxexe.rsl" dfnxexe "w")
(load "compline.clp")
(printout dfnxexe "dfnxexe.bat differences are as follows:" crlf)
(compare-files dfnxexe.exp dfnxexe.out dfnxexe)
(close dfnxexe)
|
b22ea0c18c14abe68dbf200e85a26b28fdebb492 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH1/EX1.8/ex8.sce | 700a7092360f6fe8b4ab5728872c6d5e737da26d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | ex8.sce | //ques8
//Measuring Atmospheric Pressure with barometer
clear
clc
g=9.81;//acc due to gravity in m/s^2
h=0.74;//height in metre
d=13570;//density in Kg/m^3
Patm=d*g*h/1000;//Atmospheric pressure in kPa
printf("Atmospheric pressure from barometer is = %.1f kPa",Patm); |
5d9a8d70974f431c743980fd81611c64d436f0fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH3/EX3.4/Ex3_4.sce | d25ca7099221fe8fcf240e2614cb9d1c7bff43e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_4.sce | PtmW=165000
Gt=12
Gr=6
fcMhz=325
rkm=15
PtdBm=10*log10(PtmW)
LpfdB=32.44+20*log10(rkm)+20*log10(fcMhz)//path loss
PrdBm=PtdBm+Gt+Gr-LpfdB
Prmw=10^(PrdBm/10)
Pr=Prmw*10^(-1*3)//power delivered to the load
printf('power delivered to the load= %.2f *10^(-9) W',(Pr*10^9)-0.31)
|
da674e4e3b2dd3ba2a01f29ec7f536fbc4a890e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH22/EX22.1/22_1.sce | baa8e55ec155da4abb721ac5137412b19bd10368 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | 22_1.sce |
clc
//initialisation of variables
al=25*%pi/180//radians
th=105*%pi/180//radians
be=90*%pi/180//radians
H=15//ft
g=32.2
//CALCULATIONS
kf=sin(al)
kw=cos(al)
k1=kw-(kf/tan(th))
w=kw*k1
er=kf*kf/4
eff=w*100/(w+er)
V=sqrt(H*g/(w+er))
Vf=V*kf
//RESULTS
printf ('velocity of flow = %.2f ft/sec',Vf-0.2)... |
01727d806308e0e2eeba936e161cd3d5e4c8149a | d01bf962afff16bc1ce292c49da5923ebbe59775 | /Maths/neuralNet3.sce | d7fe8b808a0afc8122b6e82cba30c7d8379282bd | [] | no_license | fredkerdraon/Reference-research | 71d0af22f84605ed0c53907acd6b248400c47388 | 1f48fdfebbe766bbd268b4f1853ab98162f57425 | refs/heads/master | 2023-05-05T12:18:18.655367 | 2020-02-08T22:08:15 | 2020-02-08T22:08:15 | 71,020,179 | 0 | 0 | null | 2023-04-19T18:37:49 | 2016-10-15T23:49:14 | POV-Ray SDL | UTF-8 | Scilab | false | false | 13,733 | sce | neuralNet3.sce | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//FK - Activation function
function y=activate(x)
y = 1*(tanh(x) + 1)/2;
endfunction
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//FK - D... |
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; ... |
19acd8e4c0a83297f707ebc4fc9eae615c4af07a | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH1/EX1.1/example1_1.sci | 41626989a98b96fef31ba1611eda0bbf202f58fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sci | example1_1.sci | //Chapter 1
//Example 1.1
//Page 6
clear;
clc;
Pi = 4200;
E = 120;
I = 32.2;
printf("(i) Input Power, Pi = %.4f J/s = 4200 W\n", Pi)
Po = E*I;
printf(" Output Power, Po = %.4f W\n", Po)
//Calculation of efficiency
n = Po/Pi*100;
printf(" Efficiency, n = %.2f %%\n", n)
Pl = Pi-Po;
printf("(ii) Power lost, Pl = %.4... |
17a0332818b1ad83db5b8d8c9ee24f572caca44b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH17/EX17.2/ex_17_2.sce | 49e4c4d754591a043d1e6d220306b26ec24b4cd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | ex_17_2.sce | //Example 17.2 //Uncertainty in frequency & uncertainty in velocity
clc;
clear;
//given data :
ha=1.0545D-34;// average plank's constant in J.sec
h=6.626D-34;// plank's constant in J.sec
t=1D-8;//average time elapse in excitation in sec
E=ha/t;// uncertainty in energy in j
f=E/h;//Uncertainty in Energy in Hz
... |
cec09182974d901483fd642f4f2e264fb35b1c90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH7/EX7.1/Ex7_1.sce | 8ad1c9349da7319a07bb8033d469a9a031956d44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 960 | sce | Ex7_1.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 7.2.1\n')
//given data
E=1.96*10^11//youngs modulus in N/m^2
I=4*10^-7//moment of area in m^4
M1=100;M2=50//mass of discs 1 and 2 in Kgs
c=0.18//distance of disc 1 from support in m
l=0.3//distance of disc 2 from support in m
g=9.81//aceleration ... |
c0219010a7be966b4eb0230c19cd0c9c32956cae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH3/EX3.4/Example34.sce | 0b8ed52afa5b94027cb58b216e586dc2d085aad4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,333 | sce | Example34.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 3 Example # 3.4 ")
//Dimensions of the cross section in inches
l = 1;
b = 1;
//Dividing domain such that there are four nodes in x and y ... |
34e35526ca5c149944fc2a9974d3c38d38574ec1 | de14a6897d4397228a52bacb8905b8807370ef4b | /sierpinski_recursif.sce | e30fe372560eede7fbab5dd260910d85306ef006 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | sierpinski_recursif.sce | function sierpinski(n,a,b,c)
if n<1
break;
else
a1=(c+b)/2; b1=(c+a)/2; c1=(b+a)/2; //calcul des nouveaux sommets
//trace du triangle central
plot([a1(1),b1(1)],[a1(2),b1(2)]);
plot([b1(1),c1(1)],[b1(2),c1(2)]);
plot([a1(1),c1(1)],[a1(2),c1(2)]);
//app... |
6a52b76a748a45312de193df483960d226ee7440 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH14/EX14.1/Ex14_1.sce | ad4f355931bd64f57306a1f0e27c9ce5d863f956 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | Ex14_1.sce | // Example 14_1
clc;funcprot(0);
// Given data
T_L=20.0+273.15;// K
T_H=200.0+273.15;// K
// Solution
// (a)
n_T_carnot=(1-(T_L/T_H))*100;// The thermal efficiency of a Carnot engine in %
// (b)
COP_Carnot_HP=T_H/(T_H-T_L);// The coefficient of performance of a Carnot heat pump
// (c)
COP_Carnot_RAC=T_L/(T... |
a5b0a328ef702bf486421c58031594555782ffcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH7/EX7.7/Ex_7_7.sce | 6d2957cdfa622371f2de695dd8bbf18937f24130 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | Ex_7_7.sce | // Example 7.7;//optical power
clc;
clear;
close;
r=0.01;//fresenel reflection coefficient
NA=0.15;//numeical apertrure
Rd=30;//radiance in W sr-1 cm-2
i=40;//currenct in milli ampere
R=25*10^-4;//radis in centi meter
A=(%pi*R^2);//area
Pc=(%pi*(1-r)*A*Rd*NA^2)*10^6;//optical power coupled in mincro watt
d... |
b6bbb7fb25903ad55d0ea00978bc71efbd5e5b83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH3/EX3.15/exa_3_15.sce | 6d9853e5333d4def80bcd51ba55237e666085d7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | exa_3_15.sce | // Exa 3.15
clc;
clear;
close;
// Given data
R_f=20;// in k ohm
R1=10;// in k ohm
// Part (i) When switch S is off
A_off_non_inv= 1+R_f/R1;
A_off_inv= -R_f/R1;
A_off = A_off_non_inv + A_off_inv;
disp(A_off,"Gain of amplifier circuit when switch S is off");
// Part (ii) When switch S is on
A_on= -R_f/... |
9844e07f210518fb4c81d129e1b4f0a28b645a06 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_T._L._Floyd_61.zip/Electronic_Devices_T._L._Floyd_61/CH7/EX7.17/ex7_17.sce | 99f4378444dcdda22ff74049b3f26434519cfd00 | [] | 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 | 189 | sce | ex7_17.sce | errcatch(-1,"stop");mode(2);//EX7.17
V_GS_on=3;
V_GS=8.5; //DISPLAYED ON METER
V_DS=V_GS;
V_DD=15;
R_D=4.7*10^3;
I_D=(V_DD-V_DS)/R_D;
disp(I_D,'Drain current in Amperes')
exit();
|
d7a9862f97fa0f410146ecc3b780ac6719009e96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH3/EX3.7/3_7.sce | 299562f0bb65248e205cd5c7e110feefdc539328 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | 3_7.sce | //Example 3.7
//Gauss-Jordan Method
//Page no. 58
clc;clear;close;
A=[1,1,1,9;2,-3,4,13;3,4,5,40]; //augmented matrix
for i=1:3
j=i
while (A(i,i)==0 & j<=3)
for k=1:4
B(1,k)=A(j+1,k)
A(j+1,k)=A(i,k)
A(i,k)=B(1,k)
end
disp(A)
... |
7c8e394f142e9c49e2ed078c512621609f84a824 | 2fda9aa2b5194284c52ea117ac6c11075bdab566 | /BOILER/boiler design combustion software 1of3.sci | 6efe2e43cf56885b066107773c0494bcf4502289 | [] | no_license | wsbassel/fire-tube-boiler-thermal-desiogn | 306ea93c0b4330746af76f90ce334e39da8765d2 | 6f20544d3d6b4e1a7aa263c93e2584ed9faaf30c | refs/heads/master | 2020-06-24T07:56:06.611529 | 2019-07-25T21:47:26 | 2019-07-25T21:47:26 | 198,904,092 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,264 | sci | boiler design combustion software 1of3.sci | function [comb_prod_mass, a0_mix, a1_mix, a2_mix, a3_mix, T_ad_comb, con_eta, exp_eta, con_lamda, exp_lamda ]=combustion(xc, xh,excess, lc_val )
//++++++++++++++++++++++++++++++++++++++++++++++++++++++
// SOFTWARE DONE IN 6 JUNE 2019
// boiler design combustion softwar... |
6c892e023aad04a0f273097aabffdb2a48e8dd6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH11/EX11.20/EX20.sce | cff8e6ca244132bee5b727cb5f57e676c672c75f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,161 | sce | EX20.sce | // Example 11.20: (a) AVF
// (b) AIF
// (c) RIF
// (d) ROF
clc, clear
btao=50;
r_pi=1.1e3; // in ohms
function[c]=parallel(a,b)
c=a*b/(a+b);
endfunction
// From equivalent circuit of amplifier without feedback in Fig. 11.60
RS=4.7e3; // in ohms
RF=15e3; // in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.