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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e9f7e9a40bdf3f86be5234c40d402283ead4ac62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/11_5.sci | 83ad1e0cb7aed6ba81f906fc5213d668ea236ae7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 26 | sci | 11_5.sci | X1=.865;
T1=673;
T2=773; |
70ee826f578c288df314d37ceb82333ae51bf18a | 28b24ec288a5cf2babf644edafb55fc68a19cabf | /edo/pegaso.sce | 750d88ee809793708d99768616296346a9c1409f | [] | no_license | ferreiraalves/metodos-numericos | 5100e3d66613c266203d87880fc5c944bcc81e0e | 31162df9dd824c6a621c34a8a1c5c81ee521c470 | refs/heads/master | 2020-03-25T21:43:35.324923 | 2018-12-04T14:32:58 | 2018-12-04T14:32:58 | 144,187,337 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 846 | sce | pegaso.sce |
function[result] = f(x)
//inserir a formula aqui yo
result= 3*x^2 + sqrt(x+1) * cos(x)^3 -2;
endfunction
function[Raiz, Iter, Erro] = pegaso(a,b,Toler,IterMax)
x=a; [Fa]= f(x);
x=b; [Fb] = f(x);
printf('iter\ta\tb\tx\tFx\tdelta_x\n');
k = 0; x=b; Fx=Fb;
while 1
k = k+1; DeltaX = -... |
2f152b1964bea75e01dd2e30773b5f076eb1e9cc | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.20_7.tst | 7b712b49196680a266b625592770620ecd6ab262 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 25,130 | tst | bow.20_7.tst | 20 3:2.0 4:0.08333333333333333 13:0.16666666666666666 18:0.3333333333333333 32:0.25 44:1.0 62:0.3333333333333333 65:0.2 73:1.0 78:0.25 89:0.16666666666666666 131:0.5 139:0.16666666666666666 144:1.0 175:1.0 242:0.018518518518518517 335:0.3333333333333333 365:1.0 492:1.0 726:1.0 917:1.0 1138:0.5 2874:1.0 3294:1.0 3917:1.... |
79370e5b81014b5689c740d914c91c50a43c6bb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH5/EX5.4/Ex5_4.sce | 431a11f502f65f28e8cb2f65d35556abad4676b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,442 | sce | Ex5_4.sce | clc
A= 10^-7
disp("A= "+string(A)+"m^2") //initializing value of diode area
Na=10^18*10^6
disp("Na = "+string(Na)+"m^-3") //initializing value of acceptor atoms
Nd=10^16*10^6
disp("Nd = "+string(Nd)+"m^-3") //initializing value of donor atoms
Dp1 = 7.8*10^-4
disp("Dp1= "+string(Dp1)+"m^2/s")//initializing value... |
2cc54819cb914fdf9ab2aa9924583bd674c8abf6 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.4_10.tst | bcd3af2494ed629afdefb57442bda535a611e18c | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 675,992 | tst | 5.4_10.tst | 4 106:2 515:1 988:1 1047:1 1451:1 1478:1 1715:1 1875:1 2282:1 2459:1 2478:1 2638:1 2753:1 2807:1 3330:1 3481:1 3662:1 3742:1 4047:1 4940:1 5191:1 5366:1 5633:1 5683:1 5793:1 5826:1 5877:60 5967:1 6094:1 6183:1 6818:1 6852:1 6886:1 6998:1 7202:1 7203:1 7224:1 7762:1 7855:1 7951:1 7954:1 8208:1 8230:1 8238:1 8279:1 9281:... |
eb9bdb9848b614cef62ae06e105e4cf15eb6a80e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH6/EX6.1/ex6_1.sce | 5749ed6817ccd66e2fdd459bc58968b26b02398f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | ex6_1.sce | clear;
clc;
T=290; // temperature in kelvin
k=1.38*10^(-23); // Boltzman constant
B=1;// bandwidth in MHz
P=k*T*B*10^(6); // thermal noise power
disp("the thermal noise power (in watts) is ");
disp(P);
|
fef5ddb8690e662768242d517162f53c575c2e9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.50/Ex4_50.sce | 3256f2ca36bba612e3caa39a4bc8defab50f7b9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | Ex4_50.sce | clc;
v=250; // supply voltage
i=50; // current drawn from supply
ic=0.4; // percentage increase in speed
T=1.2; // ratio of final and initial torque
n=1.4;// ratio of final and initial speed
ra=0.5; // armature resistance
Ea1=v-i*ra; // counter EMF at initial speed
// ia2=(T2/T1)*ia1*k where k=f1/f2 and T1 is ... |
44cc069891b95ace9103d80968031f93639dba1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.8/Ch1_1_8.sce | b5a17adb1b9beb4c55399d87e06b284eea51e3fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch1_1_8.sce | clc
disp("Example 1.8")
printf("\n")
disp("find out resistance")
printf("Given\n")
disp("forward current=100mA,Vr=25V,cut in voltage=0.7v,reverse current=100nA")
//all the values are from fig 1.8
Vf=0.7
If=100*10^-3 //forward current
Vr=25
Ir=100*10^-9 //reverse current
Rf=Vf/If
Rr=Vr/Ir
pri... |
903226b5ef58f64e09bb8ed79251c22bab2e06bb | da9e7a3715817f30e928501ef7df7e0761b30267 | /houghcircles/loader.sce | 3f5a6fed7a08258c4f80ad5d2ea60fc0b09deede | [] | no_license | abhilashasancheti/Scilab-and-image-procesing-Toolbox-using-OpenCV | 0dfe057928b7ea19727e8c363da3f4deab588265 | c3facb7f29be33a8691501352463d1acb0f4fce7 | refs/heads/master | 2021-04-12T04:12:24.904824 | 2015-07-29T16:50:37 | 2015-07-29T16:50:37 | 39,903,072 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sce | loader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
libskeleton_cpp69_path = get_absolute_file_path('loader.sce');
//
// ulink previous function with same ... |
10c03e423f5d2f475f835e139cb5b74ce74fd8e5 | 5d4265716812dfbc9885effc0334e1144b7d1301 | /z.tst | f6ad044f80b328ff408dd9e43c337bf14145c626 | [] | no_license | decapolis/test | c9478f609e1e6d48b43d00b3f3a63eaf197e4c3f | c6c66db59c6a7923dfe7a12417c4e6b6ab887379 | refs/heads/master | 2020-03-25T19:17:50.542350 | 2018-08-09T01:22:37 | 2018-08-09T01:22:37 | 144,075,708 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | tst | z.tst | This is line 1
This is line 1.1
This is the new line 1.2
This used to be line 1.2, now it is line 1.3
This is line 2
This is line 3
This was line 5, now it is line 4
This is line 4.1
This is line 4.2
This is the new line 5
This is line 6
|
aadf2fc399f19980067c9808e672dc3447a95496 | efa427de3490f3bb884d8ac0a7d78829ec7990f9 | /collatz.sce | e267edaf589edbaa4796bb365664faf34800700c | [] | no_license | letyrobueno/Scilab | a47648473aa681556561d5cea20659d143e4f492 | 2f23623dccea89a3ab2db12ec1f615186f785aa4 | refs/heads/master | 2020-09-01T19:00:30.804237 | 2019-11-01T17:45:22 | 2019-11-01T17:45:22 | 219,031,973 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | collatz.sce | n=input("Give a natural number: ")
printf("The Collatz sequence is:\n%g\n",n)
if(n>0)
while n~=1
if(modulo(n,2))~=0
n=n*3+1;
else n=n/2;
end
printf("%g\n",n)
end
else printf("The number is not natural (positive)!")
end //end
|
31bda37263a37556c89f7ad236116c3e2c05b258 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PiLab.sci | 754a68ca1db59bcf52356c23b444be6506750e91 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,397 | sci | PiLab.sci | // **** Purpose ****
// This is the PiLab caller. It provides a simple command to execute PiLab
// functions without memorizing the all functions names of PiLab.
// **** Variables ****
// [project_name]: 1x1, string
// <= the project name
// [task_name]: 1x1, string
// <= the task_name to do
// [action]: 1x1, string,... |
9a374ff25e8516e7a0f301dc326461a343d4fe8b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH2/EX2.3.2.c/ex_2_3_2_c.sce | 0a6b716cde1db068294eacc4d2c761a246ea62cc | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | ex_2_3_2_c.sce | errcatch(-1,"stop");mode(2);//Example 2.3.2.c: relative accuracy
;
;
//given data :
format('v',7)
Ae=80;// in V
Am=79;// in V
e=Ae-Am;
error1=(e/Ae)*100;
A=(1-abs(e/Ae));
disp(A,"relative accuracy,A = ")
exit();
|
bbc4a753d2354ebdc8ea8201d951d3d17c302c8d | 6d5fcbfc1bf414e8bc12246b7bf42c95bd0aec78 | /docker/demo.tst | b927e26d42fae7bd7219b8f8fad466dd33e63fe6 | [] | no_license | hfoffani/webprofiler | 302cb6dc6f11640b1ad862786a94b0ac27c4fc64 | e76fb028bb43acdcf4c3949a4584f1dc19fded49 | refs/heads/master | 2021-01-20T09:19:40.167046 | 2017-08-08T11:35:41 | 2017-08-08T11:35:41 | 90,234,307 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | tst | demo.tst | GO https://www.w3.org/
FINDTEXT Web Security
CLICK
FINDNAME q
TYPE rfc 822\n
FINDTEXT RFC 822: Standard for the Format of Arpa Internet Text Messages
CLICK
|
9804f499cadba46851df15ac7cfb5c72a159d403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH8/EX8.7/Example_8_7.sce | 1720abbe98d0b064a270079639abf96799b04b37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sce | Example_8_7.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 8
//Phase Equilibria
//Example 7
clear;
clc;
//Given:
P1 = 135.4; //vapour pressure of benzene (kPa)
P2 = 54; //vapour pressure of toluene (kPa)
//To determine the pressure at the beginning and at the end of process
//At beginning
x = ... |
31479dddd379b4a40ccbcbd9da71ae73f06da0cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.27/27.sce | d6ba5cd231d4dd42e0d863ceec3c37323f7793f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | 27.sce | clc
d=0.022; //m
di=0.18; //m
e1=0.62;
e2=0.82;
rho=7845; //kg/m^3
T1a=693; //K; For caseI
T1b=813; //K; For caseII
T2=1373; //K
l=1; //m
a=5.67*10^(-8);
cp=0.67; //kJ/kg K
A1=%pi*d*l;
A2=%pi*di*l;
Qi=A1*a*(T1a^4-T2^4)/(1/e1+A1/A2*(1/e2 - 1));
Qe=A1*a*(T1b^4-T2^4)/(1/e1+A1/A2*(1/e2 - 1));
Qav... |
e751a8c251f5c5c5cfc9d2b4ee23078902b58f89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.1/4Ex1.sce | 650042dd2fab256e58f2f24a6bf4160c5c973381 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | 4Ex1.sce | //Chapter 4 Ex 1
clc;
clear;
close;
//(i)
x=5005-5000/10;
mprintf("(i)The value of expression is %d",x);
//(ii)
y=18800/470/20;
mprintf("\n (ii)The value of expression is %d",y);
|
beee3d215a2e8fc3e331431dff778472c1b84d51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH3/EX3.4/3_4.sce | 22193cae4366d6289c53a4f2d3171cfe2ccfa2d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | 3_4.sce | clear
clc
disp('Exa-3.4(a)');
hc=1240; phi=4.52 //both the values are in eV
w1=hc/phi;
printf('The cutoff wavelength of the tungsten metal is %.3fnm\n ',w1);
disp('Exa-3.4(b)');
w2=198; //given value of wavelength
Kmax=(hc/w2)-phi;printf('The max value of kinetic energy is %.3f eV\n',... |
f086d5163952561ed424c6d13ebe3fec13420951 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH3/EX3.3/3.sce | 593cdd39d62250fb92dea239c661e8916dc97f11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | 3.sce | clc; funcprot(0);
//Example 3.3 On Adiabatic Process
// Initialisation of variables
gma = 1.4;
rho_0 = 0.002378;
P1 = 2*2116.2; // Pressure ion lb per sq ft
P0 = 1*2116.2; // Pressure ion lb per sq ft
T0 = 59+459.4;
// Calculations
rho1 = rho_0*(P1/P0)^(1/gma);
T1 =T0*(rho_0/rho1)*(P1/P... |
af63cac9dcf03bf092d39f0726fcb31240436998 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH18/EX18.4/Chap18_Ex4.sce | ea493c94eed29955a24adaae8d64f2d085f40077 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,662 | sce | Chap18_Ex4.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-18, Example 4, Page 462
//Title: Scale-up of a Reactor with Flowing Solids
//==========================================================================================================
clear
clc
... |
465abc1e77bcdb09a6bdc10392e61fe36e53672f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.26/Chapter3_Exampl26.sce | c2fda16020bdfb87df2d60b886202c7e48826fa4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | Chapter3_Exampl26.sce | clc
clear
//INPUT DATA
p1=120;//Pressure in kN/m^2
t1=303;//temperature in K
v1=0.0708;//specific volume in m^3/s
v2=0.004165;//specific volume in m^3/s
t3=1423;//temperature in K
t4=1873;//temperature in K
cp=1.005;//specific pressure
cv=0.718;//specific volume
R=0.287;//gas constant
g=1.4;//constant
//... |
424c74feecf972a16c10bb24230d780dc5bf0de3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH16/EX16.2/16_2.sce | dc07fb11c4db00f0af7f672743b004bb5a23556d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | 16_2.sce | ////
//Variable Declaration
R = 8.314 //Ideal Gas Constant, J/(mol.K)
T = 298 //Temperatureof Gas, K
M = 0.040 //Molecular wt of Ar, kg/mol
//Calculations
vmp = sqrt(2*R*T/M)
vave = sqrt(8*R*T/(M*%pi))
vrms = sqrt(3*R*T/M)
//Results
printf("\n Maximum, average, root mean square... |
ad18bd67ce05119cdf9d7256d0f5546a1227179c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_dir.sci | 0a8b1b17101c4bdb6fc65050e790b19d73363c74 | [
"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 | 189 | sci | sci_dir.sci | function [stk,txt,top]=sci_dir()
// Copyright INRIA
txt=[]
if rhs<0 then
stk=list('unix_w(''ls'')','0','?','?','?')
else
stk=list('unix_w(''ls ''+'+stk(top)(1)+')','0','?','?','?')
end
|
11542b649bd0e56619746ade0e31acf78c66b853 | 9b6d8059005a56653d786daaca9b85ba8afe739c | /hamming.sce | 5d9c49d40482779c0de2c8743b8daaad1d221796 | [] | no_license | SakshiLajurkar/Bit-Error-detection-and-correction | ee5a0dc7186d7e42a8029749260a01889b732578 | 7b49760dbaa72b50ae9684ce34747ce700daf2f6 | refs/heads/master | 2022-06-18T19:15:06.714532 | 2020-05-06T09:38:02 | 2020-05-06T09:38:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,764 | sce | hamming.sce | disp("Enter block length (n):");
n = input("");
k = 4;
//Number of parity bits
m = n-k;
I = eye(k,k);
//coefficient matrix
P = zeros(k,m);
disp("Enter elements of coefficient matrix P");
for i=1:k
for j=1:m
P(i,j)=input("");
end
end
disp(P, "Coefficient matrix P")
// generator matrix
G = [P I];
d... |
c2ca1f922ed1fe8c47a227b9ca74ca3d0f374f1a | b2880a6ea7ac9316074da2103b6aaf17796a6e47 | /DTO/template.tst | 1016acf35ab3eba9c6e9f347fff89f98a814f698 | [] | no_license | syedabdi/CodingChallenge-BE | 248bfef857c8f52f8637886ed57f0ecdb348798d | 3818802156cc4f86c8ac1e84ca8904a0fc858ed4 | refs/heads/master | 2021-09-08T04:27:09.215614 | 2018-03-07T00:47:42 | 2018-03-07T00:47:42 | 123,523,311 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | tst | template.tst | $Classes(*)[
export module $Namespace {
export interface $name {
$Properties[
$name:$Type
]
}
}] |
d7f7be0d786f0f5776e6d0d0fd448f7dbe335f0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.16/Ex2_16.sce | 2c7e4a73eff31f818a991a1f0a3821eede675453 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | Ex2_16.sce | clc
//given that
c = 3e8 // speed of light in m/s
v = c/10 // Velocity of moving proton in m/s
v_error = 1 // Percentage error in measurement of velocity
m = 1.67e-27 // mass of electron in kg
h = 6.63e-34 // Plank constant
printf("Example 2.16")
h_bar = h / (2*%pi) // constant
del_v = v*v_error/100// c... |
c8eb1333ace341adba45f2bb3036b49f13e0e097 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH3/EX3.7/Chapter3_Ex7.sce | 6b13db409c46acb5ddd80ab467b54f6157782d7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,685 | sce | Chapter3_Ex7.sce | //Harriot P,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc. USA,pp 436
//Chapter-3 Ex3.7 Pg No. 115
//Title:Equilibrium temperature as a function of conversion and Optimum Feed Temperature
//==========================================================================================================
clear
... |
858f98fc5280fe0e9181b5e91f2eaeb8422aff63 | 18137e490b85726a353b3039386d13ce07cee8d6 | /Hack Computer/Assembly Language Programs/Program3/Program3.tst | 432136db61da465f60f6eb1ecafe98e5e8fc9d7e | [] | no_license | saha-nab2001/Hack-ALU-and-Hack-CPU-in-HDL | 087c9d59a9032ac4a145b8f899364ee9d6a6d74d | 3b1c461aa0f331ce7d7505b6ad9b0eab70f102e3 | refs/heads/main | 2023-06-15T16:59:24.758610 | 2021-07-19T15:50:45 | 2021-07-19T15:50:45 | 387,511,878 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | tst | Program3.tst | load HackComputer.hdl,
output-file Program3.out,
output-list time%S1.5.1 reset%B2.1.2 ARegister[0]%D1.7.1 DRegister[0]%D1.7.1 PC[]%D0.4.0 RAM64[16]%D1.7.1 RAM64[17]%D1.7.1 RAM64[18]%D1.7.1 RAM64[19]%D1.7.1;
ROM32K load Program3.hack,
output;
// First run (at the beginning PC=0)
set RAM64[18] 100,
repeat 1400... |
e8d9a42874c78d2d44761710b1effc642c2280e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH7/EX7.25/Ex7_25.sce | 9f1a39531b1544ae09624fec7d13454f31b051eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | Ex7_25.sce | //===========================================================================
//chapter 7 example 25
clc;
clear all;
//variable declaration
VL = 415; //voltage in V
IL = 20; //current in A
pf = 0.8; //phase angle
//calculations
phi =acos(pf) //phase angle in °
phi1 = (phi*180)/%pi
x = cos((30-ph... |
dba86baa385fef05530a589642242efb0598eb61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH11/EX11.20/Ex11_20.sce | a56be267ebe56de86df36782fa917aebc1aac7e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,268 | sce | Ex11_20.sce | // Calculating the kVA output of the machine
clc;
disp('Example 11.20, Page No. = 11.56')
// Given Data
// 3 phase turbo-alternator
rpm = 3000;// R.p.m.
f = 50;// Frequency (in Hz)
L = 0.94;// Core length (in meter)
Bav = 0.45;// Average gap density (in Wb per meter sqaure)
ac = 25000;// Ampere conductors per ... |
878217619e2552bfacfe716207c079f1c864678a | fa97ee54e2820a93ad8030d8b55ad45008ae503d | /inductivo.sce | e96b91cae7e24b30856e75c38a6a2dc34fff9ea7 | [] | no_license | Israel-Eskape/Rectificador-de-Onda | 4ae84c57b69e81be725ee2be8d0c1d3b932e811d | fe985362758a855cc1ae5aea49042aec4010222d | refs/heads/master | 2020-08-27T14:27:26.249564 | 2019-10-24T22:28:48 | 2019-10-24T22:28:48 | 217,405,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | sce | inductivo.sce | //%%%MEDIA ONDA %%%%%
//Inductivo
//R = input("Ingresa la Resistencia ");
//l = input("Ingresa la inductancia ");
//vrms = input("Ingresa el voltaje ");
//fe = input("Ingresa vm frecuencia ");
R=100;
l = 0.1;
vrms = 127;
fe=60;
B=3.502;
vme = sqrt(2)*vrms;
w = 2*%pi*fe;
xl = w*l;
z = sqrt((R^2)+(xl^2));
theta = a... |
e16067812475bad137a9a3bb47bfcecf46f65707 | 765bc14bfd27d828ffb23b30e838ac739fce91c5 | /Framework/Config_class/UserFiles/Tests/Ringdown/Ringdown.tst | 209ffca23ecc04aa237506f12bf017edc5a2f1e5 | [] | no_license | MaximeBaudette/PARTF | e677d9d5824271910b4b6de07569619201dea273 | 85b733e59c8160ec16b27dc373cc2ce6d35c3ff4 | refs/heads/master | 2020-03-09T20:57:14.579999 | 2018-05-17T00:50:08 | 2018-05-17T00:50:08 | 128,997,252 | 0 | 0 | null | 2018-04-10T21:30:48 | 2018-04-10T21:30:48 | null | UTF-8 | Scilab | false | false | 6,112 | tst | Ringdown.tst | [Bus1]
EvtPluginINIFilePath = "RingdownEvtPlugin/RingdownEvtPlugin.ini"
EvtParams.<size(s)> = "11 10"
EvtParams 0 = "0"
EvtParams 1 = "346.500E-3"
EvtParams 2 = "696.700E-3"
EvtParams 3 = "1.297E+0"
EvtParams 4 = "1.457E+0"
EvtParams 5 = "6.061E+0"
EvtParams 6 = "7.229E+0"
EvtParams 7 = "8.951E+0"
EvtParams 8 = "11.705... |
8e38946254adf876d02bdfeb6540d77ed390799e | f7d0f456b8e29ce4f81d9cbe1ca2a57fede3bc5d | /solvers/cyclist/bench/entl/05.tst | 2411c34e003e81b934980a3484e537209085968e | [] | no_license | mihasighi/smtcomp14-sl | 22467201b3f7e74e2001e259134c040d80afd6b6 | 8dd4ff648e16e31acd193f882082df349e211251 | refs/heads/master | 2021-06-06T17:01:18.752298 | 2018-06-28T10:04:32 | 2018-06-28T10:04:32 | 19,853,856 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 51 | tst | 05.tst | PeList(x,y) * y->z |- PeList(x,z)
|
50193b47a497926108dd1006edb36af09493fbce | 72d7c10733e74eafb60961874dedea7fa2a43569 | /2.Basics/conv.sce | 5ff9787eb5255326ef7164d4315a95e6d640450f | [] | no_license | AkshayNachappa/Scilab-Workshop | 8dc448c41a2e768f3d93bbed928705445b9c007b | 056436f38a1f3aad7d1e3669595718839108c40e | refs/heads/master | 2023-01-02T00:20:19.968404 | 2020-10-20T17:04:44 | 2020-10-20T17:04:44 | 297,102,650 | 2 | 2 | null | 2020-10-20T17:04:46 | 2020-09-20T15:12:27 | Scilab | UTF-8 | Scilab | false | false | 89 | sce | conv.sce | clear;
clc;
close;
t=0:1:6;
x=1:4;
h1=[1,1,-1,1];
x1=convol(h1,x)
plot2d3 (t,x1)
|
f9ab5f9ed8ad68d8a07aba3a047d930a5542a0e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH5/EX5.5/ex5_5.sce | e6e49394e267183689e15aaae1c69cc45d11da8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_5.sce | clc;clear;
//Example 5.5
//given values
W=5*10^-7;//wavelength in m
F=10^-5;//force in N
h=6.625*10^-34;//Plank's constant
m=1.5*10^-3;//mass in kg
c=3*10^8;//speed of light in m/s
S=0.1//specific heat
//calculation
n=F*W/h;
disp(n,'no. of photons');
E=F*c/4200;//in kcal/s
T=E/(m*S);
disp(T,'the rate ... |
e05b3e2c4d70234e2be5a9eebf559c572636f6e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH2/EX2.4/Ex2_4.sce | c54097374ac111206332199fb36769b5c0cf81c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | Ex2_4.sce | clear all; clc;
//This numerical is Ex 2_4,page 19.
//converting dynamic pressure of air from 2_1 to wg
pd=16.77//lbf/ft^2
rho_w=62.4/32.2
g=32.2
disp("From pressure=density*gravitational accelaration *head, we can find out the value of head")
h=pd/(rho_w*g)
printf(" Hence the value of head H is %0.3f (lbf/... |
0e362628da459c291342ca0c81bcab25c7921a20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH1/EX1.6.2/1_6_2.sce | 57154b9d0d7464c0c87fe6d9306e65cb7ada0279 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | 1_6_2.sce | clc
//initialisation of variables
ws= 1/35 //tonf/ft^3
A= 10500 //ft^2
wf= 1/36 //tonf/ft^3
Wo= 7000 //tonf
Wf= 6950//tonf
li= 300 //ft
lh= 400 //ft
l= 7200 //ft
l1=50 //ft
l2= 10 //ft
l3= 250 //ft
l4= 40 //ft
//CALCULATIONS
Dod= (1/A)*((Wo/wf)-(Wf/ws))
Ac= ws*A*0.835
x= (l1*l2+l3*l4)/(l+l3-l1*l2)
do=... |
8b37a2a3c4eff18839dad8d1de1884634bee83f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH1/EX1.9/1_9.sce | 48be2be03f922e496e4cb25879795941d83c0224 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | 1_9.sce | pathname=get_absolute_file_path('1_9.sce')
filename=pathname+filesep()+'1_9_data.sci'
exec(filename)
//mechanical efficiency at full load
nm=bp/(bp+fp)
//mechanical effciciency at half load
nmh=0.5*bp/(0.5*bp+fp)
//mechanical efficiency at quarter load
nmq=0.25*bp/(0.25*bp+fp)
//mass flow rate of fuel
mf=bp/(... |
928e7fb4afba97e655bdda635aca4608274eb4c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH7/EX7.5/Ch07Ex5.sce | de3d50c50e2be5c12d33f584d3d65396200b4625 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | Ch07Ex5.sce | // Scilab Code Ex7.5:: Page-7.9 (2009)
clc; clear;
n1 = 1.544; // Refractive index of the core material
n2 = 1.412; // Refractive index of cladding
NA = sqrt(n1^2-n2^2); // Numerical aperture for the fibre
printf("\nThe numerical aperture for an optical fibre = %4.2f", NA);
// Result
// The numeric... |
77b285f8b65e0198cc4bf5eef0c36a5ff312a5da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH5/EX5.16/Ex5_16.sce | c2c2432329d426878e01a49a75aa33695a578def | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_16.sce |
//
//
bs1=2.375,bs2=2.835,bs3=0.435,
is1=1.730,is2=0.615,is3=2.070,is4=1.835,is5=1.630,
is6=2.255
fs1=3.450,fs2=0.985,fs3=3.630,
sbs=bs1+bs2+bs3
sis=is1+is2+is3+is4+is5+is6
sfs=fs1+fs2+fs3
r1=bs1-is1
r2=is1-is2
r3=bs2-is3
r4=is3-is4
r5=is4-fs2
sr=r1+r2+r3+r4+r5
printf("\n r1,r2,r3,r4,r5,sr")
f1=bs2
f2=is5-bs3
... |
479474b51f697c5ffc25624c9ed14f957d63bb25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH10/EX10.4/Ex10_4.sce | f6da78e67f92e175c123867c6f7be31e087c24fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | Ex10_4.sce | //Example 10_2 page no:442
clc;
//given
K=0.5;
L1=50*10^-3;
L2=200*10^-3;
//calculating the mutual inductance
M=K*sqrt(L1*L2);
M=M*1000;//converting to milli henry
disp(M,"the value of mutual inducatance between coil is (in mH)");
//calculating the maximum inductance when K=1
M=sqrt(L1*L2);
M=M*1000;//conve... |
52d3473e1f0e8991354a6c1b93256a48bcd6b264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.4/ex1_4.sce | cf89cee5662fc4d2b4c75168328f6aa013d3a89d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | ex1_4.sce | // Exa 1.4
clc;
clear;
close;
format('v',6)
// Given data
N_D = 10^21;// in /m^3
N_A = 5*10^20;// in /m^3
NdasD = N_D-N_A;// in /m^3
n = NdasD;// in /m^3
miu_n = 0.18;// in m^2/V-s
q = 1.6*10^-19;// in C
// The conductivity of silicon,
sigma = q*n*miu_n;// in (ohm-m)^-1
disp(sigma,"The conductivity of Si ... |
cb654a6237d0e9e72ddc6f7c24b5dec2d7c79e71 | a006a53d954de031fd82f26f4fc82c8fb610293c | /macros/buildmacros.sce | f83549cd53262bb2a7822d4b70ea56e41df2c2d5 | [] | no_license | Siddharth11235/CSDP-basic | cba775450ad5f7271ecc00ada0831c3ed1518958 | 97c441b8a6eea4c6b4466c03828f048e2c0fc37a | refs/heads/master | 2021-06-20T23:43:51.881537 | 2017-07-17T12:30:00 | 2017-07-17T12:30:00 | 96,966,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | buildmacros.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
function buildmacros()
macros_path = get_absolute_file_path("buildmacros.sce");
tbx_build_macros(TOOLBOX_NAME, macros_path);
endfunction
buildmacros();
clear buildmacros; // remove buildmacros on stack
|
648c27f8d2352c6f5f5d43554413ccf0d95ebbee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.48.b/ex_1_48_b.sce | 126eddcf0c248c67b4ffe251c9bcdbb8140d47d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | ex_1_48_b.sce | //Example 1.48.b://true power is a percentage of the power
clc;
clear;
dI=(-0.011);//ERROR IN CURRENT MEASUREMENT
dR=0.0025;//ERROR IN RESISTANCE
dP= 2*dI+dR;//total relative error
RP= (1/(1+dP));//true power as a percentage of orignal power
disp(RP*100,"true power as a percentage of orignal power")
|
4e3c0eb6dca7df64017cc48f6ff41f22512b3649 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH5/EX5.5/exa5_5.sce | aa581c475fc50b4f40584ede4e21d53bb4639d5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | exa5_5.sce | clc;
//Example 5.5
//Page no 172
//solution
Fl=1255; //kHz
Fif=455; //kHz
FRF=800; //kHz
Q=120;
//(a)
Fim=Fl+Fif;
disp('kHz',Fim,"(a)Image Frequency Fim = ");
//(b)
p=((Fim/FRF)-(FRF/Fim));
IFRR=sqrt(1+(Q^2)*(p^2));
disp(IFRR,"(b)IFRR = ");
//(c)
IFRR1=5.6;
IFRRt=IFRR*IFRR1;
disp(IFRRt,"(c)Combined IFR... |
93c44dac1d3856c0b8a6c3c5f0de88d5778937a8 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH6/EX6.9/6_9.sce | 743df493261a517ad66719631612646c77677219 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | 6_9.sce | clc;
cp_CO=29.27;//kJ/kmol K
cp_H=28.89;//kJ/kmol K
cp_CH4=35.80;//kJ/kmol K
cp_CO2=37.22;//kJ/kmol K
cp_N=29.14;//kJ/kmol K
niCO=0.29;
niH=0.12;
niCH4=0.03;
niCO2=0.04;
niN=0.52;
cp_=cp_CO*niCO+cp_H*niH+cp_CH4*niCH4+cp_CO2*niCO2+cp_N*niN;
R_=8.3145;
cv_=cp_-R_;
m_CO=28;
m_H=2;
m_CH4=16;
m_CO2=44;
m_N=28;
m_=niCO*... |
b6bc3e8d5b81756671664edba64d279c16dcdaf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH13/EX13.3/Ex13_3.sce | 6b0ac6b1ee4eb75ee267d159bf7d0fafbc0437f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | Ex13_3.sce | //Example 13.3
L=1275;//Length when coldest (m)
delta_T=40-(-15);//Temperature range (C)
alpha=12*10^-6;//Coefficient of linear thermal expansion (C^-1), See Table 13.2
delta_L=alpha*L*delta_T;//Change in length (m)
printf('Change in length = %0.2f m',delta_L)
//Openstax - College Physics
//Download for free at ... |
cf6cc4fd06a07735e5d0cc5544c842928fdab9b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH45/EX45.6/Example45_6.sce | 3d04ad52feab36bc7058a11b0b78101e6a7c772a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Example45_6.sce | //Given that
v = 2.8*10^8 //in m/s
H = 19.3*10^-3 //in m/s.ly
//Sample Problem 45-6
pt = mopen('Example45_6_result.txt', 'wt')
mfprintf(pt, '**Sample Problem 45-6**\n')
r = v/H
mfprintf(pt, 'The quasar is approx at a distance of %ely', r)
mclose(pt) |
3f3eb41146d4bb2ef8395a3d727d7e730a0bed5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH1/EX1.7/1_7.sce | b1742830d17367c9098f68ea9b0bcbb514423e41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | 1_7.sce | //1.7
clc;
V=100;
R=20;
t=50*10^-6;
L=0.5;
i=(V/R)*(1-exp(-R*t/L))
iH=50*10^-3;
printf("The circuit current is= %.5f A", i)
disp('Since the circuit current is less than holding current of 50mA so thyristor will turn OFF')
R=V/(iH-i);
printf("Maximum value of R= %.3f Ohm", R)
|
a9e6f589d13e7193351b735b2a6261691a8376c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH6/EX6.15/Ex6_15.sce | 0c16e4d4684a9afab9fb4a5ad00e58f0bd51f110 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | Ex6_15.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 6.8.2\n')
//given data
m1=250;m2=100//mass of two blocks in Kgs
c1=80;c2=60,c=20//damping coefficients in N-sec/m
F1=1000;F2=1500//amplitude of force acting on block 1 and 2 rsptly
k=250000//stiffness of spring in N/m
W=60//frequency of applied fo... |
22d21efbbdd5eae78447fcb8b81e8e9f7c51429e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH5/EX5.9/Ex5_9.sce | 372c3ddb437d9174e9c523ea091fe71596fd8983 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | Ex5_9.sce | clc;
T1=300; // Minimum operating temperature in kelvin
T3=900; // Maximum operating temperature in kelvin
p1=1; // Minimum pressure in bar
p3=4; // Maximum pressure in bar
m=1600; // Mass flowrate in kg/min
r=1.4; // Specific heat ratio
Cp=1.005; // Specific heat at constant pressure in kJ/kg K
p2=p3; p4=p1;... |
344b5755ac486f73ade1554a98dcd87b40235469 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/TK_SetVar.man.tst | d0e502f911cc529816c245021f21d8e36b6c3cb4 | [
"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 | 267 | tst | TK_SetVar.man.tst | clear;lines(0);
// creates a toplevel TK window. TK_EvalStr('label .foo.l -textvariable tvar');
// create a static label
TK_EvalStr('pack .foo.l');
// pack the label widget. It appears on the screen.
TK_SetVar('tvar','This text has been set directly within scilab');
|
d7856b80222421abab29252914cb46726be4e9a2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/%sp_norm.sci | 425fb6345835e4b1f83258f7218efbde91e0f060 | [
"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 | 755 | sci | %sp_norm.sci | function res=%sp_norm(S,flag)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then flag=2;end //norm(S)=norm(S,2)
[m,n]=size(S)
if m==1|n==1 then //vector norm
[ij,v]=spget(S);
res=norm(v,flag);
return
end
select flag
case 1 then
res=maxi(ones(1,m)*abs(S))
case 2 then
if m<n then
S=S*S'
elseif m>n then... |
ae6c6e3f4594e732a87e701671688891545012b5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/hankelsv.man.tst | f02d2a0a0dfa95262ae5500514092fb82388abec | [
"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 | 158 | tst | hankelsv.man.tst | clear;lines(0);
A=diag([-1,-2,-3]);
sl=syslin('c',A,rand(3,2),rand(2,3));[nk2,W]=hankelsv(sl)
[Q,M]=pbig(W,nk2(2)-%eps,'c');
slr=projsl(sl,Q,M);hankelsv(slr)
|
cfc1fabe6e0d306395d6ed09456baf5345824720 | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/letter/data.norm.tst | ba350a8d1a4aa0117ceaa6aea104ae71965b5181 | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 627,827 | tst | data.norm.tst | 0.2 0.6 0.266667 0.4 0.2 0.333333 0.666667 0.6 0.2 0.466667 0.266667 0.533333 0.2 0.466667 0.4 0.733333 class17
0.133333 0.0666667 0.133333 0.133333 0.0666667 0.333333 0.666667 0.266667 0.333333 0.666667 0.6 0.4 0.0666667 0.6 0.2 0.466667 class5
0.133333 0.266667 0.266667 0.2 0.133333 0.466667 0.6 0.0666667 0.466667 0.... |
6a588547502d70e45dcdbc300cb19e9a6fda36be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH5/EX5.6/Ex5_6.sce | 0b20d61eab23f362e5f95a03097f281ded18133d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | Ex5_6.sce | //example 5.6
clc; funcprot(0);
q=3.06;
qbar=25;
C1=1-0.5*(q/(qbar-q));
Sum=0;
C2=1+0.2*log10(10/0.1);
L=[1, 2, 3, 4, 5];
Dz=[48, 48, 96, 48, 144];
Es=[750, 1250, 1250, 1000, 2000];
z=[24, 72, 144, 216, 312];
Iz=[0.275, 0.425, 0.417, 0.292, 0.125];
printf("Layer No.\t deltaz (in)\t Es(lb/in^2)\t z to the mi... |
acbfc8e274893b7f5e126806217a9c9bb3c0bdb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH11/EX11.6/PA_Ex_11_6.sce | cd210d8d944087b2dc72be1a73ecd7b6444f6fa5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | PA_Ex_11_6.sce | clc
//Chapter 11:Power amplifiers
//example 11.6 page no 479
//given
Po=20//power delivered in watt
Rl=50//load resistance
Vcc=sqrt(%pi^2*Rl*Po/8)//suppy volatage
Idc=4*Vcc/(Rl*%pi^2)//direct current in each transistor
mprintf('the suppy volatage is %f V \n the direct current in each transistor is %f A',Vcc,Idc... |
896508184fc6376ac912090af35257a499ab7532 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH3/EX3.13.4/EX3_13_4.sce | ceb52ba4d64043517768fedd56f10353be155551 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX3_13_4.sce | //Example No. 3.13.4
clc;
clear;
close;
format('v',7);
Rr=73;//Ω
Z=120*%pi;//Ω(For free space)
//Aem=0.13*lambda²
AemBylambda_sqr=0.13;
leBYlambda=2*sqrt(AemBylambda_sqr*Rr)/sqrt(Z);
disp("Effective length in meter is "+string(leBYlambda)+"*lambda");
|
1e83b025e2cdf01d463ce822626a213d360b6409 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH8/EX8.5/Ex8_5.sce | 1805b51804197fbbda96538fd295db9b9276fba2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | Ex8_5.sce | clear
//
//
//
//Variable declaration
e=1.6*10**-19 //charge(c)
mew_e=0.36 //electron mobility(m**2/Vs)
mew_h=0.17 //hole mobility(m**2/Vs)
rhoi=2.12 //resistivity(ohm m)
//Calculation
ni=1/(rhoi*e*(mew_e+mew_h)) //intrinsic concentration(per m**3)
//Result
printf("\n intrinsic concentration... |
6b374cc3770777f1c78322d97dee66e9821044c0 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/linear/scilab/P3/P3.sce | 928e070718b22646db6140b1143173685a4af48a | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,245 | sce | P3.sce | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// Atmospheric tower example from:
// Zhang, Zhengjiang and Shao, Zhijiang and Chen, Xi and Wang, Kexin and Qian, Jixin, 2010
// Quasi-weighted least squ... |
fa111b97dc1f6589c829389bacc632d654e67acf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH8/EX8.12/8_12.sce | bea441e90eb788019b98b4bbf6ebb5957735146c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_12.sce | //Position of the balls
//refer fig. 8.16
//Let a virtual displacement be given to the system of balls as shown
//Applying virtual work principle
//200*sind(30)*delta(DB)+150*sind(60)*delta(EB)=0
theta=atand((150*sind(60))/(200*sind(30))) //degree
printf("Thus theta=%.2f degree",theta)
|
c3c69faea8a2d4ba5bd74459b84842e49e586676 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/%aitlist_p.sci | 7fad4e519ca866ef123a92dd9c4698782ea3ec16 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 471 | sci | %aitlist_p.sci | function %aitlist_p(obj)
mprintf("Data acquisition object\n")
mprintf(" .init() - configures data acquisition parametes\n")
mprintf(" .trigger() - confiures data acquisition start trigger\n")
mprintf(" .sync() - synchronizes AI conversion with DIO rising/falling edge\n")
mprintf(" .start() - sta... |
cc522ebab197ce534123ce50371362b8f877b0a6 | c3280ada260999123d75347caeaad1c7fc9f8266 | /jumlah.sce | ffe190bbb0531c8ef2c536b0f3df66d05ecf1bf0 | [] | no_license | dikisp/Kuliah-MetNum | 3bd01f0573f2a18eb320a716da841ca3ec69930b | 7775f5e0251457702fb3e24c88483df0ff37fee7 | refs/heads/master | 2020-03-23T06:41:49.307866 | 2018-07-17T03:13:25 | 2018-07-17T03:13:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | jumlah.sce | function total = sigma (bawah,atas)
jum = 0;
for i=bawah : atas
jum = jum+i;
end
total = jum;
endfunction
|
316658613066b2b1f41a870dd798adc3854b63d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH3/EX3.6/eg3_6.sce | f89269a1f6a60fdb86b9fcf57da61a2c01023cf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg3_6.sce | clear;
//clc();
lc=0.5;
dep=0.09;
cost_en=0.12;
res=1.76;
l=1;
ann_cost=dep*25000;
lf=0.2*lc + 0.8*(lc^2);
al=3*.1*res*8760*lf/1000;
cost=al*cost_en;
d=ann_cost/cost;
j=sqrt(d);
printf("The current density is:%.2f A/sq cm",j);
|
291a14bbcdbd624009093db38b077b22b0d166d5 | 885ee700356ad98a29fe87d97751e692062de746 | /data/igt_exp/inflected+uninflected_data/lez.unclean.tst | b6cf695cedb27b7f581be514aa69dd55e0f66215 | [] | no_license | LINGuistLIU/IGT | 1e58bfea1e7d70bdff507c67fa856c55af5bbdc2 | 8b9ca93189424118a669582ce54192bf441fcc6a | refs/heads/master | 2022-08-31T12:33:23.649666 | 2020-05-28T20:27:18 | 2020-05-28T20:27:18 | 267,152,155 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,386 | tst | lez.unclean.tst | инсанриз инсандихъ SG;OBL;POESS
кӏурцӏулдиз кӏурцӏулди SG;ERG
вирида виридан SG;GEN
арабар арабриз PL;OBL;DAT
хуьруьн хуьре SG;INESS
гададин гададив SG;OBL;AD
кӏвалин кӏвала SG;INESS
вакай вуна SG;ERG
къерехдай къерехдиз SG;OBL;DAT
чила чилел SG;OBL;SUPER
гьаятдиз гьаятда SG;INESS
ибурувай идал SG;SUPER
ана анал SG;SUP... |
1259ef07b7d35e233af3b1ee2bf46c4f357ef730 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH2/EX2.6/ex_2_6.sce | 672894c669e2ebbee4640f91bf20fd097026d2ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | ex_2_6.sce | ////Ex 2.6
clc;
clear;
close;
format('v',6);
Beta=100;//unitless
VBE=0.7;//V
VCC=10;//V
VEE=10;//V
VT=26;//mV
RC=2.7;//kohm
R=2.2;//kohm
IExt=(VEE-VBE)/R;//mA
IC3=IExt;IT=IExt;;//mA
ICQ=IT/2;//mA
re=2*VT/IT;//ohm(let re1=re2=re)
Ad=-RC*1000/re;//unitless
Rid=2*Beta*re/1000;//kohm(let Rid1=Rid2=Rid)
di... |
80409a1f39e141d950da4c38f23df343f6bb9a30 | 25b5cbd88b9b1c4dd4c6918be2a988027dee667e | /doc/scripts/controller/rootlocus_ideal.sce | f927c35ae0523c8c87461a82d6496e49cdad7926 | [] | no_license | nkigen/nxtLEGO | d592720aabdd4da83f3463719135e4e6072aa6dd | 7ce91955744756bfeb32b4b619b80cc26e83afef | refs/heads/master | 2020-05-20T03:22:49.327962 | 2015-03-01T17:35:27 | 2015-03-01T17:35:27 | 17,963,092 | 0 | 0 | null | 2014-07-17T18:41:48 | 2014-03-21T00:17:33 | C | UTF-8 | Scilab | false | false | 797 | sce | rootlocus_ideal.sce | global G;
global Kc;
global C;
global LpAlpha;
global Tc;
Tc = 0.001;
s = poly(0, 's');
//for right motor
//w_n =
//xi_n =
//for left motor
w_n = 7.4396976;
xi_n = 0.6474336;
function[xi_min] = getMinimumXI(desiredOvershoot)
xi_min = sqrt(log(desiredOvershoot)^2/(%pi^2 + log(desiredOvershoot)^2));
endfunction
... |
2bbfa0f8364e96cc4e856c44291711249bf2c270 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH5/EX5.4.1/Example5_4_1.sce | 1bfa4fd4c925c1c840b9b03c5437fce9d1c52828 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | Example5_4_1.sce | //Example 5.4.1 page 5.13
clc;
clear;
Ttx= 15;
Tmat=21;
Tmod= 3.9;
BW= 25;
Trx= 350/BW;
Tsys = sqrt(Ttx^2+Tmat^2+Tmod^2+Trx^2);
printf("The system rise time is %.2f ns.",Tsys);
|
11a2a1fe48a255ddcbf466d41d902b1d557bb275 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH6/EX6.9/ex6_9.sce | 3132d2343a0b4ee767bdecbf6ed74fcf9a64ec4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_9.sce | //find sending end voltage, regulation, recieving end rective and synchornous power
clear;
clc;
//soltion
//FUNCTIONS
function [z]=rxr(A,B)//Function for the multiplication of rectangular
z(1)=A(1)*B(1)
z(2)=A(2)+B(2)
endfunction
function [a]=r2p(z)//Function for rectangular to polar
a=z(1)*... |
6b5a198b63c82766fb459eafabbafebf5d3d8387 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH3/EX3.22/example3_22.sce | 9c41d48d39a4ba332a037ae5d2bb143e5c5ada82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example3_22.sce | clc
// Given that
theta = 6.5 // rotation of plane of polarization in degree
c = 0.05 // concentration of sugar solution in gm/cc
l = 2 // length of polarizing tube in decimeter
// Sample Problem 22 on page no. 3.29
printf("\n # PROBLEM 22 # \n")
s = theta / (l * c) // calculation for specific rotation of sugar soluti... |
745469b4c4685f4bca299c4f6f40dbaa79bbb264 | b387571bdd041f3b3d606bee94a06f97e87cab34 | /Calculo Numerico/Scilab/iteração não-linear/equacao nao linear.sce | 91d0ebfc3037bdd9b91a6ff1e1335408c77cb363 | [] | no_license | GuilhermeGueds/Faculdade | 6704a9ce91f7cc7874e3fbaefa28555076fab7d7 | 6f84829ea031f80eb04ea2acf78af834d25cd4f9 | refs/heads/master | 2020-03-13T17:52:39.274865 | 2018-08-31T17:00:27 | 2018-08-31T17:00:27 | 131,225,712 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | equacao nao linear.sce |
function [s] = f(x)
s = x^3-10;
endfunction
a=2;
b=3;
x = 0;
e = 0.1;
k =0;
while abs(b-a) >e & abs(f(x))>e
x = (a+b)/2
if f(x) == 0;
break;
else
if (f(a)* f(x)) > 0
a = x;
else
b = x;
end
end
k = k + 1;
end
disp(x)
disp(k)
|
c0ee3d59e2328f07ab60025585cb14c809ca8c25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH12/EX12.9/Ex12_9.sce | 77d73834ae1377d5cc5959997f3bbc862588e596 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex12_9.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 12 Modulation and Demodulation Pg no. 381
clear;
clc;
//Given
Pc1=12D3;//carrier wave power in watts
m1=0.75;//maximum modulation index that can be achieved
m2=0.45;//modulation index for AM wave
//Solution
Pt=Pc1*(1+m1^2/2);//total power of AM wave in wa... |
b9a05d58e1f0f91f955bce5ee7de1496018a2253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.39/Ex4_39.sce | c69bb6523581de922b94f6bd346ec7f481f8d2c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_39.sce | //pagenumber 223 example 39
clear
vcc=16;//volt
colres=3*10^3;//ohm
re=2*10^3;//ohm
r1=56*10^3;//ohm
r2=20*10^3;//ohm
alpha1=0.985;
vb=0.3;//volt
//coordinates
beta1=alpha1/(1-alpha1);
v1=vcc*r2/(r1+r2);
rb=r2/(r1+r2);
ic=(v1-vb)/((rb/beta1)+(re/beta1)+re);
disp("new point");
disp("vce = "+string((v1... |
a9ba87f6e25270febda098405d349ca865647085 | 717ddeb7e700373742c617a95e25a2376565112c | /1445/CH8/EX8.15/Ex8_15.sce | f14132a949f1ad46b5001561c2f7a79a453c0e4a | [] | 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 | 895 | sce | Ex8_15.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 15
disp("CHAPTER 8");
disp("EXAMPLE 15");
//230 V DC shunt motor
//VARIABLE INITIALIZATION
v_t=230; //in Volts
I_a1=3.33; //in Amperes
N1=1000; //in rpm
r_a=0.3; //armature resistance in Ohms
r_f=1... |
1aa55e8e2267f00ba2573e00d7860da49a4b7bfd | 942679646d193337ebc3ebb8674404f7fdeac130 | /Cours 1.sce | 116cf3d051a2e04ff00ba86465bcaf9f172acaa0 | [] | no_license | arngucci/TP1 | 53eb81445fac5dc0f02881e6471cdd6a381b7445 | 74adf5c2568d20b57f3e31548a504ea9cbb4c433 | refs/heads/master | 2023-01-06T23:09:47.893492 | 2020-11-03T15:29:03 | 2020-11-03T15:29:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | Cours 1.sce | // Parameters
a0 = 0.1; // growth rate
tau = 0.1; // time interval between two points
nt = 1000; // nb of timepoints
N0 = 10; //Initinal nb of indivs
// Initialization
N = zeros(1, nt);
t = zeros(1, nt);
N(1) = N0
// Algorithm
for i = 1:nt
N(i+1) = N(i) + tau*a0*N(i);
t(i+1) = t(i) + tau;
end
... |
30d2552442d5aec6321e1bc8f37c35a9878bcfd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.22/Ex5_22.sce | 65e70df10aaafa5042cb76d3b9e49352b6317c77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | Ex5_22.sce | //Ex:5.22
clc;
clear;
close;
n1=1.46;// core refractive index
df=0.025;
L=1500;// length in meter
c=3*10^8;// the speed of ligth in m/s
md=(n1*L*df)/(c*(1-df));// max dispersion in sec
Md=md*10^9;// max dispersion in ns
printf("The max dispersion =%d ns", Md); |
916683b7c014935f410ed1d5ab88fb7b1351c8d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH3/EX3.3/3_3.sce | f17a4a8cd1f52e1737739d1475175e40968fd0f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | 3_3.sce | clc
//initialisation of variables
W1= 3 //lb
W2= 5 //lb
x1= 8 //in
x2= 7 //in
y1= 2 //in
y2= 5 //in
z1= 6 //in
z2= 4 //in
//CALCULATIONS
W= W1+W2
x= (W1*x1+W2*x2)/W
y= (W1*y1+W2*y2)/W
z= (W1*z1+W2*z2)/W
//RESULTS
printf ('x = %.2f in',x)
printf (' \n y=%.2f in',y)
printf (' \n z=%.2f in',z)
|
12d0704b68d69fb357502f817733d01512631a0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH5/EX5.2/Ex5_2.sce | 23f5357a860adf588c4881772484ff49b80de51e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Ex5_2.sce | //Example 5_2 page no:193
clc
R=1*10^3//resistance in ohm
L=50*10^-3//inductance in henry
V=10
f=10*10^3//frequency in Hz
Xl=2*%pi*f*L
Z=R+(%i*Xl)
Z=sqrt(R^2+Xl^2)
disp(Z,"impedence is (in ohm)")
I=V/Z
I=I*1000//converting to milli ampere
disp(I,"current is (in mA)")
angle=atand(Xl/R)
disp(angle,"the phas... |
d25989d5e5c33f564628f2c896fd483f9a72e360 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BV13.prev.tst | de705f72058adecd52b0c192a5a531cc3fceaa92 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | tst | BV13.prev.tst | [1,2,-5]/3 - [1,1,1,7]/5 = [2/15,7/15,-28/15,-7/5], original = [1/3,2/3,-5/3]
|
ed0b78af7e2cad8812732ac55eefec76f4ee41b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH12/EX12.8/Ex12_8.sce | e16e376d577de11b51726b238a65650c88b44ea7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_8.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-12.8 Page No.272\n');
Ng=42;
Np=24;
Q=2*Ng/(Ng+Np);
Kg=270;
Dp=1.5;
b=1;
Fw=Dp*b*Q*Kg;
Fd=699;
Nsf=1.2;
if (Fw/Nsf)<Fd then
mprintf('\n (Fw/Nsf)<Fd So this would not be suitable design');
end
//If the surfaces each had a BHN = 450
Kg=... |
618191635e3a63a51775b5c4c7bb38375475883f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH7/EX7.12/exp7_12.sce | 7f78425c683eb867d0f549bc0e5311382f18d2b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | exp7_12.sce | //Example 7.12
clc
disp("I_01 = 3 nA at T1 = 27 C, T2 = 82 C")
dt=82-27
format(3)
disp(dt,"(i) deltaT(in degree C) = T2 - T1 =")
dt1=(2^(55/10))*3
format(8)
disp(dt1,"Therefore, I_02(in nA) = 2^(deltaT/10) * I_01 =")
disp("(ii) V = 0.25 V, I_02 = 135.764 nA at 82 C")
disp("Thereforem I_f = I_0 * (e^(V/eta*V... |
4946edb330d9b4b73bdae267f59c50e9f023c2b4 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_getUnsatCore.tst | d5c3bec9ea10f31264c909de18fa92850e164448 | [] | 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 | 108 | tst | err_getUnsatCore.tst | ; tests get-unsat-core without :produce-unsat-cores
(set-logic QF_UF)
(get-unsat-core)
(get-unsat-core xxx)
|
93786796fb9e6d46c59836d42a81037e0b06bd3e | d59fc6d78ee6e8fa0436ad3ec6de36d524a63231 | /Simulations/Densite.sci | 896d524e9b8ad2129da1355b586c9165066fe25d | [] | no_license | senhadjielrhazi/projet-edf | 3a1be6edda3e1ede10298c29f249a94eec82361a | fab03a4afdb641c99066e789394454f612debe1d | refs/heads/master | 2020-12-03T08:09:21.229054 | 2017-06-28T11:39:33 | 2017-06-28T11:39:33 | 95,662,149 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,727 | sci | Densite.sci | clear;
chdir('F:\My Tempo\Simulations')
getf('Modele facteur HG\HG_Function.sci');disp('getf done');
NIG_DENSITE =%F;
VG_DENSITE = %F;
NIG_RESID_SIMULATION = %F;
VG_RESID_SIMULATION = %F;
NIG_OPTION_MC = %F;
VG_OPTION_MC = %F;
NIG_OPTION_FERMEE = %F;
VG_OPTION_FERMEE = %F;
SIMULATION_PRIXSPOT_NIG = %F;... |
ae59c5696ba9aac1a53a89bfc486e28d4d53691a | eda001c73eb7fa20bce274768da354ce43e08a1c | /60002190061_Manthan_Signals2.sce | a4694ac1d10d3fb96c4b3e401c7fe824e5606151 | [] | no_license | ManthanPatnekar/SS-EXP | 78620a9b7fdc5bc6cdaae62b2f21e2f4ce824bef | 55d2d55c055371fbd05b7b83d6970face53be5bb | refs/heads/main | 2023-01-19T19:48:00.792998 | 2020-11-25T16:11:09 | 2020-11-25T16:11:09 | 315,989,265 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | 60002190061_Manthan_Signals2.sce | clear;
clc;
N=100;
t=-N:0.01:N;
u=ones(t).*(t>=0);
plot(t,u);
set(gca(),"data_bounds", matrix([-100,100,-0.1,1.1],2,-1));
xlabel("Time");
ylabel("Unit Step Function");
figure;
n=0:100;
f=0.5;
phase=30;
A=1.5;
x=A*sin((2*%pi*f*n-phase));
plot(x);
|
713271b52d306330469eadc7dbb254f9c1cef2bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.21/3_21.sce | 61570ca6329a8aae6e0005749943d45719880a9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,471 | sce | 3_21.sce |
clc;
clear;
//Example 3.21
k_tube=111.65 //[W/m.K]
W=4500 //[kg/h]
rho=995.7 //[kg/sq m]
Cp=4.174 //[kJ/(kg.K)]
k=0.617 //[W/(m.K)]
v=0.659*10^-6 //Kinematic viscosity [sq m/s]
m_dot=1720 //kg/h
T1=293 //Initial temperature in [K]
T2=318 //Final temperature in [K]
dT=T2-T1 //[K]
Q=m_dot*C... |
0910177f4842d031d064fcd1ba9d4f59507a297a | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH16/EX16.6/Example16_6.sce | 98b2fbae3058832900b03eea9b389ea529909e4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Example16_6.sce | //Given that
L = 2.0 //in meter
m = 12 //in kg
k = 1300 //in N/m
//Sample Problem 16-6
printf("**Sample Problem 16-6**\n")
//I*a/L = -k*x*L
I = m*L^2/3
w = sqrt(k*L*L/I)
T = 2*%pi/w
printf("The time period of oscillation is %fs", T) |
dec7e09af43749078e3e92e5592207e23cef2d66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH5/EX5.11/Ex5_11.sce | e0216f983410d9ba894df731a69001d603b6a2f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | Ex5_11.sce | // Example 5.11;resistance
clc;
clear;
// given :
format('v',6)
im=10;//mA
i=100;//mA
m=i/im;//multiplying factor
rm=50;//ohms
rsh=rm/(m-1);//in ohms
disp("part (i)")
disp(rsh,"resistance of shunt (range 0-100mA) Rsh1 is,(Ohm)=")
i1=500;//mA
m1=i1/im;//multiplying factor
rm1=50;//ohms
rsh1=rm1/(m1-1);//in ohms
disp("pa... |
f0dda358789e12238e941ca568d5106adf40f4d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH3/EX3.7.1/Ex3_8.sce | 55624fdedfcb188ee5839e4ced2c262e1bb65919 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | Ex3_8.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 3.7.1\n')
//given data
fnA=12 //frequency of free vibrations of system A in Hz
fnB=15 //frequency of free vibrations of system B in Hz
TdA=4.5 //time taken by system A to damp out completely in sec
//calculations
TdB=fnA*TdA/fnB //time taken by sy... |
79dec558c18f316c622ab30a574b46a1421bf878 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH10/EX10.1/ex10_1.sce | e938a423f15e0f4f5f90ca6dad81b14f351bc004 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | ex10_1.sce | // Example 10.1, page no-267
clear
clc
T=300//K
mue=0.4//m^2/V-s
muh=0.2
e=1.6*10^-19//C
eg=0.7*e//J
m=9.1*10^-31//kg
me=0.55
mh=0.37
h=6.626*10^-34
k=1.38*10^-23
ni=2*(2*%pi*k*T/(h^2))^(1.5)
ni=ni*(m^1.5)*(mh*me)^(3/4)
ni=ni*%e^(-eg/(k*T))
printf("\nThe intrinsic concentration ni=%.3f *10^13 /m^3",ni*1... |
1603ee2550dbec399b88089e0ace59631ffc6ef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH7/EX7.1/Example_7_1.sce | 69dee877df3e0278aae4677ec892d346ecda76f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | Example_7_1.sce | clc
clear
x=-3
function a=f(x)
a=exp(x)+2-cos(x);
endfunction
h=1
y=f(x)
y1=f(x+h)
while(abs(y-y1)>=0.00001)
y=f(x)
y1=f(x+h)
while(y>y1)
y=f(x)
y1=f(x+h)
T=[x+h, y1]
disp(T)
x=x+h
end
h=-h/4
end |
f571baeb763887f8952da99543b37abbab892da1 | 725517259e3eea555ad0f79d421792c632bc4655 | /workspace/Mission X1.sce | 547dcbc2471f01a081f71e4aee1d238fff6fdbcb | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | Mission X1.sce | getd('../scripts/')
load('../images/Asellus Secundus.dat')
imgF=ifft(imgT)
writepbm(imgF, './render/X1AFTER.pbm')
display_gray(imgF)
|
2d1d93a53ad5aad4297d733b6002ec289395a521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/8_06.sci | 87e0e9ddaa1a1d0e3ed1413c1472704e818edc50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sci | 8_06.sci | //Flow rate of crude oil(in bbl):
Q=1.6*10^6;
//Inside diamete of pipe(i inches):
D=48;
//Maximum allowable pressure(in psi):
p2=1200;
//Minimum pressure required to keep gases dissolves(in psi):
p1=50;
//Specific gravity of crde oil:
SG=0.93;
//Viscosity at 140 F(in lbf-s/ft^2):
u=3.5*10^-4;
//Efficincy of... |
48f0096263ea74410fe8a6708ebcc2d0ab657cfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH11/EX11.6/Ex11_6.sce | 4f6d63a5affad3b117679421e48ac1d4a6cad653 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 854 | sce | Ex11_6.sce | // chapter 11
// example 11.6
// Determine rms output phase voltage, input power factor
// page-741-742
clear;
clc;
// given
E_L=210; // in V
R=5; // in ohm
alpha=%pi/3; // in radian (firing angle)
// calculate
Es=E_L/sqrt(3);
E0=sqrt((2*Es^2/(4*%pi))*(integrate('1-cos(2*wt)','wt',alpha,%pi)+integrate('1-cos(2*wt)','w... |
543387b7ef15673b6b6de8d0c91000b805ed573d | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH6/EX6.1/6_1.sce | 9de489d58f32cb329f34f05c55c5b7969e337ba0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,143 | sce | 6_1.sce | // 4*6 inch wood beam dimension
// 4*0.5 inch steel beam dimension
M = 60 ; // Moment in k-in
E1 = 1500 ; // in Ksi
E2 = 30000; // in Ksi
h1 = 5.031 ; // Distance between top surface and neutral axis of the beam in inch by solving 1500*(h1-3)*24 + 30000*(h1-6.25)*2 = 0
h2 = 6.5 - h1 ;
I1 = (1/12)*(4*6^3) + (4*6)*(h1-3)... |
8e6324d5018c7cc0d12cfbd330aae9b825f509d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH15/EX15.11/Ex15_11.sce | 9be8a056dc3b39597a8dfd17f132f85b83657961 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 926 | sce | Ex15_11.sce | //to find the natural frequencies of the torsional vibration of the system when inertia is neglected and when it is taken into account
clc
//given
g=32.3//ft/s^2
l2=25.5//in
d1=2.75//in
d2=3.5//in
C=12*10^6//modulus of rigidity
G=1/0.6//given speed ratio
Ib=54//lb in^2
Ic=850//lb in^2
Id=50000//lb in^2
Id1=... |
83cd42b7fb6c88fdf6a20acccf4edf36b2759e0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH4/EX4.28/ex4_28.sce | 504fd591a9cde69dff201c53d10f5ef8ac5eb0a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | ex4_28.sce | // Exa 4.28
format('v',6)
clc;
clear;
close;
// Given data
Beta = 130;
V_BE = 0.7;// in V
V_CC = 18;// in V
R1 = 510;// in k ohm
R1 = R1 * 10^3;// in ohm
R2 = 510;// in k ohm
R2 = R2 * 10^3;// in ohm
R_C = 9.1;// in k ohm
R_C = R_C * 10^3;// in ohm
R_E = 7.5*10^3;// in ohm
Vth = V_CC*(R2/(R1+R2));// in ... |
6c19de13e3b788e66a40602ecac1b1124fc36280 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH8/EX8.11/Ex8_11.sce | 84e1df88b166bf461537a820abad63dea4ba1f74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,076 | sce | Ex8_11.sce |
function[r,theta]=rect2pol(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
theta=atand(y/x)
endfunction
function[r]=mag(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
endfunction
j=%i
//using Maxwell's mesh analysis
//refer Fig.8.14 in the textbook
//considering mesh FDCEF, (18+8*j)*I1-(10+8*... |
f4e63d5a72d6241f12fa72a232eb0c67a6cdf19b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH22/EX22.7/22_7.sce | 60387e69ec2e6ae11baa402a6ac74413888a2958 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | 22_7.sce | //ques-22.7
//Calculating interionic distance and radius of cation
clc
a=387;//unit distance (in pm)
Ra=181;//radius of anion (in pm)
//BCC structure
d=sqrt(3)*(a/2);//interionic distance (in pm)
Rc=d-Ra;//radius of cation (in pm)
printf("The interionic distance is %.2f pm and radius of ammonium cation is %.2f ... |
0533b1afe85a6fddd94462a885234207604addbf | 481f3317298608c37d4cb96f148faf5068d712bb | /lib/scilab/makeGraphFromDiagram.sci | 7fde3c91c3831a724d98b207c40e23eae8f05ecb | [] | no_license | masilvabustos/xcos2uc | 1f83c0710da6506cec8c8aad5a97848903f6ad32 | 531c35a53b7efc11e69e98c643ebad3df3d362f5 | refs/heads/master | 2020-04-05T22:41:50.570623 | 2016-11-13T18:18:22 | 2016-11-13T18:18:22 | 22,852,879 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sci | makeGraphFromDiagram.sci |
function graph = makeGraphFromDiagram(diagram)
if typeof(diagram) <> 'diagram' then
error('makeGraphFromDiagram: invalid argument type')
end
graph = makeGraphFromDiagramObjs(diagram.objs);
endfunction
|
ae381047c45b0963be361f21cbbac7261c6563df | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH17/EX17.1/Ex17_1.sce | e8db09e657a7a22f282d1f570b64bf33341575e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,686 | sce | Ex17_1.sce | // Exa 17.1
//To calculate-
//(a) average busy-hour traffic per subscriber,
//(b) traffic capacity per cell,
//(c) required number of base stations per zone, and
//(d) the hexagonal cell radius for the zone.
clc;
clear all;
Susage=150;//subscriber usage per month in mins
days=24;//days per month
busy... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.