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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
65dd8213cd472b0f04713fd717ffb552c526c05f | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Space/OrbitSimulations/OrbitExplanation2.SCI | 9c783a145ec808473aabcd248223a0f9ea311e0f | [
"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 | 4,463 | sci | OrbitExplanation2.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
mu=398600.4418;
sats=list;
gravforce=ForceField;
gval=6.6742/1E11;
emass=5.9736E24;
gravforce.AddCentralGravity(point(0,0,0),mu);
gravforce.SetAccuracy(100000000,10);
function addsat(dst,spd,ang)
{
sat=satsetframe.adds... |
55158af6f63d39a6eb7bef0fbed8329aea434a04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH12/EX12.2/Example12_2.sce | a9d5983f070f109c1235910fe0587805f2d7873b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | Example12_2.sce | //chapter12,Example12_2,pg 357
lam=1*10^-6//wavelength
n1=1.53
n2=1.5
NA=sqrt((n1^2)-(n2^2))
a=(2.405*lam)/(2*%pi*NA)
printf("core radius\n")
printf("a=%.8f m",a) |
f6ac5e18d7bda27bac19e1a96254d33e61dd73a8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH1/EX1.6/Ex1_6.sce | 294b7f5354c38f041f03f0d3a7b6c5c85b37bb5a | [] | 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 | 170 | sce | Ex1_6.sce | errcatch(-1,"stop");mode(2);//Exa:1.6
;
;
i_amp=0.075;//given
i_milamp=i_amp*1000;//current in milliamp.
printf("%f amp current is %f mA",i_amp,i_milamp);
exit();
|
dce9a240aa3eda3c6c6aff69a182539e83a3bf82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH8/EX8.11/Exa_8_11.sce | 77698dfeaacfc44280b103019470349929496094 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Exa_8_11.sce | //Effects of leakage
n1=0:0.005:0.1;
n2=0:0.005:0.125;
n3=0:0.005:1.125;
xt1=(2*cos(20*%pi*n1')+5*cos(100*%pi*n1'));
xt2=(2*cos(20*%pi*n2')+5*cos(100*%pi*n2'));
xt3=(2*cos(20*%pi*n3')+5*cos(100*%pi*n3'));
XDFS1=abs(fft(xt1,-1))/20;
XDFS2=abs(fft(xt2,-1))/25;
XDFS3=abs(fft(xt3,-1))/225;
f1=0:5:100;
f2=0:4:100;
f3=0:100/... |
b2ba690cf0a4f6d48b2cfaf1e5c0df91a5c6c921 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.led7digit-10-1tra/result3s0.tst | a8c61fe278e8d73a990e06d1625615ae14bc2aa6 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | tst | result3s0.tst | @relation led7digit
@attribute Led1 real[0.0,1.0]
@attribute Led2 real[0.0,1.0]
@attribute Led3 real[0.0,1.0]
@attribute Led4 real[0.0,1.0]
@attribute Led5 real[0.0,1.0]
@attribute Led6 real[0.0,1.0]
@attribute Led7 real[0.0,1.0]
@attribute number{0,1,2,3,4,5,6,7,8,9}
@inputs Led1,Led2,Led3,Led4,Led5,Led6,Led7
@output... |
0b62dbaf82b66667dbb0e93dae8f8e99d1778ef2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH6/EX6.24/Ex6_24.sce | 6d0152e1c904c6e4b03614fc5b98a056765046b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | Ex6_24.sce | clear;
clc;
printf("\nEx-6.24\n");
//page no.-195
//given
rho=1.73*10^-8;......//resistivity in ohm m
M=63.5;...........//atomic weight
d=8.92*10^3;......//density in Kg/m^3
N=6.023*10^23;......//avagadro no.
e=1.6*10^-19;.......//charge
m=9.11*10^-31;......//mass of e
no=(N*d)/M........//no of electrons p... |
be14aabb4766a5863b4f8ef9a5e014acbc12975e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH6/EX6.17/6_17.sce | 63602f4de9ad11e09e57abfb75c81ed8384a3ddb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | 6_17.sce | clear;
clc;
ZR=300;s=9;d=0.1
r=d/2;
Zof=276*log10(s/r);
Zoq=sqrt(ZR*Zof);
do=(s*2)/10^(Zoq/276);
printf("Diameter of wire used = %f cm",fix(do*10)/10);
|
fbf8b7c64a3cf84fe909c8a3e53b3adb58432d48 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/sum.man.tst | e3c3ac62761dd0b5fc2168609e2e3d3560022f2e | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | tst | sum.man.tst | clear;lines(0);
A=[1,2;3,4];
trace(A)-sum(diag(A))
sum(A,'c')-A*ones(2,1)
sum(A+%i)
A=sparse(A);sum(A,'c')-A*ones(2,1)
s=poly(0,'s');
M=[s,%i+s;s^2,1];
sum(M),sum(M,2)
|
a366474000b325b377e6ea7a8580ad1cc7b46cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH8/EX8.10/ex10.sce | 3db9882b6521510a4b603ebcedf64bf6f734cd5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | ex10.sce | //example 10
//exergy destruction during heat conduction
clear
clc
To=273 //temperature of outdoor in K
Tin=293 //temperature of inner surface of brick wall in K
Tout=278 //temperature of outer surface of brick wall in K
Q=1035 //rate of heat transfer through wall in W
Xdestroyed=Q*(1-To/Tin)-Q*(1-To/Tout) //ex... |
65e6e2f16612817c35a005d52e5fe74876cc6e9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH11/EX11.15/11_15.sci | 06cc9a08b5155e2e8aa58e158fa82122ab9ff4e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sci | 11_15.sci | //value//
s=%s;
H=syslin('c',(s+6)/((s+1)*(s+3)));
plzr(H)
printf("There are two adjacent placed poles at s=-3 &s=-1 \n")
printf("One breakaway point exists between s=-3 & s=-1 \n")
printf("One breakin point exists to the left of zeros at s=-6 \n")
|
37ab3323e77c50aa0cc823fad2848013461d97ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH12/EX12.2/Ex12_2.sce | 80c6dd64e11da97b5ce8d4f5fd86fd9b1bc9edae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_2.sce | //Example12.2//
Na=22.99;//amu //atomic mass of sodium
O=16.00;//amu //atomic mass of Oxygen
a=2;//Number of atoms
c = 2;
Na2O=c*Na+O
mprintf("Na2O = %f amu",Na2O)
d=3;//Number of atoms
C=12.00;//amu //atomic mass of Carbon
Na2CO3=c*Na+C+d*O
mprintf("\nNa2CO3 = %f amu",Na2CO3)
Ca=40.08;//amu //atomic mass of calcium
Ca... |
2d538365a2424926c1c3d423236ca68c84325f53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH13/EX13.2/Ex13_2.sce | f2b781fea9bfea5b539be5b90cfbb2424ce556b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | Ex13_2.sce | // Ex13_2 Page:258 (2014)
clc;clear;
mu_0 = 4*%pi*1e-007; // Magnetic permeability, T-m/A
e = 1.6e-019; // Charge on an electron, C
m = 9.1e-031; // Mass of an electron, kg
Z = 2; // Atomic number of He
N = 28e+026; // Number of He atoms per unit volume of the sample, per metre-cube
r_bar = 0.6e-0... |
7299fea6920e004bf00e455f2bd648ea8043a9ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.5.b/solution4_5.sce | 64726a76c17cc39eac0ee920a1ccc0f186a2d35f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,803 | sce | solution4_5.sce |
//Function to round-up a value such that it is divisible by 5
function[v] = round_five(w)
v = ceil(w)
rem = pmodulo(v,5)
if (rem ~= 0)
v = v + (5 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution4_5.sce')
//Obtain path of data file
datap... |
4d09afa87c7becc17c8fc1f6222ea83284271afb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH18/EX18.11/Ex18_11.sce | b6738818032d21ee9f41a34af4ab1a39298c0eaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex18_11.sce | // Initilization of variables
M=750 // kg // mass of hammer
m=200 // kg // mass of the pile
h=1.2 // m // height of fall of the hammer
delta=0.1 // m // distance upto which the pile is driven into the ground
g=9.81 // m/s^2 // acc due to gravity
// Caculations
// The resistance to penetration to the pile is give... |
ab944f91a0fce6e6d32045d1400d6890e257cba5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH6/EX6.16/example6_16.sce | ad2eb1b7756d8796d058242e021f3b44ec154bd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,043 | sce | example6_16.sce | clear;
clc;
// Stoichiometry
// Chapter 6
// Stoichiometry and Unit Operations
// Example 6.16
// Page 387
printf("Example 6.16, Page 387 \n \n");
// solution
// M = E+B+W
Tav = (45+32)/2 +273.15 //K avg cooling water T
// using steam tables (Appendix A IV.1)
lamda = 2410.5 //kJ/kg
E = 530/la... |
1d0e11903d05bd5aa1969317a5864818c563de36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3296/CH2/EX2.2/Ex2_2.sce | 2b9bc735778b425ce6ac5f4ee0fa7b48c639cf45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | sce | Ex2_2.sce | // chapter 2
// example 2.2
// Find the stress and deformation of the cylinder
// page-16
clear;
clc;
// given
l=2; //.in m (length of the cylinder)
D=50; // in mm (outer diameter of cylinder)
d=30; // in mm (inside diameter of cylinder)
P=25; // in kN (Load on the cylinder)
E=100; // in GPa (Modulus of elasticity for ... |
3b72e30874722ca2201822a9eab4d5187b4ee348 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH5/EX5.21/example5_21.sce | 0e33e81afe68c24f838540a5e19bb9b0382cad82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | example5_21.sce |
//example 5.21
//calculate transmissibility
//drawdown at pumping well
clc;
//given
rw=0.15; //radius of well
b=40; //depth of acquifer
Q=1500; //discharge(lpm)
s1=3.5; //drawdown of first well
s2=2; //drawdown of second well
H=40;
r1=25; ... |
eb3d74c529ee18ca57f7d1ac9efa8bdc9560b655 | 85796c94fc9059fcb09697ae3509fd9488d77aa8 | /verInfo.sci | f2805b8dcdd131973312964c450306644911fd07 | [] | no_license | MyCSDegree/snakenladder | 680d5cd7687da44a227c2b242765ab96e0b7534d | bedb901cbcede9ca3972514ec12686b33a9eaf85 | refs/heads/master | 2016-08-06T04:08:29.276575 | 2015-10-28T01:16:18 | 2015-10-28T01:16:18 | 42,781,425 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33 | sci | verInfo.sci | global version
version = '0.10';
|
bec4139ed06f508099fc36f95f898af9abd0df87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH5/EX5.11/Ex5_11.sce | e91b2d3a705f1d3afe5eb938109c45baf403b372 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | Ex5_11.sce | //magnitude of the reflection coefficent
//given
clc
zl=10*%i//ohm
z0=100//ohm
row=(zl-z0)/(zl+z0)//reflection coefficent
mag_row=norm(row)//magnitude of reflection coefficent
disp(mag_row,'the magnitude of the reflection coefficent:')
|
4461e6c8d6f82f3672000d44f56cc45b23affa55 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Instrumentation_And_Measurements_D._A._Bell_182.zip/Electronic_Instrumentation_And_Measurements_D._A._Bell_182/CH4/EX4.5/example4_5.sce | 3325e222cc1bb6be00224d37cab56f5f5e2352c4 | [] | 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 | 256 | sce | example4_5.sce | errcatch(-1,"stop");mode(2);
//example 4-5 in page 98
;
//data given
E=1;// E=1 V
Im=1e-3;//FSD=1 mA
Rm=100;// Rm in ohm
//calculation
R3=E/Im;
printf("R3=%d K-ohm\n",R3/1000);
printf("Vout=%.1f V\n",Im*(R3+Rm));
//result
//R3=1 K-ohm
//Vout=1.1 V
exit();
|
4df53c2064e368fd436ebc9e2d1051b62830996f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH1/EX1.7/1_7.sce | 0906354a91b6967fa827517f52ea0fbcd787a4b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | 1_7.sce | clc();
clear;
// To calculate the wavelength associated with electron
M=9.1*10^-31; //mass of electron in kg
h=6.66*10^(-34);
E=2000; //energy in eV
Ej=E*1.6*10^-19; //energy in J
lamda=h/sqrt(2*M*Ej); //wavelength in m
lamda_nm=lamda*10^9; //converting lamda from m to nm
printf("The wavelength ass... |
4e4968a0e84a09df6a2685fced822ad09b9d99e5 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Workspace/Mission_A2.sce | a02faf235023562d075a05e5a894e96af3bec914 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | Mission_A2.sce | //Mission A2
//On prend l'image donnée
path = "C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_A\Mars_surface.pbm"
img_in = readpbm(path);
//On utilise l'histogramme de cette image
histo = histogrammeFct(img_in);
//On utilise la fonction pourcentage qui calcule la moyenne de cha... |
9ca00b3a711b7503b9520ba4657e9d899834fae0 | 809a99d7e6ee4b97b4d8b0c0613bb57a99516c09 | /signal_s1/td3/ylcq.sce | 03febc68f12d2c535b87d88e49798ec91c6b16b4 | [] | no_license | JulieCapucine/tds | 794822a49adc455ba1e3af0a83198da686e5cfec | 93f6f42823e691d2932aad5aadf4e63f5c3fe49f | refs/heads/master | 2021-01-13T08:51:25.605554 | 2016-10-21T16:03:14 | 2016-10-21T16:03:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,067 | sce | ylcq.sce | funcprot(0)
clf()
// Ex.1
cd("/home/6im2/ylecoq/prog/tds/signal_s1/td3");
load("flute.dat");
x=flute;
N=length(x);
disp("N = " + string(N));
// plot(x)
// Ex.2
function ret = petit_gamma(x)
ret = convol(x,x(length(x):-1:1));
endfunction
function ret = GAMMA_L(x, L)
gamma_x = petit_gamma(x);
for i=1:L
... |
3a127d7798d398bc2428801287a1b3b6fbd359ae | 458def2f7b4bd44cdf75f29a4c0cabed2e6ca516 | /practice.sce | 6c2ea9653fcc05c7faeed2a20b6a621df4584774 | [] | no_license | SoanKim/Presentation_Software | 1a03bfc9e22bd2a874c5787ca89faa0947c09e67 | 382c84878496fce1e790386a4ff6c03741eb4974 | refs/heads/master | 2022-12-09T03:50:22.916992 | 2020-09-10T10:55:45 | 2020-09-10T10:55:45 | 294,382,441 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,101 | sce | practice.sce | output_file OutputFile = new output_file;
sub CreateHeaderOutputFile(string sFilename) begin
string sTrialData;
### Adapt this part to your own experiment (add/remove/change column names)
sTrialData.append("TrialNo" + "\t");
sTrialData.append("StimulusTime" + "\t");
sTrialData.append("ButtonPressed" +... |
cf76d3716eb45fed3fd5afdd8e4564d98bd6a4a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH12/EX12.2/Ex12_2.sce | ea82adba86c6379aaabe45c978b63e0bf61ae465 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | Ex12_2.sce | // chapter 12
// example 12.2
// calculate numerical aperture and the acceptance angle of an optical fibre
// page 360
clear;
clc;
// given
u1=1.55; // refractive index of core
u2=1.50; // refractive index of cladding
//calculate
d=(u1-u2)/u1; // calculation of fractional index change
NA=u1*sqrt(2*d); // ca... |
a80f6c76f5d0e9ea3d19881599033da58e3fbf07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH8/EX8.7/Ex8_7.sce | fefb67c2f9de3de12c16f6f68ee9d2d7b65c5f82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,101 | sce | Ex8_7.sce |
clear//
//Vairable Declaration
sigma_x=40 //Stress in x in MPa
sigma_y=20 //Stress in y in MPa
tau_xy=16 //Shear in xy in MPa
//Calculations
sigma=(sigma_x+sigma_y)*0.5 //Normal Stress in MPa
R=sqrt(((sigma_x-sigma_y)*0.5)**2+tau_xy**2) //Resultant Stress in MPa
//Part 1
sigma1=sigma+R //Principal Stres... |
18d5ad200adcb2b956ee00e25de657ca131d42aa | 31cc146b7597c1571ad100fc4dd888898b1b4eb0 | /io/write_obj.sce | d90c9830604e8d5f5a684137cde762161ca9814e | [] | no_license | rigid1980/gpp_scilab | a525ae046722e7ba52ebea6003ce712b51631ff6 | fadb75dea26cf341e6dc60874efd88c016df4f3b | refs/heads/master | 2016-09-11T08:37:44.538715 | 2014-03-26T08:37:35 | 2014-03-26T08:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,496 | sce | write_obj.sce | //// write_obj
// Write mesh data to OBJ format mesh file
//
//// Syntax
// write_obj(filename,face,vertex)
//
//// Description
// filename : string, file to read.
// face : double array, nf x 3 array specifying the connectivity of the mesh.
// vertex : double array, nv x 3 array specifying the position of the... |
c1a963058bcecb4379524ce7a30e4c0d8d5db81b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.1/Chapter5_Exampl1.sce | 7e505ea82454c334395817bad0f512494306fe30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,357 | sce | Chapter5_Exampl1.sce | clc
clear
//INPUT DATA
g=1.4;//for isentropic compression
n=1.3;//for polytropic compression
p1=1;//pressure in bar
v1=0.05;//piston displacement in m^3
R=0.287;//gas constant
Rp=6;//compression ratio at constant pressure
t1=293;//temperature in K
//CALCULATIONS
//Isentropic copression
m=(p1*10^5*v1)/(100... |
1505592553c2b67975cad5d56da7127f077b2817 | fa9b149d7f99d0d638c3cd298a05ffcc611565a3 | /getABCD.sce | 96c6499cfb6e61a50d5d09200acf11144f15b6bc | [] | no_license | kaushikmallick/getStateSpace | d40ef05c74b6f35a0cfb98015f1acabd2012f788 | b62a21c00fb47fa3cacd05b9b16ff5ef9d858f56 | refs/heads/master | 2021-01-10T19:48:46.581957 | 2013-10-28T17:54:33 | 2013-10-28T17:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | getABCD.sce | //uCol = num_state + num_invar;
//yCol = uCol + num_outvar;
// using new functions ReOrderStateEqns
// it brings all the state eqn to top
polymat = ReOrderStateEqns(polymat, num_state);
Rcols = [1:(num_state + num_invar + num_outvar)];
Mcols = [(num_state + num_invar + num_outvar + 1) :size(polymat,'c')];
//Mcols =... |
1ef96b6bf254946d589a2eedc36e5f2b478b56ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH9/EX9.6/Ch9Exa6.sci | 3e0483e590c3ffee1ccd51fa669840ae8b68ebed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sci | Ch9Exa6.sci |
T= 2.7; //blackbody temperature, K
Lambda= 2.898*10^(-3)/T; //using wein's displacement law, Eqn 9.40, m
Lambda= Lambda*10^(3); //converting to mm
disp(Lambda,"The wavelength for maximum radiation, in mm, is: ")
//Result
// The wavelength for maximum radiation, in mm, is:
// 1.0733333 |
3b2b6c6ff2caf1d034f71be59774cd08070c0ef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH1/EX1.11.1/ex_1_11_1.sce | d7dd60c6e34c17e79bf66ba0825c05aa4e8c90b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | ex_1_11_1.sce | //Example 1.11.1: peak reverse recovery current
clc;
clear;
close;
//given data :
itt=10;// time in micro seconds
qtt=150;//charge in micro colums
prrc=((2*qtt)/itt);//peak reverse recovery current in amperes
disp(prrc,"peak reverse recovery current in amperes")
|
9465d2308b0808ca3d897cc867e4e785d0bf444a | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/HH_RG_3s.sci | 2e554671a85170d49cd42da9be0aa64523901f92 | [] | 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 | 3,933 | sci | HH_RG_3s.sci | function [x,y,typ]=HH_RG_3s(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then standard_draw(arg1)
case 'getinputs' then [x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then [x,y,typ]=standard_outputs(arg1)
case 'getorigin' then [x,y]=standard_origin(arg1)
case 'set' then
... |
c2872c231ad879a032e1665a20e0f38767d718ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH5/EX5.07/5_07.sce | 09b6d3c8990b91d14e8bd21313077756097cf9ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | 5_07.sce | //Problem 5.07:
//initializing the variables:
P = 1; // in atm
tm = 68.6;
pS = 0.005;
W = 112.5;
MWS = 32;
//calculation:
wS = pS*W
nS = wS/MWS
perSO2bymol = nS*100/tm
ppSO2 = perSO2bymol/100
printf("\n\nResult\n\n")
printf("\n patial pressures for SO2 = %.2E atm ",ppSO2) |
253dec1202e33548678788654571cf3aad830812 | 6e51f2fdd036612dc2b51c405904fed97d2ae8b0 | /src/test_meta_2_b.tst | 56b3e5473a4f9bcb3842e29d002949144a6d318d | [
"Zlib",
"BSD-3-Clause",
"OML",
"MIT"
] | permissive | joe-nano/ciyam | 92c6ccb58029a1b2a641a7e00417ab524cb9f957 | a92c296b911b29620a7bb3b758eb55339e040219 | refs/heads/master | 2022-04-16T14:39:55.822434 | 2020-03-27T06:39:13 | 2020-03-27T06:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,385 | tst | test_meta_2_b.tst |
> storage_restore ciyam
Creating table T_Meta_User...
Inserted 2 rows into table T_Meta_User...
Creating indexes for table T_Meta_User...
Creating table T_Meta_Workgroup...
Inserted 1 rows into table T_Meta_Workgroup...
Creating indexes for table T_Meta_Workgroup...
Creating table T_Meta_Type...
Inserted 58 rows into ... |
528cea3561cffdffd26c9fd1630b3a678cf47051 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH8/EX8.1/Chapter81.sce | 4978600cff44335eeb52866e9e027f8145618987 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,392 | sce | Chapter81.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 8, Example 1")
//Water is heated by a vertical flat plate length(L=200mm or .2m )by breadth(B=200mm) which is maintained at temprature,Tw=60°C
Tw=60;
L=.2;
B=.... |
bb194ad640de4decbf1932ac476715410b68c039 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH10/EX10.33/Example10_33.sce | bfcb566d5351bcd548b04d5b916385969053817e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | Example10_33.sce | //clear//
// Example10.33:Differentiation Property of Unilateral Ztransform
// x[n] = (a)^(n+1).u[n+1]
syms n z;
a = 0.5;
x =(a)^(n+1)
X = symsum(x*(z^(-n)),n,-1,%inf)
disp(X,"ans=")
//Result
//X(z)= 0.5*(2^(-%inf-1)*z^(-%inf-1)-2*z)/(1/(2*z)-1)
//Equivalent to z/(1-0.5*z^-1)
|
17ea398be2f57f0abe20b228a0f3e02c6cf2de42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH4/EX4.12/Ex4_12.sce | 1d54fc39f3d38a2eb7cfeda83032ac39037bf3f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 924 | sce | Ex4_12.sce |
//To Determine the Continous Rating of the Motor for Suitable Conditions
//Page 229
clc;
clear;
T=120; //Total Time
t1=0; //Power Rise to 1050
t2=15; //Constant Power of 600
t3=85; //Regenerative Breaking at 200
t4=95; //Motor At Rest
t5=120; //End
//Note Power Rating are in Horse Power
HP1=1050; //First Ri... |
e16447fb45a28aced94f311d4e2794b21704145b | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH4/EX4.12/Example4_12.sce | a5020572873b0107a5abfd2a445a611ee37d6a8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | Example4_12.sce | //clear//
//Example 4.12:Continuous Time Fourier Transform:
//Derivative property
clear;
clc;
close;
// CTFT
t = -1:0.1:1;
x1 = ones(1,length(t));
x2 = [-1,zeros(1,length(t)-2),-1];
x = t;
//differentiation of x can be expressed as
//summation of x1 and x2
subplot(3,1,1)
a = gca();
a.x_location = "origi... |
9208f1c22ed666ba048a71554179d464d3aef223 | 44dccf35d0d05580e3fc20af3b7697b3c638d82d | /testcases/detectMinEigenFeatures/7.sce | a3f2364d669f3fbc101febd1732e2594cbbfe74d | [] | no_license | surirohit/Scilab-Image-Processing-Toolbox-Unclean | 213caacd69badd81ec0f99a800f44a2cf8f79b5d | 3a8057f8a8d05e7efd83704a0e732bdda23fa3a0 | refs/heads/master | 2020-04-09T07:31:20.042501 | 2016-06-28T09:33:57 | 2016-06-28T09:33:57 | 60,406,367 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 94 | sce | 7.sce | i = imread('test1.jpg');
corners = detectMinEigenFeatures(i,'MinQuality',1.1);
disp(corners);
|
c7c6082003bf6d6af3aa5e9c15e2ed923e0702f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH3/EX3.5/Ex3_5.sce | fa1ff961b307ca90a10c36b4a29183a320be854a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_5.sce | //Exa 3.5
clc;
close;
clear;
// given:
f=500 //frequency in mega hertz
f=500*10^6 //frequency in hertz
c=3*10^8 //speed of light in m/s
Gdmax=1.644 // directivity of a half wave dipole
lambda=c/f //wavelength in meter
Ae=((lambda)^2*Gdmax)/(4*(%pi)) // Effective area in m^2
disp(Ae,"effective area of half wa... |
e363cf2d950851a70ddeecd710ad3243bf8d4a30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH7/EX7.4/Ex7_4.sce | f0e336f3e97df1f33635eb65ebfab249008c90f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | Ex7_4.sce | clear;
clc;
//Example 7.4
fL=20*10^-3;//KHz
Rd=6.7;
Rl=10;
Ts=1/(2*%pi*fL);
printf('\ntime constant=%.3f ms\n',Ts)
Cc=Ts/(Rd+Rl);
printf('\ncoupling capacitance=%.3f microF\n',Cc)
|
1caa9694124810b0b6a765b2db00bd23b8d86c12 | 132b4ac959b21691290ffeefbc31eefe24500a25 | /a2/Inc16.tst | a99ac20b10432ef46525153da01fcae4931e668e | [] | no_license | HanlonsStraightRazor/cs310 | df790b8c10b1ebb942313b4a620fd3ce655a075b | 0a053116659eb65ffacb9bf410774e31b17e8fbd | refs/heads/master | 2023-03-12T22:35:35.357502 | 2021-03-02T20:47:48 | 2021-03-02T20:47:48 | 343,901,992 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | tst | Inc16.tst | load Inc16.hdl,
output-file Inc16.out,
compare-to Inc16.cmp,
output-list in%B1.16.1 out%B1.16.1;
set in %B0000000000000000,
eval,
output;
set in %B1111111111111111,
eval,
output;
set in %B1010101010101010,
eval,
output;
set in %B0001001000110100,
eval,
output;
|
62b167457eebe522b15834cc77b2b53642457da2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH9/EX9.3/9_03.sce | 1c5a310309043e0bb98b87870c873c7bb88ded87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_03.sce | pathname=get_absolute_file_path('9_03.sce')
filename=pathname+filesep()+'9_03data.sci'
exec(filename)
T=Mdot*(Ve-V)+(Pe-P)*Ae;
disp(T,"T=","T=Mdot*(Ve-V)+(Pe-P)*Ae","Thrust of the turbojet T:")
printf("\Answer:\n")
printf("\n\Mean effective pressure : %f N\n\n",T)
|
59dbdb52183f5db6f54485250981e76b2496cfc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH4/EX4.26/ch4ex26.sce | cdc4b7ab1c0a7d81654e63c387f64ea98384359b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sce | ch4ex26.sce | s=poly(0,'s')
h=syslin('c',((10*s+1000)/(s^2+2*s+100)))
clf();bode(h,0.1,100); |
1dacfccd27fb2d1da6e97ff36fd2dadd8e1a3221 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/demos/wpca.dem.sce | d5b36edcb390fbccc2a196b25d6cdbc7335b36ed | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sce | wpca.dem.sce | //
mode(-1);
lines(0);
my_handle = scf(100001);
clf(my_handle,"reset");
demo_viewCode("wpca.dem.sce");
// DEMO START
my_plot_desc = "wpca";
my_handle.figure_name = my_plot_desc;
rotation = [7 -cos(3.14/4);sin(3.14/4) 1];
Train_Patterns = rand(2,100);
Train_Patterns = rotation* Train_Patterns; ... |
c565802ac0a6d76472d3177fd15c4553ce12edf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH5/EX5.27/5_27.sce | 5a7409f373a9a3bfa631a4607cadeef2abb3ff1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | 5_27.sce | clear; clc; close;
Vcc = 12;
Vbe = 0.7;
Rx = 1.1*(10^(3));
Ix = (Vcc-Vbe)/Rx;
disp(Ix,"Mirrored current :");
|
8005629cf04b84b713b0a92ebd4231ca61cd4896 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.28/28.sce | ea5a48a8474c7945dd9872a945df003bd4be0cad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sce | 28.sce | clc
T1=373; //K
p1=1; //bar
p3=65; //bar
p4=p3;
Vs=0.0085; //m^3
ratio=21; //Air fuel ratio
r=15;
C=43890; //kJ/kg
cp=1;
cv=0.71;
V2=0.0006; //m^3
V1=0.009; //m^3
y=1.41;
V5=V1;
V3=V2;
R=287;
p2=p1*(r)^y;
T2=T1*r^(y-1);
T3=T2*p3/p2;
m=p1*10^5*V1/R/T1;
Q1=m*cv*(T3-T2); //Heat added during consta... |
3ff83e9321e1ade27c5d35c021e245acbd4817ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH10/EX10.15/10_15.sce | 32babe3a30be835e9e45371e78c97e272eff35d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | 10_15.sce | clc;
clear;
lambda1=400*10^-9 //wavelength in m
lambda2=300*10^-9 //wavelength in m
V1=0.82 //stopping potential in V
V2=1.85 //stopping potential in V
c=3*10^8 //velocity of light in m/s
e=1.6*10^-19 //charge in C
//calculation
h=(e*(V1-V2)*(lambda1)*(lambda2))/(c*(lambda2-lambda1))
mprintf("\nThe Planck... |
59b7fb5acd2e2319374453be99887e13916d8320 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH14/EX14.4/Ex14_4.sce | 61a5d1ea98b0e88b3f45c0d1f70580877914f2d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Ex14_4.sce | //Ex14_4 Pg-696
clc
NA=0.5 //numerical apperture
n1=1.54 //core refractive index
n2=sqrt(n1^2-NA^2) //cladding refractive index
printf("(1) Cladding refractive index = %.3f \n",n2)
RI=(n1-n2)/n1 //change in core cladding refractive index
printf(" (2) RI of the core = %.4f",RI)
|
26a1f704827726604653e3511b0c2116bfddfb01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.5/Chapter3_Exampl5.sce | 6d44da77521f14296ab11b573ec9b668b5c72892 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | Chapter3_Exampl5.sce | clc
clear
//INPUT DATA
Tl=20;//engine temprature in Degree C
Th=500;//engine temprature in Degree C
g=1.4;//gas constant
v13=25;//expansion ratio
//CALCULATIONS
v14=((Th+273)/(Tl+273))^(1/(g-1));//Isentropic volume expansion
v43=v13/v14;//Overall expansion ratio
//OUTPUT
printf('(a)Isentropic volume expa... |
f08337d740390318a28efba0b71fa13b194daef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH5/EX5.21/Example_5_21.sce | 80ce60377e7746d998c7e9eb7e5f6cb472850ffa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Example_5_21.sce | //Example 5.21
clear;
clc;
//Given
delHtrans=13.4;//latent heat of fusion in J g^-1
delVm=0.0126;//change in volume due to transition in cm^3 g^-1
T=368.5;//temperature in K
//To determine the increase in the transition point between 2 forms of sulphur for increase in atmospheric pressure
a=(delHtrans*10)/(... |
05c1c5ce9ee4f3721b06314f9d57e7b7e550438f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH12/EX12.7/ex12_7.sce | 4e0b6234f0c18e27f542a374b6e0ae23afdad494 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | ex12_7.sce | clc;
e=1.6*10^-19; //charge on an electron in coulomb
q=10^-12; //charge on pith ball in coulomb
n=q/e; //calculating no of electrons
disp(n,"No. of electrons = "); //displaying result |
027ff98c338820319dd23bbaba9753c0c0bbbcf8 | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/fht.sci | c6fd1bd66325e267bdb71c2f84b52a3bd13a2b34 | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sci | fht.sci | function y=fht(d,n,dim)
funcprot(0);
rhs=argn(2);
if(rhs<1 | rhs>3)
error("Wrong number of input arguments.")
end
select(rhs)
case 1 then
y=callOctave("fht",d)
case 2 then
y=callOctave("fht",d,n)
case 3 then
y=callOctave("fht",d,n,dim)
end
endfunction
|
338adff1f08915399dc32bc24ad98687c097eac7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH8/EX8.16/example16.sce | a63813759f32af789d6042e80330a8ac525e8f47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,063 | sce | example16.sce | clc
clear
//input data
n=3//Number of stages
D2=0.4//Outlet impeller diameter in m
b2=0.02//Outlet impeller width in m
b22=45//Backward vanes angle at outlet in degree
dA=0.1//Reduction in circumferential area
nm=0.9//Manometric efficiency of the pump
Q=0.05//Discharge of the pump in m^3/s
N=1000//Running sp... |
866307dc442f05ab9ec17df4c2a20f4073fef4bc | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX3.39/EX2_39.sce | 259b225e7e02d4ad9f9b004345f9ef3f68c38120 | [] | 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 | 1,385 | sce | EX2_39.sce | clc;funcprot(0);//Example 2.39
//Initilisation of Variables
K=250;....//thermal conductivity of fin in W/m*degrees celcius
h=30;....//heat transfer coefficient between fin and surrounding of air in W/m^2*degrees celcius
d=0.015;....//diameter of fin in m
Tb=250;...//base temparature of fin in degrees celcius
Ta=2... |
e84a39401d0e9aabc83fdb5b16988139e4124bb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH1/EX1.13/1_13.sce | 152e55c97bd2e6147c789d7f4d7688dd3abd850e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | 1_13.sce | clear;
clc;
//Example - 1.13
//Page number - 30
printf("Example - 1.13 and Page number - 30\n\n");
//Given
// Cp0=7.7+(0.04594*10^(-2)*T)+(0.2521*10^(-5)*T^(2))-(0.8587*10^(-9)*T^(3))
T_1 = 400;//[K]
T_2 = 500;//[K]
//(C)avg = q/(T_2 - T_1) = 1/(T_2 - T_1)*{(integrate('C','T',T_1,T_2))}
//(Cp0)avg = 1/(... |
097a3a6b499332eb3d15d228c4065cb282049719 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/JY25NGP/ATWM1_Working_Memory_MEG_JY25NGP_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | 4f60e7e7160af6ffabf6833821514e4604e0dc6c | [] | 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,381 | sce | ATWM1_Working_Memory_MEG_Salient_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_monitor... |
64fe2986012646a2516bc7e2a11c80848963348f | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnTh/enth.1.tst | 46d8703214695a59bf30c64deeeede173306545e | [
"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 | 134,100 | tst | enth.1.tst | a b a c o แ อ บ า โ ก
a b a t e อ เ บ ต
a b b e y แ อ บ บ ี ย ์
a b d a l อ ั บ ด ั ล
a b d e l l a h แ อ ็ บ เ ด ล ล ่ า
a b e g g เ อ อ บ ิ ก
a b e n d แ อ ็ ป เ บ ็ น ด ์
a b e r d o u r แ อ เ บ อ ร ์ ด อ ร ์
a b i l e n e แ อ บ ิ ล ี น
a b i n g d o n แ อ บ ิ ง เ ด ิ น
a b l a k o v อ ั บ ล า ค อ ฟ
a b o y n e เ อ ... |
5af31617767c6e7581607570b3ff8a72ba317a84 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/lin.tst | 17e78f3943c7bfa023753c841357dce5aaad2c36 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | tst | lin.tst | tek koteka V;FUT
tindik tindikaki V;PST
yeb yebaki V;PST
yeb koyeba V;NFIN
vand vandi V;PRS
mem memi V;PRS
yamb koyamba V;NFIN
bom koboma V;NFIN
lob lobaki V;PST
kende kendei V;PRS
mel komela V;NFIN
ling lingaki V;PST
luk koluka V;NFIN
lamb kolamba V;NFIN
tek koteka V;NFIN
tun tunaki V;PST
tang kotanga V;FUT
telem tele... |
f43716123f42d51f5f0292cac1dab8bea71e814d | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.8.1/exa6_8_1.sce | e924068d51ce0526c55fcaaf7386ef069e10928b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,979 | sce | exa6_8_1.sce | // Example 6-8-1
// Design of a lag lead compensator using root locus 1
// zeta ~= gamma (not equal to)
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("rootl.sci");
s = %s;
G = syslin('c',4 , s * (s + 0.5)); //open loop system
Kv = 80; // d... |
1d0915a9a58c761674a8d5790d1516916206113d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/demos/bike/macros/init.simul.sci | 00dcb01c791449635bcb7a242f909cf7a1c2dc72 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sci | init.simul.sci | path=sci+'/demos/bike/'
// compile if necessary
host("cd "+path+"; make simul");
// link if necessary
deff('[]=linkif(fname)',['if ~c_link(fname) then';
'link(''/tmp/''+fname+''.o'',fname);end']);
linkif('gjx');
linkif('constr');
linkif('ii');
linkif('h');
// Macros made by Maple
getf(path+'src/'+'... |
4b82b7c2f3d9c4cb26250f36ee769da23bccbe79 | 42d11b27aa17f58dc219f2ef3dbe47ce246ac7ab | /map411 q5 dx erreur graphes 2.sce | d133022215f9d8920639a54f4372283785fb7818 | [] | no_license | yujia21/MAP411projet | 23472dae62a23b1fe7e90d0d12371de0b930bc27 | 3987e227610b6a755a3caf4b760d4a587ec779cd | refs/heads/master | 2021-01-10T01:11:29.632911 | 2016-01-20T18:03:07 | 2016-01-20T18:03:07 | 48,615,265 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,904 | sce | map411 q5 dx erreur graphes 2.sce | clf;
//dx
xx = [0.0142857,
0.0153846,
0.0166667,
0.0181818,
0.02,
0.0222222,
0.025,
0.0285714,
0.0333333,
0.04
]
//dt = 0.000125
y1 = [0.0012024973109042714,
0.0012809568647734193,
0.0013707805543214935,
0.0014749791114914146,
0.0015934183529330292,
0.001738576916200718,
0.0019061696251357896,
0.002111793916791005,
0.... |
879402f534af39f85090ec03a25a91f4f0420612 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH5/EX5.1/Ex5_1.sce | f08cac59410ff7942f2d238bf4098f040204593e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | Ex5_1.sce | //chapter-5 page 174 example 5.1
//==============================================================================
clc;
clear;
//For a circular waveguide
a=3;//radius in cm
f0=10*10^9;//resonant frequency of a circular resonator in Hz
disp('Given the mode of operator is TM011 so here n=0,m=1,p=1');
c=3*10^10;... |
92695e2638d6bd6403ee644dbe478b5813c6bee8 | c87a44be475d3008f7d0fcb8dd2eac3b2fa78e94 | /Examples/Chapter_4/Example_4_10.sce | 7115205b26948a69e0e8997249a9fe01668ab1b5 | [] | no_license | Echeban/icmd3e | 6c766ffafab0137a64de46448879d8a9eed2903c | 6ca0273e322fa390fcabc66669f3f56c9af5a563 | refs/heads/master | 2020-03-27T09:08:47.798549 | 2018-08-27T15:45:44 | 2018-08-27T15:45:44 | 146,316,991 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | Example_4_10.sce | // Example 4.10
// find alpha that maximizes (4.77)
mode(0)
function gMC = gMC(alfa)
// Mohr-Coulomb activation function
sn = s2*cosd(alfa)^2//normal stress
tauT = -s2*sind(alfa)*cosd(alfa)//transverse shear on the fracture plane
tauL = s6*cosd(alfa)//longitudinal shear on the fracture plane
gMC = (... |
17cc9663b67f851a354e6604c110d63fc972b75b | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH9/EX9.5.b/9_5_soln.sce | a1c72602e754a79ed3f002fd238894b0a95d2043 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,206 | sce | 9_5_soln.sce | clc;
pathname=get_absolute_file_path('9_5_soln.sce')
filename=pathname+filesep()+'9_5_data.sci'
exec(filename)
// Solution:
// acceleration due to gravity,
g=32.2; //ft/s^2
// pump's theoretical flow-rate,
Q_T_pump=(V_D_pump*Np)/231; //gpm
// pump's actual flow-rate,
Q_A_pump=(Q_T_pump*eff_v_pump)/100; //gpm
// veloci... |
915971cfd514caf85966192fd9d8245b2c97aa43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH16/EX16.5/Example16_5.sce | df4b066cc30ef84863b8ce3ff8b0f185756cdf80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,063 | sce | Example16_5.sce | //Example 16.5.
//let input wave be V_in=V_p_in*sin(2*%pi*f*t)
f=1; //Frequency is 1Hz
T=1/f;
V_p_in=10; //Peak input voltage
V_th=0.7; //knee voltage of diode
clf();
//let n be double the number of cycles of output shown in graph
for n=0:1:1
t=T.*n/2:0.0005:T.*(n+1)/2 //time for each half cyc... |
a1ea7e8ec3590c8b84a1b685d39a97fd73de5d4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH16/EX16.5/S_16_5.sce | 74eb56bac24d5657b5df0a8ebec44bb5bf3b2f3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | S_16_5.sce |
clc;
printf("Given problem is theoritical and no mathematical solving required for this problem");
|
2f384cc2c9a3f7e7477c0432990576e6b0147b8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.5/ex12_5.sce | 8e01d9ad5ec78840cf7366f48a6ccd80c04a234c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | ex12_5.sce | //Chapter-12, Example 12.5, Page 344
//=============================================================================
clc
clear
//INPUT DATA
Imax=400*10^-3;//maximum value of current in mA
Iav=150*10^-3;//average value of current in mA
Vs=100;//maximum value of secondary voltage in V
//CALCULATIONS
//we know th... |
7829973677b976f0f29866f221d30134e6235dbc | 7a940ee01f83d8d0bbe3e26e7565adc629ecc6c4 | /lab1/lab1.sce | 235bdacf3245735baab9007369ac7d8f83436220 | [] | no_license | lfares/digital_control | 2653ed3514bd18f595edf785872858bff9945def | 64ca0ed95b5ca79d4574a6671728963ebba1fe64 | refs/heads/master | 2022-12-12T01:57:19.151645 | 2020-08-29T14:42:44 | 2020-08-29T14:42:44 | 291,271,814 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,221 | sce | lab1.sce | f = scf(); // Cria uma nova figura
f.background = color("white") // Define o fundo da figura na cor branca
// Plotar uma senoide
t = 0:0.01:10; // gerar um conjunto de pontos no tempo
T = 2; // período da onda
A = 1; // amplitude da onda
y = A*sin(2*%pi*t/T);
plot(t,y)
// *** Exemple: To=T/8, t=0 ***
//T0 = T/8;
//t_... |
a281cf804bfceec901f872933b06d3e740b3ee46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH11/EX11.5/Ex11_5.sce | ea5b18ea5f3a672c650984d02cd930a9ea1c31ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_5.sce | //Ex11_5
clc
VCC = 9//collector voltage
Vp = 5//output peak voltage
VQ = VCC//operating point
VCEmax = VQ + Vp// maximum value of collector emitter voltage
VCEmin = VQ - Vp// minimum value of collector emitter voltage
disp("VCC = "+string(VCC)+"V")
disp("Vp = "+string(Vp)+"V")
disp("VQ = VCC = "+string(VQ)+"V"... |
449284f40a9a0402fec631772a355417b6686fdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH3/EX3.4/Ex3_4.sce | ba329cd29575786a10d7efd7d117e978179b8447 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | Ex3_4.sce | //Initilization of variables
F1=-20 //N
F2=30 //N
F3=5 //N
F4=-40 //N
//Distances with respect to point O
x1=6 //m
x2=0 //m
x3=8 //m
x4=13 //m
//Calculations
R=F1+F2+F3+F4 //N
//Applying moment about point O equal to zero
M_O=-(F1*x1)+(F2*x2)+(F3*x3)+(F4*x4) //N-m
//Applying moment about point O equal to ... |
03c7007dc73843942e7362fb5c42ecd2f1c49e53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH3/EX3.4/Ex3_4.sce | 4bd29df326a5d69f2219a9e1beb2a1d5c9d79755 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 842 | sce | Ex3_4.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 3
//example 3.4
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Vrms=110; //The voltage on the ac side in volts
R=10; //Resistance value of the resistive load... |
9172edd2f555ad0ceeb5bf5f802189a7639b30b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH6/EX6.13/6_13.sce | 5e05bd2648185250e5350feba4a12031202d6067 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,721 | sce | 6_13.sce | clear;
clc;
// Illustration 6.13
// Page: 380
printf('Illustration 6.13 - Page: 380\n\n');
// solution
//*****Data*****//
// A-benzene B-toluene C-1,2,3-trimethylbenzene
// From example 6.10
Nmin = 4.32; // [stages]
// From example 6.11
Rmin = 0.717; // [minimum reflux ratio]
// For R = 1
R = 1;
X ... |
d911241e35d7b9861e60f9305b3f2b3add1d8ba8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH8/EX8.14/8_14.sce | 5c6e8353d6e338a284b0c27e3b7e0ec150ba83f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | 8_14.sce | clear; clc; close;
yos = 20*10^(-6);
Idss = 10*10^(-3);
Idq = 10*10^(-3);
Vp = -4;
Vdsq = Vp/4;
Rg = 10*10^(6);
Av = -8;
Vdd = 20;
Vgsq = Vp/4;
Id = Idss*(1-(Vgsq/Vp))^2;
gmo = 2*Idss/abs(Vp);
gm = gmo*(1-(Vgsq/Vp));
//let Rd||rd = x
x = abs(Av)/gm;
rd = 1/yos;
Rd = 106.5*10^(3)/47.87;
Rs = -Vgs... |
0602109bf41fc56e644e6b2e19cd2dd987498713 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH19/EX19.6/19_6.sce | 3d823cf1fd50908f72d159d9f328020919025c0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | 19_6.sce | clc;
clear;
x=[0.05 0.12 0.15 0.3 0.45 0.7 0.84 1.05];
y=[0.957 0.851 0.832 0.72 0.583 0.378 0.295 0.156];
sx=sum(x);
sxx=sum(x.*x);
sx3=sum(x.*x.*x);
sx4=sum(x.*x.*x.*x);
sx5=sum(x.*x.*x.*x.*x);
sx6=sum(x.*x.*x.*x.*x.*x);
n=8;
sy=sum(y);
sxy=sum(x.*y);
sx2y=sum(x.*x.*y);
sx3y=sum(x.*x.*x.*y);
m=[n sx sx... |
f657b61d32e50917393366879cf6f4aa4f237e35 | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /srs.sce | faacf50d971942d87750e2d75ee8843033496494 | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,471 | sce | srs.sce | //СРС
clc
disp('Календрарь на сегодня:')
disp(calendar());
disp('****************************************')
disp('Календрарь')
disp(calendar(2018,9));
disp('****************************************')
disp('Дата:')
disp(date());
disp('****************************************')
disp('Количество дней:')
disp(datenum())... |
859eae77413c0a7528d66e3e2f966c1a681a3fd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.8/Ex2_8.sce | 4be56a1d435bfe54d32d3d02817e21f3f2cc0a3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | Ex2_8.sce | //Example 2-8, Page No- 38
clear
clc
gain_dB = 40
pout_W= 100
pin_W = pout_W/10^4
printf('The input power is %.2f watt',pin_W);
|
b06a39d2fecc8bb295e75163192e376086d58838 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH12/EX12.2/Chapter12_example12_2.sce | b8ada7ba68527bc088412aed6a6cfd267024f4be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter12_example12_2.sce | clc
clear
//Input data
R=[3,5,6,7]//Resistances from circuit diagram 12.36(a) on page no. 193 in ohms
V=12//Voltage in V from circuit diagram 12.36(a) on page no. 193
//Calculations
Vth=(V*R(3))/(R(3)+R(4)+R(2))//Equivalent voltage in V
Rth=R(1)+(((R(2)+R(4))*R(3))/(R(2)+R(4)+R(3)))//Equivalent resistance in o... |
b34046eb0ad18341b35bb4a282ce86c9fac2e4cd | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /ejemplos/03_optimization/scilab/01_basic/01_golden_search/golden.sce | 0c9ebc88f9fb9d981c0b755637ee1b8ebb17f601 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | golden.sce | function [xlow, x2, fx2, x1, fx1, xup, d, xopt, ea] = golden(funcion, xlow, xup, niter)
phi = (1 + sqrt(5))/2;
for i=1:niter
d = (xup - xlow)/phi;
x1 = xlow + d;
x2 = xup - d;
fx1 = funcion(x1);
fx2 = funcion(x2);
if (fx1 < fx2) then
... |
6c48fb50913a242e1b0ea6c50e5c1d636a6b684b | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH8/EX8.5.1/8_5_1.sce | 1595cf9e4bf1a138832e5f134cfb8e8f6b6a39cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 623 | sce | 8_5_1.sce |
//chapter_no.-8, page_no.-346
//Example_no.8-5-1
clc;
//(a)Calculate_the_power_gain
R=25;//R=f0/fs ,ratio_of_output_frequency_over_signal_frequency
rQ=10;//figure_of_merit
x=((rQ)^2)/R;
PG=(R*x)/((1+sqrt(1+x))^2);
PG=10*log10(PG);//calculating_in_dB
disp(PG,'Up-converter_power_gain_(in dB)is =');
//(b)Calculate_the... |
f4d1257539beec1ed1ce067f9992b4ee4a344050 | 61e39cdb9efce4bc7bc35be444b193c1066f1bf2 | /simpson1.sce | 4e8b92dff11a77b54921a86e3e03c35dbca79944 | [] | no_license | nancyanand2807/SCILAB-CODES | 866c1c99754975f9f0deb271d3844c854db1645c | 69bf72606e8cd62aae3d1302c734f425d381a121 | refs/heads/master | 2020-06-02T00:39:27.236873 | 2019-06-09T11:26:55 | 2019-06-09T11:26:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | simpson1.sce | //Simpson's (1/3)rd Rule
deff('y=f(x)','y=x^4')
a=input("Enter Lower Limit: ")
b=input("Enter Upper Limit: ")
n=input("Enter number of sum intervals: ")
h=(b-a)/n
add1=0
add2=0
add3=0
for i=0:n
x=a+i*h
y=f(x)
disp([x y])
if (i==0)|(i==n) then
add1=add1+y
else if (modulo(... |
f314189cc43b4cc32b831df3a21a114d91a10b69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH14/EX14.2/Ex14_2.sce | a17e2453ecfc5a43649a4a11ee4f83e938b522d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_2.sce | //Chapter 14 Determination of Hydroniumion Concentrations
clc;
clear;
//Initialisation of Variables
e= 0.266 //v
R= 0.0592
//CALCULATIONS
pH= e/R
//RESULTS
mprintf("pH of the unkown solution= %.2f",pH)
|
f71e1043d8a451eaa2145253536213624d4c6eb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH8/EX8.4/Ex8_4.sce | c40fc7026408dc624fd7b6e4e88c8bbc27a769f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | Ex8_4.sce | //fiber optic communications by joseph c. palais
//example 8.4
//OS=Windows XP sp3
//Scilab version 5.4.1
//given
clc
clear all
loss=0.25//loss for each type of misalignment in dB
a=50//core radius in um
NA=0.24//numerical aperture
dby2a=0.045//lateral offset from given plots for loss of 0.25dB
theta=2.4//an... |
f6f240ae873fc26747ca8bdf2adf23afcf98f3ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH2/EX2.2/EX2_2.sce | ff901b05e78dc0e147ee4e3b929e94b93817bb9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,012 | sce | EX2_2.sce | //Example 2.2<i>
//Find whether the given signal is causal or not.
clear all;
clc;
n=10;x1(1)=1;x2(1)=1;
for i=2:length(n)
x1(i)=i;
x2(i)=i-1;
y(i)=x1(i)+1 ./x2(i);
end
causal=%t;
for i=1:length(n)
if n(i)<0 &y(i)~=0 then
causal=%f;
end
end
disp(causal,"The statement that th... |
afade9cfdf736a4198d13200d71547a747c44b38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH11/EX11.7/Ex11_7.sce | 55051b035c5457ecc0936ce3c5e267fb4f333b90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | Ex11_7.sce | //example 11.7
clc; funcprot(0);
Ep=207e6;
Ip=123e-6;
nh=12000;
//from table
xz=0.008;
Ax=2.435;
T=(Ep*Ip/nh)^0.2;
Qg1=xz*Ep*Ip/Ax/T^3;
//part2
Fy=248000;
d1=0.254;
Am=0.772;
Mzmax=Fy*Ip*2/d1;
Qg2=Mzmax/Am/T;
if Qg2>Qg1 then
Qg=Qg1;
disp(Qg,"lateral load in kN");
end
|
01ca6dd844fe77314c57f67becd3cb0f6334d085 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.6/EX3_6.sce | bce545724a7404460cd976891c152b825624a8a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | EX3_6.sce | //Calculating the value of primary current
//Chapter 3
//Example 3.6
//page 207
clear;
clc;
disp("Example 3.6")
I0=1.5; //no-load current
phi0=acosd(0.2)
I2=40; //secondary current in amperes
phi2=acosd(0.8)
r=3; //ratio of primary and secondary turns
I1=I2... |
5939fc79ee44662c825b4910ec8e03f014eb925e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH5/EX5.1/5_1.sce | 1a36b6f0d03267c2fc18e5199999f6d9236214b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | 5_1.sce |
clc
//given
s=1.125//inch
e=0.25//inch
t=2.25//inch
alpha=35//degrees
//from 5.2, we know theta+alpha=sininverse(s/t)
x=asind(s/t)
y=180-x//sin(x)=sin(180-x)=sin(y)
//at admission
p=x-alpha
//at cutoff
q=y-alpha
//from 5.3, theta+alpha=sininnverse(-e/t)
ang=asind(-e/t)
angle=abs(ang)
a=180+angle//lies... |
4262b59a04a3027134a3c6c8cf0a5c50c18c3b60 | 035464a624f6f991af3d52aa977283771e8be0cd | /ИТ/4.sce | eef91b42793695540fdc8e836354978b6bbc196a | [] | no_license | AlexLasher/infTech | 4a927a7430b3430948ff5e080629a8d971ec3919 | 8c4ee19fc907b9b9b7ad7fb6af4872774e0ad3f6 | refs/heads/master | 2021-01-22T18:28:00.896093 | 2017-06-10T04:35:08 | 2017-06-10T04:35:08 | 85,083,402 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | 4.sce | x=[0.3:0.3:10]
y1=3 .*sin(x)-1 .*(cos(x)^2)
scf(0)
//subplot(221)
plot(x,y1,'LineStyle','--','Color','r','Thickness',1,...
'Marker','s','MarkerEdgeColor','b','MarkerFaceColor','y',...
'MarkerSize',2)
xtitle('График функции y1(x)','X','Y')
legend('y1(x)',1)
xgrid
y2=(3 .*(1+(x.^2))^0.5)./(x+5)
//subplot(223)
scf(1)
plot... |
2cd5104d516091de795abdbeb3d91d8c3926e83a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH1/EX1.17/ex1_17.sce | 410f1607018ea1007db4fa39b82a99834f7eb84c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex1_17.sce | //Page Number: 42
//Example 1.17
clc;
//Given
c=3D+8; //m/s
f=10D+9;//hz
er=6;
tandel=2D-4;
vp=c/er;//m/sec
disp('m/sec',vp,'Phase velocity:');
al=(%pi*f*tandel)/vp;//Np/m
disp('Np/m',al,'Attenuation constant:');
//Answer for velocity is calculated wrong in book, hence answers dont match for both
|
5cf2e3a51edb171b40c922189f6f506f02de848a | a30001e45f0342ced961e0431af0f297bf00a538 | /TraceFileDiagnostics/SciLabScripts/anim_block_rotate.sce | 0794a832cb55b8db26c9b48ef9a2068acbc0eaac | [] | no_license | jsayres82/TraceTool | 54697a1c744d0838e894a9bfdce800a4ba6dbbde | 68826d7b31d0fa064b758d24fc408dbe27763e8b | refs/heads/master | 2021-08-30T08:03:07.854850 | 2017-12-16T23:12:05 | 2017-12-16T23:12:05 | 109,863,651 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,444 | sce | anim_block_rotate.sce | // anim_block_rotate.sce
clear; xdel(winsid());
exec('Euler2R.sci',-1);
exec('GeoVerMakeBlock.sci',-1);
exec('GeoPatMakeBlock.sci',-1);
// Block specification
Lx = 0.15;
Ly = 0.05;
Lz = 0.30;
// Motion data
t = [0:0.001:1]'; // Time data
r = [0*t, 0*t, 0*t]; // Position data
A = [2*%pi*t,... |
a8e22af5427d6fe2f75f09eb25c1af57386307e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH6/EX6.10/6_10.sci | ea5f4bd222cc4a4034e308e4ea8fd5e63107cfb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sci | 6_10.sci | // Calculating Difference mode gain and output voltage
clc;
V2=5*10^-3;
V1=3*10^-3;
Vo=300*10^-3;
Vd=V2-V1;
Ad=Vo/Vd;
disp(Ad,'difference mode gain=')
V2=155*10^-3;
V1=153*10^-3;
Vo=Ad*(V2-V1);
disp(Vo,'output voltage (V)=') |
e3f4c9ff21f0a0b9671c7c6def20d9e54874eb69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH14/EX14.4/Ex14_4.sce | 5f6ebd77dd87c5255b27cbf88b0a3780b54bfcbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | Ex14_4.sce | //chapter 14
//example 14.4
//page 302
gain_abs=30
n=5
Ap1=10*log10(gain_abs) // db
Ap_tot=Ap1*n
Ap_f=Ap_tot-10 // db
printf("total power gain = %.3f db \n",Ap_tot)
printf("power gain with negative feedback = %.3f db \n",Ap_f)
|
a998c231e4545b756f0242150b13069c49492d57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.10/Ex3_10.sce | 3486f099853ea666d050fa1db6d7cd089ce88663 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | Ex3_10.sce | clc;
//ex3.10
Vlpk=20.5; //volt
RL=5100; //ohm
Ilpk=Vlpk/RL; //Ampere// from v=r*i
Vave=13.1; //volt//from v=r*i
Iave=Vave/RL; //Ampere
disp('mA',Ilpk*1000,"Ilpk="); //The answers vary due to round off error
disp('mA',Iave*1000,"Iave="); //The answers vary due to round off error
|
5400783af53316f656528b574206187fb5157ddf | abed134eb329d44a339af93997f34c76b7649173 | /P2Codes/Add6.tst | 72058a43a5616b95c92d6350bcec81322bd21c9c | [] | no_license | Patrickyyh/CSCE-312 | 8823df9f53d378b96c8018064da3823faef95ce3 | b9ba0fd8592ce5d91d1689219ff48d638a66aee0 | refs/heads/master | 2023-05-03T18:46:15.689810 | 2021-05-22T06:02:17 | 2021-05-22T06:02:17 | 369,727,875 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | tst | Add6.tst | // Name and UIN
load Add6.hdl,
output-file Add6.out,
compare-to Add6.cmp,
output-list a%B1.6.1 b%B1.6.1 out%B1.6.1 carry%B3.1.3;
set a %B000001,
set b %B000001,
eval,
output;
set a %B000000,
set b %B111111,
eval,
output;
set a %B101010,
set b %B010101,
eval,
output;
set a %B001100,
set b %B110011,
eval,
output;
... |
23c751bc53a7aee9c2848e7d199972b5270f8586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH13/EX13.2/Ex13_2.sce | 07037446edaa413be7172cc4089981f8439a6c26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_2.sce | clc
rk = 14 // Compression ratio
k = 6 // cutoff percentage ratio
rc = k/100*(rk-1)+1
g = 1.4 // Heat capacity ratio
n_diesel = 1-((1/g))*(1/rk^(g-1))*((rc^(g-1))/(rc-1)) // Cycle efficiency
printf("\n Example 13.2\n")
printf("\n Air standard efficiency is %f percent",n_diesel*100)
//The answers vary due to rou... |
40f54bc11b002ed975e942a0ef1cdf370f0ebd7f | dbd504f73f233675d0c8c2c8c5730e866aabcd96 | /codes/MRC.sce | 6559d8ee93f2859ca0e07628285decd3e7d0aaa2 | [] | no_license | surajdurgesht/Wireless-Communication-Lab | f5019be42d24fe6568e98d666efd901283a0c7a7 | e8fac339daf91d24ee0dd9e22e9236fcbb68dac3 | refs/heads/master | 2020-06-04T19:07:54.824459 | 2019-06-16T06:30:21 | 2019-06-16T06:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | MRC.sce | clf();
clear all
S=0:10:100;
t=100;
Y=grand(1,10000,'exp',2);
G=grand(1,10000,'exp',2);
s=10^(S/10);
for i=1:1:length(S);
K=(S(i)*(Y^2+G^2));
X(i)=sum(K<t)/10000;
end
plot(S,X);
xlabel("power");
ylabel("probability of error");
title("MRC Simulation");
|
b31bc002b6fb47142f8bc2346847e7ada3d7c61f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH1/EX1.5/Signals_Ex_1_5.sce | 1affce8b21c3e6f1aaf4672f3ef585b4f333c276 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 894 | sce | Signals_Ex_1_5.sce | clc
//Chapter 1 Signals
//Example 1.5, page no 19
//given
T=1,t0=0,wo=2*%pi
P=1
t=0:0.001:1
f=P*t
//The trigonometric Fourier series coeff for given function
a0=(1/T)*inttrap(t,f)
for n=1:10
f1=(P*t).*cos(wo*n*t)
a(n)=(2/T)*inttrap(t,f1)
if a(n)<0.01 then
a(n)=0
end
end
for n=... |
5f31ed0ac55e581f7abd7d577956923328903af5 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostHriFunction/PR2/SCENARIOS/Pr2TableChompNav.sce | 4e72dad71dfa09b092269a46e1ea0db6df466c02 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,304 | sce | Pr2TableChompNav.sce | #************************************************************
# Scenario of Ikea
#
# date : Wed Feb 8 19:58:29 2012
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT Lampe
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.... |
f7c3a71f565db16a901dfd5b0166a66f8f6ae28a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH10/EX10.5/10_5.sce | 446deb0578e5ead900919da1d40546070c7f0282 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | 10_5.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 10.5
//calculation of the moment of inertia of the wheel
//given data
r=10*10^-2//radius(in m) of the wheel
F=5//force(in N) of pulling
aplha=2//angular acceleration(in rad/s^2) of the wheel
//calculation
tau=F*r... |
5dce079f09d55ac6a3c831f286b8546d0f19e2ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH7/EX7.9/7_9.sce | 08d554a098a07c5321ef51ddc99317494c1f498b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 850 | sce | 7_9.sce | //Example 7.9
//Newtons Backward Formula
//Page no. 243
clc;close;clear;
printf(' x\t y\t d\t d2\t d3\t d4\t d5\t d6\n')
printf('---------------------------------------------------------------')
h=0.1;
deff('y=f2(x)','y=(z(x-2,4)+z(x-3,5)+z(x-4,6))/h^2')
z=[1,7.989;1.1,8.403;1.2,8.781;1.3,9.129;1.4,9.4... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.