blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8ad1c13aa0f1f2bcf156fb593302b09b40d887f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH9/EX9.2/Exa9_2.sce | bf84237b8474c42968e2d520b84fee151d70fc20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | Exa9_2.sce | //Exa 9.2
clc;
clear;
close;
//given data :
P=200;//in KW
D=20;//in Km
D=D*10^3;//in m
E=300*sqrt(P)/D;//in V/m
disp(E*10^3,"Field Strength at 20 Km in mV/m:") |
257b6896a6f2b3bf477b44b18d03e5b70e74a2d4 | fefad5173ecf4ad969ad099f049914ffbce3f491 | /sample.sci | a60932f72a53edf586acebbd1bb3fdfcd99d6507 | [] | no_license | manojgudi/yelp | a5335a8eb0981aaed4170d7869bd4cc0e36c08c0 | 0a12e0c9f2e045317224638b19136dac1a8f9396 | refs/heads/master | 2020-05-03T05:04:35.128422 | 2013-06-18T08:56:42 | 2013-06-18T08:56:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,095 | sci | sample.sci |
// Functions for qualitative feature extraction
//## Sample
//line
//to be
//commented ##
//## another sample
//line to be commented ##
exec sample_header2.sci
exec abc.sce
exec some_folder/yass.sci
exec sample_header.sci
exec sample.sci
// function [NOO] = vector(something)
// exec this_wont_be_expanded.sci
// Some random pre-existsing comments
// functions
function [output1, output3] = sample_function(inputargs)
endfunction
function [output2] = sample_function2(inputargs)
function [sum_vector, variable_with_no_return_assigned] = vector_sum(image_mat, mode_str)
image_mat_size = size(image_mat);
select mode_str
case "cols" then // Sum of each column
cols_sum = []
for i = 1 : image_mat_size(2)
col_sum(1,$+1) = sum(image_mat(:,i)); // col_sum is row vector
end
sum_vector = col_sum;
col_sum = [];
case "rows" then // Sum of each row
row_sum = []
for i = 1 : image_mat_size(1)
row_sum(1,$+1) = sum(image_mat(i,:)); // row_sum is row vector
end
sum_vector = row_sum;
row_sum = [];
else
printf("check for args");
end
endfunction
|
307ebd8f8468018330fee999a7527ae862dfe50d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.12/Ex2_12.sce | 5eae2205f82780d973fc147bca3f182cdfb3ad3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | Ex2_12.sce | clear
//
//
//
//Variable declaration
lamda=6000*10**-10 //wavelength(m)
a=12*10**-7 //slit width(m)
//Calculation
theta=asin(lamda/a)*180/%pi //half angular width(degrees)
//Result
printf("\n half angular width is %0.0f degrees",theta)
|
33b4f3b1dedc16ed19131f3d19ee4e08ee5aab6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH7/EX7.11/EX7_11.sce | 421c80341a3d51498466de802f7a9459dbe1b05b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | EX7_11.sce | clc;funcprot(0);//EXAMPLE 7.11
//page 199
// Initialisation of Variables
N=5.256*10^5;......//No. of cycles that the shaft will experience in one year
F=12500;.........//applied load on shaft in lb
L=96;...........//Length of Kliin produced from tool steel in in.
sigma1=72000;...........//the applied stress on Shaft
f=2;............//Factor of saftey of shaft
sigma2=sigma1/f;......//the maximum allowed stress level
//CALCULATIONS
d1=(16*F*L/(sigma1*%pi))^(1/3);..........//The Diameter of Shaft in in.
d2=(16*F*L/(sigma2*%pi))^(1/3);.......//The minimum diameter required to prevent failure
disp(d1,"The Diameter of Shaft in in.:")
disp(d2,"The minimum diameter required to prevent failure in in.:")
|
e1732287e8ddd8b5c8200b21bc5b2e48d2ee9a25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.35/35.sce | 0fea0a9e517aa632abb59c5088d590528e40fe27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | 35.sce | clc
clear
//Input data
W=20000 //Power developed in kW
m=12 //Mass flow rate in kg/s
C1=50 //Velocity of air entering in m/s
T1=700+273 //Temperature of air entering in K
T2=298 //Temperature of air leaving in K
C2=125 //Velocity of air leaving in m/s
Cp=1.005 //Specific heat capacity at constant pressure in kJ/kg-K
//Calculation
dh=Cp*(T2-T1) //Change in enthalpy in kJ/kg
Q=((m*dh)+W-(m*(1/2000)*(C2^2-C1^2))) //The rate of heat transfer in kJ/s
//Output
printf('The rate of heat transfer is %3.2f kJ/s',Q)
|
0fe67974e0a379f3c169dbca4f81c6ad86a053db | ae90aa32e949a5eab9665f526f886f05860161d2 | /code/nand2tetris/08/FunctionCalls/FibonacciElement/FibonacciElement.tst | f92caaf936212141c8e0791691a9fc1f3bfbba73 | [
"CC-BY-SA-3.0",
"MIT"
] | permissive | cccbook/sp | 4097ab760cfb013b689dc4739a439de29d85d324 | aff23e6b18ba6221022b14b024fd562427c46d9a | refs/heads/master | 2022-05-22T03:31:33.324045 | 2019-06-06T07:04:37 | 2019-06-06T07:04:37 | 156,299,694 | 257 | 96 | MIT | 2022-03-19T08:48:32 | 2018-11-05T23:56:37 | Assembly | UTF-8 | Scilab | false | false | 466 | tst | FibonacciElement.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/08/FunctionCalls/FibonacciElement/FibonacciElement.tst
// FibonacciElement.asm is the result of translating both Main.vm and Sys.vm.
load FibonacciElement.asm,
output-file FibonacciElement.out,
compare-to FibonacciElement.cmp,
output-list RAM[0]%D1.6.1 RAM[261]%D1.6.1;
repeat 6000 {
ticktock;
}
output;
|
524178987b85d7de6a2116d26dd58d52c5866b94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH5/EX5.4/example5_4.sce | 263b0d244dd52af325082ad7736f525f840e8bf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example5_4.sce | clear
clc
//Example 5.4 MASS ACCUMULATION IN A TANK
A=0.0025; //area[m^2]
V=7; //velocity[m/s]
rho=1000; //density[kg/m^3]
mi=rho*V*A //inlet mass flow rate[kg/s]
Q=0.003; //[m^3/s]
mo=rho*Q //outlet mass flow rate[kg/s]
//Continuity equation, mcv+mo-mi=0
mcv=mi-mo //accumulation rate[kg/s]
printf("\nThe rate of water accumulating in the tank = %.1f kg/s.\n",mcv) |
2ef8447412463f99a8740c99cdd3fa93aa28770c | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab09_18i190002/ex1b.sce | 91e0d12881544b2c55599cbeb7e6d67802871e7a | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | ex1b.sce | clc,clear
exec('milk.sce',-1)
to_be_sold=zeros(500,1)
//to_be_sold be the column vector that will tell us the amount of milk Akbar will decide to sell
//we want to know the expected profit of akbar if he packs 1000L
for (i=1:500)
to_be_sold(i)=to_be_sold(i)+1000
end
profit=[]
//Will tell the profit of each day in Rupees
for i=1:500
if demand(i)>=to_be_sold(i)
x=38*to_be_sold(i)-32*to_be_sold(i)
else
x=38*demand(i)+30*(to_be_sold(i)-demand(i))-32*to_be_sold(i)
end
profit=[profit',x']'
end
printf('The Mean of the profit is %f\n',mean(profit))
|
a205d43c78031c32f1c9519daddf10832ab4bb3e | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.8_18.tst | afce99bf672c3636ed875c1c81898ddc456096e3 | [] | 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 | 23,737 | tst | bow.8_18.tst | 8 13:0.25 24:0.5 25:0.5714285714285714 40:0.5 49:4.0 65:1.0 76:1.0 77:1.0 88:0.5 90:0.6666666666666666 106:0.16666666666666666 123:0.023255813953488372 156:0.5 162:1.0 187:1.0 303:1.0 331:1.0 420:1.0 639:1.0 700:1.0 798:1.0 991:1.0 1167:1.0 1216:1.0 1217:1.0 1315:1.0 1318:1.0 1398:2.0 2135:1.0 2418:1.0 2581:1.0 3196:1.0 3447:1.0 4383:1.0 4950:1.0 7173:1.0
8 6:1.0 24:1.0 34:0.2 47:1.0 49:1.0 88:0.75 98:0.3333333333333333 106:0.16666666666666666 123:0.023255813953488372 286:1.0 297:1.0 376:1.0 402:1.0 404:0.3333333333333333 472:0.5 944:1.0 991:1.0 1051:1.0 1066:1.0 1081:1.0 1229:1.0 1256:1.0 1261:1.0 2296:1.0 3599:1.0 3885:1.0 7853:1.0
8 7:0.14285714285714285 20:0.2 40:0.5 49:1.0 90:0.6666666666666666 123:0.023255813953488372 142:0.5 143:1.0 176:1.0 210:0.14285714285714285 303:1.0 373:0.25 388:1.0 452:0.5 533:1.0 639:1.0 989:0.3333333333333333 1498:1.0 1706:1.0 2054:1.0 2384:1.0 3114:0.5 4421:1.0
8 13:0.25 23:2.0 24:0.5 25:0.2857142857142857 31:0.16666666666666666 32:0.5 34:0.2 79:1.0 88:0.25 107:0.5 123:0.023255813953488372 133:0.14285714285714285 135:1.0 186:1.0 220:0.3333333333333333 226:1.0 227:1.0 303:1.0 330:1.0 373:0.5 492:0.16666666666666666 585:0.5 737:1.0 893:1.0 1014:1.0 1371:0.5 1480:1.0 1766:1.0 1867:0.5 2476:1.0
8 6:1.0 7:0.14285714285714285 20:0.2 23:1.0 25:0.2857142857142857 32:1.0 49:1.0 76:1.0 90:0.3333333333333333 123:0.023255813953488372 135:1.0 156:0.5 179:0.3333333333333333 203:0.3333333333333333 229:1.0 264:1.0 388:1.0 776:1.0 996:1.0 1151:1.0 1167:1.0 1326:1.0 1489:0.5 1863:0.5 2360:1.0 2544:1.0 5437:1.0
8 7:0.14285714285714285 20:0.2 24:0.5 31:0.16666666666666666 32:0.5 40:0.5 49:1.0 88:0.5 103:0.5 107:0.5 124:1.0 175:1.0 203:0.3333333333333333 210:0.14285714285714285 282:1.0 302:1.0 453:1.0 459:0.125 607:1.0 634:1.0 639:1.0 759:0.5 798:1.0 921:1.0 1249:1.0 2418:1.0 2730:1.0 3237:1.0 3488:1.0 4303:1.0
8 7:0.5714285714285714 25:0.14285714285714285 38:1.0 40:1.0 43:1.0 45:1.0 76:3.0 80:0.5 88:0.25 137:0.5 171:0.3333333333333333 176:1.0 229:1.0 298:1.0 324:1.0 329:0.5 460:0.5 593:1.0 663:1.0 700:1.0 787:1.0 847:1.0 1286:1.0 1324:1.0 4255:1.0 4864:1.0
8 11:0.2 25:0.14285714285714285 31:0.16666666666666666 32:0.5 49:2.0 79:1.0 80:0.5 88:0.5 90:0.3333333333333333 130:1.0 190:1.0 265:1.0 272:1.0 282:1.0 317:1.0 351:1.0 373:0.25 597:0.3333333333333333 690:1.0 720:1.0 1495:1.0 1620:1.0 2581:1.0 3599:1.0 3837:1.0 5456:1.0 7240:1.0
8 7:0.2857142857142857 25:0.14285714285714285 32:0.5 49:2.0 174:1.0 245:0.013888888888888888 388:1.0 492:0.16666666666666666 590:1.0 825:1.0 932:1.0 1127:1.0 1186:1.0 1411:0.5 1551:1.0 2080:1.0
8 7:0.14285714285714285 23:1.0 24:1.0 25:0.14285714285714285 31:0.16666666666666666 32:0.5 34:0.2 40:0.5 49:2.0 88:0.25 90:0.3333333333333333 123:0.023255813953488372 142:0.5 159:0.3333333333333333 177:0.5 186:1.0 239:0.3333333333333333 303:1.0 373:0.25 459:0.125 507:0.5 639:1.0 720:1.0 882:1.0 960:1.0 1465:1.0 2065:1.0 3331:1.0 3465:1.0
8 20:0.2 25:0.14285714285714285 49:1.0 88:0.5 90:0.3333333333333333 130:1.0 138:0.5 167:0.1111111111111111 181:0.5 359:1.0 373:0.25 388:2.0 393:1.0 398:0.09090909090909091 462:1.0 492:0.16666666666666666 1303:1.0 1408:1.0 1964:1.0 2571:1.0 4652:1.0 5870:1.0
8 20:0.2 25:0.2857142857142857 34:0.2 49:1.0 76:1.0 117:1.0 121:1.0 297:1.0 335:1.0 388:2.0 398:0.09090909090909091 420:1.0 1415:0.5 1470:1.0 2811:1.0 3196:1.0 3988:1.0
8 25:0.14285714285714285 31:0.16666666666666666 34:0.2 49:1.0 88:0.25 90:0.3333333333333333 103:0.5 123:0.06976744186046512 210:0.14285714285714285 224:1.0 259:1.0 329:0.5 385:1.0 420:1.0 459:0.125 486:0.5 639:1.0 700:1.0 741:1.0 1406:1.0 2427:1.0 2888:1.0 3074:1.0 3657:1.0 4950:1.0 5125:1.0
8 25:0.14285714285714285 40:0.5 49:1.0 88:0.25 123:0.023255813953488372 171:0.3333333333333333 179:0.3333333333333333 229:1.0 259:1.0 388:1.0 389:0.5 393:1.0 398:0.09090909090909091 447:0.3333333333333333 478:1.0 492:0.16666666666666666 872:1.0 996:1.0 1982:1.0 2319:1.0 3336:1.0 4146:1.0
8 20:0.2 25:0.42857142857142855 49:1.0 76:2.0 98:0.3333333333333333 106:0.16666666666666666 121:1.0 123:0.023255813953488372 190:1.0 203:0.3333333333333333 239:0.3333333333333333 297:1.0 303:2.0 304:1.0 388:1.0 447:0.3333333333333333 486:0.5 492:0.16666666666666666 567:1.0 677:1.0 697:1.0 704:0.25 718:0.5 1150:0.5 1271:1.0 1460:1.0 2356:1.0 2405:1.0 4205:1.0 5293:0.5
8 7:0.14285714285714285 14:0.3333333333333333 24:0.5 34:0.2 88:0.5 90:0.6666666666666666 234:0.25 245:0.013888888888888888 331:1.0 373:0.25 460:0.5 514:1.0 573:0.5 1344:1.0 1407:0.5 2707:1.0 2882:1.0 3968:1.0
8 24:0.5 46:1.0 133:0.14285714285714285 175:1.0 181:0.5 1201:1.0 2098:0.5 4059:1.0 4244:1.0 5025:1.0
8 31:0.16666666666666666 76:1.0 90:0.3333333333333333 126:1.0 139:1.0 163:0.5 282:1.0 328:1.0 345:1.0 745:0.5 787:1.0 882:1.0 1303:1.0 1973:1.0 2108:1.0 2625:1.0 3810:1.0 4410:1.0
8 7:0.14285714285714285 13:0.25 32:0.5 88:0.25 90:0.3333333333333333 123:0.046511627906976744 133:0.2857142857142857 144:1.0 162:1.0 175:1.0 215:1.0 473:1.0 531:0.3333333333333333 690:1.0 697:1.0 1371:0.5 2238:1.0 2625:1.0 2835:1.0 3061:1.0
8 25:0.14285714285714285 31:0.16666666666666666 49:1.0 88:0.25 123:0.023255813953488372 131:1.0 210:0.14285714285714285 398:0.09090909090909091 659:1.0 1208:0.3333333333333333 2213:0.5 3100:1.0 3649:1.0 4649:1.0 5363:1.0 5437:1.0
8 6:1.0 7:0.14285714285714285 24:0.5 40:1.0 68:0.16666666666666666 123:0.023255813953488372 124:1.0 210:0.14285714285714285 459:0.125 530:0.5 769:1.0 978:1.0 1014:1.0 1167:1.0 1451:1.0 1713:1.0 2095:1.0 2576:1.0 2582:1.0 2583:1.0
8 40:0.5 48:1.0 88:0.25 159:0.3333333333333333 220:0.3333333333333333 259:1.0 357:1.0 359:1.0 492:0.16666666666666666 709:1.0 791:1.0 1547:1.0 1871:1.0 2643:1.0 3042:1.0 5376:1.0
8 20:0.4 24:0.5 25:0.42857142857142855 32:0.5 49:4.0 80:0.5 106:0.16666666666666666 123:0.023255813953488372 124:1.0 181:0.5 203:0.3333333333333333 218:1.0 357:1.0 388:1.0 492:0.16666666666666666 576:1.0 731:1.0 809:0.3333333333333333 1766:1.0 2880:1.0
8 5:1.0 7:0.14285714285714285 20:0.2 25:0.14285714285714285 32:0.5 49:1.0 137:0.5 169:1.0 185:1.0 373:0.25 492:0.16666666666666666 518:1.0 535:1.0 536:1.0 597:0.3333333333333333 791:1.0 823:1.0 2631:1.0
8 7:0.14285714285714285 11:0.2 13:0.25 25:0.14285714285714285 32:0.5 49:1.0 88:0.25 117:1.0 126:1.0 133:0.14285714285714285 137:0.5 222:1.0 287:0.5 398:0.09090909090909091 518:1.0 533:1.0 574:1.0 586:0.5 1106:1.0 3403:1.0 3665:2.0 3968:2.0
8 31:0.16666666666666666 32:0.5 40:0.5 76:1.0 88:0.25 91:0.5 106:0.16666666666666666 123:0.046511627906976744 133:0.14285714285714285 135:1.0 245:0.013888888888888888 259:2.0 303:1.0 337:1.0 393:1.0 832:1.0 3539:1.0 3854:1.0 3968:1.0 4211:1.0 4329:1.0 5203:1.0
8 7:0.14285714285714285 14:0.3333333333333333 18:0.5 25:0.14285714285714285 31:0.3333333333333333 32:0.5 40:0.5 47:1.0 49:1.0 123:0.023255813953488372 133:0.14285714285714285 144:1.0 167:0.1111111111111111 178:1.0 220:0.3333333333333333 234:0.25 310:1.0 377:1.0 492:0.16666666666666666 498:1.0 690:1.0 702:1.0 894:1.0 1014:1.0 1525:1.0 2625:1.0 5799:1.0
8 25:0.14285714285714285 48:1.0 49:1.0 76:1.0 90:0.3333333333333333 123:0.06976744186046512 176:1.0 220:0.3333333333333333 224:1.0 272:1.0 457:0.5 459:0.125 492:0.3333333333333333 616:1.0 690:1.0 909:0.5 1525:1.0 3927:1.0
8 16:1.0 20:0.2 24:0.5 25:0.2857142857142857 32:0.5 40:0.5 49:2.0 62:1.0 72:1.0 88:0.25 123:0.046511627906976744 179:0.3333333333333333 181:0.5 208:1.0 220:0.3333333333333333 224:1.0 308:1.0 373:0.25 443:0.3333333333333333 472:0.5 535:1.0 536:1.0 611:0.3333333333333333 850:1.0 1106:1.0 1768:1.0 2712:1.0 2986:1.0
8 7:0.14285714285714285 13:0.25 14:0.3333333333333333 25:0.2857142857142857 34:0.2 123:0.023255813953488372 133:0.14285714285714285 181:0.5 210:0.14285714285714285 310:1.0 332:0.5 335:1.0 797:1.0 825:1.0 1828:1.0 1896:1.0 4225:1.0
8 7:0.14285714285714285 14:0.3333333333333333 20:0.4 25:0.2857142857142857 32:1.0 40:0.5 49:2.0 88:0.25 107:0.5 123:0.023255813953488372 133:0.14285714285714285 139:1.0 228:1.0 234:0.25 245:0.013888888888888888 282:1.0 287:0.5 303:1.0 329:0.5 459:0.125 533:1.0 573:0.5 692:0.5 700:1.0 797:1.0 1106:1.0 1298:0.5 1855:1.0 2243:1.0 2687:1.0 4104:1.0 4112:1.0
8 7:0.14285714285714285 13:0.25 25:0.42857142857142855 31:0.16666666666666666 32:1.0 34:0.2 49:1.0 80:0.5 90:0.3333333333333333 123:0.023255813953488372 186:1.0 1102:1.0 1106:1.0 1348:0.07692307692307693 1371:0.5 1653:1.0 2110:1.0 3278:1.0
8 32:0.5 62:1.0 88:0.25 90:0.3333333333333333 123:0.046511627906976744 127:0.5 139:1.0 210:0.14285714285714285 218:1.0 224:1.0 312:1.0 372:1.0 402:1.0 506:0.2 649:0.5 756:1.0 891:1.0 1421:1.0 1449:1.0 1656:1.0 1761:1.0 1948:1.0 2296:1.0 2884:1.0 3769:1.0 4056:1.0 5799:1.0
8 14:0.3333333333333333 25:0.2857142857142857 31:0.16666666666666666 38:1.0 43:1.0 49:3.0 88:0.5 90:0.3333333333333333 161:1.0 186:1.0 220:0.3333333333333333 228:1.0 239:0.3333333333333333 282:1.0 388:1.0 425:1.0 619:1.0 769:1.0 798:1.0 858:1.0 1604:0.3333333333333333 1668:1.0 2082:1.0 2196:1.0 2719:1.0 2891:2.0 3655:1.0 3994:1.0 4315:1.0 5213:1.0
8 11:0.6 12:0.5 20:0.2 23:1.0 24:0.5 32:1.0 47:1.0 49:2.0 88:0.5 90:0.3333333333333333 139:1.0 159:0.3333333333333333 160:1.0 163:0.5 306:0.3333333333333333 486:0.5 700:1.0 1194:1.0 2054:1.0 3114:0.5 3410:1.0 3995:1.0
8 20:0.4 49:2.0 88:0.25 139:1.0 180:1.0 486:0.5 1676:1.0 2132:1.0 4401:1.0
8 31:0.16666666666666666 68:0.16666666666666666 124:1.0 447:0.3333333333333333 2098:0.5 3896:1.0
8 7:0.14285714285714285 20:0.4 25:0.14285714285714285 40:0.5 88:0.25 171:0.3333333333333333 179:0.3333333333333333 322:1.0 335:1.0 780:1.0 1867:0.5 2071:1.0 3070:1.0 3668:1.0 4350:1.0
8 20:0.2 24:0.5 25:0.42857142857142855 31:0.16666666666666666 40:0.5 49:3.0 106:0.16666666666666666 124:1.0 159:0.3333333333333333 167:0.1111111111111111 203:0.3333333333333333 302:1.0 373:0.25 447:0.3333333333333333 459:0.125 535:1.0 536:1.0 587:1.0 727:1.0 1082:2.0 1609:1.0 1713:1.0 2726:1.0 2889:1.0 2947:1.0 2967:1.0 3325:1.0 5437:1.0 5631:1.0
8 20:0.2 24:0.5 25:0.14285714285714285 31:0.16666666666666666 34:0.4 88:0.75 107:0.5 124:2.0 127:0.5 220:0.3333333333333333 259:2.0 282:1.0 310:1.0 329:0.5 388:1.0 573:0.5 750:1.0 1216:1.0 1251:1.0 1696:1.0 1736:1.0 1797:1.0 2082:1.0 3317:1.0 3646:1.0 4105:1.0 4255:1.0
8 20:0.2 25:0.42857142857142855 40:0.5 88:0.5 90:0.3333333333333333 587:1.0 791:1.0 914:1.0 986:1.0 1736:1.0 5995:2.0
8 20:0.2 49:1.0 76:1.0 123:0.046511627906976744 126:1.0 159:0.3333333333333333 163:0.5 203:0.3333333333333333 220:0.3333333333333333 552:1.0 645:1.0 659:1.0 1899:1.0 2055:1.0 4054:1.0 5871:1.0
8 7:0.14285714285714285 14:0.3333333333333333 23:1.0 25:0.14285714285714285 49:2.0 73:0.5 167:0.1111111111111111 187:1.0 328:1.0 329:0.5 492:0.16666666666666666 639:1.0 702:1.0 722:1.0 843:1.0 1489:0.5 1565:1.0 2730:1.0 2907:1.0 3087:1.0 3424:1.0 3690:1.0
8 25:0.14285714285714285 34:0.2 73:0.5 123:0.023255813953488372 124:1.0 133:0.14285714285714285 255:1.0 274:1.0 334:1.0 475:1.0 980:1.0 1723:1.0 1786:0.5 2369:1.0 2719:1.0 3287:1.0 3336:1.0
8 31:0.16666666666666666 49:1.0 90:0.3333333333333333 159:0.3333333333333333 163:0.5 220:0.3333333333333333 306:0.3333333333333333 388:1.0 898:1.0 1014:1.0 1121:1.0 1186:1.0 2907:1.0
8 7:0.14285714285714285 31:0.16666666666666666 32:1.5 49:2.0 62:1.0 103:0.5 123:0.046511627906976744 133:0.14285714285714285 308:1.0 388:1.0 398:0.09090909090909091 447:0.3333333333333333 608:1.0 645:1.0 659:1.0 661:1.0 681:1.0 966:1.0 1406:1.0 1476:1.0 1525:1.0 1586:1.0 2439:0.5 2687:1.0 3149:1.0 3771:1.0
8 20:0.2 24:0.5 31:0.16666666666666666 32:0.5 40:0.5 49:1.0 88:0.25 90:0.3333333333333333 103:0.5 159:0.6666666666666666 220:0.3333333333333333 241:1.0 243:0.25 388:2.0 390:1.0 492:0.16666666666666666 556:1.0 891:1.0 1167:1.0 1863:0.5 2182:1.0 2551:1.0 2643:1.0 3783:1.0
8 49:1.0 80:0.5 199:1.0 213:1.0 1668:1.0 2228:1.0 3840:1.0 7789:1.0
8 25:0.14285714285714285 32:0.5 49:1.0 88:0.25 133:0.14285714285714285 238:0.1111111111111111 373:0.25 604:1.0 794:0.6 1134:1.0 1238:2.0 1307:1.0 1759:1.0 1863:0.5 1865:0.5 2296:1.0 2300:1.0 2992:1.0
8 6:1.0 13:0.25 25:0.14285714285714285 88:0.25 123:0.06976744186046512 133:0.14285714285714285 209:1.0 245:0.013888888888888888 351:1.0 643:1.0 688:0.3333333333333333 799:1.0 1848:1.0 3611:1.0 4119:1.0
8 7:0.14285714285714285 11:0.2 20:0.4 23:1.0 40:0.5 49:1.0 80:0.5 88:0.25 108:1.0 123:0.023255813953488372 163:0.5 199:1.0 259:2.0 263:1.0 303:1.0 716:1.0 825:1.0 1348:0.07692307692307693 1842:1.0 1898:1.0 2054:1.0 2810:1.0 3619:1.0
8 11:0.2 24:0.5 25:0.2857142857142857 32:1.0 186:1.0 374:1.0 653:1.0 823:1.0 909:0.5 980:2.0 1104:1.0 1119:1.0 1291:1.0 1761:1.0 2315:1.0 2564:1.0 3378:1.0 4001:2.0 6094:1.0 6175:1.0
8 20:0.4 49:1.0 80:1.5 88:0.75 139:2.0 220:0.3333333333333333 245:0.013888888888888888 282:1.0 430:1.0 587:1.0 597:0.3333333333333333 629:1.0 983:1.0 1249:1.0 1353:1.0 1398:1.0 2405:1.0 2638:1.0 2907:1.0 2950:1.0 3055:1.0 3675:1.0 3700:1.0 4425:1.0 6359:1.0
8 32:1.0 40:1.0 49:3.0 68:0.16666666666666666 103:0.5 135:1.0 167:0.1111111111111111 177:0.5 234:0.25 238:0.1111111111111111 388:2.0 393:1.0 586:0.5 798:1.0 813:1.0 909:0.5 1134:1.0 1650:1.0 1788:1.0 1988:1.0
8 24:0.5 25:0.14285714285714285 32:0.5 123:0.023255813953488372 135:1.0 186:1.0 303:1.0 586:0.5 796:1.0
8 7:0.14285714285714285 24:1.0 25:0.14285714285714285 32:1.0 34:0.2 68:0.16666666666666666 88:0.5 90:0.3333333333333333 103:0.5 107:0.5 123:0.023255813953488372 133:0.14285714285714285 186:1.0 459:0.125 555:1.0 638:1.0 769:1.0 798:1.0 833:1.0 955:1.0 980:1.0 1082:1.0 1397:1.0 1495:1.0 1934:1.0 7827:1.0
8 25:0.2857142857142857 49:3.0 90:0.3333333333333333 133:0.14285714285714285 177:0.5 312:1.0 486:0.5 618:1.0 667:1.0 1043:1.0 1386:1.0 1616:1.0 1706:1.0 1863:0.5 3567:1.0 4174:1.0 4757:1.0 7305:1.0
8 11:0.2 20:0.4 32:1.0 49:1.0 88:0.25 123:0.023255813953488372 138:0.5 142:0.5 167:0.1111111111111111 179:0.3333333333333333 218:1.0 240:1.0 259:1.0 332:0.5 531:0.3333333333333333 689:1.0 770:1.0 806:0.5 833:1.0 945:1.0 1033:1.0 1233:1.0 1412:1.0 1868:1.0 2746:1.0 3805:1.0 6421:1.0
8 40:0.5 49:2.0 88:0.5 123:0.046511627906976744 199:1.0 220:0.3333333333333333 224:1.0 373:0.25 1033:1.0 1215:1.0 2281:1.0
8 20:0.2 23:1.0 24:0.5 25:0.2857142857142857 32:0.5 49:1.0 68:0.16666666666666666 90:0.3333333333333333 98:0.3333333333333333 177:0.5 181:0.5 229:1.0 282:1.0 373:0.25 486:0.5 535:1.0 536:1.0 573:0.5 905:1.0 1943:1.0 2458:0.1111111111111111 2745:1.0
8 25:0.14285714285714285 32:0.5 40:0.5 113:1.0 133:0.14285714285714285 157:1.0 177:0.5 181:0.5 229:1.0 282:1.0 905:1.0 1957:1.0 2578:1.0 3933:1.0 5376:1.0
8 27:1.0 32:0.5 49:1.0 88:0.5 90:0.3333333333333333 123:0.023255813953488372 167:0.1111111111111111 318:1.0 1676:1.0 1913:1.0 2292:1.0 2569:1.0
8 7:0.14285714285714285 25:0.2857142857142857 32:0.5 34:0.2 42:1.0 80:0.5 88:0.25 103:0.5 199:1.0 234:0.25 247:1.0 492:0.3333333333333333 567:1.0 798:1.0 1371:1.0 2199:0.5
8 25:0.14285714285714285 32:0.5 123:0.023255813953488372 133:0.14285714285714285 218:1.0 256:1.0 259:1.0 282:1.0 303:1.0 373:0.25 492:0.16666666666666666 1171:1.0 1677:1.0 3835:1.0
8 7:0.14285714285714285 25:0.14285714285714285 72:1.0 76:1.0 90:0.6666666666666666 123:0.023255813953488372 133:0.14285714285714285 160:1.0 177:0.5 328:1.0 1384:1.0 2021:0.5 3114:0.5 7310:1.0
8 7:0.14285714285714285 40:0.5 49:2.0 76:1.0 103:0.5 121:1.0 138:0.5 163:0.5 175:1.0 228:1.0 310:1.0 328:1.0 373:0.25 443:0.3333333333333333 963:0.5 2466:1.0 3888:1.0 4118:1.0 4649:1.0
8 23:1.0 24:0.5 25:0.14285714285714285 49:1.0 90:0.6666666666666666 98:0.3333333333333333 103:0.5 123:0.023255813953488372 181:0.5 199:1.0 215:1.0 220:0.3333333333333333 293:1.0 328:1.0 329:0.5 373:0.25 447:0.3333333333333333 861:1.0 908:0.5 1066:1.0 1315:1.0 1408:1.0 1525:1.0 1714:1.0 1983:1.0
8 14:0.3333333333333333 25:0.14285714285714285 32:0.5 106:0.16666666666666666 124:1.0 388:1.0 491:1.0 715:1.0 1975:1.0 2036:1.0 2213:0.5 3108:1.0 3318:1.0
8 7:0.42857142857142855 15:0.5 18:0.5 24:1.0 32:1.0 40:1.0 61:1.0 73:0.5 88:0.5 98:0.3333333333333333 103:0.5 123:0.046511627906976744 303:1.0 393:1.0 443:0.3333333333333333 460:0.5 537:1.0 608:1.0 662:1.0 960:1.0 1406:1.0 1475:1.0 1606:1.0 1842:1.0 3062:1.0 3805:1.0 3890:1.0 4153:1.0
8 12:0.5 32:0.5 40:0.5 68:0.16666666666666666 73:0.5 76:2.0 88:0.25 144:1.0 159:0.3333333333333333 160:1.0 282:1.0 420:2.0 639:1.0 1019:0.25 1221:1.0 1303:2.0 1727:1.0 2100:1.0 2347:1.0 3576:1.0 3799:1.0 3800:1.0
8 20:0.2 62:1.0 88:0.25 123:0.023255813953488372 144:1.0 224:1.0 393:1.0 459:0.25 486:0.5 494:0.3333333333333333 851:1.0 891:1.0 1104:1.0 1367:1.0 2375:1.0 2677:1.0
8 7:0.2857142857142857 14:0.3333333333333333 25:0.14285714285714285 40:0.5 49:1.0 103:0.5 123:0.023255813953488372 234:0.5 382:1.0 459:0.125 472:0.5 506:0.2 523:1.0 1167:1.0 2141:1.0 2701:1.0 2719:1.0
8 20:0.2 25:0.42857142857142855 32:0.5 33:1.0 68:0.16666666666666666 90:0.3333333333333333 123:0.023255813953488372 126:1.0 245:0.013888888888888888 259:1.0 402:1.0 404:0.3333333333333333 463:0.5 472:0.5 662:1.0 718:0.5 727:1.0 730:0.5 1256:1.0 1269:1.0 1861:1.0 2357:1.0 2394:1.0 2986:1.0
8 25:0.2857142857142857 34:0.2 40:0.5 43:1.0 49:1.0 76:2.0 88:0.25 105:1.0 171:0.3333333333333333 186:1.0 259:1.0 420:1.0 478:1.0 663:1.0 693:1.0 833:1.0 1186:1.0 1809:1.0 2431:1.0 2516:1.0 2907:1.0 7562:1.0
8 23:1.0 25:0.14285714285714285 31:0.16666666666666666 32:0.5 73:0.5 459:0.125 460:0.5 685:1.0 715:1.0 1070:1.0 1073:1.0 1525:1.0 1803:1.0 2810:1.0 2911:1.0 3071:1.0 3158:1.0 5502:1.0
8 20:0.2 24:0.5 25:0.5714285714285714 31:0.16666666666666666 32:0.5 40:0.5 59:1.0 73:0.5 76:1.0 88:0.75 90:0.3333333333333333 113:1.0 137:0.5 282:1.0 401:1.0 406:1.0 472:0.5 478:1.0 537:1.0 672:1.0 689:1.0 709:1.0 735:1.0 798:1.0 891:1.0 901:0.5 1080:1.0 1134:1.0 1135:1.0 1186:1.0 1473:1.0 1669:1.0 1828:1.0 3071:1.0 3314:1.0 4315:1.0
8 24:0.5 25:0.14285714285714285 40:0.5 44:1.0 45:1.0 47:1.0 49:1.0 59:1.0 68:0.16666666666666666 88:0.25 90:1.0 98:0.3333333333333333 159:0.3333333333333333 203:0.3333333333333333 220:0.6666666666666666 227:1.0 331:1.0 388:1.0 459:0.125 512:2.0 670:1.0 909:0.5 931:1.0 963:0.5 980:1.0 1083:1.0 2091:1.0 2163:1.0 3173:1.0 3487:1.0
8 7:0.14285714285714285 24:1.0 32:0.5 34:0.2 40:1.0 49:1.0 68:0.16666666666666666 88:1.0 103:0.5 139:1.0 171:0.3333333333333333 175:1.0 203:0.3333333333333333 297:1.0 395:1.0 420:1.0 447:0.6666666666666666 452:0.5 492:0.16666666666666666 618:1.0 674:1.0 837:1.0 901:0.5 914:1.0 931:1.0 1167:1.0 1376:1.0 1570:1.0 1956:1.0 1960:0.5 2668:1.0 2874:1.0
8 6:1.0 11:0.2 32:0.5 49:1.0 88:0.25 90:0.3333333333333333 106:0.16666666666666666 144:1.0 177:0.5 235:1.0 608:1.0 639:1.0 833:1.0 1515:1.0 1898:1.0 2868:1.0 2907:1.0 3780:1.0
8 32:0.5 40:0.5 98:0.3333333333333333 167:0.1111111111111111 220:0.3333333333333333 234:0.25 298:1.0 328:1.0 373:0.25 388:1.0 459:0.125 492:0.16666666666666666 535:1.0 686:1.0 861:1.0 2449:1.0 2581:1.0 3388:1.0 3771:1.0 4519:1.0
8 7:0.42857142857142855 40:0.5 49:1.0 76:1.0 90:0.3333333333333333 103:1.0 123:0.023255813953488372 133:0.14285714285714285 181:0.5 199:1.0 305:1.0 373:0.25 414:0.5 420:1.0 486:0.5 799:1.0 958:0.5 1303:1.0 1982:1.0 2606:1.0 2796:1.0
8 14:0.3333333333333333 31:0.16666666666666666 32:0.5 34:0.2 51:1.0 90:0.3333333333333333 98:0.3333333333333333 220:0.3333333333333333 239:0.3333333333333333 241:1.0 322:1.0 388:1.0 473:1.0 813:1.0 1172:1.0 1401:1.0 1511:1.0 1623:1.0 1869:1.0 1938:1.0 2352:1.0 2476:1.0 3432:1.0
8 15:0.5 20:0.2 25:0.2857142857142857 32:1.0 40:0.5 90:0.3333333333333333 282:1.0 300:1.0 337:1.0 425:1.0 486:0.5 492:0.16666666666666666 506:0.2 520:1.0 787:1.0 797:1.0 825:1.0 931:1.0 1186:1.0 1421:1.0 1505:1.0 1681:1.0 1714:1.0 2485:1.0 2499:1.0 2500:1.0 2866:1.0 3968:1.0 5209:1.0
8 20:0.2 25:0.14285714285714285 49:1.0 81:1.0 82:1.0 88:0.5 123:0.023255813953488372 127:0.5 176:1.0 218:1.0 220:0.3333333333333333 259:1.0 412:0.5 443:0.3333333333333333 447:0.3333333333333333 958:0.5 1498:1.0 1532:1.0 1888:1.0 2328:1.0
8 7:0.14285714285714285 40:1.0 88:0.25 123:0.023255813953488372 171:0.3333333333333333 175:1.0 208:1.0 282:1.0 303:1.0 328:1.0 329:0.5 388:1.0 459:0.125 492:0.16666666666666666 576:2.0 894:1.0 1336:1.0 1348:0.07692307692307693 1713:1.0 3209:1.0 4638:1.0
8 31:0.16666666666666666 49:1.0 123:0.023255813953488372 220:0.3333333333333333 238:0.1111111111111111 280:1.0 282:1.0 308:1.0 447:0.3333333333333333 459:0.125 473:1.0 492:0.16666666666666666 504:1.0 683:1.0 848:1.0 1013:1.0 1327:1.0 1331:1.0 1615:1.0 1882:1.0 3228:1.0 3432:1.0 3462:1.0
8 10:1.0 20:0.2 25:0.14285714285714285 49:1.0 90:0.3333333333333333 92:1.0 167:0.1111111111111111 506:0.2 901:0.5 918:1.0 989:0.3333333333333333 1022:1.0 1553:1.0 2065:1.0 2623:1.0 2714:1.0 2993:1.0 3148:1.0
8 24:0.5 31:0.5 32:0.5 49:1.0 103:0.5 123:0.023255813953488372 187:1.0 190:1.0 259:1.0 329:0.5 486:0.5 492:0.16666666666666666 585:0.5 697:1.0 1406:1.0 1867:0.5 2853:1.0 3071:1.0 3403:1.0 3690:1.0 5750:1.0 7676:1.0 7853:1.0
8 6:1.0 7:0.14285714285714285 23:1.0 25:0.14285714285714285 43:1.0 44:1.0 49:1.0 88:0.25 90:0.3333333333333333 123:0.023255813953488372 171:0.3333333333333333 176:1.0 181:0.5 259:1.0 303:1.0 388:1.0 393:1.0 423:1.0 424:1.0 606:0.3333333333333333 674:1.0 1407:0.5 2270:1.0 2325:1.0 4425:1.0
8 25:0.5714285714285714 32:0.5 49:1.0 73:0.5 76:1.0 123:0.023255813953488372 133:0.14285714285714285 186:2.0 229:1.0 259:1.0 304:1.0 398:0.09090909090909091 472:0.5 576:1.0 1025:1.0 1186:1.0 2108:1.0
8 13:0.5 25:0.14285714285714285 32:0.5 34:0.2 40:0.5 88:0.25 90:0.6666666666666666 123:0.06976744186046512 124:1.0 195:1.0 281:1.0 303:1.0 308:1.0 372:2.0 396:1.0 398:0.09090909090909091 486:0.5 731:1.0 771:0.5 1254:0.5 3278:1.0 4340:1.0
8 7:0.14285714285714285 14:0.3333333333333333 20:0.2 31:0.16666666666666666 32:1.0 49:2.0 123:0.023255813953488372 179:0.3333333333333333 259:1.0 265:1.0 282:1.0 328:1.0 360:1.0 377:1.0 388:1.0 398:0.09090909090909091 426:1.0 544:1.0 662:1.0 690:1.0 1134:1.0 1135:1.0 1167:1.0
8 127:0.5 245:0.013888888888888888 329:0.5 1656:1.0
8 7:0.14285714285714285 24:1.0 25:0.14285714285714285 103:0.5 159:0.3333333333333333 167:0.1111111111111111 213:1.0 263:1.0 282:1.0 337:1.0 473:1.0 799:1.0 875:1.0 1249:1.0 2687:1.0 3112:1.0
8 24:1.0 25:0.42857142857142855 31:0.16666666666666666 32:0.5 73:0.5 90:0.6666666666666666 103:0.5 373:0.25 437:1.0 447:0.3333333333333333 700:1.0 823:1.0 1406:1.0 2073:1.0 2111:1.0 2241:1.0 2840:1.0 3888:1.0 4146:1.0
8 25:0.7142857142857143 32:0.5 40:0.5 49:3.0 68:0.16666666666666666 80:0.5 107:0.5 135:2.0 163:0.5 235:1.0 293:1.0 328:1.0 388:1.0 391:0.3333333333333333 398:0.09090909090909091 473:1.0 639:1.0 662:2.0 731:1.0 980:1.0 1104:1.0 1277:1.0 1903:1.0 2062:1.0 3199:1.0 3237:1.0 4001:1.0
8 32:1.0 40:0.5 68:0.16666666666666666 76:1.0 80:0.5 123:0.023255813953488372 167:0.2222222222222222 257:1.0 287:0.5 337:1.0 351:1.0 447:0.3333333333333333 552:1.0 654:1.0 683:1.0 958:0.5 1043:2.0 1167:1.0 1221:1.0 1298:0.5 1401:1.0 1435:1.0 1687:1.0 1863:0.5 3176:1.0 4163:2.0 5407:0.3333333333333333
8 7:0.14285714285714285 11:0.2 20:0.2 24:0.5 25:0.14285714285714285 31:0.3333333333333333 32:1.5 34:0.2 47:1.0 49:1.0 88:0.5 171:0.3333333333333333 179:0.3333333333333333 190:1.0 195:1.0 243:0.25 245:0.013888888888888888 254:1.0 325:1.0 363:1.0 388:1.0 391:0.3333333333333333 685:1.0 797:1.0 894:1.0 1249:1.0 1406:1.0 1511:1.0 1903:1.0 1957:1.0 2347:1.0 2357:1.0 3112:1.0 3339:1.0
8 11:0.2 20:0.2 25:0.2857142857142857 49:2.0 62:1.0 73:0.5 90:0.3333333333333333 106:0.16666666666666666 117:1.0 133:0.2857142857142857 190:1.0 235:1.0 324:1.0 388:2.0 434:0.5 512:1.0 611:0.3333333333333333 619:1.0 715:1.0 909:0.5 1298:0.5 1303:1.0 1348:0.07692307692307693 1666:1.0 1957:1.0 2189:1.0 2806:1.0 3180:1.0 3181:1.0 3410:1.0 3791:1.0 5320:1.0
8 7:0.2857142857142857 9:1.0 23:2.0 25:0.5714285714285714 40:0.5 179:0.3333333333333333 220:0.3333333333333333 264:1.0 282:1.0 297:1.0 388:1.0 662:1.0 794:0.2 1821:1.0 2903:1.0 3267:1.0 3295:1.0 3599:1.0
|
64b9d2624318d1516ad43c89dee9e60e6aa5b96e | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/38.tst | f8f2037780255f59cd78ccb69a33e61d7f689c4d | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | tst | 38.tst | int main(void)
{
int ((a));
char (b);
float (*(c));
typedef int arr_int[5*2/2];
arr_int ((d));
arr_int *((d1));
arr_int (*(d2)[3-1+1]);
} |
6c0cca836e9472e26d055d1f1b0bff88cb2083e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH4/EX4.1/Ex4_1.sce | 5a0cf5b3b0d3c1ab48f4ee50b6d449a55a7f0019 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex4_1.sce | clc
Iep=3//mA
Ieh=0.01//mA
Ich=0.001//mA
Icp=2.99//mA
gamma=Iep/(Iep+Ieh)
disp(gamma,"gamma =")
alphaT=Icp/Iep
disp(alphaT,"alphaT =")
alpha0=gamma*alphaT
disp(alpha0,"alpha0 =")
IE=Iep+Ieh
disp(IE,"IE in mA=")
IC=Icp+Ich
disp(IC,"IC in mA=")
ICBO=IC-alpha0*IE
disp(ICBO,"ICBO in mA")
|
66119fcc376fed443e52e4032b46bddb894b4f63 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/lpmd.instr.tst | fae27943038ccf5e649137065a47fc752315c40f | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,418 | tst | lpmd.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000042 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000076 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x04 0x90 lpm r0, Z
0x2: 0x14 0x90 lpm r1, Z
0x4: 0x24 0x90 lpm r2, Z
0x6: 0x34 0x90 lpm r3, Z
0x8: 0x44 0x90 lpm r4, Z
0xa: 0x54 0x90 lpm r5, Z
0xc: 0x64 0x90 lpm r6, Z
0xe: 0x74 0x90 lpm r7, Z
0x10: 0x84 0x90 lpm r8, Z
0x12: 0x94 0x90 lpm r9, Z
0x14: 0xa4 0x90 lpm r10, Z
0x16: 0xb4 0x90 lpm r11, Z
0x18: 0xc4 0x90 lpm r12, Z
0x1a: 0xd4 0x90 lpm r13, Z
0x1c: 0xe4 0x90 lpm r14, Z
0x1e: 0xf4 0x90 lpm r15, Z
0x20: 0x04 0x91 lpm r16, Z
0x22: 0x14 0x91 lpm r17, Z
0x24: 0x24 0x91 lpm r18, Z
0x26: 0x34 0x91 lpm r19, Z
0x28: 0x44 0x91 lpm r20, Z
0x2a: 0x54 0x91 lpm r21, Z
0x2c: 0x64 0x91 lpm r22, Z
0x2e: 0x74 0x91 lpm r23, Z
0x30: 0x84 0x91 lpm r24, Z
0x32: 0x94 0x91 lpm r25, Z
0x34: 0xa4 0x91 lpm r26, Z
0x36: 0xb4 0x91 lpm r27, Z
0x38: 0xc4 0x91 lpm r28, Z
0x3a: 0xd4 0x91 lpm r29, Z
0x3c: 0xe4 0x91 lpm r30, Z
0x3e: 0xf4 0x91 lpm r31, Z
0x40: 0x04 0x90 lpm r0, Z
start .data:
|
2b6a3f834d22fa0678e6585d3f0b53c7797dfe11 | f782561b1f8fe3d916355f7823306c0ddfcd4e1c | /Assignment 1/Decoder3To8/Decoder3To8.tst | d2fdf7bdc02473919b5aa614ccb6ed27b87137d8 | [] | no_license | rohit01010/Computer-System-Design | 17866493199ecea3e65c15558d6e598b552fd537 | 24609e7712e0f996ebc468c7d45d5cfafad0da87 | refs/heads/main | 2023-06-21T21:28:29.274768 | 2021-07-19T16:23:52 | 2021-07-19T16:23:52 | 387,509,305 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | tst | Decoder3To8.tst | load Decoder3To8.hdl;
output-file Decoder3To8.out;
output-list x2 x1 x0 y0 y1 y2 y3 y4 y5 y6 y7;
set x2 0,set x1 0,set x0 0,eval,output;
set x2 0,set x1 0,set x0 1,eval,output;
set x2 0,set x1 1,set x0 0,eval,output;
set x2 0,set x1 1,set x0 1,eval,output;
set x2 1,set x1 0,set x0 0,eval,output;
set x2 1,set x1 0,set x0 1,eval,output;
set x2 1,set x1 1,set x0 0,eval,output;
set x2 1,set x1 1,set x0 1,eval,output;
|
c56ef84da87998145d9930f71f47f2fe8c02945d | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH6/EX6.31/ex6_31.sce | aba9bef840f2c48d212f80e7b7564c01e69ee786 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | ex6_31.sce | //Programming Example 6.31
//Averaging a list of nonnegative numbers
navg=0;
Sum=0;
//initialize and read in a value for n
printf("How many numbers ? ");
n=scanf("%d");
//read in the numbers
for count = 1:1:n
printf("x= ");
x=scanf("%f");
if x<0 then
continue;
end
Sum=Sum+x;
navg=navg+1;
end
//calculate the average and write out the answer
average=Sum/navg;
printf("\n The average is %f\n", average);
|
3fa47a3469327e62e4b300dcd7aa8258c701de96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH4/EX4.6/Example4_6.sce | 737d5a53bc8ba44c78cda764f86af3db11a39614 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | Example4_6.sce | //clear//
//Example 4.6
// Continuous Time Fourier Transform of Symmetric
// periodic Square waveform
clear;
clc;
close;
// CTFT
T1 = 2;
T = 4*T1;
Wo = 2*%pi/T;
W = -%pi:Wo:%pi;
delta = ones(1,length(W));
XW(1) = (2*%pi*Wo*T1/%pi);
mid_value = ceil(length(W)/2);
for k = 2:mid_value
XW(k) = (2*%pi*sin((k-1)*Wo*T1)/(%pi*(k-1)));
end
figure
a = gca();
a.y_location ="origin";
a.x_location ="origin";
plot2d3('gnn',W(mid_value:$),XW,2);
poly1 = a.children(1).children(1);
poly1.thickness = 3;
plot2d3('gnn',W(1:mid_value-1),XW($:-1:2),2);
poly1 = a.children(1).children(1);
poly1.thickness = 3;
xlabel('W in radians/Seconds');
title('Continuous Time Fourier Transform of Periodic Square Wave')
|
2e7aba1e4ff3bc1165d151b1321fbbb7d3d66616 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH15/EX15.9/15_9.sce | acc1ade520931e3f1027fce919274872bbad877b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | 15_9.sce | clc
//initialisation of variables
pH= 4.57
M= 0.03 //mole litre^-1
M1= 0.1 //mole litre^-1
//CALCULATIONS
pH1= pH+log10(M1/M)
//RESULTS
printf ('pH = %.2f ',pH1)
|
d42fb0fa86d03fbf041948e61aa8081f13d3458b | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/strngfnx.tst | 292b49d6fb86812c2c75c9120fb2f1dfbe16e112 | [] | no_license | noxdafox/clips | b8fb280223b5aae615e427bf1f31c03cb932b09d | a2c548b69394f0e2cf7c6d583810b6a29a662ae1 | refs/heads/master | 2023-09-01T18:52:07.614807 | 2021-12-14T20:10:21 | 2021-12-14T20:10:21 | 95,596,886 | 11 | 10 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | tst | strngfnx.tst | (unwatch all)
(clear)
(set-strategy depth)
(open "Results//strngfnx.rsl" strngfnx "w")
(dribble-on "Actual//strngfnx.out")
(batch "strngfnx.bat")
(dribble-off)
(load "compline.clp")
(printout strngfnx "strngfnx.bat differences are as follows:" crlf)
(compare-files "Expected//strngfnx.out" "Actual//strngfnx.out" strngfnx)
; close result file
(close strngfnx)
|
c4462d637757b5ff6b856072e37df122c20a91ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH18/EX18.1/Ex18_1.sce | f41488a213440fb5d879db214f4e8456a3ad7d28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Ex18_1.sce |
clc
// Given that
b_m=9.27*10^-24 // Bohr Magneton in ampere*m^2
Na=6.023*10^23 //Avogadro's Number
d=8.9*10^6 // density in g/m^3
uo=4*%pi*10^-7 //Permittivity of free space
A=58.71 // Atomic weight of Nickel g/mol
printf("Example 18.1\n")
N=d*Na/A //No. of atoms per cubic meter
M=0.6*b_m*N //0.6= Bohr Magneton/atom
printf("\n Part A:")
printf("\n Saturation Magnetization is %.1e Ampere/m",M)
M=0.6*b_m*N //0.6= Bohr Magneton/atom
printf("\n\n Part B:")
B=uo*M
printf("\n Saturation Flux Density is %.2f Tesla\n",B);
|
1a42ef6d2fdc558bf5f6779705ee479618311fbe | 1c441287d69eb026f0c59fd69b7c0793511746eb | /test/test-P_DIRECT_COST_RATES.tst | 8ac3939dcead1a0b367ccace3bc872722948d0e9 | [] | no_license | pavel-v-masalov/fair | 34eb4feafba2b21790d780b37d014ea82aefd883 | 0225cada4f98622f5b87626833a36f6975968702 | refs/heads/main | 2023-05-26T12:36:28.124283 | 2021-06-08T20:07:59 | 2021-06-08T20:07:59 | 308,316,930 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | tst | test-P_DIRECT_COST_RATES.tst | PL/SQL Developer Test script 3.0
13
begin
--delete from DWH.DIRECT_COST_RATES;
--P_DIRECT_COST_RATES(p_direct_cost_rate => .1,
-- p_start_dt => date '2020-01-01');
--P_DIRECT_COST_RATES(p_direct_cost_rate => .2,
-- p_start_dt => date '2020-01-02');
P_DIRECT_COST_RATES(p_direct_cost_rate => .3,
p_start_dt => date '2020-01-03');
end;
0
0
|
455e7190d02dadbdf32d9328bab5b20304760d6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH3/EX3.1.1/3_1_1.sce | 37a86c162860044a93ad39a27f6f322549d92267 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | 3_1_1.sce | clc
//initialisation of variables
p= 14.7 //lbf/in^2
p1= 5 //lbf/in^2
w= 62.3 //lbf/ft^3
h= 30 //ft
//CALCULATIONS
hmax= (p-p1)*144/w
hmin= h-hmax
//RESULTS
printf (' Minimum depth of the water= %.1f ft',hmin)
|
a8863a064cb0c5e5377ed43a525df0c21efe5668 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.18/5_18.sce | 980f897ee0e0c9a21ae85036439b3766c43f8547 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 811 | sce | 5_18.sce | dH=-57800;//Enthalpy change in cal//
R=1.99;//universal gas constant//
T=298;//temperture in kelvin//
dn=-0.5;//change in no. of moles//
dU=dH-(R*T*dn);//heat of combustion in cal//
printf('The air used contains 2 mol of N2.\ndU=-57500cal.');
CpN2=8.3;//Cp value of N2//
CpH2O=11.3;//Cp value of H2O//
CvN2=CpN2-R;//Cv value of N2//
CvH2O=CpH2O-R;//Cv value of H2O//
printf('\nCv value of N2=CvN2=%fKcal deg^-1 mol^-1',CvN2);
printf('\nCv value of H2O=CvH2O=%fKcal deg^-1 mol^-1',CvH2O);
printf('\nSolving integration we get T2=2940K.The maximum pressure can be calculated from PV=nRT equation.');
P1=1;//initial pressure in atm//
n1=3.5;
n2=3;
T2=2940;//final temperature in Kelvin//
P2=(P1*n2*T2)/(n1*T);//maximum pressure in atm//
printf('\nMaximum pressure of the reaction=P2=%fatm',P2);
|
7eb515e2d2e84c47557a1186c579c3c97fe8f34c | d5b7d8ad996a3217cacad6b5986a0319216c359c | /MAM3085F_2015_Tutorial_7_Answers.sce | 5129b17968fdbd229cb7c3d9413b98b5a3f8be11 | [] | no_license | JamesGrobbo/Spoon-Knife | 413e465181d0bbf6923e8d295fbecc9769ce4316 | 6a52ebc8e6bb8df31b3680588782ffa2721383d0 | refs/heads/master | 2022-11-30T02:42:47.164732 | 2020-08-20T18:42:19 | 2020-08-20T18:42:19 | 288,239,275 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,169 | sce | MAM3085F_2015_Tutorial_7_Answers.sce | // Utility function: takes operator op
// op must be a function of a vector, producing a vector
// and op must be linear i.e. op(a + b) = op(a) + op(b)
// and op(k*a)=k*op(b)
// result: matrix m representation of op
// i.e op(x) = m * x
// simple linear algebra: m consists of columns op(ei)
// where ei is a basis vector
clc;clear
function m = mkMatrix(n, op)
m = zeros(n,n);
e = eye(n,n); // all basis vectors
for i=1:n do
m(:,i) = op(e(:,i)) // apply op to e_i
end
endfunction
function w=ff(v)
n = length(v);
w = zeros(n,1);
for i=1:(n-1) do
w(i) = 3*v(i) -v(i+1);
end
w(n) = v(n);
endfunction
m = mkMatrix(5,ff);
v = [2;1;4;5;1];
sol = m \ v;
// Represent each block of our system:
// each block takes a incoming flow (or flows)
// and produces resulting flow(s)
function f2 = mixer(f1, f7)
f2 = f1 + f7;
endfunction
function f3 = reactor(X,f2)
S = [-1/3 -1 1/3 1/3 0]';
change = X * f2(2) * S;
f3 = f2 + change;
endfunction
// takes a splitting vector Alpha
function [f4, f5] = condenser(Alpha, f3)
f5 = Alpha .* f3;
f4 = (1 - Alpha) .* f3;
endfunction
// takes a purge fuctor Beta
function [f6, f7] = purger(Beta, f5)
f6 = Beta * f5;
f7 = (1-Beta)*f5;
endfunction
// utility: get constituents out of the overall flow
function [f1, f2, f3, f4, f5, f6, f7] = splitFlow(F)
f1 = F(1:5);
f2 = F(6:10);
f3 = F(11:15);
f4 = F(16:20);
f5 = F(21:25);
f6 = F(26:30);
f7 = F(31:35);
endfunction
// A
// for each block OUT = blockFunction(IN)
// where IN and OUT are all parts of F
// thus, mass balance is OUT - blockFunction(IN)
// + constraints. In this case we specify the feed f1
// thus the constraint is simple: f1 -> f1
function b = massBalanceA(F)
Alpha = [1,1,0,0,1]';
Beta = 0.12281;
X = 0.6;
[f1, f2, f3, f4, f5, f6, f7] = splitFlow(F);
F2 = mixer(f1,f7);
F3 = reactor(X, f2);
[F4 F5] = condenser(Alpha,f3);
[F6 F7] = purger (Beta,f5);
b2 = F2 - f2; // mixer mass balance
b3 = F3 - f3; // reactor mass balance
b4 = F4 - f4; // condenser for f4
b5 = F5 - f5; // condenser for f5
b6 = F6 - f6; // purger for f6
b7 = F7 - f7; // purger for f7
c = f1; // constraint
b = [b2;b3;b4;b5;b6;b7;c];
endfunction
// RHS of mass balance
feed = [0.249 0.747 0 0 0.004]';
// for all but last bit, bA must be 0 (to satisfy mass balance)
bA = [zeros(30,1); feed];
AA = mkMatrix(35, massBalanceA);
FA = AA \ bA;
[f1A, f2A, f3A, f4A, f5A, f6A, f7A] = splitFlow(FA);
factorA = 155 / f4A(3);
FAfinal = factorA * FA;
// B
// the only change is the constraint: wwe specify f2(1), f2(2), f1(3), f1(4)
// and use mol fraction of inerts in f1 (feed) x15 = 0.004
// x15 = f15/(sum f1), i.e. f15 - x15 * sum(f1) = 0
function b = massBalanceB(F)
Alpha = [1,1,0,0,1]';
Beta = 0.12281;
X = 0.004;
[f1, f2, f3, f4, f5, f6, f7] = splitFlow(F);
F2 = mixer(f1,f7);
F3 = reactor(X,f2);
[F4 F5] = condenser(Alpha,f3);
[F6 F7] = purger (Beta,f5);
b2 = F2 - f2;
b3 = F3 - f3;
b4 = F4 - f4;
b5 = F5 - f5;
b6 = F6 - f6;
b7 = F7 - f7;
x = 0.004;
cLast = f1(5) - x * sum(f1);
c = [f2(1); f2(2); f1(3); f1(4); cLast];
b = [b2;b3;b4;b5;b6;b7;c];
endfunction
// f21 = 28, f22 = 70, f13=f14=0 and the constraint on inerts
bB = [zeros(30,1); [28; 70; 0; 0; 0]];
AB = mkMatrix(35, massBalanceB);
FB = AB \ bB;
[f1B, f2B, f3B, f4B, f5B, f6B, f7B] = splitFlow(FB);
factorB = 155 / f4B(3);
FBfinal = factorB * FB;
//=================================================================
//Tutorial 7 Question 1
//=================================================================
x=1:1:7;//Stream counter
names=['CO2' 'H2' 'CH3OH' 'H2O' 'Inerts']';//Components
flow=['Component/Flow' 'kmol/hr' 'kmol/hr' 'kmol/hr' 'kmol/hr' 'kmol/hr' 'kmol/hr' 'kmol/hr'];//Flow units
frac=['Component/Molfrac' '[-]' '[-]' '[-]' '[-]' '[-]' '[-]' '[-]'];//mole frac units (dimensionless)
fr=[f1B./sum(f1B) f2B./sum(f2B) f3B./sum(f3B) f4B./sum(f4B) f5B./sum(f5B) f6B./sum(f6B) f7B./sum(f7B)];//Mole fracs
total=[sum(f1B) sum(f2B) sum(f3B) sum(f4B) sum(f5B) sum(f6B) sum(f7B)];//Total flows for each stream
csvWrite(['Stream' string(x);flow;names string([f1B f2B f3B f4B f5B f6B f7B]);'Total' string(total);frac;names string(fr)],'streamtable_q1.csv');
//=================================================================
//Tutorial 7 Question 2
//=================================================================
x=[];A=[];b=[];F=[];
A=[1 1 1;0.04 0.54 0.26;0.93 0.24 0];
b=[10 2 6]';
x1=[0.2 0.6 0.2]';x2=[0.04 0.93 0.03]';x3=[0.54 0.24 0.22]';x4=[0.26 0 0.74]';
F=A\b;
F1=10;F2=F(1);F3=F(2);F4=F(3);
x=1:1:4;
flow2=['Component/Flow' 'mol/s' 'mol/s' 'mol/s' 'mol/s'];
comps=['Species 1' 'Species 2' 'Species 3']';
frac2=['Component/Molfrac' '[-]' '[-]' '[-]' '[-]'];
flows=[F1.*x1 F2.*x2 F3.*x3 F4.*x4];//Species flows for each stream
csvWrite(['Stream' string(x);flow2;comps string(flows);'Total' string([F1 F2 F3 F4]);frac2;comps string([x1 x2 x3 x4])],'streamtable_q2.csv');
|
a2ccc028dcc9a160c5fec0a78180e48419ec1df5 | d56141249002a5da7c4a2641dbdfc609809046a8 | /octopus/pot_surf_plot.sce | 568a11af592891605b38bc19b0b31702c088a976 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,733 | sce | pot_surf_plot.sce | // This code read the KS potential and plot it potentiral profile along
// a particle direction
clear;clc; xdel(winsid())
// Parameter ===========================================================
work_dir='C:\MyDrive\Work\CO_junc\md_cw1' // upper of td.xxxxxxxx
h_par=0.2 // h parameter used in Octopus
target_dir=5000 // number of target folder
pot_type='Vks' // Vks, V0, Vh, Vxc,
pot_line=[2,26;3,26]; // [axis1,val1;axis2,val2]
line_filt=-20;
pot_surf=[2,26]; //[axis, layer]
surf_filt=-25;
// Predef functions ====================================================
// td folder name function
function name_str=td_name_conv(name_num)
name_str=string(name_num);
name_str='td.'+strcat(repmat('0',1,7-length(name_str)))+name_str;
endfunction
// Main ================================================================
// read Vks data
fid=mopen(work_dir+'/'+td_name_conv(target_dir)+'/'+pot_type+'.xsf','r');
desc_lines=0
while grep(mgetl(fid,1),'DATAGRID_3D_function')==[]
desc_lines=desc_lines+1
end
desc_lines=desc_lines+6;
data_grid=mfscanf(1,fid,'%f %f %f');
mgetl(fid,5)
Vks_data=mfscanf(prod(data_grid),fid,'%f');
mclose(fid);
// read Vext data
fid=mopen(work_dir+'/'+td_name_conv(target_dir)+'/'+'scalar_pot-1.xsf','r');
desc_lines=0
while grep(mgetl(fid,1),'DATAGRID_3D_function')==[]
desc_lines=desc_lines+1
end
desc_lines=desc_lines+6;
data_grid=mfscanf(1,fid,'%f %f %f');
mgetl(fid,5)
Vext_data=mfscanf(prod(data_grid),fid,'%f');
mclose(fid);
//Vtot_data=Vks_data+Vext_data;
Vtot_data=Vks_data
// reshape Vtot_data to [x,y,z] ordering
Vtot_data=matrix(Vtot_data,data_grid(1),data_grid(2),data_grid(3));
// plot potetial line
if prod(pot_line(:,1)==[1,2]')==1 then
x=1:data_grid(3);
val=squeeze(Vtot_data(pot_line(1,2),pot_line(2,2),:));
elseif prod(pot_line(:,1)==[1,3]')==1
x=1:data_grid(2);
val=squeeze(Vtot_data(pot_line(1,2),:,pot_line(2,2)))
elseif prod(pot_line(:,1)==[2,3]')==1
x=1:data_grid(1);
val=squeeze(Vtot_data(:,pot_line(1,2),pot_line(2,2)))
end
val(val<=line_filt)=line_filt
figure(1)
plot(x,val);
a=gce(); a.children.thickness=2;
set(gcf(),'background',8)
set(gca(),'thickness',4)
set(gca(),'font_size',4);
// plot potential surface
select pot_surf(1)
case 1
ax1=1:data_grid(2);
ax2=1:data_grid(3);
val=squeeze(Vtot_data(pot_surf(2),:,:));
case 2
ax1=1:data_grid(1);
ax2=1:data_grid(3);
val=squeeze(Vtot_data(:,pot_surf(2),:));
case 3
ax1=1:data_grid(1);
ax2=1:data_grid(2);
val=squeeze(Vtot_data(:,:,pot_surf(2)));
end
val(val<=surf_filt)=surf_filt
figure(2)
xset("colormap", hotcolormap(64))
Sgrayplot(ax1,ax2,val);
a=gce(); a.children.thickness=2;
a=gcf(); a.background=64;
colorbar(min(val),max(val))
|
070d42ea266917030abadb0e4d9b7d87b605c550 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH6/EX6.10/10.sce | 24099ea53a7d20f70ce1e9d7dfe582780ac56f37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | 10.sce | //Variable declaration
m=9.1*10**-31
k=1.38*10**-23
T=300
h=6.626*10**-34
Eg=1.1
e=1.6*10**-19
mu_e=0.48
mu_h=0.013
//Calculations
ni=2*((2*%pi*m*k*T)/h**2)**(3/2)*exp(-(Eg*e)/(2*k*T))
sigma=ni*e*(mu_e+mu_h)
//Result
printf('Conductivity = %0.3f *10**-3 ohm**-1 m**-1 \n',(sigma*10**3)) |
739ce02de1d083440cff6dcdfb9cd999b2987b36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH11/EX11.3/Ex11_3.sce | d19aa63bf0e8952d40dabc51dc5a18b6b091bfe1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,303 | sce | Ex11_3.sce | clear ;
clc;
// Example 11.3
printf('Example 11.3\n\n');
printf('Page No. 314\n\n');
//given
f = 1;// feed of sodium hydroxide in kg
v = 0.5;// produed vapour in kg
A = 30;// in m^2
T1 = 95;// Temperature of boiling solution in deg C
U = 3*10^3;// heat transfer coefficent in W/m^2-K
m = 1;// feed rate in kg/s
Tf = 70;// Feed temperature in deg C
h_f = 260*10^3;// Enthalpy of feed in J/kg
h_b = 355*10^3;// Enthalpy of boiling solution in J/kg
h_v = 2.67*10^6;// Enthalpy of vapour in J/kg
P1 = 0.6;// Pressure in vapour space in bar
Q = (v*h_b) + (v*h_v) -(f*h_f);// in W
printf('The total energy requirement is %.0f W \n',Q)
// As Q = A*U*dT
dT = Q/(U*A);// in degree celcius
T2 = dT + T1;// in degree celcius
//The temperature of the heating steam T2 corresponds to a pressure of 1.4 bar. Dry saturated steam at 1.4 bar has a total enthalpy of 2.69*10^6 J/kg
//Assuming an isentropic compression of the vapour from 0.6 bar to 1.4 bar, the outlet enthalpy is 2.84*10^6 J/kg
// from steam table
P2 = 1.4// pressure in bar
h_s = 2.69*10^6;// enthalpy of dry saturated steam in J/kg
h_v2 = 2.84*10^6 ;// the outlet enthalpy of vapour in J/kg
W = v*(h_v2 - h_s);// Work in W
T_E = W + 60*10^3;// in W
printf('The total energy consumption is %.0f W',T_E)
|
6b9d65760480f5e5fb42ef33cc46495154224969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH7/EX7.10/7_10.sci | e3c55883deccaeb86a6be16ff92dfc2743d40fa5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sci | 7_10.sci | // Calculating possible phase angles
clc;
disp ('if spot generating pattern moves in the clockwise direction')
Y1=0;
Y2=5;
PA=asind(Y1/Y2);
disp(PA,'phase angle (degree)')
Y1=2.5;
Y2=5;
PA=asind(Y1/Y2);
disp(PA,'phase angle (degree)')
Y1=3.5;
Y2=5;
PA=asind(Y1/Y2);
disp(PA,'phase angle (degree)')
Y1=2.5;
Y2=5;
PA=180-[asind(Y1/Y2)];
disp(PA,'phase angle (degree)')
|
6db65a0be68a7026337f9e6b14d5ec1d2df7ba04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH6/EX6.2/6_2.sce | f92e4a70bcbe1b05608e8462da06ff740e7efade | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | 6_2.sce | clc;
disp("Example 6.2")
density= 1200 // in kg/m^3
mew= 2.25e-5 // viscosity in Pas
g= 9.81 // acceleration due to gravity in m/s^2
gasdensity= 1.15 // in kg/m^3
velocity=0.2 // in m/s
d=(18*mew*velocity/(g*(density-gasdensity)))^0.5
disp(d, "Maximum particle size is ")
|
631bd2fc0d9347a777ecddd3ca1fdc64a7c9c4c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH23/EX14.23.19/Ex14_23_19.sce | c67ce29bb29af2380ebdc853d0b833db124f044b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_23_19.sce | //Section-14,Example-3,Page no.-PC.113
//To calculate the quantity of NaOH.
clc;
M_m=40 //Molecular mass of NaOH
pH=10
C_1=10^-pH //[H3O+]
k_w=10^-14
C_2=k_w/C_1 //[OH-]
C_3=C_2 //Since NaOH is a strong base [NaOH]=[OH-]
A=M_m*C_3
disp(A,'Required amount of NaOH(gm)')
|
3b8a432e220838329562506e17bfcc5b87a4e380 | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH3/EX3.2/Ex3_2.sce | cb230b05c95e7851969702aec8cc1376dffef254 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex3_2.sce | //caption:Find change in resistance
//Ex3.2
clc
clear
close
G=2//gauge factor
S=500//stress applied(in Kg/cm^2)
v=2*10^6//modulus of elasticity(in Kg/cm^2)
e=(S/v)
R=(e*G)*100
disp(R,'change in resistance(in %)=') |
80b0b18cc9edd0dc3790cd03057f2aee0d862058 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH10/EX10.29/10_29.sce | 4efcb49c4733085837526c24115e3eafac2fd441 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,663 | sce | 10_29.sce | clear
clc
a=exp(%i * 2*%pi/3)
V=33
S=45
SF=2000
V2=132
Z=V2*V2/S
I=S*1e6 /(sqrt(3) * V2 * 1e3)
X1=.4* 60
X2=.4* 60
X0=1 * 60
x1=X1/Z
x2=X2/Z
x0=X0/Z
xg=.0225
xt=.1
xf1=x1/2 + xg + xt
xf2=x2/2 + xg + xt
xf0=(x0/2 + xt)/2
xf=xf1+xf2+xf0
ia1=round(1000/xf)/1000
iF1=3*ia1
IF1=iF1*I
mprintf("\n(a)Fault Current = %.2fA",IF1)
IA1=ia1*-1*%i
IA2=ia1*-1*%i
IA0= ia1 * .5*-1*%i
IA=round((IA1 +IA2 +IA0)*10000)/10000
IB=round(((IA1*a*a) + (a*IA2) +IA0)*10000)/10000
IC=round(((IA1*a) + (a*a*IA2) +IA0)*10000)/10000
mprintf("\n(b)From T1 to P: (in order - IA,IB, IC in pu)")
disp(IC, IB, IA)
IA1b=0
IA2b=0
IA0b=ia1 * .5*-1*%i
IAb=round((IA1b +IA2b +IA0b)*10000)/10000
IBb=round(((IA1b*a*a) + (a*IA2b) +IA0b)*10000)/10000
ICb=round(((IA1b*a) + (a*a*IA2b) +IA0b)*10000)/10000
mprintf("\nFrom P to T2: (in order - IA,IB, IC in pu)")
disp(ICb, IBb, IAb)
//(c)
Ia0=0
Ia1=IA1 * exp(%i * -1*%pi/6)
Ia2=IA2 * exp(%i * 1*%pi/6)
Ia=round((Ia1 +Ia2 +Ia0)*1000)/1000
Ib=round(((Ia1*a*a) + (a*Ia2) +Ia0)*1000)/1000
Ic=round(((Ia1*a) + (a*a*Ia2) +Ia0)*1000)/1000
mprintf("\n(c) Currents in lines connecting source to T1 (in order - Ia,Ib, Ic in pu)")
disp(Ic, Ib, Ia)
mprintf("\n(d) Currents in star wdg of T1")
mprintf("\nIa= %.4fj, Ib= %.4fj, Ic= %.4fj", imag(IA), imag(IB), imag(IC))
mprintf("\nIa1= %.4fj, Ia2= %.4fj, Ia0= %.4fj", imag(IA1), imag(IA2), imag(IA0))
mprintf("\nIb1= %.4f /_%.3f, Ib2=%.4f/_%.3f, Ib0= %.4fj", abs(IA1 *a*a),atand(imag(IA1*a*a)/real(IA1*a*a))+180,abs(IA1 *a),atand(imag(IA2*a)/real(IA2*a)),imag(IA0))
mprintf("\nIc1= %.4f /_%.3f, Ic2=%.4f/_%.3f, Ic0= %.4fj", abs(IA1 *a),atand(imag(IA1*a)/real(IA1*a)),abs(IA1 *a*a),atand(imag(IA2*a*a)/real(IA2*a*a))+180,imag(IA0))
Iab1 = round(IA1*1e3 /sqrt(3))/1e3
Iab2 = round(IA2*1e3 /sqrt(3))/1e3
Iab0 = round(IA0*1e3 /sqrt(3))/1e3
Ibc1=Iab1 * a*a
Ibc2=Iab2 * a
Ibc0=Iab0
Ica1=Iab1 * a
Ica2=Iab2 * a *a
Ica0=Iab0
Iab= Iab1 +Iab2 +Iab0
Ibc= Ibc1 +Ibc2 +Ibc0
Ica= Ica1 +Ica2 +Ica0
mprintf("\n\nCurrents in delta wdg of T1")
mprintf("\nIab= %.4fj, Ibc= %.4fj, Ica= %.4fj", imag(Iab), imag(Ibc), imag(Ica))
mprintf("\nIab1= %.4fj, Iab2= %.4fj, Iab0= %.4fj", imag(Iab1), imag(Iab2), imag(Iab0))
mprintf("\nIbc1= %.4f /_%.3f, Ibc2=%.4f/_%.3f, Ibc0= %.4fj", abs(Ibc1),atand(imag(Ibc1)/real(Ibc1))+180,abs(Ibc2),atand(imag(Ibc2)/real(Ibc2)),imag(Ibc0))
mprintf("\nIca1= %.4f /_%.3f, Ica2=%.4f/_%.3f, Ica0= %.4fj", abs(Ica1),atand(imag(Ica1)/real(Ica1)),abs(Ica2),atand(imag(Ica2)/real(Ica2))+180,imag(Ica0))
mprintf("\n\n Currents in star wdg of T2")
mprintf("\nIa= %.4fj, Ib= %.4fj, Ic= %.4fj", imag(IAb), imag(IBb), imag(ICb))
mprintf("\nIa1= %.4f, Ia2= %.4f, Ia0= %.4fj", imag(IA1b), imag(IA2b), imag(IA0b))
mprintf("\nIb1= %.4f, Ib2= %.4f, Ib0= %.4fj", imag(IA1b *a*a), imag(IA1b *a),imag(IA0b))
mprintf("\nIc1= %.4f, Ic2= %.4f, Ic0= %.4fj", imag(IA1b *a), imag(IA1b*a *a),imag(IA0b))
Iab1b = round(IA1b*1e3 /sqrt(3))/1e3
Iab2b = round(IA2b*1e3 /sqrt(3))/1e3
Iab0b = round(IA0b*1e3 /sqrt(3))/1e3
Ibc1b=Iab1b * a*a
Ibc2b=Iab2b * a
Ibc0b=Iab0b
Ica1b=Iab1b * a
Ica2b=Iab2b * a *a
Ica0b=Iab0b
Iabb= Iab1b +Iab2b +Iab0b
Ibcb= Ibc1b +Ibc2b +Ibc0b
Icab= Ica1b +Ica2b +Ica0b
mprintf("\n\nCurrents in delta wdg of T2")
mprintf("\nIab= %.3fj, Ibc= %.3fj, Ica= %.3fj", imag(Iabb), imag(Ibcb), imag(Icab))
mprintf("\nIab1= %.3f, Iab2=%.3f, Iab0= %.3fj", imag(Iab1b), imag(Iab2b), imag(Iab0b))
mprintf("\nIbc1= %.3f, Ibc2=%.3f, Ibc0= %.3fj", imag(Ibc1b),imag(Ibc2b),imag(Ibc0b))
mprintf("\nIca1= %.3f, Ica2=%.3f, Ica0= %.3fj", imag(Ica1b),imag(Ica2b),imag(Ica0b))
|
06b83b43d923fa52e38fb8cd5c991e3c83203e1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH2/EX2.4/ch2_4.sce | a50b25b7538aa8d0a4c0952b6064f6e9d8283646 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | ch2_4.sce | // To determine the inductance of single phase Transmission line
clear
clc;
GMDa=0.001947;// GMD of conductor in group A
DSA=((.001947*6*12*.001947*6*6*0.001947*6*12)^(1/9));
DSB=sqrt(5*(10^-3)*.7788*6);
Dae=sqrt((9^2)+6^2);
Dcd=sqrt((12^2)+9^2);
DMA=((9*10.81*10.81*9*15*10.81)^(1/6));
LA=2*(10^-7)*(10^6)*log(DMA/DSA);
LB=2*(10^-7)*(10^6)*log(DMA/DSB);
Tot=LA+LB;
mprintf("inductance of line A,LA=%.3f mH/km\n",LA);//Answers don't match due to difference in rounding off of digits
mprintf("inductance of line B,LB=%.1f mH/km\n",LB);//Answers don't match due to difference in rounding off of digits
mprintf("total inductance of line =%.2f mH/km\n",Tot);//Answers don't match due to difference in rounding off of digits
|
28cff76a802451941e0277d47440541ee3443f8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH7/EX7.9/Ex7_9.sce | 180c13c2e174cfe3139626fc31cbfd5495414ab9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | Ex7_9.sce | //Ex:7.9
clc;
clear;
close;
V_pp=14.8-3.3;
printf("Collector quiescent voltage = 9.2 V");
printf("\nCollector quiescent current = 7.3mA");
printf("\nOutput peak-peak voltage = %f V",V_pp); |
b174ee61232bce1400c120687dc688f65a58b85c | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH12/EX12.12/12_12.sce | 64e28c55b19ac76c0c8c608cca3c3480a1f40780 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_12.sce | clear; clc; close;
Vcc =25;
Rl = 4;
Vl_p = Vcc;
P2q_max = (2*Vcc^2)/((%pi^2)*Rl);
Vl = 0.636*Vl_p;
disp(P2q_max,'Maximum power dissipated(Watts) = ');
disp(Vl,'Input voltage at which this occurs(Volts) = ');
|
00dbae844240a240d20b7070cb36c3268aa797cb | e25bb3040c96f9782aab0493e05ba22f5bf50ccf | /ex3/ex3_2c.sce | d46e05551094b73a6d26356a9336bb3bcaaae320 | [] | no_license | gpioblink/aizu-spls-exercise | c13258d46f50ed2db7797693a097b0fb75d24eaf | 6c0b9326ba8e4b52378cfe777e82a2bfcdecc9b9 | refs/heads/master | 2022-09-14T06:09:44.774157 | 2020-05-31T07:43:26 | 2020-05-31T07:43:26 | 263,856,972 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | ex3_2c.sce | [s,Fs] = wavread('abc.wav')
for n = 1:length(s)*2
if modulo(n,2) then
z(n) = s((n+1)/2)
else
z(n) = s(n/2)
end
end
S = fft(z)
Ss = fftshift(S/(length(z)))
wavwrite(z,Fs, 'abc_z.wav')
subplot(2,1,1);
plot(z);
xlabel('t');
ylabel('amplitude');
a=get("current_axes");
set(a,"x_location","origin")
set(a,"y_location","origin")
subplot(2,1,2);
p = length(Ss)
plot(-p/2+1:p/2, abs(Ss));
xlabel('f');
ylabel('spectrum');
a=get("current_axes");
set(a,"x_location","origin")
set(a,"y_location","origin")
|
2e955d9ff9ed10ee8ad4118a3c6cda319749588f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH6/EX6.9/ex6_9.sce | 5baaff9b131d729a354a0199679c4efeaeedee41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | ex6_9.sce | //Page Number: 335
//Example 6.9
clc;
//Given
I0=500D-3; //A
V0=10D+3; //V
Z0=25; //ohm
l=.20; //m
f=5.93D+9; //Hz
//Gain parameter
C=((I0*Z0)/(4*V0))^(1/3);
disp(C,'Gain parameter:');
N=(l*f)/(0.593D+6*sqrt(V0));
//Gain
Ap=-9.54+(47.3*C*N);
disp('dB',Ap,'Gain of TWT:');
|
adf5a9432cacf393e1f8c020800d7b845f0f050f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH9/EX9.14.1/ex_9_14_1.sce | 2ee9c971fa8e358b338b7cbee1a49b4c0192e086 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | ex_9_14_1.sce | //Example 9.14.1 // peak to peak voltage and rms voltage
clc;
clear;
close;
format('v',7)
vdv=1;//volts per division in V/div
n=6.8;//no. of divisions
Vpp=vdv*n;//peak to peak voltage in volts
vrms=Vpp/(2*sqrt(2));//rms voltage in volts
disp(Vpp,"peak to peak voltage in volts")
disp(vrms,"rms voltage in volts")
|
b4f55ed40816e4d8c604baf666a629ed9d39610c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH2/EX2.21.4/ex2_21_4.sce | f2a2304e64319de3f0b953aca18e89d9ba667e61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | ex2_21_4.sce | // Exa 2.21.4
clc;
clear;
close;
// Given data
K = 1.38 * 10^-23;// in J/K
T = 27;// in degree
T = T + 273;// in K
e = 1.6 * 10^-19;// in C
Mu_e = 0.17;// in m^2/v-s
Mu_e1 = 0.025;// in m^2/v-s
D_n = ((K * T)/e) * Mu_e;// in m^2/s
disp(D_n,"The diffusion coefficient of electrons in m^2/s is");
D_p = ((K * T)/e) * Mu_e1;// in m^2/s
disp(D_p,"The diffusion coefficient of holes in m^2/s is ");
|
73720f8a13a80e533f083e47ecd870d06a3e1e48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH5/EX5.1/ex5_1.sce | 63119de3f7d8c488498e1a1e54608a961db755b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | ex5_1.sce | //Exam:5.1
clc;
clear;
close;
//The probability that a particular quantum state at energy E is filled, is given by
//f(E) =1/(1+exp(E-E_f)/kT)
e=1.6*10^(-19);//charge on the electron
dE=0.5*e;//E-E_f in joule
//0.01=1/(1+exp(x))
//1+exp(x)=100
x=log(99);
k=1.38*10^(-23);//constant
T=dE/(x*k);//temperature
disp(ceil(T),'temperature at which there is one per cent probability that a state with an energy 0.5 eV above the Fermi energy will be occupied by an electron(in K)='); |
571f7ccf5b4cb3b4e3aab1ce0e715385deb667cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH9/EX9.1/Ex9_1.sce | dfb3ea9918b58c9a8bd93764277029a3f0231ba0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,066 | sce | Ex9_1.sce | //example 9.1
clc; funcprot(0);
sall=30;//sigma allowed
pi=%pi;
zbar=12.1;
L1=10;
L2=20;
Gamma=0.12;
Gamma1=0.1294-0.0624;
phi=40*pi/180;
Ka=(tan(pi/4-phi/2))^2;
Kp=(tan(pi/4+phi/2))^2;
s1=Gamma*L1*Ka;//sigma1
s2=Gamma*L1*Ka+Gamma1*L2*Ka;//sigma2
L3=s2/(Gamma1*(Kp-Ka));
disp(L3,"length in ft");
P=1/2*s1*L1+s1*L2+1/2*(s2-s1)*L2+1/2*s2*L3;
disp(P,"force in kip/ft");
s5=Gamma*L1*Kp+Gamma1*L2*Kp+Gamma*L3*(Kp-Ka);//sigma5
disp(s5,"pressure in kip/ft");
A1=s5/(Gamma1*(Kp-Ka));
A2=8*P/(Gamma1*(Kp-Ka))
A3=6*P*(2*zbar*(Gamma1*(Kp-Ka))+s5)/(Gamma1*(Kp-Ka))^2
A4=P*(6*zbar*s5+4*P)/(Gamma1*(Kp-Ka))^2
printf("A1,A2,A3,A4 respectively in %.2f,%.2f,%.2f,%.2f \n",A1,A2,A3,A4);
disp("slight error due to rounding off error")
//partb
deff('y=f(x)','y=x^4+41.7*x^3-270.5*x^2-13363*x-106863');
[x]=fsolve(20,f);
D=1.88+x;
disp(D,"value of D, ft")
TL=L1+L2+1.3*D;
disp(TL,"total length in ft");
//partc
z=sqrt(2*P/(Gamma1*(Kp-Ka)));//zdash
Mmax=P*(z+zbar)-1/2*(Gamma1*(Kp-Ka))*z^2*z/3;
S=Mmax*12/sall;
disp(S,"section modulus in in^3/ft")
|
16e8bc58d5cdec0916d22acf843492fbdc6c930e | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Functions/TimeSeries.tst | 9dc394d316aa3460d4c3add91f7d12aea6a3b90c | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,486 | tst | TimeSeries.tst | SELECT q.*
FROM(
SELECT a.GroupID,
a.Time,
a.Value,
NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.Time), 1)
AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.Time), 1)
AS end_flag
FROM tblTimeSeriesTest a
) AS p,
TABLE(FLARIMAUdt(p.GroupID,
p.Value,
1,
0,
1,
p.begin_flag,
p.end_flag)
) AS q
ORDER BY 1, 2, 3
LIMIT 20;
-------------------------------------------------------------------------------------
SELECT q.*
FROM(
SELECT a.GroupID,
a.Time,
a.Value,
NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.Time), 1)
AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.Time), 1)
AS end_flag
FROM tblTimeSeriesTest a
) AS p,
TABLE(FLARIMAFcstUdt(p.GroupID,
p.Value,
1,
0,
1,
p.begin_flag,
p.end_flag)
) AS q
ORDER BY 1, 2
LIMIT 20;
-------------------------------------------------------------------------------------
SELECT q.*
FROM(
SELECT a.GroupID,
a.Time,
a.Value,
NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID,
a.Time), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.GroupID,
a.Time), 1) AS end_flag
FROM tblTimeSeriesTest AS a
) AS p,
TABLE (FLAutoCorrelUdt(p.GroupID,
p.Value,
10,
p.begin_flag,
p.end_flag)
) AS q
ORDER BY 1, 2
LIMIT 20;
-------------------------------------------------------------------------------------
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
1 AS q,
1 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a;
|
364021270bdb7e3c31a8d5ece8cf61a9e83ee415 | 86ae7e24466d959da945d5b6d8ab93354a9e8a1d | /exp3.sce | 4933d85d2cdc5e4efc69ddb5ea4325e2167decc9 | [] | no_license | AnujaNagare/Scilab-Programs | be27fdeb0db8cfa4b00ac5121676b18412b8a222 | 4152eac1a3e87ec7408fb3dfea55cac984cca2d9 | refs/heads/master | 2021-08-30T16:53:33.876536 | 2017-12-18T19:11:47 | 2017-12-18T19:11:47 | 114,677,855 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,309 | sce | exp3.sce | clf
clc;
disp('enter coordinates of the points')
x=input('Enter x coordinates')
y=input('Enter y coordinates')
z=input('Enter z coordinates')
p=[x y z 1]
r=[1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1];
i=input('Enter no. of transformation');
for k=1:1:i
j=input('choose transformation 1.translation 2.rotation');
select(j)
case 1
tx=input('translation about x axis');
ty=input('translation about y axis');
tz=input('translation about z axis');
TM=[1 0 0 0;0 1 0 0;0 0 1 0;tx ty tz 1]
r=r*TM
case 2
theta=input('enter angle')
theta=theta*pi/180;
e=input('enter axis 1.x 2.y 3.z')
select(e)
case 1
RX=[1 0 0 0;0 cos(theta) -1*sin(theta) 0;0 sin(theta) 0 cos(theta) 0;0 0 0 1]
r=r*RX
case 2
RY=[cos(theta) 0 sin(theta) 0;0 1 0 0;-1*sin(theta) 0 cos(theta) 0;0 0 0 1]
r=r*RY
case 3
RZ=[cos(theta) -1*sin(theta) 0 0;sin(theta) cos(theta) 0 ;0 0 1 0;0 0 0 1]
r=r*RZ
end
end
end
disp('final point q')
q=p*r
disp(q)
figure(1)
plot3(x,y,z,'b')
hold on
title('Original point p and transformed point q')
xlabel('x axis'),ylabel('y axis'),zlabel('z axis')
plot3(q(1),q(2),q(3),'r')
hold off
|
aea6af237bbd93af846c1ac2e723367e4c6f6f51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH10/EX10.9/Example10_9.sce | 610d9271a20f253396041ddfc8812be889c7da7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | Example10_9.sce | clear;
clc;
// Example: 10.9
// Page: 412
printf("Example: 10.9 - Page: 412\n\n");
// Solution
//*****Data******//
x1 = 0.42;
x2 = 0.58;
P = 760;// [mm of Hg]
P1sat = 786;// [mm of Hg]
P2sat = 551;// [mm of Hg]
//***************//
gama1 = P/P1sat;
gama2 = P/P2sat;
A = log(gama1)*(1 + (x2*log(gama2))/(x1*log(gama1)))^2;
B = log(gama2)*(1 + (x1*log(gama1))/(x2*log(gama2)))^2;
printf("Van Laar Constants\n");
printf("A = %.3f\n",A);
printf("B = %.3f\n",B); |
9b3995259b048f5d946dd1af75f3f5066a73d054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH10/EX10.11/exa10_11.sce | d30c60cf07b5d419c0090f79e02b7313dcaeae74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,001 | sce | exa10_11.sce | //Example 10.11
// Scaling Calculations
C=25*10^-9;
R=2000;
L=40*10^-3;
s=%s;
Z=s*L+1/(s*C+1/R);
// H=I_L/V_s =1/Z ; // Required Network function
H=1/Z;
// since resistance is affected only by the magnitude of scale factor k_m is choosen such that R_cap will be a small integer value
k_m=0.005;
R_cap=0.005*(2000);// Scaled Resistance
// L_cap=(k_m/k_f)*L , this equation is suggesting to choose k_f= k_m*L
k_f=k_m*L;
L_cap=(k_m*L)/k_f; // Scaled inductance
C_cap=C/(k_m*k_f); // Scaled Capacitance
// Network function for the scaled network calculated on the same base as above
s_c=poly(0,'s_c')
num=(s_c+4);
den=(s_c^2+4*s_c+40);
H_cap=num/den;
K_cap=1;
z_cap=roots(num);
p_cap=roots(den);
//hence poles and zeros for original network function will be
z_1=z_cap/k_f;
p_1=p_cap/k_f;
// Gain factor is given by
K=k_m/k_f;
disp(K,"Gain for original tranfer function=")
disp(z_1,"Zeros for original transfer function=")
disp(p_1,"Poles for original transfer function=")
|
db0838a2854e4827eb036050459bf124dbc40a2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH11/EX11.5/Ex11_5.sce | 6ae798e0ba47509aa57ce2ca821e153becd0d8b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 970 | sce | Ex11_5.sce | // Exa 11.5
// To Calculate:
//(a) minimum separation between frequency tones,
//(b) number of frequency tones produced by a frequency synthesizer,
//(c) processing gain, and
//(d) hopping bandwidth.
clc;
clear all;
R=200;//input data rate in bps
Fhop=200;//per second
k=1;//Multipication_Factor
//solution
// We have 32-FSK modulation scheme
Bits_sym=log2(32);
Rs=Fhop/Bits_sym;
printf('There are 200 hops per second and Symbol rate is %d symbols per sec \n',Rs);
disp("The hop rate is higher than symbol rate, the system is a fast FHSS system.");
SDur=1/Rs;
L=Fhop/Rs;
CDur=SDur/L;
Separation=1/CDur;
M=2^Bits_sym;
Hop_BW=k*M*Fhop*L;
Gp=M*k*L;
disp("");
printf(' Minimum separation between frequency tones should be %d Hz\n',Separation);
printf(' Number of different frequency tones produced by a frequency synthesizer are %d\n',M);
printf(' Processing Gain is %d\n ',Gp);
printf('Hopping bandwidth is %d kHz\n',Hop_BW/1000);
|
14be3c01fd1b22aec5bbabe1ca1017af6052c75c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH11/EX11.3/Ex11_3.sce | f82611cde2a609ad64d950367eeae574a5d83347 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | Ex11_3.sce | //Chapter 11 : Free Electron Theory Of Metals
clear;
//Variable declaration
rho=1.54*10**-8 //resistivity
n=5.8*10**28 //electron density
e=1.602*10**-19 //charge on electron
m=9.1*10**-31 //Mass of electron
//Calculations
tau=m/(n*(e**2)*rho)/10**-14
//Result
mprintf("Relaxation time= %1.2f*10**-14 seconds",tau)
|
d51aba4f9b28951cecf1741ace5f85742d16c850 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH13/EX13.9/ex13_9.sce | 4e791a3db1e0b853ea5c4abda4b0c2a2e74216bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | ex13_9.sce | //Chapter-13, Example 13.9, Page 390
//=============================================================================
clc
clear
//INPUT DATA
Ib=0.125;//base current in mA
b=200;//common-emitter DC current gain
//CALCULATIONS
Ic=b*Ib;//collector current in mA
Ie=Ib+Ic;//emitter current in mA
mprintf("Thus emitter and collector currents are %2.3f mA and %d mA respectively",Ie,Ic);
//=================================END OF PROGRAM=======================================================================================================
|
d51103e660dc7e185d40b4f2535307b933421089 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH9/EX9.15/15.sce | 20845773d03c28a6d54d119a8dff117053236fda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | 15.sce | clc
n_O2=1;
//V_O2=0.21*V;
//V_N2=0.79*V;
M_N2=28;
M_O2=32;
disp("(i) Moles of N2 per mole of O2 :")
n_N2=n_O2*0.79/0.21;
disp("n_N2=")
disp(n_N2)
disp("moles")
n=n_O2+n_N2;
disp("(ii) p_O2 and p_N2 :")
p=1; //atm
p_O2=n_O2/n*p;
disp("p_O2=")
disp(p_O2)
disp("atm")
p_N2=n_N2/n*p;
disp("p_N2=")
disp(p_N2);
disp("atm")
disp("(iii) The kg of nitrogen per kg of mixture :")
x=n_N2*M_N2/(n_N2*M_N2+n_O2*M_O2);
disp(" The kg of nitrogen per kg of mixture =")
disp(x)
disp("kg N2/kg mix") |
f3a86435528fd45d5db03807f79bc46a101f3071 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.1/Ex4_1.sce | 2fb087c03cdbbdc58a13b3a46bb9cd9c493413b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | Ex4_1.sce |
clc; funcprot(0);
// Initialization of Variable
theta=25+14.0/60;//latitude in degrees in North
L1=29+15/60;//longitude in degrees in West
L2=45+25/60;//longitude in degrees in West
R=6370.0;//radius in km
//calculation
AB=cos(theta*%pi/180)*(L2-L1);//arc length in km
dis=2*%pi*R*AB/360.0;//distance in km
disp(dis,"distance of AB in m")
clear()
|
8bcd53b1009f32ae8bc6da2a9fe215327118b977 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /environments/laas-grande-salle/SCENARIO/ManipulationTestSAHand.sce | f7155692ef90bad83f342f26235758178a98824f | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,630 | sce | ManipulationTestSAHand.sce | #************************************************************
# Scenario of grande_salle
#
# date : Fri Oct 22 17:19:29 2010
#************************************************************
p3d_sel_desc_name P3D_ENV grande_salle
#p3d_sel_desc_name P3D_ROBOT BLUE_TRASHBIN
#p3d_set_robot_steering_method Linear
#p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
#p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
#p3d_sel_desc_name P3D_ROBOT PINK_TRASHBIN
#p3d_set_robot_steering_method Linear
#p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1.255162 0.000000 0.000000 0.000000 0.000000 0.000000
#p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
#p3d_sel_desc_name P3D_ROBOT BLACK_TAPE
#p3d_set_robot_steering_method Linear
#p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
#p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT GREY_TAPE
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 4.426253 -2.224680 0.783677 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT ACHILE_HUMAN1
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT LOWTABLE
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT CHAIR1
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT CHAIR2
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT TRASHBIN
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT SHELF
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 4.500000 -2.224680 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT HRP2TABLE
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT SIMPLECHAIR
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT HRP2BARTable
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT ACCESSKIT
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT SPACENAVBOX
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
#p3d_sel_desc_name P3D_ROBOT ORANGE_BOTTLE
#p3d_set_robot_steering_method Linear
#p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 4.426253 -2.224680 2.000000 0.000000 0.000000 0.000000
#p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT VISBALL_INTERNAL
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT SAHandRight
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_constraint p3d_lin_rel_dofs 1 6 1 5 2 1.000000 0.000000 0
p3d_set_cntrt_Tatt2 0 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_constraint p3d_lin_rel_dofs 1 10 1 9 2 1.000000 0.000000 0
p3d_set_cntrt_Tatt2 1 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_constraint p3d_lin_rel_dofs 1 14 1 13 2 1.000000 0.000000 0
p3d_set_cntrt_Tatt2 2 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_constraint p3d_lin_rel_dofs 1 18 1 17 2 1.000000 0.000000 0
p3d_set_cntrt_Tatt2 3 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_sel_desc_name P3D_ROBOT JIDOKUKA_ROBOT
p3d_set_robot_steering_method Multi-Localpath
p3d_set_robot_radius 1.000000
p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 3.539823 -2.163225 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 91.692353 23.050657 -9.121951 116.585091 -144.486870 29.356629 119.281927 90.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 4.195229 -2.497740 0.919250 153.658537 34.243902 -25.463415
p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 3.539823 -2.163225 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -156.840267 7.675654 1.671586 35.662741 59.466555 91.483737 77.791212 90.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_constraint p3d_lin_rel_dofs 1 17 1 16 2 1.000000 0.000000 0
p3d_set_cntrt_Tatt2 0 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_constraint p3d_lin_rel_dofs 1 21 1 20 2 1.000000 0.000000 0
p3d_set_cntrt_Tatt2 1 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_constraint p3d_lin_rel_dofs 1 25 1 24 2 1.000000 0.000000 0
p3d_set_cntrt_Tatt2 2 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_constraint p3d_lin_rel_dofs 1 29 1 28 2 1.000000 0.000000 0
p3d_set_cntrt_Tatt2 3 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
p3d_constraint p3d_lwr_arm_ik 6 5 6 8 9 10 11 1 34 0 2 7 1
p3d_set_cntrt_Tatt 4 0.000000 0.000000 1.000000 -0.250000 -0.382683 -0.923879 0.000000 0.000000 0.923879 -0.382683 0.000000 0.000000
p3d_set_cntrt_Tatt2 4 1.000000 0.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 0.000000 1.000000 -0.105000
p3d_set_object_base_and_arm_constraints 34 1 0 1 4
p3d_set_arm_data 4 8 7 5 6 1 34
p3d_set_camera_pos 4.432160 -2.238351 0.982624 1.903393 5.641935 0.128750 0.000000 0.000000 1.000000 0.000000
|
2889beca0fa30abc84a0006b93810867a9b22ce5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH19/EX19.6/196.sce | f5a22b9e0bef60914b33e7c229e113529598d8b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 196.sce | clc;
//Example 19.6
//page no. 255
printf("\n Example 19.6 page no. 255\n\n");
//refer to example 19.5
//if gasoline has vapor pressure of 50000Pa ,we have to calculate flow rate at whhich cavitation to occur
P1=101325//upstream pressure,Pa
P2=50000//given vapor pressure,Pa
D1=0.06//upstream diameter,m
D2=0.02//throat diameter,m
rho=680//density of gasoline
v2=sqrt((2*(P1-P2))/rho*(1-D2^4/D1^4))//velocity
printf("\n velocity v2=%f m/s",v2);
q=(%pi/4)*D2^2*v2//flow rate
printf("\n flow rate q=%f m^3/s",q);
|
8cd88937f52c5dd7267569fa219e9516372a3127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH3/EX3.16/ex3_16.sce | ce7e910d24544765053cc52aeddcab9893bd3ab0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 930 | sce | ex3_16.sce | // Exa 3.16
clc;
clear;
close;
// Given data
V_in = 20;// in V
R_S = 220;// in ohm
V_Z = 10;// in V
P_Z = 400;// in mW
// Part (I)
R_L = 200;// in ohm
disp("Part (I) For R_L= 200 Ω")
V_L = V_Z;// in V
disp(V_L,"Load voltage in V is");
I_L = V_L/R_L;// in A
disp(I_L,"Load current in A is");
I_R = (V_in-V_Z)/R_S;// in A
disp(I_R,"The current through resistor in A is");
I_Z = I_R-I_L;// in A
disp(I_Z,"The value of I_Z in A is");
// Part (II)
R_L = 50;// in ohm
disp("Part (II) For R_L= 50 Ω")
V_L = V_Z;//
disp(V_L,"Load voltage in V is");
I_L = V_L/R_L;// in A
disp(I_L,"Load current in A is");
I_R = (V_in-V_Z)/R_S;// in A
disp(I_R,"The current through resistor in A is");
I_Z = I_R-I_L;// in A
disp(I_Z,"Zener current in A is");
disp("For both values of R_L, the current I_R is less than I_L and I_Z is negative. It shows that given circuit can not work successfully as a voltage regulator")
|
c5703c366d8a0c8a360761e2cae20e3124c9a5ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH6/EX6.20/EX6_20.sce | 645902f5c71daf3fa9b897d7e7d8d1cacc6130c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | EX6_20.sce | // Exa 6.20
format('v',6)
clc;
clear;
close;
// Given data
alpha_dc = 0.99;
I_C = 6;// in mA
I_C= I_C*10^-3;// in A
I_CBO = 15;// in µA
I_CBO= I_CBO*10^-6;// in A
// The emitter current,
I_E = (I_C - I_CBO)/alpha_dc;// in A
// The base current,
I_B = I_E - I_C;// in A
I_B=I_B*10^6;// in µA
disp(I_B,"The value of I_B in µA is");
|
e17b52d89d09296e4d383f33fcf0b4e77cc40ade | 3953ee8faa83677c4470242adc45315acd353eff | /examples/insulin/insulin_s1.tst | d339fd1d3ef21b94844a4bd62ac3db35b365d58a | [
"BSD-2-Clause"
] | permissive | zutshi/S3CAMR | 83be6ba820207273e6f4b81c55d737b48b097e2a | e7a354137729fcc1f87e647efc8d91e5cd40c83d | refs/heads/master | 2021-05-04T11:52:09.707263 | 2019-06-25T00:37:11 | 2019-06-25T00:37:11 | 51,499,986 | 4 | 0 | null | 2016-03-29T22:01:38 | 2016-02-11T07:22:38 | Python | UTF-8 | Scilab | false | false | 2,403 | tst | insulin_s1.tst | inf = float('inf')
plant_pvt_init_data = None
T = 720.0
#delta_t = 0.5
delta_t = 50
# HybridConfig initialConfig(initialSet, 2, 0, 0);
# Initial Mode
initial_discrete_state = [2]
# Interval init_Gp = init_Gs;
# init_Gp.mul_assign(1.9152);
# States
# idx 0 1 2 3 4 5 6 7 8 9 10 11
# name X, Isc1, Isc2, Gt, Gp, Il, Ip, I1, Id, Gs, t, uc
initial_set = [[0, 72.43, 141.15, 162.45, 120*1.9152, 3.2, 5.5, 100.25, 100.25, 120, 0, 50],
[0, 72.43, 141.15, 162.45, 160*1.9152, 3.2, 5.5, 100.25, 100.25, 160, 0, 90]]
# prop: hypoglycemia: below 70 mg/dl.
# name X, Isc1, Isc2, Gt, Gp, Il, Ip, I1, Id, Gs, t, uc
hypoglycemia = [[-inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf],
[inf, inf, inf, inf, inf, inf, inf, inf, inf, 70, inf, inf]]
# prop: ketoacidosis: The blood glucose levels should never rise above 300 mg/dl.ketoacidosis.
# name X, Isc1, Isc2, Gt, Gp, Il, Ip, I1, Id, Gs, t, uc
ketoacidosis = [[-inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, 250, -inf, -inf],
[inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf]]
# The blood glucose should be in the euglycemic range [70; 180] mg/dl during \wakeup" t 2 [600; 720]
# name X, Isc1, Isc2, Gt, Gp, Il, Ip, I1, Id, Gs, t, uc
euglycemic1 = [[-inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, 180, 600, -inf],
[inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, 720, inf]]
euglycemic2 = [[-inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, 600, -inf],
[inf, inf, inf, inf, inf, inf, inf, inf, inf, 70, 720, inf]]
# name X, Isc1, Isc2, Gt, Gp, Il, Ip, I1, Id, Gs, t, uc
#grid_eps = [1, 1, 1, 1, 20, 1, 1, 1, 1, 20, 1, 20]
grid_eps = [10]*12
num_samples = 10
error_set = ketoacidosis
MAX_ITER = inf
plant_description = 'python'
plant_path = 'insulin_s1.py'
#############################################
initial_controller_integer_state = []
initial_controller_float_state = []
num_control_inputs = 0
min_smt_sample_dist = 0
initial_private_state = []
ci = [[], []]
pi = [[],[]]
controller_path = None
controller_path_dir_path = None
|
9b7a23107ca3153d9e50fb856115a15e4b0a7e9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH4/EX4.10/Ex4_10.sce | 34e04d15cf0bc8d4f1c2d7fd8853ad123e7ceac8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | Ex4_10.sce | clear;
clc;
//Example 4.10
b=100;
Vbe=0.7;
V_T=0.026;//(V)
Re=2;
R1=50;
R2=50;
Rs=0.5;
Va=80;
//by dc analysis
Icq=0.793;
Vceq=3.4;
r_pi=b*V_T/Icq;
printf('\nsmall signal resistance=%.3f KOhm\n',r_pi)
g_m=Icq/V_T;
printf('\ntransconductance=%.3f mA/V\n',g_m)
ro=Va/Icq;
printf('\nsmall signal output resistance=%.2f KOhm\n',ro)
Rib=r_pi+(1+b)*Re*ro/(ro+Re);
printf('\ninput resistance to the base=%.2f KOhm\n',Rib)
//Ri=R1||R2||Rib
x=R1*R2/(R1+R2);
Ri=x*Rib/(x+Rib);
printf('\nRi=%.2f KOhm\n',Ri)
y=ro*Re/(ro+Re);
Av=(1/(r_pi+(1+b)*y))*(1+b)*y*Ri/(Ri+Rs);
printf('\nsmall signal voltage gain=%.3f \n',Av)
|
0c13eafc01cc5fc5f7d54b9b092584c6d6859f88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH7/EX7.6/Ex7_6.sce | 67e92061b8af69a57b0e93e645b410dbe645df0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 814 | sce | Ex7_6.sce | //page 247
//Example 7.6
clc;
clear;
close;
disp('A = ');
disp('2 0 0');
disp('a 2 0');
disp('b c -1');
a = 1;
b = 0;
c = 0;
A = [2 0 0;a 2 0;b c -1];
disp(A,'A = ');
disp('Characteristic polynomial for A is:');
disp(poly(A,"x"),'p = ');
disp('In this case, minimal polynomial is same as characteristic polynomial.');
disp('-----------------------------------------');
a = 0;
b = 0;
c = 0;
A = [2 0 0;a 2 0;b c -1];
disp(A,'A = ');
disp('Characteristic polynomial for A is:');
disp(poly(A,"x"),'p = ');
disp('In this case, minimal polynomial is:');
disp('(x-2)(x+1)');
disp('or');
x = poly(0,"x");
s = (x-2)*(x+1);
disp(s);
disp('(A-2I)(A+I) = ');
disp('0 0 0');
disp('3a 0 0');
disp('ac 0 0');
disp('if a = 0, A is similar to diagonal matrix.')
//end
|
2a765ca0313333c0c0e00d1d5008e1e22734cebb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.8/Ex2_8.sce | f3d4e30916fa2ab7f13e43f1c4c5a4cf6f288efe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | Ex2_8.sce | // Example 2.8
// Calculation of threshold power of stimulated Brillouin scattering and Raman Scattering
// Page no 52
clc;
clear;
close;
// Given data
A=0.5; // Attenuation
d=5; // Core diameter
lambda=1.3; // Operating wavelength
v=0.7; // Bandwith of laser diode
// Threshold power of stimulated Brillouin scattering
Pb=4.4*10^-3*d^2*lambda^2*A*v;
Pb=Pb*10^3;
//Threshold power stimulated Raman Scattering
Pr=5.9*10^-2*d^2*lambda*A;
//Display result on command window
printf("\n Threshold power of stimulated Brillouin scattering (in mW) = %0.2f ",Pb);
printf("\n Threshold power stimulated Raman Scattering (in W)= %0.2f",Pr);
|
6545fb56f5d0babfb6a05ca5a59e2ef0622ed054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH8/EX8.1/Example8_1.sce | 2b33e87c256607f59ed8cedba1ff585945249ac5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | Example8_1.sce | //Example 8.1
clear;
clc;
T0=10^4;
f1=100;
f2=10^6;
f3=10*10^6;
w1=2*%pi*f1;
w2=2*%pi*f2;
w3=2*%pi*f3;
h=syslin('c',T0/[(1-(%s/w1))*(1-(%s/w2))*(1-(%s/w3))]);
gm=g_margin(h);
pm=p_margin(h);
printf("(a) Gain Margin(GM)=%.2f dB",gm);
printf("\n(b) Phase Margin(PM)=%.1f degrees",-pm);
f=512*10^3;
w=2*%pi*f;
T1=T0/[(1-((%i*w)/w1))*(1-((%i*w)/w2))*(1-((%i*w)/w3))];
den=1/(abs(T1)/T0);
printf("\n(c) T0 for PM=60 degrees=%.f",den); |
2c4616149579a6179bbfecc0857ff6837939f550 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/generaliteration2.sce | 29545493a9ffbe9828542f1aa7ba81c1aff28dad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | generaliteration2.sce |
function x=generaliteration2(x,g,gp)
R=2;
PE=10^-8;
maxval=10^4;
A=[0 0];
k=gp(x);
if abs(k)>1 then error('function chosen does not converge')
abort;
end
for n=1:1:R
x=g(x);
disp(x);
if abs(g(x))<=PE then break
end
if (abs(g(x))>maxval) then error('Solution diverges');
abort
break
end
end
disp(n," no. of iterations =")
endfunction |
ef1f29b63898728f999eb8da93bfe7b4294b0731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH2/EX2.10/chapter2_ex10.sce | fb60805dce0534c417df95d0bc4b7a4c504820e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | chapter2_ex10.sce | clc
clear
//input
c1=2*(10^-6);// capacitance of first capacitor in farad which is connected in series with second
c2=6*(10^-6);// capacitance of second capacitor in farad which is connected in series with first
v=240;//d.c. voltage supply in volts
//calculations
ct=(c1*c2)/(c1+c2);//effective capacitance in farad
q=ct*v;//total charge in coloumbs
e1=(q^2)/(2*c1);// energy stored in first capacitor in joules
e2=(q^2)/(2*c2);// energy stored in second capacitor in joules
//output
mprintf('the energy stored in first capacitor is %3.10f J \n the energy stored in second capacitor is %3.10f J',e1,e2)
|
222330944b1099e2c5040d92808ce0e9403b9590 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH8/EX8.8/Ex8_8.sce | cfb8ef6aaab21ec64c7e72c8b265459f74cfb72a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,083 | sce | Ex8_8.sce | // chapter 8
// example 8.8
// Calculate the mean values of load voltage and current
// page-460-462
clear;
clc;
// given
Edc=80; // in V (dc source)
T=2; // in ms (chopping period)
L=8; // in mH
R=4; // in ohm
Ton_Toff_1= 1/1;
Ton_Toff_2= 4/1;
Ton_Toff_3= 1/4;
// calculate
L=L*1E-3; // changing unit from mH to H
tou=L/R;
T=T*1E-3;
//part-a
// since Ton/Toff=1/1 therefore Ton=Toff or
Ton=T/2;
Toff=Ton;
I0_max=(Edc/R)*((1-exp(-Ton/tou))/(1-exp(-T/tou)));
I0_min=I0_max*exp(-Toff/tou);
E0=Edc*(Ton/T);
I0_av=E0/R;
printf("\nWhent Ton/Toff=1/1,")
printf("\n\t\tThe maximum output current is \t\t I0_max=%.2f A", I0_max);
printf("\n\t\tThe minimum output current is \t\t I0_min=%.2f A", I0_min);
printf("\n\t\tThe mean value of load voltage is \t E0=%.f V",E0);
printf("\n\t\tThe mean value of load current is \t I0_av=%.f A",I0_av);
//part-b
// since Ton/Toff=4/1 therefore Ton=4Toff and Ton+Toff=T or 5*Toff=T therefore we get
Toff=T/5;
Ton=4*Toff;
I0_max=(Edc/R)*((1-exp(-Ton/tou))/(1-exp(-T/tou)));
I0_min=I0_max*exp(-Toff/tou);
E0=Edc*(Ton/T);
I0_av=E0/R;
printf("\nWhent Ton/Toff=4/1,")
printf("\n\t\tThe maximum output current is \t\t I0_max=%.2f A", I0_max);
printf("\n\t\tThe minimum output current is \t\t I0_min=%.2f A", I0_min);
printf("\n\t\tThe mean value of load voltage is \t E0=%.f V",E0);
printf("\n\t\tThe mean value of load current is \t I0_av=%.f A",I0_av);
//part-c
// since Ton/Toff=1/4 therefore Toff=4*Toff and Ton+Toff=T or 5*Ton=T therefore we get
Ton=T/5;
Toff=5*Ton;
I0_max=(Edc/R)*((1-exp(-Ton/tou))/(1-exp(-T/tou)));
I0_min=I0_max*exp(-Toff/tou);
E0=Edc*(Ton/T);
I0_av=E0/R;
printf("\nWhent Ton/Toff=1/4,")
printf("\n\t\tThe maximum output current is \t\t I0_max=%.2f A", I0_max);
printf("\n\t\tThe minimum output current is \t\t I0_min=%.2f A", I0_min);
printf("\n\t\tThe mean value of load voltage is \t E0=%.f V",E0);
printf("\n\t\tThe mean value of load current is \t I0_av=%.f A",I0_av);
// Note: 1 The answer for I0_min of part-b is wrong in the book due to calculation mistake.
// 2.the answers varies slightly due to precise calculation |
3fa3f85aed9f3a38fda93d12dac0416f93bb602f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH10/EX10.21/Example10_21.sce | 53df24b39cd1bf603896aee154ecdeb07a67115a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,085 | sce | Example10_21.sce | /////////Chapter 10 Properties Of Steam
///Example 10.21 Page No:201
/// Find Final enthalpy of steam
//Input data
clc;
clear;
m=4; //Steam in Kg
P=13; //Absolute pressure in bar
tsup1=450; //Absolute temp in degree celsius
deltaH=2.8*10^3;
Cps=2.3; //loses in MJ
//from steam table at 13 bar
ts=191.6; //In degree celsius
Vg=0.1511; //In m^3/Kg
hf=814.7; //In m^3/Kg
hfg=1970.7; //In KJ/Kg
hg=2785.4; //In KJ/Kg
///Calculation
h1=hg+Cps*(tsup1-ts); //Initial enthalpy of steam in KJ/Kg
Deltah=deltaH/m; //Change in enthalpy/unit mass in KJ/Kg
h2=h1-Deltah; //Final enthalpy of steam in KJ/Kg
x2=(h2-hf)/hfg; //wet & dryness fraction
//Output
printf('Initial enthalpy of steam=%f Kj/Kg \n ',h1);
printf('Change in enthalpy/unit mass=%f Kj/Kg \n ',Deltah);
printf('Final enthalpy of steam= %f KJ/Kg \n',h2);
printf('wet & dryness fraction=%f \n',x2);
|
04a8444a655787467489bef8f98c77a7ba2d45f3 | e9854f13c702aad5562ed1644c47b99122268448 | /BioChem_Scilab_Old/Reator_plug_flow_transiente_jun_20_2017.sce | 0e3ed81dcbbb3e997a2aed207aa74695804536ba | [] | no_license | ucfilho/Biochemical_Engineering | dd5edfdd2d0a531a9c59d21f44938e0993375824 | 683a02465783ab91c3e7bb06c591b914e7c17350 | refs/heads/master | 2023-05-28T02:50:42.486495 | 2023-05-25T20:53:48 | 2023-05-25T20:53:48 | 228,916,024 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,066 | sce | Reator_plug_flow_transiente_jun_20_2017.sce | clc
clear
function Derivada=f(t,Y,Num)
for i=2:Num
S=Y(i,1);X=Y(i,2);P=Y(i,3);
Sb=Y(i-1,1);Xb=Y(i-1,2);Pb=Y(i-1,3);
Derivada(i,1)=-U*(S-Sb)/deltaZ+X*MI*S/(S+Ks)*(1/Yxs)*(-1);
Derivada(i,2)=-U*(X-Xb)/deltaZ+X*MI*S/(S+Ks);
Derivada(i,3)=-U*(P-Pb)/deltaZ+X*MI*S/(S+Ks)*(Yps/Yxs)
end
endfunction
MI=0.4;Ks=2;Yps=0.4;Yxs=0.5;
Num=20;U=1;//m/s
S0=100;X0=10;P0=0;t0=0;Time=0.1:0.1:7;L=20000;
U=U*3600; // m/s
for i=1:Num
Conc0(i,1)=S0;Conc0(i,2)=X0;Conc0(i,3)=P0;
end
deltaZ=L/Num
Ref=size(Time,2)
for k=1:Ref
t=Time(k);
Conc=ode(Conc0,t0,t,f);
Y(k,:)=Conc(Num,:);
end
X=Y(:,2);S=Y(:,1);P=Y(:,3);
scf();a=get("current_axes");a.data_bounds=[0,0;10,100];plot(Time,S);xgrid(5);xtitle( 'Substrato' ) ;
xlabel("tempo(h)");ylabel("S(g/l)");
scf();a=get("current_axes");a.data_bounds=[0,0;10,100];plot(Time,X);xgrid(5);xtitle( 'Celulas' ) ;
xlabel("tempo(h)");ylabel("X(g/l)");
scf();a=get("current_axes");a.data_bounds=[0,0;10,100];plot(Time,P);xgrid(5);xtitle('Produto') ;
xlabel("tempo(h)");ylabel("P(g/l)");
|
e43e6abd5b9560e451032d6e3d94083cbbeaf44d | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH11/EX11.9/example11_9.sce | 7d83ea1e51ba0eef7b5956c4279b7437039e6c5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,111 | sce | example11_9.sce | clear;
clc;
//Example11.9[Cooling Hot Oil by Water in Multipass Heat Exchanger]
//Given:-
Cp_c=4.18,Cp_h=2.13;//Specific Heats of water and oil[kJ/kg]
mc=0.2,mh=0.3;//Mass Flow rate of oil and water [kg/s]
Th_in=150,Tc_in=20;//[degree Celcius]
n=8;//No of tubes
D=0.014;//[m]
L=5;//[m]
U=310;//Overall Heat transfer Coefficient[W/m^2.degree Celcius]
//Solution:-
Ch=mh*Cp_h;//[kW/degree Celcius]
Cc=mc*Cp_c;//[kW/degree Celcius]
if(Ch>Cc) then,
Cmin=Cc;
c=Cmin/Ch;
else
Cmin=Ch;
c=Cmin/Cc;
end
Q_max=Cmin*(Th_in-Tc_in);//[kW]
disp("kW",Q_max,"The maximum heat transfer rate is")
As=n*%pi*D*L;//[m^2]
disp("m^2",As,"Heat transfer Surface Area is")
NTU=U*As/Cmin;
disp(NTU,"The NTU of this heat exchanger is")
e=0.47;//Determined from fig 11.26(c)using value of NTU and c
Q=e*Q_max;//[kW]
Tc_out=Tc_in+(Q/Cc);//[degree Celcius]
Th_out=Th_in-(Q/Ch);//[degree Celcius]
disp("degree Celcius",Tc_out,"to","degree Celcius",Tc_in,"The temperature of cooling water will rise from")
disp("degree Celcius",Th_out,"to","degree Celcius",Th_in,"as it cools the hot oil from") |
3b84eadecafab0580224be12ec3cf81624e91dc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH7/EX7.2/7_2.sce | c8b8af319be6e23e55c5b3e7a4b0572856849aa7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sce | 7_2.sce |
clc
w=1.2//lb/ft^2
u=0.3
v=3600//ft/min
V=v/60//ft/sec
theta=165//degrees
g=32.2//ft/s^2
x=theta*%pi/180
k=%e^(u*x)//k=T1/T2=e^(u*x)
To=500//lb
//Solution a)Vertical drive
Tc=w*V^2/g//equation 7.5
//solution a)
H=2*(k-1)*(To-Tc)*V/((k+1)*550)
Vmax=(To*g/(3*w))^(1/2)
Hmax=2*(k-1)*(To-Tc)*Vmax/((k+1)*550)
//Solution b)
To1=To+Tc
//from equation 7.15 2/To1^2=1/Tt^2+1/Ts^2
//T1/T2=k
T2=367 //lb - from trail and error
T1=k*T2
Tt=T1+Tc
Ts=T2+Tc
HP=(T1-T2)*V/550
printf("\nSolution a)\nHorsepower transmitted= %.1f\nMaximum Horsepower transmitted= %.1f (at velocit = %.1f ft/s^2)Solution b)\nTt=%.f lb\nTs=%.f lb\nHorsepower transmitted= %.1f",H,Hmax,Vmax,Tt,Ts,HP)
|
e91d88aaaae4474dbf6fd3c37536be47b9784a20 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH2/EX2.16/Ex2_16.sce | 0e2630881fedbe1608a07488dabeb950e1ae4738 | [] | 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 | 272 | sce | Ex2_16.sce | errcatch(-1,"stop");mode(2);//Ex:2.16
;
;
temp_coeff=0.0005;//in per degree centigrade
r_t1=680;//in ohm
t1=20;//temperature diff.
t2=90;
r_o=r_t1/(1+(temp_coeff)*t1);
r_t2=r_o*(1+(temp_coeff)*t2);
printf("Resistance at %d degree = %f ohms",t2,r_t2);
exit();
|
de7aee0be16eeff0ce255452c2e30503a4925701 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/elem/or.sci | 20730a608f59b166cc0b82e1e91b8b9a1c7ac19e | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sci | or.sci | function [x]=or(a)
// and(a) returns the logical OR
// for scalar matrices, an entry is TRUE if it is not zero.
//!
select type(a)
case 1 then
k=find(abs(a)>0)
case 4 then
k=find(a)
else
error('argument must be a boolean or a real matrix!')
end
x=k<>[]
|
f2f33f9d7a21e24241302108182084bd47a4d025 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.55/EX3_55.sce | 3bba38623103b2eeb354b6bda254d6179714b764 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | EX3_55.sce | //EXAMPLE 3-55 PG NO-208-209
Vab=400+%i*0;
Vbc=-220-%i*381.05;
Vca=-220+%i*381.05;
Z1=0+%i*25;
Z2=13+%i*7.5;
Z3=20+%i*0;
IAB=Vab/Z1;
disp('i) CURRENT (IAB) is in rectangular form = '+string (IAB) +' A ');
IBC=Vbc/Z2;
disp('i) CURRENT (IBC) is in rectangular form = '+string (IBC) +' A ');
ICA=Vca/Z3;
disp('i) CURRENT (ICA) is in rectangular form = '+string (ICA) +' A ');
IA=IAB-ICA;
disp('i) CURRENT (IA) is in rectangular form = '+string (IA) +' A ');
IB=IBC-IAB;
disp('i) CURRENT (IB) is in rectangular form = '+string (IB) +' A ');
IC=ICA-IBC;
disp('i) CURRENT (IC) is in rectangular form = '+string (IC) +' A ');
|
c8842e5805865394ac137332725cd42b5b21cba2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH7/EX7.16/7_16.sce | 397ff174c51c5b4a44e6b2df3cd723a2a61a610a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | 7_16.sce | clc
//initialisation of variables
w= 40 //ft
h= 5 //ft
P=50 // lb/ft^2
i= 1/6400
h1= 10 //ft
H= 100 //ft
g= 32.2 //ft/sec^2
//CAALCULATIONS
m= w*h/P
v= 140*sqrt(m*i)
v1= v*h/h1
h2= w*h1/(H-w)
a= v1^2/(140^2*h2)
s= (i-a)*1000/(1-(v1^2/(g*h1)))
dh= h1-s
//RESULTS
printf ('depth of water= %.3f ft',dh)
|
0ab7a2bdef18bf62b5e12ec002f43889ee5e5935 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TQR1.prev.tst | 56bfb0ef5949e42ae846a94c42ec175b58cba785 | [
"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 | 365 | tst | TQR1.prev.tst | considerNonPrimitive
Expanding for base=2, level=4, reasons+features=base,primitive,same,similiar,evenexp
Refined variables=p,q
[0+1p,0+1q]: unknown -> [1] [0,0] -p²+2q²
-> solution [0,0],trivial(3)
---------------- level 0
expanding queue[0]^-1,meter=[2,2]: -p²+2q²
[0+2p,0+2q]: non-primitive
-> solution [0,0],trivial(3)
endexp[0]
Proof [1] mod 2: -p²+2q²
|
7824cb1a7a7d9b77364fc8698e21404649862c48 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Dueling Apex.sce | 41e8da913d0aaa0b6d31a3e22be6818efea2668b | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 45,640 | sce | Dueling Apex.sce | Name=Dueling Apex
PlayerCharacters=Apexer
BotCharacters=Blood + Gib + Wraith BOT Rota with diff HP.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Apexer
AddedBots=Blood + Gib + Wraith BOT Rota with diff HP.rot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=0
MapName=boxer.map
MapScale=3.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
InvincibleBots=false
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=1000.0
ScorePerDamage=0.0
ScorePerKill=12.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.25
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=true
ScoreMultDamageEfficiency=true
ScoreMultKillEfficiency=false
GameTag=Apex Legends
WeaponHeroTag=Wingman, Manwing, R99, R-99, Wraith, Bloodhound, Gibraltar
DifficultyTag=3
AuthorsTag=Midamaru / Lyks
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=true
BlockFCT=false
Description=Realistic Apex characters hitboxes and behaviors, with Wingman and R-99. ADS is supported and change spread and accuracy just like in game. You can download Apex sound fx here: https://tiny.cc/apexfx
GameVersion=1.0.7.2
ScorePerDistance=0.0
[Aim Profile]
Name=Medium Skill
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Bot Profile]
Name=Bloodhound BLUE shield
DodgeProfileNames=[AA]Apex Dodge;ADAD;Short Strafes;Very Short Strafes + Jump;Fast Strafes Close
DodgeProfileWeights=0.6;0.2;1.5;1.4;1.0
DodgeProfileMaxChangeTime=2.0
DodgeProfileMinChangeTime=0.25
WeaponProfileWeights=1.0;0.0;0.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Medium Skill;Medium Skill;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=Bloodhound BLUE shield
SeeThroughWalls=false
NoDodging=false
NoAiming=true
[Bot Profile]
Name=Gibraltar PURPLE shield
DodgeProfileNames=[AA]Apex Dodge;ADAD;Short Strafes;Very Short Strafes + Jump;Fast Strafes Close
DodgeProfileWeights=0.6;0.2;1.5;1.4;1.0
DodgeProfileMaxChangeTime=2.0
DodgeProfileMinChangeTime=0.25
WeaponProfileWeights=1.0;0.0;0.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Medium Skill;Medium Skill;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=Gibraltar PURPLE shield
SeeThroughWalls=false
NoDodging=false
NoAiming=true
[Bot Profile]
Name=Wraith WHITE shield
DodgeProfileNames=[AA]Apex Dodge;ADAD;Short Strafes;Very Short Strafes + Jump;Fast Strafes Close
DodgeProfileWeights=0.6;0.2;1.5;1.4;1.0
DodgeProfileMaxChangeTime=2.0
DodgeProfileMinChangeTime=0.25
WeaponProfileWeights=1.0;0.0;0.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Medium Skill;Medium Skill;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=Wraith WHITE shield
SeeThroughWalls=false
NoDodging=false
NoAiming=true
[Bot Rotation Profile]
Name=Blood + Gib + Wraith BOT Rota with diff HP
ProfileNames=Bloodhound BLUE shield;Gibraltar PURPLE shield;Wraith WHITE shield
ProfileWeights=1.0;1.0;1.0
Randomized=false
[Character Profile]
Name=Apexer
MaxHealth=200.0
WeaponProfileNames=Manwing;R-99;;;;;;
MinRespawnDelay=3.0
MaxRespawnDelay=9.0
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=450.0
MaxCrouchSpeed=160.0
Acceleration=8000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=400.0
Gravity=1.8
AirControl=0.3
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=0.863 Y=0.776 Z=0.434
EnemyHeadColor=X=1.000 Y=0.888 Z=0.000
TeamBodyColor=X=0.366 Y=0.067 Z=0.371
TeamHeadColor=X=0.863 Y=0.776 Z=0.434
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=270.0
MainBBType=Cylindrical
MainBBHeight=280.0
MainBBRadius=50.0
MainBBHasHead=true
MainBBHeadRadius=31.0
MainBBHeadOffset=1.0
MainBBHide=false
ProjBBType=Cuboid
ProjBBHeight=65.0
ProjBBRadius=10.0
ProjBBHasHead=true
ProjBBHeadRadius=6.0
ProjBBHeadOffset=-8.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=Run.abilsprint;;;
HideWeapon=false
AerialFriction=0.0
StrafeSpeedMult=1.3
BackSpeedMult=0.9
RespawnInvulnTime=0.0
BlockedSpawnRadius=300.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.1
AllowBufferedJumps=false
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=1.0
ForwardSpeedBias=1.0
HealthRegainedonkill=200.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=140.0
TPSOffset=X=0.000 Y=20.000 Z=0.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
[Character Profile]
Name=Bloodhound BLUE shield
MaxHealth=175.0
WeaponProfileNames=Manwing;R-99;;;;;;
MinRespawnDelay=0.1
MaxRespawnDelay=9.0
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=0.8
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=450.0
MaxCrouchSpeed=160.0
Acceleration=8000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=400.0
Gravity=1.8
AirControl=0.3
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=0.420 Y=0.208 Z=0.482
EnemyHeadColor=X=0.553 Y=0.098 Z=0.000
TeamBodyColor=X=0.366 Y=0.067 Z=0.371
TeamHeadColor=X=0.863 Y=0.776 Z=0.434
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=270.0
MainBBType=Cylindrical
MainBBHeight=265.0
MainBBRadius=46.0
MainBBHasHead=true
MainBBHeadRadius=28.0
MainBBHeadOffset=-10.0
MainBBHide=false
ProjBBType=Cuboid
ProjBBHeight=65.0
ProjBBRadius=10.0
ProjBBHasHead=true
ProjBBHeadRadius=6.0
ProjBBHeadOffset=-8.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=Run.abilsprint;;;
HideWeapon=false
AerialFriction=0.0
StrafeSpeedMult=0.9
BackSpeedMult=0.9
RespawnInvulnTime=0.0
BlockedSpawnRadius=300.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.1
AllowBufferedJumps=false
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=1.0
ForwardSpeedBias=1.0
HealthRegainedonkill=200.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=140.0
TPSOffset=X=0.000 Y=20.000 Z=0.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=5.0
[Character Profile]
Name=Gibraltar PURPLE shield
MaxHealth=200.0
WeaponProfileNames=Manwing;R-99;;;;;;
MinRespawnDelay=0.1
MaxRespawnDelay=9.0
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=0.8
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=450.0
MaxCrouchSpeed=160.0
Acceleration=8000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=400.0
Gravity=1.8
AirControl=0.3
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=0.420 Y=0.208 Z=0.482
EnemyHeadColor=X=0.553 Y=0.098 Z=0.000
TeamBodyColor=X=0.366 Y=0.067 Z=0.371
TeamHeadColor=X=0.863 Y=0.776 Z=0.434
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=270.0
MainBBType=Cylindrical
MainBBHeight=285.0
MainBBRadius=74.0
MainBBHasHead=true
MainBBHeadRadius=28.0
MainBBHeadOffset=-18.0
MainBBHide=false
ProjBBType=Cuboid
ProjBBHeight=65.0
ProjBBRadius=10.0
ProjBBHasHead=true
ProjBBHeadRadius=6.0
ProjBBHeadOffset=-8.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=Run.abilsprint;;;
HideWeapon=false
AerialFriction=0.0
StrafeSpeedMult=0.9
BackSpeedMult=0.9
RespawnInvulnTime=0.0
BlockedSpawnRadius=300.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.1
AllowBufferedJumps=false
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=1.0
ForwardSpeedBias=1.0
HealthRegainedonkill=200.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=140.0
TPSOffset=X=0.000 Y=20.000 Z=0.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=5.0
[Character Profile]
Name=Wraith WHITE shield
MaxHealth=150.0
WeaponProfileNames=Manwing;R-99;;;;;;
MinRespawnDelay=0.1
MaxRespawnDelay=9.0
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=0.8
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=450.0
MaxCrouchSpeed=160.0
Acceleration=8000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=400.0
Gravity=1.8
AirControl=0.3
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=0.420 Y=0.208 Z=0.482
EnemyHeadColor=X=0.553 Y=0.098 Z=0.000
TeamBodyColor=X=0.366 Y=0.067 Z=0.371
TeamHeadColor=X=0.863 Y=0.776 Z=0.434
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=270.0
MainBBType=Cylindrical
MainBBHeight=230.0
MainBBRadius=43.0
MainBBHasHead=true
MainBBHeadRadius=23.0
MainBBHeadOffset=-12.0
MainBBHide=false
ProjBBType=Cuboid
ProjBBHeight=65.0
ProjBBRadius=10.0
ProjBBHasHead=true
ProjBBHeadRadius=6.0
ProjBBHeadOffset=-8.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=Run.abilsprint;;;
HideWeapon=false
AerialFriction=0.0
StrafeSpeedMult=0.9
BackSpeedMult=0.9
RespawnInvulnTime=0.0
BlockedSpawnRadius=300.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.1
AllowBufferedJumps=false
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=1.0
ForwardSpeedBias=1.0
HealthRegainedonkill=200.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=140.0
TPSOffset=X=0.000 Y=20.000 Z=0.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=5.0
[Dodge Profile]
Name=[AA]Apex Dodge
MaxTargetDistance=6666.0
MinTargetDistance=0.0
ToggleLeftRight=true
ToggleForwardBack=true
MinLRTimeChange=0.7
MaxLRTimeChange=2.0
MinFBTimeChange=0.7
MaxFBTimeChange=2.0
DamageReactionChangesDirection=true
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.18
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=0.3
DamageReactionThreshold=1.0
DamageReactionResetTimer=0.2
JumpFrequency=0.25
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.1
MaxJumpTime=0.1
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.18
BlockedMovementReactionMax=0.25
[Dodge Profile]
Name=ADAD
MaxTargetDistance=2500.0
MinTargetDistance=750.0
ToggleLeftRight=true
ToggleForwardBack=false
MinLRTimeChange=0.2
MaxLRTimeChange=0.5
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.2
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.16
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.1
MaxCrouchTime=0.2
MinJumpTime=0.3
MaxJumpTime=0.6
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
[Dodge Profile]
Name=Short Strafes
MaxTargetDistance=2500.0
MinTargetDistance=750.0
ToggleLeftRight=true
ToggleForwardBack=false
MinLRTimeChange=0.2
MaxLRTimeChange=0.5
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=50.0
DamageReactionResetTimer=0.5
JumpFrequency=0.2
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.3
MaxJumpTime=0.6
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
[Dodge Profile]
Name=Very Short Strafes + Jump
MaxTargetDistance=2500.0
MinTargetDistance=750.0
ToggleLeftRight=true
ToggleForwardBack=true
MinLRTimeChange=0.1
MaxLRTimeChange=0.3
MinFBTimeChange=0.1
MaxFBTimeChange=0.3
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.6
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.3
MaxJumpTime=0.6
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
[Dodge Profile]
Name=Fast Strafes Close
MaxTargetDistance=150.0
MinTargetDistance=50.0
ToggleLeftRight=true
ToggleForwardBack=true
MinLRTimeChange=0.1
MaxLRTimeChange=1.0
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.1
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.07
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.6
MaxCrouchTime=0.8
MinJumpTime=0.1
MaxJumpTime=0.1
LeftStrafeTimeMult=0.5
RightStrafeTimeMult=0.6
StrafeSwapMinPause=0.1
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
[Weapon Profile]
Name=Manwing
Type=Projectile
ShotsPerClick=1
DamagePerShot=45.0
KnockbackFactor=0.1
TimeBetweenShots=0.26
Pierces=false
Category=SemiAutoNoPrehold
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=55000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=55000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=100000.0
GravityScale=1.0
HeadshotCapable=true
HeadshotMultiplier=2.0
MagazineMax=8
AmmoPerShot=1
ReloadTimeFromEmpty=2.1
ReloadTimeFromPartial=2.1
DamageFalloffStartDistance=5000.0
DamageFalloffStopDistance=5000.0
DamageAtMaxRange=200.0
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Arrow
VisualLifetime=0.5
WallParticleEffect=Flare
HitParticleEffect=Blood
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.5
CanAimDownSight=true
ADSZoomDelay=0.13
ADSZoomSensFactor=1.0
ADSMoveFactor=0.8
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-80.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.1
RecoilNegatable=true
DecalType=1
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=275.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=Smoke
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=8
CancelReloadOnKill=true
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=70
ADSFOVOverride=77.0
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=false
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
Explosive=false
Radius=150.0
DamageAtCenter=100.0
DamageAtEdge=0.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=false
SpreadSSA=1.0,10.0,0.0,5.3
SpreadSCA=1.0,2.0,0.0,1.3
SpreadMSA=1.0,2.0,0.0,1.3
SpreadMCA=1.0,2.0,0.0,1.3
SpreadSSH=4.0,4.0,1.35,3.7
SpreadSCH=4.0,4.0,1.4,3.8
SpreadMSH=4.0,4.0,1.65,3.7
SpreadMCH=4.0,4.0,1.4,3.8
MaxRecoilUp=3.3
MinRecoilUp=1.65
MinRecoilHoriz=0.2
MaxRecoilHoriz=1.0
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.25
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=0.5
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.01
TriggerBotFOV=0.1
StickyLock=false
HeadLock=true
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=R-99
Type=Projectile
ShotsPerClick=1
DamagePerShot=12.0
KnockbackFactor=0.0
TimeBetweenShots=0.05
Pierces=false
Category=FullyAuto
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=42000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=42000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=100000.0
GravityScale=1.0
HeadshotCapable=true
HeadshotMultiplier=1.5
MagazineMax=25
AmmoPerShot=1
ReloadTimeFromEmpty=0.7
ReloadTimeFromPartial=0.7
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=12.0
DelayBeforeShot=0.0
HitscanVisualEffect=None
ProjectileGraphic=Arrow
VisualLifetime=0.1
WallParticleEffect=Gunshot
HitParticleEffect=Blood
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.1
CanAimDownSight=true
ADSZoomDelay=0.13
ADSZoomSensFactor=1.0
ADSMoveFactor=0.8
ADSStartDelay=0.0
ShootSoundCooldown=0.05
HitSoundCooldown=0.05
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=1
DecalSize=25.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=100.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.1
TaggingMaxFactor=0.25
TaggingHitFactor=0.4
ProjectileTrail=Smoke
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=0.7
ProjectileAcceleration=0.0
AccelIncludeVertical=false
AimPunchAmount=3.0
AimPunchResetTime=0.25
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=true
PSRAutoReset=true
AimPunchUpTime=0.1
AmmoReloadedOnKill=25
CancelReloadOnKill=true
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=70
ADSFOVOverride=77.0
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=false
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=100.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=false
SpreadSSA=0.0,0.1,0.0,0.0
SpreadSCA=0.0,0.1,0.0,0.0
SpreadMSA=0.0,0.1,0.0,0.0
SpreadMCA=0.0,0.1,0.0,0.0
SpreadSSH=0.5,3.0,1.0,1.5
SpreadSCH=0.5,3.0,0.8,3.0
SpreadMSH=0.5,3.0,1.4,2.5
SpreadMCH=0.5,3.0,0.8,3.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.3
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=1.0
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=true
PSRLoopStartIndex=0
PSRViewRecoilTracking=1.0
PSRCapUp=90.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.475
PSRResetDegreesPerSec=40.0
PSR0=1.25,0.35
PSR1=0.5,0.0
PSR2=0.5,-0.75
PSR3=1.0,0.55
PSR4=1.25,0.35
PSR5=0.75,0.55
PSR6=0.75,0.6
PSR7=0.75,-0.25
PSR8=0.55,-0.1
PSR9=0.4,-0.55
PSR10=0.5,0.25
PSR11=0.2,-0.45
PSR12=0.5,0.35
PSR13=0.05,0.2
PSR14=0.05,0.2
PSR15=0.05,0.25
PSR16=-0.15,0.3
PSR17=0.0,0.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Sprint Ability Profile]
Name=Run
MaxCharges=1.0
ChargeTimer=0.001
ChargesRefundedOnKill=0.0
DelayAfterUse=0.5
FullyAuto=false
AbilityDuration=0.0
BlockAttackWhileSprinting=false
AbilityBlockedWhenAttacking=true
SpeedModifier=1.5
45DegreeSprint=true
90DegreeSprint=false
135DegreeSprint=false
180DegreeSprint=false
TapToSprint=false
Block45DegreesWhenSprinting=false
AIUseInCombat=true
AIUseOutOfCombat=false
AIUseOnGround=true
AIUseInAir=true
AIReuseTimer=1.0
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=0.0
AIMaxTargDist=2000.0
AIMaxTargFOV=15.0
AIDamageReaction=true
AIDamageReactionIgnoreChance=0.0
AIDamageReactionMinDelay=0.125
AIDamageReactionMaxDelay=0.25
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=0.0
AIDamageReactionResetTimer=0.1
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-576.000000 0.000000 256.000000
448.000000 0.000000 256.000000
448.000000 0.000000 -768.000000
-576.000000 0.000000 -768.000000
-576.000000 -16.000000 256.000000
448.000000 -16.000000 256.000000
448.000000 -16.000000 -768.000000
-576.000000 -16.000000 -768.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-576.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
448.000000 272.000000 -784.000000
-576.000000 272.000000 -784.000000
-576.000000 0.000000 -768.000000
448.000000 0.000000 -768.000000
448.000000 0.000000 -784.000000
-576.000000 0.000000 -784.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-576.000000 272.000000 272.000000
448.000000 272.000000 272.000000
448.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
-576.000000 0.000000 272.000000
448.000000 0.000000 272.000000
448.000000 0.000000 256.000000
-576.000000 0.000000 256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
448.000000 272.000000 256.000000
464.000000 272.000000 256.000000
464.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
448.000000 0.000000 256.000000
464.000000 0.000000 256.000000
464.000000 0.000000 -768.000000
448.000000 0.000000 -768.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-592.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
-576.000000 272.000000 -768.000000
-592.000000 272.000000 -768.000000
-592.000000 0.000000 256.000000
-576.000000 0.000000 256.000000
-576.000000 0.000000 -768.000000
-592.000000 0.000000 -768.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-592.000000 704.000000 256.000000
-576.000000 704.000000 256.000000
-576.000000 704.000000 -768.000000
-592.000000 704.000000 -768.000000
-592.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
-576.000000 272.000000 -768.000000
-592.000000 272.000000 -768.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
448.000000 704.000000 256.000000
464.000000 704.000000 256.000000
464.000000 704.000000 -768.000000
448.000000 704.000000 -768.000000
448.000000 272.000000 256.000000
464.000000 272.000000 256.000000
464.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-576.000000 704.000000 -768.000000
448.000000 704.000000 -768.000000
448.000000 704.000000 -784.000000
-576.000000 704.000000 -784.000000
-576.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
448.000000 272.000000 -784.000000
-576.000000 272.000000 -784.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-576.000000 704.000000 272.000000
448.000000 704.000000 272.000000
448.000000 704.000000 256.000000
-576.000000 704.000000 256.000000
-576.000000 272.000000 272.000000
448.000000 272.000000 272.000000
448.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-576.000000 720.000000 256.000000
448.000000 720.000000 256.000000
448.000000 720.000000 -768.000000
-576.000000 720.000000 -768.000000
-576.000000 704.000000 256.000000
448.000000 704.000000 256.000000
448.000000 704.000000 -768.000000
-576.000000 704.000000 -768.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-128.000000 16.000000 -320.000000
0.000000 16.000000 -320.000000
0.000000 16.000000 -336.000000
-128.000000 16.000000 -336.000000
-128.000000 0.000000 -320.000000
0.000000 0.000000 -320.000000
0.000000 0.000000 -336.000000
-128.000000 0.000000 -336.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
0.000000 16.000000 -192.000000
16.000000 16.000000 -192.000000
16.000000 16.000000 -320.000000
0.000000 16.000000 -320.000000
0.000000 0.000000 -192.000000
16.000000 0.000000 -192.000000
16.000000 0.000000 -320.000000
0.000000 0.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-144.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
-128.000000 16.000000 -320.000000
-144.000000 16.000000 -320.000000
-144.000000 0.000000 -192.000000
-128.000000 0.000000 -192.000000
-128.000000 0.000000 -320.000000
-144.000000 0.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-128.000000 16.000000 -176.000000
0.000000 16.000000 -176.000000
0.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
-128.000000 0.000000 -176.000000
0.000000 0.000000 -176.000000
0.000000 0.000000 -192.000000
-128.000000 0.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
0.000000 16.000000 -176.000000
0.000000 0.000000 -192.000000
16.000000 16.000000 -192.000000
0.000000 0.000000 -176.000000
16.000000 0.000000 -192.000000
0.000000 16.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 3 0 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 1 5 0x00000000
brush
vertices
-128.000000 0.000000 -176.000000
-128.000000 16.000000 -176.000000
-128.000000 16.000000 -192.000000
-144.000000 0.000000 -192.000000
-128.000000 0.000000 -192.000000
-144.000000 16.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000
brush
vertices
-144.000000 16.000000 -320.000000
-128.000000 16.000000 -320.000000
-128.000000 16.000000 -336.000000
-144.000000 0.000000 -320.000000
-128.000000 0.000000 -336.000000
-128.000000 0.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 3 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 1 5 0x00000000
brush
vertices
0.000000 16.000000 -320.000000
16.000000 16.000000 -320.000000
0.000000 0.000000 -336.000000
0.000000 0.000000 -320.000000
16.000000 0.000000 -320.000000
0.000000 16.000000 -336.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 3 0 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 4 2 5 0x00000000
brush
vertices
0.000000 704.000000 -192.000000
16.000000 704.000000 -192.000000
16.000000 704.000000 -320.000000
0.000000 704.000000 -320.000000
0.000000 16.000000 -192.000000
16.000000 16.000000 -192.000000
16.000000 16.000000 -320.000000
0.000000 16.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-144.000000 704.000000 -192.000000
-128.000000 704.000000 -192.000000
-128.000000 704.000000 -320.000000
-144.000000 704.000000 -320.000000
-144.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
-128.000000 16.000000 -320.000000
-144.000000 16.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-128.000000 704.000000 -320.000000
0.000000 704.000000 -320.000000
0.000000 704.000000 -336.000000
-128.000000 704.000000 -336.000000
-128.000000 16.000000 -320.000000
0.000000 16.000000 -320.000000
0.000000 16.000000 -336.000000
-128.000000 16.000000 -336.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-128.000000 704.000000 -176.000000
0.000000 704.000000 -176.000000
0.000000 704.000000 -192.000000
-128.000000 704.000000 -192.000000
-128.000000 16.000000 -176.000000
0.000000 16.000000 -176.000000
0.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
0.000000 704.000000 -176.000000
0.000000 16.000000 -192.000000
16.000000 704.000000 -192.000000
0.000000 16.000000 -176.000000
16.000000 16.000000 -192.000000
0.000000 704.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 3 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 3 0 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 1 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-128.000000 16.000000 -176.000000
-128.000000 704.000000 -176.000000
-128.000000 704.000000 -192.000000
-144.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
-144.000000 704.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 2 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 0 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 1 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-144.000000 704.000000 -320.000000
-128.000000 704.000000 -320.000000
-128.000000 704.000000 -336.000000
-144.000000 16.000000 -320.000000
-128.000000 16.000000 -336.000000
-128.000000 16.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 2 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 3 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 1 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
0.000000 704.000000 -320.000000
16.000000 704.000000 -320.000000
0.000000 16.000000 -336.000000
0.000000 16.000000 -320.000000
16.000000 16.000000 -320.000000
0.000000 704.000000 -336.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 3 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 3 0 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 4 2 5 0xff8f7d6a internal/editor/textures/editor_clip
entity
type PlayerSpawn
Vector3 position -64.000000 0.000000 -736.000000
Bool8 teamA 0
entity
type CameraPath
UInt32 entityIdAttachedTo 5
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type Effect
Vector3 position 0.000000 256.000000 0.000000
String64 effectName internal/misc/reflectionprobe
entity
type Target
Vector3 position 352.000000 256.000000 224.000000
Vector3 angles -135.000000 30.000000 0.000000
String32 name end
entity
type PlayerSpawn
Vector3 position -64.000000 0.000000 224.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 416.000000 0.000000 -256.000000
Vector3 angles 270.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -544.000000 0.000000 -256.000000
Vector3 angles 90.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -64.000000 0.000000 -256.000000
Vector3 angles 90.000000 0.000000 0.000000
Bool8 teamB 0
|
11f0c9a06bbb93caac63e140f7c696f1431a5ea5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.22/Ex5_22.sce | 8f2d0168db5c53a54974f2b4ea7e9dc14ea26f4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | Ex5_22.sce | //===========================================================================
//chapter 5 example 22
clc;
clear all;
//variable declaration
Irms = 32; //measured reading reading in A
Ir = 30; //rectifier ammeter reading in A
Ks = 1.11; //form factor for sinusoidal wave
//calculations
Iav = Ir/(Ks); //average value of current under measurement in A
e = ((Irms)/(Iav)); //percentage errror in %
//result
mprintf("form factor = %3.3f ",e);
|
12373cd2bb9efb3d3c443c26d1b1eaec4f220abe | 694ad1c574305de3b85702522d231dea9660e94c | /test/dictdiff.tst | eff2ebc4e86eb41779dc54a23b0f04bc4b425bba | [] | no_license | Mark-Seaman/SeamanTech | ced41e87b2b6fe2ffdc1172c2bd1b2e207536dfd | f2635eb82c26990305ff338c1a9dcbbf4618a3ed | refs/heads/master | 2021-01-13T02:03:24.626053 | 2015-12-07T16:20:34 | 2015-12-07T16:20:34 | 23,025,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 34 | tst | dictdiff.tst | tpyrun $p/bin/util/dictdiff_test
|
91534e2734d1e7c9824f101490381ef0f462e599 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/602data.sci | 9546dfb2342a5abe40813ee5f6409f662e19b950 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sci | 602data.sci | //consider the CJ-1 at sea level.
b=16.25;//wingspan(meter)
S=29.54;//wingarea(m^2)
AR=b^2/S;//aspect ratio
D=1.225;//density at sea level(Kg/m^3)
W=88176.75;//normal gross weight(N)
Tf=2*16245//thrust (N) provided by two turbofan engine
Cdo=0.02;//parasite drag coefficient
e=0.81;//oswald efficiency factor
V=linspace(40,300,500);//velocity over which we have to find thrust(40 to 300 m/s and over 500 points)
|
397af062db3645a1100bdffb2d1481e4c8553222 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH14/EX14.12/example14_12.sce | 849b7bc93e0b37215a653b9c4da62c6ffdad142b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sce | example14_12.sce | clear;
clc;
//Example14.12[Evaporative Cooling of a Canned Drink]
//Given:-
//Water is species A and air is species B
M_A=18,M_B=29;;//Molar Masses of water and air[kg/kmol]
D_AB=2.5*10^(-5);//Diffusivity of water vapor in air[m^2/s]
T_inf=30;//Ambient Temperature[degree Celcius]
T_avg=(20+T_inf)/2;//Average temperature
P=101.325;//Atmospheric Pressure[kPa]
//Properties of A at 20 degree Celcius
h_fg=2454;//[kJ/kg]
Pv1=2.34;//Saturation vapor pressure[kPa]
Pv2=4.25;//Vapor Pressure at 30 degree Celcius[kPa]
//Properties of air at average temperature and 1 atm
Cp=1.007;//[kJ/kg]
a=2.141*10^(-5);//[m^2/s]
phi=0.4;//Relative Humidity
//Solution:-
Le=a/D_AB;
disp(Le,"The Lewis Number is")
Pv_inf=phi*Pv2;//[kPa]
disp("kPa",Pv_inf,"The vapor pressure of air away from the surface is")
Ts=T_inf-(h_fg*M_A*(Pv1-Pv_inf)/(Cp*(Le^(2/3))*M_B*P));
disp("degree Celcius",Ts,"The temperature of the drink can be lowered to") |
7f7a1ead9f7ace3910b6a76bb9051c477c831d7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH9/EX9.3/Ex9_3.sce | 7e739109cbf0317cdd817359fb0db8cb75aaa617 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Ex9_3.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 9.3
//calculation of dielectric constant and complex permittivity of bakelite
//given data
C=147*10^-12//capacitance(in Farad)
Ca=35*10^-12//air capacitance(in Farad)
tandelta=0.0012
epsilon0=(36*%pi*10^9)^-1//electrical permittivity(in F/m) of free space
//calculation
epsilonr=C/Ca//dielectric constant
Kdash=epsilonr
Kdashdash=tandelta*Kdash
Kim=complex(Kdash,-Kdashdash)
epsilonast=epsilon0*Kim
printf('The dielectric constant is %3.1f ',epsilonr)
disp(epsilonast,'The complex permittivity(in F/m)is ')
|
83c891e8c594e3011b383ac0ff4e423cd29f1110 | 717ddeb7e700373742c617a95e25a2376565112c | /3411/CH15/EX7.1.u2/Ex7_1_u2.sce | a17e3227ca6435dad74fe7dc5c877babd192b567 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 254 | sce | Ex7_1_u2.sce | //Example 7_1_u2
clc();
clear;
//To calculate the mean free path
mn=0.26*0.91*10^-30
un=1000*10^-4
e=1.6*10^-19
tc=(mn*un)/e
vth=10^7
meanfreepath=vth*tc*10^7 //units in nm
printf("The mean free path is given by L=%.1f nm",meanfreepath)
|
ef5c3a9a900b8edb539e3b5f96f6fa892cab3ef7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH6/EX6.7/Ex6_7.sce | 867be1ceb6d8d2a96e08f5926d0341544335af28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,147 | sce | Ex6_7.sce | //Exa6.7
clc;
clear;
close;
// given :
G=12 // required gain in dB
f=200 // frequency in MHz
f=200*10^6 // frequency in Hz
c=3*10^8 // speed of light in m/s
lambda=c/f // wavelength in m
La=0.46*lambda // length of driven element in m (note: in book La is given 0.416*lambda misprint)
Lr=0.475*lambda // length of reflector in m
Ld1=0.44*lambda // length of director1 in m
Ld2=0.44*lambda // length of director2 in m
Ld3=0.43*lambda // length of director3 in m
Ld4=0.40*lambda // length of director4 in m
SL=0.25*lambda // spacing between reflector and driver in m
Sd=0.31*lambda // spacing director and driving element in m
d=0.01*lambda // diameter of elements in m
l=1.5*lambda // length of array in m
disp(La,"length of driven element in m:")
disp(Lr,"length of reflector in m:")
disp(Ld1,"length of director1 in m:")
disp(Ld2,"length of director2 in m:")
disp(Ld3,"length of director3 in m:")
disp(Ld4,"length of director4 in m:")
disp(SL,"spacing between reflector and driver in m:")
disp(Sd,"spacing director and driving element in m:")
disp(d,"diameter of elements in m:")
disp(l,"length of array in m:")
|
f1e960dd157f3dec6d7ca3c8ec84fdf4700120de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3816/CH2/EX2.4/2_4.sce | 5a774c95d0d16534522645d454e0aecf2a87b7e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | 2_4.sce | clc;
clear;
e=0.001;
D=0.50;
l=0.20;
lg=0.005;
A1=12800;//Stator peak current densities
A2=9600;//Rotor peak current densities
lamda=(%pi/3);//torque angle
F1=A1*D*(1/2);//mmf per pole
F2=A2*D*(1/2);//mmf per pole
Fo=4450;//Resultant gap mmf per pole
Mewo=1.25*10^(-7);
Bm=(Fo*Mewo)/lg;
disp(Bm,'The sine distributed flux density of peak value:')
Mp=((D*l)/(3*Mewo))*(Bm^2);//Magnetic pull per pole
disp(Mp,'The magnetic pull per pole is :')
e1=0.001/0.005;//Eccentricity after displacement of 'e'
Mu=((%pi*D*l)/(4*Mewo))*(Bm^2)*e1;
disp(Mu,'The resultant u.m.p is:')
M=260;
F=M/0.25;
disp(M,'The useful torque of machine is:')
disp(F,'The pheripheral force is:')
|
aab398f552706dc18ce048878d6ea8d7bb235f34 | 734830c483d7180158343b9b5599994878b8b197 | /trip-tests/autograder_trip01.tst | 5b1438408e9120273b58edcdeded8e9d64ed7e34 | [] | no_license | aykamko/proj61b | b53a3b569f82522144e010505859aa3ab66585bb | 5f6688b70f907107512267712a325f907e5e627b | refs/heads/master | 2021-01-16T22:08:56.235971 | 2013-12-12T09:19:39 | 2013-12-12T09:19:39 | 13,669,280 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | tst | autograder_trip01.tst | java -ea trip.Main -m trip-tests/autograder_map01 trip-tests/autograder_request01
|
fe1057990864d05c789d04e1c5c91f5fe68844cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH2/EX2.15/Ex2_15.sce | cbb54699fa48c4267ede37ef8e70efd7656440f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Ex2_15.sce | //Example 2.15
//To determine area of triangle when 3 sides are given
clc,clear
c=7 //side oposite to vertex C
a=5 //side opposite to vertex A
b=4 //side opposite to vertex B
s= (a+b+c)/2 //semi perimeter
area_K = sqrt(s*(s-a)*(s-b)*(s-c)) //using herons formula
printf('Area of triangle ABC = %.2f square units',area_K)
|
08f50a133b0fef26d761d8974bdf4aa57829ba08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH18/EX18.4/18_4.sce | 97d3dc68116ebcfd28ee9fd70bb1781c3d752f17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | 18_4.sce | //Ball is dropped from height
u1=sqrt(2*9.81*1) //m/sec
v1=-sqrt(2*9.81*0.810) //m/sec
//There is no movement of the floor before and after striking
//u2=0
//v2=0
//From the defination of coefficient of restitution
e=(3.987/4.429)
//Let the velocity of the ball after second bounce be v2
v2=e*3.987 //m/sec upward
//Expected height h2
h2=(3.576^2)/(2*9.81) //m
printf("\nCoefficient of restitution=%.3f \nExpected height of second bounce h2=%.4f m",e,h2)
|
695b66d3de1ed7221a2002326d85f3ea2c998885 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH14/EX14.12/Ex14_12.sce | f79b65a17e9bc5764565bf173ef53f4915d629ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | Ex14_12.sce | // chapter14
// example14.12
// page 307
Rin=1d3 // ohm
Rc= 10d3 // ohm
Rl=100 // ohm
gain_beta=100
// effective collector load is
R_AC=Rc*Rl/(Rc+Rl)
Av=gain_beta*R_AC/Rin
printf("voltage gain = %.3f \n",Av)
printf("comment : load is only 100 ohm so efective load of amplifier is too much reduced.\nThus voltage gain is very small.\n")
printf("In such cases we can use a step down transformer to serve the purpose. \n")
|
18c9116798b64ec9a50244c3543f7adb7a6a4422 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH6/EX6.1/Ex6_1.sce | 050c8f3bac22672dc1acb22c7deaf299cfd17036 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex6_1.sce | //Variable declaration:
NPS = 2 //Nominal pipe size (inch)
SN = 40 //Schedule number
//Calculation:
//From Table 6.2, we obtain that the inside diameter of steel pipe is ID = 2.067 in.
ID = 2.067
//Result:
printf("The inside diameter of steel pipe is : %f in.",ID)
|
13cd023003d991553033f7eeda1351b0a7d0774b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH15/EX15.9/example15_9.sce | 19e6d93bc1cdec4f45677ba444215d80fa7c91e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | example15_9.sce | clc
// Given that
v = 6.6e4 // speed of electron in m/sec
a = 0.01 // percentage accuracy in measurement of speed
e = 1.6e-19 // charge on an electron in C
m = 9.1e-31 // mass of electron in kg
h = 6.6e-34 // Planck constant in J-sec
// Sample Problem 9 on page no. 15.27
printf("\n # PROBLEM 9 # \n")
printf("Standard formula used \n")
printf(" del_x*del_p = h/(4*pi) \n")
delta_v = v * a / 100
delta_p = m * delta_v
delta_x = h / (4 * %pi * delta_p)
printf("\n Uncertainty in determining the position is %e m.",delta_x)
|
577991adf075cc79bd6c2924919fb2a4b489daba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH6/EX6.1/6_1.sce | dc159d2dcb1f7449da63f89faf557ee766ad0399 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | 6_1.sce | clear
clc
//initialisation of variables
l= 5000 //ft
l1= 2000 //ft
d= 12 //in
f= 0.005
d1= 24 //in
f1= 0.0045
l2= 3000 //ft
Q= 1800 //gal/min
w= 6.24 //lb/ft^3
g=32.2 //ft/s^2
//CALCULATIONS
F= Q/(60*w)
v1= F*4/(%pi*(d/12)^2)
v2= v1/(d1/d)^2
H= (f*l1*F^2/(10*(d/12)^5))+(f1*l2*F^2/(10*(d1/12)^5))+(v1^2/(4*g))+((v1-v2)^2/(2*g))+(v2^2/(2*g))
//RESULTS
printf ('Available Head = %.2f ft',H)
|
1545611ac85173afc8cc0ebbf46c25ed76732e09 | 33d7960e39a3e71591538dccbe1dd4014c377e78 | /Sample Solution/CompFin_2017_SS_Exercise_22_MathQF.sce | 844a21efe7cfb7e8c61fbbe9717806203016683d | [] | no_license | wiiwins/Compfin | 529e2997994babb9e3795283ddbd8ec782131148 | 2629685421e970a369ec797b76dda3d2803bcbcf | refs/heads/master | 2020-05-18T01:25:39.357847 | 2019-06-27T11:21:46 | 2019-06-27T11:21:46 | 184,090,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,440 | sce | CompFin_2017_SS_Exercise_22_MathQF.sce | // C-Exercise 22, SS 2017
// Density of the Beta distribution.
function y = Beta_density (x, alpha1, alpha2)
y = 1/beta(alpha1,alpha2) * x^(alpha1-1) .* (1-x)^(alpha2-1) .* (x>=0) .* (x<=1);
endfunction
function X = Sample_Beta_AR (alpha1, alpha2, N)
// Mode of the density of the Beta distribution.
x_max = (alpha1-1) / (alpha1+alpha2-2);
// Constant C for the acceptance/rejection method.
C = Beta_density(x_max, alpha1, alpha2);
// Generate one sample by the acceptance/rejection method.
function x = SingleSample()
success = %F
while ~success
U = rand(2,1);
success = ( C*U(2) <= Beta_density(U(1), alpha1, alpha2) );
end
x = U(1);
endfunction
// Generate N samples.
X = zeros(N,1);
for n=1:N
X(n) = SingleSample();
end
endfunction
// Test parameters.
alpha1 = 2;
alpha2 = 3;
N = 2000;
// Generate N samples.
X = Sample_Beta_AR (alpha1, alpha2, N);
// Plot histogram of samples and density of the Beta distribution.
scf(0); clf();
histplot(50,X);
// Divide density by the number of bins such that they have the same scale.
x = 0:0.01:1; plot(x, 1/50*Beta_density(x,alpha1,alpha2));
legend("Acceptance/rejection method", "True density *1/50");
xlabel("x"); ylabel("Frequency / density");
title("Illustration of the acceptance/rejection method to sample from the Beta distribution");
|
adb1bb1409731307755e7a6ba9dbe31a99bbbd86 | 58f8869b2dcd9296bbe82d9923d1d7d801937351 | /6/gaussSeidel.sce | 117c49fbfed649de2c68a2677952e5c53cbf5f84 | [
"MIT"
] | permissive | keivalya/2ME01 | f325d38ea7adace9a10bc3d83e7868d59dbc4066 | 3147e0d7319ddeb6e79fde5d0851dcc423a7e23d | refs/heads/master | 2023-02-10T20:15:29.593282 | 2021-01-09T02:39:20 | 2021-01-09T02:39:20 | 282,954,965 | 0 | 0 | MIT | 2020-10-04T02:22:40 | 2020-07-27T16:33:06 | Scilab | UTF-8 | Scilab | false | false | 656 | sce | gaussSeidel.sce | /* Gauss-Seidel Method
by Keivalya Pandya on SciLab
*/
// FUNCTION for Gauss Seidel Method
function C = seidel(a, x, b)
n = size(a, "r");
for j = 1:n
d = b(j);
for i = 1:n
if j~=i
d = d - a(j,i)*x(i);
end
x(j) = d/a(j,j);
end
end
C = x;
endfunction
// FUNCTION to give number of iterations. Here, 10 is enough.
function K(a, x, b)
for i = 1:10
x = seidel(a, x, b);
disp(x);
end
endfunction
// Q8
printf("\n\t Q8 Output\n")
x = [0,0,0,0];
a = [4, 2, 0, 0; 2, 8, 2, 0; 0, 2, 8, 2; 0, 0, 2, 4];
b = [4, 0, 0, 14];
K(a, x, b);
|
c41a5ca9dd267c2f3806635627b4ae614cdef636 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH5/EX5.6/Ex5_6.sce | a9342e5642be6e4ab7141e0d09499e28801405ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ex5_6.sce | // Example 5_6
clc;funcprot(0);
// Given data
m=2;// The mass flow rate in kg/s
V_e=200;// The rocket exhaust velocity in m/s
// Calculation
F=m*V_e;// The restraining force required to hold the rocket in place in N
printf("\nThe restraining force required to hold the rocket in place,F_c=%0.0f N",F);
|
6c9566b7dd26a4c7de43d4063e646fed8ece9786 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH4/EX4.11/Ex4_11.sce | 8efd2abd0dc1a963651d64c557f7ea89d61eaf4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex4_11.sce | //Chapter 4, Exmaple 11, page 146
//Claculate the first Townsend's ionization coefficient
clc
clear
t = 0.2*10**-6 // transit time of electrons in seconds
d = 0.05 // m
ve = d/t
TC = 35*10**-9 // Time constant
a = 1/(ve*TC)
printf("\n Electron drift velocity = %e m/s",ve)
printf("\n alpha = %e m^-1",a)
// Answers may vary due to round of error
|
3fd15f58bcc80fc757aa64b2289bbf1127e63f3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.40.15/Ex1_40_15.sce | bcf1cb27a15cfae155f8ed502e574a18a1274f6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | Ex1_40_15.sce | //Ex 1.40.15
clc;clear;close;
format('v',9);
//Given :
ND=4.5*10^15;//per cm^3
A=1*10^-2;//cm^2
l=10;//cm
tau_p=1*10^-6;//sec
tau_n=1*10^-6;//sec
Dp=12;//cm^2/sec
Dn=30;//cm^2/sec
q=1.6*10^-19;//Coulomb
del_p=10^21;//electron hole pair/cm^3/sec
x=34.6*10^-4;//cm
Kdash=26;//mV(Kdash is taken as K*T/q)
ni=1.5*10^10;//per cm^3
no=ND;//per cm^3//ND<<ni
po=ni^2/no;//per cm^3
ln=sqrt(Dn*tau_n);//cm
lp=sqrt(Dp*tau_p);//cm
dpBYdx=del_p*exp(-x/lp);//per cm^4
dnBYdx=del_p*exp(-x/ln);//per cm^4
Jp=-q*Dp*dpBYdx;//A/cm^2
Ip=Jp*A;//A
disp(Ip,"Hole diffusion current (A) : ");
Jn=q*Dn*dnBYdx;//A/cm^2
In=Jn*A;//A
disp(In,"Electron diffusion current (A) : ");
//Solution is not complete in the book and value of Jp & Jn is due to wrong calculation for dpBYdx and dnBYdx.
|
fd58d092c0f6d8ab0ac1b62487c8e89d1e836a6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH35/EX35.10/35_10.sce | 90a7b3aed94f6809fc752046bc614cb8d8b93219 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 996 | sce | 35_10.sce | //Problem 35.10: An ac. source of 30/_0° V and internal resistance 20 kohm is matched to a load by a 20:1 ideal transformer. Determine for maximum power transfer (a) the value of the load resistance, and (b) the power dissipated in the load.
//initializing the variables:
rv = 30; // in volts
thetav = 0; // in degrees
r = 20000; // in ohms
tr = 20; // turn ratio
//calculation:
//voltage
V = rv*cos(thetav*%pi/180) + %i*rv*sin(thetav*%pi/180)
//The network diagram is shown in Figure 35.13.
//For maximum power transfer, r1 must be equal to
r1 = r
//load resistance RL
RL = r1/tr^2
//The total input resistance when the source is connected to the matching transformer is
RT = r + r1
//Primary current
I1 = V/RT
//N1/N2 = I2/I1
I2 = I1*tr
//Power dissipated in load resistance RL is given by
P = RL*I2^2
printf("\n\n Result \n\n")
printf("\n (a)the value of the load resistance is %.0f ohm",RL)
printf("\n (b) Power dissipated in the load resistance is %.2E W",P) |
9257cb0f882291d62f9b9916c13263bcd21b291d | 468a1ec1a04ab99eb46811103f55ed1a32266ff7 | /Power_Law_Transform.sce | 8f50d6d43db54d9a7e141d8802c156a9093aff9a | [] | no_license | sricharraan/Image-Processing | e2c152b3127425c17ecd36548a457b81b4b74466 | 2ea4b68d172359ee2c58f4d2fc7a4f0cb99d4440 | refs/heads/master | 2022-04-16T04:11:31.984041 | 2020-04-22T05:18:47 | 2020-04-22T05:18:47 | 257,531,057 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Power_Law_Transform.sce | clc;
clear all;
a=imread('color.jpg');
subplot(1,5,1);
title('Original image');
imshow(a);
b=rgb2gray(a);
c=im2double(b);
subplot(1,5,2);
title('Grayscale image');
imshow(b);
s1=c.^0.2;
x=255/(max(max(s1)));
s4=x.*s1;
u1=uint8(s4);
subplot(1,5,3);
title('power law image with gamma 0.2');
imshow(u1);
s2=c.^0.6;
x2=255/(max(max(s2)));
s5=x2.*s2;
u2=uint8(s5);
subplot(1,5,4);
title('power law image with gamma 0.6');
imshow(u2);
s3=c.^4;
x3=255/(max(max(s3)));
s6=x3.*s3;
u2=uint8(s6);
subplot(1,5,5);
title('power law image with gamma 4');
imshow(u2); |
0b87c841f071442e61f4c78ade31c23317b16738 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH6/EX6.1/6_1.sci | ddbdad247e6d1f2b2f67796303ac1a14b701d055 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 88 | sci | 6_1.sci | //6.1
clc;
r=250;
s=1000;
l=1000;
x=r*l/s;
printf("Position of the fault=%.1fm",x) |
d83ae3b04f4df84bd035972ce6f141e3f7ba129a | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH14/EX14.18/14_18.sce | 19287d17163ce0ce31a66247351459b6157993cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sce | 14_18.sce | f=50
w=2*%pi*f
T=1/f
Iav=1/(T/2)*integrate('sin(w*t)','t',0,T/2)
disp(Iav)
|
17ad9d97fd0cda09c60b11e1b57902092acce10a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH9/EX9.4/exa_9_4.sce | a568fa03afbb71d55acba76d88b93f1262da52fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | exa_9_4.sce | // Exa 9.4
clc;
clear;
close;
//given data
f=700;// in Hz
// R_A= R_B
// T_on = T_off = T/2
// Frequency is given by equation f= 1.44/((R_A+R_B)*C)
C=0.01;// in micro F (assumed value)
C=C*10^-6;// in F
R_A= 1.44/(2*f*C);// in ohm
R_A=R_A*10^-3;// in k ohm
R_A=ceil(R_A);
R_B= R_A;
disp("Resistors required : "+string(R_A)+" k ohm (100 ohm standart value)");
|
ce371f50a9fd916b4a108f5cd146457f5fbeec9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH12/EX12.2/example12_2.sce | 6b3ea7c6cd1fd9cb3fa65f5c9296dfc5b4b30e0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 971 | sce | example12_2.sce | im=50*10^(-6);
rm=3000;
it1=10^(-3);
it2=10*10^(-3);
it3=100*10^(-3);
it4=1;
is1=it1-im;
is2=it2-im;
is3=it3-im;
is4=it4-im;
disp("Part a");
rs1=rm*im/is1;
disp("for a range of 1 mA the shunt resistance (in Ω) is"); disp(rs1);
rs2=rm*im/is2;
disp("for a range of 10 mA the shunt resistance (in Ω) is"); disp(rs2);
rs3=rm*im/is3;
disp("for a range of 100 mA the shunt resistance (in Ω) is"); disp(rs3);
rs4=rm*im/is4;
disp("for a range of 1 A the shunt resistance (in Ω) is"); disp(rs4);
disp("Part b");
vm=im*rm;
disp("at full-scale deflection the voltage drop (in V) is"); disp(vm);
disp("Part c");
rt1=vm/it1;
disp("for a range of 1 mA the total resistance (in Ω) is"); disp(rt1);
rt2=vm/it2;
disp("for a range of 10 mA the total resistance (in Ω) is"); disp(rt2);
rt3=vm/it3;
disp("for a range of 100 mA the total resistance (in Ω) is"); disp(rt3);
rt4=vm/it4;
disp("for a range of 1 A the total resistance (in Ω) is"); disp(rt4); |
2e9f2a52bf6b97e374d7a91c471fac092caa55ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH2/EX2.6/example6.sce | f6bf43028de575a232d5076db55b562b7dd9b3f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | sce | example6.sce |
// Example 2-6, page 51
clear;clc; close;
// Given data
I(1)=5;// saturation current at given temperature in nano amperes
T(1)=25;// temperature in degree celcius at which saturation current is known
T(2)=100;// temperature in degree celcius at which saturation current is to be found
// Calculations
I(2)=(2^7)*I(1);// 7 doublings between 25 and 95 degree celcius
I(3)=((1.07)^5)*I(2); // additional 5 degree between 95 and 100 degree celcius
disp("Amperes",I(3),"Saturation Current =")
// Result
// saturation current at 100 degree celcius is 898 nano amperes.
|
18fb9e4cb3a400f16d5fa781c397662dadc92959 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/TK_EvalStr.man.tst | 07b409aa9b431694f34603e84a4a1b4b8895df05 | [
"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 | 346 | tst | TK_EvalStr.man.tst | clear;lines(0);
TK_EvalStr('toplevel .foo');
// creates a toplevel TK window.
TK_EvalStr('label .foo.l -text ""TK married Scilab !!!""');
// create a static label
TK_EvalStr('pack .foo.l');
// pack the label widget. It appears on the screen.
text='button .foo.b -text close -command {destroy .foo}';
TK_EvalStr(text);
TK_EvalStr('pack .foo.b');
|
6d2d20d5a17738597bb90320a2d07b99a7035c0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH7/EX7.5/7_5.sce | 9148805a1bdc5c3f88eb6f5149455983cc8f0d4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | 7_5.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 7.5
//calculation of the normal contact force by the side wall of the groove
//given data
r=25*10^-2//radius(in m) of the cirlce
m=.1//mass(in kg) of the block
t=2//time(in s) taken by the block
//calculation
v=2*%pi*r/t//speed of the block
a=(v*v)/r//acceleration of the block
N=m*a//newton's second law
printf('the normal contact force by the side wall of the groove is %3.2f N',N)
|
c5687903410d3fa99956d56696f35581c4ef03e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1720/CH1/EX1.5/1_5.sce | 3a467d2edf8bf91bf9ea08f2487b23deb93661d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | 1_5.sce | // Example 1.5
clc;
//Given
A = [3 5 -7];
B = [2 7 1];
//Solution
C = A+B;
D = A-B;
E = (A(1,1)^2 + A(1,2)^2 + A(1,3)^2)^0.5;
F = (B(1,1)^2 + B(1,2)^2 + B(1,3)^2)^0.5;
G = (A(1,1)*B(1,1) + A(1,2)*B(1,2) + A(1,3)*B(1,3));
H = G/(E*F);
// where C=A+B and D=A-B and E =|A| and F = |B| and G = A.B and H =cos(A,B)
disp("A+B =");
disp(C);
disp("A-B =");
disp(D);
disp("|A|=");
disp(E);
disp("|B|=");
disp(F);
disp("A.B=");
disp(G);
disp("cos(A,B)=");
disp(H); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.