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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
189559cde686aca47d4e78dc14da07f1cf97fdec | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH5/EX5.7.a/data5_7.sci | 5a7168ab0f4d2ba2edfc4a793816deeed7f03014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sci | data5_7.sci |
//(Design against Fluctuating Load) Example 5.7
//Ultimate tensile strength of 40C8 Sut (N/mm2)
Sut = 600
//Minimum value of N is Nmin
Nmin = (10^3)
//Maximum value of N is Nmax
Nmax = (10^6)
//Reversed bending stress acting on the bar Sf (N/mm2)
Sf = 250
//Diameter of the bar d (mm)
d = 50
//Reliability (%)
reliability = 90
//Operation
//Nomenclature:
//1 - Ground
//2 - Machined or cold drawn
//3 - Hot-rolled
//4 - Forged
op = 4
|
788572a11b48f6ba5266eea4c1e23b2cb34345f7 | 5b649d124ac1b442719c325922aad771d704f1ab | /TruthDataMain.sci | cbbafef7f0d72ce87f3054b47e8452066ff6e2fb | [] | no_license | Tornado128/TruthDataProcessing | 51522237dce4e8b598834d4f562af78ecc5e1a5d | a7b183028dfca9d82c83c6296b2b7d8f2149aa3b | refs/heads/master | 2022-10-28T12:32:49.920231 | 2020-06-13T18:35:02 | 2020-06-13T18:35:02 | 272,065,521 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,102 | sci | TruthDataMain.sci | clc
clear
cd C:\Users\ybozorgi.NEOTEKENERGYDAL\Desktop\Yaser\codes\TruthData
M = read_csv("WeeklyReport 12-20-16.csv");
exec('C:\Users\ybozorgi.NEOTEKENERGYDAL\Desktop\Yaser\codes\TruthData\TruthDataAnalysis\TruthData.sci', -1)
M = TruthData(M); //parsing and organizing the data
s=size(M);
StartDAYY=M(1,3); StartTIMEE=M(1,4)
StopDAYY=M(s(1),6); StopTIMEE=M(s(1),7)
//start=strcat([StartDAYY ' ' StartTIMEE]);
start=strcat([StartDAYY+' '+StartTIMEE]);
//stop=strcat([StopDAYY ' ' StopTIMEE]);
stop=strcat([StopDAYY+' '+StopTIMEE]);
exec('C:\Users\ybozorgi.NEOTEKENERGYDAL\Desktop\Yaser\codes\TruthData\TruthDataAnalysis\ParseWFADate.sci', -1)
on= ParseWFADate(start);
initialTime=on;
off = ParseWFADate(stop);
elapsedDAY=abs(etime(on,off))/60/60/24; //based on truth data
for i=1:1:s(1)
StartDAY(i)=M(i,3); StartTIME(i)=M(i,4)
StopDAY(i)=M(i,6); StopTIME(i)=M(i,7)
//start=strcat([StartDAY(i) ' ' StartTIME(i)]);
start=strcat([StartDAY+' '+StartTIME]);
//stop=strcat([StopDAY(i) ' ' StopTIME(i)]);
stop=strcat([StopDAY+' '+StopTIME]);
on= ParseWFADate(start);
off = ParseWFADate(stop);
dur(i)=etime(off,initialTime)/60/60/24; //startime is based on traces (it is one number) //on is beased on truth data
x(i)=dur(i)
oil(i)=strtod(M(i,11)); water(i)=strtod(M(i,12)); gas(i)=strtod(M(i,13))
end
PP=tabul(M(:,2));
Wells=PP(1); //tabulate all the wells
FrequencyOfWells=PP(2); //how many times each well is repeated
L=size(PP(2)); //number of wells
for i=1:1:L(1)
J=grep(M(:,2),Wells(i));
S(i,1:1:FrequencyOfWells(i))=J;
end
j=0
for i=1:1:L(1)
for k=1:1:max(PP(2))
if (S(i,k) ~=0) then
j=j+1;
N(1,j) = S(i,k); //organizing the ID of wells in order
end
end
end
x=0
for i=1:1:L(1)
x=FrequencyOfWells(i)+x
X(i)=x;
end
disp ("Number of Wells is: ")
disp( L(1))
plot(1:1:j,(oil(N)./(oil(N)+water(N)))','-o')
title('Oil Fraction in Liquid');
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(oil(N)./(oil(N)+water(N)))]','k-.')
scf()
plot(1:1:j,(oil(N)./(1000*.178*gas(N)+oil(N)+water(N)))','-o')
title('Oil Fraction in Total')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(oil(N)./(1000*.178*gas(N)+oil(N)+water(N)))]','k-.')
scf()
plot(1:1:j,(oil(N)+water(N))','-o')
title('Total Liquid Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(oil(N)+water(N))]','k-.')
scf()
plot(1:1:j,oil(N)','-o')
title('Oil Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(oil(N))]','k-.')
scf()
plot(1:1:j,water(N)','-o')
title('Water Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(water(N))]','k-.')
//plot([10 10]', [-100 100000]','k-.')
scf()
plot(1:1:j,gas(N)','-o')
title('gas Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 max(gas(N))]','k-.')
scf()
plot(1:1:j,(gas(N)./oil(N))','-o')
title('gas/oil Production')
a=get("current_axes")//get the handle of the newly created axes
a.axes_visible="on"; // makes the axes visible
a.font_size=4; //set the tics label font size
plot([X X]', [0 200]','k-.')
|
76a0533f60a1cf3dca42c2e04bd018865dfdc9e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH7/EX7.5/7_5.sce | 65ec0c54a88bc5ac6a3c473bd7d1c614860de0c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | 7_5.sce | Vo = 8.4;
Vh = 14;
n1 = Vo/22.4; n2 = Vh/22.4;
R = 8.31;
x1 = n1/(n1+n2);
x2 = n2/(n1+n2);
S = -R*(n1*log(x1)+n2*log(x2));
disp("J/K",S,"Entropy change for the process is") |
07619c4f06d7f3928ca1a5d31e8779953875db9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH3/EX3.6/Ex3_6.sce | 3e2c5adf1ea21aab5c047d94bf6f01b9b71a0ce1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex3_6.sce | //Caption:Determine point of attachment & length of stub.
//Exa 3.6
clc;
clear;
close;
Z_l=100;//in ohms
Z_o=600;//in ohms
f=100*10^6;//in Hz
wl=(3*10^8)/f;
//Position of stub is :
m=((Z_l*Z_o)/(Z_l-Z_o))^0.5;
pos={wl/(2*%pi)}*atan((Z_l/Z_o)^0.5);//in meters
l={wl/(2*%pi)}*{atan(m)};//in meters
disp(pos,"Position of stub (in meters) =");
disp(abs(l),"Length of stub (in meters) ="); |
df3caf0d8343c7b2f50ddba13f51e1aeacb51705 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH9/EX9.8/9Ex8.sce | cdd181afbc37f5c371ab1fd9849bf43933fa1cea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | 9Ex8.sce | //Chapter 9 Ex 8
clc;
clear;
close;
n=1; //assuming
expr=((243^(n/5))*(3^(2*n+1)))/((9^n)*(3^(n-1)));
mprintf("The value of expression is %d",expr);
|
07c9023dc6435fb8dbfba08843e173fb1ff9cefb | 2c2dc93267283e4aebcffffd5bd76e19ddcf5cc7 | /output/KNN/ProbresultadoKNN.tst | d082ade4c99992c18e0987b0e6ff3b71e7efc057 | [] | no_license | joseangeldiazg/probabilistic_keel | c9cf4ddc2cf750cbbeca88e6f84218084892ae1f | 6c5ddf8c98cc7431d523b291e521d1e8607dc662 | refs/heads/master | 2020-05-21T12:26:41.754863 | 2017-01-08T10:29:44 | 2017-01-08T10:29:44 | 55,733,275 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | tst | ProbresultadoKNN.tst | Probabilistic Output.
Iris-setosa,Iris-versicolor,Iris-virginica,
1.0, 0.0, 0.0,
1.0, 0.0, 0.0,
1.0, 0.0, 0.0,
1.0, 0.0, 0.0,
1.0, 0.0, 0.0,
0.0, 0.8, 0.2,
0.0, 1.0, 0.0,
0.0, 1.0, 0.0,
0.0, 1.0, 0.0,
0.0, 1.0, 0.0,
0.0, 0.2, 0.8,
0.0, 0.0, 1.0,
0.0, 0.8, 0.2,
0.0, 0.0, 1.0,
0.0, 0.2, 0.8,
|
caba5a812f493144d46b743d1163c41b287e17c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH1/EX1.9.b/Example1_9_b.sce | 544028e514ca1d57bd396270f2687580477b01e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,169 | sce | Example1_9_b.sce | //Example 1.9(b)
clear;
clc;
rd=2*10^6;//Input Resistance
ro=75;//Output Resistance
a=200*10^3;//Open loop Gain
printf("Note (as mentioned in the book): Because of much larger value, we simply ignore the exact calculations and use only the approximations.");
//R12=infinity
R2=0;
//b2=R12/(R12+R22) (Feedback Factor)will be equal to 1 as R12 tends to infinity and R22 is 0
b=1;//Feedback Factor
T=a*b;//reteurn ratio or loop gain
//Aapprox=(1+(R22/R12))*(1/(1+(1/T2)))(Approximate Gain) but R22/R12=0
Trec=1/T;
Aden=(1+Trec);
Anum=1;
Aapprox=Anum/Aden;//Approximate Gain
Riapprox=rd*(1+T);//Approximate Input Resistance
Roapprox=ro/(1+T);//Approximate Output Resistance
//Ideal Value of input resistance Ri2 is infinity and ideal value of output resistance Ro2 is 0.
printf("\nApproximate Value of A is =%.f V/V",Aapprox);
printf("\nIdeal Value of A is =%.2f V/V",1);
printf("\nApproximate Value of Ri is =%.3f Gohms",Riapprox/10^9);
printf("\nIdeal Value of Ri is infinity");
printf("\nApproximate Value of Ro is =%.3f uohms",Roapprox*10^6);
printf("\nApproximate Value of Ro is =%.f ohms",0); |
6628c305b3b2663d75ba73751ab60e271663665c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH11/EX11.9/Ex11_9.sce | 5bb8329c6784b53ab3de15560f6e6d042fa4613b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Ex11_9.sce | clear;
clc;
l = 50;// feet
b = 4;// feet
P = 3;// tons per foot run
t = 1/2;// inches
b1 = 4;// inches
d1 = 4;// inches
h1 = 1/2;// inches
d = 7/8;// inches
f_s = 6;// tons/in^2
f_b = 12;// tons/in^2
P_s = 2*0.25*%pi*d^2 *f_s;// tons
P_b = t*d*f_b;// tons
R = P_b;// tons
F = l*P*2/d1;// tons
p_min = R*(l-0.5*b1)/F ;// inches
printf('The minimum pitch required is p = %.2f inches, say %d inches',p_min,p_min);
|
bf5cd5d1b0ba117628f37a9ef0dead6fae858858 | e1203672ffc99c92114940ed7b716a2f0766488d | /archi2.tst | 7186328ce0df6cec938df1e4c2ba2dc81bd9f92e | [] | no_license | twuno/Minipython | 521197c2c215d3942ccf2b58ac77d6dd959446a9 | 02a148fb963cd6bb270cf40335bb7c3ac41ae235 | refs/heads/master | 2020-05-19T14:44:25.803145 | 2012-09-16T17:19:51 | 2012-09-16T17:19:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | tst | archi2.tst | class hola:
x=10
y=11
z=x-y
def main:
for x in y...15:
if x>3 or x<4:
print m
elif x<0:
print y
else:
print m
x=9
print "dios"
def hola(x):
main()
|
b482b824b6832dd421784f6aeef8e25bc529a3f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.3/Ex9_15_3.sce | a5fefa64963ceb67d14b56a25e2856f544c7dd13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | Ex9_15_3.sce | //Section-9,Example-3,Page no.-E.6
//To determine the concentration of Cd2+ ions in the given electrochemical cell.
E=-0.02
E_0=0.04
n=2
C_Fe=0.1
x=C_Fe/(10^(n*(E_0-E))/(0.0591))
disp(x,'Concentration of Cd2+ ions in the given electrochemical cell(M)')
|
7a6bd8aaab4a82d30612d2153268ac1cea2464a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH8/EX8.17/8_17.sce | dc09ccf58588fb5184feef7589624f128f731675 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | 8_17.sce |
n=10
S11=(n^2-1)/(n^2+1)
S21=2*n/(n^2+1)
S22=(1-n^2)/(1+n^2)
S12=2*n/(n^2+1)
A=[S11,S12;S21,S22]
disp(A) |
11d00f4ba3939d18be36ed8aad803d843e68b943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/8_3.sci | 8509f715142f676313cceba8bc146c1b65bc982e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sci | 8_3.sci | H0NH3 = -11020; // cal/moleN2
H0H2 = 0;
HN2 = 0;
CpNH3 = 8.92;// cal/moleH2.K
CpH2 = 6.992;// cal/moleN2.K
CpN2 =6.984;// cal/moleNH3.K
T = 423; //K
TR = 298; //K |
8caa73786952647472f9d2364c8e390b6ddfd281 | cb4516492965c75d14c9d499c387d3cd0b883bc4 | /X3/Section 7 -Tools Environmental Effects/7.1 Joachim Diepstraten, Mike Eißele/arithmetic_complex.tst | 86dbfdccc053f1c9d66589facd846a16213dafee | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | nedma/ShaderX | 48367dfc1153e4e6ad6bb5c205777285b06376c5 | 0503dd6ae16f3d288f2e27b0f93ebdfbaf1f4436 | refs/heads/master | 2020-04-08T01:51:11.173038 | 2018-11-24T08:37:42 | 2018-11-24T08:37:42 | 158,911,553 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | tst | arithmetic_complex.tst | \shader\pow.psh
\shader\pow_4x.psh
\shader\nrm.psh
\shader\nrm_4x.psh
\shader\simulated_nrm.psh
\shader\sincos.psh
\shader\sincos_pp.psh
|
a5b8675d563f08c7136e174fa972057e78ce44a9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/obscont.man.tst | 14ef176f8f81990543b3922a769ccc786957693b | [
"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 | 438 | tst | obscont.man.tst | clear;lines(0);
ny=2;nu=3;nx=4;P=ssrand(ny,nu,nx);[A,B,C,D]=abcd(P);
Kc=-ppol(A,B,[-1,-1,-1,-1]); //Controller gain
Kf=-ppol(A',C',[-2,-2,-2,-2]);Kf=Kf'; //Observer gain
cl=P/.(-obscont(P,Kc,Kf));spec(cl('A')) //closed loop system
[J,r]=obscont(P,Kc,Kf);
Q=ssrand(nu,ny,3);Q('A')=Q('A')-(maxi(real(spec(Q('A'))))+0.5)*eye(Q('A'))
//Q is a stable parameter
K=lft(J,r,Q);
spec(h_cl(P,K)) // closed-loop A matrix (should be stable);
|
66ddc19e1b9db06c2e951b7a14fc83faf670c489 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH14/EX14.6/14_6_Bacteria_Biofilm.sce | 92b514f05b24e68587ee9fe7f692f9c02d50e0d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | 14_6_Bacteria_Biofilm.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 14.6 Page 909 \n')// Example 14.6
// Maximum Thickness of a bacteria laden biofilm, that may be siccessfully treated
Dab = 2*10^-12 ;//[m^2/s] Diffusion coefficient
Ca0 = 4*10^-3 ;//[kmol/m^3] Fixed Concentration of medication
Na = -.2*10^-3 ;//[kmol/m^3.s] Minimum consumption rate of antibiotic
k1 = .1 ;//[s^-1] Reaction Coefficient
//For firsst order kinetic reaction Equation 14.74
m = (k1/Dab)^.5;
L = m^-1*acosh(-k1*Ca0/Na);
printf('\n Maximum Thickness of a bacteria laden biofilm, that may be siccessfully treated is %.1f pico-m',L*10^6);
//END |
bc3d3dc09102fefb7c016230851a443a0d83efc8 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0077.tst | d56e491330ef65a683b28aeec8ab6e7f032a527d | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 439 | tst | 0077.tst | sPlITTEr trXy {}
fiLTeR aMut { }
fIlter Kx {F Or j OR FYX }
B -> ao -> AN
gROUper P {AgGREGate P ,TBRu.K }
unGrOupeR g { }
GroUPfilTer O {+78814 < Y Or 12.e83 <= 0 }
MERGEr YSY { mOdULe v { BRANches lCqP nOT HsQ ( 131.38.230.203, gi ( v, ), ) noT ms ( d8:CE:aa:8B:aa:Ef
) nOT sYDh ( D ( ), ) nOt 93.968e734 > -2 nOt cD::Ff:c:f:d6:2Edf:F/3 >> B L M bYz DElTA 92s OR XC > AHo DElta 25M OR hC s k DeLTa 162mS } eXporT oz } |
8aaf5a3feb298dac3ab554f7201974a3201e109d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.57/ex1_57.sce | 1ef0619812ce241f0ae06dddfa1bf7227bbc59ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | ex1_57.sce | //Chapter-1, Example 1.57, Page 67
//=============================================================================
clc;
clear;
//INPUT DATA
I1=25;//current source in A
I2=6;//current source in A
I3=5;//current source in A
RAB=5;//Resistance in ohms
RAC=10;//Resistance in ohms
RBC=2;//Resistance in ohms
//let currents across AC and BC and AB are Ix,Iy and Iz respectively
//applying kirchoff's current law at node A
//-I1+Ix+I3+Iz=0------eqn(1)
//applying kirchoff's current law at node B
//-Iz-I3+Iy+I2=0------eqn(2)
//CALCULATIONS
[a]=[((1/RAC)+(1/RAB)),(-1/RAB);(-1/RAB),((1/RAB)+(1/RBC))];
[b]=[20;-1];
[c]=inv(a)*(b)
VA=c(1);//voltage at node A
VB=c(2);//voltage at node B
//OUTPUT
mprintf("Thus voltages at node A and B are %2.1f V and %2.1f V",-VA,VB);
//=================================END OF PROGRAM==============================
|
026784b33bb11c015bd6d3c1e27581facaea7dac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH17/EX17.9/Ex17_9.sce | 1b80bd5bf34bfac3934c79e61241a3cceb9cd0c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | Ex17_9.sce | //Example 17_9 page no:847
clc;
R0=800;
D=20;
N=10^(D/20);
R1=R0*(N-1)/(N+1);
R2=R0*(N+1)/(N-1);
disp(R1,"the resistance R1 is (in ohm)");
disp(R2,"the resistance R2 is (in ohm)");
|
8f462f15e45ba7ad431c735f02b2d0b33a8d7d7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH7/EX7.5/7_5.sce | 24d033ec2a1ff7a3d409e35a41dc3e78ed504a76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | 7_5.sce | clc
//initialisation of variables
H= 8 //in
b= 6 //in
d= 4 //in
H1= 5 //in
//CALCULATIONS
Ia1= ((b*H^3)/12)+b*H*d^2
Ia2= %pi*((d/2)^2)+%pi*((d/2)^2)*(H1)^2
I= Ia1-Ia2
//RESULTS
printf ('I= %.2f in^4',I)
|
36f70c8c5340c04c2cfe4fc1796fb4e960f1430d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH25/EX25.8/25Ex8.sce | ed01d0bc612fff42f6e77c9336dcf2548044684a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | 25Ex8.sce | //chapter 25 ex 8
clc;
clear;
close;
a=sqrt(1734/6); //given surface area=1734 and by formula surface area=6*a^2
volume=a^3;
printf("The volume of cube is %d cubic cm",volume);
|
c23dac438a58292154e91415b8cf26e142642dab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH2/EX2.22/Ex2_22.sce | 722f6b559bc7f6816b67c8046e88a0f0b1c28d3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | Ex2_22.sce | clear
//
//The pulley C is in equilibrium under the action of tensile forces in CA and CB and vertical downward load 200 N. The tensile forces in segment CA and CB are the same since the pulley is frictionless. Now consider the equilibrium of pulley C
//sum of vertical Fy & sum of horizontal forces Fx is zero
//Assume direction of Fx is right
//Assume direction of Fy is up
//variable declaration
L=200.0 //suspended load at C,N
AB=3.0
BI=1.0
ACB=5.0 //Length of cord,m
DE=3.0
BE=4.0
theta=asin(4.0/5.0)
//assume T is tension in string making angle theta1 & theta2,solving horizontal we find theta1=theta2,lets called them theta ,as triangleCFD=triangle=CFA.so, CD=AC
HI=BI*DE/BE
AH=DE-HI
x=AH/2
printf("\n x= %0.3f m",x)
T=L/(2*sin(theta))
printf("\n T= %0.0f N",T)
|
5941f18ecacac71530a39f0833145100201a3da7 | 3373f8cf6d2c4c29842dbfebcab3729fe7043df5 | /task3Appr.sci | b6f00f982ed59eb3fafd15fbed86d81276bc1611 | [] | no_license | oborovsky/task3 | 8983eaff3c93c0aa85f415ac2dfa77453e9be15f | 3a9fb76abbbfaa7e10faea589a813876cf65ca4c | refs/heads/master | 2021-01-20T00:30:27.161635 | 2017-04-25T17:00:53 | 2017-04-25T17:00:53 | 89,145,007 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,124 | sci | task3Appr.sci | deff('y=u(x)','y=(1-exp(100*x))/(1-exp(100))');
function x=shufle(m, d)
a = m(1,:);
b = m(2,:);
c = m(3,:);
s = length(b);
et(1) = 0;
ks(1) = 0;
for i=1:s
ks(i+1) = (-c(i)) / (a(i)*ks(i) + b(i));
et(i+1) = (d(i) - a(i) * et(i)) / (a(i) * ks(i) + b(i));
end
x(s+1) = 0;
for j=0:s-1
x(s-j) = ks(s-j+1)*x(s-j+1) + et(s-j+1);
end
x(s+1) = [];
endfunction
// аппроксимация для (5)
function [m, d] = makeLinearSystem1 (s,h)
a = [0];
b = [1];
c = [0];
dd = [0];
k1 = -(1/h^2 + 100/(2*h));
k2 = 2/h^2;
k3 = (100/(2*h) - 1/h^2);
for i=2:s-1
a(i) = k1;
b(i) = k2;
c(i) = k3;
dd(i) = 0;
end
a(s) = 0;
b(s) = 1;
c(s) = 0;
dd(s) = 1;
m = [a';b';c'];
d = dd';
endfunction
// аппроксимация для (6)
function [m, d] = makeLinearSystem2 (s,h)
a = [0];
b = [1];
c = [0];
dd = [0];
k1 = -(1/h^2 + 100/(h));
k2 = 2/h^2 + 100/h;
k3 = -1/h^2;
for i=2:s-1
a(i) = k1;
b(i) = k2;
c(i) = k3;
dd(i) = 0;
end
a(s) = 0;
b(s) = 1;
c(s) = 0;
dd(s) = 1;
m = [a';b';c'];
d = dd';
endfunction
function [e1,e2,Uex,y1,y2] = makeApp (X)
h = 1/X;
x = 0:h:1;
Uex = u(x);
s = length(x);
[m1,d1] = makeLinearSystem1(s, h);
[m2,d2] = makeLinearSystem2(s, h);
tmp = shufle(m1, d1);
y1 = tmp';
tmp = shufle(m2, d2);
y2 = tmp';
e1 = y1 - Uex;
e2 = y2 - Uex;
endfunction
N = 1000;
[e1,e2,Uex,y1,y2] = makeApp(N);
ee1(1) = max(abs(e1));
ee2(1) = max(abs(e2));
for i = 2:2
N = 2*N;
X = N;
[e1,e2,Uex,y1,y2] = makeApp(X);
ee1(i) = max(abs(e1));
ee2(i) = max(abs(e2));
x = 0:1/X:1;
plot(x,Uex,'-b');
plot(x, y1,'-g');
plot(x,y2,'-r');
printf("ee1(%d)=%f,ee1(%d)=%f, p = %f\n",i-1,ee1(i-1),i,ee1(i), abs(log2(ee1(i-1)/ee1(i))));
printf("ee2(%d)=%f,ee2(%d)=%f, p = %f\n",i-1,ee2(i-1),i,ee2(i), abs(log2(ee2(i-1)/ee2(i))));
end
|
edef072f60dbd5c833c310e1f6f33250b2232e59 | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial05-Solution_of_equations/Scilab_code/functwovar.sci | 6506ce4034e187014c33c3e0f7ba6a498cad1641 | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sci | functwovar.sci | //This is script to define a fuction
function y = functwovar(t)
x = t(1);
z = t(2);
y = [x^2+z^2-1;x^2*exp(-2*x) + z]
endfunction
|
542ddcf0c42dae89dd7bfc8f610b2abb0a31f641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.18/Ex12_18.sce | c73cb20fc4aa3599562293ca3d838bdf4689c326 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | Ex12_18.sce | //=====================================================================================
//Chapter 12 example 18
clc;clear all;
//variable declaration
R3 = 2000; //resistance of arm in Ω
R4 = 2950; //resistance of arm in Ω
R2 = 5; //resistance of arm in Ω
r2 = 0.4; //resistance in Ω
C2 = 0.5*10^-6; //capacitance in F
f = 450; //frequency in Hz
//calculations
r1 = (R3*(r2+R2))/R4 //resistance in Ω
C1 = ((R4/R3)*C2) //capacitance in F
tand = 2*(%pi)*f*C1*r1 //dissipation power ,C1 in uF
//result
mprintf("resistace = %3.2f Ω",r1);
mprintf("\ncapacitance = %3.2e uF",(C1*10^6));
mprintf("\ndissipation factor = %3.2e ",(tand));
|
f57752cd7afe5046268e0e8434a68ceb30e49f27 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.11_15.tst | 138c1c3a67cad1f0526fdf9a203622ab92000ba4 | [] | 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 | 37,246 | tst | bow.11_15.tst | 11 5:1.0 7:1.5 9:1.0 12:0.16666666666666666 15:1.0 31:0.14285714285714285 41:2.0 46:0.125 50:0.3333333333333333 53:0.2 59:0.16666666666666666 66:0.14285714285714285 105:0.16666666666666666 110:0.1111111111111111 111:1.0 153:1.0 324:1.0 330:1.0 342:0.25 348:0.3333333333333333 457:1.0 508:1.0 582:1.0 618:2.0 670:0.5 960:0.5 1085:1.0 1121:0.3333333333333333 1125:1.0 1256:1.0 1441:1.0 1517:1.0 2452:0.3333333333333333 2659:1.0 3288:1.0 3438:1.0 3815:1.0 4253:1.0 4441:1.0
11 3:0.5 7:0.5 9:0.5 12:0.16666666666666666 15:1.0 18:0.4 24:0.3333333333333333 31:0.14285714285714285 45:0.5 48:0.3333333333333333 50:0.3333333333333333 52:0.02857142857142857 55:0.6666666666666666 59:0.3333333333333333 66:0.14285714285714285 103:1.0 106:0.2 110:0.1111111111111111 111:1.0 126:0.09090909090909091 144:1.0 677:0.5 755:0.1111111111111111 938:1.0 980:1.0 1037:0.5 1102:1.0 1315:1.0 1993:1.0 2541:1.0 2651:1.0 3974:1.0 6510:1.0
11 7:0.5 9:1.0 12:0.16666666666666666 18:0.2 41:1.0 59:0.16666666666666666 106:0.2 110:0.1111111111111111 328:0.5 406:0.5 572:1.0 681:1.0 964:0.2 976:1.0 983:1.0 1053:1.0 1125:1.0 1554:0.25 1731:1.0 2005:1.0 6729:1.0
11 7:0.5 8:1.0 9:2.0 12:0.3333333333333333 18:0.2 31:0.42857142857142855 50:0.6666666666666666 52:0.05714285714285714 55:0.3333333333333333 66:0.2857142857142857 82:1.0 99:0.5 102:0.25 104:1.0 110:0.1111111111111111 128:0.3333333333333333 153:1.0 182:0.5 185:0.5 189:1.0 260:0.3333333333333333 275:0.1111111111111111 276:1.0 317:1.0 328:0.5 348:0.3333333333333333 450:0.5 647:1.0 788:0.25 960:0.5 979:1.0 980:1.0 1005:1.0 1256:1.0 1409:1.0 1463:1.0 1486:1.0 1531:0.5 1544:1.0 2086:1.0 2111:1.0 2159:0.5 2721:1.0 3361:1.0 3707:1.0 8015:1.0
11 9:0.5 12:0.25 22:3.0 41:1.0 48:0.3333333333333333 50:0.6666666666666666 52:0.02857142857142857 60:0.5 106:0.2 110:0.1111111111111111 164:1.0 214:1.0 237:0.1111111111111111 279:0.16666666666666666 388:1.0 390:1.0 672:1.0 745:1.0 771:1.0 776:1.0 812:1.0 976:1.0 1187:1.0 1251:1.0 1322:1.0 1463:1.0 1577:1.0 1869:1.0 2049:1.0 2638:1.0 2987:1.0 3451:1.0 3583:1.0 4484:1.0 9120:1.0 9640:1.0
11 7:1.0 8:1.0 12:0.08333333333333333 15:1.0 16:0.3333333333333333 18:0.4 22:1.0 26:0.25 40:0.25 48:0.3333333333333333 50:0.6666666666666666 66:0.2857142857142857 76:0.5 110:0.2222222222222222 113:1.0 127:0.3333333333333333 165:0.3333333333333333 180:1.0 185:0.5 236:0.1111111111111111 240:0.5 269:1.0 275:0.1111111111111111 508:0.5 664:1.0 818:1.0 1137:1.0 1212:1.0 1251:1.0 1472:1.0 1851:1.0 1946:2.0 2343:1.0 2367:1.0 2650:0.5 2976:1.0 3953:1.0 9713:1.0
11 7:2.5 12:0.08333333333333333 14:1.0 15:1.0 18:0.4 33:1.0 50:1.0 52:0.02857142857142857 59:0.16666666666666666 66:0.5714285714285714 99:0.5 102:0.25 110:0.2222222222222222 111:1.0 150:0.5 226:1.0 240:0.5 286:0.5 342:0.25 403:0.5 450:0.5 504:0.5 516:0.5 544:1.0 777:1.0 803:1.0 960:0.5 1118:1.0 1476:0.5 2650:0.5 2708:0.5 2781:1.0 2885:1.0 2980:1.0 3057:1.0 4076:1.0 4354:1.0 4652:1.0 4932:1.0 4933:1.0 4934:1.0 5034:1.0 6782:1.0 7597:1.0 8019:1.0
11 7:0.5 8:1.0 9:1.0 11:0.25 12:0.16666666666666666 18:0.2 22:1.0 25:1.0 26:0.25 31:0.5714285714285714 45:0.5 46:0.25 48:0.3333333333333333 50:0.3333333333333333 52:0.02857142857142857 55:0.3333333333333333 59:0.16666666666666666 66:0.14285714285714285 70:0.1111111111111111 99:1.0 110:0.1111111111111111 124:1.0 126:0.09090909090909091 127:0.6666666666666666 134:0.25 180:1.0 183:0.5 189:1.0 191:1.0 242:0.5 243:1.0 323:0.5 342:0.25 361:0.5 432:0.3333333333333333 455:1.0 542:1.0 745:1.0 746:1.0 795:1.0 805:0.25 1023:1.0 1095:1.0 1150:1.0 1277:1.0 1440:1.0 1486:1.0 1884:1.0 2178:1.0 2275:1.0 2570:1.0 3159:1.0 3441:1.0 3876:1.0 4086:1.0 4167:1.0 4557:1.0
11 7:0.5 9:0.5 12:0.3333333333333333 15:1.0 24:0.3333333333333333 31:0.42857142857142855 33:1.0 41:1.0 47:0.5 48:0.3333333333333333 66:0.2857142857142857 76:0.5 105:0.16666666666666666 134:0.25 189:1.0 267:0.6666666666666666 269:1.0 275:0.1111111111111111 278:1.0 286:0.5 303:0.5 362:1.0 380:1.0 516:0.5 697:1.0 893:0.5 1300:1.0 1374:1.0 2640:1.0 2924:1.0 3154:1.0 3650:1.0 5924:0.5 6071:1.0 7553:1.0
11 7:1.5 9:1.0 11:0.25 16:0.6666666666666666 31:0.14285714285714285 47:0.5 48:0.3333333333333333 50:0.6666666666666666 52:0.02857142857142857 59:0.6666666666666666 78:1.0 102:0.25 110:0.1111111111111111 135:1.0 226:1.0 298:1.0 342:0.25 355:2.0 823:2.0 964:0.2 1121:0.3333333333333333 1129:1.0 1212:2.0 1277:1.0 1657:1.0 1846:1.0 1919:1.0 2296:1.0 2562:1.0 2599:1.0 2892:1.0 3747:1.0 4373:1.0 4569:1.0 5325:1.0 5990:1.0
11 9:1.5 12:0.25 14:1.0 18:0.2 31:0.14285714285714285 46:0.125 50:0.3333333333333333 52:0.05714285714285714 76:0.5 78:1.0 108:0.5 109:1.0 110:0.2222222222222222 126:0.09090909090909091 127:0.3333333333333333 128:0.3333333333333333 240:0.5 278:1.0 342:0.25 405:1.0 450:0.5 618:1.0 622:1.0 661:0.125 746:1.0 795:1.0 801:1.0 868:1.0 1113:0.5 1320:1.0 1463:1.0 1536:1.0 1629:0.3333333333333333 1733:1.0 1866:1.0 1920:1.0 2945:1.0 3598:1.0 8066:1.0
11 7:0.5 9:0.5 18:0.2 31:0.14285714285714285 46:0.125 50:0.3333333333333333 55:0.6666666666666666 105:0.16666666666666666 111:1.0 180:1.0 206:0.3333333333333333 329:1.0 544:1.0 579:1.0 654:1.0 657:1.0 1059:1.0 1332:1.0 1476:0.5 1554:0.25 1963:0.5 2128:1.0 2873:1.0 3171:1.0 3299:1.0 3696:1.0 3986:1.0 8059:1.0 9500:1.0
11 7:0.5 9:1.0 12:0.16666666666666666 31:0.14285714285714285 47:0.5 48:0.3333333333333333 52:0.02857142857142857 66:0.14285714285714285 102:0.25 106:0.2 110:0.1111111111111111 111:1.0 126:0.09090909090909091 206:0.3333333333333333 236:0.1111111111111111 275:0.1111111111111111 282:0.25 295:1.0 328:0.5 330:1.0 350:1.0 408:1.0 556:0.3333333333333333 661:0.125 664:1.0 1001:1.0 1153:1.0 1212:1.0 1929:1.0 2345:1.0 2801:1.0 2981:1.0 3301:1.0 3779:0.5 4159:1.0 4700:1.0 5137:1.0
11 7:1.5 9:1.0 11:0.25 14:1.0 16:0.6666666666666666 22:1.0 31:0.14285714285714285 41:1.0 66:0.2857142857142857 77:1.0 99:0.5 110:0.1111111111111111 126:0.09090909090909091 128:0.3333333333333333 182:0.5 275:0.2222222222222222 276:1.0 664:1.0 688:0.5 795:1.0 964:0.2 1203:1.0 1212:1.0 1297:1.0 1730:1.0 1884:1.0 2287:1.0 2532:1.0 2640:1.0 2934:1.0 2982:1.0 7636:1.0
11 2:1.0 7:0.5 9:1.0 12:0.16666666666666666 14:1.0 18:0.2 50:0.3333333333333333 52:0.02857142857142857 55:0.3333333333333333 59:0.16666666666666666 60:0.5 66:0.14285714285714285 81:1.0 85:1.0 113:1.0 131:1.0 135:1.0 150:0.5 176:1.0 206:0.3333333333333333 215:0.09090909090909091 328:0.5 350:1.0 403:0.5 409:1.0 521:0.5 556:0.3333333333333333 558:1.0 852:1.0 923:1.0 1231:1.0 1439:1.0 1664:1.0 2033:0.5 3451:1.0 3659:1.0 4409:1.0 4790:1.0 6980:1.0
11 7:0.5 12:0.25 18:0.2 22:1.0 31:0.14285714285714285 50:0.3333333333333333 52:0.02857142857142857 66:0.14285714285714285 67:1.0 70:0.1111111111111111 85:1.0 99:0.5 106:0.2 110:0.2222222222222222 128:0.6666666666666666 165:0.3333333333333333 267:0.3333333333333333 278:1.0 279:0.16666666666666666 286:0.5 309:1.0 507:1.0 661:0.125 677:0.5 811:1.0 878:1.0 1276:0.3333333333333333 1495:1.0 1566:1.0 1813:1.0 1971:1.0 2313:0.3333333333333333 2688:1.0 2924:1.0 3121:1.0 4840:1.0 7778:1.0 9538:1.0
11 7:1.0 9:0.5 12:0.08333333333333333 15:2.0 18:0.2 27:0.5 31:0.2857142857142857 48:0.3333333333333333 52:0.02857142857142857 53:0.2 59:0.16666666666666666 66:0.2857142857142857 88:0.3333333333333333 99:0.5 102:0.25 110:0.1111111111111111 111:1.0 125:1.0 126:0.09090909090909091 128:0.6666666666666666 214:1.0 226:1.0 236:0.2222222222222222 237:0.1111111111111111 275:0.2222222222222222 298:1.0 321:1.0 330:1.0 390:1.0 450:0.5 455:1.0 507:1.0 556:0.3333333333333333 571:1.0 639:1.0 827:1.0 960:0.5 979:1.0 980:1.0 1121:0.3333333333333333 1405:0.25 1410:1.0 1449:1.0 1616:1.0 1866:1.0 2213:1.0 2317:1.0 2640:1.0 3253:1.0 3443:1.0 3721:1.0 3801:1.0 3815:1.0 4707:1.0 4989:1.0 5060:1.0 5141:1.0 5220:1.0
11 7:0.5 9:0.5 12:0.08333333333333333 15:1.0 31:0.42857142857142855 41:1.0 52:0.05714285714285714 55:0.3333333333333333 59:0.3333333333333333 66:0.14285714285714285 82:1.0 106:0.2 110:0.4444444444444444 111:1.0 126:0.09090909090909091 182:0.5 191:1.0 221:0.5 236:0.1111111111111111 276:1.0 348:0.3333333333333333 390:2.0 432:0.3333333333333333 576:1.0 595:1.0 661:0.125 745:1.0 757:1.0 783:1.0 811:1.0 863:1.0 883:1.0 1053:1.0 1118:1.0 1193:1.0 1223:1.0 1276:0.3333333333333333 1528:1.0 2475:1.0 3301:1.0 3656:1.0 3661:1.0 4167:1.0 6407:1.0 8593:1.0
11 7:0.5 12:0.08333333333333333 15:2.0 22:1.0 31:0.14285714285714285 45:0.5 46:0.125 47:0.5 48:0.3333333333333333 50:0.6666666666666666 52:0.02857142857142857 55:0.3333333333333333 66:0.42857142857142855 91:1.0 297:1.0 298:1.0 342:0.25 465:1.0 556:0.3333333333333333 610:0.2 816:1.0 861:1.0 862:1.0 936:0.3333333333333333 1095:1.0 1276:0.3333333333333333 1396:1.0 1984:1.0 2054:1.0 2388:1.0 2638:1.0 2861:1.0 3373:0.5 3632:1.0 4059:1.0 6782:1.0
11 16:0.3333333333333333 31:0.14285714285714285 41:1.0 46:0.125 47:1.0 50:0.3333333333333333 52:0.05714285714285714 99:1.0 102:0.25 105:0.16666666666666666 106:0.2 110:0.1111111111111111 134:0.25 182:0.5 183:0.5 237:0.1111111111111111 256:1.0 267:0.3333333333333333 275:0.1111111111111111 279:0.16666666666666666 298:1.0 323:0.5 343:1.0 362:1.0 387:1.0 450:0.5 482:1.0 556:0.3333333333333333 745:1.0 962:0.5 964:0.2 1053:1.0 1657:1.0 2358:1.0 2380:1.0 2982:1.0 3248:1.0 4219:1.0 4264:1.0 4366:1.0 4432:1.0 4944:1.0 5593:1.0 5924:0.5 8619:1.0
11 7:1.0 46:0.125 50:0.3333333333333333 59:0.16666666666666666 66:0.42857142857142855 97:1.0 102:0.25 125:1.0 135:1.0 155:0.5 222:0.3333333333333333 237:0.1111111111111111 275:0.1111111111111111 276:1.0 355:1.0 362:1.0 465:1.0 513:0.5 823:1.0 868:1.0 943:1.0 980:1.0 1409:1.0 1410:1.0 1414:1.0 1461:1.0 1554:0.25 1968:1.0 1996:1.0 2178:1.0 2810:1.0 3823:1.0
11 7:1.0 11:0.25 12:0.16666666666666666 14:1.0 15:2.0 18:0.4 22:2.0 24:0.3333333333333333 26:0.25 31:0.2857142857142857 45:0.5 46:0.25 50:0.3333333333333333 52:0.11428571428571428 53:0.2 55:0.3333333333333333 66:0.14285714285714285 103:0.5 110:0.1111111111111111 191:1.0 236:0.1111111111111111 260:0.3333333333333333 275:0.2222222222222222 336:1.0 439:1.0 745:1.0 755:0.1111111111111111 762:1.0 868:1.0 1101:1.0 1118:1.0 1131:1.0 1296:1.0 1320:1.0 2101:1.0 2206:1.0 2444:1.0 2452:0.3333333333333333 2766:1.0 2891:1.0 3349:1.0 3749:0.5 5011:1.0 6507:1.0
11 2:1.0 7:2.0 9:0.5 15:1.0 16:0.3333333333333333 31:0.14285714285714285 43:1.0 48:0.3333333333333333 52:0.08571428571428572 59:0.5 88:0.3333333333333333 103:0.5 105:0.16666666666666666 110:0.1111111111111111 113:1.0 135:1.0 136:1.0 176:1.0 267:0.3333333333333333 275:0.1111111111111111 282:0.25 328:0.5 362:1.0 445:1.0 508:1.0 521:0.5 528:1.0 688:0.5 1095:1.0 1468:1.0 1729:1.0 1778:1.0 2160:1.0 2161:1.0 2162:1.0 2657:1.0 3276:1.0 3283:1.0 3814:1.0 4283:1.0
11 2:1.0 7:1.0 9:1.5 12:0.25 14:1.0 18:0.4 22:1.0 52:0.2 53:0.2 59:0.16666666666666666 70:0.1111111111111111 105:0.16666666666666666 111:1.0 128:0.3333333333333333 155:0.5 165:0.3333333333333333 183:0.5 215:0.18181818181818182 267:0.3333333333333333 286:0.5 320:1.0 342:0.25 450:0.5 516:0.5 687:0.5 755:0.1111111111111111 783:1.0 811:1.0 837:1.0 868:1.0 960:0.5 1121:0.3333333333333333 1320:1.0 1456:1.0 1463:1.0 1727:1.0 2364:1.0 3044:1.0 3147:1.0 3880:1.0 4310:1.0 5631:1.0
11 8:1.0 9:1.0 11:0.25 12:0.16666666666666666 16:0.3333333333333333 22:1.0 42:1.0 52:0.02857142857142857 66:0.14285714285714285 70:0.1111111111111111 99:0.5 150:0.5 162:0.5 275:0.1111111111111111 315:1.0 342:0.25 508:0.5 524:1.0 582:1.0 755:0.1111111111111111 868:1.0 1072:1.0 1297:1.0 1440:1.0 1469:1.0 1727:1.0 2709:1.0 2945:1.0 3599:1.0 4759:1.0 5305:1.0
11 7:1.0 12:0.16666666666666666 14:1.0 31:0.14285714285714285 37:1.0 46:0.25 50:1.0 52:0.05714285714285714 88:0.3333333333333333 99:1.0 106:0.2 110:0.1111111111111111 128:0.3333333333333333 236:0.1111111111111111 237:0.1111111111111111 260:0.3333333333333333 282:0.25 440:1.0 445:1.0 468:1.0 1080:1.0 1193:1.0 1554:0.25 1804:1.0 2019:1.0 2286:0.5 3880:1.0 4827:1.0 7039:1.0
11 7:1.0 12:0.08333333333333333 14:1.0 30:1.0 31:0.14285714285714285 40:0.25 50:0.3333333333333333 59:0.16666666666666666 99:0.5 113:1.0 127:0.3333333333333333 128:0.6666666666666666 189:1.0 237:0.1111111111111111 279:0.16666666666666666 309:1.0 328:0.5 342:0.25 362:1.0 465:1.0 938:1.0 960:0.5 964:0.2 1025:0.3333333333333333 1118:1.0 1399:1.0 1538:1.0 1757:0.5 3533:2.0 3597:1.0 4181:1.0 5069:1.0
11 7:0.5 9:1.5 12:0.08333333333333333 15:1.0 31:0.2857142857142857 45:0.5 52:0.02857142857142857 55:0.3333333333333333 99:0.5 110:0.2222222222222222 265:1.0 267:0.3333333333333333 346:1.0 448:1.0 450:0.5 465:1.0 666:1.0 1454:1.0 1603:1.0 2848:1.0 4933:1.0 6417:1.0
11 12:0.08333333333333333 16:0.3333333333333333 18:0.2 22:2.0 26:0.25 46:0.125 50:0.3333333333333333 52:0.02857142857142857 55:1.3333333333333333 58:1.0 59:0.5 78:1.0 86:1.0 106:0.2 110:0.1111111111111111 132:1.0 191:1.0 237:0.1111111111111111 293:1.0 450:1.5 465:1.0 616:0.1111111111111111 755:0.1111111111111111 857:1.0 1066:1.0 1095:1.0 1176:1.0 1340:1.0 1461:1.0 2150:1.0 2629:1.0 2981:1.0 4221:0.5 6406:1.0
11 5:1.0 9:0.5 12:0.08333333333333333 15:1.0 31:0.14285714285714285 52:0.05714285714285714 55:0.6666666666666666 58:2.0 64:1.0 66:0.14285714285714285 88:0.3333333333333333 103:0.5 105:0.16666666666666666 110:0.1111111111111111 155:0.5 165:0.3333333333333333 215:0.09090909090909091 221:0.5 222:0.3333333333333333 279:0.16666666666666666 322:1.0 342:0.25 348:0.3333333333333333 466:1.0 967:1.0 1106:1.0 1456:1.0 1494:1.0 1712:1.0 2296:1.0 2511:1.0 2784:1.0 3793:1.0 6269:1.0
11 5:1.0 16:0.3333333333333333 45:0.5 48:0.3333333333333333 50:0.3333333333333333 52:0.05714285714285714 55:0.3333333333333333 59:0.16666666666666666 76:0.5 81:1.0 103:0.5 189:1.0 215:0.09090909090909091 216:1.0 236:0.1111111111111111 275:0.1111111111111111 279:0.16666666666666666 296:0.5 536:1.0 618:1.0 1093:1.0 1121:0.3333333333333333 1340:1.0 1557:1.0 2605:1.0 4830:1.0 5100:1.0 5212:1.0
11 7:0.5 12:0.08333333333333333 22:1.0 31:0.42857142857142855 40:0.25 41:1.0 46:0.375 50:0.6666666666666666 66:0.2857142857142857 81:1.0 106:0.2 110:0.1111111111111111 117:1.0 124:1.0 128:0.3333333333333333 162:0.5 182:0.5 195:1.0 279:0.16666666666666666 371:1.0 372:1.0 412:1.0 466:1.0 525:1.0 556:0.3333333333333333 811:1.0 842:1.0 884:0.5 964:0.2 1486:1.0 2653:1.0 2820:1.0 3841:1.0 3879:1.0 5778:0.5 6269:1.0 7314:1.0 8262:1.0
11 7:0.5 12:0.08333333333333333 18:0.2 31:0.2857142857142857 34:0.5 47:0.5 50:0.3333333333333333 59:0.16666666666666666 66:0.14285714285714285 110:0.1111111111111111 128:0.3333333333333333 135:2.0 186:1.0 214:1.0 267:0.3333333333333333 346:1.0 808:1.0 2246:1.0 2511:1.0 3443:1.0 5100:1.0 7667:1.0 7778:1.0
11 7:0.5 9:0.5 12:0.08333333333333333 15:1.0 16:0.3333333333333333 31:0.14285714285714285 41:1.0 47:0.5 48:0.3333333333333333 50:0.3333333333333333 52:0.05714285714285714 66:0.14285714285714285 105:0.16666666666666666 106:0.2 162:0.5 166:1.0 204:1.0 226:1.0 265:1.0 279:0.16666666666666666 284:1.0 309:1.0 348:0.3333333333333333 361:0.5 661:0.125 812:1.0 1014:1.0 1089:1.0 1396:1.0 1495:1.0 1517:1.0 1729:1.0 2650:0.5 2651:1.0 2696:1.0 4017:1.0 4538:1.0 5593:1.0 6507:1.0 9113:1.0 9509:1.0
11 5:1.0 7:0.5 12:0.08333333333333333 15:2.0 22:2.0 33:1.0 48:0.3333333333333333 52:0.02857142857142857 55:0.3333333333333333 66:0.2857142857142857 127:0.3333333333333333 237:0.1111111111111111 275:0.1111111111111111 286:0.5 358:1.0 929:1.0 943:1.0 1165:1.0 1193:1.0 1495:1.0 2161:1.0 2465:1.0 3349:1.0 3793:1.0 5036:1.0 8593:1.0
11 7:0.5 9:0.5 12:0.16666666666666666 16:0.3333333333333333 18:0.2 22:1.0 48:0.3333333333333333 50:0.3333333333333333 52:0.02857142857142857 59:0.16666666666666666 75:0.5 126:0.09090909090909091 236:0.1111111111111111 276:1.0 282:0.25 336:1.0 343:1.0 645:1.0 729:1.0 788:0.25 938:1.0 3248:1.0
11 7:0.5 12:0.25 52:0.05714285714285714 55:0.3333333333333333 60:0.5 103:0.5 106:0.2 127:0.3333333333333333 206:0.3333333333333333 215:0.09090909090909091 236:0.1111111111111111 330:1.0 332:1.0 512:1.0 516:0.5 536:1.0 783:1.0 788:0.25 1249:1.0 1842:1.0 4504:1.0 7837:1.0
11 7:0.5 12:0.08333333333333333 15:2.0 33:1.0 41:1.0 50:0.3333333333333333 52:0.05714285714285714 59:0.16666666666666666 66:0.14285714285714285 110:0.2222222222222222 128:0.3333333333333333 134:0.25 150:1.0 166:1.0 182:0.5 215:0.09090909090909091 224:1.0 267:0.3333333333333333 358:1.0 390:1.0 406:0.5 516:0.5 572:1.0 611:1.0 1025:0.3333333333333333 1030:1.0 1053:1.0 1908:0.3333333333333333 2543:1.0 3044:1.0 3991:1.0 5365:1.0
11 7:0.5 12:0.08333333333333333 16:0.3333333333333333 50:0.6666666666666666 53:0.2 135:1.0 215:0.09090909090909091 390:1.0 746:1.0 869:0.5 1170:1.0 1250:1.0 1346:1.0 1431:1.0 1469:1.0 1558:1.0 1956:1.0 2178:1.0 3547:1.0 5345:1.0 5422:1.0
11 2:1.0 15:1.0 50:0.3333333333333333 81:1.0 110:0.1111111111111111 135:1.0 153:1.0 215:0.09090909090909091 523:1.0 616:0.1111111111111111 1025:0.3333333333333333 2054:1.0 2889:1.0 4310:1.0
11 12:0.08333333333333333 18:0.2 48:0.3333333333333333 50:0.6666666666666666 52:0.08571428571428572 66:0.14285714285714285 105:0.16666666666666666 106:0.4 110:0.1111111111111111 153:1.0 215:0.09090909090909091 236:0.1111111111111111 240:0.5 260:0.3333333333333333 284:1.0 296:0.5 348:0.3333333333333333 432:0.3333333333333333 528:1.0 1456:2.0 1476:0.5 2518:1.0 3079:1.0 3118:1.0 3880:1.0 4847:1.0
11 9:0.5 18:0.4 47:0.5 50:0.3333333333333333 52:0.02857142857142857 53:0.2 55:0.3333333333333333 66:0.2857142857142857 70:0.1111111111111111 82:1.0 103:0.5 110:0.1111111111111111 136:1.0 255:1.0 373:1.0 390:1.0 485:1.0 556:0.3333333333333333 616:0.1111111111111111 746:1.0 853:0.5 938:1.0 1025:0.6666666666666666 1456:1.0 2219:1.0 2318:1.0 2496:2.0 2599:1.0 2688:1.0 4141:1.0 4868:1.0
11 5:1.0 7:1.0 9:0.5 12:0.08333333333333333 15:2.0 43:1.0 48:0.3333333333333333 50:0.3333333333333333 52:0.08571428571428572 53:0.2 58:1.0 66:0.2857142857142857 102:0.5 106:0.2 153:1.0 189:1.0 215:0.18181818181818182 240:0.5 339:1.0 346:1.0 355:1.0 455:1.0 525:1.0 755:0.2222222222222222 765:1.0 814:1.0 823:1.0 1276:0.3333333333333333 1464:1.0 1762:1.0 1908:0.3333333333333333 2541:1.0 2774:1.0 2848:1.0 2885:1.0 3772:1.0 3826:1.0 5332:1.0 5365:1.0 5933:1.0 7295:1.0
11 18:0.2 41:1.0 50:0.3333333333333333 59:0.16666666666666666 66:0.14285714285714285 106:0.2 136:1.0 236:0.1111111111111111 279:0.16666666666666666 572:1.0 1032:0.6666666666666666 2379:2.0 5136:1.0 7508:1.0
11 15:1.0 33:1.0 66:0.14285714285714285 134:0.25 136:1.0 215:0.09090909090909091 342:0.25 388:1.0 481:1.0 688:0.5 923:1.0 1541:1.0 1603:1.0 1800:1.0 1813:1.0 1908:0.3333333333333333 2095:1.0 2273:1.0 4193:4.0 4194:1.0 4566:1.0
11 7:0.5 12:0.08333333333333333 18:0.2 66:0.14285714285714285 99:1.0 105:0.16666666666666666 106:0.2 110:0.1111111111111111 113:1.0 127:0.3333333333333333 197:1.0 328:0.5 330:1.0 687:0.5 700:0.5 782:1.0 1178:1.0 2383:1.0 2441:1.0 3146:1.0 3373:0.5 7735:1.0
11 9:0.5 16:0.6666666666666666 18:0.2 48:0.3333333333333333 52:0.11428571428571428 53:0.2 66:0.14285714285714285 70:0.1111111111111111 237:0.1111111111111111 295:1.0 322:1.0 331:1.0 465:1.0 871:1.0 1089:1.0 1212:1.0 1231:1.0 1362:2.0 1454:1.0 1558:1.0 1778:1.0 3055:1.0 7613:1.0
11 9:1.5 11:0.25 12:0.16666666666666666 18:0.2 22:1.0 23:1.0 31:0.14285714285714285 48:0.3333333333333333 50:0.3333333333333333 52:0.05714285714285714 59:0.3333333333333333 66:0.2857142857142857 126:0.09090909090909091 128:0.3333333333333333 162:0.5 448:1.0 654:1.0 704:1.0 726:1.0 788:0.25 904:1.0 938:1.0 962:0.5 964:0.2 1095:1.0 1114:1.0 1167:1.0 1538:1.0 1629:0.3333333333333333 1913:1.0 2497:1.0 3677:1.0 3887:1.0 4158:1.0 4310:1.0 4508:1.0 5212:1.0 9360:1.0
11 1:1.0 7:1.0 12:0.08333333333333333 16:0.3333333333333333 22:1.0 40:0.25 41:1.0 50:0.3333333333333333 53:0.2 59:0.16666666666666666 66:0.14285714285714285 102:0.25 105:0.16666666666666666 106:0.2 110:0.1111111111111111 219:1.0 236:0.1111111111111111 253:1.0 279:0.16666666666666666 368:1.0 390:1.0 460:1.0 536:1.0 695:1.0 745:1.0 776:1.0 777:1.0 816:1.0 884:0.5 927:1.0 1125:1.0 1361:1.0 1417:1.0 1801:1.0 2578:1.0 2778:1.0 2899:1.0 3747:1.0 6949:1.0
11 1:1.0 7:1.0 12:0.08333333333333333 16:0.3333333333333333 18:0.2 40:0.25 41:2.0 46:0.125 50:0.3333333333333333 52:0.08571428571428572 59:0.16666666666666666 66:0.14285714285714285 102:0.25 110:0.1111111111111111 183:0.5 219:1.0 279:0.16666666666666666 342:0.25 346:1.0 390:2.0 445:1.0 572:1.0 763:1.0 777:1.0 927:1.0 1059:1.0 1095:1.0 1118:1.0 1259:1.0 1361:1.0 1440:1.0 1548:1.0 1896:1.0 2049:1.0 2578:1.0 3353:1.0 3747:1.0 4044:1.0 4613:1.0 7063:1.0 9596:1.0
11 15:1.0 31:0.14285714285714285 50:1.0 52:0.02857142857142857 66:0.2857142857142857 99:0.5 102:0.25 103:0.5 110:0.3333333333333333 155:0.5 160:1.0 564:1.0 622:1.0 755:0.1111111111111111 766:1.0 869:0.5 943:1.0 978:1.0 1113:0.5 1137:1.0 1270:1.0 1276:0.3333333333333333 1531:0.5 2313:0.3333333333333333 2931:0.5 3581:1.0 4077:1.0 4608:1.0
11 12:0.25 15:1.0 26:0.25 48:0.3333333333333333 50:0.3333333333333333 58:1.0 59:0.16666666666666666 66:0.14285714285714285 70:0.1111111111111111 78:1.0 106:0.2 185:0.5 257:1.0 293:1.0 341:0.5 388:1.0 466:1.0 516:0.5 580:1.0 653:1.0 745:1.0 766:1.0 849:1.0 1061:1.0 1121:0.3333333333333333 1259:1.0 1586:1.0 2095:1.0
11 7:0.5 9:0.5 12:0.16666666666666666 14:1.0 15:3.0 16:0.6666666666666666 22:1.0 31:0.14285714285714285 43:1.0 44:1.0 50:0.3333333333333333 59:0.16666666666666666 110:0.2222222222222222 126:0.09090909090909091 182:0.5 260:0.3333333333333333 267:0.3333333333333333 348:0.3333333333333333 466:1.0 485:1.0 717:1.0 746:1.0 1113:0.5 2336:1.0 3463:1.0 5099:1.0 5100:1.0
11 11:0.25 12:0.16666666666666666 14:1.0 16:0.3333333333333333 55:0.3333333333333333 105:0.16666666666666666 111:1.0 127:0.3333333333333333 132:1.0 135:1.0 153:1.0 236:0.1111111111111111 310:1.0 445:1.0 527:1.0 536:1.0 619:1.0 795:1.0 867:1.0 883:1.0 1178:1.0 1464:1.0 1990:1.0 2033:0.5 2101:1.0 2316:1.0 3725:1.0 4077:1.0 5034:2.0 5035:1.0
11 11:0.25 12:0.08333333333333333 14:1.0 47:1.5 70:0.1111111111111111 106:0.2 182:0.5 230:1.0 231:1.0 265:3.0 432:0.3333333333333333 482:1.0 514:3.0 661:0.375 745:1.0 1276:0.3333333333333333 1332:1.0 1851:1.0 2640:1.0 2668:1.0 2781:1.0 4354:1.0 6407:1.0
11 7:1.0 110:0.1111111111111111 126:0.09090909090909091 237:0.1111111111111111 355:1.0 445:1.0 465:1.0 823:1.0 2216:1.0 3171:1.0
11 7:0.5 8:1.0 9:1.0 18:0.2 22:1.0 41:1.0 47:0.5 50:0.3333333333333333 52:0.02857142857142857 55:0.3333333333333333 58:1.0 59:0.3333333333333333 66:0.14285714285714285 70:0.1111111111111111 110:0.1111111111111111 127:0.3333333333333333 222:0.3333333333333333 267:0.6666666666666666 275:0.1111111111111111 286:0.5 303:0.5 305:1.0 320:1.0 342:0.25 450:0.5 713:1.0 755:0.1111111111111111 853:0.5 938:1.0 1165:1.0 1472:1.0 1851:1.0 2189:1.0 2465:1.0 2781:1.0 3180:1.0 5100:1.0 6077:1.0
11 9:0.5 11:0.25 16:0.3333333333333333 18:0.2 48:0.3333333333333333 50:0.6666666666666666 59:0.3333333333333333 104:1.0 166:1.0 265:1.0 450:0.5 516:0.5 755:0.1111111111111111 1085:1.0 2306:1.0 7126:0.5 9037:1.0
11 11:0.5 12:0.08333333333333333 31:0.14285714285714285 50:0.3333333333333333 52:0.02857142857142857 59:0.16666666666666666 66:0.2857142857142857 70:0.1111111111111111 86:1.0 166:1.0 282:0.5 755:0.1111111111111111 1032:0.3333333333333333 1072:1.0 1212:1.0 1431:1.0 3382:0.3333333333333333 3385:1.0
11 16:0.3333333333333333 18:0.2 41:1.0 52:0.08571428571428572 59:0.16666666666666666 66:0.14285714285714285 88:0.6666666666666666 102:0.25 105:0.16666666666666666 110:0.1111111111111111 564:1.0 755:0.1111111111111111 811:1.0 828:1.0 861:1.0 1025:0.3333333333333333 1417:1.0 1452:1.0 1558:1.0 2657:1.0 2708:0.5 3111:1.0 4815:1.0 9661:1.0
11 12:0.25 14:1.0 50:1.0 52:0.05714285714285714 55:0.3333333333333333 99:0.5 102:0.25 103:0.5 105:0.16666666666666666 106:0.2 128:0.3333333333333333 134:0.25 185:0.5 259:1.0 282:0.5 511:0.5 527:0.5 869:0.5 1102:1.0 1141:1.0 1429:1.0 1464:1.0 1506:1.0 1592:1.0 2372:1.0 2379:1.0 2903:1.0
11 7:1.0 12:0.08333333333333333 31:0.14285714285714285 50:0.6666666666666666 52:0.14285714285714285 59:0.16666666666666666 66:0.14285714285714285 102:0.25 126:0.09090909090909091 144:1.0 153:1.0 178:1.0 256:1.0 275:0.1111111111111111 534:1.0 1032:0.3333333333333333 1085:1.0 1095:1.0 1212:1.0 1554:0.25 1757:0.5 3353:1.0 3793:1.0 4179:1.0 4230:1.0
11 5:3.0 9:0.5 11:0.25 12:0.16666666666666666 23:1.0 31:0.14285714285714285 52:0.02857142857142857 55:0.3333333333333333 66:0.14285714285714285 99:0.5 103:0.5 275:0.1111111111111111 388:1.0 504:0.5 688:0.5 788:0.25 938:1.0 968:1.0 1289:1.0 1411:0.5 1957:1.0 2219:1.0 2286:0.5 2465:1.0 3391:0.25 3579:1.0 4179:1.0 4673:1.0 6627:1.0
11 2:1.0 7:0.5 9:0.5 12:0.25 15:1.0 50:0.3333333333333333 52:0.02857142857142857 59:0.16666666666666666 105:0.3333333333333333 106:0.6 110:0.1111111111111111 111:1.0 136:1.0 215:0.09090909090909091 236:0.1111111111111111 242:0.5 268:1.0 450:0.5 544:1.0 620:1.0 729:1.0 904:1.0 911:1.0 1186:1.0 1187:1.0 1834:1.0 1910:1.0 2521:1.0 2774:1.0 3725:1.0 3934:1.0 5613:1.0 7729:1.0
11 14:1.0 18:0.4 31:0.2857142857142857 41:1.0 99:0.5 110:0.1111111111111111 269:1.0 448:1.0 582:1.0 646:0.3333333333333333 755:0.1111111111111111 805:0.25 1297:1.0 1442:1.0 1486:1.0 3693:1.0 5677:0.2 5916:1.0
11 7:0.5 12:0.16666666666666666 15:1.0 18:0.2 31:0.14285714285714285 50:0.3333333333333333 52:0.02857142857142857 66:0.14285714285714285 102:0.25 215:0.09090909090909091 230:1.0 231:1.0 236:0.1111111111111111 265:1.0 281:1.0 289:0.3333333333333333 328:0.5 355:1.0 393:1.0 408:1.0 481:1.0 646:0.3333333333333333 688:0.5 717:1.0 1137:1.0 1230:1.0 1486:1.0 1778:1.0 1831:1.0 1866:1.0 2696:1.0 3120:1.0 5290:0.3333333333333333 5313:1.0 5317:1.0 5361:1.0 5502:1.0 6145:1.0 6945:1.0 8316:1.0
11 12:0.08333333333333333 50:0.3333333333333333 66:0.14285714285714285 119:1.0 126:0.09090909090909091 388:1.0 408:1.0 621:3.0 864:1.0 1383:2.0 1504:1.0 2318:1.0 2980:1.0 6852:1.0
11 7:0.5 11:0.25 12:0.25 16:0.3333333333333333 18:0.2 48:0.3333333333333333 50:0.3333333333333333 52:0.02857142857142857 53:0.2 59:0.5 66:0.2857142857142857 84:1.0 99:0.5 102:0.75 106:0.4 128:0.3333333333333333 150:0.5 153:3.0 183:0.5 214:1.0 256:1.0 298:1.0 403:0.5 482:1.0 688:0.5 755:0.1111111111111111 1095:1.0 1499:1.0 3373:0.5 3650:1.0 4804:1.0 5066:1.0 7127:1.0 7509:1.0
11 14:1.0 15:1.0 31:0.2857142857142857 48:0.3333333333333333 50:0.3333333333333333 52:0.05714285714285714 66:0.14285714285714285 102:0.25 105:0.16666666666666666 106:0.2 126:0.09090909090909091 204:1.0 224:1.0 348:0.3333333333333333 450:1.0 582:1.0 863:1.0 1315:1.0 1899:1.0 1928:1.0 2193:1.0 2270:1.0 2611:1.0 2830:1.0 4395:1.0 4432:1.0 4545:1.0 5386:1.0 5593:1.0
11 7:0.5 9:0.5 12:0.16666666666666666 18:0.2 37:1.0 50:0.3333333333333333 52:0.02857142857142857 55:0.3333333333333333 81:1.0 106:0.4 110:0.1111111111111111 153:1.0 256:1.0 284:1.0 319:0.3333333333333333 329:1.0 348:0.3333333333333333 367:1.0 563:1.0 1085:1.0 1141:1.0 1731:1.0 1805:1.0 2723:0.5 3301:1.0 4381:1.0 4382:1.0 5050:1.0
11 12:0.25 18:0.2 31:0.14285714285714285 50:0.3333333333333333 66:0.14285714285714285 110:0.1111111111111111 111:1.0 128:0.3333333333333333 132:1.0 275:0.1111111111111111 330:1.0 361:0.5 514:1.0 590:1.0 755:0.1111111111111111 849:1.0 884:0.5 1074:1.0 1129:2.0 1487:1.0 2193:1.0 2981:1.0 3836:1.0
11 7:1.0 9:0.5 11:0.25 12:0.08333333333333333 17:1.0 18:0.2 31:0.14285714285714285 50:0.3333333333333333 55:0.3333333333333333 59:0.16666666666666666 99:0.5 102:0.25 106:0.4 112:1.0 113:1.0 236:0.1111111111111111 260:0.3333333333333333 275:0.1111111111111111 343:1.0 362:1.0 380:1.0 664:1.0 962:0.5 966:1.0 1086:1.0 2318:1.0 2607:1.0 2723:0.5 3268:1.0 3269:1.0 9008:1.0
11 7:0.5 14:1.0 15:1.0 50:0.6666666666666666 66:0.14285714285714285 110:0.1111111111111111 112:1.0 275:0.1111111111111111 284:1.0 321:1.0 348:0.3333333333333333 437:0.5 688:0.5 884:0.5 1129:1.0 1212:1.0 1405:0.25 1837:1.0 2640:1.0 3705:1.0
11 7:1.5 9:1.0 12:0.3333333333333333 22:1.0 31:0.14285714285714285 46:0.125 50:0.3333333333333333 52:0.05714285714285714 53:0.2 55:0.3333333333333333 59:0.16666666666666666 66:0.2857142857142857 99:0.5 105:0.16666666666666666 110:0.1111111111111111 117:2.0 150:0.5 177:1.0 236:0.1111111111111111 310:1.0 343:1.0 355:1.0 450:1.0 507:1.0 783:1.0 818:1.0 823:1.0 829:1.0 1053:1.0 1121:0.3333333333333333 1206:0.5 2733:1.0 3622:1.0 3650:1.0 3753:1.0 4522:1.0 5206:1.0
11 7:0.5 12:0.08333333333333333 16:0.3333333333333333 22:2.0 31:0.14285714285714285 34:0.5 40:0.25 47:0.5 99:1.0 105:0.16666666666666666 106:0.2 113:1.0 185:0.5 223:1.0 279:0.16666666666666666 309:1.0 556:0.6666666666666666 622:1.0 755:0.1111111111111111 857:1.0 1118:1.0 1691:1.0 1729:1.0 4604:1.0 9260:1.0
11 7:0.5 12:0.08333333333333333 15:1.0 18:0.2 23:1.0 43:1.0 48:0.3333333333333333 52:0.02857142857142857 102:0.25 105:0.16666666666666666 106:0.4 136:1.0 155:0.5 162:0.5 236:0.1111111111111111 267:0.3333333333333333 269:1.0 330:1.0 405:1.0 745:1.0 938:1.0 1176:1.0 1496:1.0 1536:1.0 1809:1.0 1846:1.0 2095:1.0 2273:1.0 2539:0.5 2651:1.0 2830:1.0 3504:1.0 5023:1.0
11 7:0.5 16:0.3333333333333333 18:0.2 22:1.0 40:0.25 41:1.0 47:0.5 48:0.6666666666666666 50:0.3333333333333333 59:0.16666666666666666 117:1.0 135:1.0 323:0.5 825:0.5 870:1.0 1055:1.0 1263:0.5 1383:1.0 1694:1.0 1729:1.0 2053:1.0 2087:1.0 3123:1.0 4119:1.0
11 7:1.0 9:0.5 12:0.08333333333333333 48:0.3333333333333333 53:0.2 59:0.16666666666666666 66:0.14285714285714285 97:1.0 282:0.25 284:1.0 292:1.0 298:1.0 321:1.0 616:0.1111111111111111 883:1.0 964:0.2 1694:1.0 2470:1.0 2519:1.0 3666:1.0 8137:1.0
11 7:0.5 16:0.3333333333333333 237:0.1111111111111111 277:1.0 362:1.0 616:0.1111111111111111 782:1.0 868:1.0 936:0.3333333333333333 1212:1.0 1469:1.0 2086:1.0 2590:1.0 3148:1.0 4511:1.0
11 31:0.14285714285714285 50:0.3333333333333333 55:0.3333333333333333 66:0.2857142857142857 103:0.5 105:0.16666666666666666 215:0.09090909090909091 1392:1.0 1773:1.0 2783:1.0 3439:1.0 8182:1.0 9008:1.0
11 7:1.0 9:0.5 12:0.16666666666666666 22:1.0 23:1.0 33:1.0 41:1.0 46:0.25 47:0.5 52:0.11428571428571428 71:1.0 75:1.0 99:0.5 105:0.16666666666666666 110:0.1111111111111111 112:1.0 127:0.3333333333333333 132:1.0 150:0.5 260:0.3333333333333333 286:0.5 293:1.0 330:1.0 336:1.0 343:1.0 348:0.3333333333333333 362:1.0 536:1.0 755:0.1111111111111111 811:1.0 1668:1.0 1946:1.0 2452:0.3333333333333333 2721:1.0 3156:1.0 3162:1.0 3230:1.0 3709:1.0 3882:1.0 5066:1.0 5625:1.0 7214:1.0
11 9:0.5 12:0.08333333333333333 18:0.2 22:1.0 31:0.14285714285714285 50:0.3333333333333333 52:0.02857142857142857 59:0.16666666666666666 88:0.3333333333333333 105:0.16666666666666666 236:0.1111111111111111 275:0.1111111111111111 582:1.0 664:1.0 936:0.3333333333333333 1506:1.0 1531:0.5 2508:1.0 5625:1.0
11 12:0.16666666666666666 31:0.2857142857142857 47:0.5 50:0.3333333333333333 52:0.02857142857142857 59:0.3333333333333333 60:1.0 66:0.2857142857142857 75:0.5 128:0.3333333333333333 150:0.5 260:0.3333333333333333 275:0.1111111111111111 278:1.0 330:1.0 342:0.5 368:1.0 772:1.0 783:1.0 1020:1.0 1025:0.6666666666666666 1834:1.0 2770:1.0 3438:1.0 4891:1.0 5066:1.0 5745:0.5 5855:1.0 8235:1.0
11 7:1.0 16:0.3333333333333333 50:0.3333333333333333 55:0.3333333333333333 66:0.14285714285714285 99:0.5 127:0.3333333333333333 128:0.3333333333333333 221:0.5 240:0.5 275:0.1111111111111111 390:1.0 507:1.0 516:0.5 804:1.0 1025:0.3333333333333333 1674:1.0 1746:1.0 1884:1.0 2159:0.5 2266:1.0 2401:1.0 2541:1.0
11 9:0.5 12:0.08333333333333333 31:0.14285714285714285 33:1.0 41:1.0 46:0.625 48:0.3333333333333333 50:0.6666666666666666 52:0.05714285714285714 55:0.3333333333333333 58:1.0 105:0.16666666666666666 106:0.4 126:0.09090909090909091 150:0.5 242:0.5 256:1.0 336:1.0 355:1.0 362:1.0 411:1.0 525:1.0 533:1.0 687:0.5 700:0.5 755:0.1111111111111111 777:1.0 811:1.0 812:1.0 3011:1.0 3142:1.0
11 9:0.5 12:0.16666666666666666 15:2.0 50:0.3333333333333333 52:0.05714285714285714 59:0.3333333333333333 66:0.14285714285714285 165:0.3333333333333333 183:0.5 198:1.0 215:0.09090909090909091 491:1.0 536:1.0 943:1.0 1059:1.0 1116:1.0 1407:1.0 1813:1.0 2180:1.0 2599:1.0 5365:1.0
11 7:0.5 11:0.25 14:1.0 66:0.14285714285714285 110:0.1111111111111111 126:0.09090909090909091 135:1.0 240:0.5 260:0.3333333333333333 286:0.5 342:0.25 755:0.1111111111111111 1332:1.0 1355:1.0 1399:1.0 1847:1.0
11 5:1.0 7:0.5 11:0.25 12:0.08333333333333333 41:1.0 46:0.125 50:0.3333333333333333 52:0.08571428571428572 66:0.2857142857142857 105:0.16666666666666666 110:0.1111111111111111 128:0.6666666666666666 150:0.5 153:1.0 222:0.3333333333333333 342:0.25 388:1.0 450:0.5 544:1.0 1297:1.0 2065:1.0 2150:1.0 2377:1.0 3271:1.0 3350:1.0 4343:1.0 4596:1.0 5613:1.0 6893:1.0 7508:1.0 8205:1.0
11 7:0.5 9:0.5 12:0.08333333333333333 15:2.0 16:0.3333333333333333 22:1.0 26:0.25 43:1.0 45:0.5 46:0.125 48:0.3333333333333333 50:0.3333333333333333 52:0.02857142857142857 66:0.2857142857142857 70:0.1111111111111111 75:0.5 81:1.0 99:1.5 102:0.25 105:0.16666666666666666 110:0.1111111111111111 113:1.0 127:0.3333333333333333 128:0.3333333333333333 133:0.5 134:0.25 153:1.0 183:0.5 236:0.1111111111111111 258:1.0 320:1.0 355:1.0 432:0.3333333333333333 616:0.1111111111111111 688:0.5 823:1.0 1118:1.0 1170:1.0 1182:1.0 1251:1.0 1393:1.0 1405:0.25 1464:1.0 1980:1.0 2105:1.0 2537:0.5 2978:1.0 4474:1.0 5962:1.0 9386:1.0
11 3:1.0 7:0.5 9:0.5 11:0.25 12:0.08333333333333333 15:2.0 31:0.14285714285714285 47:0.5 50:0.6666666666666666 52:0.05714285714285714 55:0.3333333333333333 59:0.16666666666666666 66:0.2857142857142857 99:0.5 102:0.25 106:0.6 110:0.1111111111111111 126:0.09090909090909091 203:1.0 215:0.09090909090909091 257:1.0 275:0.1111111111111111 282:0.25 328:0.5 330:2.0 361:0.5 556:0.3333333333333333 619:1.0 777:1.0 999:1.0 1117:1.0 1581:1.0 1609:1.0 1757:0.5 1896:1.0 1908:0.3333333333333333 2225:1.0 2657:1.0 2830:1.0 4714:1.0 4739:1.0
11 9:0.5 55:0.3333333333333333 59:0.16666666666666666 89:1.0 92:1.0 93:1.0 99:0.5 102:0.25 103:0.5 106:0.2 110:0.1111111111111111 153:1.0 165:0.3333333333333333 183:0.5 236:0.1111111111111111 260:0.3333333333333333 287:1.0 450:0.5 616:0.2222222222222222 1469:1.0 2336:1.0 2837:1.0 3437:1.0 5172:1.0 5465:1.0
11 7:0.5 14:1.0 22:2.0 23:1.0 52:0.02857142857142857 66:0.2857142857142857 99:0.5 103:0.5 150:0.5 216:1.0 229:1.0 233:1.0 236:0.1111111111111111 237:0.1111111111111111 328:0.5 342:0.25 388:1.0 390:1.0 465:1.0 616:0.1111111111111111 653:1.0 729:1.0 746:1.0 1032:0.3333333333333333 1114:1.0 1586:1.0 1851:1.0 2379:1.0 3313:1.0 3457:0.5 5365:1.0 6672:1.0
11 11:0.25 19:1.0 32:1.0 41:1.0 46:0.125 52:0.02857142857142857 66:0.2857142857142857 99:0.5 106:0.2 224:1.0 243:1.0 317:1.0 330:2.0 408:1.0 432:0.3333333333333333 548:1.0 550:0.3333333333333333 554:1.0 960:0.5 1066:1.0 1148:1.0 1153:1.0 1558:1.0 1597:1.0 1767:1.0 2496:1.0 2981:1.0 3211:1.0 3922:1.0 5127:1.0 6313:1.0
11 7:0.5 9:0.5 12:0.08333333333333333 14:1.0 15:1.0 24:0.3333333333333333 33:1.0 48:0.3333333333333333 50:0.3333333333333333 55:0.6666666666666666 60:0.5 66:0.2857142857142857 75:0.5 99:1.0 105:0.16666666666666666 135:1.0 178:1.0 269:1.0 286:0.5 371:1.0 388:1.0 542:1.0 795:1.0 982:1.0 1554:0.25 2093:1.0 2231:1.0 2270:1.0 3283:1.0 3301:1.0 4487:1.0 5534:1.0 6841:1.0 8717:1.0 9120:1.0
11 9:1.0 12:0.08333333333333333 22:1.0 52:0.02857142857142857 55:0.3333333333333333 58:1.0 103:0.5 110:0.1111111111111111 126:0.09090909090909091 236:0.1111111111111111 275:0.1111111111111111 336:1.0 342:0.25 345:0.2 548:1.0 550:0.3333333333333333 580:1.0 616:0.1111111111111111 964:0.2 1403:1.0 1461:1.0 1486:1.0 2054:1.0 2140:1.0 2533:1.0 2951:1.0 3040:1.0 3838:1.0 4325:1.0 5534:1.0 5593:1.0 9026:1.0
11 5:1.0 7:0.5 36:0.3333333333333333 50:0.6666666666666666 52:0.02857142857142857 59:0.3333333333333333 78:1.0 110:0.1111111111111111 113:1.0 135:1.0 165:0.6666666666666666 216:1.0 336:1.0 348:0.3333333333333333 367:1.0 610:0.2 780:1.0 788:0.25 936:0.3333333333333333 1276:0.3333333333333333 1411:0.5 1780:1.0 2723:0.5 4784:1.0
11 7:1.0 9:0.5 12:0.08333333333333333 14:1.0 15:2.0 16:0.3333333333333333 41:1.0 45:0.5 46:0.125 47:0.5 50:1.3333333333333333 53:0.4 59:0.5 66:0.2857142857142857 75:0.5 89:1.0 91:1.0 103:0.5 106:0.2 165:0.3333333333333333 236:0.1111111111111111 279:0.16666666666666666 409:1.0 617:1.0 688:0.5 755:0.1111111111111111 777:1.0 788:0.25 1025:0.3333333333333333 1260:1.0 1399:1.0 1518:1.0 1536:1.0 1538:1.0 2201:1.0 2590:1.0 3048:1.0 3060:1.0 3648:1.0 7833:1.0
11 7:1.0 12:0.16666666666666666 14:2.0 15:1.0 33:1.0 47:0.5 50:0.3333333333333333 66:0.14285714285714285 102:0.25 128:0.3333333333333333 155:0.5 237:0.1111111111111111 309:1.0 388:1.0 450:0.5 617:1.0 687:0.5 777:1.0 1025:0.3333333333333333 1212:1.0 2926:1.0 2973:1.0 3246:1.0 3747:1.0 5172:1.0
11 7:0.5 12:0.08333333333333333 15:2.0 22:1.0 31:0.2857142857142857 46:0.375 48:0.3333333333333333 50:1.0 52:0.02857142857142857 59:0.3333333333333333 66:0.14285714285714285 105:0.16666666666666666 110:0.2222222222222222 126:0.09090909090909091 165:0.3333333333333333 185:0.5 224:1.0 292:1.0 313:1.0 328:0.5 377:1.0 392:1.0 432:0.3333333333333333 437:0.5 445:1.0 514:1.0 556:0.3333333333333333 617:1.0 687:0.5 825:0.5 1141:1.0 1301:1.0 1558:1.0 2263:1.0 2402:1.0 2624:1.0 3244:1.0 3579:1.0 4461:1.0 5074:1.0 5173:1.0 8350:1.0
11 9:0.5 11:0.5 15:1.0 22:1.0 28:1.0 30:1.0 31:0.14285714285714285 46:0.125 50:0.6666666666666666 55:0.3333333333333333 66:0.14285714285714285 99:0.5 113:1.0 114:1.0 122:1.0 127:0.3333333333333333 183:0.5 224:1.0 260:0.3333333333333333 445:1.0 484:0.5 491:1.0 556:0.3333333333333333 1032:0.3333333333333333 1116:1.0 1144:1.0 1212:1.0 1424:1.0 1757:0.5 2178:1.0 3787:1.0 6033:1.0 7837:1.0
|
d20b49aa659b04bb85e7f873791c27213a9782f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH6/EX6.10/Ex6_10.sce | 7545e36da5718f0d64ca328c85340f6191ffadb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | Ex6_10.sce | clear
//
//
//
//Variable declaration
N=3*10**25 //number of atoms
epsilon0=8.85*10**-12
r=0.2*10**-9 //radius(m)
E=1 //field
//Calculation
p=4*%pi*epsilon0*r**3 //dipole moment per unit electric field(F-m**2)
P=N*p //polarisation(C-m)
epsilonr=1+(4*%pi*r**3*N/E) //dielectric constant
alphae=epsilon0*(epsilonr-1)/N //polarisability(Fm**2)
//Result
|
77355a8ba43da76ee94b1d5d2b351224cf4a1fb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH6/EX6.6/Ex6_6.sce | e5c4db907bbd62f47f99b816d14c608b58adacda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_6.sce | clear ;
clc;
// Example 6.6
printf('Example 6.6\n\n');
printf('Page No. 149\n\n');
// given
F = 1;// Fuel feed in kg
C = 0.86;// Mass of Carbon in kg
H2 = 0.05;// Mass of Hydrogen in kg
S = 0.01;// Mass of Sulphur in kg
O2 = 0.08;// Mass of Oxygen in kg
w_C = 12; // mol. weight of C
w_H2 = 2; //mol. weight of H2
w_O2 = 32; // mol. weight of O2
w_S = 32; //mol. weight of S
//Basis- Per kg of fuel
mol_C = C / w_C;// kmol of C
mol_H2 = H2 /w_H2;//kmol of H2
mol_O2 = O2 /w_O2;//kmol of O2
mol_S = S /w_S;//kmol of S
//By kmol of product
CO2 = mol_C*1;// CO2 formed by the reaction C + O2 -> CO2
H2O = mol_H2*1;// H2O formed by the reaction H2 + (1/2)O2 -> H2O
SO2 = mol_S*1;// SO2 formed by the reaction S + O2 -> SO2
Pdt = CO2 + H2O + SO2;// Total kmol of combustion products in kmol
//Calculation of excess air
C_req = mol_C*1;//O2 required by entering C given by reaction C+O2->CO2 in kmol
H_req = mol_H2*0.5;//O2 required by entering H2 given by reaction H2+(1/2)O2->H20 in kmol
S_req = mol_S*1;//O2 required by entering S given by reaction S+O2->SO2 in kmol
O2_req = (C_req + H_req + S_req) - mol_O2// Total number of kmol of O2 required per kg of fuel in kmol
N2 = (O2_req*79)/21;// in kmol (considering air consists of 79% N2 and 21% O2 by moles)
Wet_pdts = Pdt + N2;// Wet combustion products in kmol
//Considering air as an ideal gas,calculating volume of air by ideal gas equation-P*V = n*R*T
R = 8310;//Universal gas constant in J/kmol-K
T = (273+0);// in K
P = 1.013*10^5;// in N/m^2
n_wet = Wet_pdts;// in kmol
V_wet = (n_wet*R*T)/P;// In m^3
n_dry = n_wet - H2O;//in kmol
V_dry = (n_dry*R*T)/P;// In m^3
printf('Volume of wet flue gas is %3.2f m^3 \n',V_wet)
printf('Volume of dry flue gas is %3.2f m^3',V_dry)
|
48fdfb3053e3a894a6a881e3b5f30587ef36cf44 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/cp02.tst | 992a3eec49007c50eb5f727c992ce68394089c52 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | tst | cp02.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the CP (compare two registers) instruction"
; @Result: "flags.h=0, flags.s=0, flags.v=1, flags.n=1, flags.z=0, flags.c=1, r16 = 0"
start:
ldi r16, 0b00000000
ldi r17, 0b10000000
cp r16, r17
end:
break
|
38ede7fe685a0c61f03863c1a29c6e136b51ced4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH13/EX13.14/Ex13_14.sce | 51538e90731fcc966c53ca651df3c97bd2b50149 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | Ex13_14.sce | // chapter 13
// example 13.14
// Determine total average power loss and percentage increase in deivce rating
// page-840-841
clear;
clc;
// given
T_J=150; // in degree C (maximum junction temperature)
Q_JC=0.015; // in degree C/W
Q_CS=0.08; // in degree C/W
Ta_1=60; // in degree (heat sink temperature1)
Ta_2=50 // in degree (heat sink temperature2)
// calculate
Pav1=(T_J-Ta_1)/(Q_JC+Q_CS);
Pav2=(T_J-Ta_2)/(Q_JC+Q_CS);
percent_increase=((sqrt(Pav2)-sqrt(Pav1))/sqrt(Pav1))*100;
printf("\nThe total average power loss is \t\t\t Pav1=%.2f W",Pav1);
printf("\nThe required percentage increase in deivce rating is \t %.2f %%",percent_increase);
// Note :The answer vary slightly due to precise calculation |
1582111098c36a9c1ec00dd6831d6c61a0aa4164 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH46/EX46.1/example1.sce | ae1707ffe933a20c5c6cff461cc2ca90147fca63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sce | example1.sce | //example 1
//chapter 46
theta=acosd(1/sqrt(2))
disp(180-theta,"Polarization angle theta=") |
01802ff24d7d282b6ac0b9bbfff6da4a0aa1b4b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH17/EX17.3/17_3.sce | c7806e51d19f1f42e28e35aec20fc640a3da433d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | 17_3.sce | clear
clc
//Example 17.3
disp('Example 17.3')
z=%z;
Gz=(-0.3225*z^-2+0.5712*z^-3)/(1-0.9744*z^-1+0.2231*z^-2);
G=tf2ss(Gz)
n=10;
u=ones(1,n);
y=dsimul(G,u);
disp(y','y=')
mprintf('\n\nAlternatively the simulation can also be done\n...
using syslin(d,Gz) and flts(u,Gz)\n\n')
Gz2=syslin('d',Gz);
y2=flts(u,Gz2)
disp(y2','y2=')
|
cba6d6e830c9732c5672bb8cc2858be980cf88cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH7/EX7.4/S_7_4.sce | 8f692a316373955864a44f6c9aa78b918376a46b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,553 | sce | S_7_4.sce | clc;
//Drawing of shear and bending moment diagram
printf("Given problem is for drawing diagram, this diagram is drawn by step by step manner.\n ");
F_B=500;//N, force applied at B
F_C=500;//N, force applied at C.
F_DE=2400;//N/m, distributed load applied at D to E
AB=0.4;//m, perpendicular distance between A and B
BC=0.4;//m, perpendicular distance between C and B
CD=0.4;//m, perpendicular distance between C and D
DE=0.3;//m, perpendicular distance between E and D
F_E=F_DE*DE;//N, force exerted at DE/2 from E
//By free body of entire beam
//By sum(m_D)=0
A=(CD*F_C+(BC+CD)*F_B-F_E*DE/2)/(AB+BC+CD);//N, Reaction at A
//By sum(Fy)=0
Dy=F_C+F_B+F_E-A;//N,Y component of Reaction at D
//By sum(Fx)=0
Dx=0;//N,Y component of Reaction at D
//For section 1
//Applying sum(Fy)=0
V1=A;//N, shear force from A to B
//For section 2
//Applying sum(Fy)=0
V2=A-F_B;//N, shear force from B to C
//For section 3
//Applying sum(Fy)=0
V3=A-F_B-F_C;//N, shear force from C to D
//For section 4
//Applying sum(Fy)=0
V4=A-F_B-F_C+Dy;//N, shear force At D
//For section 5
//Applying sum(Fy)=0
V5=0;//N, shear force at A
//Area under bending curve is change in bending moment of that 2 points
MA=0;//N.m
MB=MA+V1*AB;//N.m
MC=MB+V2*BC;//N.m
MD=MC+V3*CD;//N.m
ME=MD+1/2*V4*AB;//N.m
X=[0,0.4,0.4,0.8,0.8,1.2,1.2,1.5];
V=[V1,V1,V2,V2,V3,V3,V4,V5];//Shear matrix,
plot(X,V);//Shear diagram
X=[0,AB,AB+BC,AB+BC+CD,AB+BC+CD+DE];
M=[MA,MB,MC,MD,ME];//Bending moment matrix
plot(X,M,'r');//Bending moment diagram
|
bd64a6646788b8c3ccd3e6356be3f1b9ee131a58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.30/2_30.sce | 9ae243ed36f8037f7e731801b465ebce1133c014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | 2_30.sce | clc,clear
printf('Example 2.30\n\n')
V=220
I_L=52
N_1=750, N_2=600
R_a=0.2, R_sh = 110 //armature and shunt field resistance
I_sh=V/ R_sh
I_a1= I_L - I_sh
I_a2=I_a1//T (prop.) I_a and T is constant
E_b1 = V - I_a1*R_a
//N (prop.) E_b/phi (prop.) E_b
E_b2 = E_b1*(N_2/N_1)
R_x = (V- E_b2)/I_a2 -R_a //Because E_b2 = V - I_a2*(R_a+R_x)
printf('Resistance to be connected in series = %.2f ohms\n',R_x)
//After R_x gets connected in series with armature and 110 ohms in series with field winding
N_1=600
I_sh2=V /(R_sh+110)
I_a1=50,I_sh1=2,I_sh2=1
//T (prop.) I_a*I_sh and T doesn't vary
I_a2 = I_a1*(I_sh1/I_sh2)
E_b1 = V - I_a1*(R_a+R_x)
E_b2 = V - I_a2*(R_a+R_x)
N_2 = N_1*(E_b2/E_b1)*(I_sh1/I_sh2) //Because N (prop.) E_b/I_sh
printf('New speed= %.3f rpm',N_2)
|
1f212f8505f30a929aa525e257cadc7219e69460 | 89bd85001a11a2a0f501317fc244013567513dd7 | /scenario/simpleScenario/simpleScenario_02.sce | 10520edede9e3deb37084adc19cb04240864ffbf | [
"MIT"
] | permissive | triacontane/mv | 51d4960b9cfea5c0aa5c4c56cb3deff01f221642 | 49a087a21d4dd9c045b151e6c8767ce5f5381806 | refs/heads/master | 2021-01-12T17:36:18.214276 | 2017-02-12T01:41:43 | 2017-02-12T01:41:43 | 86,892,514 | 2 | 1 | null | 2017-04-01T07:10:07 | 2017-04-01T07:10:07 | null | UTF-8 | Scilab | false | false | 391 | sce | simpleScenario_02.sce | @start
@mob1 name=モブ1
@mob2 name=モブ2
@m1
こんにちは。
@m1
私の名前は、@mob1 name=
で指定したものになります。
@m1 name=一時的な名前
name= を設定すると、一時的にその名前になります。
@m1 face=Actor1 index=2
顔グラも設定できます。
@m2
モブその2です
@m2 color=2
モブその2です。色付き。
@hide |
0a78ba1fe8db5373c95cdf56cd256f3fe762ee96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH26/EX26.3/Ex26_3.sce | dc80c1d5c4358b163149e50b5e73868167f9fe21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | Ex26_3.sce | //Example 26.3
d_i=(-30+1.5)*10^-2;//Image distance (m)
d_o=%inf;//Object distance (m)
P=1/d_o+1/d_i;//Power (D)
printf('Power of spectacle lens required = %0.2f D',P)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
500b4090936e6552a6c41a7ee1260c5b27d8e56b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH3/EX3.10/Ex3_10.sce | 669d0c68b1a9dd009dbb4fec2035170590884828 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,263 | sce | Ex3_10.sce | //Initilization of variables
F1=100 //lb
F2=80 //lb
F3=120 //lb
F4=150 //lb
theta1=((60*%pi)/180) //radians
theta2=((45*%pi)/180) //radians
theta3=((90*%pi)/180) //radians
theta4=((75*%pi)/180) //radians
//Distance from point O
x1=-5 //ft
y1=20 //ft
x2=10 //ft
y2=10 //ft
x3=25 //ft
y3=25 //ft
x4=35 //ft
y4=15 //ft
//Calculations
Fx=F1*cos(theta1)+F2*cos(theta2)+F4*cos(theta4) //lb
Fy=-F1*sin(theta1)+F2*sin(theta2)-F3-F4*sin(theta4) //lb
R=sqrt(Fx^2+Fy^2) //lb
theta=atan(Fy/Fx) //radians
theta_x=(theta*180)/%pi //degrees
M_O=-(F1*cos(theta1)*y1)+(-x1)*(F1*sin(theta1))-(x2)*(F2*cos(theta2))+(y2)*(F2*sin(theta2))-(x3*F3)-(y4*F4*cos(theta4))-(x4*F4*sin(theta4)) //lb-ft
//Applying varignons theorem
x=M_O/Fy //ft
y=-M_O/Fx //ft
//Results
clc
printf('The resultant of the force system is:%f lb\n',R) //lb
printf('The resultant acts at %f degrees with respect to X-Axis \n',theta_x) //degrees
printf('The moment about point O is:%f lb-ft \n',M_O) //lb-ft
printf('The x intercept of resultant is:%f ft\n',x) //ft
printf('The y intercept of resultant is:%f ft\n',y) //ft
//Answer for angle should be negative which has not been mentioned in the tectbook but a schematic shows the angle in fourth quadrant to clarify the doubt
|
710567ba5bf980aa3428f012b6dfd72b2f8862a2 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/comment/0035.tst | d765701884456bc5fcbb2d624d8b5328b554b23d | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5 | tst | 0035.tst | ;A!
|
213b89e8628bb395c4918045f834308cdba70956 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/543.sci | 4b9d7e7d27034ccac20006631eeb930fa70110d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sci | 543.sci | yN2=0.75
yH2=1-yN2
P=800 //atm
T= -70+273.2 //K
TcH2=33 //K
TcN2=126.2 //K
PcH2=12.8 //atm
PcN2=33.5 //atm |
a47073355c204913ef926c7510c80f42e36a4020 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/flags24.tst | 60e2602c7d81d214577222810d8d651d6b8eaef0 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | tst | flags24.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the BST (bit store to register T) instruction"
; @Result: "flags.t = 0, r17 = 11"
start:
set
ldi r17, 0b1011
bst r17, 2
end:
break
|
12e54cebe4ed2b67690ac9ef17d700e962b51c1f | 12d276a808c8403c4dd3b13dea1edb8720127311 | /tryout.sce | 8a2714e247db5edc2a2fe1900c49ba6b78d7af14 | [] | no_license | npytabitha/VOT3 | 85b317ae4c120eb2bda125b28c1ad27243d40eab | 51032662c4a6f0960393aad4ebf9b3289c641155 | refs/heads/develop | 2021-01-10T05:44:31.715364 | 2015-10-01T13:34:47 | 2015-10-01T13:34:47 | 43,233,510 | 0 | 1 | null | 2015-10-02T09:05:14 | 2015-09-27T03:56:10 | Scilab | UTF-8 | Scilab | false | false | 182 | sce | tryout.sce | begin;
array {
1;
2;
3;
4;
} firstArray;
array {
5;
6;
7;
8;
} secArray;
array {
9;
10;
11;
12;
} thirdArray;
array {
13;
14;
15;
16;
} fourthArray;
begin_pcl;
|
ac8ca75929f4d49d5ee0198f6f99105abe23ae15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.10/Ch01Ex10.sci | a2343bc493af76323f48524dd4132532f572d3e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sci | Ch01Ex10.sci | // Scilab Code Ex1.10 Heat equivalent of mass: Pg:23 (2008)
c = 3e+08; // Speed of light, m/s
J = 4.18; // Joule's equivalent of heat, joule per calorie
m = 4.18e-03; // Mass of the substance, kg
U = m*c^2; // Energy equivalent of mass, J
Q = U/J; // Heat equivalent of mass, calorie
printf("\nThe heat equivalent of mass = %1.0e cal", Q);
// Result
// The heat equivalent of mass = 9e+013 cal |
7bdeed96b8cd17aff2439baed4863fa66a8444d1 | de14a6897d4397228a52bacb8905b8807370ef4b | /sierpinski_iteratif.sce | e6db64ef39256143c172bd84f50c004107b24371 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | sierpinski_iteratif.sce | function Y=f0(X)
Y=[1/2 0;0 1/2]*X;
endfunction
function Y=f1(X)
Y=[1/2 0;0 1/2]*X+[1/2;0];
endfunction
function Y=f2(X)
Y=[1/2 0;0 1/2]*X+[1/4;sqrt(3)/4];
endfunction
N=input("Entrez n, le nombre de points a dessiner : ");
T=zeros(2,N); T(:,1)=[0,0]'; //initialisation de l'ensemble de N points
for i=2:N
t=floor(3*rand(1)+1); //selection aleatoire de la fonction
select t
case 1 then
T(:,i)=f0(T(:,i-1));
case 2 then
T(:,i)=f1(T(:,i-1));
case 3 then
T(:,i)=f2(T(:,i-1));
end
end
clf;
isoview(0,1,0,1);
plot(T(1,:),T(2,:),".",'markersize',1); //affichage
|
74781cf9a0d5af978e061827718aa7b13225d360 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH9/EX9.15/9_15.sce | 3468a627df832b8ecf818c3caeec8bbe192a6ec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,627 | sce | 9_15.sce | //pathname=get_absolute_file_path('9.15.sce')
//filename=pathname+filesep()+'9.15-data.sci'
//exec(filename)
//Ambient temperature(in K):
T1=17+273
//Temperature at state 3(in K):
T3=1400
T5=420
//Ambient pressure(in bar):
p1=1
//As pressure ratio is 10, pressure at state 2(in bar):
p2=10
p3=10
p4=1
//Pressure in HSRG(in kPa):
ph=6000
//Condensor pressure(in kPa):
pc=15
//Combined cycle output(in MW):
O=37.3
//Adiabatic index of compression:
r=1.4
//Value of Cp(in kJ/kg.K):
Cp=1.0032
//From steam tables:
ha=3177.2 //kJ/kg
sa=6.5408 //kJ/kg.K
sb=sa
x=0.7976
hb=2118.72 //kJ/kg
hc=225.94 //kJ/kg
vc=0.001014 //m^3/kg
//Temperature at state 2(in K):
T2=T1*(p2/p1)^((r-1)/r)
//Temperature at state 4(in K):
T4=T3*(p4/p3)^((r-1)/r)
//Compressor work per kg(in kJ/kg):
Wc=Cp*(T2-T1)
//Turbine work per kg(in kJ/kg):
Wt=Cp*(T3-T4)
//Heat added in combustion chamber(in kJ/kg):
qa=Cp*(T3-T2)
//Net gas turbine output(in kJ/kg air):
WnetGT=Wt-Wc
//Heat recovered in HSRG for steam generation(in kJ/kg):
qHSRG=Cp*(T4-T5)
//Enthalpy at exit of feed pump(in kJ/kg):
hd=vc*(ph-pc)*10^2
//Heat added per kg of steam(in kJ/kg):
had=ha-hd
//Mass of steam generated per kg of air:
m=qHSRG/had
//Net steam turbine cycle output(in kJ/kg):
WnetST=ha-hb-(hd-hc)
//Steam cycle output per kg(in kJ/kg air):
sco=WnetST*m
//Total combined output(in kJ/kg air):
tco=WnetGT+sco
//Combined cycle efficiency:
ncc=tco/qa
//Gas turbine efficiency:
ngt=WnetGT/qa
printf("\nRESULT")
printf("\nOverall efficiency = %f percent",ncc*100)
printf("\nSteam per kg of air =%f kg steam/kg air",m) |
c9774c4447b793824e6cb50351d2efbafd8097b7 | 5d9dcd8d7c07378c89699ed1ecaa0ff9b78feb7d | /queue.sce | 034da3830ddc7fa7617a4361ec12bb69e1bf66fc | [] | no_license | Ayush-pahuja/simulation-and-modelling | fb31db837b61ea7d10a87380ab5fdd6609180c24 | 468ece44d9218926d8122c2fe2fe52b4e6b4b91d | refs/heads/main | 2023-08-05T01:50:59.879964 | 2021-10-06T08:14:05 | 2021-10-06T08:14:05 | 389,921,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | queue.sce | ar_t=[0,6,7,11,14,20,25]
sr_t=[2,3,1,1,1,1,2]
sr_b=[0,0,0,0,0,0,0]
sr_e=[2,0,0,0,0,0,0]
SI=[0,0,0,0,0,0,0]
cw=[0,0,0,0,0,0,0]
for i=1:6
if ar_t(i+1)>=sr_e(i) then //when the server is available
cw(i+1)=0 //customer wait
sr_b(i+1)=ar_t(i+1)
SI(i+1)=sr_b(i+1)-sr_e(i) // server idle time
sr_e(i+1)=sr_b(i+1)+sr_t(i+1)
else //when the server is occupied
cw(i+1)=sr_e(i)-ar_t(i+1)
SI(i+1)=0
sr_b(i+1)=sr_e(i)
sr_e(i+1)=sr_b(i+1)+sr_t(i+1)
end
disp(cw(i),sr_b(i),sr_e(i),ar_t(i),sr_t(i),SI(i))
disp(mean(cw),mean(SI))
end
|
30ae35ed609adbc849b86ed1c4541c39d24d1d39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH3/EX3.13/Ex3_13.sce | 66fcd25d4425ee642292c660cbaeefe9f1b6349c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ex3_13.sce | //Chapter 3: Thermodynamic and Chemical Equilibrium
//Problem: 13
clc;
//Declaration of Constants
l_v = 101 //in cal /g, Latent headt of vap.
mwt = 78 // molecular weight of benzene
//Declaration of Variable
m = 2
Tb = 80.2 // C, boiling point of benzene
// Solution
Tb = Tb + 273 // K
d_h = l_v * mwt
d_s = d_h / Tb
d_g = d_h - Tb * d_s
mprintf("d_s = %.2f cal / K\n",d_s)
mprintf(" d_g = d_a = %d", d_g)
|
bdbf5016d79029145b2373787b318e2e57e4c679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH8/EX8.4/8_4.sce | 5b3629b13dd51b0d53b0bfde24adadd5f9909c7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 8_4.sce | clc
//initialisation of variables
clear
r=1
r1=1
//CALCULATIONS
e1= r+r1
e2= r-r1
//RESULTS
printf ('vorticity = %.f*k',e1)
printf ('\n vorticity = %.f',e2)
|
96af78ea588d2f2a2f71e853e598d69a0e7c2562 | 1b3c63cb7f854378c5f1991637692ae2bf8265ac | /rlocusplot/testrlocus.sce | f07bfae69b52a3c6dd244abe9afd0f37f5181326 | [] | no_license | FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox | 9900107267e5f508f77858d128e01293966e9e10 | 2878a38e4e55806b1777f9da2e0395f321e1c952 | refs/heads/master | 2020-12-02T18:20:34.659219 | 2017-10-26T12:26:57 | 2017-10-26T12:26:57 | 96,516,803 | 0 | 1 | null | 2017-10-26T13:44:56 | 2017-07-07T08:24:44 | Scilab | UTF-8 | Scilab | false | false | 81 | sce | testrlocus.sce | sys=ssrand(1,1,4);
scf(1);
h=rlocusplot(sys);
h.background=-3;h.font_size=2;
|
a26bbe99f8d9e7d271effebfabf0bf0386c7328b | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH8/EX8.2/ex_2.sce | 60c4aca7fd06855f0b54be697246b56b509f6f78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | ex_2.sce | // EXAMPLE (PG 512)
A = [1 2 1;2 2 3;-1 -3 0] // Coefficient matrix
b = [0 3 2]' // Right hand matrix
[l,u] = lu(A)
// l is lower triangular matrix & u is upper triangular matrix
l*u
if(A==l*u)
disp('A = LU is verified')
end
det(A)
det(u)
if(det(A)==det(u))
disp('Determinant of A is equal to that of its upper triangular matrix')
// Product rule of determinants is verified
|
60162a41245afab463cb748df1bb6ace7b469731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH21/EX21.2/Ex21_2.sce | 7f1eed9212ca9e40b6e799521296dbb63cc0f0ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,713 | sce | Ex21_2.sce | //Example 21.2
R1=1;//Resistance of resistor 1 (ohm)
R2=6;//Resistance of resistor 2 (ohm)
R3=13;//Resistance of resistor 3 (ohm)
R_p=1/(1/R1+1/R2+1/R3);//Equivalent resistance for parallel combination (ohm)
printf('a.Total resistance = %0.3f ohm',R_p)
V=12;//Voltage (V)
I=V/R_p;//Current (A)
printf('\nb.Current = %0.2f A',I)
I1=V/R1;//Current through resistor 1 (A)
printf('\nc.Current through resistor 1 = %0.1f A',I1)
I2=V/R2;//Current through resistor 2 (A)
printf('\n Current through resistor 2 = %0.2f A',I2)
I3=V/R3;//Current through resistor 3 (A)
printf('\n Current through resistor 3 = %0.2f A',I3)
printf('\nDiscussion:\n Total current = %0.2f A',I1+I2+I3)
if (I1+I2+I3)==I
printf('\n It is equal to the current output of the source')
else
printf('\n It is not equal to the current output of the source')
end
P1=V^2/R1;//Power dissipated in resistor 1 (W)
printf('\nd.Power dissipated in resistor 1 = %0.1f W',P1)
P2=V^2/R2;//Power dissipated in resistor 2 (W)
printf('\n Power dissipated in resistor 2 = %0.1f W',P2)
P3=V^2/R3;//Power dissipated in resistor 3 (W)
printf('\n Power dissipated in resistor 3 = %0.1f W',P3)
P=I*V;//Power output of source (W)
printf('\ne.Power output of source = %0.1f W',P)
if abs((P1+P2+P3)-P)<0.1
printf('\nDiscussion:\nIt is equal to the total power dissipated by the resistors, (P1+P2+P3)')
else
printf('\nDiscussion:\nIt is not equal to the total power dissipated by the resistors, (P1+P2+P3)')
end
//Disregarding a variation of less than 0.1W for sub-question(e)
//Answer varies due to round off error
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
c51440c86a990f603a0833cc7da9ec9d1ba6523a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%lss_f_s.sci | ad5d9b81be4aa1eb17adccc614d17fbdbf86b9c1 | [
"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 | 258 | sci | %lss_f_s.sci | function [s]=%lss_f_s(s1,d2)
//operation s=[s1;d2]
//!
// origine s. steer inria 1987
// Copyright INRIA
[a1,b1,c1,d1,x1,dom1]=s1(2:7)
[n1,m1]=size(c1);[p2,m2]=size(d2);
s=tlist(['lss','A','B','C','D','X0','dt'],a1,b1,[c1;0*ones(p2,m1)],[d1;d2],x1,dom1)
|
2f7602b8c5f5435877c36fb255ae7621389ce331 | 34dcfd0a3d3a661a623ba00e305d50592ca2e9cf | /Newton.sce | 9da30548d86bd4c5680d844ca90306e3d598ef56 | [] | no_license | kelly-santos/M-todo-N-merico | 65bc023d4a705c83037634540d2b6ae1ed967242 | 9ae1c6d1eeb8bb855b8d911e896d2a918762c66b | refs/heads/main | 2022-12-27T10:17:16.964964 | 2020-10-12T17:12:15 | 2020-10-12T17:12:15 | 303,458,411 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Newton.sce | function y =t0(x)
y = -481 +408 +589.64 * x + (-2349.163 * x^2)/2
endfunction
function y=dv0(x)
y=589.64 -2349.163*x
endfunction
x = 0
contador=0
while(1)
contador = contador +1
xOld = x;
x= abs(x - t0(x)/dv0(x))
Er = abs((x-xOld)/x)
if (Er < 10^-3) then
break
end
end
|
a0d0617645f7af0125b6afc87df813fbc20de1a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH10/EX10.7/Ex10_7.sce | 4c142c3182fe0ed34bdc5a1fd136da1bcc757a81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | Ex10_7.sce | clear
//
//
//
//Variable declaration
d=50*10**-6 //diameter(m)
NA=0.2 //numerical aperture(m)
lamda=1*10**-6 //wavelength(m)
//Calculation
N=4.9*(d*NA/lamda)**2 //total number of guided modes
//Result
printf("\n total number of guided modes is %0.3f",N)
|
da2fb08154faea781e5304eb7d7b1f0ae4227e4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH6/EX6.6/Ex6_6.sce | a8945ae570c8c1f9d2b42316879612bf8d5a4f3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 960 | sce | Ex6_6.sce | //Example 6.6
G=6.67*10^-11;//Universal gravitational constant (N.m^2/kg^2)
M=5.98*10^24;//Mass of the Earth (kg)
r=3.84*10^8;//Radius of Moon's orbit (m)
g=G*M/r^2;//Acceleration due to gravity (m/s^2)
printf('a.Acceleration due to Earth''s gravity at the distance of the moon = %0.2e m/s^2',g)
delta_theta=2*%pi;//One complete rotation of Moon's orbit (rad)
delta_t=27.3*(1*24*60*60);//Period to make one complete rotation of Moon's orbit = 27.3 days,converted to seconds
omega=delta_theta/delta_t;//Angular velocity (rad/s)
a_c=r*omega^2;//Centripetal acceleration (m/s^2)
printf('\nb.Centripetal acceleration = %0.2e m/s^2',a_c)
printf('\nDiscussion: Centripetal acceleration found in (b.) differs from acceleration due to Earth''s gravity found in (a.) \nby %0.2f%%',(a_c-g)/g*100)
//Discussion : In agreement with answer in textbook; less than 1%
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
571a97c210a042f22c692594200655f9810b7ea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH8/EX8.3/Ex8_3.sce | 1e809cdde5cd5674fa0fd0efe23eef429c0bab6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Ex8_3.sce | //Ex8_3 PG-8.6
clc
Amid=100;//mid-band gain
f1=1e3;//loer cut-off frequency
f=20;//frquency at which the gain of the amplifier should be found
A=Amid/sqrt(1+(f1/f)^2)
printf("\n Therefore the gain of the amplifier at f = 20Hz is %.0f \n",A)
|
005dafaa87413de64d8639694c7070458cb590f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH10/EX10.1.1/10_1_1.sce | 3867c294ff2122367cfb1cecad843e1a73717d3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | 10_1_1.sce | //CAPTION:Conventional_Magnetron
//chapter_no.-10, page_no.-448
//Example_no.10-1-1
clc;
//(a) Calculate_the_cyclotron_angular_frequency
em=1.759*(10^11);//em=e/m=charge_is_to_mass_ratio
B0=.336;//Magnetic_flux_density
wc=(em)*B0;
disp(wc,'The_cyclotron_angular_frequency(in rad)is =');
//(b) Calculate_the_cutoff_voltage_for_a_fixed_B0
a=5*(10^-2);//radius_of_cathode_cylinder
b=10*(10^-2);//radius_of_vane_edge_to_centre
Voc=(em*(B0^2)*(b^2)*((1-((a/b)^2))^2))/8;
Voc=Voc/(10^5);
disp(Voc,'the_cutoff_voltage_for_a_fixed_B0(in KV)is =');
//(c) Calculate_the_cutoff_magnetic_flux_density_for_a_fixed_V0
V0=26*(10^3);//Anode_voltage
Boc=(((8*V0)/em)^(1/2))/(b*(1-((a/b)^2)));
Boc=Boc*1000;
disp(Boc,'the_cutoff_magnetic_flux_density_for_a_fixed_V0(in mWb/m^2)is =');
|
998d85185542f871f0a9711aadf2a7016eb625a4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH13/EX13.3/Ex13_3.sce | 59cceef57068b4610f2ac976868f8e5aef92e528 | [] | 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 | 131 | sce | Ex13_3.sce | errcatch(-1,"stop");mode(2);//Ex:13.3
;
;
wl=8;
f=30*10^6;
v=f*wl;
printf("The veocity of propagation =%d m/s",v);
exit();
|
7c63c04be39c224e90529335bf3e3154517c1971 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH5/EX5.16/example5_16.sce | d7ec70d76ad6ae4ec113676460f6cb3f66398459 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | example5_16.sce |
//example 5.16
//calculate transmissibility of acquifer
//draw daown in main well
clc;
//given
H=25; //static water level
rw=0.15; //radius of well
Q=5400; //discharge(litre/min)
t=24; //time of discharge
r1=30; //distance of first well
s1=1.11; //drawdown
h1=H-s1;
r2=90; //distance of second well
s2=0.53; //drawdown
h2=H-s2;
k=(Q*2.303*log10(r2/r1))/(%pi*(h2^2-h1^2)*60000);
T=k*H;
T=round(T*10000)/10000;
mprintf("transmissibility of acquifer=%f cumec/sec.",T);
hw=(h2^2-(Q*2.303*log10(r2/rw))/(%pi*k*60000))^0.5;
sw=H-hw;
sw=round(sw*100)/100;
printf("\ndraw daown in main well=%f m.",sw);
|
0c35263495cbb8ff89f7a246a65502e34ee40be3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH11/EX11.1/ex_11_1.sce | 5dbf753d0417d4ab955d9b19bb0b174cc7786bdb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | ex_11_1.sce | ////Ex 11.1
clc;
clear;
close;
format('v',5);
Vin=12.5;//V
Ri=10;//kohm
IS=10^-13;//A
T=27;//degree C
VT=26;//mV
Vref=Ri*IS*1000;//V
Vout=-VT*10^-3*log(Vin/Vref);//V
disp(Vout,"Output Voltahe, Vout(V)");
|
e596b575e2f75212c6b0dc092a35dded8bc7658a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.33/Ex7_33.sce | 46c2f6a571d97983dfa96078b9f19f883aa9f7c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,296 | sce | Ex7_33.sce | //Example 7.33
// DC servo system redesign with modified with dominant second
// order pole locations.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
//Transfer function model for DC Servo
s=poly(0,'s');
num=10;
den=s*(s+2)*(s+8);
Gs=syslin('c',num/den);
// State space representation
F=[-10 1 0;-16 0 1;0 0 0]
G=[0 0 10]';
H=[1 0 0];
J=0;
n=sqrt(length(F));
//Desired poles for the DC Servo system.
Pc=[-1.41+1.41*%i -1.41-1.41*%i -8]
// State feedback gain
K=ppol(F,G,Pc)
disp(K,'K=',"State feedback gain")
//Estimator - error roots are at
Pe=[-4.24+4.24*%i -4.24-4.24*%i -8]
exec .\acker_dk.sci;
Lt=ppol(F',H',Pe);
L=clean(Lt');
disp(L,'L=',"Observer gain")
//Error in book, Gain values are different in book.
//------------------------------------------------------------------
//Compensator Design
DK=-K*inv(s*eye(n,n)-F+G*K+L*H)*L;
DK=syslin('c',DK)
exec('./zpk_dk.sci', -1);
[pl,zr,Kp]=zpk_dk(DK*10);
disp(zr,"zeros",pl,"Poles",Kp*10,"Gain(includung system gain)")
Dcs=poly(zr,'s','roots')/poly(pl,'s','roots')
disp(Dcs,'Dcs=',"Compensator transfer function")
//------------------------------------------------------------------
|
ba960ae64066858d5ea5ee2f40a22600330279e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH2/EX2.2/Ex2_2.sce | fc7cbea66f9c0a2649574f1622fe4556ebaa84b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | Ex2_2.sce | // Ex2_2 Page:31 (2014)
clc; clear;
h = 6.626e-034; // Planck's constant, Js
c = 3e+08; // Speed of light, m/s
e = 1.6e-019; // Energy equivalent of 1 eV, J
m = 9.1e-031; // Mass of an electron, kg
w0 = 2.28; // Work function of sodium, eV
lambda = 400e-09; // Wavelength of light, m
nu = c/lambda; // Frequency of light, Hz
KE_max = h*nu/e - w0; // Maximum kinetic energy of photoelectrons, eV
v = sqrt(2*KE_max*e/m); // Speed of photoelectrons, m/s
printf("\nThe maximum kinetic energy of photoelectrons = %5.3f eV", KE_max);
printf("\nThe speed of photoelectrons = %4.2e m/s", v);
// Result
// The maximum kinetic energy of photoelectrons = 0.826 eV
// The speed of photoelectrons = 5.39e+05 m/s
|
ff1b43b8312291a6c4ca52cc4f05c1b913df81d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH1/EX1.3.b/Example1_3_b.sce | b36910b8c54b70c2be501d126784a0d16d796a61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Example1_3_b.sce | //Example 1.3 (b)
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Calculate Following Summations
clear;
clc ;
close ;
syms n;
X= symsum (%e^(2*n),n ,0, 0);
//Display the result in command window
disp (X,"The Value of summation comes out to be:"); |
d2a5b1b235cb33156f7ee506f46c853b766b4ea4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH10/EX10.4/Ex10_4.sce | 2dd32e8b715f8ab023f9b872cb1fee241887cbd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Ex10_4.sce |
//Variable declaration
R=20 //resistance across which voltage is to be calculated(ohms)
//Calculations
a = [35 -20 ; -20 50] //solving two linear mesh equations
b = [50;-100]
x = a\b
i=x(1)-x(2) //current through 20 ohms resistor(ohms)
V=20*i //voltage across 20 ohms(V)
//Results
printf ("i is %.2f",i)
printf ("voltage across 20 ohms is %.1f V",V)
|
26e271ba96a5e09aa25be51edd5909f92f6299be | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/arma/prbs_a.sci | c0b75c1af88f7ff21fbe2a35a9af6df7cb45a97d | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sci | prbs_a.sci | //<u>=prbs_a(n,nc,ids)
//<u>=prbs_a(n,nc,[ids])
// Tirage de PRBS
// tirage de u=<u0,u1,...,u_(n-1)>;
// a valeurs dans {-1,1} et changeant nc fois de signe
// au plus.
// Si on veut fixer les dates de changement de signe on peut
// fournir une variable de plus ids qui est un vecteur
// donnant les indices de changement de signe de u (ordre quelconque)
//!
[lhs,rhs]=argn(0)
if rhs <=2,
rand('uniform');
yy= int(mini(maxi(n*rand(1,nc),1*ones(1,nc)),n*ones(1,nc)));
ids=sort(yy);ids=[n,ids,1];
else
[n1,n2]=size(ids);
ids=[n,mini(n*ones(ids),maxi(sort(ids),1*ones(ids))),1];
end
u=0*ones(1,n);
[n1,n2]=size(ids);
val=1;
for i=1:n2-1,
if ids(i)<>ids(i+1);
u(ids(i+1):ids(i))=val*ones(ids(i+1):ids(i));val=-1*val;
end
end
//end
|
d800b534d8d2dd7a5031c6759217151783ee8691 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.28/Ex2_28.sce | a897714471570246a90fa9439283b660d5bf9023 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | Ex2_28.sce | clear
//
//Initilization of Variables
L=9 //m //Length of rigid bar
L_b=3000 //Length of bar
A_b=1000 //mm**2 //Area of bar
E_b=1*10**5 //N/mm**2 //Modulus of Elasticity of brasss bar
L_s=5000 //mm //Length of steel bar
A_s=445 //mm**2 //Area of steel bar
E_s=2*10**5 //N/mm**2 //Modulus of elasticity of steel bar
P=3000 //N //Load
//Calculations
//From static equilibrium Equation of the rod after appliying Load is
//P_b+P_s=P ......................(1)
//P_b=1.8727*P_s ..................(2)
//NOw substituting equation 2 in equation 1 we get
P_s=P*2.8727**-1
P_b=P-P_s
d=P_s*L*P**-1
//Result
printf("\n Distance at which Load applied even after which bar remains horizontal is %0.2f m",d)
|
7110641c92716aeb0eae16968c4e35b0bd5bfc36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH6/EX6.21/Ex6_21.sce | 3aec6bca9a9545a07a69cecf90ec6142e0e95b8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | sce | Ex6_21.sce | clear all; clc;
disp("Scilab Code Ex 6.21 : ")
//Given:
M = 2; //kNm
Ew = 12; //GPa
Est = 200; //GPa
bw = 150/1000; //m
t = 20/1000; //m
rib = 9/1000;//m
//Section Properties:
n = (Ew/Est);
bst = n*bw;
y1 = t/2;
A1 = t*bw;
y2 = bw/2 + t;
A2 = rib*bw;
y_bar = (y1*A1 +y2*A2)/(A1+A2);
I1 = (1/12)*(bw)*(t^3) + A1*(y_bar - y1)^2;
I2 = (1/12)*(rib)*(bw^3) + A2*(y2-y_bar)^2;
Ina = I1+I2;
//Normal Stress:
sigma_B = (M*(bw+t-y_bar))/(Ina*1000);
sigma_C = (M*(y_bar))/(Ina*1000);
//Normal Stress in the wood:
sigmaB = n*sigma_B;
//Display:
printf("\n\nThe normal stress at point B = %1.1f MPa',sigma_B);
printf("\nThe normal stress at point C = %1.2f MPa',sigma_C);
printf("\nThe normal stress at point B in the wood = %1.2f MPa',sigmaB);
//------------------------------------------------------------------------END---------------------------------------------------------------------------------------
|
4ce1c9672f0f177501c59f2bc144cbcedcd307c5 | 27a721095f94b336dd8b88c9d90cb92ca4ab4996 | /Scripts/GS para Informe.sci | ff993dca2953ef59cdfacf4ca0abac7289551f43 | [] | no_license | ECipolatti/Calculo-Numerico | f5201774402680a419345db4fd8f0af686c79e7a | 86369f9010c408854fd141d819bc11b1ab4590c1 | refs/heads/master | 2021-05-06T06:46:10.292226 | 2017-12-11T18:41:46 | 2017-12-11T18:41:46 | 113,894,883 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sci | GS para Informe.sci |
[A2,b2,x2]=make_matrix(250)
[A5,b5,x5]=make_matrix(500);
[A10,b10,x10]=make_matrix(1000);
[t2,d2,l2,u2,rho2]=make_t(A2,2,0.9);
[t5,d5,l5,u5,rho5]=make_t(A5,2,0.9);
[t10,d10,l10,u10,rho10]=make_t(A10,2,0.9);
[x2sol, nit2, rh2, time2]=gauss_seidel(A2,b2,x2,100,1e-5);
[x5sol, nit5, rh5, time5]=gauss_seidel(A5,b5,x5,100,1e-5);
[x10sol, nit10, rh10, time10]=gauss_seidel(A10,b10,x10,100,1e-5);
log_plot(rh2,"Gauss-Seidel 250x250");
log_plot(rh5,"Gauss-Seidel 500x500");
log_plot(rh10,"Gauss-Seidel 1000x1000");
tic();[x] = gauss(A10,b10);toc()
tic();[x] = gauss(A5,b5);toc()
tic();[x] = gauss(A2,b2);toc()
|
d28085ff96d62b49721417f97a5563ed039fd9ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH5/EX5.4/EX4.sce | d94e263e3f622e514223b35e88c3e5720ca571a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | EX4.sce | // Example 5.4: VCEQ, ICQ
clc, clear
VBE=0.7; // in volts
betaf=45;
// From Fig. 5.14
VEE=9; // in volts
RB=100e3; // in ohms
RC=1.2e3; // in ohms
// Applying KVL in the clockwise direction base emitter loop
IB=(VEE-VBE)/RB; // in amperes
IC=betaf*IB; // in amperes
// Writing KVL for the collector loop
VCE=VEE-IC*RC; // in volts
IC=IC*1e3; // in mili-amperes
disp(VCE,"VCEQ (V) =");
disp(IC,"ICQ (mA) ="); |
2acd4882d693c313f00c7391336bc5b39e23769d | 717ddeb7e700373742c617a95e25a2376565112c | /476/CH6/EX6.30/Example_6_30.sce | 0770da46d33afc87f39a84d0a8363f3715447e38 | [] | 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 | 562 | sce | Example_6_30.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 6
//Thermodynamic Properties of Pure Fluids
//Example 30
clear;
clc;
//Given:
M = 24.32; //molecular wt of solid magnesium
T = 300; //temperature in K
P = 10; //pressure in bar
Po = 1; //reference state pressure (bar)
d = 1.745*10^3; //density of Mg at 300 K in kg/m^3
//To determine the ativity of solid magnesiun
//Using eq. 6.149 (Page no. 237)
ln_a = (M/(d*10^3*R*T))*(P-Po)*10^5;
a = %e^ln_a;
mprintf('Acivity of solid magnesium at 300 K and 10 bar is %f',a);
//end |
b4db52c62cce3bea0bcff7aa1910a444a5a61106 | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/oldcase.tst | b7d941c98dfc0276dd9928f3e0fb317e5b43a5cc | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | tst | oldcase.tst | # test ability to recall old cases
# oldcase_v1 is a gas plant created with an old version of VMGSim
# and is a file version 1 case
recall oldcase_v1.s42
#print a couple of product streams
units Field
/S6.Out
/T1.LiquidDraw_9_reboilerL
# change feed temperature - HX1 has temp cross
S1.In.T = 55
/S6.Out
/T1.LiquidDraw_9_reboilerL
# Fix temp cross
/Hx1.DeltaTHO = None
/Hx1.DeltaTHI = 5
/S6.Out
/T1.LiquidDraw_9_reboilerL
clear
# oldcase_v1 is the gasplant.tst case stored at file version 8
recall oldcase_v8.s42
/overhead.Out
/bottoms.Out
/Gas-Gas.OutC
# change feed temp
/Feed.In.T = 60
/overhead.Out
/bottoms.Out
/Gas-Gas.OutC
copy /
paste /
/RootClone.overhead.Out |
698f5b4d704d803adb75b1516b80384d3c1af9b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.13/Example4_13.sce | def868d03310dd7f204cedde7d1d877eb887f377 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 909 | sce | Example4_13.sce | //Exa 4.13
clc;
clear;
close;
format('v',5)
//Given data :
r=5/2;//mm
rdash=2.176*r*10^-3;//m
daa_dash=sqrt(6^2+16^2);//m
dbb_dash=6;//m
dcc_dash=daa_dash;//m
dab=8;//m
dab_dash=sqrt(6^2+8^2);//m
dbc=8;//m
dbc_dash=sqrt(6^2+8^2);//m
dca=16;//m
dca_dash=6;//m
Dsa=sqrt(rdash*daa_dash);//m
Dsb=sqrt(rdash*dbb_dash);//m
Dsc=sqrt(rdash*dcc_dash);//m
Ds=(Dsa*Dsb*Dsc)^(1/3);//m
disp(Ds,"GMD(m) : ");
Dab=(dab*dab_dash)^(1/2);//m
Dbc=(dbc*dbc_dash)^(1/2);//m
Dca=(dca*dca_dash)^(1/2);//m
Dm=(Dab*Dbc*Dca)^(1/3);//m
disp(Dm,"Deq or Dm(m) : ");
L=0.2*log(Dm/Ds);//mH/km
L=L*10^-3*100;//H(for 100 km line)
disp(L,"Inductance of 100 km line(H)");
///Alternate method is given below
d1=dab;//m
d2=dca_dash;//m
L=0.2*log(2^(1/6))*sqrt(d1/rdash)*((d1^2+d2^2)/(4*d1^2+d2^2))^(1/6);//mH
L=L*10^-3*100;//H(for 100 km line)
disp(L,"Using Alternate method, Inductance of 100 km line(H)");
|
0a7798fe6022632a74917a454b86347b08fe45be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH9/EX9.2/ex_9_2.sce | ac5c866627272b291fe60723d11bb553d9ad52c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | ex_9_2.sce | //Example 9.2 // current
clc;
clear;
close;
//given data :
n=10; // dry cells of emf
E=1.5; // emf in volts
R=4.9; // resistance in ohm
r=1; // internal resistance in ohm
I=(n*E)/((n*R)+(r));
disp(I,"current flowing,I(A) = ")
|
e8b611132a317fbc0de36bb05920ee55718ecb25 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/percent/%pflss.sci | 143a32e2307e16ef408d77dbeb28bbe6ac65ccde | [
"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 | 217 | sci | %pflss.sci | function [s]=%pflss(d1,s2)
//[s]=%pflss(d1,s2) <=> s=[d1,s2]
//!
[a2,b2,c2,d2,x2,dom2]=s2(2:7)
[n2,m2]=size(c2);[p1,m1]=size(d1)
s=tlist(['lss','A','B','C','D','X0','dt'],a2,b2,[0*ones(p1,m2);c2],[d1;d2],x2,dom2)
|
149cfe0ab03b087d4eb03f287c852a3e604cfcae | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.87/Ex87.sce | 93432fa8f47810a712a55ba6acb2a875e67d5b1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Ex87.sce | //Ex:87
clc;
clear;
close;
t_e1=100;// in K
t_e2=60;// in K
t_e3=20;// in K
G1=10^6;
G2=10^4;
t_e=t_e1+(t_e2/G1)+(t_e3/G1*G2);
printf("The equivalent noise temperature=%d K",t_e); |
3255ff1e17cee28319613cc335d8034e37790973 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH4/EX4.17/4_17.sce | fb43f08d45cf80e8c31b53d6a6c1d1bc91bb8924 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 4_17.sce | clc
//Intitalisation of variables
clear
p= 795 //mm
v= 0.501 //lit
w= 1.35 //gms
m= 92 //gms
R= 0.082 //lit-atm mole^-1 K^-1
T= 45 //C
//CALCULATIONS
a= ((p/760)*v/((w/m)*R*(273+T)))-1
//RESULTS
printf ('Fraction of N2O4 dissociated into NO2 = %.3f',a)
|
879bf2999024aa05c95b27592b68766b826eae76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH27/EX27.15/example27_15.sce | f9f3ba0620fb31f743473f102a971ca0d906541c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | example27_15.sce | l=10*10^(-6);
rs=5;
c=0.01*10^(-6);
fr0=sqrt(1-c*rs^2/l)/(2*%pi*sqrt(l*c));
x_l=2*%pi*fr0*l;
disp("Part a");
r=sqrt(l/c);
rmin=r-rs;
disp("the minimum resistance (in Ω) to be added is"); disp(rmin);
disp("Part b");
f=100*10^3;
fr=sqrt(1-c*rs^2/l)/(2*%pi*sqrt(l*c));
q=fr/f;
fr1=sqrt(q^2/(1+q^2))/(2*%pi*sqrt(l*c));
x_l1=2*%pi*fr1*l;
q1=fr1/f;
rs1=x_l1/q1;
rmin1=r1-rs;
disp("the resiatance (in Ω) to be added in seriesis"); disp(rmin1);
disp("Part c");
rp=(rs1^2+x_l^2)/rs1;
z=(rs^2+x_l^2)/rs;
r2=1/(1/rp-1/z);
disp("the shunting resistance (in Ω) to be connected is"); disp(r2); |
5d68d56438e7fe5086c92cacc71ca018dfd501fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.28/example_28.sce | 26b253515fc636c80af15ef1b0eab82fdf464f52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_28.sce | clc
clear
printf("example 3.28 page number 115\n\n")
//to find the top and bottom product,condenser duty,heat input to rebpoiler
hF = 171 //in kJ/kg
hD = 67 //in kJ/kg
hL = hD;
hW = 200 //in kJ/kg
H = 540 //in kJ/kg
disp('part 1')
F = 1000 //in kg/h
xF = 0.40
xW = 0.02;
xD = 0.97;
D = F*(xF-xW)/(xD-xW);
W = F-D;
printf("bottom product = %f kg/hr",W)
printf("\ntop product = %f kg/hr\n\n",D)
disp('part 2')
L = 3.5*D;
V = L+D;
Qc = V*H-L*hL-D*hD;
printf("condenser duty = %f KJ/hr\n\n",Qc)
disp('part 3')
Qr = Qc - 24200;
printf("rate of heat input to reboiler = %f kJ/hr",Qr)
|
6d035b46236fcd3a9e611bb7e7ed173d9f971f20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH9/EX9.2.16/Ex9_2_16.sce | 4a6ea74d5d3c2eda0baf1acdcea74151ae776ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,398 | sce | Ex9_2_16.sce | // Scilab Code Ex9.2.16: Page-420(2008)
clc; clear;
m = 3; n = 3; p = 2; // Coefficients of intercepts along three axes
m_inv = 1/m; // Reciprocate the first coefficient
n_inv = 1/n; // Reciprocate the second coefficient
p_inv = 1/p; // Reciprocate the third coefficient
mul_fact = double(lcm(int32([m,n,p]))); // Find l.c.m. of m,n and p
m1 = m_inv*mul_fact; // Clear the first fraction
m2 = n_inv*mul_fact; // Clear the second fraction
m3 = p_inv*mul_fact; // Clear the third fraction
printf("\nThe miller indices for planes with set of intercepts (%da, %db, %dc) are (%d %d %d) ", m, n, p, m1, m2, m3);
m = 1; n = 2; p = %inf; // Coefficients of intercepts along three axes
m_inv = 1/m; // Reciprocate the first coefficient
n_inv = 1/n; // Reciprocate the second coefficient
p_inv = 1/p; // Reciprocate the third coefficient
mul_fact = double(lcm(int32([m,n]))); // Find l.c.m. of m,n and p
m1 = m_inv*mul_fact; // Clear the first fraction
m2 = n_inv*mul_fact; // Clear the second fraction
m3 = p_inv*mul_fact; // Clear the third fraction
printf("\nThe miller indices for planes with set of intercepts (%da, %db, %dc) are (%d %d %d) ", m, n, p, m1, m2, m3);
// Result
// The miller indices for planes with set of intercepts (3a, 3b, 2c) are (2 2 3)
// The miller indices for planes with set of intercepts (1a, 2b, Infc) are (2 1 0) |
ebb61d977a11a8c8518eee778b6bc3037b89d1b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.9/ch1_ex_9.sce | 3b32b2f9d905c47268dc6cb5a4dfddfa59685fd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sce | ch1_ex_9.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 9
disp("CHAPTER 1");
disp("EXAMPLE 9");
//VARIABLE INITIALIZATION
r1=1; //in Ohms
r2=2; //in Ohms
r3=3; //in Ohms
r4=1; //in Ohms
//SOLUTION
//delta values
rab=r1; //between points a and b
rac=r2; //between points a and c
rbc=r3; //between points b and c
//coverting delta abc into star
//star values
r=rab+rbc+rac;
ra=(rab*rac)/r;
rb=(rab*rbc)/r;
rc=(rbc*rac)/r;
req1=r1+r4;
req2=rb+r2;
req3=(req1*req2)/(req1+req2);
req4=ra+req3;
disp(sprintf("The equivalent input resistance is %f Ω",req4));
//END
|
f1969a560bb7947b228c9b003fb975941c8bd9a8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/util/syssize.sci | 0532b77be2a33702477b6ba2662aa752c68977b0 | [
"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 | 600 | sci | syssize.sci | function [io,s]=syssize(sys)
//Old stuff
// io=syssize(sys)
// [io,ns]=syssize(sys)
//
// sys : syslin list
// io : io=[nout,nin]
// nout: nb. ouputs
// nin : nb. inputs
// s : nb states.
// Copyright INRIA
select type(sys)
case 1 then
io=size(sys)
s=[]
case 16 then
sys1=sys(1)
select sys1(1)
case 'lss' then
io=size(sys('D')),
[s,s]=size(sys('A'))
case 'r' then
io=size(sys('den'))
[lhs,rhs]=argn(0);
if lhs==2 then sys=tf2ss(sys);[s,s]=size(sys('A')),end
else
error(97,1)
end
else
error(97,1),
end
|
ec8cf7cb341e2976b9a3f5eb04ebb1239375d562 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH4/EX4.6/Exa_4_6.sce | 11a2127a34abc63c8d4a328307c5860368b0fb1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | Exa_4_6.sce | //Example No. 4.6
clc;
clear;
close;
format('v',6);
//Given Data :
cycle1=50;//hp
t1=20;//sec
cycle2=100;//hp
t2=20;//sec
cycle3=150;//hp
t3=10;//sec
cycle4=120;//hp
t4=20;//sec
cycle5=0;//hp
t5=15;//sec
hp_rms=sqrt((cycle1^2*t1+cycle2^2*t2+cycle3^2*t3+cycle4^2*t4+cycle5^2*t5)/(t1+t2+t3+t4+t5));//hp
disp(hp_rms,"hp(rms) for the motor : ");
disp("We should choose 100hp motor.")
|
14cddd02fcd308a3870592142e24a9451ee8965d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.1/Example7_1.sce | 190bad5647029504b21995f3ee19ec0b65d66384 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Example7_1.sce | //Chapter-7,Example7_1,pg 7-13
N=100
B=0.15
A=10*8*10^-6
I=5*10^-3
Td=N*B*A*I//deflecting torque
K=0.2*10^-6//spring const.
theta=Td/K//deflecting angle
printf("deflection theta=%.2f deg",theta)
|
5ca72d8ca3eebd453ccebbf22d8ba1acc3b0dc99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH13/EX13.3/Example13_3.sce | d729c9102800eadba23478491253bd93b0ee1d6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,032 | sce | Example13_3.sce | //Example 13.3
//Program to calculate the number of received photons per bit for:
//(a)ASK heterodyne synchronous detection
//(b)ASK heterodyne asynchronous detection
//(c)PSK homodyne detection
clear;
clc ;
close ;
//Given data
eeta=1; //*100 percent - EFFICIENCY FOR IDEAL RECEIVER
BER=10^(-9); //BIT ERROR RATE
//Number of received photons per bit for:
printf("\n\n\t Number of received photons per bit for:");
//(a)ASK heterodyne synchronous detection
Np=(erfinv(1-2*BER))^2*4/eeta; //erfc(x)=1-erf(x)
//Displaying the Result in Command Window
printf("\n\n\t (a)ASK heterodyne synchronous detection = %1.0f.",Np/2);
//(b)ASK heterodyne asynchronous detection
Np=-log(2*BER)*4/eeta;
//Displaying the Result in Command Window
printf("\n\n\t (b)ASK heterodyne asynchronous detection = %1.0f.",Np/2);
//(c)PSK homodyne detection
Np=(erfinv(1-2*BER))^2/2; //erfc(x)=1-erf(x)
//Displaying the Result in Command Window
printf("\n\n\t (c)PSK homodyne detection = %1.0f.",Np); |
9cd801d2a4627e3d638aa27e2a175980f3b05575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH23/EX23.8/Ex23_8.sce | 2773846d9b93fef29cc435017a7cddf2f3d8bf19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex23_8.sce |
Pin=60D+3//power input
p=1D+3//stator losses
Pg=Pin-p//air gap power
s=3/100//slip
Pm=Pg*(1-s)
Prcu=s*Pg
mprintf("Mechanical power developed by the motor=%f kW with rotor copper losses of %f kW",Pm/1000,Prcu/1000)
|
e7eaa4ae7cbc1f7584b3dabed97db8265471c900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH7/EX7.1.c/Example7_1_c.sce | af6d77a4804f7533f4ee8b856b3f72df838a3812 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example7_1_c.sce | //Example 7.1(c)
clear;
clc;
fL=0.1;
fH=1*10^6;
enw=20*10^(-9);
fce=200;
En=enw*sqrt((fce*log(fH/fL))+fH-fL);
printf("Estimated RMS input voltage=%.1f uV",En*10^6); |
84a344efbea5f6ebb842dd5ea7069a0dca4b0305 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH14/EX14.1/14_1.sce | f134b61c75e4976f54d63ac8f1c5840a8d233abf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | 14_1.sce | clc
//initialisation of variables
clear
M2= 92 //gms
M1= 78 //gms
pb= 118.2 //mm
pt= 36.7 //mm
//CALCULATIONS
n1= M2/(M1+M2)
n2= 1-n1
p1= n1*pb
p2= n2*pt
w= p1*M1/(p2*M2)
//RESULTS
printf ('partial pressure of benzene = %.f mm',p1)
printf ('\n partial pressure of toulene = %.1f mm',p2)
printf ('\n weight proportions = %.2f ',w)
|
5adb73dd449a0dc93f9f707fd3a00089b1b30f4a | 47adabef6eb8924aff50314b05cfd89f90e19aec | /macros/http_header.sci | f0aa6cd3efbf852530054a8d2d2ee4712328eb11 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sci | http_header.sci | function header = http_header(keys, values)
function [keys, values] = http_header(header)
function header = http_header()
// This function does the following:
// 1. Given a set of key-value pairs, generates HTTP Header text
// 2. Given HTTP Header text, returns key-value pairs as Scilab vectors
// 3. Given no input, returns a default header
endfunction
|
885d4a7683d02556328a50c3ac9cbad6571cf5b7 | 58f8869b2dcd9296bbe82d9923d1d7d801937351 | /11/5.sce | f941f199090286454665cd7746fd8a57002a2dd0 | [
"MIT"
] | permissive | keivalya/2ME01 | f325d38ea7adace9a10bc3d83e7868d59dbc4066 | 3147e0d7319ddeb6e79fde5d0851dcc423a7e23d | refs/heads/master | 2023-02-10T20:15:29.593282 | 2021-01-09T02:39:20 | 2021-01-09T02:39:20 | 282,954,965 | 0 | 0 | MIT | 2020-10-04T02:22:40 | 2020-07-27T16:33:06 | Scilab | UTF-8 | Scilab | false | false | 698 | sce | 5.sce | deff('x=f(y,t)','x=y*((sin(t))^3)')
// Euler Modified
y=1;
y1=1;
printf('x. y')
for i=0:0.1:3
printf('\n %4.4f. %4.4f',i,y1)
n = 10*i + 1
abc(n) = y1
t=y1;
y=y+(0.1*f(i,y));
y1=y1+((0.1/2)*(f(i+0.05,y+0.01*f(i+0.1,y))));
y=y1;
end
// Runge Kutta
y=1
printf('\n\nx. y')
for i=0:0.1:3
printf('\n %4.4f. %4.4f',i,y)
xyz(n) = y
k1=0.1*f(i,y);
k2=0.1*f(i+(0.1/2),y+(k1/2));
k3=0.1*f(i+(0.1/2),y+(k2/2));
k4=0.1*f(i+0.1,y+k3);
k=(1/6)*(k1+(2*k2)+(2*k3)+k4);
y=y+k;
end
xdata = linspace(0, 3 , length(abc));
ydata = abc
plot ( xdata , ydata , "+-" )
ydata2 = xyz
plot ( xdata , ydata2 , "o-" )
|
378b7d6767d21ae06cf79992c75a4852b9e9d630 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_mem_read.sci | 6740fb3a9ab1fb2876977be9a0e32a19a6231c54 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 5,431 | sci | mdaq_mem_read.sci | function [x,y,typ] = mdaq_mem_read(job,arg1,arg2)
mem_write_desc = ["This block reads data from MicroDAQ memory.";
"Block with mdaqMemWrite function can be used to";
"change Standalone and Ext model parameters. ";
"Mode parameter sets block read behaviour.";
"If Trigger input is enabled, rising";
"edge on trigger input will reset data ";
"index to defined start index.";
"Block can read up to 250000 values. Block ";
"memory read size can be calculated by:";
"Number of vectors * Vector Size ";
"";
"Init value:";
"Initializes memory with provided value";
"";
"Mode:";
"0 - single read, ignore init value";
"1 - circular read, use init value";
"2 - signle read, use init value";
"3 - circular read, ignore init value";
"";
"Trigger input:";
"0 - disabled";
"1 - enabled";
"";
"Set block parameters:"];
x=[];y=[];typ=[];
select job
case 'set' then
x=arg1
model=arg1.model;
graphics=arg1.graphics;
exprs=graphics.exprs;
while %t do
try
[ok,start_idx, vec_num, vec_size,init_value,read_mode,trigger_input,exprs]=..
scicos_getvalue(mem_write_desc,..
['Start index:';
'Number of vectors:';
'Vector size:';
'Init value:';
'Mode:';
'Trigger input:'],..
list('vec',1,'vec',1,'vec',1,'vec',-1,'vec',1,'vec',1),exprs)
catch
[ok,start_idx, vec_num, vec_size,init_value,read_mode,trigger_input,exprs]=..
scicos_getvalue(mem_write_desc,..
['Start index:';
'Number of vectors:';
'Vector size:';
'Init value:';
'Mode:';
'Trigger input:'],..
list('vec',1,'vec',1,'vec',1,'vec',-1,'vec',1,'vec',1),exprs)
end;
if ~ok then
break
end
//~1MB = 1 000 000B = 250 000 floats
MEM_MAX_DATA_SIZE = 250000;
max_data_size = MEM_MAX_DATA_SIZE-start_idx+1;
data_size = vec_size*vec_num;
if start_idx < 1 | start_idx > MEM_MAX_DATA_SIZE then
ok = %f;
message("Incorrect memory start index - use index from 1 to "+string(MEM_MAX_DATA_SIZE));
end
if vec_size > 10000 | vec_size < 1 then
ok = %f;
message("Wrong vector size - use 10000 max!");
end
if data_size < 1 | data_size > max_data_size then
ok = %f;
message("Incorrect data size (min 1 / max "+string(max_data_size)+")");
end
if read_mode > 3 | read_mode < 0 then
ok = %f;
message("Use 0-3 to setup read mode.");
end
if ok then
init_data_size = size(init_value, '*');
if init_data_size > 1 then
if init_data_size <> data_size then
message('Initial values don''t mach vector data size (vector number * vector size)!')
ok = %f;
end
init_value = init_value';
end
end
if size(init_value, '*') > 1 then
if read_mode <> 1 then
ok = %f;
message("To use Init Value as a vec type change mode paramter to 1.");
end
end
trigger_input_size = 1;
if trigger_input <> 1 then
trigger_input_size = [];
trigger_input = 0
end
if ok then
[model,graphics,ok] = check_io(model,graphics, trigger_input_size, vec_size, 1, []);
graphics.exprs = exprs;
model.rpar = init_value;
model.ipar = [(start_idx-1);vec_size;read_mode;data_size;0;init_data_size;trigger_input];
model.dstate = [];
x.graphics = graphics;
x.model = model;
break
end
end
case 'define' then
start_idx = 1;
vec_size = 1;
init_value = 0;
vec_num = 1;
read_mode = 1;
init_data_size = 1;
trigger_input = 0;
model=scicos_model()
model.sim=list('mdaq_mem_read_sim',5)
model.in =[]
model.out=vec_size
model.out2=1
model.outtyp=1
model.evtin=1
model.rpar=[];
model.ipar=[(start_idx-1);vec_size;read_mode;vec_num;0;init_data_size;0]
model.dstate=[];
model.blocktype='d'
model.dep_ut=[%t %f]
exprs=[sci2exp(start_idx);sci2exp(vec_num);sci2exp(vec_size);sci2exp(init_value);sci2exp(read_mode);sci2exp(trigger_input)]
gr_i=['xstringb(orig(1),orig(2),['''' ; ],sz(1),sz(2),''fill'');']
x=standard_define([4 3],model,exprs,gr_i)
x.graphics.in_implicit=[];
x.graphics.exprs=exprs;
end
endfunction
|
728b393f883ffcf16e0e5baa5b7339d9778d9c11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH12/EX12.1/12_1.sce | 0f29e8f46aa72697c2f33a927834a105bfd8c945 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | 12_1.sce | //chapter 12
//example 12.1
//page 364
clear all;
clc ;
//given
Av=75;//voltage gain
R10=12;//coupling resistor in kohm
R7=R10;
R9=1000*R10/Av;
printf("\nFeedback component R9 is %d ohm,select 150ohm standard value to make Av \nslightly greater than specified.",R9);
R9=150;
f1=100;
XC6=1000*R10/100;
C6=10^6/(2*%pi *f1*XC6);
printf("\ncapacitor C6 is %.1f microF,use 15 microF standard value",C6);
XC2=R9;
C2=10^6/(2*%pi *f1*XC2);
printf("\ncapacitor C2 is %.1f microF,use 15 microF standard value",C2);
|
da1aa624d6323e789879b71321c8b946b13adabb | 6a585e9d0b48fac0f59ea732a39adba1ec9c1450 | /conversionGrados.sce | 01b1b44ac6026898d614e93af880a804645ed2cd | [] | no_license | josrangel/scilabEjemplos | e02cbe23976177837859f04cc2e3a4c7199bd25f | 0523f1b350d53696525a9cd0d6bb58cd5e2a59ef | refs/heads/master | 2022-12-28T21:19:28.795105 | 2020-10-10T13:06:47 | 2020-10-10T13:06:47 | 302,904,089 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sce | conversionGrados.sce |
function convCAF(celcius)
fahrenheit=1.8*celcius+32
printf("La conversion de grados Celsius a Fahrenheit es : %f", fahrenheit)
endfunction
function convFAC(fahrenheit)
celcius=(fahrenheit-32)/1.8
printf("La conversion de grados Fahrenheit a Celsius es : %f",celcius)
endfunction
|
12e5bddfc507f3c42ac5e3578109b3e5b3e8db9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /509/CH9/EX9.3/9_3.sci | 896061f90e8f1035485ffe2f9adc424d5ae111e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sci | 9_3.sci | //Chapter 9 Example 3//
clc
clear
// radius of each conductor=r,distance beween the seperation of conductors=d//
r=2;// in cm//
d=300;// in cms//
// inductance of conductor=l//
r1=0.7788*r;
l1=2*10^-7*(log(d/r1));
printf("\n Inductance of one conductor = %.9f H/m\n",l1);
// to convert it into mH/km multiply by 10^6//
// loop inductance =l//
l=2*l1*10^6;// 10^6 conversion factor//
printf("\n Loop Inductance = %.3f mH/km\n",l);
|
9c99c89ee16263166378877be2bacf75bac335d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.19.1/Ex8_19.sce | 0cfc6cc447c35e9e1edb29f88fe79d8c75f84b1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | Ex8_19.sce | clc
clear
n=1.2;
m=5;
R=0.287;
T2=107+273;
T1=27+273;
IP=[n/(n-1)]*[m/60]*[R*(T2-T1)];
printf('Air Power: %3.2f kW',IP);
printf('\n');
BP=14;
Em=IP*100/BP;
printf('Mechanical Efficiency: %3.0f Percent',Em);
printf('\n');
|
4b109931ee6645b95b1aefc2722055b838d13095 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH2/EX2.5/Ex2_5.sce | c3511c44a2f5931cf602e11e88f29e8eec16f204 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | Ex2_5.sce | //Ex 2.5 page 69
clc;
clear;
close;
// VG=10*IG -- eqn(1)
PGM=5;// W
PGav=.5;// W
VS=12;// V
Tp=20;// us
// PGM = VG*IG where VG=10*IG
IG=sqrt(PGM/10);// A
VG=10*IG;// V
// During the application of pulse VS = VG+(IG*RS)
RS=(VS-VG)/IG ;// ohm
f=PGav/(PGM*Tp*10**-6)/1000;// kHz
delta=f*1000*Tp*10**-6;// Duty Cycle
printf('Value of resistance to be connected in series = %.2f ohm',RS)
printf('\n Triggering frequency = %.2f kHz',f)
printf('\n Duty Cycle = %.1f ',delta)
// Note : ans in the textbook is not accurate.
|
5dd2c55a36ee5295fe7680914c1bd8c0120a325d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_2.tst | 210235a3478afe738bb11be5af54c88ff3852436 | [] | 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 | 24,022 | tst | bow.12_2.tst | 12 30:0.02857142857142857 39:0.5 76:1.0 82:0.1111111111111111 90:0.025 161:0.5 173:0.3333333333333333 263:0.25 286:0.14285714285714285 354:0.3333333333333333 845:0.5 1472:1.0 2909:1.0 5131:1.0 5153:1.0
12 30:0.02857142857142857 59:0.3333333333333333 90:0.025 100:0.14285714285714285 168:0.07142857142857142 230:1.0 234:0.06666666666666667 259:0.5 265:0.1 354:0.3333333333333333 362:1.0 385:1.0 767:1.0 785:1.0 896:0.5 984:1.0 1159:1.0 2052:1.0 3035:1.0 4832:1.0 4896:1.0 5078:1.0 5603:1.0 5844:1.0 7200:1.0 7368:1.0 7720:1.0 7724:1.0
12 100:0.14285714285714285 246:0.25 4046:1.0 4832:2.0 5038:1.0 5547:1.0 6090:1.0
12 10:0.125 11:0.14285714285714285 20:0.5 30:0.02857142857142857 64:0.3333333333333333 100:0.14285714285714285 153:1.0 156:0.5 176:1.0 369:0.14285714285714285 640:1.0 673:1.0 801:1.0 1028:1.0 1147:1.0 1204:1.0 1208:0.5 1404:1.0 2055:0.5 3343:1.0 4385:1.0 4832:1.0 5876:1.0 6106:1.0 6633:1.0 7547:1.0
12 30:0.02857142857142857 59:0.6666666666666666 96:1.0 162:1.0 168:0.07142857142857142 220:1.0 804:1.0 1208:0.5 2733:1.0 4832:1.0 5185:1.0 6333:1.0
12 28:0.07692307692307693 30:0.05714285714285714 39:0.5 46:2.0 68:0.125 90:0.025 100:0.14285714285714285 139:0.3333333333333333 168:0.07142857142857142 230:1.0 264:0.3333333333333333 344:0.5 385:1.0 388:0.25 390:1.0 414:1.0 545:0.3333333333333333 1165:1.0 1255:1.0 1546:0.5 1634:1.0 3773:1.0 4832:1.0 5185:1.0 5605:1.0 7218:1.0 7243:1.0
12 11:0.14285714285714285 44:1.0 46:1.0 53:1.0 59:0.3333333333333333 90:0.025 96:1.0 100:0.14285714285714285 332:0.2 424:0.5 1978:1.0 2037:1.0 2570:1.0 5351:1.0 5565:1.0 6397:1.0
12 39:0.5 46:2.0 63:0.2 68:0.25 156:0.5 286:0.14285714285714285 354:0.3333333333333333 380:0.3333333333333333 479:1.0 804:1.0 1000:1.0 1179:1.0 1681:1.0 1824:2.0 1869:1.0 1924:1.0 2930:0.5 3965:1.0 3966:1.0 4900:1.0 5969:1.0 6161:1.0
12 10:0.125 11:0.14285714285714285 39:0.5 89:0.07142857142857142 100:0.14285714285714285 126:0.25 138:0.5 242:1.0 286:0.14285714285714285 332:0.2 359:0.25 419:0.5 1210:1.0 1543:1.0 1880:1.0 2038:1.0 2504:0.3333333333333333 5153:1.0
12 30:0.08571428571428572 35:0.25 36:0.3333333333333333 37:0.5 53:1.0 100:0.14285714285714285 125:1.0 168:0.07142857142857142 173:0.3333333333333333 210:0.16666666666666666 212:1.0 306:0.5 372:1.0 1159:1.0 3276:1.0 3965:1.0 3966:1.0 4879:0.5 5182:1.0
12 22:1.0 39:0.5 230:1.0 286:0.14285714285714285 1165:1.0 1184:2.0 1516:1.0 2199:0.5 4832:1.0
12 10:0.25 30:0.05714285714285714 35:0.25 40:1.0 59:0.3333333333333333 63:0.2 170:0.1111111111111111 332:0.2 636:1.0 804:1.0 2390:1.0 2514:1.0 4313:1.0 4832:1.0 4918:1.0 5233:1.0 5298:1.0 7545:1.0
12 11:0.07142857142857142 12:1.0 36:0.3333333333333333 53:1.0 59:0.6666666666666666 100:0.14285714285714285 156:0.5 230:1.0 259:0.5 297:0.5 344:0.5 694:1.0 787:1.0 804:1.0 872:1.0 1544:1.0 3276:1.0 3482:1.0
12 7:1.0 12:1.0 30:0.05714285714285714 46:1.0 64:0.3333333333333333 82:0.1111111111111111 90:0.025 127:1.0 156:0.5 170:0.1111111111111111 264:0.3333333333333333 300:1.0 452:1.0 517:0.25 541:1.0 719:0.5 870:1.0 937:0.5 955:1.0 1242:1.0 2191:1.0 3722:1.0 4269:1.0 5011:1.0 5605:1.0 5740:1.0 7076:1.0
12 11:0.07142857142857142 14:0.3333333333333333 28:0.15384615384615385 30:0.05714285714285714 39:0.5 46:1.0 48:0.5 68:0.25 82:0.1111111111111111 90:0.025 126:0.25 142:0.5 168:0.07142857142857142 170:0.1111111111111111 300:1.0 326:0.1111111111111111 424:0.5 587:1.0 636:3.0 674:0.5 691:1.0 817:1.0 948:1.0 1076:0.5 1248:1.0 1518:1.0 2289:1.0 5778:1.0 6361:1.0
12 6:0.5 11:0.14285714285714285 46:1.0 100:0.14285714285714285 126:0.25 168:0.07142857142857142 210:0.16666666666666666 265:0.1 276:1.0 394:1.0 540:0.06666666666666667 611:1.0 778:1.0 947:0.5 1159:1.0 1569:0.3333333333333333 1982:1.0 6388:1.0
12 14:0.3333333333333333 30:0.05714285714285714 39:0.5 46:3.0 59:0.3333333333333333 90:0.025 100:0.14285714285714285 112:1.0 144:1.0 168:0.07142857142857142 236:1.0 531:0.5 1159:1.0 1365:1.0 1521:1.0 1606:1.0 1754:1.0 2157:1.0 2504:0.3333333333333333 2648:1.0 2788:1.0 4842:0.5 5484:1.0 5605:1.0 5773:0.3333333333333333 6301:1.0
12 10:0.25 11:0.07142857142857142 19:1.0 39:0.5 43:0.14285714285714285 46:1.0 90:0.025 153:1.0 230:1.0 259:0.5 286:0.14285714285714285 306:0.5 385:1.0 419:0.25 443:1.0 1073:0.5 1165:1.0 1565:1.0 1767:1.0 4203:1.0 5543:1.0 5974:1.0 6226:1.0 6386:1.0
12 29:0.5 30:0.02857142857142857 43:0.14285714285714285 531:0.5 559:1.0 611:1.0 2009:1.0 2142:0.5 2157:1.0 3001:1.0 5516:1.0 5648:1.0 5967:1.0
12 11:0.07142857142857142 29:0.5 30:0.02857142857142857 46:1.0 59:0.3333333333333333 89:0.07142857142857142 139:0.3333333333333333 161:0.5 230:1.0 768:0.5 896:0.5 1165:1.0 4862:1.0 4900:1.0 4969:0.5 5352:1.0 5404:1.0 5863:1.0 7181:1.0
12 59:0.3333333333333333 63:0.2 390:1.0 801:1.0 2384:0.5 4832:1.0 4894:1.0 5128:0.5 5765:1.0 6795:1.0 7392:1.0
12 30:0.02857142857142857 37:0.5 39:0.5 43:0.14285714285714285 63:0.2 91:0.5 100:0.14285714285714285 107:1.0 168:0.07142857142857142 170:0.1111111111111111 313:0.4 419:0.25 479:2.0 1864:1.0 1982:1.0 2095:1.0 2165:1.0 4894:1.0 4900:1.0 5194:1.0 6170:1.0 7534:1.0
12 11:0.07142857142857142 29:0.5 30:0.05714285714285714 39:0.5 43:0.2857142857142857 46:2.0 68:0.125 73:1.0 89:0.07142857142857142 100:0.14285714285714285 264:0.3333333333333333 414:1.0 419:0.25 479:1.0 801:1.0 1162:1.0 2215:1.0 2289:1.0 2458:1.0 2912:1.0 4894:1.0 4950:1.0 4973:1.0 5128:0.5 5208:1.0 5380:1.0 6085:1.0 6352:1.0 6772:1.0
12 10:0.125 18:0.5 28:0.07692307692307693 53:2.0 59:0.3333333333333333 68:0.125 96:2.0 100:0.42857142857142855 156:0.5 265:0.1 298:0.5 369:0.14285714285714285 586:0.14285714285714285 590:1.0 1506:0.3333333333333333 1924:1.0 2543:1.0 2701:1.0 2864:1.0 3862:1.0 4149:1.0 4879:0.5 4894:1.0 5128:0.5 6165:1.0 7680:1.0
12 11:0.14285714285714285 30:0.05714285714285714 39:0.5 40:1.0 43:0.2857142857142857 46:1.0 59:0.3333333333333333 82:0.1111111111111111 89:0.07142857142857142 107:1.0 259:0.5 369:0.14285714285714285 385:1.0 399:1.0 479:1.0 627:1.0 676:1.0 801:1.0 803:1.0 1506:0.3333333333333333 1537:0.5 1567:1.0 1900:1.0 3996:1.0 5012:0.5 7418:1.0
12 10:0.125 11:0.07142857142857142 30:0.05714285714285714 39:1.0 46:2.0 63:0.2 230:1.0 297:0.5 328:1.0 352:0.047619047619047616 390:1.0 394:1.0 445:1.0 451:1.0 1165:1.0 1306:0.2 2042:1.0 2733:1.0 2885:1.0 3894:1.0 6254:1.0
12 29:0.5 30:0.05714285714285714 39:0.5 59:0.3333333333333333 69:0.5 90:0.025 156:0.5 158:1.0 161:0.5 280:1.0 286:0.14285714285714285 287:1.0 388:0.25 2131:1.0 3276:1.0 3862:1.0 4131:1.0 4900:1.0 4972:1.0 6150:1.0
12 11:0.07142857142857142 30:0.02857142857142857 46:1.0 127:1.0 170:0.1111111111111111 206:0.16666666666666666 332:0.2 439:0.3333333333333333 676:1.0 806:1.0 1115:1.0 1137:0.3333333333333333 1741:1.0 1756:1.0 5654:1.0
12 11:0.07142857142857142 19:1.0 46:1.0 82:0.1111111111111111 161:0.5 540:0.06666666666666667 4981:2.0 5773:0.3333333333333333 7534:1.0
12 30:0.02857142857142857 46:1.0 59:0.6666666666666666 138:0.5 329:0.25 369:0.2857142857142857 415:1.0 1506:0.3333333333333333 1812:1.0 2042:1.0 2065:1.0 5366:1.0 5994:1.0 6189:1.0 6794:1.0
12 11:0.07142857142857142 14:0.3333333333333333 43:0.14285714285714285 46:1.0 48:0.5 53:1.0 68:0.125 237:1.0 419:0.25 756:0.125 1187:1.0 1385:1.0 3966:1.0 4621:1.0 4885:1.0 6352:1.0
12 10:0.125 11:0.14285714285714285 28:0.07692307692307693 30:0.02857142857142857 39:1.0 46:1.0 64:0.3333333333333333 68:0.125 69:0.5 73:1.0 82:0.1111111111111111 100:0.14285714285714285 187:1.0 230:1.0 259:0.5 298:0.5 344:0.5 363:1.0 369:0.14285714285714285 767:1.0 772:0.5 869:1.0 1165:1.0 1199:1.0 1281:1.0 1649:1.0 2626:1.0 2683:1.0 2840:1.0 3227:1.0 3386:1.0 5605:1.0 6512:1.0 6755:1.0 6829:1.0 6905:1.0 7326:1.0
12 30:0.02857142857142857 59:0.3333333333333333 68:0.125 286:0.14285714285714285 414:1.0 415:1.0 876:0.3333333333333333 1347:0.5 1506:0.3333333333333333 1767:1.0 2287:0.5 2790:1.0 2806:1.0 3407:1.0 4248:1.0 4557:1.0 5071:1.0 6161:1.0
12 30:0.02857142857142857 43:0.14285714285714285 626:0.3333333333333333 2733:1.0 2768:0.25 4710:1.0 4955:1.0 6164:1.0 6519:1.0
12 10:0.25 28:0.07692307692307693 43:0.14285714285714285 46:4.0 90:0.025 168:0.07142857142857142 204:0.5 259:0.5 264:0.3333333333333333 368:0.5 369:0.2857142857142857 419:0.25 521:0.5 568:0.3333333333333333 584:1.0 949:1.0 1396:1.0 1974:1.0 4684:1.0 4942:1.0 4950:1.0 5708:1.0 6281:1.0 7680:1.0
12 11:0.14285714285714285 30:0.02857142857142857 46:1.0 53:1.0 59:0.3333333333333333 156:0.5 220:1.0 256:1.0 259:0.5 388:0.25 674:0.5 1270:1.0 5022:1.0 6333:1.0 7392:1.0
12 11:0.21428571428571427 43:0.14285714285714285 59:0.3333333333333333 82:0.1111111111111111 100:0.14285714285714285 107:3.0 264:0.3333333333333333 326:0.1111111111111111 344:1.0 380:0.3333333333333333 654:0.5 719:0.5 778:1.0 1261:1.0 1430:1.0 2215:1.0 3462:1.0 4842:0.5 5400:1.0 5682:1.0 5915:1.0 6913:1.0
12 10:0.125 28:0.07692307692307693 30:0.05714285714285714 53:1.0 68:0.125 83:0.16666666666666666 118:1.0 187:1.0 265:0.1 351:1.0 363:1.0 510:1.0 876:0.3333333333333333 900:1.0 1045:1.0 1537:0.5 2023:1.0 2088:0.5 2692:1.0 2923:1.0 3325:0.2 4248:1.0 4656:1.0 5876:1.0 6088:1.0
12 10:0.125 30:0.02857142857142857 39:0.5 46:1.0 48:0.5 68:0.125 90:0.025 100:0.14285714285714285 118:1.0 142:1.0 168:0.21428571428571427 187:1.0 264:0.3333333333333333 352:0.047619047619047616 402:0.5 479:1.0 611:1.0 671:1.0 756:0.125 787:1.0 1000:1.0 1537:0.5 2088:0.5 2176:1.0 2203:1.0 4149:1.0 4879:0.5 5532:1.0 5876:1.0
12 68:0.25 168:0.07142857142857142 210:0.16666666666666666 268:1.0 332:0.2 352:0.047619047619047616 378:1.0 402:0.5 419:0.25 505:0.3333333333333333 724:0.2 806:1.0 2711:2.0 3325:0.2 4018:1.0 4249:1.0 6161:1.0
12 11:0.07142857142857142 28:0.07692307692307693 41:1.0 53:1.0 63:0.2 64:0.3333333333333333 233:1.0 326:0.1111111111111111 473:1.0 494:1.0 1921:1.0 2291:1.0 2722:1.0 3243:1.0 3325:0.2 3407:1.0 3706:1.0 5325:1.0
12 30:0.02857142857142857 53:1.0 156:0.5 473:1.0 494:1.0 1368:1.0 2722:1.0 3325:0.2 4824:1.0
12 10:0.125 11:0.14285714285714285 46:1.0 83:0.16666666666666666 352:0.047619047619047616 368:0.5 756:0.125 1108:1.0 1216:1.0 1516:1.0 4848:1.0 4862:1.0
12 621:1.0 4832:1.0
12 28:0.07692307692307693 30:0.02857142857142857 46:2.0 204:0.5 206:0.16666666666666666 210:0.16666666666666666 344:0.5 352:0.047619047619047616 385:1.0 762:1.0 767:1.0 804:1.0 1073:0.5 1199:1.0 1354:1.0 2711:1.0 3227:1.0 5318:0.3333333333333333
12 10:0.125 30:0.02857142857142857 46:3.0 59:0.6666666666666666 70:1.0 82:0.1111111111111111 83:0.16666666666666666 88:0.3333333333333333 313:0.2 352:0.047619047619047616 402:0.5 419:0.25 528:1.0 653:1.0 822:0.3333333333333333 1181:1.0 2409:1.0 2733:1.0 3259:1.0 3330:1.0 4829:1.0 4913:1.0 4982:1.0 6004:1.0 6033:1.0
12 10:0.125 11:0.07142857142857142 20:0.5 28:0.07692307692307693 30:0.05714285714285714 35:0.25 39:0.5 40:1.0 43:0.14285714285714285 46:1.0 90:0.025 96:1.0 109:1.0 212:1.0 236:1.0 313:0.2 352:0.047619047619047616 369:0.14285714285714285 419:0.25 551:1.0 1115:1.0 1191:1.0 2504:0.3333333333333333 2733:1.0 3259:1.0 5108:1.0 5754:1.0 6120:1.0 6184:1.0 7055:1.0 7599:1.0
12 11:0.07142857142857142 28:0.07692307692307693 30:0.02857142857142857 61:1.0 68:0.125 100:0.14285714285714285 126:0.25 158:1.0 281:0.3333333333333333 361:0.5 401:0.3333333333333333 1261:1.0 4290:1.0 4421:1.0 4756:0.5 4842:0.5 5003:1.0 5673:1.0
12 28:0.15384615384615385 30:0.02857142857142857 64:0.3333333333333333 68:0.25 82:0.1111111111111111 89:0.07142857142857142 173:0.3333333333333333 231:0.5 280:1.0 281:0.3333333333333333 327:1.0 344:0.5 787:1.0 801:1.0 1608:0.2 1754:1.0 4149:1.0 4832:2.0 5535:1.0 6161:1.0 7144:1.0
12 6:0.5 11:0.07142857142857142 30:0.05714285714285714 46:1.0 64:0.3333333333333333 68:0.125 82:0.1111111111111111 90:0.025 131:0.2 142:0.5 232:1.0 233:1.0 234:0.06666666666666667 263:0.25 354:0.3333333333333333 468:1.0 521:0.5 611:1.0 625:1.0 1000:1.0 1215:0.5 1216:1.0 1692:1.0 2303:1.0 2733:1.0 2768:0.5 4099:1.0 4879:0.5 4982:1.0
12 19:1.0 30:0.02857142857142857 39:1.5 68:0.125 90:0.05 95:1.0 126:0.25 259:0.5 297:0.5 302:1.0 367:0.5 586:0.14285714285714285 786:1.0 1582:0.5 2055:0.5 3551:1.0 4610:1.0 4879:0.5 5754:1.0 7164:1.0 7330:1.0 7711:1.0
12 10:0.375 30:0.02857142857142857 43:0.14285714285714285 53:1.0 61:1.0 168:0.07142857142857142 210:0.16666666666666666 300:1.0 359:0.25 518:1.0 965:0.5 1045:1.0 1506:0.3333333333333333 1582:0.5 2390:1.0 2766:1.0 3325:0.2 5014:1.0 5229:1.0 5365:0.5 5366:1.0 5876:1.0 6555:1.0 6829:1.0 7224:2.0
12 11:0.07142857142857142 28:0.07692307692307693 30:0.02857142857142857 37:0.5 43:0.14285714285714285 46:1.0 83:0.16666666666666666 90:0.025 91:0.5 136:1.0 168:0.07142857142857142 206:0.16666666666666666 281:0.3333333333333333 357:0.25 417:1.0 462:1.0 545:0.3333333333333333 611:1.0 616:1.0 786:1.0 1120:1.0 1516:1.0 4373:1.0 4942:1.0 5199:1.0
12 10:0.125 11:0.14285714285714285 28:0.07692307692307693 39:0.5 56:0.1 68:0.125 90:0.025 144:1.0 168:0.07142857142857142 259:0.5 297:1.0 887:1.0 967:1.0 1509:0.5 1546:0.5 2023:1.0 2523:1.0 2569:1.0 3259:1.0 4334:1.0 4842:0.5 5889:1.0
12 11:0.07142857142857142 14:0.3333333333333333 28:0.07692307692307693 30:0.05714285714285714 46:1.0 126:0.25 127:1.0 168:0.07142857142857142 250:0.1111111111111111 326:0.1111111111111111 363:1.0 385:1.0 414:1.0 522:0.25 611:1.0 767:1.0 1137:0.3333333333333333 1348:1.0 2308:1.0 4029:1.0 4708:1.0 4955:1.0 6106:1.0 6829:1.0 7108:1.0
12 10:0.125 11:0.07142857142857142 39:0.5 118:1.0 168:0.07142857142857142 611:1.0 673:1.0 801:1.0 1974:1.0 4832:1.0
12 28:0.07692307692307693 30:0.02857142857142857 39:0.5 68:0.125 100:0.14285714285714285 156:0.5 161:0.5 286:0.14285714285714285 352:0.047619047619047616 357:0.25 719:0.5 767:1.0 1778:1.0 4842:0.5 5153:1.0 5992:1.0 6156:1.0 6213:1.0 6885:1.0
12 10:0.125 30:0.02857142857142857 39:0.5 59:0.3333333333333333 68:0.125 82:0.1111111111111111 83:0.16666666666666666 89:0.07142857142857142 178:1.0 402:1.0 656:1.0 719:0.5 796:1.0 2079:1.0 4742:1.0 4832:1.0 5605:1.0
12 11:0.07142857142857142 43:0.2857142857142857 127:1.0 168:0.07142857142857142 170:0.1111111111111111 357:0.25 531:0.5 541:1.0 787:2.0 934:1.0 1921:1.0 2136:1.0 4241:1.0 6165:1.0
12 30:0.02857142857142857 59:0.3333333333333333 168:0.07142857142857142 352:0.047619047619047616 369:0.14285714285714285 522:0.25 1137:0.3333333333333333 1151:1.0 2768:0.25 4832:1.0 6059:1.0 7314:1.0
12 11:0.07142857142857142 14:0.3333333333333333 30:0.05714285714285714 46:4.0 56:0.1 63:0.2 73:1.0 82:0.1111111111111111 83:0.16666666666666666 126:0.25 140:1.0 168:0.07142857142857142 170:0.1111111111111111 206:0.16666666666666666 256:1.0 332:0.2 380:0.3333333333333333 517:0.25 708:1.0 753:1.0 1216:1.0 1473:1.0 1569:0.3333333333333333 1636:1.0 2065:1.0 3273:1.0 3624:2.0 5503:1.0 5934:1.0 6170:1.0 7648:1.0
12 11:0.14285714285714285 17:0.3333333333333333 46:1.0 63:0.2 68:0.125 100:0.42857142857142855 138:0.5 142:0.5 168:0.07142857142857142 170:0.2222222222222222 173:0.3333333333333333 206:0.16666666666666666 264:0.3333333333333333 370:0.5 380:0.3333333333333333 517:0.25 753:1.0 801:1.0 947:0.5 984:1.0 1216:1.0 1658:1.0 2342:1.0 4832:1.0 4850:1.0 4862:1.0 5335:1.0 6385:1.0 7648:1.0
12 30:0.02857142857142857 46:1.0 59:0.3333333333333333 100:0.2857142857142857 112:1.0 168:0.07142857142857142 262:1.0 1281:1.0 2825:1.0 4464:1.0 4832:1.0 4854:1.0
12 6:0.5 10:0.25 19:1.0 30:0.02857142857142857 46:3.0 56:0.1 68:0.25 69:0.5 79:1.0 83:0.16666666666666666 126:0.25 259:0.5 298:0.5 313:0.6 354:0.3333333333333333 380:0.3333333333333333 394:1.0 419:0.5 459:1.0 474:1.0 708:1.0 795:1.0 804:1.0 3325:0.2 6602:1.0
12 10:0.125 30:0.05714285714285714 39:0.5 53:1.0 161:0.5 313:0.2 352:0.047619047619047616 416:0.5 772:0.5 1250:1.0 1537:0.5 2042:1.0 2733:1.0 4832:1.0 4900:1.0 5245:1.0 5731:1.0
12 28:0.07692307692307693 46:3.0 53:1.0 56:0.1 68:0.375 69:0.5 89:0.07142857142857142 170:0.1111111111111111 206:0.16666666666666666 264:0.3333333333333333 327:1.0 344:0.5 354:0.3333333333333333 787:1.0 801:1.0 1365:1.0 3025:1.0 4149:1.0 4756:0.5 5365:0.5 5366:1.0
12 30:0.02857142857142857 326:0.1111111111111111 474:1.0 626:0.3333333333333333 2308:1.0 2402:1.0 2933:1.0 4955:1.0 4969:0.5
12 10:0.125 11:0.07142857142857142 28:0.07692307692307693 30:0.02857142857142857 43:0.14285714285714285 46:2.0 59:0.3333333333333333 68:0.125 96:1.0 112:1.0 353:0.2 419:0.25 517:0.25 832:1.0 942:1.0 1361:1.0 1741:1.0 2308:1.0 2647:1.0 3657:1.0 4536:1.0 5637:1.0 5912:1.0 6142:1.0 6419:1.0
12 10:0.125 30:0.02857142857142857 43:0.14285714285714285 46:1.0 68:0.25 83:0.16666666666666666 90:0.05 168:0.07142857142857142 170:0.1111111111111111 505:0.6666666666666666 822:0.3333333333333333 4042:1.0 4968:1.0 6817:1.0 7568:1.0
12 28:0.07692307692307693 68:0.125 439:0.3333333333333333 1388:1.0 1546:0.5 1683:1.0 3325:0.2 4665:1.0 4968:1.0
12 10:0.125 68:0.125 170:0.1111111111111111 210:0.16666666666666666 352:0.047619047619047616 1210:1.0 1569:0.3333333333333333 2733:1.0 3325:0.2 3714:1.0 4879:0.5 6440:1.0 6484:1.0 6990:1.0
12 36:0.3333333333333333 40:1.0 68:0.125 131:0.2 313:0.2 352:0.047619047619047616 419:0.25 1116:1.0 1569:0.3333333333333333 2293:1.0 3325:0.2 6617:1.0
12 10:0.25 11:0.07142857142857142 18:0.5 46:1.0 63:0.2 68:0.125 126:0.25 298:0.5 313:0.4 337:0.5 344:0.5 370:0.5 479:1.0 584:1.0 626:0.3333333333333333 682:1.0 1445:1.0 1864:1.0 2626:1.0 2766:1.0 3325:0.2 3903:1.0
12 10:0.125 11:0.07142857142857142 28:0.07692307692307693 53:1.0 68:0.125 69:0.5 153:1.0 352:0.047619047619047616 390:1.0 679:1.0 1354:2.0 2803:1.0 3016:1.0 3325:0.2 4935:1.0
12 11:0.07142857142857142 19:1.0 30:0.02857142857142857 68:0.375 69:0.5 89:0.07142857142857142 161:0.5 306:0.5 332:0.2 419:0.25 1250:1.0 2766:1.0 3125:1.0 3325:0.2 5128:0.5
12 14:0.3333333333333333 30:0.02857142857142857 37:0.5 68:0.125 83:0.16666666666666666 89:0.07142857142857142 948:1.0 4519:1.0 5027:1.0
12 30:0.02857142857142857 39:0.5 59:0.3333333333333333 96:1.0 100:0.14285714285714285 107:1.0 138:0.5 170:0.1111111111111111 294:1.0 297:0.5 298:0.5 326:0.1111111111111111 352:0.047619047619047616 369:0.14285714285714285 505:0.3333333333333333 801:1.0 1955:1.0 2766:1.0 3227:2.0 4281:1.0 4879:0.5 4960:1.0 5108:1.0 5150:1.0 5754:1.0 5783:1.0 5804:1.0 7330:1.0
12 69:0.5 90:0.025 352:0.047619047619047616 611:1.0 1506:0.3333333333333333 1615:1.0 2487:1.0 4848:1.0 5280:1.0 6882:1.0
12 10:0.125 126:0.25 168:0.07142857142857142 230:1.0 352:0.047619047619047616 453:0.5 1000:1.0 3325:0.2 4536:1.0
12 10:0.125 11:0.14285714285714285 28:0.07692307692307693 30:0.08571428571428572 59:0.6666666666666666 100:0.14285714285714285 109:2.0 118:1.0 206:0.3333333333333333 230:1.0 234:0.06666666666666667 352:0.047619047619047616 369:0.14285714285714285 506:1.0 586:0.14285714285714285 795:1.0 952:0.5 2733:1.0 2766:1.0 2825:1.0 3966:1.0 4832:1.0 4854:1.0 5128:0.5 5185:1.0 5700:1.0 6036:1.0 6163:1.0 6623:1.0
12 11:0.07142857142857142 19:1.0 30:0.02857142857142857 68:0.125 90:0.025 187:1.0 210:0.16666666666666666 241:1.0 352:0.047619047619047616 369:0.14285714285714285 1076:0.5 2055:0.5 2270:1.0 2733:1.0 2766:1.0 4985:1.0 5128:0.5 5700:1.0 6036:1.0
12 10:0.375 11:0.07142857142857142 14:0.3333333333333333 28:0.15384615384615385 30:0.05714285714285714 53:1.0 82:0.1111111111111111 160:0.25 226:1.0 286:0.14285714285714285 306:0.5 367:0.5 578:1.0 948:1.0 1379:1.0 1707:1.0 1724:1.0 2308:1.0 2864:1.0 2932:1.0 3407:1.0 3727:1.0 4742:1.0 4832:1.0 4879:0.5 4955:1.0 5128:0.5 5179:1.0 5550:1.0 5934:1.0 6829:1.0
12 10:0.125 11:0.07142857142857142 15:1.0 68:0.125 82:0.1111111111111111 90:0.025 100:0.14285714285714285 168:0.07142857142857142 230:2.0 234:0.06666666666666667 359:0.25 424:0.5 824:1.0 1165:1.0 2434:1.0 3158:1.0 4832:1.0 4879:0.5 4913:1.0 4927:1.0 4972:1.0 4985:1.0 5073:1.0 5396:1.0
12 10:0.125 11:0.07142857142857142 30:0.05714285714285714 43:0.14285714285714285 112:1.0 168:0.07142857142857142 234:0.06666666666666667 352:0.047619047619047616 357:0.25 539:0.3333333333333333 896:0.5 1404:1.0 1921:1.0 4900:1.0 5117:1.0 6628:1.0
12 10:0.125 11:0.07142857142857142 46:1.0 53:1.0 68:0.125 82:0.1111111111111111 264:0.3333333333333333 287:1.0 352:0.047619047619047616 419:0.25 479:1.0 767:2.0 806:1.0 949:1.0 1117:1.0 1208:0.5 1404:1.0 1416:1.0 1855:1.0 3699:1.0 5073:1.0 7534:1.0
12 10:0.25 11:0.07142857142857142 19:1.0 30:0.02857142857142857 39:1.0 53:1.0 59:0.6666666666666666 68:0.25 69:0.5 90:0.025 127:1.0 168:0.14285714285714285 230:1.0 286:0.14285714285714285 357:0.25 378:1.0 380:0.3333333333333333 443:1.0 479:1.0 1525:0.5 2042:1.0 2733:1.0 3325:0.2 4705:1.0 5510:0.5 5897:1.0
12 10:0.125 30:0.02857142857142857 68:0.125 168:0.07142857142857142 313:0.2 357:0.25 819:1.0 849:1.0 1167:1.0 2183:1.0 3325:0.2 5336:1.0
12 4:1.0 10:0.25 30:0.02857142857142857 61:1.0 82:0.1111111111111111 90:0.025 286:0.14285714285714285 352:0.047619047619047616 1621:1.0 2766:1.0 4742:1.0 5517:1.0 6367:1.0
12 10:0.25 11:0.14285714285714285 39:0.5 46:2.0 53:1.0 59:0.3333333333333333 64:0.3333333333333333 68:0.125 69:0.5 249:1.0 300:1.0 359:0.25 385:1.0 402:0.5 767:1.0 1261:1.0 1852:1.0 2040:1.0 2280:1.0 3294:1.0 3905:1.0 4832:1.0 5550:1.0 6829:1.0
12 10:0.125 11:0.07142857142857142 30:0.02857142857142857 43:0.14285714285714285 352:0.047619047619047616 540:0.06666666666666667 682:1.0 805:1.0 1404:1.0 4900:1.0 5117:1.0
12 43:0.14285714285714285 59:0.3333333333333333 170:0.1111111111111111 286:0.14285714285714285 327:1.0 479:1.0 1354:1.0 2308:1.0 3066:1.0 5053:1.0
12 30:0.02857142857142857 39:0.5 50:1.0 59:0.3333333333333333 170:0.1111111111111111 230:1.0 286:0.14285714285714285 327:1.0 539:0.3333333333333333 1354:1.0 2308:1.0 5053:1.0 6999:1.0
12 10:0.125 11:0.14285714285714285 30:0.02857142857142857 53:1.0 59:0.3333333333333333 82:0.1111111111111111 90:0.025 135:0.2 170:0.1111111111111111 187:1.0 264:0.3333333333333333 297:0.5 313:0.2 326:0.1111111111111111 402:0.5 479:1.0 767:1.0 804:1.0 824:1.0 1281:1.0 1359:1.0 1615:1.0 1728:1.0 2308:1.0 4519:1.0 4832:1.0 4972:1.0 5550:1.0 6177:1.0
12 10:0.125 89:0.07142857142857142 170:0.1111111111111111 264:0.3333333333333333 377:0.5 419:0.25 540:0.06666666666666667 1306:0.2 1615:1.0 1948:0.5 6746:1.0
12 11:0.07142857142857142 28:0.07692307692307693 30:0.02857142857142857 39:0.5 43:0.14285714285714285 53:1.0 59:0.3333333333333333 281:0.3333333333333333 402:0.5 419:0.25 626:0.3333333333333333 767:1.0 1116:1.0 1615:1.0 4900:1.0 4941:1.0 5128:0.5 5550:1.0
12 30:0.02857142857142857 35:0.25 59:0.3333333333333333 64:0.3333333333333333 83:0.16666666666666666 90:0.025 168:0.14285714285714285 220:1.0 401:0.3333333333333333 767:1.0 778:1.0 896:0.5 933:1.0 1484:1.0 2768:0.25 4107:1.0 4832:1.0 4900:1.0 5690:1.0 6004:1.0
12 11:0.14285714285714285 19:1.0 21:1.0 28:0.15384615384615385 30:0.08571428571428572 37:0.5 39:1.0 63:0.2 68:0.125 90:0.075 100:0.14285714285714285 109:2.0 173:0.3333333333333333 234:0.06666666666666667 254:1.0 294:1.0 368:0.5 394:1.0 401:0.3333333333333333 479:1.0 505:0.3333333333333333 611:1.0 719:0.5 1358:1.0 2351:1.0 4842:0.5 4850:1.0 4896:1.0 5743:1.0 6313:1.0
12 11:0.14285714285714285 14:0.3333333333333333 17:0.3333333333333333 18:0.5 30:0.02857142857142857 35:0.25 39:0.5 46:3.0 59:0.3333333333333333 100:0.14285714285714285 109:1.0 112:1.0 118:1.0 126:0.25 168:0.07142857142857142 170:0.1111111111111111 173:0.3333333333333333 263:0.25 298:0.5 306:0.5 313:0.6 416:0.5 479:1.0 844:1.0 1147:1.0 1355:1.0 1437:0.3333333333333333 1756:1.0 2215:1.0 3255:1.0 3862:1.0 3943:1.0 4454:1.0 4969:0.5 5027:1.0 6352:1.0 6580:1.0
12 11:0.14285714285714285 18:0.5 19:1.0 29:0.5 30:0.02857142857142857 46:2.0 56:0.1 61:2.0 68:0.125 89:0.07142857142857142 96:2.0 110:1.0 156:0.5 206:0.16666666666666666 297:1.0 313:0.2 327:1.0 357:0.5 411:1.0 474:1.0 484:1.0 549:1.0 562:0.5 801:1.0 804:2.0 817:1.0 1000:1.0 1076:0.5 1083:1.0 1137:0.3333333333333333 1438:1.0 1467:1.0 1665:1.0 1754:1.0 2543:1.0 2733:1.0 4882:0.5 5484:1.0 6352:1.0 7528:1.0
12 11:0.14285714285714285 14:0.3333333333333333 28:0.07692307692307693 30:0.02857142857142857 39:1.0 59:0.6666666666666666 74:1.0 82:0.2222222222222222 83:0.16666666666666666 89:0.07142857142857142 118:2.0 156:0.5 297:0.5 369:0.14285714285714285 545:0.3333333333333333 756:0.125 948:1.0 1955:1.0 2215:1.0 3714:1.0 4423:1.0 4832:1.0 5412:1.0 5876:1.0 6165:2.0 6269:1.0 6352:1.0 7318:1.0
|
20102a04ab71148373711a33f3334286219b0729 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/upsample.sci | 98a9e6d4421235fac9ce8b142bdbe2d25fbc0dc2 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,565 | sci | upsample.sci | // Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
// Author:[insert name]
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
//Calling sequence:
// y = upsample (x, n)
// y = upsample (x, n, offset)
// Upsample the signal, inserting n-1 zeros between every element.
//
// If x is a matrix, upsample every column.
//
// If offset is specified, control the position of the inserted sample in
// the block of n zeros.
//
//Testcases:
//1.upsample([1,3,5],2)
//EXPECTED OUTPUT:[1,0,3,0,5,0]
//2.upsample([1;3;5],2)
//EXPECTED OUTPUT:[1;0;3;0;5;0]
//3.upsample([1,2;5,6;9,10],2)
//EXPECTED OUTPUT:[1,2;0,0;5,6;0,0;9,10;0,0]
//
//
function y = upsample (x,n,phase )
[nargout,nargin]=argn()
if (nargin<2 | nargin>3),
error("wrong no. of input arguments")
end
if nargin==2
phase=0;
else
if phase > n-1
warning("This is incompatible with Matlab (phase = 0:n-1). See octave-forge signal package release notes for details." )
end
end
[nr,nc] = size(x);
if (nc==1 | nr==1) then
if ( nc==1)
y = zeros(n*nr*nc,1);
y(phase+1:n:$) = x;
end
if (nr==1)
y = zeros(n*nr*nc,1);
y(phase+1:n:$) = x';
y = y.';
end
else
y = zeros(n*nr,nc);
y(phase + 1:n:$,:) = x;
end
endfunction
|
9bf3ed384ee11223ebd3f4de890acfb94fc3c4cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH7/EX7.10/7_10.sce | 3873dd8627a67f56bcea1ec28c25d7a59d4084d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | 7_10.sce | clc
//initialisation
m=2*10^-3//kg
R=8.31//j/mol/k
p=2*10^5
v=8.2*10^-4
a=0.136//pa m^6
M=28*10^-3//kg/
//CALCULATIONS
t=(p*v*M)/(R*m)
T=(M/(m*R))*(p+(m*m*a/(M*M*v*v)))*(v-(m*b/M))
//results
printf(' \n temperature for a perfect gas= % 1f k',t)
printf(' \n temperature for vanderwaals gas= % 1f k',T)
|
bdbb14826db646cea2761aa63fa88d239f8d1060 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/61.tst | 2258fcede9c461bdb5c2755bbef53d16402e7eac | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 55 | tst | 61.tst | int f(float x, int y), g(int z) /* ошибка */
{
} |
a5c4e55568ff890bbb4563136721d10d45500c09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH19/EX19.3/19_3.sce | a2353a4ace0aa32ba55a6eeeebbd6f05a7a8ece7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | sce | 19_3.sce | clear//
//Variables
V1 = 230 //Primary voltage (in volts)
N2byN1 = 1.0/2.0 //Turns ratio
RL = 200 //Resistance (in ohm)
//Calculation
V2 = V1 * N2byN1 //Secondary voltage (in volts)
Vm = 2**0.5 * V2 //Maximum value of secondary voltage (in volts)
Im = Vm / RL //Maximum value of load current (in Ampere)
Pm = Im**2 * RL //Maximum value of load power (in watt)
Vdc = 0.318 * Vm //Average value of load power (in watt)
Idc = Vdc / RL //Average value of load current (in Ampere)
Pdc = Idc**2 * RL //Average value of load power (in watt)
//Result
printf("\n Maximum value of load power is %0.1f W.",Pm)
printf("\n Average value of load power is %0.1f W.",Pdc)
|
f14f018b2f11060d9f7bb6ef3366368fe05b735c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.23/Chapter2_Example23.sce | bbb074647e86027635fff3adc75f00dc2fc9e6d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | Chapter2_Example23.sce | clc
clear
//INPUT DATA
//CH4+2O2=CO2+2H2O ;//STOICHIOMETRIC REACTION
//CASE I
//H2O in the products is liquid
//CASE II
//H2O in the products is gas
Hr=-74.87;//enthalpy of reactants
Hp1=-964.2;//enthalpy of products
Hp2=-876.18;//enthalpy of products
R=8.314*10^-3;//gas constant
t=298;//initial temperature in K
//CLCULATIONS
dH1=Hp1-Hr;//Enthalpy increase in MJ/kmol
dH2=Hp2-Hr
dU1=dH2-((1-3)*R*t);//internal energy in MJ/kmol
dU=Hp2;//internal energy in MJ/kmol
//OUTPUT
printf('Enthalpy increase is %3.2f MJ/kmol of CH4 \n internal energy increase is %3.2f MJ/kmol of CH4 \n',dH2,dU1)
printf('H2O in the products and internal energy increase are same \n')
printf('np=nr')
|
0d53eae839c55cd64a7a5df0acf010c83ac7823f | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.88/Ex88.sce | 129df50ce5c7b373b4eddfe00daa841001678dad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex88.sce | //Ex:88
clc;
clear;
close;
F1=2;
F2=10;
F3=15;
F4=20;
G1=100;
G2=10;
G3=10;
F=F1+(F2-1)/G1+(F3-1)/(G1*G2)+(F4-1)/(G1*G2*G3);
f=10*log(F)/log(10);//noise figure in db
printf("The noise figure=%f db",f); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.