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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
189559cde686aca47d4e78dc14da07f1cf97fdec | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH5/EX5.7.a/data5_7.sci | 5a7168ab0f4d2ba2edfc4a793816deeed7f03014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sci | data5_7.sci |
//(Design against Fluctuating Load) Example 5.7
//Ultimate tensile strength of 40C8 Sut (N/mm2)
Sut = 600
//Minimum value of N is Nmin
Nmin = (10^3)
//Maximum value of N is Nmax
Nmax = (10^6)
//Reversed bending stress acting on the bar Sf (N/mm2)
Sf = 250
//Diameter of the bar d (mm)
d = 50
//Reliability (... |
788572a11b48f6ba5266eea4c1e23b2cb34345f7 | 5b649d124ac1b442719c325922aad771d704f1ab | /TruthDataMain.sci | cbbafef7f0d72ce87f3054b47e8452066ff6e2fb | [] | no_license | Tornado128/TruthDataProcessing | 51522237dce4e8b598834d4f562af78ecc5e1a5d | a7b183028dfca9d82c83c6296b2b7d8f2149aa3b | refs/heads/master | 2022-10-28T12:32:49.920231 | 2020-06-13T18:35:02 | 2020-06-13T18:35:02 | 272,065,521 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,102 | sci | TruthDataMain.sci | clc
clear
cd C:\Users\ybozorgi.NEOTEKENERGYDAL\Desktop\Yaser\codes\TruthData
M = read_csv("WeeklyReport 12-20-16.csv");
exec('C:\Users\ybozorgi.NEOTEKENERGYDAL\Desktop\Yaser\codes\TruthData\TruthDataAnalysis\TruthData.sci', -1)
M = TruthData(M); //parsing and organizing the data
s=size(M);
StartDAYY=M(1,3); StartTIMEE... |
76a0533f60a1cf3dca42c2e04bd018865dfdc9e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH7/EX7.5/7_5.sce | 65ec0c54a88bc5ac6a3c473bd7d1c614860de0c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_5.sce | Vo = 8.4;
Vh = 14;
n1 = Vo/22.4; n2 = Vh/22.4;
R = 8.31;
x1 = n1/(n1+n2);
x2 = n2/(n1+n2);
S = -R*(n1*log(x1)+n2*log(x2));
disp("J/K",S,"Entropy change for the process is") |
07619c4f06d7f3928ca1a5d31e8779953875db9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH3/EX3.6/Ex3_6.sce | 3e2c5adf1ea21aab5c047d94bf6f01b9b71a0ce1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex3_6.sce | //Caption:Determine point of attachment & length of stub.
//Exa 3.6
clc;
clear;
close;
Z_l=100;//in ohms
Z_o=600;//in ohms
f=100*10^6;//in Hz
wl=(3*10^8)/f;
//Position of stub is :
m=((Z_l*Z_o)/(Z_l-Z_o))^0.5;
pos={wl/(2*%pi)}*atan((Z_l/Z_o)^0.5);//in meters
l={wl/(2*%pi)}*{atan(m)};//in meters
disp(pos,"... |
df3caf0d8343c7b2f50ddba13f51e1aeacb51705 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH9/EX9.8/9Ex8.sce | cdd181afbc37f5c371ab1fd9849bf43933fa1cea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | 9Ex8.sce | //Chapter 9 Ex 8
clc;
clear;
close;
n=1; //assuming
expr=((243^(n/5))*(3^(2*n+1)))/((9^n)*(3^(n-1)));
mprintf("The value of expression is %d",expr);
|
07c9023dc6435fb8dbfba08843e173fb1ff9cefb | 2c2dc93267283e4aebcffffd5bd76e19ddcf5cc7 | /output/KNN/ProbresultadoKNN.tst | d082ade4c99992c18e0987b0e6ff3b71e7efc057 | [] | no_license | joseangeldiazg/probabilistic_keel | c9cf4ddc2cf750cbbeca88e6f84218084892ae1f | 6c5ddf8c98cc7431d523b291e521d1e8607dc662 | refs/heads/master | 2020-05-21T12:26:41.754863 | 2017-01-08T10:29:44 | 2017-01-08T10:29:44 | 55,733,275 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | tst | ProbresultadoKNN.tst | Probabilistic Output.
Iris-setosa,Iris-versicolor,Iris-virginica,
1.0, 0.0, 0.0,
1.0, 0.0, 0.0,
1.0, 0.0, 0.0,
1.0, 0.0, 0.0,
1.0, 0.0, 0.0,
0.0, 0.8, 0.2,
0.0, 1.0, 0.0,
0.0, 1.0, 0.0,
0.0, 1.0, 0.0,
0.0, 1.0, 0.0,
0.0, 0.2, 0.8,
0.0, 0.0, 1.0,
0.0, 0.8, 0.2,
0.0, 0.0, 1.0,
0.0, 0.2, 0.8,
|
caba5a812f493144d46b743d1163c41b287e17c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH1/EX1.9.b/Example1_9_b.sce | 544028e514ca1d57bd396270f2687580477b01e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,169 | sce | Example1_9_b.sce | //Example 1.9(b)
clear;
clc;
rd=2*10^6;//Input Resistance
ro=75;//Output Resistance
a=200*10^3;//Open loop Gain
printf("Note (as mentioned in the book): Because of much larger value, we simply ignore the exact calculations and use only the approximations.");
//R12=infinity
R2=0;
//b2=R12/(R12... |
6628c305b3b2663d75ba73751ab60e271663665c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH11/EX11.9/Ex11_9.sce | 5bb8329c6784b53ab3de15560f6e6d042fa4613b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Ex11_9.sce | clear;
clc;
l = 50;// feet
b = 4;// feet
P = 3;// tons per foot run
t = 1/2;// inches
b1 = 4;// inches
d1 = 4;// inches
h1 = 1/2;// inches
d = 7/8;// inches
f_s = 6;// tons/in^2
f_b = 12;// tons/in^2
P_s = 2*0.25*%pi*d^2 *f_s;// tons
P_b = t*d*f_b;// tons
R = P_b;// tons
F = l*P*2/d1;// tons
p_min = R*(... |
bf5cd5d1b0ba117628f37a9ef0dead6fae858858 | e1203672ffc99c92114940ed7b716a2f0766488d | /archi2.tst | 7186328ce0df6cec938df1e4c2ba2dc81bd9f92e | [] | no_license | twuno/Minipython | 521197c2c215d3942ccf2b58ac77d6dd959446a9 | 02a148fb963cd6bb270cf40335bb7c3ac41ae235 | refs/heads/master | 2020-05-19T14:44:25.803145 | 2012-09-16T17:19:51 | 2012-09-16T17:19:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | tst | archi2.tst | class hola:
x=10
y=11
z=x-y
def main:
for x in y...15:
if x>3 or x<4:
print m
elif x<0:
print y
else:
print m
x=9
print "dios"
def hola(x):
main()
|
b482b824b6832dd421784f6aeef8e25bc529a3f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.3/Ex9_15_3.sce | a5fefa64963ceb67d14b56a25e2856f544c7dd13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | Ex9_15_3.sce | //Section-9,Example-3,Page no.-E.6
//To determine the concentration of Cd2+ ions in the given electrochemical cell.
E=-0.02
E_0=0.04
n=2
C_Fe=0.1
x=C_Fe/(10^(n*(E_0-E))/(0.0591))
disp(x,'Concentration of Cd2+ ions in the given electrochemical cell(M)')
|
7a6bd8aaab4a82d30612d2153268ac1cea2464a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH8/EX8.17/8_17.sce | dc09ccf58588fb5184feef7589624f128f731675 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | 8_17.sce |
n=10
S11=(n^2-1)/(n^2+1)
S21=2*n/(n^2+1)
S22=(1-n^2)/(1+n^2)
S12=2*n/(n^2+1)
A=[S11,S12;S21,S22]
disp(A) |
11d00f4ba3939d18be36ed8aad803d843e68b943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/8_3.sci | 8509f715142f676313cceba8bc146c1b65bc982e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sci | 8_3.sci | H0NH3 = -11020; // cal/moleN2
H0H2 = 0;
HN2 = 0;
CpNH3 = 8.92;// cal/moleH2.K
CpH2 = 6.992;// cal/moleN2.K
CpN2 =6.984;// cal/moleNH3.K
T = 423; //K
TR = 298; //K |
8caa73786952647472f9d2364c8e390b6ddfd281 | cb4516492965c75d14c9d499c387d3cd0b883bc4 | /X3/Section 7 -Tools Environmental Effects/7.1 Joachim Diepstraten, Mike Eißele/arithmetic_complex.tst | 86dbfdccc053f1c9d66589facd846a16213dafee | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | nedma/ShaderX | 48367dfc1153e4e6ad6bb5c205777285b06376c5 | 0503dd6ae16f3d288f2e27b0f93ebdfbaf1f4436 | refs/heads/master | 2020-04-08T01:51:11.173038 | 2018-11-24T08:37:42 | 2018-11-24T08:37:42 | 158,911,553 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | tst | arithmetic_complex.tst | \shader\pow.psh
\shader\pow_4x.psh
\shader\nrm.psh
\shader\nrm_4x.psh
\shader\simulated_nrm.psh
\shader\sincos.psh
\shader\sincos_pp.psh
|
a5b8675d563f08c7136e174fa972057e78ce44a9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/obscont.man.tst | 14ef176f8f81990543b3922a769ccc786957693b | [
"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 | 438 | tst | obscont.man.tst | clear;lines(0);
ny=2;nu=3;nx=4;P=ssrand(ny,nu,nx);[A,B,C,D]=abcd(P);
Kc=-ppol(A,B,[-1,-1,-1,-1]); //Controller gain
Kf=-ppol(A',C',[-2,-2,-2,-2]);Kf=Kf'; //Observer gain
cl=P/.(-obscont(P,Kc,Kf));spec(cl('A')) //closed loop system
[J,r]=obscont(P,Kc,Kf);
Q=ssrand(nu,ny,3);Q('A')=Q('A')-(maxi(real(spec(Q('A'))))+0... |
66ddc19e1b9db06c2e951b7a14fc83faf670c489 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH14/EX14.6/14_6_Bacteria_Biofilm.sce | 92b514f05b24e68587ee9fe7f692f9c02d50e0d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | 14_6_Bacteria_Biofilm.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 14.6 Page 909 \n')// Example 14.6
// Maximum Thickness of a bacteria laden biofilm, that may be siccessfully treated
Dab = 2*10^-12 ;//[m^2/s] Diffusion coefficient
Ca0 = 4*10^-3 ;//[k... |
bc3d3dc09102fefb7c016230851a443a0d83efc8 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0077.tst | d56e491330ef65a683b28aeec8ab6e7f032a527d | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 439 | tst | 0077.tst | sPlITTEr trXy {}
fiLTeR aMut { }
fIlter Kx {F Or j OR FYX }
B -> ao -> AN
gROUper P {AgGREGate P ,TBRu.K }
unGrOupeR g { }
GroUPfilTer O {+78814 < Y Or 12.e83 <= 0 }
MERGEr YSY { mOdULe v { BRANches lCqP nOT HsQ ( 131.38.230.203, gi ( v, ), ) noT ms ( d8:CE:aa:8B:aa:Ef
) nOT sYDh ( D ( ), ) nOt 93.968e... |
8aaf5a3feb298dac3ab554f7201974a3201e109d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.57/ex1_57.sce | 1ef0619812ce241f0ae06dddfa1bf7227bbc59ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | ex1_57.sce | //Chapter-1, Example 1.57, Page 67
//=============================================================================
clc;
clear;
//INPUT DATA
I1=25;//current source in A
I2=6;//current source in A
I3=5;//current source in A
RAB=5;//Resistance in ohms
RAC=10;//Resistance in ohms
RBC=2;//Resistance in ohms
//let... |
026784b33bb11c015bd6d3c1e27581facaea7dac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH17/EX17.9/Ex17_9.sce | 1b80bd5bf34bfac3934c79e61241a3cceb9cd0c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | Ex17_9.sce | //Example 17_9 page no:847
clc;
R0=800;
D=20;
N=10^(D/20);
R1=R0*(N-1)/(N+1);
R2=R0*(N+1)/(N-1);
disp(R1,"the resistance R1 is (in ohm)");
disp(R2,"the resistance R2 is (in ohm)");
|
8f462f15e45ba7ad431c735f02b2d0b33a8d7d7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH7/EX7.5/7_5.sce | 24d033ec2a1ff7a3d409e35a41dc3e78ed504a76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | 7_5.sce | clc
//initialisation of variables
H= 8 //in
b= 6 //in
d= 4 //in
H1= 5 //in
//CALCULATIONS
Ia1= ((b*H^3)/12)+b*H*d^2
Ia2= %pi*((d/2)^2)+%pi*((d/2)^2)*(H1)^2
I= Ia1-Ia2
//RESULTS
printf ('I= %.2f in^4',I)
|
36f70c8c5340c04c2cfe4fc1796fb4e960f1430d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH25/EX25.8/25Ex8.sce | ed01d0bc612fff42f6e77c9336dcf2548044684a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | 25Ex8.sce | //chapter 25 ex 8
clc;
clear;
close;
a=sqrt(1734/6); //given surface area=1734 and by formula surface area=6*a^2
volume=a^3;
printf("The volume of cube is %d cubic cm",volume);
|
c23dac438a58292154e91415b8cf26e142642dab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH2/EX2.22/Ex2_22.sce | 722f6b559bc7f6816b67c8046e88a0f0b1c28d3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | Ex2_22.sce | clear
//
//The pulley C is in equilibrium under the action of tensile forces in CA and CB and vertical downward load 200 N. The tensile forces in segment CA and CB are the same since the pulley is frictionless. Now consider the equilibrium of pulley C
//sum of vertical Fy & sum of horizontal forces Fx is zero
//Assum... |
5941f18ecacac71530a39f0833145100201a3da7 | 3373f8cf6d2c4c29842dbfebcab3729fe7043df5 | /task3Appr.sci | b6f00f982ed59eb3fafd15fbed86d81276bc1611 | [] | no_license | oborovsky/task3 | 8983eaff3c93c0aa85f415ac2dfa77453e9be15f | 3a9fb76abbbfaa7e10faea589a813876cf65ca4c | refs/heads/master | 2021-01-20T00:30:27.161635 | 2017-04-25T17:00:53 | 2017-04-25T17:00:53 | 89,145,007 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,124 | sci | task3Appr.sci | deff('y=u(x)','y=(1-exp(100*x))/(1-exp(100))');
function x=shufle(m, d)
a = m(1,:);
b = m(2,:);
c = m(3,:);
s = length(b);
et(1) = 0;
ks(1) = 0;
for i=1:s
ks(i+1) = (-c(i)) / (a(i)*ks(i) + b(i));
et(i+1) = (d(i) - a(i) * et(i)) / (a(i) * ks(i) + b(i));
end
... |
edef072f60dbd5c833c310e1f6f33250b2232e59 | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial05-Solution_of_equations/Scilab_code/functwovar.sci | 6506ce4034e187014c33c3e0f7ba6a498cad1641 | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sci | functwovar.sci | //This is script to define a fuction
function y = functwovar(t)
x = t(1);
z = t(2);
y = [x^2+z^2-1;x^2*exp(-2*x) + z]
endfunction
|
542ddcf0c42dae89dd7bfc8f610b2abb0a31f641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.18/Ex12_18.sce | c73cb20fc4aa3599562293ca3d838bdf4689c326 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | Ex12_18.sce | //=====================================================================================
//Chapter 12 example 18
clc;clear all;
//variable declaration
R3 = 2000; //resistance of arm in Ω
R4 = 2950; //resistance of arm in Ω
R2 = 5; //resistance of arm in Ω
r2 = 0.4; ... |
f57752cd7afe5046268e0e8434a68ceb30e49f27 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.11_15.tst | 138c1c3a67cad1f0526fdf9a203622ab92000ba4 | [] | 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 | 37,246 | tst | bow.11_15.tst | 11 5:1.0 7:1.5 9:1.0 12:0.16666666666666666 15:1.0 31:0.14285714285714285 41:2.0 46:0.125 50:0.3333333333333333 53:0.2 59:0.16666666666666666 66:0.14285714285714285 105:0.16666666666666666 110:0.1111111111111111 111:1.0 153:1.0 324:1.0 330:1.0 342:0.25 348:0.3333333333333333 457:1.0 508:1.0 582:1.0 618:2.0 670:0.5 960:... |
d20b49aa659b04bb85e7f873791c27213a9782f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH6/EX6.10/Ex6_10.sce | 7545e36da5718f0d64ca328c85340f6191ffadb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | Ex6_10.sce | clear
//
//
//
//Variable declaration
N=3*10**25 //number of atoms
epsilon0=8.85*10**-12
r=0.2*10**-9 //radius(m)
E=1 //field
//Calculation
p=4*%pi*epsilon0*r**3 //dipole moment per unit electric field(F-m**2)
P=N*p //polarisation(C-m)
epsilonr=1+(4*%pi*r**3*N/E) /... |
77355a8ba43da76ee94b1d5d2b351224cf4a1fb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH6/EX6.6/Ex6_6.sce | e5c4db907bbd62f47f99b816d14c608b58adacda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,790 | sce | Ex6_6.sce | clear ;
clc;
// Example 6.6
printf('Example 6.6\n\n');
printf('Page No. 149\n\n');
// given
F = 1;// Fuel feed in kg
C = 0.86;// Mass of Carbon in kg
H2 = 0.05;// Mass of Hydrogen in kg
S = 0.01;// Mass of Sulphur in kg
O2 = 0.08;// Mass of Oxygen in kg
w_C = 12; // mol. weight of C
w_H2 = 2; //mol. wei... |
48fdfb3053e3a894a6a881e3b5f30587ef36cf44 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/cp02.tst | 992a3eec49007c50eb5f727c992ce68394089c52 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | tst | cp02.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the CP (compare two registers) instruction"
; @Result: "flags.h=0, flags.s=0, flags.v=1, flags.n=1, flags.z=0, flags.c=1, r16 = 0"
start:
ldi r16, 0b00000000
ldi r17, 0b10000000
cp r16, r17
end:
break
|
38ede7fe685a0c61f03863c1a29c6e136b51ced4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH13/EX13.14/Ex13_14.sce | 51538e90731fcc966c53ca651df3c97bd2b50149 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | Ex13_14.sce | // chapter 13
// example 13.14
// Determine total average power loss and percentage increase in deivce rating
// page-840-841
clear;
clc;
// given
T_J=150; // in degree C (maximum junction temperature)
Q_JC=0.015; // in degree C/W
Q_CS=0.08; // in degree C/W
Ta_1=60; // in degree (heat sink temperature1)
Ta_... |
1582111098c36a9c1ec00dd6831d6c61a0aa4164 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH46/EX46.1/example1.sce | ae1707ffe933a20c5c6cff461cc2ca90147fca63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sce | example1.sce | //example 1
//chapter 46
theta=acosd(1/sqrt(2))
disp(180-theta,"Polarization angle theta=") |
01802ff24d7d282b6ac0b9bbfff6da4a0aa1b4b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH17/EX17.3/17_3.sce | c7806e51d19f1f42e28e35aec20fc640a3da433d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | 17_3.sce | clear
clc
//Example 17.3
disp('Example 17.3')
z=%z;
Gz=(-0.3225*z^-2+0.5712*z^-3)/(1-0.9744*z^-1+0.2231*z^-2);
G=tf2ss(Gz)
n=10;
u=ones(1,n);
y=dsimul(G,u);
disp(y','y=')
mprintf('\n\nAlternatively the simulation can also be done\n...
using syslin(d,Gz) and flts(u,Gz)\n\n')
Gz2=syslin('d',Gz);
y2=flts(u,Gz2)
disp(y... |
cba6d6e830c9732c5672bb8cc2858be980cf88cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH7/EX7.4/S_7_4.sce | 8f692a316373955864a44f6c9aa78b918376a46b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,553 | sce | S_7_4.sce | clc;
//Drawing of shear and bending moment diagram
printf("Given problem is for drawing diagram, this diagram is drawn by step by step manner.\n ");
F_B=500;//N, force applied at B
F_C=500;//N, force applied at C.
F_DE=2400;//N/m, distributed load applied at D to E
AB=0.4;//m, perpendicular distance between A and... |
bd64a6646788b8c3ccd3e6356be3f1b9ee131a58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.30/2_30.sce | 9ae243ed36f8037f7e731801b465ebce1133c014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | 2_30.sce | clc,clear
printf('Example 2.30\n\n')
V=220
I_L=52
N_1=750, N_2=600
R_a=0.2, R_sh = 110 //armature and shunt field resistance
I_sh=V/ R_sh
I_a1= I_L - I_sh
I_a2=I_a1//T (prop.) I_a and T is constant
E_b1 = V - I_a1*R_a
//N (prop.) E_b/phi (prop.) E_b
E_b2 = E_b1*(N_2/N_1)
R_x = (V- E_b2)/I_a2 -R_a /... |
1f212f8505f30a929aa525e257cadc7219e69460 | 89bd85001a11a2a0f501317fc244013567513dd7 | /scenario/simpleScenario/simpleScenario_02.sce | 10520edede9e3deb37084adc19cb04240864ffbf | [
"MIT"
] | permissive | triacontane/mv | 51d4960b9cfea5c0aa5c4c56cb3deff01f221642 | 49a087a21d4dd9c045b151e6c8767ce5f5381806 | refs/heads/master | 2021-01-12T17:36:18.214276 | 2017-02-12T01:41:43 | 2017-02-12T01:41:43 | 86,892,514 | 2 | 1 | null | 2017-04-01T07:10:07 | 2017-04-01T07:10:07 | null | UTF-8 | Scilab | false | false | 391 | sce | simpleScenario_02.sce | @start
@mob1 name=モブ1
@mob2 name=モブ2
@m1
こんにちは。
@m1
私の名前は、@mob1 name=
で指定したものになります。
@m1 name=一時的な名前
name= を設定すると、一時的にその名前になります。
@m1 face=Actor1 index=2
顔グラも設定できます。
@m2
モブその2です
@m2 color=2
モブその2です。色付き。
@hide |
0a78ba1fe8db5373c95cdf56cd256f3fe762ee96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH26/EX26.3/Ex26_3.sce | dc80c1d5c4358b163149e50b5e73868167f9fe21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | Ex26_3.sce | //Example 26.3
d_i=(-30+1.5)*10^-2;//Image distance (m)
d_o=%inf;//Object distance (m)
P=1/d_o+1/d_i;//Power (D)
printf('Power of spectacle lens required = %0.2f D',P)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
500b4090936e6552a6c41a7ee1260c5b27d8e56b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH3/EX3.10/Ex3_10.sce | 669d0c68b1a9dd009dbb4fec2035170590884828 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,263 | sce | Ex3_10.sce | //Initilization of variables
F1=100 //lb
F2=80 //lb
F3=120 //lb
F4=150 //lb
theta1=((60*%pi)/180) //radians
theta2=((45*%pi)/180) //radians
theta3=((90*%pi)/180) //radians
theta4=((75*%pi)/180) //radians
//Distance from point O
x1=-5 //ft
y1=20 //ft
x2=10 //ft
y2=10 //ft
x3=25 //ft
y3=25 //ft
x4=35 //ft... |
710567ba5bf980aa3428f012b6dfd72b2f8862a2 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/comment/0035.tst | d765701884456bc5fcbb2d624d8b5328b554b23d | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5 | tst | 0035.tst | ;A!
|
213b89e8628bb395c4918045f834308cdba70956 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/543.sci | 4b9d7e7d27034ccac20006631eeb930fa70110d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sci | 543.sci | yN2=0.75
yH2=1-yN2
P=800 //atm
T= -70+273.2 //K
TcH2=33 //K
TcN2=126.2 //K
PcH2=12.8 //atm
PcN2=33.5 //atm |
a47073355c204913ef926c7510c80f42e36a4020 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/flags24.tst | 60e2602c7d81d214577222810d8d651d6b8eaef0 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | tst | flags24.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the BST (bit store to register T) instruction"
; @Result: "flags.t = 0, r17 = 11"
start:
set
ldi r17, 0b1011
bst r17, 2
end:
break
|
12e54cebe4ed2b67690ac9ef17d700e962b51c1f | 12d276a808c8403c4dd3b13dea1edb8720127311 | /tryout.sce | 8a2714e247db5edc2a2fe1900c49ba6b78d7af14 | [] | no_license | npytabitha/VOT3 | 85b317ae4c120eb2bda125b28c1ad27243d40eab | 51032662c4a6f0960393aad4ebf9b3289c641155 | refs/heads/develop | 2021-01-10T05:44:31.715364 | 2015-10-01T13:34:47 | 2015-10-01T13:34:47 | 43,233,510 | 0 | 1 | null | 2015-10-02T09:05:14 | 2015-09-27T03:56:10 | Scilab | UTF-8 | Scilab | false | false | 182 | sce | tryout.sce | begin;
array {
1;
2;
3;
4;
} firstArray;
array {
5;
6;
7;
8;
} secArray;
array {
9;
10;
11;
12;
} thirdArray;
array {
13;
14;
15;
16;
} fourthArray;
begin_pcl;
|
ac8ca75929f4d49d5ee0198f6f99105abe23ae15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.10/Ch01Ex10.sci | a2343bc493af76323f48524dd4132532f572d3e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sci | Ch01Ex10.sci | // Scilab Code Ex1.10 Heat equivalent of mass: Pg:23 (2008)
c = 3e+08; // Speed of light, m/s
J = 4.18; // Joule's equivalent of heat, joule per calorie
m = 4.18e-03; // Mass of the substance, kg
U = m*c^2; // Energy equivalent of mass, J
Q = U/J; // Heat equivalent of mass, calorie
printf("\nThe h... |
7bdeed96b8cd17aff2439baed4863fa66a8444d1 | de14a6897d4397228a52bacb8905b8807370ef4b | /sierpinski_iteratif.sce | e6db64ef39256143c172bd84f50c004107b24371 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | sierpinski_iteratif.sce | function Y=f0(X)
Y=[1/2 0;0 1/2]*X;
endfunction
function Y=f1(X)
Y=[1/2 0;0 1/2]*X+[1/2;0];
endfunction
function Y=f2(X)
Y=[1/2 0;0 1/2]*X+[1/4;sqrt(3)/4];
endfunction
N=input("Entrez n, le nombre de points a dessiner : ");
T=zeros(2,N); T(:,1)=[0,0]'; //initialisation de l'ensemble de N points
for i=2:... |
74781cf9a0d5af978e061827718aa7b13225d360 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH9/EX9.15/9_15.sce | 3468a627df832b8ecf818c3caeec8bbe192a6ec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,627 | sce | 9_15.sce | //pathname=get_absolute_file_path('9.15.sce')
//filename=pathname+filesep()+'9.15-data.sci'
//exec(filename)
//Ambient temperature(in K):
T1=17+273
//Temperature at state 3(in K):
T3=1400
T5=420
//Ambient pressure(in bar):
p1=1
//As pressure ratio is 10, pressure at state 2(in bar):
p2=10
p3=10
p4=1
//Pre... |
c9774c4447b793824e6cb50351d2efbafd8097b7 | 5d9dcd8d7c07378c89699ed1ecaa0ff9b78feb7d | /queue.sce | 034da3830ddc7fa7617a4361ec12bb69e1bf66fc | [] | no_license | Ayush-pahuja/simulation-and-modelling | fb31db837b61ea7d10a87380ab5fdd6609180c24 | 468ece44d9218926d8122c2fe2fe52b4e6b4b91d | refs/heads/main | 2023-08-05T01:50:59.879964 | 2021-10-06T08:14:05 | 2021-10-06T08:14:05 | 389,921,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | queue.sce | ar_t=[0,6,7,11,14,20,25]
sr_t=[2,3,1,1,1,1,2]
sr_b=[0,0,0,0,0,0,0]
sr_e=[2,0,0,0,0,0,0]
SI=[0,0,0,0,0,0,0]
cw=[0,0,0,0,0,0,0]
for i=1:6
if ar_t(i+1)>=sr_e(i) then //when the server is available
cw(i+1)=0 //customer wait
sr_b(i+1)=ar_t(i+1)
SI(i+1)=sr_b(i+1)-sr_e(i) // server idl... |
30ae35ed609adbc849b86ed1c4541c39d24d1d39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH3/EX3.13/Ex3_13.sce | 66fcd25d4425ee642292c660cbaeefe9f1b6349c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ex3_13.sce | //Chapter 3: Thermodynamic and Chemical Equilibrium
//Problem: 13
clc;
//Declaration of Constants
l_v = 101 //in cal /g, Latent headt of vap.
mwt = 78 // molecular weight of benzene
//Declaration of Variable
m = 2
Tb = 80.2 // C, boiling point of benzene
// Solution
Tb = T... |
bdbf5016d79029145b2373787b318e2e57e4c679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH8/EX8.4/8_4.sce | 5b3629b13dd51b0d53b0bfde24adadd5f9909c7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 8_4.sce | clc
//initialisation of variables
clear
r=1
r1=1
//CALCULATIONS
e1= r+r1
e2= r-r1
//RESULTS
printf ('vorticity = %.f*k',e1)
printf ('\n vorticity = %.f',e2)
|
96af78ea588d2f2a2f71e853e598d69a0e7c2562 | 1b3c63cb7f854378c5f1991637692ae2bf8265ac | /rlocusplot/testrlocus.sce | f07bfae69b52a3c6dd244abe9afd0f37f5181326 | [] | no_license | FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox | 9900107267e5f508f77858d128e01293966e9e10 | 2878a38e4e55806b1777f9da2e0395f321e1c952 | refs/heads/master | 2020-12-02T18:20:34.659219 | 2017-10-26T12:26:57 | 2017-10-26T12:26:57 | 96,516,803 | 0 | 1 | null | 2017-10-26T13:44:56 | 2017-07-07T08:24:44 | Scilab | UTF-8 | Scilab | false | false | 81 | sce | testrlocus.sce | sys=ssrand(1,1,4);
scf(1);
h=rlocusplot(sys);
h.background=-3;h.font_size=2;
|
a26bbe99f8d9e7d271effebfabf0bf0386c7328b | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH8/EX8.2/ex_2.sce | 60c4aca7fd06855f0b54be697246b56b509f6f78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_2.sce | // EXAMPLE (PG 512)
A = [1 2 1;2 2 3;-1 -3 0] // Coefficient matrix
b = [0 3 2]' // Right hand matrix
[l,u] = lu(A)
// l is lower triangular matrix & u is upper triangular matrix
l*u
if(A==l*u)
disp('A = LU is verified')
end
det(A)
det(u)
if(det(A)==d... |
60162a41245afab463cb748df1bb6ace7b469731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH21/EX21.2/Ex21_2.sce | 7f1eed9212ca9e40b6e799521296dbb63cc0f0ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,713 | sce | Ex21_2.sce | //Example 21.2
R1=1;//Resistance of resistor 1 (ohm)
R2=6;//Resistance of resistor 2 (ohm)
R3=13;//Resistance of resistor 3 (ohm)
R_p=1/(1/R1+1/R2+1/R3);//Equivalent resistance for parallel combination (ohm)
printf('a.Total resistance = %0.3f ohm',R_p)
V=12;//Voltage (V)
I=V/R_p;//Current (A)
printf('\nb.Curr... |
c51440c86a990f603a0833cc7da9ec9d1ba6523a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%lss_f_s.sci | ad5d9b81be4aa1eb17adccc614d17fbdbf86b9c1 | [
"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 | 258 | sci | %lss_f_s.sci | function [s]=%lss_f_s(s1,d2)
//operation s=[s1;d2]
//!
// origine s. steer inria 1987
// Copyright INRIA
[a1,b1,c1,d1,x1,dom1]=s1(2:7)
[n1,m1]=size(c1);[p2,m2]=size(d2);
s=tlist(['lss','A','B','C','D','X0','dt'],a1,b1,[c1;0*ones(p2,m1)],[d1;d2],x1,dom1)
|
2f7602b8c5f5435877c36fb255ae7621389ce331 | 34dcfd0a3d3a661a623ba00e305d50592ca2e9cf | /Newton.sce | 9da30548d86bd4c5680d844ca90306e3d598ef56 | [] | no_license | kelly-santos/M-todo-N-merico | 65bc023d4a705c83037634540d2b6ae1ed967242 | 9ae1c6d1eeb8bb855b8d911e896d2a918762c66b | refs/heads/main | 2022-12-27T10:17:16.964964 | 2020-10-12T17:12:15 | 2020-10-12T17:12:15 | 303,458,411 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Newton.sce | function y =t0(x)
y = -481 +408 +589.64 * x + (-2349.163 * x^2)/2
endfunction
function y=dv0(x)
y=589.64 -2349.163*x
endfunction
x = 0
contador=0
while(1)
contador = contador +1
xOld = x;
x= abs(x - t0(x)/dv0(x))
Er = abs((x-xOld)/x)
if (Er < 10^-3) then
break
... |
a0d0617645f7af0125b6afc87df813fbc20de1a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH10/EX10.7/Ex10_7.sce | 4c142c3182fe0ed34bdc5a1fd136da1bcc757a81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_7.sce | clear
//
//
//
//Variable declaration
d=50*10**-6 //diameter(m)
NA=0.2 //numerical aperture(m)
lamda=1*10**-6 //wavelength(m)
//Calculation
N=4.9*(d*NA/lamda)**2 //total number of guided modes
//Result
printf("\n total number of guided modes is %0.3f",N)
|
da2fb08154faea781e5304eb7d7b1f0ae4227e4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH6/EX6.6/Ex6_6.sce | a8945ae570c8c1f9d2b42316879612bf8d5a4f3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_6.sce | //Example 6.6
G=6.67*10^-11;//Universal gravitational constant (N.m^2/kg^2)
M=5.98*10^24;//Mass of the Earth (kg)
r=3.84*10^8;//Radius of Moon's orbit (m)
g=G*M/r^2;//Acceleration due to gravity (m/s^2)
printf('a.Acceleration due to Earth''s gravity at the distance of the moon = %0.2e m/s^2',g)
delta_theta=2*%pi;... |
571a97c210a042f22c692594200655f9810b7ea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH8/EX8.3/Ex8_3.sce | 1e809cdde5cd5674fa0fd0efe23eef429c0bab6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Ex8_3.sce | //Ex8_3 PG-8.6
clc
Amid=100;//mid-band gain
f1=1e3;//loer cut-off frequency
f=20;//frquency at which the gain of the amplifier should be found
A=Amid/sqrt(1+(f1/f)^2)
printf("\n Therefore the gain of the amplifier at f = 20Hz is %.0f \n",A)
|
005dafaa87413de64d8639694c7070458cb590f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH10/EX10.1.1/10_1_1.sce | 3867c294ff2122367cfb1cecad843e1a73717d3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | 10_1_1.sce | //CAPTION:Conventional_Magnetron
//chapter_no.-10, page_no.-448
//Example_no.10-1-1
clc;
//(a) Calculate_the_cyclotron_angular_frequency
em=1.759*(10^11);//em=e/m=charge_is_to_mass_ratio
B0=.336;//Magnetic_flux_density
wc=(em)*B0;
disp(wc,'The_cyclotron_angular_frequency(in rad)is =');
//(b) Calcu... |
998d85185542f871f0a9711aadf2a7016eb625a4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH13/EX13.3/Ex13_3.sce | 59cceef57068b4610f2ac976868f8e5aef92e528 | [] | 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 | 131 | sce | Ex13_3.sce | errcatch(-1,"stop");mode(2);//Ex:13.3
;
;
wl=8;
f=30*10^6;
v=f*wl;
printf("The veocity of propagation =%d m/s",v);
exit();
|
7c63c04be39c224e90529335bf3e3154517c1971 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH5/EX5.16/example5_16.sce | d7ec70d76ad6ae4ec113676460f6cb3f66398459 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example5_16.sce |
//example 5.16
//calculate transmissibility of acquifer
//draw daown in main well
clc;
//given
H=25; //static water level
rw=0.15; //radius of well
Q=5400; //discharge(litre/min)
t=24; //time of discharge
r1=30; //distance of first well
s1=1.11; //drawdown
h1... |
0c35263495cbb8ff89f7a246a65502e34ee40be3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH11/EX11.1/ex_11_1.sce | 5dbf753d0417d4ab955d9b19bb0b174cc7786bdb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | ex_11_1.sce | ////Ex 11.1
clc;
clear;
close;
format('v',5);
Vin=12.5;//V
Ri=10;//kohm
IS=10^-13;//A
T=27;//degree C
VT=26;//mV
Vref=Ri*IS*1000;//V
Vout=-VT*10^-3*log(Vin/Vref);//V
disp(Vout,"Output Voltahe, Vout(V)");
|
e596b575e2f75212c6b0dc092a35dded8bc7658a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.33/Ex7_33.sce | 46c2f6a571d97983dfa96078b9f19f883aa9f7c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,296 | sce | Ex7_33.sce | //Example 7.33
// DC servo system redesign with modified with dominant second
// order pole locations.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
//Transfer function model for DC Servo
s=poly(0,'s... |
ba960ae64066858d5ea5ee2f40a22600330279e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH2/EX2.2/Ex2_2.sce | fc7cbea66f9c0a2649574f1622fe4556ebaa84b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | Ex2_2.sce | // Ex2_2 Page:31 (2014)
clc; clear;
h = 6.626e-034; // Planck's constant, Js
c = 3e+08; // Speed of light, m/s
e = 1.6e-019; // Energy equivalent of 1 eV, J
m = 9.1e-031; // Mass of an electron, kg
w0 = 2.28; // Work function of sodium, eV
lambda = 400e-09; // Wavelength of light, m
nu = c/lambda; //... |
ff1b43b8312291a6c4ca52cc4f05c1b913df81d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH1/EX1.3.b/Example1_3_b.sce | b36910b8c54b70c2be501d126784a0d16d796a61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Example1_3_b.sce | //Example 1.3 (b)
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Calculate Following Summations
clear;
clc ;
close ;
syms n;
X= symsum (%e^(2*n),n ,0, 0);
//Display the result in command window
disp (X,"The Value of summation comes out to be:"); |
d2a5b1b235cb33156f7ee506f46c853b766b4ea4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH10/EX10.4/Ex10_4.sce | 2dd32e8b715f8ab023f9b872cb1fee241887cbd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Ex10_4.sce |
//Variable declaration
R=20 //resistance across which voltage is to be calculated(ohms)
//Calculations
a = [35 -20 ; -20 50] //solving two linear mesh equations
b = [50;-100]
x = a\b
i=x(1)-x(2) //current through 20 ohms resistor(ohms)
V=20*i //voltage across 20 o... |
26e271ba96a5e09aa25be51edd5909f92f6299be | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/arma/prbs_a.sci | c0b75c1af88f7ff21fbe2a35a9af6df7cb45a97d | [
"MIT",
"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 | 762 | sci | prbs_a.sci | //<u>=prbs_a(n,nc,ids)
//<u>=prbs_a(n,nc,[ids])
// Tirage de PRBS
// tirage de u=<u0,u1,...,u_(n-1)>;
// a valeurs dans {-1,1} et changeant nc fois de signe
// au plus.
// Si on veut fixer les dates de changement de signe on peut
// fournir une variable de plus ids qui est un vecteur
// donnant les indices de changemen... |
d800b534d8d2dd7a5031c6759217151783ee8691 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.28/Ex2_28.sce | a897714471570246a90fa9439283b660d5bf9023 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | Ex2_28.sce | clear
//
//Initilization of Variables
L=9 //m //Length of rigid bar
L_b=3000 //Length of bar
A_b=1000 //mm**2 //Area of bar
E_b=1*10**5 //N/mm**2 //Modulus of Elasticity of brasss bar
L_s=5000 //mm //Length of steel bar
A_s=445 //mm**2 //Area of steel bar
E_s=2*10**5 //N/mm**2 //Modulus of elasticity of steel bar
P=3... |
7110641c92716aeb0eae16968c4e35b0bd5bfc36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH6/EX6.21/Ex6_21.sce | 3aec6bca9a9545a07a69cecf90ec6142e0e95b8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | sce | Ex6_21.sce | clear all; clc;
disp("Scilab Code Ex 6.21 : ")
//Given:
M = 2; //kNm
Ew = 12; //GPa
Est = 200; //GPa
bw = 150/1000; //m
t = 20/1000; //m
rib = 9/1000;//m
//Section Properties:
n = (Ew/Est);
bst = n*bw;
y1 = t/2;
A1 = t*bw;
y2 = bw/2 + t;
A2 = rib*bw;
y_bar = (y1*A1 +y2*A2)/(A1+A2);
I1 = (1/... |
4ce1c9672f0f177501c59f2bc144cbcedcd307c5 | 27a721095f94b336dd8b88c9d90cb92ca4ab4996 | /Scripts/GS para Informe.sci | ff993dca2953ef59cdfacf4ca0abac7289551f43 | [] | no_license | ECipolatti/Calculo-Numerico | f5201774402680a419345db4fd8f0af686c79e7a | 86369f9010c408854fd141d819bc11b1ab4590c1 | refs/heads/master | 2021-05-06T06:46:10.292226 | 2017-12-11T18:41:46 | 2017-12-11T18:41:46 | 113,894,883 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sci | GS para Informe.sci |
[A2,b2,x2]=make_matrix(250)
[A5,b5,x5]=make_matrix(500);
[A10,b10,x10]=make_matrix(1000);
[t2,d2,l2,u2,rho2]=make_t(A2,2,0.9);
[t5,d5,l5,u5,rho5]=make_t(A5,2,0.9);
[t10,d10,l10,u10,rho10]=make_t(A10,2,0.9);
[x2sol, nit2, rh2, time2]=gauss_seidel(A2,b2,x2,100,1e-5);
[x5sol, nit5, rh5, time5]=gauss_seidel(A5... |
d28085ff96d62b49721417f97a5563ed039fd9ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH5/EX5.4/EX4.sce | d94e263e3f622e514223b35e88c3e5720ca571a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | EX4.sce | // Example 5.4: VCEQ, ICQ
clc, clear
VBE=0.7; // in volts
betaf=45;
// From Fig. 5.14
VEE=9; // in volts
RB=100e3; // in ohms
RC=1.2e3; // in ohms
// Applying KVL in the clockwise direction base emitter loop
IB=(VEE-VBE)/RB; // in amperes
IC=betaf*IB; // in amperes
// Writing KVL for the collector loop
VCE=... |
2acd4882d693c313f00c7391336bc5b39e23769d | 717ddeb7e700373742c617a95e25a2376565112c | /476/CH6/EX6.30/Example_6_30.sce | 0770da46d33afc87f39a84d0a8363f3715447e38 | [] | 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 | 562 | sce | Example_6_30.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 6
//Thermodynamic Properties of Pure Fluids
//Example 30
clear;
clc;
//Given:
M = 24.32; //molecular wt of solid magnesium
T = 300; //temperature in K
P = 10; //pressure in bar
Po = 1; //reference state pressure (bar)
d = 1.745*10^3; //de... |
b4db52c62cce3bea0bcff7aa1910a444a5a61106 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/oldcase.tst | b7d941c98dfc0276dd9928f3e0fb317e5b43a5cc | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | tst | oldcase.tst | # test ability to recall old cases
# oldcase_v1 is a gas plant created with an old version of VMGSim
# and is a file version 1 case
recall oldcase_v1.s42
#print a couple of product streams
units Field
/S6.Out
/T1.LiquidDraw_9_reboilerL
# change feed temperature - HX1 has temp cross
S1.In.T = 55
/S6.Out
/T1.LiquidDraw... |
698f5b4d704d803adb75b1516b80384d3c1af9b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.13/Example4_13.sce | def868d03310dd7f204cedde7d1d877eb887f377 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 909 | sce | Example4_13.sce | //Exa 4.13
clc;
clear;
close;
format('v',5)
//Given data :
r=5/2;//mm
rdash=2.176*r*10^-3;//m
daa_dash=sqrt(6^2+16^2);//m
dbb_dash=6;//m
dcc_dash=daa_dash;//m
dab=8;//m
dab_dash=sqrt(6^2+8^2);//m
dbc=8;//m
dbc_dash=sqrt(6^2+8^2);//m
dca=16;//m
dca_dash=6;//m
Dsa=sqrt(rdash*daa_dash);//m
Dsb=sqrt(rdash... |
0a7798fe6022632a74917a454b86347b08fe45be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH9/EX9.2/ex_9_2.sce | ac5c866627272b291fe60723d11bb553d9ad52c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | ex_9_2.sce | //Example 9.2 // current
clc;
clear;
close;
//given data :
n=10; // dry cells of emf
E=1.5; // emf in volts
R=4.9; // resistance in ohm
r=1; // internal resistance in ohm
I=(n*E)/((n*R)+(r));
disp(I,"current flowing,I(A) = ")
|
e8b611132a317fbc0de36bb05920ee55718ecb25 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/percent/%pflss.sci | 143a32e2307e16ef408d77dbeb28bbe6ac65ccde | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sci | %pflss.sci | function [s]=%pflss(d1,s2)
//[s]=%pflss(d1,s2) <=> s=[d1,s2]
//!
[a2,b2,c2,d2,x2,dom2]=s2(2:7)
[n2,m2]=size(c2);[p1,m1]=size(d1)
s=tlist(['lss','A','B','C','D','X0','dt'],a2,b2,[0*ones(p1,m2);c2],[d1;d2],x2,dom2)
|
149cfe0ab03b087d4eb03f287c852a3e604cfcae | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.87/Ex87.sce | 93432fa8f47810a712a55ba6acb2a875e67d5b1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Ex87.sce | //Ex:87
clc;
clear;
close;
t_e1=100;// in K
t_e2=60;// in K
t_e3=20;// in K
G1=10^6;
G2=10^4;
t_e=t_e1+(t_e2/G1)+(t_e3/G1*G2);
printf("The equivalent noise temperature=%d K",t_e); |
3255ff1e17cee28319613cc335d8034e37790973 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH4/EX4.17/4_17.sce | fb43f08d45cf80e8c31b53d6a6c1d1bc91bb8924 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 4_17.sce | clc
//Intitalisation of variables
clear
p= 795 //mm
v= 0.501 //lit
w= 1.35 //gms
m= 92 //gms
R= 0.082 //lit-atm mole^-1 K^-1
T= 45 //C
//CALCULATIONS
a= ((p/760)*v/((w/m)*R*(273+T)))-1
//RESULTS
printf ('Fraction of N2O4 dissociated into NO2 = %.3f',a)
|
879bf2999024aa05c95b27592b68766b826eae76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH27/EX27.15/example27_15.sce | f9f3ba0620fb31f743473f102a971ca0d906541c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | example27_15.sce | l=10*10^(-6);
rs=5;
c=0.01*10^(-6);
fr0=sqrt(1-c*rs^2/l)/(2*%pi*sqrt(l*c));
x_l=2*%pi*fr0*l;
disp("Part a");
r=sqrt(l/c);
rmin=r-rs;
disp("the minimum resistance (in Ω) to be added is"); disp(rmin);
disp("Part b");
f=100*10^3;
fr=sqrt(1-c*rs^2/l)/(2*%pi*sqrt(l*c));
q=fr/f;
fr1=sqrt(q^2/(1+q^2))/(2*%pi*sqrt... |
5d68d56438e7fe5086c92cacc71ca018dfd501fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.28/example_28.sce | 26b253515fc636c80af15ef1b0eab82fdf464f52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | example_28.sce | clc
clear
printf("example 3.28 page number 115\n\n")
//to find the top and bottom product,condenser duty,heat input to rebpoiler
hF = 171 //in kJ/kg
hD = 67 //in kJ/kg
hL = hD;
hW = 200 //in kJ/kg
H = 540 //in kJ/kg
disp('part 1')
F = 1000 //in kg/h
xF = 0.40
xW = 0.02;
xD = 0.97;
D = F*(xF-... |
6d035b46236fcd3a9e611bb7e7ed173d9f971f20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH9/EX9.2.16/Ex9_2_16.sce | 4a6ea74d5d3c2eda0baf1acdcea74151ae776ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,398 | sce | Ex9_2_16.sce | // Scilab Code Ex9.2.16: Page-420(2008)
clc; clear;
m = 3; n = 3; p = 2; // Coefficients of intercepts along three axes
m_inv = 1/m; // Reciprocate the first coefficient
n_inv = 1/n; // Reciprocate the second coefficient
p_inv = 1/p; // Reciprocate the third coefficient
mul_fact = double(lcm(int32(... |
ebb61d977a11a8c8518eee778b6bc3037b89d1b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.9/ch1_ex_9.sce | 3b32b2f9d905c47268dc6cb5a4dfddfa59685fd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sce | ch1_ex_9.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 9
disp("CHAPTER 1");
disp("EXAMPLE 9");
//VARIABLE INITIALIZATION
r1=1; //in Ohms
r2=2; //in Ohms
r3=3; //in Ohms
r4=1; //in Ohms
//SOLUTION
//de... |
f1969a560bb7947b228c9b003fb975941c8bd9a8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/util/syssize.sci | 0532b77be2a33702477b6ba2662aa752c68977b0 | [
"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 | 600 | sci | syssize.sci | function [io,s]=syssize(sys)
//Old stuff
// io=syssize(sys)
// [io,ns]=syssize(sys)
//
// sys : syslin list
// io : io=[nout,nin]
// nout: nb. ouputs
// nin : nb. inputs
// s : nb states.
// Copyright INRIA
select type(sys)
case 1 then
io=size(sys)
s=[]
case 16 then... |
ec8cf7cb341e2976b9a3f5eb04ebb1239375d562 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH4/EX4.6/Exa_4_6.sce | 11a2127a34abc63c8d4a328307c5860368b0fb1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | Exa_4_6.sce | //Example No. 4.6
clc;
clear;
close;
format('v',6);
//Given Data :
cycle1=50;//hp
t1=20;//sec
cycle2=100;//hp
t2=20;//sec
cycle3=150;//hp
t3=10;//sec
cycle4=120;//hp
t4=20;//sec
cycle5=0;//hp
t5=15;//sec
hp_rms=sqrt((cycle1^2*t1+cycle2^2*t2+cycle3^2*t3+cycle4^2*t4+cycle5^2*t5)/(t1+t2+t3+t4+t5));//hp
... |
14cddd02fcd308a3870592142e24a9451ee8965d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.1/Example7_1.sce | 190bad5647029504b21995f3ee19ec0b65d66384 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Example7_1.sce | //Chapter-7,Example7_1,pg 7-13
N=100
B=0.15
A=10*8*10^-6
I=5*10^-3
Td=N*B*A*I//deflecting torque
K=0.2*10^-6//spring const.
theta=Td/K//deflecting angle
printf("deflection theta=%.2f deg",theta)
|
5ca72d8ca3eebd453ccebbf22d8ba1acc3b0dc99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH13/EX13.3/Example13_3.sce | d729c9102800eadba23478491253bd93b0ee1d6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,032 | sce | Example13_3.sce | //Example 13.3
//Program to calculate the number of received photons per bit for:
//(a)ASK heterodyne synchronous detection
//(b)ASK heterodyne asynchronous detection
//(c)PSK homodyne detection
clear;
clc ;
close ;
//Given data
eeta=1; //*100 percent - EFFICIENCY FOR IDEAL RECEIVER
BER=10^(-... |
9cd801d2a4627e3d638aa27e2a175980f3b05575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH23/EX23.8/Ex23_8.sce | 2773846d9b93fef29cc435017a7cddf2f3d8bf19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex23_8.sce |
Pin=60D+3//power input
p=1D+3//stator losses
Pg=Pin-p//air gap power
s=3/100//slip
Pm=Pg*(1-s)
Prcu=s*Pg
mprintf("Mechanical power developed by the motor=%f kW with rotor copper losses of %f kW",Pm/1000,Prcu/1000)
|
e7eaa4ae7cbc1f7584b3dabed97db8265471c900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH7/EX7.1.c/Example7_1_c.sce | af6d77a4804f7533f4ee8b856b3f72df838a3812 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | Example7_1_c.sce | //Example 7.1(c)
clear;
clc;
fL=0.1;
fH=1*10^6;
enw=20*10^(-9);
fce=200;
En=enw*sqrt((fce*log(fH/fL))+fH-fL);
printf("Estimated RMS input voltage=%.1f uV",En*10^6); |
84a344efbea5f6ebb842dd5ea7069a0dca4b0305 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH14/EX14.1/14_1.sce | f134b61c75e4976f54d63ac8f1c5840a8d233abf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | 14_1.sce | clc
//initialisation of variables
clear
M2= 92 //gms
M1= 78 //gms
pb= 118.2 //mm
pt= 36.7 //mm
//CALCULATIONS
n1= M2/(M1+M2)
n2= 1-n1
p1= n1*pb
p2= n2*pt
w= p1*M1/(p2*M2)
//RESULTS
printf ('partial pressure of benzene = %.f mm',p1)
printf ('\n partial pressure of toulene = %.1f mm',p2)
printf ('\n weigh... |
5adb73dd449a0dc93f9f707fd3a00089b1b30f4a | 47adabef6eb8924aff50314b05cfd89f90e19aec | /macros/http_header.sci | f0aa6cd3efbf852530054a8d2d2ee4712328eb11 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sci | http_header.sci | function header = http_header(keys, values)
function [keys, values] = http_header(header)
function header = http_header()
// This function does the following:
// 1. Given a set of key-value pairs, generates HTTP Header text
// 2. Given HTTP Header text, returns key-value pairs as Scilab vectors
// 3. Given no input,... |
885d4a7683d02556328a50c3ac9cbad6571cf5b7 | 58f8869b2dcd9296bbe82d9923d1d7d801937351 | /11/5.sce | f941f199090286454665cd7746fd8a57002a2dd0 | [
"MIT"
] | permissive | keivalya/2ME01 | f325d38ea7adace9a10bc3d83e7868d59dbc4066 | 3147e0d7319ddeb6e79fde5d0851dcc423a7e23d | refs/heads/master | 2023-02-10T20:15:29.593282 | 2021-01-09T02:39:20 | 2021-01-09T02:39:20 | 282,954,965 | 0 | 0 | MIT | 2020-10-04T02:22:40 | 2020-07-27T16:33:06 | Scilab | UTF-8 | Scilab | false | false | 698 | sce | 5.sce | deff('x=f(y,t)','x=y*((sin(t))^3)')
// Euler Modified
y=1;
y1=1;
printf('x. y')
for i=0:0.1:3
printf('\n %4.4f. %4.4f',i,y1)
n = 10*i + 1
abc(n) = y1
t=y1;
y=y+(0.1*f(i,y));
y1=y1+((0.1/2)*(f(i+0.05,y+0.01*f(i+0.1,y))));
y=y1;
end
// Runge Kutta
y=1
printf('\n\nx. ... |
378b7d6767d21ae06cf79992c75a4852b9e9d630 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_mem_read.sci | 6740fb3a9ab1fb2876977be9a0e32a19a6231c54 | [
"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 | 5,431 | sci | mdaq_mem_read.sci | function [x,y,typ] = mdaq_mem_read(job,arg1,arg2)
mem_write_desc = ["This block reads data from MicroDAQ memory.";
"Block with mdaqMemWrite function can be used to";
"change Standalone and Ext model parameters. ";
"Mode parameter sets block read behaviour.";
"If Trigger input is enabled, rising";
... |
728b393f883ffcf16e0e5baa5b7339d9778d9c11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH12/EX12.1/12_1.sce | 0f29e8f46aa72697c2f33a927834a105bfd8c945 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | 12_1.sce | //chapter 12
//example 12.1
//page 364
clear all;
clc ;
//given
Av=75;//voltage gain
R10=12;//coupling resistor in kohm
R7=R10;
R9=1000*R10/Av;
printf("\nFeedback component R9 is %d ohm,select 150ohm standard value to make Av \nslightly greater than specified.",R9);
R9=150;
f1=100;
XC6=1000*R10/100;
C6=10... |
da1aa624d6323e789879b71321c8b946b13adabb | 6a585e9d0b48fac0f59ea732a39adba1ec9c1450 | /conversionGrados.sce | 01b1b44ac6026898d614e93af880a804645ed2cd | [] | no_license | josrangel/scilabEjemplos | e02cbe23976177837859f04cc2e3a4c7199bd25f | 0523f1b350d53696525a9cd0d6bb58cd5e2a59ef | refs/heads/master | 2022-12-28T21:19:28.795105 | 2020-10-10T13:06:47 | 2020-10-10T13:06:47 | 302,904,089 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | conversionGrados.sce |
function convCAF(celcius)
fahrenheit=1.8*celcius+32
printf("La conversion de grados Celsius a Fahrenheit es : %f", fahrenheit)
endfunction
function convFAC(fahrenheit)
celcius=(fahrenheit-32)/1.8
printf("La conversion de grados Fahrenheit a Celsius es : %f",celcius)
endfunction
|
12e5bddfc507f3c42ac5e3578109b3e5b3e8db9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /509/CH9/EX9.3/9_3.sci | 896061f90e8f1035485ffe2f9adc424d5ae111e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sci | 9_3.sci | //Chapter 9 Example 3//
clc
clear
// radius of each conductor=r,distance beween the seperation of conductors=d//
r=2;// in cm//
d=300;// in cms//
// inductance of conductor=l//
r1=0.7788*r;
l1=2*10^-7*(log(d/r1));
printf("\n Inductance of one conductor = %.9f H/m\n",l1);
// to convert it into mH/km multiply b... |
9c99c89ee16263166378877be2bacf75bac335d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.19.1/Ex8_19.sce | 0cfc6cc447c35e9e1edb29f88fe79d8c75f84b1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | Ex8_19.sce | clc
clear
n=1.2;
m=5;
R=0.287;
T2=107+273;
T1=27+273;
IP=[n/(n-1)]*[m/60]*[R*(T2-T1)];
printf('Air Power: %3.2f kW',IP);
printf('\n');
BP=14;
Em=IP*100/BP;
printf('Mechanical Efficiency: %3.0f Percent',Em);
printf('\n');
|
4b109931ee6645b95b1aefc2722055b838d13095 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH2/EX2.5/Ex2_5.sce | c3511c44a2f5931cf602e11e88f29e8eec16f204 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_5.sce | //Ex 2.5 page 69
clc;
clear;
close;
// VG=10*IG -- eqn(1)
PGM=5;// W
PGav=.5;// W
VS=12;// V
Tp=20;// us
// PGM = VG*IG where VG=10*IG
IG=sqrt(PGM/10);// A
VG=10*IG;// V
// During the application of pulse VS = VG+(IG*RS)
RS=(VS-VG)/IG ;// ohm
f=PGav/(PGM*Tp*10**-6)/1000;// kHz
delta=f*1000*Tp*10**-6;// Duty Cycle
pr... |
5dd2c55a36ee5295fe7680914c1bd8c0120a325d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_2.tst | 210235a3478afe738bb11be5af54c88ff3852436 | [] | 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 | 24,022 | tst | bow.12_2.tst | 12 30:0.02857142857142857 39:0.5 76:1.0 82:0.1111111111111111 90:0.025 161:0.5 173:0.3333333333333333 263:0.25 286:0.14285714285714285 354:0.3333333333333333 845:0.5 1472:1.0 2909:1.0 5131:1.0 5153:1.0
12 30:0.02857142857142857 59:0.3333333333333333 90:0.025 100:0.14285714285714285 168:0.07142857142857142 230:1.0 234:0... |
20102a04ab71148373711a33f3334286219b0729 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/upsample.sci | 98a9e6d4421235fac9ce8b142bdbe2d25fbc0dc2 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,565 | sci | upsample.sci | // Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// 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_... |
9bf3ed384ee11223ebd3f4de890acfb94fc3c4cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH7/EX7.10/7_10.sce | 3873dd8627a67f56bcea1ec28c25d7a59d4084d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_10.sce | clc
//initialisation
m=2*10^-3//kg
R=8.31//j/mol/k
p=2*10^5
v=8.2*10^-4
a=0.136//pa m^6
M=28*10^-3//kg/
//CALCULATIONS
t=(p*v*M)/(R*m)
T=(M/(m*R))*(p+(m*m*a/(M*M*v*v)))*(v-(m*b/M))
//results
printf(' \n temperature for a perfect gas= % 1f k',t)
printf(' \n temperature for vanderwaals gas= % 1f k',T)
|
bdbb14826db646cea2761aa63fa88d239f8d1060 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/61.tst | 2258fcede9c461bdb5c2755bbef53d16402e7eac | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 55 | tst | 61.tst | int f(float x, int y), g(int z) /* ошибка */
{
} |
a5c4e55568ff890bbb4563136721d10d45500c09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH19/EX19.3/19_3.sce | a2353a4ace0aa32ba55a6eeeebbd6f05a7a8ece7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | sce | 19_3.sce | clear//
//Variables
V1 = 230 //Primary voltage (in volts)
N2byN1 = 1.0/2.0 //Turns ratio
RL = 200 //Resistance (in ohm)
//Calculation
V2 = V1 * N2byN1 //Secondary voltage (in volts)
Vm = 2**0.5 * V2 //Maximum value of secondary voltage (in volts)
I... |
f14f018b2f11060d9f7bb6ef3366368fe05b735c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.23/Chapter2_Example23.sce | bbb074647e86027635fff3adc75f00dc2fc9e6d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | Chapter2_Example23.sce | clc
clear
//INPUT DATA
//CH4+2O2=CO2+2H2O ;//STOICHIOMETRIC REACTION
//CASE I
//H2O in the products is liquid
//CASE II
//H2O in the products is gas
Hr=-74.87;//enthalpy of reactants
Hp1=-964.2;//enthalpy of products
Hp2=-876.18;//enthalpy of products
R=8.314*10^-3;//gas constant
t=298;//initial temperature... |
0d53eae839c55cd64a7a5df0acf010c83ac7823f | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.88/Ex88.sce | 129df50ce5c7b373b4eddfe00daa841001678dad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex88.sce | //Ex:88
clc;
clear;
close;
F1=2;
F2=10;
F3=15;
F4=20;
G1=100;
G2=10;
G3=10;
F=F1+(F2-1)/G1+(F3-1)/(G1*G2)+(F4-1)/(G1*G2*G3);
f=10*log(F)/log(10);//noise figure in db
printf("The noise figure=%f db",f); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.