blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9344db7ffe9a467e311b2794d312069cd964bcce | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/CylinderSubsonic_NS_WeakDG_LDG_GAUSS.tst | 41533bbd7c6279b8577fac8c92533c726ede78af | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,077 | tst | CylinderSubsonic_NS_WeakDG_LDG_GAUSS.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NS, Subsonic Cylinder, mixed bcs, WeakDG advection and LDG diffusion, SEM</description>
<executable>CompressibleFlowSolver</executable>
<parameters>CylinderSubsonic_NS_WeakDG_LDG_GAUSS.xml</parameters>
<files>
<file description="Session ... |
c89394360f0d5971af0602f93d080181e15be158 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.wine-10-1tra/result6s0.tst | 9632def7f0f5da547677e053ac027670a7e3d5a1 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 780 | tst | result6s0.tst | @relation wine
@attribute Alcohol real[11.0,14.9]
@attribute MalicAcid real[0.7,5.8]
@attribute Ash real[1.3,3.3]
@attribute AlcalinityOfAsh real[10.6,30.0]
@attribute Magnesium real[70.0,162.0]
@attribute TotalPhenols real[0.9,3.9]
@attribute flavanoids real[0.3,5.1]
@attribute NonflavanoidsPhenols real[0.1,0.7]
@attr... |
5e9fbfda4be33e9261437bbd589540c34243ac30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH11/EX11.2/Ex11_2.sce | e6a5876aa7fae6344c09511e83cc42737c7797c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Ex11_2.sce | //example 11.2
clc; funcprot(0);
//parta
K=1.3;
f0=0;
Delta=0.8*30;
D=16/12;
L1=50;
p=4*16/12;
Gamma=110/1000;
L=15*D;
sigma=Gamma*L;
f20=K*sigma*tan(Delta*%pi/180);
Qs=(f0+f20)/2*(p*L)+f20*p*(L1-L);
disp(Qs,"ultimate load in kip");
//partb
FS=4;
Qp=56.45/3+234.7/3+179.9/3;
Qu=Qs+Qp;
Qall=Qu/FS;
dis... |
23445553de37162d9fdd23f5955ef72ea2145018 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH13/EX13.5/Example13_5.sce | e492ee3cda32ab0d2a957ef92bfa2158bb87c11d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 850 | sce | Example13_5.sce | //Example 13.5
clear;
clc;
Kv=10^4;
wz=10^3;
wp=(wz^2)/Kv;
wn=sqrt(wp*Kv);
zeta=(wn/(2*wz))*(1+(wz/Kv));
wmin3dBh=wn*sqrt(1+(2*(zeta^2))+sqrt(1+((1+(2*(zeta^2)))^2)));
tau=1/wn;
printf("(a) zeta=%.2f",zeta);
printf("\n tau=%.d ms",tau*10^3);
printf("\n w-3dB=%.1f krad/s",wmin3d... |
77f9f5041f9c4d70cc7d30505d8621cc275e0c9e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/poly2lsf/poly2lsf8.sce | d0038128db4c941cee05355f31611daf854b5f94 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | poly2lsf8.sce | a = [0.000 -23 -0.6149 -0.9899 -0.0000 -0.0031 -0.0082];
b=poly2lsf(a);
disp(b);
////output
//!--error 10000
//Input to ROOTS must not contain NaN or Inf
//at line 19 of function poly2lsf called by :
//b=poly2lsf(a);
//at line 2 of exec file called by :
//Test/poly2lsf/poly2lsf8.sce', -1
|
7a15e3db4a6c07efbeba905ee1c407150f46c571 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH9/EX9.11/Example9_11.sce | 486a3afb7497ee92c26d8d6ce1e1a8a80c45a803 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,138 | sce | Example9_11.sce | clear;
clc;
// Illustration 9.11
// Page: 423
printf('Illustration 9.11 - Page: 423\n\n');
// solution
//****Data****//
// a:ethanol b:water
zF = 0.3;
xa = 0.3;// [mole fraction of ethanol]
Temp = 78.2;// [OC]
Ao = 0.0462;// [Area of perforations,square m]
t = 0.450;// [m]
//******//
Ma = 46.05;... |
1746bbadeaaf1774d5d5566d01464942f786d835 | f1c4f57c91a0599f048878a924d92f196b0d1034 | /src/main.sce | da3ef1896b57e8a22aac069cb82e3cb8419c1f18 | [
"MIT"
] | permissive | k323r/losCorredors | be06b6ce24e1c0a7521b2be38e7d0916b19ed3f9 | 6b9bb2dbd90078e32d283979f7e018d8f877cdb1 | refs/heads/master | 2020-07-30T21:13:59.606079 | 2017-01-09T12:38:14 | 2017-01-09T12:38:14 | 73,620,329 | 0 | 0 | null | 2017-01-07T15:40:20 | 2016-11-13T14:17:59 | Scilab | UTF-8 | Scilab | false | false | 6,064 | sce | main.sce | clear(); // Löschen aller Variablen
clearglobal(); // Löschen aller globalen Variablen
// Set up working variables
global PI
PI = 3.1415
global DELTA_T
DELTA_T = 0.02
// Set up proband varibales
proband_mass = 85
// Current working directory, load all functions from .sci filess
cwd = get_absolute_file_path('main.sce... |
5462041e0f0c0839f8aa5907ef89f50671347943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH3/EX3.11/3_11.sce | c36f7b19d2fc1abc61f6649ca00a1d173a652e5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_11.sce | clc;
clear;
sg=0.85;
Q1=0.005;//m^3/s
Q2=0.05;//m^3/s
dia1=0.1;//m
dia2=0.06;//m
//A2/A1=dia2/dia1
d=sg*1000;
Arat=(dia2/dia1)^2;
A2=%pi/4*(dia2^2);
pdiffs=(Q1^2)*d*(1-(Arat^2))/(2*1000*(A2^2));
pdiffl=(Q2^2)*d*(1-(Arat^2))/(2*1000*(A2^2));
disp("kPa",pdiffl,"to","kPa",pdiffs,"kPa","The pressure differen... |
38b1b63a619655aebe62b3f81e502cc0fe1455e0 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 5/Questao_9.sce | c59ec251fd1cdadbfcbf35484c56b4cc36b87543 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | Questao_9.sce | T = eye(266,266)
U = eye(266,266)
for j = 1:266
for i = 1:266
if(abs(i - j) > 1)
T(j,i) = 0
else
T(j,i) = 1
end
if (i - j) >= 0
U(j,i) = 1
else
U(j,i) = 0
end
end
end
M = (T + U) * (T + U)
C = 0
for j = 1... |
f2a2bd2578690eac5c159dbfa8c9c846469cdccc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH6/EX6.4/6_4.sce | 547a09fec9593ed9e7b14b516a24f242b943c28a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | 6_4.sce | clc
//initialisation of variables
p=2500//psia
v=0.127//cu ft
h=0.0037//ft
x=0.1021//ft
w=1091.1//lb
q=360.5//ft lb
//CALCULATIONS
X=h/x//percent
H=w-X*q//Btu per lb
//RESULTS
printf('The specific enthaly=% f Btu per lb',H)
|
9df28201d50a843269fd6afe562796ded1a19817 | 4c18a29d152aa41bf71d98f1819613802d2c3954 | /DCT testcases/testcase_3.sce | 3e51bca3944a78d63bba5be1d51a2b7841cea28d | [] | no_license | deep2024/Scilab-Computer-Vision-Functions-Test-Cases | 1891945b9fc60cc8f9b19957316baecf9d070c4a | f3d9c9dd10000eb65e826caeaf5e30ce2517a4d2 | refs/heads/master | 2021-01-20T19:36:40.721984 | 2016-06-27T15:26:32 | 2016-06-27T15:26:32 | 62,054,547 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | testcase_3.sce | //Read the image
Image = imread("lena_gray_256.tif");
// convert the Image matrix to double
double_image = im2double(Image);
// pass the Image to the DCT function
DCT_image = DCT(double_image);
//output
imshow(DCT_image)
|
f47d65ef842d2601c57af19034ddf3faf1839a4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH6/EX6.19.a/6_19a.sce | 8f05e737ed901fbc8ade750f9b66b9d28479fbaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | 6_19a.sce | pathname=get_absolute_file_path('6_19a.sce')
filename=pathname+filesep()+'6_19data.sci'
exec(filename)
A=D*S*Cdo/2;
B=2*Wo^2/(D*S*%pi*e*AR);
V=poly(0,'V');
p=Pa*V-A*V^4-B
disp(roots(p),"Roots of Polynomial p:",p,"p=","Polynomial p:")
disp("As we can see the maximum positive root is 81.01 (approx), which is the ... |
6efbc97bdfe09aa8970249dd95c37ccc51d13507 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH2/EX2.15/Exa2_15.sce | 382f9b740f886c1b087b24cb038b03f7a736dc29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | Exa2_15.sce | //Exa 2.15
clc;
clear;
close;
//Given data :
R1=50;//in kohm
R2=10;//in kohm
RE=1;//in kohm
VCC=12;//in volt
//Prt (i)
VBE=0.1;//in volt
VBBdash=(R2/(R1+R2))*VCC;//in volt
IC1=(VBBdash-VBE)/(RE*1000);//in mA
disp(IC1*1000,"At VBE=0.1V, Value of IC in mA : ");
//Part (ii)
VBE=0.3;//in volt
IC2=(VBBdash-V... |
c9ba6d1b12e7fd5b7f1d96c96c611ce88ece6e63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.52/EX2_52.sce | 2a5d6a840e66c76304eed8b13586fb0c96360d86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | EX2_52.sce | // EXAMPLE 2-53 PG NO-96
W=1000;
L=0.02;
XL=W*L;
Z=4.85;
V=(100/1.414);
I=(20.62/1.414);
cos(14.06)=0.97; //
P=V*I*0.97;
z=1.18;
Leq=z/W;
disp(' XL is = '+string(XL)+' ohms');
disp(' POWER is = '+string(P)+' W');
disp(' Leq is = '+string(Leq)+' H');
|
61453dc776abca084638225318f2e842a5edb721 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH7/EX7.13/ex_13.sce | 38dcb0465c286093fddbee1ff6a3e076dbd6aa00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | ex_13.sce | //Example 13 // Frequency
clc;
clear;
close
b1=4;//beats per second
fr=256;//Hz
fo=fr+b1;//Hz
disp(fo,"frequency is,(Hz)=")
|
252de20a49f720bea9c0bbe186b21ec1a1571a13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH5/EX5.9/ex5_9.sce | 1ab274df65c78ce76f17155b10ce5c6278716ee3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | ex5_9.sce | //Find current and voltage of sending end
clear;
clc;
//soltion
//given
R=0.1*150;//ohm//total resistance
X=0.5*150;//ohm//reactance
Y=3*150*10^-6;//S//total susecptance
Vrl=110*1000;//V
pf=0.8;//power factor
P=50*10^6;//M watts
Vr=floor(Vrl/sqrt(3));
Ir_=(P/(sqrt(3)*Vrl*pf));
Ir=Ir_*complex(pf,-0.6);
Ic1... |
37c807175af2fc931f79928e749c673d6cb138b0 | 4bede0c16e99f013f98405b006b0741a7c093438 | /main.sce | 22c138055a97cd1215a4f55defe09b949614413f | [] | no_license | antoineeudes/PageRanking | f661d4d674ea717a930004d26b8b300e0b82522f | 0dc958d2abe0d399d35411b49296e93490b10fc0 | refs/heads/master | 2020-05-19T17:57:48.284331 | 2019-05-20T08:39:59 | 2019-05-20T08:39:59 | 185,146,324 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | main.sce | n=10;// Nombre de pages
function show_adj(Adj,diameters)
[lhs,rhs]=argn(0);
if rhs < 2 then diameters=30*ones(1,n);end
graph=mat_2_graph(sparse(Adj),1,'node-node');
graph('node_x')=300*cos(2*%pi*(1:n)/(n+1));
graph('node_y')=300*sin(2*%pi*(1:n)/(n+1));
graph('node_name')=string([1:n]);
graph('node_d... |
0b23563bc672d198c8a4fdec2f0e8c54f36fe93d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH19/EX19.5/ex19_5.sce | d7943c49c6ae26b2c67c235bce2375ccb45f0c8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex19_5.sce | // Example 19.5, page no-544
clear
clc
B=0.65//Wb/m^2
r=8906//kg/m^3
M=58.7
avg=6.023*10^26
mu=4*%pi*10^-7
k=9.27*10^-24//A.m^2
N=r*avg/M
mu_m=B/(N*mu)
mu_m=mu_m/k
printf("The magnetic moment of nickel atom is %.2f Bohr magneton",mu_m)
|
1e4b63d11245fe6af8f86900632021b186622120 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH10/EX10.17/EX10_17.sce | 763153c3f4971c4f48de29005939553c11fa7bd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | EX10_17.sce | //Finding of Critical depth,velocity,Minimum Specific energy
//Given
Q=18;
B=6;
q=Q/B;
g=9.81;
//To Find
y=(q^2/g)^(1/3);
v=q/y;
E=(3/2)*y;
disp(" Critical depth ="+string(y)+" meter");
disp(" Critical velocity ="+string(v)+" meter");
disp(" Minimum Specific Energy ="+string(E)+" meter");
|
c8244088685a0a2f46f08ce97ddd7c1b31094673 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/2_4_data.sci | af032f0601161b7561312bf7556e98a22bb99bf0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 77 | sci | 2_4_data.sci | //Atmospheric pressure(in N/m^2)
Patm=1.013*10^5;
//Volume(in m^3)
V=-0.3; |
8fb0a0c997f616682c3d884a6d0e12d70fc0cd9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.20/Ch03Ex20.sce | f8837de6e0ee01e578414f2373bdecd8cc6b51e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch03Ex20.sce | // Scilab Code Ex3.20:: Page-3.32 (2009)
clc; clear;
f = 120; // Distance between screen and slit, cm
a = 0.019; // Slit width, cm
b = 0.041; // Distance between slits, cm
lambda = 6500e-008; // Wavelength of light used, cm
// As theta1 = x1/f = lambda/(2*(a+b)), solving for x1
x1 = f*lambda/(2*(a+b));... |
7eb711cd69f910f191826da1ecf6e5097fee112e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH2/EX2.29/Ex2_29.sce | adc3c435967884f721afdf9dcb8b412e4e31993f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Ex2_29.sce | // Exa 2.29
clc;
clear;
close;
// given :
epsilon_0=8.854*10^-12 // permittivity in free space in F/m
mu_0=4*%pi*10^-7 // permeability in free space in H/m
epsilon_r=1 // relative permittivity
mu_r=1 // relative permeability
epsilon=epsilon_r*epsilon_0 // permittivity
mu=mu_0*mu_r // permeability
E=100*sqrt... |
9216b8911665d2f85543c3825a559408163446d7 | fdffabe522d631a0964c00b5566713df90e84b8d | /Electrical Machines 2 (EE258)/Lab 2/labtask2_2.sci | 843499d9750d1c8f5e65858538fa5c0adc138dab | [] | no_license | mnaveenkumar2009/Electrical-and-Electronics-Engineering | aacf3ee8468ea46627162f3f939f257ba55577e1 | 874bcefc328ebe0793bcb8a4792611b26a2539a6 | refs/heads/master | 2021-07-12T10:59:32.859028 | 2020-07-06T16:40:33 | 2020-07-06T16:40:33 | 129,063,058 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sci | labtask2_2.sci | Vr=I*r;
Vx=I*x;
Vt=Vx+Vr;
VRl=I*Rl;
PE=E*conj(-I);
Pr=I*conj(I)*r;
Px=I*conj(I)*x;
PRl=I*conj(I)*Rl;
disp(PE,"Power across Voltage source");
disp(Pr,"Power across r");
disp(Px,"Power across x");
disp(PRl,"Power across Rl");
disp(PRl+Px+Pr+PE,"Total Power:");
|
553e0517f0d9949016a9bad159bf20a1175d82e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH2/EX2.19/Example_2_19.sce | 33ef78828ca67ac83c065bfeeaa675827db128fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_2_19.sce | //Example 2.19
clear;
clc;
//Given
T1=273; //initial temperature in K
T2=1073; //final temperature in K
w=1;//weight of aluminium taken in kg
mp=931;//melting point of aluminium in K
delHm=362.3;//enthalpy change during melting process in kJ kg^-1
// To determine delH
delH1=(0.9121*(mp-T1))+(2.0083*0.0000... |
902587dea92a406f347f4ac898cf6e83a2fc6f00 | 52d9841ccd56eacdf87597ee3666ce340445b089 | /003-SAP-webservices/ws-tools/fix-attr/fix-it.tst | f1ceba18089a8bb504ba2f1ed9ed1c0e6ab59739 | [] | no_license | jTyma/_RepositoryNET | 594667851c6829391d47460c8732123ff49b55f0 | 71c312268a093fa18e723714cc80dc6cd1548470 | refs/heads/master | 2021-01-22T11:54:47.031544 | 2014-04-04T13:12:13 | 2014-04-04T13:12:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78,686 | tst | fix-it.tst | PL/SQL Developer Test script 3.0
1493
-- Created on 3.7.2008 by AVI
declare
procedure set_values (nbr varchar2, sap_id varchar2, s_code varchar2) is
rc number;
poc number;
begin
select count(*) into poc
from subs s
inner join prod p on (p.id=s.id)
where s.acc_nbr=nbr and p.prod_state='A'... |
7eba1703c8f3205ac35b86866c4e34acfe086bb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /20/CH10/EX10.9.407/example10_9_pg407.sce | a78d2c7528302c4d2d004d269dfc2332a2c92843 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,004 | sce | example10_9_pg407.sce | // Example10_9_pg407.sce
// To find the field excitation required
// Theory of Alternating Current Machinery by Alexander Langsdorf
// First Edition 1999, Thirty Second reprint
// Tata McGraw Hill Publishing Company
// Example in Page 407
clear; clc; close;
// Given data
va = 2500e+3; // Volt Ampere rating of machin... |
e74f7c6ecacfdb08124f8c2a360ef80e04533aec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH1/EX1.16/Ex1_16.sce | 60f9ba31008aee8af91c1985532870bc021e267d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Ex1_16.sce | //Chapter 1 : Wave Optics
clear;
//Variable declaration
myu=4/3
Dn=0.5 //diameter of 10th ring
lamda=5895*10**-8
n=6
R=100
r=0.15
//Calculation
myu=(((2*n)-1)*lamda*R)/(2*r**2)
//Result
mprintf("Refractive index of liquid= %.3f ",myu)
|
7912f5cfa09c240578aa06b069a1cdce97d3c420 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronics_Engineering_Materials_J._B._Gupta_1730.zip/Electrical_And_Electronics_Engineering_Materials_J._B._Gupta_1730/CH3/EX3.6/Exa3_6.sce | 54a5a7a6bb26550b9733cec79099e763e11296e3 | [] | 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 | 353 | sce | Exa3_6.sce | errcatch(-1,"stop");mode(2);//Exa3.6
;
;
// given data
n_i=2.5*10^13;// in cm^3
e=1.6*10^-19;// in coulomb
miu_h=1800;// in cm^2/V-s
miu_e=3800;// in cm^2/V-s
sigma_i=n_i*e*(miu_e+miu_h);
disp("Intrinsic conductivity is : "+string(sigma_i)+" /ohm-cm");
rho_i=1/sigma_i;
disp("Intrinsic resistiviry is : "+st... |
4af2a4cb580ef8f4056e929e67353ca597226d31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH6/EX6.2/ACF_def.sce | 195fa2a808f8c36fbcd9082e5085a19592961685 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | ACF_def.sce | // ACF calculation for the problem discussed in Example 6.5 on page 167
// 6.2
u = [1 2];
r = xcov(u);
rho = xcov(u,"coeff");
|
396ad60d13bad3ba417debb7ce8bd9a2f84f1219 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.9/ex6_9.sce | abf870dfc6753728e7b56bc24c9de71861a21fb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 794 | sce | ex6_9.sce | // Exa 6.9
format('v',7);clc;clear;close;
// Given data
R1 = 2.7;// in k ohm
R1 = R1 * 10^3;// in ohm
R2 = 22;// in k ohm
R2 = R2 * 10^3;// in ohm
R4 = 100;// in k ohm
R4 = R4 * 10^3;// in ohm
C1 = 5;// in µF
C1 = C1 * 10^-6;// in F
f = 2.2;// in kHz
f = f * 10^3;// in Hz
//From omega^2 = 1/(R1*C1*R3*C3);
... |
c0431445149e91ec382adc522c662d07db54b930 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH28/EX28.6/28_6.sce | 0337c11094ba770af02bfe5df01f83618bdefafe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 28_6.sce | clear//
//Variables
fo = 455.0 * 10**3 //Resonant frequency (in Hertz)
BW = 10.0 * 10**3 //Bandwidth (in Hertz)
XL = 1255.0 //Inductive reactance (in ohm)
//Calculation
Qo = fo / BW //Quality factor
R = XL / Qo //Resistance (in ohm)
L = XL / (... |
50c538c2d7d2f563e8b31d9bbe863e4de5a721bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH16/EX16.8/Ex16_08.sce | ae1b11700e3357daddd6b9ee2afca2db7c72fe33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Ex16_08.sce | // Scilab Code Ex16.8: Page-602(2014)
clc; clear;
c = 3.00e+008; // Speed of light, m/s
H = 22; // Hubble constant, km/s per million ly
G = 6.67e-011; // Universal gravitational constant, N-Sq.m/kg^2
rho_c = 3/(8*%pi)*H^2/G*1e+003/(c*365.25*24*60*60*1e+006)^2; // The critical density of the universe, g... |
cf8e586e94b966e4347fd783c45159e566d37fe6 | 7ca4d14804b833145ecf38070ff4e4b399cf4bfb | /tst/full_msg_box.sce | d488f52d5986174381e963e1e0a9cadf207bd663 | [] | no_license | gsz050769/jsqsce | 6154e5d9fcd5b7884df7463963b982d26ba57942 | eb6881fa08ec6f8eea3355d689f3be91afd7bbfe | refs/heads/master | 2023-08-21T06:30:18.493109 | 2021-10-21T13:23:27 | 2021-10-21T13:23:27 | 343,663,868 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,123 | sce | full_msg_box.sce | // Commands, syntax:
// STATUS: = get status message
// S_MSG: = setMsg <sip_id>|<a_msg_id>|<prio>|<ttl>|text|
// S_MSG_FILE: = setMsg <sip_id>|<a_msg_id>|<file>| setMsg from <file>
// D_MSG: = delMsg <sip_id>|<a_msg_id>
// POS_BLE: = ble position req <sip_id>
// POS_BLE: = dect position req <sip_i... |
fa6f41ef5d6aa44c9cc59c218387a9347cbda3e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH11/EX11.5/11_5.sci | e0a0b280bf287ac218d0da705909c1f3c7e390a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,080 | sci | 11_5.sci | //Control of DC motors//
//Example 11.5//
Edca=460;
E2=415;
C=Edca/(1.35*E2);
printf('\nCosine of the triggering angle=C=%f',C);
A=C*180/%pi;
printf('\nTriggering angle=A=%fdegrees',A);
Edca10=0.1*460;
C10=Edca10/(1.35*E2);
printf('\nCosine of the triggering angle=C10=%f',C10);
A10=C10*180/%pi;
printf('\nTr... |
cd621658d42accf2abf334e60d919a9f0bd89f89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH11/EX11.1/11_1.sce | aa86ee48cefa8623fad5973af5ab30d015ec1b9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | 11_1.sce | clc
//Initialization of variables
y=3.4 //ft
n=0.016
//calculations
A=(10+2*y)*y
P=10+ 2*sqrt(5) *y
Rh=A/P
f=116*n^2 /Rh^(1/3)
e= 14.8*Rh/ 10^(1/2/sqrt(f))
//results
printf("absolute roughness of pipe = %.4f ft",e)
|
c719ca6e4561ed61f762fb0515634972d78be9ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH12/EX12.6/Ex12_6.sce | 2fbb251cc4975662da926068fe8c0b26c7bbc4bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Ex12_6.sce |
clc
//initialisation of variables
a=39.7//mole air
b=15.85 //mole air
c=7.94 //mole air
d=3.76 //mole air
AF=(b+3.76*b)/a//mole air /lbm fuel
AF1=1.233 //moles air /lbm fuel
//CALCULATIONS
Air=AF/AF1*100//percent
//RESULTS
printf('the actual air fuel ratio on a mole basic=% f percent',Air)
|
4ac614396f18a66743f3b6114937a180db28b803 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH9/EX9.9/Ex9_9.sce | 66ae10ed95f5f649e0a2306425cde72e2adaf2a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 850 | sce | Ex9_9.sce | //Example 9.9: Reduction of state table
clc // Clears the console
disp("Given State Table")
disp("q | x=0 x=1 | z")
disp('--------------------------------')
disp("A | C D | 0")
disp("B | D A | 0")
disp("C | E D | 0")
disp("D | B ... |
ca991430f9ef1de74a7f46166c8d817fd6de6b29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.17/Exa_1_17.sce | a3a2a3dd762676cd6a3bbe98d9ef2f21ef65a7d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_1_17.sce | //Exa 1.17
clc;
clear;
close;
format('v',7);
//Given Data :
T1=0;//degree centigrade
K1=1.83;
T2=100;//degree centigrade
K2=6.78;
//T=a*log(K)+b
//solving for a and b by matrix
A=[log(K1) 1;log(K2) 1];
B=[T1;T2];
X=A^-1*B;
a=X(1);
b=X(2);
K=2.42;//bar
T=a*log(K)+b;//degree C
disp(T,"Temperature in ... |
df4f4870150ba0a02e1d6c64684c8dcd135c3ebe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH3/EX3.a.12/Example_a_3_12.sce | 5ab0fcd2e8cf66ee66834acd25fd80bd9336bec7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | Example_a_3_12.sce | //Example_a_3_12 page no:141
clc;
In1=10;
In2=20/6;
In=In1+In2;
Rab=6;
disp(In,"the norton current is (in A)");
disp(Rab,"the norton resistance is (in ohm)");
|
efcdac8a47f9a0e33a67a02c41c3288d833fb402 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH5/EX5.3/ex5_3.sce | 33c854e77e0ca0317f9b801b6c193c303dddaec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | ex5_3.sce | // Exa 5.3
clc;
clear;
close;
// Given data
g= 9.81;
p1 = 3;// in Mpa
p2 = 10;// in kPa
T1 = 350;// in °C
T1 = T1 + 273;// in K
m = 1;// in kg per sec
v1 = 50;// in m per sec
v2 = 120;// in m per sec
z1 = 2;// in m
z2 = 5;// in m
C_p = 1.005;// in kJ per sec
Q = 5;// in kJ per sec
Q = -(Q) * 10^3;// in... |
962fbeb813acd7ba544c33a65e478709cd7536e6 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_sinus.sci | 5f9d30f0fe0f03940a08bc0b626e6d0291b4275e | [
"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 | 2,333 | sci | mdaq_sinus.sci | function [x,y,typ] = mdaq_sinus(job,arg1,arg2)
//
// Amplitude: amplitude [1]
// Bias:bias [0]
// Frequency: frequency [1] (rad/sec)
// Phase: phase [0]
// Delay:delay [0] (s)
//
x=[];y=[];typ=[];
select job
case 'plot' then
exprs=arg1.graphics.exprs;
standard_draw(arg1)
case 'getinputs' then
[x,y... |
2994d7eff46ea38dd39d955e41a71cf5dd93a6d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH11/EX11.6/example11_6.sce | 1c6d5a9228e2fb8b4dbfc46aa338f46c881df5cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | example11_6.sce | i=1.12;
n=600;
l=4*6*10^(-2);
mmf=n*i;
b=0.6;........// from the B-Hcurve
s=2*10^(-2);
a=s^2;
phi=b*a;
disp("the flux (in Wb) in the core is"); disp(phi); |
6953e3cab650d5bbb67d14f7185f4f67a67c305a | 6a7b4e7f7cf3a38abe4d239fc8b61f0a543f500a | /raices.sce | 2087ac2e4db6469695c6d79ba02e949e8fee465d | [] | no_license | luvitale/calculo-numerico | 43459bc3db413f953e2f2a6f6bc196cc078ea406 | 28a04ff20f019e4ae80818372be412bffa894573 | refs/heads/master | 2020-03-18T12:46:12.456590 | 2018-07-07T03:46:08 | 2018-07-07T03:46:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,834 | sce | raices.sce | function p = biseccion(a, b, f, E)
cotaError = (b - a)/2
p = a + cotaError
while cotaError > E
if(f(p) == 0) then
return;
elseif f(a) * f(p) < 0 then
b = p
else
a = p
end
cotaError = cotaError/2
p = a + cotaError
end
end... |
18f21bd2038f885ec9046bb6c04783acc1fe7711 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH4/EX4.7/ex4_7.sce | fcf8d7d3bb2bd0427b96980fc13d06d49a6c15c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | ex4_7.sce | clc;
Va=-10; //voltage in volts
W=100; //work in Joule
q=2; //charge in Coulomb
v=(Va)+(W/q); //calculating v
disp(v,"Voltage in Volts = "); //displaying result |
42f8961ddc4c747191b1209b01d2b5dcf0fe5849 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/error_in_variables/scilab/ev_kle90_cstr/kle90_cstr.sce | 7578a07f7540a052c56c066ce6be66064d918088 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,097 | sce | kle90_cstr.sce | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
//Kim, I-W; Liebman, M J;Edgar, T F
//“Robust error- in-variables estimation using nonlinear programming techniques.”
//AIChE J. 1990, 36 (7), 985-993.... |
1f7e87a8bcd613aece0da2c2347850f30a584219 | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH9/EX9.4/Example9_4.sci | 5d93ead763cef9c3ea002658948c498b275a2853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Example9_4.sci | clc();
clear;
// To calculate the overall heat transfer coefficient
r2 = 3/96; // Outer radius in ft
x = 0.1/12; // Thickness of plate in ft
r1 = r2-x; // Outer radius in ft
k = 200; // thermal conduc... |
2a331681c409957abbb0ac5d9e5954ebca8d4f96 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/sqrt.man.tst | cabca21d9a7a4d3f2a0644caa2e1a337d030c905 | [
"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 | 37 | tst | sqrt.man.tst | clear;lines(0);
sqrt([2,4])
sqrt(-1)
|
e1e67c03a375366a81e56c2163fe58f52c03a6b2 | f5f7826a8dea22a8b186ccfa5f5c6dff1151dfbf | /Source/MyApp/TypescriptTemplate.tst | d56725e5b8246cc24c6c70698ebcffd8ad66b760 | [
"MIT"
] | permissive | PoyangLiu/TypewriterExperiment | 0d184a59195ebb407199458a0d0610133b6db0d8 | f33ee90423bc4f3ef2161971d1897605f37ffe05 | refs/heads/master | 2020-03-26T14:50:51.785942 | 2018-08-20T15:11:06 | 2018-08-20T15:11:06 | 145,008,029 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,079 | tst | TypescriptTemplate.tst | // tslint:disable
// This file is auto-generated. Do not modify.
#reference "~~\MyTypewriterHelper\bin\Debug\MyTypewriterHelper.dll"
${
using Typewriter.Extensions.Types;
Template(Settings settings) { settings.IncludeCurrentProject(); }
string PrintTimestamp(File f) => string.Format("// Generated on ... |
75468459134f4fca526fffb5104bd97bc3794b81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH3/EX3.1/Ex3_1.sce | 737c32d7f153937327dd8287789a73192404a606 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | Ex3_1.sce | // SAMPLE PROBLEM 3/1
clc;clear;funcprot(0);
// Given data
m=75;// kg
T=8300;// The tension in the hoisting cable in N
g=9.81;// The acceleration due to gravity in m/s^2
m_ems=750;// The total mass of the elevator, man and scale in kg
t_0=0;// s
t_1=3;// s
// Calcaulation
// SigmaF_y=m*a_y;
a_y=(T-(m_ems*... |
18e7c63eceb9fa5a0d176fb2a45fc54944389837 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH3/EX3.11/Ex3_11.sce | 561f22f29fe407984c54f143250dfddc90a0ed24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Ex3_11.sce |
// Ex3_11
clc;
// Given:
mH=1.007825;
mn=1.008665;
M1=22.98977;// mass of Na 23
M2=21.994435;// mass of Na 22
M3=21.991385;// mass of Ne 22
// Solution:
m1=((11*1.007825+12*1.008665)-M1);
m2=((11*1.007825+11*1.008665)-M2);
m3=((10*1.007825+12*1.008665)-M3);
Sn=(m1-m2)*931;// neutron seperation energ... |
c212b4f0c8b9b07f32456e11e144c97d4ed39225 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH20/EX20.1/Example20_1.sce | ac2a4cb82f469b54a699e68e75a9f04644d3dbff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | Example20_1.sce | clear ;
clc;
// Example 20.1
printf('Example 20.1\n\n');
// Page no. 594
// Solution Fig E20.1
// Given
p_CO2 = [0,25,50,100,200,400,760] ;// Values of partial pressure of CO2 - [mm Hg]
y = [0,6.69*10^-2,9.24*10^-2,0.108,0.114,0.127,0.137] ;// adsorption of CO2 -[g adorbed / g seives]
// R square is a perf... |
baee042315930428821c68f40ab6b55418c45c95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH39/EX39.24/Example39_24.sce | 089658642fa8c79d1ac01e353ab45e02c622e3ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,077 | sce | Example39_24.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
// EXAMPLE : 1.24 :
// Page number 706
clear ; clc ; close ; // Clear the work ... |
d005b54a7ecca824dc4bd4c955b008f35fcacd6c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.24/Ex2_24.sce | 122befeb3cf8d249d0da46babdddedc7aa38b8fb | [] | 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 | 424 | sce | Ex2_24.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the speed and percentage change in torque
//Exa:2.24
;
;
V=460;//in volts
R_a=0.8;//in ohms
I_a1=40;//in amperes
I_a2=30;//in amperes
N_1=500;//in rpm
E_1=V-(I_a1*R_a);//in volts
E_2=V-(I_a2*R_a);//in volts
N_2=int(E_2*I_a1*N_1/(E_1*I_a2));
disp(N_2,'Speed (... |
9ea6e553cc15d401e597f2996955c203f28874c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH3/EX3.23/Ex3_23.sce | 5f5de61e1bf39ea6993f175962dfc63ffc6a155b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_23.sce | //Example 3.23 Simplify expression using k-map
clc; //clears the console window
clear; //clears the variable browser
disp('F = m(0,3,4,5,6,7,8,10,11,14,15)')
disp(' A''B'' A''B AB AB''')
disp('C''D'' 1 1 1')
disp('C''D 1 ')
disp('CD 1 1 1 1')
disp('CD'' ... |
2aa07f628ff6dc49842ca756f57c3f64c38bd588 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH18/EX18.18/Example18_18.sce | 3222765ce571649ff90a09af149820c51a9ab2e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,348 | sce | Example18_18.sce | //Example 18.18. refer fig.18.27
clc
format(6)
rlmin=20/(50*10^-3) // in ohm
disp("Selection of Zener diode")
disp(rlmin," RLmin(ohm) = Vo / ILmax =")
vz=20/2 // in V
disp(vz," Vz(V) = Vo / 2 =")
disp("Hence, the zener diode 0.5Z10 is chosen.")
disp("Since, IR1 > IB2, IR1 > IC2/beta, IR2 > 10*10^-3 / 150"... |
168b6bfd08c79f5053cebe4701e3b7b7e60e8410 | 0320d75d635104b38bca383bde2d5a012d0ccd4f | /Comp Org/assign2/a2/DMux16Way.tst | 13397b78deabf2e0f52b59f3d21a5db96c05d2a5 | [] | no_license | sbkohel/Class_files | 97d4392d977d1de715eadba674ccb042195fd383 | 4a4cced4c23fab038b45ac54649e9831c45ea9b7 | refs/heads/master | 2018-12-29T21:11:59.492247 | 2014-12-17T02:02:20 | 2014-12-17T02:02:20 | 15,176,186 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,266 | tst | DMux16Way.tst | load DMux16Way.hdl,
output-file DMux16Way.out,
compare-to DMux16Way.cmp,
output-list in%B2.1.2 sel%B2.4.2 a%B2.1.2 b%B2.1.2 c%B2.1.2 d%B2.1.2 e%B2.1.2 f%B2.1.2 g%B2.1.2 h%B2.1.2 i%B2.1.2 j%B2.1.2 k%B2.1.2 l%B2.1.2 m%B2.1.2 n%B2.1.2 o%B2.1.2 p%B2.1.2;
set in 0,
set sel %B0000,
eval,
output;
set sel %B0001,
eval,
outpu... |
01ad88eade02ff5994685deaec6d7d865f12f8cf | 40384c4066dda9a87b764f8c78f44f4b87a9af5f | /gaussSeidel.sci | 14935304e85357dc99dd63910e14345902471b09 | [] | no_license | SergioNoivak/Calculo-Numerico | 97866ab7ead8ee4b8f5dd4aacaea411b6eebd5e5 | 25be9c05a5331bfd053433a09f77a4d9b76c3bb7 | refs/heads/master | 2021-01-02T22:41:21.556896 | 2018-08-19T22:44:55 | 2018-08-19T22:44:55 | 99,368,088 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,584 | sci | gaussSeidel.sci | clear
clc
///////////////Método de Gauss Seidel///////////////!!!!
function tabela (A)
if A==-0.0 then
A=0.0;
end
if A<0 then mprintf (" %1.6f",A);
else mprintf (" %1.6f",A);
end;
endfunction;
function tabela10 (A)
if A==-0.0 then
A=0.0;
end
if A<0 then
if... |
f46bb636a9970c306234a5d56875992d900e573a | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH2/EX2.3.4/CH02Exa2_3_4.sci | fb4281d1a045dd9ebec4922daf8823d1cd4e3644 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,002 | sci | CH02Exa2_3_4.sci | // Scilab code Exa2.3.4 : To calculate the magnetic moment of given nuclei : Page no. 74 : (2011)
// For Ne(10.19) nucleus
j_Ne_9 = 5/2; // Total angular momentum for Ne-19 nucleus
u_Ne_9 = j_Ne_9+2.29; // Magnetic moment of Ne-19 nucleus , nuclear magneton
// For Ne(10,20) nucleus
j_Ne_10 = 0;// Total angular ... |
4b9904c356f7fa8d342de85660a07a83297b7c79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.60/example15_60.sce | 0bcc6dbc908733a73b4530af6b9e54a74f82c7e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | example15_60.sce | //Example 15.60
//root locus
clear;clc;
xdel(winsid());
s=%s;
//substituting "a=15" in the numerator
num=2*(s+15);
den=s*(s+2)*(s+10);
G=syslin('c',num/den);
evans(G);
axes_handle.grid=[1 1]
mtlb_axis([-5 5 -5 5]);
|
ae8c41cce65c6ad5d699cc632f67952d76cee507 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH6/EX6.11/Exa6_11.sce | a69c3d293652247dd23bd0c27fafac7cf459130a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | Exa6_11.sce | //Exa 6.11
clc;
clear;
close;
//given data
L=1.25;//in um
mu_n=0.065;//in m^2/V-s
Cox=6.9*10^-4;//in F/m^2
VT=0.65//in Volt
ID_sat=4;//in mA
VGS=5;//in Volt
//Formula : ID_sat=W*mu_n*Cox*(VGS-VT)^2/(2*L)
W=ID_sat*10^-3*2*L*10^-6/(mu_n*Cox*(VGS-VT)^2);//in meter
disp(W*10^6,"Channel Width in micro meter :")... |
855052023869cb45bffc2a49c41ef12489b89b18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH8/EX8.13/ex8_13.sce | e5d2447a2fb250fc45c4882689bc7db9c250f9df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | ex8_13.sce | //Page Number: 8.14
//Example 8.13
clc;
//Given
Pni=-100; //dBm
PniW=((1D-3)*(10^(Pni/10)));
To=290; //K
F=1.6; //dB
NF=(10^(F/10));
//(a) Noise tempertaure of antenna
//As Te=Pni/K*B;
K=1.38D-23;
B=20D+6;
Te=(PniW/(K*B));
disp('K',Te,'Noise tempertaure of antenna');
//(b)Effective noise temperta... |
e209cf244397c688fab023699558cfe53e92a421 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.16_9.tst | a3b5c9d391a7667360708a6033d1a7aa21d69252 | [] | 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 | 4,977 | tst | bow.16_9.tst | 16 1:0.013333333333333334 4:0.5 40:1.0 93:0.043478260869565216 259:1.0 612:0.3333333333333333 746:1.0 1119:1.0
16 1:0.013333333333333334 2:1.0 15:0.25 30:1.0 40:1.0 44:0.2 53:0.3333333333333333 60:0.08333333333333333 93:0.043478260869565216 208:0.3333333333333333 228:1.0 264:1.0 267:0.5 315:1.0 470:1.0 568:0.25 684:0.5... |
4b2fad37c1e31f1c4f4ea507a7d2a20b8ed48d30 | e86f908be00c4a3a017e81d12588d76562c56b75 | /macros/roundn.sci | a7ad96bd224da58b273b306761b1489e0a7c21ec | [] | no_license | ShashikiranYadalam/FOSSEE_SP_task | 8869a14f664329625b76e15e771058b90b69b1e1 | 601ca7b7c91587a430c69c9ceb1f87b196c8e566 | refs/heads/master | 2020-03-20T06:38:26.598686 | 2019-03-01T12:31:10 | 2019-03-01T12:31:10 | 137,255,176 | 0 | 0 | null | 2018-06-14T05:16:17 | 2018-06-13T18:27:32 | HTML | UTF-8 | Scilab | false | false | 66 | sci | roundn.sci | function y=roundn(x,n)
y=round(x*10^n)/10^n;
endfunction
|
1a3b13a6748973597bb02e08c228feaaf5452813 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH7/EX7.10/N_Ex_7_10.sce | 1dc1d97e4149eef2e224d710d090bf446844da8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | N_Ex_7_10.sce |
clc
//Chapter7
//Example7.10
//Given
SNRam=25// Signal to noise ratio of AM
PcFM_AM=0.9//
mf=5
SNRfm=(10*log10(3*(mf^2)*(PcFM_AM)))+SNRam
mprintf('S/N ratio for FM is %f dBs',SNRfm)
// Note : There are some calculation errors in the solution presented in the book
|
1f5df9cf7a3e8b39234dbf9609759151fe820118 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH5/EX5.1/ex5_1.sce | f063e492388a358fa2d942b5bfd2b6b83f49b884 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | ex5_1.sce | // Exa 5.1
clc;
clear;
close;
// Given data
v1_total = 7;// in m^3/min
v_s1 = 0.35;// in m^3/kg
v_s2 = 0.12;// in m^3/kg
p1 = 1;// in bar
p1 = p1 * 10^5;// in N/m^2
p2 = 6;// in bar
p2 = p2 * 10^5;// in N/m^2
D1 = 110;// in mm
D1 = D1 * 10^-3;// in m
D2 = 65;// in mm
D2 = D2 * 10^-3;// in m
Af1 = %pi/4*... |
28fbb3ec5a336e7fe8e3a5442e681b5d04e58132 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH10/EX10.2.a/Chapter10_Ex2_a.sce | ec130cc5015c6ac3ee1678c8f8083de35a8b0fc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,340 | sce | Chapter10_Ex2_a.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc. USA,pp 436.
//Chapter-10 Ex10.2.a Pg No. 414
//Title:Conversion as a function of No. of Gauzes
//===========================================================================================================
clear
clc
//INPUT
M_NH3=17;//Molecu... |
015c55ce09605eb1b2d513653130e39e04677131 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/kaiserord.sci | 47f410561e12b3bccaf9d411839157adfff82418 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,627 | sci | kaiserord.sci | function [n, Wn, beta, ftype] = kaiserord (f, m, dev, fs)
//Return the parameters needed to produce a filter of the desired specification from a Kaiser window.
//Calling Sequence
//[n, Wn, beta, ftype] = kaiserord (f, m, dev, fs)
//[…] = kaiserord (f, m, dev, fs)
//[…] = kaiserord (f, m, dev)
//Parameters
//f: Pairs of... |
b3476d00e20507227b89fa2c6c34e10e6ebcd6be | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/scicos/do_block.sci | 7567526da23d4a6d81c91c09c952c1cc69cfd9bb | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sci | do_block.sci | function scs_m=do_block(scs_m)
// do_block - edit a block icon
while %t
[btn,xc,yc]=xclick(0);
pt=[xc,yc]
[n,pt]=getmenu(datam,pt);
if n>0 then n=resume(n),end
K=getblock(scs_m,[xc;yc])
if K<>[] then break,end
end
gr_i=scs_m(K)(2)(9)
if type(gr_i)==15 then
[gr_i,coli]=gr_i(1:2)
else
coli=[]
end
while %t... |
acfb818936f44e7e4dfc9bfb6db913e2ed7b3d66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH21/EX21.9/Ex21_9.sce | f533aa6305ab23640fc0b2981b09772f2e1017d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | Ex21_9.sce | clear
//Given
d=0.125*10**-3 //m
l=4500*10**-10 //m
D=1 //m
//Calculation
x2=(2*D*l)/d
d1=2*x2
//Result
printf("\n Separation between the fringes is %0.3f mm", d1*10**3)
|
62acabc304c7917c35bf9772199237d409474353 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH24/EX24.9/Ex24_9.sce | 773f33809f2b03c467c664c919b255075592b0c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 756 | sce | Ex24_9.sce |
clc;
RC=4*10**3;
R1=40*10**3;
R2=10*10**3;
RE=2*10**3;
RS=1*10**3;
RL=2.2*10**3;
CS=10*10**-6;
CE=20*10**-6;
CC=1*10**-6;
B=100;
VCC=20;
VB=(R2*VCC)/(R2+R1);
IE=(VB-0.7)/RE;
re=(26*10**-3)/IE;
B*re;
vo=-(RC*RL)/(RC+RL);
Av=vo/re;
a=(R1*R2)/(R1+R2);
Ri=(a*(B*re))/(a+(B*re));
Rs=1*10**3;
vibyvs=Ri/... |
daf9e72d9db48224a3905bd023aeaf13f25298b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH8/EX8.15/Ex8_15.sce | 18b67fc2bed98fecc6247da629e7254b6c939323 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Ex8_15.sce | //==============================================================================
// chapter 8 example 15
clc;
clear;
// Variable declaration
e = 1.6*10^-19; // charge of electron in coulombs
Dn = 250; // electron diffusion co-efficient cm^2/s
n1 = 10^18 // electron conc. in... |
1788e02094607181205eb7c78176f8da6ff6630f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.18/Exa_2_18.sce | e9096203f0adf8569ea397031bd6e85b35bdc39a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Exa_2_18.sce | //Exa 2.18
clc;
clear;
close;
format('v',8);
//Given Data :
m=0.8;//Kg
p1=1;//bar
p2=5;//bar
T1=25+273;//kelvin
R=287;//KJ/kgK
W=m*R*T1*log(p1/p2);//J
disp(W/1000,"Work done in KJ : ");
U2subU1=0;//change in internal energy
Q=W+U2subU1;//J
disp(Q/1000,"Heat Transfer in KJ : ");
|
ff340add395574697b9df98c5b18c0d8964e09b3 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Proyecto_1/floyd.sce | 868e4ae84d3f8bb66ae9196d2bc7e4367a25085a | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | floyd.sce | function M = floyd_warshall(graph)
INF = 1000
[m, nV] = size(graph)
for k = 1:nV
for i = 1:nV
if (k <> i) & graph(k, i)== 0 then
graph(k, i) = INF
end
end
end
dist = zeros(nV, nV)
for i = 1: nV
for j = 1: nV
dist(i, j) = g... |
17768ce511239d7f5e78908142ad44f4618a7834 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH7/EX7.5/sadiku_7_5.sce | 6c15dbcb592ec107d55ed55094fe614ff841327f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | sadiku_7_5.sce | clear;
clc;
i0=-10,i4=10;
H0=.5*i0*-1;// in the positive Y direction
H4=.5*i4*-1*-1;//in the positive Y direction
H=H0+H4;
disp(H, 'H at (1,1,1) =')
H0=.5*i0*-1;//in the positive Y direction
H4=.5*i4*-1;//in the negative Y direction
H=H0+H4;
disp(H,'H at (0,-3,10 =)'); |
17c5d348dc8b9693146b7e3f35d844792a3bb215 | ffe9e19b244ceec2af7b863d956d8dbdc079103b | /Álgebra Linear e Geometria Analítica/8170312/Scripts/fatorizacao_LU_VO.sci | 72b580854ba66127dfcfbe670270928635a5c769 | [] | no_license | Vmvs007/ESTG-LEI | 25b67be60f3695f8677be57779dccd0670a8e48e | ae99dd7f6cd57a67cfdc6b1d303a03df3e6e5c69 | refs/heads/master | 2020-05-06T12:28:36.560414 | 2019-04-13T17:02:09 | 2019-04-13T17:02:09 | 180,124,885 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sci | fatorizacao_LU_VO.sci | function [x]=fatorizacao_LU(L,U,b)
[n,m]=size(L);
x(n,1)=0;
for i=1:n-1
for j=i+1:n
m=L(j,i);
b(j)=b(j)-b(i)*m;
end
end
for i=n:-1:1
soma=0;
for j=i+1:n
... |
9ccdfb7cabafbb328d7f701413c75b206cee0749 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/nonZeros.sce | 23975ea87fdbd20564028d9e3cd9d122cdb6baf0 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | nonZeros.sce | // Function Name: nonZeros
// Return all non zero values
// Calculating the nonZeros
inputMat = [ 1, 0, 3; 0, 5, 6; 7, 8, 10;]
result = armaMatFunc("nonZeros",inputMat)
|
da9a263a5488d4fa00e8fa3b582d0bcc4b25f09e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH2/EX2.3/example2_3.sce | 2ea3950a6e0d2ce4a60e4c28b309146ba41612be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | example2_3.sce | //example 2.3
//page 53
clc; funcprot(0);
//initialisation of variable
Gamma=9.81;
S=0.85;//specific gravity
P1=150;
h1=0.8;//height
h2=2;
P2=P1+Gamma*S*h1;
P3=P2+Gamma*h2;
disp(P3,"pressure at the bottom (kN/m^2)");
clear
|
2181d15b209ddb4584e2b3b978dd5522b51d8036 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH7/EX7.5/Ex7_5.sce | c6370eb0d55f33b05cbecffda6754b710c651cb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,358 | sce | Ex7_5.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 ");
w=20;//kN/m, distributed load applied at D to E
AB=6;//m, perpendicular distance between A and B
BC=3;//m, perpendicular distance between C and B
F_B=w*AB;//kN, ... |
5e69292267550036a382761e2ee5c41cbbeff9b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.37/ques37.sce | fb932fa96fb7a87242ad15e0532e3a16f60adc83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | ques37.sce | //ques37
syms a t
x=a*(cos(t)+log(tan(t/2)));
y=a*sin(t);
s=diff(x,t,1)/diff(y,t,1);
disp('length of tangent ');
l=y*(1+s)^(0.5);
disp(l);
disp('checking for its dependency on t')
f=1
t=0;
k=eval(l);
for i=1:10
t=i;
if(eval(l)~=k)
f=0;
end
end
if(f==1)
disp("verified and equal to a");
... |
f24624b80b127e5fc97581a750eb14ed5ced7d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.37/example4_37.sce | 82a2fd904eadee5f856cce3c8e8ce6a964752095 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 818 | sce | example4_37.sce |
//example 4.37
//calculate
//probability of excedence
//probability of flood magnitude occuring at:
//at least once in 10 years
//two times in 10 succesive years
//once in 10 succesive years
clc;funcprot(0);
//given
T=40; //return period
P=1/T;
n=10;
Rsk=1-(1-P)^n;
s=1;t=1;
for i=1:n
s... |
9df31e48cb1968eb347273eef0c39cc0aaa13aa0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.1/Ex3_1.sce | 6d965b7ff0986aad54db40a9cdd7a10464b39a9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | Ex3_1.sce | //Ex 3.1
clc;clear;close;
R1=2.2;//kohm
G=-100;//Voltage gain
Rf=-G*R1;//kohm
disp(Rf,"Value of Rf(kohm) : ");
|
315527741d7b66b08923ade0d662d66b9f192568 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Pistol Strafe Gallery Descended Above No Mag.sce | 33bd13d909525e72df07405fe79c365a4c217f78 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33,986 | sce | Pistol Strafe Gallery Descended Above No Mag.sce | Name=Pistol Strafe Gallery Descended Above No Mag
PlayerCharacters=Strafer
BotCharacters=Watcher Bot Long Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Strafer
AddedBots=Watcher Bot Long Strafes.bot;Watcher Bot Long Strafes.bot;Watcher Bot Long Strafes.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=2
Bot... |
d4990bc70ff8740812fb829b5b3468ed6e2394e5 | 0480f6392643f10964ff6b301b2be49036bfe7d9 | /FM.sce | 0310e14cd90bf48aae1af7abb7db0df33cb1e703 | [] | no_license | vbv15/helloworld | 02f13332442310e95126067564516a8500b072c3 | 7982e10b0195afc1adb582ec623d95bd8f9556cb | refs/heads/master | 2021-06-28T01:18:01.725621 | 2016-11-11T02:49:46 | 2016-11-11T02:49:46 | 42,517,937 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | FM.sce |
Startup execution:
loading initial environment
-->ac=40;
-->fc=2000;
-->fm=100;
-->b=2;
-->ta=1/fc;
-->t=1/fc;
-->t=0:ta/996:2*ta;
-->am=40;
-->y=ac*cos(2*%pi*fc*t+b*sin(2*%pi*fm*t));
-->plot(t,y);
|
83e98892bd5387b3fbdf34ae09a24927526da146 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH3/EX3.10/3_10.sce | c0de87a26f871bb21a1f70f7e540fd490fcabdcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,494 | sce | 3_10.sce | //Example 3.10
//calcuate the percentage increase in the rate of heat transfer
//for the finned tube over the plain tube.
//Given
id=78*10^-3 //m, actual internal dia of pipe
tw=5.5*10^-3 //m, wall thickness
nl=8 //no. of longitudinal fins
tf=1.5*10^-3 //m, thickness of fin
w=30*10... |
47e7ae3f26c6b9c7520eec40da520aab200085f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH4/EX4.14/4_14.sce | 0ac5e50019b93de5678713c2b48dcd82c5ddfc64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,689 | sce | 4_14.sce | clear;
clc;
close;
disp("Example4.14")
M0=0.88 //Mach no.
p0=15 // pressure in kPa
T0=233 //temperatue in K
gmc=1.4 //gamma compressor
Cpc=1004 //specific heat of compressor in J/kg.K
pd=0.995 // pressure compression ratio of diffuser
pf=1.6 //pressure compression ratio of fan
ef=0.9 //fan efficiency
pfn=0.95 //compres... |
cea246785bfeca2c1df0aca2fff3f80c188aa3cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH11/EX11.7/Ex11_7.sce | 3e172a8d2d93714eddeee0ef28c445aa5bc4f32b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ex11_7.sce | // Example 11_7
clc;funcprot(0);
// Given data
// ln p_sat=14.05-(6289.78/T_sat)-(913998.2/T_sat^2);
// T_sat=°F + 461.2
T=212;// °F
R=0.1102;// Btu/(lbm.R)
// Solution
T_sat=T+461.2;// R
// From Table C.13a in Thermodynamic Tables to accompany Modern Engineering Thermodynamics
h_fg=[(6289.78)+((1827997.8)/... |
167fa05bdd2088af42bef93dfc00c9c4ced9e09a | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH2/EX2.7/2_7.sce | 27e9f5389654ff6b2288b58a35a875068061a5f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 797 | sce | 2_7.sce | clear;
clc;
close;
disp("Example2.7")
M1=3.0 //Mach no. at inlet
pt1=45*10^3 //Total pressure t inlet in Pa
Tt1=1800 //Total temperature at inlet in K
hv=12000 //Lower heating value of hydrogen kJ/kg
gm=1.3 //gamma
R=0.287 //in kJ/kg.K
//Using RAYLEIGH table for M1=3.0 and gamma=1.3, we get Tt1/Tcr=0.6032, pt... |
35ecbabaf29f5f5da0d5bce590a06b19f3dbaa20 | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /multi.sce | c3f2a110bee4a601975961aed46b79d447dba20c | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | multi.sce | // Program for multiple plots with legends
x = linspace(1,10,30);
plot(x,x.^2,'k*')
plot(x,x.^2.5,'r-')
plot(x,x.^3,'b--')
legend(['x^2';'x^3';'x^4']);
title('Plotting multiple plots in same window')
xlabel('x')
ylabel('y')
|
2da78e301f6bffe7eec02ac5de8efddab051d492 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH1/EX1.11/1_11.sce | 82caff41eb72b15bdb10496d3d2835d980dcbb6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 1_11.sce | //relative error
//example 1.11
//page 13
clc;clear;close;
x=1;y=1;z=1;
u=(5*x*y^3)/z^3;
dx=0.001;dy=0.001;dz=0.001;
u_max=((5*y^2)/z^3)*dx+((10*x*y)/z^3)*dy+((15*x*y^2)/z^4)*dz;
r_err=u_max/u;
printf(' the relative error is :%f',r_err);
|
37a62b370751115aa94c1d80d43f7103d94cdb22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH9/EX9.12/Ex9_12.sce | d48e4ae821d70c070ad1b188216b9652fde3168a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | sce | Ex9_12.sce | //chapter-9 page 413 example 9.12
//==============================================================================
clc;
clear;
//For an upconverter parametric amplifier
rQ=8;//figure of merit for a diode nonlinear capacitor
r=0.2;
y=8;//ratio of output frequency over signal frequency (f0/fs)
Td=300;//Diode Te... |
929f29f140cfcfed357c8379fabffd75b887a1e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.32/ex_3_32.sce | 7c44cd18c5d3dc29268adca059d20a8bc695b2ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | ex_3_32.sce | //Example 3.32:frequency and resistance
clc;
clear;
close;
r1=400;//ohms
c1=1;//micro farads
r2=1000;//ohms
r3=800;//ohms
c3=0.5;//micro farads
f=((1/((2*%pi)*sqrt(r1*r3*c1*10^-6*c3*10^-6))));//Hz
x=((c3/c1)+(r1/r3));//
r4=r2*x;//ohms
disp(round(f),"frequency is ,(Hz)=")
disp(r4,"resistance is ,(ohm)=")
|
eced6dd5a563a41b0b440f595b581fd26b4967c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.29/Example1_29.sce | bf55e133df7096ede87820f744e5cd4e21ccfc30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | Example1_29.sce | // Example 1.29
clear; clc; close;
format('v',7);
// Given data
PA=12;//no. of poles
Ns=500;//in rpm
N=1440;//in rpm
//Calculations
//Formula : Ns=120*f/PA
f=Ns/120*PA;//in Hz
PM=4;//assumed for motor
Ns=120*f/PM;//in rpm(For motor)
S=(Ns-N)/Ns*100;//slip in %
disp(S,"Slip in % :");
|
28a5d7199964b36fed6b0314c9cfe5d282d5f8e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH8/EX8.9/Example_8_9.sce | 55669b50959414cbe277c780ab41f72fe8e5b39a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | Example_8_9.sce | //Example 8.9 From the following table calculate TFR GRR NRR
clc;
clear;
R=0.48;
BR=[23.6 114.9 145.1 122.6 79.6 35.9 3.3];
YL=[4482 4426 4359 4288 4202 4100 3979];
SRR=BR./1000;
TFR=sum(SRR)*5;
GRR=R*TFR;
NRR=(R*sum(SRR.*YL))/1000;
disp(NRR,"Net Reproduction Rate =",GRR,"Gross Reproduction Rate =",TFR,"Total... |
1054b406216d30ea12c7ce735ce9408ecb775d4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH7/EX7.9.2/Example_7_9_2.sce | 4ea9961e244d8953a4c68305c65205d8c0bed8be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 709 | sce | Example_7_9_2.sce | // Example 7.9.2
clc;
clear;
lamda=1300d-9;
h=6.626d-34; //plank's constant
c=3d8; //speed of light
q=1.6d-19; //charge of electron
eta=90/100; //quantum efficiency
P0=300d-9; //optical power
Id=4; //dark current
B=20d6; //bandwidth
K=1.39d-23; //Boltzman constant
T=298; //temperature... |
89e60fe4d4b26869c8dfff7614c82c90063f82ba | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /R6 ADS1,0 HOLO SPRAYTRAINING 3OPS 8BULLETS BY SUSHISKY87.sce | 8890291484a706f9b45150c887108852e4255d57 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158,071 | sce | R6 ADS1,0 HOLO SPRAYTRAINING 3OPS 8BULLETS BY SUSHISKY87.sce | Name=R6 ADS1,0 HOLO SPRAYTRAINING 3OPS 8BULLETS BY SUSHISKY87
PlayerCharacters=Rainbow-Sixer
BotCharacters=Quaker Bot Long Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Rainbow-Sixer
AddedBots=Quaker Bot Long Strafes.bot;Quaker Bot Long Strafes.bot;Quaker Bot Long Strafes.bot
PlayerMaxLives=0
BotMax... |
5ef11e7397bf150c19ffd8864d1977326b11c27a | c9720259ca558b771c949ca78e71ccf181b7bcca | /Scilab/help/en_US/build_help.sce | 30309b867836faae6c11a8956cd42042fe4343d3 | [
"BSD-3-Clause"
] | permissive | Strifus/x2c-audio | 1e2cf30c76876ef8a4c152f7002df1608db9d4e0 | 2837a09842f62d0d66d291ecb72eae02741d2661 | refs/heads/master | 2020-06-06T23:43:24.283232 | 2020-01-06T17:34:25 | 2020-01-06T17:34:25 | 192,877,737 | 0 | 0 | BSD-3-Clause | 2020-01-06T17:21:18 | 2019-06-20T08:09:01 | null | UTF-8 | Scilab | false | false | 227 | sce | build_help.sce | // This file was generated by generateLibraryHelp.sci on 06-01-2020 12:06
// This file is released under the 3-clause BSD license. See COPYING-BSD.
tbx_build_help("X2C Audio Library",get_absolute_file_path("build_help.sce"));
|
534e18455f399a703460ab2331a74f0406e00d11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH1/EX1.40/Ex1_40.sce | 7685ce6c152646d161b72b51e585953eb22bd079 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_40.sce | //Ex:1.40
clc;
clear;
close;
fo=25*10^6;// frequency in Hz
Q=40;
B_W=fo/Q;// bandwidth in Hz
printf("The bandwidth = %d KHz", B_W/1000); |
891359ad962f3ec77c5a61e37084ad787f5f51c2 | a1f93c5ed7f19ec2dc6e698a305960c7eaacb3fd | /Practica5.1/Ejercicio3.sci | 3d9d72c5ccd06c7ee74bcefa2111291821ac3b51 | [] | no_license | hectoregm/numerico | 813c74b87c976c2af4fe83adf59561a80141ea2f | ca0e16875746ad9d9c17da7ce0635669fc2410ed | refs/heads/master | 2021-01-21T07:53:31.701526 | 2014-12-02T04:42:40 | 2014-12-02T04:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,723 | sci | Ejercicio3.sci | function c = interphermite(x,f,fp)
// Autores: Hector E. Gomez Morales
// Funcion que realiza la interpolacion de Hermite dado un conjuntos de puntos y su primera derivada.
//*****************************************************************************
//->Entrada
// x (Vector Real) - Vector columna que contiene los nu... |
8a593bc749e9f646132336d75ac4caff148d2493 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.2_13.tst | 0629e935deb5705c7ef1dd294c0cc099dd9215de | [] | 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 | 34,953 | tst | bow.2_13.tst | 2 10:0.5 17:1.0 18:0.5 19:0.3333333333333333 30:0.3 39:1.0 43:0.2 53:2.0 56:0.125 59:1.0 63:0.16666666666666666 68:0.14285714285714285 69:1.0 88:0.5 100:0.2 126:0.25 187:1.0 247:1.0 326:0.1111111111111111 327:1.0 370:1.0 402:0.14285714285714285 545:0.5 806:1.0 888:0.5 1093:1.0 1175:0.5 1248:1.0 1652:1.0 2012:1.0 2287:1... |
42b3a3691cd817ab53e9ca68fd872ad290151df6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH1/EX1.8/example1_8.sce | 06655f620d29d7f4f11e246bfd7747187b6b768f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | example1_8.sce | //example 1.8
//page 24
clc; funcprot(0);
//initialisation of variable
R1=0.05;//radius 1
R2=0.05+0.00002;//radius 2
L=0.2;
N=30/60;//omega
t=R2-R1;
pi=3.14;
mu=0.44;//viscosity
//part1
U=pi*N*0.1;
T=R1^2*2*pi*U/t*mu*L;//torque
disp(T,"torque applied (Nm)=");
//part2
T=R1*2*pi*mu*L*U/log(R2/R1);
disp(T... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.