blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
943b07b9bcb5ab3aff3953403292bd0385835034 | 717ddeb7e700373742c617a95e25a2376565112c | /479/CH5/EX5.1/Example_5_1.sce | 605ae1e8df4154df9d7661bc55136ec540f01fbb | [] | 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,641 | sce | Example_5_1.sce | //Chemical Engineering Thermodynamics
//Chapter 5
//Thermodynamic Potentials and Maxwell's Relation
//Example 5.1
clear;
clc;
//Given
T = 293;//Constant temperature in K
w_NH3 = 20/100;//weight of NH3 in an aqueous solution in Kg
w_H2O = 80/100;//weight of H2O in an aqueous solution in Kg
V_f = 40;//feed ... |
8e84eb01d6a136d91e7915f9f9e16747068a9d7f | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Conversor de Temperatura 2.sce | 8c5ce20c0659675eeb2f973dfcabf27440cc4956 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | Conversor de Temperatura 2.sce | //Conversor de Temperatura de Farenheit para Kelvin
f = input("Digite os graus Farenheit");
k = (5/9)*(f + 459);
printf("Equivale a %g graus Kelvin. \n",k);
|
3c7a89121d24948881e07054779948e77b5885ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH3/EX3.10/ex_3_10.sce | f10856900213983c84bfedde233abecfee4eeda3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | ex_3_10.sce | //Example 3.10 // current
clc;
clear;
close;
//given data :
I=44; // current in A
r1=6; // resistance in ohm
r2=12; // resistance in ohm
r3=18; // resistance in ohmr1
a=(1/r1)+(1/r2)+(1/r3);
R=1/a;
V=I*R;
i1=V/r1;
i2=V/r2;
i3=V/r3;
disp(i1,"current in 6 ohm resistance,i1(A) = ")
disp(i2,"current in 12 ohm resistance,i... |
74a30e5fdb46da8abe79dbdc9d6cd0a156cc660f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH7/EX7.5/Ex7_5.sce | 5b497dc3deed6d5faa1043ceddf29276f4f603f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | Ex7_5.sce | //Ex7_5
clc
VBE = 0.6
beta = 100
disp("beta = "+string(beta))//current gain
disp("VBE = "+string(VBE)+"V")//voltage across base and emitter
//according to given circuit;
VCC = 12
RC = 5*10^3
disp("VCC = "+string(VCC)+"V")//collector supply voltage
disp("RC = "+string(RC)+"ohm")//collector resistance
// optim... |
555a24c4659ac13b801fe5e37321e6a46a22db8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.3/ex12_3.sce | fda2159f5589e8940a085faa481b16cb2ef63b21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sce | ex12_3.sce | //Chapter-12, Example 12.3, Page 342
//=============================================================================
clc
clear
//INPUT DATA
Vac=230;//AC supply voltage
turnsratio=5;//turns ratio
Rl=300;//resistance in ohms
//CALCULATIONS
Vs=(Vac)/(turnsratio);//transformer sceondary voltage in V
Vm=sqrt(2)*(V... |
d77b250a2691779404a1696a0bee6564f99192c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.35/Ex2_35.sce | c205d94bfe0f77cd2cff9f0215181768a3053d53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,204 | sce | Ex2_35.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 35 // read it as example 34 in the book on page 2.88
clc;
disp("CHAPTER 2");
disp("EXAMPLE 35");
//VARIABLE INITIALIZATION
R=100; //in Ω
L=0.2; //in Henry
C=20*10^(-6); //fara... |
1226c3e6d747f74dfc5ceb5992832d115a933b70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH26/EX26.2/26_2.sce | 24655c2d15a46b07a405a952bd0779ea7684646b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | 26_2.sce | clear//
//Variables
n = 3 //Number of amplified stages
Vin1 = 0.05 //Input to first stage (in volts peak-to-peak)
Vout3 = 150.0 //Output of final stage (in volts peak-to-peak)
Av1 = 20.0 //Voltage gain of first stage
Vin3 = 15.0 ... |
6dc7707c6f90cde486a2d93ba453de3adc549c94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH1/EX1.10/Exa10.sce | 9729b42b5ad68e04c8542d095dbdbfd344824dde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Exa10.sce | //Exa10
clc;
clear;
close;
//given data :
r=6;//in % per annum
i=r/100;
//componding is done half yearly
m=2;
//formula EIR=(1+i/m)^m-1;
EIR=(1+i/m)^m-1;
//calculating FVA taking i=EIR;
//formula FVA=(A*(1+i)^n-1)/i;
A=100;//in Rs
n=18;//in years
i=EIR;
FVA=(A*((1+i)^n-1))/i;
disp(FVA,"Future Value of ... |
f35dc24076d7a5a48f2544910ec13f2495b36b4b | 0919e454d74183a2ee1a4b05a37bcf9154e64d87 | /01/Nand2Xor.tst | 8e22e6315821d97e21cae5f733d12ac05e9c1d7f | [] | no_license | youkidearitai/nand2tetris | 311b2e8d2fdf9fccbda7c775b8d4cbb74254d07f | 0e67824885724ec8fe7a8f2dcd74763a42fbb703 | refs/heads/master | 2021-11-28T06:17:33.980008 | 2021-11-08T15:55:44 | 2021-11-08T15:55:44 | 42,762,825 | 7 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | tst | Nand2Xor.tst | load Nand2Xor.hdl,
output-file Nand2Xor.out,
compare-to Nand2Xor.cmp,
output-list a b out;
set a 0, set b 0,
eval, output;
set a 0, set b 1,
eval, output;
set a 1, set b 0,
eval, output;
set a 1, set b 1,
eval, output;
|
b13b11a4ff45fd15ae3c79404b73107532661b7a | 903f095ccddc6ac2990aff02be300cd6229a2a99 | /practical-classes/least-square-method.sce | 5668aa483bd5d4cfa89a2330ce39b08fe908e460 | [] | no_license | pdelfino/linear-algebra-numerical-methods | dfb39b8500eba28cc884ecb31a948f51517f1503 | 065353c0be82db134506a7b4922e08cfe77d918c | refs/heads/master | 2021-06-10T20:45:46.654441 | 2020-06-15T11:48:01 | 2020-06-15T11:48:01 | 98,227,297 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,195 | sce | least-square-method.sce | ///////////// A função que faz a eliminação Gaussiana será chamada na Least Square
function v = Gaussian_Elimination_4(A, b)
[n, n] = size(A);
[n, m] = size(b);
v = zeros(n,m);
for e = 1:n-1
m = -A(e+1:n,e)/A(e,e);
A(e+1:n,:) = A(e+1:n,:) + m*A(e,:);
b(e+1:... |
cb977a91617f46a7d02ea4e09e31ef7b906eac9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.28.C/EX3_28_C.sce | 3ba0be3ce83684d2ad854365067e4aacd0633ded | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sce | EX3_28_C.sce | //Example 3.28.c
clc;
syms s t;
x=laplace(t);
y=laplace(exp(-5*t));
z=x*y;
f=ilaplace(z);
disp(f);
|
83217373590cb8fe2a43ca13d0f2b0df1580bda9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH15/EX15.1/ex_15_1.sce | 85d6b8ee90f7cebaa36c8325d1f900088001dec5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | ex_15_1.sce | //Example 15.1 : colume ratio of aluminium and boron
clc;
clear;
close;
format('v',6)
yal=715;// in GN/,^2
yfe=210;// in GN/,^2
yb=440;// in GN/,^2
A=[71 71;71 440];//
B=[71;210];//
X=A\B;//
disp(X(1,1),"volume ratio of aluminium is")
disp(X(2,1),"volume ratio of boron is")
|
232c0100ac3bc3f1555034e670420c3a07f9294e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH4/EX4.6/Ex4_6.sce | c963425eb18f97d893df52c30ad70691faf78e80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Ex4_6.sce | //Ex4_6
clc
IDSS=50*10^(-3)
disp("IDSS = "+string(IDSS)+" ampere") // maximum drain current JFET
VP=(-10)
disp("VP= "+string(VP)+" volts") // pinch off voltage for JFET
VGSQ=(-5)
disp("VGSQ= "+string(VGSQ)+" volts") // Gate operating point voltage
ID=IDSS*(1-VGSQ/VP)^2
disp("ID =IDSS*(1-VGS/VP)^2= "+strin... |
39c391c5d40624a06c09144433ddf660b151c345 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.17/Ex8_17.sce | 8ba6cd37a6f77b480e58ab34e3cc2c70e022530e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | Ex8_17.sce | //Ex:8.17
clc;
clear;
close;
y=630*10^-9;// operating wavelength in m
w=25*10^-6;// spot size in m
x=2*y/(3.14*w);// divergence angle in radians
x1=x*180/3.14;// divergence angle in degree
printf("The divergence angle =%f radians", x);
printf("\n The divergence angle =%f degree", x1); |
ecdb6b50639e4f8bf4b6482711934ccfdffef5b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/17_15_data.sci | b902fe22b26cc8c55f800f1b33cf2c8ffce13db7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sci | 17_15_data.sci | //Area of the diagram(in cm^2)
Area=8.5;
//Length of the diagram(in cm)
Length=8.5;
//Spring constant(in bar/cm)
constant=5.5;
//Stroke length(in m)
L=0.45;
//Diameter of bore(in m)
D=0.3;
//Speed of the engine(in rpm)
N=200;
//Brake wheel diameter(in m)
d=1.5;
//Difference in brake load and spring readin... |
3e9db52c246fbd8858f9fdde820993d7deaab4e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH2/EX2.9.c/9_c.sce | a5a091ff6afa60e2facd0e9097cbe21e2cef904d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | 9_c.sce | //simplification of boolean expressions//
//example 9.c//
clc
//clears the command window//
clear
//clears//
//simplification of boolean expression//
disp('given Y=AB(A''BC''+AB''C''+A''BC)')
disp('on multiplication')
disp('Y=ABA''BC''+ABAB''C''+ABA''BC')
disp('Y=AA''.BC''+AB''.B''C''+AA''.BC')
disp('since x... |
29c07d4c7c8e9d61f0b526edf505b8e06ab59893 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH3/EX3.22/Ex3_22.sce | 4b76f1059468a16d8b214d5aa8455bd521b6a886 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | Ex3_22.sce |
//
//given
BB_AB=45+(30/60)
BB_BC=60+(40/60)
BB_CD=3+(20/60)
BB_DA=85+(00/60)
FB_AB=45+(30/60)
FB_BC=60+(0/60)
FB_CD=5+(30/60)
FB_DA=83+(30/60)
printf("\n %0.3f correct %0.3f correct %0.3f correct", FB_AB,FB_BC,BB_AB)
correctionatC=-0+(40/60)
FB_CD=(5+(30/60))+correctionatC
correctionatD=1+(30/60)
FB_DA=83+(... |
fb8a0b425951bd98defd9eeba49128c84887f2b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH12/EX12.05/12_05.sci | 198942b121ba91c30c0a0df5893c0b06f52786b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,208 | sci | 12_05.sci | //denominator polynomial//
ieee(2);
syms k a;
num=k ;
den=s*(a+s);
G=num/den;
disp(G,"G(s)=")
H=1;
CL=G/.H;
CL=simple(CL);
disp(CL,"C(s)/R(s)=") //Calculates closed-loop transfer function
// compare CL with Wn^2/(s^2+2*zeta*Wn+Wn^2)
[num,den]=numden(CL); //extracts num & den of symbolic function (CL)
cof_... |
992ff078aeb7e7df332335c0f917a4fd2692a1bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH9/EX9.5/ex9_5.sce | 76f41f71df5cff7f51e93dc19ce078aef4bba7f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | ex9_5.sce | //Calculate the percentage increase in output power
clear;
clc;
//soltion
//given
D=0.2;//harmonic distortion
P=(1+D^2);//Total power increase
//percent increase= (Pi*(1+D^2)-Pi)*100/Pi;
//taking out and cancelling Pi
PI=(P-1)*100;
printf("The percentage increase in output power= %.0f percent",PI);
|
536d27c3099fc2a3f41d703de37f238c23ce59c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH14/EX14.2/Example14_2.sce | ed8cbfc82b972a87718a10d693ac6d27f5a638d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | Example14_2.sce | //clear//
//Caption:Program to determine the number of modes propagate in waveguide
//Example14.2
//page 499
clear;
clc;
er1 = 2.1; //dielectric constant of teflon material
er0 = 1; //dielectric constant of air
n = sqrt(er1/er0); //refractive index
Lambda_cm = 2e-03; //operating cutoff wavelength in metre
d =... |
122c1c33c23088855ceefbd86f9ef33d23b91d10 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH2/EX2.17/ex17.sce | aa51e9fd8b957173584dfa6cb335f3790d53f94e | [] | 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 | 159 | sce | ex17.sce | errcatch(-1,"stop");mode(2);
A=[1 3 0;-1 2 1;0 0 2]
B=[2 3 4;1 2 3;-1 1 2]
disp("AB= ")
A*B
disp("BA= ")
B*A
disp("ly AB is not equal to BA")
exit();
|
79a128d57d8bca5aae498bf4eb6f957031cbf162 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH25/EX25.1/25Ex1.sce | c95b68f01c4f5aaef0accba7dff1fc6cdb2b0728 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | 25Ex1.sce | //Chapter 25, Ex1
clc;
clear;
close;
l=16; b=14; h=7; //given
volume=l*b*h;
surface_area=[2*((l*b)+(b*h)+(l*h))];
//disp("cubic meter",volume,"The volume is:")
//disp("cubic centimeter",surface_area,"The surface area is:");
printf("The volume is %d cubic meter",volume);
printf("\n The surface area is %d ... |
acc0f62558324da9caa6b0cbc68032f48b57ef00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH14/EX14.4/14_4.sce | 3bcfb1fab0c4d420368e1b6b2de31b0652ba53db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sce | 14_4.sce |
W1=500
W2=-200
P=W1+W2
phi=atan((W1-W2)/(W1+W2))
pf=cos(phi)
disp(pf)
disp(P)
|
75d12c3477e7a013404fed15e2d7743e67fa3567 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH3/EX3.2/ex_3_2.sce | 6245fe3a1e61ff7d74fdac8d29c2b7b00617ab77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,066 | sce | ex_3_2.sce |
clc
//solution
//given
//shaft is 40 H8/f7
//since 40 mm lies in the diameter steps of 30 to 50 mm, therefore the mean diameter ie geometric mean of them
D=sqrt(30*50)//mm
i=0.45*((D)^(1/3))+(0.001*D)//mm//standard tolerance unit
//therfore,standard tolerance is
x=25*i*0.001//mm//standard tolerance for grade 8
x1=16*i... |
edd6014859bacf6b8a56bf676d4ea8295538244b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH3/EX3.5/chapter3_ex5.sce | 4174f0e7a90f74a567aaa8604c157362c6b3e693 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | chapter3_ex5.sce | clc
clear
//input
d=0.25;//diameter of a pulley placed on the end of hte shaft of a d.c. motor in meter
m=60;//mass attached by a rope to the pulley in kg
w=50;//angular velocity of the pulley in rad/sec
//calculations
f=m*9.81;//force acting on the pulley in newton meter
W=f*%pi*d;//work done in one revolu... |
2fa82280dc471b4e1d122aa933475a1acb4cb959 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/DF96JXQ/ATWM1_Working_Memory_MEG_DF96JXQ_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | d6cf93c8139a653123911d0dddbe193826f989c1 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monit... |
b6ce3de7b1fa0d5d1bd73aad4092d0c4669047f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH5/EX5.14/Ex5_14.sce | 67682d7f7c395d34d5d54d0673985b12d23f849d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Ex5_14.sce | //Example 5_14
clc();
clear;
//To clculate the inter frame spacing
lamda=1.5418*10^-10 //units in mts
theta=30 //units in degrees
d=lamda/(2*sin(theta*%pi/180))
d=d*10^10 //units in A
h=1
k=1
l=1
a=d*sqrt(h^2+k^2+l^2)
printf("The inter frame spacing is a=%.2f A",a)
|
c55d1f945e9a05600286336e9cdeb0b3cdda4247 | 33f77c32fb16283501d950b6fc6b43a07914f32e | /scilab_autopilot/lib/math/mat/mat_mult.sci | 9f02192e1691dd1a65b88507dcb23ec663e93e2c | [] | no_license | CLUBMODELISMECEADSTOULOUSE/autopilot | 26b79d6a2a632f08989a5528e82f553616617646 | a6ffae2f8a86fbc79e636ddd5173af104e1af9cd | refs/heads/master | 2021-01-21T00:59:06.271128 | 2015-10-25T09:31:54 | 2015-10-25T09:31:54 | 34,409,237 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sci | mat_mult.sci | // Multiplication of a matrix and a vector
//
// INTPUT
// - m: the matrix
// - vIN: the input vector
//
// OUTPUT
// - vOut: the output vector
//
// USAGE
// vOut = mat_multVect(m, vIn);
//
// HISTORY
// 28/03/2014: T. Pareaud - Creation
function [m3] = mat_mult(m1, m2)
nRow = size(m1,1);
nCol1 = size(m1,2);
... |
84820a1bbedddce917e2c6cd8b66a9cd94a2317d | 9d59fb06cf0644f9c0c84aae7977eeff57116a45 | /1-RDMP/RDMP-MULT-2.sce | fb097a90f304ac010322c03a2a5b8fc44da4def4 | [] | no_license | aguadix/RQ | f353b8fa0e36828c8cca9af53f5c3275ed476a75 | 43e8a31003bf038b0cd72487868c760829b9797c | refs/heads/master | 2023-03-07T10:50:29.102260 | 2023-03-06T01:35:58 | 2023-03-06T01:35:58 | 53,548,175 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,179 | sce | RDMP-MULT-2.sce | clear; clc;
// RDMP-MULT-2.sce
// 1) A => B
// 2) A => C
// 3) B => D*
// No adiabático
// SISTEMA DE ECUACIONES DIFERENCIALES
function dxdt = f(t,x)
// Variables diferenciales
CA = x(1)
CB = x(2)
CC = x(3)
CD = x(4)
T = x(5)
// Ecuaciones de Arrhenius
k1 = exp(-1500/T + 6); //h-1
... |
0b98e4b0e6ff43c316ffc55e69cd0f6a0567127e | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/integrator_nmirror.sce | cc2e98f65864734f1adbaba0ebbf3e086f134356 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 234 | sce | integrator_nmirror.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td align=left><b>Vref<br>Vin<br>Clear</b></td> <td>Integrator<br>compensator</td> <td><b>Vout</b></td> </tr> </table>"
pal5 = xcosPalAddBlock(pal5,"integrator_nmirror",[],style);
|
ccf1b3553dcf7059a8b3fcc5f3d545ba941049d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.70/Ex1_70.sce | c203be35d34a71435628e286c7045fab72a23659 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,514 | sce | Ex1_70.sce | clc;
// Three core type transformers are given in fig 1.80
// For first core type transformer
im1=4; // magnetizing core
e2=100; // emf induced in secondary winding
B=1; // maximum flux density in Tesla
// mmf is directly proportional maximum flux in core i.e im*N(no. of turns)=kq(flux), k is proportionality cons... |
c977af5d98246288fc20d44eca4ef85b86a18abf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH8/EX8.4/8_4.sce | d6ae502906fdc5950c163c09d6b4502b1bc88077 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_4.sce |
clc
//initialisation of variables
t1=10//c
hf=30//ft
t=0.004/12//in
g=32.2//ft/sec^2
l=1
D=4/12
//CALCULATIONS
i=hf/l
v=0.00001929/(1+(0.03368*t1)+(0.000221*t1*t1))
mv=g*i*t*t/(12*v)
rate=mv*%pi*D*t
//RESULTS
printf (' Rate of flow= %.6f ft^3/sec ',rate)
|
c6e03547ea6746a47456fd59c3f38312141a1612 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH1/EX1.15/EX1_15.sce | d73b35af773ea11a0a9fc086bc89e75c5a0f4d53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sce | EX1_15.sce | //Example 1.15<i>
//Find the even and odd components of the signal
clc;
clear;
t=-10:.1:10;
for j=1:length(t)
i=t(j);
x(j)=cos(i)+sin(i)+cos(i)*sin(i);
y(j)=cos(-i)+sin(-i)+cos(-i)*sin(-i);
e(j)=(1/2)*(x(j)+y(j));
o(j)=(1/2)*(x(j)-y(j));
end
disp('In the plot even component is in red ... |
92f52fdb9fc497d013193096a859714cc3b2342c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_T._L._Floyd_61.zip/Electronic_Devices_T._L._Floyd_61/CH12/EX12.4/ex12_4.sce | 6972046f93a26b788832016880dca083ae3a8567 | [] | 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 | 151 | sce | ex12_4.sce | errcatch(-1,"stop");mode(2);//ex12.4
R_i=2.2*10^3;
A_cl=-100; //d loop voltage gain
R_f=abs(A_cl)*R_i;
disp(R_f,'value of R_f in ohms')
exit();
|
5bde38ce0e04857fe03d4ec24f745f4a3cf012f5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.4_3.tst | c4cd9d3f6751bcf6221ac76c1f87998dc43529e5 | [] | 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 | 5,752 | tst | bow.4_3.tst | 4 14:0.013513513513513514 17:0.05263157894736842 43:0.125 372:1.0 976:1.0 1196:1.0 1199:1.0
4 13:0.25 14:0.013513513513513514 16:1.0 61:1.0 70:0.3333333333333333 91:1.0 125:1.0 160:2.0 1032:1.0 1179:1.0
4 4:1.0 13:0.25 14:0.013513513513513514 17:0.05263157894736842 24:1.0 32:0.16666666666666666 35:1.0 43:0.125 64:0.166... |
50c9afd233b0c39e3cde1c8fff00854a9189e475 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH7/EX7.9/Ex7_9.sce | 04c29812e568627ac0df47c14d6d045d8d36f73f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | Ex7_9.sce |
clc
//Given that
mu_0 = 4*%pi*1e-7 // Permeability of free space
mu = mu_0 //Permeability of silver
sigma = 3e7 // conductivity in mhos/m
f = 1e10 // frequency in Hz
printf("Example 7.9")
delta = sqrt(1/(%pi*sigma*f*mu)) // Calculation of skin depth penetration
printf("\n Skin depth penetration is %f mic... |
79c90fc8b30e624b21a58e0bf016acb07a100b69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH7/EX7.25/ex_25.sce | d429bb823732f749a5003ce1da8d51ee2e904a3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | ex_25.sce | //Example 25 //Velocity
clc;
clear;
close;
//given data :
v=1.8*10^8;// in m/s
lamda=3.6*10^-7;// in m
dv_dlamda=3.8*10^13;// in per sec
vg=v-(lamda*dv_dlamda);
disp(vg,"The group velocity,vg(m/s) = ")
|
391c7e7176e26a8111415d7d7d9266a506ffdf87 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH1/EX1.12/ex_1_12.sce | 3173e41ab2b000261d2810a7b387cc3a48914354 | [] | 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 | 245 | sce | ex_1_12.sce | errcatch(-1,"stop");mode(2);//Example 1.12// resolution
;
;
//given data :
a=50; // uniform scale
b=50; // full scale reading in volts
c=1/10;
O=a/b;
R=O*c;
disp(O,"one scale division,O = (v)")
disp(R,"resolution,R = (v)")
exit();
|
70da6c533f6bb9c1cf9cf1aa2edb9e037aaa2a06 | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/macros/xls_getRootPath.sci | cf7b72da1ad69aec18e95f1b8cc593779f7481e4 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sci | xls_getRootPath.sci | // =============================================================================
// Copyright (C) DIGITEO - 2010 - Allan CORNET
// =============================================================================
function p = xls_getRootPath()
p = [];
if isdef('xls_linklib') then
[m, mp] = libraryinfo('xls_linklib'... |
bdafd9e13500689095914b1e7a9e463a628e09de | a195e307602bacc3397b8f74a3b9b4cbd7a3b752 | /trajectory_generator/scilab/Trajectory.sce | 44f59ba66c1cb3313af59b773015251989f2c5a5 | [
"BSD-3-Clause"
] | permissive | Robator/red_manipulation_step | eb0026e92b9eef7ba1bbf9bd2bc9730be7a45f02 | 7f8d82c47a97a1ae641fbfee64efa09c23f56853 | refs/heads/master | 2021-01-01T18:30:54.118019 | 2018-03-11T08:25:11 | 2018-03-11T08:25:11 | 98,350,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,900 | sce | Trajectory.sce | clear;
directory = "/home/egor/vrepWS/src/red_manipulation_step/trajectory_generator/scilab/";
exec(directory + "math.sce", -1);
exec(directory + "kinematic.sce", -1);
function [time, vel, coord, rot] = workSpaceTraj(v_i, v_e, maxAccel, maxVel, timeStep)
// initial and end point
p_i = v_i(1:3); p_e = v_e(1:3);... |
697fc6c5368dd1a652b4a0c0db6999da55a62ad1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/ldiv.man.tst | bc7c2c44d5b74711ad69d5191dd938e25f0bce4a | [
"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 | 238 | tst | ldiv.man.tst | clear;lines(0);
wss=ssrand(1,1,3);[a,b,c,d]=abcd(wss);
wtf=ss2tf(wss);
x1=ldiv(numer(wtf),denom(wtf),5)
x2=[c*b;c*a*b;c*a^2*b;c*a^3*b;c*a^4*b]
wssbis=markp2ss(x1',5,1,1);
wtfbis=clean(ss2tf(wssbis))
x3=ldiv(numer(wtfbis),denom(wtfbis),5)
|
667bc5a0b1946b77aa5003e860d16f46f9555fbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.6a/eg5_6a.sce | 5fb945a6d033bd18bd977b3f9f5a3aa5830cc16b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | eg5_6a.sce | lamda = 1/10000;
x = 5000;
prob = %e^(-1*lamda*x);
disp(prob, " Probability that she will be able to complete her trip without having to replace her car battery is"); |
aa06b8a2ccb77f7983b1c91e487b6b5039d668dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH3/EX3.11/3_11.sce | 080f99524382ca4384c093cd6f762e659037df47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,043 | sce | 3_11.sce | //chemical kinetics and catalysis//
//example 3.11//
t1=120;//time in sec//
t2=240;
t3=530;
t4=600;
a=0.05;//initial concentration//
x1=32.95;//extent of reaction or x value at t=120sce//
x2=48.8;//extent of reaction or x value at t=240sce//
x3=69;//extent of reaction or x value at t=530sce//
x4=70.35;//exten... |
0a8e5a5ed9ea86ca0c0cd3583e235e3141ba3649 | 1a8ee276de64397a0a64bc48cad795f585998670 | /assignment2/col_space.sce | da46b6a189ba37b5dd441d02a1d4696ea7505485 | [] | no_license | siddhantrao23/scilab | 3217b1d0a5c18f1ffa6751cfbca95bd71a621db2 | 5974b784340b457f70fc21484c6ff252d3a5eda4 | refs/heads/master | 2020-12-30T08:20:14.057086 | 2020-04-04T11:25:19 | 2020-04-04T11:25:19 | 238,926,043 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | col_space.sce | rows = 3;
cols = 3;
A = zeros(rows, cols);
disp("Enter the 3x3 A matrix");
for i = 1:rows
for j = 1:cols
A(i,j) = input("value for A:");
end
end
a = A;
disp(a)
disp('Performing gaussian elimination:')
a(2,:) = a(2,:)-(a(2,1)/a(1,1))*a(1,:)
a(3,:) = a(3,:)-(a(3,1)/a(1,1))*a(1,:)
a(3,:) = a(3,:)-(a(3,2)... |
e5e63f33af45cc83cda743371320360d1d7466bd | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/filtord/filtord2.sce | 97261179725fe46dc8f8536053299be9e2c71eaa | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | sce | filtord2.sce | b=[1 2 3 4 5 6];
a=[2 3 4 5];
y=filtord(b,a);
disp(y);
//output
//5
|
9a35fca552f0a571c2be70a6cfd812d2f168f903 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH2/EX2.21/Ex2_21.sce | 3eff64276c9df47554bea7b1177c25fd4c5eb2a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,439 | sce | Ex2_21.sce | //exa 2.21
clc;clear;close;
format('v',8);
//F1=(8*P1+0.024*P1^2+80)*10^6;//Btu./hr
//F2=(6*P2+0.04*P2^2+120)*10^6;//Btu./hr
Pmax=100;//MW
Pmin=10;//MW
C=2.5;//Rs./million Btu
//C1=2.5*F1/10^6
//C2=2.5*F2/10^6
//For Maximum Load of 100 MW
P1=poly(0,'P1');P2=poly(0,'P2');
dC1bydP1=8*2.5+2.5*2*0.024*P1;
dC2b... |
5f08b33feced7f563a0811e6d39be92ef942d3ec | 4b1d4672fa994587ea62810e2f0c57b3a652f278 | /getIsoluminanceValues.sce | 8cf10f33010a993b3d7715bca69aa01b5316d119 | [
"Apache-2.0"
] | permissive | VCSchoots/Colour-Speech | 57305d6c20875c52e130dabaf705773404e2aec8 | df1d5f13c1bb944f918acafb3cc562e918ee3195 | refs/heads/master | 2021-07-02T00:47:58.475654 | 2019-03-04T19:51:39 | 2019-03-04T19:51:39 | 136,158,365 | 0 | 0 | Apache-2.0 | 2018-09-12T10:15:08 | 2018-06-05T10:06:37 | Scilab | UTF-8 | Scilab | false | false | 6,208 | sce | getIsoluminanceValues.sce | # getIsoluminanceValues
# Is meant for testing the luminance values of green and red that are equiluminant
# to two given levels of grey for the given participant. It uses the Minimal Flicker Paradigm,
# or "heterochromatic flicker photometry".
# it is dependent on gIV_SUBS.pcl
############################# INITIATIO... |
80c54d6738c103dccd8f54c03caaee61d000597e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.23/Ch05Ex23.sce | 317403a8e94b52d391df2ed8b6eb3178b177aee3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | Ch05Ex23.sce | // Scilab code Ex5.23: Pg:232 (2008)
clc;clear;
Lambda = 5600e-08; //Mean wavelength of light, cm
a = 101.6; // Diameter of the objective of a telescope, cm
theta_1 = 1.22*Lambda/a; // The smallest angular separation of two stars in seconds resolved by a telescope, radian
theta = theta_1*(180/%pi)*60*60; ... |
58dc7f73024dfb21054630004f4948e82bd6d977 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH4/EX4.1.1/Example4_1_1.sce | 26156d77188fb40bbb3d7382d0bfdc25f492686e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example4_1_1.sce | //Example 4.1.1 page 4.5
clc;
clear;
Eg= 1.1;
lamda_c = 1.24/Eg;
printf("The cut off wavelength is %.2f um",lamda_c);
Eg_ger =0.67;
lamda_ger= 1.24/Eg_ger;
printf("\n\nThe cut off wavelength for Germanium is %.2f um",lamda_ger);
|
62849fa3deb6bb663c096c2fb667646c225b6673 | f73ec22855f1c67e0dd31fff77c4f02c78300cad | /home/pi/Desktop/Test Progs/PACMAN_BOOT.TST | f2d4e32b704ab831049cd23d01698f4d1f8c4984 | [] | no_license | silverfox0786/Arcade-Tester-AR81 | 61c442b29c26e98be345ff3e8bbd74b7a878c741 | ad11a45f4f1071bc03ac60cdd60dfa206412e77b | refs/heads/master | 2020-02-26T15:39:45.970905 | 2019-01-06T13:56:26 | 2019-01-06T13:56:26 | 69,001,576 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | tst | PACMAN_BOOT.TST | !SADDR 5555 15 10000.000.00 52
!SDATA 2F 15 10000.000.00 52
!M2716 6E 1 7 Address line fault 0.00 10000.0011
!M2716 6E 2 15Address line fault 10000.000.00 52
!M2716 6E 3 15 ... |
1b4e45d3b1455a047e17d3b4eda50661d54d2f5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH6/EX6.3/Chap6_Ex3.sce | c43313ca3b090a1f65491a407a2f61a4dcb27687 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,611 | sce | Chap6_Ex3.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-6, Example 3, Page 153
//Title: Scale-down of a Commercial Chlorinator
//==========================================================================================================
clear
clc
//INP... |
94a97fd93d14e0d126b881e379bf2f2d33933d36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH8/EX8.12/Ex8_12.sce | 363cad59bde86798397c92b636a6088f382db0c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,296 | sce | Ex8_12.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 8.12\n\n\n");
// Chapter 8 : Vapor Power Cycles
// Problem 8.12 (page no. 396)
// Solution
//Figure 8.16(a) shows the cycle.For this cycle,W2 pounds are extracted at 100 psia,and W1 pounds are extracted at 50 psia for each pound produced by the steam ge... |
ae15061705a47a070e7f4dafa4f45fde436ab502 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH6/EX6.7/6_7.sce | f35e3808731bb51ea6d05542dc8cb9ba5a4cdeac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | 6_7.sce | clc
//initialisation of variables
d= 24 //in
mu= 0.05
W= 2000 //lb
//CALCULATIONS
F= W*mu*2/d
//RESULTS
printf ('F= %.2f lb',F)
|
42649c53ed6b93b04049d76e9abd3cb7510dd758 | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /main/transform/testLimitcMo.sce | 345dc840973fe2b7393ddf738c05d2ec0c7b9ca0 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | testLimitcMo.sce |
posefiMoi=[0 0 0.5 0*%pi/180 0*%pi/180 0];
posefcMoc=[1 1 0.4 10*%pi/180 10*%pi/180 100*%pi/180];
posefiMfc=[2 5 0 0 0 -0*%pi/180];
fiMoi = homogeneousMatrixFromPos(posefiMoi);
fcMoc = homogeneousMatrixFromPos(posefcMoc);
fiMfc = homogeneousMatrixFromPos(posefiMfc);
oiMo = inv(fiMoi)*fiMfc*fcMoc;
pvrai = pFromHomog... |
9cef45fe9906ab57acffa4350c3b15bfa30eed59 | eee96b986bbe9b02c28910e531dc5e4bc96ab8a6 | /raizes/secante.sci | 8e6c5629609ce76e14ad54a6db8b41ec925650ad | [] | no_license | jilcimar/computacao-numerica | 7b7c85bac6a66e8d428cfed08b4f9b61558d19f1 | 093b6f0723026880b10dd100fa523107583eca85 | refs/heads/master | 2021-07-10T11:13:20.533276 | 2019-09-09T13:50:17 | 2019-09-09T13:50:17 | 203,243,471 | 0 | 2 | null | 2020-10-02T12:19:49 | 2019-08-19T20:13:24 | Scilab | UTF-8 | Scilab | false | false | 443 | sci | secante.sci | //metodo da secante
function [y] = f(x)
y = sqrt((9.81*((465-x)/320)**2)/(((356/320)-(270/320)-((465-x)/320)*tan(-0.515549))*(cos(-0.515549)**2)*2)) //aqui vai a função
endfunction;
function x2=Secante(x0,x1,tol,N)
k=0
controle=0
f0=f(x0)
f1=f(x1)
while controle<3 &k<N &x0~=x1
k=k+1
x2=(x0*f1-x1*f0)/(f1-f0)
delta... |
4b39b3986f93a8d64fee3158e3942ddb79042a38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3407/CH2/EX2.5/Ex2_5.sce | c8a7ec52e8a3dd797fed2cd1eb02d01eca6aac6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex2_5.sce | clear all;
clc;
funcprot(0);
//given data
AR = 2.0;//Area ratio
alpha1 = 1.059;
B1 = 0.109;
alpha2 = 1.543;
B2 = 0.364;
cp = 0.577;//coefficient of pressure
//calculations
cp = (alpha1 - (alpha2/(AR^2))) - 0.09;
Diff_eff = cp/(1-(1/(AR^2)));//Diffuser efficiency
//Results
printf('The diffuser effici... |
eb3ee78944098e4c9eb98710edb519bbcffb3aad | d2a5574815b39edae71d65cd05e725b94523d4b1 | /projects/05/EnhancedALU.tst | 259c4b6286fcf34d89de4166ccd6ea8b53b5d174 | [] | no_license | SuperTigerPlusPlus/Nand2Tetris | 805714c5b09be75635aab347c38631a39a11ba85 | 62abb4771cf0b0c7d9edc2fd0231efb50c4dee12 | refs/heads/master | 2020-03-27T17:10:43.931416 | 2016-10-03T20:55:31 | 2016-10-03T20:55:31 | 63,277,050 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,742 | tst | EnhancedALU.tst | load EnhancedALU.hdl,
output-file EnhancedALU.out,
compare-to EnhancedALU.cmp,
output-list D%B1.16.1 AM%B1.16.1 cBits%B1.6.1 outM%B1.16.1 zr%B2.1.1 ng%B2.1.1;
set D %B0000000000000010,
set AM %B0000000000000100,
set cBits %B101010,
eval,
output;
set D %B0000000000000010,
set AM %B0000000000000100,
set cBits %B111111,... |
04e1121275bfed811456b64f01066d78830002d6 | bacd6919260d728f4316702bbe1edf811810bede | /legacy/39/console/Untitled6.sce | 7b608b1c19106a9d64e7b9ce6db18a8fea3189d0 | [] | no_license | vopl/sp | 332d8c2ff536fc5d8772ff2f3fbeca9b50c47641 | a4313f4d7af47cc3132d7546947d4d668c7e487e | refs/heads/master | 2020-04-16T02:09:36.036424 | 2016-10-05T18:08:30 | 2016-10-05T18:08:30 | 65,293,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | Untitled6.sce |
stacksize('max');
clf;
aap_0 = read("P:\finance\spectrumSeparator\nhel.Composite\12\console\aap_0",-1,3);
tsa = read("P:\finance\spectrumSeparator\nhel.Composite\13\console\sverta",-1,1);
orig = aap_0(:,1) .*cos(aap_0(:,3)) + %i*aap_0(:,2) .*sin(aap_0(:,3));
plot(cos(atan(imag(orig), real(orig))));
//plot... |
caa0b60638af13fcfa6b99d256e9260726e775ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH5/EX5.11/5_11.sce | 5df293083477d86d48c7340fab3f045c1604056f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sce | 5_11.sce | //Problem 5.11: For the series-parallel arrangement shown in Figure 5.19, find (a) the supply current, (b) the current flowing through each resistor and (c) the p.d. across each resistor.
//initializing the variables:
R1 = 2.5; // in ohms
R2 = 6; // in ohms
R3 = 2; // in ohms
R4 = 4; // in ohms
Vt = 200; // in ... |
aecc7262ad3d0a580f3cf19f65f85682fca541c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH11/EX11.8/Ex11_8.sce | 3cfa769796e0eb4337a599ccd5844ec88762009a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,783 | sce | Ex11_8.sce |
clc
clear
//Input data
p1=1//Pressure in bar
T1=20+273//Temperature in K
Tm=900+273//Maximum temperature in K
rp=6//Pressure ratio
e=0.7//Effectiveness of regenerator
ma=210//Rate of air flow in kg/s
CV=40800//Calorific value in kJ/kg
ic=0.82//Isentropic efficiencies of both the compressors
it=0.92//Isentro... |
e13a3dcf4f32853daa5e288c1476ab22d2fa9403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH8/EX8.1/disc2.sce | 240c2ed869bfb89979ea0d01f0d6d3dea4a7fa34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sce | disc2.sce | // Continuous to discrete time transfer function
// 8.1
exec('tf.sci');
sys = tf(10,[5 1]);
sysd = ss2tf(dscr(sys,0.5));
|
da6e2e1b1c057f3fe348548856570f65005ed6c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH3/EX3.25/EX3_25.sce | 6a8ce7235fe84a1bbe3c9b8ef7fd9d54bb5749f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | EX3_25.sce | //Example 3.25: Reduce expression using k-map in both POS and SOP form
clc; //clears the window
clear; //clears all existing variables
//Mapping the expression//
disp('f(a,b,c,d) = summation of minterms(0,1,4,5,10,11,14)')
disp('The function f''(a,b,c,d) = summation of minterms(2,3,6,7,8,9,12,13,15)')
disp(' ... |
d225976b84d9a2cceed02e6eb3acfed6ac05df80 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH4/EX4.1/4_1.sce | f222d19ff9c6dad2ee1d96068c9bf77b4a5ddfb4 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 4_1.sce | clc;
s1=6.5;
sf1=1.992;
sfg1=4.717;
x=(s1-sf1)/sfg1;
hf1=697;//kJ/kg
hfg1=2067;//kJ/kg
h1=hf1+x*hfg1;
h2=2995;//kJ/kg
Q=h2-h1;
disp("heat supplied:");
disp("kJ/kg",Q)
|
595278715f47da6feb28fb547d41f910c95f6c52 | 25ecbf436e9499640445c5f8dd256d12dcfecf2a | /Vclamp/StochHH_K5 DAGss Vclamp.sci | a76d62c255501cd43b1f2932d3f90f30da8bd8fc | [] | no_license | ModelDBRepository/141272 | 89fa654099db5fe443f1d34b43071108882d740e | 67f44e52600c751f37f731f71a5b13a21fd28e8e | refs/heads/master | 2020-05-29T18:22:46.893645 | 2019-05-31T02:44:35 | 2019-05-31T02:44:35 | 189,298,198 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,071 | sci | StochHH_K5 DAGss Vclamp.sci | // Potassium channel from original HH model
// Voltage clamp simulations with non-stationary noise analysis
// UNcoupled activation particles (2-state independent particles),
// Goldwyn et al. (Phys Rev E 83:041908 (2011)) implementation of the
// Diffusion Approximation. Coupled activation particles with
// steady s... |
ab5399c920f869e7b8c583364b762591b4a04bdb | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/1/tests/test2.tst | 34c774778e357e2ad6cc6fa9394427fefd9ba503 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | tst | test2.tst | main ( ) {
type myinteger = short ;
var foo , bar : void ;
const FALSE = 0 ;
const TRUE = 1 ;
foo = 1 ;
bar = 2 ;
while ( foo != 10 ) {
foo = foo + 1 ;
bar = ( bar * foo ) / 2 ;
}
if ( bar > 100 ) {
print 1 , 3 , 3 , 7 ;
}
} |
f3b76909c49d71193f00c6049ff027263e6a030b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH16/EX16.5/16Q5.sce | 8c34def0691a53ca72c28e04d3e581130cc86262 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 16Q5.sce | clc
B=1.5
Df=0.75
e=0.1*B
G=17.5
c=30
C=0
q=G*Df
Nq=18.4
Ng=15.668
Lqd=1+0.1*(Df/B)*tand(45+c/2)
Lgd=Lqd
Quc=q*Nq*Lqd+Lgd*B*Ng/2
k=0.8
a=1.754
Qua=Quc*(1-a*(e/B)^k)
printf('The gross ultimate load per unit length = %f kN',Qua)
|
e2f54b2893258a98fb89187019e9877b9b928d0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH10/EX10.23/EX10_23.sce | 8317e1869f16f17ff4e86f308f92f3b5822f0e85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | EX10_23.sce | //Finding of discharge at section-1
//Given
T=30;
dy=0.06;
dt=3600;
dx=1000;
q2=35;
//To Find
q1=q2+((T*dy)/dt)*dx;
disp("Discharge at section-1 ="+string(q1)+" m^3/sec");
|
cc55a16fee0b69068b1e82d966f6ea49e42b5ecb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.44.D/2_18_44_D.sce | 0331179d153182579407cb048725eea7b3691e75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | 2_18_44_D.sce | //water and its treatment//
//example 2.18.44.D//
clc
volume_hardwater=7000//in litres//
volume_NaCl=60//Volume of NaCl in litres//
conc_NaCl=10//% NaCl consumed by zeolite bed//
Wt_per_Litre=conc_NaCl*10//gms NaCl consumed by zeolite bed per litre//
total_wt=Wt_per_Litre*volume_NaCl//total gms NaCl consumed by ... |
73983160ea7042bc561d8c0554ca6a2eb69f6523 | 8b33899f15bd0509e32f6c06319b7b1557c745f5 | /c18.sci | aad081198ad918b7afda553b51f79df86aa5d588 | [] | no_license | c00kiemon5ter/NumericalAnalysis | fd162663f6a9a4cc6c648e41a1412fa71e83a75c | 1ff51ff805017100ebb87a98b5fef7acca3d0692 | refs/heads/master | 2021-01-01T19:15:21.559444 | 2014-06-25T09:39:25 | 2014-06-25T09:39:25 | 8,290,126 | 1 | 1 | null | 2014-06-25T09:39:25 | 2013-02-19T12:51:16 | Scilab | UTF-8 | Scilab | false | false | 493 | sci | c18.sci | // Exercise C18
// ------------
// Given time(t) velocity(v) and distance(m) for a car
//
// t | 0 | 3 | 5 | 8 | 13 |
// m | 0 | 68 | 117 | 190 | 302 |
// v | 22.8| 23.5| 24.4| 22.5| 21.9|
//
// Using Hermite polynomials find
// (a) the distance when t=10sec
// (b) the time when v=24.6 m/sec
// (c) the m... |
a482582fae4e39879a885118175d788da30fc567 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH1/EX1.46/Ex1_46.sce | 036493a14422afd65c5e57c181f9e03ddf55b702 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Ex1_46.sce | //Ex:1.46
clc;
clear;
close;
Rl=1.5;// loss resistance in ohm
dl_y=1/15;// the ratio of dl to y(wavelength)
Rr=80*(%pi^2)*(dl_y)^2;// radiation resistance in ohm
Rt=Rl+Rr;// total resistance in ohm
n=Rr/Rt;// effeciency
printf("The radiation resistance = %f ohm", Rr);
printf("\n The effeciency = %d %%", n*100... |
5bb22b45712c91fd7e7d7a593b471a4e28844ed4 | 608ce453a5e6495299d7099c28b04d167ac50a76 | /Project2/phase2/Add4.tst | 5c6ec81f99c5364a0c162378b59d435a902c3262 | [] | no_license | andreww-han/CSCE-312 | abad4364c0a6a9f406a8a409145ec94a6eb52b88 | c3d23e7f5a13df9413656bda76ec82ab8bdc3a1c | refs/heads/master | 2022-11-27T18:52:41.794118 | 2020-07-20T20:16:53 | 2020-07-20T20:16:53 | 281,214,854 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | tst | Add4.tst | //Add4.tst
load Add4.hdl,
output-file Add4.out,
compare-to Add4.cmp,
output-list a%B1.4.1 b%B1.4.1 out%B1.4.1 carry%B3.1.3;
set a %B0000,
set b %B0000,
eval,
output;
set a %B1010,
set b %B0101,
eval,
output;
set a %B0001,
set b %B1111,
eval,
output;
set a %B1111,
set b %B0000,
eval,
output... |
7d3c2217ea656bb0d46666c21069b645bdd52d40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.20/ex1_20.sce | af2229ea12f860e45df2560973ef8161087db061 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | ex1_20.sce | // Exa 1.20
clc;
clear;
close;
format('v',9)
// Given data
R_H = 3.55 * 10^-4;// in m^3/C
Ix = 15;// in mA
Ix = Ix * 10^-3;// in A
A = 15*1;// in mm
A = A * 10^-6;// in m^2
Bz = 0.48;// in Wb/m^2
Jx = Ix/A;// in A/m^2
// R_H = Ey/(Bz*Jx);
Ey = R_H*Bz*Jx;// in V/m
// voltage between contacts
Voltage = E... |
69a58a21b694505729e1425f18c3b68cd1899c27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH21/EX21.4/Example4.sce | 73a3a2f5f7403e81243dffca2ec967c6534e4466 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 6,348 | sce | Example4.sce | clear
flag=1
mode(-1)
clc
printf("Example 4 : Show the method of using exec command to make many streams \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\n1. Here all instructions are preloaded in the form of a dem... |
3e831b74b080c213ab5b725f2fe5d9bcd6f69dcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH7/EX7.24/ch7_24.sce | eeea3efaeeed66b4c951f736beeec11044903ff0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | ch7_24.sce | clear;
clc;
tc=.006;
R=10;
L=R*tc;
f=2000;
T=1/f;
V_o=50;
V_s=100;
a=V_o/V_s;
T_on=a*T;
T_off=T-T_on;
dI=V_o*T_off/L;
I_o=V_o/R;
I2=I_o+dI/2; printf("max value of load current=%.3f A",I2);
I1=I_o-dI/2; printf("\nmin value of load current=%.3f A",I1);
|
5cf54dccbe1ab9f5514115167ddd0e76dba1471e | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/DEPENDENCIES/karmap3.sci | 356f07f5b77797d9d49825ea61685bbe35a39319 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,061 | sci | karmap3.sci | function []=karmap3(k)
n=4; //three variable kmap
m=2
k(:,:,2)=zeros(m,n);
var=['z' 'x' 'y'];
p1=['z''' 'z'];
p2=['x''y''';'x''y';'xy';'xy'''];
cmn4=4;
cmn2=3;
temp=1;
printf('The minimal ecpression of the given Kmap ');
disp(k(:,:,1));
disp("is :");
... |
50280e5a1f3e893560cdd5d21395fb1329c57dd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH10/EX10.17/Example10_17.sce | 4aebc492280b016ac5440955369f1e8df4446d9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | Example10_17.sce | ///Chapter 10 Properties Of Steam
///Example 10.17 Page No:198
///Find Volume of steam dryness fraction
//Input data
clc;
clear;
P=7; //Absolute pressure in bar
v=0.2; //Specific volume in m^3/Kg
//from steam table (pressure basis at 7 bar)
ts=165; //In degree cel... |
dec21977cd1a8bdc69c1d45aca2033442a38fa80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.15.1/Ex4_15.sce | 84c9194c520c51da46f4cb4d4d2c71ca835cddc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | Ex4_15.sce | clc
clear
//At 15 bar condition
Tsat=198.3+273; //in K
m=7; //in kg
Hg=2792.2; //in kJ/kg
Tsup=300+273; //in K
Cps=2.1; //in kJ/kg K
H1=Hg+(Cps*(Tsup-Tsat));
Cpw=4.187; //in kJ/kg K
H2=Cpw*50;
Q=m*(H1-H2);
printf('The total amou... |
fbd832130b4aafa331e923d54e9a30aee2e393db | 734830c483d7180158343b9b5599994878b8b197 | /trip-tests/autograder_trip02.tst | 1dd74526533eee220f05b40d0373382762d5f470 | [] | no_license | aykamko/proj61b | b53a3b569f82522144e010505859aa3ab66585bb | 5f6688b70f907107512267712a325f907e5e627b | refs/heads/master | 2021-01-16T22:08:56.235971 | 2013-12-12T09:19:39 | 2013-12-12T09:19:39 | 13,669,280 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | tst | autograder_trip02.tst | java -ea trip.Main -m trip-tests/autograder_map02 trip-tests/autograder_request02
|
c6ac042be1f495240df314396cb449cc04ac6176 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH4/EX4.9/Ex_4_9.sce | ddb36ddaa21cf3a2a210612504bd503c30ea7e12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | Ex_4_9.sce | //Example 4_9
clc;
clear;close;
//Given data:
V=220;//V
N_NoLoad=1000;//rpm
alfa=0.6;//duty cycle
I=20;//A
Ra=1;//ohm
//Solution :
Eb1=V;//V////at no load
Vin=alfa*V;//V
Eb2=Vin-I*Ra;//V
N=N_NoLoad*Eb2/Eb1;//rpm
disp(N,"Speed of the motor(rpm)");
|
f30182edddf553e28c750eb03d762749edcf9b66 | 35c8380ec2b2a1fe302cc8de8750a3dc3115030a | /rbf.sce | 62176db5829dbca3db6c798a1a0bc4a9d84158b1 | [] | no_license | Pedynho/neural-network-RBF | fa240cee585772223cfc84dd383f628b7bb186e9 | b4f722c3c3eb1c6f27733aa2db49f61677c42888 | refs/heads/main | 2023-08-13T17:34:40.346567 | 2021-10-18T17:50:07 | 2021-10-18T17:50:07 | 361,252,081 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,556 | sce | rbf.sce | clear;
clc;
warning('off');
function r = funcTest(amostra,M,X,N,q)
xtest = X(:,amostra);
for i=1:N
for j=1:q
Z_test(j,i) = exp(-norm(xtest-T(:,j))^2);
end
end
Z_test = [(-1)*ones(1,N);Z_test];
y_test = M * Z_test;
[val i] = max(abs(y_test));
r = i;
endfunction
b... |
cbab475025ae6406887fd542c4f9f9f86ea5bcb6 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /tests/Hypergeometric/hygernd.tst | 21977d574a270380222d459d09ab03366b9ee044 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | tst | hygernd.tst | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-... |
d217b2643b2da8a8ef3317cdca9e94ec74202b7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH10/EX10.2/Example10_2.sce | 767c188318e07abd335f057e7ad512b8f8de5011 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Example10_2.sce | //input impedance Rd, Open loop voltage gain Aol, Feedback resistance Rf
close();
clear;
clc;
R1 = 1000;
Rf = 10000;
Rd = 1000;
Aol = -10^(4);
Av = Aol/(1+R1/Rf*(1-Aol)+R1/Rd);
Avideal = -Rf/R1;
//Percent error 'E'
E = (Av-Avideal)/Av*100;
mprintf('Av = %0.3f \nAvideal = %0.0f\nand percent error is %0.2f %%... |
94ceb60d6c9d1fd2f56e117e46882292c0fbd9ca | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Data_Communications_And_Networking_B._A._Forouzan_1163.zip/Data_Communications_And_Networking_B._A._Forouzan_1163/CH3/EX3.4/example_3_4.sce | 0edb15bf39aa2a32bdc771c660265d628c0b479c | [] | 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 | 267 | sce | example_3_4.sce | errcatch(-1,"stop");mode(2);;
;
disp("--------------Example 3.4--------------")
// period = 100ms
T = 100*10^-3*10^6; // multiply with the conversion factor
printf("The period in microseconds = %2.0E microseconds.",T)// display result in microseconds
exit();
|
50da14ab34f7dc02a325d9b9298bd69881fba174 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH5/EX5.1/Ex5_1.sce | 0146aabba1f37d6748c42f6b2def5c0a3fe4023a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | Ex5_1.sce | //Example 5.1
//Forces Between Dislocations
//Page No. 166
clc;clear;close;
G=40; //in GPa
G=G*10^9; //conversion to N/m^2
b=2.5; //in angstrong
b=b*10^-10; //conversion to m
r=1200; //in angstrong
r=r*10^-10; //conversion to m
l=0.04; ... |
fb969ea6b23974e17151e6d9fd08f2cb96736cad | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/Tet_Kovasnay_SVV_DGKer.tst | 98898eabf7368fe738a1051b6e9b4f86cd7e5206 | [
"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,030 | tst | Tet_Kovasnay_SVV_DGKer.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D Tet Kovasnay solution using DG SVV Kerneal and dealiasing</description>
<executable>IncNavierStokesSolver</executable>
<parameters>Tet_Kovasnay_SVV_DGKer.xml</parameters>
<files>
<file description="Session File">Tet_Kovasnay_SVV_DGKer... |
11d77ec4521cc0fb4571d5a33638da962b63154b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH5/EX5.8/Exa_5_8.sce | 0a22bf9df8d1da07ec984b271eb0504996f16e0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_5_8.sce | //Exa 5.8
clc;
clear;
close;
format('v',7);
//Given Data :
deltaQ=850;//KJ
T1=1400+273;//Kelvin
T2=250+273;//Kelvin
T0=20+273;//Kelvin
Q=-1000;//KJ
deltaS1=Q/T1;//KJ/K(-ve as heat leaving)
deltaS2=abs(Q)/T2;//KJ/K(+ve Q as steam receives heat)
deltaS=deltaS1+deltaS2;//KJ/K
disp("Part (i) As energy leave... |
442a61662a5c1d92ce68df74c5b0f0c35e5a06f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH8/EX8.4/example_8_4.sce | a745483857ace6bb77b73f6e7a0284c9d2848cf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | example_8_4.sce | //example 8.4
clc;
clear;
en=input("Enter the enable input level(1 or 0) : ") ;
r=input("enter the R input level(1 or 0) : " );//accepting the inputs from the user
s=input("enter the S input level(1 or 0) : " );
qn=input("Enter the previous output value(1 or 0) : ");
if en == 0 then // clculating the output
... |
3523131e9c86583f3943743f6d69049a4d1f1c78 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/diffuse/compfunc.sce | 93ab6ffcefe517da85386ebecfe55a0e8327361f | [] | 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 | 340 | sce | compfunc.sce |
//This requires
//diffuse.m
//nonlinearity term for multi-species diffusion
function [compfunc]=compfunc(concm,specid,nspecies,inconsts, t)
//simple linear multi species model with no time dependence
total=0
for i=1:nspecies
temptot=total+(inconsts(specid,i)*concm(i));
total=temptot
end
compfunc=... |
204ecd62919aeeea1f6824fda8f21a424a1365de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH17/EX17.16/Ex17_16.sce | b868f27ff0c2d6f8b6b91e73bf3f6d6a402d29bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,145 | sce | Ex17_16.sce | clc;clear;
//Example 17.16
//given data
P01=2*1000;//factor of 1000 to convert MPa to kPa
T1=400;
V1=0;//negligible
nN=0.93;
m=2.5;
P2=300;
//calculations
//part - a
P201=P2/P01;
//critical pressure ratio at this values is 0.546
Pt=0.546*P01;
//at inlet
h1=3248.4;
h01=h1;
s1=7.1292;
//at throat
... |
02590846b03eb6d630a25eaa53972bde0c6336a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.30/Ex9_30.sce | e91afd545adcdacd0733f90487400c32c91ed5a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | Ex9_30.sce | clear
//Given
n=100
l=3.2
r=0.1
//Calculation
//
u=4*%pi*10**-7
B=(u*n*l)/(2.0*r)
M=n*l*%pi*r**2
t=M*B*sin(0)
t1=(M*B*sin(90*3.14/180.0))*10**3
w=sqrt((2*M*B*10**3)/r)
//Result
printf("\n (a) Field at the centre of the coil is %0.0f *10**-3 T",B*10**3)
printf("\n (b) Magnetic moment of the coil is %0.0f Am**2",M)
... |
85ebba12df08b38ab8df799f4315672be1023982 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamUtilities/SxP_InteViewer/bak/unwrap.sci | 8a8303a5f596b22b50da24a0486cf8a42a12dbd2 | [] | 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 | 1,515 | sci | unwrap.sci | //////////////////////////////////////Unwrap Matlab Emulation function///////////////////////////////
function unwrp = unwrap(wrapped)
//
// Emulation of Matlab unwrap function which adjust largest deviation
// between adjacent phase entries to maximum of +pi or -pi
//
// Inputs:
// wrapped - wrapped ... |
638fb664a3c4afc219fce0ecdacc8bb4d25fa134 | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH4/EX4.12/ch_4_eg_12.sce | fd3b7fd84cd4c7198f8ce185f8a0fd639a2f2be3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | ch_4_eg_12.sce | clc
//rxn A-->B
//input=FCa0, output=FCa
//applying mass balance of component A we get d(V*Ca)/dt=F*Ca0-F*Ca-k*Ca*V
disp("the solution of e.g. 4.12 -->Batch and Stirred Tank Reactors")
rate_const_k=1
Ca0=1,F=1, V=10
function dVCa_by_dt=fr(t,Ca1),
dVCa_by_dt=F*Ca0-F*Ca1-rate_const_k*Ca1*V,
endfunction
C... |
fe1803ef4bc8bb1e1f78ecc2dd5e330324818338 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3487/CH6/EX6.5/Ex6_5.sce | 03462f8f82e44722766dbc33b82feb42780f1b88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | Ex6_5.sce | //Chapter 6,Example 6.5 Page 200
clc
clear
Ca = 50 // pF
C = 190 // pF
loss = 0.0085 // loss angle of electrodes
Er = C/Ca
tang = 0.0085
Er1 = Er*tang
E0 = 8.854*10^-1
E1 = E0*Er
jE1 = E0*Er1
printf (" The dielectric constant = %f \n ",Er)
printf (" tan δ = %f \n ",tang)
printf (" E = (%f - j %f ) * 10^-11 F/m \n ",E1,... |
8821096e9f3f2817a3e729ffd9f41d616100e24d | c9e04373e33a2721547c7ae2be20ee84f115be1c | /evaluationData/aceptedratio.sce | 60010505b3b46e6cd68c44a1a06225e7935e2087 | [] | no_license | lspxian/junsp | f944ce163267608cb9cdb939a0ac809f724fb396 | ca1571bbc30e6a9a183fa8d675567e169288acf4 | refs/heads/master | 2021-01-23T14:10:34.141815 | 2017-10-06T17:03:10 | 2017-10-06T17:03:10 | 34,068,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | aceptedratio.sce | aceptedratio = read("AcceptedRatio.txt",-1,2);
time = aceptedratio(:,$-1);
aceptedratio = aceptedratio(:,$);
plot2d(time,aceptedratio);
|
729f1ab46440b36a80ddeda881710e520a1a9561 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH13/EX13.6/Ex13_6.sce | 1cad79ebd42e4fbcd5067210ca777ea71bf70825 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 988 | sce | Ex13_6.sce | clc
clear
//DATA GIVEN
b=0.25; //width of the belt in m
t=0.006; //thickness of the belt in m
r=900/2000; //radius of the pulley in m
rho=1100; //density of the material in kg/m^3
Tp=2; //permissible tension of the bel... |
e246870a9e21da2ea6a7e2256866e78c4d86559c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH6/EX6.10/ex6_10.sce | 0031c2e6864d35ccd747a08f84ef3efb4bd04f8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sce | ex6_10.sce | // Exa 6.10
clc;
clear;
close;
// Given data
T = 0;// in degree C
T = T + 273;// in K
T_sat = 179.9;// in degree C
T_sat = T_sat + 273;// in K
x = 0.8;
h_fg = 2013.8;// in kJ/kg
c_f = 4.188;
Phi_wet = c_f*log(T_sat/T)+x*h_fg/T_sat;// in kJ/kg-K
disp(Phi_wet,"The entropy of wet steam in kJ/kg-K is");
Phi_g... |
d8acb7eb8a172fc34317aef952a28f971bf1c937 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH8/EX8.9/Ex8_9.sce | 66f5ca503ee6675d7785f5c93cd238a3e300f28c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Ex8_9.sce | clc
clear
printf("Example 8.9 | Page number 223 \n\n");
//This is a theoritical question.Refer textbook for solution
printf("This is a theoritical question.Refer textbook for solution")
|
ffed8d5cdb0fd55919947266e72bfbf2bf1c015c | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH17/EX17.2/17_2.sce | 2f8e6478c9399a4ea692fe23085a77f208a85cb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 960 | sce | 17_2.sce | //clc()
x = [1,2,3,4,5,6,7];
y = [0.5,2.5,2,4,3.5,6,5.5];
n = 7;
s = 0;
ssum = 0;
xsq = 0;
xsum = 0;
ysum = 0;
msum = 0;
for i = 1:7
s = s + (det(x(1,i)))*(det(y(1,i)));
xsq = xsq + (det(x(1,i))^2);
xsum = xsum + det(x(1,i));
ysum = ysum + det(y(1,i));
end
a = xsum/n;
b = ysum/n;
a1 = ... |
3991f3810f0f0cdff525c46337abb5f8e34e0b5c | f7e981eeadbb0bba2edc23eccc7168670c099d2d | /bsp05.sce | 816659de245b98966f2c6e523dc41ffbd398f893 | [] | no_license | mr-georgebaker/Scilab-Exercises | bf1e79d68b856f92e2be86b6b002f4eb657ff0ef | fc63d68aeaf495da81a0c557a4f07192aacbd1c6 | refs/heads/master | 2016-08-05T01:37:09.841260 | 2015-05-22T18:24:17 | 2015-05-22T18:24:17 | 32,216,608 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,540 | sce | bsp05.sce | clear
// Calculates the activation energy E and the factor A for the formula
// K_i = A*exp(-E/(R*T_i))
// based on a lookuptable (Bsp05_Messdaten.txt) and regression analysis with least squares
// ||Mx - b|| = min
// where M_i = [1, -1/T_i]
R = 8.3144621
function D = open_file(path)
// Reads a file and returns a m... |
1766633fb85a642748a191ab6f9653baf9828ba7 | 56a60b9fcd7cd0766def295dc78b57ffc7eb36b0 | /storyline/scenarioCasa.sce | 1434944564caf3869fb84cb9563f54ade072950c | [] | no_license | Ryouzanki/Kingslayer | 3a665dbcd84f87ca7be00a8117d767f27de4da5a | 210ae124eba6123e508e7a73c2a8266b4662cfd5 | refs/heads/master | 2020-05-20T04:16:21.069096 | 2015-11-03T19:19:46 | 2015-11-03T19:19:46 | 42,585,351 | 1 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 6,333 | sce | scenarioCasa.sce | Synopsis :
Le joueur défend un cas en l'apparence impossible.
Contexte : un petit village (500 habitants) de province secoué par l'histoire d'un meurtre ...
Mercredi 21 Octobre 9h34, la police reçoit un appel de Mme. A, manifestement paniquée, signalant la mort de son mari, M. A.
11h12, Mme. A est interrogée. D... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.