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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8976405ff14823946ad61051842756f31f91f346 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH8/EX8.5/Ch08Ex5.sce | b393fe6cea91c1f9743a85a6d3760b12a6141791 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Ch08Ex5.sce | // Scilab Code Ex8.5: Page-8.35 (2004)
clc;clear;
mu = 9.4e-24; // Magnetic moment, ampere metre square
H = 2; // Magnetic field , weber per squaremetre
k = 1.38e-23; // Boltzmann Constant, joule per kelvin
T = (2*mu*H)/(log(2)*k); //Temperature using classical statistics, K
printf("\nTemperature using... |
58b4129e5ee6341ee43f82082225287ce2557ba2 | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /examples/electronics/IdealSwitch/run.sce | 08e9e459c685a06e166403fa1fd13db57290f692 | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 1,058 | sce | run.sce | //initial condition. set alpha
exec("init.sce");
st = 7.45;
exec("computeHandG.sce");
exec("buildMLCP.sce");
// the solution of this first MLCP is :
nextL = [2.999496e-02;
-1.999997e-02;
1.999997e+01;
9.994988e-03;
7.450000e+00;
0.000000e+00;
0.000000e+00;
1.999997e+01;
9.999990e+02];
... |
4c48e078b67045fae45276aacdfe0325a4720579 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH20/EX20.3/Ex20_3.sce | 3e825c3d7b9eb8d2920b28919418b437921c7ada | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | Ex20_3.sce | clc
clear
//Initialization of variables
tl=125 //F
t0=80 //F
t1=1000 //F
d=1 //in
k=25 //Btu/hr ft F
k2=0.0208
Nu=18
//calculations
byal=(tl-t0)/(t1-t0)
al=acosh(1/byal)
b=%pi*d/12
A=%pi*d^2 /(4*144)
tm=(tl+t1)/2 +460
hr=0.79*0.1714*((tm/100)^4 - ((t0+460)/100)^4)/(tm-460-t0)
hc=Nu*k2*12/d
a=((hc+hr)*... |
44ca132bdfdc447bb988c69c60f31ed5da604fab | e8bcffbdb9ef7c42aa1245206a5756562dea93fc | /jwang/rcverr.tst | 50fbb576bad84ba1fdd9d9b28b34181d41527f38 | [] | no_license | TYMCOM-X/169281.tape | 167b37c62e4ae5d84948c38627dd3ca549789143 | 61a4c1fcd77c19952506cd141ca9bb9dd0adfd4c | refs/heads/master | 2023-03-23T18:56:04.497317 | 2021-03-21T00:57:58 | 2021-03-21T00:57:58 | 349,671,733 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,505 | tst | rcverr.tst | :************************************************************************
: Patchname: RCVERR.TST product version: SDLC 1.12
: author: James Wang organization: sts
: Customer: date written: fEB 22, 1991
: problem: When circuit is built, tif w... |
7a95595a858ee55e7756f3ba77bb7f46e80bd6e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.11/Ex8_11.sce | 8c0150d35c5d9505bdc9578fac787331377d8495 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_11.sce | //Ex:8.11
clc;
clear;
close;
h=0.35*10^-3;// irradiance W/cm^2
po=0.45*10^-3;// power output in watt
d=1.5;// separation distance in cm
x=sqrt((4*po)/(3.14*d^2*h));// divergence angle in radians
X=(x*180)/3.14;// divergence angle in degree
printf("The divergence angle =%f degree ", X); |
17dc3f7173b18e6b17f90c766d83dc8676b14652 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH7/EX7.8/Ex_7_8.sce | 4d9336477f045b343a1a0b8883175b4e2f646972 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | Ex_7_8.sce | // Example 7.8;//overall power conversion efficiency
clc;
clear;
close;
Pc=150*10^-6;//Optical power in watt
If=25;//forward current in milli ampere
Vf=2.5;//forward voltage in volts
P=If*10^-3*If;//power in watt
npc=((Pc/P)*10^3);//overall power conversion efficiency
disp(npc,"overall power conversion effici... |
f11558d09a54ed249a95e0b2269f0b143fcb39a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH5/EX5.11/ex5_11.sce | 674e250928b3ada648647861be1a89f9516fefe3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_11.sce | clc;
V=2; //in volts
R1=30; //resisitance in Ohm
R2=60; //resistance in Ohm
Rp=(30*60)/(30+60); //calculating parallel resistance
disp(Rp,"Resisitance in Ohm = "); //displaying result
I=V/Rp; //Ohm's law
disp(I,"Current in Ampere = "); //displaying result |
074b8fd2978ffde31ae29cb63232042a38b53dbc | 86ae7e24466d959da945d5b6d8ab93354a9e8a1d | /T3_eg_array_mat_op.sce | f8db8f61e55ca1b628ee6223293a0fa1792354a8 | [] | no_license | AnujaNagare/Scilab-Programs | be27fdeb0db8cfa4b00ac5121676b18412b8a222 | 4152eac1a3e87ec7408fb3dfea55cac984cca2d9 | refs/heads/master | 2021-08-30T16:53:33.876536 | 2017-12-18T19:11:47 | 2017-12-18T19:11:47 | 114,677,855 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | T3_eg_array_mat_op.sce | clc
clear;
x=[4, 5, 6]
z=[1 2 3]
y=[2 ; 2 ; 2]
disp(x,'values of array x:')
disp(z,'values of array z:')
disp('array operations')
disp(x+z,'addition');//add
disp(x-z,'subtraction');//subtract
disp(x.*z,'multiply');//multiply
disp(x./z,'divide');//divide
disp(y,'values of array y:')
disp('matr... |
d350b720198c9630ab10e3e2efee2a28f9c4b8bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.29/Ex4_29.sce | 9ad1928efebc97e44120d9b2aabb36331019c71c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_29.sce | clear
//
//case a
l=0.25
f=50
v=230
r=2
c=1/(((2*3.14*f)**2)*l)
printf("\n c= %e ",c)
//case b
i=v/r
printf("\n i= %0.1f A",i)
//case c
vl=2*3.14*f*l*i
vc=i/(c*2*3.14*f)
q=(2*3.14*f*l)/(r)
printf("\n q")
|
30306b91fdca304817812d453fb11bf97bd0aa85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH5/EX5.12/Exa5_12.sce | 6c7651f4126081c99f63c2b228fd06d30bfc12c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | Exa5_12.sce | //Exa 5.12
clc;
clear;
close;
//Given Data :
format('v',8);
R=2;//in ohm
X=3;//in ohm
VR=10*1000;//in volt
P=1000*10^3;//in watt(power delivered)
cos_fir=0.8;//unitless
I=P/(VR*cos_fir);//in Ampere
Vs=sqrt((VR*cos_fir+I*R)^2+(VR*sqrt(1-cos_fir^2)+I*X)^2);//in volt
Reg=(Vs-VR)*100/VR;//in %
disp(Reg,"% Reg... |
6a8afdfdea84f26197a73178dbd8a6d9f72e109e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH2/EX2.5/exa_2_5.sce | b30a454893628c0a04c42c208c144c0c6c8c74cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_2_5.sce | // Exa 2.5
clc;
clear;
close;
// Given data
v= 0.9/3;// in m^3/kg
v= 2*v;// in m^3/kg mole (as M_hydrogen = 2)
T=120+273;// in K
R=8314;// in J/kg mole K
a=2.51*10^4;// in Nm^4/(kg mole)^2
b= 0.0262;
// Part (a)
p= R*T/v;// in N/m^2
p= p*10^-5;// in bar
disp(p,"Using perfect gas law the pressure for unit ... |
d7b35b1786afb2bddee559d18517469c269ebf60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH8/EX8.8/Ex_8_8.sce | fe889ffc8bbf7b3a97f15ec184fff986a7f8d2a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | Ex_8_8.sce | //Example 8.8
clc;clear;close;
s=poly(0,'s');
z=poly(0,'z');
T=0.1;
Hs=2/(s+1)/(s+2);
Hz=ss2tf(cls2dls(tf2ss(Hs),T));
disp(Hs,'H(s)=');
disp(Hz,'H(z)='); |
3a26d37db86dd9e75ea470e411c341da7c048c41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH7/EX7.9/Example7_9.sce | 43e04be2e0fa1e70467bd2bf4c93c51800a7df4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | Example7_9.sce | ///Chapter No 7 Fluid Mechanics
///Example 7.9 Page No 118
///Find Tangential speed of shaft
//Input data
clc;
clear;
mu=0.1; //Oil of viscosity used for lubricant in poise or Ns/m**2
D=0.15; //Clearance between the shaft of diameter in m
dy=3*10^-4; //Clearance in m
... |
6daafb474ac769e421faa95f4ffa2b9235698d82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.46/Ex1_46.sce | 1122fd99b90cd6f99f989d511409956a29b85ea3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | Ex1_46.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 46
clc;
disp("CHAPTER 1");
disp("EXAMPLE 46");
//VARIABLE INITIALIZATION
v=240; //in Volts
//SOLUTION
//case1: p=60W
p1=60; //in Watts
r1=(v^2)/p1;
disp(sprintf("Resistance of the metal filament lamp... |
61a8843c011b775dcb39c485943160a1881feadb | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.43/Ch5_5_43.sce | cb9d685631299c608812998b3e6dd17516daf0fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Ch5_5_43.sce | clc
disp("Example 5.43")
printf("\n")
disp("calculate the frequency of oscillation of RC phase shift oscillator")
printf("Given\n")
R=500
C=0.1*10^-6
//frequency of oscillation
f=1/(2*%pi*R*C*sqrt(6))
printf("frequency of oscillation \n%f hz\n",f)
|
ac10f1e6cdaec91e6a6f293fe555148a94e18f6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.26/example26_sce.sce | 6b3c04baca7bc70fa353e96684dd478247272783 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | example26_sce.sce | //chapter 19
//example 19.26
//page 882
printf("\n")
printf("given")
f=1*10^6;Xc=120;Vce=.5;Vcc=30;Rl=1.2*10^3;O=100;
Cp=1/(2*3.14*f*Xc)
Cp=1300*10^-12;//use standard value
Lp=1/(((2*3.14*f)^2)*Cp)
Vp=Vcc-Vce
Po=((Vp)^2) /(2*Rl)
Idc=Po/Vp
T=1/f
t=(O*T)/360
Ip=(Idc*T)/t |
6bcc1ec9d5fd3e7093ad4bda9a857353d9702d48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH1/EX1.11/1_11.sce | b5c2d1dc0297587526aae7df0d568084acb14001 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | 1_11.sce | //ques-1.11
//Calculating hardness of given water sample
clc
V=100;//volume of water sample (in mL)
v=12.5;//volume of Magnesium sulphate (in mL)
N=0.08;//normality of Magnesium sulphate
h=(v*N)*50;//hardness in 100mL
h=h*(1000/V);//hardness in 1L
printf("Hardness of given water sample is %d ppm.",h);
|
0404a798fb5479256d62eb9e63857446a7d86ea6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH3/EX3.13/ex3_13.sce | d7797fb79cec5165f104dac8a2543384626e96e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | ex3_13.sce | // Example 3.13 page no-176
clear
clc
veb=0.2 //V
hfe=49
vz=6.3 //V
i=5*10^-3
vi=8
//(1)
y=veb+vz
printf("\n1. The nominal output voltage is the sum of the transistor V_EB and zener voltage.\nV0=%.1f V\n",y)
//(2)
r1=(vi-vz)/i
printf("\n2. R1 must supply 5mA to the zener diode\nR1=%.0f Ohm",r1)
//(3)
k... |
78af67ed2ba1f81e846a42960647236c1e67ad2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH10/EX10.6/Ch10Ex6.sce | 55e1d44ed4d03b21f77eb94d4ff94665233a29c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Ch10Ex6.sce | // Scilab Code Ex10.6: Page-512 (2011)
clc;clear;
V = 60;....// Electric potential of smaller drop, volt
r = 1;....// For simplcity assume radius of each small drop to be unity, unit
q = 1;....// For simplicity assume charge on smaller drop to be unity, C
k = 1;....// For simplicity assume Coulomb's constant to be... |
c5028bd96ca554b842323b6dcc755e3958bf10e6 | b84a4a40dbd2d8bea5236b6ce15dfba9b560bd5a | /BabylonSqrt_SALVEDIA.sce | f4db3ac9183c25535f1c45913d75633a066ff7ec | [] | no_license | ronzohan/SciLab | f8cf060d8d7be63b7520fc97f5f2db9d5f576bd6 | bccd05f1f2a0cf56f1de25d466f496a2ba436b79 | refs/heads/master | 2021-01-10T21:40:00.810683 | 2014-10-01T13:23:07 | 2014-10-01T13:23:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | BabylonSqrt_SALVEDIA.sce | userInput = input("Enter a positive whole number ")
oldAnswer = 1
answer = 1
answerCount=0
Ea = 100
allowedError = 0
printf(" square root of %i Ea\n",userInput)
while (Ea > allowedError)
printf("n=%d ",answerCount)
printf("%22.15f",answer)
answer = (1/2)*(oldAnswer+(userInput/oldAnswer))
Ea = a... |
bc0907e7fb123ccf19107d74ff18007afdaef695 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH3/EX3.13/Ex3_13.sce | b2ea5d7a9f7e1008495d35a8c5c34004a13c44a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,466 | sce | Ex3_13.sce | clc;clear;
//Example 3.13
//Answer of part c-d are having slight difference due to approximation in molar volumne in the textbook which here is caluculated to the approximation of 7 decimal digits
//given values
T=175;
v=0.00375;
Pex=10000;//experimentaion determination
//from Table A-1
R=0.2968// in kPa m^... |
4d6b277540365991a19da20a36502ff350d054cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH6/EX6.3/Ex6_3.sce | 7fbb919a6aac08c1544762a336695c642865a685 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_3.sce | //input impedance
//given
clc
Zl=0//ohm
Zo=50//ohm
Bl=2*%pi*0.1//((2*pi/lem)*lem)
Zi=Zo*(Zl+%i*Zo*tan(Bl))/(Zo+%i*Zl*tan(Bl))//the input impedence in ohm
Zi=round(Zi*100)/100///rounding off decimals
disp(Zi,'the input impedance of 50ohm loss less transmission line')
|
4a70d88c113f427bdf5053b19766df7f146d3eab | 3179d00cc8691c0d5ba205f11746e75a7aca22ad | /src/determineAcquisitionSettings.sci | eaee26f536dcd2509af00bea22070080aa195618 | [
"MIT"
] | permissive | dadul96/Siglent_SDS1202X-E_VISA_Scilab | 64dcc838edac416abf01e77be9e7c21d13643ee1 | 62db6cc86d8dbf27827f693ffd76e02509e2f2d8 | refs/heads/master | 2022-04-16T22:27:51.428430 | 2020-04-19T08:57:10 | 2020-04-19T08:57:10 | 256,939,143 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,350 | sci | determineAcquisitionSettings.sci | function [vDiv, tDiv, offs, sCount, sRate] = determineAcquisitionSettings(connStr, channel)
//Returns the acquisition settings of the Siglent SDS1202X-E oscilloscope.
//
//[vDiv, tDiv, offs, sCount, sRate] = determineAcquisitionSettings(connStr, channel)
//connStr : enter VISA USB resourcename
// (e.g. 'U... |
16e19187b9af13172c72ef02aec5871c16585478 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH1/EX1.16/Ex1_16.sce | f475a38403ff1292e52344118c5b6bc16c6fa046 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_16.sce | // Example 1.16
clc;
clear;
close;
// Given data
format('v',6);
Vz= 1.8;// in V
VBE= 0.7;// in V
RE= 1;// in kΩ
Beta= 180;
VB= Vz-VBE;// in V
IE= VB/RE;//emitter current in mA
// Formula : I= IC= IE*(Beta/(Beta+1))
IC= IE*Beta/(Beta+1);// in mA
disp(IC,"The value of current in mA is : ")
|
10e1de2047d0d219cabe8c267297e20ebf598bf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH3/EX3.4/Example3_4.sce | 08165c97c57c884c40fa579133ba46d0372d32ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,124 | sce | Example3_4.sce | //Example 3.4
//Program to estimate critical radius of curvature at which large
//bending loss occur
clear;
clc ;
close ;
//Given data for part (a)
n1=1.500; //metre - LENGTH
delta=0.03; //*100 percent - RELATIVE REFRACTIVE INDEX DIFFERENCE
lambda=0.82*10^(-6); //metre - OPERATING WAVELENGTH
... |
4fec1f25f0d23b38b1bd36d0d52e01bd8af35858 | d7ec0352fdd4cf451ee9dd6bac2218fb96c24c0f | /src/gui/qml/img/item_header.sci | 0d02e09477958461c3eb22d9f6e4995f4759675e | [] | no_license | mireq/facedetect | d3fc340926a54e144dcf09ef4a814a77cbc9afde | 94ab039149efb2d8f1496c6042bf3a6b133bb49e | refs/heads/master | 2021-01-22T04:33:34.209921 | 2011-05-13T01:08:47 | 2011-05-13T01:08:47 | 1,525,248 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sci | item_header.sci | border.left: 1
border.right: 1
border.bottom: 0
border.top: 35
source: item_header.png
|
148693da14f9915d2ea0d1aec5e2a200baff1dd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH2/EX2.13/EX2_13.sce | 92757177207844b9462522c25b0d6e8a8ef95a66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | EX2_13.sce | //calculating speed of machine
//Chapter 2
//Example 2.13
//page 101
clear;
clc;
disp("Example 2.13")
disp("At generator condition")
P=50000; //power delivered in watts
V=250; //voltage in volts
Ra=0.02; //armature resistance in ohms
Rf=50; //field resistance i... |
267be09b903e8f298efdb021f4ad5c8804929c96 | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/demos/xls_link_setget_datas.dem.sce | 1aa94768ec39b2ff7652eb97323e5a2c7a972f92 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,060 | sce | xls_link_setget_datas.dem.sce | // ====================================================================
// Copyright DIGITEO 2010
// Allan CORNET
// ====================================================================
// Call a new instance of Excel
r = xls_NewExcel();
// Create a Workbook
xls_AddWorkbook();
// Set Worksheet 1
xls_SetWorksheet(1)... |
3a9a017c35ac487382a685c301ff4d88571d5309 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH9/EX9.1/Ex9_1.sce | 1c3b111e77df1d44d799c5cf711b8ff5d1329704 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | Ex9_1.sce | clear
//
//variable declaration
//summation of all horizontal forces is zero & vertical forces is zero.
P1=(10) //Vertical down Load at 4m from A,KN
P2=(15) //Inclined down Load at angle 30° at 6m from A,KN
P3=(20) ... |
b9d8db5bbea1b3d2322b51429a915ff1cc886ef3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH9/EX9.1/Ex9_1.sce | 80246982b36dab434651025c367b80bbfce5cecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,067 | sce | Ex9_1.sce |
// Theory and Problems of Thermodynamics
// Chapter 9
// Air_water Vapor Mixtures
// Example 1
clear ;clc;
//Given data
X1 = 0.3 // volume fraction of N2
X2 = 0.5 // volume fraction of He
X3 = 0.2 // volume fraction of CO2
m = 3000 // mass fl... |
40b4a412563623fa004d15572e789ecc961271e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH7/EX7.3/S_7_3.sce | e8c89eef39fb6b7dd49aaa61c79b78d609ff91d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,358 | sce | S_7_3.sce | clc;
//Drawing of shear and bending moment diagram
printf("Given problem is for drawing diagram, this diagram is drawn by step by step manner.\n ");
F_AC=7200;//N/m, distributed load applied at A to C
F_E=1800;//N, force applied at E
AC=0.3;//m, perpendicular distance between A and B
CD=0.15;//m, perpendicular di... |
b9a5edebe6cbffd034c70d226d82fc8a074f0dbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH25/EX25.3/25_3.sce | bb32fce3abfd3fc22859456a3cb237c9682e7c6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 25_3.sce | clc;
// page no 922
// prob no 25_3
L=45;
T_Rtx=50; T_Rrx=75; T_Rf=100;
T_RT=sqrt(T_Rtx^2 + T_Rrx^2 + T_Rf^2);
// a) for NRZ
fb=1/T_RT;
disp('GHz',fb,'a) The maximum bit rate for NRZ');
// b) for RZ
fb=1/(2*T_RT);
disp('GHz',fb,'b) The maximum bit rate for NRZ'); |
9ce6fc0cd862cd19369b80ad598b22f34dce4b33 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MatrixOperations/FLEigenSystemUdt-TD-01.tst | 851484548ff7b83cbfca8ddeab3e298d24b117f6 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31,747 | tst | FLEigenSystemUdt-TD-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
9bd94867f82a488ca5f0f19565b85ddd6936b2ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH11/EX11.2/Example11_2.sce | e4411ed970733cb5d85e3690b613127602a58a55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 993 | sce | Example11_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 4: OVERHEAD LINE INSULATORS
// EXAMPLE : 4.2 :
// Page number 183-184
clear ; clc ; close ; // Clear the work space and ... |
48faf4a1c99317a8efacd153871c9e1a1776ffbd | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Physics/Optics/_Optics.SCI | bf23dcb0220055c1f7575e35019c4edc64319717 | [
"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 | 9,284 | sci | _Optics.SCI |
#Initialisation of some internal variables
createvar(opticframe);
ListOpticalObjects=list;
ListRays=list;
#Call this function to define the frame wherein the optics are defined and calculated
function SetOpticFrame(iframe)
{
opticframe=iframe;
}
#Converts Hue-Saturation-Intensity to a color variable
function HSI2... |
eb2ab6fa43c43de9d218c2355d7ab34492fe8814 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH3/EX3.2/Ex3_2.sce | a830b340a3d95cad4b2e0a9f63489a67bc7dbfd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | Ex3_2.sce |
//Example No.3.2.
// Page No.98.
//To calculate numerical aperture and acceptance angle.
clc;clear;
n1 = 1.54;//Refractive index of core.
n2 = 1.5;// Refractive index of cladding.
no = 1;
NA = sqroot((n1^(2))-(n2^(2)));//Numerical Aperture.
printf("\nThe numerical aperture of the fibre is %.4f",NA);
t = asin... |
c7187047ef6f7f389e4b8cd5b45ff440a2f4120f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.30/Ex4_30.sce | 41944455b54c431f8352838fb30a5d3c8d93ee63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex4_30.sce |
//find the equation of voltage and current
C=10e-6;//farad..
R=300;//ohms
//i=2 sin 314t
V=100;//volts
f=50;//hertz
Xc=1/(2*%pi*f*C);
Z=sqrt(R^2+(Xc^2));
Im=2
Vm=2*Z
coso=R/Z;
o=acosd(coso);
disp('The time equation of voltage Vr = 600sin(314t)' , 'The time equation of voltage Vc = 636sin(wt-90)')
|
2d361698f14df46307bd51d444f193e72b9221fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH3/EX3.25/Ex_3_25.sce | 8d852a5f77e8c2059743017e7686e2750f66aa7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | Ex_3_25.sce | // Exa 3.25
clc;
clear;
close;
// Given data
R1= 10;// in kΩ
R1=R1*10^3;// in Ω
R2= 10;// in kΩ
R2=R2*10^3;// in Ω
I_C=.5;// mA
V_T= 0.025;//in V
I_C= I_C*10^-3;// in A
V= 10;// in V
Vth= V*R1/(R1+R2);// in V
Rth= R1*R2/(R1+R2);//in Ω
vo= I_C*Rth;// in V
vi=V_T;// in V
vo_by_vi= vo/vi;//in V/V
disp(... |
00e15dc93c910a5067458f3d6460ece5057fc779 | 7d91f8b3cb8d228617c08467d41edcff14343b7f | /ode1_ex3.sce | f27ad2fed1f8a577f72a356b8a0a6cab4d3f0594 | [] | no_license | szymczykmichal/KWP | aae875431be6fa9c1a370016396f2476cb06f793 | 77cbdf39521e41e2bbb9aa9c00fbba0766ec052e | refs/heads/master | 2020-04-26T08:50:05.726038 | 2019-04-24T19:47:19 | 2019-04-24T19:47:19 | 173,435,873 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,000 | sce | ode1_ex3.sce | clear, close
exec ode1.sci;
clc
// parametry
EI = 250e9; // sztywność na zginanie
P = 5000; // wartość siły skupionej
L = 2000; // długość belki
// warunki początkowe
h = 100; // krok
x = 0:h:L; // x <0,L>
function dydx = pochodna(x,y,P,EI,L)
// równanie m... |
1cadb7753f7243db9a38b81dcd5eb24735c537de | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-h5-wrappers-new/C/H5T/testfiles/110/h5ex_t_cpxcmpd.tst | 1b191d15ca7872ff591d5aaa8caee4fb4440ca55 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | openhpc/ohpc | 17515db5082429eb9f250f12bf242b994beb715f | 725a1f230434d0f08153ba1a5d0a7418574f8ae9 | refs/heads/3.x | 2023-08-19T02:15:14.682630 | 2023-08-18T19:33:51 | 2023-08-18T19:34:18 | 43,318,561 | 827 | 247 | Apache-2.0 | 2023-09-14T01:22:18 | 2015-09-28T18:20:29 | C | UTF-8 | Scilab | false | false | 221 | tst | h5ex_t_cpxcmpd.tst | DS1[0]:
Vehicle name :
Airplane
Sensor locations :
Exterior (static)
Intake
Intake manifold
Exhaust manifold
DS1[1]:
Vehicle name :
Automobile
Sensor locations :
Roof
|
57daa18c10e0da7ac9a87c83e26b99ff1d29291f | 2c133950bf9f7b9f23a448ca2c879913f8bea028 | /Part1.sce | d3ec6d40d0df5f22c780c7ab63fdc04f0d23ed22 | [] | no_license | mrcastr0/P166 | b42a52de60af99a01c0311e9ed99cd4e6ba52207 | 3aaeff78afe3ffc2cb3fd00f47de7630d7ff592e | refs/heads/master | 2020-04-27T13:25:43.396654 | 2019-03-07T19:39:12 | 2019-03-07T19:39:12 | 174,369,602 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,569 | sce | Part1.sce | //Circle
n = 128;
x = linspace(-1,1,n);
y = linspace(-1,1,n);
[X,Y] = ndgrid(x,y);
r = sqrt(X.^2 + Y.^2);
circle = zeros(n,n);
circle(find(r<0.3)) = 1;
imwrite(circle,'C:\Users\Marc Castro\Desktop\p166\Part1\Outputs\circle.png');
//Circle FFT
circle_load = imread('C:\Users\Marc Castro\Desktop\p166\Part1... |
042480868cbe917145316c358d4dd4031c97abf3 | 9d2c9394c6b6997318b9d04556462c9bba639045 | /Replication 2/Dave_RIFData/Dave_RIFData/Sub1/VP9_OneBack.sce | bd176124fa285cbe2b1b6e3b6c00f0fa8d6b094a | [] | no_license | rettopnivek/Wimber_et_al_replication_3 | 673b156d8d18d58b92b2f05fedef87976e787089 | 8dbc22329093a61b1e5cb8aac3feca45a5c82d06 | refs/heads/master | 2020-12-31T04:42:39.856717 | 2018-02-01T15:49:15 | 2018-02-01T15:49:15 | 58,006,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,881 | sce | VP9_OneBack.sce | array <int> finalSeq[432] = {13,50,69,29,42,45,47,47,64,6,6,57,25,41,43,66,23,14,2,46,31,67,46,46,32,43,18,18,5,5,19,37,59,68,54,26,28,28,50,50,11,53,70,14,71,15,40,3,34,42,42,43,19,43,3,61,12,30,29,41,21,17,17,26,7,7,46,72,70,70,55,55,31,11,27,27,34,47,1,12,39,32,32,54,11,7,7,9,27,19,33,57,41,41,25,65,38,49,57,7,30,30... |
5f94208e0811964a07e2762d563063c7359a9949 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH8/EX8.21/Exa_8_21.sce | 0014814a81de12898f11f7b1a3b5c40a98936f73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_8_21.sce | //A four point decimation-in-time FFT algorithm
x=[1 2 1 0];
w=-%i;
xdft=[0 0 0 0];
for i=1:4
for j=1:4
xdft(i)=xdft(i)+x(j)*w^((i-1)*(j-1));
end
end
XDFT=dft(x,-1);
xdft,XDFT |
e8c1eddde4379100824d658a07ae580a4f7fcaee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH5/EX5.6/5_6.sce | 965dcd8a6d976cf1ed1b37c6257723148b33141a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | 5_6.sce | clear;
clc;
n=4;
v2=14.2;
v3=20;
a=14.2;..//coeffiecients of the quadratic equation 14.2*k*k+22.6*k-5.8
b=22.6;
c=-5.8;
k=(-b+sqrt(b*b-4*a*c))/(2*a);
v1=v2/(1+k);
v4=(1+6*k+5*k*k+k*k*k)*v1;
V=v1+v2+v3+v4;
vl=sqrt(3)*V;
eff=V/(n*v4);
printf("\n the string efficiency is: %.2f percent",eff*100);
|
26e56d6aa59e3acf78bc7446d79932fccd5b97cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH3/EX3.13/Ex3_13.sce | a75250a16f70342c06ca3d56d299c5f893228f5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | Ex3_13.sce | ////Given
Rh=1.09678*10**7 //m-1
Rhe=1.09722*10**7 //m-1
//Calculation
Mr=(Rhe-Rh)/(Rh-(Rhe/4.0)) //ratio of electron mass
//Result
printf("\n Ratio of the electron mas to the proton mass %0.2f *10**-4",Mr*10**4)
|
bec5589e41d607f2a8fc75950e0ba165561ee94d | a439c420539294c6e178cc89c43c4231246f9cbe | /Scripts/06. Scripts.sci | 0d930f76e4ce606ee38a7ba9b2af237d5e541f59 | [] | no_license | PirateKing19902016/Scilab-Spoken-Tutorials | b7927e196acbefa47abdbdeb326d37385d5cbc34 | a110fc425c123f7041cb9ee8eca42ce08619ae60 | refs/heads/master | 2021-05-02T06:14:37.089440 | 2018-02-09T16:23:27 | 2018-02-09T16:23:27 | 120,855,481 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | sci | 06. Scripts.sci | function [x,y] =polar2rect (r,theta)
x = r*cos(theta*%pi/180)
y = r*sin(theta*%pi/180)
endfunction
function [degrees] = radian2degrees (radians)
degress = radians *(180/%pi)
endfunction
|
6ee03a47d67082fbb93e18db484b2a3a587e0438 | 717ddeb7e700373742c617a95e25a2376565112c | /494/CH8/EX8.7/8_7.sce | 43ffa89fa6e2d4829d004dc18140574ce1ee43ec | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 735 | sce | 8_7.sce | //All the quantities are expressed in SI units
T_inf = 288; //freestream temperature
p_inf = 1; //freestream pressure
p1 = 0.7545; //pressure at point 1
M = 0.9; ... |
170ff370d2fd29f6c19eb228608f2a39bb054a80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH30/EX30.9/Example30_9.sce | 5a6a0ae4cf7363095620d7818bb8d462fab4445f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,380 | sce | Example30_9.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 4: UNSYMMETRICAL FAULTS IN POWER SYSTEMS
// EXAMPLE : 4.9 :
// Page number 519
clear ; clc ; close ; // Clear the work spac... |
c0c095e7c0d0dd08b0b8d6d317d714b2b8cdccd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH2/EX2.8/Ex2_8.sce | 5ef7cea63fb1042ff0d16aa371e0a56b69c247fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | Ex2_8.sce | //Example 2.8
clc
clear
function [f,df] = fun8(x)
f = x.^3 - x - 1;
df = 3*x.^2 - 1;
endfunction
xold = 1;
maxit = 5;
iter = 1;
while (1)
[fx,dfx] = fun8(xold);
xnew = xold - fx/dfx;
if iter == maxit then
break
end
xold = xnew;
iter = iter + 1;
end
root ... |
509acdbc65e25684420096b58d245cac25dc6b5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH6/EX6.2/Ex6_2.sce | d862da17e96e932b396c71c1da5d8335d856723b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 968 | sce | Ex6_2.sce | //Ex6_2 Pg-335
clc
printf("Draw a vertical line from temperature axis at 50 degree \n celcius to cut the 71 degree celcius line. Join the point of \n intersection P through a horizontal line at Y-axis. The point \n where it intersects Y-axis gives the value of permissible \n dissipation equal to 45%% of maximum ra... |
792915553b5004b5011f6716d4dbb030c0eab429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH12/EX12.11/example_12_11.sce | 33c64db2cc5de8224c14ecffca626a28ab68da31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,309 | sce | example_12_11.sce | //Chapter 12
//Example 12.11
//page 488
//To plot swing curves for fault cleared at 0.275s and 0.08s of a multimachine system
clear;clc;
xd1=%i*0.067;xd2=%i*0.1;
//primitive admittances of the lines
y45=1/(0.018+%i*0.11); B45=%i*0.113;
y51=1/(0.004+%i*0.0235); B51=%i*0.098;
y41=1/(0.007+%i*0.04); B41=%i*0.041... |
2c2c5770c76cab312127934e3588b053b8f6d743 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /fortnitge .sce | 42874fac4573c8c87e9588c039a7e839541ea3f8 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,044 | sce | fortnitge .sce | Name=fortnitge
PlayerCharacters=Cuboid - 100
BotCharacters=Cuboid - 100.bot;Cuboid - 100.bot;Cuboid - 100.bot;Cuboid - 100.bot;Cuboid - 100.bot
IsChallenge=false
Timelimit=30.0
PlayerProfile=A_air_pistol_frozen
AddedBots=target.bot;target.bot;target.bot;target.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTe... |
c868ee4351766ef58019367f874886763c481cc8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH1/EX1.43/ex_1_43.sce | d26533d17b4e6668e0a17064aadc1fca85997888 | [] | 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 | 533 | sce | ex_1_43.sce | errcatch(-1,"stop");mode(2);
//Example 1.43://limitting values and limiting error
;
;
R1=25;//in ohms
ER1=4;//percentage error
R2=65;//in ohms
ER2=4;//percentage error
R3=45;//in ohms
ER3=4;//percentage error
er= (ER1/100)*(R1+R2+R3);//magnitude of resultant resistance limiting error
r= (R1+R2+R3);//magnitude of result... |
4d5b3060ece7a4ff791a96317502c7691b6893e6 | 08a90c0d1bca9d01121747d1bfe2e55d78f7fb2f | /task1.sce | b5ed54f435e2fdfedfc8c58a9e5654d645a79d7d | [] | no_license | fatawesome/dsp-hw3 | bf3428c1eff50894aa3da04f81204d62158c4598 | c6cb8c63bb1e7ea3229c0c9219af4d8d7f6c7c56 | refs/heads/master | 2021-03-08T00:06:08.353867 | 2020-03-10T13:20:05 | 2020-03-10T13:20:05 | 246,305,447 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,151 | sce | task1.sce | drums = loadwave('DSP_2020_A3_DATA/drums.wav');
speech = loadwave('DSP_2020_A3_DATA/speech.wav');
violin = loadwave('DSP_2020_A3_DATA/violin.wav');
voice = loadwave('DSP_2020_A3_DATA/voice.wav');
all = loadwave('DSP_2020_A3_DATA/Violin_Viola_Cello_Bass.wav');
fir = loadwave('fir.wav');
function y=my_conv(f, g, filena... |
933bf8e38e1340f4bd2f64f9f2a1cd3109de6b6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH7/EX7.9/7_9.sce | 4bbf57799b218176baaf1ae8cfdf76ff6d0082c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | 7_9.sce | //example 7.9
clc; funcprot(0);
// Initialization of Variable
h1=3105.6;
h2s=2743.0;
nt=0.75;//effeiciency
k=nt*(h1-h2s);
disp(k,"Wcvdot/mdot in kJ/kg");
clear()
|
c5740ae4aab376d417f909a23d40ce094e94f1ee | be07c1e346737e6e38bb958d9a66f52f6da2180a | /Regression/SHAPE/SHAPE_2_W.tst | 178fe66ec970882ffc3ff098aebd6f6db522d3d8 | [] | no_license | dpreisser/Training | 1bc8840d646306d861f4c7610a28bb23667f06e5 | 97eb58c7963e4725d6a2ad9e8200ca9367c84061 | refs/heads/master | 2021-01-10T13:03:12.508795 | 2016-04-11T12:49:06 | 2016-04-11T12:49:06 | 54,963,561 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,579 | tst | SHAPE_2_W.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : SHAPE_2_W
-- Unit(s) Under Test: combo
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEAT... |
83278254743d3486c1b80195488d56f4a6c76e45 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/illuminationChange/test9.sce~ | 1cdef3fb9dd962f8589699f96a9521334bdda23c | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 121 | test9.sce~ | src=imread("../images/image_0197.jpg.jpeg");
mask = roiFreeHand(src);
c=illuminationChange(src,mask,1.9,0.8);
imshow(c);
| |
607d809edbd9c610ce74c1f7891100bed76ab1b7 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testexo2a.sce | f6543c4e920d4389ba4d00b584e86ac0cf0692a2 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | testexo2a.sce | n=6;m=5;
L=([1:n]')*ones(1,m); // row number
C=ones(n,1)*[1:m]; // column number
D=1+abs(L-C) // diagonal index
|
ebeec919ba3c21699aad086f1dd20e3f6887e4db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH12/EX12.10/Chapter12_example10.sce | a77bd7b415f9a3fe4f02db819ec580195b9fdf1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | Chapter12_example10.sce | clc
clear
//Input data
W=2.4//Work function in eV
l=6000*10^-10//Wavelength of the light in m
h=6.625*10^-34//Plancks constant in J.s
c=3*10^8//Velocity of light in m/s
e=1.6*10^-19//Charge of electron in Columbs
//Calculations
vo=((W*e)/h)/10^14//Threshold frequency in Hz*10^14
v=(c/l)/10^14//Frequency of ... |
a45f7ad8b0021fb7b2953f6994ce835573421725 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/armcov/armcov1.sce | 4b134f06acd66a18c0d8631bb54a614cb0c9ea87 | [] | 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 | 483 | sce | armcov1.sce | y=[0.107533427909220;
0.663644537348001;
0.970587221665023;
0.608390883863076;
-0.293540506673764;
-1.42787086899790;
-2.19233932281606;
-1.88376277475872;
0.351621088370924;
4.20456888982602;
7.02440717036035;
6.65058196622351;
2.57013250348360;
-3.50487012663216;
-8.16852139220758;
-8.56013313698647;
-4.2042820915121... |
1e7a1659a1250c46ac46e931c32b38a3ed07d8d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH2/EX2.1/2_1.sce | ec4a758c84e6acd09d2e649b470d71e24f4d7a35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | 2_1.sce | clear
clc;
dia=1.213;
dist=1.25*100;
f=50;
rad=dia/2;
effrad=.7788*rad;
L=4d-7 * log (dist/effrad)*1d3;
X=2*%pi*f*L;
mprintf("L=%.2f *1e-4 H/km, X=%.1f ohm/km",L*1e4, X);
|
06125a07ac3f111bd8dc72305707646c95ad19b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.48/example48.sce | abecfb48f2296acc8a11ed1329be51ddefc9c79c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | example48.sce | //Chapter-11 example 48
//=============================================================================
clc;
clear;
//Given data
Vo = 3*10^8; // vel of EM wave m/s;
PRF = 1000; // pulse repetitive freq. in Hz
PW = 4*10^-6; // Pulse width in sec
//Calculations
Runamb = Vo/(2... |
45bea1a9b636968aa88c7bb838d8644254c5459f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.39/ex1_39.sce | 68e3d075932243c509e005f23003452b1ea71c71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | ex1_39.sce | // Exa 1.39
clc;
clear;
close;
format('v',6)
// Given data
V = 10;// in V
R = 10;// in ohm
// Current through resistance,
I = V/R;// in A
disp(I,"Part (a): The current through resistance in A is : ")
disp("Part (b) : Current through 10 ohm resistance will be Zero")
disp("Part (c): Current will be zero")
di... |
00616315332aa6ffb555e68d8369db0c3d040f49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH10/EX10.1a/1a.sce | 3482112cf75a7f5e96f3b8e15d27e5a5af1c8859 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | 1a.sce | // Caption: Finding maximum inductance for phase
clear;
close;
clc;
N=100;
U_o=4*%pi*10^-7;
alpha=%pi/3;
R=3.8*10^-2;
D=0.13;
g=2.54*10^-4;
L_max=N^2*U_o*alpha*R*D/(2*g);
disp(L_max,'maximum inductance for phase 1=')
|
6bae13acd85b0ec121155bfd1bf56ddfd4238dcb | 3cc9acf95ce241492ba31e6e51cb0e5d994f2490 | /Project 1/Palindrome.tst | b64c0edb3995f5cf6f05706dc8d0c6df897d0089 | [] | no_license | alisaylin/CSCE-312 | d2d0ad1d4f01b1d6f8332038acc140435f448997 | c2d8821e39e0a454f897b49f47b5dbdafe1aa165 | refs/heads/main | 2023-05-08T09:55:09.799838 | 2021-05-26T01:52:46 | 2021-05-26T01:52:46 | 370,875,567 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,021 | tst | Palindrome.tst | //Test Stimulus File for Palindrome Chip
load Palindrome.hdl,
compare-to Palindrome.cmp,
output-file Palindrome.out,
output-list p%B3.1.3 q%B3.1.3 r%B3.1.3 s%B3.1.3 t%B3.1.3 out%B3.1.3;
set p %B1,
set q %B1,
set r %B0,
set s %B1,
set t %B1,
eval,
output;
set p %B1,
set q %B0,
set r %B0,
set s %B0,
set t %B1,
eval,
o... |
7c124848d8a96312cc17181ca82fa38bacf319c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH7/EX7.9/ch7_9.sce | 0c440c7288a418be2b59f69302cafb6434156976 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,370 | sce | ch7_9.sce | clc;
clear;
printf("\t\t\tChapter7_example9\n\n\n");
// determination of required current
// properties of air at film temperature (300 + 500)/2 = 400 K from appendix table D1
rou= 0.883; // density in kg/cu.m
cp= 1014; // specific heat in J/(kg*K)
v= 25.90e-6; // viscosity in sq.m/s
Pr = 0.689; // Prandtl Number
k... |
a1d77d0db39955a184d386a7fe886c37c3a08685 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH7/EX7.3/Ex7_3.sce | 4565f5f56ed8df0e9dd10fff851034df29555aa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | Ex7_3.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 7 Field Effect Transistors Pg no. 224 and 225
clear;
clc;
//Given Data
IDSS=10D-3;//drain saturation current in amperes
VP=6;//pinch-off voltage in volts
VGS=-3;//gate to source voltage in volts
//Solution
disp("(i)");
ID=IDSS*(1-VGS/(-VP))^2;//drain cur... |
f6eddac2bdc3669850c51ed47e17cca77b88075d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH6/EX6.4/6_4.sce | 0371796a7be06663cf5730b56d4ae00939690552 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_4.sce | //Example 6.4
//Gaussian Elimination Method without Pivoting
//Page no. 227
clc;clear;close;
A=[0.3*10^-11,1,0.7;1,1,0.9]; //augmented matrix
//triangularization
for i=1:3
B(1,i)=A(1,i)
B(2,i)=A(2,i)-(A(2,1)/A(1,1))*A(1,i)
end
disp(A,'Augmented Matrix=')
disp(B,'Triangulated Matrix=')
... |
7e219f8692c72135b28f5e5b63a47c6161b3ed54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH6/EX6.10/10.sce | a3628ee11c41a381c969715377fd68f81601baf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | 10.sce | clc
m_O2=1; //kg
m_H2=1; //kg
p=1*10^5; //Pa
T_O2=450; //K
T_H2=450; //K
T0=290; //K
R0=8.314;
M_O2=32;
M_H2=2;
R_O2=R0/M_O2;
v_O2=m_O2*R_O2*T_O2/p;
R_H2=R0/M_H2;
v_H2=m_H2*R_H2*T_H2/p;
v_f=v_O2 + v_H2; //total volume after mixing
dS_O2=R_O2*log(v_f/v_O2);
dS_H2=R_H2*log(v_f/v_H2);
dS_net=dS_... |
be324f25188127e3c5209a18e7b1058b7c280e6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH1/EX1.1/ex1_1.sce | 3f5a001422409dbad5f5ffa43cae669d49d427cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | ex1_1.sce | // Example 1.1, page no-8
clear
clc
r=0.45*10^-3 //m
L=0.3 //m
rho=17*10^-9 //ohm-m
//Calculations
R=rho*(L/(%pi*r^2))
printf("The Resistance of the wire is %.3f ohm",R)
|
b6a52ec61492b57962538f4c4e0d7650b3a56d14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.1/Ex12_1.sce | b59567303eb6f177e0971537f34205dc1abae494 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,122 | sce | Ex12_1.sce | //=====================================================================================
//Chapter 12 example 1
clc;clear all;
//variable declaration
Z1 = 100; //resistance of arm in Ω
Z2 = 50; //resistance of arm in Ω
Z3 = 200; //resistance of arm in Ω
Z4 = 1... |
1886bdd230ad555626efc064ac915698135e2fc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH16/EX16.5/Ex16_5.sce | 26c4549f34d05ab4bc1f6a7cfc085e5fde66f69c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex16_5.sce | //Example 16-5,Page No - 661
clear
clc
T = 9.2
theta = 20
sin20 = 0.342
D_nautical = T/12.36
D_statute =D_nautical*0.87
A = D_statute*0.342
printf('\nThe line of distance to the aircraft in \nthe statute miles %.3f ',D_statute)
printf('\n\nThe altitude of the aircraft is %.2f mi and in feet it is 11... |
1aaffbcd45f26d5bb71f10d1a313fd7ef625577b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH6/EX6.6/Ex6_6.sce | 3b83db910997d19601bcfb5389507ffa873bff57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sce | Ex6_6.sce | // Ex6_6 Page:104 (2014)
clc;clear;
e = 1.6e-019; // Energy conversion factor, J/eV
h_cross = 1.054e-034; // reduced Planck's constant, Js
r = 1.131e-010; // Intermolecular separation of CO molecule, m
m_Carbon = 19.9217e-027; // Mass of carbon atom, kg
m_Oxygen = 26.5614e-027; // Mass of oxygen at... |
ebcd08d1667d6950dbf7ca41f82821b256bcdad2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH22/EX22.2/Ex22_2.sce | f52b445f9efccfdb63e92d947180d9ef508e0ef6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | Ex22_2.sce | clc
clear
//Initalization of variables
h3=85.282 //Btu/lb
s2=0.16392
sf=0.16798
//calculations
sfg=sf-0.023954
x3=-(s2-sf)/sfg
h2=78.335 - x3*67.651
h4=26.365 //Btu/lb
h1=h4
ref=h2-h1
work=h3-h2
cp1=ref/work
h2d=78.355
h1d=26.365 //Btu/lb
h3d=87.495 //Btu/lb
ref2=h2d-h1d
work2=h3d-h2d
cp2=ref2/work2... |
eeea8c7c4f2f463ed0bbcd7512c9955d402303f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH4/EX4.4/Ex4_4.sce | a64ee746f222917cba6ad378d7ac285c001cce48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_4.sce | clear;
clc;
//Example 4.4
b=100;
Vbe=0.7;
Va=100;
V_T=0.026;//(V)
//from dc analysis
Icq=0.95;
Vceq=6.31;
//ac analysis
r_pi=b*V_T/Icq;
printf('\nsmall signal resistance=%.2f KOhm\n',r_pi)
g_m=Icq/V_T;
printf('\ntransconductance=%.3f mA/V\n',g_m)
Rs=0.5;
Rc=6;
ro=Va/Icq;
printf('\nro=%.2f KOhm\n',ro)
... |
3b62679a560f71a5d42e9fdb8fcc4967b9ebb459 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH30/EX29.10/EX29_10.sce | 32e4da060e52f52b79af5aa93b52bc07913748b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 810 | sce | EX29_10.sce | // Grob's Basic Electronics 11e
// Chapter No. 29
// Example No. 29_10
clc; clear;
// Calculate the ac output voltage, vout.
// Given data
Rc = 1.2*10^3; // Collector resistance=1.2 kOhms
Re = 2.2*10^3; // Emitter resistance=2.2 kOhms
Rl = 3.3*10^3; // Load resistance=3.3 kOhms
Rg = 600; ... |
47e4e5ee3295b1cecd7d009f5f8b98b29c0d7f98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH5/EX5.13/exa_5_13.sce | 7edfa62be14d63e43b8b9fea741e76d8dbfd7a94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_5_13.sce | //Exa 5.13
clc;
clear;
close;
//given data
Cp=0.138;// in KJ/kg-K
m=8.33;// in kg/sec
Pr=0.0238;
k=8.7;// in W/mk
d=1.5*10^-2;// in m
miu=1.5*10^-3;// in kg/ms
Re=4*m/(%pi*miu*d);
Pe=Re*Pr;
// Nu = h*d/k = 7+0.025*Pe^0.8
h= (7+0.025*Pe^0.8)*k/d;// in W/m^2 degree C
disp(h,"Heat transfer coefficient in ... |
1a39e0dc09477e2c43a0b706f7005e5dafa389a4 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_assertBadSort2.tst | 6b816c11f2c1cc1b76eced224cfd05f8b5e097b7 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 55 | tst | err_assertBadSort2.tst | ; assert with wrong sort
(set-logic QF_LIA)
(assert 1)
|
70bac8331404ff7204bb7afe2737be6a28d0f9d9 | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_27/results/27/lvar-2/result0s0.tst | fe6b165b60dae273cd9605ec8de31a22c8bf8226 | [] | no_license | Tiburtzio/TFG | 3132fd045de3a0e911e2c9e23e9c46e1075a3274 | 864ce4dd00b7f8fe90eafa65b11d799c5907177e | refs/heads/master | 2023-01-03T12:44:56.269655 | 2020-10-24T18:37:02 | 2020-10-24T18:37:02 | 275,638,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,750 | tst | result0s0.tst | @relation unknow
@attribute mcg real[0.11,1.0]
@attribute gvh real[0.13,1.0]
@attribute alm real[0.21,1.0]
@attribute mit real[0.0,1.0]
@attribute erl real[0.5,1.0]
@attribute pox real[0.0,0.83]
@attribute vac real[0.0,0.73]
@attribute nuc real[0.0,1.0]
@attribute class{MIT,NUC,CYT,ME1,ME2,ME3,EXC,VAC,POX,ERL}
@inputs... |
13d336353f3da73e16c1c5b2f51abe5629326b16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.3/exa_2_3.sce | 3747ce8236ce47db6323e8c092b650add6b5b0d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | exa_2_3.sce | // Exa 2.3
clc;
clear;
close;
// Given data
rho= 0.60;// in Ωm
q=1.6*10^-19;// in C
miu_n= 0.38;// in m^2/vs
miu_p= 0.18;// in m^2/vs
sigma= 1/rho;// in (Ωm)^-1
ni= sigma/(q*(miu_n+miu_p));// in /m^3
disp(ni,"The intrinsic carrier concentration per meter cube is :")
|
7efc31a11a4e6ddd73947699fdeaa3a84a6df072 | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /tests/test_100/test15.tst | fa8a0a22a74147d1b2c6210cd1fb0aa16eb1e03a | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | tst | test15.tst | 846 5980 2883 7754 2474 5951 9066 7423 8456 2595 7648 8167 2368 9098 6059 8190 7649 1047 8793 2553 6640 9617 9530 2907 3783 524 1951 1736 5574 2069 2451 6353 6344 1269 6798 6004 8211 2793 6945 5982 3449 587 6463 822 1700 8718 5762 9586 6579 8053 8147 4853 7449 7487 4079 7586 2167 6634 9099 4994 3508 2048 1030 5552 9992... |
783f568d56dfe597869d75e14192adcb7db9c55e | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH8/EX8.1/EX8_1.sce | a9bda8df8be51787d84abd7ea705449ef0b7becb | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 845 | sce | EX8_1.sce | clc;funcprot(0);//Example 8.1
//Initilisation of Variables
Tci=20;......//Inlet temparature of cooling water in degrees celcius
Tco=40;......//Outlet temparature of cooling water in degrees celcius
Thi=180;......//Inlet temparature of fluid on hot oil in degrees celcius
Tho=140;......//Outlet temparature of fluid ... |
ef1aa3880cd916f6227a549d4e8e89298d1d75e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.13.2/ques13_2.sce | 519d36c7dd39d2700453ed9cddbeca323d21805c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | ques13_2.sce | //error no output
//ques11
disp('To find the inverse laplace transform of the function');
syms s t a
f=s/(s^4+4*a^4);
il=ilaplace(f,s,t);
disp(il);
|
188f7f0aaa2e378c906572cdf5dba182fa5af9bb | 12888c39d191ce39344a639c8e0f6944db6fad87 | /SSAT.sce | d28e0196c516266117b43d574cad9d483d21fd14 | [
"MIT"
] | permissive | bramzandbelt/SSAT | 3e4acd4c198d9ae7153edc204b1a63bfdad856dc | 2c3e6d648cfe5103d95db2b9d77b41e3c55cc152 | refs/heads/master | 2021-01-20T12:10:03.251654 | 2017-08-18T11:22:52 | 2017-08-18T11:22:52 | 86,364,102 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,705 | sce | SSAT.sce | # HEADER
scenario = "Stop-signal anticipation task";
response_matching = simple_matching;
active_buttons = 2;
button_codes = 1, 2;
default_background_color = 100, 100, 100;
default_font = "Arial";
default_font_size = 40;
# SDL
begin;
picture{
text{caption = "Stop-Signal Anticipation Task (SSAT) \nCopyright (c) 2017 B... |
00f5c6e149a0191f59db5f48c8dda6891dffd211 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.22/22.sce | 40d145d54bdd99f7e3bf6c9f4ad25cfed73af67e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | 22.sce | clc
r1=15.3; //V1/V2
r2=7.5; //V4/V3
p1=1; //bar
T1=300; //K
n_mech=0.8;
C=42000; //kJ/kg
y=1.4;
R=287;
cp=1.005;
cv=0.718;
V2=1; ////Assuming V2=1 m^3
T2=T1*r1^(y-1);
p2=p1*r1^y;
T3=r1/r2*T2;
m=p2*10^5*V2/R/T2;
T4=T3/r2^(y-1);
Q_added=m*cp*(T3-T2);
Q_rejected=m*cv*(T4-T1);
W=Q_added-Q_rejected;... |
6bf9170c005358a09b15056471193f819fb6c53c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH25/EX25.2/25Ex2.sce | 4d35db7136d5ead5c02d189bd08bfeff52543735 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | 25Ex2.sce | //Chapter 25 Ex 2
clc;
close;
clear;
long=12; breadth=8; height=9; //all in meters
ldia=sqrt(long^2+breadth^2+height^2);
mprintf("The length of longest pole is %d meters",ldia);
|
916a44edcd6ecbe95504d97879246b5743671767 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electronic_Devices_And_Circuits_J._B._Gupta_2444.zip/Fundamentals_Of_Electronic_Devices_And_Circuits_J._B._Gupta_2444/CH1/EX1.18/ex1_18.sce | ce571ee32fba52ad7f4141cae9d6e54dae1b0dd3 | [] | 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 | 406 | sce | ex1_18.sce | errcatch(-1,"stop");mode(2);// Exa 1.18
;
;
format('v',7)
// Given data
E_CminusE_F = 0.24;// in eV
T = 300;// in K
T1 = 350;// in K
// E_CminusE_F = K*T*log(n_c/N_D) (i)
// E_CminusE_F1 =K*T1*log(n_C/N_D) (ii)
// From eq(i) and (ii)
E_CminusE_F1 = E_CminusE_F*(T1/T);// in eV
disp("The new position of the... |
5355f0128aeba8eef57c640554ba0a841a222ded | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH10/EX10.19/10_19.sce | 38f019e74aa3278b22e0b3c1d1d18b8d1ef22023 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | 10_19.sce | clear; clc; close;
Vi = 25*10^(-3);
Acl = 30;
SR = 0.5*10^6;//convertin from us to s
K = Acl*Vi;
fmax = SR/(2*%pi*K);
disp(fmax,'Maximum frequency(Hertz) = ');
|
fb62f37adf447c927baba5b1d7fd850513c92d9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH12/EX12.1/1.sce | 67b062b214e1adce3d7d7cd617edefbccb1dbebd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | 1.sce | clc
Q=0.05; // m^3/s
d=0.15; // m^2
h=8; // m
g=9.81; // m/s^2
l=90; // m
f=0.007;
u1=Q/(%pi/4*d^2);
t=-integrate('1/((h*g/l)+(2*f/d)*u^2)', 'u', u1, 0);
disp("Time for which flow into the tank continues after the power failure = ")
disp(t)
disp("s") |
331236d45f1719941d103776ae40610ba1570a9b | 207c864c3f938783d617dca78232e70445ae21e6 | /Ch10_III.sce | 2d3bb855a306d57441ecaa38d3b5398c7c4aed79 | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | Ch10_III.sce | deff('y=f(x)','y=cos(x)')
i=0:9;
x=%pi/10*i;
y=f(x);
z=[%pi/7];
d=splin(x,y);
[s,s1,s2,s3]=interp(z,x,y,d)
|
5c4e3089741b0fc2f7962f3da3e65b594a901425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH6/EX6.8/ex6_8.sce | 33768fb39cbf50f5b9f10566eb3f3dd7cac278f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | ex6_8.sce | clc;
hw=7.5; //half wavelength in metre
f=20*10^6; //frequency in Hz
a=0.03; //area in metre square
v=hw*a; //calculating voltage
disp(v,"Voltage in volt = "); //displaying result |
a8360b7cda43c18a6e818f1e2c25a8cc23eb9df0 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/hypo.tst | 96b82510ae0e92fc3567b0dad43d91e93e1358bf | [] | 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 | 588 | tst | hypo.tst | $thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + methane water 'Carbon dioxide'
thermo.hypo1 = HypoCompound '''
NormalBoilingPoint = 100 C
MolecularWeight = 108.0
LiquidDensity@298 = 880.0 kg/m3
'''
thermo.hypo2 = HypoCompound '''
NormalBoilingPoint = 373.15
MolecularWeight = 18
LiquidDensity@298 = 980... |
7286a8051a0a77dbccf694c269bd25a83c1a7d76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.22/Ex6_22.sce | 22a74043e1fcadc3cfd0fb40be4155466e4e5aa7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | Ex6_22.sce | clear;
clc;
printf("\t\t\tProblem Number 6.22\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.22 (page no. 264)
// Solution
//data
deltas=0.0743; //change in entropy //Unit:Btu/lbm*R
T1=460+100; //Fahrenheit temperature converted to absolute initial temperature
cv=0.219; //specific heat at constant volume... |
d62aedb2b69468e36bf576867f153a79bb2b54d3 | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/sessao01.sce | 6249f5034fe6d7d50e2c4d29009d4dd8ccfd5e89 | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 649 | sce | sessao01.sce | mode(7);
// Primeira sessao no Scilab (parte 1)
// define variável
a = 1;
// define outra variável (case sensitive)
A = 2;
// soma
a + A
// dois comandos na mesma linha
c = [1 2]; b=1.5
// um comando em diversas linhas
u = 1000000*(a*sin(A))^2+...
2000000*a*b*sin(A)*cos(A)+...
1000000*(b*cos(A))^2
// list... |
0b88db415fae9bf92af935c996c4dc8ed8fa941a | 52b803c4577043c12c9f408a2dd42031f5ea99aa | /S-shape.sce | 1f69e3aa20f90ad489391b2791870e56b2eb4ea1 | [] | no_license | radhikagoyal2july/triple-dividend | 436afe77fe027fa9ebb3f51cf5468982dfe49f5c | 3caee2d6e563ea1d43029fe243dcf55b284553b8 | refs/heads/master | 2021-09-02T10:01:40.133516 | 2018-01-01T18:07:33 | 2018-01-01T18:07:33 | 115,935,747 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | S-shape.sce |
getd lib
clf
x=0:.1:12;
for i=1:size(x,2)
y(i) = 1/(1+exp(5-x(i)))+0.05*x(i);
y2(i) = (1/(1+exp(5-10))+0.05*10)/10*x(i);
end
plot(x,y)
cthick(2)
plot(x,y2)
ccolor("dark blue")
cthick(2)
pensize = 2
myfontSize=5
ylabs("Wealth at time t+1")
xlabs("Wealth at time t")
a=gca();
a.sub_t... |
86d90e725d2f395ce686024d650b4c775b5dac43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH5/EX5.8/Chapter5_Example8.sce | e36a859ad849620090a0cdb5f93e569a3b390176 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,187 | sce | Chapter5_Example8.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-5, Illustration 8, Page 123
//Title: Estimation of humidity and saturation
//======================================================... |
01cba95ef22586593bbb89877f6a31c09d76775d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH11/EX11.5/11_5.sce | 4c295953169f7f2568540ac51fa64219a2fadc8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 891 | sce | 11_5.sce | clear all; clc;
disp("Ex 11_5")
//Using the equation for equilibrium position,
theta=asin(0)
printf('\n\n Theta = %0.0f degrees',theta)
m=10//mass in kg
W=10*9.81//weight of the mass in N
k=200//spring constant in N/m
l=0.6//m
theta1=acos(1-(W/(2*k*l)))//in radian
theta2=theta1*180/%pi
printf('\n\n Theta = %0.1f degree... |
3f8185cc7ef32a747d91fe78ac6eebaaf23f505a | e223a3388730b3a8ab63f7565156d5bf7a65e44b | /scilab/i2c_write.sci | a031c49233f52987f0f92ac78a3c01ccb73b6104 | [] | no_license | YSBF/flight_control | 1cfef21947c9497659eea3cf631b4de207a0a851 | fc74021c2bd62819ea4f637b45936ab2edf9e7af | refs/heads/master | 2020-04-15T21:47:09.796455 | 2018-06-07T21:28:29 | 2018-06-07T21:28:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sci | i2c_write.sci | function i2c_write(addr,data)
rw(reg.I2C_ADDR,addr);
rw(reg.I2C_DATA_W,data);
rw(reg.I2C_WEN,1);
while rw(reg.I2C_BUSY)
sleep(1);
end
if rw(reg.I2C_NACK)
error('No acknowledge from I2C');
end
rw(reg.I2C_WEN,0);
endfunction
|
496de0e3a99c012798fe4471d86c0ce8d970dfbb | 27be2dd7284eb8d71ea19e6b077993d7ff6afd16 | /squarewave_fourierserie.sce | b4ccd439c1c09258192504b41b8aa42e480e5bc4 | [] | no_license | mtxslv/numericalcomputation | 3b0ec7d1183c03c91c145de0fb1db9fff0a75e61 | 15ce639e5e370fb21fb1ce9878004270ee814e73 | refs/heads/master | 2020-03-26T06:10:14.116677 | 2019-11-14T11:41:38 | 2019-11-14T11:41:38 | 144,592,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,100 | sce | squarewave_fourierserie.sce | // Fourier Series Personal Project
// Code by mtxslv
// In the book "Numerical Analysis", by Burden&Faires, chapter 8,
// The Fourier Series are introduced using the Least Squares approach.
// This is another example, a classical one. The aim is to approximate the function
// f(x) = {0, -%pi < x < 0 ; 1, 0 < x... |
9bfa2716a0416df96823a222ac4558331fd78c1b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_-_1_T._Singh_704.zip/Electrical_Machines_-_1_T._Singh_704/CH2/EX2.51/ex2_51.sce | 07cb22cf4650f8191d7dafbdf898712636e4500b | [] | 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 | 902 | sce | ex2_51.sce | errcatch(-1,"stop");mode(2);//Caption:Calculate the speed and BHP of the motor
//Exam:2.51
;
;
V=250;//applied emf(in V)
R_sh=0.05;//field resistance (in Ohm)
R_a=0.1;//armature resistance(in Ohm)
I=80;//motor current(in Amp)
A_s=240;//armature slots
C_s=4;//number of conductor per slot
Z=A_s*C_s;//total n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.