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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4cda1a154ca85dbc96adfe3946ee0ffdbc19bedf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH12/EX4.7/Ex12_7.sce | 559192aea8532bcd408c28e324efdebeb252cd5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Ex12_7.sce | //Part B Chapter 4 Example 7
clc;
clear;
close;
M=2.5*1000;//Nm
T=3.5*1000;//Nm
Te=sqrt(M^2+T^2)//Nm
Me=(M+sqrt(M^2+T^2))/2//Nm
tau_max=400*10^6;//N/m^2
d1=(Te*16/%pi/tau_max)^(1/3)*1000;//mm
sigma=750*10^6;//N/m^2
d2=(Me*32/%pi/sigma)^(1/3)*1000;//mm
d=max(d1,d2);//mm
disp("Suitable diameter is "+string(r... |
622cd35d0ae892cfe9df507569e0c9058a3225db | f4fc51b192becf0b47398a2af01983c62ae6167f | /superadmintheme/demo1/anshulsircode.tst | 77ef6a65d896d35d4143b64e60c8f404903e3808 | [] | no_license | deepakzeeweesoft/abc | aec23a7544e9c4b0b1455ab5695e5f28eb6f91b5 | 8323c953910225b5baef195ad89beff8f5cf6c11 | refs/heads/master | 2023-02-07T18:43:13.741382 | 2020-12-26T13:29:23 | 2020-12-26T13:29:23 | 324,559,332 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,867 | tst | anshulsircode.tst | Component : kt-two-step-verification
add this line for get language data
-------------------
@Input() selectedLanguage : any; (current line Number : 17)
-------------------
add two line in "sendLoginCode" function (current line Number : 76)
-------------------------
const countryCode = this.phoneForm.value.phone.c... |
539e3d61e0834746b86c98cbdb2a3160e4e2e8c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH7/EX7.1/ex7_1.sce | 9d292ae949ffef72c10b673db44c60912915564e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 837 | sce | ex7_1.sce | clear;
//clc();
// Example 7.1
// Page: 134
printf("Example-7.1 Page no.-134\n\n");
//***Data***//
T = 220+459.67;//[R] Temperature in Rankine
P = 500;//[psia] Pressure
R = 10.73;//[(psi*ft^(3)/(lbmol*R))] Gas constant
// We will follow the method 'a' as the book has given the multiple methods to solve ... |
0971a76978e714abc0cd3af7a8b32b6fbecf7995 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH14/EX14.1.e/ex_14_1_e.sce | 26acf8f6a8a700c884bb433fdd7f490ab75753a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | ex_14_1_e.sce | //example 14.1.e//
clc
//clears the screen//
clear
//clears all existing variables//
disp('type of column decoder is 1 to 7 decoder') |
b3cf792cc9cea5cbb182ec3d64d694ffcbd2d626 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.45/Ex2_45.sce | bcb78b03e815cd19be05210bfb5fc5fa7768d396 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,481 | sce | Ex2_45.sce | clear
//
//
//Initilization of Variables
//Bar-A
d1=30 //mm //Diameter of bar1
L=600 //mm //length of bar1
//Bar-B
d2=30 //mm //Diameter of bar2
d3=20 //mm //Diameter of bar2
L2=600 //mm //length of bar2
//Calculations
//Area of bar-A
A1=%pi*4**-1*d1**2
//Area of bar-B
A2=%pi*4**-1*d2**2
A3=%pi*4**-1*d3**2
//let... |
f5c82d3f2d727ea82f6ca72ab6e7aa1cca1fa6a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH5/EX5.4.b/Example5_4_b.sce | ef7b9c5ba899c5dbcc87db57594bde3e4d768977 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Example5_4_b.sce | //Example 5.4(b)
clear;
clc;
R1=10*10^3;
R2=100*10^3;
CMRRdB=57;//refer curve of fig.5A.6 at 10 kHz
CMRRrec=10^(-(CMRRdB/20));//Reciprocal of CMRR
delvi=10;
delvp=(R2/(R1+R2))*delvi;
delVos=CMRRrec*delvp;
dcgain=1+(R2/R1);
delvo=dcgain*delVos;
printf("Typical change in vo=%.3f V",del... |
37c0bb8396f927e8525b8c5adbd87bfe0245df93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH7/EX7.16/EX7_16.sce | 83a7b461b06aa83a4baec8542d55f8511cc0c071 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX7_16.sce | //EXAMPLE 7-16 PG NO-473
Zoc1=40;
Zsc1=36.67;
Zi1=sqrt((Zoc1*Zsc1));
disp('i) IMPEDANCE (Zi1) is = '+string (Zi1) +'ohm ');
Zoc2=30;
Zsc2=27.5;
Zi2=sqrt((Zoc2*Zsc2));
disp('ii) IMPEDANCE (Zi2) is = '+string (Zi2) +'ohm ');
TETA=1/tanh(0.9167);
disp('iii) (TETA) is = '+string ... |
1cf725f6e3099bbb51bb1059578482ebaa493f6d | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/dfrulcmd.tst | 7dccd0a40780880ba125dd95ba5f87a1fa1af76d | [] | no_license | noxdafox/clips | b8fb280223b5aae615e427bf1f31c03cb932b09d | a2c548b69394f0e2cf7c6d583810b6a29a662ae1 | refs/heads/master | 2023-09-01T18:52:07.614807 | 2021-12-14T20:10:21 | 2021-12-14T20:10:21 | 95,596,886 | 11 | 10 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | tst | dfrulcmd.tst | (unwatch all)
(clear)
(dribble-on "Actual//dfrulcmd.out")
(batch "dfrulcmd.bat")
(dribble-off)
(clear)
(open "Results//dfrulcmd.rsl" dfrulcmd "w")
(load "compline.clp")
(printout dfrulcmd "dfrulcmd.bat differences are as follows:" crlf)
(compare-files "Expected//dfrulcmd.out" "Actual//dfrulcmd.out" dfrulcmd)
(close dfr... |
55da590bef0c823d8b11127c6201f164209f2f29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH8/EX8.7/ex7.sce | 8ae3dee01bff3f826637eda029119ad790324493 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | ex7.sce | s=%s
Max_Limit = 10;
h = ones(1,Max_Limit);
N2 =0:length(h)-1;
for t = 1: Max_Limit
x(t)= exp(-(t -1));
end
N1 =0:length(x)-1;
y = convol(x,h)-1;
N = 0:length(x)+ length(h)-2;
figure
a= gca();
plot2d (N2 ,h)
xtitle ( ' Impul s e Re spons e ' , ' t ' , ' h ( t ) ' );
a. thickness = 2;
figure
a= gca (... |
7d7c3726e6a05272b72756bf5afe50528ebc0881 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH6/EX6.9/6_9.sce | 981c946a2bebe106c4a1e847b49b251ba23150ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | 6_9.sce | //To calculate the dielectric displacement
V = 10; //potential, V
d = 2*10^-3; //plate seperation, m
E = V/d; //electric field, V/m
epsilon_r = 6;
epsilon0 = 8.85*10^-12;
D = epsilon0*epsilon_r*E; //dielectric displacement, C/m^2
printf("dielectric displacement in C/m^2 is");
disp(D);
|
3c6b38caca4b2abab444ddfd5d3ec993d1ed74f1 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/Outras/euler.sce | 64e1b5c29ace3cb8835e71f0cc2fdb1c99a1b9f1 | [] | 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 | 718 | sce | euler.sce | function y = f0(t, u)
y = sin(u + t)
endfunction
function y = f1(t, u)
y = u*t
endfunction
function y = fm1(t, u)
y = 10 - t^2
endfunction
function y = fm2(t, u)
y = 12 - t^2
endfunction
function y = fm5(t, u)
y = sin(u + t + 5)
endfunction
function y = fm6(t, u)
y = cos(u + 11)
endfunction... |
0887c9dea49347f2769fa1c9cb7a42b96cf3f1cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH2/EX2.1/2_1.sce | 7e96efc16fb4a3c16bda3e7416ec20aeb26ebb8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_1.sce | clear
clc
//initialisation of variables
d= 40 //lb/ft^2
w= 4 //ft
h= 6 //ft
l= 12 //ft
//CALCULATIONS
W= w*h*d*l
V= W/64
D= V/(w*l)
//RESULTS
printf ('Volume of water displaced = %.f ft^3',V)
printf ('\n Depth of immersion = %.2f ft',D)
printf ('\n Centre of buoyancy = %.2f ft from base',D)
|
e043ae6a2e5581b5dd9ad4397dc5aea4095a40f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH15/EX15.5/15_5.sce | 0c742cc23ac081f7adb4d86a5796f3119bbd90fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,077 | sce | 15_5.sce | clc
//ex15.5
M_r=6000; //relative permeability
M_o=4*%pi*10^-7; //permeability of free space
w_r=3*10^-2; //width of rectangular cross-section
d_r=2*10^-2; //depth of rectangular cross-section
N=500; //number of turns of coil
B_gap=0.25; //flux density
gap=0.5*10^-2; //air gap... |
b1ed3de231ed07f470be813860340cbefc7e9c3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.16/ex5_16.sce | 93c5c3aebe6dd5923119758fc4f45d9d279b5dec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,034 | sce | ex5_16.sce | //Chapter-5, Example 5.16, Page 175
//=============================================================================
clc
clear
//INPUT DATA
R=10;//resistance in ohms
L=0.1;//inductance in Henry
C=150;//capacitor in uf
V=200;//voltage in V
f=50;//frequency in hz
//CALCULATIONS
Xc=1/(2*%pi*f*C*10^-6);//Capaciti... |
48e92913045d4b86bf507553b2c6f35c2fbbcad9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH14/EX14.10/14_10.sce | d417def1d0cefacf373708105b603758a04da63f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | 14_10.sce | clear//
//Variables
IE = 12.0 //Emitter current (in milli-Ampere)
beta = 140.0 //common emitter current gain
//Calculation
IB = IE / (1 + beta) //Base current (in milli-Ampere)
IC = IE - IB //Collector current (in milli-Ampere)
... |
7c29dce9e310b9bac65e39b48cef223eeb718d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH19/EX19.10/ex19_10.sce | 0f96404f13de0985a995865337341499677d0da8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | ex19_10.sce | clc;
m=0.001; //mass in kg
c=3*10^8; //velocity in m/sec
p=10^8; //power in Watt
t=24; //time in hr/day
E=m*c*c; //Eintstein equation
disp(E,"Energy in Joule = "); //displaying result
M=(p*3600*t)/E; //calculating mass of U required
m=E/(7822*4185); //calculating mass of coal requi... |
dc14cac210a00f7358cdcd6f2b8df07863db267b | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH9/EX9.07/9_07.sce | c417f2bd4644378e2f3b84ec9b88ac8e4fdf014f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,269 | sce | 9_07.sce | //pathname=get_absolute_file_path('9.07.sce')
//filename=pathname+filesep()+'9.07-data.sci'
//exec(filename)
//Ratio of pressure:
rp=1.35
//Flow rate through compressor(in kg/s):
m=50
//Overall efficiency:
no=0.90
//Initial pressure(in bar):
p1=1
//Initial temperature(in K):
T1=313
//Adiabatic index of com... |
a8cf9461dc1446e7917cdc589764274d1e84acb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH18/EX18.14/example18_14.sce | fafdafb3f552e97937352cc406c87c5dfd0c2307 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | example18_14.sce | //Chapter 18
//Example 18_14
//Page 449
clear;clc;
mva=10;
kv=11;
g=[%i*1.2 %i*0.9 %i*0.4];
f=[%i*1 %i*1 %i*3];
Er=kv*1000/sqrt(3);
printf("Phase enf of R phase = %d V \n", Er);
printf("(i) Total impedance to any sequence current is sum of generator and feeder impedances of that sequence currents \n");
for i=1:3
... |
ed622a3e12570cd46381b153d6494410c1e6ccaa | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/ChEn/chen.8.tst | b006ec1f13db246bf432b71bacbcbdaaf3bdbabb | [
"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 | 100,174 | tst | chen.8.tst | 丁 格 d i n g e r
万 尼 v a n n i
万 尼 瓦 尔 v a n n e v a r
丘 克 c u k o r
丘 普 卡 c h u p k a
丘 特 尔 c h u t e r
丘 罗 c u r o e
丹 吉 洛 d a n g e l o
丹 特 斯 d a n t e s
丹 西 d a n c y
乌 切 洛 u c c e l l o
乌 尔 维 林 u l v e l i n g
乌 特 里 奇 u t t r i d g e
乌 皮 特 u p i t
乔 卡 比 j o c a b y
乔 基 姆 j o a c h i m
乔 德 宁 j o r d e n i n g
乔 斯 林 ... |
4b583feb65ca2443261ff0470d21850434f2370d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.20/Ex13_20.sce | 9123fa6dada08aa466b162f328ad55ab91f3c67a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | Ex13_20.sce | //Ex13_20 PG-13.11
clc
clear
printf(" Conversion of decimal number 37 to its binary equivalent =")
a=[37];
x=dec2bin(a);
printf("%s",x)
|
a72fad730957b21b164c4bca0d4e97773759126f | 258312a883d6f2ded75af80441df1f6482fc8739 | /David.tst | 853f3cf319840427abbd7364384f4552a94a451a | [] | no_license | omooba1/test-contribute | 4b8b4a93dddcfa204f587e8b2cc8fae28d539a31 | e6e26d6c411747a5c7103c36ae5bb8c3bf186aaf | refs/heads/main | 2023-06-24T21:09:17.149849 | 2021-07-22T12:17:55 | 2021-07-22T12:17:55 | 388,449,727 | 0 | 0 | null | 2021-07-22T12:17:56 | 2021-07-22T12:11:36 | null | UTF-8 | Scilab | false | false | 23 | tst | David.tst | This is David Iyoboyi
|
d04ef57d44c33fd0ee420e884e2add491be3396c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.12/Ch02Ex12.sce | ca474091ec5e0449ca8f627d76a56c8d6dfd123a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Ch02Ex12.sce | // Scilab Code Ex2.12:: Page-2.13 (2009)
clc; clear;
lambda = 5893e-008; // Wavelength of light used, cm
y1 = 10; // Distance of biprism from the source, cm
y2 = 100; // Distance of biprism from the screen, cm
D = y1 + y2; // Distance between slits and the screen, cm
b = 3.5e-02; // Fringe width of the int... |
aa7c8c722b8e039d0de8b0dcdd004d5734eebb2e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH6/EX6.7.1/ex7_1.sce | a8e90e3a538a64d366d05b6fa4435fc5d0823b9f | [] | 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 | 74 | sce | ex7_1.sce | errcatch(-1,"stop");mode(2);
syms x
disp(integ(tan(x)^5,x))
exit();
|
cb615147bc8dbbb384bbf0c8049cb9957eba81ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH12/EX12.15/Ex12_15.sce | 415defb966b66efdf12ea492b89285ddaedf4cb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | Ex12_15.sce | clear
//Given
L=130*10**-3 //H
I1=20 //mA
I2=28 //mA
t=140.0*10**-3 //S
//Calculation
l=I2-I1
e=(-L*l)/t
//Result
printf("\n Magnitude of induced e.m.f is %0.2f *10**-3 V",e)
printf("\n Direction oppose the increase in current")... |
843e4b97d8a484173126f4537556bdc5c7c41146 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/in2in_x1.sce | 3c9a280373285bae955adc4c66641e8dfd8efac7 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | in2in_x1.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td align=center><b>in1<br>in1</b></td> <td align=center>In2In_x1</td></tr></table>";
pal10 = xcosPalAddBlock(pal10,"in2in_x1",[],style);
|
b18dfc5f4bb2ca460bf80c3eff679353c30b35bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH7/EX7.5/7_5.sce | bb634f317a512b880f198bdd4a421c67002357c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | 7_5.sce | clc
//initialisation of variables
p=1.01325 //pressure in bar
pv=0.020 //pressure in bar at 21 degrees temp
ws=0.0154 //kg/kg of da
w=0.0123 //kg/kg of da
vs=0.86 //under 21 degrees temp m*m*m/kg
w1=0.0074
//CALCULATIONS
pa=p-pv
sr=w/ws
rho=1/vs
avc=0.0163-w1
//RESULTS
printf('partial pressure of vapour a... |
eb8fd15715ca32e2ca0912312cd5761f31420b09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH11/EX11.4/Ex11_4.sce | c6ba74b949b8acf149e874850d5acc90d7795b80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_4.sce | clc//
//
//
//Variable declaration
H=10^4; //magnetic field(amp/m)
chi=3.7*10^-3;
mew0=4*%pi*10^-7;
//Calculation
M=chi*H; //magnetisation of material(A/m)
B=mew0*(M+H); //flux density(T)
//Result
printf("\n magnetisation of material is %0.3f A/m",M)
printf("\n flux density is %0.4f wb/m^2",B... |
3ed4b1cefd3418ffd38d157350ebb97f9a3ffff5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.26/P6_26.sce | 69114f45ab81004b17899887b0dfbec377bd2d3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | P6_26.sce | // Example 6.26
//MAXIMA SCILAB TOOLBOX
//Z transform of (n+1)*a^n*u(n)
clear ;
clc ;
syms a n z ;
x1 =(a)^n ;
X1 = symsum(x1*(z^(-n)),n,0,%inf);
X2 = -z*(diff (X,z,1)) ;
X = X1 + X2;
disp (X , 'Z−transform of(n+1)*a^n*u(n) is X = ');
|
af45b8066fac39a913cecbe1a3454a26b1c03027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH6/EX6.6/Ex6_6.sce | aa7e0680c18683db73f5568b92af3f2c62340ae6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | Ex6_6.sce | //Example 6.6, page 237
clc
h=10^-34//in j-s
m=10^-30//in kg
a=10^-14//in m
c=3*10^8//in m/s
E=((%pi*h)^2)/(2*m*a*a)
printf("\n Energy is %e J ",E)
//convert to ev
e=E/(1.6*10^-19)
printf("\n Energy is %e ev ",e)
//Answer difference is due to round off
E1=(%pi*c*h)/a
printf("\n Zero level Energy is %e J ",E1)
e1=E1/... |
00b7605c55ad587cee52ecaf09c05c31ec4713c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH18/EX18.13/Ex18_13.sce | 4cc2ef8e127ef9237c710383221ba45f1a091573 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | Ex18_13.sce | //Initilization of variables
W1=4 //lb
W2=2 //lb
t2=0.04 //s
W3=-2 //lb
t3=0.02 //s
t=3 //s
g=32.2 //ft/s^2
//Calculations
//Algebraic sum of two areas
A=t2*W2+t3*W3 //lb-s
//Using Impulse Momentum Theorem
v=(A*g)/W1 //ft/s
//Result
clc
printf('The spped after 3s is %f ft/s',v)
|
dc3b2b124d6f1cdd2c357b1179580d1a8bbd0de0 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Physics/Optics/PrismRefraction.SCI | 415530d2d760ca872851cd82b3fb160abc44baca | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 784 | sci | PrismRefraction.SCI |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\Physics\Optics\_Optics.sci");
SetOpticFrame(T_scene_create);
sss=T_getscene;
vp=T_getviewport;
vp.CameraPos=point(0,0,10);
vp.CameraDir=vector(0,0,-1);
vp.FocalDistance=10;
vp.NearClipPlane=0.1;
vp.FarClipPlane=20;
sss.ambientlight... |
00ed9cf626125f347f3ca774e28effbfdb88d0f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH9/EX9.22/example9_22.sce | 1a08faeb73abc823561bbd6947290c3bc05adbfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | example9_22.sce | //clc()
xf = 500 * 10^-6;
xp = 50 * 10^-6;
xb = 1600 * 10^-6;
//F - Feed water rate, B - blow down rate, S - high pressure steam, P - process stream rate
// total balance, F = P + B
// Solid balance, F * xf + P * xp = B * xb
//eliminating P, we get, F * xf + (F - B)*xp = B * xb
//let F/B be X
X = (xb + xp)/(xf... |
bd452c3e4784d0834a83f184462e5fe7637d02fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.24/Ex3_24.sce | be11c817306c39d3ca1b8e834d7201b242cfccab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | Ex3_24.sce | //Example 3_24
clc;
clear;
close;
format('v',6);
//given data :
Z1=10+%i*12;//ohm
Z2=12-%i*10;//ohm
V=230;//V
f=50;//Hz
Z=Z1*Z2/(Z1+Z2);//ohm
I=V/Z;//A
Imag=abs(I);//A
Iang=atand(imag(I)/real(I));//degree
disp(Iang,Imag,"Total current drawn, magnitude(A) & Angle(degree) are");
pf=cosd(Iang);//Power Facto... |
7f8c59e83b63815c994b3c094c14134940ba96cb | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Astronomy/_SUB/LoadPlanetMoonsKepler.SCI | 830526354b0e17492811b413c68007b14324bf95 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 5,034 | sci | LoadPlanetMoonsKepler.SCI |
function LoadPlanetMoonsKepler(planframe,filename)
{
filecontent=readtextfile(filename);
filecontent.split("~n");
moonsframe=planframe.Inclin.AddSubFrame("MoonsFrame");
moonorbitsframe=planframe.Inclin.AddSubFrame("MoonOrbitsFrame");
while filecontent.length>0 do {
line=filecontent.split(... |
14c94109ae95fb006a6eb2fd12d7bb7e5796d9ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH2/EX2.14/Ch02Ex14.sci | 2eed699c14409a4a6ae90354a6aee53211d408b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch02Ex14.sci | // Scilab Code Ex2.14 Ratio of masses of a proton and an electron: Pg:54 (2008)
RH = 1.09678e+07; // Rydberg constant for hydrogen, per metre
RHe = 1.09722e+07; // Rydberg constant for helium, per metre
MH_m_ratio = (RH - 1/4*RHe)/(RHe - RH); // Ratio of mass of a proton to that of an electron
printf("\nTh... |
fe541f3f784a7012aef86f2359aa6497318a140c | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH24/EX24.4/Example_24_4.sce | 3f365ead6c40b80b2e5296033898dc1a22e42ab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,456 | sce | Example_24_4.sce | //clear//
clear;
clc;
//Example 24.4
//Given
msdot = 2800; //[lb/h]
Xa = 0.15;
Xb = 0.005;
Ti = 80; //[F]
To = 125; //[F]
Thb = 260; //[F]
Hb = 0.01; //[lb water/lb dry air]
G = 700; //[lb/ft^2-h]
Cps = 0.52; //[Btu/lb-F]
//Solution
//Counter current operation will be used.
//Assuming
Nt = 1.5; //... |
723fafda201c7b70f921c00279698366a037f95f | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/pipesegment.tst | 67a70e18a9e6e73fb7d3a250b1ee673ee261b39d | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,417 | tst | pipesegment.tst | clear
$th = VirtualMaterials.Advanced_Peng-Robinson
/ -> $th
th + WATER
pipe = PipeSegment.PipeSegment()
cd /pipe.In
P = 300 kPa
T = 300.0 K
Fraction = 1.0
MoleFlow = 1000.0
cd /pipe.Out
#P = 200.0
#T = 300.0
cd /
pipe.Diameter = 0.1
pipe.Length = 20.0
pipe.Roughness = 0.0001
pipe.Elevation0 = 0.0
pipe.Elevation... |
9affb1f220bd34b296fda3d5aec979610a5e1308 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH15/EX15.6/116ex1.sce | 8adceb9ac651363625fe4391c4f8e7c203ef4284 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 116ex1.sce |
//simplify a/(a-b) - a^2/(a^2-b^2)
clear;
clc;
close;
//as, (a^2-b^2)=(a+b)(a-b),substitute it.
mprintf("\n the fraction is :\n")
ans=string('ab/((a+b)(a-b))')
|
793913cfed47cbce603af5f48ebc6a456402e9c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH28/EX28.1/Ex28_1.sce | 4cf661b4bd675c6dff0ebab6a7ab293ea3c339db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 88 | sce | Ex28_1.sce | clc;
//e.g 28.1
fo=22*10**3;;
C=2*10**-9;
L=((0.159/fo)^2)/C;
disp('H',L*1,"L=");
|
a073ce88407f77f984938646cb6b5a861a7ee1ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH10/EX10.5/ex10_5.sce | b9f433b0d30a71104babe0ca74baee44fbc8cdd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | ex10_5.sce | clc;
T=700;// Exhaust gas temperature in degree celcius
p=120;// Exhaust gas pressure in kPa
Cpo=1.089; // Specific heat at constant pressure in kJ/kg K
R=0.287; // characteristic gas constant in kJ/kg K
p0=100; // Pressure of Surroundings in kPa
T0=30; // temperature of Surroundings in degree celcius
Cvo=Cpo-R... |
1e95a6c39e0abc90e20316d23ab662edd00756f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH3/EX3.10/ex10.sce | 61ac81d16b192697e0e07d2a207a46c7cfc93238 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | ex10.sce | //example 10
//mass flow rate
clear
clc
dt=185 //time period in seconds over which there is incrrease in volume
dV=0.75 //increase in volume in 0.75 in m^3
V=dV/dt //volume flow rate in m^3/s
P=105 //pressure inside gas bell kPa
T=21 //temperature in celsius
R=0.1889 //ideal gas constant in kJ/kg-K
m=P*V/(R... |
01dd16a7e5ff0492c7cd4aaadf21f00798214941 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH1/EX1.4/1_4.sce | ff3778045e4cedf75101ce9865bb7da8f0ae4dd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | 1_4.sce | d = 0.02 ; // diameter in m
t = 0.008 ; // thickness in m
A = %pi*d*t ; // shear area
P = 110000 ; // prassure in Newton
A1 = (%pi/4)*(d^2); // Punch area
t_aver = P/A ; // Average shear stress
disp("Pa",t_aver,"Average shear stress in the plate is ")
s_c = P/A1 ; // compressive stress
disp("Pa",s_c,"Average c... |
3a82f7a80a95196ada41619a197c84742443ea11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH14/EX14.3/Ex14_3.sce | 1be6349e411df2d9f29862e219d8828984dbb465 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,448 | sce | Ex14_3.sce | // scilab Code Exa 14.3 upstream guide vanes
beta2=86; // rotor blade air angle at inlet in degree
dh=0.3; // hub diameter in m
dt=0.6; // tip diameter in m
N=960; // rotor Speed in RPM
phi=0.245; // flow coefficient
T1=316; // in Kelvin
p1=1.02; //Initial Pressure in bar
R=287;
n_o=0.647; // overall Efficien... |
49f321b2027b22302e517612b6edcd976cb4e6ac | 41b6608ff2959457f8ba9f7301f6d26070cde015 | /SciLab_Buckley_Leverett/BL_vG.sce | ac4cb62e7c78316d50524a012790b91acf309a2e | [] | no_license | mtoqeerpk/MFP | 6403771a733789001d03356548d8c7049d8ca68b | dc1eaaa1cb8045aa4b2bb7a532456dc5cf9f56df | refs/heads/master | 2020-06-26T12:53:20.286858 | 2017-01-04T07:37:29 | 2017-01-04T07:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,405 | sce | BL_vG.sce | // method-of-lines solution to the 1-D Buckley-Leverett equation
// constants and parameters
pathway = pwd() + '\';
g = 9.807; // gravitational acceleration, m/sec^2
u_w = 8.9e-4; // viscosity, Pa*sec
u_n = 8.9e-4;
rho_w = 1000.0; // density, kg/m^3
rho_n = ... |
2b630d905195a19303d6113d5147e073ba868c25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH5/EX5.8/Ex5_8.sce | f4b2047a3938a12b349465d85c5b679977e269af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex5_8.sce | clc;clear;
//Example 5.8
//given data
P1=0.8;
P2=0.12;
//from Table A-12
//sat. liq at P1
T1=31.31;
h1=95.47;
//since process is insentropic and at P2
h2=h1;
hf=22.49;
hg=236.97;
T2=-22.32;
//calculations
x2=(h2-hf)/(hg-hf);
disp(x2,'the final state is');
dT=T2-T1;
disp(dT,'temperature drop in ... |
3aac2147e90cede22f82831a94fdc29a27fc5aa9 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/CT29HRN/ATWM1_Working_Memory_MEG_CT29HRN_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 10df78d144cabd207de720e88d3da2cdec6666ce | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,597 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
bb864a6a90e2fb3fc727c084857ef471720476f0 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787.zip/Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787/CH1/EX1.6/Exa1_6.sce | 3164dc13a11e587348e1cbf36345fc657144b046 | [] | 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 | 237 | sce | Exa1_6.sce | errcatch(-1,"stop");mode(2);//Exa 1.6
;
;
//given data
lambda=1.539;//in Angstrum
theta=22.5;//in degree
n=1;//order unitless
d=n*lambda/(2*sin(theta*%pi/180));//in Angstrum
disp(d,"Interpolar distance in Angstrum : ")
exit();
|
3cd4bac043eebc7f87db6e8d0adba0a5a57fede3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH9/EX9.4/9_4.sci | a21cd987aae6f3d74f4676983dea7f0dc8bf65ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sci | 9_4.sci | //9.4
clc;
n=1000/5;
Ie=0.7*1000/100;
Tp=1;
n=200;
Ts=200;
R_actual=Ts+(7/5);
Error_ratio=(200-R_actual)*100/R_actual;
printf("Ratio error=%.2f percent",Error_ratio)
Ts=200-(0.5*200/100);
n=199/1;
R_actual=Ts+(7/5);
Error_ratio=(200-R_actual)*100/R_actual;
printf("\nRatio error=%.2f percent",Error_ratio) |
a564f65b93c64debe5005f67b3d31f49798d6e58 | 15b814fbf5ba965e98871286249c9f382d1eee4c | /adaptive/simulation09/example1.sce | 9b946f319a1728deaab770d602b68cba78c48b92 | [] | no_license | oscarkremer/disciplines | b5338f3a97c7a20e4b39618d7da0d4396dc35f07 | b8d1ca9da37f81c99ee08dbee795d2d936597666 | refs/heads/master | 2020-07-22T14:57:42.643799 | 2019-12-07T15:51:40 | 2019-12-07T15:51:40 | 207,239,678 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | example1.sce | xdel(winsid());//fechar janelas de figuras
clear();//limpar memória
clc();//limpar console
t0 = 0;
delta_t = 0.001;
final_time = 10;
t = (0:delta_t:final_time);
t = t'
ifinal=size(t);ifinal=ifinal(1);
sampling_rate = 0.5
ratio = sampling_rate/delta_t;
y = zeros(ifinal);
u = zeros(ifinal);
entradac = 2*ones(ifinal,1)... |
6fc66a26100fc8d3505cff46ac64ca8f3f1eeb11 | af86eb5dd11a276a153a618491fd2a0af057d237 | /Communication Engineering - Scilab/Impulse Function.sce | 3ff1e15c712e20624ab3e689ea4d5c7b143f5be7 | [] | no_license | gsiddhad/Mathematics | c2b2b78536e0769ea65791128b12aceea3c6f720 | 4bf16c674d84d1498b874c0f3b3d4b31785aae47 | refs/heads/master | 2023-03-06T02:52:46.933057 | 2021-02-20T11:17:58 | 2021-02-20T11:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Impulse Function.sce | //***impulse function ***
n = -10:10;
delta =(n==0);
subplot(4,1,1);
stem(n,delta,'.');
//***unit step function***
step =(n>=0);
subplot(4,1,2);
stem(n,step,'.');
//***ramp function***
ramp=n.*(n>0);
subplot(4,1,3);
stem(n,ramp,'.');
|
d76814711dc5f35a7b3b5cdc8e195a05e0cf9784 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.68/Ex4_68.sce | a3e11aca50ab1e3db3f4af36c7e6e4fffbc39dd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,017 | sce | Ex4_68.sce | clc;
v=250; // rated voltage of shunt motor
p=15000; // rated power of motor
nm=0.88; // maximumu efficiency of motor
n=700; // speed of motor
rf=100; // resistance of shunt field
i=78; // current drawn by mains
f=0.8; // fraction of rated output being delivered
l=((1/nm)-1)*f*p; // total losses
// at maximum ... |
9ab32c31f3e612260a9fd347ec6a28587fe710af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH5/EX5.1/5_1.sce | 6d546712fa1b026f3eeb1e9b32f4f2193eec5a86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,023 | sce | 5_1.sce | //Example 5.1
//Calculate the rate of heat loss .
//Given
T1=65 //C, furnace temp.
T2=25 //C, ambient temp.
h=1.5 //m, height of door
w=1 //m, width of door
Tf=(T1+T2)/2 //c, average air film temp.
//Properties of air at T... |
659d06f4034e09e797456ecec7114841f4a7a3ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH4/EX4.6/Ex4_6.sce | a072f32fba9682517cfa2fcf994a16d406c642c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Ex4_6.sce | clc;
clear all;
//chapter 4
//page no 123
//example 4.6
L=4*10^-6; //Henry
C=9*10^-12; //Farad
R=20*10^3; //ohm
f0=1/(2*%pi*sqrt(L*C)); //frequency in Hz
mprintf('(a) The resonant frequency is f0=%.2f MHz\n',f0*10^-6)
Q=R*sqrt(C/L)
mprintf(' (b) The Q is %i\n',Q);
B=f0/Q;
mprintf(' (c) The 3-dB... |
1ff9f44925c8b38292d606968306cef6db744adc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH4/EX4.9/ex4_9.sce | 1fe107ad61bcedc62130b7cf26852b414e095c6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | ex4_9.sce | // Example 4.9, page no-154
clear
clc
p=100 //Antenna power in W
pd=10 //Power Density in mW/m^2
d=1000 //distance in m
p2=10000 // New antenna power
directivity=10*log10(p2/p)
printf("Directivity (in dB)= %d dB",directivity)
|
330372994d87515b2bf866f0da959ce26c70b3c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH8/EX8.3/chapter8_ex3.sce | 70ec8eaa74bf4f5458e8b8f1cd66897252f890bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | chapter8_ex3.sce | clc
clear
//input
v=415;//3 phase supply voltage in volts
f=50;//supply frequency in hertz
//system is loaded with three star connected coils and three star connected resistors
ic=10;//current taken by each of the coils in amperes lagging by 60 degrees
ir=8;//current taken by each of the resistors in amperes
... |
cbc4cf90684d1f5acfd20ac82d4e59934a46a424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH1/EX1.2/chapter1_Example2.sce | 75b42114248ec3bcf02ccb7d41800a180efa0ed6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | chapter1_Example2.sce |
clc
clear
//INPUT DATA
T=2.223;//Time taken for 1 oscillation in sec
L=1.228;//Length of the pendulum in m
//CALCULATIONS
g=((4*3.14^2*L)/(T^2));//Acceleration due to gravity in m.s^-2
//OUTPUT
mprintf('The acceleration due to gravity is %3.2f m s^-2',g)
|
39b2e65398c73efd9d9b34220bf758f3f0d1aecb | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PB4.prev.tst | a0166d6801c48d245b26cc0abdff979c7651f45a | [
"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 | 94 | tst | PB4.prev.tst | y^2 = x^3 + c with x = 2, y = 3, c = 1
x -> (0) /
(36),
y -> ( - 216) /
(216)
|
1996fe56ea3fcb293829f9944353bfe14ec7e24d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH7/EX7.1/ch7_1.sce | db4e11655dd961dcad056894adcda8f950d43768 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | ch7_1.sce | //Calculate the sag
clear
clc;
sf=5;//Factor of safety
d=.95;// conductor dia(cm)
Ws=4250/sf;// working stress(kg/cm_2)
A=%pi*(d^2)/4;// area (cm_2)
Wp=40*d*(10^-2);//wind pressure (kg/cm)
W=sqrt((.65^2) +(.38^2));// Total effective weight(kg/m)
T=850*A;// working tension (kg)
c=T/W;
l=160;
d=l^2/(8*800);
... |
1b6ee5ef15196319687ab45bb2b5c64dbc95d978 | 42ce2af59b85049f5ba64be2ba3f2614cc2041a5 | /ds/dichoTrous.sce | b975984a4c31c8b5fb882e8e628ce36b4a0f73aa | [] | no_license | ece2lr/tp13 | 7f74b688b4bca71438ae216c603c881a8bec9171 | 84a9d7882ec8405bab119f8ffba2e89659c74ae4 | refs/heads/master | 2021-05-02T03:44:18.688503 | 2018-02-09T12:21:42 | 2018-02-09T12:21:42 | 120,901,701 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sce | dichoTrous.sce | a = ---
b = ---
while ---
m = (a+b)/2
if ---
then a = m
else b = m
end
end
|
0103933c1e860eaeaf51680f56ae95f0b3ab2222 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH2/EX2.11/ex_11.sce | 46476102ab30936eac82d09197b38dcead1c51c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | ex_11.sce | // EXAMPLE (PG 87)
// f(x) = (x-1.1)^3 * (x-2.1)
c = [2.7951 -8.954 10.56 -5.4 1]
p4=poly(c,'x','coeff')
roots(p4)
deff('[y]=f(x)','y=(x-1.1)^3*(x-2.1)')
xset('window',0);
x=0:.01:3; // defining the range of x.
y=feval(x,... |
74b3b189185dde0c1519298fc47725f75b4cf305 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH9/EX9.4.96/Figure9_4_Figure9_6.sce | b2f95db678968b88561770a878d58b8d7cc6189f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,830 | sce | Figure9_4_Figure9_6.sce | //clear//
//Caption:Direct Sequence Spread Coherent BPSK
//Figure 9.4:Generation of waveforms in DS/BPSK spread spectrum transmitter
clear;
close;
clc;
t = 0:13;
N = 7;
wt = 0:0.01:1;
bt = [1*ones(1,N) -1*ones(1,N)];
ct = [0,0,1,1,1,0,1,0,0,1,1,1,0,1];
ct_polar = [-1,-1,1,1,1,-1,1,-1,-1,1,1,1,-1,1];
mt = bt... |
70f82d3ed52db060b1b7282998b054782653e71b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH21/EX21.4/example_21_4.sce | 18ca6606e3dcb9073c08a7f2510ce9f2c4ac04f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,531 | sce | example_21_4.sce | clear;
clc;
disp("--------------Example 21.4---------------")
// display the example
printf("The traceroute program is used to find the route from the computer voyager.deanza.edu to the server fhda.edu.\nThe following shows the result:\n\n");
printf("$ traceroute fbda.edu\ntraceroute to fbda.edu (153.18.8.1),30 h... |
e352aa708cfc05299937d8df6602cd603218dc57 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/qp_kaiser.sci | 820fce8bda274c0a2497079eb54d11659861c4bb | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,104 | sci | qp_kaiser.sci | function res = qp_kaiser (nb, at, linear)
//Computes a finite impulse response (FIR) filter for use with a quasi-perfect reconstruction polyphase-network filter bank.
//Calling Sequence
//qp_kaiser (nb, at, linear)
//qp_kaiser (nb, at)
//Parameters
//nb: Number of bands
//at: Attenuation
//linear: When not zero, minim... |
15c0e88fd93d098a56eacdba5b1e8cb2917afbd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH12/EX12.02/12_02.sce | c762fc19a0914433cd14a1a01b9c7caa3eb64f04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | 12_02.sce | //Problem 12.02:
//initializing the variables:
xEtOH = 0.3; // mol% ethanol
//calculation:
xwater = 1 - xEtOH
printf("\n\nResult\n\n")
printf("\n the liquid mole fractions is %.2f ",xwater) |
045c379f6792f18bcb0f0ef2408fc9f0e4f8facb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH9/EX9.5/Ex9_5.sce | da44cc2a16381fbb0370f614a44fbf5c4f1ce427 | [] | 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 | 573 | sce | Ex9_5.sce | errcatch(-1,"stop");mode(2);//Caption:Find (a) the breakdown slip (b) the breakdown torque (c) power developed by the motor
//Exa:9.5
;
;
//Refer to data of Exa9.4
R_1=0.1;// in ohms
R_2=0.2;// in ohms
X_1=0.15;// in ohms
X_2=0.25;// in ohms
w_s=125.66;//rad/sec
V_1=120;//in Volts
s_b=R_2/sqrt(R_1^2+(X_1+X... |
52e822030394d6478e2a353874e2ce50ac310375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH4/EX4.23/SolEx4_23.sce | 8be116f92c48e267288e8ace3d778fcadd4e7582 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | SolEx4_23.sce | //determine (a) VGSQ, (b) IDQ, and (c) VDSQ.
//Example 4.23 page no 130
clear
clc
Idss=10 //mA
Vgsq=-1.34 //V
Vp0=4 //V
Rs=2 //kΩ
Vdd=15 //V
Rd=500 //kΩ
Idq=Idss*((1+(Vgsq/Vp0))^2)
Vdsq=Vdd-Idq*10^-3*(Rs*10^3+Rd)
printf("\n Idq=%0.2f mA" ,Idq)
printf("\... |
b21c10800999a69188c2d74b7af23fb2a262bd22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.12/example11_12.sce | a8665999530a02f8a44b4a8b47a56eeabd636bd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | example11_12.sce | clc
// Given that
r = 2 // ratio of kinetic energy of body to its rest mass
// Sample Problem 12 on page no. 11.22
printf("\n # PROBLEM 12 # \n")
printf(" Standard formula used \n")
printf(" m = m_0/((1-v^2/c^2)^1/2) \n KE = (m-m_0)*c^2 \n ")
v = 3e8 * sqrt(1 - (1 / (r + 1))^2)
printf("\n Velocity of particle is %f c... |
d04a31d25501e76825048cfe728104140a4f4a68 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/cheb2ap.sci | ea0b223479b1afa4d63b852ab81c4f823622f1ff | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,610 | sci | cheb2ap.sci | <<<<<<< HEAD
// Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Li... |
57a3948b3f770fd095fe2a1241e2eb35abdd5be5 | 02e8ccf2c8d1393e7d290b2cbaf0b08e7be3522b | /PennSearch/scenarios/chord.sce | 8a4a05a4da58e620a395832c194fc4d5ebc7b093 | [] | no_license | jay088/ns-3_projects | 24b04b1410b279bbfc32d4ed875acc044568dc80 | 310b649c3339e4e55804bae3251e49b900b07125 | refs/heads/master | 2021-01-23T12:15:26.368424 | 2014-08-06T23:20:15 | 2014-08-06T23:20:15 | 22,701,410 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | chord.sce | TIME 120000
* PENNSEARCH VERBOSE ALL ON
TIME 120000
0 PENNSEARCH CHORD join 0
TIME 10000
1 PENNSEARCH CHORD join 0
TIME 10000
2 PENNSEARCH CHORD join 1
TIME 10000
3 PENNSEARCH CHORD join 2
TIME 10000
5 PENNSEARCH CHORD join 0
TIME 10000
4 PENNSEARCH CHORD join 3
TIME 20000
0 PENNSEARCH CHORD ringstate
TIME 10000
0... |
8cdf53965aec777f97c96df3eadfccb657f89a36 | 527dd92897bc9b75dde0f2f306f31510deaefe20 | /1547.1/Tests/FRT/LFRT.tst | 1840e849c35fe9423cc4a168ea33706e28fc2d50 | [] | no_license | BuiMCanmet/svp_1547.1 | 7520680bfc5895b36081487099d22aac2a0b90d4 | 5f6a8e5d55ff7f109d02b618fd594c8a4f9d4eae | refs/heads/master_python37 | 2021-06-29T02:31:53.200049 | 2021-01-11T16:37:37 | 2021-01-11T16:37:37 | 179,517,708 | 0 | 1 | null | 2020-08-27T18:40:17 | 2019-04-04T14:44:13 | Python | UTF-8 | Scilab | false | false | 1,829 | tst | LFRT.tst | <scriptConfig name="LFRT" script="FRT">
<params>
<param name="eut.offset_current" type="string">0,0,0</param>
<param name="eut.offset_voltage" type="string">0,0,0</param>
<param name="frt.high_pwr_value" type="float">0.9</param>
<param name="frt.repetitions" type="int">3</param>
<param name="eut.s... |
bf69df289d97cdc0132537e9d0e45a78fd5153e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH23/EX23.1/Ex23_1.sce | bf388a0b8e3042c1a2e7d44b80c83b2e941ddaf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | Ex23_1.sce | clc
// Given that
l=12//in inch Length of block
w=4//in inch width
f=0.01//in inch/tooth feed
d=1/8//in inch depth of cut
D=2//in inch diameter of cutter
n=20//no. of teeth
N=100//in rpm spindle rotation
Vt=8//in inch/minute axial speed of the tool
// Sample Problem on page no. 600
printf("\n # Materi... |
1a172efd5bf7157490534cf261880d6f85574cca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH13/EX13.5/13_5.sce | 7c7f18d224d5a535b6cb0c32c0a012987e5db18d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | 13_5.sce | //to find the stiffness of the governor spring
clc
//given
w=3//lb
W=15//lb
g=32.2
r2=2.5/12//ft
N2=240//rpm
w2=N*%pi/30
F2=w*w2^2*r2/g
a=4.5//in
b=2//in
sleevelift=0.5
r1=r2*12+a*sleevelift/b//the increase of radius for a scleeve lift is 0.5 in
N1=1.05*N2
F1=(N1/N2)^2*(r1/(r2*12))*F2
//a) at minimum ra... |
325c89e249ea941c47f86eb1511d93ac27167dd9 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.5_12.tst | 02f125f771055c181793c725de61966c73ea2a70 | [] | 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 | 5,608 | tst | bow.5_12.tst | 5 56:1.0 119:0.14285714285714285 251:0.25 266:1.0 308:0.3333333333333333 1140:1.0 1256:0.5 1264:1.0
5 1:0.6666666666666666 3:0.015625 7:2.0 25:2.0 30:1.0 44:0.0625 57:0.07692307692307693 134:1.0 283:1.0 430:1.0 436:1.0 508:1.0 561:1.0 598:1.0 931:1.0 1029:1.0 1105:1.0 1268:1.0 1321:1.0
5 1:0.2222222222222222 3:0.015625... |
b1f54b9ddc265d84dae36e9f68b9b0264d376c97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH10/EX10.11/ex10_11.sce | 12d1c95f14b08a9eea51a2df73aaaf325057b6b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,668 | sce | ex10_11.sce | clc;
p1=100; // Pressure at inlet in kPa
T1=30; // Temperature at inlet in degree celcius
V1=0; // Velocity at inlet in m/s
p2=350; // Pressure at outlet in kPa
T2=141; // Temperature at exit in degree celcius
V2=90; // Velocity at exit in m/s
p0=100; // Pressure of Surroundings in kPa
T0=30; // temperature of ... |
04d41f22c3ffe9690c0830f96d6c9817e694cd0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH6/EX6.26/ex6_26.sce | eeceddc788b4dc7856cb7f103cfbf071cbab70a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_26.sce | // Exa 6.26
clc;
clear;
close;
// Given data
x1 = 0.95;
P1 = 9;// in bar
P1= P1*10^2;// in kN/m^2
h_f1 = 743;// in kJ/kg
h_fg1 = 2030;// in kJ/kg
V = 0.204;// in m^3
x2 = 0.544
P2 = 5;// in bar
P2= P2*10^2;// in kN/m^2
h_f2 = 640;// in kJ/kg
h_fg2 = 2108;// in kJ/kg
H_wet1 = h_f1 + (x1*h_fg1);// in kJ/k... |
c3c1d22a0fcc905899a8eb2e7fc2bf5c1221cc5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH9/EX9.1.1/Ex9_1_1.sce | 2c00fcd887745b086618b4faefb5ae85110c4d38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Ex9_1_1.sce | //Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
//Windows 8
//Scilab version- 6.0.0
//Example 9.1.1
clc;
clear ;
//given
lambdap=850;//Peak wavelength in nm
n=0.01;//quantum efficiency is 1%
Ep=1248/lambdap;//energy of photon in eV
I=50;//current supposed to be in mA
P... |
fcdf5100e3f2f1ec859d5f71821cba2adc07db10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH18/EX18.11/Example18_11.sce | ee5a544818a45ddec191751a375bc638807f7bc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Example18_11.sce | //Example 18.11
clc
rl=(10/(200*10^-3)) // in ohm
c2=11.4/0.02
format(4)
c=sqrt(570) // in uF
disp(rl," RL(ohm) =")
disp(" 0.02 = 5700 / L*C1*C2*50 = 114 / L*C1*C2")
disp("If we assume L = 10 mH and C1 = C2 = C, we have")
disp(" 0.02 = 114 / L*C^2 = 11.4 / C^2")
disp(c2," C^2 =")
disp(c,"there... |
6f263b715cc54eecaf3983c186f3e4219fabfb69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH1/EX1.8/Example18.sce | 25cbdd9d11028668a191e004663cffa692ffbfe6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Example18.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 1, Example 8")
//Let us suppose
//Velocity of the model, Vm
//Length of the model, Lm = 160mm
//Length of the prototype Lp = 1000mm
... |
6270fe61ca1ea21c6308ee00df26fb4699cdf005 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH7/EX7.1/Example7_1.sce | d0e81351be7cf4c492574a9b1d945d6e8702b21b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | Example7_1.sce | //clear//
//Caption: To find optimum decision threshold
//Example7.1
//Page 258
clear;
clc;
close;
bon = 1;
boff =0;
sigma_on = 1;
sigma_off = 1;
Q = (bon-boff)/(sigma_on+sigma_off)
Vth = bon-Q*sigma_on
disp(Q,'Q parameter value =')
disp(Vth,'optimum decision threshold Vth =')
//Result
//Q parameter va... |
feee8d4b8b3d44a713d3c40672007a21c58b1279 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/ld01.tst | dcec3ad91399dab497d460d66f0b037b1e6133f4 | [] | 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 | 170 | tst | ld01.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the LDI (load immediate) instruction"
; @Result: "r16 = 42"
start:
ldi r16, 42
end:
break
|
a05544e4767c8896de01e5e196ad739a723acabc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH10/EX10.7/Chapter10_example7.sce | 6dfe74ce0c83b9a8db786be96775d7830797e8e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,905 | sce | Chapter10_example7.sce | clc
clear
//Input data
v1=0.3;//Velocity of the pump plunger in m/s
l=0.575;//The length of the fuel pipe in m
A=1/20;//The cross sectional area of pipe to the plunger cylinder
a=1/40;//The area of nozzle hole to the pipe
p1=27.6;//Initial pressure in the line in bar
p2=27.6;//The compression pressure of the ... |
0838ad0338b2f7ae473eb16b3637253c01788461 | 7c0526c651b41348fa51fb282eb057602cc59695 | /IEInitial/IEInitial.sce | a7f2f30d9d67a1d6aad3a21cc950d0f015118f75 | [] | no_license | CNL-R/movingstims | f2dd5a6073dec4e3bc0b99af1f894c725f58a634 | db9feec1e6c384a97396926ddc748352d18a24c4 | refs/heads/master | 2021-07-12T11:57:53.954325 | 2019-03-20T16:02:56 | 2019-03-20T16:02:56 | 123,328,749 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,213 | sce | IEInitial.sce | #header
default_background_color = 128, 128, 128;
write_codes = true;
pulse_width = 5;
active_buttons = 2;
button_codes = 1, 255;
no_logfile = false;
###############################################################################
#SDL portion of code
begin;
# in SDL
array {
LOOP $i 50;
$k = '$i + 1';
bitmap {... |
3a803854787acbca3151d23cb6ae241b360c6776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH12/EX12.2/Ex12_2.sce | 188a322d27bd699243ea41bf99463e4e8e2a7d46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | Ex12_2.sce | //Example 12.2
r1=0.9*10^-2;//Radius of garden hose (m)
A1=%pi*r1^2;//Cross-sectional area of hose (m^2)
Q=0.5;//Flow rate (L/s)
Q=Q/10^3;//Flow rate (m^3/s)
v1=Q/A1;//Speed of water in the hose (m/s)
printf('a.Speed of water in the hose = %0.2f m/s',v1)
r2=0.25*10^-2;//Radius of nozzle (m)
A2=%pi*r2^2;//Cross-... |
71584b254ccbde6231a34603621cc1e8b81b548e | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH27/EX27.9/27_9.sce | c1924141411d008d496bb2c8eeae5ed2323873c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | 27_9.sce | clc;
clear;
function yp=predprey(t,y)
yp=[1.2*y(1)-0.6*y(1)*y(2);-0.8*y(2)+0.3*y(1)*y(2)];
endfunction
t=0:0.1:20;
y0=[2 1];
sol=ode(y0,0,t,predprey);
count=1;
for i=1:2:401
x(count)=sol(i);
z(count)=sol(i+1);
count=count+1;
end
plot(t,x)
plot(t,z)
xtitle("y vs t", "t","y")
clf();
pl... |
82814033930ac7213a3b6b4f4a41bd7bf86358a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH6/EX6.6/6_6.sce | 80a5694dbf1fd0f50878734936514b871a37c244 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | 6_6.sce |
Rp=600
Rs=50
W=2*%pi*400*10^6
Q=sqrt(Rp/Rs-1)
Xs=Q*Rs
Xp=Rp/Q
Cs=1/W/Xs
Lp=Xp/W
Ls=Xs/W
Cp=1/W/Xp
printf("\nQ=%.4f\nXs=%.4f ohm\nXp=%.4f ohm\nCs=%.2e F\nLp=%.3e H\nLs=%.3e H\nCp=%.2e F",Q,Xs,Xp,Cs,Lp,Ls,Cp) |
61fd3ad3778fd9660c56ec6c485d6f7f8685f5e4 | 3f5040355af2e6769099ed204385fd22c9e10cc2 | /classifieur.sce | e7244ca14557e79558f76315382d183e5bb248d8 | [] | no_license | pinos19/Reconnaissance_objets | 78e586e55383eefabc379d7ded5114367c67880c | f697ad28852b56299f616cb5c0b72ab1479c7d01 | refs/heads/main | 2023-08-29T11:26:50.842616 | 2021-11-06T16:59:20 | 2021-11-06T16:59:20 | 425,299,101 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | classifieur.sce |
function [classe]=classifieur(attributs_normalises,img_gris,moyenne,ecart_type,num_classe)
[aire,perimetre,longueur,largeur]=AttributsForme(img_gris);
res=[aire,perimetre,longueur,largeur];
for i=1:4
res(i)=(res(i)-moyenne(i))./ecart_type(i);
end
for app = 1:20
//distance(app)=sum(a... |
2bea0e8f6b45e0b362d7ba6539954b5822c68ddc | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH1/EX1.1/eg1_1.sce | 885450699442f22ef97a3fa68d9f58315600a10a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg1_1.sce | E0 = 1/(36*%pi*10^9); //permitivity in free space
k = 4*%pi*E0 ;
q1 = 1; // charge on the first particle in coulombs
q2 = 1; // charge on the second particle in coulombs
d = 1; // distance between the particles in meter
F = (q1*q2)/(k*d^2); //force between the two particles in newtons
disp(F, "force in fre... |
5e98d1706dca66ca3b873989eda863254562ef00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/27_2data.sci | 40a20eb752dfad6c84020edb1ac721427bc70d2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sci | 27_2data.sci | a=100;//cross section dimention,given,in mm
b=200;//cross section dimention,given,in mm
t=5;//thickness,given,in mm
L=3000;//length,given,in mm
E=200000;//given,in N/mm^2
G=0.36*200000;//given,in N/mm^2
P=-100*10^3;//load,given,in N |
cdc500024ea5d9d20856cfab29aa8a76911983e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH23/EX23.1/Ex23_1.sce | 1752e48cda9c313645d93778ccdf33d47e738e78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | Ex23_1.sce | clear
//Given
h=6.62*10**-34 //J
c=3*10**8 //m/s
l=4.0*10**-7 //m
//Calculation
E=((h*c)/l)/1.6*10**-19
p=h/l
//Result
printf("\n Value of energy is %0.1f ev",E*10**38)
printf("\n Momentum of photo... |
f4cb0ab5949de9de154548304d608f21716dbf27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH6/EX6.10/6_10.sce | aef7a139072da398e48a984a20dc22f024f92067 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | 6_10.sce | //Chapter 6, Problem 10
clc
id=-2e-3 //drain current in ampere
vds=-8 //drain to source voltage
vcc=-14 //supply voltage
vs=2.1 //source voltage
vp=5 //pinch-o... |
0d3bf976ee2dd0e54ae61e27bcc6db2400a92231 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH7/EX7.1/Example7_1.sce | dadb3d4921a7a93bdf4af6f19d5278915695579d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | Example7_1.sce | //Example 7.1
//Program to Calculate
//(a)Collector Current
//(b)Collector-to-Emitter Voltage
clear;
clc ;
close ;
//Given Circuit Data
Vcc=9; //V
Rb=300*10^3; //Ohms
Rc=2*10^3; //Ohms
Beeta=50;
//Calculation
Ib=(Vcc)/Rb;
Ic=Beeta*Ib;
Icsat=Vcc/Rc;
Vce=Vcc-Ic*Rc;
//Displaying The Results in Command Win... |
3416bf1cc470223c4e33e5dfc397afab761daec8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH21/EX21.1/Ex21_1.sce | b2a2d589f07b4ebc201c650b209b373b4606367e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Ex21_1.sce | // Exa 21.1
clc;
clear all;
// Given data
Emax=20; //Max value of variable(mA)
Emin=4;//Min value of variable(mA)
Em=13;//Measured value of variable
Eref=10;//Set(ref) point of variable(mA)
// Solution
//Ep=(Em-Eref)/(Emax-Emin)*100; // Percentage error from page no.(703)
//Therefore
Ep=(Em-Eref)/(Emax... |
82d859ca6c55f73f9343a216041dfa4b2c8870d2 | 5f838df28ada5a3bbd5be4c69902b9df4dbffacb | /analog_lpf_parameters.sci | 5b287563823d0733f7b316de4de4406114da4493 | [] | no_license | Sai-Sumedh/filter_design_180070024 | dca29c7b95cb43421e1577af3673f29df3a83251 | c8348c85b515e9d987404c335f52150933512405 | refs/heads/main | 2023-01-14T05:11:25.601573 | 2020-11-12T18:44:36 | 2020-11-12T18:44:36 | 312,361,627 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,814 | sci | analog_lpf_parameters.sci | // this code computes the order and the half-power point of Butterworth filter
//
//lpf_specs = [-1.4161988,-1.,1.,1.4161988]; //bpf
//lpf_specs_bsf = [-1.2394869,-1.,1.,1.2394869]; //bsf
//delta = 0.15;
//W_p = lpf_specs(3);
//W_s = lpf_specs(4);
//
//D1 = (1/(1-delta)^2)-1;
//D2 = (1/(delta^2))-1;
//numerat... |
cdda89c6deb47b6af303b4cc530697d5f5e75425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH10/EX10.9/Ex10_9.sce | cb4e408d9183950073814a17de4b651e75d99026 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | Ex10_9.sce | //Ex10_9
clc
A = 150//gain of amplifier
beta = 0.05//feedback ratio
disp("A = "+string(A))
disp("beta = "+string(beta))
Af = A/(1+beta*A)//gain with negative feedback
disp("Af = A/(1+beta*A) = "+string(Af))
fL = 20*10^3//lower 3dB frequency
fU = 160*10^3//upper 3dB frequency
disp("fL = "+string(fL)+"Hz")
dis... |
b9c5fb989abca0ada451c29571eb51d5bd5b85ca | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Koza_2.tst | 31f5ad4a19436795c1a98d21e01d03ae05b453ce | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39,986 | tst | Koza_2.tst | x
f(xs)
0.676985 0.198647
-0.631209 -0.228430
-0.679405 -0.196949
-0.246670 -0.217565
-0.551867 -0.266905
-0.100697 -0.098665
0.927798 0.017975
-0.906395 -0.028863
0.503620 0.280548
-0.312467 -0.254430
-0.217587 -0.197472
0.054778 0.054449
-0.620546 -0.234647
-0.142125 -0.136441
0.286107 0.241184
-0.35... |
832f260cb1260725ffa1d76b0b61340a435aea39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH4/EX4.27/Chapter4_Example27.sce | 74e60abcfbab1300f04e6ae7479d5bffdd51fbba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,007 | sce | Chapter4_Example27.sce | //Chapter-4, Illustration 27, Page 222
//Title: Steam Nozzles and Steam Turbines
//=============================================================================
clc
clear
//INPUT DATA
P0=800;//Steam pressure in kPa
T0=900;//Steam temperature in K
a1=70;//Nozzle angle in degrees
ns=0.85;//Steam efficiency
m=... |
7a73240ad6007da98fbf1b33f47b10ed56bcf9a6 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /AkarPersamaan/scilab/ridder.sce | 684df90e6ccba284f07c5e1bed59933d654c847a | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,533 | sce | ridder.sce | function root = ridder( f, a, b, tol, NiterMax )
if ~exists("tol", "local") then
tol = 1e-9
end
if ~exists("NiterMax", "local") then
NiterMax = 30
end
printf("\nRoot searching via Ridder''s method\n")
printf("Initial search interval: [%18.10f,%18.10f]\n", a, b)
printf("Tolerance: %18.10e\n", to... |
1378940b6be0dff98181d930973390bc29964400 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH9/EX9.10/EX9_10.sce | 0adf55f1857c37a608f873d1136d166742c321ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,169 | sce | EX9_10.sce | // Example 9.10
// Repeat the example 9.9 assuming 90 % leading power factor
// Determine (a) Excitation voltage (b) Power angle (c) No load voltage,
// assuming the field current is not changed (d) Voltage regulation (e) No load
// voltage if the field current is reduced to 80% of its value at rated load.
// Page 37... |
1c0e681b28ee948f724713f3e4bb75222f108e2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH8/EX8.1/exa_8_1.sce | 595a0be6366fc7f7bb67c85ad9d351acdefba906 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | exa_8_1.sce | // Exa 8.1
clc;
clear;
close;
// Given data
l=25;// in mm
l=l*10^-3;// in meter
d=5;// in mm
d=d*10^-3;// in meter
S= 20;// in cm
S= S*10^-2;// in meter
Va= 3000;// in volts
TraceLength= 10;// in cm
TraceLength=TraceLength*10^-2;// in meter
y=TraceLength/2;
Vd= 2*d*Va*y/(l*S);// in volts
Vrms= Vd/sqrt(2... |
4e31c4de242bf77a52c975d914be93548439eccc | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH6/EX6.10/Ex6_10t.txt | 65a64d6089449a0e7d535b5f32694ca682244a60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | txt | Ex6_10t.txt | //caption:Find input voltage
//Ex6.10
clc
clear
close
Vref=5//reference voltage(in V)
t1=0.2//coumts when input voltage is applied(in sec)
R=100*10^3//resistance(in ohm)
C=10^-6//capacitance(in F)
t2=R*C
Vin=(t2/t1)*Vref
disp(Vin,'input voltage(in V)=') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.