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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7eab47cb0d8a5125cefe7a970066d8bf0f08f46f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.25/Exa2_25.sce | c230837cf49f7afbee220069e8be36baa14520c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Exa2_25.sce | //Exa2.25
clc;
clear;
close;
//given data
toh=1.73//in micro-ohm-cm
tohDesh=1.74;//in micro-ohm-cm
sigma=1/toh;// conductivities of pure metal
sigmaDesh=1/tohDesh;//conductivities metal with impurity
PercentImpurity=((sigma-sigmaDesh)/sigma)*100;
disp(" Percent impurity in the rod is : "+string(PercentImpurit... |
9699fe8edc0fc324a0f51bed539d7d52611a4a23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.51/EX3_51.sce | 0d3e605d5d2c051a90a178b8f424f134563564e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | EX3_51.sce | //EXAMPLE 3-51 PG NO -205
R1=1.5;
X=2.396;
X1=sqrt(X^2-R1^2);
disp('i) X1 is = '+string (X1) +'ohm ');
IL=100;
Ip=IL/1.732;
disp('ii) Peak Current = '+string (Ip) +' A ');
R2=4.5;
Z=7.1878;
X2=sqrt(Z^2-R2^2)
disp('iii) X2 is = '+string (X2) +'ohm ');
PF=R2/(Z);
dis... |
63da254ead4aeff5d2a585662db6e6a4bd6a3e32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH12/EX12.4/Ex12_4.sce | c00cc64c7581c483a12648dd038dae374e75489d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | Ex12_4.sce | clc;
close();
clear();
//page no 405
//prob no. 12.4
B=2*10^6; //Hz
R=50 ; //ohm
kT0=4*10^-21;
Nav=kT0*B;
mprintf('Noise power=%.0f fW',Nav*10^15);
|
efba0df1221b75e981f8545fe315cab8fcc465c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH12/EX12.4/12_4.sce | 9e7c66f05b56737e8d9357d241ffa3290bed0f8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | 12_4.sce | clc
//Initialization of variables
Wisen=-1.78
eta=0.85
t2=60 //F
t1=486.21 //F
//calculations
Wact=Wisen/eta
dsabd= (Wact+Wisen)/(t2+459.7)
disp("From steam tables,")
ha=28.06
hb=30.15
hd=1203.2
he=818.4
sa=0.0555
sb=0.0561
sd=1.4454
se=1.576
Qa=hd-hb
Qr=ha-he
W2=Qr+Qa
Wt=hd-he
Wp=ha-hb
etat=W2/Q... |
2aea71817a3c13876243ffa64b9fe5f21a71ef35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH5/EX5.2/Example5_2.sce | 675a1618cb01a15fd48dfcc18d65449ebc3e5740 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | Example5_2.sce | ///Example 5.2 Page No:82
///Measured length of bar
//Input data
clc;
clear;
MSR=5.3; //Main scale reading of prismatic bar in cm
NCD=6; //Number of coinciding Vernier Scale division
Lc=0.1*10^-3; //Least count of the instrument in mm
Ne=(-0.2*10^-3); //Instrument bears a na... |
64bae4e7ac9a2e41c81bf8c779ef1be13b65594e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH5/EX5.18/Example5_18.sce | cc64aecb0e606e65a9953f9b66682c1fd3ff19a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | Example5_18.sce | //Example 5.18
clc;
clear;
close;
format('v',8);
//Given data :
D1=40/100;//meter
D2=15/100;//meter
x=25/100;//meter
g=9.81;//gravity constant
K=0.98;//Coeff. of meter
S=1;//sp. gravity
Sm=13.6;//sp. gravity of mercury
A1=%pi*D1^2/4;//m^2
A2=%pi*D2^2/4;//m^2
C=A1*A2*sqrt(2*g)/sqrt(A1^2-A2^2);//venturi co... |
7e5d9c7a664ed16379d82b9951869526a3c7815d | 3497e4f99295f9d0a26c0281451b49f83a91561b | /algo/tests/synchronous-shopping-3.tst | af911e7f4bd6e865382916fec46d9b6e67cb50ac | [] | no_license | lkuligin/hrank | e2af0bda04faf52198dccc6583c7e37366a105ba | ec8c5a9d7e7ac153c63cd3b2d3edf128c5e5ac79 | refs/heads/master | 2021-01-23T07:37:45.139920 | 2017-04-09T08:11:03 | 2017-04-09T08:11:03 | 86,432,729 | 0 | 0 | null | 2017-04-09T08:08:53 | 2017-03-28T08:10:16 | Scilab | UTF-8 | Scilab | false | false | 1,105 | tst | synchronous-shopping-3.tst | 50 100 7
0
1 3
3 4 5 7
0
0
0
0
0
1 4
2 3 5
1 3
0
0
0
2 3 4
0
0
0
1 3
0
0
0
1 5
1 3
1 3
0
1 1
1 5
0
1 3
1 1
2 2 6
0
1 5
0
0
0
0
1 4
1 7
0
1 5
0
0
1 3
0
0
0
0
1 4
34 42 44
20 15 1000
44 31 375
30 14 504
13 6 734
39 45 968
9 20 497
47 37 568
17 41 916
15 8 361
44 25 535
45 24 424
36 26 396
29 25 916
24 32 156
33 9 591
39 ... |
6d48caca7dee325bd585b5f83943b7a580316ce8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/m2sci/%i2sci.sci | 32a3b35359c311540f9105345e4bb87569c4abb9 | [
"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 | 3,051 | sci | %i2sci.sci | function [stk,txt,top]=%i2sci()
//
//!
// Copyright INRIA
txt=[]
rhs=abs(evstr(op(3)))-2
sto=stk(top);top=top-1
sfrom=stk(top);top=top-1
top=top-rhs+1
s2=stk(top)
if rhs==1 then
if s2(1)<>':' then
if sto(3)=='0'|sto(4)=='0' then
txt=sto(1)+'(1,'+s2(1)+') = '+sfrom(1)+';'
stk=list(op(2),'-1','?','?',st... |
83aad834c1804477d8c4122f799fd4ed36263435 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH1/EX1.2/ex1_2.sce | 5262e2892d861f6e9fac4c617b42a20a76ed1bf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | ex1_2.sce | //Find the range of tolerance
clear;
clc;
//soltion
//given
//color coding
blue=6;
gold=-1;
gray=8;
silver=10;
//band pattern
band1=gray;
band2=blue;
band3=gold;
band4=silver;
//resistor color coding
r=(band1*10+band2)*10^(band3);
tol=r*(band4/100)//tolerance
ulr=r+tol;//upper limit of resistance
l... |
e9ca9f950b18829c76dc152d3a85aeca197b9446 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH17/EX17.10/Ex17_10.sce | ee5178e0a295674fddb87a931c8dae12961987c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Ex17_10.sce |
V=250//terminal voltage
Il=450//load current
Rsh=50//shunt field resistance
Ish=V/Rsh
Ia=Ish+Il
Ra=.05//armature resistance
Eg=V+Ia*Ra
P=4//no. of poles
phi=.05//flux per pole in Wb
n=120//no. of slots on armature
c=4//conductors per slot
Z=n*c//total no. of conductors
A=P//no. of parallel paths
N=60*Eg*... |
a19c1badc3764e6cd93b8943dc527b9b141e9756 | b6ff5e342f3675087d2704199bb5a46362b5fc20 | /1GI/S2/Calcul Scientifique/issam/Scilab Programs/Gauss Seidel Adapted.sce | f6517d866ba2954a146d938ec78c4d607adc09d4 | [] | no_license | Ssouh/EHTP | 75f5071282a1b0ed500d5c27e73b514fefe7af61 | 96558e59e398f652ae2e8a560b9dcd4ee3e8c6a8 | refs/heads/main | 2023-03-14T11:56:46.424726 | 2021-03-04T09:49:05 | 2021-03-04T09:49:05 | 330,687,825 | 0 | 0 | null | 2021-01-24T18:02:23 | 2021-01-18T14:15:22 | null | UTF-8 | Scilab | false | false | 650 | sce | Gauss Seidel Adapted.sce | function x=SOR(A,b,x0,w,tol,maxit)
[n,m]=size(A); x=x0; C=-A;
for i=1:n
C(i,i)=0;
end
for i=1:n
C(i,1:n) = C(i,1:n)/A(i,i);
end
for i=1:n
r(i,1) = b(i)/A(i,i);
end
i = 1;
disp(' i x1 x2 x3');
while(i <= maxit)
x... |
ba13f60560971385cb392c4de2f0b8cd4214d49f | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH5/EX5.1/Example_5_1.sce | dbe95e30c64b2bce600f86bafd88bc8994a1d937 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | Example_5_1.sce | //Diffusion Flux Computation
clear;
clc;
printf("\tExample 5.1\n");
Ca=1.2; //Concentration at A in kg/m^3
Cb=0.8; //Concentration at B in kg/m^3
xa=5*10^-3; //Position 1 in m
xb=10*10^-3; //Position 2 in m
D=3*10^-11; //Diffusion coefficient in m^2/s
J=-D*(Ca-Cb)/(xa-xb);
print... |
c85937e760f38ce0fecfe6692269ca4e995e4671 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH20/EX20.15/20_15.sce | 78a8293c9446ebd74d35699af4be43345347f14d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | 20_15.sce | clear;
clc;
x=1;
e=1;
i=e/x;
r=7.5e6;
v=6.6e3;
i=r/(sqrt(3)*v);
i=fix(i);
x2=.09;
i2=e/x2;
I2=i2*i;
I2=fix(I2/10)*10
idc=sqrt(2)*I2;
mc=idc*2;
x3=.15;
i3=e/x3;
I3=i3*i;
ib=I3*1.4;
Mva=sqrt(3)*v*ib;
idc=round(idc/1e2)*1e2;
mc=round(mc/1e2)*1e2;
I3=round(I3/10)*10;
Mva=fix(Mva/1e4)*1e4
mprintf("su... |
4fdb624344bdb97a746dc645db8f6a2885e3de1f | 0919e454d74183a2ee1a4b05a37bcf9154e64d87 | /02/Nand2Inc16.tst | 0dbb3bb9dd478e97edd851e0190e1554e9aadadd | [] | 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 | 277 | tst | Nand2Inc16.tst | load Nand2Inc16.hdl,
output-file Nand2Inc16.out,
compare-to Nand2Inc16.cmp,
output-list in%B1.16.1 out%B1.16.1;
set in %B0000000000000000,
eval, output;
set in %B0000000000000001,
eval, output;
set in %B0000000000000011,
eval, output;
set in %B0111111111111111,
eval, output;
|
6eb11309d05cf7f5378e585b890ae0c8f331b26a | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/TESTS/test_check_corners.sce | de87a069d9dbbc1d4f23fcd5f049db22ab1a00b0 | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | test_check_corners.sce | //Load the points on your own
N = size(points,1);
j = 1;
for i = 2:N-1
lnA = points(i-1:i, :);
lnB = points(i:i+1, :);
vA(j,1:2) = lnA(2, :) - lnA(1,:);
vB(j,1:2) = lnB(2, :) - lnB(1,:);
fAlpha(j) = atan(vA(j, 2) / vA(j, 1));
fBeta(j) = atan(vB(j, 2) / vB(j, 1));
fCornerAngle(j) = abs(fA... |
b9acdde792616845620c8e93fd5c97efc0417650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH3/EX3.8/3_8.sce | 965e88ea064379eb722b2d06dbb3c3c6d3533800 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 74 | sce | 3_8.sce | Ceq=10+20+40
Q=200*[10,20,40]
disp(Q)
Qnet=Q(1)+Q(2)+Q(3)
disp(Qnet) |
088d9ccbd85c4132a94ee884aba35ed8206a19a2 | a30001e45f0342ced961e0431af0f297bf00a538 | /TraceFileDiagnostics/SciLabScripts/GeoPatMakeCylinderSides.sci | 5c6d6ad75fc9c5960989233aeb93cf6963bc184d | [] | no_license | jsayres82/TraceTool | 54697a1c744d0838e894a9bfdce800a4ba6dbbde | 68826d7b31d0fa064b758d24fc408dbe27763e8b | refs/heads/master | 2021-08-30T08:03:07.854850 | 2017-12-16T23:12:05 | 2017-12-16T23:12:05 | 109,863,651 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sci | GeoPatMakeCylinderSides.sci | function [PatchData_X,PatchData_Y,PatchData_Z] = GeoPatMakeCylinderSides(VertexData, SideCount)
// Vertices
n_side = SideCount;
// Side Patches
for i_pat=1:n_side-1
Index_Patch(i_pat,:) = [i_pat,i_pat+1,i_pat+1+n_side,i_pat+n_side];
end
Index_Patch(n_side,:) = [n_side,1,1+n_side,2*n_side];
for i_pat=1... |
0639a3df05edefbb9a0e216485a9574919c91fbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.2/Ex3_2.sce | 9123673c3729f6713aeb68ee1f7025cf96604b11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Ex3_2.sce | clc;
//ex3.2
Vprms=120; //volt
Vppk=Vprms/0.707; //volt
Np=5;
Ns=1;
Vspk=(Ns/Np)*Vppk; //volt
Vf=0.7; //volt
VLpk=Vspk-Vf //volt
disp('V',Vppk,"Vppk=");//The answers vary due to round off error
disp('V',Vspk,"Vspk="); //The answers vary due to round off error
disp('V',VLpk,"VLpk="); //The answers vary due to... |
4453e7da1bde622f92dcb234a48820eaf136b30e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH4/EX4.6/Ex4_6.sce | 9a40f546658c2dce34ad06d16dc2cebada025e00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | Ex4_6.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 4.4.2\n')
//given data
m=0.9//mass in kg
K=1960//stiffness in N/m
Y=5//amp of vibration of support in m
N=1150//frequency in cycles per min
//calculations
Wn=sqrt(K/m)
W=N*2*%pi/60//frequency of vibration of support
bet=(W/Wn)
//case 1
zeta=... |
72eda43864aa10f0ded24d473d8342a8e947bc4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH18/EX18.6/18_6.sce | e363fbcf4e4a7f8727aec121f8b061ab10ed488a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,403 | sce | 18_6.sce | clear;
clc;
//Example - 18.6
//Page number - 653
printf("Example - 18.6 and Page number - 653\n\n");
// Given
T_1 = 298.15;//[K] - Standard reaction temperature
V = 2.0*10^(-3);//[m^(3)] - Volume of calorimeter
m = 10;//[g] - Mass of liquid octane
Mol_wt = 114;//[g/mol] - Molecular weight of octane
n = m/... |
b9f4f6d9f808fb1f7bc4056bffee3ffc201273a0 | f7d0f456b8e29ce4f81d9cbe1ca2a57fede3bc5d | /solvers/cyclist/bench/entl/09.tst | 0eacd1a8efe501d1aafce491ae988c26c439ad90 | [] | no_license | mihasighi/smtcomp14-sl | 22467201b3f7e74e2001e259134c040d80afd6b6 | 8dd4ff648e16e31acd193f882082df349e211251 | refs/heads/master | 2021-06-06T17:01:18.752298 | 2018-06-28T10:04:32 | 2018-06-28T10:04:32 | 19,853,856 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 48 | tst | 09.tst | DLL(x,y,z,w) * DLL(a,x,w,b) |- DLL(a,y,z,b)
|
fb3d13bbfb60cc7f150dc568159b8eee70604e36 | 518b77b4f75f1e023ec173d2cfa465812d9ffa2b | /oqpskmod/oqpskmod.sci | 5f739f69d70e94925538e2435d34da00c86c8d4d | [] | no_license | senthilkumarIRTT/Scilab-communication-toolbox | 94fd7d1ad7408805817bb22a37a8e8eef135733b | b1bfd518daf8496f3a2c056d4dd996de327e1acc | refs/heads/master | 2021-01-10T20:30:24.937033 | 2015-12-20T00:17:31 | 2015-12-20T00:17:31 | 41,198,649 | 0 | 0 | null | 2015-08-22T10:01:31 | 2015-08-22T08:40:51 | null | UTF-8 | Scilab | false | false | 2,151 | sci | oqpskmod.sci | function y = oqpskmod(x,varargin);
//OQPSKMOD Offset quadrature phase shift keying modulation.
// Y = OQPSKMOD(X) outputs the complex envelope of the modulation of the
// message signal X using OQPSK modulation. The message signal must
// consist of integers between 0 and 3. For two-dimensional signals, the
// fun... |
ca21f412f0847ca508d2ebd107b5a65dcdfdf5a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.21/EX2_21.sce | 0387e6b5adbf33ae1b1cf10199fdd55279a6087f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | EX2_21.sce | //EXAMPLE 2-21 PG NO-70
T=0.05; //TIME
// (400*integrate('0','t',0.025,))^2=--0.8333
//100*integrate('0.01','t',0.02,0.02)=-1.738
V=(-0.833-1.738*10^-86)/T;
disp('i) Voltage (V) is = '+string (V) +' V ');
disp('i) Square Root of Voltage (V) is = '... |
d54e59bc6f44e59c0079733a9aae5ac0fdf12b2a | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/tmp/ai_task.sce | c4118d623f714bccf72067b98543f315c0a340cf | [
"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 | 185 | sce | ai_task.sce | ai = mdaqTask("ai");
dsp = mdaqTask("dsp");
//dsp.init("led_demo_scig/led_demo.out", -1, -1)
//dsp.start()
ai.init(1, [-10,10], %f, 1000, 1)
data = ai.read(1000, 10)
plot(data)
|
c86e8d55afc5726be4da19d56ea9ed5bd3d73522 | b55b3f4ecb80cc7d4e6ccad7124adeae711f42f7 | /Digital_communication/Lab_1/unit_ramp.sce | b79c12e16fed66d254adb92a85f05c7affa6d375 | [] | no_license | shivamchopra99/Lab-Works | 9ada57e2093be3290be18ed21289e4bd6fc68df2 | 0dbb533ca502c2256089970acfd3420f43568801 | refs/heads/master | 2020-09-21T04:52:25.548472 | 2019-11-18T09:23:18 | 2019-11-18T09:23:18 | 224,683,152 | 1 | 0 | null | 2019-11-28T15:35:53 | 2019-11-28T15:35:52 | null | UTF-8 | Scilab | false | false | 436 | sce | unit_ramp.sce | // Ramp signal
clear
n = -5:5
x = [zeros(1,5), 0:5]
subplot(2,2,1)
plot2d(n,x)
title("Unit Ramp (continuous)")
xlabel("X")
ylabel("Y")
subplot(2,2,2)
plot2d3(n,x)
title("Unit Ramp (Discrete)")
xlabel("X")
ylabel("Y")
// sinewave
f = 0.2
t = 0:0.1:10
x1 = sin(2*%pi*t*f)
subplot(2,2,3)
plot(t,x1)
title("Sine Wave(Con... |
1db6ed29c7520aac67760bd87294de56c5255125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH5/EX5.12/5_12.sce | 47f7b053f5f9b740adfa67ca9ff8656aefdbc4f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | 5_12.sce | // example:-5.12,page no.-265.
// program to find the excitation coefficient of the forward travelling TE10 mode.
syms M Pm uo w j a b Io x y z ro pi Z1 h1 A1p P1 no ko uo eo;
ko=w*sqrt(uo*eo);
no=sqrt(uo/eo);
h1=sin(pi*x/a)*(-1/Z1); // in x direction.
P1=(2/Z1)*integ(integ(sin(pi*x/a)^2,x),y);
P1=limit(P1,x,a)-... |
452136fe8cb29b97f9cc363d62e48558f5ee69d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.16/example16.sce | da2f5584667110000048519467f396d224805e4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,717 | sce | example16.sce | clc
clear
//input data
psi=0.4//Pressure coefficient
m=3.5//Mass flow rate of air in kg/s
N=750//The speed of fan in rpm
T1=308//The static temperature at the entry in K
Dh=0.26//The hub diameter in m
DhDt=1/3//The hub to tip ratio
P1=98.4*10^3//The static pressure at entry in Pa
nm=0.9//The mechanical effic... |
cee7f32e2cb6b9b2e10472b0adc99f976cae0ae3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH11/EX11.7/11Ex7.sce | db81b884e1e3eeb1ef898e9c7c123b0bde2ce7b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | 11Ex7.sce | //Ex 7
clc;
clear;
close;
sp=100;
cp=96;
profit=sp-cp;
profitPercent=(profit/cp)*100;
printf("The profit is %3.2f percent",profitPercent);
|
ae24ad20a143ea72e8907ca6f8b71bab97783a1b | c6c7eb21f96a4f31fbebb18724ed9bbca4bb661b | /Regress_Lineaire.sce | 4bff2d1cce5f32631aecf5491cadf53eaf8960c5 | [] | no_license | Yunagiri/MT12 | 766b022278b220e85358919241fff3f0f1c7e665 | 6da3df8fb7a8507f600ee51bd916e605c6838ee0 | refs/heads/master | 2020-12-05T11:04:18.108037 | 2020-01-06T11:45:31 | 2020-01-06T11:45:31 | 232,089,292 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | Regress_Lineaire.sce |
function [X] = coeff_regression(M) //Donne les coefficients de la droite de la regression
Y = M(:,2);
A = [M(:,1) ones(size(M,1),1)];
X = inv(A'*A)*A'*Y;
endfunction
//On va poser la largeur de fenetre Lfen
Lfen = 50;
D = []
function [Z] = regress_lineaire(M)
for i = Lfen:(size(M,1) - Lfen +1)
... |
3501c1065e0ad57eee66fb62750e36b4f59dcdf0 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/imc_controller/data.sce | 5b59d2f5e9c58d27584330362358e40c8b4deb95 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,390 | sce | data.sce | 0.100E+00 0.262E+02 0.394E+02 0.600E+01
0.110E+01 0.267E+02 0.393E+02 0.580E+01
0.210E+01 0.264E+02 0.385E+02 0.530E+01
0.310E+01 0.264E+02 0.397E+02 0.560E+01
0.410E+01 0.262E+02 0.400E+02 0.560E+01
0.510E+01 0.261E+02 0.400E+02 0.580E+01
0.610E+01 0.260E+02 0.400E+02 0.590E+01
0.71... |
377c1bba65681b1bed2b6e74349ca2cce174ebf7 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/i2v_pfet_gatefgota.sci | c974e70429ca043ded370f70943728b6c7300bc7 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,519 | sci | i2v_pfet_gatefgota.sci | function [x,y,typ]=i2v_pfet_gatefgota(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then standard_draw(arg1);
case 'getinputs' then [x,y,typ]=standard_inputs(arg1);
case 'getoutputs' then [x,y,typ]=standard_outputs(arg1);
case 'getorigin' then [x,y]=standard_origin(arg1);
case 'set... |
fd50ecbc6d6b57534e6b6b51b9307ee59ed60b1f | 848985a0f79ca7b51ae07d2a69da499a3093257a | /Assignment-1/GaussJordanAlt.sce | 93417daba52d1f57892212088cf62fa4f027c9a1 | [] | no_license | Gituser143/Linear-Alegebra-SciLab-Assignment | db69f6cf6a2431e553dbd1f067a329dcb7979f41 | 6eef13de5aa3b2f45b0faaff826648738985377a | refs/heads/master | 2020-12-30T04:18:21.185190 | 2020-04-04T07:24:22 | 2020-04-04T07:24:22 | 238,857,772 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | GaussJordanAlt.sce | clc;
clear
A=[1,1,1;1,2,2;1,2,3];
n=length(A(1,:));
Aug=[A, eye(n,n)];
N=1:n;
for i=1:n
dummy1=N;
dummy1(i)=[];
index(i, :) = dummy1;
end
//Forward Elimination
for j=1:n
[dummy2, t] = max(abs(Aug(j:n, j)));
lrow=t+j-1;
Aug([j, lrow], :)=Aug([lrow, j], :);
Aug(j, :)=Aug(j, :)/Aug(j,j);
for i=index(j,:)
Aug(i,... |
feab7353180dada8bbd933f6dd7de082d6d7d8eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH6/EX6.1/6_1.sce | 7c15e07fe8ffe11b54fc60c7f60dd3a93bfc006e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,077 | sce | 6_1.sce | //To Compute the Economical Sizes of the Transformer and its Equipment
//Page 296
clc;
clear;
NC=24; //Number Of Customers Per Block
//We get the Total Annual Cost from the releveant equations as
// TAC = 239.32 + (3.1805*ST) + (3492/ST) + (28170/ST^2) + (0.405*ASL) + (17018/ASL) + (1.134*ASD) + (8273/ASD)
... |
6611ff8cd1553e74667302517bfb6c90d7e8a1ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH5/EX5.3/Example5_3.sce | c7e0ad1c206f33aea00d50dc13269738bb32a937 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | Example5_3.sce | //clear//
//Caption: Program to determine the equation of the streamline passing through any point P
//Example5.3
//page 128
clc;
x = sym('x');
y = sym('y');
z = sym('z');
C1 = integ(1/y,y)+integ(1/x,x);
disp(C1,'C1 = ')
C2 = exp(C1);
disp(C2,'The Stream line Equation C2 = ')
C2 = limit(C2,x,2);
C2 = limit... |
99a2b9f954331278510506bb0debdbe22d9d2bc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH1/EX1.7/example7.sce | ed8105fbc54d3fc96ec3d78d3426a4f913a25b10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | example7.sce | // To add a list of no. using array.
function[]=add(a)
result=sum(a);
printf("addition of no. on the list is=%d",result);
funcprot(0);
endfunction
//calling routine
a=[5 2 7 8 9 4 6]
r=add(a) |
f0a71a84c90ce09061468b12c56e8ed679699dc8 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/NF65WHQ/ATWM1_Working_Memory_MRI_NF65WHQ/ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | eb52dc6883b57f1521e8e8706e95862069ea0329 | [] | 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 | 12,282 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_uncued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds... |
9a70c38045414d52cc44ecf479f68c4ede7587b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.17/ex17.sce | b47bc9b42d128977c60b98ace048f435555f5685 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | ex17.sce | clc
clear
//Input data
g=9.806;//Gravity in m/sec^2
d=13596;//Density of Hg in kg/m^3
Z=9.75;//Level of Hg in cm
dw=1000;//Density of water in kg/m^3
Zw=0.034;//Coloumn of condensate in m
Zo=0.76;//Atmospheric pressure in m of Hg
//Calculations
P=dw*g*Zw;//Pressure in N/m^2
Pa=d*g*Zo;//Atmospheric pressure... |
b28092c507654e5a402598784bcacf3daebf9f27 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/percent/%s_q_p.sci | f4e669ad11226ff14da6b36be13c56228fb603f3 | [
"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 | 174 | sci | %s_q_p.sci | function [z]=%s_q_p(x,y)
//z = x .\ y special cases
// and other matrix polynomial
// Copyright INRIA
[m,n]=size(x)
if m*n==1 then
z=x*ones(y).\y
else
z=x.\y*ones(x)
end
|
4ad37f44390f669d53379302eb460a5fe1ea6812 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH21/EX20.2/EX20_2.sce | 89ccbdab7eed07301a20c520b3583928229ec65d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | EX20_2.sce | // Grob's Basic Electronics 11e
// Chapter No. 20
// Example No. 20_2
clc; clear;
// Calculate the Xl of (a) a 10-H L at 60 Hz and (b) a 5-H L at 60 Hz.
// Given data
f = 60; // Frequency=60 Hz
L1 = 10; // Inductor 1=10 H
L2 = 5; // Inductor 2=5 H
pi = 3.14
Xl1 = 2*pi*f*L1;
disp (Xl1,'The I... |
a8d5cde0a78f1d19f8ec685f2310a373f57a2f4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH10/EX1.11/Ex_B_1_11.sce | 5e767b065ef30a89837f88237aa6065999ac28dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sce | Ex_B_1_11.sce | //Part B Ex 1.11
clc;clear;close;
format('v',5);
//(a)
f=1;//kHz
n=1;//no. of octave(above)
f1=f*2^n;//Hz
disp(f1,"(a) An octave above 1 kHz (in kHz)= ");
//(b)
f=10;//Hz
n=3;//no. of octave(above)
f1=f*2^n;//Hz
disp(f1,"(b) Three octave above 10 Hz (in Hz)= ");
//(c)
f=100;//Hz
n=1;//no. of octave(below... |
4bb0a01da544d2d408bf28a507662d7e5fdc4dc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH4/EX4.5/Ex4_5.sce | 1cc40b809532e008f2ce6d31f0f7d89c533aabcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | Ex4_5.sce | //example 4.5
clc; funcprot(0);
c=50;
//from table
Ncq=6.3;
FS=4;
qu=c*Ncq;
qall=qu/4;
disp(qall,"allowed shear stress in kN/m^2");
|
060a256204dd595d1f71ec646367df82f7266ef6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH6/EX6.6/Example6_6.sce | 655a816706843795d3b6771d711401821baf4a2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | Example6_6.sce |
clear;
clc;
printf("\t Example 6.6\n");
T1=288; // air temperature,K
v=1.8; // air velocity,m/s
l=0.6; // length of panel, m
Q=420; // power per unit area, m^2
T2=378; // maximum temperature of surface, K
T3=Q*l/(0.0278)/(0.453*(l*v/(1.794*10^-5))^(0.50)*(0.709)^(1/3)); //maximum temperature difference ... |
2835c4374df269549ed7291df7672a364da7f83d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH10/EX10.5/Ex10_5.sce | b41b0a16e780c6d873f8483377614872ab52c8d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | Ex10_5.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 10.5\n\n\n");
// Chapter 10 : Refrigeration
// Problem 10.5 (page no. 506)
// Solution
COP=10.72; //In the problem 10.2 //Coefficient of performance
P=2.8; //In the problem 10.2 //The power was 2.8 kW
COPactual=3.8; //Actual Coefficient of performance... |
96724649c2b24d74bd8235bb3c074aa26537c52c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH2/EX2.2/Ex2_2.sce | 41d9815d74335b8931c8252e6f2e7720f4102db2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Ex2_2.sce | clear
//Given
//Variable declaration
L=30 //Length in cm
b=4 //Breadth in cm
d=4 //Depth in cm
P=400*(10**3) //Axial compressive load in N
delL=0.075 //Decrease in length in cm
delb=0.003 //Increase in breadth in cm
//Calculation
A=(b*d)*1e2 ... |
b83ca588b3eee02e8cb2f0fbddd9a2fc2a860b62 | a1161d9e9d26e0a7b20c31269be145f13d9d3e89 | /QA/tests/prep/bpx.tst | 3f8f2cc8b7ba535cb73b22627671b2c82907dc87 | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | nwchemgit/nwchem | c06e7e1fe11b3afad17b167f29a97c4fa3ad0fda | c5a8125298a6ea7d6eb27b07c196ea8041aa7198 | refs/heads/master | 2023-09-05T17:18:34.513866 | 2023-09-02T02:56:47 | 2023-09-02T02:56:47 | 111,318,191 | 425 | 164 | NOASSERTION | 2023-09-11T16:34:14 | 2017-11-19T17:48:21 | Fortran | UTF-8 | Scilab | false | false | 3,883,838 | tst | bpx.tst | NWChem topology file for bpx_em
Generated by the NWChem prepare module
4.60000008/26/10 23:01:29 amber
1
39
29... |
e561dee84ba8fcc197a97e557b4f7c387b5fe3ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH5/EX5.2/ex5_2.sce | 421ffb5f5d740e6f5b1bc5d58016de90f19eb822 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | ex5_2.sce | //Part A Chapter 5 Example 2
clc;
clear;
close;
T1=400+273;//K
T2=15+273;//K
Q12=200;//kJ(Q1-Q2=200)
Q1BYQ2=T1/T2;
Q2=Q12/(Q1BYQ2-1);//kJ
Q1=Q1BYQ2*Q2;//kJ
disp("Heat to be supplied = "+string(Q1)+" kJ");
|
8ce8639647f58395cb981a477fbe08fea44048e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.4/ex5_4.sce | 8e53b7ad96e9d7711320fc92ccb13904a8e1afd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | ex5_4.sce | // Exa 5.4
clc;
clear;
close;
// Given data
f_c = 1;// in kHz
f_c = f_c * 10^3;// in Hz
C = 0.005*10^-6;// in F
R3 = 1/(2*%pi*f_c*C);// in ohm
R3 = R3 * 10^-3;// in k ohm
R2 = R3;// in k ohm
R1 = 33;// in k ohm (standard value)
R_F = 0.586*R1;// in k ohm
disp(R1,"The value of R1 in kΩ is : ")
disp(R3,"The... |
d8d4fe136b60a55b132e20f6ada64f569c2e1af0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH2/EX2.5/Exa2_5.sce | 560030a887876a48c97d5f3d16d8208e6a89ecee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 153 | sce | Exa2_5.sce | //Exa 2.5
clc;
clear;
close;
//given data
Vo=10;//in Volt
SR=1;//in V/uSec
dV=(0.9-0.1)*Vo
dt=dV/SR;//in uSec
disp(dt,"Rise time in uSec is : ") |
f7a4c4bfffb9ccf456a04ebde84b93b7fc01ddb4 | 5ba88d51df971018816fa2d9d33fb3f4d8e94001 | /src/LU_trid.sce | 7c0e432ec15d5b785eb6a5b1dda86549a7c9c907 | [] | no_license | jperret21/heat_equation_CN | d31637f60f75f8d04f0352f6caa1669f9d63f8ff | 603f78c7f20f7c0a10cd410252f3dbf012b73841 | refs/heads/main | 2023-02-04T12:30:21.973354 | 2020-12-24T17:05:25 | 2020-12-24T17:05:25 | 318,242,821 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,448 | sce | LU_trid.sce | format("e",16)
//------------------- Facto Lu pour matrice tridiagonal -----------------------//
/*
Apres l'etude theorique nous povons calculer les coef des diagonales a l'aide de
suite.
*/
//créer une matrice tridiagonal de taille n
function [res]=Create_Mdiag(n)
//B=diag(ones(n,1),1) + diag(ones(n,1),1) + dia... |
8ee4c77caf57d34d15b36b51cffa7ed7df75acb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH2/EX2.4/Ex2_4.sce | 2b7ea36c7ba421b841b5f7194fbe39252bccbfa7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 656 | sce | Ex2_4.sce | // Given:-
w1dot = -60.0 // input work rate in KW
h = 0.171 // heat transfer coefficient,unit in KW/m2 .K
A = 1.0 // outer surface area of gearbox, unit in m2
Tb = 300.0 // outer surface temperature in kelvin
Tf = 293.0 // temper... |
181d8c3b4563551eb37b77fa24cdbcdeace89ca3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3788/CH5/EX5.3.1/Ex5_3_1.sce | 8d24c65fcfcd490cd35c252aa0777bf117253808 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | Ex5_3_1.sce | //Example 5.3.1
//Calculate the pulse rate for the link
//Variables
clc
clear
Bocc = 100000.00
alpha = 0.5
//Result
Rs = Bocc/(1 + alpha)
printf("The correct symbol rate is %f symbols/sec",Rs)
|
542a62d5f2b20d66cce4d04eddcff15a09dee4d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH18/EX18.3.2/Ex18_3_2.sce | 02b7e725f8253bf74d008c9c9822ae7a97f10d5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | Ex18_3_2.sce |
clc
//initialization of variables
D1=0.0035
l=2.59 //cm
t=1.62 //hr
C1=0.03 //mol/l
T1=298 //K
R=0.0821 //arm/mol K
D2=0.005
t2=0.49 //hr
Ps=733 //mm of Hg
P=760 //mm of Hg
//calculations
Lps=D1*l/(t*3600) /(C1*R*T1)
Lp=(D2*l/(t2*3600) + Lps*(C1*R*T1))/(Ps/P)
Lp=2.4*10^-6
sig=Lps/Lp
sig2=0.95
//resul... |
9259f80df3a0ec0ae9bbe1c17ef22c83d47b53c1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/xdess/plotframe.sci | a0fd9ba5fff05fd07c341d8adc8a362943bb667d | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,718 | sci | plotframe.sci | function plotframe(rect,axisdata,flags,legs,subwindow)
// plotframe - fixes scales, tics and grid on a graphic,
//%Syntax
// plotframe(rect,axisdata [,flags or leg or subwindow, ...)
//%Parameters
// rect : [xmin,ymin,xmax,ymax] data boudaries
// axisdata: [nx,mx,ny,my] mx and my x and y tics, nx,ny : x and y ... |
657fa167c933c3dd5528ca268750977c38db187e | 352a2b6c7e8e0fbc76f9dacb222075df0cc1bbc6 | /TP2/traceEx2.sci | 49fb87ba9ea6b904e2c29a25e37fcb8fcb3268cb | [] | no_license | BenFradet/RO05 | 443dd2807b521eefdd65ff901d25b46bce8a0838 | 0aa5855de282bfccacae999536f1424a303ca72e | refs/heads/master | 2020-06-06T17:45:47.138916 | 2014-12-18T15:32:12 | 2014-12-18T15:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sci | traceEx2.sci | function[] = traceEx2()
exec('generateEx2.sci', -1);
n = 1000;
generated = generateEx2(n);
x = linspace(min(generated), max(generated), n);
f1 = zeros(1:n);
for i = 1:n
f1(i) = size(find(generated <= x(i)), 2) / n;
end
f2 = asin(x) / %pi + 1 / 2;
plot(x, f1, 'r--');
pl... |
15e80794bed8af1079e75df2b639d13be2465f24 | 78ff3e16a288175ff606f38ee5ee877d4844773e | /6_chapter/6_08_solution.sce | 4e5773d0e54a45631cc444d17b8b975f544cfedd | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 893 | sce | 6_08_solution.sce | //Solution 6-8
WD=get_absolute_file_path('6_08_solution.sce');
datafile=WD+filesep()+'6_08_example.sci';
clc;
exec(datafile)
//unit conversions
D = D / 100; //from [cm] to [m]
//determination of bending moment
A_c = %pi / 4 * D**2;
mdot = rho * A_c * V //continuity equation
W = m * g
r_1 = l_h / 2; //moment arm for wei... |
d6bfaf71fd2babac4f636c1c3878b7edd91ba607 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_I._A._Khan_1962.zip/Fluid_Mechanics_I._A._Khan_1962/CH3/EX3.1/example3_1.sce | 11ef9e9a4da794c38861ec16035f30ff65bfc81b | [] | 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 | 257 | sce | example3_1.sce | errcatch(-1,"stop");mode(2);
//example 3.1
//page 119
; funcprot(0);
// Initialization of Variable
rho=997.1;
pi=3.14;
v=15;//velocity
A=pi*0.3^2/4;
Q=v*A;
disp(Q,"discharge in (m^3/s)");
m=rho*Q;
disp(m,"mass flow rate(kg/s)=");
exit();
|
c117ee1fde38c124a6cc4a9841d69d9c52908691 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH3/EX3.5/Ex3_5.sce | 88d4325379931778cf678a7044ad26e3af1ca3fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_5.sce | // Exa 3.5
clc;
clear;
// Given data
// A 741C op-amp is used
G=50; // Gain of op-amp
F=20*10^3; // Voltage gain Vs frequency curve is flat upto this frequency(Hz)
// Solution
printf(' The slew rate for 741C is 0.5 V/μsec. \n');
SR=0.5; // V/μsec
printf(' From Eq. 3.51, we can get Vm as : ');
// S... |
161cf840fe6762c88455c1fcda54476604bda285 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH4/EX4.20/example4_20.sce | 4dbf6223519433f29f6bd1308acc45738e661ecc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | example4_20.sce | clc
clear
disp("example 4 20")
p=160 //kva for transformer
pf=0.6 //power factor
el=96 //effective load
eli=120 //effective load increase
rc=eli*(tand(acosd(pf))-tand(acosd(eli/p)))
opf=eli/p
printf(" required capacitor kVAR %dKVAR \n overall power factor %.2f \n it is seen that point d is on %.2f line",rc,op... |
3d4a4369e29acb47cf62c40553aa0e80afc0d618 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH8/EX8.6/Ex8_6.sce | f0a573543a786c766dc9b3c0d2e49c97ad4e40a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sce | Ex8_6.sce | //beamwidth,directivity and capture area
//given
clc
Da=5//metre
f=9d+9//hertz
v=3d+8//m/s
lemda=v/f//metre
A=%pi*(Da^2)/4//actual area
Ac=0.65*A//capture area
NNBW=140*(lemda/Da)//degree
HPBW=70*(lemda/Da)//degree
D=6.4*(Da/lemda)^2//directivity
D_decibles=10*log10(D)//changing to db
NNBW=round(NNBW*1D+4)... |
31b54b44f5f068eeaecb606e502f256b9e86b9a2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.9_15.tst | 793addb38a00c2841cc85a06dd3a6334201ff767 | [] | 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,140 | tst | bow.9_15.tst | 9 36:0.14285714285714285 40:1.0 148:1.0 165:1.0 317:1.0 375:1.0 458:0.3333333333333333 519:1.0
9 11:0.3333333333333333 36:0.14285714285714285 40:1.0 53:0.1111111111111111 114:1.0 158:0.5 339:1.0 735:1.0
9 4:1.0 15:1.0 36:0.14285714285714285 40:1.0 48:0.1 60:0.08333333333333333 99:1.0 126:1.0 148:1.0 171:1.0 355:1.0 612... |
05d263f67512d4bdd911dbcab83e7567fdc9b298 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH5/EX5.20/Ch05Ex20.sce | 2e1d8ac0004af6206248e21fd3bb8fb0f24ba3b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ch05Ex20.sce | //Scilab Code Ex5.20: Page-306 (2011)
clc;clear;
D = 2;....// Distance of the screen from the slit, m
x = 1.6e-02;....// Position of centre of the second dark band, m
m = 2; // Order of diffraction
a = 1.4e-04;....// Width of the slit, m
lambda = a*x/(m*D); // Wavelength of light, m
printf("\n The waveleng... |
e7dd2f750ab1a29c4954225f3e57704e77f9b9f9 | 11af1eb1c00f5192b6d8dc345ce72a83ca94595c | /4_stimuli_and_presentation_scripts/exp_3/RPSL_incidental.sce | 0fe7eef6be485d3e61d86e7dcd8cb4af9ab571ee | [] | no_license | avakiai/statistical-learning | 7e94f3a756e3acf782d3b3f2e4d73f0a0c550f1a | ada72d7957b9504070ebb6efaef1d8000e9f2bae | refs/heads/master | 2023-04-08T21:52:17.888030 | 2021-04-25T11:05:51 | 2021-04-25T11:05:51 | 284,672,107 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 7,964 | sce | RPSL_incidental.sce |
#-----------------------------------------------------------------------------------#
# Incidental Learning Session for Statistical Learning/Rate Perception Study
# Ava Kiai
#
# Log
# 12/5/18 - v.0.0
# 2/4/19 - v.0.1
# 7/16/19 - v.2.0
#----------------------------------------------------------------... |
a555d3b2dc5b438d338fb10b5d4d05c813e61232 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH11/EX11.10/Ex11_10.sce | a0d9c77d4c0c7667f294216fdf71ee3047ebf318 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Ex11_10.sce | //Example 11.10
m_w=8.630-7.800;//Mass of water displaced = apparent loss of mass, (g)
rho_w=1;//Density of water (g/cm^3)
V_w=m_w/rho_w;//Volume of water displaced (cm^3)
V_c=V_w;//Volume of coin = volume of water displaced, (cm^3)
m_c=8.630;//Mass of coin (g)
rho_c=m_c/V_c;//Density of coin (g/cm^3)
printf('De... |
5df3a08feca40b58f563e14167616bf440d596a4 | 6eb42df0d9f452fee0d084e0b0058e4e4ac242ef | /Updated_Exercises_March_2015/Exercise 18/Circulation.sce | 35b63d1ef51691204ebd174d84e127fee164c6df | [] | no_license | huangqingze/ocean_modelling_for_beginners | b21c1b398efe91e4a3aa1fa5a1d732e2eb4ec16e | 3e73a511480c73f4e38b41c17b2defebb53133ed | refs/heads/main | 2023-07-03T12:00:01.326399 | 2021-08-14T21:16:12 | 2021-08-14T21:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,146 | sce | Circulation.sce | //*******************************************
// This is the Scilab script for Exercise 18.
//
// Use the help facility for more information
// on individual functions used.
//
// Author: J. Kaempf, 2015 (updated)
//********************************************
clf; scf(0); a=gcf(); a.figure_size= [900,450];
... |
7ffecf167d3370db463047736b8c46cf07366e4e | b762d5d85061b3dd84ccf900726db6098e257125 | /Trabalho Introdução a Engenharia/Trab/f.sci | 29fef1a34514cd3b8bf75f864b273fe299e882b4 | [] | no_license | hugosousa111/scilab-studies | 8efdba8849fb49eeae6df35e2d9ffd3018bed313 | 5d1db65577683c8fe60bb81620f2281f04688c98 | refs/heads/master | 2020-12-20T18:14:07.202293 | 2020-01-25T11:35:28 | 2020-01-25T11:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | sci | f.sci | function y=f (x)
y=x.^3+x.*2;
endfunction
|
c2af57494b0cd6259d930d667e2b02f386158115 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH14/EX14.1/Ex14_1.sce | 724e5a6d38d2ed95a5713e903cb065def603d8e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,991 | sce | Ex14_1.sce |
// Given:-
// The reaction is CO + .5O2 --- CO2
// Part(a)
T = 298.0 // in kelvin
Rbar = 8.314 // universal gas constant in SI units
// From table A-25
hfbarCO2 = -393520.0 ... |
9b192dad6fdc3d0c19fd6ff60a973fd935b0d8f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH6/EX6.1/1.sce | dfd3048e0f6f507a187a49ffd314e1a38195e71e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,165 | sce | 1.sce | clc
clear
//Input data
eff_com=0.8 //Compressor efficiency
eff_t=0.85 //Turbine efficiency
pr=4 //Pressure ratio including combustion pressure loss(Po2s/Po1)
eff_c=0.98 //Combustion efficiency
eff_m=0.99 //Mechanical transmission efficiency
eff_n=0.9 //Nozzle efficiency
Tmax=1000 //Maximum cycle temperatur... |
fd4933e533d7e623ecc6f9e850e83531b84f55c1 | acc77d4529853fb095109470fae9e629722b2104 | /playground/equality.tst | 0f3dcacb38cd3679c6572a27e09890b8da970acd | [] | no_license | motatoes/nand2tetris | a40bdd9994ef47d9a4a392fe5d89d0c346bf2cf7 | a2b82730326727f51073bd25dd2b99f91baa4691 | refs/heads/master | 2022-12-27T15:47:39.043046 | 2020-10-11T19:45:59 | 2020-10-11T19:45:59 | 300,988,479 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | tst | equality.tst | load equality.hdl;
set a 0, set b 0, eval;
set a 0, set b 1, eval;
set a 1, set b 0, eval;
set a 2, set b 2, eval;
set a 2, set b 3, eval;
set a 7, set b 7, eval;
set a 1, set b 7, eval;
set a 7, set b 3, eval; |
bfbb48acfcb908ffec96c30452e26520d72ab255 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Uralic/vro.tst | f44639f0d61796adf970a87769ae3ee85de25cc9 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,698 | tst | vro.tst | alonõ N;IN+ALL;SG
silm N;IN+ALL;SG
täi N;IN+ALL;SG
herneh N;NOM;SG
tarõ N;PRT;PL
kerge N;PRT;SG
vari N;IN+ALL;SG
tükk N;IN+ALL;PL
kuu N;NOM;SG
talo N;GEN;PL
täüs' N;PRT;SG
kannõl' N;GEN;PL
kogõr N;GEN;SG
tarõ N;GEN;SG
tükk N;IN+ALL;SG
aig N;GEN;SG
silm N;GEN;SG
ehitüs N;PRT;PL
sõda N;PRT;PL
rits'kas N;ALL;PL
kubõl N;GE... |
224a8f4cd2284eb5e6a14ba46acb35dccdd7d3af | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MA22.prev.tst | ecfaf09b711812f0791265c37388b496fc10164e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | tst | MA22.prev.tst | [[3,1,-1,2],[1,3,2,-1],[-2,-1,1,-1],[-1,-2,-1,1]] * [a,b,c,d] = 19*a^3+18*a^2*b+18*a*b^2+19*b^3-12*a^2*c+18*a*b*c+42*b^2*c+12*a*c^2+30*b*c^2+7*c^3+42*a^2*d+18*a*b*d-12*b^2*d-30*a*c*d-30*b*c*d-6*c^2*d+30*a*d^2+12*b*d^2-6*c*d^2+7*d^3
|
8b8f79c08a6be14be1625ae9ad90b4777ac9c755 | 449d555969bfd7befe906877abab098c6e63a0e8 | /863/CH1/EX1.2/Ex1_2.txt | 63aade3d0b6ecefd37ece590a2e91180182f1591 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | txt | Ex1_2.txt | //Caption:Determine (a)Pulse amplitude,tilt,rise time,fall time,PW,PRF,mark to space ratio,and duty cycle (b)tilt
//Ex1.2
clc;
clear;
close;
vs=100//Vertical scale(in mv/divisions)
hs=100//Horizontal scale(in micro sec/division)
e1=380//first peak of waveform(in mv)
e2=350//second peak of waveform(in mv)
E=(e1... |
6b989b4bdf09e5f244620c4f881bacd23e5461f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH8/EX8.2/Ex8_2.sce | 5f8d1fb8aa4bacd609e3eb322a8ad5b09db64ec9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | Ex8_2.sce | clear
//variable declaration
P=(120) // force applied during measurement,N
E=(200000) //Modulus of elasticity for steel,N/mm^2
L=(30) //length of Surveyor’s steel tape,mm
A=15*0.75 //area, mm^2
delta=((P*L*1000)/(A*E)) //Elongation,mm
printf("\n area... |
e48d84d6712daac69e5f289f553c29e8b6784ac0 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testdureeboucle.sce | 3456e33ba2b00327127d4f6d31407fb5bd103208 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | testdureeboucle.sce | //loop calculation time
tic();
S=0;
for i=1:10^6
S=S+i;
end
time=toc()
// matrix operation calculation time
tic();
S=sum(1:10^6);
time=toc()
|
7a58f67f3efed9bf0085940c18a604cc32520194 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.18/exa_2_18.sce | 48c2e1c62351fea4b690b6d2283908eb61af8340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 803 | sce | exa_2_18.sce | // Exa 2.18
clc;
clear;
close;
// Given data
miu_n= 0.13;// in m^2/Vs
miu_p= 0.05;// in m^2/Vs
q=1.6*10^-19;// in C
ni=1.5*10^16;// per m^3
sigma_intrinsic= q*ni*(miu_n+miu_p);// in (Ωm)^-1
disp(sigma_intrinsic,"The conductivity of silicon in Intrinsic condition in (Ωm)^-1 is : ")
// Part (b)
n= 5*10^28/1... |
d54a5f16aaf6443ffcd7ae5682cef24e62808a46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH10/EX10.2/c10_2.sce | fcdf953bcf4b81ebb2ca1fbd0d0cfcdc53effc1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,781 | sce | c10_2.sce | //(10.2) Modify Example 10.1 to allow for temperature differences between the refrigerant and the warm and cold regions as follows. Saturated vapor enters the compressor at 10C. Saturated liquid leaves the condenser at a pressure of 9 bar. Determine for the modified vapor-compression refrigeration cycle (a) the comp... |
5e024526d0b6082e593f3fc5365e39cadcfd23dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.6/example8_6.sce | 118f88ef2ce9c3002e015d5c7537556654bc68c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 807 | sce | example8_6.sce | //Chapter 8
//Example 8_6
//Page 174
clear;clc;
ins=4;
k=0.1;
x=1;
v1=x*1;
v2=x*(1+k);
v3=x*(1+3*k+k^2);
v4=x*(1+6*k+5*k^2);
v=v1+v2+v3+v4;
pv1=v1/v*100;
pv2=v2/v*100;
pv3=v3/v*100;
pv4=v4/v*100;
n=v/ins/v4*100;
printf("\n(i) Voltage across top unit = %.2f V \n", v1);
printf("Voltage across second unit = %.2f V \... |
fa4b814fed21736f24e77c14c4a29f564f105e19 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299.zip/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/CH2/EX2.10/example2_10.sce | a5a746f4fa27e3608eb5fdf8db7c6e0637ae45e1 | [] | 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 | 218 | sce | example2_10.sce | errcatch(-1,"stop");mode(2);//Example 2.10
//inverse Z transform of 1/(1-a*z^-1)
;;
// a=1
function y=f(z);
y=z/(z-1) //upon simplification of the given equation
endfunction
intc(1+%i,2-%i,f)
exit();
|
7da8ced78875871d0ecee8fdc7c4395ed619b6cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH14/EX14.12/Ex14_12.sce | add65bb2931f157b829051bf44fffc93e3cef38d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_12.sce | clc;
close();
clear();
//page no 487
//prob no. 14.12
Ex=3 //V/m
n0=377;
Hy=Ex/n0;
mprintf('(a) The vaulue of Hy is, Hy = %.3f * 10^-3 A/m\n',Hy*10^3);
Px=Ex^2/n0;
mprintf(' (b) The power density Px is, Px = %.3f * 10^-3 W/m^2\n',Px*10^3);
A=10*30;
P=Px*A;
mprintf(' (c) The net power transmitted is, P = ... |
dc59951de1debce4ddea29defdda7a721225d008 | 3ab7c3ba0b53c896747be95b21d2a39dc0ba021a | /V_DifDiv.sce | de39270d483fb89682c25eaea412001b474f80dd | [] | no_license | Farber98/MetodosNumericos | 0752f090eb596926f05bff0730a088eb70e77033 | 5c1be0d0e8274d204b41d0b91778847e6469e6bb | refs/heads/master | 2021-04-23T12:58:07.339435 | 2020-03-25T08:41:32 | 2020-03-25T08:41:32 | 249,926,955 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | V_DifDiv.sce | exec('C:\Users\juan\Desktop\DifDiv.sci', -1);
x=[0 1 2 3]; //Valores de X.
y=[30 38 84 204]; //Valores de Y.
tabla=diferencias(x,y);
disp(tabla,"TABLA DIFERENCIAS DIVIDIDAS:");
|
63a706e8b3a1e32e4066e2114192eef96b8b3ff8 | 845c8ae1a329364b6568f3529318bf19080ab941 | /hdl/LPU.tst | aa58a44e32d88128316fd89e541698735fdd3ca6 | [
"Apache-2.0"
] | permissive | DChristianson/FPGA_lpu | 133a843e4b1df4f225aee01438930d7c42659d08 | 86f6cdc9b0aecfbdccd6ed23b73a5026776db18f | refs/heads/main | 2023-02-26T04:53:41.561411 | 2021-02-04T23:52:08 | 2021-02-04T23:52:08 | 336,049,181 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,931 | tst | LPU.tst | load LPU.hdl,
output-file LPU.out,
compare-to LPU.cmp,
output-list time%S1.4.1 in%D1.3.1 load%B2.1.2 reset%B3.1.3 regaddress%B1.16.1 regload%B3.1.3 outaddress%D1.5.1 out%D1.3.1 rows%D1.5.1 sum%D1.5.1 match%B1.16.1;
// set field reg
set in 44,
set regaddress 0,
set regload 1,
tick,
eval,
output;
tock,
eval,
output;
//... |
d590610e574498cad0b125da52c101cee22aa3c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.86/Ex4_86.sce | 5ccb210515945986f8e833b5c76576f3d3a0469d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | Ex4_86.sce | clc;
p=4000; // rated power of generator
v=250; // rated voltage of generator
ra=0.25; // armature resistance
rf=100; // fiel resistance
vr=20; // improving factor for voltage regulation
g1=120; // generator gain
// after deriving required expression
il=p/v; // load current
vgr=((il*ra)/v)*(1/vr); // pu full l... |
d96983236b947b1a158851277a64516e1520fd1f | 9835e6a99ef801fdd06a9193c1846cae987d740a | /MissionsA/MissionA-2.sce | 695ff18f7fb207c8ee6a48ab0e2be28dfc74173e | [] | no_license | Martinhubz/Exo-Life | c2356d064d2f4727b7a42b104aaca340c0e65a64 | dcea54e689b2d7bb3b454648d7cb6fb5a57f115f | refs/heads/master | 2021-04-30T08:52:50.851933 | 2018-02-13T16:19:34 | 2018-02-13T16:19:34 | 121,385,860 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | MissionA-2.sce | //---------Mission A-2-----------
//-------------------------------------
// Déterminer le taux de gaz de la planète
//
funcprot(0)
getd("../Fonctions")
missPath="./"
nomMission="MissionA-1"
// PBM--->matrice
img = readpbm(missPath+"Mars_surface.pbm");
//Traitement de l'image
level = gazLevel(img);
disp('%',leve... |
5bc46bfd6bd02055e9c41db33526655fcbd68ff1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH5/EX5.5/5_5.sce | 2ecb4293b428ac8e087dfae810a4b2703dcde300 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | 5_5.sce | clear;
clc;
close;
disp("Example 5.5")
//th=theta and b=beta.
gm=1.4 //gamma
//OBLIQUE SHOCK 1
M0=2
th=8 //degree
//from theta-beta-M chart,
b1=37 //degree
Mn1=M0*sind(b1)
p1=0.993 //p=pt2/pt1
Mn2=((2+(gm-1)*Mn1^2)/(2*gm*Mn1^2-(gm-1)))^(1/2)
M2=Mn2/sind(b1-th)
//OBLIQUE SHOCK 2
M0=M2
th=12
//from obli... |
10e97ed7f9d73619f3e45abf2bb7135386a29d6d | e657bbadea88191ece0e48eb447173a4c5f816f6 | /tasks/cw3/gradesOfIntegralFunctions(29_03_17).sci | c7c95c67ab0dd844186ff2413949e1e2759584f0 | [] | no_license | vainia/Learning-SCILAB | c37d6071907ea4fad811071a3164454a927602d8 | d77877b1316b8b3546cb32cb9e29e7ad70d25280 | refs/heads/master | 2020-03-10T09:51:08.444686 | 2018-04-12T23:13:06 | 2018-04-12T23:13:06 | 129,320,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,405 | sci | gradesOfIntegralFunctions(29_03_17).sci | clf
for k=1:100
x(k)=k
e111(k)=calkujPL(f1,k*100)
e121(k)=11/28
e112(k)=calkujPL(f2,k*100)
e122(k)=erf(1)
e211(k)=calkujPP(f1,k*100)
e221(k)=11/28
e212(k)=calkujPP(f2,k*100)
e222(k)=erf(1)
e311(k)=calkujT(f1,k*100)
e321(k)=11/28
e312(k)=calkujT(f2,k*100)
e322(k)=erf(1... |
cc4f4b0abce77629b1e95edbca9bfc41f3a8180c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH14/EX14.1/Ex14_1.sce | 43be88d31c5fca5a4108b5a93ab602b859bc706b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | Ex14_1.sce | //Chapter 14 Determination of Hydroniumion Concentrations
clc;
clear;
//Initialisation of Variables
E= 0.232 //v
R= 0.0592
p= 1 //atm
R1= 0.0296
P= 740 //atm
//CALCULATIONS
pH= E/R
pH1= (E-R1*log10(P/760))/R
e= pH1-pH
e= e-0.002
//RESULTS
mprintf("Error in pH of solution= %.3f",e)
|
eddbfb1ff2c81e5c37f4417f1c4d99e7b2c8edb6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/varn.man.tst | 55ca24d738a36b5770af791c759a5fbe98805a0e | [
"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 | 43 | tst | varn.man.tst | clear;lines(0);
s=poly(0,'s');p=[s^2+1,s];
|
f2c8f9c100897157daa17208981a76c37f796bec | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/wta.sce | a684fe0fe98dafbffdf56dae321331524b87476f | [] | 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 | 230 | sce | wta.sce | style.fontSize=14;
style.displayedLabel="<table> <tr> <td><b>In<br><br>Com</b></td> <td></td> <td></td> <td>WTA</td> <td></td> <td></td> <td align=left><b>Out</b></td> </tr> </table>";
pal5 = xcosPalAddBlock(pal5,"wta",[],style);
|
fc7298e0edc0bece3331687d36e023f00ae91550 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH3/EX3.11/Chapter3_Example11.sce | ae033086dc4d8220c4189453ae3244ccf8c87960 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,728 | sce | Chapter3_Example11.sce | clc
clear
//Input data
E=30;//The amount of excess air in percentage
tp=400;//The temperature at which propane enters in K
ta=300;//The temperature at which air enters in K
T=900;//The temperature at which products leave in K
m=83.7;//The average molar specific heat of propane at constant pressure in kJ/kmolK
M... |
3d0c01b2794d1148f325ffceb4217682c96b6ddf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH4/EX4.18/Ex4_18.sce | 61a3ef6370864da84cdf01a731a65ecdee0fd77e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | Ex4_18.sce | clear;
clc;
disp('Example 4.18');
// aim : To determine
// the heat received by the steam per kilogram
// Given values
// initial
P1 = 4;// pressure, [MN/m^2]
x1 = .95; // dryness fraction
// final
t2 = 350;// temperature,[C]
// solution
// from steam table, at 4 MN/m^2 and x1=.95
hf = 1087... |
8aef3f485413e24952d5ac3a2e2f319f0f10507e | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/call.instr.tst | 24e7786d08333580b828d2065dd207aefcbe8e01 | [] | 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 | 3,225 | tst | call.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x0000010c vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000140 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x0f 0x94 0x00 0x00 call 0x20000
0x4: 0x0e... |
ff0bbd093c691238af35f29a7a6a1f8aed6b6aec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.20/ex6_20.sce | 8cb142cc3d795dbe71fff85c64ff12bcaaebbdd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | ex6_20.sce | // Exa 6.20
format('v',7);clc;clear;close;
// Given data
f = 2;// in kHz
f = f * 10^3;// in Hz
omega = 2*%pi*f;// in rad/sec
Z1 = 10;// in k ohm
Z2 = 50;// in k ohm
R3 = 100;// in k ohm
C3 = 100;// in µF
C3 = C3 * 10^-6;// in F
XC3= 1/(2*%pi*f*C3);
Z3= R3-%i*XC3;// in Ω
// From balance equation, Z1*Z4= Z2*... |
a4ebc9f1250cd8e2b53776166a2c45452f6c50aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH16/EX16.11/Ex16_11.sce | dd558f11376676426b9441e192894a171bb5d0c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | Ex16_11.sce | clc
clear
//Initialization of variables
co2=8.7 //Moles of CO2
co=8.9 //Moles of CO
N2=78.1 //Moles of Nitrogen
M=29 //Molar mass of Air
ba=2.12 //Basis
x4=0.3 //Moles of Ch4
x5=3.7 //Moles of H2
x6=14.7 //moles of H2o
//calculations
O2=N2/3.76
c=14.7
Z=2.238
X=(Z*17-x4*4-x5*2)/2
a=co2+co/2+x4+x6/2
b=3... |
9dfa583be6ba07418cd583e4a16306ad7b6fe121 | f6b3a0c494772f6ca78e2f620df06d393dafcc51 | /graph.sce | 645c959cd20c986be08b4fdbe30556983f79e8f3 | [] | no_license | rishabhthecoder/scilab | f914595f7af9682a731f49fc1203925c9529297a | f0460b09d16d7349f408183d4089553360ca4ba5 | refs/heads/master | 2020-03-31T05:47:43.762852 | 2018-10-07T16:06:20 | 2018-10-07T16:06:20 | 151,958,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | graph.sce | function [z, y, x]=f(x,y,z)
z^2+y^2=1;
x^2+y^2=1;
endfunction
x=linspace(0,10,20);
y=linspace(0,10,20);
z=linspace(0,10,20);
plot(x,y,z)
|
2afbb4a894ba147d5f3d247ff7782b5e6e25b9ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH6/EX6.4/Ex6_4.sce | 7a7313c20d3de602ac0cfa8d4fa427bb4aee0b32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | Ex6_4.sce | //Variable declaration
beta=0.008 //positive gain
//Calculations
Ao=-(8/beta)**(1/3) //A=Ao/2,so beta(A^3)=-1
//Results
printf ("%% change in gain of feedback unit is %.f",Ao/1E-1)
|
e52135f2fb0d9f2ed405ad2fb9a727af4aa42f78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH8/EX8.1.2/example8_2.sce | a3e2eb116bc175ee5db90781b0566a8da5175164 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | example8_2.sce |
//exapple 8.2
clc; funcprot(0);
// Initialization of Variable
P1=5.34*1000;//pressure after 3 min.
P2=9.31*1000;//pressure after 8 min.
a=240/1000000;//dV/dt
P3=15*10^3;//final pressure
//calculation
b=[P1;P2];
A=[a^2*180 a;a^2*480 a];
x=A\b;
//part1
t=(P3-x(2,1)*a)/x(1,1)/a^2;
disp(t,"time at which t... |
705e25a326ee7f99f0cefc7203c8400f228ac5fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH8/EX8.6/Example_8_6.sce | 2f09087e67501270268cde79ec7683b7e1597230 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,121 | sce | Example_8_6.sce | clc
clear
for i=1:60
for j=1:60
A(i,j)=0
end
end
for i=2:9
A(i,i)=-1
A(i,10+i)=1
end
for i=1:10:51
A(i,i)=1
end
for i=10:10:60
A(i,i)=1
end
for i=12:19
A(i,i-10)=1
A(i,i-1)=1
A(i,i)=-4
A(i,i+1)=1
A(i,i+10)=1
end
for i=22:29
A(i,i-10)=1
... |
4875630cbf5f99a7752c9397bd5ec9a6a3491288 | be07c1e346737e6e38bb958d9a66f52f6da2180a | /Regression/MCDC_EXAMPLE/MCDC_EXAMPLE_W.tst | eb07340a0225d4feefdb1d967aa6a33b00ebdeda | [] | no_license | dpreisser/Training | 1bc8840d646306d861f4c7610a28bb23667f06e5 | 97eb58c7963e4725d6a2ad9e8200ca9367c84061 | refs/heads/master | 2021-01-10T13:03:12.508795 | 2016-04-11T12:49:06 | 2016-04-11T12:49:06 | 54,963,561 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 56,714 | tst | MCDC_EXAMPLE_W.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : MCDC_EXAMPLE_W
-- Unit(s) Under Test: mcdc_example
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST... |
3174ac335bea2cdb440817b80f74f6839a3e0910 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH7/EX7.5/Ex7_5.sce | 01f1dd4d0bc1b3acb47113e7cce553a06dd5e0dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | Ex7_5.sce | clc;clear;
//Example 7.5
//given data
P1=5;
T1=450;
P2=1.4;
//calculations
//Ein - Eout = dEsystem/dt
//Ein = Eout
//Wout = m*(h1-h2)
//At P1 and T1
h1=3317.2;
s1=6.8210;
s2=s1;
//At P2 and s2
h2=2967.4;
Wout=h1-h2;
disp(Wout,'work output per unit mass in kJ/kg')
|
e7bdc5949e156d96c3432ab7040be2ff52c124a0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/auto/zeropen.sci | f147eaee04eb8ead0c25ec83d8a03fc12bddfe5b | [
"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 | 350 | sci | zeropen.sci | function [Z,U]=zeropen(Sl)
//Z = sE - F = zero pencil of Sl=[A,B,C,D]
// With U row compression of [B;D] i.e, U*[B;D]=[0;*];
//U*[-sI+A |B; [ Z |0;
// C |D] = [ * |*]
// Copyright INRIA
s=poly(0,'s');
[A,B,C,D]=abcd(Sl);
BD=[B;D];
[n,m]=size(BD);
[U,rk]=rowcomp(BD);U=[U(rk+1:n,:);U(1:rk,:)];
W=U*([-... |
0d511860e3ad7ad08ce0cdc8287584cb98ed8161 | 1effec70f42dbf473f60b45855c2902a9c162d63 | /scripts/exercice6.sce | 9ab1700b84ae1743241c6f3300af0a80ec84b0cf | [] | no_license | OlKakine/TP-Scilab-Analyse | fd7abdc2698e2f1344ddb8e4b0c5904653e76da1 | d99e1947127a05a6ff2c98e99f9e56cfa1afb29e | refs/heads/master | 2020-04-09T00:35:39.797674 | 2016-11-23T12:16:37 | 2016-11-23T12:16:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | exercice6.sce | clc; clf; clear;
Ntermes = input('Entrer le nombre de termes')
s = 0;
x = linspace(-0.5, 0.5, 10000);
//Creation de la serie de Fourier partielle
for i = 0:Ntermes;
s = s + (4/%pi) * sin(2 * (2*i+1) * %pi * x) / (2*i+1);
end;
//Graphique
figure(0);
plot(x, s, 'r');
title("Série de Fourier tronquée de la fonction... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.