blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d936404f1a8bb2b50db64ac52c9aa360818fce85 | 39ae3a0860e66749f94b889f0c286e6903457911 | /pendulo simples.sce | 331ad1262626958158367582df87668c56ddd43e | [] | no_license | IgorLim98/Projeto-REA | 1215a2705317add4fa6849ae00ae8adf25657519 | 67fcaae58e7c51154d1f8e43716b209baffecde9 | refs/heads/main | 2023-05-18T16:51:48.726045 | 2021-06-08T18:33:04 | 2021-06-08T18:33:04 | 362,553,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sce | pendulo simples.sce | // resolução de sistema de 2 equações representando o movimento de um pêndulo simples
clear,clc
// definindo o intervalo de tempo
t0 = input("informe o valor inicial do intervalo: ");
tn = input("informe o valor final do intervalo: ");
h = input("Informe o passo h: ");
t = t0:h:tn // criando o vetor intervalo... |
0eac9427b6fd91ef26e9ae45633c04f34593b110 | a88bc351c907b9f0e662e251314c78a075880265 | /Scilab/False Position.sce | 29c96b5a902763d95163ab8bba817b34ad942bbb | [] | no_license | decospdl/Exercise | 2ff1161f101a892ac511c62e1dce67a07606107a | 14d61a9553aab9af259edc8af504fdaa8568ec8f | refs/heads/master | 2020-05-26T15:22:22.243902 | 2019-06-13T22:55:10 | 2019-06-13T22:55:10 | 188,279,547 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | False Position.sce | clear
clc
close;
deff('y=f(x)','y = -8.12*x^3 + 41.88*x^2 - 71.99*x + 40.23')
a = 1.2
b = 1.3
erro = 10e-7
i = 1
printf('\n Iteração \t a \t\t b \t\t z \t\t f(z)');
while abs(a - b) > erro
z = (a * f(b)- b *f(a)) / (f(b) - f(a))
printf('\n %d \t\t %f \t %f \t %f \t %f', i, a, b, z, f(z));
if(f(a)* f(z) > 0... |
d1bfc25f8b20a8d4491f962920fe02e71b31d4d4 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/funcionLnMaclaurin.sci | 41edb2e43feb7a23685f7e2914bda112b14d041b | [] | 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 | 721 | sci | funcionLnMaclaurin.sci | //Serie de Maclaurin de la funcion logaritmo natural
//function [et, ea, aprox] = funcionLnMaclaurin(x, iter)
//Entrada:
//x : valor en que la serie sera evaluada
//iter : cantidad de terminos de la serie
//Salida:
//et : vector de errores relativos
//ea : vector de errores aproximados
//aprox : vector con valo... |
90530d24bb1bdab9bb6f696054ae7987b3c5581b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.47/Ex5_47.sce | 9dd511cdc2a5154321e1ce6de406f2d25377b8db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Ex5_47.sce | //Ex:5.47
clc;
clear;
close;
Gt=25;// transmitter gain in dB
gt=10^(Gt/10);// transmitter gain
Gr=30;// receiver gain in dB
gr=10^(Gr/10);// receiver gain
f=1.5*1000;// frequency in MHz
R=1.5*1000;// distance in m
y=300/f;// wavelength in m
pt=200;// transmitted power in watt
pr=(pt*gt*gr)*(y/(4*%pi*R))^2;/... |
423dc5cad69beb1a64c2f5559c955257f4655655 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH5/EX5.5/5_5.sce | d881ddde2c91e89541e43bb40ab2de8fbd625270 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 5_5.sce | clear;
clc;
R=40;C=0.06*(10^-6);L=0;G=0;r=15;l=80*(10^-3);d=1.2;f=(5/(2*%pi))*10^3;
Rc=R+(r/d);
Lc=L+(l/d)
w=2*%pi*f;
Z=Rc+(%i*w*Lc);
Y=G+(%i*w*C);
P=sqrt(Z*Y);
a=real(P);
printf("(a)Attenuation constant a = %f neper/km\n",round(a*1000)/1000);
Fc=1/(%pi*(sqrt(l*C*d)));
printf("(b)Cutoff frequency = %f kHz",... |
0b4d87feb2c7379a69998da71f8a88ef105e6055 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH3/EX3.6/Ex3_6.sce | 366be3d70a9939baee4c2046cd7e6bed1b047239 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | Ex3_6.sce | clc
// initialization of variables
clear
epsillon_A= 1000*10^-6
epsillon_B= 720*10^-6
epsillon_C= 600*10^-6
th_B=120 // degrees
th_C=240 // degrees
//calculations
th_B=th_B*%pi/180
th_C=th_C*%pi/180
// we need to solve for epsillon_y and gamma_xy
// Ax=B
ep_x=epsillon_A
A=[sin(th_B)^2 sin(th_B)*cos(th_... |
80d8f4cda4c8a9a407e3a9002360be4df313ac0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH9/EX9.16/ex9_16.sce | 8fcca3b8dc015c3653347df402a93bff51472f7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | ex9_16.sce | // Exa 9.16
clc;
clear;
close;
format('v',6)
// Given data
Rating = 10*10^3;// in VA
phi= acosd(0.8);// in °
V1 = 500;// in V
V2 = 250;// in V
Pi = 200;// in W
Pcu = 300;// in W
Isc = 30;// in A
I1 = Rating/V1;// in A
// Pcu/(Pcu(f1)) = (Isc^2)/(I1^2);
Pcu_f1 = Pcu * ((I1^2)/(Isc^2));// in W
// The effi... |
67558d89cb69b5ae1cd7623bbd28f1d406ff073c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH2/EX2.3/Ex2_3.sce | 16eed67fb2f174c9f5ca5fec520ce169e0353fa6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | Ex2_3.sce | clc
//to calculate ratio of intensity at this point to that at the centre of a bright fringe
//the intensity at any pont is I=a1^2+a2^2+2*a1*a2*cos del
//let a1=a2=a
//phase difference del is 0
//then I0=a^2+a^2+2*a*a*cos 0
//we get I0=4a^2
I0=4 //intensity
//path difference is lemda/8
//phase difference =2*%p... |
38bd33f33b01b4aa3a2f812f20948a1959e5d288 | 7f7cf89c309b4038bdafccac97024111fb960262 | /PW5/thermocalc.sce | 9d7a11754e9e56111bbc93c998c3021b44d4ae8f | [] | no_license | kuelomisli/Wintersemester-Praktikum | 831165f25762de921178be0e28d4353fe13308f9 | b24bf3fab0cd87a16e10a6023bbd6209857bcc91 | refs/heads/master | 2021-05-28T12:26:50.920600 | 2015-01-10T11:57:40 | 2015-01-10T11:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | thermocalc.sce | pa=99450 //Atmosphärischer Druck in Pascal
kugelmasse=16.697*10^-3 //kilogramm
kugelmassefehler=3*10^-7 //kilogramm
quer=%pi*(8*(10^-3))^2 //rohrquerschnitt
druck=pa+(kugelmasse*9.81)/quer
Tschw=4.35/4
VolGef=10*10^-3
kappa=((2*%pi)/Tschw)^2*(kugelmasse*VolGef)/(quer^2*druck)
disp(kappa)
|
d24e1429a4e94899297a09ebdfe159c0580c46d1 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_server_2_b.tst | d82689bb0501f6fefb289b2abffdc206ed7c988b | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 1,466 | tst | test_server_2_b.tst | module_load Meta
object_create Meta User
1
object_execute 1 set "Description \"Test Description\""
okay
object_validate 1
Error: Password must not be empty.
object_execute 1 set "Password \"Test Password\""
okay
object_validate 1
Error: User Id must not be empty.
object_execute 1 set "User_Id \"Test User_Id\""
okay
obj... |
380dab66c748e8467bfb3df0f9307d77a5801cd7 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_inpolygon.sci | 0365e6bbd274ae9edf80b3d110ec36b2c8e9d030 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,207 | sci | moc_inpolygon.sci | function [in, on] = moc_inpolygon (x, y, xv, yv)
//determines if points are inside or outside of a given polygon
//Calling Sequence
//[in, on] = moc_inpolygon (x, y, xv, yv)
//Description
//
// For a polygon defined by vertex points (xv, yv), determine
// if the points (x, y) are inside or outside the polygon.
// The v... |
99d77b49578bd470a641d2a041dc805aba3ebe29 | e806e966b06a53388fb300d89534354b222c2cad | /macros/imcontrast.sci | 2666c0f691f31650a69c73c4ecf2955cb736843e | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sci | imcontrast.sci | function[contrastMat] = imcontrast(srcImg, alpha, beta)
srcMat = mattolist(srcImg)
contrastMat = opencv_imcontrast(srcMat, alpha, beta)
endfunction
|
86cdcf5440275bb64986d3463eb57f1e3fc6004f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/ss2ss.man.tst | d56b9367db6f0878577724ed152843d53e6d2d9a | [
"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 | 904 | tst | ss2ss.man.tst | clear;lines(0);
Sl=ssrand(2,2,5); trzeros(Sl) // zeros are invariant:
Sl1=ss2ss(Sl,rand(5,5),rand(2,5),rand(5,2));
trzeros(Sl1), trzeros(rand(2,2)*Sl1*rand(2,2))
// output injection [ A + GC, (B+GD,-G)]
// [ C , (D , 0)]
p=1,m=2,n=2; sys=ssrand(p,m,n);
// feedback (m,n) first and then ou... |
6c15d4fde51f1ea995a98bfd08a0f4e5ec8b453a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376.zip/Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376/CH6/EX6.1/6_1.sci | a4cabd043253288afb6926fab133252fbe667d52 | [] | 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 | 122 | sci | 6_1.sci | errcatch(-1,"stop");mode(2);//6.1
;
r=250;
s=1000;
l=1000;
x=r*l/s;
printf("Position of the fault=%.1fm",x)
exit();
|
55183c736a01eb738926734632e11315212f1679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH4/EX4.5/ex4_5.sce | 6134cda9067c513c261edaeff4996a4a486eda2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | ex4_5.sce | // Exa 4.5
clc;
clear;
close;
// Given data
m = 1.5;// in kg
T1 = 90;// in °C
T1 = T1 + 273;//in K
T2 = 225;// in °C
T2 = T2 + 273;// in K
C_p = 0.24;
C_v = 0.17;
Q = (m * C_p * (T2-T1));// in kcal
del_U = (m * C_v * (T2-T1));// in kcal
W = Q - del_U;// in kcal
disp(W,"The external work done in kcal is")... |
3e19df4b463e12b586eaf0a44c87f19873a7c9cd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/algebre/reduct.sci | 3a525204ad8007110f9d0003d1abe9f202ec62d2 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sci | reduct.sci | function [Ep,Fp,M]=reduct(E,F)
Ep=E;Fp=F;M=eye(E*E');
[p,q]=size(Ep);
[Sig,rk]=colcomp(Ep);
while rk<>q
E1=Ep*Sig;E1=E1(:,q+1-rk:q);
F12=Fp*Sig;
F1=F12(:,q+1-rk:q);F2=F12(:,1:q-rk);
[W,r1]=rowcomp(F2);
N=w(r1+1:p,:);
Ep=N*E1;Fp=N*F1;M=N*M;
[p,q]=size(Ep);
[Sig,rk]=colcomp(Ep);
end
|
593b40dd544826e8a908874344a46b1c06a532f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH12/EX12.7/Ex12_7.sce | 6bf46aba17b3c242bd9a9c5458ebee8c5db082f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,573 | sce | Ex12_7.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 12 ; Example 12.7
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
C1=[8e-3 10 0] //Coefficients of cost equation for unit 1
C2=[9e-3 8 0] //C... |
ae344e6fb214c2f1906ac1854ad5e1100df2ce76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH4/EX4.3/4_3.sce | 085a73dfe385b8e051f76c06f441130d9e78a6e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 4_3.sce | clc
//initialisation of variables
W= 100 //lb
a1= 30 //degrees
a2= 45 //degrees
//CALCULATIONS
A=[(cosd(a2)),(-cosd(a1));(sind(a2)),(sind(a1))]
b=[0;W]
c= A\b
Tbc= c(1,1)
Tab= c(2,1)
//RESULTS
printf ('Tbc= %.1f lb',Tbc)
printf (' \n Tab=%.1f lb',Tab)
|
d6c3f980698184ee629a07bf7029220437f43d1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH1/EX1.4/Ch01Ex4.sci | 0fe424fc6117ad646b1a9b54be6c8566830512ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 631 | sci | Ch01Ex4.sci | // Scilab Code Ex 1.4 Lattice constant of a unit cell: Page-9 (2010)
M = 58.5; // Atomic weight of NaCl, gram per mole
d = 2180D+03; // Density of rock salt, per metre cube
n = 4; // No. of atoms per unit cell for an fcc lattice of NaCl crystal
N = 6.023D+23; // Avogadro's No.
// Volume of the unit... |
59013e1ab1b61dcf33c729e47ad31e3e45ebe2f2 | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/72.sci | e7627e906a93d25673d8edc099e9a604e38846db | [] | 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 | 321 | sci | 72.sci | d1=4*1e-6//m(Diameter of clay particle)
d2=1e-3//m(Diameter of sand particles)
p=9764//N/m^3(Weight density of water)
S2=2.65//specific gravity of sand particles
S1=1.6//specific gravity of clay particles
v=0.8*1e-3//N.s/m^2(Kinematic viscosity at 30 degree celsius)
Cd=0.7
r=995.7//(kg/m^3)Mass density of water
... |
729bda176d8cd8b42718bb8c5c9afd84ef8f9b3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH22/EX22.6/22_6.sce | 65cbc0411f222861715446d7ae43c8140a5000fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 22_6.sce | clc
//initialization of varaibles
H1=17889 //Cal/g
H2=-94052 //Cal/g
H3=2* -68317 //Cal/g
//calculations
x=H1+H2+H3
//results
printf("Constant pressure heating value of methane = %d cal/gm formula wt.",x)
|
704e76c8e0b5c59cfc0ed9eb3ee54f2cd5c2fd71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH12/EX12.4/12_4.sce | a9a6b0ea4376aa70033f5f14f702dad333fe0c52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | 12_4.sce | clc
//Initialization of variables
V=3 //fps
y=1 //ft
L=4 //ft
//calculations
H= (V*y/3.33)^(2/3)
P=L-H
//results
printf("Height of weir = %.2f ft",P)
|
cdd5ca19eb1d96b51cb22575bffab5f360208418 | 128e68405892140b75a9f6af4a879d2e3af71788 | /biased_random.sce | aee275c1a7d9b0e3ddccd4d62a21caec0869ab73 | [] | no_license | amoghpj/random_walk | 3d102e9ab553a9cead3cbc66ce6f7e8a64bf0ed4 | ba85a8da19a8d123304e20350c8c973378406f29 | refs/heads/master | 2021-01-10T13:44:46.326902 | 2015-12-05T19:03:44 | 2015-12-05T19:03:44 | 47,470,189 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,237 | sce | biased_random.sce | clc;
clear;
rand('seed',getdate('s'));
X=[1];
Y=[1];
count=1;
while(X(count)>0 & Y(count)>0 & X(count)<6 & Y(count)<6 & count<50000)
x=X(count);
y=Y(count);
if(~(((x-6)^2+(y-6)^2)<=16)) then
// if( (x^2+y^2)<36) then
if(rand()<0.5) then
X(count+1)=x+0.1;
else
... |
a0843a30150e53797372c05e3fe50ab09a1f6ea7 | a4586b4e6eac9910b9f77dafd34598ff763e98bd | /main.sci | efe9bceeccb0d60e9bfa84d0aa6614d99175de7a | [] | no_license | Miguellamacarrasco/codigitoscilab | 6e21e03b21b452900a59e8eed4b63fc88f6d2477 | 2fcc6ad0662cfd5b13394b79224dc3efbdeaabd0 | refs/heads/main | 2023-03-08T02:21:11.537646 | 2021-02-17T03:57:03 | 2021-02-17T03:57:03 | 339,591,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,499 | sci | main.sci | clc
clear
n_crit = input("Numero de criterios: ")
nombres_criterios = list(n_crit)
matriz_de_criterios = eye(n_crit,n_crit)
for i=1:n_crit
nombres_criterios(i) = input("Nombre de criterio " + string(i) + ": ")
end
for i=1:n_crit
for l=1+i:n_crit
matriz_de_criterios(i,l)=input("Que tan mas importante e... |
d43f8524cfc9850c7cadd4d3aae57d0f1138e623 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH3/EX3.22/ex3_22.sce | 7ce662c770d62833a6406d05af7b4f7bf7fa6b7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,060 | sce | ex3_22.sce | //Example 3.22
clc
//Assignment expressions
printf("Expression Value")
i=int(3.3);
printf("\ni=3.3 %d", i);
i=int(3.9);
printf("\ni=3.9 %d", i);
i=int(-3.9);
printf("\ni=-3.9 %d \n", i);
j=5;
i=j;
printf("\nExpression ... |
cac72e4bb2e1e322ff0b1fcebd60f19c8f66d5d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.44/ex_1_44.sce | 914e1988454444356497ef4f85fdcf24413d1724 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_1_44.sce | //Example 1.44://limiting error
clc;
clear;
lp=1.2;//limiting error in the measurement of power
ll=0.8;//limiting error in the measurement of current
lr=lp+2*ll;//limting error in meaurement of resistance
disp(lr," peercentage limiting error in percentage is ±")
|
eee7a417c47ea54cd15ebbbfe98fcaf123225353 | 397456b742a46d88c251aa168bfe794903987f93 | /Radial Movement Optimization/standard/scilab/radial-movement-o.sce | 3d5922fb3877fdf54e01dd4c094323288a2a1a26 | [] | no_license | JonesCG/PROJECT-NIOA | b5dcc7820d818369a4115fbb34b0f7ba02d7a129 | 7e6a3aa9a5deda6aa4eec9f4d523556844593c8b | refs/heads/master | 2022-08-16T14:06:54.967718 | 2020-05-18T08:17:47 | 2020-05-18T08:17:47 | 264,872,793 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,367 | sce | radial-movement-o.sce |
clear
clc
exec('objective.sce');
POPSIZE = 300
DIM = 100
UPPER = 100
LOWER = -100
MAXITER = 1000
k = 1
C1 = 0.8
C2 = 0.9
WMIN = 0
WMAX = 1
VMAX = (UPPER-LOWER)/k;
disp('RUNNING...')
rand('seed',getdate('s'))
P = rand(POPSIZE,DIM).*(UPPER-LOWER)+LOWER
FIT = F1(P)
[RBESTFIT IND] = min(FIT)
RBESTPOS = P(IND,:)
GBESTPO... |
b79671a895dc0f1d3ddc4b88fbc96795ffc699ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH3/EX3.7/ex3_7.sce | 7454d4dcb6fd8b64ff9b68996572f7f7542e04b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | ex3_7.sce | //Chapter-3, Example 3.7, Page 112
//=============================================================================
clc
clear
//INPUT DATA
l=1;//length of wire in m
v=50;//velocity in m/sec
B=1;//magnetic flux density in wb/m^2
theta1=90;//the angle of conductor in degrees to the field in case 1
theta2=30;//the... |
20975af43e0f6cef98c5b91032e3506ddff37196 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH30/EX30.5/ex30_5.sce | 892f9ffa248c15ecc023aa10cd8cc13326ee601d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | ex30_5.sce | clc;
i=20; //current in Ampere
A=112.4; //molar mass of cadmium
F=96500; //in Coloumb
v=2; //valency
m=50; //mass in gm
t=(m*F*v)/(i*A); //calculating time
disp(t,"Time in sec = "); //displaying result |
4320c74c39334d81d59dcf08ce44da744557de29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH2/EX2.34/ex_2_34.sce | d771924bc2ef2c608628dec2ee626fd12f6da255 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_2_34.sce | //Example 2.31 //inductance and resistance
clc;
clear;
close;
//given data :
fo=1.2*10^6; // in Hz
C=160*10^-12; // in farad
f=6*10^3; // resonant frequency in Hz
f1=fo+f;
f2=fo-f;
F=f1-f2;
Q=fo/F;
R=F/((2*%pi*(fo)^2*C));
disp(Q,"Q factor,Q = ")
disp(R,"resistance,R(ohm) = ")
|
7865d60e8e3819980bb8503247683c9d0ab4a91e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH2/EX2.4/Ex2_4.sce | 24953b2e7a25727275f7a410da424dcb002ae89f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | Ex2_4.sce | clear
//
//R resultant force
//Rx resultant horizontal component
//Ry resultant vertical component
//f1 force
//f2 force
//f3 force
//o1 angle with the line
//o2 angle with the line
//o3 angle with the line
//O ... |
536841633b8e39b4b26cd83aed71a64bd77e94a3 | c3f2d8894caaa8f001c4043ef6ad12f2ee1928ad | /Pareto_frontier_NSGAII.sce | a032b715029addbdade54238bbf025321be7e97c | [] | no_license | NEOEQ/Fermentation-of-Cashew-Apple-Juice-Process | 8b49f12b52750dc16e70fc955a3ece22c94e0f4e | be011d31228d7f9eea847146569fed92a74aefab | refs/heads/master | 2022-12-15T08:37:37.446781 | 2020-09-17T03:06:23 | 2020-09-17T03:06:23 | 290,514,885 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,374 | sce | Pareto_frontier_NSGAII.sce | tic()
function g=fermenter(V)
//'C' is the vector of concentrations, in which: 'C(1)' viable cells concentration; 'C(2)' dead cells concentration; 'C(3)' substrate concentration and 'C(4)' ethanol concentration, all in g/L
//'f' is the derivative of 'C' at a given time
global f
// 'to... |
65d7b33ffb01555134192c6bba138970e02d73a7 | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P3 - Non-linear equations /Métodos/4- newton CHECK.sci | 6a5446a9db43e2561bb139c353071a887a7ffcc6 | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 986 | sci | 4- newton CHECK.sci | function y=fea(x)
y=(%e)^x+2 - x^3
endfunction
//MÉTODO DE NEWTON-RAPHSON -
//Según el x0 inicial puede o no converger, es un método LOCAL
function c=newton1(f,x0,delta,niter)
//niter: cantidad máxima de iteraciones
//delta: tolerancia
c=x0
for x=0:niter
c= c - f(c)/numderivat... |
b945933fcabec6d7f39f0516f89ff69245d984cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH2/EX2.2/2_2.sce | 9ff1cb0b8136cfc8353e3f2574851bfbb5ca5139 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sce | 2_2.sce | ////Variable Declaration
m = 100.0 //Mass of water, g
T = 100.0 //Temperature of water, °C
Pext = 1.0 //External Pressure on assembly, bar
x = 10.0 //percent of water vaporised at 1 bar,-
i = 2.00 //current through heating coil, A
v = 12.0 //V... |
e39eaa28293149da32f57bc9d47a52e6d86846ce | 9a4f02797ab8eecfe1394e2d276ac86379bb9824 | /symphony-master/demos/fmincon.dem.sce | cdcc61baaddbc47addb5b0a120ea308c6cf319ef | [] | no_license | RVidyadhar/Scilab_FOSSEE_Project | b686bfa6127df08ef47bfa430580be7779d9e2c5 | 7656e5089f307d46eacf77be8991d82125643365 | refs/heads/master | 2021-01-20T16:34:39.597133 | 2015-12-23T04:34:27 | 2015-12-23T04:34:27 | 48,269,308 | 0 | 0 | null | 2015-12-19T05:10:17 | 2015-12-19T05:10:17 | null | UTF-8 | Scilab | false | false | 1,057 | sce | fmincon.dem.sce | mode(1)
//
// Demo of fmincon.sci
//
//Find x in R^2 such that the below function is minimum
//f = x(1)^2 + 2*x(2)
//Starting Point: [0,0]
//Constraint 1, c1(x)==>x(1)^2+x(2)^2<=2
//Constraint 1, c2(x)==>x(1)^2+x(2)^2=1
//Constraint 1's Gradient c1'(x)=[2*x(1),2*x(2)]
//Constraint 2's Gradient c2'(x)=[2*x(1),2*x(2)]
h... |
851cc4d000bfecc0190ae5d0eea34db86f869876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.23/Ex12_23.sce | 5f95a0c6ce6ca77b06c3e7f4ea5319b0161490e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | Ex12_23.sce | //=====================================================================================
//Chapter 12 example 23
clc;clear all;
//variable declaration
f = 165*10^3; //frequency in Hz
C1 = 208*10^-12; //capacitance in F
C2 = 184*10^-12; //capacitance in F
Q1 = 80; //Q-factor
Q2 ... |
8cde4d6acbba16c7f7e8213155032b3338044496 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH2/EX2.7/example2_7.sce | 0b91f4a49de72668052a3847cd5d05aeaeaa696f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | example2_7.sce | disp("Part a");
d=0.064*2.54/100;
a=%pi*(d^2)/4;
i=15;
q=1.6*10^(-19);
n=8.85*10^28;
v=i/(a*q*n);
disp("the drift velocity of an individual electron (in m/s) is"); disp(v);
disp("Part b");
t=60;
d=v*t*100/2.54;
disp("the distance an electron moves (in inches) is"); disp(d); |
28c0d9a8be83639c4b95101de2cabe19ccfb5340 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.15.b/solution8_15.sce | 76d39b58c83acdd94165079bfd14ff621bff1df3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 985 | sce | solution8_15.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution8_15.sce')
//Obtain path of data file
datapath = path + filesep() + 'data8_15.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Assume the throat of the weld to be 1mm t
t = 1
//Calculate the total area of the weld A (mm2)
A ... |
8ddbdd79df970cec5d676d76d681b3980fa8993b | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_atom_spec_conv.sci | 36d9b00fa3e1a1651d62c8d6892bad6db50d0b1c | [] | 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 | 800 | sci | PIL_atom_spec_conv.sci | // **** Purpose ****
// This function is to convert the standard atomic species input to
// code readable row format
// crystal structure.
// **** Variables ****
// [atom_spec]: nx1, string
// <= the species of atoms. e.g: ['4*Bi','4*O','8*Sr']
// [atom_spec_row]: nx1, string
// => the specie of atom in row: ['Bi,'Bi... |
d65dc7a499e733ee3e91dc56b10bedecb441b34b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH11/EX11.9/Ex11_9.sce | cb2b243488788d284d619c93c863efda08d928a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_9.sce | clear
//
//
//
//Variable declaration
e=1.6*10^-19; //charge(coulomb)
m=9.1*10^-31; //mass(kg)
h=6.64*10^-34; //plank's constant(Js)
//Calculation
mewb=e*h/(4*%pi*m); //bohr's magneton(J/T)
//Result
printf("\n bohrs magneton is %0.2f *10^-24 J/T",mewb*10^24)
|
8e61722a8251f213eedad868aeb0309bc4765df4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH6/EX6.6/Chap6_Ex6_R1.sce | 57b0df69248903dd130a8a0a5945a1ce6f706be8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,266 | sce | Chap6_Ex6_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-6,Example 6,Page 218
//Title: Work done by steam
//================================================================================================================
clear
clc
//INPUT
m=0.1;//mass of superheat... |
6b6cd0e3905c21f646fcb93e6811d51654ce9ea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.38/Chapter2_Example38.sce | edcb3bc13833ecb6c7670d78f93b1002dfeb9a12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,045 | sce | Chapter2_Example38.sce | //Chapter-2, Example 2.38, Page 2.71
//=============================================================================
clc
clear
//INPUT DATA
T=4;//Total loss in kW
Q=120;//Rating of transformer in KVA
DF=4;//Duration of operation at full load in h
DH=4;//Duration of operation at half load in h
DN=16;//Duratio... |
7045ddcae4a27677f14d5ca68d6f4c83196ef56a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH2/EX2.6/Ex2_6.sce | 961939cc757a514b9670eb962e0a8268ec6eb61b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,526 | sce | Ex2_6.sce |
//To determine the Overall cost per kWhr
//Page 82
clc;
clear;
// C1 =(100,000 rupees + 100 rupees/kW + 6 paise /kWhr) //Base Load Station
// C2 =(80,000 rupees + 60 rupees/kW + 8 paise /kWhr) //Peak Load Station
MaxD=15*(10^6);
MinD=5*(10^6);
deff('a=BLS(b,c)','a=100000+(b*100)+((6/100)*c)'); //Function... |
9268b150899142dd7036d2ccf362946c3503b391 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH5/EX5.2/ex5_2.sce | 74645dfe658254b224bf617cdedd91879f721939 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | ex5_2.sce |
//Exa:5.1
clear;
close;
//Given:
fn=5*10^7;//in ohms
gm=(9*10^-3)/8;
C=50*10^-12;
Cx=gm/2*%pi*fn;
r=sqrt(1+Cx/C);
u=0.0173*fn;
Fv=2*u;
printf("\n frequency variation = %f MHz",Fv/10^6); |
e7fa98ab0dfeeaf5f0fa4065d3a3062b41bb8795 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH10/EX10.2/Ex10_2.sce | da352492e46f8998216524d38814e19f2df7226d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | Ex10_2.sce | // Exa 10.2
clc;
clear;
// Given data
// 8 bit DAC
n = 8;
Vmin = 0; // Volts
Vmax = 10; // Volts
// Solution
printf(' For a 8-bit DAC :-\n\n');
LSB = 1/2^n;
LSB10 = LSB*Vmax;
printf(' LSB = %.3f V (i.e. 1/256).\n',LSB10);
MSB10 = (1/2)*Vmax;
printf(' MSB = %d V.\n',MSB10);
fso = (Vmax-LSB10)... |
de9e0b9c3800aaac24e6c9d338cc6118a6fad2e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH4/EX4.19/Ex4_19.sce | 180ce990a55495b79f0875f423fd2bb9413f3ca6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Ex4_19.sce | clc;
clear;
D_10=1.40 //diameter of the 10th ring in air in cm
D_10_liquid=1.27 //diameter of the 10th ring in liquid in cm
//calculation
myu=D_10^2/D_10_liquid^2
mprintf("The refractive index of the liquid is = %1.3f",myu)
|
286fa1b2b1fb475fee22930fed8b31fa7bd756f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH3/EX3.7/Exa_3_7.sce | 7dcfb2643746b286efe8d91069e033e71e5d5042 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_3_7.sce | //Example No. 3.7
clc;
clear;
close;
format('v',7);
//Given Data :
w=400;//Kg
v=1;//m/s
MotorSpeed=1000;//rpm
MoI=0.5;//Moment of Inertia in Kg-m^2
winch=0.3;//Kg-m^2
Tnl=80;//N-m
Speed_nl=1000;//rpm
g=9.81;//gravity constant
//Solution :
mass=w*g;//N
omega=MotorSpeed*2*%pi/60;//rad/sec
TotTorque... |
ba7718880c1f10df5e48cea003ef525c8d2a2890 | 448970a51f33c84b537772b10ef3e26c165eda01 | /PCB/Spy_talk/PCB/vbreport/work/VBPCBP.TST | 48b49c6ad86f3305da968c52bbd088431a9fc580 | [] | no_license | ghsecuritylab/ZeROSEro7 | 90057b21d569cf7eb3f1495ec5d437436f0bc622 | 4a940302386d6b9312b8e835a7c6c790817c1b52 | refs/heads/master | 2021-02-26T14:28:37.967676 | 2018-02-02T03:20:59 | 2018-02-02T03:20:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,377 | tst | VBPCBP.TST | CellID CellName CompType MountType Verified NoPins GlueX GlueY AssemblyX AssemblyY Height TimeStamp History Description ... |
3eff083e42d0a7d7b2a94894a40f7caa3ba5827f | 9cd37a2b01b865c0bc7e2e6c246bf78efa5cd9cd | /examples/savedata.sci | 281d2b4e1e8e7cb6803902defc3a48defc470163 | [] | no_license | kenreurisontm/latex-examples | d125ab0422f8e4c7fdd3cee8580c34b2c734b2fb | f93c5361a04fd62b432e61f386be4367cc26a082 | refs/heads/master | 2020-12-30T19:57:40.550479 | 2016-05-15T13:47:16 | 2016-05-15T13:47:16 | 58,808,371 | 0 | 0 | null | 2016-05-14T13:08:36 | 2016-05-14T13:08:36 | null | UTF-8 | Scilab | false | false | 222 | sci | savedata.sci | function [] = savedata(filename, x, y)
fd = mopen(filename,'wt');
for i=1:length(x)
for j=1:length(y)
mfprintf(fd, "%f\t%f\n", x(i), y(j))
end
end
mclose(fd);
endfunction
|
9b6ad56559881a5c7c94abd7c41414fc6611e5c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH4/EX4.11/ex_11.sce | 2ac7242f190bab417f49501badccfb7d2c08f088 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | ex_11.sce | // PG (234)
deff('[y]=f(x)','y=exp(x)')
x = -1:0.01:1;
// For
n = 1;
x = [-1 0 1];
E1 = 0.272;
F1 = 1.2715 + 1.1752*x;
// Relative errors
x = -1.0;
exp(x) - F1;
r1 = ans(1,1)
x = 0.1614;
exp(x) - F1;
r2 = ans(1,2)
x = 1.0;
exp(x) - F1;
r3 = ans(1,3)
F3 = 0.994526 + 0.995682*x + 0.543981*x*x + 0.17... |
850759ffd0991440ced32460ecd4e00be934d5f5 | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q06a.tst | 12c14f2c119863aa302c4e3e51f787868454e051 | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | tst | q06a.tst | 0
1
a 1
bbb 1
abbcccc 1
aaaab 1
abac 0
cbb 0
bbaaa 0
accb 0
|
d9a50c6f1b433ea7760ef49caf7e2fbf7beb0db6 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ci_vrt_col_d/~BivLCM-SR-bfas_ci_vrt_col_d-PLin-VLin.tst | e1445647653e9a34ff086771e4ad81cc9904aaf9 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ci_vrt_col_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.342987D+00
... |
39f9df3b206f825bb93c3214845ca0b4a339f47f | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/medfilt1.sci | b5987cdc1b8fe2d6a115c845ab264cd3c749d306 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,553 | sci | medfilt1.sci | function y = medfilt1(x, varargin)
<<<<<<< HEAD
// 1D median filtering
//
// Calling sequence
// y = medfilt1(x)
// y = medfilt1(x, n)
// y = medfilt1(x, n, dim)
// y = medfitl1(__, nanflag, padding)
//
// Description
// y = medfilt1(x)
// Applies a 3rd order 1-dimensional median filter to input x along the
// ... |
289c1919d3b0dfd894cdf2f52549f5b6f2259880 | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/1.ted.sci | 3605715b76636c22e3ca4dee7d06e4135aac1ff6 | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 11,189 | sci | 1.ted.sci | thank you so much chris and it s truly a great honor to have the opportunity to come to this stage twice i m extremely grateful i have been blown away by this conference and i want to thank all of you for the many nice comments about what i had to say the other night and i say that sincerely partly because i need that ... |
967612f787c07f7d23fd85c5245116784a065fa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH5/EX5.1/1.sce | af657fccb4875d96f9cefc5c07e6ff2d6e7213c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | 1.sce | //Variable declaration
rho=5*10**16; //resistivity(ohm m)
l=5*10**-2; //thickness(m)
b=8*10**-2; //length(m)
w=3*10**-2; //width(m)
//Calculation
A=b*w; //area(m**2)
Rv=rho*l/A;
X=l+b; //length(m)
Y=w; //perpendicular(m)
Rs=Rv*X/Y;
Ri=Rs*Rv/(Rs+Rv); //insulation resist... |
0bfc0538fd1a0e4a4cad97bc523655bacc84c815 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH3/EX3.9/example9_sce.sce | 19920a9aceadce807e034d0ab020281559a9e347 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | example9_sce.sce | //chapter 3
//example 3.9
//page 137
R1=120*10^3;Rf=1.2*10^6;Cf=10*10^-9// given
fa=1/(2*%pi*Rf*Cf);// corner frequency
F=10*10^3;
Vin=5;
disp(fa)//coner frequency
safefrequency=10*fa//safe frequency is 10 times of corner frequency
Adc=Rf/R1;//D.C gain
Adb=20*log10(Adc)// gain in db
A=(Rf/R1)/sqrt(1+(F/fa)^2... |
d2ae527aa831cacc6756b8547ab0c35992ee1b27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH2/EX2.11/Ex2_11.sce | 5cc88e58724ada0751fdc8fabf35427b57f094e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | Ex2_11.sce | // Example 2.11
clc;
clear;
close;
// Given data
format('v',9);
dVout= 20;// change in output voltage in V
dt= 4;// change in time in µs
SR= dVout/dt;// slew rate in V/µs
disp(SR,"The slew rate in V/µs is : ")
|
a739d0c8507ec0b45ed7b335fcb84ead43ccc892 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH9/EX9.3/Chap9_Ex3.sce | 0cceb0c04398d2ec35e188f6edbc563518f5ee59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,384 | sce | Chap9_Ex3.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-9, Example 3, Page 232
//Title: Design of Baffle Plates
//==========================================================================================================
clear
clc
//INPUT
Gsup=1.5;... |
717d334ea6ca4d22af9b6c41744b7e3999267ff7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH27/EX27.15/27_15.sce | fb5a98929b36bfe68ed45af8bbfd8a4783d874b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | 27_15.sce | clear//
//Variables
Pcdc = 10.0 //Power rating of amplifier (in watt)
n = 0.785 //Maximum overall efficiency
//Calculation
PT = 2 * Pcdc //Total power dissipation of two transistors (in watt)
Poac = (PT * n) / (1-n) //Maximum power output (in watt)
//... |
1a5a71f3c00577f3d89da118998f8e0800a46d0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH6/EX6.17/6_17.sce | 278da79476a6357c20cc18e381c228a4490d7e6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | 6_17.sce | //single purchase crab
//load drum radius
r=200/2 //mm
//Length of lever arm
R=1200 //mm
T2=100
T1=10
VR=(R*T2)/(r*T1)
//let the law of machine be P=m*W+C
//in first case 100=m*3000+C
//in second case 160=m*9000+C
//solving we get
m=1/100
C=70
//P=0.01*W+70
//case 1
MA1=3000/100
eta1=MA1*100/VR //... |
955d62a5324390c6a396fb8936978f13e4dc434b | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH1/EX1.4/ch_1_eg_4.sce | 8d9e71d334e81e49f83d45076410fb62294a3d16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,604 | sce | ch_1_eg_4.sce | // ch 1 ex 1.4
clc
disp("the solution of eg 1.4-->");
a1=.35, a2=.16, a3=.21, a4=.01 //1st row
b1=.54, b2=.42, b3=.54, b4=.1 //2nd row
c1=.04, c2=.24, c3=.1, c4=.65 //3rd row
d1=.07, d2=.18, d3=.15, d4=.24 //4th row
r1=14, r2=28, r3=17.5, r4=10.5 ... |
6d831abd3ee27c0a55615e741f91666617b00048 | a674f7b984545698214f8164107cc4e15916c573 | /B/B.3/B3_Script.sce | 16422a5e5a4399a32fb8879c73d24c75881db1f8 | [] | no_license | enzo-billis/Projet_CESI_Scilab_Missions | 6bb843b68b64660f8ed235cde4213dd4d3343375 | 07434c89170e237aff6a78ad4d59034b6e47f382 | refs/heads/master | 2021-03-16T10:27:15.255047 | 2018-03-05T08:02:40 | 2018-03-05T08:02:40 | 120,597,704 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | B3_Script.sce | function Mission_B3()
//Chargement des coordonnées des pixels dans un tableau
HD=readpbm("HD215497.pbm")
//Modification des plages de niveaux de gris pour correspondre à quatres zones distinctes
for x=1:512
for y=1:384
if HD(x,y)>=0 & HD(x,y)<64 then
HD(x... |
7da0086c228b2af579fa67f3cf9c9bed0075dce2 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 11/Lista Baron/q4.sci | 7bbf73f8aa24f3b79f405edc105b8fb6dbcc0509 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sci | q4.sci | function A=q4(autovalores)
//pegando o tamanho do vetor
n=length(autovalores)
// criando uma matriz aleatória
V=rand(n,n)
//criando e motando a A
A =zeros(n,n)
for i =1:n
A(i,i)=autovalores(i)
end
//deixando a V simétrica
V= (V + V')*0.5;
//pel... |
77cea1bf4fd19ec312919647af066f92d2b7d071 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH3/EX3.11/ex_3_11.sce | 5b49500225eae87e00a4a20798cab0b2b1e4d662 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_3_11.sce | //Example 3.5 // Thickness of quarter wave plate
clc;
clear;
//given data :
b=.172;//bifringe of plate
w=6D-7;// wavelength of light used in m
t=w/(4*(b));//thickness of in m
t=t*100;// to convert in cm
disp(t,"thickness of quarter wave plate in cm")
|
0a74a6cf73c287c3e7da504d09ecaf3fc5a3d9b1 | 2d42a50f7f3b4a864ee19a42ea88a79be4320069 | /source/scilab/frustum.sce | 916cc8d3e93334927b81600e7689947ae04e2d57 | [] | no_license | Mikalai/punk_project_a | 8a4f55e49e2ad478fdeefa68293012af4b64f5d4 | 8829eb077f84d4fd7b476fd951c93377a3073e48 | refs/heads/master | 2016-09-06T05:58:53.039941 | 2015-01-24T11:56:49 | 2015-01-24T11:56:49 | 14,536,431 | 1 | 0 | null | 2014-06-26T06:40:50 | 2013-11-19T20:03:46 | C | UTF-8 | Scilab | false | false | 908 | sce | frustum.sce | function b = normalize(a)
b = a / norm(a);
endfunction
function c = cross(a, b)
x = a(2)*b(3)-a(3)*b(2);
y = a(3)*b(1)-a(1)*b(3);
z = a(1)*b(2)-a(2)*b(1);
c = [x y z];
endfunction
function R = CreateViewMatrix(_eye, _center, _up)
disp(_eye);
disp(_center);
disp(_up);
F = _center -... |
b7f5c461921e651dccf70be936b0261c018731e7 | f133ac48bce34834531e4aaf040d93391b483a4d | /poly2lsf.sci | 455aec6f6ce98d69dbb6abe17f467bfb8b60fa64 | [] | no_license | vlraik/SCILAB-Signal-Processing-toolbox-FOSSEE | a816836c0daafd1a9afa059a6dad1524bdc340bc | e5d265f759548647c08c5d4acc8cab266b0a3174 | refs/heads/master | 2021-01-19T03:02:28.082316 | 2016-07-31T13:43:13 | 2016-07-31T13:43:13 | 51,532,013 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,258 | sci | poly2lsf.sci | /*poly2lsf.sci
*
*Prediction polynomial to line spectral frequencies
*
*Converts the prediction polynomial specified by 'a'
*into the corressponding line spectral frequencies, LSF.
*Normalizes the prediction polynomial by a(1)
*
*Syntax:
*lsf = poly2lsf(a)
*Description:
*lsf = poly2lsf(a) returns a vector, l... |
3610efc2fc226505c1d85b5daaccfee73746fc20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.28/EX1_28.sce | f557fc0f5cc936c5a8dccc370a55151e84f17775 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | EX1_28.sce | //EXAMPLE 1-28 PG NO-27
C1=60; //TWO CAPACITOR CONNECTED IN SERIES
EC=(C1*C1)/(C1+C1); //EQUIVALENT CAPACITOR
disp('i) Equivalent Cpacitor (EC) is = '+string (EC) +' microF ');
|
0fee1edf672733de7acc3ac3bd77c1983e4f9a2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH14/EX14.6/S_14_6.sce | 9bc37ff34806b53585a6b0fa3178bdc3a4a792fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 903 | sce | S_14_6.sce | clc;
W=3000;//N, force applied at G
delmt=120;//kg/s, rate of falling grains
vA=10;//m/s, velocity with which grains hits chute at A
vB=7.5;//m/s, velocity with which grains hits chute at B
theta=10;//degree,angle with which grains falls
theta=theta*%pi/180;//rad
//System formed by the momentum and impulses is e... |
a89bf5f281e8edda67ec5b0af4e805ef95cec6d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH7/EX7.2/Ex7_2.sce | bfd9dbfca1c16552aed588aeacdcb30cb8ffe507 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Ex7_2.sce | //Example number 7.2, Page number 146
clc;clear;
close;
//Variable declaration
A=100*10**-4; //area(m**2)
epsilon0=8.85*10**-12;
d=1*10**-2; //separation(m)
V=100; //potential(V)
//Calculation
C=A*epsilon0/d*10**12; //capacitance(PF)
Q=(C/10**12)*V; //charge on plates(C)
//Result
printf("... |
ceb809779f7c0bf3673c35440edff5168a2847f0 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH6/EX6.11/6_11.sce | 38e2ea92fe2436aa9059c8a440d958374a37d791 | [] | 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 | 245 | sce | 6_11.sce | clc;
V=0.3;//m^3
vg=4.133;//m^3/kg
m=V/vg;
disp("mass of water injected:");
disp("kg",m)
//part B
pa=0.7;//bar
pg=0.3855;//bar
v=0.001026;
ms=(V-[pa*v])/[vg-v];
mw=pa-ms;
V_d=ms*vg
pa2=pa*V/V_d;
disp("total pressure is:");
disp("bar",pa2+pg);
|
b1c6b76cce5d15f71cc3c7cf011a998be8f9e219 | de14a6897d4397228a52bacb8905b8807370ef4b | /secante.sce | 902a47746a220d92dc9978888a4cc20e9a9e48a5 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | secante.sce | function y=f(x)
y=x^2-2;
endfunction
x=2; y=1;
ITMAX=1000; precision=1e-10; erreur=zeros(ITMAX,1); //initialisation
for k=1:ITMAX
y=x-f(x)*(x-y)/(f(x)-f(y));
//passage par une variable temporaire pour inverser les valeurs de x et y
temp=x; x=y; y=temp;
erreur(k)=abs(y-sqrt(2));
... |
41f355450f23b96ee22ff6104b9ae3b0e0ead497 | e4a80e5438d27667ac97aeb76eed4f7a112beb29 | /PLB_SRC/nord0002.tst | b992a3ca770564b7000cf3c93ef2203af91b9879 | [] | no_license | wobbly/NINCAL | c126a9c55a846efb0a2b68cb2224bdb9921bb36d | 0204eef37953568419732b2a83f9dacdd19e9db4 | refs/heads/master | 2020-12-24T08:00:43.526276 | 2016-05-12T18:26:14 | 2016-05-12T18:26:14 | 58,665,095 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 128,429 | tst | nord0002.tst | .
. PURPOSE - READS INPUT file (NPRINT/TEMP)
. AND PRINTS ORDER FORMS.
.
PC EQU 0
INCLUDE COMMON.INC
INCLUDE CONS.INC
include compdd.inc
include cntdd.inc
include ncntdd.inc
INCLUDE NORDDD.INC
INCLUDE NCRCDD.INC
... |
a1d36856f2e82db24f16a954ec7f289293a15cbf | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fiber_Optics_Communication_H._Kolimbiris_2855.zip/Fiber_Optics_Communication_H._Kolimbiris_2855/CH2/EX2.1/Ex2_1.sce | 6fca7bdd514bfadbec8a2705c187bea05d478761 | [] | 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 | 292 | sce | Ex2_1.sce | errcatch(-1,"stop");mode(2);//Chapter 2
//page no 43
//given
;
;
n=1;
Ne=2*n^2;
printf("\n Maximum number of electron in 1st shell is %.0f\n ",Ne);//Result
n2=2;// shell no
Ne2=2*n2^2;// shell no
printf("\n Maximum number of electron in 2nd shell is %.0f ",Ne2);//Result
exit();
|
15363ec5759034916194c9ae0297ac3023740d97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH9/EX9.12/9_12.sce | 474d34bf3ea2330b1c2e2482f2bba770eea2eb6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | 9_12.sce | //Example 9.12
//Particular Solution
//Page no. 295
clc;clear;close;
x=poly(0,'x')
n=2;s=['+','-'];
f=x^(n)-4*x^(n-1)+5*x^(n-2);
z=roots(f)
disp(z,f)
printf('\n\n')
printf(' n n\nC.F. = ')
for i=1:n
printf('c%i(%g %s i)',i,z(i),s(i))
if i~=n then
printf(' + ')
... |
a1d864d4f909b4f5227a1b000927e59424e1fab3 | b32474ae2727233775f44c71edfe1f10b6a3430f | /retro.sci | 33f497cf62c8054bc0d57eb56fa2b45656570244 | [] | no_license | lucaslyon96/scilab | 8400b98c25dafa13069dd64bd391c15218323575 | 8fe45fd3bd27ab21490682874f72f9c20c8717e1 | refs/heads/master | 2020-03-18T12:25:20.253687 | 2018-05-24T14:49:08 | 2018-05-24T14:49:08 | 134,725,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sci | retro.sci | function x=retro(A,b)
[L,c]=size(A)
for i = L:-1:1
soma=0
for j=(i+1):c
soma=soma+x(j)*A(i,j)
end
x(i)=(b(i)-soma)/A(i,i)
end
endfunction
|
101f619fa75939aba71dd268e300af7cd0b0b342 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH2/EX2.4.1/ex_2_4_1.sce | c544c0d764d91fe31a8a95608e36dc23bac5d85a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | ex_2_4_1.sce | // Example 2.4.1:Numerical Aperture and critical angle
clc;
clear;
close;
n1=1.46;//refractive index
d=0.01;//difference
na=n1*sqrt(2*d);//numerical aperture
x=1-d;//
oc=asind(x);//in degree
disp(na,"numerical aperture is")
disp(oc,"critical angle at core cladding interface is ,(degree)=")
|
935592f09a37714b0309f329b6baba7fb18d7704 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH10/EX10.5/Ex10_5.sce | de89e5a12fa74c052fcfb54c39496046ab4a79bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 696 | sce | Ex10_5.sce | //Ex:10.5
clc;
clear;
close;
Tx=-80;// transmitter output in dBm
Rx=-40;// receiver sensitivity in dBm
sm=32;// system margin in dB
L=10;// in km
fl=2*L;// fider loss in dB
cl=1;// detector coupling loss in dB
tl=0.4*8;// total splicing loss in dB
ae=5;// angle effects & future splice in dB
ta=29.2;// total... |
421133a72c1521d3ba1a337c1a1410c1d15ac671 | 61129043aed87983b640a33b1c260316043fa570 | /logger/write.sci | 1d9c2d4d9822f49978db48e8e7702a28fb2a67af | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,428 | sci | write.sci | // =============================================================================
// gfx4scilab - drawing
// dgerod@xyz-lab.org.es
// =============================================================================
function lg_writeText(outFormat, varargin)
global logCfg;
if(logCfg.enabled == %f) then
... |
119eaaee0382f32e2db3f341155548c3ccd485a3 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/islinphase/islinphase7.sce | 9fa55ffe99f4ca52b1e705d1c6be9cbfa68ce0ee | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | islinphase7.sce | ////i/p arg b and a are of type char
b = ['a' 'b' 'c' 'd' 'e'];
a = b(:,$:-1:1);
flag = islinphase(b,a);
disp(flag);
//output
//!--error 10000
//check input type
//at line 9 of function islinphase called by :
//flag = islinphase(b,a);
//matlab
// 0
|
b4cb17ce5400c826e2d49b97cdbd96ed1b77f4d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH10/EX10.1/Ex10_1.sce | 75667d87b7d92fd147bb76695394afa17681bf60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,603 | sce | Ex10_1.sce | // Example 10.1
clear all;
clc;
// Given data
E0 = 2; // Energy of gamma rays in MeV
a = 10; // Thickeness of lead shield in cm
phi0 = 10^6; // Intensity of gamma rays in gamma-rays/cm^2-sec
// 1.
/... |
b35787b5ab5315f742b629696d2747a61d345cb7 | 1b9a3a103c4fc50d51f2d14b1216b479e3ec5b7e | /tilesets/tset123455.tst | 38946e3156e3d4f5e1d98f3f52f04b39b5b8adf5 | [] | no_license | habeascorpse/Luawar | e5a1c3cf686ebea4d6d102d3d9380f4a9edfc785 | 09c3c995b4873f08e48bda148b8443706711aeb0 | refs/heads/master | 2021-01-01T16:05:56.174549 | 2012-05-21T15:01:59 | 2012-05-21T15:01:59 | 4,394,437 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | tst | tset123455.tst | I=../images/tilesets/tileset.png;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
|
dd317afef166423d800150b5c628665cefc1c2c9 | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/calibMeanSquares_03:20:13.345 PM 05-juin-2013.sci | a8d39fc0bfcf30ada3dfbea386e1deb3a59aac1f | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7 | sci | calibMeanSquares_03:20:13.345 PM 05-juin-2013.sci | ms=[];
|
fb39fb939975a5a3225dab1d5dfe4e2e914c362f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH10/EX10.9/Ex10_9.sce | fe956f74e7f35fda8858e568dbdaa83a5741399a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | Ex10_9.sce | //Example 10_9 page no:451
clc;
//given
L=[1,2,//here L1+L2 is kept as L
1,-2];
a=[0.4,
0.2];
X=inv(L)*a;
disp(X(2),"the mutual inductance of the coil is (in H)");
|
b4fb0014a97c2e7dacb1d1c42b99b7cfb99cd1b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH4/EX4.1/4_1.sce | e22117c2ef75fee850a9cb029db47389b51fc7eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | 4_1.sce | clc
//initialisation of variables
V= 0.5 //m^3
M= 18.02 //kg/kmol
T= 350 //C
R= 0.4617 //kJ/kg K
a= 1.702 //m^6 kPa/kg^2
b= 0.00169 //m^3/kg
n= 1.5 //kmol
//CALCULATIONS
m= n*M
v= V/m
p= R*(T+273.15)/v
P= (R*(T+273.15)/(v-b))-(a/v^2)
P1= R*(273.15+T)*%e^(-a/(R*v*(273.15+T)))/(v-b)
//RESULTS
printf ('mas... |
9d7bca5935db81db3733620928f3ca508a495d4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH7/EX7.2/eg7_2.sce | e0e0f78617b27b2dcc3ad64461b5f3f776664896 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg7_2.sce | clear;
//clc();
r=10.5;..//radius of the conductor
d_ab=3;
d_bc=5;
d_ca=3.6;
Deq=(d_ab*d_bc*d_ca)^(1/3);
r1=0.7788*r/1000;
a=log([Deq/r1]);
l=2*10^(-4)*a;
printf("\n the inductance is: %.5f H/km\n ",l);
xl=2*(%pi)*50*l/10000;
printf("\n the inductive reactance is: %f Ohm/km\n ",xl);
|
375506afe13fa99ea1304c45be096b8d09cfaf9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH4/EX4.3/4_3.sce | 12d9fd69ac80d8540cc768c4a9708b4e83616ebd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | 4_3.sce | //example 4.3
clc; funcprot(0);
// Initialization of Variable
V=10.0;//ft^3
v1=26.8;//ft^3/lb
u1=1077.6;//btu/lb
u2=1161.6;//Btu/lb;
m=V/v1;
W=-m*(u2-u1);
disp(W,"Work done in Btu");
clear()
|
e4748af3c3312b0294dbd78a27f3f87a64aaa4ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH10/EX10.4/10_4.sce | 527e1339fb1bc28757c383ecb92cc3bf96e02cbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | 10_4.sce | //Locate centre of gravity
//refer fig. 10.5
W1=0.6*0.75*0.5*25000 //N
W2=(%pi*(0.2^2)*0.3*25000)/(4) //N
sumWi=7889.38
sumWixi=3241.57
sumWiyi=2593.25
sumWizi=1745.91
xbar=(sumWixi)/(sumWi)
ybar=(sumWiyi)/(sumWi)
zbar=(sumWizi)/(sumWi)
printf("\nxbar=%.3f m\nybar=%.3f m\nzbar=%.3f m",xbar,ybar,zbar)
|
844337771bf8704d94142ef0528721e92c807325 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH4/EX4.9/4_9.sce | cfe3100496da4326b2e3cdf0154863c0f7cc38f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_9.sce | clear
clc
disp('Ex-4.9')
h=1.05*10^-34; //value of planck's constant in J.sec
delx= 1; // uncertainity in positon= dimension of the ball
delp=h/delx; // uncertainity in momentum
m=0.1; //mass of the ball in kg
delv=delp/m; // uncertainity in velocity
printf('The value of minimum velocity... |
df0bee4e86c6c23bded9b5f65e78a4b67f6d4f48 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.4_6.tst | a5f401dc97d06b5b89e4c06f9d21cb4011b792c3 | [] | 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 | 719,588 | tst | 5.4_6.tst | 4 720:1 775:1 1073:1 1095:1 1437:1 1795:1 1931:1 1952:1 2071:1 2164:1 2209:1 2615:1 2730:1 2869:1 2922:1 4009:1 4194:1 4444:1 4602:1 4636:1 4767:1 4884:1 4966:1 5505:1 5578:1 5738:1 5764:1 6197:1 6259:1 6488:1 6540:1 7350:1 7502:1 7537:1 7548:2 7571:1 7577:1 7599:1 8337:1 8536:1 9183:1 9272:1 9300:1 9349:1 10049:1 1061... |
6c44a6e5ad291f50200577cc123890da91656379 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.25/Chapter3_Exampl25.sce | ba73a018d4d3026a595c032bfa86567e00acef5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 985 | sce | Chapter3_Exampl25.sce | clc
clear
//INPUT DATA
Rc=20;//compression ratio
p1=101.325;//Pressure in kN/m^2
t1=300;//temperature in K
p32=2;//pressure ratio of heating process
v43=1.5;//volume ratio of heating process
g=1.4;//constant
cp=1.005;//specific pressure
cv=0.718;//specific volume
R=0.287;//gas constant
//CALCULATIONS
t2=... |
5302625924f2f1533961e2f4a6cc20bef5f44f65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH7/EX7.4/Ex7_4.sce | cf0c5872d34b2523789aba27247015a60dfa08fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | Ex7_4.sce | //Caption:Calculate the value of reflected power
//Exa:7.4
clc;
clear;
close;
//Given:
P_i=4.5;//in mW
S=2;//VSWR
C=30;//in dB
p=(S-1)/(S+1);
P_f=P_i/(10^(C/10));
P_r=p^2*P_i;
disp(P_r,'Reflected power (in watts) ='); |
d27241c1eded3f3a7be6847be47ffdcf8c399ba0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH6/EX6.18/18.sce | 23d2c3241363da329f42490006895e0b325fc4e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | 18.sce | //Variable declaration
e=1.6*10**-19
V=1*10
h=6.625*10**-34
//Calculations
v=(2*e*V**-3)/h
//Result
printf('Frequency of generated microwaves= %0.3f *10**9 Hz \n',(v/10**9)) |
108fc515d6c9ac82cff40bbd2f9bd4efae3a0b73 | c89c3eb73e1c7b9f26076ad36749b4fd9ee2a69d | /My Implementations/MUX2-1.tst | 3ba9c98bde0ba54e81f32ac890afc96923d232bb | [] | no_license | gvela024/Elements-Of-Computing-Systems | cef0f824a4ca775ff7d2353a49c6510134db83da | 65a2b40979439b0d77e6fab1b3faa4b1a78ddd03 | refs/heads/master | 2021-01-22T03:13:48.244660 | 2015-12-26T00:53:51 | 2015-12-26T00:53:51 | 41,272,979 | 0 | 0 | null | 2015-11-11T22:27:40 | 2015-08-24T00:17:59 | Assembly | UTF-8 | Scilab | false | false | 475 | tst | MUX2-1.tst | load MUX2-1.hdl,
output-file MUX2-1.out,
output-list in0 in1 select out0;
set select 0, set in0 0, set in1 0, eval, output;
set select 0, set in0 0, set in1 1, eval, output;
set select 0, set in0 1, set in1 0, eval, output;
set select 0, set in0 1, set in1 1, eval, output;
set select 1, set in0 0, set in1 0, eval, out... |
51ebab98bc74d313303956f93ed347cd3a4f8a1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH3/EX3.7.4/3_7_4.sce | 5e58b218d89a6c292310250e77aa1df2a18e36fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | 3_7_4.sce | //lubricants//
//example 3.7.4//
clc
wt_oil=2.5//weight f oil saponified(gms)//
blank=40//volume blank titration reading(ml)//
back=20//volume back titration reading(ml)//
normality_KOH=0.25//normality of KOH //
normality_HCl=.5//normality of HCl//
e=normality_HCl/normality_KOH//for equivalence in titration //
... |
70a7f5fd3cba5a3f314c4733717a6a5243aa5c88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.22/Ex5_22.sce | b8205f9a48b354fba0c4a5eb2dceea0e40453279 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,032 | sce | Ex5_22.sce | clc;
v=2200; // rated voltage of motor
p=1500; // KW rating of motor
ie=15; // exciting current
is=750; // short circuit current
cl=60; // core loss in KW
fl=40; // frictional and windage loss in KW
// from table given in question for ie=15,
Ef=2140; // Excitation EMF
np=3; // number of phases
ef=Ef/sqrt(3); ... |
0ca50d203f95fd89ae9fba79db8097eb448d9daa | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH5/EX5.4/ex5_4.sce | cb3635601435a0010a550cad502ed941bbc5469a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | ex5_4.sce |
//Exa:5.4
clc;
clear;
close;
//Given:
Fd=40;//in kHz
Fc=101.6;//in MHz
Fm=8;//in KHz
Fs=2*Fd;
mf=Fd/Fm;
FH=(Fc*1000+Fd)/1000;
FL=(Fc*1000-Fd)/1000;
printf("\n\t carrer swing = %f",Fs);
printf("\n modulation index = %f",mf);
printf("\n\t Highest frequency = %f MHz",FH);
printf("\n\t lowest frequency = %... |
a3bd008f65a44ff98ea3b3e294bf2c2730f44f00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH5/EX5.33/Exa_5_33.sce | e297f4d3c9bf6a64548d2022b1fc5ecdfef5e969 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_5_33.sce | //Example No. 5.33
clc;
clear;
close;
format('v',9);
//Given Data :
P=6;//poles
V=220;//V
f=50;//Hz
Ra=0.2;//ohm
Rf=150;//ohm
Z=150;//no. of conductors
fi=0.02027;//Wb(flux)
alfa=0;//degree
alfa_a=45;//degree
Ia=25;//A
A=2;//
T=Z*P*fi*Ia/(2*%pi*A);//N-m
disp(T,"Totque in N-m : ");
Vm=V*sqrt(2);//V... |
07cf9207aa0e19731ed446e6ccde1bbf46a693ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH3/EX3.6/Ex3_6.sce | 35a93efa4e5851d853befa506ef6bcb5f91d04d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex3_6.sce | // Exa 3.6
clc;
clear;
close;
// given :
f=100 //frequency in Mhz
f=100*10^6 //frequency in hertz
c=3*10^8 //speed of light in m/s
D=1.5 // directivity
lambda=c/f //wavelength in meter
Ae=(lambda^2*D)/(4*(%pi)) // effective area in m^2
disp(Ae,"Effective area of hertezian dipole in m^2: ")
|
bd2a1e9e5803d65bca63630df8fc53a2bd9b83dd | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/NU13TYH/ATWM1_Localizer_MRI_NU13TYH/ATWM1_Localizer_MRI.sce | 475789ee8b6334300344f91ee2a8dd2b1c2be416 | [] | 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 | 40,042 | sce | ATWM1_Localizer_MRI.sce | # ATWM1_MRI_Localizer
scenario = "ATWM1_Localizer_MRI";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = false;
active_buttons ... |
87c121863bd76faee19d48694751324382c45f29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH15/EX15.6/Ex15_6.sce | 346b594fc2ef1a02145fa3fdad52c275780a31ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex15_6.sce | clc;
close();
clear();
//page no 504
//prob no. 15.6
c=3*10^8; //speed of light
f=15*10^9; //frequency
lembda=c/f; //wavelength
mprintf('The wavelength of 15 GHz is, = %.2f m\n',lembda);
d=41*10^6; //m
Pt=50; //W
Gt=10^4;
Gr=10^5
Pr=lembda^2*Gr*Gt*Pt/((4*%pi)^2*d^2);
mprintf('The power density is... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.