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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
457f072758799d1b542c3bbda9c10c9bfc318dca | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/trainLRClassifier.sci | dfeb6a46d8379c59792e2c7b617987997206d6be | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 4,266 | sci | trainLRClassifier.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
// Author: Siddhant Narang
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
function classifier = trainLRClassifier(imgSets, bag, classifierName, varargin)
// This function is used to train an image classifier using the LR algorithm.
//
// Calling Sequence
// classifier = trainLRClassifier(imgSets, bag, classifierName)
// classifier = trainLRClassifier(imgSets, bag, classifierName, learningRate)
// classifier = trainLRClassifier(imgSets, bag, classifierName, learningRate, iteration)
// classifier = trainLRClassifier(imgSets, bag, classifierName, learningRate, iteration, regularization)
// classifier = trainLRClassifier(imgSets, bag, classifierName, learningRate, iteration, regularization, trainMethod)
// classifier = trainLRClassifier(imgSets, bag, classifierName, learningRate, iteration, regularization, trainMethod, minibatch)
//
// Parameters
// classifier: Image category classifier
// imgSets: Input imageSet to train the classifier on
// bag: The bagOfFeatures of the imageSet provided
// learningRate: Defines the rate at which the classifier will learn.
// iteration: Number of iterations the training function will perform.
// regularization: Controls the kind of regularization to be applied. The types are<itemizedlist><listitem>REG_DISABLE- Regularization disabled, flag value = -1.</listitem><listitem>REG_L1- L1 norm, flag value = 0.</listitem><listitem>REG_L2- L2 norm, flag value = 1.</listitem></itemizedlist>
//
// trainMethod: Controls the kind of training method to be applied. The types are<itemizedlist><listitem>BATCH- flag value = 1.</listitem><listitem>MINI_BATCH- flag value = 0.</listitem></itemizedlist>
//
// minibatch: Specifies the number of training samples taken in each step of Mini-Batch Gradient Descent.
// Will only be used if trainMethod flag value is set to 0 training algorithm.
// It has to take values less than the total number of training samples.
//
//
// Description
// This function trains a LR classifier which can be used to predict classes of images given to it as
// input using the predictLR() function.
//
// Examples
// imgSet = imageSet('images/trainset_2/','recursive');
// [trainingSet testSet] = partition(imgSet,[0.8]);
// bag = bagOfFeatures(trainingSet);
// lrclassi = trainLRClassifier(im, bag, "lrclassi", 1, 150, 0, 1, 5);
//
// Examples
// imgSet = imageSet('images/trainset_3/','recursive');
// [trainingSet testSet] = partition(imgSet,[0.8]);
// bag = bagOfFeatures(trainingSet);
// lrclassi = trainLRClassifier(im, bag, "lrclassi", 1, 150, 0);
// save("var.dat", "lrclassi");
//
// See also
// imageSet
// partition
// bagOfFeatures
// mlPredict
// save
//
// Authors
// Siddhant Narang
bag_list = bagStructToList(bag);
imgSets_list = imageSetToList(imgSets);
// Handling variable arguments.
[lhs rhs] = argn(0)
if lhs > 1
error(msprintf("Too many output arguments"));
elseif rhs < 3
error(msprintf("Not enough input arguments"));
elseif rhs > 8
error(msprintf("Too many input arguments"));
end
if rhs == 3
temp = raw_trainLRClassifier(imgSets_list, bag_list, classifierName);
elseif rhs == 4
temp = raw_trainLRClassifier(imgSets_list, bag_list, classifierName, varargin(1));
elseif rhs == 5
temp = raw_trainLRClassifier(imgSets_list, bag_list, classifierName, varargin(1), varargin(2));
elseif rhs == 6
temp = raw_trainLRClassifier(imgSets_list, bag_list, classifierName, varargin(1), varargin(2), varargin(3));
msprintf("6 arguments");
elseif rhs == 7
temp = raw_trainLRClassifier(imgSets_list, bag_list, classifierName, varargin(1), varargin(2), varargin(3), varargin(4));
elseif rhs == 8
temp = raw_trainLRClassifier(imgSets_list, bag_list, classifierName, varargin(1), varargin(2), varargin(3), varargin(4), varargin(5));
end
classifier = struct("ClassifierType", temp(1), "ClassifierLocation", temp(2), "BagofFeaturesLocation", temp(3), "Description", temp(4))
endfunction
|
92b63aa338a2b85d568ebaf8789e10f95468230f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH1/EX1.21.1/ex_1_21_1.sce | 27809285628b48fdfbf5d32e0a46d5c911b5b7a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_1_21_1.sce | //Example 1.21.1: L and C
clc;
clear;
close;
//given data :
V=100;// in volts
Irm=40;// in A
tq=40;// in micro-sec
Del_t=(50/100)*tq;// in micro-sec
C=(Irm*(tq+Del_t))/V;
disp(C,"capacitance,C(micro-farad) = ")
L_min=(V/Irm)^2*C;
disp(L_min,"minimum inductance,L_min(micro-Henry) = ")
T=2.5;// assume one cycle period in ms
L_max=((0.01*(T*10^-3)^2)/(%pi^2*C*10^-6))*10^6;
disp(L_max,"Maximum inductance,L_max(micro-Henry) = ")
|
efb06ceb81ebb4dd63aae942f0c18c052434543b | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH9/EX9.3/Example9_3.sce | 8ed3c610f62374ebb1a8308a5542699fd688a90c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Example9_3.sce | //chapter-9,Example9_3,pg 502
N=64//data units
//implimentation steps for DFT=64^2
//for FFT
r=(log2(N)/N)//implimentation ratio
printf("implimentation ratio\n")
printf("r=%.4for(3/32)",r) |
33501c1aeb43032bd1334a335f9344c06af10f01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH12/EX12.2/Ex12_2.sce | f00c2389734be81c5ed6774f2eed55918d0b11cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | Ex12_2.sce | clc
clear
printf("Example 12.2 | Page number 416 \n\n");
//Find the stoichiometric air for combustion of (a)Carbon (b)Hydrogen (c)Sulphur
//Given data
//Molar masses of O2,H2,N2,C and S respectively
MO2 = 32 //g/mol
MH2 = 2 //g/mol
MN2 = 28 //g/mol
MC = 12 //g/mol
MS = 32 //g/mol
//Part(a)
printf("Part(a)\n")
printf("Stoichiometric air(Carbon) = %.2f kg/kg carbon\n\n",(MO2 + 3.76*MN2)/MC)
//Part(b)
printf("Part(b)\n")
printf("Stoichiometric air(Hydrogen) = %.2f kg/kg hydrogen\n\n",0.5*(MO2 + 3.76*MN2)/MH2)
//Part(c)
printf("Part(c)\n")
printf("Stoichiometric air(Sulphur) = %.2f kg/kg sulphur\n",(MO2 + 3.76*MN2)/MS)
|
12756fff40c5418a1c6c30b61d4ffad949a71d5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH8/EX8.4/example8_4.sce | aef022e041a7dd2ea20495c06c5e9224ca9a41f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,043 | sce | example8_4.sce | clear;
clc;
//Example8.4[Pressure Drop in a Water tube]
Tw=15;//temp of water while entering[degree Celcius]
rho=999.1;//[kg/m^3]
mu=1.138*10^(-3);//Viscosity[kg/m.s]
id=0.05;//Internal diameter[m]
V=5.5*10^(-3);//Flow rate[m^3/s]
l=60;//length of tube[m]
e=0.002*10^(-3);//[m]
//Solution:-
v=V/(%pi*(id^2)*(1/4));//Mean Velocity[m/s]
Re=rho*v*id/mu;
disp(Re,"Reynolds Number is")
//Flow is turbulent
r=e/id;//Relative roughness of the tube
function[Func]=fric(fac)
Func(1)=(1/(fac(1)^(1/2)))+(2*log((0.00004/3.7)+(2.51/(122900*fac(1)^(1/2)))));
deff('[Func]=fric(fac)',['fric_1=(1/(fac(1)^(1/2)))+(2*log((0.00004/3.7)+(2.51/(122900*fac(1)^(1/2)))))'])
endfunction
xa = 3.99*10^-3;
xs = fric(xa);)
disp(xs,"Friction Factor is")
del_P=xs*l*rho*(v^2)/(2*id);//[kPa]
disp("Pa",del_P,"The pressure drop is")
W_pump=V*del_P;//[W]
disp("W",W_pump,"The required poer input tp overcome the frictional losses in the tube is") |
5b518456783527ce5dc25c96324dbba60d333bbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH4/EX4.20/ex4_20.sce | fb1e30560d3584b0a5048c8525b7d866f772f694 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_20.sce | // Example 4.20 page no-241
clear
clc
vdd=30 //v
rl=4.7 //k-ohm
vd=20 //v
id=(vdd-vd)/rl
printf("\nId = %.1f mA",id)
printf("\nfor vd to be constant, it should be within ±1V")
del_id=1/rl
printf("\nDelta_Id = ± %.1f mA\nId(min) = %f mA\nId(max) = %f mA" ,del_id,id-del_id,id+del_id)
delv=vdd-vd
deli=2.5 //mA
rs=delv/(deli)
printf("\nRs = %d K-Ohm",rs)
|
fb7a2b4ce2697de6883f28c7ac5252449218bb47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH1/EX1.13/ex1_13.sce | 21e17438599bf8eb5b3f510725d0db95981f90dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | ex1_13.sce | // Example 1.13 page no-34
clear
clc
l=1.27 //cm
D=19.4 //cm
s=0.475 //cm
Va=400 //volts
Se=l*D*10^-2/(2*s*Va)
Se=ceil(Se*10^5)
printf("\nS_E=%.2f mm/v",Se/100)
v=30 //volt
e=1.6*10^-19 //C
m=9.1*10^-31 //kg
x=sqrt(m/e)
B=(x*0.65*30*sqrt(2*Va))/(l*D)
printf("\nB=%.2f*10^-5 wb/m^2",B*10^5)//answer not matches with given answer
|
5aa4d8046beb5ddfdfe827cc0b8ea316b5f1a0b1 | feede54c196a479bdc4592783238f5771854ad20 | /Scilab-Code/Q5remonte.sce | 0be71352563f5f391b62b6d4d3f62d6b5dfe33fd | [] | no_license | cachett/HeatDiffusion | 6275213da94745662db20ecf78d6bf9b1a6f90f1 | 5e80327fbc7da084338499064bcce80c1a92647c | refs/heads/master | 2021-05-14T09:18:24.602579 | 2018-01-05T13:18:18 | 2018-01-05T13:18:18 | 116,322,677 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | Q5remonte.sce | // Script question 5, fonction de remonté calculant la solution X du système trans(L)X = Z
clc;
function X = remonte(Ldiag, Linf, Z)
indiceMax = size(Ldiag, "c")
//Calcul des coefficients, X est un vecteur ligne
for i=indiceMax:-1:1
if i==indiceMax then
X(1,i)=Z(i)/Ldiag(i)
else
X(1,i)=(Z(i)-X(1,i+1)*Linf(i))/Ldiag(i)
end
end
endfunction
|
53dc32829d3c265a19e54ecd4e3ed487f5ccbe61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.17/3_17.sce | ec32fdce1dbe9909d158a5ce947b58bfe77dd035 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | 3_17.sce | clear;
clc;
Y1=500^-1;
Y2=1000^-1;
Z=100;
A= 1+Y2 * Z;
B=Z;
C=Y1+Y2+(Y1*Y2*Z);
D=1+Y1 * Z
mprintf("A= %.1f ; B= %.1f ohm ; C=%.1f *1e-3seimens; D= %.1f", A, B, C*1e3, D);
|
e4f9f07d63d810fbab6ba6f601b3c2ffce026aa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH1/EX1.7/Ex1_7.sce | 7d667a4c267de126f7f530864639bc140209b154 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_7.sce | clc
//initialization of new variables
clear
T=300 //K
gama=1.4
R=286.6
//calculation
// for air
a=sqrt(gama*R*T)
//result
printf('The speed of sound in air is %.1f m/s ',a)
// for sea water
E=2.34*10^9 // N/m^2
rho=1000 //kg/cm^2
a=sqrt(E/rho)
//result
printf(' \n The speed of sound in sea waer is %d m/s ',a)
|
bd06e91af212347886d8e70a26817b3304da93e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.8.3/ex_2_8_3.sce | 74fb67327e93baac1c05c1466e97f62b378d712c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | ex_2_8_3.sce | //Example 2.8.3://ARITHEMATIC MEAN ,median value ,standard deviation
clc;
clear;
format('v',6)
q=[29.2,29.5,29.6,30.0,30.5,31.4,31.7,32.4,33.0,33.3,39.4,28.9];//
AM= mean(q);//arithematic mean in mm
for i= 1:12
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8),qb(9),qb(10),qb(11),qb(12)];//
AV=(-qb(1)-qb(2)+qb(3)+qb(4)-qb(5))/12;//
SD=stdev(Q);//standard deviation
V=SD^2;//variance
mv=q(5);//
disp(AM,"arithematic mean is ")
disp(mv,"median value is")
disp((SD),"standard deviation is") |
37335d566c176f6b29734a0e1e9f9ce42783a324 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH2/EX2.3/Example2_3.sce | 4dd812313a3023c76fd41e8c098801d7ad73b52b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Example2_3.sce | close();
clear;
clc;
R1 = 12; //ohm
R2 = 4; //ohm
R3 = 5; //ohm
R4 = 5; //ohm
R5 = 15; //ohm
//voltage across R1 'V1'
V1 = 132; //V
I = V1/R1;
R = R1 + R2 + (R4+R5)*R3/(R3+R4+R5);
//source voltage 'V'
V = I*R;
mprintf("The voltage source, V = %d V",round(V)); |
09033cf9a0d7c1fa5079d2672d5dee3e42924ae4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.20/Ex9_20.sce | 9554907f05cfbb274a0535b5511acd9d3e90014b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,707 | sce | Ex9_20.sce | //Example 9_20 page no:380
clc;
Zr=4+(%i*8);
Zrmag=8.944;
Zrang=63.4;
Zy=3+(%i*4);
Zymag=5;
Zyang=53.1;
Zb=15+(%i*20);
Zbmag=25;
Zbang=53.1;
I2ang=136.58;
//calculating Zry,Zyb,Zbr
ZrZymag=(Zrmag*Zymag);
ZrZyang=(Zrang+Zyang);
ZrZyreal=(ZrZymag)*cosd(ZrZyang);
ZrZyimg=(ZrZymag)*sind(ZrZyang);
ZyZbmag=(Zymag*Zbmag);
ZyZbang=(Zyang+Zbang);
ZyZbreal=(ZyZbmag)*cosd(ZyZbang);
ZyZbimg=(ZyZbmag)*sind(ZyZbang);
ZbZrmag=(Zbmag*Zrmag);
ZbZrang=(Zbang+Zrang);
ZbZrreal=(ZbZrmag)*cosd(ZbZrang);
ZbZrimg=(ZbZrmag)*sind(ZbZrang);
Zrybreal=ZrZyreal+ZyZbreal+ZbZrreal;
Zrybimg=ZrZyimg+ZyZbimg+ZbZrimg;
Zrybmag=sqrt(Zrybreal^2+Zrybimg^2);
Zrybang=atand(Zrybimg/Zrybreal);
Zrymag=(Zrybmag)/Zbmag;
Zryang=(Zrybang-Zbang);
Zybmag=(Zrybmag)/Zrmag;
Zybang=(Zrybang-Zrang);
Zbrmag=(Zrybmag)/Zymag;
Zbrang=(Zrybang-Zyang);
//taking Vry as reference Vry=400<0;
Vrymag=400;
Vryang=0;
Vybmag=400;
Vybang=-120;
Vbrmag=400;
Vbrang=-240;
//calculating the phase currents
Irmag=Vrymag/Zrymag;
Irang=Vryang-Zryang;
Iymag=Vybmag/Zybmag;
Iyang=Vybang-Zybang;
Ibmag=Vbrmag/Zbrmag;
Ibang=Vbrang-Zbrang;
//calculating the line currents
Irreal=Irmag*cosd(Irang);
Irimg=Irmag*sind(Irang);
Iyreal=Iymag*cosd(Iyang);
Iyimg=Iymag*sind(Iyang);
Ibreal=Ibmag*cosd(Ibang);
Ibimg=Ibmag*sind(Ibang);
I1real=Irreal-Ibreal;
I1img=Irimg-Ibimg;
I2real=Iyreal-Irreal;
I2img=Iyimg-Irimg;
I3real=Ibreal-Iyreal;
I3img=Ibimg-Iyimg;
I1mag=sqrt(I1real^2+I1img^2);
I1ang=atand(I1img/I1real);
I2mag=sqrt(I2real^2+I2img^2);
I3mag=sqrt(I3real^2+I3img^2);
I3ang=atand(I3img/I3real);
disp(I1mag,"the magnitude of I1 current is (in A)");
disp(I1ang,"the angle of I1 current is (in degree)");
disp(I2mag,"the magnitude of I2 current is (in A)");
disp(I2ang,"the angle of I2 current is (in degree)");
disp(I3mag,"the magnitude of I3 current is (in A)");
disp(I3ang,"the angle of I3 current is (in degree)");
//calculating the voltage across each phase
Vrmag=I1mag*Zrmag;
Vrang=I1ang+Zrang;
disp(Vrmag,"the magnitude of V across R phase is (in V)");//in text book the values are rounded off but here values stored in variables are not altered
disp(Vrang,"the angle of V across R phase is (in V)");
Vymag=I2mag*Zymag;
Vyang=I2ang+Zyang;
disp(Vymag,"the magnitude of V across R phase is (in V)");
disp(Vyang,"the angle of V across R phase is (in V)");
Vbmag=I3mag*Zbmag;
Vbang=I3ang+Zbang;
disp(Vbmag,"the magnitude of V across R phase is (in V)");//in text book the values are rounded off but here values stored in variables are not altered
disp(Vbang,"the angle of V across R phase is (in V)");
//in text book values of current and impedence are rounded off hence values vary slightly
|
125e5503a002c45ab4a6922a500ce910db391c5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH8/EX8.6/EXAMPLE8_6.SCE | 284b5b3071308390b35b4033fda3abaf7aa9bb88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | EXAMPLE8_6.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 7
//WAVEFORM CODING TECHNIQUES
clear all;
clc;
printf("EXAMPLE 8.6(PAGENO 389)");
//given
v = 7//bits of encoder
r = 50*10^6//bit rate of the system
//calculations
f_m = r/(2*v)//maximum message bandwidth which is less than or equal to obtained value
SbyN_dB = 1.8 + 6*v//signal to noise ratio in dB
//results
printf("\n\ni.Maximum message bandwidth = %.2f Hz",f_m);
printf("\n\nii.Signal to noise ratio when modulating frquency is 1MHz applied = %.2f dB",SbyN_dB)
|
cefb86507abf0bc4aade8850a1ca8cf2aa11657f | 0e52518c6fe37e683dc04d785f174ce30408f8e7 | /otimizacao/steepest descent.sci | 55a2b536136214e2cb979e9f6a339a7247c6cceb | [] | no_license | thiago-franco/metodos-numericos | c3a7a10d00376c9b238825e9ff049635cc153a92 | 95ed4e0b1e05b10c7d0ef9cbc23f9c98d2cf8a65 | refs/heads/master | 2021-07-06T00:19:31.512668 | 2017-09-30T01:25:29 | 2017-09-30T01:25:29 | 104,950,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,418 | sci | steepest descent.sci | clear
clc
//function y = funcao(x)
// y=(x(1) - 2).^4 + (x(1)-2*x(2)).^2;
//endfunction
function grad_x = gradiente(x)
n = length (x);
h = 1e-5;
gg = [];
for i = 1 : n
x_adv = x
x_adv(i) = x(i) + h;
dev = (f(x_adv)- f(x))/h;
gg = [gg; dev];
end
grad_x = gg;
endfunction
function linha = derivada1(x,yj,dj)
h = 1e-5;
linha = (func_teta(x + h,yj,dj)- func_teta(x - h,yj,dj))/ (2*h);
endfunction
function duas_linha = derivada2 (x,yj,dj)
h = 1e-5;
duas_linha = (func_teta(x + h,yj,dj) - (2*func_teta(x,yj,dj)) + func_teta(x - h,yj,dj))/h.^2;
endfunction
function valor_teta=func_teta(x,yj,dj)
valor_teta=f(yj+x*dj);
endfunction
function lambda = newton (lambda,yj,dj)
//lambda = 10;
tolerance = 10^-3;
erro = 10;
while (erro > tolerance)
lambda_novo = lambda - (derivada1(lambda,yj,dj)/derivada2(lambda,yj,dj));
erro = abs (lambda_novo - lambda);
lambda = lambda_novo;
end
lambda = lambda_novo;
endfunction
function otimo = steepest_descent(xk)
erro = 1;
tol = 1e-4;
while erro > tol
dk = -gradiente (xk);
lambdak = newton (0.1,xk,dk);
xk_new = xk + lambdak*dk
erro = norm (gradiente(xk_new) - gradiente(xk));
xk = xk_new;
end
otimo = xk
endfunction
|
03d82d5535d2dc513a9a9740640d55849bf3a6b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH9/EX9.5.a/Ex_9_5_a.sce | 595552baf03acd293a8066c50827d185f0662150 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_9_5_a.sce | //Example 9.5.a
clc;clear;close;
z=poly(0,'z');
s=poly(0,'s');
Hz=3*(2*z^2+5*z+4)/(2*z+1)/(z+2);
H=pfss(Hz/z);
for k=1:length(H)
H(k)=clean(H(k));
H1(k)=z*horner(H(k),z);
disp(H1(k),'System Function for parallel realisation Hk(z)=');
end
disp(Hz,'System Function H(z)='); |
8bf430cb2f7aa1cff579726a9a5ffd94d30cdb5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH3/EX3.6/Exa3_6.sce | e42c89b3e7ac9e8feae7887cc2306a3c915a53d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Exa3_6.sce | //Exa 3.6
clc;
clear;
close;
//Given data :
Tr=0.2;//in us
l=20;//in Km
//part (a)
B=1/(2*Tr*10^-6);//in Hz
B=B/10^6;//in MHz
disp(B,"Maximum possible assuming no intersymbol interference in MHz : ");
//Part (b)
Dispersion=Tr*10^-6/l;//in sec/Km
disp(Dispersion*10^9,"Dispersion in ns/Km : ");
//part (c)
BDP=B*l;//in MHz-Km
disp(BDP,"Band =width Distance product for the fibre in MHz-Km : "); |
bf578cdc4616efa95fb18b7fe5a760740ee831a0 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/testsuite/ada/acats/tests/ce/ce3002c.tst | c240907f89f585577515cb2dcd06fda1726268da | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"FSFAP",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | Scilab | false | false | 2,324 | tst | ce3002c.tst | -- CE3002C.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- OBJECTIVE:
-- CHECK THAT FIELD IS A SUBTYPE OF INTEGER, FIELD'FIRST = 0, AND
-- FIELD'LAST HAS A SPECIFIED IMPLEMENTATION-DEPENDENT VALUE.
-- HISTORY:
-- SPS 09/30/82
-- SPS 11/09/82
-- JBG 03/16/83
-- JLH 08/07/87 REVISED VALUES USED IN INTEGER AND FIELD TO THE
-- INTEGER VALUE 1.
WITH REPORT;
USE REPORT;
WITH TEXT_IO;
USE TEXT_IO;
PROCEDURE CE3002C IS
BEGIN
TEST ("CE3002C", "CHECK THAT FIELD IS A SUBTYPE OF INTEGER AND " &
"FIELD'FIRST = 0");
DECLARE
A : INTEGER;
B : FIELD;
BEGIN
IF FIELD'FIRST /= IDENT_INT (0) THEN
FAILED ("FIELD'FIRST NOT 0; IS" &
FIELD'IMAGE(FIELD'FIRST));
END IF;
IF FIELD'LAST /= $FIELD_LAST THEN
FAILED ("FIELD'LAST NOT $FIELD_LAST; IS" &
FIELD'IMAGE(FIELD'LAST));
END IF;
A := IDENT_INT (1);
B := A;
B := IDENT_INT (1);
A := B;
END;
RESULT;
END CE3002C;
|
a1fff1245b5e00043eec424b927c90b87b7d95ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.17/ex2_17.sci | a68cf4ec72da25f75e47a7785d54d00929bef90e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sci | ex2_17.sci | //Chapter 2,Ex2.16,Pg2.24
clc;
disp("Refer to the diagram shown in the figure")
a=[15 -10 -5;0 1 -1;-15 12 6]
b=[50;2;0]
i=a\b
printf("\n I1 = %.0f A\n",i(1))
printf("\n I2 = %.2f A\n",i(2))
printf("\ I3=%.2f A\n",i(3))
printf("\n Current through 5 ohms resistor = %.1f A\n",i(1)-i(3))
|
9d3d475434dae066da657c9a3a63cb207c0020c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH4/EX4.11/ex4_11.sce | 4236c3fbad2f9a6d28773e3d1e47d235d89d02ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | ex4_11.sce | // Example 4.11, Page No-213
clear
clc
fa=200
fmax=fa
C1=0.1*10^-6
Rf=1/(2*%pi*fa*C1)
Rf=Rf/1000
printf("Rf= %.3f kohm", Rf)
fb=10*fa
R1=1/(2*%pi*fb*C1)
R1=R1/1000
printf("\nR1= %.3f kohm", R1)
Cf=R1*C1/Rf
Cf=Cf*10^6
printf("\nCf= %.2f uF", Cf)
|
a581a1438a69c6b6894e21f52dabd41c8c43c438 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.5/5_5.sce | dedeac2b1d303f2b1812a8b25ec10197900d26df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | 5_5.sce | clc,clear
printf('Example 5.5\n\n')
V_OC_line=230,I_asc=12.5 // when I_f=0.38
V_OC_ph=V_OC_line/sqrt(3)
Z_s=V_OC_ph/I_asc
R_a=1.8/2 //1.8 is between terminals..0.9 is per phase
X_s=sqrt(Z_s^2-R_a^2)
I_a=10// when regulation is needed
V_L=230
V_ph=V_L/sqrt(3)
//Part(i)
phi1=acos(0.8) //and lagging
E_ph1=sqrt((V_ph*cos(phi1)+I_a*R_a)^2+(V_ph*sin(phi1)+I_a*X_s)^2)
regulation1=100*(E_ph1-V_ph)/V_ph
printf('Regulation for 10 A at 0.8 lagging pf is %.2f percent\n',regulation1)
//Part(ii)
phi2=acos(0.8) //and leading
E_ph2=sqrt((V_ph*cos(phi2)+I_a*R_a)^2+(V_ph*sin(phi2)-I_a*X_s)^2)
regulation2=100*(E_ph2-V_ph)/V_ph
printf('Regulation for 10 A at 0.8 leading pf is %.2f percent\n',regulation2)
|
6a189d43168b8c675d896e8f5c48c4029c85707f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rcosdesign/rcosdesign5.sce | 10f34daaa12467a82f59e29f6824271aaf226b6a | [] | 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 | 690 | sce | rcosdesign5.sce | rf = 0.25;
span = 4;
sps = 3;
h= rcosdesign(rf,span,sps,'normal');
h_expeceted=[-1.83515589323958e-17 -0.0839769617250925 -0.111533834697389 2.20296105783395e-17 0.241477835573582 0.492495595150919 0.599407402858453 0.492495595150919 0.241477835573582 2.20296105783395e-17 -0.111533834697389 -0.0839769617250925 -1.83515589323958e-17];
r=assert_checkalmostequal(h,h_expected);
disp(r);
//output
//!--error 10000
//assert_checkalmostequal: Assertion failed: expected = [0.0307603 ...] while computed = [-2.287D-17 ...]
//at line 22 of function assert_generror called by :
//at line 103 of function assert_checkalmostequal called by :
//r=assert_checkalmostequal(h,h_expected);
|
39baa39fe5b5e17c13b0f9ad1c0d72784d6a5200 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH5/EX5.8/Example5_8.sce | 44bb0684835e1f2bf8a8929c9699fbd2868c1aa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | Example5_8.sce | //chapter-5,Example5_8,pg 493
Nx=64//2^6, 6 bit counteer register
Vref=2.2//ref. voltage
N=32//SAR output
Vi=(N/(Nx+1)*Vref)//input voltage
printf("input voltage\n")
printf("Vi=%.2f V",Vi) |
8d6e98264df6414423158110829ddb74a2771b8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH9/EX9.8/Ex9_8.sce | b975d7cd3f45f623143ab6810e4862cd7bf1b652 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | Ex9_8.sce | //chapter-9 page 412 example 9.8
//==============================================================================
clc;
clear;
//For a Gunn Diode
L=20*10^(-4);//Active Length in cm
Vd=2*10^7;//Drift Velocity of Electrons in cm/sec
Ec=3.3*10^3;//Criticl Field for GaAs in V/cm
//CALCULATION
fn=(Vd/L)/10^9;//Natural(Rational) Frequency in GHz
Vc=L*Ec;//Critical Voltage of the diode in volts
//OUTPUT
mprintf('\nNatural(Rational) Frequency is fn=%2.0f GHz \nCritical Voltage of the diode is Vc=%1.1f volts',fn,Vc);
//=========================END OF PROGRAM===============================
|
6ccf3b5e080f5041420ecb18c12a9b840a39c028 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.7/Ex7_7.sce | f1358bdcc02b6b5518b1aa759a622656ac449b9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Ex7_7.sce | //Exa 7.7
clc;
clear;
close;
// given :
D_a=6 // Diameter of paraboloid reflector in m
c=3*10^8 // speed of light in m/s
f=4 // frequency in GHz
f=4*10^9 // frequency in Hz
lambda=c/f // wavelength in m
r=2*D_a^2/lambda // required minimum distance between two antennae in m
disp(r,"required minimum distance between two antennae in m:")
|
37d7732b3c90ee1f33bab8ce42eec5e7736afd08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH6/EX6.8/8.sce | 69cefbca9eaba201af6e31c43c13726cd7f5e0b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | 8.sce | clc
m=5; //kg
T1=550; //K
p1=4*10^5; //Pa
T2=290; //K
T0=T2;
p2=1*10^5; //Pa
p0=p2;
cp=1.005; //kJ/kg K
cv=0.718; //kJ/kg K
R=0.287; //kJ/kg K
disp("(i) Availability of the system :")
ds=cp*log(T1/T0) - R*log(p1/p0);
Availability=m*[cv*(T1-T0) - T0*ds];
disp("Availability of the system =")
disp(Availability)
disp("kJ")
disp("(ii) Available energy and Effectiveness")
Q=m*cp*(T1-T0);
dS=m*cp*log(T1/T0);
E=T0*dS; //Unavailable energy
AE=Q-E;
disp("Available Energy = ")
disp(AE)
disp("kJ")
disp("Effectiveness=")
Effectiveness=AE/Availability;
disp(Effectiveness)
|
9403133bcbd8a6d9ad9413c74191b5f2738113a3 | 1a679c5bea6f6f3d080ec52122a5c04f941f8e67 | /log transformation.sce | 83adcf9d7f31adbd5fd6ba877407354688f85ecf | [] | no_license | Malay1998/Image-Processing-with-Scilab | c34c35d76d2db50f41c9b95b239a0f5e6d203a80 | 4ab83c92212d4fdbb9cb6f75ce06cfced34d0c7c | refs/heads/main | 2023-06-04T04:06:35.361106 | 2021-06-26T22:00:38 | 2021-06-26T22:00:38 | 380,540,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | log transformation.sce | a=imread('milkeway.jpg');
b=double(a);
[m,n]=size(b);
for i=1:m
for j=1:n
c(i,j)=10*log(1+b(i,j));
end
end
imshow(c);
|
9f28da3baef6ddc432832ff1ad5aadabd6d1df4b | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Experimentation/Packet experiment/Plot.sce | 755a0fadcc07655bd4e9f16da30b0a8b3478c5c3 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sce | Plot.sce | timeMat = fscanfMat('Linear_Regression/TimeMatrix')
numlines = length(timeMat(:,1))
for i = 1:numlines
end |
bbd396cf8228a4f62d189a5a3233ac50a9908f3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH9/EX9.34/Example9_34.sce | 635e70c3a0f9972ae45fa1ae2ce6973841e8c5af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Example9_34.sce | //Example 9.34
clc
disp("Resolution = V_0FS / 2^n - 1")
disp("Therefore, 20 = V_0FS / 2^n - 1")
disp("Therefore, V_0FS = 5.1 V")
disp(" D = Equivalent of 10000000 = 128")
disp("Therefore, V0 = Resolution * D = 20 * 128 = 2.56 V")
|
5d30be10c79fff426f74f643db67e42fda914717 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/nmirror_w_bias.sce | 69e39c37f7928614f2ea661159dbb637acf51ecd | [] | 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 | 171 | sce | nmirror_w_bias.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td><b>In</b></td> <td>nmirror<br>w_bias</td></tr></table>";
pal5 = xcosPalAddBlock(pal5,"nmirror_w_bias",[],style);
|
dfa440b9e5bbdb88009e9fe01a1a9a05718c3768 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH7/EX7.6/Ex7_6.sce | 7fae9846711e4b7f628180a07026cf394cd0f795 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | Ex7_6.sce | //Chapter 7: Solid State
//Problem: 6
clc;
//Declaration of Variables
l = 2 * 10 ** - 10 //in m
t = 30 //in degrees
// Solution
mprintf("For first-order reflection\n")
d = l / (2 * sin(t))
dist = 2 * d
mprintf(" Hence, distance between planes is : %.0e m ",abs(dist))
|
90bd03bf2405ad557c8b4b1fc23140fa34b8dd58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH1/EX1.7/Ch01Ex7.sce | 8680998b65dc6f2f8c5c73c22cd07489ded1d24c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | Ch01Ex7.sce | // Scilab code Ex1.7: Pg:20 (2008)
clc;clear;
m = 9.1e-031; // Mass of an electron, kgm
h = 6.6e-034; // Planck's constant, joule-sec
c = 3e+08; // Velocity of light, m/s
// Energy of one quantum of radiation is given by E = h*nu and
// furhter, E = m*c^2 where nu = c/Lambda, the frequency of radiation
// On compairing the energies and solving for Lambda
Lambda = h/(m*c); // de Broglie wavelength of an electron, m
printf("\nThe wavelength of quantum of radiant energy = %6.4f angstrom", Lambda/1e-010);
// Result
// The wavelength of quantum of radiant energy = 0.0242 angstrom |
34d30c917cd602c90e085be8c908e0ec5e8eff36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH1/EX1.1/example1_1.sce | b67aa722cb0d6c89ab920ccef75320675e866a2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sce | example1_1.sce | ft=3.67;
m=ft*0.3048;
disp("the given length (in m) is"); disp(m); |
9594dd14c2abea0aa486f1a21d87d8f5f49ca919 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH9/EX9.6/Ex9_6.sce | 0cc8351b4747675978a5e9aa85d1aab64a4dc179 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Ex9_6.sce | clc
//initialization of the problems
clear
s=1.6 //m
s1=4 //m
pi=28 //degrees
w=16 //kg/m^2
p=100 //kg/m^2
pl=20 //cm
pb=10 //cm
r=500 //kg/m^3
Zx=54.8 //cm^3
Zy=3.9 //cm^3
// calculations
pi=pi*%pi/180 //radians
W=w*s+8.1
P=p*s
L=P+W*cos(pi)
Mx=L*s1^2*100/8
sigma_1=Mx/Zx
My=W*sin(pi)*s1^2*100/8
sigma_2=My/Zy
sigma=sigma_1+sigma_2
// results
printf('Maximum stresses are %d kg/cm^2, tension or compression',sigma)
|
63a935128930b0426ad635c87d4f25a692661241 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH21/EX21.3/Ex21_3.sce | af36e332b74493f77f6c0d2cabd9e23d3134b258 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | Ex21_3.sce | clear
// Variable declaration
T_ra=21// The temperature of the returning air
H=50// % saturation
T_d=28// The dry bulb temperature in °C
T_w=20// The wet bulb temperature in °C
m_a=20// The mass flow rate of returning air in kg/s
m_b=3// The mass flow rate of outside air in kg/s
x_ra=0.0079// The moisture content in kg/kg
x_oa=0.0111// The moisture content in kg/kg
h_a=41.8// The enthalpy in kJ/kg
h_b=56.6// The enthalpy in kJ/kg
// Calculation
// Method (b)
t_c=((T_ra*m_a)+(T_d*m_b))/(m_a+m_b)// °C
g_c=((x_ra*m_a)+(x_oa*m_b))/(m_a+m_b)// kg/kg
h_c=((h_a*m_a)+(h_a*m_b))/(m_a+m_b)// kJ/kg dry air
printf("\n \nThe condition of the mixture,t_c=%2.1f°C",t_c)
printf("\n \n g_c=%0.4f kg/kg",g_c)
printf("\n \n h_c=%2.1f kJ/kg dry air",h_c)
|
3a2108303e12c6048a64090e508253c0d30ed0a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH1/EX1.6/example6_sce.sce | 6cf7bad6949dd99e75475d55c64adab67221aab2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | example6_sce.sce | //chapter 3
// exmaple 3.6
//page 124 , figure 3.17
R1=1*10^3;R2=R1;R3=R1;//given
Rf=1*10^3;//given
Vin1=2;Vin2=1;Vin3=4;//given
Vout=-((Rf/R1)*Vin1+(Rf/R2)*Vin2+(Rf/R3)*Vin3);
disp(Vout) |
346488d9e3e92851f482ad1a2f2bb20b28be35f3 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/heatex.tst | 3f37f37239a1b9049b86becf9986e6599823a7da | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 1,035 | tst | heatex.tst | # Heat exchanger test
units SI
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + PROPANE ISOBUTANE n-BUTANE n-PENTANE
# lets have some streams for this test
hotInlet = Stream.Stream_Material()
coldInlet = Stream.Stream_Material()
hotOutlet = Stream.Stream_Material()
coldOutlet = Stream.Stream_Material()
cd hotInlet.In
Fraction = .25 .25 .25 .25
T = 375 K
P = 500
MoleFlow = 800
cd /coldInlet.In
Fraction
Fraction = .95 0 .05 0
VapFrac = 0
P = 300
T
MoleFlow = 1000
cd /
exch = Heater.HeatExchanger()
exch
cd exch
DeltaPC = 10
DeltaPH = 50
DeltaTHO = 5 K
cd /
coldInlet.Out -> exch.InC
exch.OutC -> coldOutlet.In
hotInlet.Out -> exch.InH
exch.OutH.T
exch.OutH -> hotOutlet.In
# results
coldInlet
coldInlet.Out
coldOutlet.Out
hotInlet.Out
hotOutlet.Out
exch.ColdSide.InQ
cd /
copy /exch /hotInlet /coldInlet /hotOutlet /coldOutlet
sub = Flowsheet.SubFlowsheet()
paste /sub
cd /sub
coldInlet
coldInlet.Out
coldOutlet.Out
hotInlet.Out
hotOutlet.Out
exch.ColdSide.InQ |
c8e8d17362ae63df05dfc96cbbbf374a0e3b3a88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH2/EX1.2.16/Ex1_2_16.sce | 1556cbcd0c122f0844d65651e2fca74b70028f84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Ex1_2_16.sce | //Section-1,Example-3,Page no.-AC.205
//To calculate the percentage of excess air used for combustion.
clc;
C=0.54
H=0.065
O=0.03
N=0.018
M_W=(((32/12)*C)+((16/2)*H)-O)*(100/23)//Minimum weight of air required for combustion
W_CO2=(C*(44/12))
W_N2=N+(M_W*(77/100))
T_W=(W_CO2+W_N2) //Total weight of dry products of combustion
B_W=(21.5-T_W) //Balance weight
P_EA=(B_W/M_W)*100
disp(P_EA,' percentage of excess air used for combustion')
|
e230c050c778a030fda3335f95becb9077f0adbc | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/asr02.tst | d203ffaa110b681a79a1bb40c3d00d3fe8588da0 | [] | 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 | 217 | tst | asr02.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the ASR (arithmetic shift right) instruction"
; @Result: "r16 = 1, flags.c = 0, flags.s = 0"
start:
ldi r16, 0b10
asr r16
end:
break
|
8e525059b91bb543dba4ee25600b4f2eac13ff3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH2/EX2.15/Ex2_15.sce | 7a9c670285687e2f8720a4ed057b586565b1ab26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,290 | sce | Ex2_15.sce | // Example 2_15
clc;funcprot(0);
//Given data
w=[1 2 3 4 5 6 7 8 9 10 11 12];// Week
b=[6000 4000 5400 2000 1500 1000 1200 4500 8000 4000 3000 2000];// Weekly flow in m^3/sec
//Calculation
for(i=1:12)
c(i)=b(i)*7;
end
Cv(1)=c(1);// day-sec-metres
Cv(2)=Cv(1)+c(2);// day-sec-metres
Cv(3)=Cv(2)+c(3);// day-sec-metres
Cv(4)=Cv(3)+c(4);// day-sec-metres
Cv(5)=Cv(4)+c(5);// day-sec-metres
Cv(6)=Cv(5)+c(6);// day-sec-metres
Cv(7)=Cv(6)+c(7);// day-sec-metres
Cv(8)=Cv(7)+c(8);// day-sec-metres
Cv(9)=Cv(8)+c(9);// day-sec-metres
Cv(10)=Cv(9)+c(10);// day-sec-metres
Cv(11)=Cv(10)+c(11);// day-sec-metres
Cv(12)=Cv(11)+c(12);// day-sec-metres
w=[0 1 2 3 4 5 6 7 8 9 10 11 12];// Week for plot
CV=[0 Cv(1) Cv(2) Cv(3) Cv(4) Cv(5) Cv(6) Cv(7) Cv(8) Cv(9) Cv(10) Cv(11) Cv(12)];// Cumulative volume in day-sec-metres for plot
ylabel('Flow in thousands & day-sec-meter');
plot(w,CV/1000)
// The total flow in the week,Q=7*day-sec-metres.
// From fig.prob.2.15
C=42*10^3;// The capacity of the reservoir in day-sec-metre
bc=5.7*20*10^3;// day-sec-metre
ac=5.5;// day
Q=bc/(ac*7);// Flow rate available in m^3/sec
printf('\n The capacity of the reservoir=%0.1e day-sec-metre \nFlow rate available=%0.0f m^3/sec',C,Q);
// The answer vary due to round off error
|
5ce5f14b4f2fb55bb6990a59ff6e289495a012df | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH3/EX3.19/Ex3_19.sce | 64e0b4d85ed4efbda55fce260f58750b6050c60b | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sce | Ex3_19.sce | //Chapter 3 : Systems of Linear Equations
//Example 3.26
//Scilab 6.0.1
//Windows 10
clear;
clc;
A=[1 2 -1 -2;
-1 -1 1 1;
0 1 2 1];
disp(A,'A=')
I1=eye(4,4)
I2=eye(3,3)
A=[A I2]
disp(I1)
disp(A)
A(2,:)=A(2,:)+A(1,:)
disp(I1)
disp(A)
A(3,:)=A(3,:)-A(2,:)
disp(I1)
disp(A)
A(3,:)=A(3,:)/2
disp(I1)
disp(A)
I1(1,:)=2*I1(1,:)-A(1,1:4)
disp(I1)
disp(A)
A(1,1:4)=I1(1,:)+A(1,1:4)
A(1,1:4)=A(1,1:4)/2
disp(I1)
disp(A)
I1(2,:)=I1(2,:)+I1(4,:)
A(2,1:4)=A(2,1:4)+I1(2,:)
A(2,1:4)=A(2,1:4)/2
I1(1,:)=I1(1,:)-2*I1(4,:)
disp(I1)
disp(A)
I1(1,:)=I1(1,:)-I1(4,:)
I1(3,:)=I1(3,:)-I1(4,:)
A(3,1:4)=A(3,1:4)-I1(4,:)
disp(I1)
disp(A)
N=[]
N(1,:)=A(1,1:4)
N(2,:)=A(2,1:4)
N(3,:)=A(3,1:4)
disp(N,'N=')
P=[]
P(1,:)=A(1,5:7)
P(2,:)=A(2,5:7)
P(3,:)=A(3,5:7)
disp(P,'P=')
disp(I1,'Q=')
|
7fecf3cb0bc8c5fc976e33a79965c6fd67383c92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH4/EX4.8/Example4_8.sce | 06247e5d787bfb8cc04906ad671db14a75fadb24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 834 | sce | Example4_8.sce | exec("degree_rad.sci",-1)
//Given that
gr_height = 3 //in m
theta = dtor(53)
g = -9.8 //in m/s^2
v0 = 26.5 //in m/s
tower_height = 18 //in m
//Sample Problem 4-8a
printf("**Sample Problem 4-8a**\n")
x = poly(0,'x')
y = x * tan(theta) + g * x * x /(2* v0^2) * sec(theta)^2
y_tower1 = horner(y,23)
if y_tower1<0 then printf("No, It does not clear the first Ferris wheel\n")
else printf("Yes, It clears the first Ferris wheel\n")
end
//Sample Proble, 4-8b
printf("\n**Sample Problem 4-8b**\n")
y_max = horner(y,34.5)
printf("The balls clearance above middle tower is %f m\n", y_max + gr_height - tower_height)
//Sample Problem 4-8c
printf("\n**Sample Problem 4-8c**\n")
Range = -v0^2 * sin(2*theta)/g
printf("The centre of the net should be placed at a diastance of %f m form the cannon", Range) |
3fa27655022f58a464a292f0e3560919e6c8e94e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH8/EX8.4/exa_8_4.sce | e7caa113192e31047e4541a87babe881fe917bdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | exa_8_4.sce | // Exa 8.4
clc;
clear;
close;
// Given data
l=2.5;// in cm
l=l*10^-2;// in meter
d=1;// in cm
d=d*10^-2;// in meter
Va= 1000;// in volts
theta= 1;// in degree
// Formula tand(theta) = l*Vd/(2*d*Va)
Vd= 2*d*Va/l*tand(theta);// in volts
disp(Vd,"Voltage required across the deflection plates in volts")
|
065820892aba1c3dc033197e68124683f03a6466 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/tdcs/finit.sci | c9a595be538771fd6720002fcc6b3950fbdf941f | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,282 | sci | finit.sci | //[]=finit()
// Initialisation de parametres relatif au probleme
// de l'alunissage
//k : acceleration de poussee de la fusee
//gamma : acceleration de la pesanteur sur la lune
//umax : debit maximum d'ejection des gaz
//mcap : masse de la capsule
//cpen : penalisation dans la fonction cout de l'etat final
//!
k=100
gamma=1
umax = 1
mcap = 10
cpen =100;
[k,gamma,umax,mcap,cpen]=resume(k,gamma,umax,mcap,cpen)
//end
//[ukp1]=fuseegrad(niter,ukp1,pasg)
//[ukp1]=fuseegrad(niter,ukp1,pasg)
// niter : nombre d'iteration de gradient a faire a partir
// de ukp1 solution initiale de taille 135
// pasg : le pas de gradient choisit
// la valeur renvoyee est la derniere loi de commande obtenue.
// l'optimum s'obtient avec ubang(135,50)
// (optimum du pb non penalise)
//!
// fenetres graphiques
xset("window",0);xclear();
xset("window",1);
if xget("window")=0 , xinit('unix:0.0'),xset("window",1),end
xclear();
xset("window",2);
if xget("window")=0 , xinit('unix:0.0'),xset("window",2),end
xclear();
// on s'arrete a tf=135
tf=135
[n1,n2]=size(ukp1)
if n2 <>135, print(%io(2),"uk doit etre un vecteur (1,135)")
return,end
// Calculs de gradient et dessins
for i=1:niter, [c,xk,pk,ukp1]=fcout(tf,ukp1,pasg),
write(%io(2),c,'(''Cout : '',f20.2)');
write(%io(2),xk(3,135),'(''Masse de la fusee : '',f20.2)');
xset("window",0);
tt=1:tf;
plot2d(tt',xk(1,:)',[-1],"111","Trajectoire",[1,0,tf,5200]);
xset("window",1);
plot2d(tt',xk(3,:)',[-1],"111","Evolution de la masse",[1,10,tf,100]);
xset("window",2);
plot2d(tt',ukp1',[-1],"111","Commande",[1,-1,tf,2]);
end
//end
//[c,xk,pk,ukp1]=fcout(tf,uk,pasg)
//[c,xk,pk,ukp1]=fcout(tf,uk,pasg)
// pour une loi de commande uk
// Calcule la fonction cout que l'on cherche a minimiser
// c = -m(tf) + C*( h(tf)**2 + v(tf)**2)
// (on veut minimiser la consommation et atteindre la
// cible h=0 avec une vitess nulle obtenue par penalisation)
// la trajectoire associee
// Calcule aussi une nouvelle loi de commande par une methode
// de gradient
//!
[xk,pk]=equad(tf,uk);
c= - xk(3,tf) +cpen*(xk(1,tf)**2 +xk(2,tf)**2);
grad = k*pk(2,:)./xk(3,:) -pk(3,:);
//gradient projete su [0,umax]
ukp1=maxi(mini(uk- pasg*grad,umax*ones(1,tf)),0*ones(1,tf));
//end
//[xdot]=fusee(t,x)
//[xdot]=fusee(t,x)
// dynamique de la fusee
//!
xd= x(2);
if x(3)<= 10, md=0
yd= -gamma;
,else md= -pousse(t),
yd= k*pousse(t)/x(3)-gamma;
end;
xdot=[xd;yd;md];
//end
//[pdot]=fuseep(t,p)
//[pdot]=fuseep(t,p)
//equation adjointe
//!
xp=0
yp=-p(1);
zp= p(2)*k*pousse(t)/(traj(t)**2);
pdot=[xp;yp;zp]
//end
//[ut]=pousse(t)
//[ut]=pousse(t)
// la loi de commande u(t) constante par morceaux
// construite sur la loi de comande discrete uk
//!
[n1,n2]=size(uk);
ut=uk(mini(maxi(ent(t),1),n2));
//end
//[uk]=ubang(tf,tcom)
//[uk]=ubang(tf,tcom)
// genere une loi bang-bang qui vaut 0 de 0 a tcom
// et 1 de tcom a tf
//!
uk=0*ones(1,tf)
uk(tcom:tf)=1*ones(1,tf-tcom+1);
//end
//[]=sfusee(tau,h0,v0,m0,Tf)
//[]=sfusee(tau,h0,v0,m0,Tf)
//
// calcule la trajectoire de la fusee soumise a
// une commande bang-bang
// tau est la date de commutation
// h0 : la hauteur initiale
// v0 : la vitesse initiale ( negative si chute)
// m0 : la masse initiale ( carburant + capsule)
// Tf : l'horizon d'integration
//!
// Premiere phase : chute libre
n=20;
ind=1:n;
t= ind*tau/n;
m(ind)= m0*ones(1,n);
v(ind)=-gamma*(t)+v0*ones(1,n);
h(ind)= - gamma*(t.*t)/2 + v0*(t) + h0*ones(1,n);
m = [ m0,m]
v= [ v0,v]
h= [h0,h]
t= [ 0 t]
// Deuxieme phase : frein plein gaz
n1=40;
ind=1:n1;
ind1=0:(n1-1)
t1= ind1*Tf/(n1-1) +tau* ((n1-1)*ones(1,n1)-ind1)/(n1-1);
m1(ind)= ( m0+umax*tau)*ones(1,n1) -umax*(t1);
mcapsul=mcap*ones(1,n1);
m1=maxi(m1,mcapsul);
v1(ind)= - gamma*(t1)+ v0*ones(1,n1) -k *log( m1(ind)/m0);
h1(ind)= - gamma*(t1.*t1)/2 + v0*(t1) + (h0-k*tau)*ones(1,n1)...
+(k/umax)*m1(ind).*log(m1(ind)/m0)+k*t1;
m=[m,m1];
v=[v,v1];
h=[h,h1];
t=[t,t1];
// a revoir
[m1,m2]=maxi(h,0*h);
m2=2*ones(m2)-m2;
[n1,n2]=size(m2);
ialu=1;
for i=1:n2,if m2(i)=0,ialu=[ialu,i],end,end
ialu=ialu(2);
write(%io(2),t(ialu),'('' Date alunissage'',f7.2)')
write(%io(2),m(ialu),'('' Masse alunissage'',f7.2)')
write(%io(2),v(ialu),'('' Vitesse alunissage'',f7.2)')
xset("window",0)
xclear();
// Dessin
[q1,q2]=size(h)
h1=0*ones(h);
//h1(ialu:q2)=maxi(h)*ones(1,q2-ialu+1);
//
plot2d([t]',[h]',[-1;1],"111","distance par rapport au sol",...
[0,0,tf,maxi(h)])
xset("window",1)
if xget("window")=0 , xinit('unix:0.0'),xset("window",1),end
xclear();
plot2d([t;t]',[v;0*v]',[-1;-1],"121",...
"vitesse de la fusee (si + v ascent.)@0");
//recherche de la date d'arrivee au sol
//end
//[xk,pk]=equad(tf,uk)
//[xk,pk]=equad(tf,uk)
// pour une loi de commande u(t) stockee dans uk, calcule
// la trajectoire xk associee et l'etat adjoint pk
//!
xk=ode([5220;-5;100],1,1:tf,0.01,0.01,fusee);
deff('[y]=gg(t,x)','y=-fuseep('+string(tf)+'-t,x)');
// condition finales pour l'equation adjointe
// en fait on minimise -m(tf)**2+...
pk=ode([2*cpen*xk(1,tf);2*cpen*xk(2,tf);-xk(3,tf)],0.01,0.01:tf,...
1,1,gg);
pk(1,:)=pk(1,tf:-1:1);
pk(2,:)=pk(2,tf:-1:1);
pk(3,:)=pk(3,tf:-1:1);
//end
//[xt]=traj(t)
//[xt]=traj(t)
// approximation constante par morceaux de l'evolution de la masse
// construite sur xk : trajectoire discrete.
//!
xt=xk(3,maxi(ent(t),1));
//
//end
|
f6fdf02c12493133a501897b1a65b76be28a9054 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300.zip/Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300/CH23/EX23.31.2/Ex23_2.sce | 60477f17afb151344dc4d4ca593b3f8870bf5e4a | [] | 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 | 395 | sce | Ex23_2.sce | errcatch(-1,"stop");mode(2);//scilab 5.4.1
//Windows 7 operating system
//chapter 23 Lasers,Fibre Optics,and Holography
V=500//V=bandwidth of a He-Ne laser in Hz
t=1/V//t=coherence time
disp("ms",(t*(10^3)),"The coherence time is =")
c=3*10^8//c=velocity of light in m/s
Lc=c/V//Lc=longitudinal coherence length
disp("km",(Lc/1000),"The longitudinal coherence length is=")
exit();
|
96fa32f775be3b2f05887f9b603ad56798f70ac9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH7/EX7.13/7_13.sce | b083ad811628c70646bdef5c4301fa4b0a7ba475 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 849 | sce | 7_13.sce | //water chemistry//
//example 7.13//
W1=160;//amount of Ca2+ in ppm//
W2=88;//amount of Mg2+ in ppm//
W3=72;//amount of CO2 in ppm//
W4=488;//amount of (HCO3)- in ppm//
W5=139;//amount of (FeSO4).7H2O in ppm//
M1=100/40;//multiplication factor of Ca2+//
M2=100/24;//multiplication factor of Mg2+//
M3=100/44;//multiplication factor of CO2//
M4=100/(61*2);//multiplication factor of (HCO3)-//
M5=100/278;//multiplication factor of (FeSO4).7H2O//
P1=W1*M1;//in terms of CaCO3//
P2=W2*M2;//in terms of CaCO3//
P3=W3*M3;//in terms of CaCO3//
P4=W4*M4;//in terms of CaCO3//
P5=W5*M5;//in terms of CaCO3//
V=100000;//volume of water in litres//
L=0.74*(P2+P3+P4+P5)*V;//lime required in mg//
L=L/10^6;
printf("Lime required is %fkg",L);
S=1.06*(P1+P2+P5-P4)*V;//soda required in mg//
S=S/10^6;
printf("\nSoda required is %fkg",S);
|
e1b8e162e45aa199135e15baa531fb89de0cf2c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH7/EX7.10/Ex7_10.sce | 91d5cc871b8422aa16a161ec89ec2f154c9341de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_10.sce | //Example 7.10
m=65;//Mass of player (kg)
v_i=6;//Initial velocity (m/s)
f=450;//Force of friction (N)
theta=5;//Angle of incline (deg)
d=(1/2*m*v_i^2)/(f+m*g*sind(theta));//Distance slid (m)
printf('Distance slid = %0.2f m',d)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
e1f1c88468db937a13b3b73e9895a7a3d4a09ae3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH3/EX3.19/Example3_19.sce | e3c756f191ace21e953b2f0d65b3e99dc52ca44a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | Example3_19.sce | close();
clear;
clc;
//line voltage 'Vl', resistance 'R', reactance 'X'
Vl = 207.8;
R = 36;
X = 48;
//inpedance
Z = sqrt(R^2 + X^2);
//(a)phase current 'Ip'
Ip = Vl/Z; //A
mprintf("Phase current, Ip = %0.2f A\n\n",Ip);
//(b)line current 'Il'
Il = sqrt(3)*Ip; //A
mprintf("Line current, Il = %d A\n\n",round(Il));
//(c)power factor 'pf'
pf = R/Z;
mprintf("Power factor, pf = %0.1f lagging\n\n",pf);
//(d)total power 'P'
P = sqrt(3)*Vl*Il*pf; //W
mprintf("Total power, P = %d W",round(P));
|
5c0aee404c598b3061a78da8e9fbe02e1b645402 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH12/EX12.01/12_01.sce | 60fbe1851d2fa337b876fff7295dcd6d9c62dc0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_01.sce | //pathname=get_absolute_file_path('12.01.sce')
//filename=pathname+filesep()+'12.01-data.sci'
//exec(filename)
//Pressure at which steam is supplied(in MPa):
p1=0.2
//Temperature of steam(in C):
T=250
//Pressure upto which steam is expanded(in bar):
p2=0.3
//Pressure at which it is finally released(in bar):
p3=0.05
//From steam tables:
h1=2971 //kJ/kg
s1=7.7086 //kJ/kg.K
s2=s1
h2=2601.97 //kJ/kg
v2=5.1767 //m^3/kg
hf=137.82 //kJ/kg
Tmax=393.23 //K
Tmin=305.88 //K
//Work output from engine cycle per kg of steam(in kJ/kg):
W=h1-h2+v2*(p2-p3)*10^2
//Heat input per kg of steam(in kJ/kg):
Q=h1-hf
//Efficiency of modified Rankine cycle:
n=W/Q*100
//Carnot efficiency:
nc=(1-Tmin/Tmax)*100
printf("\n RESULT \n")
printf("\nModified Rankine cycle efficiency = %f percent",n)
printf("\nCarnot efficiency = %f percent",nc) |
4ff77f5283b6ac18f191bd2003900e711d1ed78e | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.45/Ch5_5_45.sce | 7cd54acb5f42db8cce954dc23288b8925db6b6c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Ch5_5_45.sce | clc
disp("Example 5.45")
printf("\n")
disp("calculate the value of R & c for RC phase shift oscillator")
printf("Given\n")
//oscillating frequency
f=2000
//select Capacitor value
C=0.1*10^-6
//resistance value
R=1/(2*%pi*f*C*sqrt(6))
printf("Resistance value \n%f ohm\n",R)
|
23972f3c38934b9bc76560261643949dcbcad52a | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH7/EX7.2.1/7_2_1.sce | 1e903dda7923ed1335ea2fbfdda4d7a7be15c183 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 481 | sce | 7_2_1.sce | //CAPTION: Conductivity_of_an_n-Type_GaAs_Gunn_Diode
//chapter_no.-7, page_no.-294
//Example_no.7-2-1
clc;
//Calculate_the_conductivity_of_the_diode
e=1.6*(10^-19);
nl=(10^10)*(10^6);//electron_density_at_lower_valley
nu=(10^8)*(10^6);//electron_density_at_upper_valley
ul=8000*(10^-4);//electron_mobility_at_lower_valley
uu=180*(10^-4);//electron_mobility_at_upper_valley
o=e*((nl*ul)+(nu*uu));
o=o*1000;
disp(o,'the_conductivity_of_the_diode(in mmhos)is =');
|
31679fe515965ee7e6ee0d561432a92e071a7a2a | 14a72a1c4caceaaa52bfd973edacc3b3280fe783 | /SmartOrni/src/SciLab/testes.sce | dc684024086dbd3c84b5d1322d7f8e0bd39bd1d1 | [] | no_license | betito/beto-inpa | 55b7e8d25bd8c6535e2d071ff64c24e38afd3fc7 | 9ecc175967ec78b2f03471fefd863762f33de1fe | refs/heads/master | 2020-05-18T00:32:45.253708 | 2015-03-20T01:32:45 | 2015-03-20T01:32:45 | 32,187,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | testes.sce |
localdir="./*.wav"
listoffiles = listfiles(localdir)
//disp(listoffiles(:))
[numfiles, y] = size(listoffiles)
//disp(numfiles)
//disp(y)
listoffiles = ["_Inambari-Tambopata__Antwren_0.wav" "Papa-formiga-barrado_7.wav"]
data = read(listoffiles(1,1) + ".dat", -1,240000)
listoffiles = ["_Inambari-Tambopata__Antwren_0.wav" "Papa-formiga-barrado_7.wav"]
for i = 1:2
filename = listoffiles(1,i)
disp(filename)
[x,y] = loadwave(filename)
[linhas, colunas] = size(x)
// disp(x)
disp(y)
disp(linhas)
disp(colunas)
end
disp ("Fim...")
|
606e013867ebdaf41fde715206ff57ee30ffe175 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.8/Ex6_12_8.sce | ce92b449853cb3097d1c7a3201c95fab30e63225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Ex6_12_8.sce | //Section-6,Example-1,Page no.-P.40
//To find by how much is the chemical potential of benzene reduced for the given conditions.
clc;
x_B=0.10
x_A=1.0-0.10
R=8.314
T=298
mu=R*T*log(x_A) //mu=mu_A-mu_Abar
disp(mu,'Required chemical potential(Jmol^-1)')
|
481ad3bea74c0a54a28b26015e3778d8c3607f3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH11/EX11.4/EX11_4.sce | 78507c3d7074399b96a494f7c7528a3fe719b08e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,363 | sce | EX11_4.sce | // Example 11.4
// Computation of resistance using linear approximation and values are
// compared with results obtained in example 11.1
// Page No. 456
clc;
clear;
close;
// Given data
HP=40; // hp rating of the device
%ratedload=0.902; // Percentage rated load
VT=240; // Voltage value of motor
RF=99.5; // Resistance of shunt motor
Nf=1231; // Turns per pole of the shunt motor
Ra=0.0680; // Armature resistance
RIP=0.0198; // Interpole winding resistance
Rs=0.00911; // Resistance of series field winding
Bp1=0.70; // Flux density for a net mmf
n1=1150; // Speed of shunt motor
n2=1.25*n1;
IT=137.84;
// Computation of resistance using linear approximation and values are
// compared with results obtained in example 11.1
IF=VT/RF; // Field current
Ia1=IT-IF; // Armature current
Fnet1=Nf*IF; // Net mmf
Racir=Ra+RIP+Rs; // Armature circuit resistance
Fnet2=Fnet1*(n1/n2)*((VT-Ia1*Racir*1.15)/(VT-Ia1*Racir));
IF1=Fnet2/Nf; // Field current
Rx=(VT/IF1)-RF; // External resistance required
// Display result on command window
printf("\n The resistance rating of an external resistance = %0.2f Ohm ",Rx);
|
ffb1c747540b14de2f575cb1b73f9b9c112b7c15 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.22/Ex2_22.sce | 09f5be2271db0ee1b4f6d4034935cbe5b1802bed | [] | 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 | 463 | sce | Ex2_22.sce | errcatch(-1,"stop");mode(2);//Caption:Find the speed of machine
//Exa:2.22
;
;
V=250;//in volts
P_i=50*10^3;//in watts
I_L1=P_i/V;//in amperes
R_a=0.02;//in ohms
R_f=50;//in ohms
I_f=V/R_f;//in amperes
I_a1=I_L1+I_f;//in amperes
I_L2=P_i/V;//in amperes
I_a2=I_L2-I_f;//in amperes
N_1=400;//in rpm
E_2=V-(I_a2*R_a)-(2*1);//in volts
E_1=V+(I_a1*R_a)+(2*1);//in volts
N_2=int(N_1*(E_2/E_1));//in rpm
disp(N_2,'speed of motor (in rpm)=')
exit();
|
76adf3c8ef9ffcd561034e2644cc9c7ec4e36deb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.48/Exa_2_48.sce | 38338fcd43e4f2003a7fab49f2fd80d0fd3796e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | Exa_2_48.sce | //Exa 2.48
clc;
clear;
close;
format('v',7);
//Given Data :
V1=1.5;//m^3
V2=0;//m^3
p=1.02;//bar
W=p*10^5*integrate('1','V',V1,V2);//J
disp(W/1000,"Work done by the air in KJ : ");
|
57cb50ec8026eece3688e3a971e97a72bee0f328 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH7/EX7.14/Ex7_14.sce | 1898617cdbd4e1347e707024915654e5cd2b3351 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_14.sce | // Scilab Code Ex7.14: Page-382 (2008)
clc; clear;
e = 1.6e-019; // The energy equivalent of 1 eV, J
c = 3e+008; // Speed of light in vacuum, m/s
n = 1; // Order of diffraction
d = 2.82e-010; // Interplanar spacing, m
V = 9.1e+003; // Operating voltage of X rays
theta = 14; // Bragg's angle, degree
lambda = 2*d*sind(theta)/n; // Wavelength of X rays, m
nu = c/lambda; // Frequency of X rays, Hz
h = e*V/nu; // Planck's constant, Js
printf("\nThe value of Planck constant, h = %4.2e Js", h);
// Result
// The value of Planck constant, h = 6.62e-034 Js |
7bcca8ea7375dc7a37f38ec9f9363d13cd4d5557 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH7/EX7.13/7_13.sce | 574d28f998a09d205c63cf6674240830e02b2d90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | 7_13.sce | clc,clear
printf('Example 7.13\n\n')
CE_Ag=107.98; CE_Al=27/3; //chemical equivalents
//Electrochemical equivalents
ECE_Ag=0.00111*10^-3 //in kg/C
ECE_Al=ECE_Ag * (CE_Al/CE_Ag)
current_efficiency=92/100
I=3000 //average current in A
t=24*3600 //duration of flow of current in seconds
m_al=ECE_Al*I*t*current_efficiency
printf('Mass of aluminium produced = %.3f kg',m_al)
|
fc65f561339d9003239a67c22562dc2b38a6fa42 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/hh_neuron_b_debug.sce | 688dd77b77aabc7fc27e6d9778a8dfd4e4fa7430 | [] | 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 | 1,350 | sce | hh_neuron_b_debug.sce | //*************** HH neuron b debug **********************
if (blk_name.entries(bl) =='hh_neuron_b_debug') then
mputl("# HH neuron b debug",fd_w);
hh_neuron_b_debug_str= ".subckt hh_neuron_b_debug"
for ss=1:scs_m.objs(bl).model.ipar(1)
hh_neuron_b_debug_str=hh_neuron_b_debug_str+" in[0]=net"+string(blk(blk_objs(bl),2))+"_"+string(ss)+" in[1]=net"+string(blk(blk_objs(bl),3))+"_1"+" in[2]=net"+string(blk(blk_objs(bl),4))+"_1"+" in[3]=net"+string(blk(blk_objs(bl),5))+"_1"+" out[0]=net"+string(blk(blk_objs(bl),2+numofip))+"_"+string(ss)+" out[1]=net"+string(blk(blk_objs(bl),3+numofip))+"_1"+" out[2]=net"+string(blk(blk_objs(bl),4+numofip))+"_1"+" #hh_neuron_b_local[0] =0&hh_neuron_b_bias_1[0] ="+string(sprintf('%1.2e',scs_m.objs(bl).model.rpar(1)))+"&hh_neuron_b_bias_2[0] ="+string(sprintf('%1.2e',scs_m.objs(bl).model.rpar(2)))+"&hh_neuron_b_bias_3[0] ="+string(sprintf('%1.2e',scs_m.objs(bl).model.rpar(3)))+"&hh_neuron_b_bias_4[0] =2.0e-06";
end
mputl(hh_neuron_b_debug_str,fd_w);
mputl(" ",fd_w);
if scs_m.objs(bl).model.ipar(2) == 1 then
plcvpr = %t;
plcloc=[plcloc;'net'+string(blk(blk_objs(bl),2+numofip))+'_1',' '+string(scs_m.objs(bl).model.ipar(3))+' '+string(scs_m.objs(bl).model.ipar(4))+' 0'];
end
string(sprintf('%1.2e',scs_m.objs(blk_objs(bl)).model.rpar(ss*3)))
end
|
1cce1586bd8432f2719de51b4375ca5ca500a1cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.41/ques41.sce | f8bfcf53c332a44b0de8ce736ba473450688b047 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | ques41.sce | //ques41
clc
disp('tanu=dQ/dr*r');
syms Q a;
r=2*a/(1-cos(Q));
u=atan(r/diff(r2,Q,1));
u=eval(u);
p=r*sin(u);
syms r;
Q=acos(1-2*a/r);
//cos(Q)=1-2*a/r;
p=eval(p);
disp(p);
|
36fe1ea5984051b2c6b6f4358a38d3a93f32025f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH27/EX27.1/Example27_1.sce | 330f770b053f817db11a9be8e17bdac35cffd0e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,105 | sce | Example27_1.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 1: SYMMETRICAL SHORT CIRCUIT CAPACITY CALCULATIONS
// EXAMPLE : 1.1 :
// Page number 466-467
clear ; clc ; close ; // Clear the work space and console
// Given data
V = 500.0 // Generator voltage(V)
rating = 10.0 // Rating of the generator(kVA)
n_up = 1.0/2 // Turns ratio of step-up transformer
Z_line = complex(1.0,2.0) // Transmission line impedance(ohm)
n_down = 10.0/1 // Turns ratio of step-down transformer
load = complex(2.0,4.0) // Load(ohm)
// Calculations
V_base_gen = V // Base voltage(V)
kVA_base_gen = rating // Base rating(kVA)
I_base_gen = kVA_base_gen*1000/V_base_gen // Base current(A)
Z_base_gen = V_base_gen/I_base_gen // Base impedance(ohm)
V_base_line = V_base_gen/n_up // Voltage base of the transmission line(V)
kVA_base_line = rating // Base rating of transmission line(kVA)
I_base_line = kVA_base_line*1000/V_base_line // Base current of transmission line(A)
Z_base_line = V_base_line/I_base_line // Base impedance of transmission line(ohm)
Z_line_1 = Z_line/Z_base_line // Impedance of transmission line(p.u)
V_base_load = V_base_line/n_down // Base voltage at the load(V)
kVA_base_load = rating // Base rating of load(kVA)
I_base_load = kVA_base_load*1000/V_base_load // Base current of load(A)
Z_base_load = V_base_load/I_base_load // Base impedance of load(ohm)
Z_load = load/Z_base_load // Load impedance(p.u)
Z_total = Z_line_1+Z_load // Total impedance(p.u)
I = 1.0/Z_total // Current(p.u)
// Results
disp("PART III - EXAMPLE : 1.1 : SOLUTION :-")
printf("\nCurrent, I = %.3f∠%.2f° p.u", abs(I),phasemag(I))
|
86c4de393018f7217efae6984a237604dc16e0d0 | 44762c68a41cf98070cac7c4443b3bb8ac3bfc8f | /index.tst | 67cf7e06c60f745b252a637d0032ad73063b8d76 | [] | no_license | FredrikEk/Cloud-based-Cryptostorage | 6a92d50feb0d32a3fabfe7f99ee95436a602ca4e | 1620758655bc0222a20ad1d41554bcd3c7467069 | refs/heads/master | 2020-06-04T22:39:58.885100 | 2015-01-10T09:54:44 | 2015-01-10T09:54:44 | 29,053,329 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,796 | tst | index.tst | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>JavaScript File Encryption App</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="http://fonts.googleapis.com/css?family=Raleway:400,700" rel="stylesheet" />
<link href="assets/css/style.css" rel="stylesheet" />
</head>
<body>
<a class="back"></a>
<div id="stage">
<div id="step1">
<div class="content">
<a class="button encrypt green">Encrypt a file</a>
<a class="button decrypt magenta">Decrypt a file</a>
</div>
</div>
<div id="step2">
<div class="content if-encrypt">
<h1>Choose which file to encrypt</h1>
<a class="button browse blue">Browse</a>
<input type="file" id="encrypt-input" />
</div>
<div class="content if-decrypt">
<h1>Choose which file to decrypt</h1>
<a class="button browse blue">Browse</a>
<input type="file" id="decrypt-input" />
</div>
</div>
<div id="step3">
<div class="content if-encrypt">
<h1>Enter a pass phrase</h1>
<input type="password" />
<a class="button process red">Encrypt!</a>
</div>
<div class="content if-decrypt">
<h1>Enter the pass phrase</h1>
<input type="password" />
<a class="button process red">Decrypt!</a>
</div>
</div>
<div id="step4">
<div class="content">
<h1>Your file is ready!</h1>
<a class="button download green">Download</a>
</div>
</div>
</div>
</body>
<!-- Include the AES algorithm of the crypto library -->
<script src="https://rawgithub.com/bitwiseshiftleft/sjcl/master/sjcl.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="assets/js/script.js"></script>
</html>
|
7538c5b47c20a4b35807b31fe6157769eb4b7a68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH9/EX9.28/Example9_28.sce | fa2d816824c98a4c2519c06ac8b437505db5d0cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example9_28.sce | //Chapter-9,Example9_28,pg 9_82
Po=20*735.5//(in W)
V=230
N=1150
P=4
A=P
Z=882
Ia=73
Ish=1.6
T=60*Po/(2*%pi*N)
phi=T*A/(0.159*Ia*P*Z)//flux per pole
Il=Ia+Ish
Pin=V*Il
n=Po*100/Pin
printf("electromagnetic torque\n")
printf("T=%.3f Nm\n",T)
printf("flux per pole\n")
printf("phi=%.3f Wb\n",phi)
printf("efficiency of motor\n")
printf("n=%.3f",n)
|
e5a90c5e98513dfa167d6d87010bfb535f189477 | 9224090b07cb3f466fe72819cf90ca0c4dedc901 | /Exercise 22/Exercise 22a.sce | 5e17e12980f178a0b6bde32333530c0c2668ddd1 | [] | no_license | MGYBY/advanced_ocean_modelling | 8c383b09f4077174559bd7964062625012026fa0 | 848f0f4d616d472021c31582b64557f04067ce74 | refs/heads/main | 2023-07-14T14:37:57.714203 | 2021-08-20T20:13:49 | 2021-08-20T20:13:49 | 398,386,684 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,835 | sce | Exercise 22a.sce | //=============================================
// Exercise 22: Exchange flow through a strait
//=============================================
// Animation of surface and bottom distributions of Eulerian concentrations & flow fields
// Author: Jochen Kaempf, March 2015 (update)
f = gcf(); f.color_map = jetcolormap(64); f.figure_size = [600,600]; scf(0);
// manipulate color map to make the extreme red a bit lighter
map = jetcolormap(64);
ic = 57; for i = ic+1:64; map(i,1:3) = map(ic,1:3); end;
f.color_map = map;
// read input data
C1=read("cS.dat",-1,100); u1=read("uS.dat",-1,100); v1=read("vS.dat",-1,100);
C2=read("cB.dat",-1,100); u2=read("uB.dat",-1,100); v2=read("vB.dat",-1,100);
[ntot nx] = size(C1); x = (1:2:199)'; y = (1:2:99)';
ntot = int(ntot/50);
for n = 1:ntot // animation loop
time = (n-1)*6; // time in hours
nn = n-1;
// grab data blocks
itop = (n-1)*50+1; ibot = itop+49;
cS = C1(itop:ibot,1:100)'; uS = u1(itop:ibot,1:100); vS = v1(itop:ibot,1:100);
cB = C2(itop:ibot,1:100)'; uB = u2(itop:ibot,1:100); vB = v2(itop:ibot,1:100);
// subplot 1: surface distribution
// interpolate velocity components onto scalar grid point
um = uS; vm = vS;
for j = 1:50; for k = 2:100; um(j,k) = 0.5*(uS(j,k)+uS(j,k-1)); end; end;
for j = 1:50; um(j,1) = um(j,2); end;
for j = 2:50; for k = 1:100; vm(j,k) = 0.5*(vS(j,k)+vS(j-1,k)); end; end;
for k = 1:100; vm(1,k) = vm(2,k);end;
// elimination of grid points of too low speeds
for j = 1:50; for k = 1:100;
speed(j,k) = sqrt(um(j,k)*um(j,k)+vm(j,k)*vm(j,k));
if speed(j,k) < 0.01; um(j,k) = 0.0; vm(j,k) = 0.0; end;
end; end;
ua = um(1:2:50,1:2:100); va = vm(1:2:50,1:2:100);
drawlater; clf();
subplot(211);
// 2d color plot of surface concentration field
Sgrayplot(x,y,1-cS,,zminmax=[0,1]);
// overlay contour plot
xset("fpf"," "); col(1:11) = 80;
contour2d(x,y,cS,11,col);
//overlay flow arrows
champ(x(1:2:100),y(1:2:50),ua',va',1);
// specify graph & axis properties
a = gca(); a.font_size = 3; a.data_bounds = [0,0;200,100];
a.auto_ticks = ["off","off","on"]; a.sub_ticks = [1,1];
a.x_ticks = tlist(["ticks", "locations","labels"],..
[0 40 80 120 160 200], ["0" "40" "80" "120" "160" "200"]);
a.y_ticks = tlist(["ticks", "locations","labels"],..
[0 20 40 60 80 100], ["0" "20" "40" "60" "80" "100"]);
xset("color",-1)
xfrect(80,30,40,29);
xfrect(80,100,40,30);
xset("color",-1);
xstring(83, 90,"SURFACE");
txt=gce(); txt.font_size = 3; txt.font_foreground = -1;
title("Time = "+string(0.01*int(100*time/24))+" days","fontsize",3,'position',[100 100]); // add title
xstring(90,2,"x (m)"); // add x label
txt=gce(); txt.font_size = 3; txt.font_foreground = -1;
xstring(2,47,"y (cm)"); // add z label
txt=gce(); txt.font_size = 3; txt.font_foreground = -2;
// subplot 2: bottom distribution
// interpolate velocity components onto scalar grid point
um = uB; vm = vB;
for j = 1:50; for k = 2:100; um(j,k) = 0.5*(uB(j,k)+uB(j,k-1)); end; end;
for j = 1:50; um(j,1) = um(j,2); end;
for j = 2:50; for k = 1:100; vm(j,k) = 0.5*(vB(j,k)+vB(j-1,k)); end; end;
for k = 1:100; vm(1,k) = vm(2,k);end;
// elimination of grid points of too low speeds
for j = 1:50; for k = 1:100;
speed(j,k) = sqrt(um(j,k)*um(j,k)+vm(j,k)*vm(j,k));
if speed(j,k) < 0.01; um(j,k) = 0.0; vm(j,k) = 0.0; end;
end; end;
ua = um(1:2:50,1:2:100); va = um(1:2:50,1:2:100);
subplot(212);
// 2d color plot of bottom concentration field
Sgrayplot(x,y,1-cB,,zminmax=[0,1]);
// overlay contour plot
xset("fpf"," "); col(1:11) = 80;
contour2d(x,y,cB,11,col);
//overlay flow arrows
champ(x(1:2:100),y(1:2:50),ua',va',1);
// specify graph & axis properties
a = gca(); a.font_size = 3; a.data_bounds = [0,0;200,100];
a.auto_ticks = ["off","off","on"]; a.sub_ticks = [1,1];
a.x_ticks = tlist(["ticks", "locations","labels"],..
[0 40 80 120 160 200], ["0" "40" "80" "120" "160" "200"]);
a.y_ticks = tlist(["ticks", "locations","labels"],..
[0 20 40 60 80 100], ["0" "20" "40" "60" "80" "100"]);
xset("color",-1)
xfrect(80,30,40,29);
xfrect(80,100,40,30);
xset("color",-1);
xstring(83, 90,"BOTTOM");
txt=gce(); txt.font_size = 3; txt.font_foreground = -1;
title("Time = "+string(0.01*int(100*time/24))+" days","fontsize",3,'position',[100 100]); // add title
xstring(90,2,"x (m)"); // add x label
txt=gce(); txt.font_size = 3; txt.font_foreground = -1;
xstring(2,47,"y (cm)"); // add z label
txt=gce(); txt.font_size = 3; txt.font_foreground = -2;
drawnow;
// save frames as sequential GIF files (optional)
//if nn < 10 then
// xs2gif(0,'ex100'+string(nn)+'.gif')
//else
// if nn < 100 then
// xs2gif(0,'ex10'+string(nn)+'.gif')
//else
// xs2gif(0,'ex1'+string(nn)+'.gif')
// end
//end
end // end reference for animation loop
|
6c786289a1c88679f7233424bb0fdbc943445b4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH4/EX4.18/Ex4_18.sce | a9d56d4cd7fd107e88ee89a0d1f4a01a8dff5023 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | Ex4_18.sce | clear
//In this problem, it is required to find out the moment of inertia of the section about an axis AB. So there is no need to find out the position of the centroid.
//The given section is split up into simple rectangles
//Moment of inertia about AB = Sum of moments of inertia of the rectangle about AB
//variable declaration
A1=400*20.0
A2=100*10
A3=10*380.0
A4=100*10.0
IAB=(400.0*(20**3)/12)+(A1*(10**2))+((100*(10**3)/12)+(A2*(25**2)))*2+((10*(380**3)/12)+(A3*(220**2)))*2+((100*(10**3)/12)+(A4*(415**2)))*2
printf("\n IAB= %0.0f mm^4",IAB)
|
5604be2cb97a1664827bf3511e87c9ad184c166d | 5c5fd5efaeecddf4cd7b8470a41364de7fcba737 | /Scilab/SpuleLadekurve.sce | 1b1849d28e38614ed8257ca96be5163e72c59100 | [] | no_license | derLars/RFIDInductiveCoupling | c1ba28900af0930e7278f1764b3c02e6d2a80ec1 | 18a26c28ec1348674c112387109aa31b36dbd7df | refs/heads/master | 2021-01-10T11:55:51.539075 | 2015-05-25T19:49:58 | 2015-05-25T19:49:58 | 36,164,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | SpuleLadekurve.sce | U = 5
R = 2
L = 50 * 10^(-3)
tau = L/R
t = [0:tau/10:10*tau]
yu = U + (t*0.001)
yul = U * (%e^(-(t/tau)))
yi = (U/R) * (1 - %e^(-(t/tau)))
xset("thickness",3)
plot2d(t,yu, style=3);
plot2d(t,yul, style=2);
plot2d(t,yi, style=5);
ylabel("U, Ul, Il", "fontsize", 6);
xlabel("t/s", "fontsize", 6)
//xtitle('Kondensator Ladekurve','t/s','Uc, Ic',"fontsize". 5)
legends(['Il in A','U in V','Ul in V'],[5 3 2],4, font_size=5)
xgrid(1, 1, 1)
|
f85161d3f8d8ce5ec46e7306b4b5d02394f4e7ba | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.9_5.tst | 07e58d60ce1e9d78f3dc8ffe841f2029edc82bee | [] | 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 | 42,683 | tst | bow.9_5.tst | 9 12:0.3333333333333333 19:0.0625 20:0.2 21:0.14285714285714285 48:2.0 64:0.6666666666666666 78:1.0 80:1.0 93:0.07692307692307693 98:0.2857142857142857 116:0.05263157894736842 134:0.3333333333333333 187:1.0 210:1.0 220:1.0 236:0.5 247:1.0 250:1.0 251:1.0 321:1.0 333:2.0 360:1.0 401:1.0 484:0.5 490:0.5 534:2.0 616:1.0 641:1.0 664:0.5 715:1.0 781:0.5 1007:1.0 1011:1.0 1066:1.0 1225:1.0 1270:1.0 2054:1.0 2177:1.0 2527:1.0 2577:1.0 3186:1.0 3293:1.0 3295:1.0 3304:2.0 3355:0.1 3364:2.0 3386:1.0 3397:2.0 3400:1.0 3456:1.0 3564:1.0 3594:1.0 3754:1.0 3784:1.0 3950:1.0 4317:0.5 4662:1.0 4721:1.0 5744:1.0 6458:1.0 6595:1.0
9 8:0.5 12:0.3333333333333333 17:0.0625 20:0.2 24:1.5 38:1.0 48:1.0 51:1.0 58:0.3333333333333333 61:0.25 62:0.25 64:0.6666666666666666 75:0.6666666666666666 93:0.07692307692307693 98:0.14285714285714285 101:0.5 121:0.03636363636363636 129:0.3333333333333333 134:0.6666666666666666 137:1.0 181:1.0 198:1.0 201:0.2 205:1.0 236:0.5 248:1.0 279:1.0 296:1.0 387:0.5 537:1.0 612:1.0 621:1.0 667:1.0 669:0.5 679:0.5 938:1.0 1183:1.0 1232:1.0 1606:1.0 1625:1.0 1799:1.0 1824:1.0 2077:1.0 2347:1.0 3279:1.0 3287:0.2857142857142857 3293:1.0 3294:1.0 3364:2.0 3422:1.0 3442:1.0 3567:1.0 3569:0.5 3641:1.0 3685:1.0 4020:1.0 4236:1.0 4405:0.5 5000:1.0 5041:1.0 5056:1.0 5098:1.0 5112:1.0 6234:1.0 6412:1.0
9 7:0.5 8:0.16666666666666666 12:0.16666666666666666 20:0.2 21:0.14285714285714285 38:1.0 46:1.5 48:1.0 51:1.0 55:0.09090909090909091 116:0.05263157894736842 121:0.01818181818181818 132:1.0 134:2.3333333333333335 137:1.0 198:1.0 203:0.6666666666666666 236:0.5 246:1.0 250:1.0 278:0.2 339:1.0 387:1.0 484:0.5 521:1.0 534:1.0 664:0.5 669:0.5 827:0.5 999:0.25 1168:1.0 1228:1.0 1369:0.5 1721:1.0 1803:1.0 1947:1.0 2527:1.0 2689:1.0 3248:1.0 3287:0.2857142857142857 3292:1.0 3295:1.0 3304:2.0 3317:1.0 3318:1.0 3320:1.0 3321:1.0 3334:1.0 3364:3.0 3827:1.0 3955:1.0 4465:1.0 5200:1.0 6204:1.0 6458:1.0
9 8:0.16666666666666666 12:0.8333333333333334 20:0.2 21:0.14285714285714285 24:0.5 38:1.0 48:1.0 63:1.0 68:2.0 75:0.3333333333333333 121:0.01818181818181818 134:0.3333333333333333 201:0.2 386:1.0 424:1.0 472:1.0 621:1.0 809:1.0 877:0.5 1246:1.0 1505:1.0 1764:0.5 1985:1.0 2100:1.0 2165:1.0 3248:1.0 3289:1.0 3321:1.0 3323:1.0 3350:1.0 3353:1.0 3553:1.0 3602:1.0 3698:1.0 3775:1.0 4061:1.0 4439:1.0 4474:0.5 4649:1.0 4797:1.0 5112:1.0
9 6:0.14285714285714285 8:0.16666666666666666 12:0.5 15:0.14285714285714285 17:0.0625 20:0.8 24:0.5 46:0.5 48:1.0 51:1.0 64:0.6666666666666666 67:0.3333333333333333 88:1.0 124:0.5 126:0.5 176:1.0 197:1.0 205:1.0 231:1.0 254:1.0 264:1.0 265:1.0 281:0.6 370:1.0 502:1.0 550:0.5 999:0.25 1001:0.14285714285714285 1028:1.0 1037:1.0 1198:0.5 1346:1.0 1372:0.3333333333333333 1708:1.0 1985:1.0 3262:1.0 3287:0.14285714285714285 3304:1.0 3364:1.0 3418:1.0 3461:1.0 3822:1.0 3875:1.0 4282:1.0 5551:1.0 5806:0.5 5847:1.0
9 12:0.16666666666666666 20:0.2 21:0.42857142857142855 26:0.02 38:1.0 48:1.0 55:0.18181818181818182 63:1.0 98:0.14285714285714285 118:0.5 121:0.01818181818181818 134:0.3333333333333333 137:2.0 273:1.0 279:0.5 281:0.2 350:1.0 379:1.0 529:1.0 870:1.0 1001:0.14285714285714285 1087:1.0 1361:0.5 1414:1.0 1985:1.0 3123:1.0 3287:0.14285714285714285 3295:1.0 3304:1.0 3330:1.0 3397:2.0 3400:1.0 3791:1.0 3901:1.0 3959:1.0 4085:1.0 4097:1.0 4552:1.0 6220:1.0
9 7:0.5 12:0.6666666666666666 20:0.2 24:0.5 46:0.5 54:2.0 64:0.6666666666666666 68:2.0 100:0.08333333333333333 121:0.01818181818181818 196:0.3333333333333333 199:1.0 236:0.5 248:1.0 279:0.5 281:0.2 476:1.0 529:1.0 715:1.0 746:1.0 781:0.5 1067:1.0 1251:1.0 1322:1.0 1637:1.0 1824:1.0 1985:1.0 2544:0.06666666666666667 3186:1.0 3287:0.2857142857142857 3294:1.0 3295:1.0 3322:2.0 3324:1.0 3364:2.0 3382:1.0 3392:0.5 3400:1.0 3975:1.0 3976:1.0 4323:1.0 4874:1.0 5892:1.0 6381:1.0
9 12:0.16666666666666666 17:0.125 19:0.1875 20:0.6 21:0.14285714285714285 24:0.5 26:0.02 38:2.0 40:1.0 43:0.6666666666666666 54:2.0 68:1.0 101:0.5 116:0.05263157894736842 121:0.03636363636363636 133:0.5 134:0.3333333333333333 269:2.0 281:0.2 292:0.16666666666666666 315:1.0 366:1.0 564:1.0 1251:1.0 1269:1.0 1347:1.0 1352:1.0 1361:0.5 1900:1.0 2649:1.0 2968:1.0 3287:0.14285714285714285 3293:1.0 3295:1.0 3304:1.0 3330:1.0 3355:0.1 3447:1.0 3498:1.0 4180:1.0 4319:1.0 4364:1.0 4631:1.0 5081:0.5 5110:1.0 6390:1.0 6419:1.0
9 12:0.5 17:0.0625 19:0.0625 21:0.14285714285714285 26:0.02 64:0.6666666666666666 68:1.0 80:2.0 94:0.3333333333333333 121:0.03636363636363636 134:0.3333333333333333 176:1.0 181:1.0 198:1.0 205:1.0 248:1.0 279:0.5 281:0.4 285:1.0 387:0.5 397:2.0 548:1.0 550:0.5 626:1.0 664:0.5 715:1.0 885:1.0 1001:0.14285714285714285 1414:1.0 1824:1.0 2279:0.5 2388:1.0 3186:1.0 3287:0.2857142857142857 3293:1.0 3295:1.0 3304:1.0 3364:1.0 3397:1.0 3488:1.0 3656:1.0 3694:1.0 3879:1.0 4007:0.5 4317:0.5 4376:2.0 4861:1.0
9 8:0.16666666666666666 12:0.5 17:0.0625 19:0.0625 20:0.4 21:0.42857142857142855 48:1.0 57:1.0 62:0.25 64:0.3333333333333333 68:2.0 80:1.0 97:0.5 98:0.14285714285714285 101:0.5 121:0.01818181818181818 126:0.5 129:0.3333333333333333 134:0.6666666666666666 142:0.5 147:0.5 263:1.0 269:1.0 446:0.14285714285714285 483:0.3333333333333333 502:1.0 529:1.0 621:1.0 1001:0.14285714285714285 1985:1.0 2057:1.0 2724:1.0 3248:1.0 3287:0.14285714285714285 3294:1.0 3295:1.0 3296:1.0 3364:1.0 3393:1.0 3418:1.0 3608:1.0 3618:1.0 3875:1.0 4118:1.0 4370:1.0 4928:1.0 5324:1.0 5880:1.0 5948:1.0 6589:1.0
9 12:0.6666666666666666 17:0.0625 19:0.0625 20:0.4 21:0.14285714285714285 38:1.0 46:0.5 62:0.25 64:0.3333333333333333 68:1.0 80:1.0 97:1.0 98:0.14285714285714285 126:0.5 133:0.5 147:0.5 210:1.0 281:0.2 292:0.16666666666666666 446:0.14285714285714285 580:0.5 621:1.0 1752:1.0 1888:1.0 2057:1.0 2143:1.0 2466:1.0 3248:1.0 3293:1.0 3294:1.0 3295:1.0 3317:1.0 3318:1.0 3355:0.1 3364:1.0 3392:0.5 3393:1.0 3603:1.0 3786:1.0 3799:1.0 3941:1.0 4005:1.0 4370:1.0 4677:1.0 5880:1.0
9 6:0.14285714285714285 8:0.16666666666666666 12:0.6666666666666666 17:0.0625 24:1.0 38:1.0 48:2.0 64:0.3333333333333333 100:0.08333333333333333 121:0.01818181818181818 134:0.3333333333333333 176:1.0 177:1.0 188:1.0 312:1.0 332:0.5 483:0.3333333333333333 484:0.5 529:1.0 548:1.0 621:1.0 762:1.0 1739:1.0 2250:1.0 2379:1.0 2380:1.0 3289:1.0 3295:1.0 3304:1.0 3750:1.0 3975:1.0 4032:1.0 4046:0.3333333333333333 4250:1.0 4377:1.0
9 12:0.3333333333333333 17:0.0625 20:0.2 21:0.14285714285714285 38:2.0 62:0.25 198:1.0 236:0.5 279:0.5 414:0.5 679:0.5 727:1.0 877:0.5 1232:1.0 1637:1.0 3294:1.0 3464:1.0 4649:1.0 5880:1.0
9 7:0.5 8:0.16666666666666666 11:0.5 20:0.4 46:0.5 51:1.0 64:0.3333333333333333 75:0.3333333333333333 88:1.0 134:0.3333333333333333 198:1.0 210:1.0 1001:0.14285714285714285 1030:1.0 1372:0.3333333333333333 1625:1.0 2422:1.0 3123:1.0 3287:0.14285714285714285 3304:1.0 3355:0.1 3364:1.0 3424:0.5 4194:1.0 6174:1.0 6459:1.0
9 8:0.16666666666666666 12:0.5 17:0.0625 20:0.4 21:0.2857142857142857 24:0.5 25:1.0 38:2.0 45:1.0 51:1.0 62:0.25 64:0.3333333333333333 121:0.01818181818181818 126:0.5 134:1.0 139:1.0 141:0.1 236:0.5 279:0.5 285:1.0 296:1.0 310:1.0 487:0.5 529:1.0 537:1.0 629:1.0 727:1.0 1001:0.14285714285714285 1087:1.0 1161:1.0 1372:0.3333333333333333 1668:1.0 1750:1.0 3294:1.0 3395:0.5 3419:1.0 4180:1.0 4201:1.0 5132:1.0 5585:1.0 5818:1.0 5880:1.0
9 12:0.16666666666666666 17:0.0625 19:0.0625 21:0.2857142857142857 24:0.5 26:0.02 38:1.0 43:0.3333333333333333 48:1.0 51:1.0 63:1.0 87:0.5 101:0.5 116:0.05263157894736842 203:0.3333333333333333 292:0.16666666666666666 379:1.0 397:1.0 529:1.0 679:0.5 804:1.0 870:1.0 1269:1.0 1361:0.5 2133:1.0 3287:0.2857142857142857 3294:1.0 3295:1.0 3452:1.0 4230:1.0 4926:1.0 5352:1.0 5820:1.0
9 8:0.16666666666666666 11:0.5 12:0.3333333333333333 15:0.14285714285714285 17:0.0625 21:0.14285714285714285 26:0.02 38:1.0 48:1.0 62:0.25 80:1.0 101:0.5 134:0.6666666666666666 188:1.0 236:0.5 269:1.0 488:0.5 529:1.0 639:1.0 647:1.0 662:1.0 1067:1.0 1251:1.0 1269:1.0 1361:0.5 1985:2.0 2132:1.0 3287:0.14285714285714285 3293:1.0 3295:1.0 3304:1.0 3395:0.5 3479:1.0 3493:1.0 3574:1.0 3636:1.0 3976:1.0 4118:1.0 4201:1.0 4202:1.0 4527:1.0 4757:1.0 4766:1.0
9 12:0.3333333333333333 19:0.0625 20:0.2 21:0.14285714285714285 24:0.5 38:1.0 42:1.0 64:0.3333333333333333 75:0.3333333333333333 98:0.14285714285714285 100:0.08333333333333333 121:0.03636363636363636 134:0.3333333333333333 240:0.5 264:1.0 285:1.0 292:0.16666666666666666 333:1.0 437:1.0 488:0.5 647:1.0 652:1.0 664:0.5 809:1.0 1198:1.0 1237:2.0 1369:0.5 1637:1.0 1985:1.0 2177:1.0 2859:1.0 3117:1.0 3287:0.14285714285714285 3289:1.0 3294:1.0 3295:1.0 3355:0.1 3382:1.0 3400:1.0 3447:1.0 3541:1.0 3574:1.0 3602:1.0 3603:1.0 4395:1.0 4821:1.0 4947:1.0 5880:1.0
9 12:0.5 19:0.25 20:0.4 21:0.2857142857142857 51:1.0 55:0.18181818181818182 62:0.5 64:0.3333333333333333 68:2.0 93:0.3076923076923077 116:0.05263157894736842 121:0.01818181818181818 134:0.3333333333333333 197:2.0 203:0.6666666666666666 354:2.0 446:0.14285714285714285 498:1.0 621:1.0 921:1.0 936:0.5 1323:2.0 1402:1.0 2544:0.06666666666666667 3186:1.0 3287:0.2857142857142857 3292:1.0 3295:1.0 3304:1.0 3330:2.0 3364:1.0 3461:1.0 3581:1.0 3623:1.0 3693:1.0 3836:1.0 4874:1.0 5532:1.0 5820:1.0 6518:1.0
9 12:0.16666666666666666 17:0.0625 19:0.0625 20:0.8 21:0.2857142857142857 24:1.0 25:1.0 38:1.0 62:0.25 63:1.0 68:1.0 80:1.0 116:0.05263157894736842 121:0.05454545454545454 134:0.6666666666666666 188:1.0 269:2.0 310:1.0 366:1.0 401:1.0 432:1.0 651:1.0 715:1.0 804:1.0 1237:1.0 1346:1.0 1352:1.0 1372:0.3333333333333333 2177:1.0 2250:1.0 3287:0.2857142857142857 3289:1.0 3295:1.0 3304:1.0 3517:1.0 3627:1.0 3667:1.0 3750:2.0 3765:1.0 3976:1.0 4030:1.0 5820:1.0 5867:1.0
9 8:0.16666666666666666 17:0.0625 20:0.2 21:0.14285714285714285 38:2.0 48:1.0 75:0.3333333333333333 121:0.03636363636363636 131:1.0 176:1.0 196:0.3333333333333333 286:1.0 401:1.0 402:1.0 463:1.0 619:1.0 679:0.5 920:1.0 1011:1.0 1136:1.0 1539:1.0 1686:1.0 3304:1.0 3392:0.5 3569:0.5 4180:1.0 4376:1.0 5219:1.0
9 6:0.14285714285714285 7:0.5 8:0.16666666666666666 12:0.5 15:0.14285714285714285 17:0.0625 20:0.2 24:1.0 38:1.0 51:1.0 58:0.3333333333333333 64:0.6666666666666666 75:0.3333333333333333 87:0.5 98:0.14285714285714285 134:0.6666666666666666 141:0.1 198:2.0 269:1.0 281:0.4 285:1.0 306:1.0 405:0.5 406:1.0 488:0.5 553:1.0 703:1.0 804:1.0 1001:0.14285714285714285 1476:1.0 1539:1.0 1752:1.0 1935:1.0 1985:1.0 2165:1.0 3293:1.0 3295:1.0 3304:1.0 3313:1.0 3321:2.0 3348:1.0 3390:1.0 3392:0.5 3405:1.0 3553:1.0 3817:0.5 3852:1.0 4383:1.0 4542:1.0 5041:1.0 6131:1.0
9 8:0.3333333333333333 11:0.5 12:0.16666666666666666 15:0.14285714285714285 19:0.0625 20:0.4 55:0.09090909090909091 84:1.0 98:0.14285714285714285 99:1.0 121:0.03636363636363636 126:0.5 134:0.6666666666666666 201:0.2 236:0.5 241:1.0 296:1.0 442:1.0 446:0.14285714285714285 529:1.0 641:1.0 727:1.0 1001:0.14285714285714285 2770:1.0 3295:1.0 3304:1.0 3364:1.0 3392:0.5 3420:1.0 3541:1.0 3574:1.0 3601:0.5 3635:1.0 5880:1.0
9 20:0.2 24:0.5 46:0.5 68:1.0 99:1.0 134:0.3333333333333333 183:1.0 424:1.0 621:1.0 723:1.0 727:1.0 809:1.0 1309:1.0 1764:0.5 3295:1.0 3304:1.0 3355:0.1 5880:1.0
9 8:0.16666666666666666 20:0.2 21:0.14285714285714285 24:0.5 42:1.0 43:0.3333333333333333 48:1.0 55:0.09090909090909091 121:0.03636363636363636 147:0.5 188:1.0 279:0.5 310:1.0 410:1.0 502:1.0 822:1.0 999:0.25 1030:1.0 1372:0.6666666666666666 2161:1.0 3295:1.0 3304:1.0 3667:1.0 3875:1.0 3975:1.0 3976:1.0 4039:1.0 5132:1.0 5290:1.0 5616:1.0
9 7:0.5 8:0.3333333333333333 48:1.0 58:0.3333333333333333 62:0.25 68:1.0 141:0.1 354:1.0 362:1.0 397:1.0 999:0.25 1485:1.0 2307:1.0 3287:0.14285714285714285 3289:1.0 3295:1.0 3304:1.0 3378:0.2
9 6:0.14285714285714285 8:0.3333333333333333 19:0.0625 20:0.2 21:0.14285714285714285 38:2.0 48:1.0 64:0.3333333333333333 96:0.16666666666666666 134:0.6666666666666666 308:1.0 315:1.0 387:0.5 484:0.5 651:1.0 674:1.0 837:1.0 1001:0.14285714285714285 1168:1.0 1237:1.0 1370:1.0 1476:1.0 1936:0.25 2190:1.0 2553:1.0 3295:1.0 3304:1.0 3364:1.0 3601:0.5 3817:0.5 3828:1.0 4867:1.0 5322:1.0 5323:1.0 5814:1.0 6488:1.0
9 6:0.14285714285714285 17:0.0625 20:0.2 24:1.0 38:1.0 46:0.5 51:2.0 55:0.09090909090909091 75:0.3333333333333333 97:0.5 121:0.01818181818181818 126:0.5 134:0.3333333333333333 141:0.1 198:1.0 210:1.0 212:1.0 219:1.0 281:0.2 292:0.16666666666666666 311:1.0 401:1.0 406:1.0 424:1.0 431:0.3333333333333333 463:1.0 487:0.5 488:0.5 651:1.0 904:1.0 1030:1.0 1184:1.0 1193:0.5 1752:1.0 2422:1.0 3287:0.14285714285714285 3304:1.0 3456:1.0 3706:1.0 4007:0.5 4463:1.0 4662:1.0 4867:1.0 5041:1.0 5132:1.0 5700:1.0 6178:1.0
9 8:0.16666666666666666 12:0.16666666666666666 17:0.0625 20:0.4 24:0.5 38:1.0 44:1.0 51:1.0 100:0.08333333333333333 101:0.5 121:0.01818181818181818 134:0.3333333333333333 141:0.2 183:1.0 196:0.3333333333333333 240:0.5 264:1.0 279:0.5 292:0.16666666666666666 431:0.3333333333333333 442:1.0 695:1.0 790:1.0 1001:0.14285714285714285 1030:2.0 1351:1.0 1372:0.6666666666666666 2255:1.0 2292:1.0 2431:1.0 3284:1.0 3294:1.0 3308:1.0 3319:1.0 3364:1.0 3378:0.2 3392:0.5 3447:1.0 3456:1.0 3608:1.0 4405:0.5 5056:1.0 6307:1.0
9 6:0.14285714285714285 8:0.3333333333333333 12:0.16666666666666666 16:1.0 24:0.5 38:2.0 51:1.0 55:0.09090909090909091 75:0.3333333333333333 121:0.03636363636363636 134:0.3333333333333333 141:0.1 165:1.0 188:1.0 236:0.5 264:1.0 405:0.5 431:0.6666666666666666 537:1.0 550:0.5 647:1.0 669:0.5 978:1.0 1001:0.14285714285714285 1346:1.0 1391:1.0 1466:1.0 1539:1.0 1566:1.0 2143:1.0 3293:1.0 3294:1.0 3317:1.0 3318:1.0 3319:2.0 3364:1.0 3395:0.5 3456:1.0 3712:1.0 4020:1.0 4046:0.3333333333333333 5132:1.0
9 12:0.3333333333333333 14:0.5 17:0.125 20:0.2 24:1.0 26:0.02 38:1.0 43:0.3333333333333333 46:0.5 54:2.0 62:0.25 78:1.0 93:0.07692307692307693 100:0.08333333333333333 121:0.03636363636363636 188:2.0 201:0.2 202:0.25 452:1.0 537:1.0 647:1.0 1001:0.14285714285714285 1065:0.5 1070:1.0 1168:1.0 1237:1.0 1752:1.0 2377:1.0 3287:0.14285714285714285 3294:1.0 3295:1.0 3366:1.0 3385:1.0 3623:1.0 3795:0.3333333333333333 3852:1.0 4180:1.0 4335:1.0 4665:1.0
9 8:0.16666666666666666 12:0.5 17:0.0625 21:0.42857142857142855 38:1.0 43:0.3333333333333333 48:2.0 62:0.25 64:0.3333333333333333 68:2.0 116:0.05263157894736842 134:0.3333333333333333 188:1.0 203:0.3333333333333333 308:1.0 354:1.0 429:1.0 437:1.0 593:0.5 715:2.0 1168:1.0 1250:1.0 1476:1.0 1985:1.0 2255:1.0 3293:1.0 3295:1.0 3304:1.0 3317:1.0 3318:1.0 3319:1.0 3392:0.5 3765:1.0 4622:1.0 4710:1.0 5788:1.0
9 6:0.14285714285714285 18:0.3333333333333333 19:0.0625 20:0.4 21:0.42857142857142855 55:0.18181818181818182 62:0.25 68:1.0 75:0.3333333333333333 80:1.0 98:0.14285714285714285 116:0.05263157894736842 121:0.03636363636363636 134:0.3333333333333333 188:1.0 197:1.0 254:1.0 279:1.0 310:1.0 315:1.0 397:1.0 446:0.14285714285714285 476:1.0 483:0.3333333333333333 1046:1.0 1198:0.5 1372:0.3333333333333333 1588:1.0 1708:1.0 1935:1.0 2380:1.0 3287:0.14285714285714285 3293:2.0 3294:1.0 3295:1.0 3355:0.1 3382:1.0 3392:0.5 3456:1.0 3540:1.0 4552:1.0 4577:1.0
9 12:0.16666666666666666 19:0.0625 21:0.14285714285714285 24:0.5 38:1.0 42:1.0 55:0.09090909090909091 68:1.0 88:1.0 116:0.05263157894736842 134:0.3333333333333333 137:1.0 281:0.2 502:1.0 507:1.0 524:0.5 638:1.0 1117:1.0 1414:1.0 1588:1.0 1993:1.0 2133:1.0 2770:1.0 3287:0.2857142857142857 3295:1.0 3304:1.0 3369:1.0 3395:0.5 3400:2.0 3424:0.5 3877:1.0 3972:1.0 4046:0.3333333333333333 4201:1.0 4202:1.0 4766:1.0
9 12:0.16666666666666666 20:0.4 21:0.14285714285714285 38:2.0 48:1.0 55:0.09090909090909091 64:0.3333333333333333 68:1.0 80:1.0 93:0.07692307692307693 101:0.5 116:0.05263157894736842 121:0.01818181818181818 136:1.0 199:1.0 201:0.2 224:1.0 248:1.0 279:0.5 289:0.14285714285714285 310:1.0 694:1.0 1232:1.0 1269:1.0 1361:0.5 1372:0.3333333333333333 2132:1.0 3287:0.14285714285714285 3289:1.0 3295:2.0 3304:1.0 3317:1.0 3318:1.0 3319:1.0 3382:1.0 3551:1.0 3918:1.0 4302:1.0 4377:1.0 4549:1.0 5171:1.0 5289:1.0 6141:1.0 6465:1.0
9 6:0.14285714285714285 7:0.5 8:0.16666666666666666 12:0.3333333333333333 17:0.125 18:0.3333333333333333 19:0.0625 20:0.2 43:0.3333333333333333 48:1.0 62:0.25 88:1.0 121:0.01818181818181818 126:0.5 219:1.0 248:1.0 251:1.0 366:1.0 386:1.0 401:1.0 483:0.3333333333333333 484:0.5 487:0.5 534:1.0 567:1.0 621:1.0 632:1.0 1421:1.0 1548:1.0 2171:1.0 2238:0.3333333333333333 2377:1.0 3287:0.14285714285714285 3291:0.2 3294:1.0 3295:1.0 3392:1.0 3424:0.5 3456:1.0 3528:0.5 3541:1.0 3608:1.0 3778:1.0 3873:1.0 3886:2.0 5112:1.0 6160:1.0 6307:1.0
9 8:0.16666666666666666 12:0.3333333333333333 20:0.4 24:0.5 46:0.5 48:2.0 64:0.3333333333333333 102:1.0 121:0.01818181818181818 147:0.5 210:2.0 218:1.0 292:0.16666666666666666 387:0.5 487:0.5 488:0.5 548:1.0 626:1.0 632:1.0 807:1.0 999:0.25 1001:0.14285714285714285 1049:1.0 1254:1.0 1629:0.3333333333333333 2255:1.0 2390:1.0 2398:1.0 3294:1.0 3321:1.0 3324:1.0 3456:1.0 3551:1.0 3776:1.0 3852:1.0 4340:1.0 5616:1.0 5824:1.0 5977:1.0 6390:1.0 6458:1.0
9 7:0.5 8:0.16666666666666666 12:0.3333333333333333 17:0.125 20:0.6 21:0.2857142857142857 24:0.5 48:1.0 64:0.3333333333333333 68:1.0 88:1.0 98:0.14285714285714285 118:1.0 121:0.03636363636363636 134:0.3333333333333333 197:1.0 281:0.2 310:1.0 442:1.0 446:0.14285714285714285 529:1.0 534:2.0 647:1.0 1001:0.14285714285714285 1372:0.3333333333333333 1588:1.0 1708:1.0 1985:1.0 3287:0.2857142857142857 3293:1.0 3295:1.0 3304:1.0 3317:1.0 3318:1.0 3447:1.0 3992:1.0 4230:1.0 4325:1.0 4630:1.0
9 7:1.0 12:0.3333333333333333 20:0.2 24:0.5 38:1.0 48:1.0 100:0.08333333333333333 121:0.01818181818181818 134:0.3333333333333333 141:0.1 205:1.0 387:0.5 401:1.0 764:1.0 999:0.25 1251:1.0 1794:1.0 2347:1.0 3294:1.0 3295:1.0 3378:0.2 4147:1.0 4180:2.0 4377:1.0 5784:1.0 5911:1.0
9 7:0.5 12:0.3333333333333333 19:0.0625 20:0.6 24:0.5 48:2.0 88:1.0 101:0.5 121:0.01818181818181818 134:1.3333333333333333 141:0.2 203:0.3333333333333333 205:1.0 231:1.0 236:0.5 246:1.0 279:0.5 386:1.0 387:1.0 764:1.0 934:1.0 1269:1.0 1549:1.0 1721:1.0 1728:0.5 1794:1.0 2347:1.0 3294:1.0 3295:1.0 3319:1.0 3378:0.2 3456:1.0 4085:1.0 4377:1.0 5322:1.0 5323:1.0 5784:1.0 5911:1.0 6155:1.0
9 7:0.5 8:0.16666666666666666 20:0.2 21:0.14285714285714285 38:1.0 46:0.5 68:1.0 101:0.5 134:0.3333333333333333 281:0.2 387:0.5 446:0.14285714285714285 506:1.0 2177:1.0 3287:0.14285714285714285 3291:0.2 3293:1.0 3294:1.0 3295:1.0 4805:1.0 5468:1.0 6576:1.0
9 6:0.14285714285714285 12:0.16666666666666666 17:0.125 20:0.4 21:0.14285714285714285 24:1.5 26:0.02 44:1.0 80:1.0 98:0.14285714285714285 406:1.0 558:1.0 651:1.0 1016:1.0 1708:1.0 2029:1.0 2527:1.0 3294:1.0 3295:1.0 3424:0.5 3447:1.0 3541:1.0 3875:1.0 3912:0.3333333333333333 4035:1.0 4046:0.3333333333333333 4148:1.0 4691:1.0
9 8:0.3333333333333333 12:0.3333333333333333 20:0.2 24:1.0 38:1.0 46:0.5 48:1.0 55:0.09090909090909091 98:0.14285714285714285 121:0.03636363636363636 134:1.3333333333333333 137:1.0 141:0.1 210:1.0 231:1.0 315:1.0 405:0.5 406:1.0 442:1.0 502:1.0 537:1.0 550:0.5 651:1.0 669:0.5 695:1.0 837:1.0 1548:1.0 2165:1.0 2527:1.0 3123:1.0 3237:1.0 3287:0.14285714285714285 3304:1.0 3395:0.5 3424:0.5 3449:1.0 3838:1.0 3967:0.25 4805:1.0 5021:1.0
9 6:0.14285714285714285 8:0.16666666666666666 11:0.5 12:0.16666666666666666 15:0.14285714285714285 17:0.0625 19:0.0625 20:0.6 38:1.0 48:1.0 64:0.3333333333333333 75:0.3333333333333333 80:1.0 96:0.16666666666666666 100:0.08333333333333333 121:0.03636363636363636 134:0.3333333333333333 141:0.1 185:1.0 197:1.0 202:0.25 210:1.0 219:1.0 251:1.0 296:1.0 401:1.0 632:1.0 674:1.0 1092:1.0 1985:1.0 3123:1.0 3293:1.0 3294:1.0 3295:1.0 3395:1.0 3418:1.0 3449:1.0 3601:0.5 3608:1.0 3733:1.0 3778:1.0 3849:1.0 3976:1.0 4201:1.0 4202:1.0 4587:1.0 4670:1.0 5095:1.0 5250:0.5
9 6:0.14285714285714285 7:0.5 8:0.3333333333333333 12:0.6666666666666666 20:0.2 24:0.5 25:1.0 38:1.0 62:0.25 80:1.0 129:0.3333333333333333 137:1.0 202:0.25 205:1.0 264:1.0 281:0.2 406:1.0 479:1.0 502:1.0 669:0.5 1000:0.3333333333333333 1708:1.0 2714:1.0 3123:1.0 3295:1.0 3364:1.0 3442:1.0 3589:1.0 3685:1.0 3689:0.5 3946:1.0 4092:1.0 4252:0.5 5144:1.0 5448:1.0 6160:1.0
9 7:0.5 8:0.3333333333333333 17:0.125 20:0.2 64:0.3333333333333333 93:0.07692307692307693 98:0.14285714285714285 117:0.5 126:0.5 137:1.0 281:0.4 490:0.5 641:1.0 3304:1.0 3320:1.0 3321:1.0 3343:1.0 3392:0.5 3608:1.0
9 8:0.16666666666666666 12:0.3333333333333333 20:0.4 38:1.0 46:0.5 48:1.0 54:3.0 55:0.18181818181818182 64:0.3333333333333333 98:0.2857142857142857 115:0.1 121:0.03636363636363636 134:0.6666666666666666 176:2.0 179:1.0 250:1.0 279:0.5 281:0.2 296:1.0 405:0.5 442:2.0 537:1.0 651:1.0 664:0.5 885:1.0 1235:1.0 1345:1.0 1803:1.0 2165:1.0 3043:1.0 3287:0.14285714285714285 3295:1.0 3304:1.0 3364:3.0 3399:1.0 3424:0.5 3456:1.0 3535:1.0 3541:1.0 3594:1.0 3691:1.0 3776:1.0 4043:0.5 4147:1.0 4466:1.0 4867:1.0 5977:1.0 6160:1.0 6310:1.0
9 12:0.6666666666666666 14:0.5 17:0.125 19:0.0625 20:0.2 48:1.0 55:0.18181818181818182 98:0.14285714285714285 121:0.05454545454545454 126:0.5 134:0.3333333333333333 141:0.1 188:1.0 199:1.0 202:0.25 250:1.0 292:0.16666666666666666 311:1.0 386:1.0 487:1.0 534:2.0 580:0.5 641:1.0 1083:1.0 1169:1.0 1193:0.5 1361:0.5 1588:2.0 2377:1.0 2405:1.0 3123:1.0 3284:1.0 3287:0.2857142857142857 3289:1.0 3295:1.0 3304:1.0 3324:1.0 3886:1.0 4085:1.0 4394:1.0 5531:1.0 5948:1.0 6505:1.0
9 6:0.2857142857142857 7:0.5 8:0.16666666666666666 12:0.16666666666666666 17:0.0625 21:0.42857142857142855 24:0.5 25:1.0 38:1.0 40:0.5 55:0.09090909090909091 74:1.0 75:0.3333333333333333 80:1.0 88:1.0 98:0.14285714285714285 176:1.0 205:1.0 250:1.0 289:0.14285714285714285 296:1.0 386:1.0 487:0.5 501:1.0 502:1.0 534:1.0 651:1.0 757:1.0 1011:1.0 1136:1.0 1239:1.0 1517:1.0 1993:1.0 2177:1.0 3295:1.0 3304:1.0 3364:1.0 3602:1.0 3653:1.0 3986:1.0 3999:0.125
9 8:0.16666666666666666 20:0.2 21:0.14285714285714285 24:1.0 38:1.0 46:1.0 48:1.0 54:3.0 55:0.18181818181818182 64:0.6666666666666666 121:0.03636363636363636 137:1.0 188:1.0 201:0.2 202:0.25 250:1.0 279:0.5 490:0.5 534:1.0 537:1.0 626:1.0 809:1.0 1042:0.3333333333333333 1183:1.0 1251:1.0 1372:0.3333333333333333 1931:1.0 2292:1.0 3287:0.14285714285714285 3295:1.0 3304:1.0 3350:1.0 3357:1.0 3360:1.0 4043:0.5 4046:0.3333333333333333 4247:0.5 4552:1.0 5041:1.0 5452:1.0 6178:1.0 6337:1.0
9 8:0.16666666666666666 20:0.4 21:0.5714285714285714 24:0.5 55:0.09090909090909091 62:0.25 75:0.3333333333333333 96:0.16666666666666666 98:0.2857142857142857 100:0.08333333333333333 121:0.05454545454545454 126:0.5 129:0.3333333333333333 137:1.0 225:1.0 250:1.0 255:1.0 279:0.5 285:1.0 296:1.0 310:1.0 314:2.0 401:1.0 537:2.0 548:1.0 626:1.0 651:1.0 664:0.5 806:1.0 809:1.0 814:0.5 1087:1.0 1237:1.0 1346:2.0 1517:1.0 3295:1.0 3304:1.0 3384:1.0 3665:1.0 3849:1.0 4007:0.5 4068:1.0 5342:1.0 6401:1.0 6496:1.0
9 7:0.5 8:0.16666666666666666 11:1.0 12:0.16666666666666666 20:0.2 38:1.0 48:1.0 88:1.0 118:0.5 121:0.01818181818181818 176:1.0 203:0.3333333333333333 312:2.0 487:0.5 537:1.0 871:1.0 999:0.25 1940:1.0 2483:1.0 3295:1.0 3350:1.0 3378:0.2 3397:1.0 3442:1.0 3553:1.0 3601:0.5 3685:1.0 3788:1.0 3915:1.0 4022:1.0 4041:1.0 4042:1.0 4054:1.0 4061:1.0 6029:1.0
9 8:0.16666666666666666 12:0.16666666666666666 20:0.2 24:1.0 64:0.3333333333333333 98:0.14285714285714285 100:0.08333333333333333 118:0.5 121:0.01818181818181818 126:0.5 202:0.25 279:0.5 312:1.0 315:1.0 582:1.0 669:0.5 727:1.0 827:0.5 1539:1.0 1969:1.0 3287:0.14285714285714285 3293:2.0 3294:1.0 3295:1.0 3343:1.0 3384:1.0 3503:1.0 3589:1.0 3689:0.5 3886:1.0 3912:0.3333333333333333 3986:1.0 4329:1.0 5006:1.0
9 7:0.5 8:0.3333333333333333 17:0.0625 20:0.2 38:2.0 67:0.3333333333333333 68:1.0 75:0.3333333333333333 80:1.0 121:0.01818181818181818 134:0.3333333333333333 202:0.25 236:0.5 281:0.2 315:1.0 621:2.0 669:1.0 1030:1.0 1193:0.5 1535:1.0 1588:1.0 2177:1.0 2238:0.3333333333333333 2968:1.0 3043:1.0 3248:1.0 3287:0.2857142857142857 3295:1.0 3297:1.0 3390:1.0 3405:1.0 3440:1.0 3441:1.0 3442:1.0 3553:1.0 3866:1.0 4020:1.0 4091:1.0 4165:1.0 4377:1.0 6545:1.0
9 17:0.0625 19:0.0625 24:0.5 38:1.0 67:0.3333333333333333 88:1.0 116:0.05263157894736842 121:0.05454545454545454 126:1.0 134:0.6666666666666666 183:1.0 203:0.3333333333333333 265:0.5 281:0.2 487:0.5 621:1.0 695:1.0 1001:0.2857142857142857 1193:0.5 1267:1.0 1588:1.0 1626:1.0 1910:1.0 3287:0.14285714285714285 3304:1.0 3308:1.0 3321:1.0 3399:1.0 3428:1.0 3456:1.0 3594:1.0 4955:1.0 5112:1.0 5613:1.0 6307:1.0
9 8:0.16666666666666666 17:0.125 20:0.6 21:0.2857142857142857 43:0.3333333333333333 48:1.0 51:1.0 54:1.0 55:0.09090909090909091 64:0.3333333333333333 67:0.3333333333333333 101:0.5 121:0.03636363636363636 134:0.3333333333333333 188:1.0 296:1.0 356:1.0 406:1.0 410:1.0 534:1.0 1228:0.5 1269:1.0 1270:1.0 1391:1.0 1637:1.0 1708:1.0 3287:0.14285714285714285 3294:1.0 3364:1.0 3400:1.0 3456:2.0 3551:1.0 3601:0.5 4010:1.0 4377:1.0 5006:1.0 6160:1.0 6458:1.0
9 8:0.16666666666666666 12:0.16666666666666666 24:0.5 38:1.0 62:0.25 64:0.6666666666666666 141:0.1 188:1.0 236:0.5 240:0.5 281:0.2 292:0.16666666666666666 421:1.0 637:1.0 669:0.5 1837:1.0 1963:1.0 1970:1.0 3294:1.0 3594:1.0 4052:1.0 4943:1.0 5680:1.0 6559:1.0
9 12:0.16666666666666666 19:0.0625 21:0.14285714285714285 38:1.0 51:1.0 55:0.09090909090909091 62:1.0 68:1.0 80:1.0 87:0.5 88:1.0 121:0.01818181818181818 147:0.5 197:1.0 367:1.0 804:1.0 862:1.0 999:0.25 1232:1.0 1414:1.0 3287:0.14285714285714285 3295:1.0 3304:1.0 3321:1.0 3382:1.0 4218:1.0 4376:1.0 5236:1.0 5576:1.0 5635:1.0 6442:1.0
9 7:1.0 19:0.0625 20:0.2 24:0.5 38:1.0 44:1.0 45:1.0 51:1.0 62:0.25 80:1.0 87:1.0 100:0.08333333333333333 131:1.0 134:0.3333333333333333 240:0.5 292:0.16666666666666666 484:0.5 534:1.0 809:1.0 2099:1.0 3295:1.0 3304:1.0 3400:1.0 3623:1.0 3887:1.0 3975:1.0
9 6:0.14285714285714285 7:0.5 8:0.16666666666666666 12:0.3333333333333333 17:0.0625 21:0.2857142857142857 26:0.02 48:2.0 71:1.0 100:0.08333333333333333 101:1.0 121:0.01818181818181818 134:1.3333333333333333 137:1.0 198:1.0 231:1.0 292:0.16666666666666666 397:1.0 436:0.5 488:0.5 529:1.0 534:1.0 934:1.0 999:0.25 1168:1.0 1213:1.0 1228:0.5 1361:0.5 1414:1.0 1549:1.0 1637:1.0 2133:1.0 2580:1.0 3287:0.2857142857142857 3293:1.0 3294:1.0 3295:1.0 3317:1.0 3364:1.0 3515:1.0 3528:0.5 3618:1.0 4151:1.0 5778:1.0 5823:1.0 5880:1.0
9 12:0.3333333333333333 17:0.125 19:0.0625 20:0.2 21:0.14285714285714285 48:1.0 116:0.10526315789473684 121:0.01818181818181818 134:0.3333333333333333 156:1.0 196:0.3333333333333333 269:1.0 293:0.5 366:1.0 529:1.0 616:1.0 1048:1.0 1372:0.3333333333333333 1414:1.0 1549:1.0 1588:2.0 1985:1.0 2292:1.0 3287:0.2857142857142857 3293:1.0 3294:1.0 3295:1.0 3524:1.0 3589:1.0 3782:1.0 4710:1.0 6366:1.0
9 8:0.16666666666666666 12:0.16666666666666666 20:0.2 38:1.0 46:0.5 48:1.0 51:1.0 68:1.0 105:1.0 116:0.05263157894736842 137:1.0 333:1.0 424:1.0 534:1.0 695:1.0 746:1.0 2050:0.5 2592:1.0 3294:1.0 3886:1.0 4347:1.0 6141:1.0
9 12:0.16666666666666666 18:0.3333333333333333 19:0.0625 20:0.2 21:0.14285714285714285 26:0.02 54:1.0 55:0.09090909090909091 67:0.3333333333333333 80:1.0 134:0.3333333333333333 137:2.0 188:1.0 292:0.16666666666666666 385:1.0 397:1.0 421:1.0 499:1.0 548:1.0 621:2.0 695:1.0 781:0.5 2250:1.0 2339:1.0 2399:1.0 2544:0.06666666666666667 3287:0.2857142857142857 3289:1.0 3295:1.0 3304:1.0 3355:0.1 3402:1.0 3633:1.0 3767:1.0 3892:0.5 3935:1.0 4248:0.5 4807:1.0 5166:1.0 5491:1.0 6018:1.0
9 7:1.0 8:0.5 12:0.3333333333333333 20:0.2 24:0.5 129:0.3333333333333333 134:0.3333333333333333 176:1.0 181:1.0 236:0.5 310:1.0 332:0.5 428:1.0 457:1.0 529:1.0 621:1.0 1415:1.0 1633:1.0 3293:1.0 3304:1.0 3317:1.0 3318:1.0 3319:1.0 3327:1.0 3495:1.0 3633:1.0 3836:1.0 4222:1.0 5977:1.0 6255:1.0
9 8:0.3333333333333333 11:0.5 15:0.14285714285714285 17:0.0625 19:0.0625 20:0.4 21:0.42857142857142855 46:0.5 55:0.09090909090909091 62:0.25 88:1.0 96:0.16666666666666666 126:0.5 133:0.5 137:1.0 141:0.1 215:0.5 216:1.0 281:0.2 379:1.0 405:0.5 555:1.0 669:0.5 814:0.5 831:1.0 1198:0.5 2177:1.0 2250:2.0 3294:1.0 3295:1.0 3321:1.0 3343:1.0 3392:0.5 3551:1.0 3600:1.0 3617:0.5 4022:1.0 4377:1.0 4920:1.0 5462:1.0
9 7:1.0 12:0.16666666666666666 20:0.4 21:0.14285714285714285 24:1.0 38:1.0 51:1.0 62:0.25 84:2.0 88:1.0 98:0.14285714285714285 118:0.5 121:0.01818181818181818 126:0.5 147:0.5 181:1.0 285:1.0 367:1.0 431:0.3333333333333333 442:1.0 483:0.3333333333333333 487:0.5 550:0.5 641:1.0 727:1.0 999:0.25 1030:1.0 3294:1.0 3321:1.0 3327:1.0 3691:1.0 4043:0.5 4507:1.0 5114:1.0
9 7:0.5 8:0.3333333333333333 11:0.5 12:0.16666666666666666 17:0.0625 19:0.0625 20:1.2 21:0.2857142857142857 24:0.5 26:0.04 43:0.3333333333333333 51:1.0 54:1.0 55:0.09090909090909091 84:1.0 101:0.5 121:0.01818181818181818 134:0.3333333333333333 141:0.1 248:1.0 281:0.2 296:1.0 334:1.0 397:1.0 431:0.3333333333333333 490:0.5 679:0.5 970:1.0 1026:1.0 1198:0.5 1588:1.0 2399:1.0 3287:0.2857142857142857 3294:1.0 3295:1.0 3334:1.0 3782:1.0 3875:1.0 4971:1.0 5056:1.0
9 8:0.16666666666666666 12:0.6666666666666666 21:0.14285714285714285 38:1.0 48:2.0 62:0.25 87:0.5 98:0.14285714285714285 101:1.0 134:1.0 182:0.5 188:1.0 197:1.0 236:0.5 269:1.0 281:0.2 429:1.0 446:0.14285714285714285 487:0.5 502:1.0 506:1.0 804:1.0 814:0.5 1001:0.14285714285714285 1269:1.0 1361:0.5 1525:1.0 2339:1.0 2399:2.0 3287:0.14285714285714285 3295:1.0 3304:1.0 3321:1.0 3400:1.0 3424:0.5 3623:1.0 4118:1.0 4248:0.5 4971:1.0 5056:1.0
9 19:0.0625 20:0.2 21:0.2857142857142857 26:0.02 46:0.5 75:0.3333333333333333 98:0.14285714285714285 121:0.03636363636363636 134:0.3333333333333333 269:1.0 279:0.5 442:1.0 446:0.14285714285714285 715:1.0 1030:1.0 1208:1.0 1828:1.0 1936:0.25 2544:0.06666666666666667 3186:1.0 3287:0.14285714285714285 3295:1.0 3304:1.0 3389:1.0 3397:1.0 3999:0.125 4030:1.0 4136:1.0 4451:1.0 4639:1.0 5073:1.0 6431:1.0
9 8:0.16666666666666666 17:0.0625 19:0.0625 20:0.6 21:0.14285714285714285 26:0.02 51:1.0 55:0.09090909090909091 62:0.25 68:1.0 78:1.0 93:0.07692307692307693 101:0.5 121:0.03636363636363636 137:1.0 188:1.0 281:0.2 354:1.0 534:1.0 695:1.0 806:1.0 1001:0.14285714285714285 1136:2.0 1347:1.0 1539:1.0 2029:1.0 2131:1.0 2760:1.0 3287:0.14285714285714285 3289:1.0 3294:1.0 3295:1.0 3386:1.0 3389:1.0 3488:1.0 3510:1.0 3737:1.0 4282:1.0 4955:1.0 5435:1.0 6007:1.0
9 7:0.5 12:0.5 17:0.125 20:0.4 24:1.0 46:0.5 48:1.0 116:0.10526315789473684 134:0.3333333333333333 137:1.0 198:1.0 281:0.2 366:1.0 387:0.5 388:1.0 432:1.0 564:1.0 695:1.0 715:1.0 999:0.5 1001:0.14285714285714285 3287:0.14285714285714285 3292:1.0 3295:1.0 3304:1.0 3364:1.0 3551:1.0 3852:1.0 3875:1.0 3886:1.0 3975:1.0 4005:1.0 4466:1.0 5166:1.0 5994:1.0
9 13:1.0 17:0.0625 19:0.0625 20:0.2 21:0.2857142857142857 24:0.5 45:1.0 48:2.0 121:0.03636363636363636 134:0.3333333333333333 136:1.0 201:0.2 279:0.5 285:1.0 401:1.0 452:1.0 806:1.0 1183:1.0 1346:1.0 1799:1.0 1858:1.0 1888:1.0 2544:0.06666666666666667 3186:1.0 3287:0.14285714285714285 3294:1.0 3295:1.0 3296:1.0 3330:1.0 3350:1.0 3360:1.0 3566:1.0 4054:1.0 4102:1.0 4874:1.0
9 8:0.16666666666666666 12:0.6666666666666666 20:0.2 48:1.0 58:0.3333333333333333 64:0.3333333333333333 75:0.3333333333333333 101:0.5 129:0.3333333333333333 198:1.0 215:0.5 236:0.5 281:0.4 502:1.0 506:1.0 529:1.0 803:1.0 838:1.0 1030:1.0 1199:1.0 1824:1.0 2165:1.0 3287:0.14285714285714285 3294:1.0 3428:1.0 4038:1.0 5465:1.0
9 12:0.3333333333333333 20:0.6 24:0.5 38:1.0 48:3.0 51:2.0 64:0.3333333333333333 68:2.0 88:1.0 97:0.5 118:0.5 121:0.01818181818181818 165:1.0 197:1.0 219:1.0 281:0.4 292:0.16666666666666666 367:1.0 534:1.0 593:0.5 621:1.0 662:1.0 827:0.5 1001:0.14285714285714285 1193:0.5 1228:0.5 1269:1.0 1336:1.0 1637:1.0 1728:1.0 2250:1.0 2655:1.0 3285:1.0 3294:1.0 3340:1.0 4145:1.0 4377:1.0 4673:1.0 5824:1.0 6134:1.0
9 12:0.5 19:0.0625 20:0.2 21:0.14285714285714285 24:1.0 38:1.0 51:1.0 57:1.0 121:0.03636363636363636 126:0.5 201:0.2 210:1.0 218:1.0 269:2.0 279:0.5 281:0.2 292:0.16666666666666666 310:1.0 379:1.0 487:0.5 529:1.0 621:1.0 679:0.5 1372:0.3333333333333333 1414:1.0 2390:1.0 3248:1.0 3289:1.0 3294:1.0 3295:1.0 3350:1.0 3364:3.0 3447:1.0 3613:1.0 3815:1.0 3918:1.0 4180:1.0 4323:1.0 4377:1.0 4466:1.0 4667:1.0 5094:1.0 5721:1.0 5931:2.0
9 8:0.16666666666666666 12:0.3333333333333333 13:1.0 17:0.0625 19:0.0625 20:0.2 21:0.42857142857142855 26:0.02 38:1.0 48:1.0 51:2.0 55:0.09090909090909091 58:0.3333333333333333 62:0.5 68:1.0 88:1.0 98:0.14285714285714285 100:0.08333333333333333 134:1.0 137:1.0 203:0.3333333333333333 231:1.0 308:1.0 367:1.0 385:1.0 386:1.0 387:0.5 442:1.0 446:0.14285714285714285 506:1.0 877:0.5 1414:1.0 1588:1.0 1636:1.0 1676:1.0 1837:1.0 3172:1.0 3287:0.14285714285714285 3294:1.0 3295:1.0 3317:1.0 3330:1.0 3334:1.0 3493:1.0 3623:1.0 3970:1.0 4116:1.0 4143:1.0 4585:1.0 5094:1.0 5322:1.0 5323:1.0 5529:1.0 6502:1.0
9 12:0.16666666666666666 19:0.0625 21:0.42857142857142855 38:1.0 46:0.5 48:2.0 64:0.3333333333333333 98:0.14285714285714285 101:0.5 121:0.01818181818181818 134:0.3333333333333333 137:1.0 188:1.0 255:1.0 281:0.2 292:0.16666666666666666 379:1.0 652:1.0 715:1.0 885:1.0 907:1.0 1269:1.0 1361:0.5 1629:0.3333333333333333 1985:1.0 2250:1.0 2544:0.06666666666666667 3186:1.0 3287:0.14285714285714285 3293:2.0 3295:1.0 3330:1.0 3364:1.0 3440:1.0 3441:1.0 3442:1.0 3619:1.0 3712:1.0 3737:1.0 6340:1.0
9 8:0.16666666666666666 9:0.3333333333333333 12:0.3333333333333333 20:0.6 21:0.14285714285714285 24:0.5 38:1.0 48:1.0 55:0.18181818181818182 64:0.3333333333333333 68:1.0 75:0.3333333333333333 88:2.0 98:0.14285714285714285 121:0.01818181818181818 124:0.5 134:0.3333333333333333 136:1.0 158:0.3333333333333333 253:1.0 255:1.0 264:1.0 354:1.0 387:0.5 459:1.0 464:1.0 529:1.0 641:1.0 746:1.0 790:1.0 1049:1.0 1235:1.0 1721:1.0 2463:1.0 3287:0.14285714285714285 3294:1.0 3295:2.0 3327:1.0 3364:1.0 3601:0.5 3618:1.0 3875:1.0 4030:1.0 4507:1.0 6255:1.0
9 6:0.14285714285714285 7:0.5 20:0.4 24:0.5 58:0.3333333333333333 64:0.3333333333333333 68:1.0 100:0.08333333333333333 118:1.0 134:1.3333333333333333 137:2.0 181:1.0 292:0.16666666666666666 387:1.0 550:1.0 878:1.0 1001:0.14285714285714285 1126:0.3333333333333333 1168:1.0 1184:1.0 1985:1.0 2044:1.0 2655:1.0 3123:1.0 3304:1.0 3317:1.0 3341:1.0 4020:1.0 4045:1.0 4992:1.0 5637:1.0 5788:1.0 5931:1.0
9 7:0.5 12:0.5 20:0.2 38:1.0 64:0.3333333333333333 121:0.01818181818181818 134:0.3333333333333333 137:1.0 231:1.0 236:0.5 279:0.5 281:0.2 534:1.0 537:1.0 669:0.5 679:0.5 727:1.0 1042:0.3333333333333333 1251:1.0 1837:1.0 2250:1.0 3172:1.0 3304:1.0 3317:1.0 3318:1.0 3319:1.0 3364:1.0 3390:1.0 3921:1.0 4143:1.0 4251:1.0 5025:1.0 5867:1.0
9 7:1.0 8:0.16666666666666666 12:0.3333333333333333 20:0.2 38:1.0 48:2.0 75:0.3333333333333333 134:0.3333333333333333 137:1.0 279:0.5 310:1.0 312:1.0 410:1.0 442:1.0 1193:0.5 1267:1.0 1372:0.3333333333333333 1803:1.0 2177:1.0 3287:0.14285714285714285 3304:1.0 3340:1.0 3416:1.0 3506:1.0 3635:1.0 3822:1.0 4180:1.0 5041:1.0 5079:1.0 5219:1.0 5576:1.0
9 8:0.16666666666666666 12:0.16666666666666666 19:0.0625 21:0.14285714285714285 38:2.0 42:1.0 43:0.3333333333333333 62:0.25 64:0.6666666666666666 78:2.0 80:1.0 93:0.07692307692307693 96:0.16666666666666666 98:0.14285714285714285 116:0.05263157894736842 121:0.01818181818181818 125:0.3333333333333333 134:0.3333333333333333 220:1.0 281:0.2 308:1.0 401:1.0 405:0.5 483:0.3333333333333333 727:1.0 814:0.5 1225:1.0 1228:0.5 1375:1.0 1880:1.0 1963:1.0 3294:1.0 3364:1.0 3541:1.0 3623:1.0 3775:1.0 3827:1.0 4004:1.0 4152:1.0 4395:1.0 4831:1.0 4917:1.0 5562:1.0
9 7:0.5 12:0.5 19:0.0625 21:0.42857142857142855 26:0.02 38:1.0 46:0.5 48:1.0 100:0.08333333333333333 121:0.01818181818181818 134:0.3333333333333333 141:0.1 296:1.0 502:1.0 550:0.5 825:1.0 1001:0.14285714285714285 1225:1.0 1252:1.0 1549:1.0 2143:1.0 2156:1.0 2310:1.0 3295:1.0 3304:1.0 3317:1.0 3330:1.0 3400:1.0 3581:1.0 3602:1.0 3972:1.0 4046:0.3333333333333333 4118:1.0 4488:1.0 4928:1.0 5412:1.0 5637:1.0 6543:1.0
9 6:0.14285714285714285 8:0.16666666666666666 12:0.5 17:0.25 19:0.0625 20:0.2 21:0.2857142857142857 38:3.0 48:2.0 55:0.18181818181818182 68:1.0 116:0.15789473684210525 121:0.01818181818181818 188:1.0 224:1.0 379:1.0 397:2.0 424:1.0 483:0.3333333333333333 487:0.5 529:2.0 669:0.5 1030:1.0 1193:0.5 1993:1.0 2724:1.0 3287:0.14285714285714285 3294:1.0 3295:1.0 3389:1.0 3416:1.0 6415:1.0
9 12:0.3333333333333333 17:0.125 19:0.0625 20:0.2 21:0.2857142857142857 26:0.02 38:1.0 42:1.0 51:1.0 80:1.0 87:0.5 88:1.0 121:0.03636363636363636 137:1.0 153:0.5 176:1.0 188:1.0 203:0.3333333333333333 248:1.0 333:1.0 379:1.0 424:1.0 459:1.0 506:1.0 885:1.0 1030:1.0 1117:1.0 1414:1.0 2176:1.0 3287:0.14285714285714285 3293:1.0 3295:1.0 3400:1.0 3503:1.0 3536:1.0 3619:1.0 3875:1.0 3901:1.0 4377:1.0 4517:1.0 5094:1.0 5846:1.0 6340:1.0 6366:1.0
9 12:0.3333333333333333 20:0.2 21:0.2857142857142857 26:0.02 38:1.0 46:0.5 48:2.0 55:0.09090909090909091 62:0.25 96:0.16666666666666666 141:0.1 188:1.0 255:1.0 281:0.2 483:0.3333333333333333 487:0.5 814:0.5 870:1.0 1001:0.14285714285714285 1251:1.0 1269:1.0 1985:1.0 3294:1.0 3295:1.0 3397:1.0 3534:1.0 3744:1.0 4031:1.0 5894:1.0
9 8:0.16666666666666666 12:0.16666666666666666 17:0.1875 19:0.1875 20:0.2 21:0.14285714285714285 24:0.5 26:0.02 38:1.0 51:1.0 63:1.0 75:0.3333333333333333 93:0.07692307692307693 121:0.01818181818181818 134:0.3333333333333333 137:2.0 248:1.0 292:0.16666666666666666 310:1.0 333:1.0 397:1.0 519:1.0 563:1.0 621:1.0 781:1.0 952:1.0 1067:1.0 1372:0.3333333333333333 2431:1.0 3287:0.14285714285714285 3293:1.0 3295:1.0 3330:1.0 3355:0.1 3364:1.0 3532:1.0 4376:1.0 4565:1.0 5908:1.0 5994:1.0
9 7:0.5 12:0.3333333333333333 19:0.0625 21:0.14285714285714285 24:0.5 38:1.0 51:1.0 80:1.0 134:0.3333333333333333 137:1.0 231:1.0 236:1.0 248:1.0 488:0.5 537:1.0 781:0.5 922:1.0 1030:1.0 1195:0.25 1824:1.0 3292:1.0 3304:1.0 3508:1.0 3875:1.0 4039:1.0 5773:1.0
9 7:0.5 12:0.16666666666666666 21:0.14285714285714285 51:2.0 67:0.3333333333333333 68:1.0 80:1.0 198:1.0 253:1.0 281:0.2 890:1.0 999:0.25 3304:1.0 3329:1.0 5094:1.0 5959:1.0
9 12:0.16666666666666666 17:0.1875 19:0.0625 20:0.4 21:0.14285714285714285 24:0.5 38:1.0 64:0.3333333333333333 98:0.2857142857142857 116:0.05263157894736842 121:0.07272727272727272 136:1.0 137:1.0 241:1.0 279:0.5 285:1.0 333:1.0 354:1.0 379:1.0 424:1.0 431:0.3333333333333333 695:1.0 715:1.0 815:1.0 877:0.5 999:0.25 1517:1.0 1588:1.0 1637:1.0 1880:1.0 1935:1.0 2050:0.5 2177:1.0 2250:2.0 2255:1.0 2483:1.0 2792:1.0 3136:1.0 3304:1.0 3317:1.0 3318:1.0 3382:1.0 3392:0.5 3506:1.0 3601:0.5 3602:1.0 4260:1.0 5112:1.0
9 6:0.2857142857142857 19:0.125 20:0.4 21:0.14285714285714285 64:0.3333333333333333 67:0.3333333333333333 88:1.0 134:0.3333333333333333 188:1.0 534:1.0 580:0.5 982:1.0 1042:0.3333333333333333 1235:1.0 1336:1.0 2255:1.0 2890:1.0 3304:1.0 3321:1.0 3364:1.0 3382:1.0 3538:1.0 3785:1.0 4158:1.0 4886:1.0 5112:1.0 5613:1.0
9 7:0.5 17:0.0625 19:0.125 21:0.42857142857142855 26:0.02 38:1.0 51:1.0 62:0.25 68:2.0 97:0.5 131:1.0 141:0.1 593:0.5 621:1.0 989:1.0 1208:1.0 1235:1.0 1251:1.0 1629:0.3333333333333333 2616:2.0 3293:1.0 3295:1.0 3304:1.0 3392:0.5 3400:1.0 3452:1.0 3737:1.0 4260:1.0 4284:1.0 4358:1.0
9 12:0.3333333333333333 21:0.2857142857142857 26:0.02 38:1.0 48:2.0 64:0.3333333333333333 101:1.0 121:0.01818181818181818 134:0.3333333333333333 181:1.0 188:1.0 198:1.0 224:1.0 281:0.2 387:0.5 446:0.14285714285714285 550:0.5 580:0.5 1198:0.5 1228:0.5 1269:1.0 1361:0.5 1893:1.0 1985:1.0 3101:1.0 3295:1.0 3334:1.0 3350:1.0 3358:1.0 3389:1.0 3397:1.0 3442:1.0 3553:1.0 3608:1.0 3685:1.0 3782:1.0 3875:1.0 3915:1.0 4025:1.0 4038:1.0 4041:1.0 4042:1.0 4061:1.0 5044:1.0
9 6:0.14285714285714285 12:0.16666666666666666 17:0.0625 19:0.125 20:0.2 21:0.2857142857142857 26:0.02 38:1.0 48:1.0 51:1.0 55:0.09090909090909091 57:1.0 116:0.05263157894736842 118:0.5 121:0.01818181818181818 129:0.3333333333333333 134:0.3333333333333333 281:0.2 367:1.0 386:1.0 388:1.0 424:1.0 459:1.0 502:1.0 506:1.0 529:1.0 534:1.0 543:1.0 621:1.0 781:0.5 1235:1.0 1251:1.0 2238:0.3333333333333333 2616:1.0 3293:1.0 3295:1.0 3304:1.0 3339:1.0 3382:1.0 3591:1.0 3602:1.0 3636:1.0 3683:1.0 3912:0.3333333333333333 4926:1.0
9 7:0.5 8:0.16666666666666666 9:0.3333333333333333 12:0.16666666666666666 17:0.125 19:0.0625 20:0.2 21:0.2857142857142857 48:1.0 62:0.25 64:0.3333333333333333 121:0.05454545454545454 134:1.0 165:1.0 188:1.0 220:1.0 231:1.0 279:0.5 386:1.0 506:1.0 593:0.5 657:1.0 827:0.5 999:0.25 1001:0.14285714285714285 1060:1.0 1066:1.0 1071:1.0 1270:1.0 1294:1.0 1414:1.0 1804:1.0 2029:1.0 2134:1.0 2522:1.0 2655:2.0 3291:0.2 3294:1.0 3295:1.0 3364:3.0 3400:1.0 3602:1.0 3843:0.5 3921:1.0 4022:1.0 4136:1.0 4282:1.0 4760:1.0 5119:1.0 6433:1.0
9 11:1.0 12:0.16666666666666666 15:0.14285714285714285 17:0.0625 20:0.6 21:0.14285714285714285 24:1.0 38:1.0 48:1.0 51:1.0 55:0.09090909090909091 62:0.25 64:0.3333333333333333 67:0.3333333333333333 75:0.6666666666666666 121:0.01818181818181818 137:1.0 141:0.1 255:1.0 279:0.5 281:0.2 321:1.0 429:1.0 487:0.5 534:1.0 593:0.5 1228:0.5 1235:1.0 1267:1.0 1485:1.0 1549:1.0 1637:1.0 1709:1.0 1752:1.0 3043:1.0 3287:0.14285714285714285 3304:1.0 3469:1.0 3477:1.0 3601:0.5 4161:1.0 4303:1.0 4583:1.0 5070:1.0 6533:1.0
9 12:0.3333333333333333 20:1.0 24:0.5 38:1.0 40:0.5 48:1.0 55:0.18181818181818182 62:0.25 68:1.0 96:0.16666666666666666 118:0.5 121:0.01818181818181818 134:0.6666666666666666 176:1.0 201:0.4 264:1.0 279:0.5 285:1.0 387:0.5 487:0.5 679:0.5 703:1.0 1251:2.0 1626:1.0 1803:1.0 1893:1.0 2255:1.0 2522:1.0 3304:1.0 3350:1.0 3392:0.5 3442:1.0 3515:1.0 3553:1.0 3594:1.0 3685:1.0 3701:1.0 3717:1.0 3875:1.0 3915:1.0 3916:1.0 4038:1.0 4041:1.0 4042:1.0 4052:1.0 4180:1.0 4867:1.0 5044:1.0
9 7:0.5 8:0.16666666666666666 12:0.5 17:0.0625 20:0.2 21:0.14285714285714285 24:0.5 38:3.0 48:2.0 51:1.0 55:0.09090909090909091 64:0.3333333333333333 80:1.0 97:0.5 121:0.03636363636363636 136:1.0 141:0.1 176:1.0 188:2.0 196:0.3333333333333333 255:1.0 279:1.0 310:1.0 506:1.0 548:1.0 827:0.5 999:0.25 1001:0.14285714285714285 1372:0.3333333333333333 1493:1.0 1888:1.0 1985:1.0 2177:1.0 2522:1.0 3287:0.42857142857142855 3289:1.0 3293:1.0 3294:1.0 3304:1.0 3321:1.0 3343:1.0 3355:0.1 3378:0.2 3390:1.0 3456:1.0 3488:1.0 3541:1.0 3778:1.0 3972:1.0 4405:0.5
9 6:0.2857142857142857 11:0.5 19:0.1875 21:0.14285714285714285 25:1.0 38:1.0 40:0.5 48:1.0 88:1.0 98:0.14285714285714285 121:0.01818181818181818 134:0.3333333333333333 178:1.0 188:1.0 197:1.0 236:0.5 292:0.16666666666666666 647:1.0 679:0.5 1001:0.14285714285714285 1065:0.5 1198:0.5 1637:1.0 2447:1.0 3294:1.0 3295:1.0 3304:1.0 3317:1.0 3318:1.0 3319:1.0 3321:1.0 3330:1.0 3335:1.0 3400:1.0 3515:1.0 3541:1.0 3786:1.0 3827:1.0 3848:1.0 4447:1.0
9 6:0.14285714285714285 9:0.3333333333333333 17:0.0625 20:0.4 24:0.5 40:0.5 51:1.0 62:0.25 67:0.3333333333333333 121:0.03636363636363636 383:1.0 436:0.5 452:1.0 1237:1.0 1344:1.0 1476:1.0 1708:1.0 1936:0.25 1993:1.0 2029:1.0 2792:1.0 3293:1.0 3294:1.0 3295:1.0 3304:1.0 3330:1.0 3503:1.0 3624:0.5 3705:1.0 3795:0.3333333333333333 3848:1.0 4376:1.0
|
d78e219ed4a41604a772b97289d20254865863fd | 458def2f7b4bd44cdf75f29a4c0cabed2e6ca516 | /GradesSDL.sce | 0e1b66b53a193a111b28e8f92ad0cd83f12d5b4a | [] | no_license | SoanKim/Presentation_Software | 1a03bfc9e22bd2a874c5787ca89faa0947c09e67 | 382c84878496fce1e790386a4ff6c03741eb4974 | refs/heads/master | 2022-12-09T03:50:22.916992 | 2020-09-10T10:55:45 | 2020-09-10T10:55:45 | 294,382,441 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | GradesSDL.sce | #SDL:
scenario = "Grades";
pcl_file = "GradesPCL.pcl";
begin;
picture {
text { caption = "grades on screen";} t_Grades; x= 0; y = 0;
}p_Grades;
|
7e461701eb190bbe67f5d41b1e44476dfed54502 | d24d7ba8468707f00bf7adaaf2eb6f9cf024419b | /projects/05/stof.tst | 613ee83b0b66f581be40f92fe63ecfb5cfcdf115 | [] | no_license | linbug/nand2tetris | f22b01e400234e726131260e7fe9ccc4a7b6686d | 0156e5eb1144b37173223e9d000cf3f94178216c | refs/heads/master | 2021-01-19T00:17:27.599132 | 2017-04-02T21:03:32 | 2017-04-02T21:03:32 | 72,981,675 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | tst | stof.tst | load stof.hdl,
output-file stof.out,
compare-to stof.cmp,
output-list in%B1.16.1 out%B1.15.1;
set in %B1110000000000001,
eval,
output;
set in %B0000000000000001,
eval,
output;
|
7665a3daf9f314350e69cc9cdbbc7a98c9adab6b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.20_19.tst | 9d5661b3c4358216059609b6788d24dbefb5aefb | [] | 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 | 25,896 | tst | bow.20_19.tst | 20 15:1.0 16:0.14285714285714285 20:1.0 21:1.0 29:1.0 32:0.5 33:0.125 40:0.07142857142857142 44:0.1 50:0.16666666666666666 51:0.2 53:0.02127659574468085 54:0.6666666666666666 109:0.3333333333333333 123:0.2 215:1.0 264:2.0 382:0.3333333333333333 434:1.0 562:0.5 952:1.0 1280:1.0 2325:1.0 3006:1.0 3058:1.0 3259:1.0 3488:1.0 3858:1.0 3912:1.0 4075:1.0 4882:1.0
20 7:0.5 16:0.7142857142857143 21:1.0 32:0.5 33:0.125 43:1.0 44:0.1 50:0.16666666666666666 53:0.02127659574468085 54:0.3333333333333333 62:0.011363636363636364 64:0.1 100:0.3333333333333333 122:1.0 145:0.14285714285714285 203:0.25 223:0.08333333333333333 264:2.0 570:0.5 727:0.16666666666666666 753:2.0 757:0.3333333333333333 877:1.0 887:0.125 952:1.0 1322:1.0 1378:1.0 1457:1.0 1635:0.16666666666666666 1862:1.0 2408:1.0 2484:1.0 2706:1.0 2861:1.0 3144:1.0 3401:1.0 3842:1.0
20 3:1.0 4:0.16666666666666666 16:0.14285714285714285 39:1.0 40:0.21428571428571427 43:1.0 53:0.02127659574468085 54:0.3333333333333333 58:0.14285714285714285 77:1.0 82:1.0 109:0.3333333333333333 137:0.16666666666666666 154:0.5 269:0.5 295:0.25 359:1.0 382:0.3333333333333333 385:0.5 431:1.0 682:0.5 802:1.0 1150:0.5 1297:1.0 1706:1.5 1837:1.0 2699:0.5 2855:1.0 3107:1.0 3369:0.5 3731:1.0 3794:1.0 4213:1.0 4431:1.0 4556:1.0
20 16:0.2857142857142857 20:1.0 29:1.0 33:0.25 36:0.16666666666666666 43:1.0 44:0.1 57:0.05263157894736842 58:0.14285714285714285 62:0.011363636363636364 118:0.5 132:0.16666666666666666 142:1.0 199:1.0 248:1.0 256:1.0 295:0.25 430:1.0 1031:0.2 1706:1.0 1954:0.5 3360:1.0 4291:1.0 4320:2.0
20 16:0.14285714285714285 29:1.0 57:0.05263157894736842 72:1.0 109:0.3333333333333333 132:0.16666666666666666 256:1.0 604:1.0 1378:1.0 1706:0.5 2023:1.0 2737:0.07692307692307693 3332:0.5 3514:1.0
20 4:0.16666666666666666 53:0.02127659574468085 100:0.16666666666666666 440:0.5 492:1.0 608:1.0 969:0.16666666666666666 1378:1.0 1706:0.5 1962:1.0 2272:1.0 2813:1.0 3057:1.0 3147:1.0 3396:1.0 3596:1.0
20 33:0.125 51:0.2 57:0.05263157894736842 100:0.16666666666666666 109:0.3333333333333333 125:0.3333333333333333 132:0.3333333333333333 145:0.14285714285714285 152:1.0 256:1.0 295:0.25 757:0.3333333333333333 1121:1.0 1706:0.5 1710:1.0 2263:1.0 2369:1.0 2613:1.0 2782:1.0 4695:1.0 4696:2.0
20 7:0.5 16:0.14285714285714285 28:0.5 29:1.0 33:0.125 44:0.2 56:0.043478260869565216 58:0.14285714285714285 100:0.5 114:0.2 132:0.16666666666666666 137:0.16666666666666666 144:1.0 188:1.0 194:0.2 223:0.08333333333333333 255:1.0 256:1.0 264:1.0 314:0.16666666666666666 411:1.0 826:1.0 1013:0.3333333333333333 1060:1.0 1378:1.0 1706:1.0 2363:1.0 2417:1.0 2666:0.1111111111111111 3779:1.0 4070:1.0 4468:1.0
20 4:0.16666666666666666 16:0.14285714285714285 20:1.0 25:0.5 29:3.0 33:0.125 40:0.07142857142857142 51:0.2 57:0.05263157894736842 62:0.022727272727272728 87:1.0 109:1.0 122:1.0 125:0.3333333333333333 132:0.16666666666666666 192:0.375 239:0.25 253:0.14285714285714285 540:0.3333333333333333 562:0.5 653:1.0 753:1.0 757:0.3333333333333333 985:1.0 1596:1.0 1706:0.5 1752:1.0 2612:0.5 3102:1.0 3642:1.0 3707:1.0 4838:1.0
20 3:1.0 4:0.5 29:1.0 40:0.07142857142857142 57:0.05263157894736842 114:0.2 132:0.16666666666666666 256:1.0 1062:1.0 1168:0.14285714285714285 1246:1.0 1706:0.5 1954:0.5 2233:1.0 3707:1.0
20 4:0.16666666666666666 7:0.5 15:1.0 29:1.0 32:0.5 33:0.25 36:0.3333333333333333 43:1.0 53:0.02127659574468085 57:0.05263157894736842 132:0.16666666666666666 137:0.16666666666666666 192:0.125 256:1.0 556:0.25 705:1.0 803:1.0 1032:1.0 1706:0.5 1999:1.0 2263:1.0 2613:1.0 2698:1.0 3072:1.0 3884:1.0 4083:1.0 4403:0.5 4431:1.0
20 4:0.16666666666666666 16:0.14285714285714285 43:1.0 50:0.16666666666666666 123:0.2 132:0.16666666666666666 137:0.3333333333333333 256:1.0 280:0.5 317:1.0 562:0.5 1055:0.3333333333333333 1457:1.0 1706:0.5 1804:0.25 2054:1.0 2589:1.0 2781:1.0 2823:1.0 3352:1.0
20 7:0.5 16:0.14285714285714285 29:1.0 33:0.125 43:1.0 46:0.5 51:0.2 54:0.3333333333333333 132:0.16666666666666666 145:0.14285714285714285 152:1.0 187:1.0 246:1.0 472:0.2 682:0.25 705:1.0 757:0.3333333333333333 1405:1.0 1706:1.0 1761:1.0 2373:1.0 2737:0.07692307692307693 3596:1.0
20 16:0.14285714285714285 20:1.0 21:1.0 33:0.125 106:1.0 218:0.25 232:0.25 246:1.0 291:0.5 693:0.5 948:1.0 969:0.16666666666666666 2025:1.0 2098:1.0 2153:1.0 2926:1.0 3024:1.0 3370:1.0 3971:1.0
20 16:0.2857142857142857 20:2.0 33:0.25 40:0.21428571428571427 51:0.2 56:0.043478260869565216 62:0.011363636363636364 152:1.0 218:0.25 264:1.0 269:0.5 693:0.5 1025:0.5 1286:1.0 1706:0.5 1933:1.0 2019:0.5 2112:2.0 2730:1.0 4619:1.0 4714:1.0
20 7:0.5 9:1.0 29:2.0 40:0.07142857142857142 82:1.0 154:0.25 199:1.0 215:1.0 291:0.5 304:0.4 328:1.0 335:1.0 369:1.0 402:1.0 990:1.0 1660:1.0 1706:0.5 1891:0.5 3708:1.0 4018:1.0
20 20:1.0 33:0.125 40:0.21428571428571427 56:0.08695652173913043 62:0.011363636363636364 82:2.0 184:1.0 218:0.25 261:0.5 402:1.0 899:1.0 1647:1.0 1933:1.0 2019:0.5 2112:2.0 2862:1.0 2935:2.0
20 7:0.5 29:1.0 39:1.0 40:0.14285714285714285 43:1.0 48:1.0 51:0.2 57:0.05263157894736842 62:0.011363636363636364 82:2.0 109:0.3333333333333333 180:0.3333333333333333 192:0.125 280:0.5 295:0.25 304:0.2 1378:1.0 1706:0.5 1749:1.0 1975:1.0 2669:1.0 2699:0.5 4058:1.0 4628:1.0
20 4:0.16666666666666666 16:0.2857142857142857 29:1.0 33:0.25 51:0.2 62:0.011363636363636364 77:1.0 109:0.6666666666666666 154:0.25 295:0.25 359:1.0 367:0.5 369:1.0 385:0.5 406:1.0 408:1.0 410:1.0 757:0.3333333333333333 1028:1.0 1618:0.5 3037:1.0 3320:1.0 4661:1.0
20 2:0.3333333333333333 40:0.07142857142857142 51:0.2 53:0.02127659574468085 82:2.0 96:0.3333333333333333 109:0.3333333333333333 142:1.0 152:1.0 295:0.25 314:0.16666666666666666 440:0.5 540:0.3333333333333333 827:1.0 1706:0.5 1847:1.0 1969:1.0 2408:2.0 2578:1.0 2613:1.0 2862:1.0
20 7:1.0 20:1.0 23:1.0 44:0.1 54:0.3333333333333333 62:0.011363636363636364 82:1.0 109:0.3333333333333333 291:0.5 430:1.0 467:1.0 592:1.0 603:1.0 794:1.0 1030:1.0 1155:1.0 1208:1.0 1245:1.0 1510:1.0 1706:0.5 1954:0.5 2023:1.0 2701:1.0 2862:1.0
20 4:0.16666666666666666 16:0.14285714285714285 29:1.0 47:0.16666666666666666 51:0.4 54:0.6666666666666666 127:1.0 137:0.16666666666666666 215:1.0 499:0.3333333333333333 521:1.0 663:1.0 697:1.0 727:0.16666666666666666 1706:0.5 2614:1.0 2652:1.0 2862:1.0 4403:0.5
20 16:0.14285714285714285 20:1.0 29:3.0 33:0.125 40:0.14285714285714285 42:0.5 44:0.1 56:0.043478260869565216 84:1.0 120:1.0 197:1.0 280:0.5 291:0.5 402:2.0 628:1.0 948:1.0 1245:1.0 1440:0.5 3169:1.0 3552:0.5 3973:1.0
20 7:0.5 23:1.0 28:0.5 29:1.0 33:0.125 44:0.1 56:0.043478260869565216 64:0.1 84:1.0 137:0.16666666666666666 154:0.25 194:0.2 430:1.0 672:1.0 1530:1.0 1954:0.5 2629:1.0 3963:1.0 4217:1.0
20 44:0.1 54:0.3333333333333333 57:0.05263157894736842 99:1.0 295:0.25 745:1.0 757:0.3333333333333333 1088:0.5 1706:1.0 2679:1.0
20 33:0.125 51:0.2 56:0.043478260869565216 446:1.0 466:1.0 467:1.0 608:1.0 757:0.3333333333333333 969:0.16666666666666666 1291:1.0 1706:1.0 2962:1.0
20 28:0.5 32:0.5 33:0.125 47:0.16666666666666666 50:0.16666666666666666 54:0.3333333333333333 245:1.0 291:0.5 727:0.16666666666666666 757:0.3333333333333333 1436:1.0 1706:0.5 2830:0.5 3147:1.0 4740:1.0
20 7:0.5 16:0.2857142857142857 20:1.0 28:0.5 29:3.0 33:0.125 50:0.3333333333333333 51:0.2 54:0.3333333333333333 62:0.022727272727272728 106:2.0 137:0.16666666666666666 144:1.0 145:0.14285714285714285 152:1.0 196:1.0 223:0.08333333333333333 291:0.5 317:0.5 331:1.0 562:0.5 757:0.3333333333333333 874:1.0 1329:1.0 1706:0.5 1847:1.0 1907:1.0 1954:0.5 2494:1.0 2621:1.0 2689:1.0 2818:1.0 3148:1.0 4934:1.0
20 7:0.5 16:0.2857142857142857 20:2.0 33:0.125 50:0.16666666666666666 51:0.2 53:0.02127659574468085 54:0.3333333333333333 111:1.0 126:1.0 145:0.14285714285714285 152:2.0 204:1.0 466:1.0 467:1.0 520:1.0 556:0.25 1035:1.0 1128:1.0 1644:1.0 1706:1.0 2364:1.0 2613:1.0 2760:1.0 3605:1.0 4496:1.0 4517:1.0 4960:1.0
20 16:0.5714285714285714 29:1.0 32:0.5 33:0.125 35:1.0 40:0.07142857142857142 106:1.0 114:0.2 137:0.16666666666666666 145:0.14285714285714285 218:0.25 264:1.0 304:0.2 327:1.0 388:0.25 440:0.5 470:0.16666666666666666 764:0.16666666666666666 803:1.0 1286:1.0 1706:0.5 3929:1.0 4653:1.0
20 15:1.0 16:0.14285714285714285 28:0.5 29:1.0 33:0.125 50:0.16666666666666666 51:0.2 54:0.3333333333333333 56:0.043478260869565216 137:0.16666666666666666 152:1.0 169:1.0 223:0.08333333333333333 239:0.25 276:1.0 295:0.25 413:1.0 533:0.3333333333333333 594:1.0 874:2.0 1060:1.0 1706:0.5 1797:1.0 1946:1.0 2327:1.0 2988:1.0 3686:1.0 4444:1.0
20 16:0.14285714285714285 32:0.5 33:0.375 44:0.1 54:0.3333333333333333 56:0.043478260869565216 137:0.3333333333333333 246:1.0 413:1.0 874:1.0 1375:1.0 1493:1.0 1797:1.0 1954:0.5 2327:1.0 2388:1.0 3686:1.0 4139:1.0 4444:1.0 4524:1.0
20 16:0.2857142857142857 29:1.0 50:0.3333333333333333 51:0.2 137:0.16666666666666666 145:0.14285714285714285 192:0.125 246:1.0 272:0.5 276:1.0 302:1.0 521:1.0 1035:1.0 1248:0.25 1303:1.0 1954:0.5 2233:1.0 2277:1.0 2638:1.0 4626:1.0
20 29:2.0 39:1.0 40:0.07142857142857142 82:2.0 89:0.125 114:0.4 144:1.0 152:1.0 192:0.125 295:0.25 355:0.5 428:1.0 1001:1.0 1123:1.0 1589:1.0 1706:0.5 1847:1.0 2025:1.0 2591:1.0 2658:1.0 4333:1.0 4348:1.0
20 7:0.5 10:0.5 20:1.0 27:0.3333333333333333 44:0.1 54:0.3333333333333333 62:0.022727272727272728 109:0.3333333333333333 152:1.0 169:1.0 402:1.0 575:1.0 605:0.16666666666666666 667:1.0 718:1.0 947:1.0 1706:1.0 2802:1.0 3057:2.0 3191:1.0 3281:1.0 3460:0.5 3479:1.0 3987:1.0 4320:1.0
20 16:0.2857142857142857 20:1.0 29:2.0 36:0.16666666666666666 44:0.1 51:0.2 57:0.05263157894736842 62:0.011363636363636364 100:0.16666666666666666 109:0.3333333333333333 114:0.2 123:0.2 152:2.0 184:1.0 218:0.25 295:0.25 554:0.5 693:0.5 1376:1.0 1635:0.16666666666666666 1706:1.0 3015:1.0
20 7:0.5 16:0.2857142857142857 21:1.0 36:0.16666666666666666 47:0.16666666666666666 53:0.02127659574468085 54:1.0 57:0.05263157894736842 91:1.0 100:0.3333333333333333 152:2.0 154:0.25 355:0.5 409:0.5 411:1.0 472:0.2 1039:1.0 1706:1.0 1968:1.0 2721:1.0 4513:1.0 4564:1.0 4601:1.0 4853:1.0
20 32:0.5 40:0.07142857142857142 50:0.16666666666666666 51:0.2 62:0.011363636363636364 82:1.0 152:2.0 280:0.5 382:0.3333333333333333 472:0.2 1254:1.0 1298:1.0 1706:1.0 2336:1.0 2699:0.5 3401:1.0 3497:1.0 4083:1.0
20 20:1.0 36:0.16666666666666666 51:0.2 54:0.3333333333333333 91:1.0 152:1.0 490:0.5 518:1.0 973:1.0 1141:1.0 1241:1.0 1457:1.0 1635:0.16666666666666666 1706:0.5 2591:1.0 3636:1.0 4758:1.0
20 4:0.16666666666666666 7:0.5 16:0.14285714285714285 32:0.5 33:0.125 51:0.2 54:0.3333333333333333 132:0.16666666666666666 215:1.0 264:1.0 369:1.0 402:1.0 466:1.0 608:1.0 1241:1.0 1297:1.0 1531:1.0 1665:1.0 1706:0.5 1726:1.0 2122:1.0 2591:1.0 2730:1.0 2737:0.07692307692307693 3320:1.0 3394:1.0 3596:1.0 3597:1.0 3601:1.0 3771:1.0 4416:1.0
20 50:0.16666666666666666 137:0.16666666666666666 3640:1.0
20 7:0.5 16:0.14285714285714285 29:1.0 32:0.5 33:0.125 54:0.6666666666666666 109:0.3333333333333333 137:0.16666666666666666 215:1.0 264:1.0 556:0.25 580:1.0 605:0.16666666666666666 757:0.3333333333333333 1241:1.0 1706:0.5 3600:1.0 3640:1.0
20 7:0.5 16:0.42857142857142855 28:0.5 29:1.0 32:0.5 33:0.125 43:1.0 50:0.16666666666666666 51:0.2 54:0.3333333333333333 62:0.011363636363636364 137:0.3333333333333333 149:0.5 180:0.3333333333333333 246:1.0 287:1.0 406:1.0 693:0.5 1168:0.14285714285714285 1310:1.0 1539:1.0 2450:1.0 2862:1.0 2885:1.0 3640:2.0 4481:1.0 4529:1.0 4872:1.0
20 7:0.5 16:0.14285714285714285 33:0.125 44:0.1 50:0.3333333333333333 51:0.4 137:0.16666666666666666 192:0.125 367:1.0 494:0.3333333333333333 761:1.0 901:0.25 1378:1.0 1804:0.25 2862:1.0 3619:1.0 3640:1.0 3643:1.0 3968:1.0 4529:1.0
20 16:0.42857142857142855 29:3.0 44:0.1 50:0.16666666666666666 51:0.2 54:0.3333333333333333 137:0.16666666666666666 164:0.3333333333333333 196:1.0 253:0.14285714285714285 410:1.0 424:0.5 901:0.25 1102:1.0 1378:1.0 1510:1.0 2800:1.0 2818:1.0 2885:1.0 3147:1.0 3455:1.0 3800:1.0
20 40:0.14285714285714285 44:0.1 53:0.0425531914893617 54:1.0 132:0.16666666666666666 364:0.5 396:0.0625 693:0.5 1706:0.5 3351:0.5 3463:1.0
20 11:0.5 32:0.5 33:0.125 51:0.2 1168:0.14285714285714285 1706:0.5 1761:1.0 4083:1.0
20 16:0.2857142857142857 51:0.2 54:0.3333333333333333 62:0.011363636363636364 142:1.0 264:1.0 794:1.0 901:0.25 1706:0.5 1761:1.0 2484:1.0 2751:1.0 4758:1.0
20 16:0.14285714285714285 29:2.0 32:0.5 33:0.125 44:0.2 82:2.0 137:0.16666666666666666 142:1.0 152:2.0 965:1.0 1376:1.0 1706:1.0 1969:1.0 2484:1.0 2737:0.07692307692307693 3562:1.0 3833:1.0
20 11:0.5 16:0.14285714285714285 20:1.0 33:0.125 39:1.0 56:0.043478260869565216 62:0.022727272727272728 109:0.3333333333333333 123:0.2 132:0.16666666666666666 138:1.0 184:1.0 246:1.0 288:1.0 304:0.2 331:1.0 402:1.0 540:0.3333333333333333 554:0.5 899:1.0 969:0.16666666666666666 1706:0.5 1726:1.0 2672:1.0 2702:1.0 3052:1.0 3565:1.0
20 33:0.125 40:0.07142857142857142 44:0.3 47:0.16666666666666666 53:0.02127659574468085 132:0.16666666666666666 145:0.14285714285714285 215:1.0 255:1.0 304:0.2 494:0.3333333333333333 499:1.0 718:1.0 883:1.0 1706:0.5 2613:1.0
20 16:0.14285714285714285 32:0.5 33:0.125 43:1.0 44:0.2 51:0.2 54:0.3333333333333333 91:1.0 106:1.0 109:0.6666666666666666 123:0.2 126:1.0 382:0.3333333333333333 663:1.0 686:1.0 766:1.0 824:0.5 1618:0.5 1706:1.0 2737:0.07692307692307693 3604:1.0
20 7:0.5 16:0.14285714285714285 62:0.011363636363636364 100:0.16666666666666666 109:0.3333333333333333 125:0.3333333333333333 152:1.0 154:0.25 188:1.0 192:0.125 357:1.0 402:1.0 1013:0.3333333333333333 1121:1.0 1365:1.0 1378:1.0 1439:1.0 1594:1.0 1706:1.0 1804:0.25 3697:1.0
20 109:0.3333333333333333 253:0.14285714285714285 361:1.0 428:1.0 608:1.0 767:1.0 802:1.0 1106:1.0 2612:0.5 3191:1.0 3533:1.0 3600:1.0 4172:1.0 4653:1.0
20 4:0.16666666666666666 14:0.5 15:1.0 16:0.2857142857142857 20:1.0 33:0.25 50:0.3333333333333333 51:0.2 54:0.3333333333333333 60:1.0 114:0.2 145:0.2857142857142857 150:1.0 152:1.0 367:0.5 371:1.0 401:1.0 408:1.0 520:1.0 1035:1.0 1531:1.0 1706:0.5 2312:1.0 2484:1.0 2861:1.0 3675:1.0 3833:1.0
20 16:0.42857142857142855 20:1.0 25:0.5 33:0.125 44:0.1 50:0.16666666666666666 51:0.2 53:0.02127659574468085 54:0.6666666666666666 56:0.043478260869565216 82:1.0 89:0.125 100:0.16666666666666666 154:0.25 164:0.3333333333333333 410:1.0 472:0.2 499:0.3333333333333333 661:1.0 727:0.16666666666666666 2025:2.0 3144:1.0 3401:1.0 4024:1.0
20 4:0.16666666666666666 7:1.0 29:2.0 33:0.125 50:0.16666666666666666 53:0.02127659574468085 100:0.16666666666666666 123:0.2 137:0.16666666666666666 152:1.0 180:0.3333333333333333 246:1.0 261:0.5 326:1.0 327:1.0 355:0.5 757:0.3333333333333333 855:1.0 1510:1.0 1706:0.5 2613:1.0 2614:1.0 3839:1.0 4870:1.0
20 16:0.2857142857142857 29:1.0 39:1.0 44:0.1 51:0.2 54:0.3333333333333333 62:0.022727272727272728 137:0.16666666666666666 230:1.0 280:0.5 409:0.5 413:1.0 604:1.0 899:1.0 1013:0.3333333333333333 1510:1.0 1706:0.5 1747:1.0 2051:1.0 2802:1.0 3633:2.0 4024:1.0 4029:1.0
20 16:0.2857142857142857 20:3.0 23:1.0 24:1.0 29:1.0 40:0.07142857142857142 50:0.16666666666666666 53:0.02127659574468085 54:0.3333333333333333 82:1.0 295:0.25 624:1.0 693:0.5 901:0.25 1378:1.0 1706:0.5 2578:1.0 2775:1.0 3675:1.0 4653:1.0
20 16:0.14285714285714285 33:0.25 154:0.25 215:1.0 253:0.14285714285714285 408:1.0 727:0.16666666666666666 764:0.16666666666666666 803:1.0 952:1.0 1017:0.5 1286:1.0 2051:1.0 2184:1.0 2630:1.0 4350:1.0 4653:1.0
20 7:1.5 33:0.125 40:0.07142857142857142 44:0.1 50:0.16666666666666666 54:0.6666666666666666 68:1.0 87:1.0 137:0.16666666666666666 152:1.0 162:0.3333333333333333 163:1.0 261:0.5 402:1.0 539:0.5 1202:1.0 1378:1.0 1589:1.0 1706:0.5 2171:1.0 2910:1.0
20 7:1.0 14:0.5 18:1.0 27:0.3333333333333333 33:0.25 40:0.14285714285714285 47:0.16666666666666666 53:0.02127659574468085 100:0.16666666666666666 144:1.0 152:2.0 291:0.5 408:1.0 471:1.0 757:0.3333333333333333 803:1.0 1013:0.3333333333333333 1706:1.0 2300:1.0 2666:0.1111111111111111 2699:0.5 3255:1.0 3882:1.0
20 10:0.5 16:0.2857142857142857 20:2.0 23:1.0 28:0.5 32:0.5 33:0.125 39:1.0 44:0.1 54:0.3333333333333333 137:0.3333333333333333 145:0.14285714285714285 154:0.25 192:0.125 223:0.08333333333333333 333:0.5 766:1.0 1089:1.0 1155:1.0 1322:1.0 1882:1.0 2065:1.0 3885:1.0
20 33:0.25 40:0.07142857142857142 43:2.0 56:0.043478260869565216 57:0.05263157894736842 62:0.022727272727272728 87:1.0 100:0.16666666666666666 152:1.0 188:1.0 192:0.125 261:0.5 393:1.0 440:0.5 705:1.0 853:1.0 901:0.25 947:1.0 1209:1.0 1386:1.0 1706:0.5 1804:0.25 2737:0.07692307692307693 2748:1.0 3063:1.0 4724:1.0
20 16:0.2857142857142857 25:0.5 29:1.0 43:1.0 50:0.16666666666666666 62:0.011363636363636364 89:0.125 154:0.25 192:0.125 223:0.08333333333333333 410:1.0 858:1.0 901:0.25 1123:1.0 1268:1.0 1559:1.0 2589:1.0 2832:0.5 3870:1.0 4357:2.0
20 3:1.0 16:0.14285714285714285 29:1.0 36:0.16666666666666666 44:0.1 51:0.2 62:0.03409090909090909 64:0.1 152:1.0 264:1.0 280:0.5 291:0.5 326:1.0 371:1.0 407:1.0 408:1.0 463:0.5 855:1.0 1285:1.0 1706:1.0 2056:1.0 2153:1.0
20 4:0.16666666666666666 20:1.0 33:0.125 51:0.2 54:0.3333333333333333 106:1.0 114:0.2 232:0.25 367:0.5 649:1.0 757:0.3333333333333333 959:0.3333333333333333 1248:0.25 1704:1.0 1881:1.0 2818:1.0 2886:2.0 2915:0.5 3278:1.0 4058:1.0 4553:1.0 4873:1.0
20 29:1.0 51:0.2 54:0.3333333333333333 64:0.1 218:0.25 767:1.0 1099:1.0 1583:1.0 2058:1.0 2341:1.0 2439:1.0 3126:1.0 3369:0.5 3658:1.0 3830:1.0 4042:1.0
20 16:0.2857142857142857 20:1.0 32:0.5 33:0.25 40:0.14285714285714285 54:0.3333333333333333 57:0.05263157894736842 88:1.0 192:0.125 215:1.0 280:0.5 419:1.0 1635:0.16666666666666666 1706:0.5 2265:1.0 2760:1.0 2862:1.0 3185:1.0 3369:0.5 3485:1.0 3562:1.0 4324:1.0
20 46:0.5 50:0.16666666666666666 53:0.02127659574468085 54:0.3333333333333333 77:1.0 100:0.16666666666666666 114:0.2 145:0.2857142857142857 154:0.25 185:0.5 520:1.0 1028:1.0 1031:0.2 1035:1.0 1200:1.0 1706:0.5 1904:1.0 2015:1.0 3001:1.0 3640:1.0 4068:1.0 4136:1.0
20 7:1.0 16:0.14285714285714285 20:1.0 42:0.5 44:0.1 50:0.16666666666666666 51:0.4 56:0.043478260869565216 59:1.0 84:1.0 88:1.0 137:0.16666666666666666 145:0.14285714285714285 298:1.0 411:1.0 570:0.5 1035:1.0 1378:1.0 1706:0.5 3072:1.0 3946:1.0 3980:2.0
20 7:0.5 16:0.2857142857142857 20:1.0 33:0.25 42:0.5 51:0.4 53:0.02127659574468085 54:0.6666666666666666 56:0.043478260869565216 59:1.0 82:1.0 84:1.0 100:0.16666666666666666 692:1.0 876:1.0 981:1.0 1138:1.0 2054:1.0 2593:1.0 2809:1.0 3980:2.0 4964:1.0
20 4:0.16666666666666666 15:1.0 20:1.0 29:1.0 33:0.125 46:0.5 54:1.0 145:0.14285714285714285 264:1.0 472:0.2 482:1.0 486:0.3333333333333333 520:1.0 649:1.0 757:0.3333333333333333 766:1.0 959:0.3333333333333333 1704:1.0 1706:0.5 1881:1.0 1904:1.0 3278:1.0 3719:1.0 4058:1.0 4553:1.0 4748:1.0
20 7:1.0 16:0.2857142857142857 32:0.5 33:0.25 54:0.6666666666666666 89:0.125 215:1.0 287:1.0 419:1.0 470:0.16666666666666666 764:0.16666666666666666 1129:1.0 1599:0.5 1706:0.5 2265:1.0 2614:1.0 2666:0.1111111111111111 2672:1.0 2749:1.0 2760:1.0 2862:1.0 3185:1.0 3369:0.5 3485:1.0 3562:1.0 4324:1.0
20 33:0.125 43:1.0 51:0.2 57:0.05263157894736842 89:0.125 114:0.2 237:0.5 239:0.25 757:0.3333333333333333 1123:1.0 1847:1.0 1947:1.0 2054:1.0 2832:0.5 2861:1.0 2935:1.0 4031:1.0 4416:1.0
20 16:0.2857142857142857 29:2.0 40:0.14285714285714285 44:0.1 51:0.4 53:0.02127659574468085 106:1.0 109:0.3333333333333333 218:0.25 295:0.25 682:0.25 901:0.25 1058:1.0 1264:1.0 1706:0.5 2484:1.0 2729:1.0 2845:1.0 3340:1.0 3604:1.0
20 16:0.14285714285714285 33:0.375 51:0.4 57:0.05263157894736842 82:1.0 125:0.6666666666666666 137:0.16666666666666666 145:0.14285714285714285 165:1.0 246:1.0 261:0.5 520:1.0 539:0.5 757:0.3333333333333333 903:1.0 914:1.0 952:1.0 1001:1.0 1362:1.0 2239:1.0 3293:1.0 4295:1.0
20 16:0.14285714285714285 29:2.0 33:0.125 40:0.07142857142857142 44:0.1 51:0.2 57:0.05263157894736842 132:0.16666666666666666 242:0.25 246:1.0 256:1.0 264:1.0 490:0.5 539:0.5 757:0.3333333333333333 952:1.0 1378:1.0
20 16:0.14285714285714285 25:0.5 28:0.5 33:0.375 40:0.07142857142857142 44:0.1 48:1.0 62:0.011363636363636364 84:1.0 109:0.3333333333333333 134:1.0 145:0.14285714285714285 280:0.5 291:0.5 331:1.0 359:1.0 1706:0.5 2122:1.0 3351:0.5
20 7:0.5 16:0.14285714285714285 20:1.0 44:0.1 51:0.4 57:0.05263157894736842 62:0.011363636363636364 82:1.0 100:0.16666666666666666 109:0.3333333333333333 123:0.2 152:1.0 169:1.0 204:1.0 223:0.08333333333333333 253:0.14285714285714285 402:1.0 446:1.0 539:0.5 628:1.0 727:0.16666666666666666 1356:1.0 1706:0.5 2587:1.0 2749:1.0 2798:0.3333333333333333 4319:1.0
20 7:1.0 16:0.14285714285714285 32:0.5 44:0.1 51:0.4 54:0.6666666666666666 79:0.25 100:0.16666666666666666 152:1.0 160:1.0 223:0.08333333333333333 359:1.0 570:0.5 697:1.0 757:0.3333333333333333 761:1.0 802:1.0 1706:1.0 1847:1.0 2737:0.07692307692307693 2830:0.5 3771:1.0
20 7:0.5 16:0.2857142857142857 20:2.0 33:0.125 39:1.0 40:0.14285714285714285 48:1.0 50:0.16666666666666666 53:0.02127659574468085 54:0.3333333333333333 56:0.043478260869565216 152:1.0 382:0.3333333333333333 1706:0.5 1797:1.0 1954:0.5 2721:1.0 3924:1.0 4008:1.0 4263:1.0
20 16:0.14285714285714285 29:1.0 33:0.125 40:0.07142857142857142 50:0.16666666666666666 51:0.2 54:0.3333333333333333 56:0.043478260869565216 82:1.0 114:0.4 192:0.125 237:0.5 238:1.0 592:1.0 787:1.0 959:0.3333333333333333 1042:1.0 1192:1.0 1356:1.0 1688:1.0 1954:0.5 2818:1.0 3135:1.0 3707:1.0 4748:1.0
20 1:1.0 7:1.0 32:0.5 36:0.16666666666666666 51:0.4 73:1.0 91:1.0 114:0.2 118:0.5 158:1.0 232:0.25 324:1.0 367:0.5 463:0.5 693:0.5 706:1.0 1091:1.0 1706:0.5 1804:0.25 2145:1.0 2818:1.0 3035:1.0 3340:1.0 3643:1.0 4947:1.0
20 1:1.0 14:0.5 16:0.14285714285714285 29:1.0 32:0.5 33:0.125 47:0.16666666666666666 48:1.0 57:0.05263157894736842 114:0.2 152:2.0 253:0.14285714285714285 382:0.3333333333333333 434:1.0 697:1.0 901:0.25 1036:1.0 1073:1.0 1181:0.2 1706:1.5 2613:1.0 2952:1.0 2953:1.0 2962:1.0 3281:1.0
20 16:0.2857142857142857 32:0.5 50:0.16666666666666666 53:0.02127659574468085 54:0.3333333333333333 100:0.16666666666666666 126:1.0 438:1.0 1031:0.2 1100:1.0 1490:1.0 1706:1.0
20 15:1.0 16:0.2857142857142857 29:1.0 32:0.5 44:0.1 51:0.2 54:0.3333333333333333 124:1.0 132:0.16666666666666666 359:1.0 608:1.0 826:1.0 1248:0.25 1267:1.0 1378:1.0 1706:0.5 2162:1.0 3707:1.0
20 16:0.14285714285714285 54:0.3333333333333333 57:0.05263157894736842 62:0.022727272727272728 64:0.1 132:0.16666666666666666 142:1.0 144:1.0 152:1.0 169:1.0 256:1.0 1303:1.0 1365:1.0 1599:0.5 1706:0.5 2422:1.0 2613:1.0 2666:0.1111111111111111 2672:1.0 2702:1.0 2767:1.0 4222:1.0
20 16:0.14285714285714285 20:1.0 21:1.0 33:0.375 40:0.07142857142857142 44:0.1 50:0.16666666666666666 54:0.3333333333333333 55:1.0 57:0.05263157894736842 60:1.0 62:0.011363636363636364 72:1.0 77:1.0 91:2.0 111:1.0 152:1.0 199:1.0 223:0.08333333333333333 313:0.5 379:1.0 605:0.16666666666666666 753:1.0 767:1.0 1439:1.0 1706:0.5 2003:1.0 2699:0.5 3370:1.0 3438:1.0 3882:1.0 4058:1.0 4152:1.0
20 16:0.2857142857142857 20:1.0 29:2.0 33:0.25 44:0.1 50:0.16666666666666666 51:0.2 91:1.0 106:1.0 109:0.3333333333333333 114:0.2 142:1.0 158:1.0 243:1.0 532:1.0 640:1.0 693:0.5 766:1.0 767:1.0 1378:1.0 2818:1.0 2832:0.5 2935:1.0 3054:1.0 3162:1.0 3245:1.0 3603:1.0 3707:1.0 3941:1.0
20 4:0.16666666666666666 33:0.125 53:0.02127659574468085 100:0.16666666666666666 145:0.14285714285714285 154:0.25 295:0.25 302:1.0 803:1.0 824:0.5 826:1.0 1241:1.0 1286:1.0 1660:1.0 1706:0.5 2266:1.0 2614:1.0 3191:1.0 3333:1.0 3715:1.0
20 4:0.16666666666666666 7:0.5 29:1.0 33:0.125 53:0.02127659574468085 54:0.6666666666666666 79:0.25 84:1.0 100:0.16666666666666666 123:0.2 142:2.0 145:0.14285714285714285 154:0.25 184:1.0 295:0.25 302:1.0 803:1.0 824:0.5 826:1.0 839:0.5 1286:1.0 1414:1.0 1663:1.0 1706:0.5 2614:1.0 3333:1.0
20 29:3.0 33:0.125 39:1.0 40:0.07142857142857142 51:0.2 77:1.0 82:1.0 89:0.125 100:0.16666666666666666 111:1.0 122:1.0 123:0.2 132:0.16666666666666666 137:0.16666666666666666 145:0.14285714285714285 163:1.0 215:1.0 223:0.08333333333333333 379:1.0 2054:1.0 2298:1.0 2589:1.0 2832:0.5 2861:1.0 2935:1.0 3245:1.0 4416:1.0 4740:1.0 4760:1.0
20 10:0.5 16:0.14285714285714285 20:2.0 33:0.25 44:0.3 54:0.3333333333333333 62:0.022727272727272728 100:0.16666666666666666 109:0.3333333333333333 118:0.5 145:0.14285714285714285 152:1.0 192:0.125 255:1.0 280:0.5 331:1.0 570:0.5 682:0.25 1013:0.3333333333333333 1017:0.5 1036:1.0 1155:1.0 1322:1.0 1706:0.5 2699:0.5 2702:1.0 2767:1.0 2779:1.0
20 3:1.0 16:0.2857142857142857 29:1.0 40:0.07142857142857142 50:0.16666666666666666 54:0.3333333333333333 127:1.0 693:0.5 727:0.16666666666666666 1025:0.5 1589:1.0 1683:1.0 1706:0.5 1954:0.5 2019:0.5 2225:1.0 2289:1.0 2658:1.0 2702:1.0 2753:1.0 3136:1.0 3820:1.0 4932:1.0 4933:1.0
20 4:0.16666666666666666 7:0.5 40:0.07142857142857142 43:1.0 106:1.0 137:0.3333333333333333 145:0.2857142857142857 291:0.5 300:1.0 467:1.0 683:1.0 777:0.5 798:0.2 1297:1.0 1298:1.0 1706:0.5 2122:1.0 2363:1.0 2727:1.0 2735:1.0 2844:1.0 3159:1.0 3320:1.0 4669:1.0 4873:1.0
20 7:0.5 16:0.14285714285714285 32:0.5 36:0.16666666666666666 40:0.07142857142857142 51:0.2 57:0.05263157894736842 62:0.011363636363636364 137:0.16666666666666666 142:1.0 145:0.14285714285714285 300:1.0 798:0.2 952:1.0 1105:1.0 1298:1.0 1706:1.0 3159:1.0 3242:1.0 3549:1.0
20 16:0.42857142857142855 20:1.0 28:0.5 51:0.4 54:0.3333333333333333 57:0.10526315789473684 100:0.3333333333333333 137:0.16666666666666666 242:0.25 1568:1.0 1706:1.0 1847:1.0 1898:1.0 2025:1.0 2298:1.0 2832:0.5 3833:1.0 3836:1.0 4619:1.0
20 7:0.5 10:1.0 16:0.14285714285714285 20:1.0 23:1.0 29:1.0 44:0.1 50:0.16666666666666666 64:0.1 91:1.0 124:1.0 152:1.0 223:0.08333333333333333 466:1.0 467:1.0 757:0.3333333333333333 1254:1.0 1303:1.0 1706:0.5 2051:1.0 2240:1.0 3877:1.0 4362:1.0
20 32:0.5 36:0.16666666666666666 44:0.1 57:0.05263157894736842 79:0.25 100:0.16666666666666666 109:0.3333333333333333 111:1.0 142:1.0 218:0.25 437:0.3333333333333333 562:0.5 661:1.0 766:1.0 1013:0.3333333333333333 1245:1.0 1599:0.5 1706:0.5 2074:1.0 2593:1.0 2698:1.0
|
4b27057b58b48c247a632a8234f87161eedcd3b5 | 83b39ce8edebb6ec335a740bcc4e0a96bd03ad5f | /Functions.sce | 729a373d4d1460a9b6b6767ff3404828b9c9b5a0 | [] | no_license | neighborBoy0/ProjetFinDeEtude | c7b47a49fa6e3f151bf6fd890ea392ec745f5e37 | b1044feb8bac4d9645639e3ea3f113ad97439f8e | refs/heads/main | 2023-04-10T14:56:39.636998 | 2021-04-12T19:05:53 | 2021-04-12T19:05:53 | 347,607,990 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,229 | sce | Functions.sce | m = mode();
mode(-1);
// the position error between the current and final positions for the end effector
//
// CPosition: Cartesian coordinates of the current position.
// FPosition: Cartesian coordinates of the end point.
function result = F1(CPosition, FPosition)
try
positions = [CPosition; FPosition];
result = nan_pdist(positions, 'euclidean'); // calcule euclidean distance between CPosition and FPosition
catch
[error_message,error_number]=lasterror(%t)
disp("There is an error in function F1, error message:" + error_message);
end
endfunction
// The purpose of this term is to keep the control points (the center of the joints in this case) away from the various obstacles
//
// M is the number of obstacles
// N is the total number of control points
// obstacle is the position of obstacles
function result = F2(M, N, obstacle)
try
f2 = 0
// calcule sum of the euclidean distance between each joint and each obstacles
for i=1:N
for j=1:M
positions = [robot.links(i).r; obstacle(j, :)]; // Suppose there is only one obstacle at 0.5, 0.5, 0.5
f2 = f2 + nan_pdist(positions, 'euclidean');
end
end
result = f2;
catch
[error_message,error_number]=lasterror(%t)
disp("There is an error in function F2, error message:" + error_message);
end
endfunction
// The purpose of this term is to maximize the manipulability of the robot
//
// Q: Each joint angle.
function result = F3(Q)
// Q = []
// loop = size(robot.links); // the number of joints
// for i=1:loop
// T = r2t(robot.links(6).I);
// Qtemp = tr2q(T1)
// Q = [Q, Qtemp(2)]
// end
J = jacob0(robot, Q, 'rot') // it was jacobn
result = sqrt(det(J * J'));
endfunction
// To minimize the variation of joint variables, in order to obtain small movements
//
// Q: Each joint angle.
// N: The number of joints
// joints_origin: The angle of each joint in the previous position.
function result = F4(Q, N, joints_origin)
temp = 0;
for i=1:N
temp=temp+(Q(i) - joints_origin(i))^2;
end
result = temp / 2;
endfunction
|
922605a19e1bc7032ddbbd7963941a0021a414da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.13/example13.sce | bd7e0c6159f2448378705661124c3cb46afeb3d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,226 | sce | example13.sce | clc
clear
//input data
b2=10//Rotor blade air angle at exit in degree
Dt=0.6//The tip diameter in m
Dh=0.3//The hub diameter in m
N=960//The speed of the fan in rpm
P=1//Power required by the fan in kW
pi=0.245//The flow coefficient
P1=1.02//The inlet pressure in bar
T1=316//The inlet temperature in K
R=287//The universal gas constant in J/kg.K
Cp=1.005//The specific heat of air at constant pressure in kJ/kg.K
r=1.4//The ratio of specific heats of air
g=9.81//Acceleration due to gravity in m/s^2
//calculations
A=(3.141/4)*((Dt^2)-(Dh^2))//Area of the fan at inlet in m^2
Dm=(Dt+Dh)/2//The mean rotor diameter in m
U=(3.141*Dm*N)/60//The mean blade speed in m/s
Ca=pi*U//The axial velocity in m/s
Q=A*Ca//The flow rate of air in m^3/s
d=(P1*10^5)/(R*T1)//Density of air in kg/m^3
dPst=((d*(U^2)*(1-((pi*tand(b2))^2)))/2)*((10^5)/(g*(10^3)))*10^-5//Static pressure across the stage in m W.G
Wm=U*(U-(Ca*tand(b2)))//Work done per unit mass in J/kg
m=d*Q//Mass flow rate in kg/s
W=m*Wm//Work done in W
no=W/(P*10^3)//Overall efficiency
//output
printf('(a)THe flow rate is %3.3f m^3/s\n(b)Static pressure rise across the stage is %3.3f m W.G\n(c)The overall efficiency is %3.4f',Q,dPst,no)
|
a227631704ea86999950f85cc1831e96d9f3fe1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH11/EX11.14/Example_11_14.sci | d9972423fe3ad5cc8db011e2920ef3c5bd69f471 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 8,663 | sci | Example_11_14.sci | clear;
clc;
xdo = 0.98; //per cent of ortho top product
xwo = 0.125; //per cent of ortho bottom product
function[f]=product(x)
f(1) = 100 - x(1) - x(2); //x(1) is D and x(2) is W
f(2) = 60 - x(1)*xdo - x(2)*xwo;
funcprot(0);
endfunction
x = [0,0];
y = fsolve(x,product)
printf("\n D = %.2f kmol & W = %.2f kmol",y(1),y(2));
printf("\n Let us assume that the distillate contains 0.6 mole per cent meta and 1.4 mole per cent para");
printf("\n Component Feed Distillate Bottoms ");
printf("\n (kmol) (mole per cent) (kmol) (mole per cent) (kmol) (mole per cent) ");
printf("\n Ortho %.3f %.2f %.2f %.2f %.2f %.2f ",60,60,y(1)*0.98,98,y(2)*0.125,12.5);
printf("\n Meta %.3f %.2f %.2f %.2f %.2f %.2f ",4,4,y(1)*0.006,0.6,y(2)*0.083,8.3);
printf("\n Para %.3f %.2f %.2f %.2f %.2f %.2f ",36,36,y(1)*0.014,1.4,y(2)*0.792,79.2);
ao = 1.7; //relative volatility of ortho relative to para
am = 1.16; //relative volatility of meta relative to para
ap =1; //relative volatility of para w.r.t. to itself
xso = 0.125;
xsm = 0.083;
xsp = 0.792;
xwo = 0.125;
xwp = 0.083;
xwm = 0.792;
yso = ao*xso/(ao*xso+ap*xsp+am*xsm);
ysm = am*xsm/(ao*xso+ap*xsp+am*xsm);
ysp = ap*xsp/(ao*xso+ap*xsp+am*xsm);
//Equations of operating lines
//Above the feed point
Ln = 5*y(1); //Liquid downflow
Vn = 6*y(1); //Vapour up
//Assuming the feed is liquid at its boiling point
F = 100; //feed
Lm = Ln+F; //liquid downflow
Vm = Lm-y(2); //Vapour up
x1o = poly([0],'x1o');
x11 = roots(yso - (Lm/Vm)*x1o + (y(2)/Vm)*xwo);
x1p = poly([0],'x1p');
x12 = roots(ysp - (Lm/Vm)*x1p + (y(2)/Vm)*xwp);
x1m = poly([0],'x1m');
x13 = roots(ysm - (Lm/Vm)*x1m + (y(2)/Vm)*xwm);
x1 = [x11 x13 x12];
ax1 = [ao*x11 am*x13 ap*x12];
y1 = [ax1(1)/(ax1(1)+ax1(2)+ax1(3)) ax1(2)/(ax1(1)+ax1(2)+ax1(3)) ax1(3)/(ax1(1)+ax1(2)+ax1(3))];
x2o = poly([0],'x2o');
x21 = roots(y1(1) - (Lm/Vm)*x2o + (y(2)/Vm)*xwo);
x2p = poly([0],'x2p');
x22 = roots(y1(3) - (Lm/Vm)*x2p + (y(2)/Vm)*xwp);
x2m = poly([0],'x2m');
x23 = roots(y1(2) - (Lm/Vm)*x2m + (y(2)/Vm)*xwm);
x2 = [x21 x23 x22];
printf("\n plate compositions below the feed plate");
printf("\n Component xs axs ys x1 ax1 y1 x2");
printf("\n o %.3f %.3f %.3f %.3f %.3f %.3f %.3f",xso,ao*xso,yso,x1(1),ax1(1),y1(1),x2(1));
printf("\n m %.3f %.3f %.3f %.3f %.3f %.3f %.3f",xsm,am*xsm,ysm,x1(2),ax1(2),y1(2),x2(2));
printf("\n p %.3f %.3f %.3f %.3f %.3f %.3f %.3f",xsp,ap*xsp,ysp,x1(3),ax1(3),y1(3),x2(3));
printf("\n %.3f %.3f %.3f %.3f %.3f %.3f %.3f",xso+xsm+xsp,ao*xso+am*xsm+ap*xsp,yso+ysm+ysp,x1(1)+x1(2)+x1(3),ax1(1)+ax1(2)+ax1(3),y1(1)+y1(2)+y1(3),x2(1)+x2(2)+x2(3));
ax2 = [ao*x2(1) am*x2(2) ap*x2(3)];
y2 = [ax2(1)/(ax2(1)+ax2(2)+ax2(3)) ax2(2)/(ax2(1)+ax2(2)+ax2(3)) ax2(3)/(ax2(1)+ax2(2)+ax2(3))];
x3o = poly([0],'x3o');
x31 = roots(yso - (Lm/Vm)*x3o + (y(2)/Vm)*xwo);
x3p = poly([0],'x3p');
x32 = roots(ysp - (Lm/Vm)*x3p + (y(2)/Vm)*xwp);
x3m = poly([0],'x3m');
x33 = roots(ysm - (Lm/Vm)*x3m + (y(2)/Vm)*xwm);
x3 = [x31 x33 x32];
ax3 = [ao*x3(1) am*x3(2) ap*x3(3)];
y3 = [ax3(1)/(ax3(1)+ax3(2)+ax3(3)) ax3(2)/(ax3(1)+ax3(2)+ax3(3)) ax3(3)/(ax3(1)+ax3(2)+ax3(3))];
x4o = poly([0],'x4o');
x41 = roots(yso - (Lm/Vm)*x4o + (y(2)/Vm)*xwo);
x4p = poly([0],'x4p');
x42 = roots(ysp - (Lm/Vm)*x4p + (y(2)/Vm)*xwp);
x4m = poly([0],'x4m');
x43 = roots(ysm - (Lm/Vm)*x4m + (y(2)/Vm)*xwm);
x4 = [x41 x43 x42];
ax4 = [ao*x4(1) am*x4(2) ap*x4(3)];
y4 = [ax4(1)/(ax4(1)+ax4(2)+ax4(3)) ax4(2)/(ax4(1)+ax4(2)+ax4(3)) ax4(3)/(ax4(1)+ax4(2)+ax4(3))];
x5o = poly([0],'x5o');
x51 = roots(yso - (Lm/Vm)*x5o + (y(2)/Vm)*xwo);
x5p = poly([0],'x5p');
x52 = roots(ysp - (Lm/Vm)*x5p + (y(2)/Vm)*xwp);
x5m = poly([0],'x5m');
x53 = roots(ysm - (Lm/Vm)*x5m + (y(2)/Vm)*xwm);
x5 = [x51 x53 x52];
ax5 = [ao*x5(1) am*x5(2) ap*x5(3)];
y5 = [ax5(1)/(ax5(1)+ax5(2)+ax5(3)) ax5(2)/(ax5(1)+ax5(2)+ax5(3)) ax5(3)/(ax5(1)+ax5(2)+ax5(3))];
x6o = poly([0],'x6o');
x61 = roots(yso - (Lm/Vm)*x6o + (y(2)/Vm)*xwo);
x6p = poly([0],'x6p');
x62 = roots(ysp - (Lm/Vm)*x6p + (y(2)/Vm)*xwp);
x6m = poly([0],'x6m');
x63 = roots(ysm - (Lm/Vm)*x6m + (y(2)/Vm)*xwm);
x6 = [x61 x63 x62];
ax6 = [ao*x6(1) am*x6(2) ap*x6(3)];
y6 = [ax6(1)/(ax6(1)+ax6(2)+ax6(3)) ax6(2)/(ax6(1)+ax6(2)+ax6(3)) ax6(3)/(ax6(1)+ax6(2)+ax6(3))];
x7o = poly([0],'x7o');
x71 = roots(yso - (Lm/Vm)*x7o + (y(2)/Vm)*xwo);
x7p = poly([0],'x7p');
x72 = roots(ysp - (Lm/Vm)*x7p + (y(2)/Vm)*xwp);
x7m = poly([0],'x7m');
x73 = roots(ysm - (Lm/Vm)*x7m + (y(2)/Vm)*xwm);
x7 = [x71 x73 x72];
printf("\n Component ax2 y2 x3 ax3 y3 x4 ax4");
printf("\n o %.3f %.3f %.3f %.3f %.3f %.3f %.3f",ax2(1),y2(1),x3(1),ax3(1),y3(1),x4(1),ax4(1));
printf("\n m %.3f %.3f %.3f %.3f %.3f %.3f %.3f",xsm,am*xsm,ysm,x1(2),ax1(2),y1(2),x2(2));
printf("\n p %.3f %.3f %.3f %.3f %.3f %.3f %.3f",xsp,ap*xsp,ysp,x1(3),ax1(3),y1(3),x2(3));
printf("\n Component y4 x5 ax5 y5 x6 ax6 y6");
printf("\n o %.3f %.3f %.3f %.3f %.3f %.3f %.3f",y4(1),x5(1),ax5(1),y5(1),x6(1),ax6(1),y6(1));
printf("\n m %.3f %.3f %.3f %.3f %.3f %.3f %.3f",y4(2),x5(2),ax5(2),y5(2),x6(2),ax6(2),y6(2));
printf("\n p %.3f %.3f %.3f %.3f %.3f %.3f %.3f",y4(3),x5(3),ax5(3),y5(3),x6(3),ax6(3),y6(3));
ax7 = [ao*x7(1) am*x7(2) ap*x7(3)];
y7 = [ax7(1)/(ax7(1)+ax7(2)+ax7(3)) ax7(2)/(ax7(1)+ax7(2)+ax7(3)) ax7(3)/(ax7(1)+ax7(2)+ax7(3))];
x8o = poly([0],'x8o');
x81 = roots(yso - (Ln/Vn)*x8o + (y(2)/Vn)*xwo);
x8p = poly([0],'x8p');
x82 = roots(ysp - (Ln/Vn)*x8p + (y(2)/Vn)*xwp);
x8m = poly([0],'x8m');
x83 = roots(ysm - (Ln/Vn)*x8m + (y(2)/Vn)*xwm);
x8 = [x81 x83 x82];
ax8 = [ao*x8(1) am*x8(2) ap*x8(3)];
y8 = [ax8(1)/(ax8(1)+ax8(2)+ax8(3)) ax8(2)/(ax8(1)+ax8(2)+ax8(3)) ax8(3)/(ax8(1)+ax8(2)+ax8(3))];
x9o = poly([0],'x9o');
x91 = roots(yso - (Ln/Vn)*x9o + (y(2)/Vn)*xwo);
x9p = poly([0],'x9p');
x92 = roots(ysp - (Ln/Vn)*x9p + (y(2)/Vn)*xwp);
x9m = poly([0],'x9m');
x93 = roots(ysm - (Ln/Vn)*x9m + (y(2)/Vn)*xwm);
x9 = [x91 x93 x92];
printf("\n Component x7 ax7 y7 x8 ax8 y8 x9");
printf("\n o %.3f %.3f %.3f %.3f %.3f %.3f %.3f",x7(1),ax7(1),y7(1),x8(1),ax8(1),y8(1),x9(1));
printf("\n m %.3f %.3f %.3f %.3f %.3f %.3f %.3f",x7(2),ax7(2),y7(2),x8(2),ax8(2),y8(2),x9(2));
printf("\n p %.3f %.3f %.3f %.3f %.3f %.3f %.3f",x7(3),ax7(3),y7(3),x8(3),ax8(3),y8(3),x9(3));
printf("\n Component x7 ax7 y7 x8 ax8 y8 x9");
printf("\n o %.3f %.3f %.3f %.3f %.3f %.3f %.3f",y4(1),x5(1),ax5(1),y5(1),x6(1),ax6(1),y6(1));
printf("\n m %.3f %.3f %.3f %.3f %.3f %.3f %.3f",y4(2),x5(2),ax5(2),y5(2),x6(2),ax6(2),y6(2));
printf("\n p %.3f %.3f %.3f %.3f %.3f %.3f %.3f",y4(3),x5(3),ax5(3),y5(3),x6(3),ax6(3),y6(3));
|
2d08b56ea8a113f1af2f7f7ed0e81127d7c15e16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH1/EX1.1/Ex1_1.sce | e1e33ef9b7e8fbad00769d6b0981960de2991fb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Ex1_1.sce | //Velocity calculation
clc
//initialisation of variables
t=20//ft
t1=30//ft
v=1320//ft/s
p=25//sec
q=15//ft/s
v1=v/t//ft/s
v2=v/t1//ft/s
T=(v2-v1)/p//ft/s^2
V=v2-q*-T//ft/s
V1=-V^2/(2*T)//ft/s
//RESULTS
printf('the velocity time is=% f ft/s',V1)
|
90edd324062357f2f6f51e5c41cb590e17d64cdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH23/EX23.1/Ex23_1.sce | 578441849fef32331fbbb2e59f445f46d121bbd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Ex23_1.sce | //Example 23.1
N=1;//Number of loops
r=6*10^-2;//Radius of coil (m)
A=%pi*r^2;//Area of loop (m^2)
delta_BcosTheta=0.250-0.05;//Change in value of magnetic field strength perpendicular to area (T)
delta_phi=A*delta_BcosTheta;//Change in magnetic flux (T.m^2)
delta_t=0.1;//Time (s)
Emf=N*delta_phi/delta_t;//Induced emf (V)
printf('Induced emf = %0.1f mV',Emf*1000)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
fcdcf1e9e2c110195ea20945387ce84bb86b863d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH4/EX17.1/17_1.sce | 9447d22fcdd25a34cc812f6977aebad58361baff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 17_1.sce | clc
//initialisation of variables
l=1000//mm
L=l/2//mm
y=2.6//g/cu
y1=7.85//g/cu
a=375//mm
//CALCULATIONS
D=y1/y//mm
C=L/2+a//mm
//RESULTS
printf('the centre of gravity of the shaft=% f mm',C)
|
47b41dab60a81a2b003ca60668be3834b8226efc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH31/EX30.7/EX30_7.sce | d9d8ee03128b0b176291b008597632f0aa28efc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | EX30_7.sce | // Grob's Basic Electronics 11e
// Chapter No. 30
// Example No. 30_7
clc; clear;
// Calculate Av, Vo & Zo.
// Given Data
Rs = 240; // Source Resistor=240 Ohms
Rl = 1.8*10^3; // Load Resistor=1.8 kOhms
Vgsoff = -8; // Voltage Gate-Source(off)=-8 Volts
Vgs = -2; // Voltage Gate-Source=-2 Volts
Idss = 15*10^-3 // Idss=15 mAmps.
Vin = 1; // Input Voltage=1 Volts(p-p)
rl = ((Rs*Rl)/(Rs+Rl));
gmo = 2*Idss/-Vgsoff;
gm = gmo*(1-(Vgs/Vgsoff));
Av = gm*rl/(1+gm*rl);
disp (Av,'The Voltage Gain Av is')
Vo = Av*Vin;
disp (Vo,'The Output Voltage Vo in Volts(p-p)')
A = (1/gm);
Zo = ((Rs*A)/(Rs+A));
disp (Zo,'The Output Impedence Zo in Ohms')
disp ('Appox 143.5 Ohms')
|
ed9c1a80cf101bdc9f31926948321ec2829df586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH9/EX9.11/CH09Exa11.sce | 7c045eee22cd326edfb81f890156aa98abbe5261 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,836 | sce | CH09Exa11.sce | // Scilab code Exa9.11 : : Page-394 (2011)
clc; clear;
R_0 = 1.2e-015; // Distance of closest approach, metre
// Mass number of the nuclei are allocated below :
N = rand(4,1)
N(1,1) = 17; // for oxygen
N(2,1) = 33; // for sulphur
N(3,1) = 63; // for copper
N(4,1) = 209; // for bismuth
for i = 1:4
if N(i,1) == 17 then
printf("\n For Oxygen : ")
I = 5/2; // Total angular momentum
l = 2; // Orbital angular momentum
mu = -1.91; // for odd neutron and I = l+1/2
Q = -3/5*(2*I-1)/(2*I+2)*(R_0*N(i,1)^(1/3))^2*10^28; // Quadrupole moment of oxygen, barn
printf("\n The value of magnetic moment is : %4.2f \n The value of quadrupole moment is : %6.4f barn", mu, Q);
elseif N(i,1) == 33 then
printf("\n\n For Sulphur : ")
I = 3/2; // Total angular momentum
l = 2; // Orbital angular momentum
mu = 1.91*I/(I+1); // for odd neutron and I = l-1/2
Q = -3/5*(2*I-1)/(2*I+2)*(R_0*N(i,1)^(1/3))^2*10^28; // Quadrupole moment of sulphur, barn
printf("\n The value of magnetic moment is : %5.3f \n The value of quadrupole moment is : %6.4f barn", mu, Q);
elseif N(i,1) == 63 then
printf("\n\n For Copper : ")
I = 3/2; // Total angular momentum
l = 1; // Orbital angular momentum
mu = I+2.29; // for odd protons and I = l+1/2
Q = -3/5*(2*I-1)/(2*I+2)*(R_0*N(i,1)^(1/3))^2*10^28; // Quadrupole momentum of copper, barn
printf("\n The value of magnetic moment is : %4.2f \n The value of quadrupole moment is : %6.4f barn", mu, Q);
elseif N(i,1) == 209 then
printf("\n\n For Bismuth : ")
I = 9/2; // Total angular momentum
l = 5; // Orbital angular momentum
mu = I-2.29*I/(I+1); // for odd protons and I = l-1/2
Q = -3/5*(2*I-1)/(2*I+2)*(R_0*N(i,1)^(1/3))^2*10^28; // Quadrupole momentum of bismuth, barn
printf("\n The value of magnetic moment is : %4.2f \n The value of quadrupole moment is : %5.3f barn", mu, Q);
end
end
// Result
// For Oxygen :
// The value of magnetic moment is : -1.91
// The value of quadrupole moment is : -0.0326 barn
// For Sulphur :
// The value of magnetic moment is : 1.146
// The value of quadrupole moment is : -0.0356 barn
// For Copper :
// The value of magnetic moment is : 3.79
// The value of quadrupole moment is : -0.0547 barn
// For Bismuth :
// The value of magnetic moment is : 2.63
// The value of quadrupole moment is : -0.221 barn
|
42bac35560c7ab7efd0c864c77a29da37f3122fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH3/EX3.14/Chap3_Ex14_R1.sce | 4024868e365118f5bb455bff8c6e110ea612a73b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,570 | sce | Chap3_Ex14_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-3,Example 14,Page 75
//Title:Volume using generalized form of the Redlich-Kwong equation of state
//================================================================================================================
clear
clc
//INPUT
T=427.85;//temperature of n-octane vapour in K
P=0.215;//pressure of n-ocatne vapour in MPa
Tc=569.4;//critical temperature of n-octane in K
Pc=2.497;//critical pressure of n-octane in MPa
R=8.314;//universal gas constant in (Pa m^3)/(mol K)
//CALCULATION
Tr=T/Tc;//calculation of reduced temperature (no unit)
Pr=P/Pc;//calculation of reduced pressure (no unit)
z_init=1;//taking a guess value of z (compressibilty factor) to get a value of h for solving the system
h=(0.08664*Pr)/(z_init*Tr);//calculation of h using Eq.(3.68)
tolerance=1e-6;//Framing the tolerance limit for the convergence of the equation
function[fn]=solver_func(zi)
fn=zi-((1/(1-h))-((h/(1+h))*(4.93398/(Tr^(3/2)))));//Function defined for solving the system using Eq.(3.67)
endfunction
[z]=fsolve(h,solver_func,tolerance)//using inbuilt function fsolve for solving the system of equations
V=(z*R*T)/(P*10^6);//calculation of volume in m^3/mol using Eq.(3.59)
//OUTPUT
mprintf('\n The volume occupied by n-octane vapour obtained by the generalized form of Redlich-Kwong equation of state= %f m^3/mol\n',V);
//===============================================END OF PROGRAM===================================================
|
852c22b7b13f7ea9efb8484a689a756cc43e6e42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.18.a/data4_18.sci | 55ce19a9543b062586793323e1aac6926b38d9ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sci | data4_18.sci |
//(Design against Static Load) Example 4.18
//Refer Fig.4.57 on page 126
//Tensile yield strength of FeE250 Syt (N/mm2)
Syt = 250
//Factor of safety fs
fs = 5
//Diameter of bars to be sheared D (mm)
D = 6.25
//Ultimate shear strength of the material Sus (N/mm2)
Sus = 350
//Permissible bearing pressure on the pins p (N/mm2)
p = 10
//Pin length to diameter ratio r1
r1 = 1.25
//Link cross-section width to thickness ratio r2
r2 = 2
//Distance between pinA and pinB l1 (mm)
l4 = 400
//Distance between bar to be sheared and pinA & force application point and pinC l2 (mm)
l2 = 100
//Distance between the force applied and pinD l3 (mm)
l3 = 1000
//Thickness of gunmetal bush over pin C t (mm)
t = 2.5
|
3296f007f32b5f742999f9a8403fe50646872f1e | 226851ab7bb8a3e1137e72fd154d4aa6939229f1 | /60002190048_SS SCILAB_2B(CORRELATION).sce | 0f65d1b1b8a6924d880a272e0fb20b23e9e04449 | [] | no_license | Ishitaa48/SS-Practicals-EXTC-1-E13-60002190048 | 637a855701ef0a07675e519cf002fa4742a571e7 | 183baae9ad66d093ba13d41a01f1d61751ef8036 | refs/heads/main | 2023-01-18T22:39:05.696201 | 2020-11-25T11:52:15 | 2020-11-25T11:52:15 | 315,921,545 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 60002190048_SS SCILAB_2B(CORRELATION).sce | clc;
clear all;
close;
x1=[1,3,7,-2,5];
x2=[2,-1,0,3];
z=xcorr(x1,x2);
disp(z,"This is the required correlation");
l=length(z);
t=0:l-1;
plot2d3(t,z);
xlabel("n");
ylabel("Amplitude");
title("Correlation: y(n)=x1(n)*x2(-n)");
figure;
|
9bfc6f772563d05c735d2aed943804670d141375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH16/EX16.13/16_13.sce | ff1341d6022f54475bc658c50904854361f2b7fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | 16_13.sce | clc
//initialisation of variables
W= -10 //KN/m
r= 5 //m
//CALCULATIONS
Rav= -W*2*r/2
Rbv= Rav
function[y]=conv(x)
y=125*(sin(x))^2*5*(sin(x))*5
endfunction
v=intg(0,%pi,conv)
function[y]=conk(x)
y=25*(sin(x))^2*5
endfunction
k=intg(0,%pi,conk)
Rbh= v/k
Rah= Rbh
//RESULTS
printf ('Rav= %.2f KN',Rav)
printf (' \n Rbv=%.2f KN',Rbv)
printf (' \n Rah=%.2f KN',Rah)
printf (' \n Rbh=%.2f KN',Rbh)
|
6ec8fec8bd1e5e804717a4add770e899fee7e0f3 | 481f3317298608c37d4cb96f148faf5068d712bb | /lib/scilab/generateTFProc.sci | 9f6500677fab6b5454752aae3460e51d5e4d8d09 | [] | no_license | masilvabustos/xcos2uc | 1f83c0710da6506cec8c8aad5a97848903f6ad32 | 531c35a53b7efc11e69e98c643ebad3df3d362f5 | refs/heads/master | 2020-04-05T22:41:50.570623 | 2016-11-13T18:18:22 | 2016-11-13T18:18:22 | 22,852,879 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,310 | sci | generateTFProc.sci |
function status = generateTFProc(name, forward_coefficients, feedback_coefficients, parameters)
fd = parameters.fd
mfprintf(fd, '#include <string.h>\n')
mfprintf(fd, 'static __inline__ _NUMBER_TYPE %s(_NUMBER_TYPE e1)\n{\n', name)
mfprintf(fd, '%sstatic _NUMBER_TYPE x[] = {', parameters.indent)
for i = 1:length(feedback_coefficients)-1
mfprintf(fd, '0.0, ')
end
mfprintf(fd, '0.0};\n')
mfprintf(fd, '%s_NUMBER_TYPE x0 = %f *e1;\n', ...
parameters.indent, feedback_coefficients(1))
mfprintf(fd, '%s_NUMBER_TYPE e2;\n', ...
parameters.indent)
for i = 2:length(feedback_coefficients)
mfprintf(fd, '%sx0 += %f * x[%d];\n', ...
parameters.indent, feedback_coefficients(i), i-1)
end
mfprintf(fd, '%se2 = %f * x0;\n', ...
parameters.indent, forward_coefficients(1))
for i = 2:length(forward_coefficients)
mfprintf(fd, '%se2 += %f * x[%d];\n', ...
parameters.indent, forward_coefficients(i), i-1)
end
mfprintf(fd, '\n%sx[0]=x0; memmove(&x[1], &x[0], sizeof(x)-sizeof(x[0]));\n', ...
parameters.indent)
mfprintf(fd, '\n%sreturn e2;\n}\n', parameters.indent)
status = %t
endfunction
|
5cc8ac51e55fbc0e1c7949913792e5668641723b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH5/EX5.34/ex5_34.sce | 3ef6bd9b1a128fc89093b1ab27aa0a6bb8a18225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | ex5_34.sce | //Page Number: 5.41
//Example 5.34
clc;
//Given,
fs=8000; //Hz
m=24;
n=8;
//(a) Duration of each bit
t1=1/fs;
t2=(m*n)+1; // Extra bit for synchronization
Tb=t1/t2;
disp('seconds',Tb,'Duration of each bit');
//(b) Transmission Rate
Rb=1/Tb;
disp('b/s',Rb,'Transmission Rate');
//(c)Minimum transmission bandwidth
fT1=1/(2*Tb);
disp('Hz',fT1,'Minimum transmission bandwidth');
|
7c9634982478adc895c44f665f37c8ac132de9f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.25/example4_25.sce | 736e508174ebc6f533a64ff00d582e294b386abe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | example4_25.sce |
//example 4.25
//calculate average depth of hourly rainfall excess
clc;funcprot(0);
//given
r=[2.0 2.5 7.6 3.8 10.6 5.0 7.0 10.0 6.4 3.8 1.4 1.4]; //rainfall depths
A1=20;
A2=40;
A3=60;
A=A1+A2+A3;
fi1=7.6;
fi2=3.8;
fi3=1.0;
for i=1:12
R1(i)=r(i)-fi1; //rainfall excess
R2(i)=r(i)-fi2;
R3(i)=r(i)-fi3;
if (R1(i)<0) then
R1(i)=0;
end
if (R2(i)<0) then
R2(i)=0;
end
if (R3(i)<0) then
R3(i)=0;
end
end
mprintf("average depth of hourly rainfall excess(cm/hr)");
for i=1:12
a1(i)=R1(i)*A1/A; //average rainfall excess
a2(i)=R2(i)*A2/A;
a3(i)=R3(i)*A3/A;
T(i)=a1(i)+a2(i)+a3(i); //total hourly rainfall excess
T(i)=round(T(i)*100)/100;
mprintf("\n%f",T(i));
end
|
2682eddabb6302af13ddcc272bd6f2c9cd09d296 | c565d26060d56f516d954d4b378b8699c31a71ef | /Ramp-test_manual/first1_ramp.sce | dc258817040eb49fc0da64dd2ccedead9f299b7b | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 417 | sce | first1_ramp.sce | clear data7; exec('data02.dat'); getf('label.sci');
T = data7(:,1); fan = data7(:,3); //T is time, fan is fan speed
u = data7(:,2); y = data7(:,4)-data7(1,4); // u is current, y is temperature
ord = [u y]; x = [T T]; // u and y are plotted vs. time and time
xbasc(); plot2d(x,ord); xgrid();
title = 'Ramp change in current and the resulting temperature'
label(title,4,'time (s)','Current, Temperature (C)',4);
|
5ea7413b95a4d09bf2dd5acda304b66f69c9699e | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.11.1/ques11_1.sce | 31ba7e9b0295e66bce2352f2825115bcbe3ab192 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | ques11_1.sce | //ques11
disp('To find the inverse laplace transform of the function');
syms s t
f=(s^2-3*s+4)/s^3;
il=ilaplace(f,s,t);
disp(il);
|
e7fa1874c99afe0dfe9c213b54ca5c49190398a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH2/EX2.8/Ex2_8.sce | 2d3b982e32adba9d251cc2e11675ffd11fe0412d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,009 | sce | Ex2_8.sce | // chapter 2
// example 2.8
// Fig. E2.8
// Calculate the resistance, gate power dissipation and maximum triggering frequency
// page-32-33
clear;
clc;
// given
Ig_min=500; // in mA (minimum gate current)
gradient=16; // in V/A
Egs=15; // in V (gate source voltage)
T_on=4; // in us (minimum turn on time)
Pg_av=0.3; // in W (average gate power dissipation)
// calculate
Ig_min=Ig_min*1E-3; // changing unit from mA to A
Vg=gradient*Ig_min; // calculation of gate voltage
Rs=(Egs-Vg)/Ig_min; // calculation of resistance
printf("\nThe resistance to be connected in series with SCR gate is \tRs= %.f ohm",Rs);
Pg=Vg*Ig_min; // calculation of power dissipation
printf("\n\nThe gate power dissipation is \t\t\t\t\tPg= %.f W",Pg);
// Since Pg=Pg_av/(f*T_on), therefore
T_on=T_on*1E-6; // changing unit from us to sec
f=Pg_av/(Pg*T_on); // calculation of maximum triggering frequency
f=f*1E-3; // changing unit from Hz to khz
printf("\n\nThe maximum triggering frequency is \tf= %.2f kHz \t or \tF= %.f kHz",f,f); |
a92d06171253d16a3cc7afde345ecd3c44f2082b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/util/%r_clean.sci | 0e744af5790d65ef3e9809c0adf9a7dafa220bc5 | [
"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 | 523 | sci | %r_clean.sci | function a=%r_clean(a,epsa,epsr)
//Syntax: a=%r_ clean(a,epsa,epsr)
// Given a, matrix of rationals , this function
// eliminates all the coefficients of a with absolute value < epsa
// and realtive value < epsr (relative means realive wrt norm 1 of
// the coefficients)
// Default values : epsa=1.d-10; epsr=1.d-10;
//!
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs == 1 then
epsa=1.d-10;
epsr=1.d-10;
elseif rhs==2 then
epsr=1.d-10;
end
tdom=a(4)
a=simp(clean(a(2),epsa,epsr)./clean(a(3),epsa,epsr));a(4)=tdom
|
21823dee5f67d2046ac641911a6a927bf2af7096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH11/EX11.2/2.sce | a1be2da55045560c03ab2a9878e41af7362eb2f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | 2.sce | clc
p1=75.882; //cm of Hg
T1=286; //K
V1=0.08; //m^3
p2=76; //cm of Hg
T2=288; //K
V2=p1*V1*T2/p2/T1;
m=28; //kg
c=4.18;
t2=23.5; //0C
t1=10; //0C
Q_received=m*c*(t2-t1);
HCV=Q_received/V2;
disp("Higher calorific value =")
disp(HCV)
disp("kJ/m^3")
amt=0.06/0.08; //Amount of vapour formed per m^3 of gas burnt
LCV=HCV-2465*amt;
disp("Lower calorific value =")
disp(LCV)
disp("kJ/kg") |
ba25a3670ae9dec5041f46ef318856550ad89902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH6/EX6.9/Chapter6_Example9.sce | 7b6c55d3a8b0d763a40e3c9d3cc8a8ef67d2e065 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 865 | sce | Chapter6_Example9.sce | //Chapter-6, Example 6.9, Page 258
//=============================================================================
clc
clear
//INPUT DATA
L=100;//Length of rectangular duct in m
A=[0.02,0.025];//Area of duct in m^2
Tw=40;//Temperature of water in degree C
v=0.5;//Velocity of flow in m/s
k=(0.66*10^-6);//kinematic viscosity in m^2/s
p=995;//Density of water in kg/m^3
//CALCULATIONS
P=2*(A(1)+A(2));//Perimeter of the duct in m
Dh=(4*(A(1)*A(2)))/P//Hydraulic diameter of the duct in m
Re=(v*Dh)/k;//Reynolds number
f=0.316*Re^(-0.25);//Friction factor
hL=(f*L*v^2)/(2*Dh*9.81);//Head loss in m
P=(hL*9.81*p)/10^4;//Pressure drop in smooth rectangular duct in 10^4 N/m^2
//OUTPUT
mprintf('Pressure drop in smooth rectangular duct is %3.4f*10^4 N/m^2',P)
//=================================END OF PROGRAM==============================
|
e7334d9f4ba26aa5b95fc273ab06879ab721c73f | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH15/EX15.6/15_6.sce | 98d12f822709e2e91a214aff92e36b42086ddc5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | 15_6.sce | clear; clc; close;
Rl = 1000;
R = 120;
Vdc = 60;
Vdc_dash = (Rl/(R+Rl))*Vdc;
disp(Vdc_dash,'Dc voltage across 1k-ohm load = ');
|
f95924e6ec3b6fddf6c31c9b8668dcdb065a960d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH9/EX9.6/Ex9_6.sce | 057586484d0dbba2b66712000de495d9fff7f237 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,073 | sce | Ex9_6.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 9 Frequency Response of Amplifier Pg no. 307 and 308
clear;
clc;
//Given
VCC=15;//collector supply voltage in volts
RC=2.2D3;//collector resistance in ohms
RE=470;//emitter resistance in ohms
R1=33D3;//divider network resistance R1 in ohms
R2=10D3;//divider network resistance R2 in ohms
VBE=0.7;//forward voltage drop of emitter diode in volts
B=150;//DC CE current gain beta
Rs=600;//source internal impedance in ohms
RL=4.7D3;//load resistance in ohms
C1=0.1D-6;//input coupling capacitance in farads
C2=50D-6;//emitter bypass capacitance in farads
C3=0.1D-6;//output coupling capacitance in farads
re=4;//a.c. emitter resistance in ohms
//Solution
Rth=1/(1/R1+1/R2+1/Rs);//thevenin resistance at base in ohms
Rin_emitter=re+Rth/B;//resistance looking into the emitter in ohms
R=1/(1/Rin_emitter+1/RE);//resistance of the equivalent RC network in ohms
fc=1/(2*%pi*R*C2);//critical frequency of the bypass network in hertz
printf("critical frequency of the bypass network fc = %d Hz",fc);
|
ef1ec95e9667dda2180498d710bdad89cd256719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH9/EX9.1/example1.sce | 245a6d809399032c925c22cbcb4c915442402c85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 972 | sce | example1.sce | s=%s;//given Kv=1000sec^-1
Kv =1000;
g =Kv/( s*(0.1*s +1)* (1+.001*s))
G= syslin ('c',g)
fmin =0.01;
fmax =100;
bode (G,fmin , fmax )
show_margins (G)
xtitle (" uncompensated system")
[gm , freqGM ]= g_margin (G)
[pm , freqPM ]= p_margin (G)
disp (gm ," g a i n ma r g i n=")
disp (( freqGM *2* %pi)," =gain margin frequency");
disp (pm ," phas e margin=")
disp (( freqPM *2* %pi)," phase margin frequency=");
printf (" sine the phase margin is less than the desired pahse margin so we need pahse lead compensator ")
gc =(1+0.016* s) /(1+0.00214* s)
Gc= syslin ('c',gc)
disp (Gc ," transfer function of lead compensator=");
G1=G*Gc
disp (G1 ," overall transfer function=");
fmin =0.01;
fmax =100;
bode (G1 ,fmin , fmax );
show_margins (G1)
xtitle (" compensated system")
[gm , freqGM ]= g_margin (G1);
[pm , freqPM ]= p_margin (G1);
disp (pm ," phase margin of compensated system=")
disp (( freqPM *2* %pi)," gain crossover frequency=")
|
8839cdebbd2d643506dc5a3f9a16631ce0a18a3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH5/EX5.10/5_10.sce | d494706638efebe25494ac91ecca62b11467054a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | 5_10.sce | //pathname=get_absolute_file_path('5.10.sce')
//filename=pathname+filesep()+'5.10-data.sci'
//exec(filename)
//Initial pressure(in kPa):
p1=3000
//Initial volume(in m^3):
v1=0.05
//Final volume(in m^3):
v2=0.3
//Value of n:
n=1.4
//Final pressure(in MPa):
p2=p1*((v1/v2)^n)
//Entropy change:
dS=0
//Change in enthalpy(in kJ):
dH=((p1*(v1^n))^(1/n))*(p1^((n-1)/n)-p2^((n-1)/n))/((n-1)/n)
printf("\nRESULT\n")
printf("\nEnthalpy change = %f kJ",dH)
printf("\nEntropy change = %d",dS) |
4c12cb1606181aa42a95b24014a70ebc056be510 | 725517259e3eea555ad0f79d421792c632bc4655 | /workspace/MissionC2.sce | 545e65b533e01c44d826d745eef05686c47305ca | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | MissionC2.sce | //Load scripts from folder
funcprot(0)
getd("../scripts");
//Global variables
imgPos = "../images/"; //The position of the source images
renderPos = "render/"; //The folder where the render images will be saved
//Load image
imgin = readpbm(imgPos+"Formes.pbm");
imgout = median(imgin,0)
//Show the coordinates of the brightest color of the image loaded
writepbm(imgout,renderPos+"MissionC2.pbm");
|
858f555c2313658e98c4dffeda05d9a8ba6c0666 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/consulta_por_quiere_mascota.tst | 65667eae28214fa5015135193e69d25087ffcf83 | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 235 | tst | consulta_por_quiere_mascota.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_quiere_mascota(pqmascotas => :pqmascotas,
p_recordset => :p_recordset);
end;
2
pqmascotas
1
1
5
p_recordset
1
<Cursor>
116
0
|
9753ac92d943e08354e1c5c1a4075edd21ad752e | 87749481136b7b72a47930f587f27667e0c0f97d | /FIR filter design/lab4_task2.sci | 5b0777a710bfa67bf38fa530cc5f707690891564 | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,700 | sci | lab4_task2.sci | clc;
clear all;
close;
//-----------------------------------------------------------------------------
b = chdir('C:\Users\work\OneDrive\Documents\SciLab\lab_v4')
//read data
[irc_my, Fs_irc, h_bits] = wavread("C:\Users\work\OneDrive\Documents\SciLab\lab_v4\1a_marble_hall.wav")
[signal, Fs_s, s_bits] = wavread("C:\Users\work\OneDrive\Documents\SciLab\lab_v4\7cef8230.wav")
irc_my = irc_my(1,:)
signal = signal(1,:)
// as it presented in doc with some mofification finding inverse filter steps:
filter_my_irc = conj(fft(irc_my))./abs(fft(irc_my))^2
// inverse filter
len = length(filter_my_irc)
filter_not_shifted = real(filter_my_irc)
frequencies = (0:len-1)/len * Fs_irc;
filter_my_irc = ifft(filter_my_irc)
len = length(filter_my_irc)
filter_not_shifted = real(filter_my_irc)
frequencies = (0:len-1)/len * Fs_irc;
//plot filter
figure(0)
plot(filter_my_irc)
xlabel("Time", 'fontsize', 2)
ylabel("Amplitude", 'fontsize', 2)
title("IRC inverse filter")
//shifting impulse response
filter_shifted = cshift(filter_not_shifted, [0 (len - modulo(len, 2)) / 2])
reslut_filter = filter_shifted .* window('kr', length(filter_shifted), 8)
figure(1)
plot(reslut_filter)
xlabel("Time", 'fontsize', 2)
ylabel("Amplitude", 'fontsize', 2)
title("IRC inverse filter Impulse response")
// applying filter
figure(2)
signal_with_effect = convol(irc_my, signal)
filtered = convol(signal_with_effect, reslut_filter)
subplot(2, 1, 1)
plot(signal_with_effect)
xlabel("Time")
ylabel("Amplitude")
title("Before filtering")
subplot(2, 1, 2)
plot(filtered)
xlabel("Time")
ylabel("Amplitude")
title("After filtering")
savewave("C:\Users\work\OneDrive\Documents\SciLab\lab_v4\without_effect_with_irc", filtered, Fs_s)
|
adc8e0b8d6e0e6ed2e44ab80aa8b8dd91674aa7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH9/EX9.8/Ex9_8.sce | 3567f74b60f991a360724bd80fe2588f045cf1fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | Ex9_8.sce | //chapter9
//example9.8
//page148
V=15 // V
R=0.5 // kilo ohm
V_D=0.7 // V
// both diodes are forward biased
I1=(V-V_D)/R
I_D1=I1/2
I_D2=I_D1
printf("current through diode D1 = %.3f mA and diode D2 = %.3f mA \n",I_D1,I_D2)
|
813f2da825029eaa309d9700c29d74bc0d7ec6d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH9/EX9.5/Example_9_5.sce | 155063c99a9081a690629c4dcc6cc250797b152c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | Example_9_5.sce | //clear//
clear;
clc;
//Example 9.5
//Given
Dt = 6; //[ft]
H = 8; //[ft]
T = 70; //[F]
sp_gr = 3.18;
w_fr = 0.25;
Da = 2; //[ft]
h = 1.5; //[ft]
gc = 32.17; //[ft-lb/lbf-s^2]
// (a)
//Using data of Buurman et al. in Fig.(9.19)
//change in nc
delta_nc = (104/200)^0.2*(2.18/1.59)^0.45*(33.3/11.1)^0.13;
//change in P
dalta_P = delta_nc^3;
//Using Fig. 9.19
V = %pi/4*Dt^2*H*7.48 ; //[gal]
P = 3.3*V/1000 //[hp]
//(b)
//From Table 9.3, for a cour blade turbine,
KT = 1.27;
Np = KT;
//slurry density
rho_m = 1/((w_fr/sp_gr)+(1-w_fr))*62; // [lb/ft^3]
nc = (P*gc*550/(Np*rho_m*Da^5))^(1/3) // [r/s]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.