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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
493db8c66afcde1e9b4133f91e59a6e88ff679f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH19/EX19.8/19_08.sce | 0e99c2b267a0080cc22473e21bfe5ef47d4fc422 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | 19_08.sce | //Chapter 19, Problem 8, Fig.19.12
clc;
R1=10e3; //resistance 1
R2=20e3; //resistance 2
R3=30e3; //resistance 3
V1=0.5; //input voltage 1
V2=0.8; //input voltage 2
V3=1.2; //input voltage 3
Rf=50e3; //feedback resistance
V0=-Rf*((V1/R1)+(V2/R2)+(V3/R3)); //output voltage
printf("Output voltage = %f V",V0);
|
08673e93e876eafb38eb66871388f54eea0a8c92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH13/EX13.1/13_1.sce | e7e8a0f1f25eab2602d98d87a6751ba884b23bdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | 13_1.sce | //Example 13.1
//Differentiation
//Page no. 420
clc;close;clear;
deff('y=f(x)','y=x^2+5')
deff('y=f1(x,h)','y=(f(x+h)-f(x))/h')
h=0.01;x=2.4
d=f1(x,h)
d1=(f1(x+h,h)-f1(x))/h
printf('dy\n -- = %g\n dx',d)
printf('\n\n\n d2y\n --- = %g\n dx2',d1) |
a86a84667ec06fbb2ff722cd03460ad730e5946f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH10/EX10.9/Ex10_9.sce | 1a9db1250acf3aa8b00580f3a70a2d53129e6aea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,492 | sce | Ex10_9.sce | // Example 10.9
clear all;
clc;
// Given data
// Assuming average energy produced per fission reaction is 200 MeV
P = 55; // Power density of reactor in watts/cm^3
rho_eff_U = 0.33; // Effective density of uranium in g/cm^3
rho_eff_W = 1-rho_eff_U; // Effective density of water in g/cm^3
t_i = 3; // Average time spent by water in the reactor in seconds
t_0 = 2; // Average time spent by water in the external coolant circuit in seconds
// 1 eV = 1.6*10^(-19) J
P_fission = 200*10^6*1.6*10^(-19); // Energy produced in a fission reaction in terms of joule
fission_density = P/P_fission; // Number of fission reactions
v = 2.42; // Number of fission neutrons emitted per fission
S = v*fission_density; // Strength of neutron source in terms of neutrons/cm^2-sec
// Atom density of oxygen at normal density of 1 g/cm^3 is
rho = 1; // Density of water in g/cm^3
N_A = 6.02*10^(23); // Avogadro's constant
M = 18; // Molecular weight of water
atom_density = (rho*N_A)/M;
// Using the data from Table 10.7
sigma_r = 1.9*10^(-5)*10^(-24); // Reaction cross section in cm^2
T_12 = 7.1; // Half life of the given reaction in seconds
lambda = 0.693/T_12; // Decay constant of the given reaction in seconds^(-1)
sigma_act = rho_eff_W*atom_density*sigma_r; // Average macroscopic activation cross section
// Using the data from Table 10.4
sigma_RW = 0.103; // Removal cross section of water in cm^-1
sigma_RU = 0.174; // Removal cross section of Uranium in cm^-1
sigma_R = (sigma_RU*rho_eff_U)+(sigma_RW*rho_eff_W); // Removal cross section of mixture
// Let activation rate given by (sigma_act*phi_av) be denoted as AR
AR = (sigma_act*S)/sigma_R;
// Calculation
alpha = AR*(1-exp(-t_i*lambda))/(1-exp(-(t_i+t_0)*lambda));
// 1 curie = 3.7*10^(10) disintegrations/sec
// Result
printf("\n Equilibrium activity of water due to neutron capture of oxygen = %.2E disintegrations/cm^3-sec or %d uCi/cm^3 \n",alpha,ceil(alpha*10^6/(3.7*10^10)));
|
1bd21d63136f620922272abfd16311b9e4a499ff | cb85e23a93890cfe63382a9e043a178c7058cd4d | /simulator_properties.sce | 4ad3c6dc98ba56a1a003f95b79040c73f375208a | [] | no_license | FINESCE/INP-SCILAB | ae06d33a4e159c6bc154700f5c7b88759caf6004 | 0006a42b67e269d7ce28729dba870306d564bcf5 | refs/heads/master | 2016-08-06T21:46:16.111774 | 2015-07-15T10:39:06 | 2015-07-15T10:39:06 | 37,849,688 | 1 | 1 | null | 2015-07-15T10:39:07 | 2015-06-22T10:35:26 | Scilab | UTF-8 | Scilab | false | false | 267 | sce | simulator_properties.sce | function [simulator_filepath, input_filepath,output_filepath]=simulator_properties()
simulator_filepath='/Users/mcfly/Desktop/INP-SCILAB/'
input_filepath='/Users/mcfly/Desktop/INP-SCILAB/input/'
output_filepath='/Users/mcfly/Desktop/INP-SCILAB/output/'
endfunction
|
27c7edb42207adf30e59407017909d83c08b46fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.11.a/data8_11.sci | b0cf19ff19c0b0f36d67888918ec8b8db04530b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sci | data8_11.sci |
//(Welded and Riveted Joints) Example 8.11
//Refer Fig.8.28 on page 289
//Eccentric force acting on the welded connection P (kN)
P = 25
//Permissible shear stress for the weld tau (N/mm2)
tau = 55
//Length of the transverse welds w (mm)
w = 150
//Length of the parallel weld l (mm)
l = 100
|
b52dc7c0d447835d1523a0c41600a20296ecf9c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH27/EX27.2/ex_27_2.sce | 39194f88c623487dd8649384fc11f71dd09cc435 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | ex_27_2.sce | //find
clc
//solution
//given
N=720//rpm
Lh=24000//hours
W=1//N
L99=60*N*Lh//rev
//x=L99/L90
x=0.85*0.9*[log(1/0.99)/log(1/0.90)]^(1/1.17)
L90=L99/x//rev
C=W*(L90/10^6)^(1/3)
printf("dynamic load rating is,%f kN",C) |
fbb84dab92d3bd72f1a4e9fe228f3c3da485519b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH15/EX15.12/example15_12.sce | 783568c125da68cedd8ee307c4bf563a8e7f9fb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | example15_12.sce | clc
// Given that
t = 10^-8 // life time of atom in exited state in sec
h = 6.62e-34 // Planck constant in J-sec
// Sample Problem 12 on page no. 15.28
printf("\n # PROBLEM 12 # \n")
printf("Standard formula used \n")
printf(" del_E*del_t = h/(4*pi) \n")
delta_f = 1 / (4 * %pi * t)
printf("\n Minimum uncertainty in frequency is %e Hz.",delta_f)
|
98e9274eb99896d3e1bda6d70daa4304aebb5a9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.7/EX8_7.sce | 3adfa58706f76354e6976b3f234f595dcfcd9c9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | EX8_7.sce | //EXAMPLE 8-7 PG NO-519
Fc1=1000;
Fc2=3000;
Ro=100;
L1=[(Ro*(Fc2-Fc1))/(2*%pi*Fc2*Fc1)]
disp('i) INDUCTANCE (L1/2) is = '+string ([L1]) +' H ')
C1=1/[2*%pi*(Fc2-Fc1)];
disp('ii) CAPACITOR (C1) is = '+string (C1) +' F ')
L2=Ro/[4*%pi*(Fc2-Fc1)];
disp('iii) INDUCTANCE (L2) is = '+string ([L2]) +' H ')
C2=(Fc2-Fc1)/(%pi*Ro*Fc1*Fc2)
disp('ii) CAPACITOR (C2) is = '+string ([C2]) +' F ')
|
f0650749d6029bd1942aad08c8363e495e2a1b56 | 68bc9ed8216a93c9b0bc0a6dbde62a7bb8328383 | /param/testcase4.tst | 6004e840a25461adef646589b03266d3ce9da995 | [] | no_license | michaelhuang14/AutonomousAgentsGreenhouse | 5e305e522c95dfaaebd7e4f148de87572d4185ce | 83e4aad142c9ca72ba4ababf58c25bed53428f0c | refs/heads/main | 2022-12-20T01:59:27.773408 | 2020-10-08T03:02:55 | 2020-10-08T03:02:55 | 300,742,055 | 1 | 0 | null | 2020-10-08T02:41:49 | 2020-10-02T21:40:36 | Python | UTF-8 | Scilab | false | false | 228 | tst | testcase4.tst | # Simple trace file
BASELINE = baseline4.bsl
WHENEVER 1-08:01:00
WAIT fan FOR 1800 #fan should be on across two scheduled behaviors
WHENEVER 1-08:31:00
WAIT fan FOR 1800 #fan should be on across two scheduled behaviors
|
3b5077a19ed2b51446fc66aedddb8a7de64d4714 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.21/ch12_21.sce | b4e33d23ab2f10cb85f06bbce99c058a13bcef3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | ch12_21.sce | clear;
clc;
a=.6;
V_s=400;
V_t=(1-a)*V_s;
I_a=300;
P=V_t*I_a; printf("power returned=%.0f kW",P/1000);
r_a=.2;
K_m=1.2;
R_eq=(1-a)*V_s/I_a+r_a; printf("\nequivalent load resistance=%.4f ohm",R_eq);
w_mn=I_a*r_a/K_m;
N=w_mn*60/(2*%pi); printf("\nmin braking speed=%.2f rpm",N);
w_mx=(V_s+I_a*r_a)/K_m;
N=w_mx*60/(2*%pi); printf("\nmax braking speed=%.1f rpm",N);
w_m=(V_t+I_a*r_a)/K_m;
N=w_m*60/(2*%pi); printf("\nmax braking speed=%.1f rpm",N);
|
abe817a2746551e3b69ea7b8c88e29e4f901cf2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH8/EX8.10/Ex8_10.sce | 3f5df5ff701dd529165d5d4b8de6e59ff276e65a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Ex8_10.sce | //caption:what will be the setting of time base knob
//Ex8.10
clc
clear
close
f=1//frequency of sine wave(in kHz)
n=10//number of divisions in a cycle
T=1/f
To=T/n
disp(To,'setting of time base knob(in ms)=') |
25fe6c07957ad67b359a7ec5ebb9e671da6773de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH25/EX25.32/25Ex32.sce | 8e4881b5eeedcf5a218a8479c8549be94ad0c588 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | 25Ex32.sce | //Ch25_Ex32
clc;
clear;
close;
r=10.5;
vol=(2/3)*(22/7)*r^3;
curved=2*(22/7)*r^2;
total=3*(22/7)*r^2;
mprintf("Volume=%.1f cubic cm\n Curved surface area=%.0f square cm\n Total surface area=%.1f square cm",vol,curved,total);
|
742f70735f87a80abbb0bf800b3a9ceb34646d61 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testxpolys.sce | 0257488f869937c249a9840d19a49356b224f68b | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | testxpolys.sce | clf;
plot2d(0,0,0,rect=[0,0,10,10],frameflag=3)
xgrid(4),
// pentagon vertices
t=[0:4]*2*%pi/5;
x=2*cos(t)';
y=2*sin(t)';
X=[2.5+x 2.5+x 7.5+x 7.5+x];
Y=[2.5+y 7.5+y 2.5+y 7.5+y];
//edges of the four black pentagons
xpolys(X,Y,[1 1 1 1])
E=gce();E.children.closed=1; // closed boundary
E.children.thickness=3; // thickness
// 4 pentagons filled with color
xfpolys(X,Y,[2 3 5 7])
|
ff89b520e312ac055d975857765a5f73710d66b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH19/EX19.18.8/Ex19_8.sce | c7d5cdd1e1867190f6dbfc69760e620446517ab7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | Ex19_8.sce | clear all
clc
close
mi=133*1.67*1e-27;//Mass of cesium in kg
qi=1.6*1e-19;//Charge in C
Va=3500;//Accelerating voltage in V
I=0.2;//Ion current in A
//Calculation of velocity of ejected ions in km/s
vi=sqrt(2*qi*Va/mi);
printf('Velocity of ejected ions is %f m/s',vi)
//Calculation of propulsion force in mN
F=vi*mi*I/qi
printf('propulsion force is %f N',F)
|
6365773099ba182ac1bf4a6e4ab2020adb3a9530 | c201b2587cae0b3d40a6fe6b8af8db26d9c70fb6 | /Uintah/src/orderAccuracy/test_config_files/ICE/rayleigh_dx.tst | 8d61939e6d125dea8def9f0ebe4d16c79f55e360 | [
"MIT"
] | permissive | timondy/PhaseFieldBenchmarking | b97f01637941b789653493f18751e4499aa9ccae | 676382ed149b2441b862bb823738be27814e6b4d | refs/heads/master | 2023-07-13T05:51:13.307900 | 2023-06-29T19:25:47 | 2023-06-29T19:25:47 | 152,245,104 | 10 | 5 | null | 2019-01-10T15:21:34 | 2018-10-09T12:12:46 | C++ | UTF-8 | Scilab | false | false | 1,577 | tst | rayleigh_dx.tst | <?xml version="1.0" encoding="ISO-8859-1"?>
<start>
<upsFile>rayleigh_dx.ups</upsFile>
<gnuplot>
<script>plotScript.gp</script>s
<title>ICE:Rayleigh Problem X dir</title>
<ylabel>Error</ylabel>
<xlabel>Resolution</xlabel>
</gnuplot>
<AllTests>
</AllTests>
<Test>
<Title>25</Title>
<sus_cmd>sus </sus_cmd>
<postProcess_cmd>compare_Rayleigh.m -aDir 1 -mat 0 -plot true</postProcess_cmd>
<x>25</x>
<replace_lines>
<resolution> [10,25,1] </resolution>
</replace_lines>
</Test>
<Test>
<Title>50</Title>
<sus_cmd>sus </sus_cmd>
<postProcess_cmd>compare_Rayleigh.m -aDir 1 -mat 0 -plot true</postProcess_cmd>
<x>50</x>
<replace_lines>
<resolution> [10,50,1] </resolution>
</replace_lines>
</Test>
<Test>
<Title>100</Title>
<sus_cmd>sus </sus_cmd>
<postProcess_cmd>compare_Rayleigh.m -aDir 1 -mat 0 -plot true</postProcess_cmd>
<x>100</x>
<replace_lines>
<resolution> [10,100,1] </resolution>
</replace_lines>
</Test>
<Test>
<Title>200</Title>
<sus_cmd>sus </sus_cmd>
<postProcess_cmd>compare_Rayleigh.m -aDir 1 -mat 0 -plot true</postProcess_cmd>
<x>200</x>
<replace_lines>
<resolution> [10,200,1] </resolution>
</replace_lines>
</Test>
<Test>
<Title>400</Title>
<sus_cmd>sus </sus_cmd>
<postProcess_cmd>compare_Rayleigh.m -aDir 1 -mat 0 -plot true</postProcess_cmd>
<x>400</x>
<replace_lines>
<resolution> [10,400,1] </resolution>
</replace_lines>
</Test>
</start>
|
f9e502e358a0e74ed52c59d42cfc7db57152257f | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH2/EX2.18/example2_18.sce | 90286d15f0a29d076579401011acfdfb5aa98796 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | example2_18.sce | // Calculate forward currents for voltages
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-18 in page 98
clear; clc; close;
// Given data
Vt=0.026; // Thermal voltage at room temperature in eV
V=[0.1 0.2 0.3]; // Given voltages in V
// Calculation
V1=0.026*-2.3;
printf("(a)V=%0.2f V\n",V1);
R=(exp(1.92)-1)/(exp(-1.92)-1);
printf("(b)Ration of forward bias current to reverse bias current=%0.2f\n",R);
printf("(c):\n")
for i=1:3
I=15*(exp(V(i)/0.026)-1);
printf("I = %0.3e A\n",I);
end
// Result
// (a) V = -0.060 V
// (b) Ratio = -6.83
// (c) Forward currents = 0.687 mA, 32.86 mA and 1.539 A respectively |
d8d44bd6afb9e0bd71649030116a2012d63ddc1f | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/lib/inv_dp.sci | 90a0204bed622c43cf14082cd92e116c0c4032ae | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,224 | sci | inv_dp.sci | function invA = inv_LU_dp(A, L, U, precisao, formato, formato_i)
// ------------------------------------------------------------------------
// Cálculo da inversa
// ------------------------------------------------------------------------
mprintf("\n-----------------------------------------------------------------------------------\n");
mprintf("\nCálculo de matriz inversa de A por decomposição LU:\n\n")
// A*x = b, sendo x = invA(:, i) e b = I(:, i), pois A*invA = I.
// Na decomposição LU = A, L*U*invA = I:
// Para cada coluna i:
Ident = eye(A);
n = size(A, 1);
for i = 1:n
exibe_sistema(' Sistema triangular inferior Ly = I(coluna '+string(i)+') (por substituições sucessivas)', 'y', formato, L, Ident(:, i))
mprintf('\n');
// 1: L*y = I(:, i) => y = I(:, 1)/L
y = substSuces(L, Ident(:, i))
exibe_vetor(' y', formato_i, y)
mprintf('\n');
exibe_sistema_inv(' Sistema triangular superior UinvA(coluna '+string(i)+') = y (por substituições retroativas)', ...
'invA', i, formato_i, U, y)
// 2: U*invA(:, i) = y => invA(:, i) = y/U
invA(:, i) = substRetro(U, y)
mprintf('\n');
exibe_vetor(' invA(coluna '+string(i)+')', formato_i, invA(:, i))
mprintf("...................................................................................\n");
end
Ident2 = zera(A*invA, precisao);
exibe_inversa(' Solução da matriz inversa de A', A, formato, invA, formato_i, Ident2)
if ~isequal(Ident2, Ident) then
disp('Falha nos cálculos da inversa!')
end
endfunction
function invA = inv_LUP_dp(A, L, U, P, precisao, formato, formato_i)
// ------------------------------------------------------------------------
// Cálculo da inversa
// ------------------------------------------------------------------------
mprintf("\n-----------------------------------------------------------------------------------\n");
mprintf("\nCálculo de matriz inversa de A por decomposição LU com pivotação parcial:\n\n");
// P*A*x = P*b, sendo x = invA(:, i) e b = I(:, i), pois P*A*invA = P*I.
// Como P*I = P, tem-se P*A*invA = P.
// Na decomposição LU = A, ou seja, P*L*U*invA = P.
// Para cada coluna i:
Ident = eye(A);
n = size(A, 1);
for i = 1:n
exibe_sistema(' Sistema triangular inferior Ly = P(coluna '+string(i)+') (por substituições sucessivas)', 'y', formato, L, P(:, i))
mprintf('\n');
// 1: L*y = P(:, i) => y = P(:, 1)/L
y = substSuces(L, P(:, i))
exibe_vetor(' y', formato_i, y)
mprintf('\n');
exibe_sistema_inv(' Sistema triangular superior UinvA(coluna '+string(i)+') = y (por substituições retroativas)', ...
'invA', i, formato_i, U, y)
// 2: U*invA(:, i) = y => invA(:, i) = y/U
invA(:, i) = substRetro(U, y)
mprintf('\n');
exibe_vetor(' invA(coluna '+string(i)+')', formato_i, invA(:, i))
mprintf("...................................................................................\n");
end
mprintf('\n');
Ident2 = zera(A*invA, precisao)
exibe_inversa(' Solução da matriz inversa de A', A, formato, invA, formato_i, Ident2)
if ~isequal(Ident2, Ident) then
error('Falha nos cálculos da inversa!')
end
endfunction
function invA = inv_LLt_dp(A, L, precisao, formato, formato_i)
// ------------------------------------------------------------------------
// Cálculo da inversa
// ------------------------------------------------------------------------
mprintf("\n-----------------------------------------------------------------------------------\n");
mprintf(" Cálculo de matriz inversa de A por decomposição de Cholesky:\n\n")
// A*x = b, sendo x = invA(:, i) e b = I(:, i), pois A*invA = I.
// Na decomposição LL' = A, L*L'*invA = I:
// Para cada coluna i:
Ident = eye(A);
n = size(A, 1);
for i = 1:n
exibe_sistema(' Sistema triangular inferior Ly = I(coluna '+string(i)+') (por substituições sucessivas)', 'y', ...
formato_i, L, Ident(:, i))
mprintf('\n');
// 1: L*y = I(:, i) => y = I(:, 1)/L
y = substSuces(L, Ident(:, i))
exibe_vetor(' y', formato_i, y)
mprintf('\n');
exibe_sistema_inv(' Sistema triangular superior L''invA(coluna '+string(i)+') = y (por substituições retroativas)', ...
'invA', i, formato_i, L', y)
// 2: L'*invA(:, i) = y => invA(:, i) = y/L'
invA(:, i) = substRetro(L', y)
mprintf('\n');
exibe_vetor(' invA(coluna '+string(i)+')', formato_i, invA(:, i))
mprintf("...................................................................................\n");
end
mprintf('\n');
Ident2 = zera(A*invA, precisao)
exibe_inversa(' Solução da matriz inversa de A', A, formato, invA, formato_i, Ident2)
if ~isequal(Ident2, Ident) then
error('Falha nos cálculos da inversa!')
end
endfunction
function invA = inv_LDLt_dp(A, L, D, precisao, formato, formato_i)
// ------------------------------------------------------------------------
// Cálculo da inversa
// ------------------------------------------------------------------------
mprintf("\n-----------------------------------------------------------------------------------\n");
mprintf(" Cálculo de matriz inversa de A por decomposição LDLt:\n\n"),
// A*x = b, sendo x = invA(:, i) e b = I(:, i), pois A*invA = I.
// Na decomposição LDL' = A, L*D*L'*x = b:
// Para cada coluna i:
Ident = eye(A);
n = size(A, 1);
for i = 1:n
exibe_sistema(' Sistema triangular inferior Ly = I(coluna '+string(i)+') (por substituições sucessivas)', 'y', formato, L, Ident(:, i))
mprintf('\n');
// 1: L*y = I(:, i) => y = I(:, 1)/L
y = substSuces(L, Ident(:, i))
exibe_vetor(' y', formato_i, y)
mprintf('\n');
exibe_sistema(' Sistema diagonal Dt = y (solução direta por t(i)=y(i)/D(i,i))', 't', formato_i, D, y)
mprintf('\n');
// 2: D*t = y => t = y/D
n = size(D, 1)
for ii = 1:n
t(ii) = y(ii)/D(ii,ii)
end
exibe_vetor(' t', formato_i, t)
mprintf('\n');
exibe_sistema_inv(' Sistema triangular superior L''invA(coluna '+string(i)+') = t (por substituições retroativas)', ...
'invA', i, formato_i, L', t)
mprintf('\n');
// 3: L'*invA(:, i) = y => invA(:, i) = y/L'
invA(:, i) = substRetro(L', t)
exibe_vetor(' invA(coluna '+string(i)+')', formato_i, invA(:, i))
mprintf("...................................................................................\n");
end
mprintf('\n');
Ident2 = zera(A*invA, precisao)
exibe_inversa(' Solução da matriz inversa de A', A, formato, invA, formato_i, Ident2)
if ~isequal(Ident2, Ident) then
error('Falha nos cálculos da inversa!')
end
endfunction
|
ac6b7d3fae3dc938f5658a4ffba33f169eed8890 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH4/EX4.1/ex4_1.sce | 0c9ac93574861315620f6727a74c8bd2c48a349c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | ex4_1.sce | // Example 4.1, page no-92
clear
clc
R=2.81*10^-10 //m
e=1.6*10^-19
eps=8.854*10^-12
U=-(e^2)/(4*%pi*eps*R)
printf("The Coulomb interatomic energy is %.2f eV",U*10^19/1.6)
|
e0a893d2f3074e9b9985f9d1d4706d6e855669e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH3/EX3.9/exa_3_9.sce | 28c23fa6bc02d1b036ca908a80883dc7b1a12bb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 758 | sce | exa_3_9.sce | // Exa 3.9
clc;
clear;
close;
// Given data
R1= 10;// in kΩ
R1=R1*10^3;// in Ω
R2= 5;// in kΩ
R2=R2*10^3;// in Ω
RC= 1;// in kΩ
RC=RC*10^3;// in Ω
RE= 2;// in kΩ
RE=RE*10^3;// in Ω
V_CC= 15;// in V
V_BE= 0.7;// in V
// When
I_C=0;
V_CE= V_CC-I_C*(RC+RE);// in V
// When V_CE= 0
I_C= V_CC/(RC+RE);// in A
V_B= V_CC*R2/(R1+R2);// in V
I_E= (V_B-V_BE)/RE;// in A
I_C= I_E;// in A (approx)
I_CQ= I_C;// in A
V_CE= V_CC-I_C*(RC+RE);// in V
V_CEQ= V_CE;// in V
V_CE= 0:0.1:15;// in Volt
I_C= (V_CC-V_CE)/(RC+RE)*1000;// in mA
plot(V_CE,I_C);
title("DC load line")
xlabel("V_CE in volts")
ylabel("I_C in mA")
disp("DC load line shown in figure")
disp("Operating point is "+string(V_CEQ)+" V and "+string(I_CQ*10^3)+" mA")
|
5988611c62cecf3d3db0a4c35d1738d86a2f2a72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH8/EX8.5/example8_5.sce | 4bd1add9d5fb753eb78abb434b6b8b0982d04f07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | example8_5.sce | //clc();
Pa = 15;//kPa ( Partial pressure )
Pas = 26.36;//kPa ( Vapour pressure )
RS = Pa * 100 / Pas ;
Y = 0.1738;
Ys = 0.3517;
PS = Y * 100 / Ys;
disp("%",RS,"Relative humidity = ")
disp("%",PS,"Percent humidity = ") |
a923176c217fb4696f3b8fd7771366e2e9f549a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH13/EX13.3/ex_13_3.sce | 4dc4541308544c423e1c4ee988dd348b0871d7e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | ex_13_3.sce | //
//this program is just writing in to a file and will not display anything
warning('off');
fp=mopen('output.dat','w');
for k=65:90
k=ascii(k);
// printf("%c",k);
mfprintf(fp,'%c\n',k );
end
mclose(fp);
|
8890f1150fda4e69cffe93efde4742f16eac6ca7 | 06a62d768e69fd9dda11b30011c252807e301813 | /lab/pgm1.sci | fb13f2b1559fa1a91dd7ea23e09e0ecdec0888a7 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sci | pgm1.sci |
function pgm1(p0, TOL, N0)
//p0 = 0;
//TOL = 0.0000000001;
//N0=20;
i = 1;
while i<=N0
p = cos(p0);
//compute |p-p0|
error = p-p0;
//if(error<0)
// error = -1*error;
//end
// disp(['iteration step = ', num2str(i), ' pvalue = ', num2str(p0), ' g(p) = ', num2str(p), ' error = ', num2str(error)]);
if(abs(error) < TOL)
disp(p)
return
end
i = i+1;
p0 = p;
end
//disp(['The method failed after N0 iterations, N0=', num2str(N0)])
|
396a23c274d2e35e7de1aed1d8fd5f0b8e429b4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH3/EX3.4/Ex3_4.sce | d88ca7335dc227f8edebc0c330ee16010263827c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,679 | sce | Ex3_4.sce | clc
un1=1000
disp("un1 = "+string(un1)+"cm^2(Vs)^-1") //initializing value of mobility of electron of silicon
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
un2 = 400
disp("un2 = "+string(un2)+"cm^2(Vs)^-1") //initializing value of mobility of electron of GaAs
up1 = 350
disp("up1 = "+string(up1)+"cm^2(Vs)^-1") //initializing value of mobility of holes of silicon
up2 = 8000
disp("up2 = "+string(up2)+"cm^2(Vs)^-1") //initializing value of mobility of holes of GaAs
ni = 1.5*10^10
disp("ni = "+string(ni)+"cm^-3") //initializing value of electron density of ionisation electron
nmax = 2.78*10^19
disp("nmax = "+string(nmax)+"cm^-3") //initializing value of maximum electron density for silicon
nmax1 = 7.72*10^18
disp("nmax1 = "+string(nmax1)+"cm^-3") //initializing value of maximum electron density for GaAs
Smax = nmax*e*un1
disp("The maximum conductivity for silicon is (sigma max) Smax = nmax*e*un = "+string(Smax)+"ohmcm^-1")//calculation
Smax1 = nmax1*e*un2
disp("The maximum conductivity of GaAs is (sigma max) Smax = nmax*e*un = "+string(Smax1)+"ohmcm^-1")//calculation
Smin = ni*e*((un1*sqrt(up1/un1))+(up1*sqrt(un1/up1)))
disp("The minimum conductivity of silicon is (sigma min)Smin = ni*e*((un1*sqrt(up1/un1))+(up1*sqrt(un1/up1))) = "+string(Smin)+"ohmcm^-1")//calculation
ni1 = 1.84*10^6
disp("ni = "+string(ni1)+"cm^-3") //initializing value of electron density of ionisation electron for GaAs
Smin1 = ni1*e*((un2*sqrt(up2/un2))+(up2*sqrt(un2/up2)))
disp("The minimum conductivity of GaAs is (sigma min)Smin1 = ni*e*((un2*sqrt(up2/un2))+(up2*sqrt(un2/up2))) = "+string(Smin1)+"ohmcm^-1")//calculation
|
7d4e260ebfa887223ceea6f99f271107edb2597d | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH9/EX9.4/ex9_4.sce | 22717bf5e1afff2bd89007aafeb400902a80857a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | ex9_4.sce | s=%s;
H=syslin('c',(4*s+1)/(s^2*(s+1)*(2*s+1)))
nyquist(H)
show_margins(H,'nyquist')
mtlb_axis([-20 20 -5 5])
("We see from the locus that the point -1+j0 is encircled twice,hence N=2 and P=0.")
printf("Therefore Z=2,hence two zeros lie in RHP") // N=P-Z
printf("System is unstable")
|
42ee08ad51e8c4ddf4d1dc9baa65d11cc6fcc811 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH3/EX3.1/Ex3_1.sce | 8d60e173cbd80f2e8d6d307383434eb74903649f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | Ex3_1.sce | o//Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 3
//example 3.1
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Vrms=110; //source voltage of the circuit in volts
alpha=90; //triggering angle in degree
Vm=Vrms*(2)^(1/2); //maximum voltage in volts
Vave=(Vm/(2*%pi))*(1+cosd(alpha));
R=(0.2*(Vave)^(2))+5; //load resistance in ohm
Iave=Vave/R; //average current of the load
disp(Iave,'The average current when the triggering angle 90 degree in ampere is:')
|
aa46ae1ceba62385609a77287e99486645b907e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH8/EX8.2/8_2.sce | 607dcee41f27d977a05722834e415c6732e3ba39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | 8_2.sce | clc;
disp("Example 8.2")
U=1.5 // in m/s
d=0.025 // in m
density= 1000 // in kg/m^3
mew=0.001 // in kg/ms
Re=d*density*U/mew
f=0.079/(Re^0.25)
l=25 // length of the pipe in m
delP=2*f*density*U*U*l/d
h1=delP/(density*9.81)
disp(h1,"Head loss is ")
h2=15
h=h1+h2
flow=%pi*d*d*U*density/4
power=flow*h*9.81
disp(power,"Theoretical Power required is ")
|
4a78a09d76ada5415d4e3564dbe09236311242b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH5/EX5.8/example5_8.sce | fb4b95773a9f3b3dfc707e36d5c481ac8b23a075 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example5_8.sce | disp('chapter 5 ex5.8')
disp('given')
disp('Using the gain-bandwidth product estimate upper cut off frequencies')
disp('741 op-amp')
disp('fu=800kHz and Av=1')
fu=800000
Av=1
disp('f2=fu/Av')
f2=fu/Av
disp('Hz',f2)
disp('for unity gain R1=R2')
disp('Av=(R1+R2)/R1')
R1=R2
Av=(R1+R2)/R1
disp(Av)
disp('f2=fu/Av')
f2=fu/Av
disp('Hz',f2) |
aa2fd286e5421c20334db54e71bbd8583502b4bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH2/EX2.5/ex2_5.sce | 755889f780b1b93954c09154f18d62a193c57923 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,297 | sce | ex2_5.sce | //Chapter-2, Example 2.5, Page 92
//=============================================================================
clc;
clear;
//INPUT DATA
r=0.01;//radius in m
lg=10^-3;//length of air gap in m
Rm=(30/2)*10^-2;//mean radius in m
ur=800;//relative permeability of iron
ur2=1;//relative permeability of air gap
N=250;//no of turns
phi=20000*10^-8;//flux in Wb
u0=4*%pi*10^-7;//permeability in free space
a=%pi*(r)^2;//area of cross-section in m
leakage_factor=1.1
//CALCULATIONS
Reluctance_of_air_gap=(lg/(u0*ur2*a));//reluctance of air gap in A/wb
li=(%pi*(2*r)-(lg));//length of iron path in m
Reluctance_of_iron_path=((%pi*0.3)-(lg))/(4*%pi*10^-7*800*a);//in A/wb
total_reluctance=Reluctance_of_air_gap+Reluctance_of_iron_path;//in A/wb
MMF=phi*total_reluctance;//in Ampere turns
current_required=(MMF)/(N);//in A
//OUTPUT
mprintf("Thus current required is %1.2f A \n",current_required);
//Including leakage
//CALCULATIONS
MMF_of_airgap=phi*Reluctance_of_air_gap;//in A/wb
Total_flux_in_ironpath=leakage_factor*phi;//in Wb
MMF_of_ironpath=Total_flux_in_ironpath*Reluctance_of_iron_path;//in A
Total_MMF=MMF_of_ironpath+MMF_of_airgap;//in A/wb
current_required2=Total_MMF/(N);//in A
//OUTPUT
mprintf("Thus current required is %1.3f A",current_required2);
|
a8d4e6e59ba403d0ac31acee3cafb4777a457a86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH4/EX4.3/ex4_3.sce | c9454f82e06d3ba148b51b67ef0d52936287ddf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_3.sce | clc;
//let three intercepts are I1,I2,I3
I1=3;
I2=-2;
I3=3/2;
//let their reciprocals are I1_1,I2_1,I3_1
I1_1=1/I1;
I2_1=1/I2;
I3_1=1/I3;
//LCM of I1_1,I2_1,I3_1 are 6 .
//By multiply LCM with I1_!,I2_1,I3_1 we will get miller indices
LCM=6;
M_1=LCM*I1_1;
M_2=LCM*I2_1 ;
M_3=LCM*I3_1;
disp(M_1,'Miller indices of plane =');
disp(M_2);
disp(M_3);
|
69604d1083376deabfc83b21cd8794cb1d0759e4 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/izh.tst | 5a470d1bddec2ebf92e885d079c9f8100ac8e537 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,900 | tst | izh.tst | kevät keväiks N;TRANS;PL
mäki mäkkee N;IN+ALL;SG
jää jäilt N;AT+ABL;PL
hammaz hampahalle N;AT+ALL;SG
kukka kukaaz N;IN+ESS;SG
leipä leippää N;PRT;SG
lupa luppaa N;PRT;SG
jalka jaloille N;AT+ALL;PL
ikä ikääz N;IN+ESS;SG
iez ikehiil N;AT+ESS;PL
daatša daatšast N;IN+ABL;SG
nain naizilt N;AT+ABL;PL
seppä seppoja N;PRT;PL
kaunehusse kaunehuksille N;AT+ALL;PL
öö öötä N;PRT;SG
seppä sepälle N;AT+ALL;SG
variz varikseel N;AT+ESS;SG
pää päälle N;AT+ALL;SG
kaunehusse kaunehuksii N;IN+ALL;PL
lapsi lapseen N;ESS;SG
meez meehiä N;PRT;PL
tüär tüttääret N;NOM;PL
korppi korpilt N;AT+ABL;SG
näkö näkkööää N;PRT;SG
voi voist N;IN+ABL;PL
meez meehille N;AT+ALL;PL
ikä ikält N;AT+ABL;SG
lammaz lampahiil N;AT+ESS;PL
kassen kastmelt N;AT+ABL;SG
jalka jalalle N;AT+ALL;SG
korppi korppiloja N;PRT;PL
maa maalle N;AT+ALL;SG
pökköiheinä pökköiheinääz N;IN+ESS;SG
daatša daatšoja N;PRT;PL
hüvä hüviiz ADJ;IN+ESS;PL
kaunehusse kaunehuen N;GEN;SG
käzi käen N;GEN;SG
kevät keväeel N;AT+ESS;SG
lammaz lampahaaz N;IN+ESS;SG
silmä silmmiin N;ESS;PL
seppä sepäst N;IN+ABL;SG
hüvä hüvälle ADJ;AT+ALL;SG
iez ikkeehen N;GEN;SG
tüär tütäresse N;IN+ALL;SG
järvi järvilöjä N;PRT;PL
velli vellilöil N;AT+ESS;PL
hammaz hampahaaz N;IN+ESS;SG
säkki säkkii N;IN+ALL;SG
hammaz hampahaks N;TRANS;SG
vezi vezi N;NOM;SG
velli velli N;NOM;SG
voi voin N;ESS;SG
izä izääl N;AT+ESS;SG
kassen kastmet N;NOM;PL
leipä leippiin N;GEN;PL
aika aijjoilt N;AT+ABL;PL
velli vellilöjä N;PRT;PL
kukka kukiiz N;IN+ESS;PL
leipä leippiiä N;PRT;PL
aampuussen aampuustmiiz N;IN+ESS;PL
ikä ikiks N;TRANS;PL
pökköiheinä pökköiheiniil N;AT+ESS;PL
voi voi N;NOM;SG
izä izöille N;AT+ALL;PL
jalka jalkoja N;PRT;PL
kaunehusse kaunehuttee N;IN+ALL;SG
meez meehiks N;TRANS;PL
leipä leiviks N;TRANS;PL
ikä ikkää N;IN+ALL;SG
jää jäijjen N;GEN;PL
mäki mäki N;NOM;SG
voi voijjen N;GEN;PL
juusso juusoks N;TRANS;SG
päivä päiville N;AT+ALL;PL
lupa luppaal N;AT+ESS;SG
päivä päivän N;GEN;SG
süän süämeez N;IN+ESS;SG
kaunehusse kaunehuelt N;AT+ABL;SG
käzi käeel N;AT+ESS;SG
kaunehusse kaunehuksiil N;AT+ESS;PL
maa maaz N;IN+ESS;SG
tüär tütäreel N;AT+ESS;SG
lapsi lapset N;NOM;PL
meez meehen N;GEN;SG
süän süämille N;AT+ALL;PL
ikkuna ikkunoin N;GEN;PL
maa maijen N;GEN;PL
joki joet N;NOM;PL
tähti täheks N;TRANS;SG
hüvä hüvvää ADJ;PRT;SG
siar sissaaret N;NOM;PL
hüvä hüväst ADJ;IN+ABL;SG
kassen kastmilt N;AT+ABL;PL
nain naizet N;NOM;PL
korppi korpist N;IN+ABL;SG
ikkuna ikkunaan N;ESS;SG
variz variksest N;IN+ABL;SG
jää jäihe N;IN+ALL;PL
leipä leiviiz N;IN+ESS;PL
tähti tähelle N;AT+ALL;SG
luu luil N;AT+ESS;PL
vezi veet N;NOM;PL
lupa luppaaz N;IN+ESS;SG
korppi korpille N;AT+ALL;SG
kuu kuuha N;IN+ALL;SG
korppi korppiloil N;AT+ESS;PL
tüär tütäriil N;AT+ESS;PL
säkki säkiks N;TRANS;SG
pökköiheinä pökköiheiniiä N;PRT;PL
nain naisee N;IN+ALL;SG
siar sizareel N;AT+ESS;SG
lumi lumiloja N;PRT;PL
daatša daatšaaz N;IN+ESS;SG
säkki säkist N;IN+ABL;SG
öö öihe N;IN+ALL;PL
öö ööz N;IN+ESS;SG
variz variksiil N;AT+ESS;PL
kala kaloille N;AT+ALL;PL
silmä silmmäin N;GEN;PL
velli vellilöiks N;TRANS;PL
kaunehusse kaunehueez N;IN+ESS;SG
tähti täheez N;IN+ESS;SG
kevät keväii N;IN+ALL;PL
maa maihe N;IN+ALL;PL
kaunehusse kaunehuksiin N;GEN;PL
mäki mäkilöin N;ESS;PL
aika aijjalle N;AT+ALL;SG
joki jokiloille N;AT+ALL;PL
ikkuna ikkunoille N;AT+ALL;PL
silmä silmille N;AT+ALL;PL
päivä päivää N;PRT;SG
luu luihe N;IN+ALL;PL
joki jokiloist N;IN+ABL;PL
tüär tütäreks N;TRANS;SG
järvi järvet N;NOM;PL
velli vellelle N;AT+ALL;SG
velli vellilöilt N;AT+ABL;PL
lumi lunt N;PRT;SG
juusso juussoo N;IN+ALL;SG
kaunehusse kaunehueks N;TRANS;SG
päivä päiviin N;GEN;PL
daatša daatšoin N;GEN;PL
mäki mäkilöist N;IN+ABL;PL
süän süämmiia N;PRT;PL
käzi käest N;IN+ABL;SG
kassen kastmeen N;ESS;SG
tähti tähilöilt N;AT+ABL;PL
kevät keväesse N;IN+ALL;SG
järvi järvilöis N;IN+ESS;PL
näkö näöks N;TRANS;SG
vezi vessiin N;GEN;PL
tähti tähet N;NOM;PL
lumi lumiloihe N;IN+ALL;PL
juusso juussoloist N;IN+ABL;PL
säkki säkkilöil N;AT+ESS;PL
siar sizaria N;PRT;PL
käzi käeks N;TRANS;SG
päivä päänä N;ESS;SG
meez meehelt N;AT+ABL;SG
daatša daatšoiz N;IN+ESS;PL
näkö näkölöilt N;AT+ABL;PL
meez meehesse N;IN+ALL;SG
lupa luviks N;AT+ABL;PL
jää jääst N;IN+ABL;SG
luu luult N;AT+ABL;SG
kala kalalt N;AT+ABL;SG
maa maist N;IN+ABL;PL
lammaz lampahisse N;IN+ALL;PL
luu luut N;NOM;PL
joki joeks N;TRANS;SG
jalka jalkaa N;IN+ALL;SG
ikä ikkiin N;ESS;PL
päivä päiväst N;IN+ABL;SG
aampuussen aampuustmiin N;GEN;PL
ikkuna ikkunaa N;IN+ALL;SG
aika aijjast N;IN+ABL;SG
voi voilt N;AT+ABL;SG
mäki mäkkiiä N;PRT;SG
olut oluizilt N;AT+ABL;PL
ikä ikilt N;AT+ABL;PL
lammaz lampahilt N;AT+ABL;PL
tähti tähilöjä N;PRT;PL
kuu kuille N;AT+ALL;PL
lammaz lampahalt N;AT+ABL;SG
joki joelt N;AT+ABL;SG
kukka kukalt N;AT+ABL;SG
luu luuhu N;IN+ALL;SG
karhu karhu N;NOM;SG
hüvä hüvvii ADJ;IN+ALL;PL
käzi kässiin N;ESS;PL
pökköiheinä pökköiheinille N;AT+ALL;PL
hammaz hampahaal N;AT+ESS;SG
lapsi lapseel N;AT+ESS;SG
mäki mäest N;IN+ABL;SG
lupa luppiin N;GEN;PL
olut olutta N;PRT;SG
süän süämelt N;AT+ABL;SG
kala kallaan N;ESS;SG
seppä sepoil N;AT+ESS;PL
variz variz N;NOM;SG
seppä sepäks N;TRANS;SG
siar sizariin N;GEN;PL
järvi järvilöil N;AT+ESS;PL
süän süänt N;PRT;SG
kala kalan N;GEN;SG
maa maan N;GEN;SG
joki jokiloja N;PRT;PL
nain naizille N;AT+ALL;PL
luu luilt N;AT+ABL;PL
tüär tütärisse N;IN+ALL;PL
seppä seppään N;ESS;SG
olut oluiziin N;ESS;PL
pökköiheinä pökköiheinälle N;AT+ALL;SG
meez meehilt N;AT+ABL;PL
karhu karhuuz N;IN+ESS;SG
daatša daatšaan N;ESS;SG
jää jääl N;AT+ESS;SG
kala kaloil N;AT+ESS;PL
tüär tütäriin N;GEN;PL
daatša daatšalt N;AT+ABL;SG
lupa luvast N;IN+ABL;SG
vezi vessii N;IN+ALL;PL
nain naiziks N;TRANS;PL
lupa luvist N;IN+ESS;PL
|
8a88d63c2420273c56f5a647908227d930c3a5ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH2/EX2.10/example2_10.sce | 51218af5738e24e4603c8188f1ccad3eb813adc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | example2_10.sce | //example 2.10
//page 75
clc; funcprot(0);
//initialisation of variable
ybar=4;
pi=3.14;
A=4;
Gamma=62.4;
Ig=4^3/12;
x1=2;
x2=1.7;
hbar=ybar+Ig/A/ybar;
Fv1=2*A*Gamma;
Fv2=pi*A*Gamma;
Fv=Fv1+Fv2;
disp(Fv,"vertical component of Hydrostatic force(lbs)=");
xv=(Fv1*x1+Fv2*x2)/(Fv1+Fv2);
disp(xv,"point of application of vertical force(ft)");
clear
|
95e80cd18dad455b2b10061739693ff20e584fdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH5/EX5.19/Ex5_19.sce | 246d02896358fb685b81ad611d04161c71d2f628 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | Ex5_19.sce | // SAMPLE PROBLEM 5/19
clc;clear;funcprot(0);
// Given data
v_B=150;// (i) m/s
v_A=100;// (i) m/s
rho=400;// m
r=-100;// m
// Calculation
omega=v_B/rho;// (k) rad/s
r_AB=r;// (j) m
v_rel=[v_A-(v_B+(-(omega*r)))];// (i) m/s
a_A=0;// m/s^2
a_B=(v_B(1))^2/rho;// m/s^2
omegadot=0;// rad/s
a_rel=a_A-[a_B+(omegadot*r)+(omega*-(omega*r))+(2*(omega*v_rel))];// m/s^2
printf("\nThe instantaneous velocity,v_rel=%2.1fi m/s \nThe instantaneous acceleration,a=%1.2fk m/s^2",v_rel,a_rel);
v_AB=v_A-v_B;// (i) m/s
a_AB=a_A-a_B;// (j) m/s^2
|
b803d82bab651b11da3773957600f5dc0fcad06c | 4b1d4672fa994587ea62810e2f0c57b3a652f278 | /Try_moving_circles.sce | eb1f5051604141e7247e9f87cd9589ece32f61eb | [
"Apache-2.0"
] | permissive | VCSchoots/Colour-Speech | 57305d6c20875c52e130dabaf705773404e2aec8 | df1d5f13c1bb944f918acafb3cc562e918ee3195 | refs/heads/master | 2021-07-02T00:47:58.475654 | 2019-03-04T19:51:39 | 2019-03-04T19:51:39 | 136,158,365 | 0 | 0 | Apache-2.0 | 2018-09-12T10:15:08 | 2018-06-05T10:06:37 | Scilab | UTF-8 | Scilab | false | false | 4,493 | sce | Try_moving_circles.sce | no_logfile = true;
begin;
picture {
bitmap { preload = false; }dummy;
x = 0; y = 0;
bitmap { preload = false; }dummy2;
x = 0; y = 0;
} pic;
trial {
trial_type = fixed;
trial_duration = stimuli_length;
picture pic;
}trial1;
#======================================================
begin_pcl;
# To copy Bannert & Bartels (2013)
# periodicity 0.5 cycles / visual degree, expand or contract with 1 deg/s.
# this later needs to be calibrated such that we make a high- and low luminance version,
# where the green and red hue have been made equiluminant with a 162 cd/m^2 and a 198 cd/m^2 background.
# (that is + and - 10% around the background luminance).
# it needs to be combined with an ellipse with width and height to visual angle 7.19 deg (Bannert & Bartels 2013)
# the background value (of the mask and in-between the colours of the circles) should be calibrated to be 180 cd/m^2 luminance.
### definitions ###
# set the brightness values for the rgb channels that the maximum brightness should have
array<double> brightred[3] = {255.0, 0, 0};
array<double> darkred[3] = {200.0, 0, 0};
array<double> brightgreen[3] = {0, 255.0, 0};
array<double> darkgreen[3] = {0, 200.0, 0};
# and the background colour
array<double> background[3] = {127.5, 127.5, 127.5};
#these can later be overwritten by reading in a log file from a colour luminance matching script
###################
# calculate the necessary background and amplitude numbers for the sine waves used in stimulus generation
array<double> BR[6];# BR for 'Bright Red', array to be filled with {red background, red amplitude, g backgr, g amp, b backgr, b amp}
BR[1] = (brightred[1] + background[1])/ 2.0;# red channel background (difference between brightest and darkest halved)
BR[2] = (brightred[1] - background[1])/ 2.0;# red channel amplitude (average of brightest and darkest)
BR[3] = (brightred[2] + background[2])/ 2.0;# green backgr (same thing, but inverted so that the period is inverse to that of the red channel)
BR[4] = (brightred[2] - background[2])/ 2.0;# green amp
BR[5] = (brightred[3] + background[3])/ 2.0;# blue
BR[6] = (brightred[3] - background[3])/ 2.0;# blue
# making an array of graphic surfaces with red-and-grey circles moving inward on each iteration
vsg::circular_generator circlegen = new vsg::circular_generator( 25.0, 0.0, false );# the sinusoid circles are generated
array<graphic_surface>redsurfaces[50];# empty surfaces
vsg::graphic_generator graph_gen = new vsg::graphic_generator( 800.0, 600.0 );
graph_gen.add_transformation( circlegen, vsg::combine_none );
graph_gen.add_parameter_increment( circlegen, vsg::phase, 10.0 );
graph_gen.set_colors( BR[1], BR[2], BR[3], BR[4], BR[5], BR[6] );# red-and-grey circles
graph_gen.draw( redsurfaces, 50 );
# making an array of green-and-grey inward moving circles
array<graphic_surface>greensurfaces[50];# empty surfaces
graph_gen.set_colors( 63.75, -63.75, 191.25, 63.75, 63.75, -63.75 );# green-and-grey circles
graph_gen.draw( greensurfaces, 50 );
# making a mask that sets the screen surronding the cicrles to grey
vsg::ellipse_generator ellipsegen = new vsg::ellipse_generator( 600.0, 600.0, 0.0 );# an ellipse to act as a mask
vsg::graphic_generator graph_gen2 = new vsg::graphic_generator( 800.0, 600.0 );
graph_gen2.add_transformation( ellipsegen, vsg::combine_none );
graph_gen2.set_colors( 63.75, -63.75, 63.75, -63.75, 63.75, -63.75 );# grey background, black circle
graphic_surface mask = graph_gen2.create();
mask.set_transparent_color( 0, 0, 0 );
# putting the mask in the picture
pic.set_part( 2, mask );
# putting the red inward circles in the picture and presenting them
loop int i = 1 until i > redsurfaces.count()
begin
pic.set_part( 1, redsurfaces[i] );
trial1.present();
wait_interval(20);
i = i + 1;
end;
# putting the green inward circles in the picture and presenting them
loop int i = 1 until i > greensurfaces.count()
begin
pic.set_part( 1, greensurfaces[i] );
trial1.present();
wait_interval(20);
i = i + 1;
end;
# putting the red outward circles in the picture and presenting them
loop int i = 1 until i > redsurfaces.count()
begin
pic.set_part( 1, redsurfaces[51 - i] );
trial1.present();
wait_interval(20);
i = i + 1;
end;
# putting the green outward circles in the picture and presenting them
loop int i = 1 until i > greensurfaces.count()
begin
pic.set_part( 1, greensurfaces[51 - i] );
trial1.present();
wait_interval(20);
i = i + 1;
end;
|
0af7fa7ab4976a9061de46b7aee6e6c54cac401f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH1/EX1.10/Ex1_10.sce | c74b2ebf1d2a525e17b5c6d0d39231bbdb9edb26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,176 | sce | Ex1_10.sce | clc,clear
//example 1.10
//To find sine,cosine and tangent functions for 75 degree
//triangle_ADB, angle_BAD = 30
AB=sqrt(3);BD=1;
AD=sqrt(AB^2+BD^2); //pythagoras theorem
//angle_DAB + angle_CAB = 75
//triangle_ABC, angle_BAC = 45
//pythagoras theorem and 45 degrees
AC=AB/sqrt(2);BC=AC;
angle_BAC = 45 ; angle_DAB = 30 ;
angle_DAE = angle_BAC + angle_DAB ;//required angle
angle_ADE = 90 - angle_DAE ;//complement of DAE
angle_ADB = 90 - angle_DAB ;//complement of DAB
//Draw BF perpendicular to DE
angle_BDF = angle_ADB - angle_ADE;
angle_DBF = 90 - angle_BDF; //complement of BDF
//By pythagoras theorem and 45 degree
DF=sqrt(BD/2);FB=DF;
EC=FB;//parallel sides of rectangle
FE= BC; //parallel sides of rectangle
DE=DF+FE;//from the figure
AE=AC-EC;//from the figure
sin_DAE = DE/AD;
cos_DAE = AE/AD;
tan_DAE = DE/AE;
csc_DAE = AD/DE;
sec_DAE = AD/AE;
cot_DAE = AE/DE;
printf('sin(%d)=%f\n',angle_DAE,sin_DAE);
printf('cos(%d)=%f\n',angle_DAE,cos_DAE);
printf('tan(%d)=%f\n',angle_DAE,tan_DAE);
printf('csc(%d)=%f\n',angle_DAE,csc_DAE);
printf('sec(%d)=%f\n',angle_DAE,sec_DAE);
printf('cot(%d)=%f\n',angle_DAE,cot_DAE);
|
15b70deb4fa03dab992fa6fcc1054af93c1ef344 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH7/EX7.2/Example7_2.sce | 3f4111a972d492207148cf75425d30a8067c8eed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,366 | sce | Example7_2.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 7: PARALLEL OPERATION
// Example 7-2
clear; clc; close; // Clear the work space and console.
// Given data
R_a = 0.1 ; // Armature resistance in ohm
R_f = 100 ; // Field ckt resistance in ohm
V_L_b = 120 ; // Bus voltage in volt
V_L_a = 140 ; // Voltage of the generator in volt
V_f = V_L_a ; // Voltage across the field in volt
// Calculations
// case a
I_f_a = V_f / R_f ; // Field current in A
I_a_a = I_f_a ; // Armature current in A
E_g_a = V_L_a + I_a_a * R_a ; // Generated EMF in volt
P_g_a = E_g_a * I_a_a ; // Generated power in W
// case b
I_a_b = ( E_g_a - V_L_b ) / R_a ; // Armature current in A
I_f_b = V_L_b / R_f ; // Field current in A
I_Lg = I_a_b - I_f_b ; // Generated line current in A
P_L = V_L_b * I_Lg ; // Power generated across the lines in W
E_g_b = V_L_a ;
P_g_b = E_g_b * I_a_b ; // Generated power in W
// Display the results
disp("Example 7-2 Solution : ");
printf(" \n a: Before it is connected to the bus ");
printf(" \n I_a = I_f = %.1f A \n E_g = %.2f V\n P_g = %.1f W \n", I_a_a,E_g_a,P_g_a);
printf(" \n b: After it is connected to the bus ");
printf(" \n I_a = %.1f A \n I_f = %.1f A \n I_Lg = %.1f A \n", I_a_b, I_f_b, I_Lg );
printf(" \n P_L = %.f W \n P_g = %.f W ", P_L , P_g_b );
|
701cb3c50b115f85902abfeacea73f6af462e8ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH5/EX5.4/Ex5_4.sce | ffe388f5343aae4f8b5f9f0a2a334200594e5324 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | Ex5_4.sce | //Ex5_4
clc
Idc = 10*10^-3
Irms = 14*10^-3
RL = 1*10^3
Pdc = (Idc^2)*RL
Pac = (Irms^2)*RL
disp("Idc = "+string(Idc)+"A")//D.C. current
disp("Irms = "+string(Irms)+"A")//rms current
disp("RL = "+string(RL)+"ohm")//load resistance
disp("Pdc = (Idc^2)*RL = "+string(Pdc)+"W")//D.C. power
disp("Pac = (Irms^2)*RL = "+string(Pac)+"W")//A.C. power
disp("eta_r = Pdc/Pac = "+string(Pdc/Pac*100)+"%")//Rectification efficiency
|
c647017b6cd6bd044e19b597ad357c567bf1abc7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/sysconv.man.tst | 786661fdfc326051d1856758a605ab044bea7f44 | [
"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 | 72 | tst | sysconv.man.tst | clear;lines(0);
s1=ssrand(1,1,2);
s2=ss2tf(s1);
[s1,s2]=sysconv(s1,s2);
|
ca1cb59ace6d19c00694dc3063c32e4455c157cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.31/1_31.sce | 3e1184dffd7e38c3f6dd97aff83e7d2dfa02645d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | 1_31.sce | //To determine the sum and difference of two alternating voltage sources
clc;
clear;
//Phase angles
tv1=0;
tv2=-%pi/6;
//Taking v1 as reference voltage
v1=110*(expm(%i*tv1));
v2=80*(expm(%i*tv2));
Vs=v1+v2;//Sum
Vd=v1-v2;//Difference
ts=atand(imag(Vs)/real(Vs));
td=atand(imag(Vd)/real(Vd));
printf('i) The sum = %g sin(wt + (%g(degrees))) V\n',abs(Vs),ts)
printf('i) The difference = %g sin(wt + (%g(degrees))) V\n',abs(Vd),td)
|
a79ecac03a9d9ea5f3258fefe2599e8c8ab3eaea | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.24/Ex24.sce | 896ae0f6a45a61ec341a456f532da03a7bae27a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | Ex24.sce | //Ex:24
clc;
clear;
close;
a=0.25;//Roll_off
r_s=16*10^3;//Symbol rate in Hz
B_s=r_s*(1+a);//signal BW in Hz
f_c=14.125*10^6;// in Hz
f_min=f_c-(B_s)/2;//min frequency in Hz
f_max=f_c+(B_s)/2;//max frequency in Hz
//printf("min frequency=%f MHz",B_s);
printf("min frequency=%f MHz", f_min/10^6);
printf("\n max frequency=%f MHz",f_max/10^6);
//Hence frequency range of transmitted signal is from 14.115 MHz to 14.135 MHz |
55557ff30947301d2b556b597c4bab33f7834b54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH4/EX4.1/Ex4_1.sce | d731b218526d993aca8e5ea0370502661f40ba31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | Ex4_1.sce | Ex1 pg61
clear
//find the area piston for given parameters
//given
a=3.
//diameter squared
//calculation
A=0.785*3**2
printf("\n area of piston %.2f ",A)
|
14a5f081a4c2da36faff6be2ee3528355bb8b162 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.3/example_5_3.sce | 0ce9d89036080fdda07fb98bded9eec3e3014210 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | example_5_3.sce | syms G1 G2 H1 H2
a=G2/(1+(G2*H2))
b= G1*a
c= H1*(1+G2*H2)/G2 //shifting the take off point
d= b/(1+b)
Y= d/(1+(d*c))
disp(Y," R/C = ") |
12e6aa17cac33d712140ded544e09232f4484d9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH1/EX1.5/Ex1_5.sce | 2f386d1ab8156a23e086a41a8d9d6780c0a4f53c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Ex1_5.sce | //===========================================================================
//chapter 1 example 5
clc;
clear all;
//intercepts given are a,2b,-3c/2
//from the law of rational indices
//a:2b:-3c/2=a/h:b/k:c/l
//variable declaration
h1 = 1; //miller indices
k1 = 1/2; //miller indices
l1 = -2/3; //miller indices
//calculation
p = int32([1,2,3]);
l2 = lcm(p);
h=h1*l2;
k=(k1)*double(l2);
l=(l1)*double(l2);
//result
mprintf('miller indices = %d %d %d',h,k,l);
//============================================================================
|
fde7cb41d9574683d705d9e513324f9843a02288 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH4/EX4.1.2/example4_2.sce | 9de3ab2dbc4a91684fd2d93bcf22abcfce997749 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sce | example4_2.sce |
//exapple 4.2
clc; funcprot(0);
// Initialization of Variable
rd=[0 1 2.5 5 10 15 17.5]/100;//radial distance from pipe
dlv=[0 0.2 0.36 0.54 0.81 0.98 1]/100;//differnce in liquid levels
r=[.175 .165 .150 .125 .075 .025 0];//
g=9.81;
R=8.314;
rho=999;
temp=289;
P1=148*1000;
M=7.09/100;
pi=3.12
rhoCl2=P1*M/R/temp;//density of Cl2
nuCl2=1/rhoCl2;//specific volume of Cl2
function[y]=P2(x);
y=P1+x*(rho-rhoCl2)*g;
endfunction
for i=1:7
y=P2(dlv(i));
u(i)=sqrt(2*P1*nuCl2*log(y/P1));
a(i)=u(i)*r(i);
end
clf();
plot(r,a);
xtitle("","r (m)","u*r (m^2/s)");
s=0;
for i=1:6//itegration of the plotted graph
s=abs((r(i)-r(i+1))*.5*(a(i)+a(1+1)))+s;
end
s=s-0.01;
Q=2*pi*s;
disp(Q,"volumetric flow rate (m^3/s):");
disp(Q*rhoCl2,"mass flow rate of chlorine gas (kg/s)")
|
131b035c3d6ca5b86e38f57327e5cebb849334e7 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/pfet_gldn.sce | 619adcbe3284429360cef7391c9e574fc18743a9 | [] | 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 | 232 | sce | pfet_gldn.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td><b>S<br><br>G</b></td> <td></td> <td></td> <td>PFET</td> <td></td> <td></td> <td align=left><b>D</b></td> </tr> </table>";
pal2 = xcosPalAddBlock(pal2,"pfet_gldn",[],style);
|
bf25136236398e1f3bd9146bdfa83f3ecf372064 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.42/Ex5_42.sce | 18d1113acca19cdb270fc4815c2a10c182f8e63f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 917 | sce | Ex5_42.sce | clc
A = 40000 // number of units per year
I = 25 // carrying cost in percent
I = I/100
C1 = 8 // cost for 0 < N < 1000 per unit in Rs
C2 = 7.5 // cost for 1000 < N < 10000 per unit in Rs
C3 = 7.25 // cost for N >= 10000 per unit in Rs
R = 250 // ordering cost per order in Rs
N = 10000 // units
N1 = sqrt(2*R*A/(I*C3)) // optimal quantity for lowest curve
G1= C3*A+(A*R)/N+I*C3*N/2 // total cost in Rs
N2 = sqrt(2*R*A/(I*C2)) // optimal quantity for higher curve
G2= C2*A+(A*R)/N2+I*C2*N2/2 // total cost in Rs
N3 = sqrt(2*R*A/(I*C1)) // optimal quantity for highest curve
G3 = C1*A+(A*R)+1 // total cost in Rs
printf("\n Total cost for lowest cost curve = Rs %0.2f\n Total cost for next higher curve = Rs %0.2f\n Total cost for highest curve = Rs %0.2f " , G1,G2,G3)
disp("Comparing all total cost lowest is Rs 300,062.50 for an order quantity of 10,000.")
disp("N = 10,000 and No. of orders = 4")
|
e5d7ff3fb9133b9aa760d435e6c7feb204727488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.28/example11_28.sce | fbe9f61688270fd091fa9982ee3d4262c24b863c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | example11_28.sce | clc
// Given that
r = 0.5 // ratio of length of rod when it is in motion to the length of the rod when it is in rest
// Sample Problem 28 on page no. 11.29
printf("\n # PROBLEM 28 # \n")
printf(" Standard formula used \n")
printf(" l = l_0/((1-v^2/c^2)^1/2) \n")
v = 3e8 * sqrt(1 - r^2)
printf("\n Speed of the rod relative to observer is %f c.",v/3e8)
|
4a96d09eee8d1cd12eb72b3c83f667a444156d1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH2/EX2.13/2_13.sce | d1ee49b64159eaee23a82127aa4749ac2452c64e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | 2_13.sce | //To calculate the ratio of the seperation between successive lattice planes
h1 = 1;
k1 = 0;
l1 = 0; //for (100) plane
x1 = sqrt(h1^2+k1^2+l1^2);
h2 = 1;
k2 = 1;
l2 = 0; //for (110) plane
x2 = sqrt(h2^2+k2^2+l2^2);
h3 = 1;
k3 = 1;
l3 = 1; //for (111) plane
x3 = sqrt(h3^2+k3^2+l3^2);
//d = a/sqrt(h^2+k^2+l^2)
//d100:d110:d111 = a:a/sqrt(2):a/sqrt(3)
//d100:d110:d111 = 1:1/sqrt(2):1/sqrt(3) = 1:0.71:0.58
printf("ratio of the seperation between successive lattice planes is 1:0.71:0.58");
|
5def1a96a9a2a23d5928c0b2b98c25c2736fa563 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH7/EX7.4/Ex_7_4.sce | 0f952a655b6b6236b4d5a049ea9790a4167403a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | Ex_7_4.sce | // Example 7.4;//inernal power level
clc;
clear;
close;
e=1.6*10^-19;//Electronic charge
ht=6.62*10^-34;//Constt
C=3*10^8;//sPPED OF LIGHT IN M/S
h=0.87*10^-9;//wavelength in meter
i=40;//injected current in milli ampere
nint= 0.625;//inernal quantum efficieny
Pint= (nint*((ht*C*i*10^-3)/(e*h)));//internal power level in milli watt
disp(Pint,"internal power level in milli watt")
|
0bcd6440ac4c6fbb7e297096dfa34cb80aa8eada | 26e0446118d01de6f6a471afb39d81406908c736 | /testGlobal.sci | 12b34af95c0e0c838815a1af56f1074194ab0f49 | [] | no_license | Eruliuce/Projet_Modelisation_ACP | 79d1b84aa9d742e552e6c6d8b9acba979631dbaf | 5a6b330f0fe0dd89b1efb56638a253f26d194f6e | refs/heads/master | 2021-01-18T18:32:09.133376 | 2015-02-28T10:28:32 | 2015-02-28T10:28:32 | 31,441,932 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,805 | sci | testGlobal.sci | function CercleCorrel(caraCentreReduit)
t=0:0.00001:2*%pi;
plot(0.5 * cos(t), 0.5 * sin(t));
plot(cos(t), sin(t));
[n1, n2] = size(caraCentreReduit);
for i=1:n2;
plot(caraCentreReduit(1,i), caraCentreReduit(2,i), ".r");
end
endfunction
function [tableauCR] = tableauCentreReduit(tableau)
tableauC = tableauCentre(tableau)
tableauCR = tableauReduit(tableauC)
endfunction
function [retour] = tableauCentre(tableau)
[nbIndiv,nbCarac] = size(tableau)
moyenneColonnes = mean(tableau,1)
for tabIndLig = 1:nbIndiv
for tabIndCol = 1:nbCarac
tableau(tabIndLig,tabIndCol) = tableau(tabIndLig,tabIndCol) - moyenneColonnes(tabIndCol)
end
end
retour = tableau
endfunction
function [retour] = tableauReduit(tableau)
[nbIndiv,nbCarac] = size(tableau)
for tabIndCol = 1:nbCarac
tabEcartTypes(tabIndCol)=(1/sqrt(nbIndiv))*norm(tableau(:,tabIndCol))
end
retour = tableau
for tabIndCol = 1:nbCarac
retour(:,tabIndCol) = tableau(:,tabIndCol) /tabEcartTypes(tabIndCol)
end
endfunction
function [composante1,composante2] = composantePrincipale(vecteurPropre1, vecteurPropre2, tableauCR)
[nbIndiv,nbCarac] = size(tableauCR)
composante1 = tableauCR*vecteurPropre1
composante2 = tableauCR*vecteurPropre2
endfunction
function[vap,vep]=valsP(matCorrel)
[vep,diagevals]=spec(matCorrel)
vap=diag(diagevals)
endfunction
function [retour] = matriceCorrelation(tableau)
[nbIndiv, nbCarac] = size(tableau);
for tabIndColA = 1:nbCarac
for tabIndColB = 1:nbCarac
disp(tableau(:, tabIndColA))
matCorr(tabIndColA, tabIndColB) = tableau(:, tabIndColA)'*tableau(:, tabIndColB)
matCorr(tabIndColA, tabIndColB) = (1/nbIndiv)*(matCorr(tabIndColA, tabIndColB))
end
end
retour = matCorr
endfunction
function [retour] = functionBase(valeurP, vectP)
retour = [0;0]
disp(retour)
[m, k] = max(valeurP, 'r')
valeurP(k,1) = -1000
disp("k :")
disp(k)
[m2, k2] = max(valeurP, 'r')
valeurP(k2,1) = -1000
retour(1,1) = vectP(k,1)
retour(2,1) = vectP(k2,1)
endfunction
function qualite = QualiteRepresentationIndividu(Base,Z, comp1, comp2)
nbIndividu = size(Z,"r");
nbAxe = size(Base,"c");
Q2 = zeros(nbIndividu,2);
for i = 1 : nbIndividu
scal = ((Z(i,:)')'*(Base(:,comp1)));
norme = norm(Z(i,:));
Q2(i,1) = (scal*scal/(norme*norme));
scal = ((Z(i,:)')'*(Base(:,comp2)));
norme = norm(Z(i,:));
Q2(i,2) = (scal*scal/(norme*norme));
end
endfunction
function [vap, vep]=valsP(A)
[vep, diagevals]=spec(A)
vap=diag(diagevals)
endfunction
function nuagePoints(MatCoord,i,j);
xset("font",4,3);
x = (max(MatCoord(:, i)) - min(MatCoord(:, i))) / 20;
xmin = min(MatCoord(:, i)) - x;
xmax = max(MatCoord(:, i)) + x;
y = (max(MatCoord(:, j)) - min(MatCoord(:, j))) / 20;
ymin = min(MatCoord(:, j)) - y;
ymax = max(MatCoord(:, j)) + y;
plot2d(MatCoord(:, i),MatCoord(:, j), -3, "031", rect = [xmin,ymin,xmax,ymax]);
n = size(MatCoord, "r");
for l = 1:n,
xstring(Coord(l, i), MatCoord(l, j), string(l));
end;
endfunction;
function execProjet()
[fd,SST,Sheetnames,Sheetpos] = xls_open('Voitures.xls')
[m,TextInd] = xls_read(fd,Sheetpos(1))
mclose(fd)
tabCR = tableauCentreReduit(m);
matCor = matriceCorrelation(tabCR);
[valeursP, vecteursP] = valsP(matCor);
basePlan = functionBase(valeursP, vecteursP);
//qualite = QualiteRepresentationInd0(basePlan, ???
[composante1, composante2] = composantePrincipale(vecteursP(:,1), vecteursP(:,2), tabCR);
CercleCorrel(tabCR);
//nuagePoints(?, ?, ?);
endfunction
|
ea475e6f8150918c87860dee0bcc58d674b80ce5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.28/Exa2_28.sce | d2970619f0236f7b4443833b2346ee6cf50c7e38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | Exa2_28.sce | //Exa 2.28
clc;
clear;
close;
//Given data :
format('v',6);
phase=3;//no. of phase
Efficiency=90;//in %
Speed=480;//in rpm
VL=400;//in volt
IL=75;//in Ampere
cosfi=0.77;//powerfactor(unitless)
d=0.75;//diameter of pulley in meter
Pin_motor=sqrt(3)*VL*IL*cosfi;//Power input of motor in watts
OutputPower=Pin_motor*Efficiency/100;//in watts
Omega=Speed*2*%pi/60;//angular speed in radians/sec
Torque=OutputPower/Omega;//in N-meter
Torque=Torque/9.81;//in Kg-meter
PullOnBelt=Torque/(d/2);//in Kg
disp(PullOnBelt,"Pull On Belt(in Kg.) : "); |
9c971971233164b7f1045c77133a38e86a977fd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/4_3data.sci | d298ea7402570dfbbffc228e20d5a6a3d297867a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | sci | 4_3data.sci | CD=4;//given in m
BD=3;//given in m
Loadc=30;//given in KN |
a893a0a19e2ada45079243dca64d49ebdf136c38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.28/Ex5_28.sce | fdc6a03c40e4d55a5e90f1a312d2cbf15dfad250 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | Ex5_28.sce | //pagenumber 306 example 28
clear
re=4*10^3;//ohm
r1=4*10^3;//ohm
hie=1.1*10^3;//ohm
resist=10*10^3;//ohm
hfe=50;
rb=10*10^3;//ohm
r=1*10^3;//ohm
colres=5*10^3;//ohm
//(1) current gain
ri=rb*hie/(rb+hie);
curgai=(1/2.04)*((rb)/(rb+hie))*((-hfe*colres)/(colres+r1));
disp("current gain = "+string((curgai)));
//(2) voltage gain
volgai=curgai*r1/r;
disp("voltage gain = "+string((volgai)));
//(3) tranconductance
conduc=volgai/r1;
disp("transconductance = "+string((conduc))+"ampere per volt");
//transresistance
resist=resist*volgai;
disp("transresistance = "+string((resist))+"ohm");
disp("input resistance = "+string((ri))+"ohm");
r=(40*10^3*colres)/(40*10^3+colres);
disp("output resistance = "+string((r))+"ohm");
|
fb6b538df21ea5cc883f4522a255a418adff05c8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/%m2sci.sci | 42006c35e5dca028b20702591a134056f7298ae8 | [
"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 | 547 | sci | %m2sci.sci | function [stk,txt,top]=%m2sci()
// multiplications
//!
// Copyright INRIA
txt=[]
s1=stk(top-1)
s2=stk(top)
[e1,te1]=s1(1:2);
[e2,te2]=s2(1:2);
if s1(5)=='10' then e1='str2code('+e1+')''',te1='0',end
if s2(5)=='10' then e2='str2code('+e2+')''',te2='0',end
//
if te2=='2' then e2='('+e2+')',end
if te1=='2' then e1='('+e1+')',end
if s1(3)=='1'&s1(4)=='1' then
stk=list(e1+'*'+e2,'1',s2(3),s2(4),s1(5))
elseif s2(3)=='1'&s2(4)=='1' then
stk=list(e1+'*'+e2,'1',s1(3),s1(4),s1(5))
else
stk=list(e1+'*'+e2,'1',s1(3),s1(4),s1(5))
end
top=top-1
|
04397684c64010a03d610e56fe44b8ec9e6f9919 | b26239033e0d21476c77ff50326b32231c2a3b00 | /Workspace/missionX1.sce | d7a09e1fc811dba68e7b55653602968cf6a8f01e | [] | no_license | SmartGuyy/Exolife | 1c9a5bfdb8b16523e9681170fe4cb2cb12613e3a | eb477766dffe7edd9022d0cf46028980489c6277 | refs/heads/master | 2021-06-17T03:56:00.785128 | 2017-03-17T09:39:04 | 2017-03-17T09:39:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | missionX1.sce |
load('C:\Users\DimitriXPS\Documents\GitHub\Exolife\Exolife\Images\Mission 8\Asellus Secundus.dat');
imgF=ifft(imgT);
display_gray(imgF);
|
1c51dd5424af34cae546a0742b4fb943e9e5e78a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/scicos/standard_inputs.sci | f205a7b62e77aa105981ead528ba599c72f27206 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 852 | sci | standard_inputs.sci | function [x,y,typ]=standard_inputs(o)
//get position of inputs ports and clock inputs port for a standard block
// the input ports are located on the left (or rigth if tilded) vertical
// side of the block, regularly located from top to bottom
// the clock input ports are located on the top horizontal side
// side of the block, regularly located from left to right
xf=60
yf=40
graphics=o(2)
model=o(3)
orig=graphics(1);sz=graphics(2);orient=graphics(3);
inp=size(model(2),1);clkinp=size(model(4),1);
if orient then
xo=orig(1)
dx=-xf/7
else
xo=orig(1)+sz(1)
dx=yf/7
end
if inp==0 then
x=[];y=[],typ=[]
else
y=orig(2)+sz(2)-(sz(2)/(inp+1))*(1:inp)
x=(xo+dx)*ones(y)
typ=ones(x)
end
if clkinp<>0 then
x=[x,orig(1)+(sz(1)/(clkinp+1))*(1:clkinp)]
y=[y,(orig(2)+yf/7+sz(2))*ones(1,clkinp)]
typ=[typ,-ones(1,clkinp)]
end
|
d384b361da90df422226cb9439cc8aec35b85d4e | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oi_hrz_ind/~BivLCM-SR-bfas_oi_hrz_ind-PLin-VLin.tst | f3b3ef7e3f3e334cfb0b5e2c1456707705f6b435 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_oi_hrz_ind-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.265733D+00
2 -0.173867D-02 0.210933D-02
3 0.506146D-01 -0.750560D-03 0.217133D+00
4 -0.104650D-02 0.309522D-03 -0.181929D-02 0.181063D-02
5 -0.157246D-02 0.122903D-04 0.344173D-03 0.111081D-03 0.353073D-02
6 0.322033D-03 0.306610D-04 -0.207022D-03 0.232250D-04 -0.113082D-03
7 -0.670430D-03 -0.140392D-03 0.407760D-03 0.167556D-03 0.746361D-03
8 0.657923D-05 0.356076D-05 -0.401530D-03 0.161652D-05 0.997348D-04
9 -0.425268D+00 0.216252D-01 -0.700215D-01 0.157608D-01 0.525660D-01
10 -0.379609D+00 -0.106122D-02 0.876288D-01 -0.178164D-02 0.166697D+00
11 0.202745D-01 0.591999D-02 -0.119877D-01 0.160371D-01 0.259052D-02
12 0.236517D-01 0.275086D-01 -0.373587D+00 0.491734D-01 0.326913D-01
13 0.490524D-01 -0.450667D-02 0.312392D-01 0.606415D-03 -0.568520D-02
14 -0.333532D+00 0.456530D-02 -0.464089D+00 0.653746D-02 0.268827D-01
15 -0.231205D+01 -0.250598D-01 -0.352082D+00 -0.640470D-02 -0.708966D-01
16 -0.169365D-01 -0.740061D-02 -0.133053D-01 0.401433D-03 0.109245D-03
17 0.574940D-02 0.101087D-03 0.175180D-02 -0.539796D-05 -0.423199D-03
18 -0.213897D+00 -0.179131D-01 -0.346788D+00 -0.149798D-01 -0.191193D-01
19 -0.730114D-01 -0.184043D-02 0.503562D-01 0.319624D-02 0.427227D-02
20 -0.108719D-01 0.556486D-02 -0.473462D+00 -0.242212D-01 -0.146365D-01
21 0.645428D-01 -0.137966D-03 -0.772375D-01 -0.232107D-02 -0.424836D-02
22 0.831876D-04 0.113522D-03 0.229148D-02 -0.594559D-04 -0.767956D-04
23 -0.776640D-03 -0.312273D-03 0.216399D-02 -0.509431D-02 0.981160D-03
24 -0.458515D-03 -0.154724D-03 -0.210745D-02 0.106221D-03 -0.733797D-04
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.662597D-03
7 0.737404D-03 0.371135D-02
8 0.184193D-03 -0.294011D-03 0.240168D-02
9 -0.124855D-02 0.360638D-01 -0.158206D-01 0.346604D+02
10 -0.679125D-02 0.290404D-01 0.958046D-02 0.205111D+01 0.165374D+02
11 0.940333D-02 0.661088D-02 0.754585D-02 0.627137D+01 0.170613D+01
12 0.515249D-02 -0.503080D-03 0.605426D-01 0.822975D+01 0.124715D+01
13 0.446081D-01 0.112024D+00 0.325539D-01 0.219785D+01 0.689648D+00
14 0.227426D-01 0.162919D-01 0.176468D+00 0.232925D+01 0.398653D+01
15 -0.167992D-01 -0.160149D-01 -0.380161D-01 0.160180D+01 -0.288601D+01
16 -0.157423D-03 0.187525D-02 -0.687326D-03 0.567059D+00 -0.213104D-01
17 0.564658D-04 0.344837D-04 0.261133D-03 -0.112688D+00 -0.385561D-01
18 -0.170500D-01 -0.772948D-01 -0.224295D-01 -0.352815D-01 -0.163868D+01
19 -0.466726D-02 0.122654D-01 -0.753491D-02 0.112108D+01 0.678021D+00
20 -0.119544D-01 0.354352D-01 -0.121242D+00 -0.638474D+00 -0.133385D+01
21 0.471848D-02 -0.147572D-01 0.964364D-02 -0.903700D+00 -0.548075D+00
22 -0.145266D-03 -0.137247D-03 -0.546421D-04 -0.271135D-01 -0.181672D-01
23 -0.329916D-03 -0.133095D-02 0.107858D-02 0.407328D-01 -0.349524D-01
24 0.148003D-05 -0.831640D-04 -0.374716D-03 -0.911321D-02 -0.156543D-02
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.291158D+02
12 0.118443D+02 0.124900D+03
13 -0.674608D+00 0.323414D+01 0.114330D+02
14 0.450367D+00 0.106294D+02 0.291702D+01 0.446597D+02
15 -0.554791D+01 -0.101668D+01 -0.687408D+01 0.215748D+01 0.179758D+03
16 0.129238D+00 0.162932D+00 0.787440D-01 -0.597721D-01 0.157273D+01
17 -0.348795D-02 0.416070D-01 0.243505D-01 -0.129330D-01 -0.848746D+00
18 -0.366333D+01 -0.666705D+01 -0.474553D+01 -0.388015D+00 0.211112D+02
19 0.157041D+01 -0.294088D+00 -0.373102D+00 -0.591401D+00 0.281546D+01
20 0.140526D+01 -0.241852D+02 -0.213763D+01 -0.174842D+02 -0.394715D+00
21 -0.122185D+01 0.274384D+00 0.403484D+00 0.794746D+00 -0.243397D+01
22 -0.388121D-01 0.445939D-01 -0.733196D-02 -0.103919D-01 -0.169573D-01
23 0.150359D+00 0.445506D+00 -0.583364D-01 0.145333D+00 -0.246374D+00
24 -0.352603D-01 -0.345025D-01 -0.480427D-02 -0.511679D-01 0.460797D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.356463D+00
17 -0.222456D-01 0.109049D-01
18 0.244751D+00 -0.582990D-01 0.830390D+02
19 0.107811D+00 -0.274254D-01 0.663663D+00 0.277291D+01
20 -0.290051D-01 0.379871D-01 0.121081D+02 -0.596768D-01 0.134469D+03
21 -0.888706D-02 0.177289D-01 0.798377D+00 -0.252777D+01 0.281456D+00
22 -0.497742D-02 0.369921D-03 -0.362503D+00 -0.574851D-02 -0.850993D-01
23 0.140560D-02 0.368394D-02 0.126524D+00 -0.499830D-01 0.159742D+01
24 0.217450D-02 -0.484674D-03 -0.302952D-01 0.204857D-02 -0.623537D+00
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.287846D+01
22 -0.122599D-01 0.438813D-02
23 0.102963D+00 -0.254890D-02 0.238354D+00
24 -0.599097D-02 0.803343D-03 -0.205676D-01 0.740212D-02
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.073 1.000
3 0.211 -0.035 1.000
4 -0.048 0.158 -0.092 1.000
5 -0.051 0.005 0.012 0.044 1.000
6 0.024 0.026 -0.017 0.021 -0.074
7 -0.021 -0.050 0.014 0.065 0.206
8 0.000 0.002 -0.018 0.001 0.034
9 -0.140 0.080 -0.026 0.063 0.150
10 -0.181 -0.006 0.046 -0.010 0.690
11 0.007 0.024 -0.005 0.070 0.008
12 0.004 0.054 -0.072 0.103 0.049
13 0.028 -0.029 0.020 0.004 -0.028
14 -0.097 0.015 -0.149 0.023 0.068
15 -0.335 -0.041 -0.056 -0.011 -0.089
16 -0.055 -0.270 -0.048 0.016 0.003
17 0.107 0.021 0.036 -0.001 -0.068
18 -0.046 -0.043 -0.082 -0.039 -0.035
19 -0.085 -0.024 0.065 0.045 0.043
20 -0.002 0.010 -0.088 -0.049 -0.021
21 0.074 -0.002 -0.098 -0.032 -0.042
22 0.002 0.037 0.074 -0.021 -0.020
23 -0.003 -0.014 0.010 -0.245 0.034
24 -0.010 -0.039 -0.053 0.029 -0.014
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.470 1.000
8 0.146 -0.098 1.000
9 -0.008 0.101 -0.055 1.000
10 -0.065 0.117 0.048 0.086 1.000
11 0.068 0.020 0.029 0.197 0.078
12 0.018 -0.001 0.111 0.125 0.027
13 0.513 0.544 0.196 0.110 0.050
14 0.132 0.040 0.539 0.059 0.147
15 -0.049 -0.020 -0.058 0.020 -0.053
16 -0.010 0.052 -0.023 0.161 -0.009
17 0.021 0.005 0.051 -0.183 -0.091
18 -0.073 -0.139 -0.050 -0.001 -0.044
19 -0.109 0.121 -0.092 0.114 0.100
20 -0.040 0.050 -0.213 -0.009 -0.028
21 0.108 -0.143 0.116 -0.090 -0.079
22 -0.085 -0.034 -0.017 -0.070 -0.067
23 -0.026 -0.045 0.045 0.014 -0.018
24 0.001 -0.016 -0.089 -0.018 -0.004
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 0.196 1.000
13 -0.037 0.086 1.000
14 0.012 0.142 0.129 1.000
15 -0.077 -0.007 -0.152 0.024 1.000
16 0.040 0.024 0.039 -0.015 0.196
17 -0.006 0.036 0.069 -0.019 -0.606
18 -0.075 -0.065 -0.154 -0.006 0.173
19 0.175 -0.016 -0.066 -0.053 0.126
20 0.022 -0.187 -0.055 -0.226 -0.003
21 -0.133 0.014 0.070 0.070 -0.107
22 -0.109 0.060 -0.033 -0.023 -0.019
23 0.057 0.082 -0.035 0.045 -0.038
24 -0.076 -0.036 -0.017 -0.089 0.040
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.357 1.000
18 0.045 -0.061 1.000
19 0.108 -0.158 0.044 1.000
20 -0.004 0.031 0.115 -0.003 1.000
21 -0.009 0.100 0.052 -0.895 0.014
22 -0.126 0.053 -0.601 -0.052 -0.111
23 0.005 0.072 0.028 -0.061 0.282
24 0.042 -0.054 -0.039 0.014 -0.625
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.109 1.000
23 0.124 -0.079 1.000
24 -0.041 0.141 -0.490 1.000
|
ee36ffa30bc94aaecff231c22f460e5d1ec36079 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH23/EX23.2/Ex23_2.sce | 32542c01ab4631bcbbdc57cd447b09ce87c86a0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | Ex23_2.sce | // Initilization of variables
m=600 // kg // mass of the roller
r=0.25 // m // radius of the roller
P=850 // N // Force
v=3 // m/s // velocity to be acquired
theta=30 // degree // angle made by v with the force P
// Calculations
// The distance required to be rolled is given by equating the Work done between positions 1 & 2 as,
x=((3/4)*m*v^2)/(P*cosd(theta)) // m
// Results
clc
printf('The distance required to be rolled is %f m \n',x)
|
1e5980546c09a0a7fbe98f8cd40ab6f47846b9e3 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.11_12.tst | 721cad6617e63188c0d7fce13d6ef43f2816c3ca | [] | 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 | 35,883 | tst | bow.11_12.tst | 11 5:0.5 7:3.0 9:0.4 12:0.06451612903225806 15:1.0 31:0.14285714285714285 41:2.0 46:0.14285714285714285 50:0.5 53:0.25 59:0.16666666666666666 66:0.1111111111111111 105:0.07142857142857142 110:0.1 111:0.5 153:0.5 324:1.0 330:1.0 342:0.07692307692307693 348:0.3333333333333333 457:1.0 508:2.0 582:1.0 618:2.0 670:0.5 960:1.0 1085:1.0 1121:0.16666666666666666 1125:1.0 1256:1.0 1441:1.0 1517:1.0 2452:0.3333333333333333 2659:1.0 3288:1.0 3438:1.0 3815:1.0 4253:1.0 4441:1.0 5885:0.5
11 3:0.5 7:1.0 9:0.2 12:0.06451612903225806 15:1.0 18:0.5 24:0.2 31:0.14285714285714285 45:0.5 48:0.3333333333333333 50:0.5 52:0.021739130434782608 55:0.6666666666666666 59:0.3333333333333333 66:0.1111111111111111 103:1.0 106:0.2 110:0.1 111:0.5 126:1.0 144:0.5 677:1.0 755:0.1111111111111111 938:1.0 980:1.0 1037:1.0 1102:1.0 1315:0.5 1993:1.0 2541:1.0 2651:1.0 3974:1.0 5777:1.0
11 7:1.0 9:0.4 12:0.06451612903225806 18:0.25 41:1.0 59:0.16666666666666666 106:0.2 110:0.1 328:0.3333333333333333 406:0.5 572:1.0 681:1.0 964:0.09090909090909091 976:1.0 983:1.0 1053:1.0 1125:1.0 1554:0.125 1731:1.0 2005:1.0 5520:1.0
11 7:1.0 8:1.0 9:0.8 12:0.12903225806451613 18:0.25 31:0.42857142857142855 50:1.0 52:0.043478260869565216 55:0.3333333333333333 66:0.2222222222222222 82:0.5 99:0.25 102:0.3333333333333333 104:0.5 110:0.1 128:0.5 153:0.5 182:0.5 185:0.2 189:1.0 260:1.0 275:0.1 276:1.0 317:1.0 328:0.3333333333333333 348:0.3333333333333333 450:0.25 647:1.0 788:0.5 960:1.0 979:1.0 980:1.0 1005:1.0 1256:1.0 1409:1.0 1463:1.0 1486:0.3333333333333333 1531:0.5 1544:1.0 2086:1.0 2111:1.0 2159:1.0 2721:1.0 3361:1.0 3707:1.0 5550:1.0 6153:1.0 7896:1.0
11 9:0.2 12:0.0967741935483871 22:3.0 41:1.0 48:0.3333333333333333 50:1.0 52:0.021739130434782608 60:0.5 106:0.2 110:0.1 164:1.0 214:1.0 237:0.16666666666666666 279:0.08333333333333333 388:0.5 390:1.0 672:1.0 745:0.5 771:1.0 776:1.0 812:0.5 976:1.0 1187:1.0 1251:1.0 1322:1.0 1463:1.0 1577:1.0 1869:1.0 2049:1.0 2638:1.0 2987:1.0 3451:1.0 3583:1.0 4484:1.0 6879:1.0
11 7:2.0 8:1.0 12:0.03225806451612903 15:1.0 16:0.3333333333333333 18:0.5 22:1.0 26:0.5 40:0.25 48:0.3333333333333333 50:1.0 66:0.2222222222222222 76:1.0 110:0.2 113:1.0 127:0.5 165:0.25 180:0.5 185:0.2 236:0.125 240:0.5 269:1.0 275:0.1 508:1.0 664:1.0 818:1.0 1137:1.0 1212:1.0 1251:1.0 1472:1.0 1851:1.0 1946:2.0 2343:1.0 2367:1.0 2650:1.0 2976:1.0 3953:1.0 6468:2.0 6665:1.0 6934:1.0 6991:1.0 8024:1.0
11 7:5.0 12:0.03225806451612903 14:1.0 15:1.0 18:0.5 33:1.0 50:1.5 52:0.021739130434782608 59:0.16666666666666666 66:0.4444444444444444 99:0.25 102:0.3333333333333333 110:0.2 111:0.5 150:0.3333333333333333 226:1.0 240:0.5 286:1.0 342:0.07692307692307693 403:0.3333333333333333 450:0.25 504:0.5 516:0.5 544:1.0 777:1.0 803:1.0 960:1.0 1118:0.3333333333333333 1476:0.5 2650:1.0 2708:0.5 2781:1.0 2885:1.0 2980:1.0 3057:1.0 4076:1.0 4354:1.0 4652:1.0 4932:1.0 4933:1.0 4934:1.0 5034:1.0 5524:1.0 6283:1.0 7661:1.0
11 7:1.0 8:1.0 9:0.4 11:0.25 12:0.06451612903225806 18:0.25 22:1.0 25:1.0 26:0.5 31:0.5714285714285714 45:0.5 46:0.2857142857142857 48:0.3333333333333333 50:0.5 52:0.021739130434782608 55:0.3333333333333333 59:0.16666666666666666 66:0.1111111111111111 70:0.1 99:0.5 110:0.1 124:1.0 126:1.0 127:1.0 134:0.2 180:0.5 183:0.3333333333333333 189:1.0 191:1.0 242:0.3333333333333333 243:1.0 323:0.5 342:0.07692307692307693 361:0.5 432:1.0 455:1.0 542:1.0 745:0.5 746:1.0 795:1.0 805:0.3333333333333333 1023:1.0 1095:1.0 1150:1.0 1277:1.0 1440:0.5 1486:0.3333333333333333 1884:1.0 2178:0.5 2275:1.0 2570:1.0 3159:1.0 3441:1.0 3876:1.0 4086:1.0 4167:0.5 4557:1.0 7310:1.0
11 7:1.0 9:0.2 12:0.12903225806451613 15:1.0 24:0.2 31:0.42857142857142855 33:1.0 41:1.0 47:0.5 48:0.3333333333333333 66:0.2222222222222222 76:1.0 105:0.07142857142857142 134:0.2 189:1.0 267:0.3333333333333333 269:1.0 275:0.1 278:1.0 286:1.0 303:0.5 362:0.5 380:1.0 516:0.5 697:1.0 893:0.5 1300:1.0 1374:1.0 2640:0.5 2924:1.0 3154:1.0 3650:1.0 5403:0.5 6034:1.0 8023:1.0
11 7:3.0 9:0.4 11:0.25 16:0.6666666666666666 31:0.14285714285714285 47:0.5 48:0.3333333333333333 50:1.0 52:0.021739130434782608 59:0.6666666666666666 78:1.0 102:0.3333333333333333 110:0.1 135:0.3333333333333333 226:1.0 298:1.0 342:0.07692307692307693 355:2.0 823:2.0 964:0.09090909090909091 1121:0.16666666666666666 1129:1.0 1212:2.0 1277:1.0 1657:1.0 1846:0.3333333333333333 1919:1.0 2296:1.0 2562:1.0 2599:1.0 2892:1.0 3747:1.0 4373:1.0 4569:1.0 5889:1.0 6126:1.0 6804:1.0
11 9:0.6 12:0.0967741935483871 14:1.0 18:0.25 31:0.14285714285714285 46:0.14285714285714285 50:0.5 52:0.043478260869565216 76:1.0 78:1.0 108:0.5 109:1.0 110:0.2 126:1.0 127:0.5 128:0.5 240:0.5 278:1.0 342:0.07692307692307693 405:1.0 450:0.25 618:1.0 622:0.3333333333333333 661:0.3333333333333333 746:1.0 795:1.0 801:1.0 868:1.0 1113:0.3333333333333333 1320:1.0 1463:1.0 1536:1.0 1629:0.25 1733:1.0 1866:1.0 1920:1.0 2945:1.0 3598:1.0
11 7:1.0 9:0.2 18:0.25 31:0.14285714285714285 46:0.14285714285714285 50:0.5 55:0.6666666666666666 105:0.07142857142857142 111:0.5 180:0.5 206:0.3333333333333333 329:1.0 544:1.0 579:1.0 654:1.0 657:0.3333333333333333 1059:1.0 1332:1.0 1476:0.5 1554:0.125 1963:1.0 2128:1.0 2873:1.0 3171:1.0 3299:0.5 3696:1.0 3986:1.0 7155:1.0
11 7:1.0 9:0.4 12:0.06451612903225806 31:0.14285714285714285 47:0.5 48:0.3333333333333333 52:0.021739130434782608 66:0.1111111111111111 102:0.3333333333333333 106:0.2 110:0.1 111:0.5 126:1.0 206:0.3333333333333333 236:0.125 275:0.1 282:0.5 295:1.0 328:0.3333333333333333 330:1.0 350:1.0 408:1.0 556:0.3333333333333333 661:0.3333333333333333 664:1.0 1001:1.0 1153:1.0 1212:1.0 1929:1.0 2345:1.0 2801:1.0 2981:1.0 3301:1.0 3779:1.0 4159:1.0 4700:1.0 5137:1.0 7713:1.0
11 7:3.0 9:0.4 11:0.25 14:1.0 16:0.6666666666666666 22:1.0 31:0.14285714285714285 41:1.0 66:0.2222222222222222 77:1.0 99:0.25 110:0.1 126:1.0 128:0.5 182:0.5 275:0.2 276:1.0 664:1.0 688:0.5 795:1.0 964:0.09090909090909091 1203:1.0 1212:1.0 1297:1.0 1730:1.0 1884:1.0 2287:1.0 2532:1.0 2640:0.5 2934:1.0 2982:1.0 6088:1.0
11 2:1.0 7:1.0 9:0.4 12:0.06451612903225806 14:1.0 18:0.25 50:0.5 52:0.021739130434782608 55:0.3333333333333333 59:0.16666666666666666 60:0.5 66:0.1111111111111111 81:0.5 85:1.0 113:1.0 131:1.0 135:0.3333333333333333 150:0.3333333333333333 176:1.0 206:0.3333333333333333 215:0.08333333333333333 328:0.3333333333333333 350:1.0 403:0.3333333333333333 409:1.0 521:0.5 556:0.3333333333333333 558:1.0 852:1.0 923:1.0 1231:1.0 1439:1.0 1664:1.0 2033:0.3333333333333333 3451:1.0 3659:1.0 4409:1.0 4790:1.0 5278:1.0 5482:1.0 5671:1.0
11 7:1.0 12:0.0967741935483871 18:0.25 22:1.0 31:0.14285714285714285 50:0.5 52:0.021739130434782608 66:0.1111111111111111 67:1.0 70:0.1 85:1.0 99:0.25 106:0.2 110:0.2 128:1.0 165:0.25 267:0.16666666666666666 278:1.0 279:0.08333333333333333 286:1.0 309:1.0 507:1.0 661:0.3333333333333333 677:1.0 811:1.0 878:1.0 1276:0.3333333333333333 1495:0.3333333333333333 1566:1.0 1813:1.0 1971:0.5 2313:0.5 2688:0.5 2924:1.0 3121:1.0 4840:1.0
11 7:2.0 9:0.2 12:0.03225806451612903 15:2.0 18:0.25 27:0.5 31:0.2857142857142857 48:0.3333333333333333 52:0.021739130434782608 53:0.25 59:0.16666666666666666 66:0.2222222222222222 88:0.2 99:0.25 102:0.3333333333333333 110:0.1 111:0.5 125:0.5 126:1.0 128:1.0 214:1.0 226:1.0 236:0.25 237:0.16666666666666666 275:0.2 298:1.0 321:1.0 330:1.0 390:1.0 450:0.25 455:1.0 507:1.0 556:0.3333333333333333 571:1.0 639:0.5 827:1.0 960:1.0 979:1.0 980:1.0 1121:0.16666666666666666 1405:0.25 1410:1.0 1449:1.0 1616:1.0 1866:1.0 2213:1.0 2317:1.0 2640:0.5 3253:1.0 3443:1.0 3721:1.0 3801:1.0 3815:1.0 4707:1.0 4989:1.0 5060:1.0 5141:1.0 5220:1.0 5519:1.0
11 7:1.0 9:0.2 12:0.03225806451612903 15:1.0 31:0.42857142857142855 41:1.0 52:0.043478260869565216 55:0.3333333333333333 59:0.3333333333333333 66:0.1111111111111111 82:0.5 106:0.2 110:0.4 111:0.5 126:1.0 182:0.5 191:1.0 221:0.5 236:0.125 276:1.0 348:0.3333333333333333 390:2.0 432:1.0 576:1.0 595:1.0 661:0.3333333333333333 745:0.5 757:1.0 783:1.0 811:1.0 863:1.0 883:1.0 1053:1.0 1118:0.3333333333333333 1193:1.0 1223:1.0 1276:0.3333333333333333 1528:1.0 2475:1.0 3301:1.0 3656:1.0 3661:1.0 4167:0.5 6287:1.0 7398:1.0
11 7:1.0 12:0.03225806451612903 15:2.0 22:1.0 31:0.14285714285714285 45:0.5 46:0.14285714285714285 47:0.5 48:0.3333333333333333 50:1.0 52:0.021739130434782608 55:0.3333333333333333 66:0.3333333333333333 91:1.0 297:1.0 298:1.0 342:0.07692307692307693 465:1.0 556:0.3333333333333333 610:0.5 816:1.0 861:1.0 862:1.0 936:0.25 1095:1.0 1276:0.3333333333333333 1396:1.0 1984:1.0 2054:1.0 2388:1.0 2638:1.0 2861:1.0 3373:0.25 3632:1.0 4059:1.0 6689:1.0 7166:1.0
11 16:0.3333333333333333 31:0.14285714285714285 41:1.0 46:0.14285714285714285 47:1.0 50:0.5 52:0.043478260869565216 99:0.5 102:0.3333333333333333 105:0.07142857142857142 106:0.2 110:0.1 134:0.2 182:0.5 183:0.3333333333333333 237:0.16666666666666666 256:1.0 267:0.16666666666666666 275:0.1 279:0.08333333333333333 298:1.0 323:0.5 343:1.0 362:0.5 387:1.0 450:0.25 482:1.0 556:0.3333333333333333 745:0.5 962:0.3333333333333333 964:0.09090909090909091 1053:1.0 1657:1.0 2358:1.0 2380:1.0 2982:1.0 3248:0.5 4219:1.0 4264:1.0 4366:1.0 4432:1.0 4944:1.0 6060:1.0 6900:1.0 7795:1.0 8023:1.0
11 7:2.0 46:0.14285714285714285 50:0.5 59:0.16666666666666666 66:0.3333333333333333 97:1.0 102:0.3333333333333333 125:0.5 135:0.3333333333333333 155:0.5 222:0.5 237:0.16666666666666666 275:0.1 276:1.0 355:1.0 362:0.5 465:1.0 513:0.5 823:1.0 868:1.0 943:1.0 980:1.0 1409:1.0 1410:1.0 1414:1.0 1461:1.0 1554:0.125 1968:1.0 1996:1.0 2178:0.5 2810:1.0 3823:1.0 5838:1.0
11 7:2.0 11:0.25 12:0.06451612903225806 14:1.0 15:2.0 18:0.5 22:2.0 24:0.2 26:0.5 31:0.2857142857142857 45:0.5 46:0.2857142857142857 50:0.5 52:0.08695652173913043 53:0.25 55:0.3333333333333333 66:0.1111111111111111 103:0.5 110:0.1 191:1.0 236:0.125 260:1.0 275:0.2 336:1.0 439:1.0 745:0.5 755:0.1111111111111111 762:1.0 868:1.0 1101:0.5 1118:0.3333333333333333 1131:1.0 1296:1.0 1320:1.0 2101:1.0 2206:1.0 2444:1.0 2452:0.3333333333333333 2766:1.0 2891:1.0 3349:1.0 3749:0.5 5011:1.0 6466:1.0 6528:1.0
11 2:1.0 7:4.0 9:0.2 15:1.0 16:0.3333333333333333 31:0.14285714285714285 43:1.0 48:0.3333333333333333 52:0.06521739130434782 59:0.5 88:0.2 103:0.5 105:0.07142857142857142 110:0.1 113:1.0 135:0.3333333333333333 136:1.0 176:1.0 267:0.16666666666666666 275:0.1 282:0.5 328:0.3333333333333333 362:0.5 445:1.0 508:2.0 521:0.5 528:1.0 688:0.5 1095:1.0 1468:1.0 1729:1.0 1778:0.5 2160:1.0 2161:1.0 2162:1.0 2657:1.0 3276:1.0 3283:1.0 3814:1.0 4283:1.0 5359:1.0 5792:1.0 7957:1.0
11 2:1.0 7:2.0 9:0.6 12:0.0967741935483871 14:1.0 18:0.5 22:1.0 52:0.15217391304347827 53:0.25 59:0.16666666666666666 70:0.1 105:0.07142857142857142 111:0.5 128:0.5 155:0.5 165:0.25 183:0.3333333333333333 215:0.16666666666666666 267:0.16666666666666666 286:1.0 320:1.0 342:0.07692307692307693 450:0.25 516:0.5 687:0.5 755:0.1111111111111111 783:1.0 811:1.0 837:1.0 868:1.0 960:1.0 1121:0.16666666666666666 1320:1.0 1456:1.0 1463:1.0 1727:1.0 2364:1.0 3044:1.0 3147:1.0 3880:1.0 4310:1.0 5541:1.0 6528:1.0
11 8:1.0 9:0.4 11:0.25 12:0.06451612903225806 16:0.3333333333333333 22:1.0 42:1.0 52:0.021739130434782608 66:0.1111111111111111 70:0.1 99:0.25 150:0.3333333333333333 162:1.0 275:0.1 315:1.0 342:0.07692307692307693 508:1.0 524:1.0 582:1.0 755:0.1111111111111111 868:1.0 1072:1.0 1297:1.0 1440:0.5 1469:1.0 1727:1.0 2709:1.0 2945:1.0 3599:1.0 4759:1.0 6590:1.0
11 7:2.0 12:0.06451612903225806 14:1.0 31:0.14285714285714285 37:1.0 46:0.2857142857142857 50:1.5 52:0.043478260869565216 88:0.2 99:0.5 106:0.2 110:0.1 128:0.5 236:0.125 237:0.16666666666666666 260:1.0 282:0.5 440:1.0 445:1.0 468:1.0 1080:0.5 1193:1.0 1554:0.125 1804:1.0 2019:1.0 2286:0.5 3880:1.0 4827:1.0 8087:1.0
11 7:2.0 12:0.03225806451612903 14:1.0 30:1.0 31:0.14285714285714285 40:0.25 50:0.5 59:0.16666666666666666 99:0.25 113:1.0 127:0.5 128:1.0 189:1.0 237:0.16666666666666666 279:0.08333333333333333 309:1.0 328:0.3333333333333333 342:0.07692307692307693 362:0.5 465:1.0 938:1.0 960:1.0 964:0.09090909090909091 1025:0.25 1118:0.3333333333333333 1399:0.5 1538:1.0 1757:0.5 3533:2.0 3597:1.0 4181:1.0 5069:1.0
11 7:1.0 9:0.6 12:0.03225806451612903 15:1.0 31:0.2857142857142857 45:0.5 52:0.021739130434782608 55:0.3333333333333333 99:0.25 110:0.2 265:0.25 267:0.16666666666666666 346:0.5 448:0.5 450:0.25 465:1.0 666:1.0 1454:1.0 1603:1.0 2848:1.0 4933:1.0 5774:1.0 6262:1.0
11 12:0.03225806451612903 16:0.3333333333333333 18:0.25 22:2.0 26:0.5 46:0.14285714285714285 50:0.5 52:0.021739130434782608 55:1.3333333333333333 58:1.0 59:0.5 78:1.0 86:1.0 106:0.2 110:0.1 132:0.5 191:1.0 237:0.16666666666666666 293:0.3333333333333333 450:0.75 465:1.0 616:0.14285714285714285 755:0.1111111111111111 857:1.0 1066:1.0 1095:1.0 1176:1.0 1340:1.0 1461:1.0 2150:1.0 2629:1.0 2981:1.0 4221:1.0 6635:1.0
11 5:0.5 9:0.2 12:0.03225806451612903 15:1.0 31:0.14285714285714285 52:0.043478260869565216 55:0.6666666666666666 58:2.0 64:1.0 66:0.1111111111111111 88:0.2 103:0.5 105:0.07142857142857142 110:0.1 155:0.5 165:0.25 215:0.08333333333333333 221:0.5 222:0.5 279:0.08333333333333333 322:1.0 342:0.07692307692307693 348:0.3333333333333333 466:1.0 967:1.0 1106:1.0 1456:1.0 1494:1.0 1712:1.0 2296:1.0 2511:1.0 2784:1.0 3793:1.0 5608:1.0 6317:1.0
11 5:0.5 16:0.3333333333333333 45:0.5 48:0.3333333333333333 50:0.5 52:0.043478260869565216 55:0.3333333333333333 59:0.16666666666666666 76:1.0 81:0.5 103:0.5 189:1.0 215:0.08333333333333333 216:1.0 236:0.125 275:0.1 279:0.08333333333333333 296:0.5 536:1.0 618:1.0 1093:1.0 1121:0.16666666666666666 1340:1.0 1557:2.0 2605:1.0 4830:1.0 5100:1.0 5212:1.0 6249:1.0 7102:1.0 7733:1.0
11 7:1.0 12:0.03225806451612903 22:1.0 31:0.42857142857142855 40:0.25 41:1.0 46:0.42857142857142855 50:1.0 66:0.2222222222222222 81:0.5 106:0.2 110:0.1 117:1.0 124:1.0 128:0.5 162:1.0 182:0.5 195:1.0 279:0.08333333333333333 371:1.0 372:1.0 412:1.0 466:1.0 525:0.5 556:0.3333333333333333 811:1.0 842:1.0 884:0.2 964:0.09090909090909091 1486:0.3333333333333333 2653:1.0 2820:1.0 3841:1.0 3879:1.0 5396:1.0 5472:1.0 5608:1.0 6206:1.0 7990:1.0
11 7:1.0 12:0.03225806451612903 18:0.25 31:0.2857142857142857 34:0.5 47:0.5 50:0.5 59:0.16666666666666666 66:0.1111111111111111 110:0.1 128:0.5 135:0.6666666666666666 186:1.0 214:1.0 267:0.16666666666666666 346:0.5 808:1.0 2246:1.0 2511:1.0 3443:1.0 5100:1.0
11 7:1.0 9:0.2 12:0.03225806451612903 15:1.0 16:0.3333333333333333 31:0.14285714285714285 41:1.0 47:0.5 48:0.3333333333333333 50:0.5 52:0.043478260869565216 66:0.1111111111111111 105:0.07142857142857142 106:0.2 162:1.0 166:1.0 204:1.0 226:1.0 265:0.25 279:0.08333333333333333 284:1.0 309:1.0 348:0.3333333333333333 361:0.5 661:0.3333333333333333 812:0.5 1014:1.0 1089:1.0 1396:1.0 1495:0.3333333333333333 1517:1.0 1729:1.0 2650:1.0 2651:1.0 2696:1.0 4017:1.0 4538:1.0 6060:1.0 7033:1.0 7159:1.0
11 5:0.5 7:1.0 12:0.03225806451612903 15:2.0 22:2.0 33:1.0 48:0.3333333333333333 52:0.021739130434782608 55:0.3333333333333333 66:0.2222222222222222 127:0.5 237:0.16666666666666666 275:0.1 286:1.0 358:1.0 929:1.0 943:1.0 1165:1.0 1193:1.0 1495:0.3333333333333333 2161:1.0 2465:1.0 3349:1.0 3793:1.0 5036:1.0 5965:1.0
11 7:1.0 9:0.2 12:0.06451612903225806 16:0.3333333333333333 18:0.25 22:1.0 48:0.3333333333333333 50:0.5 52:0.021739130434782608 59:0.16666666666666666 75:0.2 126:1.0 236:0.125 276:1.0 282:0.5 336:1.0 343:1.0 645:1.0 729:0.5 788:0.5 938:1.0 3248:0.5 7504:1.0
11 7:1.0 12:0.0967741935483871 52:0.043478260869565216 55:0.3333333333333333 60:0.5 103:0.5 106:0.2 127:0.5 206:0.3333333333333333 215:0.08333333333333333 236:0.125 330:1.0 332:1.0 512:1.0 516:0.5 536:1.0 783:1.0 788:0.5 1249:1.0 1842:1.0 4504:1.0 8088:1.0
11 7:1.0 12:0.03225806451612903 15:2.0 33:1.0 41:1.0 50:0.5 52:0.043478260869565216 59:0.16666666666666666 66:0.1111111111111111 110:0.2 128:0.5 134:0.2 150:0.6666666666666666 166:1.0 182:0.5 215:0.08333333333333333 224:1.0 267:0.16666666666666666 358:1.0 390:1.0 406:0.5 516:0.5 572:1.0 611:1.0 1025:0.25 1030:1.0 1053:1.0 1908:0.3333333333333333 2543:1.0 3044:1.0 3991:1.0 5557:1.0 6262:1.0 6374:1.0
11 7:1.0 12:0.03225806451612903 16:0.3333333333333333 50:1.0 53:0.25 135:0.3333333333333333 215:0.08333333333333333 390:1.0 746:1.0 869:0.5 1170:1.0 1250:1.0 1346:1.0 1431:1.0 1469:1.0 1558:1.0 1956:1.0 2178:0.5 3547:1.0 5366:1.0
11 2:1.0 15:1.0 50:0.5 81:0.5 110:0.1 135:0.3333333333333333 153:0.5 215:0.08333333333333333 523:1.0 616:0.14285714285714285 1025:0.25 2054:1.0 2889:1.0 4310:1.0 6616:1.0
11 12:0.03225806451612903 18:0.25 48:0.3333333333333333 50:1.0 52:0.06521739130434782 66:0.1111111111111111 105:0.07142857142857142 106:0.4 110:0.1 153:0.5 215:0.08333333333333333 236:0.125 240:0.5 260:1.0 284:1.0 296:0.5 348:0.3333333333333333 432:1.0 528:1.0 1456:2.0 1476:0.5 2518:1.0 3079:1.0 3118:1.0 3880:1.0 4847:1.0
11 9:0.2 18:0.5 47:0.5 50:0.5 52:0.021739130434782608 53:0.25 55:0.3333333333333333 66:0.2222222222222222 70:0.1 82:0.5 103:0.5 110:0.1 136:1.0 255:1.0 373:1.0 390:1.0 485:1.0 556:0.3333333333333333 616:0.14285714285714285 746:1.0 853:1.0 938:1.0 1025:0.5 1456:1.0 2219:1.0 2318:1.0 2496:2.0 2599:1.0 2688:0.5 4141:1.0 4868:1.0 5855:1.0 5927:1.0 6086:1.0
11 5:0.5 7:2.0 9:0.2 12:0.03225806451612903 15:2.0 43:1.0 48:0.3333333333333333 50:0.5 52:0.06521739130434782 53:0.25 58:1.0 66:0.2222222222222222 102:0.6666666666666666 106:0.2 153:0.5 189:1.0 215:0.16666666666666666 240:0.5 339:1.0 346:0.5 355:1.0 455:1.0 525:0.5 755:0.2222222222222222 765:1.0 814:1.0 823:1.0 1276:0.3333333333333333 1464:1.0 1762:1.0 1908:0.3333333333333333 2541:1.0 2774:1.0 2848:1.0 2885:1.0 3772:1.0 3826:1.0 5557:1.0 5909:1.0 7543:1.0
11 18:0.25 41:1.0 50:0.5 59:0.16666666666666666 66:0.1111111111111111 106:0.2 136:1.0 236:0.125 279:0.08333333333333333 572:1.0 1032:1.0 2379:2.0 5136:1.0
11 15:1.0 33:1.0 66:0.1111111111111111 134:0.2 136:1.0 215:0.08333333333333333 342:0.07692307692307693 388:0.5 481:1.0 688:0.5 923:1.0 1541:1.0 1603:1.0 1800:1.0 1813:1.0 1908:0.3333333333333333 2095:1.0 2273:1.0 4193:4.0 4194:1.0 4566:1.0 6785:1.0
11 7:1.0 12:0.03225806451612903 18:0.25 66:0.1111111111111111 99:0.5 105:0.07142857142857142 106:0.2 110:0.1 113:1.0 127:0.5 197:1.0 328:0.3333333333333333 330:1.0 687:0.5 700:1.0 782:1.0 1178:1.0 2383:1.0 2441:1.0 3146:1.0 3373:0.25 6692:1.0
11 9:0.2 16:0.6666666666666666 18:0.25 48:0.3333333333333333 52:0.08695652173913043 53:0.25 66:0.1111111111111111 70:0.1 237:0.16666666666666666 295:1.0 322:1.0 331:1.0 465:1.0 871:1.0 1089:1.0 1212:1.0 1231:1.0 1362:2.0 1454:1.0 1558:1.0 1778:0.5 3055:1.0 7389:1.0
11 9:0.6 11:0.25 12:0.06451612903225806 18:0.25 22:1.0 23:1.0 31:0.14285714285714285 48:0.3333333333333333 50:0.5 52:0.043478260869565216 59:0.3333333333333333 66:0.2222222222222222 126:1.0 128:0.5 162:1.0 448:0.5 654:1.0 704:1.0 726:1.0 788:0.5 904:1.0 938:1.0 962:0.3333333333333333 964:0.09090909090909091 1095:1.0 1114:1.0 1167:1.0 1538:1.0 1629:0.25 1913:1.0 2497:0.5 3677:1.0 3887:1.0 4158:1.0 4310:1.0 4508:1.0 5212:1.0 5885:0.5
11 1:1.0 7:2.0 12:0.03225806451612903 16:0.3333333333333333 22:1.0 40:0.25 41:1.0 50:0.5 53:0.25 59:0.16666666666666666 66:0.1111111111111111 102:0.3333333333333333 105:0.07142857142857142 106:0.2 110:0.1 219:1.0 236:0.125 253:1.0 279:0.08333333333333333 368:1.0 390:1.0 460:1.0 536:1.0 695:1.0 745:0.5 776:1.0 777:1.0 816:1.0 884:0.2 927:1.0 1125:1.0 1361:1.0 1417:1.0 1801:1.0 2578:1.0 2778:1.0 2899:1.0 3747:1.0
11 1:1.0 7:2.0 12:0.03225806451612903 16:0.3333333333333333 18:0.25 40:0.25 41:2.0 46:0.14285714285714285 50:0.5 52:0.06521739130434782 59:0.16666666666666666 66:0.1111111111111111 102:0.3333333333333333 110:0.1 183:0.3333333333333333 219:1.0 279:0.08333333333333333 342:0.07692307692307693 346:0.5 390:2.0 445:1.0 572:1.0 763:1.0 777:1.0 927:1.0 1059:1.0 1095:1.0 1118:0.3333333333333333 1259:1.0 1361:1.0 1440:0.5 1548:0.5 1896:1.0 2049:1.0 2578:1.0 3353:1.0 3747:1.0 4044:1.0 4613:1.0
11 15:1.0 31:0.14285714285714285 50:1.5 52:0.021739130434782608 66:0.2222222222222222 99:0.25 102:0.3333333333333333 103:0.5 110:0.3 155:0.5 160:1.0 564:1.0 622:0.3333333333333333 755:0.1111111111111111 766:1.0 869:0.5 943:1.0 978:1.0 1113:0.3333333333333333 1137:1.0 1270:1.0 1276:0.3333333333333333 1531:0.5 2313:0.5 2931:0.5 3581:1.0 4077:1.0 4608:1.0
11 12:0.0967741935483871 15:1.0 26:0.5 48:0.3333333333333333 50:0.5 58:1.0 59:0.16666666666666666 66:0.1111111111111111 70:0.1 78:1.0 106:0.2 185:0.2 257:1.0 293:0.3333333333333333 341:0.5 388:0.5 466:1.0 516:0.5 580:1.0 653:1.0 745:0.5 766:1.0 849:1.0 1061:1.0 1121:0.16666666666666666 1259:1.0 1586:1.0 2095:1.0 5838:1.0
11 7:1.0 9:0.2 12:0.06451612903225806 14:1.0 15:3.0 16:0.6666666666666666 22:1.0 31:0.14285714285714285 43:1.0 44:1.0 50:0.5 59:0.16666666666666666 110:0.2 126:1.0 182:0.5 260:1.0 267:0.16666666666666666 348:0.3333333333333333 466:1.0 485:1.0 717:1.0 746:1.0 1113:0.3333333333333333 2336:0.3333333333333333 3463:1.0 5099:1.0 5100:1.0 6994:1.0
11 11:0.25 12:0.06451612903225806 14:1.0 16:0.3333333333333333 55:0.3333333333333333 105:0.07142857142857142 111:0.5 127:0.5 132:0.5 135:0.3333333333333333 153:0.5 236:0.125 310:0.3333333333333333 445:1.0 527:1.0 536:1.0 619:1.0 795:1.0 867:1.0 883:1.0 1178:1.0 1464:1.0 1990:1.0 2033:0.3333333333333333 2101:1.0 2316:1.0 3725:1.0 4077:1.0 5034:2.0 5035:1.0
11 11:0.25 12:0.03225806451612903 14:1.0 47:1.5 70:0.1 106:0.2 182:0.5 230:1.0 231:1.0 265:0.75 432:1.0 482:1.0 514:3.0 661:1.0 745:0.5 1276:0.3333333333333333 1332:1.0 1851:1.0 2640:0.5 2668:1.0 2781:1.0 4354:1.0
11 7:2.0 110:0.1 126:1.0 237:0.16666666666666666 355:1.0 445:1.0 465:1.0 823:1.0 2216:1.0 3171:1.0
11 7:1.0 8:1.0 9:0.4 18:0.25 22:1.0 41:1.0 47:0.5 50:0.5 52:0.021739130434782608 55:0.3333333333333333 58:1.0 59:0.3333333333333333 66:0.1111111111111111 70:0.1 110:0.1 127:0.5 222:0.5 267:0.3333333333333333 275:0.1 286:1.0 303:0.5 305:1.0 320:1.0 342:0.07692307692307693 450:0.25 713:1.0 755:0.1111111111111111 853:1.0 938:1.0 1165:1.0 1472:1.0 1851:1.0 2189:1.0 2465:1.0 2781:1.0 3180:1.0 5100:1.0 5917:1.0
11 9:0.2 11:0.25 16:0.3333333333333333 18:0.25 48:0.3333333333333333 50:1.0 59:0.3333333333333333 104:0.5 166:1.0 265:0.25 450:0.25 516:0.5 755:0.1111111111111111 1085:1.0 2306:1.0
11 11:0.5 12:0.03225806451612903 31:0.14285714285714285 50:0.5 52:0.021739130434782608 59:0.16666666666666666 66:0.2222222222222222 70:0.1 86:1.0 166:1.0 282:1.0 755:0.1111111111111111 1032:0.5 1072:1.0 1212:1.0 1431:1.0 3382:1.0 3385:1.0
11 16:0.3333333333333333 18:0.25 41:1.0 52:0.06521739130434782 59:0.16666666666666666 66:0.1111111111111111 88:0.4 102:0.3333333333333333 105:0.07142857142857142 110:0.1 564:1.0 755:0.1111111111111111 811:1.0 828:1.0 861:1.0 1025:0.25 1417:1.0 1452:1.0 1558:1.0 2657:1.0 2708:0.5 3111:1.0 4815:1.0 5444:1.0
11 12:0.0967741935483871 14:1.0 50:1.5 52:0.043478260869565216 55:0.3333333333333333 99:0.25 102:0.3333333333333333 103:0.5 105:0.07142857142857142 106:0.2 128:0.5 134:0.2 185:0.2 259:1.0 282:1.0 511:0.5 527:0.5 869:0.5 1102:1.0 1141:1.0 1429:1.0 1464:1.0 1506:1.0 1592:1.0 2372:1.0 2379:1.0 2903:1.0 5839:1.0 6673:1.0
11 7:2.0 12:0.03225806451612903 31:0.14285714285714285 50:1.0 52:0.10869565217391304 59:0.16666666666666666 66:0.1111111111111111 102:0.3333333333333333 126:1.0 144:0.5 153:0.5 178:1.0 256:1.0 275:0.1 534:1.0 1032:0.5 1085:1.0 1095:1.0 1212:1.0 1554:0.125 1757:0.5 3353:1.0 3793:1.0 4179:1.0 4230:1.0
11 5:1.5 9:0.2 11:0.25 12:0.06451612903225806 23:1.0 31:0.14285714285714285 52:0.021739130434782608 55:0.3333333333333333 66:0.1111111111111111 99:0.25 103:0.5 275:0.1 388:0.5 504:0.5 688:0.5 788:0.5 938:1.0 968:1.0 1289:1.0 1411:0.5 1957:1.0 2219:1.0 2286:0.5 2465:1.0 3391:0.5 3579:1.0 4179:1.0 4673:1.0
11 2:1.0 7:1.0 9:0.2 12:0.0967741935483871 15:1.0 50:0.5 52:0.021739130434782608 59:0.16666666666666666 105:0.14285714285714285 106:0.6 110:0.1 111:0.5 136:1.0 215:0.08333333333333333 236:0.125 242:0.3333333333333333 268:1.0 450:0.25 544:1.0 620:1.0 729:0.5 904:1.0 911:1.0 1186:1.0 1187:1.0 1834:1.0 1910:1.0 2521:1.0 2774:1.0 3725:1.0 3934:1.0 5615:1.0 6248:1.0
11 14:1.0 18:0.5 31:0.2857142857142857 41:1.0 99:0.25 110:0.1 269:1.0 448:0.5 582:1.0 646:1.0 755:0.1111111111111111 805:0.3333333333333333 1297:1.0 1442:1.0 1486:0.3333333333333333 3693:1.0
11 7:1.0 12:0.06451612903225806 15:1.0 18:0.25 31:0.14285714285714285 50:0.5 52:0.021739130434782608 66:0.1111111111111111 102:0.3333333333333333 215:0.08333333333333333 230:1.0 231:1.0 236:0.125 265:0.25 281:1.0 289:2.0 328:0.3333333333333333 355:1.0 393:1.0 408:1.0 481:1.0 646:1.0 688:0.5 717:1.0 1137:1.0 1230:1.0 1486:0.3333333333333333 1778:0.5 1831:1.0 1866:1.0 2696:1.0 3120:1.0 6246:1.0 6825:1.0
11 12:0.03225806451612903 50:0.5 66:0.1111111111111111 119:1.0 126:1.0 388:0.5 408:1.0 621:3.0 864:1.0 1383:2.0 1504:1.0 2318:1.0 2980:1.0 5633:1.0
11 7:1.0 11:0.25 12:0.0967741935483871 16:0.3333333333333333 18:0.25 48:0.3333333333333333 50:0.5 52:0.021739130434782608 53:0.25 59:0.5 66:0.2222222222222222 84:1.0 99:0.25 102:1.0 106:0.4 128:0.5 150:0.3333333333333333 153:1.5 183:0.3333333333333333 214:1.0 256:1.0 298:1.0 403:0.3333333333333333 482:1.0 688:0.5 755:0.1111111111111111 1095:1.0 1499:1.0 3373:0.25 3650:1.0 4804:1.0 5066:1.0 5410:1.0 5909:1.0 7414:1.0
11 14:1.0 15:1.0 31:0.2857142857142857 48:0.3333333333333333 50:0.5 52:0.043478260869565216 66:0.1111111111111111 102:0.3333333333333333 105:0.07142857142857142 106:0.2 126:1.0 204:1.0 224:1.0 348:0.3333333333333333 450:0.5 582:1.0 863:1.0 1315:0.5 1899:1.0 1928:1.0 2193:1.0 2270:1.0 2611:1.0 2830:1.0 4395:1.0 4432:1.0 4545:1.0 5988:1.0 6060:1.0
11 7:1.0 9:0.2 12:0.06451612903225806 18:0.25 37:1.0 50:0.5 52:0.021739130434782608 55:0.3333333333333333 81:0.5 106:0.4 110:0.1 153:0.5 256:1.0 284:1.0 319:0.3333333333333333 329:1.0 348:0.3333333333333333 367:1.0 563:1.0 1085:1.0 1141:1.0 1731:1.0 1805:1.0 2723:0.125 3301:1.0 4381:1.0 4382:0.3333333333333333 5050:1.0
11 12:0.0967741935483871 18:0.25 31:0.14285714285714285 50:0.5 66:0.1111111111111111 110:0.1 111:0.5 128:0.5 132:0.5 275:0.1 330:1.0 361:0.5 514:1.0 590:1.0 755:0.1111111111111111 849:1.0 884:0.2 1074:1.0 1129:2.0 1487:1.0 2193:1.0 2981:1.0 3836:1.0 5472:1.0 5775:1.0
11 7:2.0 9:0.2 11:0.25 12:0.03225806451612903 17:1.0 18:0.25 31:0.14285714285714285 50:0.5 55:0.3333333333333333 59:0.16666666666666666 99:0.25 102:0.3333333333333333 106:0.4 112:1.0 113:1.0 236:0.125 260:1.0 275:0.1 343:1.0 362:0.5 380:1.0 664:1.0 962:0.3333333333333333 966:1.0 1086:1.0 2318:1.0 2607:1.0 2723:0.125 3268:1.0 3269:1.0 7355:1.0
11 7:1.0 14:1.0 15:1.0 50:1.0 66:0.1111111111111111 110:0.1 112:1.0 275:0.1 284:1.0 321:1.0 348:0.3333333333333333 437:1.0 688:0.5 884:0.2 1129:1.0 1212:1.0 1405:0.25 1837:1.0 2640:0.5 3705:1.0
11 7:3.0 9:0.4 12:0.12903225806451613 22:1.0 31:0.14285714285714285 46:0.14285714285714285 50:0.5 52:0.043478260869565216 53:0.25 55:0.3333333333333333 59:0.16666666666666666 66:0.2222222222222222 99:0.25 105:0.07142857142857142 110:0.1 117:2.0 150:0.3333333333333333 177:1.0 236:0.125 310:0.3333333333333333 343:1.0 355:1.0 450:0.5 507:1.0 783:1.0 818:1.0 823:1.0 829:1.0 1053:1.0 1121:0.16666666666666666 1206:1.0 2733:1.0 3622:1.0 3650:1.0 3753:1.0 4522:1.0 5206:1.0 5820:1.0 5929:1.0 6213:1.0
11 7:1.0 12:0.03225806451612903 16:0.3333333333333333 22:2.0 31:0.14285714285714285 34:0.5 40:0.25 47:0.5 99:0.5 105:0.07142857142857142 106:0.2 113:1.0 185:0.2 223:0.5 279:0.08333333333333333 309:1.0 556:0.6666666666666666 622:0.3333333333333333 755:0.1111111111111111 857:1.0 1118:0.3333333333333333 1691:1.0 1729:1.0 4604:1.0 5316:1.0 6908:1.0
11 7:1.0 12:0.03225806451612903 15:1.0 18:0.25 23:1.0 43:1.0 48:0.3333333333333333 52:0.021739130434782608 102:0.3333333333333333 105:0.07142857142857142 106:0.4 136:1.0 155:0.5 162:1.0 236:0.125 267:0.16666666666666666 269:1.0 330:1.0 405:1.0 745:0.5 938:1.0 1176:1.0 1496:1.0 1536:1.0 1809:1.0 1846:0.3333333333333333 2095:1.0 2273:1.0 2539:0.5 2651:1.0 2830:1.0 3504:1.0 5023:1.0 6199:1.0
11 7:1.0 16:0.3333333333333333 18:0.25 22:1.0 40:0.25 41:1.0 47:0.5 48:0.6666666666666666 50:0.5 59:0.16666666666666666 117:1.0 135:0.3333333333333333 323:0.5 825:1.0 870:1.0 1055:1.0 1263:0.3333333333333333 1383:1.0 1694:1.0 1729:1.0 2053:1.0 2087:1.0 3123:1.0 4119:1.0
11 7:2.0 9:0.2 12:0.03225806451612903 48:0.3333333333333333 53:0.25 59:0.16666666666666666 66:0.1111111111111111 97:1.0 282:0.5 284:1.0 292:1.0 298:1.0 321:1.0 616:0.14285714285714285 883:1.0 964:0.09090909090909091 1694:1.0 2470:1.0 2519:1.0 3666:1.0
11 7:1.0 16:0.3333333333333333 237:0.16666666666666666 277:0.5 362:0.5 616:0.14285714285714285 782:1.0 868:1.0 936:0.25 1212:1.0 1469:1.0 2086:1.0 2590:1.0 3148:1.0 4511:1.0
11 31:0.14285714285714285 50:0.5 55:0.3333333333333333 66:0.2222222222222222 103:0.5 105:0.07142857142857142 215:0.08333333333333333 1392:1.0 1773:1.0 2783:1.0 3439:1.0
11 7:2.0 9:0.2 12:0.06451612903225806 22:1.0 23:1.0 33:1.0 41:1.0 46:0.2857142857142857 47:0.5 52:0.08695652173913043 71:1.0 75:0.4 99:0.25 105:0.07142857142857142 110:0.1 112:1.0 127:0.5 132:0.5 150:0.3333333333333333 260:1.0 286:1.0 293:0.3333333333333333 330:1.0 336:1.0 343:1.0 348:0.3333333333333333 362:0.5 536:1.0 755:0.1111111111111111 811:1.0 1668:1.0 1946:1.0 2452:0.3333333333333333 2721:1.0 3156:1.0 3162:1.0 3230:1.0 3709:1.0 3882:1.0 5066:1.0 5768:1.0 6396:1.0 6821:1.0
11 9:0.2 12:0.03225806451612903 18:0.25 22:1.0 31:0.14285714285714285 50:0.5 52:0.021739130434782608 59:0.16666666666666666 88:0.2 105:0.07142857142857142 236:0.125 275:0.1 582:1.0 664:1.0 936:0.25 1506:1.0 1531:0.5 2508:1.0 6931:1.0
11 12:0.06451612903225806 31:0.2857142857142857 47:0.5 50:0.5 52:0.021739130434782608 59:0.3333333333333333 60:1.0 66:0.2222222222222222 75:0.2 128:0.5 150:0.3333333333333333 260:1.0 275:0.1 278:1.0 330:1.0 342:0.15384615384615385 368:1.0 772:1.0 783:1.0 1020:1.0 1025:0.5 1834:1.0 2770:1.0 3438:1.0 4891:1.0 5066:1.0 5620:1.0 6174:1.0 7192:1.0
11 7:2.0 16:0.3333333333333333 50:0.5 55:0.3333333333333333 66:0.1111111111111111 99:0.25 127:0.5 128:0.5 221:0.5 240:0.5 275:0.1 390:1.0 507:1.0 516:0.5 804:1.0 1025:0.25 1674:1.0 1746:1.0 1884:1.0 2159:1.0 2266:1.0 2401:1.0 2541:1.0 5347:1.0 5550:1.0
11 9:0.2 12:0.03225806451612903 31:0.14285714285714285 33:1.0 41:1.0 46:0.7142857142857143 48:0.3333333333333333 50:1.0 52:0.043478260869565216 55:0.3333333333333333 58:1.0 105:0.07142857142857142 106:0.4 126:1.0 150:0.3333333333333333 242:0.3333333333333333 256:1.0 336:1.0 355:1.0 362:0.5 411:1.0 525:0.5 533:1.0 687:0.5 700:1.0 755:0.1111111111111111 777:1.0 811:1.0 812:0.5 3011:1.0 3142:1.0 6241:1.0
11 9:0.2 12:0.06451612903225806 15:2.0 50:0.5 52:0.043478260869565216 59:0.3333333333333333 66:0.1111111111111111 165:0.25 183:0.3333333333333333 198:1.0 215:0.08333333333333333 491:1.0 536:1.0 943:1.0 1059:1.0 1116:1.0 1407:1.0 1813:1.0 2180:1.0 2599:1.0 5557:1.0
11 7:1.0 11:0.25 14:1.0 66:0.1111111111111111 110:0.1 126:1.0 135:0.3333333333333333 240:0.5 260:1.0 286:1.0 342:0.07692307692307693 755:0.1111111111111111 1332:1.0 1355:1.0 1399:0.5 1847:1.0 7670:1.0
11 5:0.5 7:1.0 11:0.25 12:0.03225806451612903 41:1.0 46:0.14285714285714285 50:0.5 52:0.06521739130434782 66:0.2222222222222222 105:0.07142857142857142 110:0.1 128:1.0 150:0.3333333333333333 153:0.5 222:0.5 342:0.07692307692307693 388:0.5 450:0.25 544:1.0 1297:1.0 2065:1.0 2150:1.0 2377:1.0 3271:1.0 3350:1.0 4343:1.0 4596:1.0 5386:1.0 5615:1.0 6045:1.0
11 7:1.0 9:0.2 12:0.03225806451612903 15:2.0 16:0.3333333333333333 22:1.0 26:0.5 43:1.0 45:0.5 46:0.14285714285714285 48:0.3333333333333333 50:0.5 52:0.021739130434782608 66:0.2222222222222222 70:0.1 75:0.2 81:0.5 99:0.75 102:0.3333333333333333 105:0.07142857142857142 110:0.1 113:1.0 127:0.5 128:0.5 133:1.0 134:0.2 153:0.5 183:0.3333333333333333 236:0.125 258:1.0 320:1.0 355:1.0 432:1.0 616:0.14285714285714285 688:0.5 823:1.0 1118:0.3333333333333333 1170:1.0 1182:0.5 1251:1.0 1393:1.0 1405:0.25 1464:1.0 1980:1.0 2105:1.0 2537:0.5 2978:1.0 4474:1.0 5751:1.0 6463:1.0
11 3:1.0 7:1.0 9:0.2 11:0.25 12:0.03225806451612903 15:2.0 31:0.14285714285714285 47:0.5 50:1.0 52:0.043478260869565216 55:0.3333333333333333 59:0.16666666666666666 66:0.2222222222222222 99:0.25 102:0.3333333333333333 106:0.6 110:0.1 126:1.0 203:1.0 215:0.08333333333333333 257:1.0 275:0.1 282:0.5 328:0.3333333333333333 330:2.0 361:0.5 556:0.3333333333333333 619:1.0 777:1.0 999:1.0 1117:1.0 1581:1.0 1609:1.0 1757:0.5 1896:1.0 1908:0.3333333333333333 2225:1.0 2657:1.0 2830:1.0 4714:1.0 4739:1.0 7268:1.0
11 9:0.2 55:0.3333333333333333 59:0.16666666666666666 89:1.0 92:1.0 93:1.0 99:0.25 102:0.3333333333333333 103:0.5 106:0.2 110:0.1 153:0.5 165:0.25 183:0.3333333333333333 236:0.125 260:1.0 287:1.0 450:0.25 616:0.2857142857142857 1469:1.0 2336:0.3333333333333333 2837:1.0 3437:1.0 5172:1.0 5533:1.0 6356:1.0 7450:1.0
11 7:1.0 14:1.0 22:2.0 23:1.0 52:0.021739130434782608 66:0.2222222222222222 99:0.25 103:0.5 150:0.3333333333333333 216:1.0 229:1.0 233:1.0 236:0.125 237:0.16666666666666666 328:0.3333333333333333 342:0.07692307692307693 388:0.5 390:1.0 465:1.0 616:0.14285714285714285 653:1.0 729:0.5 746:1.0 1032:0.5 1114:1.0 1586:1.0 1851:1.0 2379:1.0 3313:1.0 3457:1.0 5557:1.0 7046:1.0
11 11:0.25 19:1.0 32:1.0 41:1.0 46:0.14285714285714285 52:0.021739130434782608 66:0.2222222222222222 99:0.25 106:0.2 224:1.0 243:1.0 317:1.0 330:2.0 408:1.0 432:1.0 548:1.0 550:0.3333333333333333 554:1.0 960:1.0 1066:1.0 1148:1.0 1153:1.0 1558:1.0 1597:1.0 1767:1.0 2496:1.0 2981:1.0 3211:0.5 3922:1.0 5127:1.0 5769:1.0 7336:1.0
11 7:1.0 9:0.2 12:0.03225806451612903 14:1.0 15:1.0 24:0.2 33:1.0 48:0.3333333333333333 50:0.5 55:0.6666666666666666 60:0.5 66:0.2222222222222222 75:0.2 99:0.5 105:0.07142857142857142 135:0.3333333333333333 178:1.0 269:1.0 286:1.0 371:1.0 388:0.5 542:1.0 795:1.0 982:0.3333333333333333 1554:0.125 2093:1.0 2231:1.0 2270:1.0 3283:1.0 3301:1.0 4487:1.0 5401:1.0 5439:1.0 5837:1.0
11 9:0.4 12:0.03225806451612903 22:1.0 52:0.021739130434782608 55:0.3333333333333333 58:1.0 103:0.5 110:0.1 126:1.0 236:0.125 275:0.1 336:1.0 342:0.07692307692307693 345:0.25 548:1.0 550:0.3333333333333333 580:1.0 616:0.14285714285714285 964:0.09090909090909091 1403:1.0 1461:1.0 1486:0.3333333333333333 2054:1.0 2140:1.0 2533:1.0 2951:1.0 3040:1.0 3838:1.0 4325:1.0 5837:1.0 6032:1.0 6060:1.0 6767:1.0 6847:1.0
11 5:0.5 7:1.0 36:0.14285714285714285 50:1.0 52:0.021739130434782608 59:0.3333333333333333 78:1.0 110:0.1 113:1.0 135:0.3333333333333333 165:0.5 216:1.0 336:1.0 348:0.3333333333333333 367:1.0 610:0.5 780:1.0 788:0.5 936:0.25 1276:0.3333333333333333 1411:0.5 1780:1.0 2723:0.125 4784:1.0 7488:1.0 7772:1.0
11 7:2.0 9:0.2 12:0.03225806451612903 14:1.0 15:2.0 16:0.3333333333333333 41:1.0 45:0.5 46:0.14285714285714285 47:0.5 50:2.0 53:0.5 59:0.5 66:0.2222222222222222 75:0.2 89:1.0 91:1.0 103:0.5 106:0.2 165:0.25 236:0.125 279:0.08333333333333333 409:1.0 617:1.0 688:0.5 755:0.1111111111111111 777:1.0 788:0.5 1025:0.25 1260:1.0 1399:0.5 1518:1.0 1536:1.0 1538:1.0 2201:1.0 2590:1.0 3048:1.0 3060:1.0 3648:1.0 6176:1.0 6689:1.0 7310:1.0
11 7:2.0 12:0.06451612903225806 14:2.0 15:1.0 33:1.0 47:0.5 50:0.5 66:0.1111111111111111 102:0.3333333333333333 128:0.5 155:0.5 237:0.16666666666666666 309:1.0 388:0.5 450:0.25 617:1.0 687:0.5 777:1.0 1025:0.25 1212:1.0 2926:1.0 2973:1.0 3246:1.0 3747:1.0 5172:1.0
11 7:1.0 12:0.03225806451612903 15:2.0 22:1.0 31:0.2857142857142857 46:0.42857142857142855 48:0.3333333333333333 50:1.5 52:0.021739130434782608 59:0.3333333333333333 66:0.1111111111111111 105:0.07142857142857142 110:0.2 126:1.0 165:0.25 185:0.2 224:1.0 292:1.0 313:1.0 328:0.3333333333333333 377:1.0 392:1.0 432:1.0 437:1.0 445:1.0 514:1.0 556:0.3333333333333333 617:1.0 687:0.5 825:1.0 1141:1.0 1301:1.0 1558:1.0 2263:1.0 2402:1.0 2624:1.0 3244:1.0 3579:1.0 4461:1.0 5074:1.0 5173:1.0
11 9:0.2 11:0.5 15:1.0 22:1.0 28:1.0 30:1.0 31:0.14285714285714285 46:0.14285714285714285 50:1.0 55:0.3333333333333333 66:0.1111111111111111 99:0.25 113:1.0 114:1.0 122:1.0 127:0.5 183:0.3333333333333333 224:1.0 260:1.0 445:1.0 484:0.5 491:1.0 556:0.3333333333333333 1032:0.5 1116:1.0 1144:1.0 1212:1.0 1424:1.0 1757:0.5 2178:0.5 3787:1.0 5825:1.0
|
dfc8c5c0367b0a93805add7e2f875d59266b3fbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH19/EX19.5/19_5.sce | a0da9823c68c8cd5409d0fe6de2a216e7b607430 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | 19_5.sce | clear;
clc;
vf=3;
VA=8000;
dQ=vf/100 * VA
mprintf("capacity of SVS= +- %d MVAR", dQ);
|
aa4457710b616e5fa69b1d9439c427405a2d5c51 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.tic-tac-toe-10-1tra/result0s0.tst | 10ce04288229beba3d651e76ade260d1706600dd | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,159 | tst | result0s0.tst | @relation tic-tac-toe
@attribute TopLeft{x,o,b}
@attribute TopMiddle{x,o,b}
@attribute TopRight{x,o,b}
@attribute MiddleLeft{x,o,b}
@attribute MiddleMiddle{o,b,x}
@attribute MiddleRight{o,b,x}
@attribute BottomLeft{x,o,b}
@attribute BottomMiddle{o,x,b}
@attribute BottomRight{o,x,b}
@attribute Class{positive,negative}
@inputs TopLeft, TopMiddle, TopRight, MiddleLeft, MiddleMiddle, MiddleRight, BottomLeft, BottomMiddle, BottomRight
@outputs Class
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
negative negative
negative negative
negative negative
negative positive
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative positive
negative positive
negative negative
negative positive
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
|
aed9df3f5df52f8f4bc1298e3ae3f38089a8721a | 89fe42f1d4907c16ae1152649fc53a6d7910387c | /Lab 04 Registros en HDL/Bit.tst | 9be3e6697283c4e3edec18e4e7cdebf06a7f5b22 | [] | no_license | MarlonRoches/Arqui1 | f83545b06761f1bd6c48d26221f8dfc486c57f43 | 5bc55296e70c979a4f75f8243923f778be833efa | refs/heads/main | 2023-07-09T15:37:11.432356 | 2021-08-14T03:56:41 | 2021-08-14T03:56:41 | 355,042,852 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | tst | Bit.tst | load Bit.hdl;
output-file Bit.out;
output-list in load out;
set in 1,
set load 1,
// set address 0,
tick,
output;
tock,
output;
set in 1,
set load 0,
// set address 0,
tick,
output;
tock,
output;
set in 0,
set load 1,
// set address 0,
tick,
output;
tock,
output; |
8a2c3ff6b534e0d9d5cd10cf7f2da63c37feb86d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH24/EX24.2/Ex_D2.sce | 0d5ab499504921503252f21317c7915a53ba39c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,415 | sce | Ex_D2.sce | // Exa D.2
// what is the location of the modulo-2 adder for the second m-sequence? Generate the second m-sequence.
clc;
clear all;
//solution
disp("The location of modulo-2 adder for the second m-sequence is shown in Figure D.5(in the book)i.e Modulo-2 adder should be between first(x1) and second(x2) shift register.");
x=[0 0 1]; //Initial stage
output=x(3);
disp("Second m-sequence usinf 3-stage register");
disp(" x1 x2 x3 output");
printf(' Initial %d %d %d %d \n ',x(1),x(2),x(3),output);
for i= 1:7
printf('Shift %d',i);
x(3)=x(2);
if(x(3)==1) //TO get values in range of [-1 1] for plot
dummy(i)=-1
else
dummy(i)=1;
end
x(2)=x(1);
if(output== 1& x(2)==1) //As new x(1)=prev stage x(3) ored prev stage x(2)
x(1)=0;
else
if(output== 0& x(2)==0)
x(1)=0;
else
x(1)=1;
end
end
printf(' %d %d %d ',x(1),x(2),x(3));
output=x(3);
printf(' %d',output);
printf('\n ');
end
figure(1);
bar(dummy,0.2,'green');
xlabel("Time","FontSize",5);
title("7-chip second m-sequence for one T period","FontSize",5);
disp("The properties of m-sequence in Figure(1)are -");
disp("Number of -1s = 4 , Number of 1s = 3 ");
disp("Run length 1 = 2 , Run length 2 = 1");
disp("Run length = 1");
|
40d4cd93c21c961005e0629f616428536cec3c17 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/ac2poly/ac2poly5.sce | 02c207983fd22424bc049ef161dce9ea6e8f3e5e | [] | 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 | 271 | sce | ac2poly5.sce | //check o/p for more than one i/p arg
r = [1 2 4;2 3 1; 4 5 2];
z=[2];
[a,efinal] = ac2poly(r,z);
disp(a);
disp(efinal);
// Output
// !--error 58
//Wrong number of input arguments.at line 4 of exec file called by :
//oly/ac2poly5.sce', -1
|
303d100295e13553151dcf194b618bc8f1c01c5f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/poly2rc/poly2rc8.sce | 239feae026e7757b37fa9f9697389447d661b187 | [] | 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 | 177 | sce | poly2rc8.sce | a=[0 0 0 0 0 0 0];
b=poly2rc(a);
disp(b);
//output
// !--error 10000
//Leading coefficient cannot be zero.
//at line 42 of function poly2rc called by :
//b=poly2rc(a);
|
9a20dd6472799c394fc270f0a58f3cfde474ff1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH2/EX2.4.1/Ex2_4_1.sce | b6928bc912ee51aeb99018367627ceaeccb6b3dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex2_4_1.sce | clear
clc
T=303;//in K
m2=10;//mass of solute in gm
m1=80;//mass of solute acetone in gm
P1=271;//in torr
P2=283;//in torr
M1=58;//in gm/mol
M2=((m2*M1)/(((P2-P1)/P2)*m1))-((M1*m2)/m1)
printf('M2=%.1f gm/mol',M2)
//page 39
|
44cfa10a9266512a116848ee0aa6061419e32007 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH7/EX7.12/example7_12.sce | 7d57c7bfbde2265f2daf61407413689d7a746821 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | example7_12.sce | clear;
clc;
// Stoichiometry
// Chapter 7
// Combustion
// Example 7.12
// Page 478
printf("Example 7.12, Page 478 \n \n");
// solution
// basis 100 kmol of dry producer gas
C = 33*12 // kg
O2 = 18.5*32 //kg
H2 = 20*2 // kg
O2air = 21*51/79 // kmol
COALgassified = 396/.672 // kg
O2coal = COALgassified*.061/32 // kmol
tO2 = O2coal + O2air
O2steam = 18.5-tO2 // kmol
H2steam = 2*O2steam // kmol
H2fuel = 20-H2steam
dryproducergas = 100*22.41/COALgassified // Nm^3/kg coal
Pw = 2.642 // kPa
Ha = Pw/(100.7-Pw) // kmol/kmol dry gas
water = Ha*100
moistproducergas = (100+water)*22.41/COALgassified // Nm^3/kg coal
dryair = (51*28+O2air*32)/COALgassified // kg/kg coal
tsteamsupplied = H2steam+water-(COALgassified*.026/18) // kmol
steam = tsteamsupplied*18/COALgassified
printf(" (a) \n \n Moistproducer gas obtained = "+string(moistproducergas)+" Nm^3/kg coal. \n \n \n (b) \n \n Air supplied = "+string(dryair)+" kg/kg coal gassified. \n \n \n (c) \n \n Steam supplied = "+string(steam)+" kg/kg coal.")
|
e53f844aa23ab4f9602ee703f0c1834afb459f2f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/algebre/epsfin.sci | 8a91ce23610390c5c11987f513f50769237f1ff1 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sci | epsfin.sci | function [Er,Ar,Q,Z]=epsfin(E,A)
// Returns the epsilon + finite part of the pencil sE-A
// Z right subspace associated with epsilon and finite part
// For a regular pencil Z spans the right finite eigenspace
// FD & RN (see fineta macro)
[LHS,RHS]=argn(0)
if RHS==1 then [E,A]=pen2ea(E);end
E=pertrans(E);A=pertrans(A);
[Er,Ar,Z,Q]=fineta(E,A);
Er=pertrans(Er);Ar=pertrans(Ar);
Z=pertrans(Z);Q=pertrans(Q);
|
f0fae7da2224a74b39558e40a5727dc8e4830088 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH4/EX4.5/ex4_5.sce | 39ac0cfcb6a5ce729a573deec93728f675d6c03c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | ex4_5.sce | clc;
m=9*10^-31; //mass of electron in kg
q=-3.2*10^-7; //charge in C
e=-1.6*10^-19; //charge on electron in C
n=(q/e); //calculating n
M=n*m; //calculating mass transfered
disp(n,"no. of electrons = "); //displaying result
disp(M,"Mass transfered to polythene in kg = "); //displaying result |
9e61ef232b8b3ccb72fae269d5530548476eeb31 | 207c864c3f938783d617dca78232e70445ae21e6 | /Ch8_IV.sce | abf9c020223821b7280aa0d2dac54d5e14dfd441 | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Ch8_IV.sce | /*
Sa se rezolve sistemele algebrice de ecuatii liniare incompatibile in sensul celor mai mici patrate:
x1 − 3x2 + x3 + x4 = 1
x1 − 3x2 + x3 − 2x4 = −1
x1 − 3x2 + x3 + 5x4 = 6
*/
A=[1, -3, 1, 1;1, -3, +1, -2;1, -3, 1, +5];
b=[1;-1;6];
det(A)
x=lsq(A,b)
linsolve(A,-b)
|
75af4873717a5c3cdb6c2b748a907c43861caa7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.9/2_9.sci | 23bcf3924619acfa8db4654a7b41c12518d52e10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sci | 2_9.sci | // calculating the signal to noise ratio at input
// calculating the signal to noise ratio at output
//calculating the noise factor and noise figure
clc;
disp('signal to noise ratio at input')
Sni=(3*10^-6/(1*10^-6))^2;
disp(Sni,'signal to noise ratio at input=')
disp('signal to noise ratio at output')
Sno=(60*10^-6/(20*10^-6))^2;
disp(Sno,'signal to noise ratio at output=')
disp('New signal to noise ratio at output')
Snno=(60*10^-6/(25*10^-6))^2;
disp(Snno,'signal to noise ratio at output=')
F=Sni/Snno;
disp(F,'noise Factor=')
nf=10*log10(F);
disp(nf,'noise Figure(dB)=') |
eeaa9e98d25a8f08883e42966a0ce5157aee85aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH6/EX6.4/Chapter6_Ex4.sce | 86305a9f64bba4394f9199e1182ab9356309efde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,608 | sce | Chapter6_Ex4.sce | // Harriot P., 2003, Chemical Reactor Design (I-Edition), Marcel Dekker, Inc., USA, pp 436.
//Chapter-6 Ex6.4 Pg No.251
//Title:Conversion in packed bed for same superficial velocity
//====================================================================================================================
clear
clc
//COMMON INPUT
L=2.5;//Lendth of bed(ft)
X_A=0.95;//Conversion
L_a=3;//Length of section a (ft)
L_b=2;//Length of section b (ft)
u_oa_by_u0=0.88;//Refer equation 3.64
u_ob_by_u0=1.12;
L=2.5;//(ft)
//CALCULATION (Ex6.4.a)
k_rho_L_by_u=log(1/(1-X_A));//First Order reactions
//For Section a
k_rho_L_by_u_a=k_rho_L_by_u*(L_a/L);
X_A_section_a=(1-exp(-k_rho_L_by_u_a));
//For Section b
k_rho_L_by_u_b=k_rho_L_by_u*(L_b/L);//Dimensionless Group based on ideal plug flow for first order reaction
X_A_section_b=(1-exp(-k_rho_L_by_u_b));
X_A_Ave=(X_A_section_b+X_A_section_a)/2;
Percent_X_A_Ave=X_A_Ave*100
//CALCULATION (Ex6.4.b)
k_rho_L_by_u=log(1/(1-X_A));//First Order reaction
//For Section a
k_rho_L_by_u_a=k_rho_L_by_u*(L_a/L)*(1/u_oa_by_u0);
X_A_section_a=(1-exp(-k_rho_L_by_u_a));
delP_a_by_alpha_u0_pow=L_a*(u_oa_by_u0);//Refer equation 3.64
//For Section b
k_rho_L_by_u_b=k_rho_L_by_u*(L_b/L)*(1/u_ob_by_u0);//Dimensionless Group based on ideal plug flow for first order reaction
delP_b_by_alpha_u0_pow=L_b*u_ob_by_u0;
X_A_section_b=(1-exp(-k_rho_L_by_u_b));
X_A_avg=(u_oa_by_u0*X_A_section_a+u_ob_by_u0*X_A_section_b)/2;
Percent_X_A_avg=X_A_avg*100;
//OUTPUT(Ex6.4.a)
mprintf('\n OUTPUT Ex6.4.a');
mprintf('\n==========================================================');
mprintf('\nThe average converion when each section has same superficial velocity:%0.1f%%',Percent_X_A_Ave );
//OUTPUT(Ex6.4.b)
mprintf('\n\n\n OUTPUT Ex6.4.b');
mprintf('\n==========================================================');
mprintf('\nThe overall conversion for different velocities:%0.1f%% ',Percent_X_A_avg );
//FILE OUTPUT
fid= mopen('.\Chapter6-Ex4-Output.txt','w');
mfprintf(fid,'\n OUTPUT Ex6.4.a');
mfprintf(fid,'\n==========================================================');
mfprintf(fid,'\nThe average converion when each section has same superficial velocity:%0.1f%%',Percent_X_A_Ave );
mfprintf(fid,'\n\n\n OUTPUT Ex6.4.b');
mfprintf(fid,'\n==========================================================');
mfprintf(fid,'\nThe overall conversion for different velocities:%0.1f%% ',Percent_X_A_avg );
mclose(fid);
//=======================================================END OF PROGRAM=================================================
|
ac0d4c4c52d3a7aa19b3ff9922cb33a13d43dc7c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH4/EX4.6/Ex4_6.sce | 600e57561b16cedbbfd3ba4adf413301e019f9ed | [] | 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 | 653 | sce | Ex4_6.sce | errcatch(-1,"stop");mode(2);//Caption:Find the percentage resistance,reactance drop,efficiency and voltage regulation
//Exa:4.6
;
;
P=1500*1000;//in watts
phy=acosd(0.8);
V_1P=300;//in volts
V_1L=6600;//in volts
I_1P=131.21/sqrt(3);
Z_1=V_1P/I_1P;//in ohms
R_1=30*1000/(3*I_1P^2);
X_1=sqrt((Z_1^2)-(R_1^2));
R=I_1P*R_1*100/V_1L;
X=I_1P*X_1*100/V_1L;
disp(R,'% Resistance drop (in %)=');
disp(X,'% Reactance drop (in %)=');
VR=(R*cosd(phy))+(X*sind(phy));
disp(VR,'Voltage regulation (in %)=')
I_1_FL=P/(sqrt(3)*V_1L);
P_t=(30+25)*1000;//in watts
P_o=P*0.8;//in watts
Eff=P_o/(P_o+P_t);
disp(Eff*100,'Efficiency (in %)=')
exit();
|
b3c268b933e4f87aecd4abd4a398952540dd086c | 71fc0b80f29bd03d097bc45e07b3184189b6445c | /nand2tetris/proj2/Add8.tst | 83ef8735d8efdbc6f0cf9f28c6ad65d9afd0969d | [
"MIT"
] | permissive | ethull/university | 05441b4a74833dd9ae2f904017bfe5140461f4af | 80e00400cf06e5574f4654f51d78544a5d7f66bb | refs/heads/main | 2023-06-08T00:52:03.533293 | 2023-05-25T15:37:21 | 2023-05-25T15:37:21 | 313,761,541 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | tst | Add8.tst | // This file is BASED ON part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: project02starter/Add8.tst
load Add8.hdl,
output-file Add8.out,
compare-to Add8.cmp,
output-list a%B1.8.1 b%B1.8.1 out%B1.8.1;
set a %B00000000,
set b %B00000000,
eval,
output;
set a %B00000000,
set b %B11111111,
eval,
output;
set a %B11111111,
set b %B11111111,
eval,
output;
set a %B10101010,
set b %B01010101,
eval,
output;
set a %B11000011,
set b %B11110000,
eval,
output;
set a %B00110100,
set b %B01110110,
eval,
output;
|
2fb13b3d0be4f9bb719741f49caab5639092f36e | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/fftn.sci | b8b4170825b8c5a68e0b630edbe4be34a8ce917f | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,014 | sci | fftn.sci | function y = fftn(A, SIZE)
//This function computes the N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm.
//Calling Sequence
//Y = fftn(A)
//Y = fftn(A, size)
//Parameters
//A: Matrix
//Description
//This function computes the N-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm. The optional vector argument SIZE may be used specify the dimensions of the array to be used. If an element of SIZE is smaller than the corresponding dimension of A, then the dimension of A is truncated prior to performing the FFT. Otherwise, if an element of SIZE is larger than the corresponding dimension then A is resized and padded with zeros.
//Examples
//fftn([2,3,4])
//ans =
// 9. - 1.5 + 0.8660254i - 1.5 - 0.8660254i
funcprot(0);
rhs = argn(2)
if(rhs<1 | rhs>2)
error("Wrong number of input arguments.");
end
select(rhs)
case 1 then
y = callOctave("fftn",A);
case 2 then
y = callOctave("fftn",A, SIZE);
end
endfunction
|
a4a5d8006b92e88cd7df4976b2808ea75bb76859 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH8/EX8.2/S8_2.sce | 032603c1253f939078531ac9ceda90c62b5eb4d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | S8_2.sce | // sum 8-2
clc;
clear;
W=196.2;
lenthofscale=50;
k=196.2/50;
C=8;
Ks=(1+(0.5/C));
// Let us choose oil tempered wire 0.6-0.7 %C. Refer to Table 8-4 for constants A and m, relating strength wire
//diameter.
G=77.2*(10^3);
A=1855;
m=0.187;
// equating Tmax=0.5*sig(ut).
// Ks*(8*W*D/(pi*(d^3)))=0.5*A/(d^2)
d1=(Ks*(8*W*C/(%pi*A*0.5)));
d=d1^(1/1.813);
D=C*d;
Na=G*(d^4)/(8*(D^3)*k);
//Solid length = SL
SL=(Na-1)*d
// printing data in scilab o/p window
printf(" wire diameter is %0.3f mm ",d);
printf("\n mean diameter is %0.3f mm ",D);
printf("\n Number of acting coils are %0.3f ",Na);
//The difference in the values of d,D and Na is due to rounding-off the digits. |
4a1fe3087fe72978e5db52af87110bed8590510d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.10/5_10.sce | dda1cb11e082340db1da92f4c4c5d5c82517fe86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | 5_10.sce | clc,clear
printf('Example 5.10\n\n')
VA=125*10^3
V_L=400,V_ph=V_L/sqrt(3)
I_L=VA/(sqrt(3)*V_L)
I_aph=I_L
I_f=4,I_asc=I_aph/2 //for half load.. refer to graph
V_OC_line=140
V_OC_ph=V_OC_line/sqrt(3)
I_asc_ph=I_asc
Z_s= V_OC_ph/I_asc_ph
R_a=0.1,X_s=sqrt(Z_s^2-R_a^2) //armature resistance and synchronous reactance
phi=acos(0.8)
E_ph = sqrt((V_ph*cos(phi)+I_asc*R_a)^2 +(V_ph*sin(phi)- I_asc*X_s)^2)
regulation=100*(E_ph-V_ph)/V_ph
printf('Voltage regulation at 0.8 pf leading for half load is %.2f percent\n',regulation)
|
e422e92b007c282093e0c96117d8e61def85f6e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH13/EX13.4/EX4.sce | 7ce86908ece2fe4050825d4356bfce297bca9a43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | EX4.sce | // Example 13.4: Maximum input power, Maximum ac output power, Maximum conversion efficiency, Maximum power dissipated by each transistor
clc, clear
VCC=15; // in volts
RL=8; // in ohms
P_dc=2*VCC^2/(%pi*RL); // Maximum input power in watts
P_ac=VCC^2/(2*RL); // Maximum ac output power in watts
eta=P_ac*100/P_dc; // Maximum efficiency in percentage
PD=2*VCC^2/(%pi^2*RL); // Maximum power dissipated in watts
PD_each=PD/2; // Maximum power dissipated by each transistor in watts
disp(P_dc,"Maximum input power (W) =");
disp(P_ac,"Maximum ac output power (W) =");
disp(eta,"Maximum conversion efficiency (%) =");
disp(PD_each,"Maximum power dissipated by each transistor (W) ="); |
aad8a4ae907c54970bfdd1ce0ea781805978dfe9 | 7050bad75281d5a9e019c4177b8361e6b7f8c129 | /05/ComputerMax.tst | 7c254315c18e1de73bffc96e4a367cf18a90fc0d | [] | no_license | augustopsalgado/ESC_2018 | a310be1e3328c7313ed9337cd8d3f79f01a4514d | bbc2545860b2ab449b0a6371a64917b080296bc7 | refs/heads/master | 2020-03-29T06:14:35.262171 | 2018-12-14T14:09:17 | 2018-12-14T14:09:17 | 149,616,131 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 801 | tst | ComputerMax.tst | load Computer.hdl,
output-file ComputerMax.out,
compare-to ComputerMax.cmp,
output-list time%S1.4.1 reset%B2.1.2 ARegister[]%D1.7.1 DRegister[]%D1.7.1 PC[]%D0.4.0 RAM16K[0]%D1.7.1 RAM16K[1]%D1.7.1 RAM16K[2]%D1.7.1;
// carrega o programa escrito na linguagem de maquina Hack.
// o programa computa o maximo de RAM[0] e RAM[1]
// e escreve o resultado na RAM[2].
ROM32K load Max.hack,
// primeira execucao: compute max(3,5)
set RAM16K[0] 3,
set RAM16K[1] 5,
output;
repeat 14 {
tick, tock, output;
}
// reset the PC
set reset 1,
tick, tock, output;
// segunda execucao: compute max(23456,12345)
set reset 0,
set RAM16K[0] 23456,
set RAM16K[1] 12345,
output;
// a execucao para essas entradas necessitam de menos ciclos
repeat 10 {
tick, tock, output;
}
|
199e2563ad20dd5a6af5cfd87b06920117f5694f | eb23643e3cd4e6ba890e29a0867ce2806c5b36f2 | /LA_Scilab_Assignment1/func.sce | 2e19f33546ffe1b14c952b83317c11349387871c | [] | no_license | archu-2000/LA_Scilab_Assignment | 17be0b1fbedbb15999bb183c4dc165a996b776b3 | d68d6b7e719892c3b0909f6b3288063ec3989075 | refs/heads/master | 2022-08-01T20:55:13.927208 | 2020-06-03T10:56:41 | 2020-06-03T10:56:41 | 269,058,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,393 | sce | func.sce | clc;clear;close;
function [U,L]=LUD(A)
U=A
disp(A,'The given matrix is A=')
m=det(U(1,1));
n=det(U(2,1));
a=n/m
U(2,:)=U(2,:)-U(1,:)/(m/n)
n=det(U(3,1));
b=n/m
U(3,:)=U(3,:)-U(1,:)/(m/n)
m=det(U(2,2))
n=det(U(3,2));
c=n/m
U(3,:)=U(3,:)-U(2,:)/(m/n)
L=[1,0,0;a,1,0;b,c,1]
endfunction
function [B]=inverse(A)
n=length(A(1,:))
Aug=[A,eye(n,n)]
//Forward elimination
for j=1:n-1
for i=j+1:n
Aug(i,j:2*n)=Aug(i,j:2*n)-Aug(i,j)/Aug(j,j)*Aug(j,j:2*n)
end
end
//Backward elimination
for j=n:-1:2
Aug(1:j-1,:)=Aug(1:j-1,:)-Aug(1:j-1,j)/Aug(j,j)*Aug(j,:)
end
//Diagonal Normalisation
for j=1:n
Aug(j,:)=Aug(j,:)/Aug(j,j)
end
B=Aug(:,n+1:2*n)
endfunction
function[x,a]=gaussElimination(A,b)
A_aug=[A b]
a=A_aug
n=3;
for i=2:n
for j=2:n+1
a(i,j)=a(i,j)-a(1,j)*a(i,1)/a(1,1);
end
a(i,1)=0;
end
for i=3:n
for j=3:n+1
a(i,j)=a(i,j)-a(2,j)*a(i,2)/a(2,2);
end
a(i,2)=0;
end
x(n)=a(n,n+1)/a(n,n);
for i=n-1:-1:1
sumk=0;
for k=i+1:n
sumk=sumk+a(i,k)*x(k);
end
x(i)=(a(i,n+1)-sumk)/a(i,i);
end
endfunction
function main()
A=[0,0,0;0,0,0;0,0,0]
A(1,1)=input("enter a11: ")
A(1,2)=input("enter a12: ")
A(1,3)=input("enter a13: ")
A(2,1)=input("enter a21: ")
A(2,2)=input("enter a22: ")
A(2,3)=input("enter a23: ")
A(3,1)=input("enter a31: ")
A(3,2)=input("enter a32: ")
A(3,3)=input("enter a33: ")
disp('1.Gaussian Elimination')
disp('2.LU Decomposition')
disp('3.Gauss Jordan method')
ch=input("Enter choice: ")
if ch==1 then
b=[0;0;0]
b(1,1)=input("enter b1: ")
b(2,1)=input("enter b2: ")
b(3,1)=input("enter b3: ")
[x,a]=gaussElimination(A,b)
disp(x(3),x(2),x(1),'The values of x,y,z are ');
disp(a(1,1),a(2,2),a(3,3),'The pivots are');
elseif ch==2 then
[U,L]=LUD(A)
disp(U,'The upper triangular matrix is U =')
disp(L,'The lower triangular matrix is L =')
elseif ch==3 then
[B]=inverse(A)
disp(B,'The inverse of A is');
end
endfunction
main();
|
60ee2a05af8785f29ab2f826fef482029399a2e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH16/EX16.11/Ex16_11.sce | ab81ec3122a30cf8f6c7ac2656a365f14c7d7965 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ex16_11.sce | // Initilization of variables
M=10 // kg // Here M=M_1=M_2
g=9.81 // m/s^2 // acc due to gravity
// Calculations
// Consider the respective F.B.D
// Applying the principle of conservation of energy and by equating the total energies at position 1 & position 2 we get v as,
v=sqrt((M*g*4)/(25)) // m/s
// Results
clc
printf('The velocity of mass M_2 is %f m/s \n',v)
|
3128d38bea14f2a94462f0e94b889bf9e5980c94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.32/32.sce | dbb3932dbca608465f79f568433ceb11cffce9e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | 32.sce | clc
e1=0.3;
e2=0.8;
e3=0.04;
A1=1; //m^2
A2=A1;
A3=A1;
// (E_b1 - E_b3)/[(1-e1)/e1+1+(1-e3)/e3]=(E_b3 - E_b2)/[(1-e3)/e3+1+(1-e2)/e2]
// a*(T1^4-T3^4)/(1/e1+1/e3-1)=a*(T3^4-T2^4)/(1/e3+1/e2-1)
// T3^4=0.48*(T1^4+1.08*T2^4)
// Q12=a*(T1^4-T2^4)/(1/e1+1/e2-1)
// Q13=a*(T1^4-T3^4)/(1/e1+1/e3-1)
// %reduction=(Q_12-Q13)/Q12;
%reduction=1-0.131*0.52;
disp("Percentage reduction in heat flow due to shield =")
disp(%reduction)
disp("%") |
d5f386225e7a379ec08542ea786635d29dd8f9fa | aa1d4aa95e4e53f44e3569b0ec9c5df810fb546c | /20160314/insert update delete.tst | 3771a40ea0125fb0021a4bc04eec71b6855e9c5b | [] | no_license | Jioss/Forms | d4f7891495191c9d7f24a4ee3b383644fbaec5a5 | 5ebfc71c5f152ba7008706004e0852ad401398cd | refs/heads/master | 2021-01-10T16:33:34.573956 | 2016-03-24T10:49:29 | 2016-03-24T10:49:29 | 49,485,197 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | tst | insert update delete.tst | PL/SQL Developer Test script 3.0
7
begin
-- Call the procedure
cux_plsql_autocreate.form_view_iud(p_block_name => :p_block_name,
p_table_name => :p_table_name,
p_owner => :p_owner,
p_primary_key => :p_primary_key);
end;
4
p_block_name
1
MATERIALS
5
p_table_name
1
CUX_PO_RAW_MATERIALS_TL_9510
5
p_owner
1
CUX
5
p_primary_key
1
RAW_MTL_ID
5
0
|
d59a5ec8ff673c1ab6e2906b110da11543c43bb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH12/EX12.7/example7_sce.sce | cf5a298fe3abc25b3b477f14a06428f7a7083c0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example7_sce.sce | //chapter 12
//example 12.7
//page 489
printf("\n")
printf("given")
R1=120*10^3;R2=39*10^3;hie=2*10^3;R7=12*10^3;Zo=R7;R5=R1;R6=R2;hfe=100;R3=R7;Zl=R1;
Zi=(R1*R2*hie)/(R1*R2+R1*hie+R2*hie)
Zi2=(R1*R2*hie)/(R1*R2+R1*hie+R2*hie)
Av1=-(hfe*((R3*Zi2)/(R3+Zi2)))/hie
Av2=-(hfe*((R7*Zl)/(R7+Zl)))/hie
Av=Av1*Av2 |
eb3b0a9d1b5f6aa06061a7806b04a29058c48fe5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH8/EX8.3/Ex8_3.sce | 0787083500a1efa8001e28fc46ede383089c76df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sce | Ex8_3.sce | clear
//
//given
f=50
ns=1000
//m=90/6*3
m=5
//angle is obtained as 12
//x=12
//angle=(m*x)/2
//x=30 //assuming for convinience
//a=(180/%pi)*(30)
//b=(%pi/180)*(a)
//c=sin(b)
//y=x/2
//y=6 //assuming for convinience
//d=(180/%pi)*(y)
//e=(%pi/180)*(c)
//g=sin(e)
//kd=c/(5*g)
kd=0.96
//after calculations
printf("\n The distribution factor=0.96")
kp=0.98 //%pi tch factor=cos(20/2)
//case a
kw=kd*kp
printf("\n %0.3f ",kw)
//case b
t1=(90*4)/(3*2) //number of turns per stator phase
e1=415
flux=415/((3**0.5)*4.44*0.94*50*60)
printf("\n flux in the air gap= %0.3f Wb",flux)
//case c
t2=(120*2)/(3*2)
a=t1/t2 //transformation ratio
printf("\n a = %0.3f ",a )
//case d
//e2=e1/a //the induced rotor voltage per phase
e2=415/((3**0.5)*1.5)
printf("\n the induced rotor voltage per phase is= %0.5f V",e2)
|
b0cef02875cc33ade2462777a3e5b640bc32bf55 | 3fe56b0e8930ef0b9dfb33d9cc5b1afb7c410f1a | /Act7/parametric.sce | 8ca4b2e69e3a8d395555f42c64a666811923040e | [] | no_license | loujoseftan/AP186 | 3ce3ef0bb16030928900c49fbeb912ac61e3b13f | 0686a1087f8a24b064d6eeb0ec3e98ef10269855 | refs/heads/master | 2020-06-30T23:22:36.014422 | 2019-11-19T10:38:17 | 2019-11-19T10:38:17 | 200,981,424 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | parametric.sce | ROI = imread('C:\Users\loujoseftan\Dropbox\SciNotes\ROI.jpg');
ROI = double(ROI);
R1 = ROI(:,:,1);
G1 = ROI(:,:,2);
B1 = ROI(:,:,3);
I1 = R1 + G1 + B1;
I1(find(I1==0))=100000;
r1 = R1./I1;
g1 = G1./I1;
meanr = mean(r1);
sigmar = stdev(r1);
meang = mean(g1);
sigmag = stdev(g1);
SB = imread('C:\Users\loujoseftan\Dropbox\SciNotes\SB.jpg');
SB = double(SB);
R2 = SB(:,:,1);
G2 = SB(:,:,2);
B2 = SB(:,:,3);
I2 = R2 + G2 + B2;
I2(find(I2==0))=100000;
r2 = R2./I2;
g2 = G2./I2;
pr = (1/(sigmar*sqrt(2*%pi)))*exp(-((r2 - meanr).^2)/(2*sigmar.^2));
pg = (1/(sigmag*sqrt(2*%pi)))*exp(-((g2 - meang).^2)/(2*sigmag.^2));
S = pr.*pg;
imwrite(S,'C:\Users\loujoseftan\Dropbox\SciNotes\Parametric Segmentation.jpg')
|
cba8ef41b4a785a8bc2d94d5c356e1b2141022ee | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.19_8.tst | c0a157c25ae180ccbd9190aed16e32eaecdc6092 | [] | 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 | 22,619 | tst | bow.19_8.tst | 19 7:0.058823529411764705 40:0.3333333333333333 44:1.0 49:1.0 76:1.0 103:0.4 163:0.4 195:0.25 204:1.0 239:0.2 328:1.0 426:0.5 700:1.0 962:1.0 1275:0.5 2055:1.0 4513:1.0 5561:1.0
19 40:0.6666666666666666 103:0.2 123:0.020202020202020204 124:1.0 133:0.125 167:0.1 195:0.25 306:0.3333333333333333 506:0.14285714285714285 710:1.0 1150:0.125 2687:0.5 4537:1.0 5050:1.0
19 7:0.058823529411764705 20:0.1111111111111111 24:0.5 25:0.1 40:0.3333333333333333 47:1.0 49:2.0 73:2.0 123:0.04040404040404041 152:1.0 159:0.3333333333333333 167:0.1 245:0.1111111111111111 265:1.0 376:1.0 459:0.1 506:0.14285714285714285 700:1.0 722:0.3333333333333333 1082:0.5 1394:1.0 1610:1.0 4722:1.0 5178:1.0
19 25:0.1 46:1.0 124:1.0 167:0.1 229:1.0 245:0.1111111111111111 374:1.0 492:0.14285714285714285 556:0.3333333333333333 1012:1.0 2573:0.5 4627:1.0 4661:0.3333333333333333 5572:1.0
19 13:0.25 20:0.1111111111111111 23:0.3333333333333333 25:0.1 32:0.5 34:0.2 49:2.0 90:0.2 133:0.125 135:1.0 142:0.5 260:1.0 473:1.0 531:0.25 799:1.0 923:1.0 2653:0.25 3071:1.0 4324:1.0 4724:1.0 4960:1.0 5208:1.0
19 32:0.5 34:0.1 98:0.3333333333333333 103:0.2 106:0.09090909090909091 195:0.25 2259:0.5 2687:0.5 3994:1.0 4560:1.0 4661:0.3333333333333333
19 32:0.5 34:0.1 49:1.0 88:0.2 123:0.010101010101010102 130:1.0 167:0.1 226:1.0 472:0.2 958:1.0 964:1.0 1303:1.0 3142:1.0 3348:1.0 4626:1.0 4935:1.0 5082:1.0 5315:1.0
19 7:0.058823529411764705 14:0.25 49:1.0 68:0.2 123:0.010101010101010102 179:0.3333333333333333 239:0.2 443:0.25 552:1.0 727:0.5 1348:0.041666666666666664 2167:1.0 2606:0.16666666666666666 4690:0.5 4796:1.0 5257:1.0 5310:1.0
19 23:0.3333333333333333 32:1.0 34:0.1 51:1.0 107:1.0 130:1.0 133:0.125 140:1.0 167:0.1 179:0.3333333333333333 234:0.1111111111111111 486:0.6666666666666666 579:1.0 1061:0.5 1383:1.0 1896:1.0 1903:1.0 3267:1.0 4447:1.0 4537:1.0 4724:2.0 4755:1.0 4842:1.0 6093:1.0
19 7:0.11764705882352941 14:0.25 15:0.2 68:0.4 103:0.2 769:1.0 1010:0.5 1031:1.0 1348:0.041666666666666664
19 7:0.058823529411764705 20:0.1111111111111111 24:0.5 49:5.0 72:1.0 90:0.2 107:1.0 123:0.010101010101010102 163:0.2 443:0.25 460:0.5 506:0.14285714285714285 556:0.3333333333333333 700:1.0 797:1.0 836:0.5 847:0.5 909:0.5 1167:1.0 1304:1.0 1371:0.5 2030:1.0 2037:1.0 2254:1.0 2375:1.0 3149:1.0 4806:1.0 4833:1.0
19 14:0.25 20:0.1111111111111111 49:1.0 106:0.09090909090909091 123:0.010101010101010102 179:0.3333333333333333 212:0.6666666666666666 443:0.25 700:1.0 1150:0.125 1381:1.0 2319:1.0 2911:1.0 4481:1.0 4722:1.0
19 6:0.5 7:0.058823529411764705 20:0.2222222222222222 24:0.5 25:0.1 39:1.0 49:3.0 68:0.2 73:1.0 123:0.010101010101010102 138:0.5 159:0.3333333333333333 181:0.3333333333333333 243:0.2 282:1.0 420:1.0 426:0.5 449:1.0 697:1.0 773:1.0 790:1.0 958:1.0 3179:1.0 4842:1.0
19 7:0.058823529411764705 15:0.2 23:0.3333333333333333 25:0.1 31:0.14285714285714285 34:0.1 49:2.0 88:0.2 123:0.020202020202020204 124:1.0 133:0.125 318:1.0 388:1.0 420:1.0 459:0.2 492:0.14285714285714285 537:1.0 645:2.0 749:1.0 788:1.0 1494:1.0 1505:1.0 3158:1.0 3819:1.0 4771:1.0 4842:1.0 5262:1.0 5927:1.0
19 7:0.058823529411764705 20:0.2222222222222222 23:0.3333333333333333 25:0.1 32:0.5 34:0.1 88:0.2 123:0.010101010101010102 186:1.0 203:0.125 243:0.2 388:1.0 460:0.5 506:0.14285714285714285 702:1.0 1051:1.0 1061:0.5 1956:1.0 1982:0.2 2573:0.5 2606:0.16666666666666666 3129:1.0 3228:1.0 3378:1.0 4545:1.0 4654:0.5 4693:1.0 4768:1.0 5668:1.0 5722:1.0 5728:1.0
19 7:0.058823529411764705 25:0.1 31:0.2857142857142857 32:0.5 34:0.2 40:0.3333333333333333 76:1.0 90:0.2 123:0.030303030303030304 124:1.0 138:0.5 220:0.3333333333333333 234:0.1111111111111111 274:1.0 282:1.0 372:2.0 389:1.0 447:0.5 473:1.0 573:0.3333333333333333 731:1.0 1275:0.5 1371:0.5 1476:1.0 1983:1.0 2064:1.0 2606:0.16666666666666666 4966:1.0 5257:1.0 5315:1.0
19 7:0.058823529411764705 24:0.5 25:0.1 62:1.0 68:0.2 88:0.2 90:0.4 103:0.2 124:1.0 167:0.1 234:0.1111111111111111 259:2.0 1022:1.0 1061:0.5 1348:0.041666666666666664 1398:1.0 1399:1.0 1406:1.0 2064:1.0 2167:1.0 2653:0.25 4968:0.2 5052:1.0
19 7:0.058823529411764705 14:0.25 20:0.1111111111111111 24:1.0 25:0.4 32:0.5 33:1.0 34:0.1 40:0.3333333333333333 49:2.0 62:1.0 123:0.030303030303030304 133:0.125 152:1.0 167:0.1 303:2.0 307:1.0 310:1.0 388:1.0 460:0.5 473:1.0 619:1.0 776:1.0 861:1.0 963:0.5 1186:1.0 1383:1.0 2347:1.0 2375:1.0 3487:1.0 3561:1.0 4093:1.0 5161:1.0
19 7:0.17647058823529413 13:0.25 14:0.25 20:0.1111111111111111 23:0.3333333333333333 34:0.2 62:1.0 68:0.2 77:1.0 103:0.4 123:0.010101010101010102 124:1.0 133:0.125 167:0.1 220:0.3333333333333333 225:1.0 282:1.0 388:1.0 393:1.0 607:0.5 709:1.0 749:1.0 990:1.0 1381:1.0 2411:1.0 3834:1.0 4513:1.0 4562:1.0 4936:2.0 5096:1.0 5582:1.0 5909:1.0
19 7:0.058823529411764705 44:1.0 51:1.0 91:0.5 103:0.2 224:1.0 234:0.2222222222222222 298:1.0 492:0.14285714285714285 579:1.0 731:1.0 1061:0.5 1382:1.0 1532:2.0 3905:1.0 4574:1.0 4612:1.0 4693:1.0 5082:1.0 5177:1.0 5526:1.0 5843:1.0 6158:1.0
19 7:0.058823529411764705 32:0.5 123:0.010101010101010102 167:0.1 282:1.0 492:0.14285714285714285 722:0.3333333333333333 1150:0.125 2643:1.0 4481:1.0 5178:1.0
19 24:1.0 25:0.1 32:1.0 40:0.3333333333333333 49:1.0 68:0.2 88:0.4 106:0.09090909090909091 123:0.020202020202020204 124:1.0 133:0.125 177:0.3333333333333333 179:0.3333333333333333 203:0.125 239:0.2 259:1.0 388:1.0 393:1.0 459:0.1 472:0.2 1043:0.5 1150:0.125 1956:1.0 2073:1.0 2375:2.0 3845:1.0 4537:1.0 5090:0.5
19 7:0.17647058823529413 13:0.25 24:0.5 25:0.2 34:0.1 103:0.2 121:1.0 123:0.04040404040404041 159:0.6666666666666666 245:0.1111111111111111 259:1.0 303:1.0 304:1.0 449:1.0 486:0.3333333333333333 506:0.14285714285714285 2347:1.0 3291:1.0 3404:1.0 5144:1.0 5923:1.0
19 7:0.11764705882352941 40:0.3333333333333333 49:1.0 76:1.0 88:0.2 123:0.020202020202020204 124:1.0 138:0.5 163:0.2 486:0.3333333333333333 636:0.5 700:1.0 1061:0.5 2404:1.0 3404:1.0 4743:1.0 5118:1.0 5310:1.0 6299:1.0
19 13:0.25 20:0.2222222222222222 49:1.0 63:1.0 88:0.2 123:0.020202020202020204 245:0.1111111111111111 506:0.14285714285714285 692:0.5 749:1.0 1348:0.041666666666666664 1380:0.5 1398:1.0 1489:0.5 2357:1.0 2501:1.0 4743:1.0 4816:1.0
19 123:0.010101010101010102 234:0.1111111111111111 245:0.1111111111111111 506:0.14285714285714285 573:0.3333333333333333 579:1.0 731:1.0 1061:0.5 1982:0.2 2606:0.16666666666666666 2653:0.25 5908:1.0
19 32:0.5 34:0.1 62:1.0 68:0.2 88:0.2 167:0.1 4690:0.5 5064:0.5 5811:1.0
19 7:0.11764705882352941 11:0.16666666666666666 24:0.5 34:0.1 49:1.0 90:0.2 123:0.010101010101010102 124:1.0 130:1.0 245:0.1111111111111111 280:1.0 308:0.125 325:1.0 329:1.0 413:1.0 506:0.14285714285714285 645:1.0 1348:0.041666666666666664 1804:1.0 3071:1.0 3772:1.0 4654:0.5
19 7:0.058823529411764705 123:0.020202020202020204 167:0.1 308:0.125 645:1.0 1896:1.0 2993:1.0 3404:1.0 4968:0.2
19 7:0.058823529411764705 73:1.0 224:1.0 245:0.1111111111111111 398:0.08333333333333333 492:0.2857142857142857 787:1.0 996:1.0 3325:1.0 4562:1.0 6282:1.0
19 24:0.5 25:0.1 34:0.1 40:0.3333333333333333 88:0.4 163:0.4 225:1.0 306:0.3333333333333333 310:1.0 388:2.0 393:2.0 412:0.3333333333333333 443:0.25 798:1.0 980:1.0 1167:1.0 1465:1.0 4722:1.0 5145:1.0
19 7:0.058823529411764705 25:0.1 32:0.5 34:0.2 62:1.0 68:0.2 80:1.0 123:0.010101010101010102 225:1.0 281:1.0 308:0.125 335:1.0 472:0.2 1167:1.0 1326:1.0 1367:1.0 1461:1.0 2302:1.0 2466:1.0 2835:1.0 4481:1.0 4532:1.0 4690:0.5
19 20:0.2222222222222222 24:0.5 25:0.2 40:0.3333333333333333 49:1.0 62:1.0 73:1.0 123:0.030303030303030304 133:0.125 179:0.3333333333333333 203:0.125 220:0.3333333333333333 426:0.5 492:0.14285714285714285 506:0.14285714285714285 530:0.5 645:1.0 776:1.0 1022:1.0 1150:0.125 1380:0.5 1408:1.0 1832:1.0 1878:1.0 4463:1.0 4563:1.0 4954:1.0 5493:0.5
19 24:1.5 25:0.3 26:1.0 47:1.0 90:0.2 131:1.0 159:0.3333333333333333 259:1.0 260:1.0 373:0.16666666666666666 1217:1.0 1898:1.0 2458:0.3333333333333333 4690:0.5 4722:1.0 4991:1.0
19 20:0.2222222222222222 24:0.5 49:2.0 123:0.020202020202020204 133:0.125 159:0.3333333333333333 171:0.3333333333333333 181:0.3333333333333333 486:0.6666666666666666 506:0.14285714285714285 731:1.0 809:1.0 836:0.5 1080:1.0 1303:1.0 1348:0.041666666666666664 2399:1.0 4202:1.0 4217:1.0 4357:1.0 4465:0.3333333333333333 4816:1.0 5526:1.0
19 13:0.25 25:0.2 40:0.3333333333333333 73:1.0 77:1.0 88:0.2 103:0.2 123:0.010101010101010102 171:0.3333333333333333 274:1.0 460:0.5 799:1.0 958:1.0 999:1.0 1867:0.3333333333333333 2291:1.0 4734:1.0 5330:1.0
19 20:0.1111111111111111 24:0.5 31:0.14285714285714285 34:0.1 49:1.0 88:0.4 90:0.2 123:0.010101010101010102 124:1.0 186:1.0 259:1.0 426:0.5 443:0.25 492:0.14285714285714285 506:0.14285714285714285 662:1.0 700:1.0 713:1.0 797:1.0 820:1.0 846:1.0 931:1.0 2183:1.0 2384:1.0 3075:1.0 4463:1.0 4574:1.0 5582:1.0 5711:1.0 5999:1.0
19 7:0.058823529411764705 20:0.1111111111111111 23:0.3333333333333333 25:0.1 34:0.1 40:0.3333333333333333 51:1.0 68:0.2 90:0.2 103:0.4 121:1.0 123:0.020202020202020204 245:0.1111111111111111 447:0.5 688:0.14285714285714285 722:0.3333333333333333 2687:0.5 4357:1.0 4513:1.0 4823:1.0 5734:1.0
19 7:0.058823529411764705 13:0.25 14:0.25 16:1.0 20:0.2222222222222222 24:0.5 31:0.14285714285714285 32:1.0 47:1.0 49:1.0 62:1.0 68:0.2 103:0.2 106:0.09090909090909091 123:0.020202020202020204 133:0.25 167:0.2 203:0.125 259:2.0 388:1.0 393:1.0 425:1.0 459:0.1 486:0.3333333333333333 492:0.2857142857142857 506:0.14285714285714285 573:0.3333333333333333 963:0.5 967:1.0 1150:0.25 1398:2.0 1473:0.5 1849:2.0 3071:1.0 3348:1.0 3536:1.0 4439:1.0 4488:0.5 4541:1.0 5090:0.5 5583:1.0
19 7:0.17647058823529413 23:0.3333333333333333 24:0.5 25:0.2 31:0.14285714285714285 33:1.0 34:0.1 49:3.0 90:0.4 103:0.2 123:0.020202020202020204 124:1.0 329:1.0 457:0.5 486:0.3333333333333333 771:0.5 787:1.0 1275:0.5 1348:0.041666666666666664 1411:0.5 2191:1.0 2538:1.0 2714:1.0
19 34:0.1 88:0.2 123:0.020202020202020204 124:1.0 167:0.1 239:0.2 351:2.0 639:1.0 1849:1.0 1903:1.0 2183:1.0 5203:1.0 5481:1.0
19 7:0.11764705882352941 25:0.1 32:0.5 103:0.2 106:0.09090909090909091 239:0.2 245:0.1111111111111111 260:1.0 282:1.0 373:0.16666666666666666 404:0.07692307692307693 447:0.5 980:1.0 1104:1.0 4725:1.0 4896:1.0 5138:1.0
19 7:0.058823529411764705 88:0.4 123:0.010101010101010102 179:0.3333333333333333 428:1.0 608:0.5 631:1.0 958:1.0 1278:1.0 1653:1.0 1828:1.0 2606:0.16666666666666666 3905:1.0 4480:0.5 4796:1.0
19 6:1.0 7:0.17647058823529413 32:0.5 48:1.0 49:1.0 73:2.0 76:1.0 103:0.2 123:0.020202020202020204 159:0.3333333333333333 220:0.3333333333333333 274:1.0 396:0.3333333333333333 449:1.0 506:0.42857142857142855 507:0.3333333333333333 607:0.5 669:1.0 1380:0.5 1702:1.0 1840:1.0 2439:1.0 3980:1.0
19 76:1.0 103:0.2 123:0.010101010101010102 163:0.2 203:0.125 537:1.0 579:1.0 1804:1.0 5099:0.5 5542:1.0
19 7:0.058823529411764705 13:0.25 15:0.2 20:0.1111111111111111 68:0.2 123:0.020202020202020204 167:0.1 186:1.0 259:1.0 372:1.0 388:1.0 506:0.14285714285714285 769:1.0 1150:0.125 1303:1.0 2653:0.25 3082:1.0 4463:1.0 4488:0.5 4728:1.0 4763:1.0
19 6:0.5 7:0.058823529411764705 106:0.09090909090909091 133:0.125 179:0.3333333333333333 506:0.14285714285714285 731:1.0 1606:1.0 1903:1.0 3267:1.0 3348:1.0 3905:1.0
19 7:0.058823529411764705 23:0.3333333333333333 25:0.1 32:0.5 40:0.3333333333333333 47:1.0 68:0.2 88:0.2 123:0.020202020202020204 142:0.5 351:1.0 492:0.14285714285714285 506:0.14285714285714285 692:0.5 1150:0.125 2719:1.0 4478:1.0 4616:1.0 4842:1.0 5490:1.0 5939:1.0
19 7:0.058823529411764705 24:1.5 25:0.3 40:0.3333333333333333 49:1.0 92:1.0 103:0.2 123:0.010101010101010102 124:1.0 163:0.2 167:0.1 224:1.0 282:2.0 506:0.2857142857142857 709:1.0 749:1.0 1082:0.5 1249:1.0 1473:0.5 1938:1.0 2966:1.0 3193:1.0 4466:1.0 4481:1.0 4558:1.0
19 23:0.3333333333333333 32:0.5 34:0.1 40:0.3333333333333333 49:1.0 80:1.0 88:0.2 123:0.020202020202020204 124:1.0 167:0.1 351:1.0 430:1.0 459:0.1 525:1.0 749:1.0 797:1.0 1082:0.5 2065:1.0 2568:1.0 4612:1.0 5247:1.0 5364:1.0 5843:1.0
19 7:0.058823529411764705 15:0.2 25:0.1 31:0.14285714285714285 40:0.3333333333333333 76:1.0 88:0.2 123:0.010101010101010102 162:1.0 245:0.1111111111111111 308:0.25 537:1.0 631:1.0 958:1.0 1275:1.0 1315:1.0 1840:1.0 3872:1.0 4513:1.0 4791:1.0 4960:1.0
19 7:0.058823529411764705 25:0.1 32:0.5 49:1.0 186:1.0 506:0.14285714285714285 2063:1.0 2259:0.5 5045:1.0 5668:1.0
19 7:0.17647058823529413 25:0.1 34:0.2 90:0.2 123:0.030303030303030304 138:0.5 186:1.0 239:0.2 293:1.0 320:1.0 373:0.16666666666666666 443:0.25 506:0.14285714285714285 1406:1.0 2848:0.5 3570:1.0 4722:1.0 5183:1.0 5206:1.0 5387:1.0 5866:1.0
19 7:0.058823529411764705 24:1.0 25:0.2 68:0.2 135:1.0 234:0.1111111111111111 472:0.2 492:0.14285714285714285 813:1.0 1348:0.041666666666666664 3765:1.0 5717:1.0 5866:1.0
19 14:0.25 25:0.2 62:1.0 68:0.2 123:0.020202020202020204 259:1.0 619:1.0 674:1.0 731:1.0 1200:1.0 1408:1.0 1523:1.0 1867:0.3333333333333333 1908:1.0 4006:1.0 4626:1.0
19 25:0.1 32:0.5 49:1.0 91:0.5 98:0.3333333333333333 133:0.125 245:0.1111111111111111 308:0.125 472:0.2 561:1.0 611:0.3333333333333333 674:1.0 813:1.0 1264:1.0 1804:1.0 1896:1.0 2115:1.0 2803:1.0 3129:1.0 3348:1.0 4562:1.0 5802:1.0
19 123:0.010101010101010102 225:1.0 506:0.14285714285714285 513:1.0 2653:0.25 2803:1.0 4627:1.0 4661:0.3333333333333333 4722:1.0
19 6:0.5 13:0.25 15:0.2 24:0.5 25:0.1 49:1.0 51:1.0 62:1.0 68:0.2 121:1.0 178:1.0 259:1.0 318:1.0 420:1.0 472:0.2 556:0.3333333333333333 639:1.0 674:1.0 720:1.0 836:0.5 963:0.5 1315:1.0 1898:1.0 2071:1.0 3179:1.0 4595:1.0 4796:1.0 5860:1.0
19 7:0.058823529411764705 24:0.5 49:1.0 62:1.0 88:0.2 159:0.3333333333333333 203:0.125 225:1.0 299:1.0 373:0.16666666666666666 434:0.5 510:0.5 709:1.0 746:1.0 909:0.5 1061:0.5 1954:1.0 5476:1.0
19 7:0.11764705882352941 11:0.16666666666666666 68:0.2 88:0.2 135:1.0 245:0.1111111111111111 771:0.5 799:1.0 1348:0.041666666666666664 1587:0.5 4480:0.5 5522:1.0 5768:1.0
19 13:0.25 48:1.0 49:3.0 123:0.010101010101010102 259:2.0 506:0.14285714285714285 731:1.0 1150:0.125 1398:2.0 2659:1.0 3095:1.0 4774:0.3333333333333333 5071:1.0
19 7:0.058823529411764705 33:1.0 47:1.0 68:0.2 123:0.030303030303030304 130:1.0 203:0.125 372:1.0 473:1.0 639:1.0 836:0.5 1348:0.041666666666666664 3126:1.0 4463:1.0 5361:1.0 5627:1.0 5913:1.0
19 7:0.11764705882352941 23:0.3333333333333333 24:0.5 25:0.1 34:0.1 40:0.3333333333333333 49:1.0 62:1.0 73:1.0 90:0.4 135:1.0 156:0.5 167:0.2 280:1.0 645:1.0 836:0.5 914:1.0 1348:0.041666666666666664 1406:1.0 3314:1.0 3375:1.0 3748:1.0 3949:1.0 4591:0.5 4755:1.0 5111:1.0
19 7:0.058823529411764705 23:0.3333333333333333 25:0.1 40:0.6666666666666666 73:1.0 123:0.010101010101010102 138:0.5 167:0.1 239:0.2 393:1.0 1398:2.0 1604:0.25 1849:1.0 1903:1.0 2080:1.0 2643:1.0 3668:1.0 4503:1.0 4591:0.5 4618:1.0 4661:0.3333333333333333 4690:0.5 4741:0.3333333333333333 4768:1.0 5897:1.0
19 32:0.5 40:0.6666666666666666 44:1.0 88:0.2 90:0.2 103:0.2 123:0.010101010101010102 159:0.3333333333333333 167:0.2 179:0.3333333333333333 377:1.0 447:0.5 486:0.6666666666666666 492:0.14285714285714285 506:0.14285714285714285 556:0.3333333333333333 1394:1.0 1587:0.5 1653:1.0 1901:1.0 1982:0.2 2606:0.16666666666666666 2908:1.0 3573:1.0 4447:1.0 5178:1.0 5196:1.0 5216:1.0 5391:1.0
19 7:0.11764705882352941 25:0.1 31:0.14285714285714285 32:0.5 34:0.1 40:0.6666666666666666 49:2.0 90:0.2 98:0.3333333333333333 123:0.010101010101010102 159:0.3333333333333333 167:0.1 245:0.1111111111111111 303:1.0 329:1.0 444:0.3333333333333333 506:0.14285714285714285 507:0.3333333333333333 996:1.0 1348:0.041666666666666664 1587:0.5 2375:1.0 3006:0.5 4481:1.0 6203:1.0
19 3:2.0 23:0.6666666666666666 48:1.0 49:1.0 88:0.2 325:1.0 443:0.25 472:0.2 644:1.0 700:1.0 932:1.0 1304:1.0 4722:1.0
19 3:1.0 7:0.058823529411764705 31:0.14285714285714285 42:1.0 44:1.0 49:4.0 72:1.0 88:0.2 90:0.2 123:0.030303030303030304 124:2.0 135:1.0 159:0.3333333333333333 167:0.1 235:1.0 259:1.0 421:1.0 644:1.0 663:1.0 809:1.0 915:1.0 1036:1.0 1371:0.5 1397:1.0 1714:1.0 1774:1.0 2065:1.0 2259:0.5 3230:1.0 3378:1.0 4463:1.0 4746:1.0 5405:1.0
19 25:0.1 32:0.5 40:0.3333333333333333 106:0.09090909090909091 404:0.07692307692307693 2653:0.25 3404:1.0 5090:0.5 6261:1.0
19 23:0.3333333333333333 25:0.2 49:1.0 92:1.0 123:0.010101010101010102 138:0.5 443:0.5 460:0.5 492:0.14285714285714285 525:1.0 611:0.3333333333333333 1082:0.5 1867:0.3333333333333333 4691:1.0 4719:1.0 4722:1.0
19 24:1.0 25:0.4 34:0.1 40:0.3333333333333333 46:1.0 49:1.0 123:0.020202020202020204 124:1.0 167:0.1 212:0.3333333333333333 459:0.1 754:1.0 833:1.0 893:1.0 964:1.0 979:1.0 1068:1.0 1186:1.0 1326:1.0 1348:0.041666666666666664 1828:1.0 4876:1.0 5095:1.0 5230:1.0 5636:1.0
19 32:0.5 34:0.1 49:1.0 68:0.4 123:0.020202020202020204 162:1.0 163:0.2 234:0.1111111111111111 259:1.0 306:0.3333333333333333 506:0.14285714285714285 525:1.0 2065:1.0 4690:0.5 5230:1.0
19 7:0.11764705882352941 13:0.25 33:1.0 51:1.0 68:0.4 76:1.0 123:0.010101010101010102 135:2.0 159:0.3333333333333333 163:0.2 282:1.0 306:0.3333333333333333 506:0.14285714285714285 1348:0.08333333333333333 2653:0.25 4481:1.0 4562:1.0 4918:1.0 4930:0.3333333333333333 5315:1.0
19 6:0.5 7:0.058823529411764705 13:0.5 25:0.1 76:1.0 90:0.2 103:0.2 123:0.020202020202020204 133:0.125 274:1.0 506:0.14285714285714285 674:1.0 692:0.5 3225:0.5 4470:1.0 4722:1.0
19 13:0.25 40:0.3333333333333333 49:1.0 123:0.020202020202020204 167:0.1 245:0.1111111111111111 328:1.0 389:1.0 536:1.0 1022:2.0 1394:1.0 2065:1.0 2249:1.0 3158:1.0 5838:1.0
19 20:0.2222222222222222 34:0.2 68:0.2 119:1.0 123:0.020202020202020204 124:1.0 130:1.0 133:0.125 138:0.5 167:0.2 308:0.125 398:0.08333333333333333 586:1.0 836:0.5 1061:0.5 1150:0.125 2065:1.0 2783:0.3333333333333333 3228:1.0 4217:1.0 4968:0.2 5058:1.0
19 16:1.0 20:0.2222222222222222 25:0.1 40:0.3333333333333333 49:2.0 73:1.0 90:0.2 123:0.010101010101010102 130:1.0 133:0.125 167:0.1 282:1.0 310:1.0 448:1.0 645:1.0 674:1.0 692:0.5 809:1.0 1150:0.125 2259:0.5 4434:1.0 4662:1.0 4863:1.0 5225:1.0
19 7:0.058823529411764705 20:0.1111111111111111 23:0.3333333333333333 40:0.3333333333333333 68:0.2 73:2.0 88:0.4 103:0.2 123:0.010101010101010102 242:0.5 544:1.0 722:0.3333333333333333 1210:1.0 4627:1.0 4725:1.0 4764:1.0 4870:1.0
19 7:0.11764705882352941 14:0.25 25:0.1 90:0.2 123:0.010101010101010102 163:0.2 308:0.125 309:1.0 507:0.3333333333333333 544:1.0 1217:1.0 1326:1.0 2080:1.0 2131:1.0 4722:1.0
19 20:0.1111111111111111 25:0.1 32:0.5 40:0.3333333333333333 68:0.2 90:0.2 135:1.0 179:0.3333333333333333 226:1.0 282:1.0 425:1.0 1104:1.0 1145:0.3333333333333333 1787:1.0 1908:1.0 2085:1.0 4465:0.3333333333333333 4764:1.0
19 7:0.058823529411764705 123:0.010101010101010102 167:0.1 203:0.125 274:1.0 709:1.0 722:0.3333333333333333 861:1.0 2005:1.0 4644:1.0
19 20:0.1111111111111111 23:0.3333333333333333 49:1.0 92:1.0 167:0.1 225:1.0 749:1.0 1168:0.5 1749:1.0 4481:1.0 4627:1.0 4661:0.3333333333333333 5553:1.0
19 23:0.6666666666666666 24:1.0 25:0.1 34:0.2 51:1.0 123:0.04040404040404041 140:1.0 167:0.1 239:0.2 259:1.0 274:1.0 426:0.5 459:0.1 506:0.14285714285714285 507:0.3333333333333333 722:0.3333333333333333 798:1.0 799:1.0 861:1.0 958:1.0 990:1.0 991:1.0 1196:1.0 1295:1.0 1406:1.0 2581:1.0 2659:1.0 3230:1.0 3403:1.0 4331:0.5 4513:1.0 4558:2.0 4874:1.0
19 7:0.17647058823529413 20:0.1111111111111111 32:0.5 49:1.0 167:0.1 179:0.3333333333333333 404:0.07692307692307693 459:0.1 656:1.0 749:1.0 1150:0.125 1348:0.041666666666666664 2228:1.0 2606:0.16666666666666666 2865:1.0 3286:1.0 5387:1.0 5891:1.0
19 32:0.5 34:0.1 68:0.2 135:2.0 179:0.3333333333333333 329:1.0 722:0.3333333333333333 1001:1.0 1381:1.0 1957:1.0 2606:0.16666666666666666
19 32:0.5 34:0.1 68:0.2 135:2.0 329:1.0 1957:1.0 3905:1.0 5424:1.0
19 16:1.0 20:0.1111111111111111 27:1.0 39:1.0 123:0.010101010101010102 328:1.0 460:0.5 492:0.14285714285714285 597:0.5 4930:0.3333333333333333
19 7:0.058823529411764705 23:0.6666666666666666 24:0.5 25:0.1 32:0.5 40:0.3333333333333333 51:1.0 68:0.4 76:1.0 88:0.2 103:0.2 123:0.010101010101010102 195:0.25 259:1.0 506:0.14285714285714285 674:1.0 727:0.5 1031:1.0 1898:1.0 3230:1.0 3798:1.0 3997:1.0 4513:1.0 6239:1.0
19 23:0.3333333333333333 73:1.0 90:0.2 167:0.1 333:1.0 579:1.0 731:1.0 1144:1.0 4481:1.0 4541:1.0 4554:1.0 4690:0.5 5925:1.0
19 203:0.125 245:0.1111111111111111 5786:2.0
19 7:0.058823529411764705 13:0.25 14:0.25 18:0.3333333333333333 68:0.2 163:0.2 195:0.25 245:0.1111111111111111 1898:1.0 4690:0.5 4722:1.0
19 13:0.25 14:0.25 49:1.0 123:0.010101010101010102 124:1.0 163:0.2 486:0.3333333333333333 771:0.5 809:1.0 1071:1.0 1150:0.125 1348:0.041666666666666664 2907:1.0 3835:1.0 3941:1.0 4463:1.0 4537:1.0 4816:1.0
19 13:0.25 20:0.1111111111111111 25:0.1 32:0.5 49:2.0 68:0.2 72:1.0 90:0.2 123:0.020202020202020204 133:0.125 167:0.1 179:0.3333333333333333 195:0.25 245:0.2222222222222222 318:1.0 447:0.5 472:0.2 492:0.14285714285714285 697:1.0 771:0.5 813:1.0 980:1.0 1983:1.0 2191:1.0 2568:1.0 2606:0.16666666666666666 2653:0.25 3267:1.0 3518:1.0 4629:1.0 4796:1.0
19 31:0.14285714285714285 34:0.1 62:1.0 123:0.010101010101010102 167:0.1 245:0.2222222222222222 506:0.14285714285714285 882:1.0 1587:0.5 2830:1.0 4451:1.0 4509:1.0 5377:1.0 5485:1.0 5859:1.0
19 25:0.1 31:0.2857142857142857 68:0.4 80:1.0 106:0.09090909090909091 107:1.0 108:1.0 123:0.010101010101010102 124:1.0 127:0.5 220:0.3333333333333333 282:1.0 306:0.3333333333333333 351:1.0 398:0.08333333333333333 426:0.5 472:0.2 530:1.0 645:1.0 1797:1.0 1896:1.0 2308:1.0 3325:1.0 3846:1.0 4680:1.0 4842:2.0 5008:1.0 5035:1.0 5073:1.0
19 7:0.058823529411764705 20:0.1111111111111111 31:0.2857142857142857 32:0.5 34:0.1 46:1.0 49:1.0 124:1.0 163:0.2 212:0.3333333333333333 245:0.1111111111111111 989:0.3333333333333333 1150:0.125 1305:1.0 1371:0.5 1398:1.0 1411:0.5 4481:1.0 4666:1.0 5138:1.0
19 5:1.0 34:0.1 124:1.0 220:0.3333333333333333 388:1.0 434:0.5 573:0.3333333333333333 3410:1.0 4957:2.0
19 7:0.058823529411764705 23:0.3333333333333333 24:0.5 31:0.14285714285714285 32:1.0 68:0.2 88:0.4 123:0.020202020202020204 135:1.0 142:0.5 159:0.3333333333333333 203:0.125 298:1.0 329:1.0 388:1.0 459:0.1 472:0.2 492:0.14285714285714285 662:1.0 771:0.5 1150:0.25 1303:1.0 1398:1.0 1406:1.0 2289:1.0 2357:1.0 4465:0.3333333333333333 4654:0.5 4955:1.0 5008:1.0 5242:0.5 5891:1.0
19 259:1.0 492:0.14285714285714285 525:1.0 1082:0.5 4666:1.0 5689:1.0
19 7:0.11764705882352941 20:0.1111111111111111 31:0.14285714285714285 68:0.2 76:1.0 90:0.2 103:0.2 123:0.010101010101010102 133:0.125 163:0.2 171:0.3333333333333333 259:3.0 335:1.0 373:0.16666666666666666 388:1.0 398:0.08333333333333333 507:0.3333333333333333 535:1.0 579:1.0 722:0.3333333333333333 731:1.0 1061:0.5 1303:1.0 1381:1.0 1898:1.0 2369:1.0 3837:1.0 4224:1.0 4454:1.0 4574:1.0 4595:1.0 5020:1.0
|
28c0ced98060f095b4fa54db4ecd4acfe20126aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH8/EX8.21/8_21.sce | 6156a53bed1f61bd2b05b3e403a8ff4900836d72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | 8_21.sce | //8.21
clc;
R2=5.6*10^3;
R1=1*10^3;
Avf=1+R2/R1;
printf("Mid band Gain=%.2f", Avf)
Vin=1.6;
Vo=Avf*Vin;
printf("\nOutput voltage=%.3f mV", Vo)
R=1000;
C=0.001*10^-6;
fc=1/(2*%pi*R*C);
printf("\nCutt off frequency=%.2f Hz", fc)
Gain=0.707*Avf;
printf("\nGain=%.3f", Gain)
|
5ee3f5f9fa50e7685c1a2abbc5eb34f774e7d200 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH8/EX8.14.13/Ex8_13.sce | bc5f999590272c180b75351063aeb2ebd91c0438 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,362 | sce | Ex8_13.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 8 Junction Transistors:Biasing and Amplification
clc
clear
RE=0.680//RE=resistance in kilo ohms connected to the emitter terminal
RC=2.7//RC=resistance in kilo ohms connected to the collector terminal
//RB=resistance connected to the base terminal
VCE=7.3//VCE=collector emitter voltage
VBE=0.7//VBE=base emitter voltage
Vre=2.1//Vre=voltage across RE resistance
IB=0.02//IB=base current in mA
IE=Vre/RE//IE=emitter current in mA
IC=IE-IB//IC=collector current in mA
b=IC/IB//b=current gain
format("v",6)
disp(b,"The current gain β is =")
VCC=(IC*RC)+VCE+Vre//VCC=collector supply voltage
format("v",5)
disp("V",VCC,"The collector supply voltage VCC is =")
//Voltage across RB (Vrb)resistance is given by
Vrb=VCC-(VBE+Vre)
RB=Vrb/IB
format("v",5)
disp("kilo ohm",RB,"The resistance RB is =")
//To draw the DC load line,we neglect the base current in RE resistance
//Equation for DC load line is:
//VCE=VCC-(RC+RE)*IC
disp("For the DC load line")
disp("V",VCC,"The intercept of the load line on the VCE-axis(X-axis) is =")
disp("mA",VCC/(RC+RE),"The intercept of the load line on the IC axis(Y-axis) is =")
disp("The DC load line is the straight line joining above two intercepts.")
disp("The co-ordinates of the operating point Q on the load line are (7.3V,3.07mA)")
|
4a060bcb07efac314a589b1015f4a36acd49fbfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH5/EX5.5/Ex5_5.sce | 5015449ec90e7a03bf0f19cffe294065de284e9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex5_5.sce | // Example 5.5
clc;
clear;
close;
// Given data
format('v',5);
f= 800;// in Hz
C= 0.01;// in µF (assumed)
C= C*10^-6;// in F
D= 60;// in duty cycle in %
// D= (R_A+R_B)/(R_A+2*R_B)*100= 60 or
// R_B= 2*R_A
R_A= 1.44/(f*5*C);// in Ω (From f=1.44/((R_A+2*R_B)*C))
R_A= R_A*10^-3;//in kΩ
R_B= 2*R_A;// in kΩ
C= C*10^6;//in F
disp(R_A,"The value of R_A in kΩ is : ");
disp(R_B,"The value of R_B in kΩ is : ");
disp(C,"The value of C in µF is : ")
|
999bcfe073cbf0f8b82b1690f1b4621ec1bfc8dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH2/EX2.5.s/2_05_solution.sce | a52701952869bf1997b7f86e3c44d0eb20bd4e82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | 2_05_solution.sce | //Solution 2-5
WD=get_absolute_file_path('2_05_solution.sce')
datafile=WD+filesep()+'2_05_example.sci'
clc;
exec(datafile)
//conversion
l = l / 100; //from [cm] to [m]
L = L / 100; //from [cm] to [m]
R = d_o / (2 * 100);
mu = T * l / (4 * %pi**2 * R**3 * ndot / 60 * L);
printf("Viscocity of fluid is measured to be %1.3f N.s/m^2", mu); |
929c099720961583b072424be4b8512467ee2f9b | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH4/EX4.25/Ex4_25.sce | ac4b0957c941d57e62e6e6bc125662ab50517e60 | [] | 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 | 232 | sce | Ex4_25.sce | //Variable Declaration
n = 8
n1 = 2
n2 = 5
n3 = 1
p1 = 0.3
p2 = 0.5
p3 = 0.2
//Calculation
p = (factorial(8)/(factorial(2)*factorial(5)*factorial(1)))*((p1^2)*(p2^5)*(p3^1))
//Results
printf ( "Required Probability: %.4f",p)
|
194c3d9a6cf2ae92d8a90ae8a7fc642a88c488ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH9/EX9.5/ex_9_5.sce | 0deadf0e55faa782817b04c9d092ebdf23ea7563 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | ex_9_5.sce | //Example 9.5 // emf and internal resistance of each cell
clc;
clear;
close;
n=6;// no. of cells
Rl=3;// LOAD RESISTANCE
I=2.5;// IN AMPERES
r1=9;// in ohms
I2=1.25;// om amperes
r=((r1*I2)-(Rl*I))/(n*(I-I2));// internal resistance in ohms
E=((I*(Rl+n*r))/n);// emf of each cell in volts
disp(E,"emf of each cell in volts is")
disp(r,"internal resistance of each cell in ohms")
|
b58f2fe03890e895b4d0dab45457afc52605da70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH4/EX4.8/4_8.sce | 56107898aee8eeff0d73dcf910e363821b80d3c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | 4_8.sce | clc;
disp("Example 4.8")
Re=100000 // Reynold number
f=0.079/(Re^0.25) // friction factor according to 1/5th law
ratio= 1+ 3.75*((f/2)^0.5)
disp("The ratio of maximum velocity to the average velocity is ")
disp(ratio)
|
4fa24649a11dee510af4b2b8f8a635fe4804ceda | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH5/EX5.2/5_2.sce | a835c0df8bfb7fd3ab62b2ee22f1fd4f06528d66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | 5_2.sce | //clear//
clc
clear
exec("5.2data.sci");
for i =1:length(t)
g(i) =log(2*P0/(3*P0-P(i)));
end
plot2d(t,g);
xtitle( 'Figure E4-11.2 Plot of processed data', 't (min)', '2PTo/3PTo-PT' ) ;
|
2be22e5af5592b713dc96fa5fa49ed5986f409d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH3/EX3.5/Exa3_5.sce | e82842e3f611611de76f7d3f1bfe54df8392a1c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Exa3_5.sce | //Exa 3.5
clc;
clear;
close;
//given data :
//l=lambda/10 meter
//Assume %pi^2 = 10
Rl=2;//in Ohm
disp("Rr=80*%pi^2*(dl/lambda)^2");
disp("dl/lambda = 1/10 : as l=lambda/10 ");
Rr=80*10*(1/10)^2;//in Ohm
disp(Rr,"Radiation Resistance in Ohm : ");
ETA=Rr/(Rr+Rl);//in Ohm
disp(ETA*100," Efficiency inn % : "); |
bd83e9f74bee65a72abd8853fd265e1cd9c561d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH5/EX5.3.2/Example5_2.sce | 81f661bd12f240895dcdf74d3f8582ecc1ef0cf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_2.sce | //Chapter-5,Example5_3_2,pg 5-6
h=6.63*10^-34 //Plancks constant
m=9.1*10^-31 //mass of an electron
wavelength=10^-10 //de Broglie wavelength of an electron
v=h/(m*wavelength) //velocity of an electron
printf("\nThe velocity of an electron is v = %.1f m/s\n",v)
|
9cd87e457764c4d95ef2dfecd9d38b38e400b2b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH7/EX7.15/exa_7_15.sce | 6ac28acc393ac9a5b88acd222cf34c995f32d91b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | exa_7_15.sce | // Exa 7.15
clc;
clear;
close;
// Given data
r= 469;// in ohm
R2= 1000;// in ohm
R3= 218;//in ohm
R4= 1000;//in ohm
C= 10;// in miu F
C= C*10^-6;// in F
R1= R2*R3/R4;// in ohm
disp(R1,"Resistance of inductor in ohm")
L1= C*R2/R4*(r*(R3+R4)+R3*R4);// in H
disp(L1,"Inductance of inductor in H")
|
5db27edb7fb2faaab72504d1a018a27c1cafee68 | f36d0056f69fa9ec3ec345a1963e7c3e17bf46bc | /ScilabArduino/Scilab/ScilabArduino_Temp_v0.1.sce | a837a1efe323eca21ea0ca174c35672e894c3f37 | [] | no_license | AndresPinguino/Arduino | 04d3a9fb5fd72be6d365a99ba6f8afa1176c2491 | f818e416b062c8cecb02a38bd730e5c31d33bc5f | refs/heads/master | 2021-09-17T23:53:42.650215 | 2018-07-07T04:58:20 | 2018-07-07T04:58:20 | 139,914,016 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,693 | sce | ScilabArduino_Temp_v0.1.sce | //
// Copyright (C) 2014 - A. Khorshidi <akhorshidi@live.com>
//
// This file is distributed in the hope that it will be useful;
// It must be used under the terms of the CeCILL.
// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
//
//
// The following work provided the inspiration for this challenge.
// https://www.scilab.org/content/view/full/847
//
// I owe thanks to Bruno Jofret, the author of the original GUI.
// https://fileexchange.scilab.org/toolboxes/270000
//
ind = x_choose(["RS-232" ;"USB"; "Ethernet" ;"Wireless"],["Please select the type of communication interface: ";"Just double-click on its name. "],"Cancel");
if ind==0 then
msg=_("ERORR: No types of communication interfaces has been chosen. ");
messagebox(msg, "ERROR", "error");
error(msg);
return;
elseif ind==2
if (getos() == "Windows") then
if ~(atomsIsInstalled('serial')) then
msg=_("ERROR: A serial communication toolbox must be installed.");
messagebox(msg, "Error", "error");
error(msg);
return;
else
flag=1;
end
elseif (getos() == "Linux") then
if ~(atomsIsInstalled('serialport')) & ~(atomsIsInstalled('serial')) then
msg=_("ERROR: A serial communication toolbox must be installed.");
messagebox(msg, "Error", "error");
error(msg);
return;
elseif (atomsIsInstalled('serialport')) & (atomsIsInstalled('serial')) then
stoolbx = x_choose(['serialport';'serial' ],"Which serial ...
commiunication toolbox you prefer to use? "," Cancel ")
if stoolbx==1 then
flag=2;
elseif stoolbx==2 then
flag=3;
else
msg=_("ERROR: No serial toolbox has been chosen. ");
messagebox(msg, "Error", "error");
error(msg);
return;
end
elseif (atomsIsInstalled('serialport')) then
flag=2;
elseif (atomsIsInstalled('serial')) then
flag=3;
end
else
msg=_(["WARNING: This program has been tested and works under Gnu/Linux ...
and Windows."; "On other platforms you may need modify this script. "])
messagebox(msg, "WARNING", "warning");
warning(msg);
return;
end
else
error("Not possible yet.");
return;
end
//
if (getos() == "Linux") then
[rep,stat,stderr]=unix_g("ls /dev/ttyACM*");
if stderr ~= emptystr() then
msg=_(["No USB device found. ";"Check your USB connection or try ...
another port. "])
messagebox(msg, "ERROR", "error");
error(msg);
return;
end
ind = x_choose(rep,["Please specify which USB port you wanna use for ...
communication. ";"Just double-click on its name. "],"Cancel");
if ind==0 then
msg=_("ERORR: No serial port has been chosen. ");
messagebox(msg, "ERROR", "error");
error(msg);
return;
end
port_name = rep(ind);
end
if (getos() == "Windows") then
port_name=evstr(x_dialog('Please enter COM port number: ','13'))
if port_name==[] then
msg=_("ERORR: No serial port has been chosen. ");
messagebox(msg, "ERROR", "error");
error(msg);
return;
end
end
//
global %serial_port
if flag==2 then
%serial_port = serialopen(port_name, 9600, 'N', 8, 1);
while %serial_port == -1
btn=messagebox(["Please check your USB connection, and then click on ...
Try again. "; "To choose another port click on Change. "], "Error", ...
"error", [" Try again " " Change "], "modal");
if ~btn==1 then
[rep,stat,stderr]=unix_g("ls /dev/ttyACM*");
ind = x_choose(rep,["Please specify which USB port you wanna use...
for communication. ";"Just double-click on its name. "],"Cancel");
if ind==0 then
msg=_("ERORR: No serial port has been chosen. ");
messagebox(msg, "ERROR", "error");
error(msg);
return;
end
port_name = rep(ind);
end
%serial_port = serialopen(port_name, 9600, 'N', 8, 1);
end
elseif flag==1 | flag==3
%serial_port=openserial(port_name,"9600,n,8,1");
//error(999)
else
msg=_("ERROR: Could not specify which serial toolbox to use. ");
messagebox(msg, "Error", "error");
error(msg);
return;
end
//
// * Monitoring Phase:
//
global %MaxTemp
%MaxTemp = 35;
global %MinTemp
%MinTemp = 30;
f=figure("dockable","off");
f.resize="off";
f.menubar_visible="off";
f.toolbar_visible="off";
f.figure_name="Real-time Temperature Monitoring and Control";
f.tag="mainWindow";
bar(.5,0,'blue');
e = gce();
e = e.children(1);
e.tag = "instantSensor";
//
plot([0, 1], [%MinTemp, %MinTemp]);
e = gce();
e = e.children(1);
e.tag = "instantMinTemp";
e.line_style = 5;
e.thickness = 2;
e.foreground = color("orange");
//
plot([0, 3], [%MaxTemp, %MaxTemp]);
e = gce();
e = e.children(1);
e.tag = "instantMaxTemp";
e.line_style = 5;
e.thickness = 2;
e.foreground = color("red");
a = gca();
a.data_bounds = [0, 0; 1, 45];
a.grid = [-1, color("darkgrey")];
a.axes_bounds = [0.1, 0.2, 0.25, 0.85];
a.axes_visible(1) = "off";
a.tag = "liveAxes";
//a.title.text="Current Temperature";
//
f.figure_position = [0 0];
f.figure_size = [1000 700];
f.background = color(246,244,242) //color("darkgrey")
//
minTempSlider = uicontrol("style", "slider", "position", [60 30 30 440], ...
"min", 0, "max", 45, "sliderstep", [1 5], "value" , %MinTemp, ...
"callback", "changeMinTemp", "tag", "minTempSlider");
maxTempSlider = uicontrol("style", "slider", "position", [20 30 30 440], ...
"min", 0, "max", 45, "sliderstep", [1 5], "value" , %MaxTemp, ...
"callback", "changeMaxTemp", "tag", "maxTempSlider");
//
// Functions:
function changeMinTemp()
global %MinTemp
e = findobj("tag", "minTempSlider");
%MinTemp = e.value //45 - e.value;
e = findobj("tag", "instantMinTemp");
e.data(:,2) = %MinTemp;
endfunction
//
function changeMaxTemp()
global %MaxTemp
e = findobj("tag", "maxTempSlider");
%MaxTemp = e.value //45 - e.value;
e = findobj("tag", "instantMaxTemp");
e.data(:,2) = %MaxTemp;
endfunction
//
function closeFigure()
stopSensor();
global %serial_port
if flag == 2 then
serialclose(%serial_port);
elseif flag == 1 | flag == 3 then
closeserial(%serial_port);
end
f = findobj("tag", "mainWindow");
delete(f);
endfunction
//
function stopSensor()
global %Acquisition
%Acquisition = %f;
endfunction
//
function launchSensor()
global %MaxTemp
global %serial_port
global %Acquisition
%Acquisition = %t;
global %fanStatus
%fanStatus = 0;
// Arduino toolbox
values=[];
value=ascii(0);
while %Acquisition
while(value~=ascii(13)) then
if flag == 2 then
value=serialread(%serial_port,1);
elseif flag == 1 | flag == 3 then
value=readserial(%serial_port,1);
end
values=values+value;
v=strsubst(values,string(ascii(10)),'')
v=strsubst(v,string(ascii(13)),'')
data=evstr(v)
end
//
xinfo("Temperature = "+v+"°C");
values=[]
value=ascii(0);
updateSensorValue(data);
//
global %RegulationEnable
if %RegulationEnable == 1 then
if data > %MaxTemp then
enableFan();
else
disableFan();
end
end
updateFanValue(%fanStatus);
end
endfunction
//
function updateSensorValue(data)
global %MaxTemp
global %MinTemp
e = findobj("tag", "instantSensor");
e.data(2) = data;
if data > %MaxTemp then
e.background = color("red");
else
if data > %MinTemp then
e.background = color("orange");
else
e.background = color("green");
end
end
//
e = findobj("tag", "minuteSensor");
lastPoints = e.data(:, 2);
e.data(:, 2) = [lastPoints(2:$) ; data];
e = findobj("tag", "hourSensor");
lastPoints = e.data(:, 2);
e.data(:, 2) = [lastPoints(2:$) ; data];
endfunction
//
// * Regulation Phase:
//
global %RegulationEnable
%RegulationEnable = 1;
global %PController
%PController = 0;
global %PIController
%PIController = 0;
global %PIDController
%PIDController = 0;
//
top_axes_bounds = [0.25 0 0.8 0.5];
bottom_axes_bounds = [0.25 0.5 0.8 0.5];
minTempDisplay = 20;
maxTempDisplay = 45;
minRegulationDisplay = -0.2;
maxRegulationDisplay = 1.2;
// Temperature variations in the last 5 minutes
timeBuffer = 300;
subplot(222);
a = gca();
a.axes_bounds = top_axes_bounds;
a.tag = "minuteAxes";
plot2d(0:timeBuffer, zeros(1,timeBuffer + 1), color("red"));
a.title.text="Temperature variations in the last 5 minutes";
a.data_bounds = [0, minTempDisplay; timeBuffer, maxTempDisplay];
e = gce();
e = e.children(1);
e.tag = "minuteSensor";
// adding a second vertical axis on the right side ...
// to show the On/Off status of the DC Fan.
a = newaxes();
a.y_location = "right";
a.filled = "off"
a.axes_bounds = top_axes_bounds;
plot2d(0:timeBuffer, zeros(1,timeBuffer + 1), color("blue"));
a.data_bounds = [0, minRegulationDisplay; timeBuffer, maxRegulationDisplay];
a.axes_visible(1) = "off";
a.foreground=color("blue");
a.font_color=color("blue");
e = gce();
e = e.children(1);
e.tag = "minuteRegulation";
// Temperature variations in the last hour
timeBuffer = 4000;
subplot(224);
a = gca();
a.axes_bounds = bottom_axes_bounds;
a.tag = "hourAxes";
plot2d(0:timeBuffer, zeros(1,timeBuffer + 1), color("red"));
a.title.text="Temperature variations in the last hour";
a.data_bounds = [0, minTempDisplay; timeBuffer, maxTempDisplay];
e = gce();
e = e.children(1);
e.tag = "hourSensor";
// 2nd vertical axis
a = newaxes();
a.y_location = "right";
a.filled = "off"
a.axes_bounds = bottom_axes_bounds;
a.axes_visible = "off";
plot2d(0:timeBuffer, zeros(1,timeBuffer + 1), color("blue"));
a.data_bounds = [0, minRegulationDisplay; timeBuffer, maxRegulationDisplay];
a.axes_visible(1) = "off";
a.foreground=color("blue");
a.font_color=color("blue");
e = gce();
e = e.children(1);
e.tag = "hourRegulation";
//
// Functions:
function resetDisplay()
e = findobj("tag", "instantSensor");
e.data(:, 2) = 0;
e = findobj("tag", "minuteSensor");
e.data(:, 2) = 0;
e = findobj("tag", "hourSensor");
e.data(:, 2) = 0;
e = findobj("tag", "minuteRegulation");
e.data(:, 2) = 0;
e = findobj("tag", "hourRegulation");
e.data(:, 2) = 0;
endfunction
//
function changeRegulationStatus()
global %RegulationEnable
e = findobj("tag", "enableRegulationCBO");
%RegulationEnable = e.value;
if %RegulationEnable == 0 then
disableFan();
end
endfunction
//
function updateFanValue(data)
e = findobj("tag", "minuteRegulation");
lastPoints = e.data(:, 2);
e.data(:, 2) = [lastPoints(2:$) ; data];
e = findobj("tag", "hourRegulation");
lastPoints = e.data(:, 2);
e.data(:, 2) = [lastPoints(2:$) ; data];
endfunction
//
function enableFan()
global %serial_port
if flag == 2 then
serialwrite(%serial_port,'H');
elseif flag == 1 | flag == 3 then
writeserial(%serial_port,ascii(72));
end
global %fanStatus
%fanStatus = 1;
endfunction
//
function disableFan()
global %serial_port
if flag == 2 then
serialwrite(%serial_port,ascii(76));
elseif flag == 1 | flag == 3 then
writeserial(%serial_port,"L");
end
global %fanStatus
%fanStatus = 0;
endfunction
//
// Buttons:
// * Main Panel
mainFrame = uicontrol(f, "style", "frame", "position", [15 560 305 80], ...
"tag", "mainFrame", "ForegroundColor", [0/255 0/255 0/255],...
"border", createBorder("titled", createBorder("line", "lightGray", 1)...
, _("Main Panel"), "center", "top", createBorderFont("", 11, "normal"), ...
"black"));
//
startButton = uicontrol(f, "style", "pushbutton", "position", ...
[20 595 145 30], "callback", "launchSensor", "string", "Start Acquisition", ...
"tag", "startButton");
//
stopButton = uicontrol(f, "style", "pushbutton", "position", ...
[170 595 145 30], "callback", "stopSensor", "string", "Stop Acquisition", ...
"tag", "stopButton");
//
resetButton = uicontrol(f, "style", "pushbutton", "position", ...
[20 565 145 30], "callback", "resetDisplay", "string", "Reset", ...
"tag", "resetButton");
//
quitButton = uicontrol(f, "style", "pushbutton", "position", ...
[170 565 145 30], "callback", "closeFigure", "string", "Quit", ...
"tag", "quitButton");
//
RegulationFrame = uicontrol(f, "style", "frame", "position", [15 490 305 65]...
,"tag", "mainFrame", "ForegroundColor", [0/255 0/255 0/255],...
"border", createBorder("titled", createBorder("line", "lightGray", 1), ...
_("Regulation Mode"), "center", "top", createBorderFont("", 11, "normal"),...
"black"));
//
// * Regulation Mode
enableRegulation = uicontrol(f, "style", "checkbox", "position", ...
[20 520 140 20],"string", "ON/OFF", "value", %RegulationEnable, ...
"callback", "changeRegulationStatus", "tag", "enableRegulationCBO");
//
enableP = uicontrol(f, "style", "checkbox", "position", [20 500 140 20], ...
"string", "P Controller", "value", %PController, ...
"callback", "", "tag", "");
//
enablePI = uicontrol(f, "style", "checkbox", "position", [170 520 140 20], ...
"string", "PI Controller", "value", %PIController, ...
"callback", "", "tag", "");
//
enablePID = uicontrol(f, "style", "checkbox", "position", [170 500 140 20], ...
"string", "PID Controller", "value", %PIDController, ...
"callback", "", "tag", "");
//
|
b220fd359b1ce56e9a22f33e7c92fd39143297dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH2/EX2.19/19.sce | 4d80e90b09b4bdcf772fd86e05f49118df403d9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,762 | sce | 19.sce | clc
clear
//Input data
T1=335 //Inlet temperature in K
P1=655 //Inlet pressure in kPa
C1=150 //Inlet velocity in m/s
P2=138 //Exit pressure in kPa
T2=222 //Exit temperature in K
m=9 //Mass flow rate in kg/s
Mol=32 //Molar mass of oxygen in kg/mol
Ri=8314 //Ideal gas constant in J/kg-k
k=1.4 //Adiabatic Constant
Cp=915 //Specific heat capacity at constant pressure in J/kg-K
//Calculation
R=Ri/Mol //Specific gas constant in J/kg-K
a1=sqrt(k*R*T1) //Sound velocity at inlet in m/s
M1=C1/a1 //Inlet mach number
t1=0.964 //Ratio of inlet temperature to Stagnation temperature from gas tables @M1,k=1.4
To1=T1/t1 //Stagnation temperature at inlet in K
p1=0.881 //Ratio of inlet pressure to Stagnation pressure at entry from gas tables @M1,k=1.4
Po1=P1/p1 //Stagnation pressure at entry in kPa
t2=0.834 //Ratio of critical temperature to Stagnation temperature from gas tables @M=1
Tt=To1*t2 //critical temperature in K
C2=sqrt(C1^2+(2*Cp*(T1-T2))) //Exit velocity in m/s,
a2=sqrt(k*R*T2) //Sound velocity at exit in m/s
M2=C2/a2 //Exit mach number
p2=0.208 //Ratio of exit pressure to Stagnation pressure at exit from isentropic gas tables @M2,k=1.4
Po2=P2/p2 //Stagnation pressure at exit in kPa
SPC=(Po1-Po2) //Change in the stagnation pressure between inlet and exit in kPa
ds=R*log(Po1/Po2) //Change in entropy in J/kg-K
T2s=T1*((P2/P1)^((k-1)/k)) //Exit temperature at isentropic state in K
eff=((T1-T2)/(T1-T2s))*100 //Nozzle efficiency in percent
//Output
printf('(A)Exit mach number is %3.2f\n (B)Change in the stagnation pressure between inlet and exit is %3.2f kPa\n (C)Change in entropy is %3.3f J/kg-K\n (D)Static temperature at throat is %3.1f K\n (E)Nozzle efficiency is %3.2f percent',M2,SPC,ds,Tt,eff)
|
9c997f234429c3712111afcd8e835924b5317c5e | 2e162df2ad0363dd248a7604edce59180dfc431f | /6-laba/6-laba.sci | cdebc54cb96a66e3f8e29016e7bc441e763881ed | [] | no_license | imnetcat/graphs-online | 9f03a7071d1a5d79ead29e4e111dd38f28631b13 | 5a24fa16622355047467caead4d35129cba6d0e0 | refs/heads/master | 2022-09-01T02:23:20.724040 | 2020-05-20T19:19:48 | 2020-05-20T19:19:48 | 240,755,646 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sci | 6-laba.sci | n1 = 9
n2 = 5
n3 = 0
n4 = 5
n = 10 + n3
n1_str = string(n1);
n2_str = string(n2);
n3_str = string(n3);
n4_str = string(n4);
nn = strcat([ n1_str, n2_str, n3_str, n4_str ]);
rand("seed", strtod(nn));
T = rand(n, n) + rand(n, n);
A = floor((1.0 - n3*0.01 - n4*0.005 - 0.05)*T);
Wt = round(rand(n,n)*100 .* A);
B = Wt & ones(n,n);
Wt = (bool2s(B & ~B') + bool2s(B & B') .* tril(ones(n,n),-1)) .* Wt;
W = Wt + Wt';
A
W
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.