blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21 values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50 values | src_encoding stringclasses 23 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 29 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
56d1b313d38c61a850b0ab780894e27878fbd663 | fa96b6f7b84fc275c3bc6a2ec1413711285aa54a | /Mean & Median Filters for Restoration of Noisy Image/Median Filter.sce | 056bd38b5eac63c992fbf2065c4c5a79e4c9a852 | [] | no_license | Sid-149/Image-Processing-and-Machine-Vision | 9d4d4308b39d7bd3fb0ab8171531fbbfe4381de9 | 94bb83e4005b39c2f08d15e23c5be73cde01b364 | refs/heads/main | 2022-12-30T01:51:08.942675 | 2020-10-19T05:15:12 | 2020-10-19T05:15:12 | 302,541,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | Median Filter.sce | clc
clear
close
im=imread('bitcoin.jpg')
an=imnoise(im,'salt & pepper',0.05)
a=double(an)
[r c]=size(a)
for i=2:r-1
for j=2:c-1
x=a(i-1:i+1,j-1:j+1)
ta=gsort(x)
b(i+1,j+1)=ta(5);
end
end
subplot(1,3,1)
title('Orginal Image');
imshow(im);
subplot(1,3,2)
title('Noise Image');
imshow(uint8(an));
subplot(1,3,3)
title('Output Image');
imshow(uint8(b));
|
ef5c4a8d3a30b64cac94fa9e6d0cc1d797156c70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH5/EX5.23/Ex5_23.sce | e653a892ffc7cdd2377b8bfc2f7d7286ba864ae4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | Ex5_23.sce | //Example 5_23
clc();
clear;
//To find the interplanar spacing
n=2
lamda=0.12 //units in nm
theta=28 //units in degrees
d=(n*lamda)/(2*sin(theta*%pi/180))
printf("Interplanar spacong d=%.2f nm",d)
|
c09b1ce2d0900986354e819a67b3b8b3d184b024 | ab5ea127e50a95f36b0e30edcbc79a2952c91858 | /trab5.sce | b6c2f0b267e7c4a2db0783409424cec17054c018 | [] | no_license | igoride/Calculo_Numerico | 165580305214ac34f3fe1e00eb53eca1a6588afa | 9d43be899d7ae44adc08f48dbfc76fed10e09e93 | refs/heads/main | 2023-06-02T05:30:04.542633 | 2021-06-21T16:18:57 | 2021-06-21T16:18:57 | 378,991,891 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 906 | sce | trab5.sce | function [z]= g1(X)
z = X.^0
endfunction
function [z] = g2(X)
z = X
endfunction
function [z] = g3(X)
z = X.^2
endfunction
exec('quadrados_minimos.sci');
// definindo os pontos tabelados da função
X = [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2];
F = [-1.8, -1.2, -0.4, 0.4, 1.1, 2.1, 3.0, 3.9, 5.0] ;
GLista = list(g1,g2,g3)
[a] = quadrados_minimos(X,F,GLista)
mprintf('parabola')
disp(a)
// gráfico
x = linspace(-1,2,101);
G = a(1) + a(2)*x + a(3)*x.^2;
plot(x,G);
plot(X,F,'ro');
// calculo do erro
GX = a(1) + a(2)*X + a(3)*X.^2;
Y = F - GX;
E = Y*Y'
mprintf('erro')
disp(E)
GLista = list(g1,g2)
[a] = quadrados_minimos(X,F,GLista)
mprintf('Reta')
disp(a)
L = a(1) + a(2)*x;
plot(x,L, 'r');
plot(X,F,'ro');
// calculo do erro
LX = a(1) + a(2)*X;
Y = F - LX;
E = Y*Y'
mprintf('erro')
disp(E)
|
954e9d1a6f2801c75b09687f17ae47512f0e6108 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_str_split.sci | a90064d0de70bf75e5b3a835413e67689689e0a1 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,028 | sci | PIL_str_split.sci | // **** Purpose ****
// This function split a word into separate strings by identifying '#'
// **** Variables ****
// [A]: string
// <= a line of strings
// [B]: string
// => separated strings
// **** Version ****
// 06/07/2014 1st version
// **** Comment ****
// 1. This is a PiLib IO function. In PiLib, any string ending with '#' is
// idenfitied as a string element in a string matrix.
// 2. The leading and trailing blanks (and tabs) of strings will be automatically
// trimmed.
function B=PIL_str_split(A)
A_len=length(A);
A_char=strsplit(A);
A_pound=find(A_char=='#');
// generate string range
A_range=zeros(length(A_pound),2);
A_range(1,1)=1
A_range($,2)=A_pound($)-1;
for n=1:length(A_pound)-1
A_range(n,2)=A_pound(n)-1;
A_range(n+1,1)=A_pound(n)+1
end
B=emptystr(1,length(A_pound));
for n=1:length(A_pound)
for m=A_range(n,1):A_range(n,2)
B(n)=B(n)+A_char(m);
end
B(n)=stripblanks(B(n));
end
endfunction
|
7b099cbb94c5f4bda1c77ae153823f4653166e09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH11/EX11.5/11_5.sce | 9e9f919173a831e8a39c21a1f89965381a01998a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | 11_5.sce | clear;
clc;
//Example - 11.5
//Page number - 389
printf("Example - 11.5 and Page number - 389\n\n");
//This problem involves proving a relation in which no mathematical components are involved.
//For prove refer to this example 11.5 on page number 389 of the book.
printf(" This problem involves proving a relation in which no mathematical components are involved.\n\n");
printf(" For prove refer to this example 11.5 on page number 389 of the book.")
|
4e1ef9f6c13887be4ea0fadbf33c22de9f1c8f18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.25/Ch1_1_25.sce | fe9ad3cdc3ffb6b701990a18afa83c65c4a6e841 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | Ch1_1_25.sce | clc
disp("Example 1.25")
printf("\n")
disp("calculate the diode current")
//given
V=12
R=10^3
Vd=0.7
//diode current
I=(V-Vd)/R
printf("Diode current=%f Ampere",I)
|
68527d92e04879cbc3964c403dca1dd14b068cea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH9/EX9.7/Ex9_7.sce | 805f6ce1ecb752ee5e134f9d5ba9e2d01c0137c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | Ex9_7.sce | // Calculating the maximum permissible core length for the machine
clc;
disp('Example 9.7, Page No. = 9.32')
// Given Data
Kf = 0.67;// Form factor
Bg = 1;// Maximum gap density (in Wb per meter square)
Va = 40;// Armature peripheral speed (in meter)
E = 7;// Maximum permissible value of emf induced in a conductor at no load (in Volts)
// Calculation of the maximum permissible core length for the machine
Bav = Kf*Bg;// Average gap density (in Wb per meter square)
L = E/(Bav*Va);// Maximum permissible core length (in meter)
disp(L,'Maximum permissible core length (meter)=');
//in book answer is 0.26 (meter). The answers vary due to round off error
|
ba2b330808dc42089b4f892c6e769b873b3d3ffa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH40/EX40.7/Example40_7.sce | 33bac80b8b53ee67c1b8e86adcd3b8a6be1961da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,056 | sce | Example40_7.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 2: HEATING AND WELDING
// EXAMPLE : 2.7 :
// Page number 732-733
clear ; clc ; close ; // Clear the work space and console
// Given data
l = 4.0 // Length of material(cm)
b = 2.0 // Breadth of material(cm)
t = 1.0 // Thickness of material(cm)
l_e = 20.0 // Length of area(cm)
b_e = 2.0 // Breadth of area(cm)
dis = 1.6 // Distance of separation of electrode(cm)
f = 20.0*10**6 // Frequency(Hz)
P = 80.0 // Power absorbed(W)
e_r1 = 5.0 // Relative permittivity
e_r2 = 1.0 // Relative permittivity of air
PF = 0.05 // Power factor
// Calculations
e_0 = 8.854*10**-12 // Absolute permittivity
A_1 = (l_e-l)*b_e*10**-4 // Area of one electrode(sq.m)
A_2 = l*b*10**-4 // Area of material under electrode(sq.m)
d = dis*10**-2 // Distance of separation of electrode(m)
d_1 = t*10**-2 // (m)
d_2 = (d-d_1) // (m)
C = e_0*((A_1*e_r2/d)+(A_2/((d_1/e_r1)+(d_2/e_r2)))) // Capacitance(F)
X_c = 1.0/(2*%pi*f*C) // Reactance(ohm)
phi = acosd(PF) // Φ(°)
R = X_c*tand(phi) // Resistance(ohm)
V = (P*R)**0.5 // Voltage applied across electrodes(V)
I_c = V/X_c // Current through the material(A)
// Results
disp("PART IV - EXAMPLE : 2.7 : SOLUTION :-")
printf("\nVoltage applied across electrodes, V = %.f V", V)
printf("\nCurrent through the material, I_c = %.1f A\n", I_c)
printf("\nNOTE: ERROR: Calculation mistake in the textbook solution")
|
2a3d55b9582824deaef89f280233e040d851bb1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.30/Ex4_30.sce | 92dedb0eff8dd5e1abdb1e48d1343da5664fbfb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,593 | sce | Ex4_30.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.30
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
Vg = 110; // Generator operating Volatge in Volts
Vm = 102; // Motor operating Volatge in Volts
Vs = 274; // Supply Volatge in Volts
Ra = 1.0; // Armature Resistance in Ohms for both the Machines
Rf = 0.82; // Field Resistance in Ohms for both the Machines
N = 1440; // Speed of the Set in RPM
Ig = 17.5; // Generator current in Amphere
Im = 9.5; // Motor current in Amphere
// CALCULATIONS
Pi = Vs * Im; // Input power in Watts
Pg = Vg * Ig; // Output power in Watts
Pim = Vm * Im; // Power Input to the Motor in Watts
Pl = Pi - Pg; // Losses in the entire set in Watts
Pcu = Im^2*(Ra+2*Rf) + Ig^2*Ra; // Total Copper loss for both the Machines in Watts
P_l = Pi - Pg - Pcu; // Frictional, Windage and core losses of the both Machines in Watts
Po = P_l/2; // Frictional, Windage and core loss of each Machines in Watts
eta_m = (1 - ((Po + Im^2*(Ra+Rf))/Pim))*100; // Motor Effiicency in Percentage
Pig = Pg + Po + Ig^2*Ra + Im^2*Rf; // Generator input in Watts
eta_g = (Pg / Pig)*100; // Generator Effiicency in Percentage
T = (Vg*Ig *60)/(2*%pi*N); // Torque in Newton-Meter
// DISPLAY RESULTS
disp("EXAMPLE : 4.30 : SOLUTION :-") ;
printf("\n (a) Motor Efficiency , eta_m = %.2f percentage \n ",eta_m);
printf("\n (b) Generator Efficiency , eta_g = %.2f Percentage \n ",eta_g);
printf("\n (c) Torque , T = %.2f N-m \n ",T);
printf("\n\n [ TEXT BOOK SOLUTION IS PRINTED WRONGLY ( I verified by manual calculation )]\n" );
printf("\n WRONGLY PRINTED ANSWERS ARE :- (a) Generator input = 2307.5 W instead of %.f W \n ",Pig);
printf("\n (b) eta_g = 83.42 Percenatge instead of %.2f Percentage \n ",eta_g);
printf("\n From Calculation of the Generator input, rest all the Calculated values in the TEXT BOOK is WRONG because of the Generator input value is WRONGLY calculated and the same used for the further Calculation part \n")
|
041649523e8dc2b025cc1c9a1d73de5177190357 | 6285663d2259fa331b87bfb8ab368f892ee94351 | /10/testers/p8/Reversi2/Reversi.tst~ | 41107a5ccd5020ce16e36abb7f0a9786e52abb4b | [] | no_license | Ellonet/nand-ex1 | 1ed60786aef5386321519d23b1d2328930e0700d | 19eee2248c24c9912ca72b61ce0d1869dc885d71 | refs/heads/master | 2020-04-01T10:07:53.274194 | 2019-01-06T18:07:23 | 2019-01-06T18:07:23 | 153,103,996 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 70 | Reversi.tst~ | load Reversi.asm,
set RAM[24576] 132,
repeat 200000 {
ticktock;
}
| |
5d9a8c09d22388743b5eac9f2c3c3ff7e67dfc2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH2/EX2.4/2_4.sci | 963ccc149c53bbc6c2461481eb9e2246482de372 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sci | 2_4.sci | clc();
clear;
//To determine the ratio of the number of vacancies to the number of atoms
//n500=N*exp(-Ev/500k)
k=8.625*10^-5; //Boltzmann constant in eV/K
Ev=0.95; //average energy required to create a vacancy
n=exp(-Ev/(500*k)) //n500/N
printf("The ratio of number of vacancies to the number of atoms is %e ",n); |
4f09a286ba6cc56ee9fd48b5d90d659bb4d4b05b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH9/EX9.8/Ex9_08.sce | c35bff13898f0a8a71d9dd19bd691ecf7cb75877 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 848 | sce | Ex9_08.sce | // Scilab Code Ex9.8: Page-322 (2014)
clc; clear;
R = 1; // For simplicity assume the molar gas constant to be unity, J/mol/K
T = 293; // Room temperature, K
T_F = 8.16e+004; // The Fermi temperature for copper
C_V = %pi^2*T/(2*T_F)*R; // Electronic contribution to the molar heat capacity for copper, J/mol/K
printf("\nThe electronic contribution to the molar heat capacity for copper = %6.4fR", C_V);
T_F = 6.38e+004; // The Fermi temperature for silver
C_V = %pi^2*T/(2*T_F)*R; // Electronic contribution to the molar heat capacity for silver, J/mol/K
printf("\nThe electronic contribution to the molar heat capacity for silver = %6.4fR", C_V);
// Result
// The electronic contribution to the molar heat capacity for copper = 0.0177R
// The electronic contribution to the molar heat capacity for silver = 0.0227R |
0e075d81d59882bfd08a6c9cfec86e5652947dff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH21/EX21.2/Ex21_2.sce | 8f1eff4df59aefb4ecba4fa2b317d7a9bda040d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,346 | sce | Ex21_2.sce | clc
// Given that
v_bm = 360 // Blade velocity at the mean diameter of a gas turbine stage in m/s
beta1 = 20 // Blade angle at inlet in degree
beta2 = 52 // Blade angle at exit in degree
r = 0.5 // Degree of reaction
Dm = 0.45 // Mean diameter of blade in m
h = 0.08 // Mean height of blade in m
printf("\n Example 21.2\n")
v_f = v_bm/((tand(beta2))-tand(beta1))
r_r = (Dm/2)-h/2
r_t = Dm/2 +h/2
delta_v_wm = v_f*((tand(beta1))+(tand(beta2)))
v_br = v_bm*(r_r/(Dm/2))
delta_v_wr = delta_v_wm*v_bm/v_br
v_bt = (r_t/(Dm/2))*v_bm
v_w_1m = v_f*(tand(beta2))
v_w_1t = v_w_1m*(Dm/2)/r_t
delta_v_wt = v_f*((tand(beta1))+(tand(beta2)))*v_bm/v_bt
v_w_1r = v_w_1m*((Dm/2)/r_r)
alpha_1r = atand(v_w_1r/v_f)
alpha_2r = atand((delta_v_wr-v_w_1r)/v_f)
beta_1r = atand((v_w_1r-v_br)/v_f)
beta_2r = atand((v_br+v_f*(tand(alpha_2r)))/v_f)
alpha_1t = atand(v_w_1t/v_f)
alpha_2t = atand((delta_v_wt-v_w_1t)/v_f)
beta_1t = atand((v_w_1t-v_bt)/v_f)
beta_2t = atand((v_bt+(v_f*tand(alpha_2t)))/v_f)
Rt = v_f*((tand(beta_2t))-(tand(beta_1t)))/(2*v_bt)
Rr = v_f*((tand(beta_2r))-(tand(beta_1r)))/(2*v_br)
printf("\n Flow velocity = %d m/s,\n The blade angle at the root = %f degree,and at the tip = %f degree,\n The degree of reaction at the root = %f percent, and at the tip = %d percent",v_f,alpha_1r,alpha_2r,Rt*100,Rr*100)
|
a441e176253e99ac881280aa7836fc4233017edb | 821ae80c496df42e9d59956848dfc2b153801a05 | /general-docs/docs/plotting-in-scilab/02-Multiple-Plots.sce | de2371d7dc92041f3af300ba16ce1476bd6298ac | [] | no_license | wruslandra/using-scilab6 | 6f10f6c11e20fbf4dadeecc4b7ebaaabb6eed3d7 | d407651c1fbb5a386279bdc59a5fae22ca2c6a24 | refs/heads/main | 2023-04-04T14:59:08.443145 | 2021-04-01T21:54:08 | 2021-04-01T21:54:08 | 353,832,000 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | 02-Multiple-Plots.sce | // Figure #2: Multiple plot and axis setting
// ----------
// Data
x = linspace(-5.5,5.5,51);
y = 1 ./(1+x.^2);
// Plot
// scf(fig_id) = set the current graphic figure (window)
scf(2);
// clf(fig_id) = Clear or reset or reset a figure or a frame uicontrol.
clf(2);
// Three plots
plot(x,y,'ro-');
plot(x,y.^2,'bs:');
plot(x,x.^2,'gs:');
xlabel(["x axis";"(independent variable)"]);
ylabel("y axis");
title("Functions");
legend(["Functions #1";"Functions #2";"Functions #3"]);
// a=gca() //get the current axes
set(gca(),"data_bounds",matrix([-6,6,-0.1,1.1],2,-1));
|
bb5b257b32d8eb858c61ff600d9398ea24b89849 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/slewrate/slewrate13.sce | 392679b4ee7511f6ef5052e9b4a087b1d079b718 | [] | 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 | 246 | sce | slewrate13.sce | x=['a' 'b' 'c' 'd'];
t=1:length(x);
s=slewrate(x, t);
disp(s)
//output
//t=1:length(x);
// !--error 204
//':': Wrong type for argument #2: Scalar expected.
//at line 2 of exec file called by :
//te/slewrate13.sce', -1
//
|
67643673c2dcff327b826e1980bac07176bff2d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH15/EX15.7/exp15_7pp.sce | eacd4cdfd6ceeda28b71f47ece97505758ddbdb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | exp15_7pp.sce | clc
clear
disp("example 15.7")
ws=20 //wind speed
rd=10 //rotor diameter
ros=30 //rotor speed
ad=1.293 //air density
mc=0.593 //maximum value of power coefficient
p1=0.5*ad*(%pi)*(rd^2)*(ws^3)/4 //power
p=p1/10^3
pd=p/((%pi)*(rd/2)^2) //power density
pm=p*(mc) //maximum power
mt=(pm*10^3)/((%pi)*rd*(ros/60))
printf("power %.fkW \n power density %.3fkW/m^3 \nmaximum power %fkW \n maximum torque %.1fN-m",p,pd,pm,mt) |
459b0d4ddb65f9ff94199c0ef297997af9667b3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH2/EX2.4.8/Example2_15.sce | c5be7774723373057ced7f3cc3ae865950468db9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_15.sce | //Chapter-2,Example2_4_8,pg 2-27
m=1 //first ordr spectrum
wavelength=6.56*10^-5 //wavelength of light
angle=18.23333333 //angle of diffraction
N=2*sind(angle)/(m*wavelength)
printf('\nNumber of lines per 2 cm is N = %.2f',N)
|
7390aadc78c053a356284168220c66db38b2037a | 899cecef18712265c22e100bf72286df1ec5fb65 | /Asgn1/Q3ii.sci | ad70aeb8bee9d1f9906524a14e8628226ed8ddf5 | [] | no_license | ajaykumarkannan/Speech-Signal-Processing-and-Coding | 449679bef8bdf0215e96521163774f88d8a6b41e | c1d371b2866239a89312a0f64db3d61cc0b1011c | refs/heads/master | 2020-05-17T17:02:33.143586 | 2012-11-15T12:48:40 | 2012-11-15T12:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,335 | sci | Q3ii.sci | // Part 2 ai, a, i
[ai Fsai bitsai] = wavread('ai.wav');
[a Fsa bitsa] = wavread('a.wav');
[i Fsi bitsi] = wavread('i.wav');
scf();
subplot(3,1,1);
plot2d(ai);
title('ai');
subplot(3,1,2);
plot2d(a);
title('a');
subplot(3,1,3);
plot2d(i);
title('i');
NumSamples = Fsai * 30 / 1000;
scf();
F = Fsai*((0:NumSamples-1) - NumSamples/2) / NumSamples;
// For ai
ai = ai(20000:20000+NumSamples);
ai = ai / abs(max(ai));
AI = 20*log10(abs(fftshift(fft(ai))));
AI = AI / abs(max(AI));
subplot(3,2,1);
plot2d(ai);
title('ai');
subplot(3,2,2);
plot2d(F(NumSamples/2:NumSamples), AI(NumSamples/2:NumSamples));
title('ai');
ax = get("current_axes");
ax.data_bounds = [0,min(AI); max(F), max(AI)];
// For a
a = a(25394:25394+NumSamples);
a = a / abs(max(a));
A = 20*log10(abs(fftshift(fft(a))));
A = A / abs(max(A));
subplot(3,2,3);
plot2d(a);
title('a');
subplot(3,2,4);
plot2d(F(NumSamples/2:NumSamples), A(NumSamples/2:NumSamples));
title('a');
ax = get("current_axes");
ax.data_bounds = [0,min(A); max(F), max(A)];
// For i
i = i(30000:30000+NumSamples);
i = i / abs(max(i));
I = 20*log10(abs(fftshift(fft(i))));
I = I / abs(max(I));
subplot(3,2,5);
plot2d(i);
title('i');
subplot(3,2,6);
plot2d(F(NumSamples/2:NumSamples), I(NumSamples/2:NumSamples));
title('i');
ax = get("current_axes");
ax.data_bounds = [0,min(I); max(F), max(I)];
|
d347ace0f61232b27789cf9f438b88259d46a6dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH19/EX19.11/eg19_11.sce | 838a35e53fdfcbf9f0d1c015d16ed26d92146011 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | eg19_11.sce | clear;
//clc();
H=2.7;
s=1;
fr=50;
del0=23.13;
pmax1=2.545;
pmax2=0.778;
pmax3=1.75;
ps=1;
del_del0=0;
M=H*s/(180*fr);
del_del=zeros(1,9);
pa=zeros(1,9);
del=zeros(1,9);
//for t=0-
pmax=pmax1;
//for t=0+;
pmax=pmax2;
p=ps-pmax2*sind(del0);
pa_avg=0.5*p;
pa(1)=pa_avg;
t=[.1:.9:9];
del(1)=del0;
del(2)=del_del0+8.33*pa_avg;
del(2)=del0+del(2);
for i=2:1:9
pa(i)=ps-.778*sind(del(i));
del_del(i+1)=del_del(i)+8.33*pa(i);
del(i+1)=del(i)+ del_del(i+1);
end
plot(t,del)
xlabel("time in secs");
ylabel('torque angle in degrees');
|
d5615c800181f5baf94df8838b26b917c5dbb539 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos_blocks/POSTONEG_f.sci | 9e0defd8f204e214815853649377e1052ad464b5 | [
"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 | 588 | sci | POSTONEG_f.sci | function [x,y,typ]=POSTONEG_f(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
x(3)(11)=[-1] //compatibility
case 'define' then
rpar=[-1;-1;-1;0]
model=list('zcross',1,[],[],1,[],[],rpar,[],'z',-1,[%t %f],' ',list())
gr_i=['xstringb(orig(1),orig(2),'' + to - '',sz(1),sz(2),''fill'')']
x=standard_define([2 2],model,[],gr_i)
end
|
1cdd485ec67fa194132f22509f67b939b04eb315 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH2/EX2.30/Ex2_30.sce | 6980820ee0348992f698026899e6bc4b5e8ed59c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_30.sce | //Example 2.30: Convert expression into POS Form
clc // Clears the console
disp('wxy'' + xyz + w''x''z''')
disp('= x(wy'' + yz) + w''x''z''')
disp('= x(y'' + z)(y + w) + w''x''z''')
disp('= (x + w''z'')[x'' + (y'' + z )(y + w)]')
disp('= (x + w'')(x + z'')(x'' + y'' + z )(x'' + y + w)]')
//the reduced expression is displayed.
|
251aa05cf1af3aac39c99c53157b2bae50eae47c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/percent/%rqp.sci | 06c60a3ec196344cec308122f755558853a655d7 | [
"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 | 88 | sci | %rqp.sci | function f1=%rqp(f1,f2)
// r.\p
//!
num=f1(3).*f2
f1(3)=f1(2).*ones(f2)
f1(2)=num;
|
7fa76671ac3b1793fc508395e79baa16ce084cc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.13/Exa_6_13.sce | e95bd3f028013183f6e805a6ea86a65cb1d94406 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Exa_6_13.sce | //Exa 6.13
clc;
clear;
close;
format('v',6);
//Given Data :
p1=600;//KPa
p1=p1/100;//bar
T1=200;//degree C
Vsup1=0.352;//m^3/Kg(at 6 bar)
V1=Vsup1;//m^3/Kg
V2=V1;//m^3(system is at constant volume)
Vg2=V2;//m^3/Kg(For dry saturated)
Tsup1=153.3;//degree C
Tsup2=154.8;//degree C
vg1=0.34844;//m^3/Kg
vg2=0.36106;//m^3/Kg
ts2=Tsup1+(Tsup2-Tsup1)/(vg2-vg1)*(V1-vg1);//degree C
disp(ts2,"Temperature at which steam begins to condense in degree C : ");
pg1=5.2;//bar
pg2=5.4;//bar
p2=pg1+(pg2-pg1)/(Tsup2-Tsup1)*(ts2-Tsup1);//bar
disp(p2,"Pressure in bar is :");
//Some data is taken from steam table.
|
e212e858e51cf52ab883eadf357074dc29bf489d | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH2/EX2.1.8/ramp.sce | 559330533d98cbb559e2a1ced0f841a6f96a14d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ramp.sce | //Graphical//
//Implementation of Equation 2.1.8 in Chapter 2
//Digital Signal Processing by Proakis, Third Edition, PHI
//Page 45
clear; clc; close;
L = 4; //Upperlimit
n = -L:L;
x = [zeros(1,L),0:L];
a=gca();
a.thickness = 2;
a.y_location = "middle";
plot2d3('gnn',n,x)
xtitle('Graphical Representation of Unit Ramp Signal','n','x[n]');
|
af7d1193f8e435f4430f04cc42c2f97ed952a6d1 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_Mat/pow.sce | 7859ab25a282cb3ba4137531c7a7407faa21f694 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | sce | pow.sce | // Calculating the pow.
y = [1.2, 1, 1.9; 4, 2.6, 5; 2.3, 8, 7];
power = int32(3)
powres = armaMat("pow",y,power)
|
dde8172da6e94b10ecf1952c3a0a8c1f75e3803e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1094/CH2/EX2.2.2/EX2_2_2.sce | 09ca5c3ecf363e2c143a1118dbc0ac9bd92e7616 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | EX2_2_2.sce | //Exa:2.2.2
clc;
clear;
close;
Z_ph=8+%i*6//impedance per phase (in ohms)
V_AN=400//in volts
I_ph=V_AN/Z_ph
disp(abs(I_ph),'Phase current (in A)=')
disp(atand(imag(I_ph)/real(I_ph)),'phase=')
I_L=sqrt(3)*abs(I_ph)
disp(I_L,'Line current (in A)=')
pf=cosd(atand(imag(I_ph)/real(I_ph)))
disp(pf,'power factor=')
P=sqrt(3)*V_AN*I_L*pf*10^-3
disp(P,'Power absorbed (in KW)=') |
c3637dcc021925d59af70b9a9308f625d5f0926c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH8/EX8.18/Exa8_18.sce | 6d3b8fe54aeb788c5d0898ada7ddf235f53b47ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | Exa8_18.sce | //Exa 8.18
clc;
clear;
close;
//Given data :
format('v',5);
RL=630;//in Ohm
B=50;//in MHz
B=B*10^6;//in Hz
Ip=10^-7;//in Ampere
T=18;//in degree C
T=T+273;//in kelvin
q=1.6*10^-19;//in coulamb
K=1.38*10^-23;//Boltzman Constant
SbyN=Ip^2/(2*q*B*Ip+4*K*T*B/RL);//unitless
SbyNdB=10*log10(SbyN);//in dB
disp(round(SbyNdB),"Maximum SNR in dB : "); |
9a8487791940b1060e0bb2458b81b5ec7e363d98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.1/Ex2_1.sce | 52d39c1f51f41b1c39e0a1a77641f17188dfd9cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | Ex2_1.sce | clc
clear
vout=750*10^-3
vin = 30*10^-6
gain=vout/vin
printf('The Voltage gain of the amplifier is %.1f',gain)
|
8d49c61f765018068061a77ed3fa2384f9f61335 | f575b6ff7e0f0e2a1e8b41f9ab83ac853231ba68 | /pkg/nq/examples/G4.tst | 2a67e8470e420316ae62bc693e98d5184a5ed849 | [] | no_license | jmichel7/gap3-jm | 756c6e6c5d3c7956fe4dc20b2f76f320f49a11b5 | 3eeb3c4d174d567c51e712f997febb1e8e2ad65f | refs/heads/master | 2023-08-23T19:04:53.627679 | 2023-08-21T14:21:33 | 2023-08-21T14:21:33 | 124,115,667 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 15,520 | tst | G4.tst | #
# The ANU Nilpotent Quotient Program (Version 1.1d, 18 May 1994)
# Calculating a nilpotent quotient
# Nilpotency class: 8
#
# Calculating the abelian quotient ...
# The abelian quotient has 4 generators
# with the following exponents: 0 0 0 0
#
# Calculating the class 2 quotient ...
# Time spent on the integer matrix: 0 msec.
# Maximal entry: 0
# Layer 2 of the lower central series has 3 generators
# with the following exponents: 0 0 0
#
# Calculating the class 3 quotient ...
# Time spent on the integer matrix: 0 msec.
# Maximal entry: 0
# Layer 3 of the lower central series has 3 generators
# with the following exponents: 0 0 0
#
# Calculating the class 4 quotient ...
# Time spent on the integer matrix: 0 msec.
# Maximal entry: 0
# Layer 4 of the lower central series has 3 generators
# with the following exponents: 0 0 0
#
# Calculating the class 5 quotient ...
# Time spent on the integer matrix: 0 msec.
# Maximal entry: 2
# Layer 5 of the lower central series has 4 generators
# with the following exponents: 0 2 3 0
#
# Calculating the class 6 quotient ...
# Time spent on the integer matrix: 0 msec.
# Maximal entry: 6
# Layer 6 of the lower central series has 6 generators
# with the following exponents: 2 2 3 3 0 6
#
# Calculating the class 7 quotient ...
# Time spent on the integer matrix: 4 msec.
# Maximal entry: 14
# Layer 7 of the lower central series has 9 generators
# with the following exponents: 2 2 2 3 3 6 2 3 6
#
# Calculating the class 8 quotient ...
# Time spent on the integer matrix: 12 msec.
# Maximal entry: 36
# Layer 8 of the lower central series has 13 generators
# with the following exponents: 2 2 2 2 3 3 3 2 2 3 3 6 2
#
# The epimorphism :
# a|---> A
# b|---> B
# c|---> C
# d|---> D
# The nilpotent quotient :
<A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1,N1,O1,P1,Q1,R1,S1
|
O^2 = U,
P^3 = W^3*D1*F1^5,
R^2 = A1^2*K1^2*N1,
S^2 = B1,
T^3 = C1^3*R1^5,
U^3 = D1,
W^6 = S1,
X^2 = K1^2,
Y^2 = L1^2,
Z^2,
A1^3,
B1^3 = O1,
C1^6,
D1^2,
E1^3 = S1,
F1^6,
G1^2,
H1^2,
I1^2,
J1^2,
K1^3,
L1^3,
M1^3,
N1^2,
O1^2,
P1^3,
Q1^3,
R1^6,
S1^2,
B^A =: B*E,
B^(A^-1) = B*E^-1,
C^A = C,
C^(A^-1) = C,
C^B =: C*F,
C^(B^-1) = C*F^-1,
D^A = D,
D^(A^-1) = D,
D^B = D,
D^(B^-1) = D,
D^C =: D*G,
D^(C^-1) = D*G^-1,
E^A = E,
E^(A^-1) = E,
E^B = E,
E^(B^-1) = E,
E^C = E*H^-1,
E^(C^-1) = E*H*K^-1,
E^D = E,
E^(D^-1) = E,
F^A =: F*H,
F^(A^-1) = F*H^-1,
F^B = F,
F^(B^-1) = F,
F^C =: F*I,
F^(C^-1) = F*I^-1,
F^D = F*J^-1*M^-1*O*Q^-1*S*U^2*Z*B1^2*J1*Q1,
F^(D^-1) = F*J*M*O*S*Z*J1,
F^E = F,
F^(E^-1) = F,
G^A = G,
G^(A^-1) = G,
G^B =: G*J,
G^(B^-1) = G*J^-1*O*U^2*Z*D1,
G^C = G,
G^(C^-1) = G,
G^D = G,
G^(D^-1) = G,
G^E = G*L*R*I1,
G^(E^-1) = G*L^-1*R*X*A1*I1*K1^2*N1,
G^F = G*M^-1*O*S*U^2*Z*B1^2*D1*J1*O1,
G^(F^-1) = G*M*O*U^2*Z*D1,
H^A = H,
H^(A^-1) = H,
H^B = H,
H^(B^-1) = H,
H^C = H*K,
H^(C^-1) = H*K^-1,
H^D = H*L^-1*N^-1*R*V^-1*X*Y*A1*G1*I1*K1^2*L1,
H^(D^-1) = H*L*N*R*X*Y*G1*H1*I1*N1,
H^E = H,
H^(E^-1) = H,
H^F = H,
H^(F^-1) = H,
H^G = H*N*X*Y*G1*H1*N1,
H^(G^-1) = H*N^-1*X*Y*C1^5*G1*H1*K1*L1*N1*P1,
I^A =: I*K,
I^(A^-1) = I*K^-1,
I^B = I,
I^(B^-1) = I,
I^C = I,
I^(C^-1) = I,
I^D = I*M^-2*O*P*Q^-1*S*U*M1^2*Q1,
I^(D^-1) = I*M^2*O*P^2*Q^-1*S*U*W^5*B1^2*D1*F1*M1*Q1,
I^E = I,
I^(E^-1) = I,
I^F = I,
I^(F^-1) = I,
I^G = I*P*S*B1*M1^2*O1,
I^(G^-1) = I*P^2*S*W^3*B1*D1*E1^2*F1*M1*O1,
I^H = I,
I^(H^-1) = I,
J^A =: J*L,
J^(A^-1) = J*L^-1*X*K1,
J^B = J*O*U^2*D1,
J^(B^-1) = J*O*Z,
J^C =: J*M,
J^(C^-1) = J*M^-1*P*O1,
J^D = J,
J^(D^-1) = J,
J^E = J*R*A1*H1*I1*K1,
J^(E^-1) = J*R*H1*I1*N1,
J^F = J*O*U^2*D1,
J^(F^-1) = J*O*Z,
J^G = J*Q^-1*W*E1^2*F1,
J^(G^-1) = J*Q*W^5*E1*S1,
J^H = J*R*A1*H1*I1*K1,
J^(H^-1) = J*R*H1*I1*N1,
J^I = J*U^2*Z*D1,
J^(I^-1) = J*U*Z,
K^A = K,
K^(A^-1) = K,
K^B = K,
K^(B^-1) = K,
K^C = K,
K^(C^-1) = K,
K^D = K*N^-2*T*V^-1*X*G1*H1*K1^2*L1,
K^(D^-1) = K*N^2*T^2*V^-1*X*C1^5*G1*H1*K1^2*L1^2*R1,
K^E = K,
K^(E^-1) = K,
K^F = K,
K^(F^-1) = K,
K^G = K*T*G1,
K^(G^-1) = K*T^2*C1^3*G1*P1^2*R1,
K^H = K,
K^(H^-1) = K,
K^I = K,
K^(I^-1) = K,
K^J = K*A1^2*K1^2*N1,
K^(J^-1) = K*A1*K1*N1,
L^A = L*X*K1,
L^(A^-1) = L*X,
L^B = L*R*A1*K1*N1,
L^(B^-1) = L*R*I1,
L^C = L*N*H1*N1,
L^(C^-1) = L*N^-1*T*H1*N1,
L^D = L,
L^(D^-1) = L,
L^E = L*X*K1,
L^(E^-1) = L*X,
L^F = L*R*A1*K1*N1,
L^(F^-1) = L*R*I1,
L^G = L*V^-1*C1*P1^2*R1,
L^(G^-1) = L*V*C1^5*P1,
L^H = L*X*K1,
L^(H^-1) = L*X,
L^I = L*A1*I1*K1*N1,
L^(I^-1) = L*A1^2*I1*K1^2*N1,
L^J = L*H1*N1,
L^(J^-1) = L*H1*N1,
L^K = L*K1,
L^(K^-1) = L*K1^2,
M^A =: M*N,
M^(A^-1) = M*N^-1*G1,
M^B =: M*O,
M^(B^-1) = M*O*U^2*Z*D1,
M^C =: M*P,
M^(C^-1) = M*P^2*W^3*D1*F1*O1*S1,
M^D =: M*Q,
M^(D^-1) = M*Q^-1*F1,
M^E = M*R*H1*I1*N1,
M^(E^-1) = M*R*A1*H1*I1*K1,
M^F = M*S*U*Z*J1,
M^(F^-1) = M*S*U^2*Z*B1^2*D1*O1,
M^G = M*W^5*E1,
M^(G^-1) = M*W*E1^2*S1,
M^H = M*Y*A1^2*K1^2*N1,
M^(H^-1) = M*Y*A1*K1*L1*N1,
M^I = M*B1^2*J1*O1,
M^(I^-1) = M*B1*J1,
M^J = M,
M^(J^-1) = M,
M^K = M*L1,
M^(K^-1) = M*L1^2,
M^L = M*H1*N1,
M^(L^-1) = M*H1*N1,
N^A = N*G1,
N^(A^-1) = N*G1,
N^B =: N*R,
N^(B^-1) = N*R*A1*I1*K1*N1,
N^C = N*T,
N^(C^-1) = N*T^2*C1^3*R1,
N^D = N*V,
N^(D^-1) = N*V^-1*R1,
N^E = N*X,
N^(E^-1) = N*X*K1,
N^F = N*Y*A1^2*I1*K1^2*N1,
N^(F^-1) = N*Y*A1*I1*K1*L1*N1,
N^G = N*C1^5*P1,
N^(G^-1) = N*C1*P1^2,
N^H = N*G1*K1^2,
N^(H^-1) = N*G1*K1,
N^I = N*L1,
N^(I^-1) = N*L1^2,
N^J = N*H1*N1,
N^(J^-1) = N*H1*N1,
O^A = O*X*A1^2*H1*K1^2,
O^(A^-1) = O*X*A1*H1*K1,
O^B = O*Z,
O^(B^-1) = O*Z,
O^C =: O*S,
O^(C^-1) = O*S*B1^2*M1^2,
O^D = O,
O^(D^-1) = O,
O^E = O*I1,
O^(E^-1) = O*I1,
O^F = O*Z,
O^(F^-1) = O*Z,
O^G = O*D1*Q1,
O^(G^-1) = O*D1*Q1^2,
O^H = O*I1,
O^(H^-1) = O*I1,
O^I = O,
O^(I^-1) = O,
O^J = O,
O^(J^-1) = O,
P^A =: P*T,
P^(A^-1) = P*T^2*C1^3*R1,
P^B =: P*U,
P^(B^-1) = P*U^2*D1,
P^C = P*O1,
P^(C^-1) = P*O1,
P^D = P*W^2*F1*S1,
P^(D^-1) = P*W^4*F1,
P^E = P*A1^2*K1^2*N1,
P^(E^-1) = P*A1*K1*N1,
P^F = P*B1^2*O1,
P^(F^-1) = P*B1,
P^G = P*E1^2*S1,
P^(G^-1) = P*E1,
P^H = P*L1,
P^(H^-1) = P*L1^2,
P^I = P*M1^2,
P^(I^-1) = P*M1,
P^J = P,
P^(J^-1) = P,
Q^A =: Q*V,
Q^(A^-1) = Q*V^-1,
Q^B = Q,
Q^(B^-1) = Q,
Q^C =: Q*W,
Q^(C^-1) = Q*W^5*E1*S1,
Q^D = Q*F1,
Q^(D^-1) = Q*F1^5,
Q^E = Q,
Q^(E^-1) = Q,
Q^F = Q*D1*O1*Q1^2,
Q^(F^-1) = Q*D1*O1*Q1,
Q^G = Q*F1^5,
Q^(G^-1) = Q*F1,
Q^H = Q*N1,
Q^(H^-1) = Q*N1,
Q^I = Q*Q1^2,
Q^(I^-1) = Q*Q1,
Q^J = Q,
Q^(J^-1) = Q,
R^A =: R*X,
R^(A^-1) = R*X*K1,
R^B = R*I1,
R^(B^-1) = R*I1,
R^C =: R*Y,
R^(C^-1) = R*Y*L1,
R^D = R,
R^(D^-1) = R,
R^E = R,
R^(E^-1) = R,
R^F = R*I1,
R^(F^-1) = R*I1,
R^G = R*H1,
R^(G^-1) = R*H1,
S^A = S*G1*L1^2,
S^(A^-1) = S*G1*L1,
S^B =: S*Z,
S^(B^-1) = S*Z,
S^C = S*M1^2*O1,
S^(C^-1) = S*M1*O1,
S^D = S*D1*O1*Q1^2,
S^(D^-1) = S*D1*O1*Q1,
S^E = S*I1,
S^(E^-1) = S*I1,
S^F = S*J1,
S^(F^-1) = S*J1,
S^G = S*O1,
S^(G^-1) = S*O1,
T^A = T,
T^(A^-1) = T,
T^B = T*A1^2*K1^2*N1,
T^(B^-1) = T*A1*K1*N1,
T^C = T,
T^(C^-1) = T,
T^D = T*C1^2*R1,
T^(D^-1) = T*C1^4*R1,
T^E = T*K1^2,
T^(E^-1) = T*K1,
T^F = T*L1,
T^(F^-1) = T*L1^2,
T^G = T*P1^2,
T^(G^-1) = T*P1,
U^A =: U*A1,
U^(A^-1) = U*A1^2*K1,
U^B = U,
U^(B^-1) = U,
U^C =: U*B1,
U^(C^-1) = U*B1^2*M1*O1,
U^D = U,
U^(D^-1) = U,
U^E = U,
U^(E^-1) = U,
U^F = U,
U^(F^-1) = U,
U^G = U*Q1^2,
U^(G^-1) = U*Q1,
V^A = V,
V^(A^-1) = V,
V^B = V,
V^(B^-1) = V,
V^C = V*C1,
V^(C^-1) = V*C1^5*P1,
V^D = V*R1,
V^(D^-1) = V*R1^5,
V^E = V,
V^(E^-1) = V,
V^F = V*N1,
V^(F^-1) = V*N1,
V^G = V*R1^5,
V^(G^-1) = V*R1,
W^A =: W*C1,
W^(A^-1) = W*C1^5,
W^B =: W*D1,
W^(B^-1) = W*D1,
W^C =: W*E1,
W^(C^-1) = W*E1^2*S1,
W^D =: W*F1,
W^(D^-1) = W*F1^5,
W^E = W*N1,
W^(E^-1) = W*N1,
W^F = W*O1*Q1,
W^(F^-1) = W*O1*Q1^2,
W^G = W*S1,
W^(G^-1) = W*S1,
X^A = X,
X^(A^-1) = X,
X^B = X,
X^(B^-1) = X,
X^C = X*G1,
X^(C^-1) = X*G1,
X^D = X,
X^(D^-1) = X,
Y^A =: Y*G1,
Y^(A^-1) = Y*G1,
Y^B = Y*I1,
Y^(B^-1) = Y*I1,
Y^C = Y,
Y^(C^-1) = Y,
Y^D =: Y*H1,
Y^(D^-1) = Y*H1,
Z^A =: Z*I1,
Z^(A^-1) = Z*I1,
Z^B = Z,
Z^(B^-1) = Z,
Z^C =: Z*J1,
Z^(C^-1) = Z*J1,
Z^D = Z,
Z^(D^-1) = Z,
A1^A =: A1*K1,
A1^(A^-1) = A1*K1^2,
A1^B = A1,
A1^(B^-1) = A1,
A1^C = A1*L1,
A1^(C^-1) = A1*L1^2,
A1^D = A1,
A1^(D^-1) = A1,
B1^A =: B1*L1,
B1^(A^-1) = B1*L1^2,
B1^B = B1,
B1^(B^-1) = B1,
B1^C =: B1*M1,
B1^(C^-1) = B1*M1^2,
B1^D = B1*Q1,
B1^(D^-1) = B1*Q1^2,
C1^A = C1,
C1^(A^-1) = C1,
C1^B =: C1*N1,
C1^(B^-1) = C1*N1,
C1^C = C1*P1,
C1^(C^-1) = C1*P1^2,
C1^D = C1*R1,
C1^(D^-1) = C1*R1^5,
D1^A = D1,
D1^(A^-1) = D1,
D1^B = D1,
D1^(B^-1) = D1,
D1^C =: D1*O1,
D1^(C^-1) = D1*O1,
D1^D = D1,
D1^(D^-1) = D1,
E1^A =: E1*P1,
E1^(A^-1) = E1*P1^2,
E1^B =: E1*Q1,
E1^(B^-1) = E1*Q1^2,
E1^C = E1,
E1^(C^-1) = E1,
E1^D = E1,
E1^(D^-1) = E1,
F1^A =: F1*R1,
F1^(A^-1) = F1*R1^5,
F1^B = F1,
F1^(B^-1) = F1,
F1^C =: F1*S1,
F1^(C^-1) = F1*S1,
F1^D = F1,
F1^(D^-1) = F1 >
# Class : 8
# Nr of generators of each class : 4 3 3 3 4 6 9 13
|
2ded0fdacdc9a340be7a36a7234a9a28ac7994d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH4/EX4.4.79/Ch4_4_79.sce | 67ad105881c07d0491588f0b0713a99c0f2119ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | Ch4_4_79.sce | clc
disp("Example 4.79")
printf("\n")
disp("calculate transconductance of JFET")
printf("Given\n")
//voltage gain
Av=20
//drain resistance
Rd=3.3*10^3
//transconductance
gm=Av/Rd
printf("Transconductance of JFET \n%f (1/ohm)\n",gm)
|
3dfd1194562501473196e33ee8a23eadb321f0f0 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SU5.prev.tst | 178cc417210e7e5e5d2696b4eeca867d67288eec | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 70 | tst | SU5.prev.tst | ("4x²+64y²").substitute({x=>(x+1)/2,y=>(y-1)/8}) = 2x+x²-2y+y²+2
|
a207c9af762c7510a8924b3d1b45fb73f2bd700d | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH5/EX5.16/Fig5_16.sce | 2bdd953db344867e8f4b2b91320399a5f21687ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Fig5_16.sce | //Caption:Scilab code that performs threshold operation
//Fig5.16
//page 254
clc;
close;
a = imread('E:\Digital_Image_Processing_Jayaraman\Chapter5\lena.png');
a = rgb2gray(a);
[m n] = size(a);
t = input('Enter the threshold parameter');
for i = 1:m
for j = 1:n
if(a(i,j)<t)
b(i,j)=0;
else
b(i,j)=255;
end
end
end
figure(1)
ShowImage(a,'Original Image');
title('Original Image')
figure(2)
ShowImage(b,'Thresholded Image');
title('Thresholded Image')
xlabel(sprintf('Threshold value is %g',t))
//Result
//Enter the threshold parameter 140 |
96b187fd03d93aafb5b7b7843da2ea1f124781e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.20/ex2_20.sce | ca6600d31730de7b91e2002d5358e6a60149db9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | ex2_20.sce | //Caption: Determine the back emf in dc shunt motor
//Exam:2.20
clc;
clear;
close;
V=220;//voltage(in V)
R_a=0.7;//Armature resistance(in Ohm)
R_f=200;//field resistant(in Ohm)
P_1=8*10^3;//motor output power(in Watt)
P_2=8*10^3/0.8;//motor input power(in Watt)
I_m=P_2/V;//motor input current(in Amp)
I_sh=V/R_f;//shunt field current (in Amp)
I_a=I_m-I_sh;//Armature current(in Amp)
E_b=V-I_a*R_a;//Back emf (in V)
disp(E_b,'Back emf produced in motor(in Volts)='); |
e5beba34b8cc650f3903858718e9225a3600f51e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH9/EX9.10/Ex9_10.sce | 247be50dac4fbb74f308d03d4a15e96a26f4f29e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_10.sce |
clc
//initialisation of variables
P1=14.7 //lbf/in^2
T1=520 //R
a=15 //lbm
v1=(53.34*T1)/(P1*144) //ft^3/lbm
V2=2.955
P=44.2 //lbm
qH=800//Btu/lbm
Cp=0.24
Cv=0.171//lbm
T3=3333//R
V3=3.17
T5=1.860 //R
g=144//ft
T=778//F
//CALCULATIONS
v2=v1/a//ft^3/lbm
T2=(V2*T1)//lbf/in^2
P2=P*P1//lbf/in^2
V4=V3*V2//ft3/lbm
T4=T3+T2//R
T6=T4/T5//R
qL=Cv*(T1-T6)//Btu/lbm
Wnet=qH+qL//Btu/lbm
Nth=Wnet/qH//lbf/in^2
mep=(Wnet*T)/((v1-v2)*g)//lbf/in^2
//RESULTS
printf('The pressure and temperature at each point in the cycle=% flbf/in^2',mep)
|
d2255a29aee1e5f82d2c14ddc92b647414c5eeeb | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH9/EX9.10.21/exa9_10_21.sce | beae1cf200ea572b7f93f8c77c200c7621764a3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | exa9_10_21.sce | //caption:check_for_contrallability_and_observability_of_system
//example 9.10.21
//page 411
A=[0 1 0;0 0 1;-6 -11 -6]
B=[1 0 1]'
C=[10 5 1]
P=cont_mat(A,B);
disp(P,"Controllability Matrix=");
d=det(P)
if d==0
printf("matrix is singular, so system is uncontrollable");
else
printf("system is controllable");
end;
P1=obsv_mat(A,C);
disp(P1,"Observability Matrix=");
d1=det(P1)
if d1==0
printf("matrix is singular, so system is unobservable");
else
printf("system is observable");
end; |
92e27fbe9904337262fb0128b98eacd3c73e6ea9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH4/EX4.8.2/Example4_8_2.sce | 74e732a2d9a909cd4120c65e3cb0fe80e30da018 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Example4_8_2.sce | //Example 4.8.2 page 4.39
clc;
clear;
lamda = 850*10^-9;
BER = 1*10^-9;
BT=10*10^6;
h= 6.625*10^-34;
c= 3*10^8;
Ps= 36*h*c*BT/lamda;
Ps=Ps*10^12;///converting in proper format for displaying...
printf("The minimum incidental optical power required id %.2f pW",Ps);
|
d8ad52ee9b8e2829dff80831b5d2dfff2cb50ac8 | 85fe3541d4988b676b5ab7c8ed719a26fe38e3c8 | /Examples/B_const.sce | 3e2c052753e2744c5a31df1711c0bd0fb72f95f9 | [
"Unlicense"
] | permissive | UnknowableCoder/SimCampEl | c115105b2b5837b3a1eb012d1acb89015eade17f | 9bd83c6316e16a161d19393ad79a4e3bdcb30679 | refs/heads/main | 2023-03-13T23:07:25.000479 | 2021-03-12T13:38:35 | 2021-03-12T13:38:35 | 347,071,759 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sce | B_const.sce | 1
1 0 0 0 10 0 0 10 0 1 1 1 Q
-100 -100 -100 100 100 100
0
0
0
0
0
-10
299792448 5 0
|
a692d590dc54f2c314f70cf413dd7acc43a57881 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/bug-44940/bug-44940.tst | 27e51850c469ca123cd0b07653264efb0e035e14 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | tst | bug-44940.tst | %!test
%! a = class_bug44940 ();
%! b = a;
%! c = a ();
%! a.child = 100;
%! assert (a.child, b.child);
%! assert (a.child, c.child);
%! c.child = 500;
%! assert (a.child, b.child);
%! assert (a.child, c.child);
|
208a73ad6ab2265843bc4de53c2e120dfafd79f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH2/EX2.4.1/2_4_1.sce | 417edede61d3d9d263b5eb37b19c35682cb58400 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | 2_4_1.sce | clc
//this program is used to calculate weight of water at different places
pathname=get_absolute_file_path('2_4_1.sce')
filename=pathname+filesep()+'241.sci'
exec(filename)
mass=volume*density;
printf("mass of the water = volume x density=%f lbm",mass)
printf(" \n At sealevel, g=32.174 ft/s^2")
g=32.174;
weight=mass*g/32.174;
printf(" \n weight at sealevel= %f lbf \n",weight)
printf(" \n At denver, g=32.139 ft/s^2")
g=32.139;
weight=mass*g/32.174;
printf("\n weight at denver= %f lbf",weight)
//the division with 32.174 is to convert lbm.ft/s^2 to lbf |
59080af848f99f55f5bd791eff3f303c4f8f4b9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.3/Example6_3.sce | de1e48559a31f4f2d8c42c2c789fa96dad633372 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | Example6_3.sce | //Example 6.3.
clc
format(6)
alpha=0.967
IE=10
disp("The common-base d.c. current gain (alpha) is,")
disp("alpha = 0.967 = IC/IE = IC/10")
IC=alpha*IE
disp(IC,"Therefore, IC(mA) = ")
disp("The emitter current, IE = IB + IC")
IB=IE-IC
disp(IB,"Therefore, IB(mA) = ") |
47af0d23468f32c14bc0338902cc94001249a604 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.21/exa_1_21.sce | e16c81bf9e9f654cd8352265ac8785d3bbf8cb43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | exa_1_21.sce | // Exa 1.21
clc;
clear;
close;
// Given data
miu_n= 0.13;// in m^2/v-sec
lip= 0.05;// in m^2/v-sec
n=5*10^28/10^9;// in /m^3
q= 1.6*10^-19;// in C
sigma= q*n*miu_n;// in (Ωm)^-1
disp(sigma,"The conductivity of silicon material in (Ωm)^-1 is : ")
|
f132c517fdeeefeed0023d385974bf4b09040159 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/scicos/#tz22527mir-inria-fr.sci | f5aac6b37d30a150aa7dba67b15f76941239e408 | [
"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 | 4,361 | sci | #tz22527mir-inria-fr.sci | function cpr=c_pass2(bllst,connectmat,clkconnect,cor,corinv)
// cor ; correspondance table with initial block ordering
//
// bllst: list with nblk elts where nblk denotes number of blocks.
// Each element must be a list with 12 elements:
// 1- function name (in string form if fortran routine)
// 2- vector of number of inputs
// 3- vector of number of ouputs
// 4- vector of number of clock inputs
// 5- vector of number of clock outputs
// 6- vector (column) of continuous initial condition
// 7- vector (column) of discrete initial condition
// 8- vector (column) of real parameters
// 9- vector (column) of integer parameters
// 10- string: 'z' if zero-crossing, 'c' if continuous,
// 'd' discrete, 'l' logical
// 11- vector of size <number of clock outputs> including
// preprogrammed event firing times (<0 if no firing)
// or [for backward compatibility]
// boolean vector: i-th entry %t if initially output is fired
// 12- boolean vector (1x2): 1st entry for dependence on u, 2nd on t
//
// connectmat: nx4 matrix. Each row contains, in order, the block
// number and the port number of an outgoing scicopath,
// and the block number and the port number of the target
// ingoing scicopath.
//
// clkconnect: same as connectmat but for clock scicopaths.
//
// define some constants
//timer()
if bllst==list() then
message(['No block can be activated'])
cpr=list()
ok=%f;
return
end
done=%f
clkptr=1,cliptr=1,typl=[],dep_ut=[],ddep_ut=[]
nblk=size(bllst)
while ~done
//replace all logical blocks recursively
[clkptr,cliptr,typl,dep_ut,ddep_ut]=make_ptr(bllst,clkptr,cliptr,typl,..
dep_ut,ddep_ut)
[ok,done,bllst,connectmat,clkconnect,typl,corinv]=paksazi(bllst,..
connectmat,clkconnect,..
corinv,clkptr,cliptr,typl,dep_ut,ddep_ut)
if ~ok then
cpr=list()
return
end
end
//
//sort blocks by their types
// 1- blocks with continuous states
// 2- blocks with no states
// 3- logical blocks
// 4- blocks with discrete states
// 5- zero crossing blocks
[ind,nxblk,ncxblk,ndblk,ndcblk]=find_order_blocks(bllst)
if nxblk==0 & ndcblk<>0 then
message(['For using treshold, you need to have'
'a continuous system with state in your diagram.';
'You can include DUMMY CLSS block (linear palette)'
'in your diagram.']);
cpr=list()
ok=%f;
return
end
ncblk=nxblk+ncxblk;
nb=ncblk+ndblk;
nblk=nb+ndcblk;
[bllst,connectmat,clkconnect,cor,corinv]=..
re_order_blocks(bllst,connectmat,clkconnect,cor,corinv,ind)
//extract various info from bllst
[lnkptr,inplnk,outlnk,clkptr,cliptr,inpptr,outptr,..
xptr,zptr,rpptr,ipptr,xc0,xd0,rpar,ipar,dep_ut,ddep_ut,..
typl,typ_r,typ_c,funs,funtyp,initexe,labels,ok]=extract_info(bllst,..
connectmat,clkconnect)
if ~ok then
cpr=list()
return,
end
//form a matrix which gives destinations of each block
[outoin,outoinptr]=conn_mat(inpptr,outptr,inplnk,outlnk)
//
// discard duplicate calls to the same block port
// and group calls to different ports of the same block
// to compute execution table and its pointer.
[ordptr1,execlk]=discard(clkptr,cliptr,clkconnect)
// Set execution scheduling tables
[ordptr,ordclk,cord,iord,oord,zord,critev,ok]=scheduler(inpptr,..
outptr,clkptr,execlk,ordptr1,outoin,outoinptr);
if ~ok then
cpr=list()
return,
end
//form scicos arguments
izptr=ones(nblk+1,1)
simtp=['scs','funs','xptr','zptr','izptr','inpptr','outptr','inplnk',..
'outlnk','lnkptr','rpar','rpptr',..
'ipar','ipptr','clkptr','ordptr','execlk','ordclk','cord','oord',..
'zord','critev','ncblk','nxblk','ndblk','ndcblk','subscr','funtyp',..
'iord','labels']
subscr=[]
sim=tlist(simtp,funs,xptr,zptr,izptr,..
inpptr,outptr,inplnk,outlnk,..
lnkptr,rpar,rpptr,ipar,ipptr,clkptr,..
ordptr,execlk,ordclk,cord(:),oord(:),zord(:),..
critev(:),ncblk,nxblk,ndblk,ndcblk,subscr,funtyp,iord(:),labels);
//initialize agenda
[tevts,evtspt,pointi]=init_agenda(initexe,clkptr)
statetp=['xcs','x','z','iz','tevts','evtspt','pointi','outtb']
outtb=0*ones(lnkptr($)-1,1)
iz0=[]
state=tlist(statetp,xc0,xd0,iz0,tevts,evtspt,pointi,outtb);
cpr=list(state,sim,cor,corinv)
|
6de5512e9135255e204bf32c7634eb1521d21a61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH20/EX20.8/example8.sce | 62175258ee4ed0dd92aed280d5ac56097fa9fdef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | example8.sce | // find output current and maximum load resistance
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 20-8, page 768
clear; clc; close;
// Given data
R=10*10^3;// in ohms
Vin=10;// input voltage in volts
Vcc=15;// in volts
// Calculations
iout=Vin/R;// output current in amperes
Rlmax=R*((Vcc/Vin)-1);// maximum load resistance in ohms
disp("Amperes",iout,"output current=")
disp("ohms",Rlmax,"Maximum load resistance=")
// Result
// Output current is 1 mAmperes
// Maximum load resistance is 5 Kohms |
e4c8cfeebfae1c1689ef8fffa4668b472a4fa51e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH9/EX9.5.1/ex_9_5_1.sce | 2493a118be63a02c6124bf6539f810d38717be32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,067 | sce | ex_9_5_1.sce | //Example 9.5.1; IS_rms, I1_rms, FPF, PF and HF
clc;
clear;
close;
format('v',7)
//given data :
Vm=230;// in volts
Ia=12;// in A
pi=180;
Av=200;// average load voltage in volts
alfa=acosd(((Av*%pi)/(Vm*sqrt(2)))-1);
Is_rms=Ia*sqrt((pi-alfa)/pi);
disp( "(a)for PAC")
disp(Is_rms,"(1) Is_rms(A) = ")
I1_rms=((2*sqrt(2))/%pi)*Ia*cosd(alfa/2);
disp(I1_rms,"(2) I1_rms(A) = ")
fi=alfa/2;
FPF=cosd(fi);
disp(FPF,"(3) FPF(lag) = ")
CDF=I1_rms/Is_rms;
disp(CDF,"(4) CDF = ")
PF=CDF*FPF;
disp(PF,"(4) PF (lag)= ")
HF=sqrt((1/CDF^2)-1);
disp(HF,"(5) HF = ")
Vm=230;// in volts
Ia=12;// in A
pi=180;
Av=200;// average load voltage in volts
alfa=acosd(((Av*%pi)/(2*Vm*sqrt(2))));
Is_rms=Ia*sqrt((pi-(2*alfa))/pi);
disp( "(b)for SAC")
disp(Is_rms,"(1) Is_rms(A) = ")
I1_rms=((2*sqrt(2))/%pi)*Ia*cosd(alfa);
disp(I1_rms,"(2) I1_rms(A) = ")
fi=0;
FPF=cosd(fi);
disp(FPF,"(3) FPF = ")
CDF=I1_rms/Is_rms;
disp(CDF,"(4) CDF = ")
//in book CDF is mentioned as DF which is wrongly mentioned
PF=CDF*FPF;
disp(PF,"(4) PF (lagging)= ")
HF=(sqrt((1/CDF^2)-1))*100;
disp(HF,"(5) HF (%) = ")
|
95763a3a253046f17e2fbb2e43a27f7fbfb0cc34 | 6db366e04d5d8db140338552cbe172573561f398 | /code/guitare.sce | 5e1e3359ec33bdf52681c5313d067a0582ddbebd | [] | no_license | polodroid74/sound_simulation | a90c91d68b4979858584babc049596683bee99b8 | 80586465880f8f42901c9912f5a5cb8f9dea8143 | refs/heads/master | 2021-01-25T00:37:32.079891 | 2017-06-18T10:59:31 | 2017-06-18T10:59:31 | 94,681,516 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,776 | sce | guitare.sce | //Driver=("Rec");
clf();
clear;
//Definition des paramètres initiaux
SR = 44100;
B = 0.001;
f = 110;
TF = 1;
xo = 0.1;
co = 1;
rp = [0.3, 0.7];
loss = [100, 10; 1000, 8];
//pas de dicretisation
k=1/SR;
//déclaration des paramètres
gama=2*f;
kappa=(2*f*sqrt(B))/%pi;
N=50; // Il faut h >= sqrt(((gama^2)*(k^2)+sqrt((gama^4)*(k^4)+16*(kappa^2)*(k^2)))/2);
h=1/N;
ksi1=((-gama^2)+sqrt((gama^4)+4*(kappa^2)*(loss(1,1)*2*%pi)^2))/(2*kappa^2);
ksi2=((-gama^2)+sqrt((gama^4)+4*(kappa^2)*(loss(2,1)*2*%pi)^2))/(2*kappa^2);
sigma1=(6*log(10)/(ksi2-ksi1))*((-1/loss(1,2))+1/loss(2,2));
sigma0=(6*log(10)/(ksi2-ksi1))*((ksi2/loss(1,2)-ksi1/loss(2,2)));
//création des matrices A, B et C
Dxxligne=zeros(1,N-1);
Dxxligne(1)=-2;
Dxxligne(2)=1;
Dxx=toeplitz(Dxxligne)*1/(h^2);
Dxxxx=Dxx * Dxx;
Id=eye(N-1,N-1);
A=(1+sigma0*k)*Id-sigma1*k*Dxx;
B=-2*Id-(gama^2)*(k^2)*Dxx+(kappa^2)*(k^2)*Dxxxx;
C=(1-sigma0*k)*Id+sigma1*k*Dxx;
//calcul de la suite U0
u0=zeros(N-1,1);
i=1;
while i*h <= xo
u0(i)= i*h*co/xo
i=i+1;
end
while i<=N-1
u0(i)=(co/(xo-1))*i*h+co/(1-xo)
i=i+1;
end
//Déclaration du vecteur stockant la position de la corde au niveau des micros
out=zeros(TF/k,2);
temps=zeros(TF/k,1);
//Calcul du premier itéré (U1)
inva=inv(A);
v=linspace(0,1,N+1)';
u1=-inva*(B*u0+C*u0);
//Remplissage vecteur de position
out(TF/k,1)=u0(floor(rp(1)/h));
out(TF/k,2)=u0(floor(rp(2)/h));
out(TF/k,1)=u1(floor(rp(1)/h));
out(2,2)=u1(floor(rp(2)/h));
//Mise à jour du vecteur temps
temps(1)=0;
temps(2)=k;
plot(v,[0;u0;0]);
xtitle("corde de guitare")
clf();
plot(v,[0;u1;0]);
xtitle("corde de guitare")
t=2*k;
c=0; // compteur
im=0; // variable numérotant les images
//Calcul de la suit Un
while t<=TF
temps(c+2)=t;
u2=-inva*(B*u1+C*u0);
u0=u1;
u1=u2;
t=t+k;
//Tracé toute les 30 images
if modulo(c,30)==0
drawlater;
clf();
subplot(2,1,1);
plot(v,[0;u2;0]);
xtitle("corde de guitare")
a=gca();
a.data_bounds=[0,-2 ; 1,2];
subplot(2,2,3)
plot(temps,out(:,1));
xtitle("position corde micro 1")
subplot(2,2,4)
plot(temps,out(:,2));
xtitle("position corde micro 2")
drawnow;
//Enregistrement des images.gif
// nom_image='image_'+string(im)+'.gif';
// winnum=winsid();
// xs2gif(winnum($),nom_image);
im=im+1
end
//mise à jour du vecteur position
out(t/k,1)=(u2(floor(rp(1)/h)) + u2(ceil(rp(1)/h)))/2;
out(t/k,2)=(u2(floor(rp(2)/h)) + u2(ceil(rp(2)/h)))/2;
c=c+1;
end
//enregistrement son.
playsnd(out(1 : size(out,1)), SR);
savewave("son.wav", out(1 : size(out, 1)), SR);
// Calcul de la transformée de Fourier
tf_s1=fft(out(:, 1));
plot((1:size(tf_s1, 1))/TF, tf_s1);
|
9b4a754c5edf1d544a3a6ac371e18d05d7fd9b03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH5/EX5.3/exa_5_3.sce | ebe66b60efec810665b9d8fdff9a27cb4f684d98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | exa_5_3.sce | //Exa 5.3
clc;
clear;
close;
//given data
rho=1.06;// in kg/m^3
K=.0289;
v= 18.97*10^-6;// in m^2/s
Pr=0.696;
V=2.2;// in m/s
L=0.9;// in m
B=0.45;// in m
t_infinite= 30;// in degree C
t_s=90;// in degree C
//(a) For first half of the plate
x=L/2;// in m
Re=V*x/v;
// Nu = h*x/K = 0.664*Re^(1/2)*Pr^(1/3)
h= 0.664*Re^(1/2)*Pr^(1/3)*K/x;// in W/m^2 degree C
A=x*B;
Q1=h*A*(t_s-t_infinite);// in watt
disp(Q1,"Heat transfer rate from first half of the plate in watt");
//(b) Heat transfer from entire plate
x=L;// in m
Re=V*x/v;
// Nu = h*x/K = 0.664*Re^(1/2)*Pr^(1/3)
h= 0.664*Re^(1/2)*Pr^(1/3)*K/x;// in W/m^2 degree C
A=L*B;
Q2=h*A*(t_s-t_infinite);// in watt
disp(Q2,"Heat transfer rate from entire plate in watt");
//(c) From next half of the plate
Q3= Q2-Q1;
disp(Q3,"Heat transfer rate from next half of the plate")
|
121dec3456032f0d4ec5c48222466cb8e337f8fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH4/EX4.24/4_24.sce | ba75ff75c8d3d898fc90967432b2ef0018251f10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | 4_24.sce | MW=461;//molecular weight of lead iodide in grams//
CR1=3000;//initial count rate in count per minute//
CR2=900;//final count rate in count per minute//
CR=CR1-CR2;
printf('The count for lead iodide as absorbed=CR=%fcount per minute',CR);
printf('\nThe ratio of weights of lead iodide and radio lead iodide in solution is equal to that of the same ratio on surface');
printf('\nWeight of lead iodide in solution=0.0014grams');
printf('\nWeight of radio lead iodide is proportional to the count.\nWeight of lead iodide on the surface=0.0014*21/9.\nMolecular weight of lead iodide=461.\nArea of the surface per gram=4266cm^2 g^-1');
|
972523c3b824081519842635c15e7a07727b8d81 | 61da6be21995bc4b23f268b03fc13d0a33d818f3 | /test/split.tst | fe3192f7df6919c592ac81dc884be4869bdd6c10 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | warmchang/reposurgeon | 657fe5f63fdd0db560b46ccff11478c73c69b150 | 43e553d9ff0ad4a9c39f4c94b58856f2e5c99297 | refs/heads/master | 2020-12-08T19:41:16.920673 | 2020-01-10T14:58:55 | 2020-01-10T14:58:55 | 233,076,382 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | tst | split.tst | ## Test the split command
set echo
set interactive
set quiet
read <mergeinfo.svn
:6 split at 2
prefer git
inspect
|
081c741c37742e5fb0382b8a464ee7fb3141b498 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos/cos2txt.sci | db362e864910ec16dd00d13407befd203b2226d7 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 998 | sci | cos2txt.sci | function t=cos2txt(scs_m,count)
//Generate a vector of strings containing scilab instructions whose evaluation
//returns the value of scicos data structure scs_m.
[lhs,rhs]=argn(0)
if rhs<2 then
count=0,
lname='scs_m'
else
count=count+1
lname='scs_m_'+string(count)
end
bl=' '
lmax=80-3*count
t=lname+'=list()'
t1=sci2exp(scs_m(1),lmax);
t=[t;lname+'(1)='+t1(1);t1(2:$)]
for k=2:size(scs_m)
o=scs_m(k)
if o(1)=='Block' then
model=o(3)
if model(1)=='super'| model(1)=='csuper' then
t1=cos2txt(o,count)
t=[t;bl(ones(t1))+t1;lname+'('+string(k)+')='+'scs_m_'+string(count+1)]
else
lhs=lname+'('+string(k)+')='
t1=sci2exp(o,lmax-length(lhs))
bl1=' ';bl1=part(bl1,1:length(lhs))
n1=size(t1,1)
t=[t;lhs+t1(1);bl1(ones(n1-1,1))+t1(2:$)]
end
else
lhs=lname+'('+string(k)+')='
t1=sci2exp(o,lmax-length(lhs))
bl1=' ';bl1=part(bl1,1:length(lhs))
n1=size(t1,1)
t=[t;lhs+t1(1);bl1(ones(n1-1,1))+t1(2:$)]
end
end
|
f903d520b2a4dfa784f881ccb0af179e0e9031c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/DEPENDENCIES/kmapsx.sci | 429925521b2afa78c28c763c72fe2a51c95fc0e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 8,266 | sci | kmapsx.sci | function []=kmapsx(k) // this fnctions prints the minimied expression for the given kmap .
// it requires noof.sci
//so the above mentioned function shoub be execute before executing this function .
n=4;
k(:,:,2)=zeros(n,n);
var=['X2' 'X3' 'S' 'X1'];
p1=['X2''X3''' 'X2''X3' 'X2X3' 'X2X3'''];
p2=['S''X1''';'S''X1';'SX1';'SX1'''];
cmn4=4;
cmn2=2;
temp=1;
disp(k(:,:,1));
disp("is :");
disp(" ")
//checking the 16 cells case
for i=1:n
for j=1:n
if(k(i,j)~=1)
temp=0;
break;
end
end
end
printf(' ');
if(temp==1)
printf("1");
abort;
end
//checking the 8 cells cases
z1=ones(2,4);
z2=ones(4,2);
temp1=['00' '01' '11' '10'];
temp2=temp1';
for i=1:n
if(i==4)
t=1;
else
t=i+1;
end
z=[k(i,:,1);k(t,:,1)];
if(z==z1)
k(i,:,2)=[1 1 1 1];
k(t,:,2)=[1 1 1 1];
a=strsplit(temp2(i,1));
b=strsplit(temp2(t,1));
c=strcmp(a,b);
for in=1:max(size(c))
if(c(in)==0 & a(in)=='0')
printf('%s''',var(in));
printf(' + ');
break;
else
if(c(in)==0 & a(in)=='1')
printf(var(in));
printf(' + ');
break;
end
end
end
end
end
for j=1:n
if(j==4)
t=1;
else
t=j+1;
end
z=[k(:,j,1) k(:,t,1)];
if(z==z2)
k(:,j,2)=[1;1;1;1];
k(:,t,2)=[1;1;1;1];
a=strsplit(temp1(1,j));
b=strsplit(temp1(1,t));
c=strcmp(a,b);
for in=1:max(size(c))
if(c(in)==0 & a(in)=='0')
printf('%s''',var(2+in));
printf(' + ');
break;
else
if(c(in)==0 & a(in)=='1')
printf(var(2+in));
printf(' + ');
break;
end
end
end
end
end
//checking the 4 cells cases
z1=ones(1,4);
z2=ones(4,1);
z3=ones(2,2);
temp1=['00' '01' '11' '10'];
temp2=temp1';
for t=1:n
z=k(t,:,1);
no=noof(k(t,:,2));
if(z==z1 & no<cmn4)
k(t,:,2)=z1;
a=strsplit(temp1(1,t));
for in=1:max(size(a))
if(a(in)=='0')
printf('%s''',var(in));
end
if(a(in)=='1')
printf(var(in));
end
end
printf(" + ");
end
end
for t=1:n
z=k(:,t,1);
no=noof(k(:,t,2));
if(z==z2 & no<cmn4)
k(:,t,2)=z2;
a=strsplit(temp2(t,1));
for in=1:max(size(a))
if(a(in)=='0')
printf('%s''',var(2+in));
end
if(a(in)=='1')
printf(var(2+in));
end
end
printf(" + ");
end
end
for i=1:n
for j=1:n
if(i==n)
t1=1;
else
t1=i+1;
end
if(j==n)
t2=1;
else
t2=j+1;
end
z4=[k(i,j,1) k(i,t2,1);k(t1,j,1) k(t1,t2,1)];
z5=[k(i,j,2) k(i,t2,2);k(t1,j,2) k(t1,t2,2)];
no=noof(z5);
if(z4==z3 & no<cmn4)
k(i,j,2)=1;
k(i,t2,2)=1;
k(t1,j,2)=1;
k(t1,t2,2)=1;
a=strsplit(temp2(i,1));
b=strsplit(temp2(t1,1));
c=strcmp(a,b);
for in=1:max(size(c))
if(c(in)==0 & a(in)=='0')
printf('%s''',var(in));
end
if(c(in)==0 & a(in)=='1')
printf(var(in));
end
end
a=strsplit(temp1(1,j));
b=strsplit(temp1(1,t2));
c=strcmp(a,b);
for in=1:max(size(c))
if(c(in)==0 & a(in)=='0')
printf('%s''',var(2+in));
end
if(c(in)==0 & a(in)=='1')
printf(var(2+in));
end
end
printf(" + ");
end
end
end
//checking all the 2 cells cases
z6=[1 1];
z7=z6';
for i=1:n
for j=1:n
if(i==n)
t1=1;
else
t1=i+1;
end
if(j==n)
t2=1;
else
t2=j+1;
end
z8=[k(i,j,1) k(i,t2,1)];
z9=[k(i,j,2) k(i,t2,2)];
no1=noof(z9);
if(z8==z6 & no1<cmn2 )
k(i,j,2)=1;
k(i,t2,2)=1;
a=strsplit(temp1(1,j));
b=strsplit(temp1(1,t2));
c=strcmp(a,b);
for in=1:max(size(c))
if(c(in)==0 & a(in)=='0')
printf(p1(1,i));
printf('%s''',var(2+in));
printf(" + ");
end
if(c(in)==0 & a(in)=='1')
printf(p1(1,i));
printf(var(2+in));
printf(" + ");
end
end
end
end
end
for i=1:n
for j=1:n
if(i==n)
t1=1;
else
t1=i+1;
end
if(j==n)
t2=1;
else
t2=j+1;
end
z10=[k(i,j,1);k(t1,j,1)];
z11=[k(i,j,2);k(t1,j,2)];
no2=noof(z11);
if(z10==z7 & no2<cmn2)
k(i,j,2)=1;
k(t1,j,2)=1;
a=strsplit(temp2(i,1));
b=strsplit(temp2(t1,1));
c=strcmp(a,b);
for in=1:max(size(c))
if(c(in)==0 & a(in)=='0')
printf(p2(j,1));
printf('%s''',var(in));
printf(" + ");
end
if(c(in)==0 & a(in)=='1')
printf(p2(j,1));
printf(var(in));
printf(" + ");
end
end
end
end
end
// checking all the single cell cases
for i=1:n
for j=1:n
if(k(i,j,2)==0 & k(i,j,1)==1)
a=strsplit(temp1(1,j));
b=strsplit(temp2(i,1));
for in=1:max(size(a(:,1)))
if(a(in,1)=='1')
printf(var(in+2));
else
if(a(in,1)=='0')
printf('%s''',var(2+in));
end
end
end
for in=1:max(size(b(:,1)))
if(b(in,1)=='1')
printf(var(in));
else
if(b(in,1)=='0')
printf('%s''',var(in));
end
end
end
if(i~=4 & j~=4)
printf(" + ");
end
end
end
end
printf("0");
endfunction |
485591d9bfb0b3bfaf996441f5b164d883d4576d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH7/EX7.10/Chapter7_Exampl10.sce | 98730cfb1c30c648d83ae4e94f30b76b06e80e42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,589 | sce | Chapter7_Exampl10.sce | clc
clear
//INPUT DATA
ta1=15;//dry bulb temperature in Degree c
ta2=25;//dry bulb temperature in Degree c
tw1=13;//wet bulb temperature in Degree c
tw2=18;//wet bulb temperature in Degree c
V1=30;//volume of air in m^3/min
V2=12;//volume of air in m^3/min
pva=11.22;//Saturation pressure in mm Hg
pvb=15.461;//Saturation pressure in mm Hg
p=760;//pressure in mm of Hg
cp=1.005;//specific pressure
//CALCULATIONS
pv1=(pva-((p-pva)*(ta1-tw1)*1.8/(2800-1.3*(1.8*ta1+32))));//Saturation pressure in mm Hg
w1=0.622*(pv1/(p-pv1));//Specific humidity in kg w.v./kg d.a
pv2=pvb-((p-pvb)*(ta2-tw2)*1.8/(2800-(1.3*(1.8*ta2+32))));//Saturation pressure in mm Hg
w2=0.622*(pv2/(p-pv2));//Specific humidity in kg w.v./kg d.a
h1=cp*ta1+w1*(2500+1.88*ta1);//Enthalpy of air per kg of dry air in kJ/kg d.a
h2=cp*ta2+w2*(2500+1.88*ta2);//Enthalpy of air per kg of dry air in kJ/kg d.a
ma1=V1/0.827;//Dry mass flow rate in kg d.a./min
ma2=V2/0.8574;//Dry mass flow rate in kg d.a./min
ma3=ma1+ma2;//Dry mass flow rate in kg d.a./min
w3=((ma1*w1)+(ma2*w2))/ma3;//Specific humidity in kg w.v./kg d.a
h3=((ma1*h1)+(ma2*h2))/(ma3);//Enthalpy of air per kg of dry air in kJ/kg d.a
ta3=((ma1*ta1)+(ma2*ta2))/(ma3);//dry bulb temperature in Degree c
tw3=((ma1*tw1)+(ma2*tw2))/(ma3);//wet bulb temperature in Degree c
//OUTPUT
printf('(i)The specific humidity of the mixture is %3.4f kg w.v./kg d.a \n (ii)Specific enthalpy of the mixture is %3.2f kJ/kg d.a. \n (iii)DBT corresponds to mixture is %3.3f Degree C \n (iv)WBT corresponds to mixture is %3.3f Degree C ',w3,h3,ta3,tw3)
|
47e4272ff3b258b0e9e3bc0001e21d8f0a3b7283 | b4e34afbccba260cb01882a6e81a58851bc6ee2c | /differentiation.sce | f428f368991c1f7491b1db37f714b0780b7227f3 | [] | no_license | gabrielseibel1/num | 258ce3b7a99a3bcd091ba4791be6f48de60a49c2 | 088ae943687d83d1cf4a84e59bcb70af1eea6ee5 | refs/heads/master | 2020-06-11T14:52:40.461998 | 2019-06-27T23:10:50 | 2019-06-27T23:10:50 | 194,003,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,959 | sce | differentiation.sce | function c = coefs_multi_step(x, degree)
// solve system Mc=e
// x é pontos do tempo. xn = 0 e são espaçados de h=1 (e.g. 0, -1, -2 ...)
// degree é a diferença de passo entre o lado esquerdo e direito da eq
// deg = 2 para un+2 = un + h(....) por exemplo
// get size of the system
n = size(x,2)
// create M and c
M = zeros(n, n)
e = zeros(n, 1)
// fill M and c
for i = 1:n
for j = 1:n
M(i,j) = x(j)^(i-1)
end
e(i) = (degree)^i/i
end
//solve Mc=e
c = inv(M)*e
endfunction
function c = coefs_finite_difs(xstar, x)
// solve system Mc=e
// x é pontos do tempo que influenciam o calculo da derivada (espaçados de h=1)
// xstar é o ponto onde a derivada é calculada
// get size of the system
n = size(x,2)
// create M and c
M = zeros(n, n)
e = zeros(n, 1)
// fill M and c
for i = 1:n
for j = 1:n
M(i,j) = x(j)^(i-1)
end
if (xstar == 0 && (i-2) < 0) then
e(i) = 0
else
e(i) = (i-1)*xstar^(i-2)
end
end
//solve Mc=e
c = inv(M)*e
endfunction
function c = coefs_finite_difs_2(xstar, x)
// solve system Mc=e
// x é pontos do tempo que influenciam o calculo da derivada (espaçados de h=1)
// xstar é o ponto onde a derivada é calculada
// get size of the system
n = size(x,2)
// create M and c
M = zeros(n, n)
e = zeros(n, 1)
// fill M and c
for i = 1:n
for j = 1:n
M(i,j) = x(j)^(i-1)
end
if (xstar == 0 && (i-2) < 0) then
e(i) = 0
else
e(i) = (i-1)*xstar^(i-2)
end
end
//adapt to grau 2
M_ = M
M(1,:) = 0
for i = 2:n
M(i,:) = M_(i-1, :)
end
for i = 1:n
M(i,:) = M(i,:) * (i-1)
e(i) = e(i) * (i-1)
end
disp(M)
disp(e)
//solve Mc=e
c = inv(M)*e
endfunction
|
b77be5641f9f24851b7d84acc8eb283fc023cd34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH7/EX7.6/Ex7_6.sce | 4bf4f07df415e17cb1f11f3db38197054eef699a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,426 | sce | Ex7_6.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 7 : SPECIAL MOTORS AND INTRODUCTION TO GENERALIZED MACHINE THEORY
// EXAMPLE : 7.6
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
R = 1.4; // Total Resistance of the AC series motor in Ohms
V = 115; // supply voltage in Volts
f = 50; // Frequency in Hertz
N = 5000; // Rotating speed in RPM
X = 12; // Total reactance in Ohms
P = 250; // Electrical power output in Watts
loss = 18; // Rotational losses in Watts
// CALCULATIONS
Pd = P + loss; // Mechanical power developed in Watts
// We know that Er = Pd/I and from phasor diagram in figure 7.11 page no. 501 V^2 = (Er+I*R)^2+(I*X)^2, 115^2 = (268/I-1.4*I)^2+(12*I)^2, 13225*I^2 = 71824+2.036*I^4-750.4*I^2+144*I^2, solving this we get 2.036*I^4-13831.4*I^2+71824 = 0, I^4-6793.42*I^2+3577 = 0 this gives I = 2.28A or 82.38A (The above calculation part is wrong )
i = poly ([3577 0 -6793.42 0 1],'x','coeff'); // Expression for the Current in Quadratic form
a = roots (i); // 4-Value of the current in Amphere
I = a(4,1); // Curent in Amphere neglecting higher value and negative value
pf_a = sqrt(1-((I*X)/V)^2); // Power factor lagging
Er_a = sqrt(V^2-(I*X)^2)-(I*R); // Rotational Voltage in Volts
T_a = (Er_a*I)/(2*%pi*N/60); // Developed torque in Newton-meter
Ih = I/2; // Current halved in Amphere
pf_b = sqrt(1-((Ih*X)/V)^2); // Power factor lagging when load current halved
Er_b = sqrt(V^2-(Ih*X)^2)-(Ih*R); // Rotational Voltage in Volts when load current halved
N2 = (N*Er_b*I)/(Er_a*Ih); // New speed in RPM when load current halved
T_b = (Er_b*Ih)/(2*%pi*N2/60); // Developed torque in Newton-meter when load current halved
eta = 100*(Er_b*Ih)/(V*Ih*pf_b); // Efficiency when load current halved
// DISPLAY RESULTS
disp("EXAMPLE : 7.6: SOLUTION :-");
printf("\n At rated condition, \n\n (a.1) Current, I = %.2f A \n",I)
printf("\n (a.2) Power factor = %.3f lagging \n",pf_a)
printf("\n (a.3) Developed torque = %.2f N-m \n",T_a)
printf("\n When load current halved (reduced to half), \n\n (b.1) Speed, N2 = %.f RPM \n",N2)
printf("\n (b.2) Power factor = %.4f lagging \n",pf_b)
printf("\n (b.3) Developed torque = %.2f N-m \n",T_b)
printf("\n (b.4) Efficiency = %.1f percenatge \n",eta)
printf("\n From Calculation of the Current(I), rest all the Calculated values in the TEXT BOOK is WRONG because of the Current equation and its value both are WRONGLY calculated and the same used for the further Calculation part, so all the values are in the TEXT BOOK IS WRONG \n")
|
b4424807773670a885ab5d88bd34d0b31edd9f4d | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/Ramp_Test/ramp_test.sci | a042e9dd22fa19232c367731823f9fd88a16434b | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,675 | sci | ramp_test.sci | mode(-1);
global temp heat fan m x sampling_time heatdisp fandisp tempdisp
sampling_time=0.5;//Enter Smpling time
m=1;
function temp = ramp_test(heat,fan)
global m x sampling_time heatdisp fandisp tempdisp
writeserial(handl,ascii(254)); //Input Heater, writeserial accepts strings; so convert 254 into its string equivalent
writeserial(handl,ascii(heat));
writeserial(handl,ascii(253)); //Input Fan
writeserial(handl,ascii(fan));
writeserial(handl,ascii(255)); //To read Temp
sleep(100);
temp = ascii(readserial(handl)); // Read serial returns a string, so convert it to its integer(ascii)equivalent
temp = temp(1) + 0.1*temp(2); // convert to temp with decimal points eg: 40.7
x=ceil(1/sampling_time);
//disp('not plotting')
//disp(modulo(m,x))
//disp(x,'x=',m,'m=')
if (modulo(m,x) == 1)
//disp('plotting')
heatdisp=[heatdisp;heat];
subplot(311);
xtitle("Step Test","Time(seconds)","Heat in percentage")
plot2d(heatdisp,rect=[0,0,1000,100],style=1)
fandisp=[fandisp;fan];
subplot(312);
xtitle("","Time(seconds)","Fan in percentage")
plot2d(fandisp,rect=[0,0,1000,100],style=2)
tempdisp=[tempdisp;temp];
subplot(313)
xtitle("","Time(seconds)","Temperature (deg celcius)")
plot2d(tempdisp,rect=[0,20,1000,60],style=5)
end
m=m+1;
endfunction |
527b872b5752e4c1bb5cb0c3d61bfa5c498f5d66 | efe59cd4cca137aba9af447e8040b1eac3738006 | /examples/plot/classB/exemplo_grafico_dados_informados_pelo_utilizador.sce.txt | acd763556bba3328c1052e97b922db4a04edb03e | [] | no_license | thejefecomp/scilab-codes | fd13f6aa666135c0fb08989e25b0ca1354c58b51 | 6eefce6eed8af0b54f2d6172f6e2b05513327184 | refs/heads/master | 2023-07-31T13:23:50.467306 | 2021-09-23T09:00:49 | 2021-09-23T12:04:06 | 287,115,880 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,303 | txt | exemplo_grafico_dados_informados_pelo_utilizador.sce.txt | //Este programa solicita um conjunto de valores de entrada para o utilizador, e fornece a opção de escolha de uma em três funções, a desenhar com base na função escolhida um gráfico para visualização dos valores informados. O programa também fornece a opção de desenhar na mesma janela gráfica as representações gráficas do mesmo conjunto de valores aplicado às três funções suportadas. Além da visualização das funções a utilizar uma projeção bidimensional (2D), é possível visualizar o conjunto de valores informados por meio de uma projeção tridimensional (3D), a qual utiliza a funçãp z = 2x -y^2 como suporte para a especificação da profundidade (altura) associada à projeçãp 3D a ser apresentada.
//Esta função representa a função matemática y = 2x^2 -5.
function y = f(x)
y = 2 * x.^2 - 5
endfunction
//Esta função representa a função matemática y = e^x -2
function y = g(x)
y = %e.^x - 2
endfunction
//Esta função representa a função matemática y = (e^x - 3)/5
function y = h(x)
y = (%e.^x -3)/5
endfunction
//Esta função representa a função matemática z = 2x -y^2
function z = profundidade(x,y)
z = 2*x -y.^2
endfunction
/*
Alternativa à utilização conjunta das funções calculaProjecao2DInterna() e calcularFuncaoProjecao2D().
//Esta função realiza o cálculo dos valores do eixo y para a função(ões) de projeção 2D selecionada(s). A estratégia de execução adotada utiliza recursividade para executar todas as funções de projeção 2D em uma única invocação [opcaoUnitaria == 4].
function [opcaoUnitaria,varargout]=calcularFuncaoProjecao2D(opcaoUnitaria, x)
select opcaoUnitaria
case 1 then varargout(1) = f(x)
case 2 then varargout(1) = g(x)
case 3 then varargout(1) = h(x)
case 4 then
for i=1:3
[opcaoUnitariaInterna,varargout(i)]=calcularFuncaoProjecao2D(i,x)
end
end
endfunction
*/
/*Esta função é uma função utilitária, a qual permite o cálculo dos valores do eixo y para cada uma das funções de projeção 2D suportadas:
f(x) = 2x^2 - 5 [opcaoUnitaria == 1]
g(x) = e^x -2 [opcaoUnitaria == 2]
h(x) = (e^x - 3)/5 [opcaoUnitaria == 3]
A função calculaProjecao2DInterna() assume que o conjunto de valores [i.e. vetor x] utilizado para os cálculos já está previamente definido, a implicar sua invocação por intermédio da função calcularFuncaoProjecao2D().
*/
function y=calculaProjecao2DInterna(opcaoUnitaria)
select opcaoUnitaria
case 1 then y = f(x)
case 2 then y = g(x)
case 3 then y = h(x)
else y = -1
end
endfunction
//Esta função realiza o cálculo dos valores do eixo y para a função(ões) de projeção 2D selecionada(s). A estratégia de execução adotada utiliza a função utilitária calculaProjecao2DInterna(), a qual é executada iterativamente para executar todas as funções de projeção 2D em uma única invocação [opcaoUnitaria == 4].
function [opcaoUnitaria,varargout]=calcularFuncaoProjecao2D(opcaoUnitaria, x)
if opcaoUnitaria > 0 && opcaoUnitaria < 4 then
varargout(1) = calculaProjecao2DInterna(opcaoUnitaria)
elseif opcaoUnitaria == 4
for i = 1:3
varargout(i) = calculaProjecao2DInterna(i)
end
end
endfunction
/*Esta função permite o desenho de gráficos associados às projeções gráficas de uma das funções de projeção 2D a seguir:
f(x) = 2x^2 - 5
g(x) = e^x -2
h(x) = (e^x - 3)/5
A função recebe os seguintes argumentos de entrada:
limpa -> indica se a janela gráfica deve ser limpa antes de realizar a projeção desejada. limpa == %t (verdadeiro) para realizar a limpeza; limpa == %f (falso) caso contrário;
linhas -> indica o número de linhas necessárias para o desenho de diferentes projeções na mesma janela gráfica;
colunas -> indica o número de colunas necessárias para o desenho de diferentes projeções na mesma janela gráfica;
coluna -> indica qual a coluna utilizada para o desenho da projeção desejada;
opcaoDimensional -> indica qual o tipo de projeção a ser desenhada. opcaoDimensional == 2 para realizar o desenho de uma projeção 2D (função plot); opcaoDimensional = 3 para realizar o desenho de uma projeção 3D (função mesh a utilizar a função de projeção 3D z=x^2 + y^2);
varargin -> indica os conjuntos de dados utilizados para o desenho a projeção gráfica desejada, bem como um possível título da projeção a ser desenhada. Os conjuntos de dados devem ser informados na seguinte ordem: x -> y -> z, onde x representa o vetor/matriz de valores a ser projetado no eixo X; y representa o vetor/matriz de valores a ser projetado no eixo Y; e z representa o vetor/matriz de valores a ser projetado no eixo Z. O conjunto de caracteres para definir o título do gráfico a ser desenhado é informado como último argumento de entrada variável da função.
*/
function desenhaProjecao(limpa,linhas,colunas,coluna,opcaoDimensional,varargin)
if limpa == %t then
clf()
end
subplot(linhas,colunas,coluna)
if opcaoDimensional == 2 then
plot(varargin(1),varargin(2))
elseif opcaoDimensional == 3
mesh(varargin(1), varargin(2), varargin(3))
end
if (opcaoDimensional+1) == length(varargin) then
title(string(varargin(opcaoDimensional+1)))
end
endfunction
/*Esta função permite o desenho de gráficos associados às projeções gráficas de uma das funções de projeção 2D a seguir:
f(x) = 2x^2 - 5
g(x) = e^x -2
h(x) = (e^x - 3)/5
A função recebe os seguintes argumentos de entrada:
opcaodimensional -> vetor a indicar qual projeção será deenhada para cada uma das funções. Cada elemento do vetor pode assumir um dos seguintes valores: 2 -> 2D; 3 -> 3D;
linhas -> indica o número de linhas necessárias para o desenho de diferentes projeções na mesma janela gráfica;
pares -> indica se o conjunto de dados utilizado para realizar as projeções é invocado aos pares. %t (verdadeiro) caso o conjunto de dados seja informado aos pares; %f (falso) caso o conjunto de dados utilize um único conjunto de valores no eixo X para as múltiplas projeções realizadas;
titulos -> indica títulos, os quais podem ser incluídos nos gráficos a representar as projeções desenhadas;
varargin -> indica os conjuntos de dados utilizados para o desenho da(s) projeção(ões) gráfica(s) desejada(s), Os conjuntos de dados devem ser informados na seguinte ordem: x -> y, onde x representa o vetor/matriz de valores a ser projetado no eixo X; e y representa o vetor/matriz de valores a ser projetado no eixo Y. O conjunto de valores a ser projetado no eixo Z é calculado com base na função de profundidade (altura) z = 2x -y^2.
*/
function desenhaProjecoes(opcaoDimensional,linhas, pares,titulos, varargin)
incremento = 1
inicio = 1
limpa = %t
numeroProjecoes = 1
if pares == %t then
incremento = 2
numeroProjecoes = length(varargin)/2
elseif pares == %f
numeroProjecoes = length(varargin) - 1
end
for i =inicio:incremento:length(varargin) - 1
indiceProjecao = getIndiceProjecao(pares,i,incremento)
if opcaoDimensional(indiceProjecao) == 3 then
if pares == %t then
[matrixX,matrixY] = meshgrid(varargin(i),varargin(i+1))
else
[matrixX,matrixY] = meshgrid(varargin(1),varargin(i+1))
end
matrixZ = profundidade(matrixX, matrixY)
desenhaProjecao(limpa,linhas,numeroProjecoes,indiceProjecao,opcaoDimensional(indiceProjecao),matrixX, matrixY, matrixZ,getTitulo(titulos,indiceProjecao))
elseif opcaoDimensional(indiceProjecao) == 2
if incremento == 1 then
desenhaProjecao(limpa,linhas,numeroProjecoes,indiceProjecao,opcaoDimensional(indiceProjecao),varargin(1), varargin(i+1),getTitulo(titulos,indiceProjecao))
else
desenhaProjecao(limpa,linhas,numeroProjecoes,indiceProjecao,opcaoDimensional(indiceProjecao),varargin(i), varargin(i+1),getTitulo(titulos,indiceProjecao))
end
end
limpa = %f
end
endfunction
//Esta função retorna o índice da projeção a ser realizada, o qual é utilizado para a obtenção do tipo de projeção e para definição da posição de desenho da projeção.
function indiceProjecao=getIndiceProjecao(pares,i,incremento)
if pares == %t && i > 1 then
indiceProjecao = i - floor(i/incremento)
else
indiceProjecao = i
end
endfunction
//Esta função retorna o título correspondente ao indice informado. Caso o índice não existe, o título retornado é um conjunto de caracteres vazio.
function titulo=getTitulo(titulos,indice)
if length(titulos) >= indice then
titulo = titulos(indice)
else
titulo = ""
end
endfunction
continuar = 'sim'
while continuar == 'sim'
x = input("Informe o conjunto de valores [vetor] a ser utilizado para o desenho do(s) gráfico(s) da(s) função(ões) selecionada(s): ")
mprintf("Selecione a função de projeção 2D para desenho do(s) gráfico(s): \n 1 - y=2x^2 - 5\n 2 - y=e^x -2\n 3 - y = (e^x - 3)/5\n 4 - todas\n")
opcaoUnitaria=input("Valor Selecionado: ")
opcaoDimensional = input("Deseja realizar a(s) projeção(ões) em 2D ou em 3D (projeção com z = 2x - y^2) [2 - 2D; 3 - 3D]? ")
titulos = input("Informe um vetor com o(s) título(s) para o(s) gráfico(s) [Pressione enter no caso de não possuir títulos]: ")
if opcaoUnitaria > 0 && opcaoUnitaria < 4 then
[opcaoUnitaria,y] = calcularFuncaoProjecao2D(opcaoUnitaria, x)
desenhaProjecoes(opcaoDimensional,linhas=1,pares=%t,titulos,x,y)
elseif opcaoUnitaria == 4
[opcaoUnitaria,fY,gY,hY] = calcularFuncaoProjecao2D(opcaoUnitaria, x)
desenhaProjecoes(opcaoDimensional,linhas=1,pares=%f,titulos,x,fY,gY,hY)
end
continuar = input("Deseja continuar a realizar projeções? [sim/nao]: ", "s")
end
mprintf("Tenha um bom dia :-D")
|
b3a7794daf2b9b572a2d1faed49353e3e6890729 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH4/EX4.16/Ex4_16.sce | ee1ebca548a9f2c8ede9de2c7531b4b4867c3369 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | Ex4_16.sce | //problem 16 pagenumber 4.44
//given
fs=1e6;//hz
format(6);
n=8;
tc=(1/fs)*(n+1);
disp('Conversion time = '+string(tc*10^6)+' μs');
|
a2dfc0cfbb20b161840be1eedb8a8887d4bd9e60 | 8fc1352cf472030069a83080f16a91698db26207 | /labs_in-class/B/ZN16.tst | 3ab659183c97b2e5bb724d52cbbd11e016c7ae16 | [] | no_license | YoshiPiker/CPS-360 | 5ef2abaa663e8e4492bb9723a8ea6f4dcbdf579a | edf0fe16f91876dbe40556f41e2c2790aa0b0248 | refs/heads/master | 2016-08-12T09:09:15.423427 | 2015-10-07T19:47:26 | 2015-10-07T19:47:26 | 43,709,284 | 0 | 0 | null | 2015-10-05T20:18:32 | 2015-10-05T19:43:35 | null | UTF-8 | Scilab | false | false | 867 | tst | ZN16.tst | load ZN16.hdl,
output-file ZN16.out,
compare-to ZN16.cmp,
output-list x%B1.16.1 zx%B1.1.1 nx%B1.1.1 out%B1.16.1;
set x %B0000000000000000, // x = 0
set zx 0,
set nx 0,
eval,
output;
set zx 1,
set nx 0,
eval,
output;
set zx 0,
set nx 1,
eval,
output;
set zx 1,
set nx 1,
eval,
output;
set x %B1111111111111111, // x = 0
set zx 0,
set nx 0,
eval,
output;
set zx 1,
set nx 0,
eval,
output;
set zx 0,
set nx 1,
eval,
output;
set zx 1,
set nx 1,
eval,
output;
set x %B1010101010101010, // x = 0
set zx 0,
set nx 0,
eval,
output;
set zx 0,
set nx 0,
eval,
output;
set zx 1,
set nx 0,
eval,
output;
set zx 0,
set nx 1,
eval,
output;
set zx 1,
set nx 1,
eval,
output;
set x %B1111111100000000, // x = 0
set zx 0,
set nx 0,
eval,
output;
set zx 1,
set nx 0,
eval,
output;
set zx 0,
set nx 1,
eval,
output;
set zx 1,
set nx 1,
eval,
output;
|
3c175751b4ef6318b7c49c5b2ec8648db3ec375b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH12/EX12.3/Ex12_3.sce | eb896cee5b7321ea309035e7713490b87613910c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,667 | sce | Ex12_3.sce | clc;
//page 609
//problem 12.3
//Baseband cutoff signal fM = 4 kHz
fM = 4 * 10^3;
//White noise power spectral density n
n = 2*10^(-9);
// Part (a)
//Input Signal energy Si = 0.001
Si = 0.001;
//No of levels used for PCM Coding M = 8
M = 8;
N = log2(M);
//Input SNR is SNR_ip
SNR_ip = Si/(n*fM);
//Output SNR is SNR_op
SNR_op = (2^(2*N))/(1 + (2^(2*N + 1))*erfc((SNR_ip*(3/(10*N))))^0.5);
disp('Input SNR for (a) is '+string(10*log10(SNR_ip))+' dB');
disp('Output SNR (a) is '+string(10*log10(SNR_op))+' dB');
// Part (b)
//Input Signal energy Si = 0.001
Si = 0.001;
//No of levels used for PCM Coding M = 256
M_b = 256;
N_b = log2(M_b);
//Input SNR is SNR_ip_b
SNR_ip_b = Si/(n*fM);
//Output SNR is SNR_op_b
SNR_op_b = (2^(2*N_b))/(1 + (2^(2*N_b + 1))*erfc((SNR_ip_b*(3/(10*N_b))))^0.5);
//Unfortunately in scilab the function erfc approximates the output value to a larger extent due to which an exact value cannot be obtained.
//The difference in the textbook answer and obatined answer is significant because of converting the answer into dB.
disp('Input SNR for (b) is '+string(10*log10(SNR_ip_b))+' dB');
disp('Output SNR for (b) is '+string(10*log10(SNR_op_b))+' dB');
// Part (c)
//Input Signal energy Si = 0.01
Si = 0.01;
//No of levels used for PCM Coding M = 256
M = 256;
N = log2(M);
//Input SNR is SNR_ip_c
SNR_ip_c = Si/(n*fM);
//Output SNR is SNR_op_c
SNR_op_c = (2^(2*N))/(1 + (2^(2*N + 1))*erfc((SNR_ip_c*(3/(10*N))))^0.5);
disp('Input SNR for (c) is '+string(10*log10(SNR_ip_c))+' dB');
disp('Output SNR for (c) is '+string(10*log10(SNR_op_c))+' dB');
|
e4d42810381a4c4bd629cd78bbbca277487d3f4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH24/EX24.5/24_5.sce | 613ac9d1bef91dc92ff780a40f1f6752a73685e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,442 | sce | 24_5.sce | clear//
//Variables
VCC = 30.0 //Source voltage (in volts)
RC = 10.0 //Collector resistance (in kilo-ohm)
RE = 8.2 //Emitter resistance (in kilo-ohm)
RL = 3.3 //Load resistance (in kilo-ohm)
beta = 200.0 //Common emitter current gain
VBE = 0.7 //Emitter-to-Base Voltage (in volts)
R1 = 47.0 //Resistance (in kilo-ohm)
R2 = 15.0 //Resistance (in kilo-ohm)
Vs = 5.0 //a.c voltage (in milli-volts)
//Calculation
Vth = VCC * R2 / (R1 + R2) //Thevenin's voltage (in volts)
Rth = R1 * R2 / (R1 + R2) //Thevenin's equivalent voltage (in volts)
IE = (Vth - VBE)/(RE + Rth/beta) //Emitter current (in milli-Ampere)
r1e = 25.0 / IE //a.c. resistance of emitter diode (in ohm)
rL = RC * RL/(RC + RL) //a.c load seen by the amplifier (in kilo-ohm)
Av = rL * 10**3 / r1e //Voltage gain
vo = Av * Vs //Output voltage (in volts)
Ri = beta * r1e * 10**-3 //Input resistance looking directly into the base (in ohm)
Ris = Rth * Ri / (Rth + Ri) //input resistance of the stage (in ohm)
//Result
printf("\n a.c output voltage is %0.2f mV.\nInput impedance for the circuit is %0.0f kilo-ohm.",vo,Ris)
|
fa9ae2548ee565388266c8df2b85c14bd5520b62 | c1a8a1a7b9076dbf033c1733a7ca86a3ee7c057b | /colorsBookvertP67.sce | 6721206beae33bcb8481fb2dad811d8be8c05d00 | [] | no_license | moueza/stars-scilab | 6616e5ade0b9dbcf7da1901d963ba76f196120c4 | f499fe87f7d315cd3614f5a77856830a8bbbba19 | refs/heads/master | 2023-05-25T17:22:35.584242 | 2023-05-17T08:45:05 | 2023-05-17T08:45:05 | 146,559,527 | 0 | 0 | null | 2021-07-31T06:01:03 | 2018-08-29T07:05:32 | Scilab | UTF-8 | Scilab | false | false | 759 | sce | colorsBookvertP67.sce | //help plot2d
//clf();
//x=[0:0.1:2*%pi]';
//plot2d(x,sin(x));
//multiple plot
//6.1 version
//xbasc() //p63 deplrecated -> clf (dep xclear)
//from gree book p67
//plot2d1 deprecated ?
//feature request : click a window -> all Scilab windows come foreground
//.jp ri
x=0:.1:2*%pi;
u=[-0.8+sin(x);-0.6+sin(x);-0.4+sin(x);-0.2+sin(x);sin(x)];
u=[u;0.2+sin(x);0.4+sin(x);0.6+sin(x);0.8+sin(x)]';//self u
//nothing printed plot2d('omn',x',u,[9,8,7,6,5,4,3,2,1,0],"011"," ",[0,-2,2*%pi,3],[2,10,2,10])
//KO plot2d('omn',x',u)
//9 lines
//plot2d(x',u);//OK
//plot2d(x',u);//nothing
//KO plot2d1('omn',x',u,[9,8,7,6,5,4,3,2,1,0],"011"," ",[0,-2,2*%pi,3],[2,10,2,10])
//KO variable plot2d1('omn',x',u,[9,8,7,6,5,4,3,2,1,0],"011"," ",[0,-2,2*%pi,3],[2,10,2,10])
|
674c530d61b8018d6f1b06379158908bb7f069c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH2/EX2.15/ex2_15.sce | ec45ac4551a31a365744efd72ab9d27b6534948e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | ex2_15.sce | // Exa 2.15
clc;
clear;
close;
// Given data
n_i = 2*10^19;// in /m^3
Miu_e = 0.36;// in m^2/v.s
Miu_h = 0.17;// in m^2/v.s
A = 1*10^-4;// in m^2
V = 2;// in Volts
l = 0.3;// in mm
l = l * 10^-3;// in m
e = 1.6*10^-19;// in C
Sigma_i = n_i * e * (Miu_e+Miu_h);// in mho/m
I = (Sigma_i * V*A)/l;// in amp
disp(I,"The current in amp is");
|
6eff1bfd1876b7811cf24c5770f704c7c74a9f3d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Integrated_Circuits_S._Sharma_2204.zip/Integrated_Circuits_S._Sharma_2204/CH3/EX3.2/ex3_2.sce | 646a19a1c4a8e927a94d4b69190deec08cc869ca | [] | 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 | 200 | sce | ex3_2.sce | errcatch(-1,"stop");mode(2);// EXa 3.2
;
;
// Given data
A_F = -30;
R_F = 1;// in M ohm
R1 = -(R_F/A_F);// in Mohm
R_i = R1;// in Mohm
disp(R_i*10^3,"Input resistance in kΩ is");
exit();
|
17354eb057808382c53c405231e5c31231fac9e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH6/EX6.1/Ex6_1.sce | b5e13c4321c029579a945f667352d88f6de32f7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Ex6_1.sce |
// To determine the distance of a 25 cp lamp for various illumination
//Page 327
clc;
clear;
//Candle power of the lamp
I=25;
// Various illumination levels
E1=5; //Case1
E2=15; //Case2
E3=8; //Case3
// According to the law of illumination E = I/(r^2);
// Using the above equation we find the distances for the above three illuminations
r1= sqrt(I/E1);
r2= sqrt(I/E2);
r3= sqrt(I/E3);
printf('a) The distance for %g flux illumination from the normally placed screen is %g m \n',E1,r1)
printf('b) The distance for %g flux illumination from the normally placed screen is %g m \n',E2,r2)
printf('c) The distance for %g f.c illumination from the normally placed screen is %g ft \n',E3,r3)
|
b1232f4e0c809a3d4a7df81da6e81db369d81a2e | 2de9f55f57376e1f35cbe9e24942ce08fedc2abe | /Orchard_1.sci | 8b1a96c70eebc4a7bb98388a23c405a6e122a191 | [] | no_license | llassabatere/Best-test | 777cc14ce544ce3903606bfb9552dea9c1d3ccfc | 2d211a2337e221594b8d6a6d018fd7bf2e961e6b | refs/heads/master | 2020-04-08T16:13:21.778980 | 2018-11-28T14:02:08 | 2018-11-28T14:02:08 | 159,509,644 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,010 | sci | Orchard_1.sci | // Initialization
clear
mode(0);
ieee(1);
clearglobal;
// T_wd = "E:\Laurent-AA02870\boulot\prod_sci\En_cours\Article_BEST_2K\scilab\7_BEST-DP_versus_SP";
T_wd = "C:\Users\Utilisateur\Documents\travail_maison\z_September_2018\Article_BEST_2K\scilab\7_BEST-DP_versus_SP";
T_functions = T_wd + "\BEST_functions-2";
T_data = T_wd + "\Data_files";
i_fig = 1;
// Sample and conditions
// names = ["Forest_1";"Forest_2";"Pasture_1";"Pasture_2";"Orchard_1";"Orchard_2"];
i0 = 5;
file_name = "O_run_5";
gammaa = 0.75;
betaa = 0.6;
/// functions for modelling hydraulic HCWRF with vGBBC model
chdir(T_functions);
exec('0_general_tool_functions.sci',-1);
exec('2_BEST_functions.sci',-1);
exec('3_It_functions_2K.sci',-1);
exec('4_HCWRF_comp.sci',-1);
// nomemclature & cleanup
names = ["Forest_1";"Forest_2";"Pasture_1";"Pasture_2";"Orchard_1";"Orchard_2"];
ntot = size(names,1);
name = names(i0);
close_windows(20);
// data collection for cumulative water infiltration
// Upload of hydraulic properties
chdir(T_data);
best_dp= read('BEST-DP.txt',-1,ntot); // units = mm & mm/s
ph_m = best_dp(1:6,i0);
wf = best_dp(7,i0);
ph_f = best_dp(8:13,i0);
best_sp = read('BEST-SP.txt',-1,ntot); // units = mm & mm/s
ph_sp = best_sp(1:6,i0);
// Upload of cumulative infiltration
CI30_exp_table = read("I30_exp.txt",-1,2*ntot); // units = mm & mm/s
CI0_exp_table = read("I0_exp.txt",-1,2*ntot);
a_30 = CI30_exp_table(2:size(CI30_exp_table,1),(2*i0-1));
[a b] = min(a_30);
t30_exp = CI30_exp_table(1:b,(2*i0-1));
I30_exp = CI30_exp_table(1:b,2*i0);
a_0 = CI0_exp_table(2:size(CI0_exp_table,1),(2*i0-1)); // units = mm & mm/s
[a b] = min(a_0);
t0_exp = CI0_exp_table(1:b,(2*i0-1));
I0_exp = CI0_exp_table(1:b,2*i0);
// BEST entry
chdir(T_data+"\BEST_data");
best_entry = read(file_name+'.txt',-1,2); //--> data file
nbl = size(best_entry,1); // number of line of data file
theta0s = best_entry(2,1); // initial water content for Beerkan run [%]
theta030 = best_entry(2,2); // initial water content for Tension infil. [%]
theta30 = best_entry(3,1); // initial water content [%]
rds = best_entry(4,1); // ring radius for Beekan exp [mm]
rd30 = best_entry(4,2); // ring radius for TI 30 [mm]
// Computation of hydraulic conductivity and water retention curves
// water retention and hydraulic conductivity curves
xh = (-logspace(-1,4,200))';
theta_m = theta_vGB(xh,ph_m(3),ph_m(1),ph_m(2),ph_m(5));
theta_f = theta_vGB(xh,ph_f(3),ph_f(1),ph_f(2),ph_f(5));
theta_dp = (1-wf)*theta_m+wf*theta_f;
theta_mat = (1-wf)*theta_m;
theta_sp = theta_vGB(xh,ph_sp(3),ph_sp(1),ph_sp(2),ph_sp(5));
K_m = K_vGB(ph_m(4),theta_m,ph_m(1),ph_m(2),ph_m(6));
K_f = K_vGB(ph_f(4),theta_f,ph_f(1),ph_f(2),ph_f(6));
K_dp = (1-wf)*K_m+wf*K_f;
K_mat = (1-wf)*K_m;
K_sp = K_vGB(ph_sp(4),theta_sp,ph_sp(1),ph_sp(2),ph_sp(6));
// determination of initial water pressure heads
h0_sp = wcr_vGB(theta030,ph_sp(1),ph_sp(2),ph_sp(3),ph_sp(5));
[a b] = min(abs(theta_dp-theta030));
h0_dp = xh(b);
// computation of original and final states
// initial water contents and for B
theta0_TI_sp = theta_vGB(h0_sp,ph_sp(3),ph_sp(1),ph_sp(2),ph_sp(5));
theta0_TI_m = theta_vGB(h0_dp,ph_m(3),ph_m(1),ph_m(2),ph_m(5));
theta0_TI_f = theta_vGB(h0_dp,ph_f(3),ph_f(1),ph_f(2),ph_f(5));
theta0_TI_dp = wf*theta0_TI_f+(1-wf)*theta0_TI_m; // prediction of water content at -30
R_theta0_TI = theta0_TI_dp/theta030; // precision of the estimate
theta0_B_sp = theta0_TI_sp;
theta0_B_m = theta0_TI_sp;
theta0_B_f = theta0_TI_sp;
// final water contents for TI
thetaf_TI_sp = theta_vGB(-30,ph_sp(3),ph_sp(1),ph_sp(2),ph_sp(5));
thetaf_TI_m = theta_vGB(-30,ph_m(3),ph_m(1),ph_m(2),ph_m(5));
thetaf_TI_f = theta_vGB(-30,ph_f(3),ph_f(1),ph_f(2),ph_f(5));
thetaf_TI_dp = wf*thetaf_TI_f+(1-wf)*thetaf_TI_m; // prediction of water content at -30
R_thetaf_TI = thetaf_TI_dp/theta30; // precision of the estimate
// final water contents for B
thetaf_B_sp = theta_vGB(0,ph_sp(3),ph_sp(1),ph_sp(2),ph_sp(5));
thetaf_B_m = theta_vGB(0,ph_m(3),ph_m(1),ph_m(2),ph_m(5));
thetaf_B_f = theta_vGB(0,ph_f(3),ph_f(1),ph_f(2),ph_f(5));
thetaf_B_dp = wf*thetaf_B_f+(1-wf)*thetaf_B_m; // prediction of water content at -30
R_thetaf_B = thetaf_B_dp/thetaf_B_sp; // precision of the estimate thetas_B_sp référence car défini par 1-rho_d/rho_s
// initial hydraulic conductivities for boths TI and B, similar initial water contents)
K0_TI_sp = K_vGB(ph_sp(4),theta0_TI_sp,ph_sp(1),ph_sp(2),ph_sp(6));
K0_TI_m = K_vGB(ph_m(4),theta0_TI_m,ph_m(1),ph_m(2),ph_m(6));
K0_TI_f = K_vGB(ph_f(4),theta0_TI_f,ph_f(1),ph_f(2),ph_f(6));
K0_B_sp = K0_TI_sp;
K0_B_m = K0_TI_m;
K0_B_f = K0_TI_f;
// final hydraulic conductivities for TI
Kf_TI_sp = K_vGB(ph_sp(4),thetaf_TI_sp,ph_sp(1),ph_sp(2),ph_sp(6));
Kf_TI_m = K_vGB(ph_m(4),thetaf_TI_m,ph_m(1),ph_m(2),ph_m(6));
Kf_TI_f = K_vGB(ph_f(4),thetaf_TI_f,ph_f(1),ph_f(2),ph_f(6));
Kf_TI_dp = (1-wf)*Kf_TI_m+wf*Kf_TI_f;
// final hydraulic conductivities for B
Kf_B_sp = K_vGB(ph_sp(4),thetaf_B_sp,ph_sp(1),ph_sp(2),ph_sp(6));
Kf_B_m = K_vGB(ph_m(4),thetaf_B_m,ph_m(1),ph_m(2),ph_m(6));
Kf_B_f = K_vGB(ph_f(4),thetaf_B_f,ph_f(1),ph_f(2),ph_f(6));
// sorptivities
S_TI_sp = (S_2_vGB(h0_sp,-30,ph_sp(1),ph_sp(2),ph_sp(3),ph_sp(4),ph_sp(5),ph_sp(6)))^(1/2);
S_B_sp = (S_2_vGB(h0_sp,0,ph_sp(1),ph_sp(2),ph_sp(3),ph_sp(4),ph_sp(5),ph_sp(6)))^(1/2);
S_TI_m = (S_2_vGB(h0_dp,-30,ph_m(1),ph_m(2),ph_m(3),ph_m(4),ph_m(5),ph_m(6)))^(1/2);
S_TI_f = (S_2_vGB(h0_dp,-30,ph_f(1),ph_f(2),ph_f(3),ph_f(4),ph_f(5),ph_f(6)))^(1/2);
S_B_m = (S_2_vGB(h0_dp,0,ph_m(1),ph_m(2),ph_m(3),ph_m(4),ph_m(5),ph_m(6)))^(1/2);
S_B_f = (S_2_vGB(h0_dp,0,ph_f(1),ph_f(2),ph_f(3),ph_f(4),ph_f(5),ph_f(6)))^(1/2);
// Computation of cumulative infiltrations
// Cumulative infiltration into the SP soils
I_TI_sp = I_3D(t30_exp,Kf_TI_sp,K0_TI_sp,S_TI_sp,rd30,thetaf_TI_sp,theta0_TI_sp,betaa,gammaa);
I_B_sp = I_3D(t0_exp,Kf_B_sp,K0_B_sp,S_B_sp,rds,thetaf_B_sp,theta0_B_sp,betaa,gammaa);
// Cumulative infiltration into the SP soils
I_TI_m = I_3D(t30_exp,Kf_TI_m,K0_TI_m,S_TI_m,rd30,thetaf_TI_m,theta0_TI_m,betaa,gammaa);
I_TI_f = I_3D(t30_exp,Kf_TI_f,K0_TI_f,S_TI_f,rd30,thetaf_TI_f,theta0_TI_f,betaa,gammaa);
I_TI_dp = wf*I_TI_f+(1-wf)*I_TI_m;
I_B_m = I_3D(t0_exp,Kf_B_m,K0_B_m,S_B_m,rds,thetaf_B_m,theta0_B_m,betaa,gammaa);
I_B_f = I_3D(t0_exp,Kf_B_f,K0_B_f,S_B_f,rds,thetaf_B_f,theta0_B_f,betaa,gammaa);
I_B_dp = wf*I_B_f+(1-wf)*I_B_m;
//////////////////////// Choix des couleurs et eppaisseur //////////////
//Rq : la definition des colormap doit etre avant les fonctions scf et clf !
markers = ['+';'+';'<';'<';'o';'o'];
color_ = ["green";"green";"blue";"blue";"red";"red"];
//////// Figure 1 //////////////////////////////////////////////////
font_title = 3;
font_xylabel = 3;
font_axs = 2;
font_leg = 2;
clf(i_fig);
scf(i_fig);
i_fig = i_fig+1;
subplot(221)
plot(abs(xh),theta_sp,"color","blue");
plot(abs(xh),theta_dp,"color","red");
plot(30,thetaf_TI_sp,"bo",30,thetaf_TI_dp,"ro");
title("BEST-DP "+name,"fontsize",font_title, "color", "black");
xlabel("$h\ [mm]$","fontsize",font_xylabel, "color", "black");
ylabel("$\theta\ [-]$","fontsize",font_xylabel, "color", "black");
g = gca();
// g.data_bounds = [1,0;10^4,0.8];
g.log_flags = "lnn";
g.font_size = font_axs;
subplot(222)
plot(abs(xh),K_sp,"color","blue");
plot(abs(xh),K_dp,"color","red");
plot(30,Kf_TI_sp,"bo",30,Kf_TI_dp,"ro");
title("BEST-DP","fontsize",font_title, "color", "black");
xlabel("$h\ [mm]$","fontsize",font_xylabel, "color", "black");
ylabel("$K\ [mm/min]$","fontsize",font_xylabel, "color", "black");
g = gca();
g.log_flags = "lln";
// g.data_bounds = [1,10^-6;10^4,10];
g.font_size = font_axs;
legend("BEST-SP","BEST-DP",3);
subplot(223)
plot(t30_exp,I30_exp,"color","black",'LineSt',"none","marker",markers(i0),"marksize",8);
plot(t30_exp,I_TI_sp,"color","blue");
plot(t30_exp,I_TI_dp,"color","red");
xlabel("$t_{TI}\ [min]$","fontsize",font_xylabel);
ylabel("$I_{TI}\ [mm]$","fontsize",font_xylabel);
title('Cumulative infiltrations I30',"fontsize",font_title);
g = gca();
g.log_flags = 'nnn';
// g.y_location = 'right';
// g.data_bounds = [0,0;125,200];
subplot(224)
plot(t0_exp,I0_exp,"color","black",'LineSt',"none","marker",markers(i0),"marksize",8);
plot(t0_exp,I_B_sp,"color","blue");
plot(t0_exp,I_B_dp,"color","red");
xlabel("$t_B\ [min]$","fontsize",font_xylabel);
ylabel("$I_{B}\ [mm]$","fontsize",font_xylabel);
title('Cumulative infiltrations I0',"fontsize",font_title);
g = gca();
g.log_flags = 'nnn';
// g.y_location = 'right';
// g.data_bounds = [0,0;125,200];
legend("exp. data","BEST-SP","BEST-DP",2);
|
8ddb2b1bc7f5c92ab9cd5b0dd9221390a19ec2dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH12/EX12.4/example_12_4.sce | a502520188e8105af23cc4635bcf353c89debfc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,277 | sce | example_12_4.sce | //Chapter 12
//Page 321
//Example 12.4
//interconnected
clear;clc;
//Given
V_bus1 = 4.16e3;
V_bus_2 = 600;
Vm = 600;
n_m = 0.895;
Pop_m = 6000;
X11_m = 0.2;X_2_m = 0.20;X_0_m = 0.04;X_n_m= 0.02;
Vtr_ht = sqrt(3) * 2400;Vtr_lt = 600;Ptr =3 * 2500e3;
X11_tr = 0.10;
Pg = 7500e3;Vg = 4.16e3;
X11_g = 0.10;X_2_g = 0.10;X_0_g = 0.05;X_n_g = 0.05;
//At the time of fault
Pload = 5000;pf_load = 0.85;n_load = 0.88;
Vbase_sysbus = Vg;Pbase_sysbus = Pg;
Vbase_m = Vtr_lt;Pbase_m = Ptr;
Pin_m =(Pop_m * 0.746) * 1e3/ n_m;
printf("\n Input Rating of the single equivalent motor = %.0f kVA \n",Pin_m)
X11_m_new = X11_m * Pbase_m / Pin_m;
X_2_m_new = X_2_m * Pbase_m / Pin_m;
X_0_m_new = X_0_m * Pbase_m / Pin_m;
X_n_m_new = 3 * X_n_m * Pbase_m / Pin_m;
disp('For Motor')
printf("\nX11 = %.1f per unit\n X_2 = %.1f per unit\n X_0 = %0.2f per unit\n 3X_n = %.2f per unit\n",X11_m_new,X_2_m_new,X_0_m_new,X_n_m_new)
printf("\n The equivalent generator reactance from neutral to ground in the zero-sequence network = %.2f per unit\n",3*X_0_g)
Vf = 1 * (cos(0) + %i * sin(0));
Ibase_m = Pbase_m / (sqrt(3) * Vbase_m);
printf("\n Base current in motor circuit = %.0f \n\n",Ibase_m)
Iactual_m = 746 * Pload / (n_load * sqrt(3) * Vbase_m * pf_load);
magIa = Iactual_m / Ibase_m;
angleIa = - acos(0.85);
Ia_prefault = magIa * (cos(angleIa) + %i * sin(angleIa));
printf("\n Prefault current through line a = %.3f - j%.3f per unit\n\n",real(Ia_prefault),abs(imag(Ia_prefault)))
Eg_11 = 1;Em_11 = 1;
Z1 = ((%i * X11_g + %i * X_2_g) * (%i * X11_m_new)) / (%i * (X11_g + X_2_g + X11_m_new));
Z2 = Z1;Z0 = 3 * %i * X_0_g;
printf("\n\n Z1 = j%.2f per unit\n Z2 = j%.2f per unit\n Z0 = j%.2f per unit\n",abs(Z1),abs(Z2),abs(Z0))
Ia1 = Vf / (Z1 + Z2 + Z0);
Ia2 = Ia1;Ia0 = Ia1;
Ia_fault = 3 * Ia0;
printf("\n Current Ia in fault = -j%.3f per unit \n",abs(Ia_fault))
Ia1_tr = Ia1 * (%i * X11_m_new) / (%i * X11_m_new + %i * X11_g + %i * X_2_g);
Ia1_m = Ia1 * (%i * X11_g + %i * X_2_g ) / (%i *X11_m_new + %i * X11_g + %i * X_2_g);
a = 1 * (cos(120 * %pi / 180) + %i * sin(120 * %pi / 180));
A = [ 1 1 1; 1 a^2 a ; 1 a a^2];
Ia_tr = [ 0 ;Ia1_tr ;Ia1_tr];
I_tr = A * Ia_tr;
disp('Currents in the line at the fault from the transformer in the order Ia,Ib,Ic in per unit are')
disp(I_tr)
disp('Currents in the line at the fault from the transformer in the order Ia,Ib,Ic in A are')
disp(abs(I_tr) * Ibase_m)
Ia_m = [Ia1 ; Ia1_m ; Ia1_m];
I_m = A * Ia_m;
disp('Currents in the line at the fault from the motor in the order Ia,Ib,Ic in per unit are')
disp(I_m)
disp('Currents in the line at the fault from the motor in the order Ia,Ib,Ic in A are')
disp(abs(I_m) * Ibase_m)
I_A1 = -%i * Ia1_tr;I_A2 = %i * Ia1_tr;I_a0 = 0;
I_A = I_A1 + I_A2;
I_B1 = a^2 * I_A1;I_B2 = a * I_A2;
I_B = I_B1 + I_B2;
I_C1 = a * I_A1;I_C2 = a^2 * I_A2;
I_C = I_C1 + I_C2;
disp('Per Units currents in the order I_A,I_B,I_C in per unit are')
disp(I_A);disp(I_B);disp(I_C);
Ibase_ht = Ptr / (sqrt(3) * Vtr_ht);
disp('Per Units currents in the order I_A,I_B,I_C in A are')
disp(abs(I_A) * Ibase_ht);disp(abs(I_B) * Ibase_ht);disp(abs(I_C) * Ibase_ht);
disp('Under loaded conditions')
disp('Current from transformer to the fault phase a')
disp(Ia_prefault + Ia1_tr)
disp('Current from motor to the fault phase a')
disp(- Ia_prefault + Ia1_m) |
027db0009b184d12f9f4f6e776f857bdb0542ed6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH6/EX6.12/ex_6_12.sce | 72e23acd4ca36c40a6bb1d347c3531ecfeff8c08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,369 | sce | ex_6_12.sce | l=200
Wamax=450
Wamin=-150
Wtmax=120
Wtmin=-80
FS=2
sigmay=330
sigmae=300
Ka=0.7
Kb=1
Ktb=1.44
Kta=1.64
Ksz=0.85
Ksur=0.90
q=0.90
//consider the reversed axial loading
Wm=(Wamax+Wamin)/2
disp(Wm,"Average axial load=")
Wv=(Wamax-Wamin)/2
disp(Wv,"Variable axial load=")
syms d
A=(%pi*d^2)/4
sigmam=Wm/A
disp(sigmam,"Average axial stress=")
sigmav=Wv/A
disp(sigmav,"Variable axial stress=")
Kfa=1.576
sigmaea=sigmae*Ka
disp(sigmaea,"Endurance limit stress for reversed axial loading=")
sigmanea=sigmam+(sigmav*sigmay*Kfa)/(sigmaea*Ksur*Ksz)
Wm=(Wtmax+Wtmin)/2
disp(Wm,"Mean bending load=")
Wv=(Wtmax-Wtmin)/2
disp(Wv,"Variable bending load=")
Mm=Wm*(l-50)
disp(Mm,"Mean bending moment at point A=")
Mv=Wv*(l-50)
disp(Mv,"Variable bending moment at point A=")
Z=(%pi*d^3)/32
disp(Z,"section modulus=")
sigmam=Mm/Z
disp(sigmam,"Mean bending stress=")
sigmav=Mv/Z
disp(sigmav,"Variable bending stress=")
Kfb=1.396
Kb=1
sigmaeb=sigmae*Kb
disp(sigmaeb,"Endurance limit for reverse bending load=")
sigmaneb=sigmam+(sigmav*sigmay*Kfb)/(sigmaeb*Ksur*Ksz)
sigmane=sigmanea+sigmaneb
disp(sigmane,"Total equivalent normal stress at point A=")
sigmane=sigmay/FS
disp(sigmane,"Total equivalent normal stress at point A=")
s=%s
p=165*s^3-1428*s-337168
x=roots(p)
disp(x,"d=")
//taking the real value of d
d=12.9
disp(d,"d=")
|
fc82f3fd0947ac7199f3b5b725fb31e6cecb6138 | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/welcomemsg.sci | 2847fc90022dad03e9c3d6ae21c8563c4a2b5297 | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,137 | sci | welcomemsg.sci | function welcomemsg()
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// Authors
// Holger Nahrstaedt - 2010
// Ishan Pendharkar - 2001-2007
global g g_cont g_plant g_sensor
WelcomeMsg='Rltool for Scilab, version 1.7.'
CreditsMsg=['(c) Ishan Pendharkar, India.';
'Jose Da Cunha, Brazil';
'Holger Nahrstaedt, Germany'];
Start='no';
while Start=='no'
//WelcomeNumber=buttondialog(WelcomeMsg,"Open|New|Credits|Help|Cancel","question");
WelcomeNumber=messagebox(WelcomeMsg,"Info","question",["Open","New","Credits","Help","Cancel"], "modal");
if WelcomeNumber==1 then,
loadplant();
Start='yes';
end;
if WelcomeNumber==2 then
g_plant_new=rl(g_plant);
if g_plant<>[] then,
Start='yes'
if g_plant_new==g_plant then,
//if user changes the plant then set controller to default, else use previous value
g_plant=g_plant_new
else
g_plant=g_plant_new
g_cont=s^0;
g_sensor=s^0; //default values for controller and sensor, plant has changed!
xinfo('Setting controller and plant to default values');
end
g=g_cont*g_plant*g_sensor;
else
bye();
end;
end;
if WelcomeNumber==3 then
HELPabout();
Start='no'
end;
if WelcomeNumber==4 then
//HELPmenu()
help "RLtool Toolbox"
Start='no'
halt("Help loaded! Press enter to proceed!");
end;
if WelcomeNumber==5 then
bye()
end;
end;
return;
endfunction
|
e6de8f9324cdfd932548c143af0d16cf73438906 | 449f0d9106e35fc361bdb53d55d9563796f0d2c3 | /week8/scilab.sce | 07894bf36c160297eef4f507f4772448e515bbac | [] | no_license | aleksey-sinos/OpenEdu | 72eefffcc4ddbb45345a9bee61e534f9bf540390 | 6c3b4943a669b9398ad75e0fae44937cc6b04dc0 | refs/heads/master | 2020-06-30T13:29:27.839046 | 2019-12-04T07:47:12 | 2019-12-04T07:47:12 | 74,368,213 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,061 | sce | scilab.sce | ////////////////////////////////////////////////////////////////////////////////
//// Неделя 8.
//// Формирующий фильтр.
//// Моделирование динамики матрицы ковариаций в байесовском подходе.
//// Рекуррентный метод. Векторный случай
////////////////////////////////////////////////////////////////////////////////
clear; deff('[numd] = roundd(num,n)','numd = round(num *10^n) / 10^n');
rand("seed",getdate("s")); grand("setsd",getdate("s"));
//// Параметры ////
mn = 100; //Количество измерений
dt = 1; //Интервал дискретизации
x_0 = [roundd(5000+rand(1,'nor')*100,1); roundd(rand(1,'nor')*3,1)]; //Начальное значение
P_0 = [10 0; //Начальная матрица ковариаций
0 0.1];
F = [1 dt; //Матрица динамики
0 1];
G = [0; roundd(0.5+rand(1,'uin'),2)];//Матрица шумов
Q = 1; //Матрица ковариаций шумов
//Выделение памяти
x = zeros(2,mn); x(:,1) = x_0;
x_ex = zeros(2,mn,5);
P = zeros(2,2,mn); P(:,:,1) = P_0;
//// Моделирование ////
//Мат. ожидание и матрица ковариаций
for i = 2:mn
x(:,i) = F*x(:,i-1);
P(:,:,i) = F*P(:,:,i-1)*F'+G*Q*G';
end
//Реализации
for j = 1:5
x_ex(:,1,j) = x_0+sqrt(P_0)*rand(2,1,'nor');
for i = 2:mn
x_ex(:,i,j) =F*x_ex(:,i-1,j)+sqrt(G)*rand(1,'nor');
end
end
//// Графики ////
figure(1); clf;
subplot(2,1,2);
title('Динамика и СКО высоты')
set(gca(),"auto_clear","off"); xgrid(1,0.1,10);
plot(1:mn,x(1,:),'b');
plot(1:mn,3*sqrt(squeeze(P(1,1,:)))'+x(1,:),'r');
for j = 1:5
plot(1:mn,x_ex(1,:,j),'g');
end
plot(1:mn,-3*sqrt(squeeze(P(1,1,:)))'+x(1,:),'r');
legend('Математическое ожидание','3 sigma','Примеры возможных реализаций');
subplot(2,1,1);
title('Динамика и СКО вертикальной скорости')
set(gca(),"auto_clear","off"); xgrid(1,0.1,10);
plot(1:mn,x(2,:),'b');
plot(1:mn,3*sqrt(squeeze(P(2,2,:)))'+x(2,:),'r');
for j = 1:5
plot(1:mn,x_ex(2,:,j),'g');
end
plot(1:mn,-3*sqrt(squeeze(P(2,2,:)))'+x(2,:),'r');
legend('Математическое ожидание','3 sigma','Примеры возможных реализаций');
mprintf('Математическое ожидание высоты через 100 секунд %f \n',x(1,100));
mprintf('3*СКО высоты через 100 секунд %f \n',3*sqrt(squeeze(P(1,1,100))));
mprintf('3*СКО высоты > 300 через %f секунд \n',find(3*sqrt(P(1,1,:))>300,1));
//// Запись данных ////
deletefile('data.txt'); deletefile('fillings.txt'); deletefile('answer.txt');
answer = [x(1,100); 3*sqrt(squeeze(P(1,1,100)));find(3*sqrt(P(1,1,:))>300,1)];
fillings = [x_0; G(2)];
write('answer.txt',answer);
write('fillings.txt',fillings);
write('data.txt',[]);
|
ffee88a66bc97545634377b4fa70bd0ce56173a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH15/EX15.2.1/15_2_1.sce | 28a71df0d478056cb0425dcb56492870ce3a1158 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | 15_2_1.sce | clc
//initialisation of variables
B= 34 //ft
z= 6 //ft
g= 32.2 //ft/sec^2
d= 6 //in
do= 2 //in
l= 6 //ft
l1= 0.04
//CALCULATIONS
s= sqrt((g*do^2*(B-6-z))/(l*d^2*(d/12)))
s1= s*60/(2*%pi)
hf= l1*(l/(2*g*(do/12)))*(d^2*s*d/(12*do^2))^2
//RESULTS
printf (' maximum friction head= %.2f ft',hf)
|
28f037971b315533d42827079efb481fa967ed7b | 717ddeb7e700373742c617a95e25a2376565112c | /213/CH12/EX12.3/12_3.sce | 992afe86123a4352d119cb00f00c803e96fea2ed | [] | 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 | 1,085 | sce | 12_3.sce | //To find length of path of contact
clc
//Given:
t=30, T=80
phi=20 //degrees
m=12 //mm
Addendum=10 //mm
//Solution:
//Length of path of contact:
//Calculating the pitch circle radius of pinion
r=m*t/2 //mm
//Calculating the pitch circle radius of gear
R=m*T/2 //mm
//Calculating the radius of addendum circle of pinion
rA=r+Addendum //mm
//Calculating the radius of addendum circle of gear
RA=R+Addendum //mm
//Calculating the length of path of approach
//Refer Fig. 12.11
KP=sqrt(RA^2-R^2*(cosd(phi))^2)-R*sind(phi) //mm
//Calculating the length of path of recess
PL=sqrt(rA^2-r^2*(cosd(phi))^2)-r*sind(phi) //mm
//Calculating the length of path of contact
KL=KP+PL //mm
//Calculating the length of arc of contact
Lac=KL/cosd(phi) //Length of arc of contact, mm
//Contact ratio:
//Calculating the circular pitch
Pc=%pi*m //mm
//Calculating the contact ratio
CR=Lac/pc //Contact ratio
//Results:
printf("\n\n Length of path of contact, KL = %.1f mm.\n\n",KL)
printf(" Length of arc of contact = %.2f mm.\n\n",Lac)
printf(" Contact ratio = %d.\n\n",CR) |
f0a65cc88b9887035ef7639542fb2cc722ad7408 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH3/EX3.19/Example319.sce | ba64bcfa7f833b55c748072395f421d0ccf15ed4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,008 | sce | Example319.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 3, Example 19")
disp("Hydraulic efficiency is")
disp("etah = Power deleloped/Power available")
disp(" =m(Cw1U1 - Cw2U)/rhogQH")
disp("Since flow is radial at outlet, then Cw2 = 0 and m = rhoQ, therefore")
disp("etah = Cw1U1/gH")
g = 9.81;
H= 5;
U1 = 9.6;
etah = 80;//%
Cw1 = etah *g*H/(9.6*100)
disp("Radial velocity Cr1 = 4m/s")
Cr1 = 4;
disp("tan(alpha1) = Cr1/Cw1 (from velocity triangle)")
alpha1 = atan(Cr1/Cw1)*180/%pi
disp("i.e., inlet guide vane angle alpha1 = 44.38")
disp("tan(beta1) = Cr1/(Cw1 - U1 )")
beta1 = 180+atan(Cr1/(Cw1-U1))*180/%pi
disp("Runner speed is")
N = 230;
D1 = 60*U1/(%pi*N)
disp("Overall efficiency")
disp("etao = Power output/Power available")
rho = 1000;
Q = 130*1000/(0.72*rho*g*H)
disp("But Q = pi*D1h1Cr1 (where h1 is the height of runner)")
h1 = Q/(%pi*D1*Cr1)
|
c9a8ca614365d3261ffaaba59c4a7bf091fff15a | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH11/EX11.2/11_2.sce | 87e194c2f6a57170b5191517476b7880fead8651 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | 11_2.sce | clc
//initialisation of variables
d= 200 //mm
l= 2 //m
Shearstressmax= 200 //N/mm^2
Maximumangleoftwist= 2 //degrees
Maxtorque= 30/2 //KNm
G= 25000 //N/mm^2
//CALCULATIONS
tmin= (Maxtorque*10^6*4)/(2*%pi*d^2*Shearstressmax)
x1=l/2
c=0
dtbydx= (Maxtorque*%pi*200*16)/(4*%pi^2*d^4*G*tmin)
theta= (Maxtorque*%pi*200*16)/(4*%pi^2*d^4*G*tmin)*x1+c
tminimum= (Maxtorque*%pi*200*10^9*180*16)/(4*%pi^2*d^4*G*Maximumangleoftwist*%pi)*x1
//RESULTS
printf ('minimum allowable thickness= %.1f mm',tminimum)
|
4fe5e42738314f9da59998efa7b61ef7c93ab567 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH4/EX4.2/example4_2.sce | ac296160aedd961a4ef6e032673eef31d0b44750 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | example4_2.sce | // Calculate alpha using beta
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 4-2 in page 209
clear; clc; close;
// Given Data
beta_bjt=90; // beta gain for the BJT
Ic=4*10^-3; // Collector Current in mA
// Calculations
alpha=beta_bjt/(1+beta_bjt);
Ib=Ic/beta_bjt;
Ie=Ic+Ib;
printf("(a)The Current gain alpha for BJT is %0.3f \n",alpha);
printf("(b)The value of the base Current is %0.2e A \n",Ib);
printf("(c)The value of the Emitter Current is %0.2e A \n",Ie);
// Results
// (a) The Current Gain alpha for BJT is 0.989
// (b) The value of the Base Current is 44.44 mu-A
// (c) The value of the Emitter Current is 4.04 mA |
9a273c3f8c2765c4613c4b19c7a1f93cb78c9a2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.43/Exa_2_43.sce | c9c0bff6a36ed94c4a50b74d4f2969c6e8471098 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Exa_2_43.sce | //Exa 2.43
clc;
clear;
close;
format('v',8);
//Given Data :
h1=160;//KJ/Kg
h2=2380;//KJ/Kg
m1dot=10;//Kg/s
m2dot=0.8;//Kg/s
Qdot=10;//KJ/s
Wdot=0;//KJ
deltaKE=0;
deltaPE=0;
m3dot=m1dot+m2dot;//Kg/s
disp(m3dot,"Mass flow of heated water in Kg/s : ");
//m1dot*h1+m2dot*h2=m3dot*h3+Qdot
h3=(m1dot*h1+m2dot*h2-Qdot)/m3dot;//KJ/Kg
disp(h3,"Specific enthalpy of heated water in KJ/Kg : ");
|
107245bb5001fce59f4f7ced466cecccb3bb92a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH12/EX12.9/Ex12_9.sce | 38b9fd58df1e172475cadad93800e9425be3027f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Ex12_9.sce | clc
clear
//Initialization of variables
tf=225 //F
a=190
b=0.043
ti=212 //F
//calculations
hc=a/(1-b*(tf-ti))
hcti=hc*1.25
//results
printf("For a flat copper plate, boiling film coefficient = %.1f Btu/sq ft hr F",hc)
printf("\n For an inclined copper plate, boiling film coefficient = %d Btu/sq ft hr F",hcti)
|
619e4e000b9935d229dfcc6d940374a7abdfee76 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_robotpatch.sci | 13a736ce690b561152ad085d6b5c3f1747bf8864 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sci | kiks_robotpatch.sci | function [ptch] = kiks_robotpatch(id)
// Ouput variables initialisation (not found in input variables)
ptch=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
global("KIKS_COLOR_BACKGROUND")
col = [0.05,0.2,0];
// !! L.9: Matlab function sprintf not yet converted, original calling sequence used
// !! L.9: Matlab function patch not yet converted, original calling sequence used
ptch = patch("Facecolor",col,"Edgecolor",[0,0,0],"Erase","xor","tag",sprintf("@handle %d",id));
endfunction
|
8c4f7a55748f35bd8a3d158bb89e5dd2098f3d3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.7/Exa_6_7.sce | a38cc065765e91f8cbe2a8cdb6dc1b5204785f75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | Exa_6_7.sce | //Exa 6.7
clc;
clear;
close;
format('v',8);
//Given Data :
mw=1;//Kg
m_steam=39;//mass of dry steam in Kg
ms=mw+m_steam;//Kg
x=m_steam/ms;//dryness fraction
disp(x,"Dryness fraction ; ");
|
700ddb08fe50afd006df44dd8897c9f897857e42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH3/EX3.1/Ex3_1.sce | 624f186bc4a993c44e06355756ceedc9453f668d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,656 | sce | Ex3_1.sce | // Given:-
// Those with 1 are of state 1 and 2 are with state 2
// State 1
p1 = 10**5 // initial pressure in pascal
x1 = 0.5 // initial quality
T1 = 99.63 // temperature in degree celcius, from table A-3
v = 0.5 // volume of container in m3
vf1 = 1.0432*(10**(-3)) // specific volume of fluid in state 1 in m3/Kg(from table A-3)
vg1 = 1.694 // specific volume of gas in state 1 in m3/kg(from table A-3)
// State 2
p2 = 1.5*(10**5) // pressure after heating in pascal
T2 = 111.4 // temperature in degree celcius in state 2, from A-3
vf2 = 1.0582*(10**(-3)) // specific volume of fluid in state 2 in m3/Kg, from A-3
vg2 = 1.159 // specific volume of gas in state 2 in m3/Kg,from A-3
// Calculations
v1 = vf1 + x1*(vg1-vf1) // specific volume in state 1 in m3/Kg
v2 = v1 // specific volume in state 2 in m3/Kg
m = v/v1 // total mass in Kg
mg1 = x1*m // mass of vapour in state 1 in Kg
x2 = (v1-vf2)/(vg2-vf2) // quality in state 2
mg2 = x2*m // mass of vapor in state 2 in Kg
// State 3
p3 = 2.11 // pressure in state 3 from table A-3
// Results
printf( ' The temperature in state 1 is %f degree celcius.',T1)
printf( ' The temperature in state 2 is %f degree celcius.',T2)
printf( ' The mass of vapour in state 1 is %.2f kg.',mg1)
printf( ' The mass of vapour in state 2 is %.2f kg.',mg2)
printf( ' The pressure corresponding to state 3 is %.2f bar',p3)
|
4d7f61c171abd9eaebbf3f23b6b8255fb82abd2a | dc43d2d07e54764662d2629492544cc614c391a7 | /Guass_Siedal.sce | 5ee7fc39ab657b42b49c538234cc0d76ebc13cbc | [] | no_license | CaptainLazarus/Scilab | 6634ea1774f00e1a25b5b05c622429bfc51f9abf | 3af1504ebbdb784e6493a8c4b264e6994c45a02b | refs/heads/master | 2020-04-16T19:27:39.496867 | 2019-02-26T05:53:48 | 2019-02-26T05:53:48 | 165,860,221 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | Guass_Siedal.sce | function siedal(a,b,n)
[row,col] = size(a)
// for i = 1:row
// if a(i,i) == 0
// disp("Not Possible");
// end
// end
for i = 1:row
x(i) = 0;
end
for k = 1:3*n
for i = 1:row
x(i) = 0
for j = 1:col
if i ~= j
x(i) = x(i) + x(j)*a(i,j);
end
end
x(i) = (b(i) - x(i))/a(i,i);
end
disp(x)
end
endfunction
|
e02ecb1e6936f133decb567726a38d6bd4c07eff | 25ec4bae7c1d991a8b4f36a96650a07061417648 | /Exemplos/exemplo07SegueFaixa/circuloGiroRight.sce | 03ea0ef1dd1cad727f4c6ff7d7325d42c1bd4292 | [] | no_license | OtacilioNeto/EV3MicroPythonExamples | 716f76e4179d98157577d68b116a33a078aed085 | 037af9585402fe294d3c82d3b7d88cb49bc26bcf | refs/heads/master | 2023-06-08T19:34:49.916922 | 2023-06-02T13:24:10 | 2023-06-02T13:24:10 | 226,492,496 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27,814 | sce | circuloGiroRight.sce | // Red Green Blue Red Green Blue
circuloGiroRight = [
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 40.52 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 40.52 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 29.26 41.88 62.04;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 40.52 60.58;
27 39 60 28.18 41.88 62.04;
27 38 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 40.52 59.11;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 62.04;
27 39 60 28.18 41.88 62.04;
27 39 60 29.26 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 40.52 59.11;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 40.52 59.11;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 38 60 28.18 40.52 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 40.52 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 62.04;
27 38 59 29.26 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 40.52 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 38 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 38 59 29.26 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 40.52 60.58;
27 39 59 28.18 41.88 60.58;
27 38 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 40.52 59.11;
27 39 59 28.18 41.88 60.58;
27 39 59 29.26 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 38 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 29.26 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 40.52 59.11;
27 39 60 28.18 41.88 60.58;
27 38 59 29.26 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 29.26 41.88 62.04;
27 38 59 28.18 40.52 60.58;
27 38 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 40.52 60.58;
27 39 59 28.18 40.52 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 38 59 28.18 40.52 59.11;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 40.52 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 38 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 40.52 59.11;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 40.52 60.58;
27 39 59 29.26 41.88 62.04;
27 39 59 29.26 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 40.52 60.58;
27 39 59 28.18 41.88 62.04;
27 39 59 28.18 41.88 60.58;
27 39 59 28.18 40.52 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 40.52 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 29.26 41.88 60.58;
27 38 59 28.18 40.52 59.11;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 38 59 28.18 40.52 59.11;
27 38 59 28.18 41.88 60.58;
27 39 59 29.26 41.88 60.58;
27 38 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 29.26 41.88 60.58;
27 39 59 28.18 40.52 59.11;
27 38 59 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
28 39 60 28.18 40.52 60.58;
27 39 60 28.18 41.88 62.04;
27 39 60 29.26 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
27 39 59 28.18 41.88 62.04;
27 39 59 28.18 41.88 60.58;
27 39 60 29.26 41.88 60.58;
27 39 59 29.26 41.88 60.58;
27 39 60 28.18 41.88 60.58;
28 39 60 28.18 41.88 60.58;
28 39 60 28.18 41.88 60.58;
27 39 60 28.18 41.88 60.58;
28 39 60 28.18 41.88 60.58;
27 38 59 28.18 40.52 59.11;
25 36 55 26.02 37.81 54.7;
26 37 57 26.02 39.16 56.17;
27 38 59 27.1 39.16 57.64;
26 37 57 27.1 40.52 57.64;
27 38 60 28.18 41.88 60.58;
27 38 59 28.18 40.52 60.58;
27 38 58 28.18 40.52 59.11;
26 38 58 28.18 40.52 60.58;
26 37 58 27.1 39.16 57.64;
28 39 61 28.18 40.52 59.11;
28 40 61 28.18 41.88 62.04;
28 40 61 29.26 41.88 62.04;
27 39 61 28.18 40.52 60.58;
28 40 60 29.26 41.88 62.04;
28 39 61 29.26 41.88 62.04;
28 40 62 29.26 43.23 62.04;
28 40 61 29.26 41.88 62.04;
28 39 60 28.18 41.88 62.04;
27 39 60 28.18 41.88 60.58;
27 39 60 28.18 40.52 59.11;
28 39 61 28.18 40.52 60.58;
28 40 61 28.18 41.88 60.58;
27 39 60 28.18 40.52 59.11;
27 38 59 27.1 40.52 57.64;
27 38 59 27.1 40.52 59.11;
27 38 59 28.18 40.52 59.11;
28 39 61 28.18 40.52 60.58;
28 40 62 28.18 41.88 60.58;
28 40 62 29.26 41.88 62.04;
29 41 62 29.26 41.88 62.04;
28 40 62 28.18 41.88 60.58;
28 40 61 27.1 40.52 59.11;
28 40 62 27.1 40.52 57.64;
29 40 63 26.02 39.16 54.7;
29 41 64 23.86 37.81 53.23;
30 40 63 22.78 35.09 48.83;
30 41 64 20.62 33.74 44.42;
30 40 63 17.37 29.67 38.55;
30 42 65 15.21 25.6 29.74;
31 42 66 13.05 21.53 22.4;
31 42 66 11.97 21.53 20.93;
31 42 65 13.05 22.88 25.34;
31 42 65 15.21 26.95 31.21;
30 41 64 19.54 32.38 42.96;
29 39 62 23.86 36.45 51.77;
26 37 56 26.02 39.16 57.64;
24 35 54 27.1 40.52 59.11;
24 35 54 27.1 39.16 57.64;
26 37 58 26.02 39.16 54.7;
28 39 62 24.94 37.81 53.23;
29 40 63 22.78 35.09 48.83;
30 41 63 19.54 31.02 38.55;
30 41 64 14.13 25.6 28.27;
30 41 64 11.97 21.53 20.93;
31 42 65 9.81 18.82 17.99;
31 42 66 10.89 18.82 17.99;
31 43 66 14.13 24.24 26.8;
30 42 64 18.45 31.02 38.55;
28 39 61 23.86 37.81 53.23;
25 36 55 28.18 40.52 59.11;
23 32 51 28.18 40.52 60.58;
23 33 52 28.18 40.52 60.58;
26 37 58 27.1 40.52 57.64;
28 39 62 24.94 39.16 53.23;
29 40 63 22.78 36.45 47.36;
30 40 64 17.37 29.67 35.61;
30 41 65 11.97 21.53 22.4;
30 42 65 6.57 12.03 10.65;
31 43 67 4.4 6.61 6.25;
34 47 74 3.32 6.61 6.25;
34 46 72 4.4 7.96 6.25;
33 45 71 7.65 13.39 12.12;
32 45 70 14.13 25.6 29.74;
31 44 68 23.86 36.45 50.3;
28 40 62 28.18 41.88 60.58;
24 35 53 30.34 43.23 62.04;
22 32 47 30.34 43.23 63.51;
22 32 49 30.34 43.23 62.04;
24 34 52 29.26 41.88 62.04;
27 38 60 29.26 43.23 60.58;
29 40 63 26.02 39.16 54.7;
30 40 63 20.62 33.74 44.42;
30 40 63 15.21 26.95 31.21;
29 40 62 13.05 22.88 25.34;
30 41 64 10.89 18.82 19.46;
31 42 66 9.81 16.1 16.53;
32 43 68 10.89 18.82 19.46;
31 42 65 15.21 26.95 32.68;
30 41 64 22.78 35.09 50.3;
25 36 56 27.1 39.16 57.64;
20 29 41 28.18 40.52 59.11;
18 24 35 29.26 40.52 60.58;
19 28 40 29.26 40.52 62.04;
21 31 44 30.34 43.23 63.51;
22 31 47 30.34 41.88 63.51;
24 34 52 29.26 41.88 62.04;
27 39 60 28.18 40.52 60.58;
28 39 61 26.02 37.81 54.7;
29 41 64 24.94 37.81 53.23;
29 40 63 23.86 36.45 51.77;
29 40 63 23.86 36.45 51.77;
29 40 63 24.94 37.81 54.7;
29 40 63 26.02 39.16 56.17;
29 40 64 24.94 37.81 54.7;
30 42 65 26.02 39.16 57.64;
30 42 66 27.1 40.52 59.11;
29 41 63 27.1 40.52 59.11;
29 40 63 27.1 40.52 59.11;
29 41 63 27.1 40.52 57.64;
29 41 63 28.18 40.52 60.58;
30 41 63 27.1 40.52 59.11;
30 42 65 27.1 40.52 59.11;
30 41 64 26.02 40.52 56.17;
29 41 63 23.86 37.81 51.77;
30 41 63 22.78 36.45 50.3;
30 41 64 20.62 33.74 44.42;
30 42 64 18.45 31.02 40.02;
30 42 64 17.37 29.67 35.61;
31 42 65 15.21 26.95 31.21;
30 41 64 15.21 25.6 31.21;
30 41 63 16.29 28.31 32.68;
30 40 63 18.45 31.02 41.49;
29 40 63 22.78 35.09 47.36;
28 39 61 26.02 37.81 54.7;
27 38 59 27.1 40.52 57.64;
26 37 58 27.1 40.52 56.17;
26 37 59 26.02 37.81 54.7;
28 39 62 23.86 36.45 50.3;
29 40 63 21.7 33.74 47.36;
30 41 64 18.45 31.02 40.02;
31 42 65 16.29 28.31 32.68;
31 43 66 14.13 24.24 28.27;
31 43 67 13.05 22.88 25.34;
32 43 68 13.05 22.88 23.87;
32 44 67 14.13 25.6 28.27;
32 44 68 17.37 31.02 37.08;
31 43 66 21.7 35.09 45.89;
29 41 64 24.94 37.81 53.23;
28 39 62 27.1 39.16 57.64;
27 38 60 27.1 40.52 57.64;
28 39 62 27.1 40.52 57.64;
29 41 65 26.02 40.52 57.64;
30 42 65 24.94 37.81 53.23;
31 42 66 21.7 35.09 47.36;
31 43 66 16.29 26.95 31.21;
31 43 67 13.05 24.24 23.87;
31 43 66 10.89 18.82 16.53;
32 44 67 9.81 17.46 15.06;
32 44 67 10.89 18.82 17.99;
32 44 67 14.13 24.24 26.8;
31 43 65 19.54 32.38 40.02;
30 41 63 24.94 37.81 53.23;
26 37 58 27.1 40.52 57.64;
23 33 51 28.18 41.88 60.58;
24 34 54 28.18 40.52 59.11;
26 37 59 27.1 40.52 59.11;
28 40 63 26.02 40.52 56.17;
30 41 64 24.94 37.81 51.77;
30 41 64 20.62 33.74 42.96;
30 41 65 16.29 28.31 34.15;
30 41 64 13.05 22.88 23.87;
31 42 65 9.81 16.1 15.06;
32 44 68 7.65 12.03 10.65;
33 46 71 7.65 13.39 12.12;
32 45 70 10.89 20.17 19.46;
32 44 67 17.37 29.67 37.08;
29 41 63 23.86 37.81 51.77;
24 35 54 29.26 41.88 60.58;
20 28 42 30.34 41.88 62.04;
20 28 42 30.34 43.23 63.51;
21 31 46 30.34 41.88 63.51;
25 35 55 30.34 43.23 63.51;
27 38 59 29.26 43.23 63.51;
28 40 62 27.1 40.52 57.64;
30 41 64 23.86 37.81 51.77;
30 41 64 21.7 35.09 45.89;
31 42 65 19.54 32.38 40.02;
31 43 67 16.29 28.31 34.15;
31 42 65 15.21 26.95 31.21;
31 42 66 15.21 25.6 31.21;
33 45 70 16.29 28.31 32.68;
33 45 70 18.45 31.02 38.55;
31 44 67 26.02 40.52 57.64;
26 37 56 29.26 41.88 62.04;
22 32 47 31.42 43.23 64.98;
22 32 45 31.42 43.23 64.98;
22 32 45 31.42 43.23 64.98;
21 31 44 31.42 43.23 64.98;
22 32 45 30.34 43.23 63.51;
23 33 48 30.34 43.23 63.51;
25 36 54 30.34 43.23 64.98;
26 38 58 28.18 41.88 60.58;
28 39 61 27.1 40.52 59.11;
28 39 61 24.94 37.81 54.7;
29 40 62 22.78 36.45 50.3;
29 40 63 23.86 36.45 51.77;
29 40 62 23.86 36.45 51.77;
30 41 62 23.86 36.45 50.3;
30 42 64 21.7 35.09 48.83;
30 42 65 22.78 36.45 50.3;
30 42 65 23.86 37.81 53.23;
29 41 63 24.94 39.16 54.7;
28 40 61 26.02 40.52 57.64;
27 38 59 27.1 40.52 57.64;
27 38 59 27.1 40.52 59.11;
28 39 61 28.18 41.88 60.58;
28 40 61 28.18 41.88 60.58;
28 40 62 28.18 41.88 62.04;
28 40 61 29.26 41.88 62.04;
28 39 60 29.26 41.88 62.04;
28 39 60 29.26 43.23 62.04;
28 39 61 28.18 41.88 62.04;
29 40 62 29.26 43.23 62.04;
29 41 63 29.26 43.23 63.51;
29 40 63 28.18 43.23 62.04;
29 41 63 29.26 43.23 63.51;
29 41 63 29.26 43.23 63.51;
29 41 64 29.26 44.59 63.51;
29 41 64 30.34 44.59 63.51;
29 41 64 30.34 44.59 64.98;
29 41 63 30.34 44.59 63.51;
29 41 63 29.26 43.23 63.51;
29 42 64 30.34 43.23 63.51;
29 41 62 29.26 43.23 62.04;
29 41 64 28.18 41.88 60.58;
29 41 64 28.18 41.88 59.11;
30 42 66 27.1 40.52 59.11;
31 43 67 27.1 40.52 59.11;
32 44 69 26.02 40.52 59.11;
33 45 71 26.02 40.52 59.11;
34 46 72 26.02 40.52 57.64;
34 46 72 24.94 39.16 53.23;
34 47 72 21.7 36.45 47.36;
34 47 73 17.37 29.67 32.68;
36 49 75 8.73 14.75 13.59;
37 51 78 5.48 9.32 7.72;
38 52 81 4.4 9.32 6.25;
38 52 79 4.4 9.32 6.25;
37 51 78 7.65 13.39 12.12;
37 51 78 10.89 18.82 20.93;
36 50 75 18.45 31.02 37.08;
35 48 73 28.18 41.88 59.11;
30 44 65 31.42 44.59 64.98;
27 39 58 31.42 43.23 63.51;
26 37 55 31.42 44.59 63.51;
26 38 58 30.34 43.23 62.04;
30 43 66 28.18 41.88 60.58;
33 46 71 26.02 39.16 53.23;
35 47 73 17.37 29.67 34.15;
34 47 71 10.89 20.17 17.99;
33 45 69 5.48 9.32 7.72;
33 45 70 3.32 6.61 6.25;
35 47 73 3.32 6.61 7.72;
34 45 70 3.32 6.61 7.72;
32 44 68 4.4 7.96 6.25;
30 41 64 13.05 24.24 26.8;
29 41 64 23.86 36.45 51.77;
23 33 53 29.26 41.88 62.04;
20 27 44 30.34 41.88 63.51;
21 28 47 30.34 43.23 63.51;
24 34 56 30.34 44.59 64.98;
28 40 64 30.34 44.59 63.51;
30 41 66 26.02 40.52 54.7;
32 44 68 19.54 32.38 38.55;
32 44 68 14.13 24.24 25.34;
32 43 68 7.65 14.75 12.12;
32 44 69 6.57 10.68 9.18;
33 45 71 3.32 6.61 6.25;
35 47 73 3.32 6.61 6.25;
34 46 72 4.4 7.96 7.72;
33 45 71 8.73 14.75 13.59;
32 44 69 15.21 25.6 29.74;
32 44 68 22.78 36.45 50.3;
29 40 63 28.18 41.88 60.58;
24 35 53 30.34 43.23 63.51;
21 30 45 31.42 43.23 64.98;
20 29 43 31.42 43.23 64.98;
22 31 48 30.34 43.23 63.51;
24 35 53 30.34 43.23 63.51;
26 37 56 30.34 43.23 64.98;
27 38 59 28.18 41.88 60.58;
28 39 61 28.18 40.52 59.11;
29 41 64 26.02 39.16 54.7;
30 42 65 23.86 37.81 51.77;
30 42 65 21.7 35.09 47.36;
30 40 64 19.54 32.38 44.42;
29 40 63 19.54 32.38 44.42;
30 40 64 20.62 32.38 45.89;
31 42 67 21.7 35.09 48.83;
32 44 70 23.86 37.81 54.7;
32 44 70 27.1 40.52 59.11;
30 42 66 28.18 41.88 62.04;
27 39 59 29.26 41.88 62.04;
24 35 52 30.34 43.23 63.51;
25 36 52 31.42 44.59 66.45;
26 37 55 33.59 45.94 69.39;
27 39 56 34.67 48.66 72.32;
26 38 56 34.67 48.66 72.32;
25 36 52 34.67 48.66 70.85;
24 36 52 33.59 47.3 69.39;
24 35 51 32.51 45.94 67.92;
24 35 52 31.42 44.59 64.98;
25 36 54 30.34 43.23 63.51;
26 37 57 28.18 40.52 60.58;
27 38 59 26.02 37.81 54.7;
27 38 60 23.86 36.45 53.23;
28 39 61 23.86 36.45 51.77;
29 40 64 22.78 35.09 48.83;
30 41 65 21.7 35.09 47.36;
30 41 63 19.54 32.38 42.96;
29 40 62 18.45 31.02 40.02;
29 40 63 19.54 31.02 41.49;
30 41 64 19.54 32.38 42.96;
30 42 65 19.54 32.38 42.96;
30 42 65 21.7 33.74 44.42;
29 40 63 22.78 35.09 48.83;
28 39 63 22.78 36.45 48.83;
29 39 63 22.78 35.09 48.83;
29 40 63 20.62 33.74 44.42;
29 40 64 19.54 32.38 41.49;
30 40 63 18.45 31.02 38.55;
30 41 64 17.37 29.67 37.08;
30 41 65 17.37 28.31 34.15;
30 41 64 17.37 29.67 37.08;
30 41 64 18.45 31.02 41.49;
29 40 63 21.7 35.09 47.36;
29 39 63 22.78 36.45 50.3;
28 38 61 24.94 37.81 53.23;
27 38 61 24.94 37.81 53.23;
27 38 60 23.86 36.45 50.3;
28 38 61 22.78 35.09 48.83;
30 41 64 19.54 32.38 42.96;
30 42 65 17.37 29.67 35.61;
31 42 66 15.21 26.95 31.21;
31 42 65 14.13 24.24 26.8;
31 42 66 15.21 25.6 26.8;
31 42 66 16.29 28.31 31.21;
31 42 66 18.45 32.38 40.02;
31 42 66 21.7 35.09 45.89;
30 42 65 23.86 37.81 51.77;
29 40 63 23.86 37.81 51.77;
29 40 62 23.86 37.81 53.23;
29 40 63 22.78 36.45 48.83;
30 41 65 19.54 32.38 40.02;
31 43 67 16.29 28.31 31.21;
32 44 68 13.05 22.88 22.4;
32 44 68 11.97 21.53 20.93;
32 44 68 14.13 24.24 26.8;
31 43 67 16.29 28.31 31.21;
31 43 67 21.7 35.09 44.42;
30 41 66 24.94 37.81 53.23;
28 40 63 27.1 40.52 57.64;
28 39 62 27.1 40.52 57.64;
29 40 63 26.02 39.16 56.17;
29 40 63 23.86 36.45 50.3;
31 42 66 21.7 33.74 44.42;
31 43 67 16.29 28.31 34.15;
32 43 67 14.13 24.24 28.27;
32 44 68 13.05 22.88 23.87;
32 44 69 13.05 24.24 25.34;
32 44 68 15.21 25.6 29.74;
32 44 68 18.45 32.38 40.02;
31 42 66 23.86 37.81 50.3;
29 40 64 27.1 40.52 57.64;
28 39 61 27.1 40.52 59.11;
28 39 62 27.1 40.52 57.64;
29 41 64 24.94 39.16 54.7;
31 42 65 23.86 37.81 51.77;
31 43 66 20.62 33.74 44.42;
32 44 67 18.45 31.02 38.55;
32 44 68 17.37 29.67 35.61;
32 44 67 16.29 28.31 34.15;
32 44 68 17.37 29.67 37.08;
32 44 68 19.54 32.38 41.49;
32 44 66 21.7 35.09 48.83;
30 42 65 24.94 39.16 54.7;
29 41 62 27.1 40.52 57.64;
27 38 59 28.18 40.52 60.58;
26 37 55 28.18 40.52 60.58;
26 37 55 28.18 40.52 60.58;
26 38 56 29.26 41.88 62.04;
26 38 56 30.34 43.23 63.51;
27 38 58 30.34 43.23 64.98;
26 38 56 29.26 41.88 62.04;
25 36 54 28.18 40.52 60.58;
26 38 57 28.18 40.52 60.58;
27 39 60 29.26 41.88 62.04;
27 39 60 29.26 43.23 63.51;
28 39 60 29.26 43.23 63.51;
27 39 60 28.18 40.52 60.58;
27 38 59 27.1 39.16 57.64;
28 39 61 28.18 41.88 60.58;
28 39 61 29.26 41.88 62.04;
28 40 61 29.26 43.23 63.51;
28 40 61 29.26 43.23 62.04;
27 39 59 29.26 41.88 62.04;
26 38 58 29.26 41.88 62.04;
27 39 60 29.26 43.23 63.51;
28 40 61 30.34 43.23 63.51;
28 40 61 30.34 43.23 63.51;
28 40 60 29.26 43.23 62.04;
27 39 60 28.18 40.52 60.58;
28 40 60 28.18 41.88 60.58;
27 39 60 28.18 40.52 59.11;
27 39 60 28.18 40.52 60.58;
27 39 60 28.18 40.52 59.11;
27 39 60 28.18 40.52 60.58;
27 38 59 28.18 40.52 59.11;
28 40 61 29.26 41.88 62.04;
28 40 62 28.18 40.52 60.58;
29 41 63 29.26 41.88 60.58;
30 42 64 29.26 41.88 60.58;
29 40 62 28.18 41.88 60.58;
29 40 62 28.18 40.52 60.58;
29 41 63 28.18 40.52 59.11;
29 40 61 26.02 39.16 56.17;
29 40 63 26.02 37.81 53.23;
29 40 63 23.86 37.81 51.77;
30 41 64 22.78 36.45 50.3;
30 41 64 20.62 33.74 44.42;
30 42 64 17.37 29.67 38.55;
31 42 65 16.29 26.95 32.68;
31 43 66 14.13 25.6 29.74;
31 43 66 15.21 25.6 28.27;
31 42 65 17.37 28.31 34.15;
30 41 64 18.45 31.02 40.02;
29 40 62 22.78 35.09 47.36;
28 39 61 24.94 37.81 53.23;
27 38 59 26.02 37.81 54.7;
27 38 60 26.02 39.16 56.17;
28 39 61 24.94 36.45 51.77;
29 40 62 21.7 35.09 47.36;
30 40 63 18.45 29.67 37.08;
30 41 64 15.21 26.95 29.74;
30 41 64 13.05 22.88 25.34;
30 42 65 10.89 20.17 20.93;
31 42 65 11.97 21.53 22.4;
31 42 65 15.21 25.6 28.27;
30 41 64 18.45 31.02 38.55;
28 39 62 23.86 36.45 50.3;
26 37 59 26.02 37.81 54.7;
24 35 55 28.18 40.52 60.58;
24 35 54 28.18 40.52 59.11;
24 35 55 27.1 40.52 57.64;
27 37 59 26.02 39.16 56.17;
28 38 61 23.86 36.45 50.3;
30 40 63 19.54 32.38 41.49;
30 41 64 15.21 26.95 29.74;
30 40 64 13.05 22.88 22.4;
30 41 64 8.73 16.1 15.06;
31 42 67 6.57 10.68 9.18;
32 44 70 5.48 9.32 7.72;
32 45 70 6.57 12.03 9.18;
32 44 69 9.81 17.46 16.53;
32 43 67 17.37 29.67 35.61;
30 42 66 26.02 40.52 56.17;
25 36 57 30.34 43.23 62.04;
20 28 43 31.42 43.23 64.98;
22 32 50 30.34 43.23 63.51;
27 38 60 30.34 43.23 63.51;
30 42 66 28.18 41.88 59.11;
31 43 67 23.86 37.81 50.3;
32 44 67 18.45 31.02 38.55;
32 45 68 14.13 25.6 26.8;
31 43 66 10.89 18.82 17.99;
31 43 65 7.65 13.39 10.65;
32 44 67 6.57 10.68 9.18;
32 44 67 6.57 12.03 9.18;
31 42 66 10.89 18.82 19.46;
31 42 65 17.37 28.31 35.61;
28 39 62 26.02 39.16 54.7;
19 27 40 29.26 40.52 59.11;
16 23 32 28.18 39.16 59.11;
17 24 34 29.26 40.52 60.58;
20 29 43 30.34 41.88 62.04;
21 31 47 30.34 41.88 62.04;
25 36 56 29.26 41.88 62.04;
28 38 61 26.02 39.16 56.17;
29 40 63 23.86 36.45 51.77;
29 40 63 22.78 35.09 50.3;
29 40 63 21.7 33.74 47.36;
30 40 63 21.7 33.74 47.36;
30 41 65 21.7 35.09 48.83;
30 41 64 21.7 33.74 45.89;
31 43 66 22.78 35.09 48.83;
31 43 67 23.86 37.81 53.23;
30 41 65 24.94 37.81 54.7;
28 40 61 27.1 39.16 57.64;
27 38 59 27.1 40.52 59.11;
27 38 60 27.1 40.52 57.64;
27 38 60 27.1 40.52 59.11;
28 40 62 28.18 41.88 62.04;
28 40 62 29.26 41.88 62.04;
29 40 63 29.26 41.88 62.04;
28 40 61 28.18 41.88 60.58;
27 39 60 28.18 40.52 60.58;
28 39 61 28.18 40.52 59.11;
29 41 63 29.26 43.23 62.04;
29 41 64 28.18 43.23 62.04;
29 41 64 28.18 41.88 59.11;
29 41 63 26.02 39.16 56.17;
29 40 63 23.86 36.45 50.3;
30 41 64 21.7 35.09 45.89;
30 41 63 18.45 31.02 38.55;
30 41 63 14.13 25.6 28.27;
31 42 64 11.97 20.17 20.93;
31 43 66 10.89 18.82 17.99;
31 43 66 11.97 21.53 22.4;
31 43 66 15.21 26.95 29.74;
31 42 65 21.7 35.09 45.89;
28 39 61 24.94 39.16 53.23;
24 35 54 28.18 40.52 59.11;
23 33 51 28.18 40.52 59.11;
25 36 56 27.1 40.52 57.64;
27 38 60 27.1 40.52 57.64;
28 40 62 24.94 39.16 54.7;
29 40 63 22.78 35.09 48.83;
30 41 63 19.54 32.38 42.96;
30 41 64 18.45 31.02 38.55;
31 42 66 16.29 28.31 32.68;
31 42 66 13.05 22.88 25.34;
31 43 67 11.97 20.17 20.93;
33 45 70 13.05 22.88 25.34;
32 44 68 16.29 28.31 32.68;
31 42 66 21.7 33.74 45.89;
29 40 63 26.02 39.16 54.7;
26 37 59 28.18 40.52 59.11;
25 36 55 28.18 40.52 59.11;
27 38 59 28.18 40.52 60.58;
28 40 63 28.18 40.52 59.11;
30 41 65 24.94 39.16 53.23;
31 43 66 22.78 35.09 47.36;
31 42 65 18.45 31.02 37.08;
31 42 64 14.13 25.6 26.8;
30 42 64 8.73 14.75 13.59;
31 42 65 5.48 9.32 7.72;
32 44 69 4.4 7.96 6.25;
32 44 68 4.4 7.96 6.25;
32 43 67 7.65 13.39 12.12;
31 42 65 13.05 24.24 26.8;
31 42 65 18.45 31.02 40.02;
28 39 61 26.02 39.16 57.64;
24 34 53 29.26 40.52 60.58;
23 34 52 28.18 41.88 60.58;
25 36 56 28.18 40.52 59.11;
27 37 59 28.18 40.52 59.11;
29 40 63 26.02 39.16 54.7;
30 41 64 22.78 35.09 48.83;
30 41 64 18.45 31.02 40.02;
30 41 64 16.29 28.31 32.68;
31 43 66 11.97 21.53 20.93;
32 44 67 9.81 17.46 17.99;
33 45 70 10.89 20.17 19.46;
32 44 68 14.13 24.24 26.8;
32 44 68 19.54 33.74 42.96;
30 42 65 26.02 40.52 56.17;
24 35 54 29.26 41.88 62.04;
23 33 50 30.34 43.23 64.98;
23 33 50 29.26 41.88 60.58;
26 37 57 29.26 41.88 60.58;
28 40 62 28.18 40.52 60.58;
30 42 65 24.94 39.16 54.7;
31 42 66 22.78 35.09 47.36;
31 42 66 19.54 33.74 42.96;
31 42 66 18.45 31.02 38.55;
32 43 67 18.45 31.02 38.55;
32 44 67 17.37 29.67 37.08;
33 45 70 18.45 31.02 38.55;
34 47 72 20.62 35.09 47.36;
32 45 70 26.02 39.16 56.17;
29 41 63 28.18 41.88 62.04;
25 37 54 30.34 43.23 63.51;
22 32 45 30.34 41.88 62.04;
22 31 44 30.34 41.88 62.04;
22 32 45 30.34 43.23 63.51;
22 32 46 30.34 43.23 64.98;
22 32 46 31.42 43.23 63.51;
23 33 49 30.34 43.23 63.51;
25 36 54 30.34 43.23 63.51;
26 38 58 28.18 41.88 60.58;
28 39 60 27.1 40.52 57.64;
29 40 62 26.02 39.16 54.7;
29 40 62 23.86 37.81 53.23;
29 41 62 23.86 37.81 50.3;
29 40 62 22.78 36.45 50.3;
29 41 63 23.86 36.45 51.77;
29 40 63 22.78 36.45 50.3;
30 42 64 23.86 37.81 51.77;
30 42 64 24.94 39.16 54.7;
30 41 63 26.02 40.52 57.64;
29 41 63 27.1 40.52 57.64;
28 39 61 26.02 40.52 57.64;
28 39 61 27.1 40.52 57.64;
28 40 61 27.1 40.52 59.11;
29 41 62 28.18 41.88 62.04;
29 40 62 28.18 41.88 60.58;
29 40 62 28.18 41.88 62.04;
28 40 62 29.26 43.23 62.04;
28 39 61 28.18 41.88 62.04;
28 39 60 29.26 43.23 62.04;
29 40 62 28.18 43.23 62.04;
29 41 63 29.26 43.23 63.51;
29 41 64 29.26 43.23 64.98;
30 42 64 30.34 44.59 64.98;
29 41 64 29.26 44.59 63.51;
30 42 65 30.34 44.59 63.51;
30 42 65 30.34 44.59 63.51;
29 42 64 29.26 43.23 62.04;
29 42 64 29.26 43.23 62.04;
29 41 63 28.18 41.88 60.58;
29 41 64 28.18 41.88 60.58;
30 41 65 28.18 41.88 60.58;
30 42 66 27.1 40.52 57.64;
31 43 67 27.1 40.52 57.64;
32 44 70 26.02 40.52 59.11;
32 44 71 26.02 40.52 57.64;
33 45 71 24.94 39.16 54.7;
34 47 72 26.02 40.52 57.64;
34 46 71 23.86 37.81 51.77;
35 47 73 18.45 32.38 38.55;
35 49 74 13.05 24.24 25.34;
36 49 75 6.57 10.68 7.72;
38 52 79 4.4 7.96 6.25;
38 52 80 4.4 7.96 6.25;
38 52 79 6.57 12.03 10.65;
37 51 77 14.13 25.6 28.27;
36 49 75 22.78 36.45 47.36;
34 47 72 29.26 43.23 62.04;
28 40 61 31.42 44.59 64.98;
27 38 57 31.42 44.59 64.98;
28 40 61 30.34 43.23 62.04;
30 43 65 28.18 41.88 59.11;
34 47 71 24.94 39.16 53.23;
34 47 72 17.37 29.67 32.68;
35 48 73 9.81 18.82 16.53;
35 48 73 5.48 10.68 7.72;
34 47 72 3.32 6.61 6.25;
35 48 73 4.4 6.61 7.72;
35 47 73 3.32 5.25 6.25;
32 44 68 3.32 6.61 6.25;
31 42 65 7.65 13.39 12.12;
31 42 65 14.13 25.6 28.27;
30 41 64 22.78 35.09 48.83;
26 37 59 29.26 41.88 62.04;
18 24 37 30.34 43.23 64.98;
15 21 31 30.34 41.88 62.04;
16 22 34 30.34 41.88 63.51;
20 28 45 32.51 44.59 66.45;
24 34 55 31.42 43.23 64.98;
28 39 63 30.34 44.59 64.98;
30 42 66 27.1 41.88 57.64;
31 42 66 22.78 36.45 47.36;
32 44 69 19.54 32.38 38.55;
31 43 67 14.13 24.24 25.34;
31 43 67 9.81 18.82 16.53;
33 45 71 6.57 10.68 9.18;
34 47 73 4.4 7.96 7.72;
34 46 72 5.48 9.32 7.72;
34 46 72 8.73 14.75 15.06;
33 45 71 15.21 25.6 29.74;
32 44 70 22.78 36.45 50.3;
29 40 63 29.26 43.23 62.04;
22 31 47 31.42 44.59 66.45;
20 29 44 31.42 43.23 63.51;
22 31 47 31.42 43.23 64.98;
24 34 52 30.34 43.23 64.98;
26 37 57 30.34 43.23 63.51;
27 39 60 28.18 40.52 59.11;
28 40 62 26.02 39.16 54.7;
30 41 64 24.94 37.81 53.23;
31 42 65 20.62 33.74 44.42;
30 42 65 18.45 31.02 41.49;
30 41 64 17.37 29.67 38.55;
29 40 63 17.37 28.31 38.55;
31 42 66 19.54 32.38 44.42;
32 44 69 21.7 35.09 48.83;
31 43 68 24.94 39.16 54.7;
29 40 64 27.1 40.52 60.58;
25 36 54 29.26 41.88 62.04;
22 32 45 30.34 41.88 63.51;
22 31 44 30.34 41.88 64.98;
22 31 44 31.42 43.23 64.98;
22 31 43 32.51 44.59 67.92;
22 31 44 33.59 45.94 69.39;
24 35 50 34.67 48.66 72.32;
27 39 59 35.75 48.66 73.79;
29 42 63 33.59 47.3 70.85;
31 44 67 32.51 47.3 69.39;
31 44 68 31.42 45.94 66.45;
30 42 64 28.18 43.23 60.58;
29 40 62 27.1 40.52 57.64;
29 40 62 26.02 39.16 54.7;
29 40 62 22.78 35.09 50.3;
30 40 64 20.62 33.74 45.89;
30 41 63 19.54 31.02 42.96;
30 41 64 18.45 31.02 41.49;
30 41 65 18.45 31.02 42.96;
30 41 65 19.54 32.38 44.42;
30 41 64 22.78 35.09 48.83;
29 40 62 23.86 36.45 51.77;
27 38 60 26.02 37.81 54.7;
26 37 58 26.02 37.81 54.7;
27 38 60 26.02 37.81 54.7;
28 38 61 26.02 37.81 56.17;
28 40 63 23.86 37.81 51.77;
29 40 64 21.7 35.09 45.89;
30 41 64 18.45 31.02 38.55;
30 41 65 16.29 28.31 31.21;
30 42 65 13.05 22.88 25.34;
31 42 66 11.97 21.53 20.93;
31 42 66 13.05 21.53 23.87;
31 42 67 14.13 25.6 28.27;
30 41 65 19.54 31.02 41.49;
29 40 63 23.86 36.45 50.3;
26 36 56 26.02 37.81 54.7;
24 34 54 27.1 39.16 57.64;
24 35 55 26.02 37.81 54.7;
27 37 59 26.02 39.16 57.64;
28 39 61 26.02 37.81 54.7;
28 39 62 23.86 36.45 50.3;
29 40 63 20.62 33.74 44.42;
30 40 63 18.45 31.02 40.02;
30 40 64 16.29 28.31 34.15;
30 41 64 13.05 24.24 25.34;
31 42 66 11.97 21.53 22.4;
32 44 68 11.97 22.88 22.4;
32 44 68 15.21 26.95 28.27;
32 44 67 19.54 32.38 40.02;
31 42 66 22.78 36.45 48.83;
28 39 62 26.02 39.16 57.64;
27 37 60 27.1 40.52 59.11;
27 37 60 27.1 40.52 57.64;
28 39 61 24.94 37.81 54.7;
29 40 63 22.78 36.45 48.83;
30 41 64 19.54 33.74 42.96;
31 42 66 16.29 28.31 32.68;
31 43 67 13.05 24.24 23.87;
32 44 70 10.89 18.82 16.53;
32 44 70 10.89 18.82 17.99;
32 44 68 13.05 24.24 25.34;
31 43 68 18.45 31.02 37.08;
30 41 65 24.94 39.16 53.23;
28 39 62 27.1 40.52 59.11;
26 37 59 28.18 40.52 60.58;
28 39 62 26.02 39.16 56.17;
29 41 64 23.86 37.81 51.77;
30 42 65 21.7 35.09 45.89;
31 42 66 17.37 29.67 34.15;
31 42 66 14.13 24.24 26.8;
31 42 66 11.97 21.53 22.4;
32 44 69 10.89 18.82 19.46;
34 46 72 11.97 21.53 20.93;
34 46 72 15.21 26.95 32.68;
32 44 68 22.78 36.45 48.83;
30 41 64 27.1 40.52 59.11;
25 36 54 29.26 41.88 62.04;
22 32 49 30.34 41.88 63.51;
23 34 52 30.34 41.88 62.04;
27 38 59 30.34 43.23 62.04;
28 40 63 28.18 41.88 60.58;
30 42 65 26.02 40.52 56.17;
31 42 66 23.86 37.81 51.77;
31 42 65 22.78 36.45 48.83;
31 42 65 22.78 35.09 48.83;
31 43 65 21.7 35.09 47.36;
31 42 65 20.62 33.74 47.36;
31 43 66 20.62 33.74 45.89;
32 44 67 21.7 35.09 47.36;
32 44 66 22.78 36.45 50.3;
31 42 65 23.86 37.81 53.23;
29 41 63 27.1 40.52 57.64;
27 39 59 27.1 39.16 57.64;
27 38 59 28.18 40.52 60.58;
27 38 59 29.26 41.88 60.58;
27 39 59 29.26 43.23 62.04;
27 38 59 29.26 41.88 62.04;
27 38 58 29.26 43.23 63.51;
26 37 55 29.26 41.88 62.04;
25 36 54 28.18 40.52 60.58;
26 38 58 28.18 41.88 60.58;
27 39 61 29.26 41.88 62.04;
27 39 60 29.26 41.88 62.04;
27 39 60 30.34 43.23 64.98;
27 39 60 30.34 43.23 63.51;
28 40 61 29.26 43.23 62.04;
27 39 59 28.18 41.88 62.04;
27 38 59 29.26 41.88 62.04;
27 38 59 30.34 43.23 63.51;
27 39 59 30.34 43.23 63.51;
27 39 60 30.34 43.23 63.51;
27 39 60 30.34 43.23 63.51;
27 39 59 29.26 41.88 60.58;
27 39 59 28.18 40.52 60.58;
];
|
1f070b72686d0049aa0da7240fb53b597bd85d47 | 3304c23c5c5494fbc3f6127b95fd919f2e133494 | /LTAS.sci | 524cd7787f75774ad938a8153f827c66412fb4cf | [] | no_license | sooolfi/Algoritmos-PDS-FICH-UNL | 76dab9fcb85154f144a701afe42eb60cdbdb0e37 | dc7a9563418eae74c46dab3fa592ab8bca8d316f | refs/heads/master | 2016-09-06T14:15:23.804074 | 2012-06-04T01:48:49 | 2012-06-04T01:48:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,015 | sci | LTAS.sci | function LTAS
x=wavread('/home/guido/Escritorio/guido.wav',10000);
//ejemplo con senoidales conocidas
// t=[0:1/10000:1-1/10000];
// x=5*sin(2*%pi*50*t) + 10*sin(2*%pi*120*t) + 2*sin(2*%pi*30*t);
L=100; //cantidad de ventanas
N=length(x);
//ventana de hamming
//definimos el tamanio de la ventana
TamVent = round(N/L);
h=window('hm',TamVent);
Transf=zeros(L,N);
ltas=zeros(1,N);
for i=1:L
xaux = x(((i-1)*(TamVent) +1):i*TamVent);//tomo valores de x en la ventana
xaux = [zeros(1,(i-1)*(TamVent)) xaux zeros(1,N-(i*TamVent))];
haux = [zeros(1,(i-1)*(TamVent)) h zeros(1,N-(i*TamVent))];
Transf(i,:)=((fft(xaux.*haux)).^2 )./TamVent;
end
//Transf es i corresponde a la ventana y j corresponde a los valores de la trasnformada
for j=1:N
ltas(j)=sum(Transf(1:L,j))/L;
ltas(j)=10*log(ltas(j));
end
figure(1)
subplot(2,1,1)
plot2d3(abs(ltas(1:N)));
subplot(2,1,2)
//figure(2)
plot2d3(abs(fft(x)));
endfunction |
01719a8ec4c9f7f513e3c91680f54ae6e11e83c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH1/EX1.5/Example_1_5.sce | e2f41614328b19b554b127d654a59c49bf543cef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,790 | sce | Example_1_5.sce | //Chemical Engineering Thermodynamics
//Chapter 1
//Introduction
//Example 1.5
clear;
clc;
//Given
n = 1;//n is the Kg mole of an ideal gas
P = 700*(10^4);//P is the pressure of the system in N/(m^2)
W = 45;//W is the weight of the mass in Kg
M = 20;//M is the weight of the piston and piston rod together in Kg
T = 300;//T is the constant temperature of the bath in K
h = .4;//h is the height difference of the piston after expansion in m
//To calculate the work obtained
a = (10^-4);//a is the cross sectional area of the cylinder in m^2
V = h*a;//V is the volume changed as gas expands in m^3
//(i). If gas alone is the system
//1Kgf = 9.8065Nm
P1 = ((W+M)*9.8065)/(10^-4);//P1 is the resisting pressure when the gas confined in the cylinder taken as a system
W1 = P1*V;//W1 is the work done if the gas confined in the cylinder us taken as system
mprintf('Work done by the system if the gas confined in the cylinder is taken as a system is %f Nm',W1);
//(ii). If gas + piston + piston rod is a system
P2 = ((W*9.8065)/(10^-4));//P2 is the resisting pressure when the gas plus piston plus piston rod is taken as a system
W2 = P2*V;//W2 is the Work done by the system if the gas plus piston plus piston rod is taken as a system
mprintf('\n Work done by the system if the gas plus piston plus piston rod is taken as system is %f Nm',W2);
//(iii). If gas + piston + piston rod +weight is system
P3 = 0;//P3 is the resisting pressure when the gas plus piston plus piston rod plus weight is taken as a system
W3 = P3*V;//W3 is the work done by the system if the gas plus piston plus piston rod plus weight is taken as a system
mprintf('\n Work done by the system if the gas plus piston plus piston rod plus weight is taken as a system is %f',W3);
//end |
e4a61b3cab1a11b357579d28f67f950c40b93232 | 2e3738547c587b3ba2009194ebc2d6e213ee9a58 | /Brandam (2003) Versão Final.sce | 8afafd22f817a3718e22ab03b2e8ff0cd52e280a | [] | no_license | bruxeir0/bruxeir0-optimization-of-the-production-of-fermentable-sugars | e65a610e4764dc0613278e8fd4eb4046ebb72a6e | 1084929094d4c0c5fde4d2df9a83a7b84e8ab44e | refs/heads/main | 2023-06-27T05:48:38.456003 | 2021-08-03T19:09:03 | 2021-08-03T19:09:03 | 392,427,036 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,787 | sce | Brandam (2003) Versão Final.sce | // modelo de hidrolise enzimática de amido Brandam et al (2003)
clear
clc
tic()
dispvector=[1:1:100]
format(4)
// valores dos parâmetros
// gelatinização, T < Tg
k_g1 = 5.7*10^31 // s^-1
E_g1 = 220.6 // kJ/mol
// gelatinização, T > Tg
k_g2 = 3.1*10^14 // s^-1
E_g2 = 108.3 // kJ/mol
K = 273.15 // converter para°C
T_g = 60 + K // ºC
// constante dos açúcares
k_gl = 0.023 // kg/U s
k_mlt = 0.117 // kg/U s
k_dex = 0.317 // kg/U s
k_alfa_mal = 0.389 // kg/U s
k_beta_mal = 0.137 // kg/U s
k_gl_ = 2.9*10^-8 // kg/U s
k_mlt_ = 1.5*10^-8 // kg/U s
k_alfa_mal_ = 1.2*10^-7 // kg/U s
k_beta_mal_ = 8.4*10^-8 // kg/U s
// constante dos Gases
R = 8.314/1000 // J/mol K
// massas molares
MM_gli = 180.156 // g/mol
MM_mal = 342.3 // g/mol
MM_mlt = 504.437 // g/mol
MM_dex = 504.4 // g/mol
// condições Iniciais
gasto = 0 // gasto inicial = 0
x1_0 = 98.51 // concentração amido sólido inicial em g/L
x2_0 = 0.0 // concentração amido gelatinizado inicial em g/L
x3_0 = 0.0 // concentração dextrinas inicial em g/L
x4_0 = 0.0 // concentração glicose inicial em g/L
x5_0 = 0.0 // concentração maltose inicial em g/L
x6_0 = 0.0 // concentração maltotriose inicial em g/L
Ts = [37,1,1,1]
function Taxa_Gelatinizacao = Sist_1(x1)
if (T < T_g) then
r_g = x1*k_g1*exp(-(E_g1/(R*T)))
else
r_g = x1*k_g2*exp(-(E_g2/(R*T)))
end
Taxa_Gelatinizacao = r_g
endfunction
function Atividade = Sist_2_3(T)
if T < (63+273.15) then
a_a = -0.001270154057*T^3 + 1.235930164837*T^2 - 400.438346*T + 43203.7983384673
a_b = 0.049*T -13.9
end
if T >= (63+273.15) then
a_a = 0.005646191991*T^3 - 5.814417*T^2 + 1995.013302*T - 228070.0234
a_b = -0.374*T + 128.3
end
if a_a < 0 then
a_a = 0
end
if a_b < 0 then
a_b = 0
end
if T <313 then
a_a = 1
a_b = 1
end
a_Tref = 220.28986
b_Tref = 486.95652
Atividade = [a_a*a_Tref,a_b*b_Tref]
endfunction
function Amido = Sist_4(x2,T)
a_ = Sist_2_3(T)
a_a = a_(1)
a_b = a_(2)
r_gl = k_gl*a_a*x2
r_mal = k_alfa_mal*a_a*x2+k_beta_mal*a_b*x2
r_mlt = k_mlt*a_a*x2
r_dex = k_dex*a_a*x2
Amido = [r_gl,r_mal,r_mlt,r_dex]
endfunction
function Dextrinas = Sist_5(x3,T)
a_ = Sist_2_3(T)
a_a = a_(1)
a_b = a_(2)
r_gl_ = k_gl_*a_a*x3
r_mal_ = k_alfa_mal_*a_a*x3 + k_beta_mal_*a_b*x3
r_mlt_ = k_mlt_*a_a*x3
Dextrinas = [r_gl_,r_mal_,r_mlt_]
endfunction
function out = f(in)
for k=1:length(in)
if in(k)<0
in(k)=0
end
end
x1 = in(1)
x2 = in(2)
x3 = in(3)
r_g = Sist_1(x1)
r_amido = Sist_4(x2,T)
r_dextrinas = Sist_5(x3,T)
r_gl = r_amido(1)
r_mal = r_amido(2)
r_mlt = r_amido(3)
r_dex = r_amido(4)
r_gl_ = r_dextrinas(1)
r_mal_ = r_dextrinas(2)
r_mlt_ = r_dextrinas(3)
dx1 = -r_g //dSs_dt
dx2 = r_g - r_gl - r_mal - r_mlt - r_dex //dSg_dt
dx3 = r_dex - r_gl_ - r_mal_ - r_mlt_ //dD_dt
dx4 = r_gl + r_gl_ //dgl_dt
dx5 = r_mal + r_mal_; //dmal_dt
dx6 = r_mlt + r_mlt_; //dmlt_dt
out=[dx1,dx2,dx3,dx4,dx5,dx6]
endfunction
in=[x1_0,x2_0,x3_0,x4_0,x5_0,x6_0]
function Cp = calor_especifico(T)
Cp = (-4*10^(-11)*(T-K)^5 + 1*10^(-8)*(T-K)^4 - 1*10^(-6)*(T-K)^3 + 1*10^(-4)*(T-K)^2 - 0.0033*(T-K) + 4.2198) //kJ/kg K
endfunction
function Perfil_Temp = temperatura(t, Condicao)
t=t/60
if Condicao ==6 then
Ts = [37,50,65,76] // teste 1 malt s1
// Ts = [37,50,70,76] //teste 2 malt S1
// Ts = [50,63,63,76] //teste 3 malt S1
boundaryTimes = [0,20,57.5,77.5,20000000] //teste 1 malt s1 [5,5,20]
//boundaryTimes = [0,45,90,225,20000000] //teste 3 malt S1 [5,5,25]
risingTimes = [5,5,20]
deltas=4
end
for k=1:(deltas)
if t>=boundaryTimes(k) && t <boundaryTimes(k+1)
T = Ts(k)
if k>1 && t<(boundaryTimes(k)+ risingTimes(k-1))
T = Ts(k-1) + (t-boundaryTimes(k))/risingTimes(k-1)* (Ts(k)- Ts(k-1))
end
end
end
Perfil_Temp = T + K
endfunction
dt = 0.3 // passo de integração
tf = 110*60 // tempo final em s
limit_time = tf/60
for t=dt:dt:tf
percent_exec=(100*(t)/tf)
if isempty(dispvector(dispvector==percent_exec)) then
else
clc
disp("Simulação "+ string(percent_exec)+"% concluída ...")
end
T = temperatura(t, 6)
k1 = f(in)
k2 = f(in + 0.5*dt*k1)
k3 = f(in + 0.5*dt*k2)
k4 = f(in + dt*k3)
for i=1:length(in)
in(i) = in(i) + (dt/6)*(k1(i) + 2*k2(i) + 2*k2(i) + 2*k3(i) + k4(i))
end
tt(t/dt) = t/60
TT(t/dt) = T-K
d_x1(t/dt) = in(1) // amido
d_x2(t/dt) = in(2) // amido gelatinizado
d_x3(t/dt) = in(3) // dextrinas
d_x4(t/dt) = in(4) // glicose
d_x5(t/dt) = in(5) // maltose
d_x6(t/dt) = in(6) // maltotriose
cp_plot(t/dt) = calor_especifico(T)
gasto = (gasto+((T+K)*dt)*(calor_especifico(T)))
produzido_gli = (d_x4(t/dt)-x4_0)
produzido_mal = (d_x5(t/dt)-x5_0)
balanco = (d_x1(t/dt)+d_x2(t/dt)+d_x3(t/dt)+d_x4(t/dt)+d_x5(t/dt)+d_x6(t/dt))-(x1_0+x2_0+x3_0+x4_0+x5_0+x6_0)
tempo_zero = (4.2)*(Ts(1)-25)*30*60
//concentrações finais das espécies em mol/L
//desejados
mols_gli = d_x4(t/dt)/MM_gli
mols_mal = d_x5(t/dt)/MM_mal
//indesejados
mols_dex = d_x3(t/dt)/MM_dex
mols_mlt = d_x6(t/dt)/MM_mlt
//seletividade
selet = (mols_gli+mols_mal)/(mols_mlt+mols_dex)
end
scf()
plot(tt,d_x1,'g.')
plot(tt,d_x3,'c.')
plot(tt,d_x4,'r.')
plot(tt,d_x5,'b.')
plot(tt,d_x6,'y.')
xlabel("Tempo (min)")
ylabel("Concentração (g/L)")
g=gca()
g.data_bounds = [0,0;limit_time,100]
xtitle('Concentração ao longo do tempo',['Tempo (min)'],['Concentração (g/L)'])
h=legend(["Amido Sólido", "Dextrinas", "Glicose", "Maltose", "Maltotriose"], pos=1)
g1 = newaxes()
set(g1, "filled", "off")
plot(tt,TT,'k.',"markerSize",2)
ylabel("Temperatura (ºC)")
g1=gca()
g1.data_bounds = [0,30;limit_time,80]
g1.axes_visible(1) = "off"
g1.y_location = "right"
clc
format(10)
disp("Gastando = "+ string((tempo_zero+gasto)/((limit_time+30)*60))+" kJ/kg")
disp("Rendimento de glicose = "+ string(produzido_gli)+" g/L")
disp("Rendimento de maltose = "+ string(produzido_mal)+" g/L")
disp("Balanço = "+ string(balanco)+" g/L")
disp("Seletividade de "+ string(selet))
disp("Simulacão 100% concluída em " + string(int(toc())) + " s")
|
e1722cfddd6a577c31236d27999ec453f85b4726 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH1/EX1.7/Ex1_7.sce | d090d46d7119eabf9710a5a2ba9cdd37537a4753 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex1_7.sce | clear
clf
clc
interval=input('enter the sampling interval');
n=[-20:1:20];
t=n*interval
for i=1:length(t)
x(i)=2*t(i);
end
plot(t,x,".");
xtitle("sampled function of x(t)=2*t for all t","number of samples","amplitude");
|
11a4bc46c70dd65eb0283433cd5c81c25c8715a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.5/Example5_5.sce | fdbb263f43427a0cbeb470639528eeb3c1ed4cc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Example5_5.sce | //Exa 5.5
clc;
clear;
close;
//Given data :
VRL=30000;//Volts
VSL=33000;//Volts
f=50;//Hz
P=10*10^6;//W
pf=0.8;//power factor
cos_fi_r=pf;
sin_fi_r=sqrt(1-cos_fi_r^2);
VR=VRL/sqrt(3);//V
I=P/sqrt(3)/VRL/pf;//A
Eta_T=0.96;//Efficiency
LineLoss=P*(1/Eta_T-1);//W
R=LineLoss/3/I^2;//ohm/phase
disp(R,"Resistance per phase(ohm/phase)");
VS=VSL/sqrt(3);//V
X=(VS-VR-I*R*cos_fi_r)/I/sin_fi_r;//V
L=X/2/%pi/f;//H/phase
disp(L*1000,"Inductance per phase(mH/phase)");
|
88a6a22af84b8ba429c88ba4cc0d60513be2db3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH20/EX20.1/20_1.sce | 6b2c8bae0bfb20b79d67524ee9da2eb6f969723a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sce | 20_1.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 20.1
//calculation of the dispersive power of the flint glass
//given data
mur=1.613//refractive index of flint glass for the red light
mu=1.620//refractive index of flint glass for the yellow light
muv=1.632//refractive index of flint glass for the violet light
//calculation
w=(muv-mur)/(mu-1)//definition of the dispersive power
printf('the dispersive power of the flint glass is %3.4f',w)
|
ccb37315191064b180757c45d707282d99acbabe | 0764595c2d11c42afddd3351da341f9e9c4db651 | /codigos_aula/cubic_roots.sci | 03a057bac030db328923656e2dded4fd20bd0d39 | [] | no_license | ThiagosLima/metodos-numericos | e3933c43362c6f047714980841f7c64f1a345bb0 | df21508b72b94e64a424e6b50564e948019a9eab | refs/heads/main | 2022-12-30T10:06:57.560852 | 2020-10-05T00:41:52 | 2020-10-05T00:41:52 | 301,257,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sci | cubic_roots.sci | function rts=cubic_roots(ps)
// a0+ a1*x + a2x^2 + a3x^3 = 0
a=coeff(ps);
[a0, a1, a2, a3] = (a(1), a(2), a(3), a(4))
D0 = a2^2-3*a3*a1;
D1 = 2*a2^3-9*a3*a2*a1+27*a3^2*a0;
C=((D1+sqrt(D1^2-4*D0^3))/2)^(1/3)
if (C==0 | D0==0) then // 3 raizes reais iguais
rts(1:3)= -a2/(3*a3);
else
w(1:3)=exp(%i*2*%pi/3*(1:3))'
rts= -a2/(3*a3)-(C * w + D0/C./w)/(3*a3)
end
rts=clean(rts)
endfunction
|
13960ca86d797f3bdd974ed0eab783f27c1521c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH2/EX2.2/Ex2_2.sce | a8d0fcdda732d14c342df03cb7599427751033ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | Ex2_2.sce | //Example 2.2, page 49
clc
h=6.63*10^-34//Joule-sec
vo=5.6*10^14
w=h*vo
printf("\npower is %e per sec",w)
ev=(1/(1.6*10^-19))
wo=w*ev
printf("\nEnergy is %f ev",wo)
|
401881069def1dd2d61900cab8a062b33220a037 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.16/ex1_16.sce | c3d7fa32cd20af3dbe6a4773486a69186284334e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | ex1_16.sce | //Exa:1.16
clc;
clear;
close;
s_f=0.04;//full load slip
I_ratio=6;//Ratio of Starting current to full load current
T_ratio=I_ratio^2*s_f;//Ratio of Starting torque to full load torque
disp(T_ratio,'(a) Starting Torque =');
disp(' times the full load torque (T_f)');
s_max=sqrt((I_ratio^2-1)/(625-I_ratio^2));
disp(s_max,'(b) Slip at which Maximum torque occurs=');
T_rm=(1/2)*((s_f/s_max)+(s_max/s_f));
disp(T_rm,'(c) Ratio of maximum torque to full load torque='); |
fe9c3822e77960746f03bfd28e57cfbc250e8e83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH5/EX5.13/pe5_13.sce | e7075f2394a3218872434cb7bb7dc8ddcdcd1e00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | pe5_13.sce | //example 5.13
clc; funcprot(0);
// Initialization of Variable
T=130;//temperature
P=19.5;//power
//calculation
Ts=T-P*2.1;
disp(Ts,"maximum safe temperature in degreeC")
clear()
|
e89cee3e4564932eed62c298e52e0f8bf55f0e18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH6/EX6.13/6_13exam.sce | 2cc7c42d38a6d6014ef8e83ca478eb1fddcccb41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 886 | sce | 6_13exam.sce | //Engineering and Chemical Thermodynamics
//Example 6.13
//Page no :287
clear ;clc ;
//Given
C1 = 1.596 ;
C2 = 1.591 ;
C3 = -74.40 ;
C4 = -0.561 ;
A = [ 0 ,0.1 ,0.2 ,0.3 ,0.4 ,0.5 ,0.6 ,0.7 ,0.8 ,0.9 ,1] ;
m = (-C1 + C2 + C3 * ( C4 * 0.25)) * 1000 ;
disp(" Example: 6.13 Page no : 287") ;
for i = 1:11
x_H2O = A(1,i) ;
x_H2SO4 = 1- x_H2O ;
h = C1 * x_H2SO4 + C2 * x_H2O + C3 * x_H2SO4 * x_H2O *(1 + C4 * x_H2SO4) ;
C(1,i) = h * 10^3;
end
y1 = C(1,6) ;
function y = f613(x) ,
y = -m * (x - 0.5 ) + y1 ;
endfunction
for i = 1:11
F(1,i) = f613(A(1,i)) ;
end
plot(A,C);
plot(A,F)
xtitle("Figure E6.13","x_H2O","h (J/mol)");
printf("\n H_bar_H2SO4 = %d J/mol H_bar_H2O = %d J/mol\n ",F(1,1),F(1,11)) ;
disp(" The partial molar property can be obtained by drawing tangent at mole fraction 0.5 .") |
d9deb3d0e3d1d8e0661700f19a48863d15ae0d3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH9/EX9.2/9_2.sce | bc41feb3ec8bdd8ea418854fe4069a03445dec62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | 9_2.sce | clear;
clc;
R=16.64;L=5.87*(10^-3);G=1.28*(10^-6);C=0.0134*(10^-6);bmax=0.1;f2=5500;f1=30;
w=2*%pi*f2;
Z=R+(%i*w*L);
Y=G+(%i*w*C);
P=fix(sqrt(Z*Y)*10^4)/10^4;
a=-f1*((-3*real(P)*real(P)*imag(P))-((imag(P))^3))/24;
a1=round(a*1000)/1000;
v=sqrt(bmax/a1);
l=f1/v;
R1=R*f1/(2*l);
L1=L*f1*10^3/(2*l);
C1=C*f1*10^6/l;
G1=G*f1/l;
Rg=1/G1;
printf("The elements of the artificial line are:\n");
printf(" R/2 = %f ohms\n",fix(R1*100)/100);
printf(" L/2 = %f mH\n",fix(L1*100)/100);
printf(" C = %f microfarads\n",fix(C1*1000)/1000);
printf(" Rg = %f k ohms\n",round((Rg*0.1)/100));
|
e6ec7dffb5703e0b4a2c21d087366010856cef60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH1/EX1.6/6.sce | 75fd6216c07cda38d29e87e0f78e8ad9e9ed5fb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | 6.sce | clc
clear
//Input data
V=1000;//Volume of the bulb of the callendar's compensated constant pressure air thermometer in cm^3
v=100;//Volume of mercury drawn out of the reservoir in cm^3
//Calculations
t=((v)/(V-v))*273;//The temperature of the bath in degree centigrade
//Output data
printf('The temperature of the bath on the celsius scale is %3.2f degree centigrade',t)
|
c222c36adf45c6d5f650d819bde5e7abe755e292 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.14_11.tst | 9be0595a81305da78b33e0d06aa367d0e1792787 | [] | 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 | 44,983 | tst | bow.14_11.tst | 14 12:0.08333333333333333 22:1.0 59:0.25 66:0.3333333333333333 91:1.0 110:0.1 126:1.0 127:0.1111111111111111 237:0.09090909090909091 267:0.25 286:1.0 295:1.0 450:0.03333333333333333 465:1.0 586:0.5 619:1.0 700:0.25 1256:1.0 5724:1.0 6005:1.0 7151:1.0
14 9:1.0 12:0.25 15:3.0 16:0.3333333333333333 24:0.25 26:0.5 33:1.0 50:1.0 59:0.25 66:0.3333333333333333 77:1.0 91:1.0 99:0.3333333333333333 105:0.3333333333333333 106:0.25 110:0.2 128:0.5 148:1.0 221:1.0 269:1.0 286:1.0 445:1.0 450:0.06666666666666667 466:1.0 585:0.5 700:0.25 738:2.0 952:1.0 964:0.058823529411764705 1111:1.0 1231:1.0 1437:1.0 2263:1.0 2492:1.0 2556:1.0 3315:1.0 3442:1.0 3976:0.5 4382:1.0 4759:1.0 5136:1.0 5834:1.0 6101:1.0 6515:1.0 6689:1.0 6716:1.0 7320:1.0
14 7:0.3333333333333333 9:1.0 18:0.3333333333333333 22:3.0 48:0.5 50:0.5 59:0.25 106:0.25 126:3.0 127:0.2222222222222222 185:0.3333333333333333 215:0.030303030303030304 222:0.5 236:0.037037037037037035 275:0.16666666666666666 355:1.0 450:0.03333333333333333 465:1.0 473:0.25 688:0.5 783:1.0 788:0.5 823:1.0 883:1.0 982:0.3333333333333333 1037:0.5 1099:0.14285714285714285 1429:1.0 1510:1.0 1731:1.0 1946:1.0 2497:0.3333333333333333 2981:1.0 3367:0.3333333333333333 4453:1.0 5277:0.14285714285714285 5279:1.0 5390:1.0 5641:1.0 5931:1.0 6151:1.0 6286:0.3333333333333333 6411:1.0
14 12:0.08333333333333333 31:0.2222222222222222 50:1.0 78:1.0 102:0.25 135:0.5 221:1.0 236:0.037037037037037035 282:0.07692307692307693 390:1.0 450:0.03333333333333333 584:0.5 616:0.4 688:0.5 783:1.0 1032:0.5 1037:0.5 1083:1.0 1114:0.5 1121:0.07692307692307693 1309:1.0 1400:1.0 1926:1.0 2263:1.0 6140:1.0 6151:1.0
14 12:0.08333333333333333 18:0.3333333333333333 31:0.1111111111111111 50:0.5 52:0.027777777777777776 60:1.0 66:0.3333333333333333 75:0.5 106:0.25 110:0.4 127:0.1111111111111111 133:1.0 136:1.0 282:0.07692307692307693 315:1.0 377:1.0 437:1.0 450:0.06666666666666667 586:0.5 642:1.0 643:1.0 1033:0.2 1740:0.029411764705882353 3880:1.0 5353:1.0 5863:1.0
14 7:0.3333333333333333 12:0.16666666666666666 15:1.0 22:1.0 24:0.25 31:0.1111111111111111 48:0.25 50:0.5 53:0.25 59:1.0 66:0.3333333333333333 75:0.5 108:0.5 109:1.0 110:0.3 111:1.0 126:1.0 127:0.2222222222222222 215:0.030303030303030304 216:1.0 223:1.0 236:0.037037037037037035 282:0.07692307692307693 286:1.0 355:1.0 362:1.0 423:1.0 473:0.25 586:0.5 653:1.0 700:0.25 823:1.0 952:1.0 1121:0.07692307692307693 1575:1.0 1971:1.0 2226:1.0 2976:1.0 3349:1.0 3493:1.0 3656:1.0 3934:1.0 5206:1.0 5277:0.2857142857142857 5287:1.0 5301:1.0 5523:1.0 5936:1.0 6515:1.0
14 7:0.3333333333333333 9:2.0 12:0.16666666666666666 15:1.0 16:0.3333333333333333 22:1.0 24:0.25 31:0.1111111111111111 50:0.5 52:0.05555555555555555 55:0.5 59:1.0 65:1.0 106:0.25 110:0.3 126:1.0 127:0.1111111111111111 136:1.0 215:0.030303030303030304 216:1.0 243:1.0 282:0.15384615384615385 355:1.0 450:0.06666666666666667 738:1.0 823:1.0 960:1.0 1080:1.0 1099:0.14285714285714285 1114:0.5 1121:0.15384615384615385 1437:1.0 1559:1.0 1757:0.5 2372:1.0 2582:1.0 3708:1.0 3747:0.5 4717:0.25 5445:1.0 6011:1.0 6787:1.0 7095:1.0 7209:1.0 7321:1.0
14 7:0.3333333333333333 9:1.0 15:1.0 46:0.14285714285714285 50:0.5 55:0.5 59:0.25 66:0.3333333333333333 99:0.3333333333333333 110:0.2 111:1.0 126:1.0 128:0.5 236:0.1111111111111111 324:1.0 362:1.0 423:1.0 586:0.5 664:1.0 786:1.0 823:1.0 868:0.5 943:1.0 1251:1.0 1377:1.0 1715:1.0 1746:1.0 1780:0.5 2896:1.0 3530:1.0 5206:1.0 5301:1.0 5450:1.0
14 9:1.0 12:0.08333333333333333 16:0.3333333333333333 22:1.0 60:1.0 66:0.3333333333333333 106:0.25 126:2.0 127:0.2222222222222222 236:0.037037037037037035 260:0.5 437:1.0 450:0.03333333333333333 671:0.3333333333333333 782:1.0 783:1.0 788:0.5 1033:0.2 1056:1.0 1396:1.0 1740:0.029411764705882353 2140:0.14285714285714285 5287:1.0 5353:1.0 5748:1.0 6102:1.0 6498:1.0 6515:1.0
14 7:0.3333333333333333 24:0.25 46:0.14285714285714285 50:0.5 59:0.5 66:0.3333333333333333 88:0.3333333333333333 99:0.3333333333333333 134:0.125 236:0.037037037037037035 346:0.16666666666666666 362:2.0 450:0.06666666666666667 586:0.5 616:0.2 839:1.0 853:1.0 968:1.0 1113:0.5 1137:1.0 1206:0.5 1715:1.0 1746:1.0 1919:1.0 3056:1.0 3583:1.0 3788:1.0 5260:1.0 5279:1.0 5280:1.0 5329:1.0 6421:1.0
14 7:0.3333333333333333 9:1.0 12:0.16666666666666666 22:1.0 31:0.1111111111111111 50:0.5 52:0.027777777777777776 60:1.0 66:0.3333333333333333 111:1.0 126:2.0 127:0.3333333333333333 282:0.07692307692307693 320:1.0 437:1.0 450:0.03333333333333333 466:1.0 782:1.0 960:1.0 1056:1.0 1099:0.14285714285714285 1114:1.0 1740:0.029411764705882353 2651:1.0 4717:0.25 4769:0.14285714285714285 5301:1.0 5353:1.0 6061:1.0 7292:1.0
14 7:0.3333333333333333 9:2.0 12:0.16666666666666666 18:0.3333333333333333 31:0.1111111111111111 50:0.5 52:0.027777777777777776 55:0.5 59:0.25 91:1.0 97:1.0 103:0.5 105:0.3333333333333333 110:0.1 126:2.0 135:0.5 165:0.5 236:0.037037037037037035 286:1.0 380:1.0 388:1.0 450:0.06666666666666667 485:1.0 512:0.5 586:0.5 783:1.0 788:0.5 884:0.3333333333333333 964:0.058823529411764705 1114:0.5 1118:1.0 1137:1.0 1212:1.0 1456:1.0 1629:0.125 1919:1.0 2140:0.14285714285714285 4432:1.0 5277:0.14285714285714285 5287:1.0 5337:1.0 5483:1.0 5512:1.0 5718:1.0 6026:1.0 6422:1.0 6433:1.0 6515:1.0
14 7:0.3333333333333333 9:2.0 12:0.08333333333333333 15:1.0 18:0.3333333333333333 22:2.0 50:0.5 60:1.0 66:0.3333333333333333 99:0.3333333333333333 110:0.4 126:2.0 127:0.1111111111111111 236:0.07407407407407407 260:0.5 277:0.3333333333333333 282:0.07692307692307693 355:1.0 409:1.0 437:1.0 450:0.03333333333333333 523:1.0 619:1.0 700:0.25 717:1.0 783:2.0 788:0.5 823:1.0 960:1.0 982:0.16666666666666666 1531:0.3333333333333333 1724:1.0 1740:0.029411764705882353 2688:0.2 2764:2.0 3004:1.0 5287:1.0 5353:1.0 6151:1.0
14 7:1.0 9:1.0 12:0.08333333333333333 14:0.5 15:1.0 22:1.0 27:1.0 34:0.3333333333333333 50:0.5 67:1.0 82:1.0 91:2.0 103:0.5 105:0.3333333333333333 126:1.0 127:0.3333333333333333 128:0.5 215:0.030303030303030304 236:0.07407407407407407 284:1.0 342:0.25 348:0.5 355:1.0 388:1.0 512:0.5 616:0.2 688:0.5 697:1.0 738:1.0 757:1.0 788:0.5 960:1.0 964:0.058823529411764705 982:0.16666666666666666 1053:0.5 1212:1.0 1474:1.0 1613:1.0 1780:0.5 2024:1.0 2347:1.0 2764:1.0 3121:1.0 4191:1.0 5524:1.0 5525:1.0 6209:1.0 6376:1.0 6720:1.0 6735:1.0 6848:1.0 6857:1.0 7061:1.0
14 7:0.3333333333333333 16:0.3333333333333333 18:0.3333333333333333 22:1.0 27:1.0 31:0.1111111111111111 50:0.5 66:0.3333333333333333 110:0.2 127:0.1111111111111111 282:0.07692307692307693 286:1.0 516:0.16666666666666666 616:0.2 688:0.5 943:1.0 1037:0.5 1099:0.14285714285714285 1111:1.0 1118:1.0 1559:2.0 1593:1.0 1780:0.5 2629:1.0 3457:1.0 3598:1.0 3599:1.0 5702:1.0 7106:1.0 7320:1.0
14 12:0.3333333333333333 15:1.0 18:0.3333333333333333 22:2.0 31:0.2222222222222222 33:1.0 110:0.1 126:3.0 127:0.1111111111111111 134:0.125 189:2.0 215:0.030303030303030304 267:0.25 388:1.0 445:1.0 450:0.06666666666666667 516:0.16666666666666666 517:1.0 700:0.25 1037:0.5 1099:0.14285714285714285 1167:1.0 1212:1.0 1309:1.0 1439:1.0 2140:0.14285714285714285 2265:0.25 5277:0.14285714285714285 5287:2.0 5595:1.0 5875:0.2 5939:1.0 5953:0.3333333333333333 6189:1.0 6421:1.0 6774:1.0 7056:1.0
14 7:0.6666666666666666 12:0.5 14:0.5 15:2.0 18:0.3333333333333333 22:2.0 31:0.2222222222222222 33:1.0 99:0.3333333333333333 103:0.5 110:0.4 126:3.0 127:0.1111111111111111 128:0.5 136:1.0 153:1.0 236:0.037037037037037035 248:1.0 284:1.0 324:1.0 348:0.5 450:0.06666666666666667 465:1.0 466:1.0 523:1.0 527:0.5 670:0.3333333333333333 745:1.0 746:1.0 786:1.0 811:1.0 982:0.16666666666666666 1099:0.42857142857142855 1180:1.0 1439:1.0 1494:1.0 1731:2.0 1932:1.0 1996:1.0 2024:1.0 2265:0.25 2294:0.5 2497:0.3333333333333333 3195:1.0 3705:1.0 4545:1.0 4977:1.0 5277:0.14285714285714285 5595:1.0 6682:1.0 6813:1.0 7151:1.0 7311:1.0
14 7:0.3333333333333333 9:1.0 12:0.08333333333333333 15:1.0 18:0.3333333333333333 22:1.0 31:0.4444444444444444 50:0.5 91:1.0 99:0.3333333333333333 102:0.5 103:0.5 106:0.25 110:0.1 111:1.0 126:3.0 189:1.0 236:0.07407407407407407 284:1.0 328:0.5 388:1.0 450:0.03333333333333333 552:1.0 584:0.5 619:1.0 664:1.0 677:1.0 982:0.16666666666666666 1025:0.2 1099:0.14285714285714285 1114:0.5 1249:1.0 1276:0.3333333333333333 1379:1.0 1439:1.0 1495:1.0 1559:1.0 1629:0.25 1780:0.5 2492:1.0 2685:1.0 3598:1.0 5287:1.0 5294:1.0 5456:1.0 5804:1.0 5895:1.0 6515:1.0 6682:1.0 7217:1.0
14 7:0.6666666666666666 9:1.0 12:0.3333333333333333 22:1.0 31:0.2222222222222222 66:0.3333333333333333 99:1.0 106:0.25 110:0.2 111:1.0 126:2.0 127:0.1111111111111111 178:1.0 189:1.0 267:0.25 282:0.07692307692307693 284:1.0 286:1.0 362:1.0 508:0.5 528:1.0 619:1.0 664:1.0 700:0.25 738:1.0 745:1.0 894:0.5 957:1.0 1099:0.14285714285714285 3211:1.0 3615:1.0 3974:1.0 5284:1.0 5824:1.0 5834:1.0 6151:1.0 6507:1.0
14 7:0.6666666666666666 9:1.0 14:0.5 15:1.0 18:0.6666666666666666 31:0.1111111111111111 59:0.25 105:0.3333333333333333 110:0.1 111:1.0 112:1.0 127:0.1111111111111111 135:0.5 236:0.037037037037037035 237:0.09090909090909091 279:0.3333333333333333 284:1.0 346:0.16666666666666666 348:0.5 388:1.0 450:0.06666666666666667 584:1.0 586:0.5 783:1.0 795:0.25 1056:1.0 1137:1.0 1629:0.125 1739:2.0 1919:1.0 2140:0.14285714285714285 3056:1.0 5260:1.0 5277:0.14285714285714285 5287:1.0 5329:1.0 6421:1.0 6707:1.0
14 9:1.0 18:0.3333333333333333 22:1.0 31:0.1111111111111111 60:1.0 66:0.3333333333333333 126:2.0 127:0.1111111111111111 284:2.0 388:1.0 437:1.0 448:1.0 450:0.03333333333333333 508:0.5 582:1.0 688:0.5 828:1.0 982:0.16666666666666666 1118:1.0 1369:1.0 1379:1.0 1740:0.029411764705882353 1971:1.0 2140:0.14285714285714285 2294:0.5 2306:1.0 2859:1.0 2976:1.0 3615:1.0 5278:0.125 5353:1.0 5444:1.0
14 7:0.6666666666666666 12:0.16666666666666666 15:1.0 22:1.0 31:0.1111111111111111 33:1.0 41:1.0 52:0.027777777777777776 55:1.0 106:0.5 110:0.2 111:1.0 127:0.3333333333333333 128:0.5 198:1.0 236:0.14814814814814814 282:0.07692307692307693 298:1.0 309:1.0 342:0.25 439:1.0 450:0.03333333333333333 617:1.0 733:1.0 776:1.0 832:1.0 943:1.0 964:0.058823529411764705 1091:1.0 1508:2.0 1757:0.5 2002:0.6666666666666666 2093:1.0 3483:1.0 3861:1.0 4604:1.0 5277:0.2857142857142857 5287:1.0 5329:1.0 6103:1.0 6104:1.0 6626:1.0 6642:1.0 6885:1.0 7240:1.0 7241:1.0
14 12:0.08333333333333333 22:4.0 27:1.0 31:0.2222222222222222 50:0.5 52:0.05555555555555555 55:0.5 59:1.0 88:0.3333333333333333 106:0.25 110:0.1 126:1.0 127:0.2222222222222222 215:0.030303030303030304 236:0.07407407407407407 275:0.16666666666666666 282:0.15384615384615385 450:0.03333333333333333 616:0.2 664:1.0 783:2.0 884:0.6666666666666666 1099:0.14285714285714285 1121:0.15384615384615385 1131:1.0 1212:1.0 1593:1.0 1875:1.0 2140:0.14285714285714285 4026:1.0 4474:1.0 4627:1.0 4831:1.0 5277:0.14285714285714285 5704:1.0 6011:1.0 6019:1.0 7321:1.0
14 3:0.5 7:0.3333333333333333 9:1.0 12:0.3333333333333333 18:0.6666666666666666 22:2.0 24:0.25 48:0.25 52:0.027777777777777776 53:0.25 59:0.25 111:1.0 126:2.0 127:0.3333333333333333 128:0.5 133:1.0 215:0.030303030303030304 240:0.3333333333333333 275:0.16666666666666666 282:0.07692307692307693 450:0.03333333333333333 697:1.0 1033:0.2 1603:1.0 1731:1.0 1971:1.0 2347:1.0 2605:1.0 2764:1.0 2981:1.0 3367:0.3333333333333333 4474:1.0 4913:1.0 5277:0.14285714285714285 5307:1.0 6179:1.0 6286:0.3333333333333333 6695:1.0 6787:1.0 6801:1.0 7243:1.0
14 7:0.3333333333333333 12:0.16666666666666666 22:2.0 52:0.027777777777777776 59:0.25 60:1.0 66:0.3333333333333333 89:1.0 110:0.1 125:1.0 126:1.0 127:0.2222222222222222 215:0.030303030303030304 236:0.07407407407407407 267:0.25 284:1.0 342:0.25 348:0.5 437:1.0 586:0.5 783:1.0 1251:1.0 1731:1.0 1740:0.029411764705882353 1757:0.5 2140:0.14285714285714285 2265:0.25 2764:1.0 3454:1.0 3726:1.0 4477:1.0 5287:1.0 5301:1.0 5353:1.0 5410:1.0 5527:1.0 5769:1.0 7232:1.0
14 7:2.3333333333333335 12:0.16666666666666666 22:3.0 27:1.0 48:0.25 53:0.25 85:1.0 105:0.3333333333333333 110:0.3 111:2.0 126:2.0 127:0.1111111111111111 136:1.0 189:1.0 215:0.06060606060606061 222:1.0 236:0.1111111111111111 269:1.0 275:0.3333333333333333 286:1.0 348:0.5 394:1.0 450:0.03333333333333333 496:1.0 618:1.0 619:1.0 620:1.0 661:0.3333333333333333 737:1.0 755:0.1111111111111111 967:1.0 1091:1.0 1099:0.14285714285714285 1118:1.0 1543:1.0 1596:1.0 1827:1.0 2002:0.3333333333333333 2533:1.0 2622:1.0 2784:1.0 2785:1.0 2980:1.0 3934:1.0 3974:1.0 3976:0.5 4602:1.0 4652:1.0 4931:1.0 4932:1.0 4933:1.0 4965:1.0 5277:0.14285714285714285 5287:1.0 5347:1.0 5563:1.0 5748:1.0 5846:1.0 6151:1.0
14 7:0.3333333333333333 9:1.0 12:0.25 15:1.0 18:0.6666666666666666 22:1.0 31:0.1111111111111111 53:0.5 59:0.25 66:1.0 78:1.0 88:0.3333333333333333 105:0.3333333333333333 106:0.5 110:0.1 126:2.0 127:0.1111111111111111 236:0.037037037037037035 237:0.18181818181818182 450:0.03333333333333333 465:1.0 664:1.0 700:0.25 1095:0.2 1099:0.14285714285714285 1596:1.0 1780:1.0 1924:1.0 2140:0.14285714285714285 2161:1.0 2492:1.0 2640:1.0 3438:1.0 5277:0.14285714285714285 5291:1.0 6449:0.5 6553:1.0 6669:1.0 6707:1.0 6718:1.0
14 7:0.6666666666666666 9:1.0 12:0.16666666666666666 14:0.5 18:0.3333333333333333 22:1.0 52:0.027777777777777776 66:0.6666666666666666 105:0.3333333333333333 110:0.3 112:1.0 126:2.0 127:0.1111111111111111 128:0.5 355:1.0 445:1.0 450:0.03333333333333333 536:1.0 704:1.0 705:1.0 795:0.25 938:0.3333333333333333 1025:0.2 1212:2.0 1464:1.0 1616:1.0 1805:1.0 2265:0.25 3252:1.0 5277:0.2857142857142857 5284:1.0 5287:1.0 5295:1.0 5338:1.0 6515:1.0
14 7:0.3333333333333333 22:1.0 31:0.1111111111111111 52:0.027777777777777776 60:1.0 66:0.6666666666666666 105:0.3333333333333333 110:0.2 111:1.0 268:1.0 282:0.07692307692307693 342:0.25 355:1.0 362:1.0 388:1.0 437:1.0 450:0.06666666666666667 485:1.0 619:1.0 823:1.0 923:1.0 1037:0.5 1099:0.14285714285714285 1114:0.5 1212:1.0 1543:1.0 1715:1.0 1740:0.029411764705882353 1827:1.0 2723:0.16666666666666666 5333:1.0 5353:1.0 6049:1.0
14 9:1.0 14:0.5 31:0.2222222222222222 47:0.3333333333333333 59:0.25 75:0.5 91:1.0 99:0.3333333333333333 110:0.2 111:1.0 126:1.0 127:0.2222222222222222 133:1.0 148:1.0 165:0.5 355:1.0 450:0.03333333333333333 455:1.0 466:1.0 586:0.5 737:1.0 982:0.16666666666666666 1037:0.5 1223:1.0 1731:1.0 1805:1.0 2265:0.25 3974:1.0 5277:0.42857142857142855 5278:0.125 5287:1.0 5295:1.0 5301:1.0 6022:1.0 6548:1.0 6689:1.0
14 5:1.0 7:0.3333333333333333 12:0.16666666666666666 15:1.0 22:2.0 50:0.5 52:0.027777777777777776 53:0.25 99:0.3333333333333333 110:0.3 111:1.0 126:2.0 267:0.25 286:1.0 437:1.0 450:0.1 536:1.0 616:0.2 700:0.25 729:1.0 943:1.0 1025:0.2 1089:1.0 1099:0.2857142857142857 1373:1.0 1379:1.0 1538:1.0 2265:0.25 2688:0.2 3598:1.0 3741:0.5 4977:1.0 5681:1.0 5689:1.0 5722:1.0 5852:1.0 6859:1.0
14 14:1.0 18:0.3333333333333333 22:2.0 26:0.5 48:0.25 50:0.5 60:1.0 66:0.3333333333333333 78:1.0 99:0.3333333333333333 105:0.3333333333333333 110:0.1 126:2.0 127:0.2222222222222222 284:2.0 320:1.0 437:1.0 450:0.03333333333333333 788:0.5 964:0.058823529411764705 1099:0.14285714285714285 1740:0.029411764705882353 1746:1.0 1780:0.5 3352:1.0 3589:1.0 5353:1.0 5872:1.0 6277:1.0
14 12:0.16666666666666666 22:2.0 31:0.3333333333333333 55:0.5 60:1.0 66:0.3333333333333333 91:1.0 105:0.3333333333333333 106:0.25 111:1.0 126:1.0 282:0.15384615384615385 388:1.0 437:1.0 450:0.03333333333333333 1099:0.14285714285714285 1114:0.5 1256:1.0 1629:0.125 1657:1.0 1740:0.029411764705882353 1827:1.0 2102:1.0 3974:1.0 5277:0.14285714285714285 5287:1.0 5333:1.0 5353:1.0 5875:0.2 6100:1.0
14 7:1.0 12:0.08333333333333333 14:0.5 15:2.0 18:0.3333333333333333 22:2.0 31:0.1111111111111111 33:1.0 50:0.5 52:0.08333333333333333 59:0.75 102:0.5 103:0.5 110:0.1 126:1.0 128:0.5 135:0.5 185:0.3333333333333333 236:0.037037037037037035 237:0.09090909090909091 243:1.0 267:0.25 276:1.0 281:1.0 282:0.15384615384615385 355:1.0 362:1.0 388:1.0 450:0.06666666666666667 466:1.0 664:1.0 687:0.5 880:1.0 1099:0.14285714285714285 1557:1.0 2140:0.14285714285714285 3659:1.0 5254:1.0 5277:0.2857142857142857 5407:1.0 5428:1.0 5748:1.0 5889:1.0 6277:1.0
14 12:0.08333333333333333 31:0.1111111111111111 50:0.5 59:0.25 60:2.0 66:1.0 99:0.3333333333333333 126:1.0 127:0.1111111111111111 240:0.3333333333333333 388:1.0 437:2.0 450:0.03333333333333333 1037:0.5 1114:0.5 1454:1.0 1504:1.0 1531:0.3333333333333333 1593:1.0 1740:0.058823529411764705 1746:1.0 5283:1.0 5353:1.0
14 7:0.3333333333333333 14:0.5 18:0.3333333333333333 22:2.0 31:0.1111111111111111 50:0.5 53:0.25 66:0.3333333333333333 99:0.3333333333333333 110:0.1 125:1.0 127:0.1111111111111111 134:0.125 153:1.0 282:0.07692307692307693 450:0.06666666666666667 586:0.5 700:0.25 788:0.5 795:0.25 839:1.0 952:1.0 968:1.0 1030:1.0 1114:0.5 1351:1.0 1613:1.0 2280:1.0 2308:2.0 3750:1.0 3788:1.0 3976:0.5 5277:0.14285714285714285 5852:1.0 5860:1.0
14 7:0.3333333333333333 12:0.16666666666666666 22:1.0 24:0.25 27:1.0 31:0.2222222222222222 47:0.3333333333333333 50:0.5 52:0.027777777777777776 53:0.25 59:0.25 66:0.3333333333333333 82:1.0 91:1.0 103:0.5 105:0.3333333333333333 106:0.25 110:0.1 111:2.0 126:1.0 135:0.5 150:0.5 153:1.0 182:0.5 215:0.030303030303030304 267:0.25 282:0.15384615384615385 284:1.0 296:0.5 346:0.16666666666666666 361:0.5 388:1.0 450:0.06666666666666667 584:0.5 586:0.5 619:1.0 828:1.0 1099:0.14285714285714285 1137:1.0 1494:1.0 1932:1.0 2297:2.0 4026:1.0 4280:1.0 5260:1.0 5329:1.0 5333:1.0 5347:1.0 5876:1.0 6135:1.0
14 7:1.0 12:0.4166666666666667 22:2.0 24:0.25 31:0.1111111111111111 41:1.0 59:0.25 66:0.6666666666666666 88:0.3333333333333333 99:0.3333333333333333 110:0.1 124:1.0 126:1.0 134:0.125 135:0.5 216:1.0 253:1.0 264:1.0 267:0.25 282:0.07692307692307693 346:0.16666666666666666 450:0.03333333333333333 473:0.25 508:0.5 536:1.0 582:1.0 589:1.0 670:0.3333333333333333 730:1.0 839:1.0 968:1.0 1113:0.5 1157:1.0 1206:0.5 1746:1.0 2140:0.14285714285714285 2688:0.2 2859:1.0 3300:1.0 3741:0.5 3788:1.0 4317:1.0 5026:1.0 5277:0.14285714285714285 5722:1.0 5852:1.0 6571:1.0
14 1:1.0 7:0.3333333333333333 16:0.3333333333333333 50:0.5 53:0.25 60:1.0 66:0.3333333333333333 82:1.0 99:0.3333333333333333 110:0.1 126:2.0 127:0.1111111111111111 136:1.0 236:0.037037037037037035 282:0.15384615384615385 284:1.0 348:0.5 390:1.0 437:2.0 450:0.03333333333333333 586:0.5 783:1.0 1099:0.14285714285714285 1137:1.0 1740:0.029411764705882353 1780:0.5 1919:1.0 2140:0.14285714285714285 2265:0.5 2345:1.0 2945:1.0 3142:1.0 5260:1.0 5353:1.0 5421:1.0 5564:1.0 6179:1.0
14 7:0.6666666666666666 9:1.0 12:0.16666666666666666 14:0.5 22:1.0 59:0.25 104:1.0 110:0.1 111:1.0 126:2.0 128:0.5 134:0.125 215:0.030303030303030304 236:0.07407407407407407 282:0.15384615384615385 286:1.0 362:1.0 450:0.03333333333333333 466:1.0 516:0.16666666666666666 589:1.0 688:0.5 783:1.0 982:0.3333333333333333 1037:0.5 1053:0.5 1086:1.0 1099:0.14285714285714285 1256:1.0 1358:1.0 1948:1.0 2100:1.0 2140:0.14285714285714285 2505:1.0 2611:1.0 2622:1.0 3162:1.0 3457:1.0 3583:1.0 3974:1.0 4381:1.0 5287:1.0 5329:1.0 5407:1.0 5571:1.0 6103:1.0 6104:1.0 6227:1.0 6619:1.0 6718:1.0 6995:1.0 7218:1.0
14 7:0.6666666666666666 9:1.0 12:0.08333333333333333 15:1.0 50:0.5 52:0.027777777777777776 60:2.0 66:0.6666666666666666 106:0.25 111:1.0 126:1.0 128:0.5 189:1.0 277:0.3333333333333333 282:0.15384615384615385 348:0.5 388:1.0 394:1.0 409:1.0 437:2.0 448:1.0 463:1.0 1091:1.0 1118:1.0 1740:0.058823529411764705 1971:1.0 4381:1.0 4602:1.0 4966:1.0 5284:1.0 5318:1.0 5347:1.0 5353:2.0 5379:1.0 5943:1.0 6022:1.0
14 7:0.3333333333333333 12:0.5833333333333334 15:1.0 18:0.3333333333333333 22:2.0 24:0.25 50:0.5 52:0.027777777777777776 55:0.5 59:0.25 66:0.3333333333333333 78:1.0 91:1.0 99:0.6666666666666666 106:0.5 110:0.1 126:1.0 127:0.2222222222222222 158:1.0 277:0.3333333333333333 279:0.3333333333333333 450:0.06666666666666667 512:0.5 586:0.5 619:1.0 687:0.5 805:0.5 868:0.5 952:1.0 957:1.0 1023:1.0 1037:0.5 1053:0.5 1095:0.2 1099:0.14285714285714285 1121:0.07692307692307693 1256:1.0 1276:0.3333333333333333 1456:1.0 1991:1.0 2143:1.0 2474:1.0 2736:1.0 2891:1.0 2973:1.0 3252:1.0 4382:1.0 4474:1.0 4717:0.25 5301:1.0 5450:1.0 6099:1.0 6628:1.0
14 11:0.25 12:0.16666666666666666 14:0.5 15:1.0 16:0.3333333333333333 18:0.3333333333333333 52:0.027777777777777776 53:0.25 60:1.0 66:0.3333333333333333 75:0.5 110:0.3 111:1.0 127:0.1111111111111111 128:0.5 135:0.5 136:1.0 198:1.0 267:0.25 277:0.3333333333333333 437:1.0 450:0.03333333333333333 513:0.25 795:0.25 1114:0.5 1437:1.0 1740:0.029411764705882353 1846:0.5 5353:1.0 5691:1.0 6507:1.0 6695:1.0
14 9:1.0 12:0.08333333333333333 15:1.0 22:2.0 31:0.2222222222222222 44:1.0 47:0.3333333333333333 50:0.5 52:0.05555555555555555 53:0.25 66:0.6666666666666666 75:0.5 91:1.0 110:0.2 111:1.0 126:2.0 128:0.5 215:0.06060606060606061 236:0.037037037037037035 240:0.3333333333333333 282:0.07692307692307693 348:0.5 358:1.0 390:1.0 450:0.03333333333333333 509:1.0 513:0.25 552:1.0 589:1.0 746:1.0 805:0.5 871:1.0 884:0.3333333333333333 1037:0.5 1114:0.5 1118:1.0 1296:1.0 1597:1.0 1729:1.0 2140:0.14285714285714285 2590:0.5 2610:1.0 2859:1.0 2885:1.0 3034:1.0 3244:1.0 3600:1.0 4026:1.0 4078:1.0 4382:1.0 5074:1.0 5294:1.0 5479:1.0 5592:1.0 6140:1.0 6332:0.5 6367:1.0 7289:1.0 7298:1.0
14 12:0.16666666666666666 22:2.0 41:1.0 53:0.25 59:0.25 60:1.0 66:0.3333333333333333 78:1.0 106:0.25 134:0.125 236:0.037037037037037035 237:0.2727272727272727 282:0.07692307692307693 323:0.5 432:1.0 450:0.06666666666666667 504:0.5 586:0.5 653:1.0 839:1.0 968:1.0 1114:0.5 1129:1.0 1657:1.0 1715:1.0 3352:1.0 3750:1.0 3788:2.0 5559:2.0 6114:1.0 6832:1.0 7156:1.0
14 7:0.3333333333333333 9:1.0 12:0.08333333333333333 18:0.6666666666666666 22:1.0 52:0.25 59:0.5 66:0.3333333333333333 102:0.25 105:0.3333333333333333 110:0.2 127:0.1111111111111111 136:1.0 165:0.5 185:0.3333333333333333 216:1.0 222:0.5 236:0.037037037037037035 284:1.0 348:0.5 404:0.5 450:0.03333333333333333 457:1.0 460:1.0 508:0.5 536:1.0 542:1.0 803:1.0 811:1.0 1176:1.0 1780:0.5 1896:1.0 1908:0.3333333333333333 3106:1.0 3141:1.0 5026:1.0 5504:1.0 5686:1.0 6030:1.0 6895:1.0 7148:1.0
14 7:0.3333333333333333 9:1.0 12:0.08333333333333333 14:0.5 15:1.0 31:0.1111111111111111 60:1.0 66:0.6666666666666666 67:1.0 110:0.1 126:1.0 127:0.1111111111111111 134:0.125 160:1.0 185:0.3333333333333333 215:0.030303030303030304 269:1.0 286:1.0 342:0.25 437:3.0 542:1.0 664:1.0 688:0.5 700:0.25 982:0.16666666666666666 1037:0.5 1091:1.0 1137:1.0 1731:1.0 1740:0.029411764705882353 1761:1.0 1919:1.0 1971:1.0 3614:1.0 4269:1.0 4280:1.0 4805:1.0 5260:1.0 5283:1.0 5439:1.0 6331:1.0 6416:1.0 7095:1.0
14 7:0.6666666666666666 11:0.25 12:0.16666666666666666 14:0.5 22:1.0 34:0.3333333333333333 59:0.5 60:1.0 66:0.6666666666666666 99:0.3333333333333333 135:0.5 179:1.0 185:0.3333333333333333 215:0.030303030303030304 236:0.037037037037037035 253:1.0 269:1.0 282:0.07692307692307693 345:0.25 390:1.0 437:1.0 450:0.03333333333333333 512:0.5 868:0.5 1025:0.2 1095:0.4 1114:0.5 1141:1.0 1249:1.0 1289:1.0 1729:1.0 1740:0.029411764705882353 2048:1.0 2128:1.0 2245:1.0 2250:1.0 2444:1.0 3104:1.0 3442:1.0 3650:1.0 5353:1.0 5439:1.0 5833:1.0 5891:1.0 6297:1.0 6515:1.0
14 7:1.0 9:2.0 12:0.16666666666666666 18:0.3333333333333333 22:1.0 55:0.5 59:0.25 66:1.0 75:0.5 78:1.0 99:1.3333333333333333 106:0.25 110:0.2 111:1.0 126:1.0 127:0.2222222222222222 128:0.5 136:1.0 178:1.0 215:0.030303030303030304 237:0.09090909090909091 279:0.3333333333333333 282:0.07692307692307693 284:1.0 286:1.0 310:1.0 394:1.0 450:0.06666666666666667 465:1.0 485:1.0 648:1.0 664:1.0 861:1.0 904:1.0 1056:1.0 1099:0.14285714285714285 1118:2.0 1212:1.0 1597:1.0 1603:1.0 1761:1.0 1948:1.0 2111:1.0 2274:1.0 2303:1.0 2465:1.0 2883:1.0 2976:2.0 3708:1.0 5347:1.0 6022:1.0 6105:1.0 6179:1.0 6277:1.0 6287:1.0 6628:1.0
14 7:0.3333333333333333 12:0.08333333333333333 31:0.1111111111111111 50:0.5 52:0.05555555555555555 60:1.0 66:0.6666666666666666 75:0.5 91:1.0 126:1.0 144:1.0 260:0.5 267:0.25 279:0.3333333333333333 323:0.5 437:1.0 589:1.0 692:1.0 699:1.0 700:0.25 745:1.0 811:1.0 827:1.0 1032:0.5 1183:1.0 1629:0.125 1740:0.029411764705882353 1946:1.0 2611:1.0 2778:1.0 3162:1.0 5353:1.0 5504:1.0 5556:1.0 6287:1.0 6288:1.0 6563:1.0 7064:1.0 7075:1.0
14 7:2.0 12:0.08333333333333333 18:0.6666666666666666 25:1.0 27:1.0 41:1.0 52:0.05555555555555555 53:0.25 60:1.0 66:0.3333333333333333 110:0.4 126:1.0 128:1.0 134:0.125 135:0.5 136:1.0 150:0.5 162:1.0 182:0.5 186:1.0 236:0.037037037037037035 298:1.0 328:0.5 414:0.3333333333333333 437:1.0 450:0.03333333333333333 508:0.5 1005:1.0 1118:1.0 1369:1.0 1740:0.029411764705882353 2306:1.0 2465:1.0 2651:1.0 2785:1.0 3142:1.0 4283:1.0 4381:1.0 5353:1.0 5508:1.0 5691:1.0 5693:1.0 6668:1.0
14 7:0.6666666666666666 9:1.0 11:0.25 14:0.5 22:1.0 27:1.0 31:0.2222222222222222 52:0.027777777777777776 58:1.0 66:0.3333333333333333 91:2.0 99:0.3333333333333333 105:0.3333333333333333 110:0.2 128:0.5 185:0.3333333333333333 215:0.030303030303030304 236:0.037037037037037035 275:0.16666666666666666 355:1.0 536:1.0 738:1.0 755:0.2222222222222222 783:1.0 823:1.0 878:1.0 884:0.3333333333333333 938:0.3333333333333333 1056:1.0 1095:0.2 1543:1.0 1620:1.0 1746:1.0 1760:1.0 2465:1.0 3650:1.0 3708:1.0 4026:1.0 5391:1.0 5504:1.0 5847:1.0 5874:1.0 5876:1.0 6426:1.0 6879:1.0 6942:1.0
14 7:1.0 9:1.0 11:0.5 12:0.08333333333333333 15:1.0 22:1.0 33:1.0 52:0.027777777777777776 53:0.25 59:0.25 110:0.2 126:1.0 282:0.07692307692307693 346:0.16666666666666666 390:1.0 450:0.06666666666666667 586:0.5 670:0.3333333333333333 1025:0.2 1033:0.2 1114:0.5 1137:1.0 1212:1.0 1834:1.0 1919:1.0 2945:1.0 3671:1.0 4147:1.0 5260:1.0 5324:1.0 5329:1.0 5504:1.0 7315:1.0
14 4:1.0 12:0.16666666666666666 22:2.0 52:0.05555555555555555 59:0.25 76:1.0 103:1.0 106:0.25 110:0.2 111:1.0 128:0.5 215:0.030303030303030304 336:1.0 450:0.03333333333333333 507:1.0 586:0.5 653:2.0 745:1.0 756:1.0 884:0.6666666666666666 1032:0.5 1099:0.14285714285714285 1114:0.5 1315:1.0 1456:1.0 1780:0.5 2265:0.25 2308:1.0 3232:1.0 3245:1.0 3601:1.0 4280:1.0 4354:1.0 5301:1.0 5364:1.0 5512:1.0 6356:1.0 6923:1.0
14 9:1.0 12:0.16666666666666666 15:2.0 16:0.3333333333333333 24:0.25 47:0.6666666666666666 50:0.5 59:0.25 75:0.5 86:1.0 106:0.25 110:0.1 126:1.0 165:1.0 179:1.0 236:0.037037037037037035 242:1.0 282:0.07692307692307693 406:0.5 572:1.0 783:1.0 1276:0.3333333333333333 1510:1.0 1600:2.0 1780:0.5 1827:1.0 2140:0.14285714285714285 2265:0.25 2855:1.0 4310:1.0 4650:1.0 4651:1.0 5504:1.0 5535:1.0 5923:1.0 6356:1.0
14 7:1.0 12:0.08333333333333333 15:1.0 22:2.0 40:0.2 47:0.3333333333333333 59:0.25 91:1.0 97:1.0 126:1.0 136:1.0 150:0.5 183:0.5 277:0.3333333333333333 394:1.0 406:0.5 448:1.0 781:1.0 828:1.0 1026:1.0 1150:1.0 1538:1.0 1600:2.0 1884:1.0 2336:1.0 2640:1.0 2992:1.0 3896:1.0 4310:1.0 5390:1.0 5408:1.0 5523:1.0 5876:1.0
14 4:1.0 7:0.3333333333333333 12:0.08333333333333333 33:1.0 47:0.3333333333333333 52:0.05555555555555555 53:0.25 59:0.5 66:0.3333333333333333 105:0.3333333333333333 126:1.0 165:0.5 179:1.0 183:0.5 277:0.3333333333333333 279:0.3333333333333333 286:1.0 448:1.0 450:0.1 653:1.0 884:0.3333333333333333 982:0.16666666666666666 1212:1.0 2128:1.0 2640:1.0 2980:1.0 2992:1.0 4354:1.0 4365:1.0 4483:1.0 5408:1.0 5475:1.0 5508:1.0 6356:1.0 6736:1.0
14 7:0.3333333333333333 27:1.0 31:0.1111111111111111 106:0.25 110:0.1 237:0.09090909090909091 279:0.3333333333333333 317:1.0 390:1.0 450:0.03333333333333333 516:0.16666666666666666 536:1.0 688:0.5 884:0.3333333333333333 961:1.0 982:0.16666666666666666 1099:0.14285714285714285 1118:1.0 1206:0.5 1540:1.0 1593:1.0 1715:1.0 2093:1.0 2688:0.2 2785:1.0 5328:1.0 5479:1.0 5704:1.0 5772:1.0 6126:1.0
14 7:0.6666666666666666 15:1.0 18:0.3333333333333333 41:3.0 50:0.5 58:1.0 59:0.25 60:1.0 66:0.6666666666666666 104:1.0 105:0.3333333333333333 215:0.030303030303030304 279:0.3333333333333333 281:2.0 282:0.07692307692307693 432:1.0 437:1.0 450:0.03333333333333333 513:0.25 542:1.0 618:2.0 622:0.5 755:0.1111111111111111 1025:0.2 1037:0.5 1223:1.0 1396:1.0 1425:1.0 1740:0.029411764705882353 3254:1.0 4851:1.0 5353:1.0 5387:1.0 5734:1.0 6297:1.0 6499:1.0
14 7:0.6666666666666666 12:0.16666666666666666 14:0.5 15:1.0 22:1.0 31:0.1111111111111111 41:2.0 55:0.5 58:2.0 105:0.3333333333333333 110:0.1 111:2.0 127:0.1111111111111111 236:0.07407407407407407 460:1.0 473:0.25 664:1.0 795:0.25 1033:0.4 1126:1.0 1491:1.0 2159:1.0 5277:0.14285714285714285 5287:1.0 5377:1.0 6315:1.0 6885:1.0
14 9:1.0 12:0.08333333333333333 15:1.0 31:0.2222222222222222 52:0.027777777777777776 53:0.25 67:1.0 91:1.0 111:1.0 127:0.1111111111111111 236:0.037037037037037035 267:0.25 286:1.0 348:0.5 1118:1.0 1137:1.0 1296:1.0 1919:1.0 1971:1.0 2140:0.14285714285714285 5260:1.0 5329:1.0 5341:1.0 5407:1.0 5535:1.0 6223:1.0 6330:1.0
14 12:0.08333333333333333 18:0.3333333333333333 31:0.2222222222222222 52:0.05555555555555555 53:0.25 66:0.3333333333333333 91:1.0 110:0.2 111:1.0 127:0.1111111111111111 134:0.125 236:0.07407407407407407 348:0.5 450:0.06666666666666667 586:0.5 839:1.0 968:1.0 1059:1.0 1296:1.0 1439:1.0 1780:0.5 2992:1.0 3705:1.0 3750:1.0 4871:1.0 5260:1.0 5328:1.0 6590:1.0 6750:1.0
14 7:0.3333333333333333 12:0.16666666666666666 18:0.3333333333333333 24:0.25 31:0.1111111111111111 52:0.027777777777777776 66:0.3333333333333333 99:0.3333333333333333 126:1.0 127:0.1111111111111111 215:0.030303030303030304 221:1.0 236:0.037037037037037035 282:0.15384615384615385 284:1.0 346:0.16666666666666666 348:0.5 388:1.0 450:0.03333333333333333 485:1.0 783:1.0 828:1.0 1137:1.0 1456:1.0 1780:0.5 1919:1.0 1971:1.0 2102:1.0 2140:0.14285714285714285 2465:1.0 3056:1.0 5260:1.0 5328:1.0 5329:1.0 5565:0.3333333333333333 6038:1.0 6105:1.0 6506:1.0 7017:1.0 7178:1.0
14 12:0.16666666666666666 15:1.0 18:0.3333333333333333 22:2.0 41:1.0 48:0.25 59:1.0 110:0.1 126:2.0 127:0.1111111111111111 165:0.5 236:0.037037037037037035 279:0.3333333333333333 284:2.0 297:2.0 348:1.0 437:1.0 450:0.03333333333333333 527:0.5 604:0.5 671:0.3333333333333333 783:2.0 884:1.3333333333333333 952:1.0 999:1.0 1163:1.0 1296:1.0 1780:0.5 2140:0.14285714285714285 2397:1.0 3659:1.0 4801:1.0 5151:1.0 5287:1.0 5387:1.0 5557:1.0 6272:1.0 6273:1.0
14 12:0.25 15:1.0 16:0.3333333333333333 18:0.3333333333333333 22:1.0 24:0.25 48:0.25 50:0.5 59:0.5 60:2.0 66:0.6666666666666666 126:1.0 127:0.1111111111111111 236:0.037037037037037035 284:2.0 348:1.0 437:2.0 513:0.25 527:0.5 586:0.5 619:1.0 783:1.0 853:1.0 952:1.0 999:1.0 1037:0.5 1099:0.14285714285714285 1163:1.0 1296:1.0 1740:0.029411764705882353 2024:1.0 2140:0.14285714285714285 2397:1.0 2976:1.0 3659:1.0 4801:1.0 5287:1.0 5353:1.0 6114:1.0 6652:1.0
14 7:0.3333333333333333 12:0.16666666666666666 14:0.5 15:1.0 16:0.3333333333333333 22:1.0 31:0.1111111111111111 55:0.5 60:1.0 75:0.5 110:0.1 126:2.0 127:0.1111111111111111 198:1.0 236:0.037037037037037035 260:0.5 269:1.0 284:1.0 450:0.03333333333333333 516:0.16666666666666666 692:1.0 783:1.0 1531:0.3333333333333333 2140:0.14285714285714285 2203:1.0 5287:1.0 5334:1.0 5357:1.0 5556:1.0 6963:1.0
14 18:0.3333333333333333 31:0.1111111111111111 47:0.3333333333333333 55:0.5 82:1.0 110:0.1 128:0.5 160:1.0 450:0.03333333333333333 842:1.0 952:1.0 1033:0.2 1206:0.5 1212:1.0 1780:0.5 2444:1.0 3048:1.0 5100:1.0 5572:1.0
14 7:0.3333333333333333 12:0.08333333333333333 18:0.3333333333333333 31:0.3333333333333333 53:0.25 59:0.25 70:0.1 106:0.25 126:1.0 293:1.0 397:0.5 473:0.25 586:0.5 654:1.0 670:0.3333333333333333 697:1.0 868:0.5 884:0.3333333333333333 1025:0.2 1060:1.0 1884:1.0 3424:1.0 3671:1.0 3682:1.0 4822:1.0 5305:1.0 5324:1.0 5493:1.0 5558:1.0 5765:1.0 6968:1.0
14 12:0.16666666666666666 15:1.0 16:0.3333333333333333 18:0.3333333333333333 48:0.25 50:0.5 55:0.5 105:0.3333333333333333 106:0.25 110:0.1 126:1.0 127:0.1111111111111111 441:1.0 795:0.25 812:1.0 1554:0.14285714285714285 2976:1.0 5277:0.14285714285714285 5321:1.0 5322:1.0 6507:1.0 6759:1.0
14 7:0.3333333333333333 9:1.0 12:0.08333333333333333 18:0.3333333333333333 24:0.25 47:0.3333333333333333 50:0.5 52:0.05555555555555555 59:0.75 60:1.0 66:0.3333333333333333 75:0.5 81:1.0 102:0.25 105:0.3333333333333333 110:0.1 165:0.5 216:1.0 282:0.07692307692307693 437:1.0 450:0.06666666666666667 455:1.0 616:0.2 1318:1.0 1540:1.0 1740:0.029411764705882353 2778:1.0 3141:1.0 4280:1.0 5277:0.14285714285714285 5321:1.0 5353:1.0 5431:1.0 5473:1.0 5958:1.0
14 7:0.3333333333333333 9:1.0 14:0.5 16:0.3333333333333333 22:1.0 31:0.1111111111111111 50:1.0 52:0.027777777777777776 53:0.25 55:0.5 59:0.25 99:0.3333333333333333 106:0.25 110:0.1 126:2.0 182:0.5 185:0.3333333333333333 215:0.030303030303030304 267:0.25 269:1.0 355:1.0 450:0.03333333333333333 576:1.0 697:1.0 706:1.0 795:0.25 811:1.0 883:1.0 1099:0.2857142857142857 1178:1.0 1517:1.0 1724:1.0 2193:1.0 2541:1.0 4805:1.0 5421:1.0 5995:1.0 7136:1.0
14 12:0.08333333333333333 60:2.0 66:0.6666666666666666 110:0.1 127:0.1111111111111111 128:0.5 437:2.0 1559:1.0 1740:0.029411764705882353 1780:0.5 1955:1.0 5282:1.0 5283:1.0 5324:1.0 5353:1.0 5429:1.0
14 12:0.08333333333333333 24:0.25 42:1.0 55:0.5 66:0.3333333333333333 99:0.3333333333333333 110:0.1 127:0.1111111111111111 128:0.5 158:1.0 236:0.037037037037037035 284:1.0 286:1.0 348:0.5 450:0.03333333333333333 589:1.0 1030:1.0 1095:0.2 1114:0.5 1212:1.0 1223:1.0 1439:1.0 1508:1.0 2590:0.5 5277:0.14285714285714285 5722:1.0 6218:1.0 6640:1.0
14 7:0.3333333333333333 9:1.0 12:0.16666666666666666 15:1.0 31:0.1111111111111111 55:0.5 59:0.5 78:1.0 110:0.1 127:0.1111111111111111 160:1.0 236:0.037037037037037035 268:1.0 282:0.07692307692307693 293:1.0 297:2.0 323:0.5 387:1.0 390:1.0 514:1.0 699:1.0 788:0.5 1125:1.0 2058:1.0 2178:1.0 2723:0.16666666666666666 2730:1.0 3342:1.0 3369:1.0 3463:1.0 5504:1.0 6934:2.0
14 3:0.5 16:0.3333333333333333 22:1.0 41:1.0 46:0.2857142857142857 50:0.5 52:0.027777777777777776 59:0.5 60:1.0 66:0.3333333333333333 99:0.3333333333333333 126:1.0 165:0.5 221:1.0 236:0.037037037037037035 237:0.09090909090909091 297:2.0 387:1.0 437:1.0 450:0.03333333333333333 473:0.25 558:1.0 661:0.3333333333333333 828:1.0 964:0.058823529411764705 1099:0.14285714285714285 1429:1.0 1740:0.029411764705882353 2379:1.0 2723:0.16666666666666666 5353:1.0 5557:1.0 5844:1.0 6848:1.0 6934:1.0 7244:1.0
14 3:0.5 7:0.3333333333333333 12:0.08333333333333333 31:0.1111111111111111 50:0.5 59:0.75 81:1.0 165:0.5 279:0.3333333333333333 282:0.07692307692307693 297:1.0 473:0.25 550:0.3333333333333333 589:1.0 1033:0.2 1121:0.07692307692307693 2265:0.25 2981:1.0 3916:0.5 5277:0.14285714285714285 5559:1.0 5905:1.0 6537:1.0 7230:1.0
14 7:0.3333333333333333 9:3.0 22:2.0 31:0.1111111111111111 50:0.5 104:1.0 110:0.1 126:1.0 189:1.0 284:1.0 328:0.5 348:0.5 450:0.03333333333333333 512:0.5 516:0.16666666666666666 586:0.5 589:1.0 616:0.2 957:1.0 999:1.0 1060:1.0 1143:1.0 1256:1.0 2140:0.14285714285714285 2766:1.0 2973:1.0 4717:0.25 5287:1.0 5301:1.0 5508:1.0 5535:1.0 5875:0.2 6126:1.0
14 9:1.0 12:0.08333333333333333 22:2.0 31:0.1111111111111111 41:1.0 47:0.3333333333333333 50:0.5 58:1.0 59:0.5 75:0.5 82:1.0 126:1.0 136:1.0 165:0.5 267:0.25 282:0.07692307692307693 328:0.5 348:0.5 450:0.03333333333333333 586:0.5 943:1.0 1060:1.0 1143:1.0 1341:1.0 2778:1.0 3141:1.0 3154:0.5 4280:1.0 4821:1.0 4822:1.0 5277:0.14285714285714285 5279:1.0 5287:1.0 5324:1.0
14 7:0.6666666666666666 12:0.25 14:0.5 52:0.027777777777777776 53:0.25 66:0.3333333333333333 110:0.1 134:0.125 153:1.0 267:0.25 282:0.07692307692307693 450:0.03333333333333333 586:0.5 622:0.5 839:1.0 938:0.3333333333333333 968:1.0 1143:1.0 1554:0.14285714285714285 1780:0.5 2033:1.0 3750:1.0 3788:1.0 5287:1.0 6042:1.0 6695:1.0
14 9:1.0 12:0.16666666666666666 15:1.0 16:0.3333333333333333 50:0.5 59:0.25 60:1.0 66:0.3333333333333333 105:0.3333333333333333 110:0.2 127:0.1111111111111111 128:0.5 286:1.0 437:1.0 450:0.03333333333333333 473:0.25 516:0.16666666666666666 589:1.0 818:1.0 1060:1.0 1099:0.14285714285714285 1121:0.07692307692307693 1464:1.0 1740:0.029411764705882353 2259:1.0 5324:1.0 5353:1.0 5908:1.0 6102:1.0 6376:1.0 6652:1.0
14 7:0.6666666666666666 9:1.0 12:0.08333333333333333 24:0.25 41:2.0 50:0.5 52:0.027777777777777776 59:0.25 60:1.0 66:1.0 117:1.0 127:0.1111111111111111 282:0.07692307692307693 346:0.16666666666666666 437:1.0 450:0.06666666666666667 523:1.0 589:1.0 664:1.0 964:0.058823529411764705 967:1.0 1032:0.5 1037:0.5 1740:0.029411764705882353 2556:1.0 3359:1.0 3415:1.0 3765:1.0 4382:1.0 5277:0.14285714285714285 5333:1.0 5353:1.0 5354:1.0 5676:1.0
14 7:0.3333333333333333 9:1.0 11:0.25 12:0.16666666666666666 16:0.3333333333333333 22:2.0 50:0.5 59:0.5 65:1.0 66:1.0 99:0.3333333333333333 102:0.25 126:1.0 158:1.0 191:1.0 215:0.030303030303030304 236:0.037037037037037035 282:0.15384615384615385 284:1.0 355:1.0 508:0.5 619:1.0 982:0.16666666666666666 1037:0.5 1095:0.2 1114:0.5 1206:0.5 1746:1.0 1761:1.0 1780:0.5 2048:1.0 2533:1.0 2590:0.5 2634:1.0 3519:1.0 3615:1.0 5277:0.14285714285714285 5939:1.0 6042:1.0 6324:1.0 6590:1.0 6628:1.0 6912:1.0
14 7:0.3333333333333333 12:0.16666666666666666 18:0.3333333333333333 22:2.0 27:1.0 31:0.2222222222222222 50:0.5 53:0.5 59:0.25 66:0.3333333333333333 78:1.0 88:0.3333333333333333 99:0.3333333333333333 110:0.2 126:2.0 215:0.030303030303030304 237:0.09090909090909091 267:0.25 282:0.07692307692307693 286:1.0 450:0.13333333333333333 465:1.0 508:0.5 516:0.16666666666666666 586:0.5 805:0.5 943:1.0 1099:0.14285714285714285 1581:1.0 2086:1.0 2140:0.14285714285714285 2582:1.0 3659:1.0 4026:1.0 5068:1.0 5277:0.14285714285714285 6278:1.0 6652:1.0 6759:1.0 7217:1.0
14 7:0.6666666666666666 12:0.08333333333333333 15:1.0 18:0.3333333333333333 22:1.0 27:1.0 31:0.1111111111111111 52:0.027777777777777776 66:0.3333333333333333 104:1.0 158:1.0 215:0.030303030303030304 236:0.037037037037037035 282:0.07692307692307693 328:0.5 348:0.5 388:1.0 508:0.5 516:0.16666666666666666 582:1.0 589:1.0 604:0.5 783:1.0 1095:0.2 1118:1.0 1296:1.0 1543:1.0 2140:0.14285714285714285 2297:1.0 2539:0.3333333333333333 2634:1.0 3348:1.0 4026:1.0 5287:1.0 5328:1.0 5704:1.0
14 12:0.08333333333333333 31:0.1111111111111111 59:0.25 75:0.5 78:1.0 99:0.3333333333333333 110:0.2 111:1.0 135:0.5 136:1.0 165:0.5 237:0.09090909090909091 279:0.3333333333333333 348:0.5 450:0.03333333333333333 465:1.0 550:0.3333333333333333 853:1.0 960:1.0 964:0.058823529411764705 1099:0.14285714285714285 1144:1.0 1296:1.0 1846:0.5 3367:0.3333333333333333 5331:1.0 6200:1.0 6270:1.0 6278:1.0 6446:1.0
14 7:0.3333333333333333 12:0.16666666666666666 15:1.0 18:0.3333333333333333 31:0.1111111111111111 41:1.0 50:0.5 52:0.027777777777777776 58:1.0 99:0.6666666666666666 110:0.1 111:1.0 127:0.3333333333333333 178:1.0 189:1.0 236:0.037037037037037035 243:1.0 282:0.07692307692307693 348:0.5 536:1.0 788:0.5 1125:1.0 1256:1.0 1296:1.0 1508:1.0 1543:1.0 1554:0.14285714285714285 1581:1.0 1757:0.5 2688:0.2 3600:1.0 5121:1.0 5142:1.0 5334:1.0 5441:1.0 5834:1.0 5970:1.0 5997:1.0 6274:0.5 6589:1.0
14 7:0.3333333333333333 27:1.0 31:0.1111111111111111 50:0.5 59:0.25 60:1.0 66:0.3333333333333333 135:0.5 279:0.3333333333333333 390:1.0 437:1.0 450:0.03333333333333333 523:1.0 586:0.5 688:0.5 982:0.16666666666666666 1212:1.0 1543:1.0 1740:0.029411764705882353 1771:1.0 2033:1.0 5353:1.0 5382:1.0 5479:1.0 5480:1.0 5481:1.0 5619:1.0 5702:1.0 5816:1.0 6854:1.0
14 7:1.0 12:0.08333333333333333 15:1.0 16:0.3333333333333333 18:0.3333333333333333 31:0.1111111111111111 41:1.0 50:0.5 52:0.027777777777777776 58:1.0 59:0.5 99:0.3333333333333333 126:1.0 127:0.3333333333333333 128:0.5 267:0.25 284:1.0 295:1.0 328:0.5 355:1.0 362:1.0 450:0.03333333333333333 558:1.0 731:1.0 735:0.5 788:0.5 805:0.5 823:1.0 1554:0.14285714285714285 2622:1.0 2723:0.16666666666666666 3361:1.0 5287:2.0 5508:1.0 5572:1.0 5995:1.0 5997:1.0 6277:1.0 6939:1.0
14 7:0.3333333333333333 12:0.08333333333333333 40:0.2 41:1.0 47:0.3333333333333333 48:0.25 50:1.0 52:0.027777777777777776 53:0.5 59:0.75 66:0.6666666666666666 110:0.1 127:0.1111111111111111 134:0.125 150:0.5 191:1.0 236:0.037037037037037035 269:1.0 277:0.3333333333333333 281:1.0 282:0.15384615384615385 320:1.0 346:0.16666666666666666 388:1.0 408:1.0 450:0.1 508:0.5 586:0.5 671:0.3333333333333333 688:0.5 783:1.0 870:1.0 982:0.3333333333333333 1037:0.5 1129:1.0 1137:1.0 1206:0.5 1296:1.0 1886:1.0 1919:1.0 2140:0.14285714285714285 2178:1.0 3062:1.0 3741:0.5 4831:1.0 5277:0.14285714285714285 5279:1.0 5295:1.0 5329:1.0 5379:1.0 6274:0.5 6429:1.0 6652:1.0 6668:1.0
14 7:0.3333333333333333 12:0.25 14:0.5 15:1.0 22:1.0 31:0.2222222222222222 50:0.5 52:0.027777777777777776 59:0.25 60:1.0 66:0.3333333333333333 110:0.1 215:0.030303030303030304 269:1.0 282:0.07692307692307693 328:0.5 437:1.0 450:0.03333333333333333 495:1.0 509:1.0 590:1.0 735:0.5 852:1.0 923:1.0 1025:0.2 1206:0.5 1581:1.0 1715:1.0 1740:0.029411764705882353 2801:1.0 2905:1.0 5278:0.125 5292:1.0 5353:1.0 5382:1.0 5429:1.0
14 9:3.0 12:0.16666666666666666 22:1.0 24:0.25 50:0.5 53:0.25 59:0.5 66:0.6666666666666666 91:1.0 99:0.3333333333333333 134:0.125 268:1.0 275:0.16666666666666666 330:1.0 450:0.06666666666666667 455:1.0 586:0.5 781:1.0 839:1.0 943:1.0 964:0.058823529411764705 968:1.0 1037:0.5 1062:1.0 1099:0.14285714285714285 1121:0.07692307692307693 1223:1.0 3336:1.0 3747:0.5 3750:1.0 3788:1.0 5277:0.14285714285714285 5278:0.125 6458:1.0
14 7:0.3333333333333333 12:0.25 22:2.0 31:0.2222222222222222 50:0.5 52:0.027777777777777776 55:0.5 76:1.0 99:0.3333333333333333 106:0.25 110:0.2 111:1.0 126:1.0 127:0.1111111111111111 128:0.5 136:1.0 236:0.07407407407407407 279:0.3333333333333333 284:1.0 355:1.0 397:0.5 450:0.1 712:1.0 735:0.5 823:1.0 952:1.0 953:1.0 1099:0.2857142857142857 1146:1.0 1206:0.5 1537:1.0 2140:0.14285714285714285 2474:1.0 2556:1.0 2657:1.0 3765:1.0 5100:1.0 5277:0.14285714285714285 6434:1.0
14 7:0.3333333333333333 12:0.08333333333333333 15:2.0 22:1.0 33:1.0 41:1.0 50:0.5 59:0.5 60:1.0 66:0.3333333333333333 110:0.3 128:1.0 236:0.037037037037037035 237:0.09090909090909091 267:0.25 279:0.3333333333333333 282:0.07692307692307693 437:1.0 450:0.03333333333333333 688:0.5 1111:1.0 1139:1.0 1296:1.0 1740:0.029411764705882353 1780:1.0 1971:1.0 2111:1.0 2582:1.0 2608:1.0 3747:0.5 3926:1.0 4977:1.0 5284:1.0 5287:2.0 5307:1.0 5353:1.0 5602:1.0
14 7:0.6666666666666666 9:1.0 12:0.08333333333333333 22:1.0 50:0.5 52:0.08333333333333333 53:0.5 99:0.3333333333333333 110:0.1 126:1.0 127:0.1111111111111111 128:1.0 153:1.0 155:0.25 160:1.0 178:1.0 236:0.037037037037037035 267:0.25 282:0.23076923076923078 295:1.0 355:1.0 450:0.03333333333333333 664:1.0 688:0.5 746:1.0 777:1.0 823:1.0 982:0.16666666666666666 1037:0.5 1059:1.0 1111:1.0 1114:0.5 1212:1.0 1296:1.0 1510:1.0 2895:1.0 5277:0.14285714285714285 5326:1.0 5327:1.0 5548:1.0 6302:1.0 6312:1.0 6599:1.0 7059:1.0
14 7:0.3333333333333333 9:1.0 15:1.0 41:1.0 50:0.5 78:1.0 126:1.0 236:0.037037037037037035 282:0.07692307692307693 346:0.16666666666666666 355:1.0 455:2.0 589:1.0 783:1.0 823:1.0 1033:0.2 1099:0.14285714285714285 1121:0.07692307692307693 1251:1.0 1603:1.0 1715:1.0 2764:1.0 4591:1.0 5278:0.25 5331:1.0 5363:1.0
14 7:0.3333333333333333 9:1.0 11:0.25 12:0.16666666666666666 15:1.0 18:0.3333333333333333 22:1.0 66:0.6666666666666666 91:1.0 126:1.0 215:0.06060606060606061 388:1.0 397:0.5 406:0.5 450:0.03333333333333333 508:0.5 516:0.16666666666666666 604:0.5 760:1.0 809:1.0 884:0.6666666666666666 1025:0.2 1118:1.0 1212:1.0 1600:2.0 1761:1.0 2444:1.0 2556:1.0 3765:1.0 3800:0.5 4474:1.0 4602:1.0 5111:1.0 5504:1.0 5694:1.0 5943:1.0
14 7:0.6666666666666666 12:0.08333333333333333 15:1.0 31:0.1111111111111111 41:1.0 59:0.25 66:0.6666666666666666 110:0.1 111:1.0 117:1.0 127:0.1111111111111111 128:0.5 236:0.037037037037037035 260:0.5 277:0.3333333333333333 282:0.07692307692307693 346:0.16666666666666666 362:1.0 388:1.0 664:2.0 700:0.25 884:0.3333333333333333 1025:0.2 1037:0.5 1111:1.0 1296:1.0 1668:1.0 2140:0.14285714285714285 3385:1.0 3534:1.0 4602:1.0 5277:0.14285714285714285 5379:1.0 5504:1.0 5551:1.0 5943:1.0
14 7:0.3333333333333333 9:1.0 15:2.0 18:0.3333333333333333 22:1.0 33:1.0 50:0.5 59:0.75 110:0.5 126:1.0 128:1.0 160:1.0 236:0.14814814814814814 282:0.07692307692307693 362:1.0 445:1.0 450:0.06666666666666667 760:1.0 762:1.0 1099:0.14285714285714285 1121:0.07692307692307693 1181:1.0 1746:1.0 2002:0.3333333333333333 2265:0.25 2388:1.0 2590:0.5 2896:1.0 3934:1.0 5100:1.0 5278:0.125 5411:1.0 6669:1.0 7046:1.0
14 7:0.3333333333333333 9:2.0 11:0.25 22:2.0 31:0.1111111111111111 47:0.3333333333333333 50:0.5 52:0.027777777777777776 59:0.5 75:1.0 91:1.0 97:1.0 105:0.3333333333333333 110:0.2 133:1.0 135:0.5 165:0.5 183:0.5 236:0.037037037037037035 275:0.16666666666666666 355:1.0 362:1.0 388:1.0 390:1.0 508:0.5 523:1.0 550:0.3333333333333333 657:1.0 687:0.5 823:1.0 884:0.3333333333333333 960:1.0 964:0.058823529411764705 1099:0.14285714285714285 1192:0.5 2244:1.0 3085:1.0 5136:1.0 5277:0.14285714285714285 5287:1.0 5323:1.0 5379:1.0 5380:1.0 5816:1.0 5876:1.0 6126:1.0
14 9:1.0 12:0.08333333333333333 16:0.3333333333333333 18:0.6666666666666666 31:0.1111111111111111 52:0.05555555555555555 59:0.25 66:1.0 75:0.5 99:0.3333333333333333 106:0.25 236:0.037037037037037035 282:0.15384615384615385 317:1.0 346:0.16666666666666666 388:1.0 450:0.06666666666666667 664:1.0 735:0.5 803:1.0 1037:0.5 1114:0.5 1359:1.0 1540:1.0 1603:1.0 2657:1.0 5121:1.0 5282:1.0 5287:1.0 5288:1.0 5291:1.0 6126:1.0
|
9f8e52d10e9980fbe4563295e6b37231970c629e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.35/Chapter1_Example35.sce | 6083511923d71124748cf79e0f586172b94ae31b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 953 | sce | Chapter1_Example35.sce | //Chapter-1, Example 1.21, Page 1.49
//=============================================================================
clc
clear
//INPUT DATA
N1=1500;//Initial speed in rpm
V1=270;//Terminal voltage in V
T=300;//Full load torque in N.m
N2=1200;//New speed in rpm
V2=(2*V1);//New terminal voltage in V
Ra=0.31;//Armature resistance in ohm
//CALCULATIONS
Ia=(T*2*3.14*N1)/(V1*60);//Full load current in A
Eb=(V1*(N2/N1));//Back emf in V
Pm=(Eb*Ia)/1000;//Mechanical power developed in kW
Eb2=(V2-(Ia*Ra));//Back emf at new terminal volatge in V
N=(Eb2*Ia*60)/(2*3.14*T);//New speed in rpm
Pm2=(Eb2*Ia/1000);//Mechanical power in kW
//OUTPUT
mprintf('i)Full load current is %3.1f A, Full load power is %3.1f kW, Armature resistance is %3.2f ohm\nii)New motor torque is %3.0f N.m, Motor power is %3.1f kW, Motor speed is %3.0f rpm',Ia,Pm,Ra,T,Pm2,N)
//=================================END OF PROGRAM==============================
|
1f98642ae4b027ee43f00970c362bb025936c002 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/C45-C/results/C45-C.led7digit-10-1tra/result2.tst | 90f61e5b79863844d2b505315eed0624c3f86840 | [] | 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 | 535 | tst | result2.tst | @relation led7digit
@attribute Led1 real[0.0,1.0]
@attribute Led2 real[0.0,1.0]
@attribute Led3 real[0.0,1.0]
@attribute Led4 real[0.0,1.0]
@attribute Led5 real[0.0,1.0]
@attribute Led6 real[0.0,1.0]
@attribute Led7 real[0.0,1.0]
@attribute number{0,1,2,3,4,5,6,7,8,9}
@inputs Led1,Led2,Led3,Led4,Led5,Led6,Led7
@outputs number
@data
0 0
5 5
5 3
6 6
7 1
5 2
7 7
7 3
8 8
0 0
0 0
3 3
3 8
5 5
5 5
6 6
7 7
0 0
1 1
3 9
4 4
4 4
8 3
8 8
2 2
2 2
4 4
7 7
8 2
9 9
9 9
1 1
3 3
3 3
4 4
9 9
1 7
4 4
6 6
9 4
0 0
3 3
4 4
6 6
6 0
8 8
2 2
3 3
3 9
9 9
|
22463e9f6fbfff60cf063bbbe6b2ea24e2023756 | cfac21260a4737c49982a78160361703914dac1f | /sem1/old_src/Программы и so on/lab_5/Segway/plot_normal.sce | b34afc72f8e88f9a289191e1404040c07c50307c | [] | no_license | Zenkin/courses | 680442fa57bc3b1c872e15e9bc7e98b579bfd39e | b0b0aafe0c358a611868fd764a2ad1cb71078d8d | refs/heads/master | 2020-03-23T22:19:20.542398 | 2018-07-24T13:55:20 | 2018-07-24T13:55:20 | 139,969,727 | 0 | 0 | null | 2018-07-06T10:19:48 | 2018-07-06T10:19:47 | null | UTF-8 | Scilab | false | false | 673 | sce | plot_normal.sce | kolor = 1
importXcosDiagram("/home/evgeniy/Рабочий стол/СКБ/Введение в специальность/Новое/Segway/cart_3.zcos");
xcos_simulate(scs_m, 4);
subplot(3,2,1);
xtitle("Угол Segway");
plot2d(psi.time, 180/%pi*psi.values,[kolor]);
subplot(3,2,3);
xtitle("Угол колес");
plot2d(dtheta.time, 180/%pi*theta.values,[kolor]);
subplot(3,2,2);
xtitle("Скорость падения");
plot2d(dpsi.time, 180/%pi*dpsi.values,[kolor]);
subplot(3,2,5);
xtitle("Напряжение в В");
plot2d(napr.time, napr.values,[kolor]);
subplot(3,2,4);
xtitle("Скорость колес");
plot2d(dpsi.time, 180/%pi*dtheta.values,[kolor]);
|
df532071aeddbed6feb6e3bcef7d853d4d81dc23 | 31cfd6fac62ce1e0f8bb81f96db3978b301d4fd2 | /Equações Diferencias/Runge Kutta/RungeKutta.sci | 71a5de34a4dceab265fec725fad659ad94990702 | [] | no_license | PierreVieira/Scilab_Programs | 2205084b7356cf9ab68e8b04525e55fd7e29636c | 63d717f04db929c81dc1ff7fa9eb886f3c6b6a8c | refs/heads/master | 2020-09-09T00:59:34.924700 | 2020-03-17T18:46:50 | 2020-03-17T18:46:50 | 221,296,397 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sci | RungeKutta.sci | function [VetX, VetY] = RungeKutta (a, b, m, yO)
//Abscissas e solução do do PVI
h = (b-a)/m
xt = a
yt = yO
VetX(1) = xt
VetY(1) = yt
printf("0\t%f\t%f\n", xt, yt)
for i = 1:m do
x = xt
y = yt
k1 = f(x,y)//Avaliar f(x, y)
x = xt + h/2
y = yt +h/2*k1
k2 = f(x, y)//Avaliar f(x, y)
y = yt + h/2*k2
k3 = f(x, y)//Avaliar f(x, y)
x = xt + h
y = yt + h*k3
k4 = f(x,y)//Avaliar f(x, y)
xt = a + i*h
yt = yt + h/6*(k1+2*(k2+k3)+k4)
printf("%d\t%f\t%f\n", i, xt, yt)
VetX(i+1) = xt
VetY(i+1) = yt
end
endfunction
|
f29bf50dbad24e2e37332d46162b108978c057ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH8/EX8.3/Ex8_3.sce | a9c999760952522ca556c46a0d96c5d7075e2c6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,153 | sce | Ex8_3.sce | //Ex8_3
clc
RL = 8*10^3
Rs= 500
hie=1.0*10^3
hre=2.5*10^-4
hfe=50
hoe=25*10^-6
disp("RL = "+string(RL)+"ohm")//load resistance
disp("Rs = "+string(Rs)+"ohm")//source resistance
//h-parameters for CE transistor amplifier are as follows:
disp("hie = "+string(hie)+"ohm")//input resistance of CE transistor
disp("hre = "+string(hre))//voltage gain of CE transistor
disp("hfe = "+string(hfe))//current gain of CE transistor
disp("hoe = "+string(hoe)+"mho")//output conductance of CE transistor
Ai=-hfe/(1+(hoe*RL))
disp("Ai = -hfe/(1+(hoe*RL)) = "+string(Ai))//calculation for current gain
Ri = hie+(hre*Ai*RL)
disp("Ri = hie+(hre*Ai*RL) = "+string(Ri)+"ohm")//calculation for input resistance
Ais=(Ai*Rs)/(Ri+Rs)
disp("Ais = (Ai*Rs)/(Ri+Rs)= "+string(Ais))//current gain with source resistance
Avs = Ai*RL/Ri
disp("Avs = Ai*RL/Ri = "+string(Avs))//voltage gain with source resistance
//note : in the textbook above problem has given two values for hie BUT no value for hfe ...
// thus assuming hie=50 as hfe =50, as given in the previous example 8_2
//note : answer in the textbook is not accuratly calculated.
|
cd649103ff8c8aa7a2968550950a1af43d0101d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH3/EX3.7/Exa3_7.sce | 849f4496878682be06c183cdd3de5c21e37a87eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | Exa3_7.sce | //Exa3_7
clc;
clear;
close;
//given data is :
A1=4000;//in rupees
G=500;//in rupees
n=10;//in years
i=15;//% per annum
A=A1+G*(((1+i/100)^n-(i/100)*n-1)/((i/100)*(1+i/100)^n-(i/100)));
F=A*(((1+i/100)^n-1)/(i/100));
disp("At the end of 10th year, the compound amountr of all his payments will be : "+string(F)+" Rupees."); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.