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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2deca3ade711f0efca371535b4c109675c40660d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH8/EX8.5/EX8_5.sce | c2d59db7d896ccfba4543124528b253c2c973e62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,013 | sce | EX8_5.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 8 ; Example 8.5
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
Zn = %i*10; //generator neutral impedance in ohm
Zgo = %i*1; ... |
cab90846af9c5952265ab69c5010128915cd79c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH4/EX4.6/Ex4_6.sce | dd763ef88f84dd66ed0690196ca62368de5bea92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | Ex4_6.sce | // given data
clc
phi=28.58 // in degree
n=135 // may 15
dlta=23.45*sind((360*(284+n)/365.0))
w=(13.5-12)*15 // in degrees
A=3981.6 // in W/m^2 from table 4.2
B=0.177// from table 4.2
C=0.130 // from table 4.2
costhetaz=cosd(phi)*cosd(dlta)*cosd(w)+sind(dlta)*sind(phi)
Ibn=A*exp(-B/0.922)// kJ/m^2-h
... |
735ec0ab27a2ceb4b8471383207bfc2dfb635033 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH9/EX9.8/example9_8.sce | 9b9b112ff384b8307a8d1621d146c520445b8e23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | example9_8.sce | //to find the terminal oscilloscope voltage and its frequency
// exmaple 9-8 in page 264
clc;
//Data given
Vs=1; //supply voltage in volt
Rs=600;//source resistance in ohm
Ri=1e+6;//input resistance in ohm
Ci=30D-12;//input parallel capacitance in farad
Ccc=100D-12;//coaxial cable capacitance in farad
f=100;/... |
336479aa0859917ed743961a1e3ae180ed100808 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH6/EX6.8/Ex6_8.sce | 3024a4d06e2c84a41919fa977123eca310613f75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | Ex6_8.sce | clear
//
//
//
//Variable declaration
h=6.63*10^-34; //planck's constant(J-sec)
m=1.67*10^-27; //mass of neutron(kg)
lamda=10^-10; //de-broglie wavelength(m)
e=1.6*10^-19; //charge of electron(c)
//Calculations
v=h/(m*lamda); //velocity of neutron(m/sec)
E=m*v^2/(2*e)... |
dcfad1b981fd26fd2ad121ac40ab44e6d9a3c276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.45/Ex1_45.sce | 3b440a45b0442902105bf8e5688e7d9844498d8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | Ex1_45.sce | //Example 1_45
clc;
clear;
close;
format('v',5);
//given data :
RAB=4;//ohm
RAC=6;//ohm
RBC=2;//ohm
RBD=10;//ohm
RCD=14;//ohm
RA=RAB*RAC/(RAB+RAC+RBC);//ohm
RB=RAB*RBC/(RAB+RAC+RBC);//ohm
RC=RAC*RBC/(RAB+RAC+RBC);//ohm
Req=RA+(RB+RBD)*(RC+RCD)/(RB+RBD+RC+RCD);//ohm
disp(Req,"Total Resistance(ohm)");
|
da3a76260275f1acf976fd56bc1d76f9dca5bfc4 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MA19.prev.tst | 632ac0a9d7e5e0333c3830c6c5d083e37be71945 | [
"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 | 339 | tst | MA19.prev.tst | -chain [[2,2,1,0],[1,1,1,1],[1,2,2,0],[2,3,2,0]] [3,4,5,6] 3 1
[[2,2,1,0],[1,1,1,1],[1,2,2,0],[2,3,2,0]],det=-1 [3,4,5,6], chain 8 => [19,18,21,28] => [95,86,97,134] => [459,412,461,642] => [2203,1974,2205,3076] => [10559,9458,10561,14738] => [50595,45316,50597,70614] => [242419,217122,242421,338332] => [1161503,104029... |
506d40003a8ff2b86e7d5926ed26c6f1ef5361d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH10/EX10.4/104.sce | 107497aeae3d1e71dae5fccd527b006c70c112c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | 104.sce | clc;
//Example 10.4
//page no 102
printf(" Example 10.4 page n0 102 \n\n");
W_a=200//weight of material in air
W_w=120//weight of material in water
gamma_w=62.4//specific weight of water
printf("\n weight of air W_a=%f lbf\n weight of water W_w=%f lbf\n sp.weight of water gamma_w=%f lbf/ft^3",W_a,W_w,gamma_w);
... |
45c70d223a23043104e1431cad659fb28f62d0c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH2/EX2.1.15/U2_C1_15.sce | 50984c6585ccfc89636fbc340b2c2aa603c2105a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,013 | sce | U2_C1_15.sce | //variable initialization
lembda0=5000*10^-10; //Wavelength of radiation (meter)
lembda=5050.5*10^-10; //Wavelength of Raman line (meter)
//(a) Raman frequency
v0=1/lembda0; ... |
19aa8f59bc52cd82af0bf3856488899f6366d7b7 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.14_20.tst | ebf13f06f9327d69493c87562164f6ccea968d3c | [] | 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 | 43,144 | tst | bow.14_20.tst | 14 10:0.1111111111111111 13:0.1 15:1.0 51:0.3333333333333333 56:0.3333333333333333 83:0.024390243902439025 96:0.07142857142857142 104:0.1111111111111111 105:1.0 144:0.5 160:0.2 171:0.5 288:1.0 300:1.0 435:1.0 535:0.25 710:0.5 751:1.0 979:1.0 1414:1.0 2965:1.0
14 3:1.0 6:0.3333333333333333 7:0.3333333333333333 10:0.2222... |
64e956ef5608b95822ee70fdc39819ed2cfdaf01 | c0aa53c5c57ef13997c78f6723cd4302b10db35a | /Segunda Unidade/seidel.sci | a3656d2e866b3e052a8d0370bc1c4534b07bc3bc | [] | no_license | mpsdantas/computacao_numerica | 4a47a71c849f04f0493817ba1c502dfd22118598 | 5906b38941b99c7e702f730911878aba2b12bc71 | refs/heads/master | 2021-01-15T08:36:48.054724 | 2016-12-17T16:52:24 | 2016-12-17T16:52:24 | 67,094,751 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sci | seidel.sci | function [B, d] = prepararMatriz(A,b)
[l c] = size(B)
for i = 1:l
B(i,:) = A(i,:)/A(i,i);
d(i) = b(i)/A(i,i)
end
B = B - eye(l,c);
B = -B
disp(B)
endfunction
function [i,erro,x] = seidel(A,b,p,imax)
[B, d] = prepararMatriz(A,b);
[l c] = size(B);
x = zeros(l,1);
xo... |
bca68ce21c3622b774c3c83f5cd612e4698dea34 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/obtenerRespuesta.sci | 4538d1490829bf75787735a8471d16f85c6dd1d9 | [] | 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 | 266 | sci | obtenerRespuesta.sci | function [vectorx, condicion] = obtenerRespuesta(matrizA, vectorb)
if (size(vectorb,1) == size(matrizA,1)) then
vectorx = matrizA\vectorb;
condicion = cond(matrizA);
else
vectorx = %nan;
condicion = %nan;
end
endfunction
|
c70b6de06fd2f6aee4810ba445c2841e3eea0d00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH8/EX8.10/Example8_10.sce | 49d50cb5da9ca97ac4aa23274abfcea1f7cba3c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | Example8_10.sce | //Example 8.10
clear;
clc;
PM=45;
b=1;
rd=1*10^6;
g1=2*10^(-3);
R1=100*10^(3);
g2=10*10^(-3);
R2=50*10^3;
ro=100;
f1=100*10^3;
f2=1*10^6;
f3=10*10^6;
a0=g1*R1*g2*R2;
C1=1/(2*%pi*f1*R1);
Cc=(b*a0)/(2*%pi*R1*f3);
Rc=1/(2*%pi*Cc*f2);
f4=1/(2*%pi*Rc*C1);
printf("Cc=%... |
0ed4c42a3950f82889eebedf8401ed3d20a6eaea | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.21/example_7_21.sce | b6b0e522703167a0c377c0dbdbf617d3ea6ce966 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | example_7_21.sce | Mp=30 //given
Ts=5
zeta=0.358
omegaN=4/(zeta*Ts)
disp(omegaN,"omegaN = ")
omegaD=omegaN*(sqrt(1-zeta^2))
Tp=%pi/omegaD
disp(Tp," Tp = ")
TF=omegaN^2/(s^2+2*zeta*omegaN*s+omegaN^2)
disp(TF, "transfer function = ")
theta=atan(sqrt(1-zeta^2)/zeta)
disp(theta," theta = ")
c=(((1-(%e^(-zeta... |
4e180a67474f1e989c5656914d7cdb1c940d49aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH4/EX4.19/Ex4_19.sce | eec9ddb9a86e1b245b4c2c798d95ff3cc4cef59c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,302 | sce | Ex4_19.sce | //Ex4_19
//Using Highpass Filter and Thresholding for Image Enhancement
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
... |
28780242d0e39da849fa611df9020d1e3266412a | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH5/EX5.1/ch5ex1.sce | ca9d2c11d51f65a67f9c465ed26486f970d1a827 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | ch5ex1.sce | //signals and systems
// Ztransform of x[n] = (a)^n.u[n]
syms n z;
a = 0.5;
x =(a)^n;
n1=0:10;
plot2d3(n1,a^n1); xtitle('a^n','n');
plot(n1,a^n1,'r.')
X = symsum(x*(z^(-n)),n,0,%inf)
disp(X,"ans=") |
3d4e66b7227b6ce599788a59f9836ef1d161c598 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3816/CH5/EX5.1/5_1.sce | d55301bc54e66d7f0f7fbafbf2e52341e83c25d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sce | 5_1.sce | clc;
clear;
w=400;
V1=11;
V2=415;
Hvl=2.46;//I^2R loss for HV side
Lvl=1.95;//Lv loss
X=0.055;//Total leakage reactance
Vph1=11;
Vph2o=V2/(3^(1/2));
Vph2=V2/(3^(1/2)*1000);
Iph1=12.1;
Iph2=555;
H1vl=0.82;//HV losses per phase
L1vl=0.65;//LV losses per phase
r1=820/((Iph1)^2);
r2=650/((Iph2)^2);
disp(r1... |
910c5eba724c9b41ae3a2ca1ab09e3e91d345dd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH3/EX3.5/Example3_5.sce | 00fbd8d003a7128e97dd952b6c9e6548f64d562c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sce | Example3_5.sce | //Example 3.5
//Program to estimate
//(a)The maximum possible bandwidth on the link assuming no ISI
//(b)The pulse dispersion per unit length
//(c)The bandwidth-length product for the fiber
clear;
clc ;
close ;
//Given data
tau=0.1*10^(-6); //second - TOTAL PULSE BROADENING
L=15; //km - DISTAN... |
0acb280feca8fd4c4afe87b21856ff24148d80f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH1/EX1.2/Exa1_2.sce | 89475af5d4839432ed393a1c284d7624646b0375 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | Exa1_2.sce | //Exa 1.2
clc;
clear;
close;
//Given data :
format('v',6);
VL=440;//in volt
IL=10;//in Ampere
//In star connected :
disp("In star connected :");
Iph=IL;//in Ampere
Vph=VL/sqrt(3);//in volt
Rph=Vph/Iph;//in ohm
disp(Rph,"Value of each resistor(in ohm) :");
//In delta connected :
disp("In delta connected ... |
559c781723daab48202d2b6567c7fa71ff6476b2 | d8be154f94daec7c0bf6e452bfd38c0d324c8ae2 | /scripts/calculmodule.sci | 30c1f447cab621915539059cc56be41e8af10822 | [] | no_license | BasileBr/Tatouage | bead5b85415ed359d899ce2fb211501586c9d53f | 8ac0922899085b168f78faacd24a34b55cd1b783 | refs/heads/master | 2020-03-29T02:20:49.262172 | 2018-05-10T17:38:30 | 2018-05-10T17:38:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sci | calculmodule.sci | function mod = calculmodule(matrice)
[N,M] = size(matrice)
for i=1:N
for j=1:M
mod(i,j) = log(matrice(i,j) +1)
end
end
endfunction
|
8d244ca37b5b94144503be0fb5e7cf97d3a54924 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH7/EX7.4/Example7_4.sce | ad744d05833db348c863636c968e8d8196b69cf5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | Example7_4.sce | clear;
clc;
// Example: 7.4
// Page: 268
printf("Example: 7.4 - Page: 268\n\n");
// Solution
//*****Data******//
P1 = 100;// [kPa]
T1 = 320;// [K]
P2 = 600;// [kPa]
T2 = 430;// [K]
m_dot = 0.03;// [kg/s]
Qout = 15;// [kJ/kg]
//*************//
// The energy balance around the compressor:
// dE_S... |
7351ce63363571400e54c5e2dc0a098e0300bedb | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.13/exa7_13.sce | f2edf078d04f535eb1b27788cada29d8f928efe6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | exa7_13.sce | // Example 7-13
// Nyquist Plot of MIMO system
clear; clc;
xdel(winsid()); //close all windows
A = [-1 -1 ; 6.5 0];
B = [1 1; 1 0];
C = [1 0; 0 1];
D = [0 0; 0 0];
G = syslin('c',A,B,C,D);
P = clean(ss2tf(G));
subplot(2,2,1);
nyquist(P(1,1),-100,100);
xgrid(color('gray'));
xtitle('Nyquist plot: From U1','Real Axis... |
374f5078b0234259094fdc7dd467401cc5410c0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH8/EX8.7/8_7.sce | 459ed90d38949bdb6d1268a4c3f8f0f592c9ba29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 728 | sce | 8_7.sce | //All the quantities are expressed in SI units
T_inf = 288; //freestream temperature
p_inf = 1; //freestream pressure
p1 = 0.7545; //pressure at point 1
M = 0.9; ... |
dec4439249acce0f392623ee59ed9bcedc7bd7e9 | 4545588c8427debaf17f9dc71b0ace32f4fb5d67 | /avr32/services/dsp/dsplib/conception/iir/iir.sce | 84ea48320260cbb3fc621066f782d204d2f1398e | [] | no_license | eewiki/asf | 02e06cec0465b28dd689dea801e6be6cbcd47eca | 8d0f55bd089f2e68d2b53aa76adbb02c07cdb166 | refs/heads/master | 2021-01-16T18:20:22.690176 | 2015-03-09T05:42:50 | 2015-03-09T05:42:50 | 18,419,213 | 34 | 30 | null | 2014-12-25T05:13:20 | 2014-04-03T21:42:46 | C | ISO-8859-1 | Scilab | false | false | 3,864 | sce | iir.sce | clear
// cutoff frequency
fc1 = 4000;
fc2 = 500;
// Sampling frequency
fs = 8000;
// Signal size
sigsize = 1000;
N = 720;
pi = 3.141592653;
// Signal generation
t = 0:(N-1);
F1 = 400;
F2 = 4000;
x1 = sin(2*pi*F1/fs*t);
x2 = cos(2*pi*F2/fs*t);
x = (x1+x2)/10;
//plot(x);
//[cells,fact,zzeros,zpo... |
1ded29d958c34e9fb13d0265e8652b73c75986ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH6/EX6.12/Ex6_12.sce | ae6ce2fd2158a2ec12212483e2a9e05ad2f3f2c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,291 | sce | Ex6_12.sce | //Example 6.12
// Nyquist plot for a system with Multiple Crossover frequencies
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function
s=poly(0,'s');
K=85;
g1=K*(s+1)/(s^2*(s^2+2*s+82));
g2=(s^2+2*s+43.25)/(s^2+... |
db8cd72e825294277c3c3a4a3f5579e9486d5142 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH4/EX4.9/4_9.sce | bef1e1a31d5cd863eb72857a02748951f7d02b92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 4_9.sce |
clc
//initialisation of variables
d= 6 //in
d1= 2 //in
v= 0.59 //ft/sec
L= 1.25 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
Cc= d^2/(d1^2*(sqrt(L*(2*g)/v^2)+1))
//RESULTS
printf (' Coefficient of conraction = %.3f ',Cc)
|
47feea0ab957db4691b37c473c9fdf37bdc68442 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH4/EX4.a.4/Example_a_4_4.sce | d8cc09b0ee71659f4a3b567217fc2753a7270820 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_a_4_4.sce | //Example_a_4_4 page no:177
clc;
Irms=20;
f=50;
Im=sqrt(2)*Irms;
//at t=0.0025s
t1=0.0025;
i_t1=Im*cos(2*%pi*f*t1);
disp(i_t1,"the current at 0.0025s is (in A)");
//at t=0.0125s
t2=0.0125;
i_t2=Im*cos(2*%pi*f*t2);
disp(i_t2,"the current at 0.0125s is (in A)");
t=acos(14.14/28.28)/(2*f*%pi);
disp(t,"the ti... |
cd3f0855f2d0c6a853ba28061c50db8336303c78 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 4/Metodo_Newton_questionario_4.sce | e291d19a4e5d3907fead0e973563548a8f73f381 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | Metodo_Newton_questionario_4.sce | x = 1
format(25)
for i = 1:10
x = x - ((x*sin(x) - 1) / (sin(x) + x*cos(x)))
disp(x)
end
|
a7d92ef5d1f2750f020142d04a47426a7affcfab | bf22bf34daeceb2106b5e2af1c24e480f628960c | /mlp-classification/Bebidas.sce | b6cb8bd5006f3acc104e8e55c77a77a99829f633 | [] | no_license | edielsonpf/neural-networks-examples | e3a045bf37e4b2ea681f05512ac71fdbb0cb4992 | 9fabec297b07987f3506401751719c56055d0f5f | refs/heads/master | 2020-12-24T08:46:39.412676 | 2017-09-23T11:22:11 | 2017-09-23T11:22:11 | 32,630,396 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,198 | sce | Bebidas.sce | xt=[
0.3841 0.2021 0.0000 0.2438;
0.1765 0.1613 0.3401 0.0843;
0.3170 0.5786 0.3387 0.4192;
0.2467 0.0337 0.2699 0.3454;
0.6102 0.8192 0.4679 0.4762;
0.7030 0.7784 0.7482 0.6562;
0.4767 0.4348 0.4852 0.3640;
0.7589 0.8256 0.6514 0.6143;
0.1579 0.3641 0.2551 0.2919;
0.5561 0.5602 0.5605 0.2105;
0.3267 0.2974 0.0343 0.14... |
9321c77ce7264db99de125e5e54f13c0975ee794 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electric_Drives_And_Control_B._R._Gupta_And_V._Singhal_2123.zip/Fundamentals_Of_Electric_Drives_And_Control_B._R._Gupta_And_V._Singhal_2123/CH5/EX5.30/Exa_5_30.sce | ec5d9368aaf06df1029ff7ba2d219fa488a7b7c2 | [] | 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 | 251 | sce | Exa_5_30.sce | errcatch(-1,"stop");mode(2);//Example No. 5.30
;
;
format('v',9);
//Given Data :
V=230;//V
N=870;//rpm
Ia=100;//A
Ra=0.05;//ohm
T=400;//N-m
E=V-Ia*Ra;//V
Vgen=V+Ia*Ra;//V
N2=N*Vgen/E;//rpm
disp(N2,"Motor speed in rpm : ");
exit();
|
94695821c3cff850ec6c334e32c85a7b13a15fee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH7/EX7.2/7_2.sce | ac4d933622904c729746a72b58b1e955bf78d27b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | 7_2.sce | clc
//Initialization of variables
T2=860 //R
phi1=0.78767
phi2=0.71323
P2=30 //psia
P1=100 //psia
//calculations
dS=phi2-phi1- 53.35/778 *log(P2/P1)
//results
printf("Net change of entropy = %.5f B/lbm R",dS)
|
45c137dda324f2a38280cdeb068803d806784fc8 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamToolBox/SparamToolbox/v1.0/x86/loader.sce | 90ea4479d2931bcdcff4f34638957add2ae9e214 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | loader.sce | // This file is released into the public domain
// Generated by builder.sce: Please, do not edit this file
//
try
v = getversion('scilab');
catch
warning('Scilab 5.0 or more is required.');
return;
end;
// ====================================================================
root_tlbx = get_absolute_file_pa... |
1de0621ff809c88a7c3f2f45d5c192cbc54a8c76 | f5bb8d58446077a551e4d9a6461a55255db523fe | /zero_de_funcoes/metodos/metodo_secante.sce | b467d9823e29d17b1a2df3d6adab210d3d00bd2a | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,131 | sce | metodo_secante.sce | // CÓDIGO SCILAB DO MÉTODO DA SECANTE
//f :função criada em outro arquivo
//[a,b]: intervalo no qual f(a)f(b)<0
// eps1: precisão utilizada no critério de parada
function secante(f,a,b,eps1)
if ((f(a).*f(b))>0.0) then
printf("\n \n")
printf("f( %g )*f( %g )>0 \n \n",a,b)
printf("O MÉ... |
a492c88ca3811623644163533ab15c46ccf03cdd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/xdess/graduate.sci | 9e6f1f333e215808f9f5bcb03c38b3ce4779f6f5 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 2,763 | sci | graduate.sci | function [xi,xa,np]=graduate( xmi, xma,n1,n2)
// graduate - axis pretty graduations
//%Syntax
// [xa,xi,np]=graduate( xma, xmi,n1,n2)
// [xa,xi,np]=graduate( xma, xmi)
//%Parameters
// xmi, xma : real scalars
// n1 , n2 : integer scalars default values 3,10
// xi , xa : real scalars
// np :integer scalar
//%D... |
0fe32da5fc6e60065db0d79bab1048036554defd | 299ec76be485b8d1574b9216bbe8ac6763b2ade3 | /AI_Lab_Ex2/_ex1_OR.sce | fae373153a74dcee94066b8f0907786f98945d9d | [
"MIT"
] | permissive | parth2608/Artificial-Intelligence-Basics | 65d42ff4e495c11a2ba536e730714570a58b56c7 | b3a0378c7f5b9dbad91df9a6c29b5f30b865e088 | refs/heads/master | 2022-11-21T01:41:07.713381 | 2020-07-15T07:00:34 | 2020-07-15T07:00:34 | 279,790,254 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | sce | _ex1_OR.sce | x1 = [0 0 1 1];
x2 = [0 1 0 1];
c = bitor(x1, x2);
scatter(x1, x2, 200, c, "fill");
|
fd3141a50462196f0ea24bba40a35746fbf90e7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH1/EX1.1/Example1_1.sce | d81e81492e53973349f95015f27ced62788454a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example1_1.sce | clear;
clc;
// Illustration 1.1
// Page: 17
printf('Illustration 1.1 - Page: 17\n\n');
// solution
// Taking conversion factor from table 1.5 (Pg 15)
// viscosity: [(lb/ft.h)]*4.134*10^(-4) [kg/m.s] (Pg 15)
// time: [h] = 3600 [s]
// Density: [lb/cubic feet]*16.09 = [kg/cubic m] (Pg 15)
// Length: [ft... |
cce2870a57d44e582362b3633388ca13e3a864a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH1/EX1.15.b/ex_1_15_b.sce | 4f44db8df815852b06169bbfc5a4cfa97f3e9ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_15_b.sce | //example 1.15.b//
//sequence of gray numbers//
clc
//clears the screen//
clear
//clears all existing variables//
a=1111;
//for gray to binary, first no (MSB) remains the same, second number is addition of first and second of binary ignoring the carry and so on.//
disp('gray to binary of 1111 =1011') |
edab1f497d108371bac2cea12a9b52d91d1200b3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/sci2for/genif.sci | f184b3187606fdb93caf7148a8f24343a67caa32 | [
"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 | 483 | sci | genif.sci | function [t]=genif(cnd,t1,t2)
//genif(cnd,txt) genere le if fortran relatif a la condition cnd et dont
//le texte relatif a la partie then est donne dans t1 et le texte
//relatif a la partie else est eventuellement donne dans t2.
//!
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==2&prod(size(t1))==1 then
t=' if(... |
7dbc54781feefef0ebd1ad2317bae5ffc7f3ce0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH7/EX7.6/Example7_6.sce | f5aea829f4e3f968fc157db3ae3199e39a799df3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Example7_6.sce | //Example 7.6
//Program to Calculate
//(a)Minimum Collector Current
//(b)Maximum Collector Current
clear;
clc ;
close ;
//Given Circuit Data
Vcc=20; //V
Rc=2*10^3; //Ohms
Rb=200*10^3; //Ohms
Beeta1=50;
Beeta2=200;
//Calculation CASE-1: Minimum Collector Current
Ibmin=Vcc/(Rb+Beeta1*Rc);
Icmin=Beeta1*Ibmi... |
aca0891f2ab1b2982d3f658d3ecf7739f3434995 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/vdd_dig.sce | 3d9926d3d59591e2a1140bb0175eccbe4a3ecdf2 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | vdd_dig.sce | //************************* VDD In Digital *****************************
if (blk_name.entries(bl) =='vdd_dig') then
if chgnet(6) == 0 then
mputl("#VDD_DIG "+string(bl),fd_w);
vdd_dig_str= ".subckt tgate in[0]=vcc in[1]=vcc out=vcc_dig";
mputl(vdd_dig_str,fd_w);
mputl(" ",fd_w);
... |
52ecabf407a150df29a57a685801b627c98774a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.10/Ex7_10.sce | b654cd4faa74e530f05cc84a78ec7c6668a34e3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | Ex7_10.sce | clc
R=8.314
gama=1.4
Cv=R/(gama-1)
mprintf("Cv=%fJ/mol K\n",Cv)
T2=370
T1=300
deltas=Cv*log(T2/T1)
mprintf("delta s=%fJ/mol K",deltas)//ans vary due to roundoff error
|
e3df31596dea4bfeae4594edb0cfbcef6df9d89b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH1/EX1.4/Ex1_4.sce | f5f561d0ba8a40009700598e5df630b35b7f10e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Ex1_4.sce | clear
//Let the magnitude of the smaller force be F. Hence the magnitude of the larger force is 2F
//
//variable declaration
R1=260 //resultant of two forces,N
R2=(180) //resultant of two forces if larger force is reversed,N
//calculations
F=sqrt(((R1**2)+(R2**2))/10)
F1=F
F2=2*F
theta=acos(((R... |
9a6ab539456eed5d3c9e5035a5f1f49c55e5f25b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH5/EX5.2/Ex5_2.sce | fa745493e526c2101df3fc0f68f2832b01c03a59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,502 | sce | Ex5_2.sce |
//Variable declaration
Rl=500 //load resistance(ohms)
Vceq=50 //queinscent collector voltage(V)
beetamin=30 //current gain minimum(at Q)
Icq=0.4 //queinscent collector current(A)
Ibq=8 //queins... |
08b0925e76628dc6331f82f5813944c15c92cea7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH18/EX18.24/Ex18_24.sce | 162dd4703ffd0b183f91eb6b32222b792d37aae7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Ex18_24.sce | clc;
B=50;
VBE=0.7;
VCC=22.5;
RC=5.6*10**3;
VCE=12;
IC=1.5*10**-3;
S=3;
RE=(VCC-IC*RC-VCE)/IC;
disp('kohm',RE*10^-3,"RE=");
RTH=(4375)-RE;
disp('kohm',RTH*10^-3,"RTH=");
R2=0.1*B*RE;
disp('kohm',R2*10^-3,"R2=");
R1=(-RTH*R2)/(RTH-R2);
disp('kohm',R1*10^-3,"R1=");
|
3d77b7410eba3c24d939383f407a2487ea91f4f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH1/EX1.16/Ex1_16.sce | 5bfb49797150f97ab8a80ffae94271182461119e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_16.sce |
//Ex1_16
clc;
//Given:
e=200; //MeV/ atom of U
// 1 eV = 1.6*10^-19 J
Na=6.023*10^23;
M=0.235; // mass in Kg
//solution:
e1=e*1.6*10^-19*10^6;
A=Na/M;
e2=A*e1; // energy released in MJ/day
e3=e2/(24*3600);
printf("\n The rate of energy release in W is %f ",e3)
|
ec609c50308eef3ebe157d425f7fbbee8e33ee91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH8/EX8.10/8_10.sce | c094698618ac9363b348b2dab648f926768cd688 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 845 | sce | 8_10.sce | //All the quantities are expressed in SI units
M_inf = 2; //freestream mach number
p_inf = 2.65e4; //freestream pressure
T_inf = 223.3; //freestream temperature
//from Appendix A, for M = 2
p0_inf = 7.824*p_inf; //freestream total pressure
T0_inf = 1... |
079325f93ec50a7de22e3b5211527d7cd1476eba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH2/EX2.12/Ex2_12.sce | 7ffba0a6e2491b9719515fe4a9044d4797f04e29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,969 | sce | Ex2_12.sce | //CHAPTER 2,ILLUSTRATION 12 PAGE 66
//TITLE:TRANSMISSION OF MOTION AND POWER BY BELTS AND PULLEYS
clc
clear
//============================================================================================================================
//INPUT
PI=3.141
e=2.71
D1=1.20// DIAMETER OF DRIVING SHAFT IN ... |
4d4732c6b900a7add3e6bd218167389cbd831fa0 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/obtenerSolucion.sce | 13544549afa6e3fb34450a027011dbc4d486cfd2 | [] | 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 | 534 | sce | obtenerSolucion.sce | // function [x, y] = obtenerSolucion(valorInicial, stepsize, xfinal)
// Entrada:
// valor inicial
// stepsize: Tamaño de los pasos
// xfinal: valor de tiempo final
// Salida:
// x: vector fila de valores de la variable independiente
// y : vector columna de valores de la variable dependiente
function [x, y] ... |
06556f7db183a3d24089e421591f01c3a97dca2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH6/EX6.3/Example_6_3.sci | a8423b5fd8d1456fc2be433333c392d7a057cbff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,113 | sci | Example_6_3.sci | // to calculate voidage of the bed
clear;
clc;
printf("\n Example 6.3");
function[Ga]=Galileo_number()
d = 4*10^(-3); //particle size is in meters
p = 1000; //density of water is in kg/m^3
ps = 2500; //density of glass is in kg/m^3
g = 9.81; //acceleration due to gravity is in ... |
75d6a42ed777465712bd4647183dc07ce4c5310c | 717ddeb7e700373742c617a95e25a2376565112c | /116/CH3/EX3.2/exa3_2.sce | f2c233f69e35e9260734543835fc53983623629f | [] | 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 | 492 | sce | exa3_2.sce | //Caption:Program to calculate the minimum bit rate for a PCM encoder must provide for high fidelity
//Example 3.2
//Page 105
dr=40//dynamic range=400dB
SNR=50//signal to noise ratio =5 0dB
SQR=dr+SNR
n=[(SQR-1.76)/6.02]
disp('This can be approximated to 15 bits per sample')
disp('Assu... |
e15d1aa0a91df53aca4d64e4b1967a2be1ce8ba0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH1/EX1.17/Ex1_17.sce | 69616a3471913dc45df64d289140c78fe3cc98ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | Ex1_17.sce | //Chapter 1 : Wave Optics
clear;
//Variable declaration
D15=5.90*10**-3 //diameter of 15th ring
D5=3.36*10**-3 //diameter of 5th ring
m=10
R=100
//Calculation
lamda=(D15**2-D5**2)/(4*m*R)/10**-9*10**3
//Result
mprintf("Wavelength of liquid used= %d Armstrong",lamda)
|
76befb0dfa203492eb2daff3aa4e689492ee7243 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH1/EX1.6/Ex1_6.sce | f4945e76abee6aae39248f0fdf20a7b9ed8d9f3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 943 | sce | Ex1_6.sce | //=====================================================================================================
//chapter 1 example 6
clc;
clear all;
//variable declaration
l = 0.2; //percent liearity
r = 300; //full-scale readng
R = 20; //resistance in kΩ
V = 2; ... |
efc36b719bb1fb3b50065aa1bf68f2b1ed17ba90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH5/EX5.3/C5P3.sce | 559af7f5e34627835c141683eadb0375b469cbc1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,626 | sce | C5P3.sce |
clear
clc
//to analyse the motion if (1)cord is horizontal and (2)the cord is making an angle of 15 degree with the horizontal
// GIVEN::
//refer to figure 5-7(a) on page no. 92
//mass of sled
m = 7.5//in kg
//force by which sled is pulled
P = 21.0//in N
//angle made by sled with horizontal
theta = 15//... |
44c09e73151109aa2e31122cf102677e4bbffa4a | b3a9b289e5f7ef0e6a266cfb5f070b2bcd360fc2 | /modeleGeomRotatioBase.sce | 48f0fce3fa201cd4e1fb643ea8923a910d258661 | [] | no_license | nicoinsatoulouse/Projet | 7cc0c49e8c8d760a3a804fdc91e549240a6439b3 | 6817a37657ebbf9f74d4d24dbde199bb25fb7597 | refs/heads/main | 2023-05-05T18:59:31.953083 | 2021-05-25T08:18:56 | 2021-05-25T08:18:56 | 345,955,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,275 | sce | modeleGeomRotatioBase.sce | exec(pwd()+"\PlotSave.sci")
exec(pwd()+"\CartCyl.sci")
function Theta=Modelegeo(alpha,Px,Py,L1,L2,L3)
l=[L1,L2,L3]
Wx=Px-l(3)*cos(alpha)
Wy=Py-l(3)*sin(alpha)
y=(Wx^2+Wy^2-l(1)^2-l(2)^2)/(2*l(1)*l(2))
if y<=1 & y>=-1 then
T2 = atan(sqrt(1-y^2), y)
T1 = atan(-l(2)*sin(T2)*W... |
cef80d0897816134dd24631a6ee980bf6c332102 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/uzb.tst | e15b49b7404bda7516d38ed426e2564231681eaf | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 374,024 | tst | uzb.tst | sayohat qilmoq sayohat qilganman V;IND;SG;1;PST
sayohat qilmoq sayohat qilayotgan bo'lasizlar V;PROG;IND;PL;2;FUT
sayohat qilmoq sayohat qilar edingiz V;FRML;COND;SG;2;PRS
sayohat qilmoq sayohat qilayotgan bo'lamiz V;PROG;IND;PL;1;FUT
sayohat qilmoq sayohat qilgan edim V;PFV;IND;SG;1;PST
sayohat qilmoq sayohat qildingi... |
5841a821e5de0bea0ef9dfdd63caaa2511a434a4 | afcf746e249b9463101019f07a47845355c6acc2 | /starter_files/hw4/SubOrAdder16.tst | 60b2482c07d92a99ae44761c0bda00a8938b1c27 | [] | no_license | jyuan2pace/CS506 | afca44ee8df14436d72de97e658a61841091e651 | fa80d2786f006c226c6e6413ee23fe306d6c57d0 | refs/heads/master | 2020-07-28T13:04:37.077116 | 2019-11-24T20:15:20 | 2019-11-24T20:15:20 | 209,419,478 | 8 | 11 | null | null | null | null | UTF-8 | Scilab | false | false | 1,152 | tst | SubOrAdder16.tst | load SubOrAdder16.hdl,
output-file SubOrAdder16.out,
compare-to SubOrAdder16.cmp,
output-list a%B1.16.1 b%B1.16.1 sub%B1.1.1 out%B1.16.1;
set a %B0000000000000000,
set b %B0000000000000000,
set sub 0,
eval,
output;
set a %B0000000000000000,
set b %B0000000000000000,
set sub 1,
eval,
output;
set a %B... |
9e13ab81647594577f0e2f8dd81c49409cd2b992 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH14/EX14.6/Ex14_6.sce | 7df1ae6d9a3519671885312f87745ea8efe54ec6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | Ex14_6.sce | //Calculate the uncertainty in the velocity of the electron and Calculate the uncertainty in the baseball's position
//Example 14.6
clc;
clear;
delx=0.01*0.0529*10^-9; //Uncertainty in the electron's posiion in m
h=6.626*10^-34; //Planck's constant in J s
delp=h/(4*%pi*delx); //Uncertaintty of mom... |
0edceee59636eda37120acc9ac054b9f25663e92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH9/EX9.3/exa_9_3.sce | f54ecdcd02d32d1ea3af2525359c5c8ed255af62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | exa_9_3.sce | //Exa 9.3
clc;
clear;
close;
format('v',9)
//given data
h_fg=2392*10^3;// in J/kg
rho=993;// in kg/m^3
k=0.63;// in W/mK
miu=728*10^-6;// in kJ/m-s
N=10;
T_sat=45.7;// in degree C
T_s=25;// in degree C
d=4*10^-3;// in m
g=9.81;
h_bar = 0.725*[ rho^2*g*h_fg*k^3/(N*miu*d*(T_sat-T_s))]^(1/4);// in W/m^2k
m... |
0353554b1a3111d1ccb803b7e888af248743b5bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH7/EX7.15/ex7_15.sce | 856bdffb95355bc82ffe38e5276d391e5ac539d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | sce | ex7_15.sce | //ex7.15
I_DSS=12*10^-3;
V_DD=18;
R_D=620;
I_D=I_DSS;
V_DS=V_DD-I_D*R_D;
disp(V_DS,'Drain to sorce voltage in volts') |
576a87587554a72e449894b1115d83f51f3055c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH11/EX11.26.ii/exa11_26_ii.sce | 42b1ba732227072c483f1a263de547b44b1bf285 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 723 | sce | exa11_26_ii.sce | //caption:stability_using_Nyquist_criterion
//example 11_26_ii
//page 497
clf();
s=%s;
s1=-s;
disp("for K=4")
g=(4*(s-1))/((s+2)*(s+3));
g1=(4*(s1-1))/((s1+2)*(s1+3));
GH=syslin('c',g);
GH1=syslin('c',g1);
nyquist(GH);
nyquist(GH1);
mtlb_axis([-1 1 -1 1]);
xtitle('Nyquist plot of (2.5*(s+1))/((s+0.5)*(s-2))')
disp("sin... |
864d8b5a2629d826d182de069332659bc8655ecd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.8/ex1_8.sce | e9ac7f5bb23d5cbcaaeaa46fb126e6af71d36413 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | ex1_8.sce | // Exa 1.8
clc;
clear;
close;
format('v',8)
// Given data
rho = 0.5;// in ohm-m
J = 100;// in A/m^2
miu_e = 0.4;// in m^2/V-s
e = 1.6*10^-19;// in C
sigma = 1/rho;
E = J/sigma;
v = miu_e*E;// in m/s
disp(v,"The drift velocity in m/s is");
D = 10;// distance of travel in µm
D = D * 10^-6;// in m
// Time ... |
e5d98d40dbae8a7a03a50933c68c05d6a314ce20 | fc97dca636256fc30f018840e244a173c06ec54b | /owntests/ifInnerMore.tst | 66ab9747324d52c94fcb0e275d0042c674b595ed | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | tst | ifInnerMore.tst | main {
int a;
int ret;
a := 6;
if ((3 < a) && (4 < a)) then
{
if (5 < a) then
if(true) then
if(true) then
if(true) then
if(true) then
{
print(100);
ret := 5000;
}
else { }
fi
else ... |
fd72591c264c4fdbbb6ebf7eaa030051f7bd1971 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/readmps.man.tst | ef46421e88295890bf4eae4ade48968adce8564d | [
"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 | 1,288 | tst | readmps.man.tst | clear;lines(0);
//Let the LP problem:
//objective:
// min XONE + 4 YTWO + 9 ZTHREE
//constraints:
// LIM1: XONE + YTWO < = 5
// LIM2: XONE + ZTHREE > = 10
// MYEQN: - YTWO + ZTHREE = 7
//Bounds
// 0 < = XONE < = 4
// -1 < = YTWO < = 1
//Generate MPS file
txt=['NAM... |
38dbf30e1e32fe8121a2fb377bb213ce497159b2 | 717ddeb7e700373742c617a95e25a2376565112c | /752/CH15/EX15.3.1/15_3_1.sce | 30220a089a15a0582feacde369bdb406887480f1 | [] | 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 | 463 | sce | 15_3_1.sce | clc;
//page no 545
//prob no. 15.3.1
// VHF mobile radio system is given
Pt=100;//transmitted power
f=150;//freq used in MHz
d1=20;//height of transmitting antenna in m
Gt=1.64;//transmitting antenna gain
ht=2;//height of receiving antenna in m
d2=40;// distance in km
wl=c/(f*10^6);
E0=sqrt(30*Pt*Gt)
// Fi... |
0f22b8ab46eac394e44b9e5bb96d3ab5e0cd72f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH25/EX25.5/255.sce | 779e6d0eda843e2e99e28008e64ecd4b552fa850 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | sce | 255.sce | clc;
//Example 25.5
//page no 373
printf("Example 25.5 page no 373\n\n");
//gas(propane) flows through a catalyst tower
Mw=44.1//molecular weight
P=4320//pressre at the bottom of the catalyst bed,psf
R=10.73//gas constant
T=960//temperature,Rankine
rho=P*Mw/(R*T*144)//density of propane
L=50//height of bed,ft... |
6a95849480498a96ac61b1feb176b8989a96579e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH14/EX14.13/Ex14_13.sce | 7c4a55b6cc88c3a2f59cdee15b4098aab55c5fd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_13.sce | clear
//Given
P=120*10**3 //W
R=0.4 //ohm
Ev=240.0 //V
Ev1=24000.0 //V
//Calculation
Iv=P/Ev
P=Iv**2*R
Iv1=P/Ev1
P1=Iv1**2*R
//Result
printf("\n (i) Power loss at 240 V is %0.3f K W", P*10**-3)
printf("\n (ii) Power loss... |
0378ece7636c72792969300149fa77b7e7630770 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH6/EX6.6.1/ques6.sce | 1b07b44f6abddb5c120ad598acb8d6fab7e0d8e7 | [] | 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 | 161 | sce | ques6.sce | errcatch(-1,"stop");mode(2);//ques6
disp('definite integral');
syms x a
n=input('Enter n :');
g=exp(a*x)*(sin(x))^n;
f=integ(g,x);
disp(f);
exit();
|
754fd0e9afb713b94384aabff82c16ea2da29c6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH4/EX4.8/4_8.sce | ef91a48d58576ea9186b3486e08fcb24acd935a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,042 | sce | 4_8.sce | clear;
clc;
// Illustration 4.8
// Page: 259
printf('Illustration 4.8 - Page: 259\n\n');
// solution//
// From Example 4.4, 4.6 and 4.7
Do = 5*10^-3; // [m]
rowg = 1.923; // [kg/cubic m]
rowl = 986; // [kg/cubic m]
g = 9.8; // [square m/s]
hl = 0.0173; // [m]
vo = 18.48; // [m/s]
phie = 0.274;
Ks... |
6288745dbe2b02527e65552204f226e284b0f10a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH5/EX5.6/Ex5_6.sce | 0b36e94ecd0b5794e5c64e95d7b591f2bc21f1a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Ex5_6.sce | clc
// initialization of variables
T1=20+273 // initial temperature in kelvin
P=200 // pressure in kPa
V=2 //volume in m^3
R=0.287 // gas constant for air
W=720 // work done on air in kJ
Cv=0.717 // specific heat at constant volume for air
//solution
m=(P*V)/(R*T1)// mass of air
T2=T1+(W/(m*Cv))// final t... |
171c55b19f4b83526b722d6c3832c42cdf535a94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH5/EX5.7.6/Ex5_6.sce | 764990c2f21e7d633e25cad225564fd7bc9e8b42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | Ex5_6.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 5:Semiconductor Junction Diodes
clc
clear
//T1,T2=Temperature in kelvin
//Is1=Reverse saturation current at temperature T1 in ampere
//Is2=Reverse saturation current at temperature T2 in ampere
//Is2=Is1*2^((T2-T1)/10)
//((T2-T1)/10)*log(2)=log(Is2/Is1)
/... |
d89c46763a8a6e2c4dbaa0d687f1c1549da5ef37 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/decimate.sci | 9f8aeb54dea2168570a2c48f8b0361cd57dd33b3 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,871 | sci | decimate.sci | function y = decimate(x, q, n, ftype)
//Decimation — decrease sample rate by integer factor
//Calling Sequence
//y = decimate(x,q)
//y = decimate(x,q,n)
// y = decimate (…, "fir")
//Parameters
//x: input sequence
//q: reduction factor
//n : filter order
//ftype: filter type : iir or fir
//Description
//this is an oc... |
802f8b7b3850ac75d874e33f9187ef893947a0ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH2/EX1.3/EX1_3.sce | 620565d87699f896409d5085b7bf7ae5345f9680 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | EX1_3.sce | // Grob's Basic Electronics 11e
// Chapter No. 01
// Example No. 1_3
clc; clear;
// A dielectric with +Q of 2 C has 12.5*10^18 electrons added. What is its charge then?
// Given data
ec = 12.5*10^18; // Electron charge=12.5*10^18 electrons
disp ("The 2-C of negative charge added by the electron can... |
ea61311fda97bf1a98b466aeac23fbe303338e29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH14/EX14.6/14_6.sce | 84e7457f80e7ff13489ca1a1b7c41d62d197cc5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | 14_6.sce | clc
//initialisation
E=40//w
r=0.00005//m
l=0.1//m
si=5.67*10^-8
T=2773//k
//CALCULATIONS
a=2*3.14*r*l
e=E/(a*si*(T^4))
//results
printf(' \n relative emittance= % 1f ',e)
|
b23034f852721037d7ff8580a8ecc014378177d6 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/sparse.tst | e764f5ac373e8835db1e84f475bf7b2b953b2db2 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 93,745 | tst | sparse.tst | ## !!! DO NOT EDIT !!!
## THIS IS AN AUTOMATICALLY GENERATED FILE
## modify build-sparse-tests.sh to generate the tests you need.
##
## test_sparse
##
## run preset sparse tests. All should pass.
function [passes, tests] = test_sparse
disp ("writing test output to sptest.log");
test ("sparse.tst", "normal", "sp... |
9d8b5491b51b933b7b114d37dc14830044399da7 | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH3/EX3.3.1/3_3_1.sce | 0afcf97e06be5831329498e175681dac8c315894 | [] | 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 | 525 | sce | 3_3_1.sce | //CAPTION:Standing-Wave_Ratio
//chapter_no.-3, page_no.-93
//Example_no.3-3-1
clc;
//(a)Calculate_the_reflection_coefficient
Zl=73-(%i*42.5);
Z0=50+(%i*.01);
rl=(Zl-Z0)/(Zl+Z0);
x=real(rl);
y=imag(rl);
o=atand(y,x);
disp(o,'the_phase_of_reflection_coefficient is =');
M=abs(rl);//magintue_of_r
disp... |
acb83bd3a2acba7f7da294030e98da95d774b3b8 | 45b6839e3527a32106e7a6fc716b13dd147dea65 | /Asynchroniczny.sci | 4ee0738a7e31ac8a582f7a9ff9f5f52001d50cd9 | [] | no_license | PawelMazur/Hopfield-Network-Asynchronous | 38c93cea58547e38dc8ab0a142ffdfd44ac88b54 | c0bdfcd45dd8505ca78afddbc4ba7d355de77d6d | refs/heads/master | 2021-04-30T12:45:44.140306 | 2018-02-12T18:03:52 | 2018-02-12T18:03:52 | 121,280,417 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 26,153 | sci | Asynchroniczny.sci |
clc;
clear;
lines(0);
function E = energia(W, V)
suma = 0
w = size(W, "r");
k = size(W, "c");
for i = 1: w
for j = 1: k
suma = suma + W(i, j)*V(i)*V(j);
end
end
E = -1/2 * suma;
endfunction
function [M] = unipolarna(W, P)
RozmiarKolumn = size(W, 'c');
if RozmiarKo... |
32d6864aada354152b0a6f5d81ab59ae449be183 | 717ddeb7e700373742c617a95e25a2376565112c | /40/CH8/EX8.5a/Exa_8_5a.sce | 63e5aa5a4f6a36c61b9324f841284b6767cf3479 | [] | 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 | 827 | sce | Exa_8_5a.sce | //properties of DFT
//a1)product
xn=[1 2 1 0];
XDFT=dft(xn,-1)
hn=xn.*xn
HDFT=dft(hn,-1)
HDFT1=1/4*(convol(XDFT,XDFT))
HDFT1=[HDFT1,zeros(8:12)];
HDFT2=[HDFT1(1:4);HDFT1(5:8);HDFT1(9:12)];
HDFT3=[0 0 0 0];
for i=1:4
for j=1:3
HDFT3(i)=HDFT3(i)+HDFT2(j,i);
end
end
disp(HDFT3,'DFT of x[n]^2... |
5f2c8fd18ae2101bd8c5329a6bd45797211167d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH20/EX20.10/20_10.sce | c27583121bc4a1fd6698b67add1c1a95476f0459 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | 20_10.sce | //ques-20.10
//Calculating binding energy of alpha particles
clc
mp=1.00758;//mass of proton (in amu)
mn=1.00897;//mass of neutron (in amu)
M=4.0082;//atomic mass of He (in amu)
dm=2*mp+2*mn-M;//mass defect
BE1=dm*931;//BE (in Mev)
BE2=BE1*10^6*1.6*10^-12;//BE (in ergs)
printf("The binding energy of alpha part... |
4cc1e848eef53926ff15164e448e7d94723b68af | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/nested_structs_runme.sci | 1a6418df4d2a3824e035dbe305f3609be464e502 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sci | nested_structs_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:c46d501f9c05e70c5c824612100c8842ca72ab60b107a81cee2e9ce85f02752f
size 1074
|
b934d2cf3fd78d090b8c8d812aa3de21e16da517 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /ejemplos/02_root_finding/scilab/02_export_files/02_open_methods/03_secant/prueba.sce | f0a61d490d1480b6204847a5a41fd0bd49d5dfa1 | [] | 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 | 378 | sce | prueba.sce | //************** Ejecucion metodo secante **************
clear all; clc;
function fx = funcion(x)
v = 36, t = 4, cd = 0.25, g = 9.81;
fx = sqrt(g*x/cd).*tanh(sqrt(g*cd./x)*t) - v;
endfunction
niter = 6, pt = 1E-6, xr = 50;
[xrold, xr, ea] = secante(funcion, pt, xr, niter)
// Haga click sobre el ... |
819acdbb181132b10cf118f0f662a867dc782efd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH1/EX0.14/EXI_14.sce | a05a1067584be42c1f36107847d71b043a9a553c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | EXI_14.sce | // Grob's Basic Electronics 11e
// Chapter No. I
// Example No. I_14
clc; clear;
// Square 3.0*10^4. Express the answer in scientific notation.
// Given data
A = 3.0*10^4; // Variable 1
B = A*A;
disp (B,'The square of 3.0*10^4 is')
disp ('i.e 9.0*10^8')
|
c9615f1791f11eabc4231196b09202a1e64e41f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH3/EX3.6/Ex3_6.sce | 653f5a06ff75519d3195b28dfff416c5de50e3a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex3_6.sce | //Example 3.6, Page Number 124
//Coherence Length
clc;
nw=1.5019 //Refraction index at 0.8 micrometer
n2w=1.4802 //Refraction index at 0.4 micrometer
l=0.8*(10**-6) //Vaccum Wavelength at the fundamental frequency in m
lc=l/(4*(nw-n2w)) //lc is the coherence length in meters
mprintf("The Coherence Length is ... |
0f384c9e0a4b431b3ca2ca80680a3328dea2b9c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH13/EX13.2/2.sci | ad749e77e2474dc9117f7e03bf032e3a1700511c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | sci | 2.sci | clc;
clear all;
disp("composition determination")
T=273+15;// K
G=8314;// kJ/(kgmole*K)
p=1.1*10^(5);// N/m^2
pO2=0.21*p;
pN2=0.79*p;
CO2=pO2/(G*T);// kg mole/m^3
disp("kg mole/m^3",CO2,"molar concentration of O2, CO2 =")
CN2=pN2/(G*T);// kg mole/m^3
disp("kg mole/m^3",CN2,"molar concentration of N2, CN2 =... |
b8bfe1cb17263df20118836cd9a9140436bbca18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH14/EX14.3/14_3.sce | ad76fec37e0eb735422507060e8b4d5c29f3100e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | 14_3.sce | clc;
//page no 463
//prob no. 14.3
//Cable with teflon dielectric er=2.1
er=2.1;c=3*10^8;//Velocity of light
//Determination of velocity factor
Vf=1/sqrt(er);
disp(Vf,'The value of velocity factor is');
//Determination of propagation velocity
Vp=Vf*c;
disp('m/s',Vp,'The value of propagation velo. is'); |
30717d793f43f8a748e4b9a6b32ab8b5c016bc59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.13/4_13.sce | 022534886b6d0c4084f1f5d60efae2d400730bff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,033 | sce | 4_13.sce | clc
clear
//Initialization of variables
R=8314.3
T=700 //K
T2=437.5 //K
T3=350 //K
T4=T3
p2=0.552 //Mpa
p1=2.758 //Mpa
p3=0.345 //Mpa
cp=29.3
R0=8.3143
k=1.4
n=1
P0=0.103 //Mpa
//calculations
cv=cp-R0
p3=p2*T3/T2
p3=0.345
T5=T4*(p1/p3)^((k-1)/k)
G1=n*R*T*log(p2/p1)
V700=R*10^3 *T/(p2*10^9)
Sa= 2... |
3058354565c93e0c219ba290bd8d7aa56665c9a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH7/EX7.5/Ex7_5.sce | 43507eea2df02ff27508791557183a60ecb336a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Ex7_5.sce | clc
// using values from the result of Example 7.1
VEB = 0.6
disp("VEB= "+string(VEB)+"V")//initializing value of Emitter-base bias voltage
Ic = .2268*10^-3
disp("Ic= "+string(Ic)+"A")//initializing value of collector current
Ib = 4.92*10^-6
disp("Ib= "+string(Ib)+"A")//initializing value of base current at the ... |
fbcc3357503a81b2be9d28e3b193e9f38aafc8fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH9/EX9.12/Exa_9_12.sce | 15b484acbf929886e6019d809fd01541c8def525 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 936 | sce | Exa_9_12.sce | //IIR filter design
//Design of chebyshev IIR filter with following specifications
fp1=1.6;fp2=1.8;fs1=3.2;fs2=4.8;//pass band edges
Ap=2;As=20;S=12;
s=%s;z=%z;
//(a)Indirect Bilinear design
W=2*%pi*[fp1 fp2 fs1 fs2]/S
C=2;
omega=2*tan(0.5*W');//prewarping each band edge frequency
epsilon=sqrt(10^(0.1*Ap)-1);
... |
77c38d3a3b07d47b810c59e8fc700204f6d75c7a | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /kMatlab/kStop.sci | c59bd8c96c2af5f6f8e6c67e44353f97a90a071c | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sci | kStop.sci | function [r] = kStop(ref)
// Ouput variables initialisation (not found in input variables)
r=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//KSTOP Send stop command to Khepera
//
//kStop(ref)
// Specify a zero speed for the left and right wheels.
// Use the reference obt... |
03b5eb1c4391d5fbb977bc87beea730a5ff3e811 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH8/EX8.12/8_12.sce | 6caec8ef2c0db43c51f0002f3424bfc220b3e027 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,178 | sce | 8_12.sce | //pathname=get_absolute_file_path('8.12.sce')
//filename=pathname+filesep()+'8.12-data.sci'
//exec(filename)
//Pressure of the steam entering the boiler(in bar):
p1=100
//Temperature of the steam entering the turbine(in C):
T1=500
//Condensor pressure(in bar):
p6=0.075
//Pressure at which steam is extracted at... |
b4b886cd0ac35c1f870b5812ba0116e59f9fb5c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH6/EX6.4/Ex6_4.sce | 5adeed25543e9508761bfaa3fda61c678b2c81e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | Ex6_4.sce | // Example 6_4
clc;funcprot(0);
// Given data
P_1=1200;// kPa
T_1=350;// °C
P_2=140;// kPa
// Calculation
P_r1=((1/20)*(20.64-18.36))+18.36;// The relative pressure at state 1
P_r2=P_r1*(P_2/P_1);// The relative pressure at state 2
T_2=(((2.182-2.149)/(2.626-2.149))*(360-340))+340;// K
u_1=((3/20)*(465.5-4... |
607e0a0a77dc98544b50592cb5eeefab7c082ddb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH4/EX4.1/4_01.sce | 5b402ee12eb6f1c36c38d866ceaa5cdac7c2c97e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | 4_01.sce | //Chapter 4, Problem 1
clc;
//There is eight cell with same emf and internal resistance
r=0.2;
emf=2.2;
//When connected in series
Temf=8*emf;
Tr=8*r;
//When connected in parallel
Tr1=(1/8)*r;
printf("Total emf in series = %f V\n\n\n",Temf);
printf("Total internal resistance in series = %f ohm\n\n\n",Tr);
p... |
2ed9ea35c4e6919594eae2ab36b5e5bb74a64fda | 6a0d5ad524ce9b230c7e35af224317d515bb8f2d | /ResilienceMSY/DynMat.sce | 1b3a1ba0a58c2424f72b02d54985a6e989370bb1 | [] | no_license | mcuilleret/Entropic | b562ded98cbb74ad55579b6be5730767f24f4f2b | 0dd4e8bacb312015cd6c3b04b732ebd69de4ac23 | refs/heads/main | 2023-08-13T07:07:02.684153 | 2021-10-05T10:28:19 | 2021-10-05T10:28:19 | 413,753,215 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,534 | sce | DynMat.sce | function [IndViab]=dynamique_MAT(nb_boats_Post_BAU,gam,aij,B_simul,Y,PopGuyTr)
Xt=[];
CCt=[];
CCAt=[];
Tt=[];
Catcht=[];
Catch=[]
IndGen=[];
IndBio_=[]
Pro=[]
Bio=B_simul(1,:);
Foodssect=[];
PopGuy=PopGuyTr(1:T_proj,:);
//VARIABLE SUR LES PREMIERES ANNEES 2006-2018
//////... |
657315ad9f85196c9c0ccaa5fbf0dd736b0741e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.6/Ex5_6.sce | 954c4d8fd632f0c1c89d47050c8de818a2edad95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_6.sce | //pagenumber 288 example 6
beta1=100;
r1=1.5*10^3;//ohm
vcc=10;//volt
r=100*10^3;//ohm
vb=((vcc)/(r+10*10^3))*10*10^3;
ie=0.3/100;
ib=ie/beta1;
disp("collector current = "+string((ie))+"ampere");
disp("emitter current = "+string((ie))+"ampere");
disp("base current = "+string((ib))+"ampere");
|
ca6606433560e3b0130a8734618ddf7efdf09e21 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/examples/addinter-examples/ex7c.sce | 9117f05b8ecd1dbf753ee9a12d257dcad917e814 | [
"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 | 70 | sce | ex7c.sce | A=[1,2,3,4];
B=[10,20,30;40,50,60];
//Just display A and B
ex7c(A,B)
|
f779bf3ba8fbc063a311571225c911a699fbb347 | eec0cb8a9a3987d4e28fc22c89750a158a00ea84 | /Assignment3_Team8/Q1/Q1_UnSigned/testCase12.tst | cfc7fe502ddd36598cfb7ddbbc5834408b2ffd6e | [] | no_license | Archaic-Mage/CS2310_LAB_Assignments | 8ac90e0123de95f5cf8db709cd7761962bf8cef2 | e922b59fc1350db3f23b07b8f5986ac54f197c8d | refs/heads/main | 2023-08-29T23:42:07.913682 | 2021-11-16T14:00:05 | 2021-11-16T14:00:05 | 401,640,543 | 1 | 1 | null | 2021-10-01T05:55:36 | 2021-08-31T09:10:15 | Scilab | UTF-8 | Scilab | false | false | 329 | tst | testCase12.tst | load RCA16b.hdl,
output-file testCase12.out,
compare-to testCase12.cmp,
output-list x%B3.16.3 y%B3.16.3 z%B3.16.3 isoverflow%B5.1.4;
//test case 1 for unsigned int
set x %D37, set y %D45, set AorS 0,
eval,
output;
//test case 2 for unsigned int
set x %B1000000000000001, set y %B0111111111111111, set AorS 0,
eval,
... |
074d85897302b605d575575b035d9c971e27677f | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/3_12_data.sci | 86121de5a711de598e9fa0474ea7a7f8ab28e8a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sci | 3_12_data.sci | //Bore of the engine(in cm)
d=25;
//Stroke length(in cm)
L=37.5;
//Clearance volume(in cc)
Vc=1500;
//Cutoff percent
x=0.05;
//Ratio of specific heats
y=1.4; |
c455a20de0cfd0caeb370b4f298efd063a8ee829 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH4/EX4.5/Ex4_5.sce | ed5476cb87f5f2facbb7b8cbfad18aedce03a1eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,917 | sce | Ex4_5.sce | clc
//
// variable declaration
E=(29*(10**6)) // Modulus of elastoplasticity(psi)
sY=50 // Stress(ksi)
// Calculation
//Case(a) Onset Of Yield
I=((1/12.0)*(12)*((16**3))-(1/12.0)*(12... |
caac057fd7db03015bc997f79b4b810a004055d5 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test2-2.tst | 6f3f58271482f7184765818dccf996c46fb1a578 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | tst | test2-2.tst | main
var i, s;
procedure pp(v);
{
let s <- s + v
};
{
let i <- 1;
let s <- 0;
while i <= 50 do
call pp(i);
let i <- i + 1
od;
call outputnum(s)
}.
|
9e317a23ba81c8bdd156f1cf455f512c6225e97f | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH2/EX2.12/ex2_12.sce | fdff6af05326ef30cc4bd838012d3391e7ac3b50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 826 | sce | ex2_12.sce | //Ex2.12
//Positive diode limiter
//Let input wave be V_in=V_p_in*sin(2*%pi*f*t)
f=1; //let frequency be 1Hz
T=1/f;
V_p_in=18; //peak input voltage is 18V
V_supply=12;
R2=100;
R3=220; //resistances in ohms
V_bias=V_supply*(R3/(R2+R3));
V=V_bias+0.7; //waveform clipped at V
clf();
//let n be doub... |
a612a8c074bccca866cc7ab94daf6a42c505eaee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH19/EX19.2/Ex19_2.sce | 0fcf57844cb08791c0db3bcb6672bf10d9d38673 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Ex19_2.sce | //Chapter 19,Example 2,page 667
//Determine the pumping pressure
clear
clc
p0 = 30*10^-3 // C/m^3
V = 30*10^3 // V
P = p0*V
printf("\n The pumping pressure P = %f N/m^2",P)
// Answers may vary due to round off error
|
7ebc470c4ab9e5afa71ae0f6edb94499ec0a579d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH11/EX11.4/ch11_4.sce | 72c78b7730c52cdf2d268e8233c9fd4ccfe21c03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | ch11_4.sce | clc;
clear;
printf("\t\t\tChapter11_example4\n\n\n");
// Determination of the percentage of total emitted energy that lies in the visible range.
T=2800;
lambda1=4e-7;
lambda2=7e-7;
hT=lambda1*T;
lambdaT=lambda2*T;
printf("\nhT=%.2e m.K and lambda2_T=%.2e m.K",hT,lambdaT);
I1=0.0051; //Fraction of Total Radiation Emitt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.