blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15 values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7 values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36 values | src_encoding stringclasses 17 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 15 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5f22f91808ac873d42a44c6f91a2586a015d70e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.15/10_15.sce | 47069316935294d57b19e0147a08739ca3ce1267 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 10_15.sce | //Example 10.15
//Fourth Order Runge Kutta Method
//Page no. 324
clc;clear;close;
deff('y=f(x,y)','y=x^2+y^2')
y=1;h=0.1;
for i=1:2
x=(i-1)*h
K1=h*f(x,y);
K2=h*f(x+h/2,y+K1/2);
K3=h*f(x+h/2,y+K2/2);
K4=h*f(x+h,y+K3);
disp(K4,'K4 =',K3,'K3 =',K2,'K2 =',K1,'K1 =')
y=y+(K1+2*K2+2*K3+K4)/6
printf('\ny(%g) = %.13f\n\n\n\n',x+h,y)
end |
5adacbca47ad3628f753e8d794663c3bfca48116 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/privop.tst | 246fe94331df4d86f7d54fcefe6f8d9403b91120 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 428 | tst | privop.tst | *
* This file was put into the public domain 2016-11-29
* by John P. Hartmann. You can use it for anything you like,
* as long as this notice remains.
*
*Testcase privopisk
sysclear
archmode z
loadcore "$(testpath)/privop.core"
*Program 1
runtest .1
*Done
*Testcase privopiske
*Program 2
runtest program .1
*Done
*Testcase privopgo
r 151=00
runtest program .1
*Compare
gpr
*Gpr 0 0000000000000f06
r 88.4
*Want 00020000
*Done
|
084a520b4f7996746b2ff46b22dca3782ec1c8cb | cede801b0b2a0e368ebefd69dc10f5e5e897c4ec | /all.tst | b7ad21d7a39ad825116699cdeee9377ca301cc8b | [
"MIT"
] | permissive | tchell/cmput496-assignment1-tests | 414486e70bcb6770369d72c6edfe6b1ec4cd23f0 | 74ce65863b5963d137ec092a552aadb880bced42 | refs/heads/master | 2020-04-17T16:09:17.629016 | 2019-01-28T05:23:18 | 2019-01-28T05:23:18 | 166,728,639 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | tst | all.tst | tests/play.tst
tests/legal_moves.tst
tests/final_result.tst
tests/gen_move.tst
|
851229e88f6ce02b641d0bc8feb8b1d1fdbcdaf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH3/EX3.24/3_24.sce | d45f9b86142189a9c95a7749b5ffc2ded0b82b3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | 3_24.sce | clear//
//Variables
W = 64000 //Heat produced (in Joules)
t = 40 //time (in seconds)
//Calculation
P = W/t //Rate at which electrical energy is converted into heat energy (in watt)
//Result
printf("\n The rate at which electrical energy is converted into heat energy is : %0.3f W.",P)
|
495a3f111e0ba59e1f28072550978115ad81c25f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH3/EX3.2/Ex3_2.sce | 9ce3b10ee424812981e5a6b53a0e097ccc2d118f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex3_2.sce | //Example 3.2//
rCu=0.128;//nm //atomic radius copper (From appendix 2)
a=(4/sqrt(2))*rCu
mprintf("a = %f nm",a)
//The density of the unit cells is
a1=4;// atoms
b1=63.55;//gram //atomic mass of copper
c1=0.6023*10^24;//atoms// Avogardo's number
d=10^7;//nm/cm
p=(a1/a^3)*(b1/c1)*d^3
mprintf("\n p = %f g/cm^3",p)
|
00b3d8727eae7f0ed1b1484f8e21d82c695ae1e9 | ff76030a5bfdd339bad94fffed7b2070bf996a70 | /calculo-numerico/integral1.sce | 7ed0101a968eee7b2d5614ec5d164e8a6b0b37b7 | [] | no_license | vini2reis/Calculo-Numerico | f04389542d1aed21e5d363f7fa2986816ee80263 | d2c04fe19c55db39922193bb4028bdbd67b4b089 | refs/heads/main | 2023-08-24T19:06:51.909473 | 2021-11-08T17:53:48 | 2021-11-08T17:53:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | integral1.sce | clear;
clc;
p1=acos(-1);
format(16)
a=0;
b=%pi / 2;
function [f]=my(x)
f = sqrt(x+1)*sin(x)*cos(x);
endfunction
X=linspace(a,b,100);
for i=1:100
[Y(i)]=my(X(i));
end
figure(1);
plot(X,Y,'k');
xlabel('x');
ylabel('y');
n=43;
xT=linspace(a,b,n);
hT=xT(2)-xT(1);
for i=1:n
[yT(i)]=my(xT(i));
end
IT(1)=yT(1);
IT(n)=yT(n);
S=0;
for i=2:n-1
IT(i)=2*yT(i);
S=S+IT(i);
end
TRAP=hT*(IT(1)+S+IT(n))/2;
printf('TRAP=%f \n ', TRAP)
|
14b8ff3cc0a4e7daf60f0a14f301deb6e0a30475 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH11/EX11.5/11_5.sci | b2fd04981c490391b5b6fad04787540f51b0456d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sci | 11_5.sci | clc();
clear;
//To determine the Q-value
mLi=7.016004; //mass of Lithium(A=7)
mH=1.007825; //mass of Hydrogen(A=1)
mHe=4.002603; //mass of helium(A=4)
Q=[mLi+mH-2*(mHe)]*931.5 //Q is the energy balance of the reaction
p=0.5; //energy of proton in MeV
//The energy of 2 alpha particles is equal to the Q-value + energy of proton.
Ealpha=(Q+p)/2 //energy of each alpha particle
printf("The Q-value of the reaction is %f MeV and energy of each alpha particle is %f MeV",Q,Ealpha)
|
7d7b8a9763b58b71de96d4fc05e6eb64b02ee4e8 | 776c9715b4adba254a4ce6ad7391bae87e8086a2 | /nscnet/venusp.tst | 6f92b7845296d49eb24fb9d6d680e7edf209a140 | [] | no_license | TYMCOM-X/169279.tape | b0cf2f2cc6a400acb6b0ca2f44ef17f0a4854666 | a80150749ad1dc588b6768dfd53c1a21cfc7d783 | refs/heads/master | 2023-03-23T08:41:21.289217 | 2021-03-19T11:26:42 | 2021-03-19T11:26:42 | 345,965,036 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,215 | tst | venusp.tst | :: XCOM Version 4.03
::
:: (1) Call Request Packet : Replace calling address by 440821000010
::
:: (2) Call Accept Packet : Replace called address by 440821000010
::
:: (3) Calledmaping function :
:: a) If called address of call request packet have sub address,
:: 4406200008XX convention is used.
:: b) If sub address is not given,
:: only 4406 is submit and enable TKSUP option.
::
::
PATCH(881215,1300,NIS.TSUJI,PA0PTR,,0C)
WS 0 :Word boundary
NISADR XC 0C440821000010 :Length & Address
WS 0 :
NIS4406 XC 044406 :Length & DNIC of NIS
WS 0 :
CONPATCH(CRQ300-42,,6)
J PA1PTR,,
CONPATCH(PA1PTR,,14)
JAL R9,VENCLG,, :Put address
LB R0,PFXCLL, :Get calling address length
LB R8,PFXCLD, :Get called address length
J CRQ300-3A,, :return
CONPATCH(ESP912-48,,6)
J PA1PTR,,
CONPATCH(PA1PTR,,14)
JAL R9,VENCLG,, :Put address
LB R0,PFXCLL, :Get calling address length
LB R8,PFXCLD, :Get called address length
J ESP912-40,, :return
CONPATCH(MCA020-1A,,6)
J PA1PTR,,
CONPATCH(PA1PTR,,14)
JAL R9,VENCLD,, :Put address
LB R5,PFXCLD,R6, :Get called address length
LR R7,R5 : From source
J MCA020-14,, :return
CONPATCH(PA1PTR,,1A)
VENCLG L R0,NISADR :Get NIS's address on Venus-p
ST R0,PFXCLL, :Store into calling address
LH R0,NISADR+4 :
STH R0,PFXCLL+4, :
LB R0,NISADR+6 :
STB R0,PFXCLL+6, :
JR R9 :
CONPATCH(PA1PTR,,1A)
VENCLD L R5,NISADR :Get NIS's address on Venus-p
ST R5,PFXCLD, :Store into called address
LH R5,NISADR+4 :
STH R5,PFXCLD+4, :
LB R5,NISADR+6 :
STB R5,PFXCLD+6, :
JR R9 :
CONPATCH(FND2ND+1A,,6)
J PA1PTR,,
CONPATCH(PA1PTR,,28)
LB R4,REMBUF :Get length of remaining digits buffer
JEFS NOSUBA :Skip if no digits remains
AR R4,R6 :Add two length up
J FND2ND+20,, :Return back
NOSUBA LH R0,NIS4406 :Get NIS's DNIC number
STH R0,DTESAX,R7, :Store it
LB R0,NIS4406+2 :
STB R0,DTESAX+2,R7, :
J CLDEXI,, :
ENDPATCH(Replace calling/called address by NIS's address on Venus-P)
|
d75b4b36859764494e467c69ccdcc2ae54b6ca8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH13/EX13.7/Ex13_7.sce | 1260729f118cf26edbe5765b3190f02eeb7204b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | sce | Ex13_7.sce | //Ex:13.7
clc;
clear;
close;
r=12;//in ohms
i=0.5;//in amps
P_r=i*i*r;//in W
printf("Power radiated = %d W",P_r); |
22bd39ab8841d4ce50309fbe24fa65557fa46131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH3/EX3.21/ex3_21.sce | 03720073df9338895ba13da23d41533234c6d3c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sce | ex3_21.sce | clc
w1=1 //Assigning values to parameters
w2=2*w1
t=atan(sqrt(3)*(w2-w1)/(w1+w2))
pf=cos(t)
disp(pf,"Power factor is") |
ea1ce894dc16d8cb624c0792053f306f0e85ff53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH2/EX2.4/Chapter2_Example4.sce | db1bb49a96e99ad544093e843c099ccc7068d8af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,076 | sce | Chapter2_Example4.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-2, illustration 4, Page 36
//Title: Expressing weight percent into mole percent
//=============================================================================
clear
clc
//INPUT
W = 100; //Weight of solution in grams(Basis of calculation)
w1 = 40; //Weight of sodium carbonate present in solution in grams
MW = [106,18.02]; //Molecular weight of sodium carbonate and water respectively in g/g-mole
//CALCULATION
n1 = w1/MW(1); //To find the no of moles of sodium carbonate in g mole
n2 = (W-w1)/MW(2); //To find the no of moles of water in g mole
N = n1+n2; //Calculation of total no of moles in g mole
x1 = n1*100/N; //Mole % of sodium carbonate
x2 = n2*100/N; //Mole % of water
//OUTPUT
mprintf('\n mole percent of Na2CO3 = %4.2f',x1);
mprintf('\n mole percent of H2O = %3.1f',x2);
//================================END OF PROGRAM=============================== |
f1bbefe82c776f3b8ad64bc5a8b4ccb9b12f5c5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.17.p/prob1_17.sce | 63239a086fd1e97e9f1d4c8179b28a7f39ecf3f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | prob1_17.sce | // Prob 1.17
clc;
clear;
close;
format('v',6);
// Given data :
Poles=4;//no. of poles
m=3;//no. of phase
f=50;//in Hz
V=7000;//in volt/phase
I=1400;//in A/phase
Xs=1.2;//in ohm/phase
E=sqrt(V^2+(I*Xs)^2);//in volt
disp(E,"Induced emf in volt : ");
cosfi=1;//for resistive load
P=3*V*I*cosfi;//in watts
P=P/10^6;//in MWatts
N=120*f/Poles;//in rpm
w=2*%pi*N/60;//in radian per sec
T=P*10^6/w;//in Nw-m
T=T/9.81;//in Kg-m
disp(T,"Torque in Kg-m : ");
//Note : Answers in the book is not as much accurate as calculated by Scilab.
//Note : Figure given in this question is not a plot. It is just drawn to represent data and can't be plotted.
|
85cdfc48271585cc6a1e394686a51b9c0bfd0e0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.25/Exa_6_25.sce | b67e73622953040b8a4f168e9ed4a0ef18ded2e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Exa_6_25.sce | //Exa 6.25
clc;
clear;
close;
format('v',7);
//Given Data :
p1=10;//bar
x1=0.9;//dryness
p2=1;//bar
hf1=762.6;//KJ/Kg(at 10bar)
hfg1=2013.6;//KJ/Kg(at 10bar)
h1=hf1+x1*hfg1;//KJ/Kg
h2=h1;//KJ/Kg
hg2=h2;//KJ/Kg
p2=0.075;//bar(from steam table)
disp(p2,"Pressure at exit in bar : ");
//Steam table is used to get some data.
|
d48245ab88d14b54343fc915d8b918475a4f6997 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/derivat.man.tst | eae72572bff7d46d4a09f25025b72c7c8e677d43 | [
"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 | 56 | tst | derivat.man.tst | clear;lines(0);
s=poly(0,'s');
derivat(1/s) // -1/s^2;
|
874f6f8f0cdca157575a3542ceeaba58907eb7f1 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testaffectematrix.sce | e266fef9cd0c49f4864539421543b969542d732c | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | testaffectematrix.sce | A=[1 2 3; 4 5 6; 7 8 9] // 3x3 matrix (3 rows, 3 columns)
A(2,3) // value stored at row 2, column 3
A(2,3)=-1 // modify the value at row 2 column 3
A(4,5)=10 // this assignment increases the size of A
// entry that doesn't exist in A
A(10,10) // this call returns error 21
|
67acc06d3b75a206ca4dc961068ee4fb0328dc68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH13/EX13.1/Ex13_1.sce | caa62df4cee2c36b9d500a1668f1e23bb401e417 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 794 | sce | Ex13_1.sce |
clear//
//Variable Declaration
d=150 //Depth of the web in mm
wf=100 //Width of the flange in mm
df=20 //Depth of the flange in mm
t=20 //Thickness of the web in mm
//Calculations
y_bar=10**-3*(((wf*df*(d+df*0.5))+(d*t*d*0.5))/(wf*df+d*t)) //Distance of Neutral Axis in m
//Simplfying the computation
a=wf*df**3*12**-1
b=wf*df*((d+df*0.5)-y_bar*10**3)**2
c=t*d**3*12**-1
f=t*d*((d*0.5)-y_bar*10**3)**2
I=(a+b+c+f)*10**-12 //Moment of inertia in mm^3
//Limit Moment
yp=(wf*df+d*t)/(2*t) //Plastic Neutral Axis in mm
Myp=I/y_bar //Yielding will start at moment without the stress term to ease computation
mom=10**-9*((t*yp**2*0.5)+(wf*df*(d-yp+10))+(t*25**2*0.5)) //Sum of 1st moments
Ml_Myp=mom*Myp**-1 //Ratio
//Result
printf("\n The ratio ML/Myp= %0.3f ",Ml_Myp)
|
d68d2e587925d453271f4e2fd805001adf183466 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testfibonacci.sce | a4b037d06f8491ea76dc6ff5fc24dbb2c5194c98 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | testfibonacci.sce | //bad recursion
function y=Fibonacci1(n)
if n<=1 then y=1
else y=Fibonacci1(n-1)+Fibonacci1(n-2)
end
endfunction
tic()
Fibonacci1(25)
time=toc()
//matrix structure use
function y=Fibonacci2(n)
F=[0 1; 1 1]
u=(F^n)*[1;1]
y=u(1)
endfunction
tic()
Fibonacci2(25)
time=toc()
|
67ca0d8a18e44437e284402c9af2fb574b8ed9c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH7/EX7.7/Ex7_7.sce | 2244e527e3c8f8d41b10df934d310bd09b7fadc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ex7_7.sce | clc;
Vcc=10; //volt
R1=18000; //ohm
R2=4700; //Ohm
Vb=(R2/(R1+R2))*Vcc; //volt //voltage divider rule
Ve=Vb-0.7; //volt
Re=1100; //ohm
Icq=Ve/Re; //Ampere//assumption Icq=Ie
Rc=3000; //Ohm
Re=1100; //Ohm
Vceq=Vcc-Icq*(Rc+Re); //Volt
disp('A',Icq,"Icq=");//The answers vary due to round off error
disp('V',Vceq,"Vceq=");//The answers vary due to round off error
|
ffb98b0304a4c46923932b4000347ae3a2e86b5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH13/EX13.8w/13_8w.sce | 8196169c7398b773ddf7858c8fcfc083f4508f93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | 13_8w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 13.8w
//calculation of the angle that the plank makes with the vertical in equilibrium
//given data
l=1//length(in m) of the planck
h=0.5//height(in m) of the water level in the tank
s=0.5//specific gravity of the planck
//calculation
//A = OC/2 = l/(2*cosd(theta)
// mg = 2*l*rho*g
//buoyant force Fb=(2*l*rho*g)/cosd(theta)
//m*g*(OB)*sind(theta) = F(OA)*sind(theta)
theta=acosd(sqrt(1/2))
printf('the angle that the plank makes with the vertical in equilibrium is %d degree',theta)
|
c75c78cdefc96d4bca528076882538251e0a95f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH6/EX6.3.2/6_3_2.sce | 4a42d5316008a14b655a926b963e66d488c5ffb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | 6_3_2.sce | clc;
// page no 200
// prob no 6.3.2
// RC phase shift oscillator
// all resistors are in Kohm
f=800;R0=18;
// R>>Ro should be chosen to minimize the effect of Ro on frequency. A number of values for R can be tried, and it will be found that R=100Kohm is reasonable.
R=100;
c=1/(2*%pi*f*R*sqrt(6+(4*R0/R)))*10^9;// C in pF
disp('pF',c,+'The value of capacitor is '); |
1bbd9a474620c24b71cdd02a3d692c383ba1dce8 | 4fc36cf9ad4abed8f783d4d04478e13f13cd58fa | /miniproject/2prob/3_cross_correlation.sce | a0e70c94d97ee4ce932e22be8c5f0f1efc26760f | [] | no_license | sksavant/ee340 | 812857c69af65aef748ae86737c1bdfb4a3d0940 | 827918ae23644debcee0f8b890d4b46e35f93e79 | refs/heads/master | 2020-05-19T17:09:44.225110 | 2012-09-06T18:15:14 | 2012-09-06T18:15:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,387 | sce | 3_cross_correlation.sce | // Group_13: Bhargava B
// Surya K
// S K Savant
// Question:
//Compute and plot the cross-correlation rxy (m), 0<= m<= 99.
//Use the plot to estimate the value of the delay D.
exec("../2prob/2_delay_noise_seq.sce",-1)
exec("../1prob/sinusoidal_vector.sci",-1)
exec("../1prob/normalnoisevec.sci",-1)
function[delay,corrvec]=cross_correlation(xseq,yseq,M)
newseq=[]
for i=1:length(yseq)
if (i<=0 | i>length(xseq)) then
newseq=[newseq,0]
else
newseq=[newseq,xseq(i)]
end
end
N=length(newseq)
corrvec=[]
for m=-99:99
corrval=0
for n=1:200
if (n-m>0 & n-m<=200) then
corrval=corrval+newseq(n)*yseq(n-m)
//disp(n,n-m)
end
end
corrvec=[corrvec,corrval]
end
maxf=0
index=i
nvec=linspace(-99,99,199)
for i=1:length(corrvec)
if(corrvec(i)>maxf) then
maxf=corrvec(i)
index=i
end
end
//disp(nvec(index))
//disp(corrvec)
delay=-nvec(index)
disp('Delay is')
disp(delay)
//disp(length(corrvec))
//disp(length(nvec))
//disp(length(corrvec))
xset('window',5)
plot(nvec,corrvec)
endfunction
//xvec=sinusoidalvec(0.1,200)
xvec=barker
yvec=delay_noise_seq(xvec,0.001,0.9,20,-1)
cross_correlation(xvec,yvec,100)
|
b0667013c7da4a188cbdb6a5431895d0236be85c | cda6eccbae64d9ff794abcc196579fa9c4e702a2 | /CN - MMQ.sci | 2ddd982255d39f67f0f4392f59f37a86c8a3a863 | [] | no_license | maurochiozzi/metodos-numericos | 95041be3fe4314c84ecde20b642888f28283ba9b | 4e8aa880126dd3190ae4116780cab3bdaccc8efc | refs/heads/master | 2020-03-23T04:09:42.069754 | 2018-07-16T00:25:11 | 2018-07-16T00:25:11 | 141,067,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sci | CN - MMQ.sci | // f = ab ^ x
// ln(f) = ln(a) + xln(b)
// ln(f) = a0 + x * a1
// a = e^a0
// b = e^a1
function xr = mmqPolinomial(x, y, grau)
for i = 1 : (grau + 1)
for j = 1 : (grau + 1)
A(i, j) = sum( x .^ (j + i - 2))
end
end
for i = 1 : (grau + 1)
b(i) = sum(y .* (x .^ (i - 1)))
end
xr = A\b
endfunction
function xr = vandermondMatrix(x, y, grau)
n = length(x)
for i = 1 : n
for j = 1 : grau
A(i,j) = x(i) ^ (j - 1)
end
b(i) = y(i)
end
xr = (A'*A)\(A'*b)
endfunction
|
a9e119cc98b4a012b576051b0a603af659cea3bf | 0aacc4aca603f61e9ac05bdb6de5b3b783f797fe | /Mission-A1/A1_Position_Idéale.sci | f9f2de8ed78dc561dfea5bd8348cef2112a6727d | [] | no_license | ZHamsiou/EXOLIFE-A2 | cf6001f744bf26109af2b552ecc2fe055ab8efd7 | 675a20670231c2a0a6c73333c988b1e651cab264 | refs/heads/master | 2021-04-29T19:18:23.002372 | 2018-02-16T03:22:18 | 2018-02-16T03:22:18 | 121,710,650 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,295 | sci | A1_Position_Idéale.sci | // Lecture de l'image
img = readpbm('A1.pbm');
//Attribution de la taille de l'image
[colonne, ligne]=size(img)
// Déclaration & initialisation d'une variable pour déterminer
// la valeur maximale de gris (le plus haut niveau de gris)
max_gray=max(img);
// Déclaration & initialisation d'un compteur pour déterminer
// le nombre de coordonnées de zones d'atterrissage possibles.
coordonnées=0;
// Déclaration & initialisation de deux tableaux pour consigner
// les coordonnées de la d'atterrissage possibles.
posX= [0,0]
// Déclaration & initialisation d'un deuxième compteur.
i=1
// Affichage de texte.
disp("Les coordonnées optimales pour atterrissage robot ou fusée sont : ")
// Boucle pour parcourir l'image.
for c=1:colonne
for l=1:ligne
// Condition pour déterminer si le pixel choisi possède la valeur
// attendue.
if img(c,l)==max_gray
// Affichage de texte.
disp("(" + string(c) + "," + string(l) +") ;")
// Incrémentation du compteur.
coordonnées=coordonnées+1
posX(i)=(c,l)
i=i+1
end
end
end
// Affichage de texte.
disp("Il y a " + string(coordonnées) + " position possible.")
|
685ab63560769b9b694215801d6e3255c8ab15df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH14/EX14.4/14_4.sce | 38401cdfdf54f8e928f5803913eced6375b9530b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | 14_4.sce | clc
//Initialization of variables
K2=1.0008*10^-14 //m^2
K1=1.754*10^-5 //m
c=0.1
//calculations
disp("Neglecting x w.r.t c,")
x2=c*K2/K1
x=sqrt(x2)
//results
printf("Concentration of OH minus ions = %.1e m",x)
|
3def6517d16ee1d2e9e89a97f0cce053007f3e40 | 00e20965b325210cb29d4887402a2d5d7f9368fc | /Labs6_9/Course/test3.tst | 9ff3621775bb94b6c31c5ce99c0943cf44ba3200 | [] | no_license | hxnchar/KPIlabs | 375f414b3666d4a09e5aed09cf8f9763ac15f819 | 5d5ebffd18d75e46bc06b194bfac70ec82bf6014 | refs/heads/main | 2023-05-01T06:42:39.814773 | 2021-05-20T10:36:52 | 2021-05-20T10:36:52 | 344,482,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,807 | tst | test3.tst | 3
1.Яке з твердження правильне?
+а)Фігура F1 називається подібною до фігури F (), якщо існує відображення фігури F на фігуру F1, при якому для будь-яких двох точок А і В фігури F та їх образів А1 і В1 фігури F1 відношення відстаней АВ і А1В1 є величиною сталою.
б)Фігура F1 називається подібною до фігури F (), якщо існує відображення фігури F на фігуру F1, при якому для будь-яких двох точок А і В фігури F та їх образів А1 і В1 фігури F1 відношення відстаней АВ і А1В1 є величиною не сталою.
в)Фігура F1 називається подібною до фігури F (), якщо існує відображення фігури F1 на фігуру F, при якому для будь-яких двох точок А і В фігури F та їх образів А1 і В1 фігури F1 відношення відстаней АВ і А1В1 є величиною сталою.
2.У подібних фігур відповідні кути рівні, а відповідні відрізки пропорційні, це ?
+а)правда
б)брехня
в)спірне питання
3.Який з прикладів найкраще описує цю тему?
+а)явище тіні в реальному житті
б)закон гепарда: якщо не наздогнав за 100м, то вже не цікаво
в)українська народна пісня "Ой у лузі червона калина"
|
62ef76890654b4b4b6bfa5f6a072730f8b0d8ae5 | 6412ba72364e265462a61bc21fc1f4de94925f95 | /HydrozoanAlgorithm.sci | 1a0b77c0be9e44bf8319ab0d51cc504c83745868 | [] | no_license | shresthak98/Hydrozoan_Algorithm | 71d66d3a2b8b245eec0eddb3b396b842d4d98197 | dd250e38168c7ff928c9295ceb375c84b039ed61 | refs/heads/master | 2021-08-23T02:44:19.714683 | 2017-12-02T16:50:21 | 2017-12-02T16:50:21 | 112,859,225 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,566 | sci | HydrozoanAlgorithm.sci | function y = fitness(hydrozoan)
y = 0;
for i=1:size(hydrozoan,2)-1
y = y + (hydrozoan(i)-1)^2 + 100*(hydrozoan(i+1) - hydrozoan(i)^2)^2;
end
endfunction
D = 2;
N = 2;
low = 0;
high = 1;
Iteration = 5;
H = zeros(N,D);
for i=1:N
for j=1:D
H(i, j) = rand()*(high-low) + low;
end
end
growth_low = 0.01;
growth_high = 0.1;
while(Iteration > 0)
Fit = [];
for i = 1:N
Fit = [Fit; fitness(H(i,:))];
end
G = [];
for i=1:N
G(i) = rand()*(growth_high-growth_low) + growth_low;
end
Med = median(G);
Swarm = zeros(N);
Swarm = G - Med;
Split = zeros(N);
Min = min(Swarm);
Max = max(Swarm);
for i = 1:N
if(Swarm(i) < 0) then
Split(i) = 0;
elseif (Swarm(i) == 0) then
Split(i) = 1;
elseif (Swarm(i) > 0 & Swarm(i) == Min) then
Split(i) = 1;
elseif (Swarm(i) > 0 & Swarm(i) == Max) then
Split(i) = 3;
else
Split(i) = 2;
end
end
Clone = [];
for i = 1:N
for j = 1:Split(i)
Clone = [Clone; H(i,:)];
end
end
Min = 1e-9;
Max = 1e-7;
for i = 1:size(Clone,1)
for j = 1:size(Clone,2)
RP = (Max - Min)*rand() + Min;
Clone(i,j) = Clone(i,j)*(1 + RP);
end
end
Fit = [];
for i = 1:size(Clone, 1)
Fit = [Fit; fitness(Clone(i,:))];
end
sum_of_fitness = 0;
for i = 1:size(Clone ,1)
sum_of_fitness = sum_of_fitness + Fit(i);
end
Probability = [];
for i = 1:size(Clone ,1)
Probability = [Probability; (Fit(i)/sum_of_fitness)];
end
max_probability = max(Probability);
counter = zeros(size(Clone,1),1);
n_select = 1000;
index = -1;
for i=1:n_select
while(1)
index = ceil(size(Clone,1)*rand());
if (rand() < Probability(index))
break;
end
end
counter(index) = counter(index)+1;
end
par1 = -1;
par2 = -1;
first_max = 0;
second_max = 0;
for i=1:size(Clone,1)
if(first_max < counter(i))
second_max = first_max;
par2 = par1;
par1 = i;
first_max = counter(i);
elseif(second_max < counter(i))
second_max = counter(i);
par2 = i;
end
end
swap_probability = 0.5;
for i=1:D
if(swap_probability < rand())
swap_val = Clone(par1,i);
Clone(par1,i) = Clone(par2,i);
Clone(par2,i) = swap_val;
end
end
for i=1:size(Clone, 1)
Clone(i,1+ceil(rand()*D)) = low + rand()*(high-low);
end
Fit = [];
for i=1:size(Clone, 1)
Fit = [Fit; fitness(Clone(i,:))];
end
gsort(Fit);
bestcount = 2;
Fit_threshold = Fit(bestcount);
for i=1:size(Clone, 1)
if(fitness(Clone(i,:)) == Fit_threshold)
Ibest = Clone(i,:);
break;
end
end
for i=1:size(Clone, 1)
if(fitness(Clone(i,:)) >= Fit_threshold)
Clone(i, :) = Ibest;
end
end
H = Clone;
Iteration = Iteration-1;
end
//disp(Ibest);
disp(fitness(Ibest));
|
5aba32daa308da9f3e6ee798e13f8dc8d617fd29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH2/EX2.16.b/2_16_b.sce | a68ee8bad55d08ff0bd18f5c7374bea559dcb241 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_16_b.sce | clear; clc; close;
Vm = 20; //volts
Vdc = -0.318*(Vm-0.7); //volts
disp(Vdc,'Dc voltage for silicon diode :');
t = 0:0.1:4*%pi;
x = (20-0.7)*sin(t);
for i=1:length(t)
if(x(i)<=0)
y(i) = x(i);
else y(i)=0
end
end
plot(t,y);
xtitle('output for silicon diode','t','Vo');
|
63950ce534bf95a037ac32f7e2dcd3bd7e55583a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH6/EX6.10/EXAMPLE6_10.SCE | 8b2ad835d9714d8d611e75e5bcc488a8e3c4d4b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EXAMPLE6_10.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 6
//NOISE
clear all;
clc;
printf("EXAMPLE 6.10(PAGENO 305)");
//given
F_1 = 2//noise figure of first stage in dB
A_1 = 12//gain in first stage in dB
F_2 = 6//noise figure of second stage in dB
A_2 = 10//gain in first second in dB
//calculations
F_1ratio = exp((F_1/10)*log(10));//noise figure of first stage in ratio
F_2ratio = exp((F_2/10)*log(10));//noise figure of second stage in ratio
A_1ratio = exp((A_1/10)*log(10));//gain of first stage in ratio
A_2ratio = exp((A_2/10)*log(10));//gain of second stage in ratio
F = F_1ratio + ((F_2ratio - 1)/(A_1ratio));//Overall noise figure
F_dB = 10*log10(F);//Overall noise figure in dB
//results
printf("\n\nOverall noise figure = %.2f dB",F_dB );
|
6b22196a7b41139f9a1c17c29132758d59d4f8cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH4/EX4.9/Exa_4_9.sce | 4dd5beddbf61eac2f973b2b870c40c5ea518f67d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | Exa_4_9.sce | //inverse systems
z=%z;
H=(1+2*(z^(-1)))/(1+3*(z^(-1)));
//inverse of H is
H1=1/H
H=1+2*(z^(-1))+3*(z^(-2));
H1=1/H |
342aad21f140e7cd73ac177d6989a6954f008035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH7/EX7.10/Exa7_10.sce | 101e47f3ab7a6a9c55d79acefbc58e45821fab37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Exa7_10.sce | //Exa 7.10
clc;
clear;
close;
//given data :
ID_on=5;//in mA
VGS=6;//in Volt
VGS_on=8;//in Volt
VGST=4;//in Volt
K=ID_on/(VGS_on-VGST)^2;//in mA/V^2
ID=K*(VGS-VGST)^2;//in mA
disp(ID,"When VGS=6V the drain current in mA : "); |
7782bb1ad82dcaa8a5b226e0132ef8bd26d4cf84 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/showMatchedFeatures/showMatchedFeatures.sce | 3c97a336056ad778f9f9a19c4358712f98b59f42 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | showMatchedFeatures.sce | //**************************************************************************
//output-> shows the error on console
//-> means that output is correct and no modification needs to be done
//**************************************************************************
I1 = imread("left.jpg");
I2 = imread("right.jpg");
//I3 = showMatchedFeatures(I1,I2);
//-> output is correct
//I3 = showMatchedFeatures(I2,I); //I variable hasn't been defined
//output->Undefined variable: I
//I3 = showMatchedFeatures(I2);
//output->showMatchedFeatures: Wrong number of input argument(s): 2 expected.
//I3 = showMatchedFeatures(I2,3);
//output-> API Error:
// in getListItemAddress: Unable to get address of item #2 in argument #2
// in getListItemNumber: Invalid argument type, list expected
//I3 = showMatchedFeatures();
//output-> showMatchedFeatures: Wrong number of input argument(s): 2 expected.
|
4db5bb1b04e6c5e73cce25d6f9eabbb73bc327f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH8/EX8.10/Ch08Ex10.sce | 0b09b36774880ed488d591c87e785a7b4b24f6ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | Ch08Ex10.sce | // Scilab code Ex8.10 Page:250 (2006)
clc; clear;
a0 = 5.3; // Bohr radius, nm
rs_a0_ratio = 3.93; // Ratio of solid radius to the lattice parameter
chi_Pauli = 2.59/rs_a0_ratio; // Pauli's spin susceptibility, cgs units
printf("\nThe Pauli spin susceptibility for Na in terms of free electron gas parameter = %4.2f", chi_Pauli);
// Result
// The Pauli spin susceptibility for Na in terms of free electron gas parameter = 0.66
|
4ec283d360166901c43c536dace18e74610a5c23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH3/EX3.7/3_7.sce | c4bca907941f4daefd10fca61ead166dcb77039e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 788 | sce | 3_7.sce | // example:-3.7,page no.-101.
// NOTE:-this example is a method for calculating unknown load impedence of slotted line section.all data are given and preassumed.
// program to determine unknown load impedence.
clc
clear
exec("DEPENDENCIES/smith_chart_tao.sci")
Zl=0;Zo=50; // for short circuitting the load.
SWR=%inf;
// short circuit is removed and replace with unknown load.
SWR=1.5;lamda=0.04;
lmin=4.2-2.72;
tao=(1.5-1)/(1.5+1);
theta=(%pi+((4*%pi)/4)*1.48);
tao=abs(tao)*exp(%i*theta);
Zl=50*((1+tao)/(1-tao));
// result
disp(Zl,'load impedence = ')
smith_chart(tao)
// when analyse with the help of smith chart.see the angle from x=0 axis i.e Tao_real axis.if it is above this axis take angle anticlockwise and if it is below this axis.take angle clockwise from Tao_real axis below. |
4b979405774f03529573bcf2e04340ccc9b75be1 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2poly/rc2poly11.sce | d99cfc510f5db05e2703a3f28299c150f2d08c82 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | rc2poly11.sce | //check o/p when negative i/p vector is passed to the function as i/p
X = [-7 -6 -5 -8 -3 -6];
r=[1];
[a, efinal] = rc2poly(X,r);
disp(a)
disp(efinal)
//output
//1. 147. 4780. 21630. - 17375. - 777. - 6.
//
// 7.112D+08
|
cc05f7e5b971bb433ba2935c9554808823cf55d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH8/EX8.3/ex8_3.sce | 162a6dd9e7d2b416ad9ed1293c37baa405734a04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | ex8_3.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
b=3*6^3/12//in^4
d=b+3*6*6^2//in^4
b2=%pi*2^4/64//in^4
h=b2+%pi*1^2*6^2//in^4
//CALCULATIONS
P=d-h//in^4
//RESULTS
printf('the rectangular plate with circular hole=% f in^4',P)
|
1a03a1e5194ec7566a0eee23be1774dc1fff6b60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH4/EX4.7/Chapter4_Example7.sce | 5062ea32417ff4768d54560b25caa18cf6a67b95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Chapter4_Example7.sce | clc
clear
//Input data
N=5000//Number of lines drawn on the grating per m
w=(5890*10^-10)//Wavelength of the light used in m
//Calculations
n=(1/(w*N*100))//Order of spectrum
x=ceil(n)//Rounding off to next integer
//Output
printf('Since n < %i, it is not possible to observe the fourth or higher order of diffraction',x)
|
a80ebd9886bf5069f861f7e87bd0f459ea6280ca | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825.zip/Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825/CH21/EX21.6/Ex21_6.sce | e07f04e459bc0aefbec300e58f18f5559f08aed7 | [] | 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 | 328 | sce | Ex21_6.sce | errcatch(-1,"stop");mode(2);//Ex21_6 Pg-1070
C=0.01*10^(-6) //capacitance in farad
f0=2000 //frequency in Hz
Req=1.45/(f0*C) //equivalent resistance or R1+R2
disp(" Because a square wavw has duty cycle of 50% each resistor must be the same")
R1=Req/2
R2=R1
printf(" R1 = R2 = %.2f kohm",R2*1e-3)
exit();
|
7e7c9561f8087e57f29a53e619cdd61369f7f4a2 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/demos/Decision Tree_Demo1.sce | 0ced171a5c466266781f79aa5fd4d80d2ab446bf | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Decision Tree_Demo1.sce | // Demo for decision tree -- Scilab
getd('../macros')
// Data preparation
M = csvRead('Datasets/forestfires.csv')
x = M(:,[5,6,7,8,9]);
y = M(:, 13);
y(or(isnan(x),'c'),:) = []
x(or(isnan(x),'c'),:) = []
n = length(y(:, 1))
for i = 1:n
if(y(i)>0)
y(i) = 1
end
end
[questions,flag] = decisionTreeFit(x, y);
pred = decisionTreePredict(x, questions, flag);
disp(0.5*norm(pred' - y)) |
30eba311784ba99d85c3f88d073141dad2e410c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH18/EX18.4/Ex18_4.sce | 071742498128a480390ad846f2936d436eeb8269 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | Ex18_4.sce | //Example 18.4//
n=8;//numbers Ni2+/ unit cell
n1=2; //moment of Ni2+
m=n*n1
mprintf("m = %i ",m)
a=18.4;// measured value of nickel ferrite
e=((a-m)/a)*100
mprintf("\ne = %i percent",e)
|
c39d14d20227d9fad9aeeebea1c8dac815dc5cb7 | daa1d63c4b7b81f1999e789e00bd11cc24e3aec4 | /ga.sce | 8d5ebabcb3e0ba8c54bdff0315b438aca82c0f0a | [] | no_license | DenisMedeiros/GeneticAlgorithms | df84bd1a4a5598ff04731ac3819cd65742253571 | 7a3ff218bcfd128646d4ae260b67db0a0ceb05dd | refs/heads/master | 2020-03-18T10:15:16.211411 | 2018-06-16T18:44:11 | 2018-06-16T18:44:11 | 134,603,933 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,547 | sce | ga.sce | // Algoritmo Genético (configurado para maximização)
// Autor: Denis Ricardo da Silva Medeiros
clear;
// Parâmetros do AG
TAM_POP = 40;
NUM_GER = 30;
TAXA_CROSS = 0.8;
TAXA_MUT = 0.04;
L_MIN = -500;
L_MAX = 500;
QNT_BITS = 16;
ELITISMO = 0.02;
DIMENSOES = 2;
//rand('seed', 2330099)
//RESPOSTA = X perto de 440 e Y perto de -500.
// Função de avaliação.
function saida = fa(xn)
x = xn(1);
y = xn(2);
z=-x.*sin(sqrt(abs(x)))-y.*sin(sqrt(abs(y)));
x = x/250;
y = y/250;
r = 100*(y-x.^2).^2+(1-x).^2;
r1 = (y-x.^2).^2+(1-x).^2;
w = r .* z;
w2 = z - r1;
w6 = w + w2;
saida = -w6;
endfunction
// ################################################################# //
// Calcula o ganho normalizado.
GANHO_NORM = (L_MAX - L_MIN)/(2^QNT_BITS - 1);
// Cria a população inicial com strings.
pop_bin = [];
for d=1:DIMENSOES
pop_bin_t = [];
for i = 1:TAM_POP
pop_bin_t = [pop_bin_t; strcat(string(round(rand(1, QNT_BITS))))];
end
pop_bin = [pop_bin pop_bin_t];
end
pop_dec = bin2dec(pop_bin);
nova_pop_bin = pop_bin;
aptidao = zeros(TAM_POP, 1);
melhores = zeros(NUM_GER, 1);
media = zeros(NUM_GER, 1);
// Para o relatório
primeira = L_MIN + GANHO_NORM * pop_dec;;
intermediaria1 = primeira;
intermediaria2 = primeira;
ultima = primeira;
// Inicia o processamento das gerações.
for i = 1:NUM_GER
// Normaliza os indivíduos.
pop_norm = L_MIN + GANHO_NORM * pop_dec;
if i == 3 then
intermediaria1 = pop_norm;
elseif i == 10 then
intermediaria2 = pop_norm;
end
// Avalia os indivíduos.
for j=1:TAM_POP
aptidao(j) = fa(pop_norm(j,:));
end
// Garante que todas as aptidões sejam positivas.
aptidao = aptidao - min(aptidao);
aptidao = aptidao + 0.01*max(aptidao);
aptidao_acc = cumsum(aptidao);
// Armazena o melhor da geração atual.
[aptidao_ord, indices_ord] = gsort(aptidao);
melhores(i) = aptidao_ord(1);
medias(i) = mean(aptidao);
// Faz a seleção dos indivíduos através do método da roleta.
for j = 1:2:TAM_POP
// Faz o primeiro giro da roleta.
valor = aptidao_acc(TAM_POP) * rand(1);
for k1 = 1:TAM_POP
if valor < aptidao_acc(k1) then
break;
end
end
// Faz o segundo giro da roleta.
valor = aptidao_acc(TAM_POP) * rand(1);
for k2 = 1:TAM_POP
if valor < aptidao_acc(k2) then
break;
end
end
// //Faz a seleção por torneio, com 2 indivíduos.
// inds = 1 + floor(rand(2, 1)*TAM_POP);
// if aptidao(inds(1)) > aptidao(inds(2)) then
// k1 = inds(1);
// else
// k1 = inds(2);
// end
//
// inds = 1 + floor(rand(2, 1)*TAM_POP);
// if aptidao(inds(1)) > aptidao(inds(2)) then
// k2 = inds(1);
// else
// k2 = inds(2);
// end
// Realiza o cruzamento dos dois indivíduos selecionados
// com base na taxa de cruzamento.
filho1 = pop_bin(1, :);
filho2 = pop_bin(1, :);
for d=1:DIMENSOES
// Testa se passa da taxa de cruzamento.
if rand(1) < TAXA_CROSS then
// Define o ponto de corte.
pos = 1 + floor((QNT_BITS-1)*rand(1));
// Faz o cruzamento (quebra as strings e depois as une).
partes1 = strsplit(pop_bin(k1, d), pos);
partes2 = strsplit(pop_bin(k2, d), pos);
filho1(1, d) = strcat([partes1(1), partes2(2)]);
filho2(1, d) = strcat([partes2(1), partes1(2)]);
else
// Se não passou na taxa de cruzamento, passa os indivíduos
// diretamente para a próxima população.
filho1(1, d) = pop_bin(k1, d);
filho2(1, d) = pop_bin(k2, d);
end
end
// Adiciona os novos filhos na nova população.
nova_pop_bin(j,:) = filho1;
nova_pop_bin(j+1,:) = filho2;
end
// Operação de mutação.
for j=1:TAM_POP
for d=1:DIMENSOES
if rand(1) < TAXA_MUT then
// Encontra o bit a ser mutado.
pos = 1 + floor(QNT_BITS*rand(1));
// Verifica se este bit é 1 ou 0 para alterar seu valor.
bit = part(nova_pop_bin(j,d), pos);
if bit == '1' then
nova_pop_bin(j, d) = strcat([part(nova_pop_bin(j, d), 1:pos-1), '0', part(nova_pop_bin(j, d), pos+1:QNT_BITS)])
else
nova_pop_bin(j, d) = strcat([part(nova_pop_bin(j, d), 1:pos-1), '1', part(nova_pop_bin(j, d), pos+1:QNT_BITS)])
end
end
end
end
// Aplica o elitismo.
inds_elite = round(ELITISMO*TAM_POP);
nova_pop_bin(1:inds_elite) = pop_bin(indices_ord(1:inds_elite));
// Substitui a população antiga.
pop_bin = nova_pop_bin
// Gera a população de decimais.
pop_dec = bin2dec(pop_bin)
end
// Obtém o melhor indivíduo.
pop_norm = L_MIN + GANHO_NORM * pop_dec;
ultima = pop_norm;
for j=1:TAM_POP
aptidao(j) = fa(pop_norm(j,:));
end
[_, indice] = max(aptidao);
resposta = pop_norm(indice, :);
//disp(pop_norm);
disp(['Resposta: ', string(resposta)]);
//erros = abs(fa(melhores_norm) - RESULTADO);
// Gráfico das aptidões.
function _ = plotar_aptidoes()
clf();
plot([1:NUM_GER]', melhores, '*-');
plot([1:NUM_GER]', medias, 'go-');
legend(['Melhor aptidão'; 'Média das aptidoẽs']);
xlabel("Gerações");
ylabel("Aptidão");
title("Convergência da resposta");
//grafico = gca() ;
//grafico.box="on";
//grafico.data_bounds=[0, X_MIN; NUM_GER, X_MAX]; //define the bounds
endfunction
// Gráficos das populações.
function _ = plotar_populacoes()
scf();
plot(primeira(:,1), primeira(:,2), 'ob');
legend(['Indivíduos']);
xlabel("X");
ylabel("Y");
title("População inicial");
grafico = gca() ;
grafico.box = "on";
grafico.data_bounds=[-500, -500; 500, 500];
scf();
plot(intermediaria1(:,1), intermediaria1(:,2), 'or');
legend(['Indivíduos']);
xlabel("X");
ylabel("Y");
title("População intermediária (após 3 gerações)");
grafico = gca() ;
grafico.box = "on";
grafico.data_bounds=[-500, -500; 500, 500];
scf();
plot(intermediaria2(:,1), intermediaria2(:,2), 'om');
legend(['Indivíduos']);
xlabel("X");
ylabel("Y");
title("População intermediária (após 10 gerações)");
grafico = gca() ;
grafico.box = "on";
grafico.data_bounds=[-500, -500; 500, 500];
scf();
plot(ultima(:,1), ultima(:,2), 'og');
legend(['Indivíduos']);
xlabel("X");
ylabel("Y");
title("População final");
grafico = gca() ;
grafico.box = "on";
grafico.data_bounds=[-500, -500; 500, 500];
endfunction
// Gráfico da função de avaliação.
function plotar_fa()
[x, y] = meshgrid(-500:5:500,-500:5:500);
z = -x.*sin(sqrt(abs(x)))-y.*sin(sqrt(abs(y)));
x = x/250;
y = y/250;
// r: Rosenbrock's function
r = 100*(y-x.^2).^2+(1-x).^2;
r1 = (y-x.^2).^2+(1-x).^2;
w = r .* z;
w2 = z - r1;
w6 = w + w2;
x = x * 250;
y = y * 250;
surf(x, y, w6);
endfunction
|
5bf48c1e01af871458a3e46c5b462259c4d8d740 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH14/EX14.2/P2_Derivation_of_torque_uniform_wear.sce | 2d6ecd036d845d02e8cc8159f89e98a5108e9704 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,230 | sce | P2_Derivation_of_torque_uniform_wear.sce | clc
//Example 14.2
//Derivation of torque capacity for one pair of surfaces subjected to uniform wear
//------------------------------------------------------------------------------
//This example is derivation based, hence the code will comprise only of statements printed to text file
//Printing result file to .txt
res2=mopen(TMPDIR+'2_derivation_of_torque_uniform_wear.txt','wt')
mfprintf(res2,"When a clutch is new, the pressure may be rather uniform.\nIf the surfaces are relatively rigid, the outer portion, where velocity is high,\nwill wear more than inner portion.\n")
mfprintf(res2,"After the initial wearing-in,it is reasonable to assume that the curve of the profile will maintain its shape;\nor, the wear thereafter may be considered to be uniform.\n")
mfprintf(res2,"Uniform wear can be expressed in a different way by saying that\nat any time interval, the work done per unit area is constant:\n")
mfprintf(res2,"[(frictional force)*(velocity)]/area = \n\t[(f*p*2*pi*r dr)*(rw)]/(2*pi*r dr) = constant C\n")
mfprintf(res2,"or\n\tp=C''/f*r*w\t Since f and w are constant,")
mfprintf(res2,"\n\tp=C/r, where C is constant.\n")
mfprintf(res2,"An alternate method of showing that pressure varies inversely as the radius is\nto consider that wear (delta) is proportional to pressure p and velocity V.\n")
mfprintf(res2,"Thus \n\t(delta)=K*p*V=K*p*(r*w),\nor\n\tp=C/r\t\tsince (delta) and K are constants and w is fixed for a given clutch.\n")
mfprintf(res2,"The differential frictional torque=dT= r(f*p(2*pi*r dR));\n\n")
mfprintf(res2,"Intergrating with respect to r over r=Ri to r=Ro,\nwe get the total torque as\n")
mfprintf(res2,"\t\tT=2*pi*f*C[((Ro^2)-(Ri^2))/2]\n\n")
mfprintf(res2,"To find C, we can integrate p(2*pi*r dr) with respect to r over r=Ri to r=Ro\n")
mfprintf(res2,"We get\n\t\tC=F/(2*pi*(Ro-Ri))\n\n")
mfprintf(res2,"Substituting this value of C into T\n")
mfprintf(res2,"We obtain\n\n")
mfprintf(res2,"\t\tT=F*f*[(1/2)*(Ro+Ri)] = F*f*Rf")
mclose(res2)
editor(TMPDIR+'2_derivation_of_torque_uniform_wear.txt')
//------------------------------------------------------------------------------
//-------------------------------End of program--------------------------------- |
60402374e72b7102c046e5e994e74505004dc32f | d5bd4b5a4760efd0a3d16d7c39c7b495c5874d28 | /AnalogDigtitalCommunication/uniformpcm.sci | 8bf993a10e4d6fce4f73c49a71f7eeefec2d712c | [] | no_license | APU-PhasedArrayBeamForming/Array-Based-Beam-Forming | 27a61bc3cf93e544364121e508dc4d140b7e0cb1 | 4cde46b7aa3f4e995297ac72fc5038fa0cdf083d | refs/heads/master | 2021-01-25T08:01:17.468481 | 2017-06-15T18:47:40 | 2017-06-15T18:47:40 | 93,699,808 | 1 | 1 | null | 2017-06-15T18:47:40 | 2017-06-08T02:36:01 | Scilab | UTF-8 | Scilab | false | false | 480 | sci | uniformpcm.sci | function [SQNR,xq,en_code] = uniform_pcm(x,L)
//x = input sequence
//L = number of qunatization levels
xmax = max(abs(x));
xq = x/xmax;
en_code = xq;
d = 2/L;
q = d*[0:L-1];
q = q-((L-1)/2)*d;
for i = 1:L
xq(find(((q(i)-d/2)<= xq)&(xq<=(q(i)+d/2))))=...
q(i).*ones(1,length(find(((q(i)-d/2)<=xq)&(xq<=(q(i)+d/2)))));
en_code(find(xq == q(i)))= (i-1).*ones(1,length(find(xq == q(i))));
end
xq = xq*xmax;
SQNR = 20*log10(norm(x)/norm(x-xq));
endfunction
|
2e136f6473d71bc6fad9f0eab8e6677452ccdadd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH21/EX21.3/21_3.sce | 20bf478e0d75d09849ad602e05050b400c72d9b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 741 | sce | 21_3.sce | //Example 21.3
//Trapezoidal Rule and Simpsons Rule in Parallel Computing
//Page no. 726
clc;close;clear;
n=8;a=0;b=8;
h=(b-a)/n
deff('y=f(x)','y=1/(1+x)')
for i=0:8
x(i+1)=i;
y(i+1)=f(x(i+1))
end
printf('xi\t ')
for i=1:9
printf('%i\t ',x(i))
end
printf('\n yi\t')
for i=1:9
printf('1/%i\t',i)
end
//trapezoidal rule
S=0;
for i=1:9
if(i==1 | i==9)
S=S+y(i)
else
S=S+2*y(i)
end
end
S=S*h/2
printf('\n\nTrapezoidal Rule Sum = %g',S)
//Simpsons 1/3rd Rule
S=0;
for i=1:9
if(i==1 | i==9)
S=S+y(i)
elseif(((i)/2)-fix((i)/2)==0)
S=S+4*y(i)
else
S=S+2*y(i)
end
end
S=S*h/3
printf('\n\nSimpsons 1/3rd Rule Sum = %g',S) |
b0de13966b57a59e1662a498df75e28b586bbf33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH10/EX10.33/10_33.sce | c7472491118fb46dfc463ff8bf52c37bd59f5e70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | 10_33.sce | //Example 10_33
//Find the inverse Z-transform
clc;
clear;
z=poly(0,'z');
x=ldiv((z+1),(z-1/3),4);
disp(x,'x[n]=');
|
2ffc1715f864bae482716cae9a0b40d15df44cb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH9/EX9.9/Ex9_9.sce | 37c9f8bdb84275aabaf21048a38701790a15836f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,032 | sce | Ex9_9.sce | // Example 9_9
clc;funcprot(0);
// Given data
gamma=0.500;// The specific heat ratio for air
T_in=70.0;// °F
p_in_psig=[0.000,20.00,40.00,60.00,80.00,100.00,120.00,140.00];// psig
p_in=[14.7,34.7,54.7,74.7,94.7,114.7,134.7,154.7];// psia
T_hot=[70.0,119.0,141.0,150.0,156.0,161.0,164.0,166.0];// °F
T_cold=[70.0,19.5,-3.00,-14.0,-22.0,-29.0,-34.0,-39.0];// °F
T_r=[1.000,1.209,1.315,1.368,1.406,1.441,1.465,1.487];// Note:T_r=(T_hot+460)/(T_cold+460)
p_e=14.7;// The exit pressure in psia
R=0.0685;// Btu/(lbm.R)
c_p=0.240;// Btu/(lbm.R)
// Calculation
Sdot_pbymdot_3_1=((c_p*log(((T_r(1)^gamma)/(1+(gamma*(T_r(1)-1))))))+(R*log(p_in(1)/p_e)));// Btu/(lbm.R)
Sdot_pbymdot_3_2=((c_p*log(((T_r(2)^gamma)/(1+(gamma*(T_r(2)-1))))))+(R*log(p_in(2)/p_e)));// Btu/(lbm.R)
Sdot_pbymdot_3_3=((c_p*log(((T_r(3)^gamma)/(1+(gamma*(T_r(3)-1))))))+(R*log(p_in(3)/p_e)));// Btu/(lbm.R)
Sdot_pbymdot_3_4=((c_p*log(((T_r(4)^gamma)/(1+(gamma*(T_r(4)-1))))))+(R*log(p_in(4)/p_e)));// Btu/(lbm.R)
Sdot_pbymdot_3_5=((c_p*log(((T_r(5)^gamma)/(1+(gamma*(T_r(5)-1))))))+(R*log(p_in(5)/p_e)));// Btu/(lbm.R)
Sdot_pbymdot_3_6=((c_p*log(((T_r(6)^gamma)/(1+(gamma*(T_r(6)-1))))))+(R*log(p_in(6)/p_e)));// Btu/(lbm.R)
Sdot_pbymdot_3_7=((c_p*log(((T_r(7)^gamma)/(1+(gamma*(T_r(7)-1))))))+(R*log(p_in(7)/p_e)));// Btu/(lbm.R)
Sdot_pbymdot_3_8=((c_p*log(((T_r(8)^gamma)/(1+(gamma*(T_r(8)-1))))))+(R*log(p_in(8)/p_e)));// Btu/(lbm.R)
Sdot_pbymdot_3=[Sdot_pbymdot_3_1,Sdot_pbymdot_3_2,Sdot_pbymdot_3_3,Sdot_pbymdot_3_4,Sdot_pbymdot_3_5,Sdot_pbymdot_3_6,Sdot_pbymdot_3_7,Sdot_pbymdot_3_8];// Btu/(lbm.R)
plot(p_in_psig,Sdot_pbymdot_3);
xlabel('Inlet pressure(psig)');
ylabel('Sdot_p/mdot_3(Btu/lbm.R)');
xtitle('Sdot_p/mdot_3 vs. inlet pressure for a vortex tube');
disp('Remaining Results for Example 9.9');
disp('The entropy production rate per unit mass flow rate for each pressure shown');
disp('Inlet pressure psig');
disp(p_in_psig);
disp('T_1/T_2');
disp(T_r);
disp('Sdot_P/mdot_3 Btu/(lbm⋅R)');
disp(Sdot_pbymdot_3);
|
6502f0d958cb3511843a15138b0d42f395cb366c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH8/EX8.13/Ex8_13.sce | 6102a1c126739bf64814455bbf88c0c0419c5ed7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Ex8_13.sce | clc();
clear;
//Given :
RBE = 0.7 ; //RBE factor for cobalt 60 gamma rays
dose = 1000 ; // dose in rad
e = RBE*dose; // equivalent dose in rem
printf("Equivalent dose is %d rem",e);
|
f79c71791f454169cc14c6761c842b584414b661 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/E04.prev.tst | 0340935082c87b26de7d8a31face4229216ab11b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12 | tst | E04.prev.tst | EEC run k=4
|
915dcd1f192b47b4d4373c2a8d8a7f67fc9661ec | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.14_5.tst | 7568dc684f2e9dba028b722547c9bc7f7fd81751 | [] | 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 | 40,896 | tst | bow.14_5.tst | 14 8:0.16666666666666666 12:0.14285714285714285 19:0.02631578947368421 21:0.2 61:0.25 78:1.0 93:0.07692307692307693 134:0.25 137:1.0 198:1.0 236:0.1111111111111111 529:0.5 1803:1.0 3290:1.0 3365:0.5 3432:1.0 3518:1.0 3694:1.0 3899:1.0 4248:1.0 5559:1.0
14 7:1.0 8:0.16666666666666666 12:0.42857142857142855 19:0.05263157894736842 21:0.2 24:0.25 38:1.0 48:3.0 58:0.2 61:0.25 62:0.25 80:1.0 116:0.058823529411764705 134:0.5 182:0.5 198:1.0 249:1.0 255:1.0 269:1.0 281:1.0 367:1.0 483:1.0 543:1.0 657:1.0 667:1.0 682:1.0 790:1.0 1168:1.0 1357:1.0 1790:1.0 2340:2.0 3285:2.0 3327:1.0 3518:1.0 3548:1.0 3594:1.0 3966:1.0 4330:1.0 4353:1.0 4754:1.0 4818:1.0 5031:1.0 5050:1.0 5063:1.0 5743:1.0
14 7:1.0 15:0.16666666666666666 17:0.043478260869565216 19:0.02631578947368421 20:0.25 21:0.2 38:1.0 43:0.3333333333333333 46:1.0 55:0.125 78:1.0 100:0.038461538461538464 112:1.0 129:0.5 137:3.0 154:0.1111111111111111 212:0.3333333333333333 236:0.2222222222222222 240:1.0 241:0.5 310:1.0 488:1.0 550:0.5 703:1.0 740:0.3333333333333333 746:1.0 1001:1.0 1198:0.3333333333333333 1372:1.0 1824:1.0 1837:1.0 3285:1.0 3290:3.0 3294:0.14285714285714285 3299:1.0 3462:1.0 3635:0.3333333333333333 3801:1.0 3826:1.0 4161:1.0 4409:1.0 4560:0.3333333333333333 4698:1.0
14 6:0.2 12:0.14285714285714285 17:0.043478260869565216 19:0.02631578947368421 26:0.022222222222222223 43:0.3333333333333333 64:0.25 68:0.5 73:0.08333333333333333 97:0.5 129:0.5 176:1.0 255:1.0 292:0.5 311:1.0 429:0.5 550:0.5 958:1.0 1146:1.0 3285:2.0 3325:1.0 4330:1.0 4395:1.0 4409:1.0
14 7:1.0 8:0.16666666666666666 12:0.14285714285714285 19:0.05263157894736842 51:1.0 55:0.125 64:0.125 73:0.08333333333333333 121:0.025 134:1.0 201:0.5 231:1.0 236:0.1111111111111111 383:1.0 669:1.0 814:1.0 2394:1.0 3285:1.0 3307:0.030303030303030304 3312:0.2 3365:0.5 3413:1.0 4076:1.0
14 8:0.16666666666666666 12:0.2857142857142857 17:0.043478260869565216 20:0.25 21:0.8 26:0.022222222222222223 46:0.5 48:1.0 58:0.2 61:0.25 64:0.125 73:0.08333333333333333 100:0.038461538461538464 134:0.75 137:1.0 198:1.0 201:0.5 236:0.2222222222222222 249:1.0 279:0.5 310:1.0 387:1.0 388:1.0 502:1.0 534:0.5 580:1.0 740:0.3333333333333333 859:0.5 876:1.0 1372:1.0 1591:1.0 1625:1.0 2161:1.0 3117:1.0 3285:1.0 3290:1.0 3294:0.2857142857142857 3339:1.0 3365:0.5 3595:1.0 3763:1.0 4168:1.0 4578:1.0 4818:1.0 4875:1.0 5263:1.0 5503:1.0
14 7:1.0 12:0.2857142857142857 19:0.05263157894736842 20:0.25 21:0.8 26:0.044444444444444446 38:2.0 48:1.0 58:0.2 64:0.125 73:0.16666666666666666 80:1.0 98:0.16666666666666666 100:0.038461538461538464 121:0.05 134:0.75 137:1.0 154:0.1111111111111111 231:1.0 236:0.1111111111111111 280:0.5 310:1.0 385:1.0 429:0.5 502:1.0 736:1.0 1372:1.0 1494:1.0 1935:1.0 1985:1.0 2340:1.0 3285:1.0 3290:1.0 3298:1.0 3480:1.0 3507:1.0 4254:1.0 4446:0.25 4629:1.0 4963:1.0 5050:1.0 5450:1.0 5495:1.0 5623:1.0 5744:1.0
14 8:0.16666666666666666 17:0.13043478260869565 20:0.25 21:0.2 24:0.25 38:1.0 42:0.5 48:1.0 62:0.25 98:0.16666666666666666 134:0.5 137:1.0 279:0.5 310:1.0 354:1.0 387:1.0 406:1.0 929:1.0 1092:1.0 1237:0.5 1588:1.0 1637:1.0 1967:1.0 3285:1.0 3301:1.0 3339:1.0 3365:0.5 3487:1.0 3549:1.0 3680:1.0 4278:1.0 5263:1.0
14 7:1.0 8:0.16666666666666666 12:0.14285714285714285 17:0.043478260869565216 19:0.02631578947368421 38:1.0 43:0.3333333333333333 51:1.0 67:0.3333333333333333 80:1.0 137:2.0 236:0.2222222222222222 240:1.0 679:0.5 814:1.0 859:0.5 1113:1.0 1269:0.14285714285714285 1931:1.0 3290:1.0 3307:0.030303030303030304 3312:0.2 3413:1.0 3928:1.0 4354:1.0 4472:1.0 4801:1.0 4818:1.0
14 8:0.16666666666666666 9:0.14285714285714285 17:0.043478260869565216 19:0.05263157894736842 20:0.25 21:0.4 24:0.25 58:0.2 118:0.16666666666666666 218:1.0 279:1.0 292:0.25 406:1.0 446:0.5 499:0.5 506:1.0 688:1.0 1149:1.0 1975:1.0 2177:1.0 3285:1.0 3299:1.0 3301:1.0 3302:1.0 3365:0.5 3366:1.0 3371:1.0 3376:1.0 3379:1.0 3487:1.0 3540:1.0 4713:1.0 5510:1.0
14 8:0.16666666666666666 12:0.2857142857142857 19:0.02631578947368421 20:0.25 38:1.0 51:1.0 64:0.125 73:0.08333333333333333 121:0.025 137:2.0 154:0.1111111111111111 182:0.5 236:0.3333333333333333 386:1.0 387:1.0 429:1.0 476:1.0 814:1.0 1113:1.0 1985:1.0 3250:1.0 3285:1.0 3290:1.0 3307:0.030303030303030304 3339:1.0 3413:1.0 3735:0.14285714285714285 4446:0.25 4472:1.0 5718:1.0
14 12:0.2857142857142857 17:0.043478260869565216 19:0.05263157894736842 20:0.25 21:0.2 38:2.0 43:0.3333333333333333 54:0.5 55:0.125 64:0.125 68:0.5 98:0.16666666666666666 116:0.058823529411764705 121:0.025 126:0.5 134:0.25 137:2.0 181:1.0 188:1.0 197:1.0 198:1.0 240:1.0 281:1.0 298:0.14285714285714285 429:0.5 506:1.0 859:0.5 1064:1.0 1183:0.5 1251:1.0 1269:0.14285714285714285 1539:1.0 1600:1.0 1975:1.0 2927:1.0 3285:1.0 3294:0.14285714285714285 3300:1.0 3365:0.5 3388:1.0 3518:1.0 3640:1.0 3895:1.0 4268:1.0 4592:1.0 4714:1.0 4726:1.0 4818:1.0
14 8:0.16666666666666666 12:0.14285714285714285 17:0.08695652173913043 19:0.02631578947368421 20:0.25 24:0.25 38:2.0 43:0.6666666666666666 48:1.0 51:1.0 55:0.125 61:0.25 73:0.08333333333333333 134:1.0 137:2.0 215:0.3333333333333333 236:0.1111111111111111 240:1.0 244:1.0 310:1.0 647:1.0 679:0.5 781:0.5 814:1.0 859:0.5 1198:0.16666666666666666 1372:1.0 1803:1.0 1985:1.0 3285:1.0 3290:2.0 3307:0.030303030303030304 3318:2.0 3358:1.0 3367:0.2 3413:1.0 3506:1.0 4409:1.0 4692:1.0
14 12:0.14285714285714285 17:0.08695652173913043 20:0.75 38:1.0 48:1.0 62:0.25 100:0.038461538461538464 116:0.058823529411764705 137:1.0 188:1.0 197:1.0 236:0.3333333333333333 240:1.0 248:0.5 281:1.0 292:0.25 366:1.0 379:1.0 397:1.0 548:1.0 550:0.5 621:0.5 822:1.0 999:1.0 1183:0.5 1198:0.16666666666666666 1237:0.5 1372:1.0 1551:1.0 1985:1.0 1992:1.0 2250:0.5 2340:1.0 2347:1.0 2535:1.0 2734:1.0 3157:1.0 3285:1.0 3290:1.0 3300:1.0 3318:1.0 3518:2.0 3653:1.0 4119:1.0 4235:1.0 4473:1.0 4658:1.0 5067:1.0 5088:1.0 5214:1.0 5222:1.0 5458:1.0
14 8:0.16666666666666666 20:0.25 55:0.125 64:0.125 73:0.08333333333333333 80:1.0 101:0.2 129:0.5 134:0.5 154:0.1111111111111111 181:1.0 198:1.0 236:0.1111111111111111 292:0.25 354:1.0 366:1.0 367:1.0 550:0.5 878:1.0 1237:0.5 2580:1.0 3285:1.0 3290:1.0 3875:1.0 3876:1.0 3878:1.0 3969:1.0 5450:2.0 5508:1.0 5743:1.0
14 9:0.14285714285714285 12:0.5714285714285714 19:0.05263157894736842 48:1.0 55:0.125 61:0.25 64:0.25 100:0.038461538461538464 101:0.2 129:0.5 134:0.25 137:3.0 154:0.1111111111111111 197:1.0 236:0.1111111111111111 483:1.0 529:0.5 537:2.0 859:1.0 958:1.0 1168:1.0 1269:0.14285714285714285 1415:1.0 1427:1.0 2118:0.3333333333333333 3290:2.0 3294:0.14285714285714285 3297:0.25 3300:1.0 3743:1.0 4091:0.2 4170:1.0 4450:1.0 4713:1.0 5131:1.0 5453:1.0
14 12:0.8571428571428571 17:0.043478260869565216 19:0.05263157894736842 20:0.5 24:0.25 41:1.0 48:2.0 55:0.125 57:1.0 62:0.25 64:0.25 78:1.0 133:0.5 134:1.0 137:3.0 154:0.3333333333333333 165:0.5 182:0.5 188:1.0 212:0.3333333333333333 219:1.0 231:1.0 236:0.1111111111111111 244:1.0 285:1.0 397:1.0 483:1.0 548:1.0 621:0.5 694:1.0 913:1.0 1198:0.16666666666666666 1227:1.0 1235:1.0 1415:1.0 1588:1.0 1824:2.0 1992:1.0 2624:1.0 3039:1.0 3284:1.0 3290:2.0 3294:0.14285714285714285 3297:0.25 3584:1.0 3680:1.0 3743:1.0 3827:1.0 3871:1.0 4335:1.0 5015:1.0 5023:1.0 5559:1.0
14 6:0.4 7:1.0 12:0.14285714285714285 17:0.08695652173913043 19:0.02631578947368421 20:0.25 24:0.25 38:1.0 45:0.3333333333333333 48:1.0 55:0.125 64:0.5 134:0.25 137:3.0 154:0.1111111111111111 188:1.0 197:1.0 202:0.25 210:1.0 298:0.2857142857142857 311:1.0 387:1.0 397:1.0 429:0.5 537:1.0 859:0.5 1198:0.16666666666666666 1237:0.5 1250:1.0 1352:1.0 1415:1.0 1637:1.0 1803:1.0 2313:1.0 3262:1.0 3285:1.0 3290:1.0 3329:1.0 3518:1.0 3548:1.0 3555:1.0 3557:1.0 3893:1.0 3969:1.0 3994:1.0 4118:1.0 4818:1.0 5023:1.0 5450:1.0 5633:1.0
14 7:1.0 8:0.16666666666666666 12:0.5714285714285714 20:0.5 24:0.75 25:1.0 38:1.0 57:1.0 61:0.25 64:0.25 73:0.08333333333333333 134:0.5 137:2.0 154:0.1111111111111111 198:1.0 236:0.1111111111111111 279:0.5 387:1.0 389:1.0 397:1.0 529:0.5 537:1.0 619:1.0 648:1.0 1030:0.5 1637:1.0 1790:1.0 1803:1.0 2340:1.0 2441:1.0 3290:1.0 3309:1.0 3542:1.0 4104:0.5 4373:1.0 4409:1.0 4677:1.0
14 17:0.043478260869565216 19:0.05263157894736842 20:0.5 21:0.2 38:1.0 43:0.3333333333333333 48:1.0 55:0.25 64:0.125 68:0.5 93:0.07692307692307693 118:0.16666666666666666 134:0.25 141:0.25 197:1.0 236:0.1111111111111111 281:1.0 298:0.14285714285714285 311:2.0 387:1.0 397:1.0 506:1.0 548:1.0 621:0.5 727:1.0 859:0.5 1113:1.0 1269:0.14285714285714285 1975:1.0 2238:0.25 3294:0.14285714285714285 3365:0.5 3366:1.0 3376:1.0 3379:1.0 4646:2.0 4713:1.0 5051:1.0
14 8:0.16666666666666666 19:0.02631578947368421 38:1.0 51:1.0 55:0.125 64:0.125 137:2.0 181:1.0 197:1.0 236:0.1111111111111111 397:2.0 401:1.0 431:1.0 550:0.5 580:1.0 814:1.0 934:1.0 1030:0.5 1198:0.16666666666666666 1269:0.14285714285714285 1294:1.0 1414:0.125 3290:1.0 3307:0.030303030303030304 3331:1.0 3413:1.0 3443:1.0 3541:1.0 3763:1.0 3893:1.0 4373:1.0 5015:1.0
14 7:2.0 12:0.2857142857142857 17:0.17391304347826086 19:0.02631578947368421 20:0.5 48:1.0 62:0.25 64:0.125 73:0.08333333333333333 88:1.0 98:0.3333333333333333 116:0.058823529411764705 121:0.025 122:1.0 134:0.5 147:1.0 185:1.0 204:1.0 236:0.3333333333333333 354:1.0 387:1.0 483:1.0 558:1.0 708:1.0 809:1.0 824:1.0 859:0.5 999:1.0 1007:1.0 2029:1.0 2489:2.0 2657:1.0 3231:1.0 3290:1.0 3294:0.2857142857142857 3376:1.0 3508:1.0 3767:1.0 3843:1.0 4355:1.0 4356:1.0 4629:1.0 4954:1.0 4972:1.0 5188:1.0 5254:1.0 5658:1.0
14 7:1.0 12:0.14285714285714285 17:0.08695652173913043 19:0.02631578947368421 21:0.8 26:0.044444444444444446 43:0.6666666666666666 54:1.0 64:0.25 73:0.16666666666666666 94:1.0 98:0.16666666666666666 100:0.038461538461538464 121:0.05 134:0.25 137:1.0 154:0.1111111111111111 236:0.2222222222222222 292:0.25 366:1.0 446:0.5 1001:1.0 1269:0.14285714285714285 1637:1.0 1829:1.0 2327:1.0 3285:1.0 3290:4.0 3294:0.14285714285714285 3300:1.0 3677:1.0 3878:1.0 3879:1.0 4254:1.0 4261:1.0 5338:1.0 5744:1.0
14 12:0.5714285714285714 19:0.02631578947368421 20:0.25 21:0.2 38:1.0 46:0.5 55:0.25 58:0.2 62:0.25 73:0.08333333333333333 100:0.038461538461538464 121:0.025 137:2.0 236:0.3333333333333333 293:0.5 387:1.0 428:1.0 484:0.5 488:1.0 534:0.5 580:1.0 669:1.0 1001:1.0 1239:1.0 1494:1.0 1824:1.0 1829:1.0 2734:1.0 3290:2.0 3294:0.14285714285714285 3312:0.2 3318:1.0 3635:0.3333333333333333 3813:1.0 4235:1.0 4437:1.0 4560:0.3333333333333333 5037:1.0 5162:1.0 5660:1.0 5710:1.0
14 8:0.16666666666666666 12:0.2857142857142857 17:0.08695652173913043 20:0.25 21:0.2 43:0.3333333333333333 51:1.0 100:0.038461538461538464 121:0.025 134:0.25 137:1.0 183:1.0 236:0.2222222222222222 397:1.0 529:0.5 548:1.0 814:1.0 859:0.5 999:1.0 1269:0.14285714285714285 1668:1.0 1793:1.0 1824:1.0 1967:1.0 3290:2.0 3297:0.25 3307:0.030303030303030304 3318:1.0 3339:1.0 3365:0.5 3413:1.0 3495:1.0 3953:1.0 4629:1.0 5443:1.0 5650:1.0 5661:1.0
14 12:0.2857142857142857 15:0.3333333333333333 17:0.13043478260869565 19:0.02631578947368421 20:1.75 46:0.5 100:0.07692307692307693 134:0.75 137:2.0 154:0.1111111111111111 181:1.0 198:1.0 231:1.0 236:0.1111111111111111 281:1.0 289:0.16666666666666666 359:1.0 360:1.0 366:1.0 387:2.0 534:0.5 537:1.0 548:1.0 664:0.25 762:1.0 859:0.5 970:1.0 1001:2.0 1052:1.0 1066:1.0 1338:1.0 1507:1.0 1517:1.0 1606:1.0 1803:1.0 1926:1.0 2029:0.5 2492:1.0 2553:1.0 2730:1.0 3290:3.0 3294:0.14285714285714285 3327:1.0 3402:1.0 3450:1.0 3451:1.0 3497:1.0 3498:1.0 3508:1.0 3542:1.0 3594:1.0 3595:1.0 3928:1.0 3973:1.0 3982:1.0 3990:1.0 4049:1.0 4244:1.0 4294:1.0 4409:1.0
14 7:2.0 8:0.5 12:0.42857142857142855 17:0.043478260869565216 19:0.02631578947368421 20:0.25 21:0.2 38:1.0 48:1.0 55:0.25 61:0.25 64:0.125 78:1.0 93:0.15384615384615385 134:0.25 137:2.0 154:0.1111111111111111 216:1.0 236:0.1111111111111111 281:1.0 446:0.5 534:1.0 581:1.0 827:0.2 936:0.5 1237:1.0 1269:0.14285714285714285 1421:1.0 1637:1.0 2102:1.0 3028:1.0 3290:1.0 3294:0.14285714285714285 3324:1.0 3325:1.0 3364:1.0 3498:1.0 3548:1.0 4746:0.5 4866:1.0 5005:1.0 5051:1.0
14 8:0.3333333333333333 12:0.2857142857142857 19:0.02631578947368421 20:0.5 38:1.0 45:0.3333333333333333 55:0.125 62:0.25 121:0.025 134:0.75 137:2.0 236:0.1111111111111111 264:0.3333333333333333 281:1.0 621:0.5 727:1.0 859:0.5 1070:1.0 1087:1.0 1168:1.0 1232:1.0 1372:1.0 1536:1.0 2165:1.0 2238:0.25 3172:1.0 3290:1.0 3294:0.2857142857142857 3297:0.25 3300:2.0 3309:1.0 3319:1.0 3389:1.0 4650:1.0 4818:1.0
14 8:0.3333333333333333 19:0.05263157894736842 20:0.25 51:1.0 64:0.125 73:0.08333333333333333 105:1.0 121:0.025 129:0.5 134:0.5 154:0.1111111111111111 197:1.0 279:0.5 281:1.0 310:1.0 387:1.0 429:0.5 814:1.0 999:1.0 1064:1.0 1065:0.5 1372:1.0 1629:0.2 1803:1.0 3290:1.0 3300:1.0 3307:0.030303030303030304 3383:1.0 3413:1.0 3487:1.0 3982:1.0 3990:1.0 4295:1.0
14 19:0.02631578947368421 21:0.2 24:0.25 38:1.0 64:0.25 126:0.5 129:0.5 134:0.5 137:1.0 182:0.5 201:0.5 236:0.2222222222222222 246:1.0 387:1.0 442:0.5 621:0.5 669:1.0 859:0.5 1066:1.0 1198:0.16666666666666666 1372:1.0 1414:0.125 1536:1.0 1824:1.0 3294:0.42857142857142855 3295:1.0 3297:0.25 3319:1.0 3339:1.0 3365:0.5 3518:1.0 3542:1.0 4264:1.0 4754:1.0 4859:1.0 5031:1.0
14 12:0.2857142857142857 19:0.07894736842105263 20:0.25 24:0.25 45:0.3333333333333333 48:1.0 51:1.0 61:0.25 81:1.0 121:0.025 134:0.75 137:2.0 154:0.2222222222222222 198:1.0 251:1.0 292:0.25 354:1.0 387:1.0 460:1.0 529:0.5 534:0.5 1087:1.0 3285:1.0 3290:2.0 3297:0.25 3367:0.2 3380:1.0 3750:1.0 3849:1.0 3851:1.0 3860:1.0 3871:1.0 3893:1.0 3898:1.0 3969:1.0 4054:1.0 5225:1.0
14 8:0.16666666666666666 19:0.02631578947368421 24:0.25 46:0.5 51:1.0 55:0.125 116:0.058823529411764705 134:0.25 137:2.0 154:0.1111111111111111 236:0.2222222222222222 240:1.0 269:1.0 281:1.0 397:2.0 406:1.0 476:1.0 621:1.0 814:1.0 1237:0.5 1814:1.0 3285:1.0 3290:2.0 3307:0.030303030303030304 3325:1.0 3413:1.0 3577:1.0 4086:1.0
14 7:1.0 8:0.16666666666666666 12:0.2857142857142857 19:0.02631578947368421 51:1.0 64:0.375 73:0.16666666666666666 98:0.16666666666666666 137:1.0 154:0.1111111111111111 197:1.0 281:1.0 298:0.14285714285714285 387:1.0 393:1.0 429:0.5 814:1.0 859:0.5 1525:1.0 3290:2.0 3294:0.14285714285714285 3307:0.030303030303030304 3383:1.0 3413:1.0 3432:1.0 3518:1.0 3542:1.0 3632:1.0 3990:1.0 4091:0.2
14 6:0.4 12:0.14285714285714285 17:0.043478260869565216 19:0.05263157894736842 20:0.75 21:0.6 48:2.0 55:0.125 62:0.25 64:0.125 68:0.5 73:0.16666666666666666 93:0.07692307692307693 121:0.075 134:0.25 137:1.0 154:0.1111111111111111 182:0.5 188:1.0 197:1.0 199:1.0 241:0.5 279:0.5 437:1.0 443:1.0 449:1.0 483:1.0 529:0.5 621:0.5 875:1.0 1269:0.14285714285714285 1372:1.0 1637:1.0 1814:1.0 2447:1.0 3285:1.0 3290:2.0 3294:0.2857142857142857 3485:1.0 3507:1.0 3928:1.0 4111:1.0 4134:1.0
14 8:0.5 12:0.14285714285714285 19:0.02631578947368421 21:0.2 24:0.25 51:2.0 64:0.125 95:1.0 129:0.5 137:1.0 197:1.0 236:0.1111111111111111 406:1.0 429:0.5 484:0.5 650:1.0 781:0.5 814:2.0 3285:1.0 3307:0.06060606060606061 3308:1.0 3413:1.0 3878:1.0
14 8:0.16666666666666666 9:0.14285714285714285 13:1.0 19:0.05263157894736842 20:0.25 24:0.25 55:0.125 61:0.25 64:0.125 73:0.08333333333333333 133:0.5 134:0.25 183:1.0 236:0.1111111111111111 240:1.0 249:1.0 429:0.5 436:0.5 534:0.5 621:0.5 1149:1.0 1487:1.0 2238:0.25 2759:2.0 3285:1.0 3290:2.0 3294:0.14285714285714285 3365:0.5 3371:1.0 3540:1.0 3594:1.0 4054:1.0 4119:1.0
14 7:1.0 8:0.16666666666666666 12:0.2857142857142857 19:0.05263157894736842 20:0.25 21:0.2 41:1.0 58:0.2 64:0.25 68:0.5 73:0.16666666666666666 100:0.038461538461538464 118:0.16666666666666666 121:0.025 133:0.5 134:0.25 137:1.0 139:1.0 154:0.1111111111111111 157:1.0 188:1.0 197:1.0 281:1.0 311:1.0 366:1.0 379:1.0 387:2.0 397:1.0 405:1.0 442:0.5 529:0.5 534:0.5 641:1.0 1294:1.0 1709:1.0 1803:1.0 1975:1.0 2327:1.0 2339:2.0 3285:1.0 3290:1.0 3365:0.5 3376:1.0 3379:1.0 3383:1.0 3402:1.0 3518:1.0 3584:1.0 3587:1.0 4094:1.0 4389:1.0
14 8:0.3333333333333333 9:0.14285714285714285 12:0.7142857142857143 19:0.02631578947368421 20:0.75 21:0.2 24:0.25 58:0.2 64:0.125 68:0.5 73:0.08333333333333333 88:1.0 118:0.16666666666666666 134:0.25 137:1.0 165:0.5 218:1.0 220:1.0 406:1.0 431:1.0 446:0.5 453:1.0 499:0.5 502:1.0 529:0.5 740:0.3333333333333333 1030:0.5 1087:1.0 1149:1.0 1190:1.0 1269:0.14285714285714285 1360:1.0 1476:1.0 3290:2.0 3294:0.14285714285714285 3367:0.2 3371:1.0 3380:1.0 3443:1.0 3540:1.0 3698:1.0 3741:1.0 3898:1.0 4054:1.0 4090:1.0 4968:1.0 5335:1.0
14 8:0.16666666666666666 17:0.043478260869565216 19:0.02631578947368421 20:0.25 24:0.25 43:0.3333333333333333 51:2.0 73:0.16666666666666666 80:1.0 134:0.25 137:2.0 154:0.1111111111111111 176:1.0 231:1.0 236:0.1111111111111111 379:1.0 397:1.0 506:1.0 519:1.0 534:0.5 548:1.0 814:1.0 1237:0.5 1269:0.14285714285714285 1975:1.0 3285:1.0 3297:0.5 3307:0.030303030303030304 3365:0.5 3377:1.0 3379:1.0 3413:1.0 3512:1.0 3704:1.0 3853:1.0 4437:1.0 4681:1.0
14 9:0.14285714285714285 12:0.2857142857142857 17:0.08695652173913043 19:0.02631578947368421 20:0.5 21:0.2 38:1.0 43:0.3333333333333333 62:0.25 73:0.16666666666666666 100:0.038461538461538464 101:0.2 129:0.5 134:0.25 137:2.0 154:0.1111111111111111 182:0.5 198:1.0 248:0.5 279:0.5 387:1.0 550:0.5 621:0.5 652:1.0 859:0.5 862:1.0 878:1.0 936:0.5 1011:1.0 1198:0.3333333333333333 1269:0.14285714285714285 1937:1.0 2044:1.0 2345:1.0 3290:1.0 3376:1.0 3432:1.0 3450:1.0 3485:1.0 3539:1.0 3542:1.0 3623:1.0 3698:1.0 3714:1.0 4087:1.0 4355:1.0 4356:1.0 4946:1.0 5382:1.0 5383:1.0 5510:1.0 5634:1.0
14 7:1.0 8:0.3333333333333333 12:0.14285714285714285 20:0.5 38:1.0 48:1.0 51:2.0 62:0.25 73:0.16666666666666666 121:0.025 137:1.0 181:1.0 197:1.0 215:0.3333333333333333 387:1.0 401:1.0 440:1.0 537:1.0 548:1.0 580:1.0 626:1.0 647:1.0 814:2.0 970:1.0 2553:1.0 2898:1.0 3285:1.0 3307:0.06060606060606061 3309:1.0 3402:1.0 3413:2.0 3508:1.0 4174:1.0 4264:1.0 4642:1.0 5383:1.0
14 7:2.0 8:0.16666666666666666 12:1.0 19:0.05263157894736842 20:0.25 21:0.2 24:0.5 26:0.022222222222222223 42:0.5 48:1.0 55:0.125 58:0.2 98:0.16666666666666666 121:0.025 129:0.5 134:0.25 137:1.0 141:0.25 154:0.1111111111111111 199:1.0 202:0.25 215:0.3333333333333333 236:0.2222222222222222 248:0.5 249:1.0 457:1.0 543:1.0 637:1.0 827:0.2 1070:1.0 1183:0.5 1481:1.0 1539:1.0 1558:1.0 1803:1.0 1829:1.0 1987:1.0 2226:1.0 2364:1.0 3285:1.0 3290:2.0 3325:1.0 3334:1.0 3339:1.0 3365:0.5 3399:1.0 3432:1.0 3518:1.0 3549:1.0 4352:1.0 4446:0.25 4677:1.0
14 8:0.16666666666666666 12:0.2857142857142857 19:0.02631578947368421 48:1.0 51:1.0 55:0.125 62:0.25 68:0.5 75:0.5 80:1.0 121:0.025 134:0.75 201:0.5 215:0.3333333333333333 231:1.0 236:0.1111111111111111 387:1.0 429:0.5 529:0.5 534:0.5 558:1.0 593:0.5 621:0.5 814:1.0 1993:0.3333333333333333 2238:0.25 2441:1.0 3307:0.030303030303030304 3413:1.0 3862:1.0 5037:1.0 5050:1.0
14 8:0.3333333333333333 12:0.14285714285714285 17:0.043478260869565216 19:0.02631578947368421 38:1.0 48:1.0 54:0.5 62:0.25 64:0.25 73:0.08333333333333333 100:0.07692307692307693 115:0.09090909090909091 121:0.05 129:0.5 134:0.5 137:2.0 176:1.0 181:1.0 201:0.5 219:1.0 308:1.0 387:1.0 429:0.5 442:0.5 484:0.5 534:0.5 543:1.0 548:1.0 616:1.0 662:1.0 1116:1.0 1269:0.14285714285714285 1764:1.0 1936:1.0 1993:0.3333333333333333 2313:1.0 2327:1.0 2958:1.0 3285:1.0 3290:2.0 3329:1.0 3399:1.0 3427:1.0 3443:1.0 3481:1.0 3518:1.0 3589:1.0 3631:1.0 3638:1.0 3698:1.0 3739:1.0 4061:1.0 4395:1.0 4609:0.5 4645:1.0 5262:1.0 5714:1.0 5724:1.0
14 7:1.0 8:0.16666666666666666 9:0.14285714285714285 12:0.2857142857142857 17:0.043478260869565216 19:0.05263157894736842 21:0.2 73:0.08333333333333333 88:1.0 93:0.23076923076923078 388:1.0 429:0.5 436:0.5 487:1.0 534:0.5 814:1.0 1149:1.0 1228:1.0 1622:1.0 3290:2.0 3325:1.0 3365:0.5 3371:2.0 3487:1.0 3540:1.0 3577:1.0 3632:1.0 3697:2.0 3859:1.0 4366:1.0 5175:1.0 5197:1.0
14 6:0.2 8:0.16666666666666666 12:0.14285714285714285 15:0.16666666666666666 17:0.043478260869565216 19:0.02631578947368421 20:0.25 21:0.4 38:1.0 40:0.5 55:0.25 121:0.225 126:0.5 134:0.5 231:1.0 236:0.1111111111111111 241:0.5 250:1.0 281:1.0 285:1.0 397:1.0 453:1.0 502:1.0 548:1.0 1030:0.5 1087:1.0 1213:1.0 1237:0.5 1909:1.0 2770:1.0 3290:1.0 3526:1.0 3621:1.0 3626:1.0 3856:1.0 4184:1.0 4273:1.0 4571:1.0 4654:1.0 5266:1.0 5556:1.0
14 8:0.3333333333333333 9:0.14285714285714285 12:0.14285714285714285 20:0.25 38:1.0 40:0.5 48:1.0 51:3.0 61:0.25 64:0.125 100:0.038461538461538464 129:0.5 134:0.25 137:1.0 198:1.0 236:0.1111111111111111 241:0.5 273:1.0 506:1.0 550:0.5 580:1.0 621:0.5 814:1.0 999:1.0 1198:0.16666666666666666 1551:1.0 1637:1.0 1812:1.0 1824:1.0 1886:1.0 1975:1.0 2792:1.0 3307:0.030303030303030304 3308:1.0 3327:1.0 3379:1.0 3508:1.0 3534:1.0 3587:1.0 3812:1.0 4608:1.0 4706:1.0 5487:1.0 5495:1.0
14 8:0.3333333333333333 12:0.2857142857142857 17:0.043478260869565216 19:0.02631578947368421 20:0.5 21:0.4 24:0.25 42:0.5 45:0.3333333333333333 51:1.0 68:0.5 73:0.08333333333333333 75:0.5 100:0.038461538461538464 156:1.0 176:1.0 220:1.0 241:0.5 429:0.5 621:0.5 657:1.0 814:1.0 827:0.4 1115:1.0 1183:0.5 1252:1.0 1347:1.0 1886:1.0 1936:1.0 2250:0.5 3290:1.0 3307:0.030303030303030304 3313:1.0 3327:1.0 3413:1.0 3494:1.0 3534:1.0 3557:1.0 3708:1.0 3799:1.0 4031:1.0 4093:1.0 4114:1.0 4525:1.0 4572:1.0 4818:1.0
14 7:1.0 8:0.5 12:0.2857142857142857 19:0.05263157894736842 20:0.75 21:0.2 24:1.0 25:1.0 38:2.0 55:0.125 62:0.25 73:0.08333333333333333 78:1.0 93:0.07692307692307693 98:0.16666666666666666 100:0.038461538461538464 113:1.0 134:0.5 137:1.0 141:0.25 154:0.1111111111111111 181:2.0 198:1.0 201:0.5 231:1.0 236:0.2222222222222222 265:1.0 273:1.0 314:1.0 387:1.0 397:1.0 432:1.0 1011:1.0 1057:1.0 1064:1.0 1113:1.0 1637:1.0 1814:1.0 2226:1.0 2289:1.0 2328:1.0 2553:1.0 3248:1.0 3290:1.0 3300:1.0 3310:1.0 3325:1.0 3402:1.0 3427:1.0 3763:2.0 3813:1.0 4264:1.0 4357:1.0 4437:1.0 4561:1.0 4963:1.0
14 8:0.3333333333333333 12:0.14285714285714285 20:0.25 51:1.0 57:1.0 61:0.25 64:0.125 97:0.5 112:1.0 121:0.05 137:1.0 141:0.25 201:0.5 214:1.0 285:1.0 298:0.14285714285714285 529:0.5 679:0.5 814:1.0 1228:1.0 2044:1.0 2345:1.0 3285:1.0 3307:0.030303030303030304 3413:1.0 3518:1.0 3621:1.0 3693:1.0 3698:1.0 4136:1.0 4137:1.0 4561:1.0 4562:1.0 4874:1.0 4898:1.0 5461:1.0 5473:1.0
14 8:0.16666666666666666 9:0.14285714285714285 11:0.5 12:0.14285714285714285 17:0.043478260869565216 19:0.02631578947368421 20:1.5 51:1.0 55:0.25 62:0.5 68:0.5 88:1.0 121:0.05 122:1.0 134:1.0 137:1.0 162:1.0 181:1.0 210:1.0 231:1.0 360:1.0 366:1.0 386:1.0 424:1.0 432:1.0 534:0.5 641:1.0 814:1.0 934:1.0 1030:0.5 1117:1.0 1709:1.0 2755:1.0 3232:1.0 3307:0.030303030303030304 3331:1.0 3413:1.0 3633:1.0 3853:1.0 3862:1.0 3864:1.0 5004:1.0 5383:1.0
14 8:0.16666666666666666 17:0.043478260869565216 20:0.5 24:0.25 38:1.0 43:0.3333333333333333 54:0.5 62:0.25 64:0.25 75:0.5 100:0.038461538461538464 121:0.025 134:0.5 200:1.0 203:0.3333333333333333 241:0.5 264:0.3333333333333333 281:1.0 310:1.0 333:1.0 366:1.0 406:1.0 432:1.0 621:0.5 664:0.5 827:0.2 846:1.0 1001:1.0 1087:1.0 1113:1.0 1115:1.0 1372:1.0 1580:1.0 2327:1.0 2340:1.0 3290:1.0 3464:1.0 3518:2.0 3621:1.0 3982:1.0 4050:1.0 4094:1.0 4718:1.0 4963:1.0 5318:1.0
14 12:0.14285714285714285 19:0.05263157894736842 20:0.75 21:0.2 38:1.0 45:0.3333333333333333 48:1.0 73:0.08333333333333333 75:1.0 118:0.16666666666666666 121:0.025 134:0.5 137:1.0 165:0.5 176:1.0 429:0.5 483:1.0 506:1.0 519:1.0 534:0.5 807:1.0 1975:1.0 3290:1.0 3300:1.0 3312:0.2 3365:0.5 3369:1.0 3376:1.0 3379:1.0 3409:1.0 3621:1.0 3662:1.0 5738:1.0
14 7:1.0 12:0.2857142857142857 19:0.02631578947368421 21:0.2 54:1.0 57:1.0 62:0.25 97:0.5 100:0.038461538461538464 121:0.05 134:0.5 136:1.0 154:0.1111111111111111 188:2.0 387:1.0 388:2.0 429:0.5 1237:0.5 1370:1.0 1539:1.0 1903:1.0 2759:1.0 3290:2.0 3297:0.25 3339:1.0 3365:0.5 3431:1.0 3587:1.0 3625:1.0 3640:1.0 3756:1.0 3768:1.0 4220:1.0 4634:1.0 5300:1.0
14 7:1.0 12:0.2857142857142857 17:0.043478260869565216 21:0.2 38:1.0 43:0.3333333333333333 48:2.0 58:0.2 73:0.08333333333333333 80:1.0 125:0.3333333333333333 126:1.0 134:0.25 137:1.0 201:0.5 202:0.25 312:1.0 442:1.0 651:1.0 695:1.0 1237:0.5 1252:1.0 1269:0.14285714285714285 1828:1.0 1837:1.0 2501:1.0 2829:1.0 3285:1.0 3297:0.25 3621:1.0 3664:1.0 3921:2.0 3990:1.0 4152:1.0 4634:1.0 5349:1.0
14 12:0.14285714285714285 20:0.75 21:0.2 48:1.0 84:1.0 137:1.0 215:0.3333333333333333 216:1.0 231:1.0 296:1.0 401:1.0 442:0.5 459:1.0 564:1.0 641:1.0 837:1.0 1294:1.0 1828:1.0 2161:1.0 2501:1.0 2553:1.0 3290:2.0 3462:1.0 3488:1.0 3491:0.5 3518:1.0 3628:1.0 3679:1.0 3849:1.0 3921:2.0 4094:1.0 4592:1.0 4751:1.0
14 8:0.16666666666666666 12:0.14285714285714285 19:0.07894736842105263 20:0.25 21:0.4 54:0.5 121:0.05 126:0.5 137:1.0 141:0.25 198:1.0 215:0.3333333333333333 216:1.0 281:1.0 296:1.0 388:1.0 401:1.0 442:0.5 483:1.0 534:0.5 689:1.0 1100:1.0 1198:0.16666666666666666 1252:1.0 1347:1.0 1903:1.0 1926:1.0 3101:1.0 3300:1.0 3488:1.0 3582:1.0 3625:1.0 3628:1.0 3633:1.0 4634:1.0
14 7:1.0 19:0.02631578947368421 20:0.25 54:0.5 64:0.125 93:0.07692307692307693 101:0.2 134:0.25 141:0.25 154:0.1111111111111111 176:1.0 181:1.0 360:1.0 366:1.0 499:0.5 550:0.5 809:1.0 1087:1.0 1198:0.16666666666666666 3367:0.2 3375:1.0 3487:1.0 3589:1.0 3878:1.0 3879:1.0 3957:1.0 3958:1.0 4379:1.0
14 8:0.3333333333333333 19:0.02631578947368421 20:0.5 21:0.2 40:0.5 45:0.3333333333333333 48:1.0 51:1.0 55:0.125 73:0.08333333333333333 88:3.0 100:0.038461538461538464 129:0.5 131:1.0 141:0.25 203:0.3333333333333333 246:1.0 281:1.0 487:1.0 652:1.0 664:0.25 729:1.0 814:1.0 875:2.0 877:0.5 1931:1.0 1993:0.3333333333333333 2862:1.0 3285:1.0 3307:0.030303030303030304 3413:1.0 3460:1.0 3973:2.0 4572:1.0 4802:1.0 5537:1.0
14 12:0.2857142857142857 17:0.08695652173913043 20:0.5 48:1.0 64:0.125 88:2.0 98:0.16666666666666666 134:0.25 203:0.6666666666666666 236:0.1111111111111111 281:1.0 362:1.0 365:1.0 387:2.0 621:0.5 740:0.3333333333333333 859:0.5 1637:1.0 2238:0.25 3290:1.0 3294:0.14285714285714285 3312:0.4 3526:1.0 3781:1.0 4595:1.0 5254:1.0
14 12:0.14285714285714285 17:0.043478260869565216 38:1.0 48:1.0 64:0.25 121:0.025 181:1.0 198:1.0 236:0.1111111111111111 387:1.0 506:1.0 529:0.5 534:0.5 548:1.0 580:1.0 879:1.0 1269:0.14285714285714285 1551:1.0 1975:1.0 3376:1.0 3379:1.0 3392:1.0 3481:1.0 3485:1.0 3518:1.0 3664:1.0 4490:1.0 4607:1.0
14 8:0.16666666666666666 9:0.14285714285714285 12:0.14285714285714285 17:0.08695652173913043 19:0.05263157894736842 55:0.125 64:0.25 121:0.05 134:0.5 236:0.1111111111111111 387:1.0 436:0.5 534:0.5 548:1.0 1149:1.0 1237:0.5 1415:1.0 3284:1.0 3365:0.5 3375:1.0 3379:1.0 3481:1.0 3518:1.0 3540:1.0 3624:1.0 3628:1.0 4907:1.0 5101:1.0
14 8:0.16666666666666666 12:0.2857142857142857 17:0.043478260869565216 19:0.02631578947368421 20:0.25 24:0.25 43:0.3333333333333333 55:0.125 58:0.2 64:0.125 73:0.16666666666666666 100:0.038461538461538464 118:0.16666666666666666 121:0.025 137:1.0 197:1.0 236:0.1111111111111111 255:1.0 397:1.0 432:1.0 506:1.0 548:1.0 580:1.0 1064:1.0 1237:0.5 1269:0.14285714285714285 1294:1.0 1525:1.0 1539:1.0 1975:1.0 2289:1.0 2384:1.0 3366:1.0 3375:1.0 3376:1.0 3379:1.0 3705:0.3333333333333333 4281:1.0 4357:1.0 4810:1.0 5585:1.0
14 12:0.2857142857142857 17:0.043478260869565216 19:0.02631578947368421 21:0.8 43:0.6666666666666666 46:0.5 48:1.0 51:1.0 54:2.0 55:0.125 67:0.3333333333333333 88:1.0 126:0.5 134:0.25 137:2.0 141:0.25 209:0.5 236:0.1111111111111111 249:1.0 397:2.0 548:2.0 819:1.0 859:0.5 1235:1.0 1237:0.5 1269:0.14285714285714285 2143:2.0 3290:2.0 3349:1.0 3460:1.0 3481:1.0 3503:1.0 3695:1.0 4134:1.0 4547:1.0 4548:1.0
14 8:0.3333333333333333 12:0.42857142857142855 17:0.043478260869565216 21:0.4 43:0.3333333333333333 46:0.5 48:1.0 51:2.0 55:0.125 58:0.2 80:1.0 129:0.5 137:1.0 154:0.1111111111111111 236:0.1111111111111111 249:1.0 397:2.0 548:2.0 814:2.0 819:1.0 859:0.5 1235:1.0 1269:0.14285714285714285 1803:1.0 1992:1.0 1993:0.3333333333333333 2177:1.0 3285:1.0 3290:1.0 3307:0.030303030303030304 3365:0.5 3413:1.0 3481:1.0 3503:1.0 3763:1.0 4134:1.0 4366:1.0 4984:1.0
14 12:0.2857142857142857 17:0.043478260869565216 19:0.02631578947368421 20:0.25 43:0.3333333333333333 48:1.0 64:0.125 80:1.0 98:0.16666666666666666 101:0.2 134:0.25 137:2.0 201:0.5 236:0.1111111111111111 397:1.0 558:1.0 621:0.5 679:0.5 781:0.5 814:1.0 859:0.5 1269:0.14285714285714285 3290:1.0 3327:1.0 3384:1.0 3418:1.0 3693:1.0 4136:1.0 5345:1.0
14 19:0.02631578947368421 55:0.125 62:0.25 64:0.125 98:0.16666666666666666 134:0.25 249:1.0 379:1.0 442:0.5 499:0.5 1237:0.5 1916:1.0 2655:1.0 2792:1.0 3300:1.0 3312:0.2 3708:1.0 3715:1.0 4594:1.0
14 7:1.0 12:0.14285714285714285 20:0.25 21:0.2 42:0.5 45:0.3333333333333333 54:0.5 55:0.125 64:0.375 137:1.0 165:0.5 534:0.5 564:1.0 740:0.3333333333333333 1246:1.0 1346:0.5 2734:1.0 3344:1.0 3365:0.5 3369:1.0 3607:1.0 3662:1.0 3671:1.0 3696:1.0 3918:1.0 3919:0.5 3949:1.0 4700:1.0 5351:1.0
14 7:1.0 12:0.2857142857142857 46:0.5 48:1.0 55:0.125 80:1.0 98:0.16666666666666666 134:0.25 137:1.0 236:0.1111111111111111 281:1.0 507:1.0 2238:0.25 2441:1.0 3285:1.0 3294:0.14285714285714285 3362:1.0 3363:1.0 3572:0.2 3763:1.0 3811:1.0 5112:1.0
14 6:0.2 8:0.16666666666666666 12:0.14285714285714285 19:0.05263157894736842 20:0.25 21:0.6 38:1.0 51:1.0 55:0.125 58:0.2 73:0.08333333333333333 121:0.05 126:0.5 134:0.25 175:1.0 201:0.5 214:1.0 281:1.0 292:0.25 442:0.5 502:1.0 814:1.0 2414:1.0 3285:1.0 3294:0.14285714285714285 3295:1.0 3307:0.030303030303030304 3362:1.0 3413:1.0 3525:1.0 3587:1.0 3626:1.0 3738:1.0 3957:1.0 4189:1.0
14 7:1.0 19:0.02631578947368421 20:0.25 21:0.2 24:0.25 38:1.0 64:0.125 80:1.0 98:0.16666666666666666 100:0.038461538461538464 121:0.025 134:0.25 137:2.0 154:0.2222222222222222 241:0.5 253:1.0 285:1.0 332:1.0 480:1.0 529:0.5 534:0.5 621:0.5 746:1.0 1000:0.5 1046:1.0 1372:1.0 1374:1.0 1709:1.0 2238:0.25 2734:1.0 3186:1.0 3285:2.0 3290:1.0 3327:1.0 3512:1.0 3812:1.0 4236:1.0 4692:1.0 5542:1.0
14 8:0.3333333333333333 12:0.14285714285714285 51:2.0 62:0.25 134:0.25 236:0.1111111111111111 814:2.0 1237:0.5 3306:1.0 3307:0.030303030303030304 3308:1.0 3369:1.0 3413:1.0 3523:1.0 5450:1.0
14 8:0.16666666666666666 12:0.14285714285714285 17:0.043478260869565216 19:0.02631578947368421 24:0.25 58:0.2 62:0.25 98:0.16666666666666666 115:0.09090909090909091 134:0.25 198:1.0 236:0.1111111111111111 246:1.0 397:1.0 429:0.5 548:1.0 827:0.2 1415:1.0 2489:1.0 3294:0.14285714285714285 3300:1.0 3698:1.0 3898:1.0 4483:1.0 4970:1.0
14 12:0.2857142857142857 17:0.043478260869565216 20:0.25 21:0.4 38:1.0 48:1.0 64:0.125 73:0.08333333333333333 98:0.16666666666666666 105:1.0 134:0.25 176:1.0 236:0.1111111111111111 240:1.0 596:1.0 721:1.0 1192:1.0 1228:1.0 1246:1.0 1549:1.0 1629:0.2 1723:2.0 1888:1.0 1996:1.0 2112:1.0 2143:2.0 2792:1.0 3325:1.0 3621:1.0 3923:1.0 4898:1.0 4925:1.0
14 8:0.16666666666666666 17:0.043478260869565216 19:0.02631578947368421 21:0.4 24:0.25 51:1.0 80:1.0 88:1.0 93:0.07692307692307693 99:1.0 116:0.058823529411764705 121:0.025 126:0.5 137:1.0 154:0.1111111111111111 255:1.0 289:0.16666666666666666 293:0.5 740:0.3333333333333333 814:1.0 1294:1.0 1629:0.2 1723:1.0 2143:2.0 2763:1.0 3285:1.0 3290:1.0 3301:2.0 3307:0.030303030303030304 3360:1.0 3413:1.0 3695:1.0 3826:1.0 3923:1.0 4047:1.0 5214:1.0
14 12:0.14285714285714285 20:0.25 21:0.6 26:0.022222222222222223 64:0.125 73:0.08333333333333333 126:0.5 141:0.25 293:0.5 488:1.0 740:0.3333333333333333 1069:0.5 2143:1.0 3285:1.0 3294:0.14285714285714285 3296:1.0 3297:0.25 3312:0.2 3697:1.0 3698:1.0 3738:1.0 4131:1.0 4845:1.0 5648:1.0
14 19:0.02631578947368421 20:0.25 38:3.0 64:0.125 101:0.2 134:0.25 137:1.0 210:1.0 292:0.25 397:1.0 457:1.0 537:1.0 548:1.0 652:1.0 859:0.5 1183:0.5 1269:0.14285714285714285 1623:1.0 3285:1.0 3290:2.0 3339:1.0 3365:0.5 3432:1.0 3633:1.0 3664:1.0 3698:1.0 4091:0.2 4379:1.0 4446:0.25 4677:1.0
14 12:0.14285714285714285 19:0.02631578947368421 21:0.4 38:1.0 64:0.125 73:0.08333333333333333 88:1.0 126:0.5 137:1.0 201:0.5 203:0.3333333333333333 210:1.0 214:1.0 231:1.0 354:1.0 379:1.0 442:0.5 529:0.5 548:1.0 859:0.5 989:1.0 1623:1.0 3285:1.0 3290:2.0 3294:0.14285714285714285 3299:1.0 3365:0.5 3369:1.0 3587:1.0 3626:1.0 4014:0.5
14 8:0.16666666666666666 9:0.14285714285714285 12:0.42857142857142855 19:0.02631578947368421 20:0.5 73:0.08333333333333333 121:0.025 133:0.5 134:0.25 264:0.3333333333333333 436:0.5 529:0.5 534:0.5 621:0.5 859:0.5 877:0.5 1149:1.0 1237:0.5 1623:1.0 3365:0.5 3371:1.0 3540:1.0 3572:0.2 4286:1.0 4939:1.0 5037:1.0
14 8:0.16666666666666666 12:0.2857142857142857 19:0.02631578947368421 21:0.2 26:0.022222222222222223 38:1.0 48:1.0 51:1.0 62:0.25 80:1.0 101:0.2 134:0.5 154:0.1111111111111111 195:1.0 198:1.0 236:0.1111111111111111 281:1.0 740:0.3333333333333333 814:1.0 1232:1.0 3285:1.0 3307:0.030303030303030304 3369:1.0 3413:1.0 3578:1.0 3698:1.0 3830:1.0 4354:1.0 4658:1.0 4984:1.0
14 8:0.5 12:0.14285714285714285 19:0.05263157894736842 20:0.5 21:0.2 38:1.0 51:1.0 58:0.2 73:0.08333333333333333 88:2.0 97:0.5 116:0.058823529411764705 118:0.16666666666666666 121:0.025 129:0.5 236:0.1111111111111111 244:1.0 543:1.0 814:1.0 1357:1.0 1637:1.0 3285:1.0 3294:0.14285714285714285 3307:0.030303030303030304 3383:1.0 3413:1.0 3414:1.0 3451:1.0 3698:1.0 3842:1.0 4504:1.0 4534:1.0
14 6:0.2 8:0.5 12:0.2857142857142857 17:0.043478260869565216 20:0.25 21:0.4 24:0.25 38:1.0 73:0.16666666666666666 75:0.5 80:1.0 100:0.038461538461538464 115:0.09090909090909091 129:0.5 137:1.0 273:1.0 385:1.0 397:1.0 406:1.0 429:0.5 499:0.5 715:1.0 827:0.2 1030:0.5 1198:0.16666666666666666 1237:0.5 1372:1.0 1517:1.0 1803:1.0 2226:1.0 3285:1.0 3290:2.0 3294:0.14285714285714285 3313:1.0 4170:1.0 4286:1.0 4373:1.0 4601:1.0 4907:1.0 5286:1.0
14 8:0.16666666666666666 12:0.2857142857142857 19:0.10526315789473684 20:0.25 21:0.2 24:0.25 55:0.125 64:0.25 73:0.08333333333333333 78:1.0 93:0.07692307692307693 100:0.038461538461538464 101:0.2 134:0.5 137:2.0 154:0.1111111111111111 198:1.0 288:0.5 354:1.0 366:1.0 446:0.5 529:0.5 534:1.0 922:1.0 1030:0.5 1195:1.0 1269:0.14285714285714285 2327:1.0 3285:1.0 3290:2.0 3294:0.14285714285714285 3298:1.0 3325:1.0 3359:1.0 3365:0.5 3399:1.0 4134:1.0 4552:1.0 4984:1.0 5112:1.0 5633:1.0
14 8:0.16666666666666666 12:0.14285714285714285 17:0.043478260869565216 20:0.5 43:0.3333333333333333 48:1.0 55:0.125 64:0.125 73:0.08333333333333333 100:0.038461538461538464 101:0.2 121:0.025 181:1.0 197:1.0 209:0.5 210:1.0 366:1.0 431:1.0 548:1.0 652:1.0 827:0.2 859:0.5 1030:0.5 1269:0.14285714285714285 2327:1.0 2339:1.0 2736:1.0 3290:1.0 3375:1.0 3481:1.0 3644:1.0 3698:1.0 3879:1.0 3982:1.0
14 12:0.14285714285714285 19:0.02631578947368421 21:0.2 24:0.25 64:0.125 68:0.5 78:1.0 93:0.07692307692307693 116:0.058823529411764705 126:0.5 134:0.5 141:0.25 154:0.1111111111111111 201:0.5 231:1.0 387:1.0 548:1.0 593:0.5 1985:1.0 2177:1.0 3296:1.0 3325:1.0 3381:1.0 3481:1.0 3635:0.3333333333333333 4462:1.0 4544:1.0 4552:1.0 4743:1.0
14 12:0.2857142857142857 17:0.043478260869565216 20:0.25 24:0.5 25:1.0 48:1.0 55:0.125 64:0.125 73:0.08333333333333333 88:1.0 121:0.025 134:0.25 203:0.3333333333333333 236:0.3333333333333333 240:1.0 387:1.0 537:1.0 548:1.0 596:1.0 1087:1.0 1790:1.0 2489:1.0 3285:1.0 3304:1.0 3359:1.0 3367:0.2 3384:1.0 3432:1.0 3481:1.0 3507:1.0 3536:1.0 3572:0.2 3631:1.0 3982:1.0 4203:1.0 4238:1.0 4549:0.5 4629:1.0 4905:1.0
14 8:0.16666666666666666 19:0.02631578947368421 20:0.25 21:0.2 51:1.0 64:0.125 68:0.5 141:0.25 176:1.0 244:1.0 366:1.0 550:0.5 814:1.0 1198:0.16666666666666666 3285:1.0 3300:1.0 3307:0.030303030303030304 3365:0.5 3413:1.0 3452:1.0 3589:1.0 3590:1.0 3591:1.0 3776:1.0 3876:1.0 3982:1.0 4011:1.0 4939:1.0 5219:1.0 5292:1.0
14 12:0.14285714285714285 19:0.02631578947368421 20:0.75 21:0.4 24:0.25 48:1.0 55:0.125 62:0.25 64:0.125 80:1.0 88:1.0 121:0.025 137:1.0 203:0.3333333333333333 210:1.0 236:0.3333333333333333 240:1.0 279:0.5 310:1.0 397:1.0 529:0.5 859:1.0 1372:1.0 1629:0.2 1814:1.0 3285:1.0 3360:1.0 3399:1.0 3450:1.0 3572:0.2 3576:1.0 3633:1.0 3684:1.0 3694:1.0 3715:1.0 4236:1.0 4238:1.0 5315:1.0 5319:1.0
14 8:0.3333333333333333 9:0.14285714285714285 12:0.14285714285714285 17:0.043478260869565216 19:0.07894736842105263 20:0.25 21:0.6 43:0.3333333333333333 46:0.5 67:0.3333333333333333 73:0.16666666666666666 88:1.0 118:0.16666666666666666 121:0.025 129:0.5 134:0.25 197:1.0 215:0.3333333333333333 236:0.1111111111111111 440:1.0 442:0.5 476:1.0 499:0.5 506:1.0 534:1.0 550:0.5 641:1.0 715:1.0 815:1.0 875:1.0 1030:0.5 1198:0.3333333333333333 1269:0.14285714285714285 1536:1.0 1549:1.0 1975:1.0 2968:1.0 3285:2.0 3294:0.14285714285714285 3299:1.0 3327:1.0 3365:0.5 3376:1.0 3380:1.0 3481:1.0 3491:0.5 4549:0.5 4588:1.0 4722:1.0 4826:1.0 4984:1.0 5004:1.0 5175:1.0 5338:1.0
14 8:0.16666666666666666 12:0.42857142857142855 19:0.02631578947368421 20:0.25 21:0.2 39:0.3333333333333333 45:0.3333333333333333 48:1.0 51:1.0 64:0.25 73:0.08333333333333333 100:0.038461538461538464 121:0.025 134:0.25 210:1.0 499:0.5 621:0.5 814:1.0 937:1.0 1065:0.5 1116:1.0 1414:0.125 2072:1.0 3285:1.0 3290:1.0 3307:0.030303030303030304 3326:1.0 3327:1.0 3359:1.0 3413:1.0 3452:1.0 3484:1.0 3487:1.0 3523:1.0 5319:1.0 5715:1.0
14 8:0.3333333333333333 9:0.14285714285714285 12:0.2857142857142857 19:0.05263157894736842 21:0.4 24:0.25 26:0.022222222222222223 38:3.0 58:0.2 105:1.0 116:0.058823529411764705 129:0.5 154:0.1111111111111111 246:1.0 280:0.5 354:1.0 436:0.5 534:0.5 1001:1.0 1149:1.0 1414:0.125 3285:1.0 3290:1.0 3294:0.14285714285714285 3295:1.0 3365:0.5 3371:1.0 3518:1.0 3540:1.0 3679:1.0 4757:1.0 4787:1.0
14 7:1.0 12:0.42857142857142855 17:0.08695652173913043 19:0.07894736842105263 20:0.25 24:0.25 62:0.25 64:0.25 98:0.16666666666666666 121:0.025 134:0.5 137:1.0 141:0.25 154:0.2222222222222222 231:1.0 236:0.1111111111111111 249:1.0 310:1.0 387:1.0 397:1.0 499:0.5 1269:0.14285714285714285 1357:1.0 1372:1.0 2106:1.0 2133:1.0 2655:1.0 3285:1.0 3290:2.0 3294:0.14285714285714285 3334:1.0 3756:1.0 3919:0.5 4407:1.0 4504:1.0 4727:1.0 5319:1.0
14 8:0.16666666666666666 12:0.14285714285714285 17:0.043478260869565216 18:0.3333333333333333 19:0.02631578947368421 20:0.25 21:0.4 48:2.0 51:1.0 62:0.5 73:0.08333333333333333 88:1.0 93:0.07692307692307693 134:0.75 141:0.25 280:0.5 367:1.0 428:1.0 483:1.0 529:0.5 550:0.5 580:1.0 814:1.0 859:1.0 1237:1.0 3285:1.0 3290:1.0 3298:1.0 3307:0.030303030303030304 3309:1.0 3310:1.0 3413:1.0 3481:1.0 3753:1.0 3871:1.0 4886:1.0 5399:1.0
14 12:0.14285714285714285 17:0.043478260869565216 19:0.02631578947368421 20:0.5 24:0.25 25:1.0 38:1.0 62:0.5 73:0.25 87:0.25 121:0.075 129:0.5 133:0.5 134:0.25 137:1.0 219:1.0 236:0.1111111111111111 310:1.0 367:1.0 429:0.5 529:0.5 534:1.0 550:0.5 1198:0.16666666666666666 1372:1.0 1490:1.0 1637:1.0 1837:1.0 2792:1.0 3285:1.0 3290:1.0 3294:0.14285714285714285 3300:1.0 3373:1.0 3374:1.0 3481:1.0 3624:1.0 3682:1.0 3694:1.0 4576:1.0 4590:1.0 4921:1.0 5456:1.0 5462:1.0
14 17:0.043478260869565216 20:0.25 26:0.022222222222222223 38:1.0 43:0.3333333333333333 48:1.0 73:0.08333333333333333 88:1.0 118:0.16666666666666666 137:1.0 154:0.1111111111111111 310:1.0 1372:1.0 1414:0.25 1967:1.0 2271:1.0 3285:1.0 3295:2.0 3312:0.2 3318:1.0 3325:1.0 3381:1.0 3430:1.0 3487:1.0 3698:1.0 3813:1.0
14 8:0.3333333333333333 12:0.2857142857142857 19:0.02631578947368421 20:0.25 38:1.0 45:0.3333333333333333 48:1.0 54:1.0 55:0.125 75:0.5 100:0.07692307692307693 101:0.2 137:1.0 181:1.0 197:1.0 209:0.5 273:1.0 304:1.0 970:1.0 1030:0.5 1357:1.0 1829:1.0 2501:1.0 3290:1.0 3300:1.0 3415:1.0 3518:1.0 3621:1.0 3708:1.0 3865:0.5 3866:1.0 3919:0.5 3921:2.0 4174:1.0 4504:1.0 5227:1.0
14 8:0.3333333333333333 12:0.14285714285714285 17:0.043478260869565216 20:0.5 21:0.2 45:0.3333333333333333 48:1.0 54:0.5 61:0.25 62:0.25 64:0.125 73:0.08333333333333333 88:1.0 118:0.16666666666666666 129:0.5 134:0.25 197:1.0 215:0.3333333333333333 236:0.1111111111111111 279:0.5 367:1.0 387:1.0 440:1.0 473:1.0 679:0.5 970:1.0 1269:0.14285714285714285 1637:2.0 2909:1.0 3294:0.14285714285714285 3481:1.0 3621:1.0 3686:1.0 4174:1.0 4534:1.0 5013:1.0 5256:1.0
14 17:0.17391304347826086 19:0.05263157894736842 20:0.25 21:0.6 26:0.022222222222222223 38:1.0 48:2.0 55:0.125 62:0.5 73:0.08333333333333333 115:0.09090909090909091 134:1.25 137:1.0 154:0.1111111111111111 279:0.5 406:1.0 483:1.0 586:1.0 1168:1.0 1414:0.125 2029:0.5 2655:1.0 2792:1.0 3285:1.0 3290:1.0 3297:0.25 3415:1.0 3496:1.0 3595:1.0 4278:1.0 5005:1.0 5437:1.0
14 14:1.0 17:0.043478260869565216 20:0.25 21:0.4 38:2.0 54:0.5 64:0.125 68:0.5 75:0.5 94:1.0 116:0.058823529411764705 121:0.025 126:0.5 134:0.5 154:0.1111111111111111 176:1.0 197:1.0 199:1.0 201:1.0 244:1.0 279:0.5 281:1.0 296:1.0 310:1.0 334:1.0 440:1.0 442:0.5 669:1.0 859:0.5 1001:1.0 1030:0.5 1372:1.0 1985:1.0 3285:1.0 3290:2.0 3294:0.14285714285714285 3296:1.0 3368:1.0 3394:1.0 3448:1.0 3518:1.0 3519:1.0 3966:1.0 4011:1.0 4094:1.0 4379:1.0 4592:1.0
14 7:1.0 8:0.5 12:0.14285714285714285 17:0.043478260869565216 19:0.05263157894736842 21:0.2 24:0.25 38:1.0 55:0.25 64:0.125 73:0.16666666666666666 80:1.0 118:0.16666666666666666 121:0.05 129:0.5 197:1.0 201:0.5 429:0.5 859:0.5 1637:1.0 3304:1.0 3306:1.0 3320:1.0 3324:1.0 3813:1.0 3957:1.0 4184:1.0 4379:1.0 5319:1.0
|
6445800c29e537d5261cacead76c418bd8261658 | 7ed1d2e173ac7ffd8b5c4aa3a8c69d2d4a24f3b7 | /sestavy/směska/chyby/chyba 68/Chyba/@(GINADR)@/KOF/G32KOFS1.TST | c7fc5b7a64a1e07583553dca568c2f3d053329ed | [] | no_license | StepanSukovyc/navrhar-sestav | 6b98e3ed56b0b9e15aec495fd32b7ec58eec7319 | 9b6fbca9dd62222f17a4e2522234871ea1554f6d | refs/heads/master | 2023-07-29T02:24:17.924750 | 2021-09-08T10:47:29 | 2021-09-08T10:47:29 | 268,037,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,648 | tst | G32KOFS1.TST | [program]
revize=32KOFS136601Z21
dat_akt=2012-01-19
[files]
@(GINADR)@\KOF\FRM
00000478.ALV s=5015 c=49411
00000AUR.XME s=2903 c=31131
000002K8.ALF s=5349 c=50419
000001NV.ALV s=-2
00000A56.XME s=-2
00000060.ALF s=-2
00000060.ZIP s=-2
000000DZ.ALV s=-2
000002BT.ALV s=-2
00000A9T.XME s=-2
000000FQ.ALF s=-2
000002R6.ALV s=-2
000002R8.ALV s=-2
000001PJ.ALV s=-2
00000A5E.XME s=-2
0000006A.ALF s=-2
0000006A.ZIP s=-2
000000DY.ALV s=-2
000000E0.ALV s=-2
0000008H.ALV s=-2
0000008D.ALV s=-2
00000211.ALV s=-2
000000AF.ALF s=-2
000002QA.alf s=-2
00000A6R.XME s=-2
000000XJ.ALV s=-2
0000000X.alf s=-2
00000013.alf s=-2
00000018.alf s=-2
0000013I.alf s=-2
0000013J.alf s=-2
000002A3.alf s=-2
000002A4.alf s=-2
000002A5.alf s=-2
000002A6.alf s=-2
000002A7.alf s=-2
00000A0U.xme s=-2
@(GINADR)@\KOF
G32KOFS1.TST
|
0522511694bc1eba63eae71c9200269f84b0cd7e | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_cache_2_b.tst | 30bf66143dfd68a6f8069068c8fa9e52feb8bf41 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 2,682 | tst | test_cache_2_b.tst | total_physical_store_count = 0
total_physical_fetch_count = 40
<cache info>
items cached: 20/20
regions in use: 4/4
items per region: 10
counter: 40
temp_read_num: 39
temp_write_num: -1
item_req_count = 40
item_hit_count = 0
item hit ratio = 0%
<cache region: 0-9>
item_cost: 0
flush_cost: 0
counter_total: 0
most_recently_used: -1
least_recently_used: -1
most_recently_changed: -1
least_recently_changed: -1
most_recently_unchanged: -1
least_recently_unchanged: -1
<cache region: 10-19>
item_cost: 0
flush_cost: 0
counter_total: 0
most_recently_used: -1
least_recently_used: -1
most_recently_changed: -1
least_recently_changed: -1
most_recently_unchanged: -1
least_recently_unchanged: -1
<cache region: 20-29>
item_cost: 10
flush_cost: 0
counter_total: 255
most_recently_used: 9
least_recently_used: 0
most_recently_changed: -1
least_recently_changed: -1
most_recently_unchanged: 9
least_recently_unchanged: 0
<cache region items>
item #20, chg: 0, counter: 21, used (-1, 1), chg (-1, -1), unchg (-1, 1)
item #21, chg: 0, counter: 22, used (0, 2), chg (-1, -1), unchg (0, 2)
item #22, chg: 0, counter: 23, used (1, 3), chg (-1, -1), unchg (1, 3)
item #23, chg: 0, counter: 24, used (2, 4), chg (-1, -1), unchg (2, 4)
item #24, chg: 0, counter: 25, used (3, 5), chg (-1, -1), unchg (3, 5)
item #25, chg: 0, counter: 26, used (4, 6), chg (-1, -1), unchg (4, 6)
item #26, chg: 0, counter: 27, used (5, 7), chg (-1, -1), unchg (5, 7)
item #27, chg: 0, counter: 28, used (6, 8), chg (-1, -1), unchg (6, 8)
item #28, chg: 0, counter: 29, used (7, 9), chg (-1, -1), unchg (7, 9)
item #29, chg: 0, counter: 30, used (8, -1), chg (-1, -1), unchg (8, -1)
<cache region: 30-39>
item_cost: 10
flush_cost: 0
counter_total: 355
most_recently_used: 9
least_recently_used: 0
most_recently_changed: -1
least_recently_changed: -1
most_recently_unchanged: 9
least_recently_unchanged: 0
<cache region items>
item #30, chg: 0, counter: 31, used (-1, 1), chg (-1, -1), unchg (-1, 1)
item #31, chg: 0, counter: 32, used (0, 2), chg (-1, -1), unchg (0, 2)
item #32, chg: 0, counter: 33, used (1, 3), chg (-1, -1), unchg (1, 3)
item #33, chg: 0, counter: 34, used (2, 4), chg (-1, -1), unchg (2, 4)
item #34, chg: 0, counter: 35, used (3, 5), chg (-1, -1), unchg (3, 5)
item #35, chg: 0, counter: 36, used (4, 6), chg (-1, -1), unchg (4, 6)
item #36, chg: 0, counter: 37, used (5, 7), chg (-1, -1), unchg (5, 7)
item #37, chg: 0, counter: 38, used (6, 8), chg (-1, -1), unchg (6, 8)
item #38, chg: 0, counter: 39, used (7, 9), chg (-1, -1), unchg (7, 9)
item #39, chg: 0, counter: 40, used (8, -1), chg (-1, -1), unchg (8, -1)
|
81faed33b69106fbbc9874f93c69ac016b2c258a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH6/EX6.1/Example_6_1.sce | a69813562df71f22238391b50ad544e84b5036b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | Example_6_1.sce | //Example 6.1
clear;
clc;
//To calculate the number of ways of distributing distinguishable molecules a,b,c between 3 energy levels
w=(3*2*1)/(1*1*1);//ways of distributing distinguishable molecules a,b,c between 3 energy levels
mprintf('ways of distributing distinguishable molecules a,b,c between 3 energy levels = %i',w);
//end |
877ed519f5bb203eefce7a89c10da01771175b91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.63/Ex63.sce | d8cefbe3c91ff91fb96b987f645e50a44337f308 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex63.sce | //Ex:63
clc;
clear;
close;
h=35800;//height in km
r=6364;//earth's radius in km
r_o=r+h;//orbital radius in km
i=2;//angle of inclination in degree
w_m=0.0175;
y_m=i;//max latitude deviation
d_m=r_o*i*(3.14/180);//max displacement due to latitude deviation in km
D_m=d_m*(w_m/y_m);//max displacement due to longitude deviation in km
printf("max displacement due to latitude deviation=%d km",d_m);
printf("\n max displacement due to longitude deviation=%f km",D_m); |
0039afb16de5d637108cf184adeaeee2fbd517ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH18/EX18.2.1/18_2_1.sce | ef64b0e9e95eea345fe1e7393327aaa01c6e9386 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | 18_2_1.sce | clc;
// page no 671
// prob no 18_2_1
//A drum of facsimile machine with diameter=70.4mm & scanning pitch=0.2mm/scan
D=70.4;P=0.2;
//Determination of index of co-operation
IOC_CCITT=D/P;
IOC_IEEE=IOC_CCITT*(%pi);
disp(IOC_IEEE,'The index of co-operation is'); |
6a5063f9667b8891af2ce138440ba7dcb0e5e3ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH14/EX14.4/Ex14_4.sce | f9c5fa2a40c8217ec8c0f5861dacf7be1c167d69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | Ex14_4.sce | // Exa 14.4
// Refer circuit 14.25 given on page no. 484
clc;
clear all;
// Given data
E=10;// Volts
R=50;// Unstrained gauge resistance(Ohms)
Gain=100;// Amplifier gain
Vo=1.5;// Output Voltage
// Solution
// Using the formula: Vo=E*(Delta_R/R)*gain
Delta_R=Vo*R/(E*Gain);// Change in resistance
printf('The change in resistance =%.2f Ohms\n This means that Rt1 and Rt3 decrease by 0.07 ohms \n and Rt2 and Rt4 increase by 0.07 ohms when a certain weight is placed on the scale platform\n',Delta_R);
// The answer mentioned in the textbook is incorrect as R=50 Ohms and not 100 Ohms.
|
89974eb6aa86bc0535f048dd79c77405d32c3feb | 7d5f639d96c00f6068c51c15df7b40cf8e959f09 | /code/q13.sce | 19cf93b4ab731fe964c93ccaa71f5d176c3003c3 | [] | no_license | XAMEUS/MN | daf13aac1f92cf5137e55189e8d23bb42fe1a747 | 36e3f0e34c07641cdee4b401a98478822e0dee46 | refs/heads/master | 2021-03-24T11:50:44.826039 | 2017-05-02T19:54:26 | 2017-05-02T19:54:26 | 86,677,617 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | q13.sce | clear
stacksize(268435454)
exec("q3a5.sci")
exec("ressources_q11aq14.sci")
//Question 13
res_dich = dichotomie(J, 1e-5, -l, l)
disp(res_dich)
|
5588d30c08f09389b0cfb29303d18d13953ec46d | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH4/EX4.2/Ex4_2.sci | b33e1511efea3df194791372c879aceb733a0204 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sci | Ex4_2.sci | clc();
clear;
// To calculate the lag of thermometer used in initial example while the oven is heating
r = 0.01; // Radius of cylindrical tube in ft
a = 0.178; // Thermal diffusivity in ft^2/hr
k = 5; // Thermal conductivity in Btu/hr-ft-F
h = 2; // Heat transfer coefficient in Btu/hr-ft^2-F
s = 400; // Rate of temperature change
tlag = r*k*s/(2*a*h);
printf("The lag of thermometer while the oven is heating at the rate of 400F/hr is %.1f F",tlag);
|
6627263ed78608d18e6d3caea8e225040a407c8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH3/EX3.15/Ex3_15.sce | 457c2fcbcc69b34fe586056d003f209b39ad31a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | Ex3_15.sce | clc
//to calculate order when visible light of wavelength in the range 4000 to 7500 angstrom
//let E=(e+d)
E=1/4000 //in cm
lambda1=4*10^-5
//wavelength in cm
lambda2=7.5*10^-5
n1=E*sin(%pi/2)/lambda1
n2=E*sin(%pi/2)/lambda2
disp("order when wavelength of 4000 angstrom is n1="+string(n1)+"unitless")
disp("order when wavelength of 7500 angstrom is n2="+string(n2)+"unitless")
|
bfd3a893e2b91178e96c2a05df92d444d0b4e09d | 038ee13a64297b2a78795c6e2e9f23f7281c8959 | /MRI_task/vibrotact_test.sce | ed42484567569a0e146c987bea28e894211f3aac | [] | no_license | ysalzer/tactile_simon_task | 78ef20ea5b90ce02fc63737f5424057c11c38dfa | 4a59508e2e1713898ff18759039ae78c7b9aefdc | refs/heads/master | 2020-12-13T09:02:36.022896 | 2016-07-07T09:29:00 | 2016-07-07T09:29:00 | 63,944,632 | 1 | 0 | null | 2016-07-22T10:17:43 | 2016-07-22T10:17:43 | null | UTF-8 | Scilab | false | false | 2,076 | sce | vibrotact_test.sce | ###################################################################################################################################
# Test script for the fMRI compatible piezoelectric vibratory stimulation system build by Mag Design & Engineering #
# Tests all stimulators individually with all available frequencies #
# #
# Script written by Jasper Wijnen #
# Requested by Yael Salzer #
# TOP, University of Amsterdam, February 2016 #
# Using NBS Presentation 18.2 #
###################################################################################################################################
default_font = "calibri";
default_font_size = 26;
begin;
text{caption="stimulator test";}test1_txt;
text{caption="testing";}test2_txt;
picture{
text test1_txt;x=0;y=300;
text test2_txt;x=0;y=0;
}test_pic;
begin_pcl;
output_port outport = output_port_manager.get_port(1); #LPT data I/O register, switches individual stims on/off
array <int> portcodes [8] = {1,2,4,8,16,32,64,128};
dio_device freq_ctrl = new dio_device(memory_dio_device,890,4); #LPT control I/O register, controls vibratory frequency
#value 890 is dec conversion from hexadecimal adress 0378, this is the I/O range for LPT port on adress D050 + 2
#if LPT adress is different for your PC you should change this value
array <int> freqcodes [16]; freqcodes.fill(1,0,0,1);
array <int> freqs [16];freqs.fill(1,0,30,30);
loop int f=1; until f>16 begin
freq_ctrl.write(1,freqcodes[f]);
loop int x=1 until x>portcodes.count() begin
test2_txt.set_caption("testing stim: " + string(x) + "\nport code: " + string(portcodes[x]) + "\n f value: " + string(freqcodes[f]) + "\nsupposed frequency: " + string(freqs[f]),true);
test_pic.present();
outport.send_code(portcodes[x],150);
wait_interval(200);
x=x+1;
end;
f=f+1;
end;
|
b72774231651c6a7abff8b5aece665b20808f455 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.18/18_18.sce | 9a90e0dfc576b40726c5f930f5e40a8e9dd98aaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | 18_18.sce | //ques-18.18
//Calculating entropy change and free energy change of the reaction
clc
T1=300; T2=330;//temperature (in K)
G1=-16;//free energy change (in kcal)
H=-10;//enthalpy change (in kcal)
S=(H-G1)/T1;//entropy change (in kcal/K)
G2=H-T2*S;//free energy change (in kcal)
printf("The entropy change is %d cal/K and free energy change at 330K is %.1f kcal.",S*1000,G2);
|
844893b45b1251e72fbbb1e4e30a73aa2a80f611 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH9/EX9.15/Ex9_15.sce | 6f47dd6ecfcd08b4028f2425f8969f82f07e7f4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,107 | sce | Ex9_15.sce | Bc1=30*10^3;cimin1=18
Bc2=25*10^3;cimin2=14
Bc3=12.5*10^3;cimin3=12
Bc4=6.25*10^3;cimin4=9
Y=4//path propogation constant
BcI=6.25*10^3
cieq1=cimin1+20*log10(Bc1/BcI)
cieq2=cimin2+20*log10(Bc2/BcI)
cieq3=cimin3+20*log10(Bc3/BcI)
cieq4=cimin4+20*log10(Bc4/BcI)
disp(cieq1,'(C/I)eq in dB for system I')
disp(cieq2,'(C/I)eq in dB for system II')
disp(cieq3,'(C/I)eq in dB for system III')
disp(cieq4,'(C/I)eq in dB for system IV')
if cieq1<cieq2 then
if cieq1<cieq3 then
if cieq1<cieq4 then
disp(,'System I offers the best capacity')
end
end
elseif cieq2<cieq3 then
if cieq2<cieq4 then
if cieq2<cieq1 then
disp(,'System II offers the best capacity')
end
end elseif cieq3<cieq4 then
if cieq3<cieq1 then
if cieq3<cieq2 then
disp(,'System II offers the best capacity')
end
end
elseif cieq4<cieq3 then
if cieq4<cieq1 then
if cieq4<cieq2 then
disp(,'System IV offers the best capacity')
end
end
end
|
f31dc7bede758898f2e1c9656bcd4bdfcb9542c8 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_co_hrz_col_d/~BivLCM-SR-bfas_co_hrz_col_d-PLin-VLin.tst | c128dc4c807e9c79e6c4de7f8f1612382c48f11c | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_co_hrz_col_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.285986D+00
2 -0.365888D-02 0.232624D-02
3 0.295377D-01 0.192935D-04 0.283314D+00
4 0.435274D-03 0.292983D-03 -0.468214D-02 0.236014D-02
5 0.127699D-02 -0.152202D-03 -0.158820D-02 0.280635D-03 0.315068D-02
6 -0.103394D-02 0.104635D-03 0.305555D-03 -0.987353D-04 0.215378D-03
7 0.788336D-03 -0.386811D-04 0.163429D-02 -0.660310D-04 0.934584D-03
8 0.192105D-03 0.152746D-04 0.455220D-03 0.100884D-03 -0.318100D-03
9 -0.156285D+00 0.102618D-01 -0.107058D+00 0.285500D-01 0.739509D-01
10 -0.107776D-01 -0.107176D-01 -0.320989D-01 0.792110D-02 0.143253D+00
11 -0.132683D+00 0.158078D-01 0.380396D-01 0.884639D-02 -0.383237D-01
12 0.145225D+00 0.647701D-03 -0.856904D+00 0.471203D-01 0.794258D-01
13 0.767782D-01 -0.445828D-02 0.529905D-01 -0.634074D-02 0.429555D-01
14 -0.205047D+00 0.740541D-02 -0.489296D+00 0.166168D-01 -0.133521D-01
15 -0.149684D+01 -0.365183D-01 -0.219210D+00 0.891186D-02 -0.118137D+00
16 -0.333545D-01 -0.773625D-03 0.114798D-01 -0.192731D-03 -0.115389D-02
17 0.895769D-02 0.219728D-03 0.266597D-04 -0.824447D-04 -0.314929D-03
18 -0.242470D+00 0.220470D-01 -0.479064D+00 -0.534321D-01 -0.327232D-01
19 0.467804D-02 -0.460576D-02 0.107663D+00 0.618935D-03 -0.758263D-03
20 -0.183476D+00 -0.427393D-02 -0.247596D+01 0.716522D-01 -0.467392D-02
21 0.133603D-01 0.454826D-02 -0.141286D+00 -0.135689D-02 -0.542522D-03
22 0.989281D-04 -0.134322D-03 0.347860D-02 0.342238D-03 0.275361D-05
23 -0.138828D-01 -0.134131D-02 0.416991D-01 -0.117551D-01 -0.153054D-02
24 0.163436D-02 0.587741D-04 -0.152437D-02 -0.246977D-03 -0.134277D-04
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.887967D-03
7 0.686539D-03 0.325451D-02
8 0.204869D-03 -0.445758D-04 0.278103D-02
9 -0.157835D-01 0.277894D-01 0.484880D-02 0.298609D+02
10 0.126769D-01 0.483679D-01 -0.281945D-02 0.202572D+01 0.164424D+02
11 0.403962D-01 0.132346D-01 -0.961864D-02 0.334986D+01 -0.220657D+01
12 -0.515301D-01 -0.416781D-01 0.689086D-02 0.112765D+02 0.605599D+01
13 0.462892D-01 0.102873D+00 0.180242D-02 -0.518013D+00 0.384223D+01
14 0.176911D-01 0.170013D-01 0.185845D+00 0.926509D+00 0.249660D+01
15 0.535234D-02 -0.974207D-01 0.485787D-01 -0.160079D+01 -0.810455D+01
16 -0.712048D-03 0.347687D-04 -0.205982D-02 0.500170D+00 -0.628702D-01
17 0.162487D-04 0.154432D-03 0.184561D-03 -0.102238D+00 -0.367963D-01
18 -0.470927D-01 -0.117076D+00 -0.114208D-01 -0.146841D+01 -0.270169D+01
19 -0.105979D-01 -0.388110D-02 -0.177920D-01 0.355743D+00 -0.279382D+00
20 -0.131258D-03 -0.753031D-01 -0.215994D+00 -0.681554D+01 -0.549305D+01
21 0.938658D-02 0.527775D-02 0.176550D-01 -0.359854D+00 0.162665D+00
22 -0.224294D-04 -0.989355D-04 0.852359D-04 -0.411671D-02 0.325023D-02
23 0.659517D-03 -0.555594D-03 -0.569456D-02 0.181720D+00 -0.272134D+00
24 -0.210326D-04 0.430328D-03 0.889246D-03 -0.446550D-02 0.397081D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.355006D+02
12 -0.558279D+01 0.129781D+03
13 -0.102582D+01 -0.344138D+01 0.106811D+02
14 -0.368404D+01 0.128889D+01 0.365503D+01 0.466388D+02
15 -0.367128D+00 -0.679789D+01 -0.290183D+01 0.588825D+01 0.205527D+03
16 0.367330D+00 0.108796D+00 -0.960420D-01 -0.151663D+00 0.145217D+01
17 -0.349316D-01 0.544468D-02 0.137488D-01 -0.216208D-02 -0.107083D+01
18 -0.628799D+01 -0.447822D+00 -0.524485D+01 -0.163312D+01 0.114613D+01
19 0.124225D+01 -0.136480D+01 -0.854841D+00 -0.251439D+01 -0.172054D+01
20 0.221079D+01 -0.242743D+02 -0.178761D+01 -0.184483D+02 0.307184D+02
21 -0.605486D+00 0.271137D+01 0.822130D+00 0.231801D+01 0.724803D+00
22 -0.459689D-01 -0.577615D-01 -0.379428D-02 0.224763D-01 0.966223D-01
23 -0.281607D-01 0.935897D+00 0.652617D-01 -0.471439D+00 0.347326D+00
24 -0.535107D-01 -0.110498D+00 0.133537D-01 0.949201D-01 -0.174375D+00
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.348220D+00
17 -0.267494D-01 0.131686D-01
18 -0.346620D+00 0.654902D-01 0.154817D+03
19 0.546208D-01 -0.429547D-02 -0.969455D+00 0.354951D+01
20 -0.144544D+00 -0.105851D+00 0.231705D+02 -0.140096D+01 0.305610D+03
21 0.566927D-01 0.535040D-03 0.299018D+01 -0.317485D+01 0.125608D+01
22 -0.344289D-02 0.102331D-04 -0.716771D+00 -0.887067D-02 -0.540586D-01
23 0.411233D-01 -0.458184D-02 0.428320D+00 0.132739D+00 0.199731D+01
24 -0.236594D-02 0.135211D-02 -0.668529D-01 -0.235771D-02 -0.143949D+01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.382530D+01
22 -0.384212D-01 0.803639D-02
23 0.378008D-01 -0.661655D-02 0.613070D+00
24 -0.597186D-02 0.149346D-02 -0.571120D-01 0.177597D-01
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.142 1.000
3 0.104 0.001 1.000
4 0.017 0.125 -0.181 1.000
5 0.043 -0.056 -0.053 0.103 1.000
6 -0.065 0.073 0.019 -0.068 0.129
7 0.026 -0.014 0.054 -0.024 0.292
8 0.007 0.006 0.016 0.039 -0.107
9 -0.053 0.039 -0.037 0.108 0.241
10 -0.005 -0.055 -0.015 0.040 0.629
11 -0.042 0.055 0.012 0.031 -0.115
12 0.024 0.001 -0.141 0.085 0.124
13 0.044 -0.028 0.030 -0.040 0.234
14 -0.056 0.022 -0.135 0.050 -0.035
15 -0.195 -0.053 -0.029 0.013 -0.147
16 -0.106 -0.027 0.037 -0.007 -0.035
17 0.146 0.040 0.000 -0.015 -0.049
18 -0.036 0.037 -0.072 -0.088 -0.047
19 0.005 -0.051 0.107 0.007 -0.007
20 -0.020 -0.005 -0.266 0.084 -0.005
21 0.013 0.048 -0.136 -0.014 -0.005
22 0.002 -0.031 0.073 0.079 0.001
23 -0.033 -0.036 0.100 -0.309 -0.035
24 0.023 0.009 -0.021 -0.038 -0.002
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.404 1.000
8 0.130 -0.015 1.000
9 -0.097 0.089 0.017 1.000
10 0.105 0.209 -0.013 0.091 1.000
11 0.228 0.039 -0.031 0.103 -0.091
12 -0.152 -0.064 0.011 0.181 0.131
13 0.475 0.552 0.010 -0.029 0.290
14 0.087 0.044 0.516 0.025 0.090
15 0.013 -0.119 0.064 -0.020 -0.139
16 -0.040 0.001 -0.066 0.155 -0.026
17 0.005 0.024 0.030 -0.163 -0.079
18 -0.127 -0.165 -0.017 -0.022 -0.054
19 -0.189 -0.036 -0.179 0.035 -0.037
20 0.000 -0.076 -0.234 -0.071 -0.077
21 0.161 0.047 0.171 -0.034 0.021
22 -0.008 -0.019 0.018 -0.008 0.009
23 0.028 -0.012 -0.138 0.042 -0.086
24 -0.005 0.057 0.127 -0.006 0.073
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 -0.082 1.000
13 -0.053 -0.092 1.000
14 -0.091 0.017 0.164 1.000
15 -0.004 -0.042 -0.062 0.060 1.000
16 0.104 0.016 -0.050 -0.038 0.172
17 -0.051 0.004 0.037 -0.003 -0.651
18 -0.085 -0.003 -0.129 -0.019 0.006
19 0.111 -0.064 -0.139 -0.195 -0.064
20 0.021 -0.122 -0.031 -0.155 0.123
21 -0.052 0.122 0.129 0.174 0.026
22 -0.086 -0.057 -0.013 0.037 0.075
23 -0.006 0.105 0.026 -0.088 0.031
24 -0.067 -0.073 0.031 0.104 -0.091
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.395 1.000
18 -0.047 0.046 1.000
19 0.049 -0.020 -0.041 1.000
20 -0.014 -0.053 0.107 -0.043 1.000
21 0.049 0.002 0.123 -0.862 0.037
22 -0.065 0.001 -0.643 -0.053 -0.034
23 0.089 -0.051 0.044 0.090 0.146
24 -0.030 0.088 -0.040 -0.009 -0.618
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.219 1.000
23 0.025 -0.094 1.000
24 -0.023 0.125 -0.547 1.000
|
d596453822278922263e29745875dd7ac7352532 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/DEPENDENCIES/gain_in_decibel_power.sci | 7e229817c73ac96c394c1144fbc06de6b9587883 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 81 | sci | gain_in_decibel_power.sci | function A_p_dB=gain_in_decibel_power(A_p)
A_p_dB=10*log10(A_p)
endfunction |
20aa99eebfb52f7bbf28b388d6e5c2924b97edd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH4/EX4.12/Ex4_12.sce | ce38d33e8af60a46bf0512f0b9e37f04deafd415 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex4_12.sce | //Ex4_12 Pg-245
clc
V=20 //source voltage
Vz=12 //zener voltage
Vr=V-Vz //voltage across resistor
Rs=330 //series resistance
disp("Voltage across resistor ")
printf(" = %.0f V \n ",Vr)
disp("Current through series resistor")
Iser=Vr/Rs //Current through series resistor
printf(" = %.1f mA \n ",Iser*10^3)
disp("Since Zener diode is in series with resistor, current through it is equal to current flowing through resistor,i.e 24.2mA ")
|
8ade4303f0ff537b5b906bb763745f59ad7b3748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH2/EX2.9/Ex2_9.sce | 8513216b26a83c0ac7b5cd037ec77b4aa710ea52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Ex2_9.sce | //Caption: Probability
//Example 2.9
//page no 46
//find the probability
clc;
clear;
PA=1/8;
PB=1/12;
probability_makingerror=1/10001;
probability=(PA*PB)/((PA*PB)+((1-PA)*(1-PB)*probability_makingerror));
disp(probability,"Probability of program is correct");
|
d915f7755b0378af3ce4f01e4741169ddb5846ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.2/1_2.sce | 412400fe67f5c880bbc273ad8c02af7bbfe84296 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 1_2.sce | //Chapter-1,Example 1_2,Page 1-16
clc()
//Given Data:
theta=40/3600*%pi/180 //angle of wedge in radians
B=0.12*10^-2 //fringe spacing
//Calculations:
//We know, B=lam/(2*u*theta). Here u=1
lam=2*B*theta //wavelength of light used
printf('Wavelength of light used is =%.10f m',lam)
|
14452b53161a3c6a33ad12fcb0985db317497de1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/arma/armac.sci | e0cf0ac7d0b3da36f894406d1928dd73aab3d8f0 | [
"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 | 941 | sci | armac.sci | function [ar]=armac(a,b,d,ny,nu,sig)
// just build a tlist for storing armacx coefficients
// A(z^-1)y= B(z^-1)u + D(z^-1)sig*e(t)
// a=<Id,a1,..,a_r>; matrix (ny,r*ny)
// b=<b0,.....,b_s>; matrix (ny,(s+1)*nu)
// d=<Id,d1,..,d_p>; matrix (ny,p*ny);
// ny : dim of observation y
// nu : dim of control u
// sig : standard deviation (ny,ny);
//
//!
// Copyright INRIA
[na,la]=size(a);
if na<>ny then
write(%io(2),"armac: a(:,1) must be of dimension "+string(ny));
return;
end
[nb,lb]=size(b);
if nb<>0 & nb<>ny then
write(%io(2),"armac: b(:,1) must be of dimension "+string(ny));
return;
end;
if lb<>0 & nu<>0 then
if modulo(lb,nu)<>0 then
write(%io(2),"armac: number of columns of b are incompatible with nu');
return;
end;
end
[nd,ld]=size(d);
if nd<>ny then
write(%io(2),"armac: d(:,1) must be of dimension "+string(ny));
return;
end
ar=tlist(['ar','a','b','d','ny','nu','sig'],a,b,d,ny,nu,sig);
|
80dbd744f2b684f22db0542459202112ad291a65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH9/EX9.4/Ex9_4.sce | a3f5378c28e970cf20abeb1c6f25004a0e367787 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Ex9_4.sce |
clc
clear
//Input data
sa1=10;//Cross section of nucleus in barns
N=2200;//Neutrons in m/s
En1=0.1;//Kinetic energy of neutrons increases in eV
En2=0.02525;//Kinetic energy of neutron in eV
//Calculations
sa2=sa1/[(En1/En2)^0.5];//The cross section of neutrons in barns
//Output
printf('The cross section of neutrons = %3.2f barns ',sa2)
|
86033e1457ab6d46f4dd7440ac25a21e0543cd8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.9/Exa_2_9.sce | ab356253e254fee383807de84e8a7919f173eac2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | Exa_2_9.sce | //Exa 2.9
clc;
clear;
close;
format('v',7);
//Given Data
deltaU=-4000;//KJ
W=-1.2;//KWh
W=W*3600;//KJ
Q=W+deltaU;//KJ/hr
disp(Q,"Net heat transfer in KJ/hr : ");
|
a15d7dc4c482bd52a735bc9877f2cb413983746b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH3/EX3.7/C3P7.sce | 54ea97241ff4f8eade8624b756ea708ed1569138 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,166 | sce | C3P7.sce |
clc
//to find net force on passenger ang scale reading while descending and ascending
// GIVEN::
//refer to figure 3-19(a) and3-19(b) from page no. 56
//mass of passenger
m = 72.2 // in Kg
//acceleration of elevator while descending
a0y = 0// in m/s^2
// acceleration of elevator while ascending
ay = 3.20//in m/s^2
//acceleration due to gravity
g = 9.81//in m/s^2
// SOLUTION:
//passenger while descending
//applying newton's second law
Fps_d = m*(g+a0y)//in m/s^2
Fps_d1 = Fps_d/(g*.4535)//in lb
//passenger while ascending
//applying newton's second law
Fps_a = m*(g+ay)//in m/s^2
Fps_a1 = Fps_a/(g*.4535)//in lb
printf ("\n\n Net force on passenger while descending Fps_d = \n\n %3i N" ,Fps_d);
printf ("\n\n Net force on passenger while descending Fps_d1 = \n\n %3i lb" ,Fps_d1);
printf ("\n\n Net force on passenger while ascending Fps_a = \n\n %3i N" ,Fps_a);
printf ("\n\n Net force on passenger while ascending Fps_a1 = \n\n %3i lb" ,Fps_a1);
printf ("\n\n Scale raeding will not change while descending due to constant acceleration whilescale reading will increase while ascending due to increase in acceleration");
|
5ad36c767b5e45340df11a425aa8e2cc7446a832 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH11/EX11.19/a_19.sce | 3b6fed7496980b1d5381b8e16b25cb75e193cbba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | a_19.sce | clc;
disp("Example A.19")
n=100 // in rpm
omega=2*%pi*n/60
r=0.05 // radius in m
u=r*omega // velocity in m/s
gap=0.001 // in m
mew=0.5 // in kg/ms
tau=mew*u/gap
disp(tau,"Shear stress is ")
|
c99b32972bf845ffc51b77cb924e67e1bd7cf7a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.19.1/ques19_1.sce | 32c0bcd1db4b8d0600ec62df3be7290d5a1dc673 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | ques19_1.sce | //error no output
//ques18
disp('To find the inverse laplace transform of the function');
syms s t a
f=s/(s^2+a^2)^2;
il=ilaplace(f,s,t);
disp(il);
|
de69a143b0f5902a52158aaef279d0063832e447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH18/EX18.6/Ex18_6.sce | 191d75d6cdd9b1af965c6ba0cba8f5bb7996172d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,968 | sce | Ex18_6.sce | //Calculations on two stroke engine
clc,clear
//Given:
N=450 //Engine speed in rpm
P=450 //Net load on brake in N
imep=2.9 //Indicated mean effective pressure in bar
m_f=5.4 //Fuel consumption in kg/h
deltaT_w=36.1 //Cooling water temperature rise in degreeC
m_w=440 //Mass of cooling water used in kg/h
A_F=31 //Air-fuel ratio
T1_g=20+273,T2_g=355+273 //Inlet and outlet temperature of exhaust gases blown in K
P1=76 //Atmospheric pressure in cm of Hg
d=22,l=27 //Bore and stroke in cm
D_b=1.5 //Effective diameter of the brake wheel in m
CV=44000 //Calorific value in kJ/kg
p=15 //Percentage of hydrogen by mass contained by the fuel
R=0.287 //Specific gas constant in kJ/kgK
cp_g=1.005,cp_s=2.05 //Specific heat for dry exhaust gases and superheated steam in kJ/kgK
//Solution:
ip=imep*10^2*l*%pi/4*d^2*N/(60)*10^-6 //Indicated power in kW
eta_it=ip*3600/(m_f*CV) //Indicated thermal efficiency
bp=2*%pi*N/60*(P*D_b/2)*10^-3 //Brake power in kW
bp=round(10*bp)/10
bsfc=m_f/bp*1000 //Brake specific fuel consumption in gm/kWh
V_s=(%pi/4)*d^2*l*10^-6*N //Swept volume in m^3/min
m_a=m_f*A_F/60 //Mass of air inhaled in kg/min
P1=1.0132 //Atmospheric pressure equivalent to 76 cm of Hg in bar
T1=293 //Atmospheric temperature in K
V_a=m_a*R*T1/(P1*100) //Volume of air inhaled in m^3/min
V_a=round(100*V_a)/100
eta_vol=V_a/V_s //Volumetric efficiency
//Heat balance sheet
Q1=m_f/60*CV //Heat input in kJ/min
Q_bp=bp*60 //Heat equivalent to brake power in kJ/min
cp_w=4.1868 //Specfic heat of water in kJ/kgK
Q_w=m_w/60*cp_w*deltaT_w //Heat in cooling water in kJ/min
m_e=m_a+m_f/60 //Mass of exhaust gases in kg/min
//Since, 2 mole of hydrogen gives 1 mole of water on combine with 1 mole of oxygen
//Thus, 1 mole of hydrogen gives 1/2 mole or 9 unit mass of water
m_h=m_f/60*p/100 //Mass of hydrogen in kg/min
m_s=9*m_h //Mass of steam in exhaust gases in kg/min
m_d=m_e-m_s //Mass of dry exhaust gases in kg/min
Q_d=m_d*cp_g*(T2_g-T1_g) //Heat in dry exhaust gases kJ/min
lv=2256.9 //Latent heat of vapourisation of water in kJ/kg
Q_s=m_s*((373-T1_g)+lv+cp_s*(T2_g-373)) //Heat in steam in exhaust gases in kJ/min
Q_r=Q1-Q_bp-Q_w-Q_d-Q_s //Heat in radiation in kJ/min
//Results:
printf("\n (a)The indicated thermal efficiency, eta_it = %.1f percent",eta_it*100)
printf("\n (b)Brake specific fuel consumption = %.1f gm/kWh",bsfc)
printf("\n (c)The volumetric efficiency, eta_vol = %.1f percent",eta_vol*100)
printf("\n\n Heat balance sheet\n\t Heat input = %.1f kJ/min, %d percent",Q1,Q1/Q1*100)
printf("\n\t Heat equivalent to b.p. = %.1f kJ/min, %.1f percent",Q_bp,Q_bp/Q1*100)
printf("\n\t Heat in cooling water = %.1f kJ/min, %.1f percent",Q_w,Q_w/Q1*100)
printf("\n\t Heat in dry exhaust gases = %.1f kJ/min, %.1f percent",Q_d,Q_d/Q1*100)
printf("\n\t Heat in steam in exhaust gases = %.1f kJ/min, %.1f percent",Q_s,Q_s/Q1*100)
printf("\n\t Heat in radiation = %.1f kJ/min, %.1f percent",Q_r,Q_r/Q1*100)
|
f959b271bc3cd837d80301fad2966e398479a985 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH10/EX10.10/Ex10_10.sce | 50e43475b78ba039d459cea8766b2a3c3057f144 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,443 | sce | Ex10_10.sce |
// Theory and Problems of Thermodynamics
// Chapter 10
// Chemical Thermodynamics
// Example 10
clear ;clc;
//Given data
// CO2(g) + H2O(g) => CO2(g) + H2(g)
T1 = 298 // intial temperature in K
T2 = 1000 // final temperature in K
del_H_1 = -110.53 // heat of formation of CO in kJ at 298 K
del_G_1 = -137.17 // Gibbs free energy of CO in kJ at 298 K
del_H_2 = -393.51 // heat of formation of CO2 in kJ at 298 K
del_G_2 = -394.36 // Gibbs free energy of CO2 in kJ at 298 K
del_H_3 = -241.82 // heat of formation of H2O in kJ at 298 K
del_G_3 = -228.57 // Gibbs free energy of H2O in kJ at 298 K
R = 8.314 // gas constant
// Calculations
del_G = del_G_2 - del_G_1 - del_G_3 // Gibbs free energy
K1 = exp(-del_G*1e3/(R*T1)) // equilibrium constant
del_H = del_H_2 - del_H_1 - del_H_3 // heat of reaction
//log(K2/K1) = (-del_H/R)*(1/T2-1/T1)
deff('y=cons(K2)', 'y = log(K2/K1) - (-del_H*1e3/R)*(1/T2-1/T1)')
K2 = fsolve(1,cons) // equilibrium constant
// Output Results
mprintf('(a) Gibbs free energy at 298 K and 0.1 MPa = %4.2f kJ' , del_G);
mprintf('\n Equilibrium constant at 298 K and 0.1 MPa = %4.4f E+05' , K1*1e-5);
mprintf('\n (b) Standard heat of reaction at 298 K and 0.1 MPa = %4.2f kJ' , del_H);
mprintf('\n Equilibrium constant at 1000 K and 0.1 MPa = %4.4f ' , K2);
|
385b565f8f1cb4d1810bdb932b86bea127ff6608 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH11/EX11.4.1/11_4_1.sce | 84025084517bbf160a2bdc3c401197ea4c156d6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | 11_4_1.sce |
//chapter_no.-11, page_no.-508
//Example_no.11-4-1
clc;
//(a)Calculate_the_K_factor
er=2.56//relative_dielectric_constant
w=25;//strip_width
t=14;//strip_thickness
d=70;//shield_depth
K=1/(1-(t/d));
disp(K,'the_K_factor is =');
//(b)Calculate_the_fringe_capacitance
Cf=((8.854*er)*((2*K*log(K+1))-((K-1)*log((K^2)-1))))/%pi;
disp(Cf,'the_fringe_capacitance(in pF/m)is =');
//(c) Calculate_the_characteristic_impedance_of_the_line
Z0=94.15/((((w/d)*K)+(Cf/(8.854*er)))*(sqrt(er)));
disp(Z0,'the_characteristic_impedance_of_the_line(in ohms)is =');
|
f3775ee1a545990608c5ab241d8a1f63c5d215cc | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH12/EX12.1/Ex12_1.sce | d5ca116cd25fb0df2ba90c9fe58d468a7e21a7d5 | [] | 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 | 1,362 | sce | Ex12_1.sce | errcatch(-1,"stop");mode(2);//Caption:Calculate (a)No load power factor (b)Core and friction loss (c)r_m (d)power factor on short circuit (e)Equivalent impedance in series circuit (f)Rotor resistance referred to stator (g)Stator leakage reactance (h)Rotor leakage reactance referred to stator
//Exa:12.1
;
;
P=3000//Power of motor(in watt)
V=415//Voltage supplied(in volts)
f=50//Frequency(in hertz)
p=6//Number of poles
pf=0.8//Power factor
I_n=3.5//No load current(in A)
P_n=250//Power input on no load test(in watt)
r_s=1.5//Stator resistance per phase(in ohm)
V_r=115//Reduced voltage applied at short circuit test(in volts)
I_s=13//Current supplied on short circuit test(in A)
P_s=1660//Voltage applied at short circuit test(in watt)
pfn=P_n/(sqrt(3)*V*I_n)
disp(pfn,'(a)Noload power factor=')
P_wf=P_n-(3*(I_n^2)*r_s)
disp(P_wf,'(b)Core and friction loss(in watt)=')
r_m=(V/sqrt(3))/(I_n*pfn)
disp(r_m,'(c)Resistance(in ohms)=')
pfs=P_s/(sqrt(3)*V_r*I_s)
disp(pfs,'(d)Power factor on short circuit=')
Ze=(V/sqrt(3))/((I_s*V)/V_r)
disp(Ze,'(e)Equivalent impedance in series circuit(in ohms)=')
R=(Ze*pfs)-r_s
disp(R,'(f)Rotor resistance referred to stator(in ohm)=')
X=(sqrt((Ze^2)-((Ze*pfs)^2)))
disp(X,'(g)Stator leakage reactance(in ohms)=')
x=X/2
disp(x,'(h)Rotor leakage reactance referred to stator(in ohms)=')
exit();
|
dc3f22cff4837c2d17beb385302b1b76048a17cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH4/EX4.23/Example4_23.sce | 59c90cd22ed5552b0677ed37ae68836e8c082fab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | Example4_23.sce | //Example 4.23.
clc
f=(1/(2*%pi*sqrt(0.33*0.065*10^-12)))*10^-6 // in MHz
format(6)
disp(f,"(i) f(in MHz) = 1 / 2*pi*sqrt(L*C) =")
ceq=0.065/1.065 // in pF
disp(ceq,"(ii) C_eq(in pF) = C*C_M / C+C_M =")
fp=(1/(2*%pi*sqrt(0.33*0.061*10^-12)))*10^-6 // in MHz
disp(fp,"(i) f_p(in MHz) = 1 / 2*pi*sqrt(L*C_eq) =")
pi=((1.121-1.087)/1.087)*100 // in percentage
disp(pi,"(iii) % increase =")
q=(2*%pi*1.087*0.33*10^6)/(5.5*10^3)
format(8)
disp(q,"(iv) Q = omega_x*L / R = 2*pi*f_s*L / R =")
|
b1a049bcf21bc518d811c54ea60f42c73f59673b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH1/EX1.1/Ex1_1.sce | a469fbcd26f5697c38ffc36a02daab9361995a19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | Ex1_1.sce | //Mohr's circle
clc;
sigma=((40+80)/2)
disp(sigma,"center of the circle in MPa = ")
//solution a
x=((80-40)^2);
y=30^2;
sigma1=60+sqrt((.25*x)+y)
disp(sigma1,"maxi pricipal stress in MPa = ");// displaying result
sigma2=60-sqrt((.25*x)+y)
disp(sigma2,"mini pricipal stress in MPa = ");// displaying result
theta1=((atand(30/20))/2)
disp(theta1,"pricipal stresses in degree");// displaying result
theta2=(((atand(30/20))+180)/2)
disp(theta2,"pricipal stresses in degree");// displaying result
//solution b
tau=sqrt((.25*x)+y)
disp(tau,"maxi shearing stress in MPa = ");// displaying result
theta3=theta1+45
disp(theta3,"stress in MPa = ");// displaying result
theta4=theta2+45
disp(theta4,"stress in MPa = ");// displaying result
//final solution in matrix form
p=[80 30 ;30 40]
disp(p)
q=[sigma1 0 ; 0 sigma2]
disp(q)
r=[sigma -tau ; -tau sigma]
disp(r)
|
b126477907b6040329de144141d059dd5d06875d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.17/example2_17.sce | d132632e5989ca3f7923f98cd732556520b70ec6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | example2_17.sce | clc
// Given that
lambda = 5e-7 // wavelength of light in meter
theta = %pi / 6 // half angular width of central maximum in first case in radian
theta_ = %pi / 2 // half angular width of central maximum in second case in radian
// Sample Problem 17 on page no. 2.44
printf("\n # PROBLEM 17 # \n")
m = 1 // for first minima
b1 = (lambda * m) / sin(theta) // calculation for slit width in first case
b2 = (lambda * m) / sin(theta_) // calculation for slit width in second case
printf("\n Standard formula used \n b = (lambda * m) / sin(theta). \n")
printf("\n Slit width in first case = %e meter. \n Slit width in second case = %e meter",b1,b2)
|
c96c9e3949a18abfe1a6ad3d0508d2df4e3e41b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH7/EX7.2/7_2.sce | e1be11af4669f34ada75fc0bd3ad634697371618 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 7_2.sce | clc
//initialisation of variables
m= 1 //gms
M= 63.54 //gms
e= 2 //farady
F= 96493
n= 3
//CALCULATIONS
t= (m/M)*(e*F/n)
//RESULTS
printf (' Time = %.f sec',t)
|
6be7da8ccb6e856d64779ebe22413a0ec19ec1d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH4/EX4.9.2/EX4_9_2.sce | c7e699cf106d28cfb16feaeed9550a94fae5cd41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX4_9_2.sce | //Example No. 4.9.2
clc;
clear;
close;
format('v',6);
le=61.4;//m
Irms=50;//A
lambda=625;//m
P=160*%pi^2*(le/lambda)^2*Irms^2;//kW
Rr=160*%pi^2*(le/lambda)^2;//Ω
disp(P*10^-3,"Power radiated in kW : ");
disp(Rr,"Radiation resistance in Ω : ");
|
872c39128b054b13e2437255bccfdefc1e76589f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH11/EX11.2/Exa11_2.sce | 50ebc789a564e7930fbbe35786850aa68575e6a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,222 | sce | Exa11_2.sce | //Exa 11.2
clc;
clear;
close;
disp("The method of finding the economic life of the machine witha discounting factor of 20% at zero inflation rate is summarized in table below. From the table it is clear that total annual cost is minimum if the machine is used for 14 years. Hence the economic life of the machine is 14 years.");
disp("End of year Op_cost Main_cost Op+Main P/F,i,n PW Cummulative Salvage PW_S TPW A/P,i,n AEM");
i=20;//in per year
Cum=0;//initialising
Op_cost=40000;//in RS.
Main_cost=60000;//in Rs.
OpMain=Op_cost+Main_cost;//in Rs.
S=400000;//in Rs.
for n=1:15
PF=1/((1+i/100)^n);
PW=OpMain*PF;//in Rs.
Cum=Cum+PW
PW_S=PF*S;//in RS.
TPW=500000+Cum-PW_S;//in Rs.
AP=((i/100)*(1+i/100)^n)/(((1+i/100)^n)-1);
AEM=TPW*AP;//in RS
disp(" "+string(n)+" "+string(Op_cost)+" "+string(Main_cost)+" "+string(OpMain)+" "+string(PF)+" "+string(PW)+" "+string(Cum)+" "+string(S)+" "+string(PW_S)+" "+string(TPW)+" "+string(AP)+" "+string(AEM));
Op_cost=Op_cost+5000;//in Rs.
Main_cost=Main_cost+6000;//in Rs.
S=S-50000;//in Rs.
end |
ca718212ad708e07fce1e2ee4d84ec74f287b42e | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH6/EX6.5.a/example6_5_a.sce | fb8dca9e36c49709e08a912d018e7d1f474b9ade | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,013 | sce | example6_5_a.sce |
clear;
clc;
printf("\t Example 6_5_a\n");
//table 6.5.1
//S.NO. Time (Hr) weight of wet material(kg)
// 0.0 5.314
// 0.4 5.238
// 0.8 5.162
// 1.0 5.124
// 1.4 5.048
// 1.8 4.972
// 2.2 4.895
// 2.6 4.819
// 3.0 4.743
// 3.4 4.667
// 4.2 4.524
// 4.6 4.468
// 5.0 4.426
// 6.0 4.340
// infinite 4.120
w=[5.314 5.238 5.162 5.124 5.048 4.972 4.895 4.819 4.743 4.667 4.524 4.468 4.426 4.340 4.120]
t=[0.0 0.4 0.8 1.0 1.4 1.8 2.2 2.6 3.0 3.4 4.2 4.6 5.0 6.0]
//part(i)
x=4.120; //weight of the dried material
printf("\n moisture content (dry basis) ");
i=1; //looping starts
while(i<16) //calculation of moisture content
p(i)=(w(i)-x)/x;
printf("\n :%f",p(i));
i=i+1;
end
printf("\n \n Drying rate kg/hr*m^2");
i=2;
while(i<15)
a(i)=(p(i-1)-p(i))*4.12/(t(i)-t(i-1));
printf("\n :%f ",a(i));
i=i+1;
end
a(1)=.19;
a(15)=0;
printf("\n\n from the above data it is clear that critical moisture content Xcr=0.11");
plot(p,a,"o-");
title("Fig.6.19(a) Example3 Drying Rate curve");
xlabel("X-- Moisture content, X(kg/kg) ---->");
ylabel("Y-- Drying Rate, N(kg/hr.m^2 ---->");
//end |
7df49d3bd23d93c458576d9596a0d1907611e78b | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/pchip/pchip4.sce | 595de28887fa8c013517ac5e521f6ff04ebde3cb | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | pchip4.sce | x = [-3 -2 -1; 0 1 2 ;4 1 2];
y = [-1 -1 -1; 0 1 1;2 3 1];
t = -3:.01:3;
p = pchip(x,y,t);
disp(p);
////output
//!--error 9999
//Inconsistent element-wise operationat line 40 of function pchip called by :
//p = pchip(x,y,t);
//
|
a7c76611aed3cc330a021e57b177e102048c034f | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map3201.sce | a4b0bee26e8d94c79e7c5838306c533319955303 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,335 | sce | map3201.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map3201" Width="13" Height="9" CellSize="40" BackgroundSize="3" Background="ditu.png">
<Cell Name="出生点" X="1" Y="1" />
<Cell Name="箱子1" X="3" Y="1" />
<Cell Name="箱子1" X="5" Y="1" />
<Cell Name="箱子1" X="6" Y="1" />
<Cell Name="箱子1" X="7" Y="1" />
<Cell Name="箱子1" X="9" Y="1" />
<Cell Name="出生点" X="11" Y="1" />
<Cell Name="方尖碑" X="2" Y="2" />
<Cell Name="箱子1" X="3" Y="2" />
<Cell Name="箱子1" X="4" Y="2" />
<Cell Name="方尖碑" X="5" Y="2" />
<Cell Name="箱子1" X="6" Y="2" />
<Cell Name="方尖碑" X="7" Y="2" />
<Cell Name="箱子1" X="8" Y="2" />
<Cell Name="箱子1" X="9" Y="2" />
<Cell Name="方尖碑" X="10" Y="2" />
<Cell Name="箱子1" X="1" Y="3" />
<Cell Name="箱子1" X="2" Y="3" />
<Cell Name="方尖碑" X="3" Y="3" />
<Cell Name="箱子1" X="4" Y="3" />
<Cell Name="箱子1" X="8" Y="3" />
<Cell Name="方尖碑" X="9" Y="3" />
<Cell Name="箱子1" X="10" Y="3" />
<Cell Name="箱子1" X="11" Y="3" />
<Cell Name="方尖碑" X="1" Y="4" />
<Cell Name="箱子1" X="2" Y="4" />
<Cell Name="箱子1" X="3" Y="4" />
<Cell Name="箱子1" X="4" Y="4" />
<Cell Name="方尖碑(大型建筑)" X="6" Y="4" arg0="3" arg1="2" arg2="0,2" />
<Cell Name="箱子1" X="9" Y="4" />
<Cell Name="箱子1" X="10" Y="4" />
<Cell Name="方尖碑" X="11" Y="4" />
<Cell Name="箱子1" X="1" Y="5" />
<Cell Name="方尖碑" X="3" Y="5" />
<Cell Name="箱子1" X="4" Y="5" />
<Cell Name="箱子1" X="6" Y="5" />
<Cell Name="箱子1" X="7" Y="5" />
<Cell Name="箱子1" X="8" Y="5" />
<Cell Name="方尖碑" X="9" Y="5" />
<Cell Name="箱子1" X="11" Y="5" />
<Cell Name="方尖碑" X="1" Y="6" />
<Cell Name="出生点" X="2" Y="6" />
<Cell Name="箱子1" X="4" Y="6" />
<Cell Name="方尖碑" X="5" Y="6" />
<Cell Name="箱子1" X="6" Y="6" />
<Cell Name="方尖碑" X="7" Y="6" />
<Cell Name="箱子1" X="8" Y="6" />
<Cell Name="方尖碑" X="10" Y="6" />
<Cell Name="方尖碑" X="2" Y="7" />
<Cell Name="箱子1" X="3" Y="7" />
<Cell Name="箱子1" X="5" Y="7" />
<Cell Name="箱子1" X="7" Y="7" />
<Cell Name="箱子1" X="8" Y="7" />
<Cell Name="箱子1" X="9" Y="7" />
<Cell Name="出生点" X="11" Y="7" />
</Project> |
a8e02a12a9f06a9656f43eaac21cbb57ced24bcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH10/EX10.4/Ex10_4.sce | 079368bcd4bd8956b97c2149b690e3fd174ad2af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,093 | sce | Ex10_4.sce | clc
y1=0.75 //H2
y2=0.25 //N2
CP1=28.6455
CP2=29.1783
CP=(y1*CP1)+(y2*CP2)
mprintf("CP=%fkJ/kmol K\n",CP)//ans vary due to roundoff error
Cv1=20.3311
Cv2=20.8641
Cv=(y1*Cv1)+(y2*Cv2)
mprintf("Cv=%fkJ/kmol K\n",Cv)//ans vary due to roundoff error
gama=CP/Cv
mprintf("gamma=%f\n",gama)//ans vary due to roundoff error
P1=100 //pressure in kPa
P2=500 //pressure in kPa
T1=300
T2=T1*((P2/P1)^((gama-1)/gama))
mprintf("T2=%fK\n",T2)//ans vary due to roundoff error
ws=-CP*(T2-T1)
mprintf("-ws=%fkJ/kmol\n",-ws)//ans vary due to roundoff error
M1=2.016
M2=28.013
M=(y1*M1)+(y2*M2)
mprintf("Molar mass=%fkg/kmol\n",M)//ans vary due to roundoff error
Ws=-(-ws/M)
mprintf("-Ws=%fkJ/kg of mixture\n",-Ws)//ans vary due to roundoff error
R=8.314
deltas1=(CP1*log(T2/T1))-(R*log(P2/P1))
mprintf("s2-s1=%fkJ/kmol K\n",deltas1)//ans vary due to roundoff error
deltas2=(CP2*log(T2/T1))-(R*log(P2/P1))
mprintf("s2-s1=%fkJ/kmol K\n",deltas2)//ans vary due to roundoff error
deltas=(y1*deltas1)+(y2*deltas2)
mprintf("s2-s1=%fkJ/kmol K",deltas)//ans vary due to roundoff error
|
a8f638761aa64beccf1d59e2a3aaa9fce267d909 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH1/EX0.7/EXI_7.sce | 4e0f0cb53a82b710f579d858e04ed61c7cfcf26a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | EXI_7.sce | // Grob's Basic Electronics 11e
// Chapter No. I
// Example No. I_7
clc; clear;
// Express the power value of 250-W using the appropriate metric prefix from Table I–2.
disp ('In this case, it is not necessary to use any of the metric prefixes listed in Table I–2. The reason is that 250-W cannot be expressed as a number between 1 and 1000 times a power of 10 which is a multiple of 3.')
disp ('250 W cannot be expressed in engineering notation. The closest we can come is 0.25*10^3-W, which is not representative of engineering notation. Although 10^3 can be replaced with the metric prefix kilo (k)')
disp ('It is usually preferable to express the power as 250-W and not as 0.25-kW.')
|
286ed115e05c64d7d0922f3fe6de8b90588ad42c | d7ec0352fdd4cf451ee9dd6bac2218fb96c24c0f | /src/gui/qml/img/imgbackground.sci | b39300c2f1c0de29c7b2bf9d354217e59b2727a3 | [] | no_license | mireq/facedetect | d3fc340926a54e144dcf09ef4a814a77cbc9afde | 94ab039149efb2d8f1496c6042bf3a6b133bb49e | refs/heads/master | 2021-01-22T04:33:34.209921 | 2011-05-13T01:08:47 | 2011-05-13T01:08:47 | 1,525,248 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sci | imgbackground.sci | border.left: 7
border.right: 7
border.bottom: 7
border.top: 7
source: imgbackground.png
|
d9da3572498bab76a4db7852f5ff5a268ad8445c | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.22/2_22.sci | 5e2d978bf0ee45a8872481cc358b2bcee2b33a73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 100 | sci | 2_22.sci | //calculating the Resolution
clc;
Fs=200;
D=100;
SD=Fs/D;
R=SD/10;
disp(R,'resolution (V)=')
|
e1d536eb5fb1bff314d8378fbcebbbd014d11862 | b32474ae2727233775f44c71edfe1f10b6a3430f | /lagrange.sci | 4d045fe93bdb470d448eb0dbca18193e128e22bd | [] | no_license | lucaslyon96/scilab | 8400b98c25dafa13069dd64bd391c15218323575 | 8fe45fd3bd27ab21490682874f72f9c20c8717e1 | refs/heads/master | 2020-03-18T12:25:20.253687 | 2018-05-24T14:49:08 | 2018-05-24T14:49:08 | 134,725,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sci | lagrange.sci | function s = lagrange(x,y,p)
tam=length(x)
s=0
for i=1:tam
l=1
for j=1:tam
if j~=i
l=l*(p-x(j))/(x(i)-x(j))
end
end
s=s+y(i)*l;
end
endfunction
|
5f707eb83857c68c7daf7252115c136fca994ddf | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/borda2cadeia.sci | 4bd5e28dcd21ec82fcac8b33f726d00e303dcc3a | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 1,180 | sci | borda2cadeia.sci | function C=borda2cadeia(I,x,y) //I é a imagem binária e x,y são as coordenadas
//colocação de bordas adicionais
[M,N]=size(I);
Ii=zeros(M+2,N+2);
Ii(2:M+1,2:N+1)=I(1:M,1:N);
I=Ii;
//posição inicial de busca
x=x+1;
y=y+1;
X=x;
Y=y;
//preparação
C=zeros(1,2);
i=0;
B=4;
FLAG=0
//inicio das buscas
while(FLAG==0)
i=i+1;
if((I(X,Y+1)==1)&(B~=0)) //direção 0
C(i)=0;
Y=Y+1;
B=4; //direção contrária (não consid. na prox.iteração)
elseif((I(X+1,Y+1)==1)&(B~=7)) //direção 7
C(i)=7;
B=3;
X=X+1;
Y=Y+1;
elseif((I(X-1,Y+1)==1)&(B~=1)) //direção 1
C(i)=1;
B=5;
X=X-1;
Y=Y+1;
elseif((I(X+1,Y)==1)&(B~=6)) //direção 6
C(i)=6;
B=2;
X=X+1;
elseif((I(X-1,Y)==1)&(B~=2)) //direção 2
C(i)=2;
B=6;
X=X-1;
elseif((I(X+1,Y-1)==1)&(B~=5)) //direção 5
C(i)=5;
B=1;
X=X+1;
Y=Y-1;
elseif((I(X-1,Y-1)==1)&(B~=3)) //direção 3
C(i)=3;
B=7;
X=X-1;
Y=Y-1;
elseif((I(X,Y-1)==1)&(B~=4)) //direção 4
C(i)=4;
B=0;
Y=Y-1;
end
if((X==x)&(Y==y))
FLAG=1;
end
end
endfunction
|
fb51dcab214b32f20f696a8a91b1bd5abb4cc7a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH29/EX29.04/29_04.sce | e00a0d3a1b4c0b84ebfdf145f584c1d4c8a2efda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | 29_04.sce | //Problem 29.03: A two-branch parallel network is shown in Figure 29.8. Determine the resonant frequency of the network.
//initializing the variables:
RL = 5; // in ohms
L = 0.002; // IN Henry
C = 25e-6; // IN fARADS
Rc = 3; // in ohms
//calculation:
//Resonant frequency, for parallel
fr = (1/(2*%pi*((L*C)^0.5)))*((RL^2 - (L/C))/(Rc^2 - (L/C)))^0.5
printf("\n\n Result \n\n")
printf("\n resonant frequency, fr is %.2f Hz",fr) |
39675649aab8f63db6d43da5d891a774fa3b8d0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH10/EX10.10/10_10.sce | 6e5d4d6598af71ff4a4368b74ae22cddca31f225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_10.sce | clear
clc
//Example 10.10
disp('Example 10.10')
s=%s;
Gp=1/(5*s+1);
Gm=1/(s+1);
Gv=1/(2*s+1);
Ys=Gv*Gp*Gm
Routh=routh_t(Ys,poly(0,"Kc")); // produces routh table for polynomial 1+Kc*Ys
disp(Routh)
K1=roots(numer(Routh(3,1)));
K2=roots(numer(Routh(4,1)));
mprintf('K lies between %f and %f for system to be stable', K2,K1)
|
a26f10659833d40ade542f497a6517e0fed2ae15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH13/EX13.15/Ex13_15.sce | 783418ac7e6d0096b8cac5898c8d46996b5c79af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | Ex13_15.sce | //Initilization of variables
g=9.8 //m/s^2
//Calculations
//Simplfying the equations we can solve for T2 and aA first to obtain the solution
//Solving by matrix method
A=[-1.5,-4;-3.5,24]
B=[-4*g;-24*g]
C=inv(A)*B
T2=C(1) //N
T1=T2/2 //N
T3=T2/2 //N
//Acceleration calculations
a1=1*g-T1 //m/s^2
a2=(2*g-T1)/2 //m/s^2
a3=(3*g-T3)/3 //m/s^2
a4=(4*g-T3)/4 //m/s^2
//Tension in fixed cord
T_f=2*T2 //N
//Result
clc
printf('The acceleration values are a1=%f,a2=%f,a3=%f and a4=%f m/s^2\n The tension in the fixed cord is %fN',a1,a2,a3,a4,T_f)
|
75eee8b24a117c25a69f8b50e6fc6bc48c19d001 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH9/EX9.2/Example9_2.sce | b2d9484725d58fe51cb95bd61089fed29150c3d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | Example9_2.sce | ///Chapter 9 Law Of Thermodynamics
///Example 9.2 Page No:166
///Find Quantity of heat transferred
///Input data
clc;
clear;
//During compression
W1=-9200; //Stroke work done by the piston in Nm
Nm1=-9.2; //Nm of work done
Q1=-50; //Heat rejected during copression in KJ
//During expansion
W2=8400; //Stroke work done by the piston in Nm
Nm2=8.4; //Nm of work done
///Calculation;
//Quantity of heat transferred
Q2=-((Nm1+Nm2)+Q1); //-sign for indicate heat is transferred
///Output
printf('Quantity of heat transferred= %f KJ \n',Q2);
|
34702363ffc3c9d36e4579910a03f92f6344abed | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH14/EX14.5/example14_5.sce | ede12f09e123bc3cb3f347d8e93297518dd6b27f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,413 | sce | example14_5.sce | //Chapter 14
//Example 14_5
//Page 363
clear;clc;
i1=5;
i2=14.08;
pf1=0.8;
pf2=0.85;
l1=600;
l2=400;
hp=10;
n=0.90;
vb=400;
r=1;
x=0.5;
z=r+%i*x;
Zac=z*l1/1000;
Zcb=z*l2/1000;
printf("Impedance of distributor/km = %.2f+j(%.2f) ohm \n\n", real(z), imag(z));
printf("Impedance of section AC = Zac = %.2f+j(%.2f) ohm \n", real(Zac), imag(Zac));
printf("Impedance of section CB = Zcb = %.2f+j(%.2f) ohm \n\n\n", real(Zcb), imag(Zcb));
Vb=vb/sqrt(3)+%i*0;
printf("Voltage at point B taken as the reference vector = %.0f+j%.0f \n", real(Vb), imag(Vb));
Ib=hp*746/sqrt(3)/vb/n/pf2;
I2=i2*(pf2-%i*sin(acos(pf2)));
I1=i1*(pf1-%i*sin(acos(pf1)));
Iac=I2+I1;
Icb=I2;
Vcb=Icb*Zcb;
Vac=Iac*Zac;
Va=Vb+Vcb+Vac;
printf("Line current at B = %.2f A \n\n", Ib);
printf("Load current at point B = %.2f+j(%.2f) A \n", real(I2), imag(I2));
printf("Load current at point C = %.2f+j(%.2f) A \n\n", real(I1), imag(I1));
printf("Current in section CB = %.2f+j(%.2f) A \n", real(Icb), imag(Icb));
printf("Current in section AC = %.2f+j(%.2f) A \n\n", real(Iac), imag(Iac));
printf("Voltage drop in section CB = %.2f+j(%.2f) A \n", real(Vcb), imag(Vcb));
printf("Voltage drop in section AC = %.2f+j(%.2f) A \n\n", real(Vac), imag(Vac));
printf("Voltage at A/phase = %.2f+j(%.2f) A \n\n", real(Va), imag(Va));
printf("Magnitude of Va/phase = %.2f V \n\n", abs(Va));
printf("Line voltage at A = %.2f V \n\n", abs(Va)*sqrt(3));
|
b6bb3fe7e2add5eb0cc5caac78125bf8befc0166 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH10/EX10.8/10_8.sce | 8967a47bd4f4f49f72729766dd366d0eb827158a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | 10_8.sce | clc
//Intitalisation of variables
clear
Kc= 1.08*10^-5
n= 2 //moles
v= 0.45 //lit
n1= 0.5 //mole
//CALCULATIONS
y= (-Kc*v+sqrt(Kc^2*v^2+4*Kc*v*n1*n^2))/(2*n^2)
c= 2*y/v
//RESULTS
printf ('y = %.2e mole',y)
printf ('\n concentration of NO2 = %.2e mole per liter',c)
|
02efd028bb0a339abc021e3a4d136c26cf5775e1 | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /cir_conv_freq_domian.sce | f3a207009e04b19c775a9939a8c4253b2f7980fc | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236192 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | cir_conv_freq_domian.sce | clc;
clear;
close;
x1=input('x(n)=');
x2=input('h(n)=');
L1=length(x1);
L2=length(x2);
N=max(L1,L2);
x1=[x1,zeros(1,N-L1)];
x2=[x2,zeros(1,N-L2)];
//circular convolution in freq domain
X1=fft(x1);
X2=fft(x2);
Y=X1.*X2;
y=ifft(Y);
disp(y,'Circular Convolution y=')
subplot(3,1,1);plot2d3(x1);xtitle('input signal x1','n','x1[n]');
subplot(3,1,2);plot2d3(x2);xtitle('input signal x2','n','x2[n]');
subplot(3,1,3);plot2d3(Y);xtitle('output signal Y','n','Y[n]');
|
0ed18eb0b42d18832680842ffa01f99265a876c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH5/EX5.45.a/ex_5_45a.sce | 1877446c7a78472c3c7d9766dbd07875b2cffe05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_5_45a.sce | clear;
clc;
close;
disp("dy(t)/dt+2y(t)=x(t)");
w=0:0.1:10;
t=w;
dw=.1;
Xw=ones(1,length(w))./(1+%i*w);
Hw=ones(1,length(w))./(2+%i*w);
Yw=Xw.*Hw;
y=Yw*exp(%i*t'*w)*dw*.31;
d=gca()
plot(t,y);
poly1=d.children.children;
poly1.thickness=3;
poly1.foreground=2;
xtitle('y(t)','t')
yy=exp(-t)-exp(-2*t);
disp("y(t)=exp(-t)-exp(-2*t)")
figure
d=gca()
plot(t,yy);
poly1=d.children.children;
poly1.thickness=3;
poly1.foreground=2;
xtitle('y(t)','t') |
bc91d5f4dda96c5f93d424f71499a0a805acae2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.12/Ex34_12.sce | 5f4b841d2539af131d819803d0bc18b03e8908c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,274 | sce | Ex34_12.sce | // Example 34_12
clc;funcprot(0);
//Given data
C_1=5000;//Cost of first unit in Rupees
MD_1=100;// Maximum demand in kW
C_2=14000;//Cost of second unit in Rupees
MD_2=60;// Maximum demand in kW
n=40000;// Useful life in hours
C_e=80;//Energy charge per kW in Rupees/year
C_kwh=5/100;//Energy charge per kW-hr in Rupees
//Calculation
//(a)First unit
Cc=C_1/n;// Capital cost of unit per hour in Rupees
C_MD=((MD_1*C_e)/8760);// Charge for maximum demand per hour in Rupees
C_eh=MD_1*1*C_kwh;// Energy charge per hour in Rupees
TC_1=Cc+C_MD+C_eh;// Total charges per hour for the operation of first unit in Rupees
//(b)Second unit
Cc=C_2/n;// Capital cost of unit per hour in Rupees
C_MD=((MD_2*C_e)/8760);// Charge for maximum demand per hour in Rupees
C_eh=MD_2*1*C_kwh;// Energy charge per hour in Rupee
TC_2=Cc+C_MD+C_eh;// Total charges per hour for the operation of second unit in Rupees
printf('\n(a)Total charges per hour for the operation of first unit=Rs.%0.3f\n(b)Total charges per hour for the operation of second unit=Rs.%0.3f',TC_1,TC_2);
if(TC_1>TC_2)
printf('\n The second unit is more economical than first unit in this case.');
else
printf('\n The first unit is more economical than second unit in this case.');
end
|
7f79f0e13ed1d3a07986928594827474b4aa51ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.9/5_9.sce | d40cacb025bb0a5bbde930a53a3a9fbbc30a91d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | 5_9.sce | dHfDiam=-94.50;//heat of formation value of Diamond in kcal//
dHfGrap=-94.05;//Heat of formation value of Graphite in kcal//
dHf=dHfGrap-dHfDiam;//Enthalpy change when graphite converted to diamond in Kcal//
printf('Enthalpy change when graphite converted to diamond=%fKcal',dHf);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.