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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24a0da3e91ebf092eb316d21f3f28b3d1bb218e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH12/EX12.2/exp_12_2.sce | faa4876ab0b05fbe377ee309e707afdec5fd0569 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | exp_12_2.sce | clear;
clc;
phi=38.74;//in degree
k=0.8;
vs=220;
a=gca();
a.auto_scale="off";
a.data_bounds=[0,0;.3,1];
xlabel("Voltage");
ylabel("Power");
p=[0:.1:1];
v1=( 0.5-(p*0.8)+((.25-(p*0.8)-(p^2))^(1/2)))^(1/2);
v2=( 0.5-(p*0.8)-((.25-(p*0.8)-(p^2))^(1/2)))^(1/2);
//change the axis boundary of x axis to 0.3... |
1397c40903faf51aa75357031feee781cb6ec929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH8/EX8.14/exa_8_14.sce | cb817ba97e055f3d71016e98a4881fc15b499bed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 916 | sce | exa_8_14.sce | //Exa 8.14
clc;
clear;
close;
format('v',13)
//given data
t_hi=94;// in degree C
t_ci=15;// in degree C
Mw=0.36;// in kg/s
Mo=0.153;// in kg/s
C_po=2*10^3;// in J/kg K
C_pw=4.186*10^3;// in J/kg K
U=10.75*10^2;// in W/m^2 K
A=1;// in m^2
Ch=Mo*C_po;// in kW/K
Cc=Mw*C_pw;// in kW/K
C_min=Ch;// in W/K
C_... |
30cfd4a2178d31171407c8865e52ae26eff400dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH5/EX5.12/Example512.sce | 43bbdafad130e93316fbc5aea1ea26b83db1fdb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,426 | sce | Example512.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 5, Example 12")
disp("If N is the number of stages, then overall pressure rise is:")
disp("R = (1+(N*DeltaT0s)/T01)^((n-1)/n)")
disp("... |
24506392151d3cd8a51f68d505d3e3fc357e8582 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH3/EX3.4/Ex3_4.sce | 3bc2e29e28a12fa98f903d14906546fd91183032 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | Ex3_4.sce | //Chapter 3
//page no 70
//given
clc;
clear all;
T=1; //Air
NA=0.3;
n0=1;
//x=y;
disp("for step index :A=infinite");
//for infinite alpha
//nc=T*(NA/n0)^2*(x/y)^2*(A/(A+2))
nc=T*(NA/n0)^2*(1)^2*1; // A/(A+2)=1 for A=infinite
printf("\n Coupling Coefficient,nc = %0.0f percent \n\n",nc*100);
disp(... |
69d596d872d7f295de8582d29c402dfeb05bf700 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH31/EX31.13/31_13.sce | 5d9189a9a9fbfddd0eacfd137f5c32b2ea585eeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | 31_13.sce | clear//
//Variables
L = 0.33 //Inductance (in Henry)
C1 = 0.065 * 10**-12 //Capacitance (in Farad)
C2 = 1.0 * 10**-12 //Capacitance (in Farad)
R = 5.5 * 10**3 //Resistance (in ohm)
//Calculation
fs = 1/(2*%pi*(L*C1)**0.5) //Series... |
e3d93673c9cdac6193b4cd4ce310147929ce592a | 629fb9fb7df86003cea762cbdb7330c87046adab | /InversaLU.sce | 625b01ac35c188ecf43b88ac09700bcce08e0279 | [] | no_license | kayoakio/calculonumerico | e6ec2450c9f108a77b72c1847728f1a3c68b3f47 | 50812a8ab10c4aa5f118e3c741b258d5e0ce6dea | refs/heads/master | 2020-06-30T22:27:14.346012 | 2019-08-28T01:25:40 | 2019-08-28T01:25:40 | 200,967,046 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | InversaLU.sce | n = 3// input('N: ')
I = eye(n,n) //Matriz Identidade
A = rand(n,n) //Matriz Aleatória
// Decomposição
[L,U] = lu(A)
//Yn = L\I(:,n)
//Xn = U\Yn
for i = 1:n
Y = L \ I(:,i)
Ainversa(:,i) = U \ Y
end
//A * Ainversa
ajuda = A * Ainversa
disp(ajuda)
//I(:,2)
|
9a915b4516e7340f5d856c704f88345997c34df3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH11/EX5.11.3/Ex5_11_3.sce | 69b05815b6f37acfbb5a0e753380f600ec82ada3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | Ex5_11_3.sce | //Section-5,Example-3,Page no.-D.124
//To calculate the number of molecules of HCl produced per joule of radiant energy absorbed
clc;
h=6.626*10^-34
v=3*10^15 //Frequency
c=3*10^8
lm=c/v
J=1/(1.6*10^-19) //Value of 1 Joule in eV
E=((h*c)/lm)*J
disp(E,'Energy of an Einstein in eV')... |
14c806c920f3e1c47e4dadf3995615a44e3c5122 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH10/EX10.2/exa_10_2.sce | 26a0bd83b87dc8751fc77bafa4530dbb8c01f027 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | exa_10_2.sce | //Exa 10.2
clc;
clear;
close;
//given data
format('v',13);
T=25;// in degree C
T=T+273;// in K
P=1;
V1=12;//Molecular volume of H2 in cm^3/gm mole
V2=30;//Molecular volume of Air in cm^3/gm mole
M1=2;// Molecular weight of H2
M2=29;// Molecular weight of Air
//The diffusion coefficient for gases in terms o... |
c3a7310fb77ca8a1330d7d0cf8c316fb323c2ac8 | 717ddeb7e700373742c617a95e25a2376565112c | /2792/CH9/EX9.8/Ex9_8.sce | 7ba1a45b9d6108b328c9cacab3dab7b58e244569 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,940 | sce | Ex9_8.sce | clc
kbT = 0.026
disp("kbT = "+string(kbT)+"eV") //initializing value of kbT at 300K
Z = 10*10^-4
disp("Z = "+string(Z)+"cm") //initializing value of channel width
L = 1*10^-4
disp("L = "+string(L)+"cm") //initializing value of channel length
mu_n=700
disp("mu_n = "+string(mu_n)+"cm^2(Vs)^-1") //initializing val... |
e1b3111a97bb293c1653614eaace2ce6616c3b9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH7/EX7.9/ch7ex9.sce | 2ece21f954949567b9330aa3bd631a0a7a1b91dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | ch7ex9.sce | //signals and systems
//continuous time signal analysis the fourier transform
//fourier transform of unit step function u(t)
clear;
clc;
A =0.000000001; //Amplitude
Dt = 0.005;
t = 0:Dt:4.5;
xt = exp(-A*abs(t));
Wmax = 2*%pi*1; //Analog Frequency = 1Hz
K = 4;
k = 0:(K/500):K;
W = k*Wmax/K;
XW = x... |
d76b7fab96a4f9a0572b76702f36702131247a6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH8/EX8.5/Exa8_5.sce | 780a9c8321d46dfc3cb48df27293d7e1d6a4f218 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | Exa8_5.sce | //Exa 8.5
clc;
clear;
close;
//Given data :
ETA=65;//Quantum efficiency in %
lambda=900;//in nm
lambda=lambda*10^-9;//in meter
q=1.6*10^-19;//in coulamb
h=6.63*10^-34;//Planks constant
c=3*10^8;//in m/s
P=0.5;//in uWatt
Im=20;//in uA
Ip=(ETA/100)*q*P*lambda/(h*c);//in micro Ampere
M=Im/Ip;//unitless
disp... |
f586759453c5f25aebe710a421e2f39432447ae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH9/EX9.26/Ex9_26.sce | 232cf4417b8234f49661eeb2c9f00af7fc9e5288 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | Ex9_26.sce | //Chapter 9
//page no 339
//given
clc;
clear all;
n1=1.5; //refractive index
n2=1.5; //refractive index
W=2.5; //in degree
NA1=0.3;
NA2=0.4;
Csim1=16*(n1/n2)^2/[1+(n1/n2)^4]*[1-n2*W/(180*NA1)]; //angular coupling coefficient
//Answer wrong in book
printf("\n Csim= %0.3f\n",Csim1... |
b67b71512f9e646e513e04394b27ee4dd872661f | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH9/EX9.6/Exa_9_6.sce | eae65a968ac5cc747d365edf72cf5da991d1fc9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | Exa_9_6.sce | //Mappings from integration algorithm
//(a)Trapezoidal integration algorithm
s=%s;z=%z;
a=input('enter the value of a')
ts=input('enter the value of sampling time')
HS=1/(s+1);
HZa=horner(HS,2*(z-1)/(ts*(z+1)))
za=roots(denom(HZa))//pole always less than 1 ,hence HZ is stable
//(b)simphson's algorithm
HZb=horn... |
00d284d7cb0058ce93af890ce896a952e559210d | 94d8b66f6512f2f17f77000729fd8ac999484ed3 | /workspace/Analysis/IntervalAnalysis/Results/BESE/2D-4Transponders/GenerateAnim.sce | d7c454868308f9b2049485f694630163f30b3e7d | [] | no_license | utctao/reliable-slam | 7885c098574afb5284675a6f022d368f7f303ba6 | 1f00c584d9dacfc17e31e0aa91b0d717998b0310 | refs/heads/master | 2021-01-20T19:49:49.038094 | 2013-07-22T21:50:55 | 2013-07-22T21:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,334 | sce | GenerateAnim.sce | funcprot(0);
//clear;
xdel(winsid()); // close all previously opened windows
// Personal workstation (Linux)
exec('/media/Documents/Etudes/ENSTA-Bretagne/Stages/ENSI3-UFRGS/reliable-slam/workspace/Analysis/Plots/General/boxUtils.sce', -1)
path_in='/media/Documents/Etudes/ENSTA-Bretagne/Stages/ENSI3-UFRGS/reliable-slam... |
00d8e7902ccfa8948e7a9efa6c80c96714127335 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/diffuse/difan3.m | abe05916e8efa065714649d28fe1c5fcd16b68c7 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | m | difan3.m | exec('..\xmlutils\writexml.m');
exec('..\xmlutils\writex3d.m');
exec('diffuse_utils.m');
exec('diffuse_x3d.m');
exec('diffuse.m');
exec('diffuse_drv.m');
exec('diffuse_analysis.m');
chdir('results');
diffuse_analy_faceset('diffuse_datlist_1.lis', 'facesett1',66, 25, 25, 1, 1, 2, 3, 1);
diffuse_analy_faceset('diffuse_... |
4c91e38854a1da83c43f1e19c9a343b4a805d1fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH13/EX13.3/Example_13_3.sci | f9c7e8b4a670850ec9c612317657e0750bf2a2b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Example_13_3.sci | clear all;
clc;
printf("\n Example 13.3");
//From the equilibrium relationship
CB1 = (0.0247*0.685);
printf("\n CB1* = %.4f kmol/m^3",CB1);
CB2 = (0.0247*0.690);
printf("\n CB2* = %.4f kmol/m^3",CB2);
//Thus the driving force at the bottom:
deltaC1 = (0.0169-0.0040);
printf("\n deltaC1 =%.4f kmol/m^3",delta... |
15cf06af030ea8f8df364e305920cf1fc3f6789a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH3/EX3.11/Example3_11.sce | efce44a8d659159345affd6d3cb1ef0ec605745e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | Example3_11.sce | //Example 3.11
clc;
clear;
close;
format('v',6);
//Given data :
g=9.81;//gravity
D=4;//meter
xbar=(10+7)/2;//meter
A=%pi*D^2/4;//meter^2
w=g*1000;//in N/m^3
p=w*A*xbar/10^6;//in MN
disp(p,"Total pressure in MN : ");
BC=3;//meter
AB=4;//mete
sin_theta=BC/AB;
IG=%pi*D^4/64;//in m^4
h_bar=IG/A/xbar*sin_th... |
be125dee962426f68489c2194da46dbc168c70d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.61/ex2_61.sce | a209ae5a8d621056d6d33931acf8a4213085d1a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | ex2_61.sce | clc
Z1=14.14-%i*14.14; //Assigning values to parameters
Z2=26+%i*15;
I=10;
Zeq=Z1+Z2;
V=I*Zeq;
Zeq=(Z1*Z2)/(Z1+Z2);
I=V/Zeq;
disp("Amperes",polar(I),"Supply current"); |
47e8a0e7346f670565aa0c17761de9765282f870 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH24/EX24.5/ques5.sce | a11557622616adfb957204e530a4c58efb50aba4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | ques5.sce | //ques 5
disp(' To find the roots of f(x)=3x-cos(x)-1 by newtons method ');
disp('f(0)=-ve and f(1) is +ve so a root lies between 0 and 1');
l=0;
m=1;
function y=f(x)
y=3*x-cos(x)-1;
endfunction
x0=0.6;
disp('let us take x0=0.6 as the root is closer to 1');
disp("Root is given by r=x0-f(xn)/der(f(xn)) ");
... |
fc066db4d899355fe62e71aa929fd0c8f13a598f | fcc4645d4eee021a4cf8b2cee0922d812710573f | /perf/prelim_design.sce | 3d07cfcba630cb341075477d6aeea78de735d0c6 | [] | no_license | gviolato/nemo | 656a6db0481d9828bff307de24ee0b92045d653f | 44cf1554de9e1c4bc8450ae147bdec512599e0d9 | refs/heads/master | 2020-12-29T02:37:17.515209 | 2017-05-28T16:12:49 | 2017-05-28T16:12:49 | 43,207,682 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,338 | sce | prelim_design.sce | // HPH preliminary design script
//
// Based on article "The 20-knot human-powered water craft" - Alec Brooks
// "Human Power" Magazine, Spring 1987, Vol6 N.1 - p.1
//
// Diego Montero; Gustavo Violato; Fernando Valentini
// First release: Sep. 2015
clc
xdel(winsid())
clear
// Script flags
DO_CALC=1;
DO_PLOTS=1;
// ... |
7fb811309666f0e6ac1addbfea119a9320f085d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH1/EX1.1/1_1.sce | 54dc4c7777666932a2c230654dd1742ecb202db8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 1_1.sce | clear; clc; close;
t = 273 + 27; //in kelvin
t_new = 273 +100;
k = 1.38*10^(-23);//in J/K
q = 1.6*10^(-19);//C
Vt = k*t/q;
format(10);
disp(Vt,'Thermal voltage for 27''C(in V): ');
Vt = k*t_new/q;
disp(Vt,'Thermal voltage for 100''C(in V): ');
|
ef0dc14b3f402311b9be7a5dae0930f3a09d3dae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH21/EX21.6/Ex21_6.sce | 6b8463507e602002312ebdf595db6e19bb04541d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | Ex21_6.sce | //Chapter 21: Antenna Measurements
//Example 21-5.1
clc;
//Variable Initialization
En = 1 //Field illuminating the AUT (unitless)
tilt_diff = 88 //Difference in tilt angles (degrees)
//Calculations
En_pol = En*sin(tilt_diff*%pi/180) //Co-polar component of field (unitless)
En_crosspol = En*cos(tilt_diff*%pi/... |
ee759ba1cf3f6b245dc56786edc17c585cf727f0 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/Perturbation_M15_square_CBC_back_par.tst | 6111b6bc0f25df32d9ea86918d165678bfcc0507 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,234 | tst | Perturbation_M15_square_CBC_back_par.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler, pressure perturbation to test RiemannInvariant CBC supersonic (back wave), parallel</description>
<executable>CompressibleFlowSolver</executable>
<parameters>--use-scotch Perturbation_M15_square_CBC_back_par.xml</parameters>
<processes>3<... |
01ed33083b411fa55a02c748b0d630f225b1a9d4 | 46eca1705dcc3c7c6a459ddb14cf25a755d63364 | /ElectricityRechargeSystem/plsqls/读表.tst | eda82bd269ba9798c7f982965e6e03a41d2c6b76 | [
"Unlicense"
] | permissive | XUranus/NEUBCourse | 66e96ccd994569e89d23b43559ecd5c175117774 | 695a1c33c65357fb5bb170483e84fecb4368d224 | refs/heads/main | 2023-03-24T23:58:28.192567 | 2021-03-25T07:53:24 | 2021-03-25T07:53:24 | null | 0 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 5,912 | tst | 读表.tst | PL/SQL Developer Test script 3.0
159
-- Created on 2018/8/29 by 王星校
DECLARE
v_device_id DEVICE.device_id%TYPE:=3;--设备号
v_meter_reader_id METER_READER.METER_READER_ID%TYPE:=1000000;--抄表员id
v_reading READ_RECORD.READING%TYPE:=500;--当前读数
v_record_date READ_RECORD.RECORD_DATE%TYPE:=to_date('2019-2-20','yyyy... |
8d2b2c7e6a993e1ccf7fa16d0bf10f48f59a7262 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH3/EX3.1/Example_3_1.sce | e44f55a71ed14500ad286689655230c74999eef1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,048 | sce | Example_3_1.sce | clc;
printf("Example 3.1\n\n");
sap=1.25; //Sulphuric acid pumped
d=25e-3; //Diameter of pipe
l=30; //length of pipe
meu=25e-3; //Viscosity of acid
rho_a=1840; //Density of acid
printf(" Given :\n Sulphuric acid pumped = %.2f kg/s\n Diameter of pipe = %.3f m\n length of pipe = %d m\n Viscosity of acid = %d x 1... |
909039ceb88e7459d98243d7a1003337874c3217 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.4/Chapter2_Example4.sce | cad029031a7d8228cf22b0c067c4e016564114a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 817 | sce | Chapter2_Example4.sce | clc
clear
//INPUT DATA
//C8H18 + 12.5 O2 + (12.5*3.76) N2 = 8 Co2 + 9 H2O + 47 N2// Stoichiometric equation for combustion of octane with 100 percent of air
//C8H18 + 12.5 O2 + (12.5*3.76) N2 = 8 Co2 + 9 H2O + 47 N2// Stoichiometric equation for combustion of octane with 200 percent of air
a=8;//Carbon balance
b=... |
a734bca86ad6eede886964b0e6948569ab97cc67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH8/EX8.2/Ch08Ex2.sci | f11a9bbc0084e1991eaff769f1cbe6210ddb3264 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sci | Ch08Ex2.sci | // Scilab code: Ex8.2 : Wvelength of infrared absorption line: Pg: 185 (2008)
L1 = 4554; // wavelength of the stokes line, angstorm
L2 = 4178; // wavelength of antistokes line, angstorm
Lm = 2*L1*L2/[L1-L2]; // Wavelength of infrared absorption line, angstorm
printf("\nThe Wavelength of infrared absorption... |
c61cdaccefa252e58916d9447ab9fbaef079cfdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH5/EX5.6/5_6.sce | e6bdad0195f2ce9bdce17693c287d1d1f076a4a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | 5_6.sce | P = 12000; // Lataeral load at the upper end in N
h = 2.5 ; // Height of post in m
Mmax = P*h ; // Maximum bending moment in Nm
// Part (a) : Wood Post
s1 = 15e06 ; // Maximum allowable stress in Pa
S1 = Mmax/s1 ;// Section Modulli in m3
d1 = ((32*S1)/%pi)^(1/3); // diameter in m
disp("m",d1,"the minimum require... |
051377adcdfb790fbb5c01478874d709541df604 | b0ad6d728d3820b03751eab240331dd6ca86ae7e | /run1_VisMMN.sce | 879b7a591cca6640ad24e75caa390ddbc618c582 | [
"MIT"
] | permissive | br-bieegl/szAMPexperiment | e354cb59cea9a794725618b0a6aefa3a9c681cca | 02ceb4a50286342c3fa8d449b30c6678cadbfa85 | refs/heads/main | 2023-04-07T17:36:08.091116 | 2021-04-15T20:46:29 | 2021-04-15T20:46:29 | 358,362,424 | 1 | 0 | null | 2021-04-15T19:02:18 | 2021-04-15T18:55:30 | null | UTF-8 | Scilab | false | false | 9,669 | sce | run1_VisMMN.sce | scenario = "run1_VisoddballPlusMMN_pronetSZAMP_09042021";
#========================================
#
#Visual Task:
#
#Tone1 16
#Tone2 18
#Response 17
#Standard 32
#Target 64
#Novel 128
#
#========================================
#attenuation updated for ER1 insert earphones and X-fi gamer card
pcl_file = "nvMMNComman... |
0dd7baaa1fdc1383fdda89295690a83fc069dce0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH7/EX7.23/7_23.sce | 4f60dda86b5a9ceb4cd9d1d317a2051736e32232 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | 7_23.sce | c=0.1;//concentration of the solution//
Kw=1.0*10^-14;
Ka=7.24*10^-10;//dissociation constant of HCN//
printf('For a salt of this type the hydrolysis reaction is\nCN- +H2O = HCN + OH-');
Kh=Kw/Ka;//hydrolysis constant//
printf('\nHydrolysis constant of the solution=Kh=%f=1.381*10^-5',Kh);
printf('\nIonization con... |
c49f910eb22f586288d66cc9f44cc74683602d68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH7/EX7.2/7_2.sce | 5caaa0c3c4ddbaa0d51343c67d84e82ec07d6974 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | 7_2.sce | clc
//Initialization of variables
h=76 //cm
d=13.5951 //g/cc
g=980.655 //cm/s^2
T=273.15 //K
v=22414.6 //cm^3 /mol
//calculations
P=h*d*g
R=P*v/(T)
//results
printf("Gas constant = %.3e ergs/deg. mol",R)
|
521fc27ddbbe8e6cb83cf0e879d2655d3595bf52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH3/EX3.13/ex13.sce | 3ae3140f6e775e9094c771711406137e8ce3368d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 924 | sce | ex13.sce | //ex13
//Different Methods of Evaluating Gas Pressure
clear
clc
T=175//temp in K
v=0.00375//specific volume in m^3/kg
//(a)ideal gas equation of state
// data from table A-1
R=0.2968//gas constant for a given gas in kPa.m^3/kg.K
P=R*T/v;//Pressure in kPa
printf('\n(a) Pressure from Ideal gas equation = %.0f ... |
e10e28c71164c72fd2d050a75974998558c78a73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH10/EX10.3/Ex10_3.sce | 57418a0738335a7b684f0d0f8a5c674f53c2ac7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 865 | sce | Ex10_3.sce | funcprot(0)
//Variable Declaration
BER=10**-5 //Maximum allowable bit error rate
//Calculation
x=linspace(8,10,11) //Eb/N0 ratio represented by x
x1=x**0.5
for i = 1:11
x(i)=10*log10(x(i)) //Converting x into decibels
end
erf=linspace(0,0,11) //Initialization for erf function
Pe=linspace(0,0,11) //Initializ... |
7b28ca49289623f8f8c89efe4fb64ac568a8b9b3 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r34/xmpl/math.tst | 08fe2b37e76a46b9d8578b5646e1932ae71c33b4 | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 10,783 | tst | math.tst | % Test of Math Package.
% Author: Stanley L. Kameny <stan%valley.uucp@rand.org>.
% Copyright (c) 1987, 1988, 1989, 1991 Stanley L. Kameny.
% All Rights Reserved.
%*********************************************************************
%**
%** This math package will compute the floating point values of **
%** the us... |
8e737120bb0fcbfed831852727795a36f4db8e4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.53/ex_1_53.sce | df7f2c9deb37205c66856c99642b653579a7348b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | ex_1_53.sce | //Example 1.53://STANDARD DEVIATION OF THE METER AND PROBABLITY OF ERROR
clc;
clear;
x=0.8;//in ampere
y=0.5248;//
SD=x/y;//standard deviation
x1=1.2;//in ampere
y1=x1/SD;//probability of error
disp(SD,"standard deviation is")
disp(2*0.2842*100,"probablity of an error for 1.2A in percentage is")
//thus 57% of the readi... |
b7fbe3026940789cb4e8a87d0e122bfd01195fff | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH16/EX16.4/example4_sce.sce | fd2b96f62df391f8c0116cc68a33aeeeb618dda4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | example4_sce.sce | //chapter 16
//example 16.4
//page 680
printf("\n")
printf("given")
f=100*10^3;Vo=9;Acl=3;
disp(" design of wein bridge oscillator")
Vcc=Vo+1
C1=1000*10^-12;//standard value
C2=C1;
R1=1/(2*3.14*f*C1)
R2=R1;R4=R2;
R3=2*R4;
R3=3.3*10^3;//use standard value
disp(" minimum full power bandwidth")
f2=Acl*f
SR... |
4d62b8a3b4a24447b39a2b85c2d35c9fee9b2853 | 05d972abeab11d213913aa6124e6a2104d859132 | /src/etc/AltShutdown.tst | 2a6ea108dc9edfb6c48c3bf911a0f2507d95f4ab | [] | no_license | LivTel/sdb_puller | 50ac8289d57c4927245ca70c4809cf2b9c807e82 | 9e573ee4d20035f846cb010a02099b9a25dc4e76 | refs/heads/master | 2022-06-24T04:59:10.771334 | 2019-12-18T19:10:47 | 2019-12-18T19:10:47 | 179,494,067 | 0 | 0 | null | 2020-07-01T23:30:44 | 2019-04-04T12:34:54 | C | UTF-8 | Scilab | false | false | 43 | tst | AltShutdown.tst | echo, Shutdown for Altitude
shutdown, ELC
|
22f6bb12a7d8f70d85ad208e8342a632f8b723ee | 29cfe7e83274e757dc406cdc2a855f7e76fdb698 | /scilab/kalman_filter_diff_gyro_2.sce | be74539720b6a7eed74dd9e069587ba550a7a4c4 | [] | no_license | andreucm/essential_maths_roboticists | 2eb637afe3f46be6eb6c697eba7ada1d9406f482 | 95530267db0890be1e76778062d8eafd41d451dd | refs/heads/master | 2022-07-16T05:18:15.976563 | 2022-07-01T08:36:47 | 2022-07-01T08:36:47 | 47,470,143 | 1 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,521 | sce | kalman_filter_diff_gyro_2.sce | //______________________________________________________________________________
// A Kalman filter to estimate the state of a differential drive robot equipped
// with wheel encoders and one gyro.
// The state is [vx wz ax wzdot]^T (m/s,rad/s,m/s2,rad/s2)
// The [vx,wz] components of the state are used to compute th... |
08e3a7a29cefda3ee72535c527a38ff05ea16786 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH18/EX18.1/Ex18_1.sce | 8c3078f539aa4f2543b62f13b416ba2f7f7ac4ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | Ex18_1.sce |
i=linspace(0,1.6,9)
V=[0 40 66 86 101 112 121 128 133]
plot(i,V,rect=[0 0 1.6 133])
xtitle("Magnetization curve for example 18.1","Field Current","Generated emf")
//refer Fig. 18.4 in the textbook
Rsh=94//resistance of shunt field winding
//OA is the field resistance line for this resistance
Voc=126//voltage... |
799b206b4ffdff771422f94bb8ffcee99cca693f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH4/EX4.2/ex_4_2.sce | 125113d0c3739a295db0cd55656f299af9517465 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | ex_4_2.sce | ////Ex 4.2
clc;
clear;
close;
format('v',6);
AOL=2*10^5;//unitless
Ri=1.5;//kohm
Rf=12;//kohm
Rio=1;//Mohm
Ro=100;//ohm
fo=5;//Hz
Beta=Ri/(Ri+Rf);//unitless
SF=(1+AOL)*Beta;//unitless
ACL=AOL/SF;//unitless
disp(ACL,"Value of ACL");
//In case of ideal opamp
ACL=1+Rf/Ri;//unitless
disp(ACL,"In case of id... |
cd6f1635bcb3a53b4c8fb09bbca229fc3b7cac77 | 8ce3a1376afc5790cf8b2356d5ba6128ff6f4588 | /词法分析/c2.tst | c759653ee82a6068a211b47bb728663a8edf1a24 | [
"Apache-2.0"
] | permissive | SupriseMF/complier-engine | d100e120d78d3d6389e32c61d43368dab4bcec13 | 492645cbdecf2f063aeafaf5fcfa00eae1a3ed89 | refs/heads/master | 2020-03-27T21:33:01.464989 | 2018-09-03T05:34:21 | 2018-09-03T05:34:21 | 147,155,541 | 1 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 3,302 | tst | c2.tst | LineNUM LEX LexStr SemStr
3 0 program 保留字,无语义信息
3 21 ID sd
4 2 type 保留字,无语义信息
4 21 ID i
4 24 = 单分隔符,无语义信息
4 19 integer 保留字,无语义信息
4 34 ; 单分隔符,无语义信息
5 21 ID sarray
5 24 = 单分隔符,无语义信息
5 15 array 保留字,无... |
9a8b73ea6886b39219163b9038bdf9ab49e98718 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH11/EX11.11/Ex11_11.sce | c9da3053d18a09dd793dd4cae72c4b2d96ed8b7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | Ex11_11.sce | clc
//initialization of new variables
clear
r=0.1 //m
RPM=1000 //RPM
c2=30 //m/s
S=2 //cm^2
beta3=60 //degrees
alpha2=90 //degrees
rho=1000 //kg/m^3
//calculations
beta3=beta3*%pi/180
alpha2=alpha2*%pi/180
S=S*10^-4
U=RPM*r*2*%pi/60
w2=c2-U
w3=w2
CthD=w2*sin(alpha2)+w2*sin(beta3)
m=rho*c2*S
T=m*r*Cth... |
160befbdf063bc54feb0d4f12e4d6d188d64ee97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH8/EX8.14/Ex8_14.sce | e0132aad28d670be5db16edb731c02fc408cc5ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | sce | Ex8_14.sce | // Theory and Problems of Thermodynamics
// Chapter 8
// Power and Refrigeration Cycles
// Example 14
clear ;clc;
//Given data
T1 = 300 // intial temperature of air in K
P1 = 0.1 // initial pressure of air in MPa
P2 = 5.0 // final pressure of air in MPa
q1 = 20 ... |
16501614b921c8264f89a427559755ad4f5302e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH8/EX8.8/ex8_8.sce | df417770a36e7a19022537b346ec12f0baf76934 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | ex8_8.sce | // Example 8.8, Page No-380
clear
clc
Vref=7.15
Vo=5
k=Vref/Vo
printf('(R1b+R2)/R2= %.2f', k)
k1=k-1
printf('\nR1 = %.2f * R2', k1)
// For min voltage of 2V
Vom=2
km=Vref/Vom
printf('\n(R1a+R1b+R2)/R2= %.3f', km)
km1=km-1.43
printf('\nR1a = %.3f * R2', km1)
R1a=10000
R1b=2000
R2=R1a/2.145
R2n=R2... |
cf0a6896bbe5b0fe09557cb13c4659e5b9610de6 | 4545588c8427debaf17f9dc71b0ace32f4fb5d67 | /avr32/services/dsp/dsplib/conception/fft/4_radix.sce | eb5c0fdd6cfe86ebe70549eb5aa0eedbd02be68e | [] | 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 | UTF-8 | Scilab | false | false | 5,081 | sce | 4_radix.sce | clear;
// For the FFT 4-radix without optimisation
function [y1, y2, y3, y4, nb_mul] = fft_4_radix_e(x, k, size_x);
global PI;
mod = modulo(size(x, '*'), 4);
if mod == 0 then
x_1 = x(1:4:size(x, '*'));
x_2 = x(2:4:size(x, '*'));
x_3 = x(3:4:size(x, '*'));
x_4 = x(4:4:size(x, '*'... |
a5707d11fc7fec4d72f26cbf74ff39a50aaa469a | 95803dc4d59e0d09d29c4f3a958d105e89f05247 | /CS3A - Machine Lang/nand2tetris/projects/02/Buf16.tst | adc342103e276ae75749ea1e34e339505660c97e | [] | no_license | cdelprato0/Saddleback-CC | 892272856b1c4ab5e41b5e20cf082620d5d39131 | 325af23636af3c404fd67082efa2a97ab7ab3021 | refs/heads/master | 2022-12-17T19:31:33.258197 | 2020-09-18T19:52:27 | 2020-09-18T19:52:27 | 296,713,196 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,626 | tst | Buf16.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/Buf16.tst
// File created by Matthew Walsh.
load Buf16.hdl,
output-file Buf16.out,
compare-to Buf16.cmp,
output-list in%B1.16.1 out%B1.16.1;
// Set 01.
set in... |
b0cac272db5c342f735ef205bd5c51038163016f | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH11/EX11.4/11_4.sce | d66f3ebf09c335d1bc78354fb5e3fd7a81b0434e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | 11_4.sce | T = (3754-3063)/(23.03-19.49);
P = exp(23.03-(3754/195.2));
R = 8.3143;
Lsub = R*3754;
Lvap = 3063*R;
Lfu = Lsub-Lvap;
disp("K",T,"Temperature of triple point is")
disp("mm Hg",P,"Pressure of triple point is")
disp("kJ/kg mol",Lsub,"Latent heat of sublimation is")
disp("kJ/kg mol",Lvap,"Latent heat of vapouriz... |
32819256f3578bf90d4c78535e15b8b0a08af92c | c908c5ec283c57c29da044966fce0fee1f659873 | /labs/Experimento 4/Algoritmo do Trapézio para Integração.sce | bcb4e1ebe633d298013b79991b788d700ffc216e | [] | no_license | marialago/numerical-computation | 3ca0e95c637c1d4d3ea79789d1bda0b84ca29ca5 | c88c0ddc6f7501ed115556f72f5f5db3a8610f6b | refs/heads/master | 2022-10-30T01:42:21.032196 | 2020-06-14T18:33:45 | 2020-06-14T18:33:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | Algoritmo do Trapézio para Integração.sce | function I=trap(x,y,n)
z=length(x)
h=(x(z)-x(1))/n
I=y(1)
for i=2:n
I=I+2*y(i)
end
I=(h/2)*(I+y(n+1))
endfunction
|
58ed46a5fb21ca6e0391a979c5343e71b0c7e1b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.17/17.sce | 107cb360ffa7ffa6f4a5a15c2d73d95181fb51ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,039 | sce | 17.sce | clc
clear
//INPUT DATA
h1=1//miller indices with respect to x axis in 1st plane
k1=0//miller indices with respect to y axis in 1st plane
l1=0//miller indices with respect to z axis in 1st plane
h2=1//miller indices with respect to x axis in 2nd plane
k2=1//miller indices with respect to y axis in 2nd plane
l2=0... |
6db05e56dc39e5c0003f5e178602b6e5e34c886a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH5/EX5.3/Example_5_3.sce | 1182ed90cdf34c0c5790ba6787b5c20be0eb8022 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,206 | sce | Example_5_3.sce | clc;
clear;
Xij = [-1 -8 -3 0 2 0 0; 1 6 5 8 0 0 0; 16 11 15 14 0 0 0; 12 10 13 12 11 14 12 ];
disp(Xij,"Xij =");
T1=0;
T2=0;
T3=0;
T4=0;
Total_Square=0;
for i=1
for j=1:7
T1= Xij(i,j) + T1;
end
end
for i=2
for j=1:7
T2= Xij(i,j) + T2;
end
end
for i=3
for j=1:7
T3= Xij(i,... |
2c740f69b118334fd6832c68375770045b26f403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH2/EX2.3/Example_2_3.sce | 10f075406a071e33324c4f23064fdd7e373bc106 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Example_2_3.sce | //Chemical Engineering Thermodynamics
//Chapter 2
//P-V-T Relations
//Example 2.3
clear;
clc;
//Given
//This example is a theoretical problem and does not involve any numerical computation
//end |
cc72fcc511903d90513f61b393f41d1718400276 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.18_7.tst | 0b16e6cdbd96e7fca161ccff90ac204058ecc26d | [] | 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 | 534,939 | tst | 5.18_7.tst | 18 210:2 293:1 603:1 645:1 799:1 1249:2 1277:1 1278:1 1317:1 1652:1 1848:2 2046:1 2324:1 2363:1 2393:1 2429:2 2449:1 2550:2 2639:1 2675:1 2716:1 2725:1 2896:1 3130:1 3351:1 3513:1 4105:1 4132:1 4179:1 4225:1 4227:1 4753:1 4839:1 4916:1 5317:1 5656:1 5660:1 5902:1 6054:1 6409:1 6695:1 6717:1 6747:1 6904:1 7337:3 7513:1 ... |
6360f44bc7ce923db23eb451d7a4e16a44451d6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH5/EX5.2/ex_5_2.sce | 86720ee37bb9883d317d0c5ddde6d143cb8c24a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | ex_5_2.sce | // example 5.2//
clc
//clears the screen//
clear
//clears all existing variables//
disp("we can SIMPLIFY the given equation as : ");
disp('LET X= (A.B+C.D) and Y = (A.B +C.D).[(A''+B'')+(C''+ D'')]' );
disp(' Therefore, Y = X.X'' = 0' );
disp('this says that output Y equals to 0' ); |
259abcf6d8da04df3961ba6de9622dac2c31abd7 | 717ddeb7e700373742c617a95e25a2376565112c | /3411/CH15/EX7.3.u2/Ex7_3_u2.sce | 13d6b26ddfe226f481553c08c7304b502c54bbd2 | [] | 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 | 354 | sce | Ex7_3_u2.sce | //Example 7_3_u2
clc();
clear;
//To find the drift velocity and diffusivity
vp=1/(100*10^-6) //units in cm/sec
eapp=50
up=vp/eapp //units in cm^-2 V^-1 s^-1
k=0.0259
dp=(k*up) //units in cm^2/s
printf("The drift velocity is Vp=%d cm/sec\n",vp)
printf("The diffusivity of minority c... |
033bb1635b1636ff00dc17bdea43cd40bd675dbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH5/EX5.17/Ex5_17.sce | ff8cdc1d2a372c6cb5c4a4830125ec55f9fae7bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | Ex5_17.sce | // Chapter 5 Example 17
//==============================================================================
clc;
clear;
//input data
// (101),(221) planes in simple cubic lattice
h1 = 1; // miller indice
k0 = 0; // miller indice
l1 = 1; // miller indice
h2 ... |
3b6c82c6a78a7bd41b0199dd3181906a69d33224 | 3aee9d91a7b4472f36e96aa13a42fb4b05b0d090 | /src/Tokyo.Client/Typewriter/tsgen.tst | a7260b30a0489f2300bd331f40b4d939988410b2 | [
"MIT"
] | permissive | Nusushi/Nusushi | af327a85cfb43a7de5cd7c675aefa9a5407eab28 | 0e0735f5b911530bd14f2a8a5ed68cea1b7737c1 | refs/heads/master | 2020-04-15T00:42:30.458527 | 2019-01-07T18:02:16 | 2019-01-07T18:02:16 | 164,249,885 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,347 | tst | tsgen.tst | ${
// exports controller API methods and data models to typescript
// expose as package using multiple export * from "./../Typewriter/ExportedClass"; in a centralized file PackageGenerated.ts
// consume package with import { ExportedClass, ExportedClass2 } from "./PackageGenerated";
// imports must be m... |
8e042280e750f9e23746015159c444e7705b242c | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaq_latest_fw.sci | ba702290ba7e761541e30399cda5cc93c951086c | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 336 | sci | mdaq_latest_fw.sci | function fw_ver = mdaq_latest_fw()
fw_ver = [];
try
[a fw_ver] = getURL("https://raw.githubusercontent.com/microdaq/Firmware/master/LATEST", TMPDIR + filesep() + "LATEST");
fw_ver = strtod( strsplit(fw_ver, ',') );
catch
warning("Unable to connect to MicroDAQ firmware server.")
end
... |
eb2b1acf1a20b6e88a9b41a2fd1aa4295378766e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH25/EX25.16/25_16.sce | 1ead9e37660dd13b4117bf0cb7a1d606ea2e32ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | 25_16.sce | clc;
disp(57.54/79.91,"Moles of Br = "); //displaying result
disp(17.29/12.01,"Moles of C = "); //displaying result
disp(3.63/1.008,"Moles of H = "); //displaying result
|
51d8f6a13db63883ffd3be1f4b298977d33817ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH5/EX5.10/Ex5_10.sce | 9a0bdaab82a114742729b7a1f6909652e3361477 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_10.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 5 Bipolar Transistor Biasing Pg no. 164 and 165
clear;
clc;
//Given Data
IE=1.5D-3;//emitter current in amperes
VCC=15;//supply voltage in volts
B=100;//DC CE current gain beta
VBE=0.7;//forward voltage drop of emitter diode in volts
//Solution
//Approxi... |
1185071a7620dcece27bbd6871d25a3691f1e16e | 59311c4d055adf1834aec64c3744350b617f3be4 | /1 projekt/WojtekSasiela.sce | 7bd15e4364c6ac923849875518c43284b32680a6 | [] | no_license | Dragonis/ProjektyZaliczenioweNa5RokuStudiow | 330d652ab203022df79774ee0289ee0d11c33933 | 8b6439f558b2439e7d3ad012c9a97151bb24b839 | refs/heads/master | 2021-01-10T17:07:42.526895 | 2016-01-19T18:23:09 | 2016-01-19T18:23:09 | 49,973,253 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,291 | sce | WojtekSasiela.sce | //zad.2.
clc;
clear;
lines(0);
MacierzWag = [ 0 0 0;
0 0 1;
0 1 0;
0 1 1;
1 0 0;
1 0 1;
1 1 0;
1 1 1];
MacierzWektorowWzorcowych = 0;
MacierzNeuronow = [ 0 2 -1;
2 0 1;
-1 1 0];
Y=0;
function [wy]=unipolar(a)
[row col]=size(a);
if row*col<>1 then
wy=zeros(row,... |
ba45f69a36181d1280b8fbdd108c1ed7fc86546c | 20479ef6060920bd3d37ae74ecd2129f8ba8f29e | /QuestaoRaul.sce | 89e3f682f1511460197ff87f56b7772b8788f461 | [] | no_license | andersonvalentim/Atividade-Denilson-Scilab-UFERSA- | db4b58fc082bd80f076e67908435674f49ce45e4 | 4d02ddd342681165028ea6b4ebc7ec6d8bb7d9a9 | refs/heads/master | 2021-09-12T15:30:30.076790 | 2018-04-18T01:58:47 | 2018-04-18T01:58:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | QuestaoRaul.sce | valorloop = input("digite um numero");
/*Digita um numero*/
while valorloop>0//loop enquanto esse valor for maior que zero, ele vai executar
numero=input("digite o numero do evento");// digita um numero correspondente a um evento
if numero<2015 then //se esse numero for menor que 2015
ano =... |
5e52b0e86dab5df4937a668ba837b38d59a0ebf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH2/EX2.5/Ex2_5.sce | d28b6bd8dfcb34f6fce9b06017c7de0f035b9918 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_5.sce | //Chapter 2: Antenna Basics
//Example 2-7.1
clc;
clear;
//Variable declaration
n = 10 //Number of isotropic point sources
dr = %pi/2 //Distance(radians)
hpbw = 40 //Half power beamwidth (degrees)
//Calculation
deff('z=f(x,y)','z=(sin(%pi/20)*(sin((%pi/2)*(5*cos(y)-6))/sin((%pi/20)*(5*cos(y)-6))))**2')
X=[0 ... |
485396dc64b85abd17775479808bfa3fda69c317 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.32/ex2_32.sce | 7f4f1c1dd4c229c9f520551d46e35f94d0c5f4d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | ex2_32.sce | clc
V=100+0*%i; //Assignig values to parametrs
Z1=17.32+10*%i;
V1=34.64-20*%i;
V2=V-V1;
[Ro,Theta]=polar(V2);
[ro,theta]=polar(Z1);
[r,t]=polar(V1);
I=[r,t]/[ro,theta];
[ro1,t1]=polar(I);
Z2=[Ro,Theta]/[ro1,t1];
disp("Ohms",Z2,"Impedance Z2"); |
3657afbefc0ed103c23ffc391ea4c664f864a55c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH14/EX14.5/14_5.sce | 04fd4a7d79656d04c164fec91e23aa4bb59ab3ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | 14_5.sce | clc
//Initialization of variables
disp("from table 14.1,")
r1=7.47*10^-5 //m
r2=4.57*10^-3 //m
mp=1.008*10^-14 //m^2
//calculations
r3=r2/r1
mH2=r3*mp
mH=sqrt(mH2)
//results
printf("Concentraton of Hplus ions = %.2e M",mH)
|
05c9ff7671b1dc91df77df4af165e8a48aec80f3 | a674f7b984545698214f8164107cc4e15916c573 | /A/A.2/mission_A2.sci | ba880d72c616c33aa98932da45eef6188b6627cb | [] | 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 | 481 | sci | mission_A2.sci | function Mission_A2()
//Chargement de l'image en mettant les coordonnées des pixels dans un tableau
mars_image=readpbm("Mars_surface.pbm")
//Calcul de la moyenne du niveau de gris dans l'image
moyenne=((mean(mars_image))/255)*100
//Affichage de la moyenne du niveau de gris
disp... |
72e31f12489d2f8a742bfa432c6a4b3f5d8729b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH6/EX6.2.b/Example6_2_b.sce | 7d99e889c3c00da7ca23b40d6b4b3fc2a7543ba6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | Example6_2_b.sce | //Example 6.2(b)
clear;
clc;
A0dB=60;
A0=10^(A0dB/20);
ft=10^6;
fb=ft/A0;
A10=A0^(1/2);
A20=A10;
fb1=ft/A10;
fb2=fb1;
f1=1+(%s/fb1);
A1=A10*(1/f1);
y1=syslin('c',A1);
f2=1+(%s/fb);
A=A0*(1/f2);
y2=syslin('c',A);
gainplot([y1;y2],10,10^6,['|A1|';'|A|']); |
7412d9c017b1ddb206797b5ae4ec7734dd7146d4 | c3280ada260999123d75347caeaad1c7fc9f8266 | /kali.sce | 2f589623a4ba693e51d36e987bbe9f3b3bb51bc8 | [] | no_license | dikisp/Kuliah-MetNum | 3bd01f0573f2a18eb320a716da841ca3ec69930b | 7775f5e0251457702fb3e24c88483df0ff37fee7 | refs/heads/master | 2020-03-23T06:41:49.307866 | 2018-07-17T03:13:25 | 2018-07-17T03:13:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | kali.sce | function total = hitung(atas)
jum = 0;
i=1;
while i < atas
if i modulo 5 = 0 then
jum = jum + i;
end
i=i+1;
end
total = jum;
endfunction
|
71a38c97c75a7e50582e4e34a65234231de7bd7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH3/EX3.17.24/ex_3_17_24.sce | 476d7ddde81513a83d301432d3d0f215527348d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | ex_3_17_24.sce | //Chapter-3,Example3_17_24,pg 3-44
X=0.5*10^-5 //susceptibility of material
H=10^6 //magnetic field strength
I=X*H //intensity of magnetization
u0=4*%pi*10^-7 //permeability of free space
... |
00693d09abbef061f24ed6be7a41e8242da7c382 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH11/EX11.3/Ex11_3.sce | 47a0e959f23e9ba324d039b0b795945918711a85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 664 | sce | Ex11_3.sce | clc;clear;
//Example 11.3
//given data
mA=0.05;
P1=0.14;
P5=0.32;
P7=0.8;
h1=239.16;
h2=255.93;
h3=55.16;
h5=251.88;
h6=270.92;
h7=95.47;
//calculations
h4=h3;//throttling
h8=h7;//throttling
// E out = E in
// mA*h5 + mB*h3 = mA*h8 + mB*h2
mB=mA*(h5-h8)/(h2-h3);
QL=mB*(h1-h4);
// W in = Wcomp I,... |
a7ea4f4a2fd6a7101751e7da3843318b08138320 | 463377b6374a24bbe111707a34e24949f3bd2543 | /identTime.sci | c4c47c8542a0d21832f9d77a01974a01ae16b572 | [] | no_license | solothinker/Scilab-Identification | 3a46c0f3b8b1a7430f8a799be5e1310e2723b535 | cdad0d7292c31c29d377b640f6966a7c3bb81bb9 | refs/heads/master | 2022-01-05T12:39:07.410803 | 2019-06-15T02:18:13 | 2019-06-15T02:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,301 | sci | identTime.sci | function varargout = identTime(varargin)
[lhs , rhs] = argn()
if ( rhs <> 1 ) then
errmsg = msprintf(gettext("%s: Wrong number of input arguments"), "identTime");
error(errmsg)
elseif typeof(varargin(1)) <> "iddata" then
error(msprintf(gettext("%s:Input model must be ""iddata"" type.\n"),"identTime"))... |
aa51ca04e88ec488fbc9be971e5495e09fe95604 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH11/EX11.4/Example11_4.sce | 71bb622ddf93a4fe7e453d3e95d5dbfb12a26dc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example11_4.sce | //chapter-11,Example11_4,pg 506
C1=4*10^-12
L=94*10^-3//inductance
C=13*10^-9//capacitance
R=91.3//resistance
f1=(1/(2*%pi))*((L*C)^(-1/2))//resonance frequency-1
f2=(sqrt(1+(C/C1))/(2*%pi*sqrt(L*C)))//resonance frequency-2
printf("resonance frequency-1\n")
printf("f1=%.2f Hz\n",f1)
printf("... |
324c2db100d75a75400e2a2b53b9ceec0557afb1 | b68ae1fc3cd37c85031f69e42d92903b7f1a90ab | /projects/07/MemoryAccess/StaticTest/StaticTest.tst | 37d2c742b0d892c1ba44882f0f9ba675ad185201 | [] | no_license | bricef/The-Elements-of-Computing-Systems | fb3aa100c18176ccfc876e9d30319c0b8a5c7635 | 6be81eacaa30ad57b06f018c0aecbcf7e04841bc | refs/heads/master | 2021-01-18T13:43:02.653913 | 2011-04-06T19:23:52 | 2011-04-06T19:23:52 | 1,578,790 | 5 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | tst | StaticTest.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/07/MemoryAccess/StaticTest/StaticTest.tst
load StaticTest.asm,
output-file StaticTest.out,
compare-to StaticTest.cmp,
ou... |
f044fe3167cb780425573059069feb407c90c26c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH5/EX5.28/EX5_28.sce | 7454b90f7d152657f400f71ec6e469b0b6bad50d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | EX5_28.sce | //Example5.28 // To determine the compensated capacitance of an op-amp
clc;
clear;
close;
Slewrate = 10 ; // V/u sec
Ic = 1*10^-3 ; // mA // capacitor current
Vt = 0.7 ; // V // threshold voltage
// the slew rate of an op-amp is defined as
// Slew rate = (dVo/dt)
// the unity frequency f is
f =(Slewrate/... |
fddfeee2232a90d38a3036486aba6222f00b72b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH6/EX6.1/ex6_1.sce | 140b7a4753483c9a6688dddb8049553069856192 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_1.sce | clear;
//clc();
// Example 6.1
// Page: 108
printf("Example-6.1 Page no.-108\n\n");
//***Data***//
T = 20;//[C]
m_1 = 0;//[molal]
m_2 = 1;//[molal]
// The data given in the figure 6.2 , as reported in book, can be repersented with excellent accuracy by a simple data fitting equation
//V = 1.0019+0.054668... |
c3505c25b306f12440ae95deaf1b4a1385eed620 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /sk8r boi.sce | 239a9567ba39c0c0073bb7bd0dc48aa132514445 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107,678 | sce | sk8r boi.sce | Name=sk8r boi
PlayerCharacters=Tony Hawk
BotCharacters=Nyjah Huston.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Tony Hawk
AddedBots=Nyjah Huston.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=U.map
MapScale=2.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=fal... |
88a7059d992e21579d3ab8a5a7cff5a31f9929d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH23/EX23.22/EX23_22.sce | 47bd3900c640ae34e544603d94928d8eef8e6524 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | EX23_22.sce | //Chapter 23, Example 23.22
clc
//Initialisation
x="111011011000100" //binary numbr to be convert
//Calculation
z1=bin2dec(x) //conversion to decimal
z2=dec2hex(z1) //conversion to binary
//Results
printf("Hex of 111011011000100 = %s",z2)
|
921931deafd90bd08cdb15d31d6327aa3db35e42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH1/EX1.9/1_9.sce | 1aebcbbe63d26ea50955f7d0bb037fb3eee1f9eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | 1_9.sce |
clc
//initialisation of variables
clear
d= 6//ft
x= 4 //ft
w= 62.4 //lbf/in^2
//CALCULATIONS
Ig= %pi*d^4/64
A= %pi*d^2/4
Io= Ig+A*x^2
h= Io/(A*x)
P= w*A*x
//RESULTS
printf ('Depth of centre of pressure = %.2f ft',h)
printf (' \n Total pressure on plate = %.f Lb',P-7)
|
1303503ec9aca65fc382acac63bdb05a64fde699 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH6/EX6.14.1/Example_6_14_1.sce | d661dd5d37fc6c9e1fe45390ca4d4dc30fb9c967 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_6_14_1.sce | // Example 6.14.1 page 6.42
clc;
clear;
// This is example does not consist of any numerical computation
printf("\nQuestion - What do you understand by single longitudinal mode laser or SLM? ")
printf("\nAnswer - \nIn laser operation optical gain alone is not sufficient for laser operation but a minimum amo... |
5f0dcd3a7c0ac77793d23e5e4494029ae816cfa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH3/EX3.17/3_17.sce | f16181e6ba0d1d178df4935cb3ae8b6d5ea982a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | 3_17.sce | //Example 3.17
//Gauss Seidel Method
//Page no. 73
clc;clear;close;
x0=0;y0=0;z0=0;
deff('x=f1(y,z)','x=(y-z+10)/5')
deff('y=f2(x,z)','y=(-2*x+z+11)/8')
deff('z=f3(x,y)','z=(x-y+3)/4')
for i=1:8
x0=f1(y0,z0);
y0=f2(x0,z0);
z0=f3(x0,y0);
printf('\tx(%i) = %g\n\n\ty(%i) = %g\n\n\tz(%i) = %g\... |
fe0feb2bcf805af4ad3fdd70f87029c48d2321aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.8.4/ques8_4.sce | 2077d8faadb421b5fefb161c1be5066e83058b60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | ques8_4.sce | //ques7
clc
disp('To find the laplace of given function in t ');
syms t s a
f=exp(-t)*t*sin(3*t);
l=laplace(f,t,s)
disp(l); |
f283e93cede4b0eb0c283988c2197c74458eadf5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%plp.sci | fc42b805d7e8ec017faafa62a63606ff3a8a1013 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 320 | sci | %plp.sci | //<f>=%plp(p2,p1)
// %plp(p2,p1) calcule la division a gauche de la matrice de polynomes p2
//par la matrice de polynome ou le polynome p1. Cette macro correspond
//a l'operation p2\p1.
//!
[l,c]=size(p2)
if l*c <>1 then f=invr(p2)*p1,return,end
[l,c]=size(p1)
[p1,p2]=simp(p1,p2*ones(l,c))
f=list('r',p1,p2,[])
//end
|
32c19055649d16c0c58b61aaff6801804d5c4061 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH2/EX2.41/Ex2_41.sce | 3007f6ad9226cde72dc7ee640d79b72f5720dbca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 811 | sce | Ex2_41.sce | //Caption:Calculate the value of external resistance when (a)the load torque is independent of speed (b)the load torque is proportional to speed (c)the load torque varies as square of the speed
//Exa:2.41
clc;
clear;
close;
V=240;//in volts
R_a=0.25;//in ohms
R_f=120;//in ohms
I_f=V/R_f;
I_L=26;//in amperes
I... |
f86a99e504b336fd5b35e32cfda79a884723388d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.27/example27.sce | f2eb67bd1b9e73b76b3183319b76bdd4b54dea61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | example27.sce | //Chapter-11 example 27
//=============================================================================
clc;
clear;
//input data
PW = 5;//FM pulse width before compression in us
Fl = 40;//lower cut off Frequency in Mhz
Fh = 60;//upper cut off Frequency in Mhz
// Calculations
BW = Fh-Fl;//bandwidth of si... |
61b787498f8d85cad8318ceabe133d67e5b258ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH1/EX1.4/pe1_4.sce | f6bb58f38fb7f729542b7528e0474c144c58b103 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | pe1_4.sce | //example 1.4
clc;funcprot(0);
//Initialization of Variable
Ri1=950;//ohm
Ri2=1050;
Rf1=105000;//resistance
Rf2=95000;
Vin=5;//voltage
//calculation
Vinv=(Rf1/(Rf1+Ri1))*Vin;
disp(Vinv,"inverting voltage in V:")
Vni=Vinv;
disp(Vni,"non inverting voltage in V:")
Irf2=(Vin-Vinv)/Ri2;
disp(Irf2*1e6,"current ... |
3423a427822d5243f801a1082292c54baab43384 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/Python/FieldUtils/Tests/wss_3D_periodic.tst | 5b3eec0c8ddd49bf671b4f6e2353dca239b612a6 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 810 | tst | wss_3D_periodic.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> Process wss with periodic boundary </description>
<executable python="true">wss_3D_periodic.py</executable>
<parameters></parameters>
<files>
<file description="Session File">wss_3D_periodic.xml</file>
<file description="Field F... |
3dc24c77ecec1a0fbe3600119456b29ecebcf997 | 1232196a72221f6cc0ee0a9a47111ef1188dafe9 | /sci2blif/rasp_design.sce | 9f7b0a096065d7769efad2e93abeaf2567651c3e | [] | no_license | sumagin/rasp30 | 06dc2ee1587a4eaf3cf5fb992375b8589617f882 | a11dcffaed22dbac1f93c2f4798a48c7b0b1f795 | refs/heads/master | 2021-01-24T23:51:54.459864 | 2016-07-08T22:03:43 | 2016-07-08T22:03:43 | 16,685,217 | 2 | 3 | null | 2015-07-23T15:28:49 | 2014-02-10T05:17:38 | C | UTF-8 | Scilab | false | false | 23,734 | sce | rasp_design.sce | // clear the console window
clc
//Turn off the warning messages in the console
previousprot = funcprot(1) //integer with possible values 0, 1, 2 returns previous value
funcprot(0) //allows the user to specify what scilab do when such variables are redefined. 0=nothing, 1=warning, 2=error
// Import some useful Xcos ma... |
d7b3c682008580b356aaf50df23db31ad982e743 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH4/EX4.2/Ex4_2.sce | d1e515d7ae80b72834c64d7f4c09a0a7d815db45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | Ex4_2.sce | clear
//
//
//
//Variable declaration
h=6.63*10**-34 //plank constant
kB=1.38*10**-23 //boltzmann constant
T=1500 //temperature(K)
c=3*10**8 //velocity of light(m/sec)
lamda=6000*10**-10 //wavelength(m)
//Calculation
new=c/lamda
x=h*new/(kB*T)
y=exp(x)-1 //average energy of oscillator(joul... |
ea488633aae13cfa889be620b2cc9a3677a36492 | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/Gradient/gradient projeté.sce | 9759217e350001b9002703ec707fed5ba109c783 | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,661 | sce | gradient projeté.sce | exec('C:\Users\Julien Guégan\Desktop\PFE\algorithmes\affichage.sce',-1)
function z = cout(x)
z = 0.05*x(1)^4+ 0.1*x(2)^4 + 10*x(1)*x(2)+20*x(1)
endfunction
function g = inegalite(x) //dlf g(x)<0
g = -x(1)-2
endfunction
f = cout
g = inegalite
clf()
affiche(fonction,10,-10,10,-10,'contour')
xlabel('$x_1$','fo... |
4061e9c9f4742866ffc56e4ea7344dbeeafab6e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH13/EX13.3/13_3.sce | 12f0be5d5f006a05ac5a9dbea833f220297fbfc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | 13_3.sce | clc
clear
//Initialization of variables
mr=3 //lb
hp=10 //hp
//calculations
h3=618 //Btu/lb
h1=131 //Btu/lb
Qe=mr*(h3-h1)
work=hp*2545/60
cop=Qe/work
//results
printf("Coefficient of performance = %.2f",cop)
|
17bfd09584baac7e0d0b9fee3e64976e417459fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH5/EX5.3/Chapter5_example3.sce | dee880f5ec1a28a0a41b18305f941bf2b6f286d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | Chapter5_example3.sce | clc
clear
//Input data
l=2//Length of wire in m
d=(0.4*10^-3)//Diameter of the wire in m
x=(1.03*10^-3)//Extension in length in m
L=2//Load in kg
C=(4.52*10^-6)//Couple in N/m
a=0.03//Twist angle in radians
//Calculations
Y=((L*9.8*l)/(x*3.14*(d/2)^2))/10^11//Young's modulus in N/m^2*10^11
S=((C*2*l)/(3.14... |
e579eeb220eb74e5e8f8aec0cd7bad5ac8da33de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.14/example1_14.sce | 0550694220fa14194d3ea9ef624ed7c03a1504b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | example1_14.sce |
//exapple 1.14
clc; funcprot(0);
// Initialization of Variable
pi=3.14159;
//part1
delta=22+12/60;
theta=42+30/60;
ZP=(90-theta)*pi/180;
PM=(90-delta)*pi/180;
A=acos(cos(PM)/sin(ZP));
disp(A*180/pi,"azimuth of setting sun in (degrees):");
H=180-acos(tan(pi/2-ZP)*tan(pi/2-PM))*180/pi;
disp(H,"suns hour ... |
9384f1cf79e994f5e888ba5bca393690432a633e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH9/EX9.5/Ex9_5.sce | aa4316d121ade3136267b791f1dd4bc05e56eb28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | Ex9_5.sce | //Exa 9.5
clc;
clear;
close;
//given :
Ht=80 // height of transmitting antenna in meter
Hr=50 // height of receiving antenna in meter
Dmax=sqrt(17*Ht)+sqrt(17*Hr) // in Km
disp(Dmax,"maximum range of tropospheric transmission in Km:")
|
4a7b1629ed093e0565c26a54a9e090663afabf51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH6/EX6.10/10.sce | b4bdb62a35857be5bfbd702ac1af6d40cc1cf9f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10.sce | clc
H1=1.5; // m
V=0.75; // m^3
d1=1.2; // m
u=0.08; // Ns/m^2
L=3; // m
rho=1100; // kg/m^3
g=9.81; // m/s^2
d=0.025; // m
a=%pi*d^2/4;
A=%pi*d1^2/4;
H2=H1-(V/A);
t=-32*u*L*A/(a*rho*g*d^2)*log(H2/H1);
disp("Time taken =")
disp(t)
disp("s") |
52ebc84d5a22e680332156d0e345a433ef571ac4 | 9bc331503dc21763be8f32b7fe9dcfb2eb12d6f0 | /Tp1Binome_ELIODOR_Medou_Apprentissage/bin/Debug/data/fp/fp.tst | eb8811d3453b4536907e44e713c5bb3664414a04 | [] | no_license | DanielMagloire/PROJET_APPRENTISSAGE_AUTOMATIQUE | a74140fd6f4ca0192976506618530e3279741f7a | 81e0f413433414bb8e546b37f8c4bccaf7f44a8b | refs/heads/master | 2021-08-22T22:20:16.853697 | 2017-12-01T13:05:02 | 2017-12-01T13:05:02 | 112,740,187 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 640,371 | tst | fp.tst | 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 2 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 2 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 2 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 1 0 0 0 0 0 0 0 ... |
dd4d75a5d9162c2a84bc2f8086734c8590b59d0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH2/EX2.22/2_22.sce | ceaa6c1ec01c1ea44e91a9ac63f1873fcef6974c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | 2_22.sce | //To calculate the cube edge
n = 1; //first order
h = 1;
k = 1;
l = 1; //for (111) plane
lamda = 1.54; //wavelength, A.U
lamda_m = lamda*10^-10; //wavelength, m
theta = 19.2; //Bragg's angle, degrees
d = n*lamda_m/(2*sind(theta)); //interplanar spacing, m
a = d*sqrt(h^2+k^2+l^2); /... |
f0fe29127ba456b7c7a726eeaa7998adee6e377b | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oi_vrt_ind/~BivLCM-SR-bfas_oi_vrt_ind-PLin-VLin.tst | afb416c33ea324ade55445701b93ca2c1e3a4ed7 | [] | 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,909 | tst | ~BivLCM-SR-bfas_oi_vrt_ind-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.264146D+00
2 -0.153643D-02 0.212127D-02
3 -0.167638D-01 -0.77967... |
f87a01ae088adbfbc36be0f680ba46273a26a31e | 49518b2f0a15b32979dbd960a2fb3150caab8e69 | /heartbeat/envs.cfg.tst | d44c760164e10d9bd9229e362f44852a3f5a7ebf | [] | no_license | joshuawinter/python | 60fd1cedbf07095939448d3d47d42ebc3219da67 | 47ac3dd17f09e94e61cf3c2932257e962d8f8adc | refs/heads/master | 2020-03-22T02:35:03.320343 | 2018-07-02T02:14:50 | 2018-07-02T02:14:50 | 139,380,117 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 41 | tst | envs.cfg.tst | dev,lx-pmmstgy-d02k,10.49.87.17,34952
|
6a504b01522c35011e6faa70ef0edbb3c1bfe9e1 | 64647656adb5d4ff3cbb1147f2009fd55a598d27 | /macros/loadmacros.sce | 3a88fc214eca2410b9d356917257bc4626d7fc98 | [] | no_license | esc0rpi0n/modbus-blocks | 353ae5e5df9da7a6afc9bd5d264670b1e132e655 | 44664b3424e9b7b98fab0216676977fb7ad29544 | refs/heads/master | 2020-04-02T05:15:19.835714 | 2017-06-14T08:18:01 | 2017-06-14T08:18:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | loadmacros.sce | mode(-1)
pathL=get_absolute_file_path('loadmacros.sce')
disp('Loading macros in ' +pathL)
load(pathL+'/lib')
disp('Adding Scicos palette ' +pathL+'ModbusBlocks.cosf')
scicos_pal($+1,:)=['ModbusBlocks',pathL+'ModbusBlocks.cosf']
clear pathL
|
25efef86d41d6bba517ea17a6d76a2f106dfdb8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.40/Ex1_40.sce | 16aaa746b91ca346bce92426abb1707476069051 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Ex1_40.sce | //Example 1_40
clc();
clear;
//To calculate the wavelength of source of light
betaa=0.30 //units in cm
d=0.04 //units in cm
D=180 //units in cm
lemda=((betaa*d)/D)*10^8
printf("The wavelength of source of light is %.0f angstroam",lemda)
//In text book answer i... |
7efbfb7323ab1b8b4bfc06b71b99cfd61f8f282b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH11/EX11.2/Ex11_2.sce | 006c85cfecd57e1e2f151a2e099823f247f1f0b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | Ex11_2.sce | //Monitoring the Titration
//Example 11.2
clc;
clear;
Kin=4*10^-10;//Equilibrium Constant
pKin=-log10(Kin);//Negative Logarithm of Kin
phl=pKin-1;//Lower Value of pH
phu=pKin+1;//Upper Value of pH
printf("Phenophthalein can be used as an indicator as it begins to change color from acid(colourles... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.