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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ff6a88053a5526748c3188c2b71ea019ac5e1aa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH14/EX14.5/14_5.sce | 661d4271565023d0937991c7124954dd95b3c907 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,218 | sce | 14_5.sce | printf("\texample 14.5\n");
printf("\tapproximate values are mentioned in the book \n");
st1=280; //°F
vt6=125; //°F
odT=st1-vt6; //°F
printf("\tOverall temperature difference = %.0f °F\n",odT); //corresponding to 35 psig and 26 in. Hg
bpr(1)=10; //°F
bpr(2)=8; //°F
bpr(3)=7; //°F
bpr(4)=6; //°F
bpr(5)=5; //°F
bpr(6)=5; //°F
i=1;
tbpr=0;
while(i<7)
tbpr=tbpr+bpr(i);
i=i+1;
end
printf("\tThe estimated total BPR = %.0f °F\n",tbpr); //from fig. 14.36a
edT=odT-tbpr;
printf("\tEffective temperature difference = %.0f °F\n",edT);
printf("\n\t\t\t\tEVAPORATOR SUMMARY\n\tAll bodies will consist of 300 2 in. OD, 10 BWG tubes 24 long\n");
printf("\t------------------------------------------------------------------------------------------------------------------------------\n");
printf("\tItem\t\t\t\t\t\t\t\t\tEffects\n\t\t\t\t\t----------------------------------------------------------------------------------------------\n\t\t\t\t\t1A\t\t1B\t\t2\t\t3\t\t4\t\t5\n");
printf("\t------------------------------------------------------------------------------------------------------------------------------\n");
printf("\t1.Steam flow, lb/hr\t\t20000\n\t2.Steam pressure, psi/in.Hg\t35\t\t14.5\t\t4\t\t7\t\t16.5\t\t22\n\t3.Steam temp,°F\t\t\t280\t\t249\t\t224\t\t199\t\t174\t\t151\n\t4.delT,°F\t\t\t21\t\t17\t\t18\t\t19\t\t18\t\t21\n\t5.Liquor temp, °F\t\t259\t\t232\t\t206\t\t180\t\t156\t\t130\n\t6.BPR, °F\t\t\t10\t\t8\t\t7\t\t6\t\t5\t\t5\n\t7.Vapor temp, °F\t\t259\t\t232\t\t206\t\t180\t\t156\t\t130\n\t8.Vapor pressure, pis/in.Hg\t14.5\t\t4\t\t7\t\t6\t\t5\t\t5\n\t9.Lambda, Btu/lb\t\t946\t\t962\t\t978\t\t994\t\t1008\t\t1022\n\t10.Liquor in, lb/hr\t\t73400\t\t88300\t\t101000\t\t113000\t\t72000\t\t72000\n\t11.Liqour out, lb/hr\t\t56200\t\t73400\t\t88300\t\t101100\t\t58300\t\t54700\n\t12.Evaporation,lb/hr\t\t17200\t\t14900\t\t12800\t\t11900\t\t13700\t\t17300\n\t13.Total solids, \t\t38.9\t\t29.8\t\t24.7\t\t21.6\t\t18.7\t\t20.0\n\t14.A,ft^2\t\t\t3250\t\t3250\t\t3250\t\t3250\t\t3250\t\t3250\n\t15.UD,Btu/(hr)*(ft^2)*(°F)\t262\t\t295\t\t252\t\t251\t\t221\t\t221\n\t16.UD delT,Btu/(hr)*(ft^2)\t5510\t\t5000\t\t4530t\t\t4770\t\t3980\t\t4650\n");//BPR values from fig 14.36a
//Specific-heat data are given in Fig. 14.36b
ev(1)=17200; //lb/hr
ev(2)=14900; //lb/hr
ev(3)=12800; //lb/hr
ev(4)=11900; //lb/hr
ev(5)=13700; //lb/hr
ev(6)=17300; //lb/hr
i=1;
tev =0;
while(i<7)
tev = tev+ev(i);
i=i+1;
end
printf("\n\tTotal amount of water evaporated = %.0f lb/hr\n",tev);
ttev=tev/6;//lb/hr
printf("\tTheoretical amount of steam for a six-effect evaporator = %.0f lb/hr\n",ttev);
tev2=tev/(6*0.75); //lb/hr . order of 75 percent of theoretical
printf("\tSteam used for trail balance = %.0f lb/hr\n",tev2);
lq=(tev/6);
lq=lq+(lq*0.15);
printf("\tEstimate of the amount of evaporation in the first effect = %.0f lb/hr\n",lq);
lout6=54000;//lb/hr
lq2=lout6+lq+2200;//lb/hr
printf("\tEstimated discharge from second effect = %.0f lb/hr\n",lq2);
printf("\n\t\t\t\tHEAT BALANCE\n");
cw = 17750000/(500*(125-15-60)); //gpm, values from table 14.6
printf("\t\tCooling water at 60 °F = %.0f gpm\n",cw);
printf("\t--------------------------------------------------------\n");
printf("\tEffect\t\t\tBtu/hr\t\tEvaporation,l/hr\n");
printf("\t--------------------------------------------------------\n");
sf=20000;//lb/hr
lqi=73400;//lb/hr
lqi2=88300
lt1=259;//°F
lt2=232;//°F
lt3=206;//°F
ev=17200;//lb/hr
his=sf*924*0.97;//Btu/hr
printf("\t1.a.Heat in steam \t%.2e\n",his);
hl=lqi*(lt1-lt2)*0.82;//Btu/hr
printf("\t b.Heating liquor \t%.2e\n",hl);
hh=his-hl;
ev1=(hh)/946;//lb/hr
printf("\t c.Evaporation\t\t\t\t%.0f\n",ev1);
dif=lqi-ev1;
tft=(dif)*(lt1-209)*0.78;
printf("\t d.To flash tank\t%.1e",tft);
ev2=tft/978;//lb/hr
printf("\t\t%.0f\n",ev2);
printf("\t e.Flashed vapor=%.0f\n",ev2);
p=dif-ev2;
printf("\t f.product %.1e\n",p);
printf("\n\t2.a.Heat in 1st vapors\t%.3e\n",hh);
hl2=lqi2*(lt2-lt3)*0.85;
printf("\t b.Heating liqour\t%.2e\n",hl2);
ev3=(hh-hl2)/962;
printf("\t c.Evaporation=%.0f",ev3);
printf("\t\t\t%.0f\n",ev3);
lto1=lqi2-ev3;
printf("\t d.Liquor to 1b=%.0f\n",lto1);
//end
|
0d7a38e072c4b1e341dcc4f5529d4dd928b45239 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH16/EX16.10/Ex16_10.sce | af64f5e8b8678c6849037f9f2ccbc142b15f53ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 778 | sce | Ex16_10.sce | // Initilization of variables
m=5 // kg // mass of the block
theta=30 // degree // inclination of the plane
x=0.5 // m // distance travelled by the block
k=1500 // N/m // stiffness of the spring
mu=0.2 // coefficient of friction between the block and the surface
g=9.81 // m/s^2 // acc due to gravity
// Calculations
// Consider the F.B.D of the block
// Applying the principle of work and energy between the positions 1 & 2 and on further simplification we get the generic eq'n for delta as, 750*delta^2-16.03*delta-8.015=0. From this eq'n e have values of a.b & c as,
a=750
b=-16.03
c=-8.015
// Thus the roots of the eq'n are given as,
delta=(-b+(sqrt(b^2-(4*a*c))))/(2*a) // m
// Results
clc
printf('The maximum compression of the spring is %f m \n',delta)
|
3c171c5baeb39f18faca18c20d8f6f258a51a873 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /TAPs/rpta.sce | daed79603bd6cb1e3fc9bfd09a59f8acbdb2f541 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,864 | sce | rpta.sce |
disp("PREGUNTA A")
fase=[-120 -110 -80 -40 -10 30 80 110 120]
magnitud= [7.92 7.98 8.95 10.71 11.7 10.01 8.23 7.86 7.92]
h=[] ;fy=[] ;B=[] ; dl=[]
n=length(fase)
for i=1:n-1
h(i)=fase(i+1)-fase(i)
fy(i)=(magnitud(i+1)-magnitud(i))/h(i)
end
for i=1:n
if i<9 & i>1 then
dl(i)=2*(h(i)+h(i-1))
B(i)=6*(fy(i)-fy(i-1))
elseif i==1
dl(i)=2*(h(i))
B(i)=6*fy(i)
elseif i==9
dl(i)=2*(h(i-1))
B(i)=6*fy(i-1)
end
end
mt=zeros(n,n)
for i=1:n
for j=1:n
if i==j
mt(i,j)=dl(i) ; end
if i==j+1
mt(i,j)=h(i-1) ; end
if i==j-1
mt(i,j)=h(i)
end
end
end
disp(mt)
M=inv(mt)*B //derivadas
a=[] ; b=[] ; c=[] ; d=[]; pol=[]
for i=1:n-1
a(i)=(M(i+1)-M(i))/(6*h(i))
b(i)=M(i)/2
c(i)=fy(i)-(M(i+1)+2*M(i))*h(i)/6
d(i)= magnitud(i)
pol(i)= poly([d(i) c(i) b(i) a(i)], "x", "coeff")
end
fase=fase'
mxl=[fase(1:n-1,:) pol]
disp("PREGUNTA B")
disp(mxl)
fn = []
deff('y=F1(x)','y=7.92 +0.0004355*(x+120)^2 +0.0000165*(x+120)^3')
x=-120
res=F1(x)
fn(1) = res
disp('-120',res)
deff('y=F2(x)','y=7.98+0.0136453*(x+110) +0.0009291*(x+110)^2 -0.0000102*(x+110)^3')
x=-110
res=F2(x)
fn(2) = res
disp('-110',res)
deff('y=F3(x)','y=8.95 +0.0418377*(x+80) +0.0000107*(x+80)^2 +0.0000011*(x+80)^3')
x=-80
res=F3(x)
fn(3) = res
disp('-80',res)
deff('y=F4(x)','y=10.71+0.0478971*(x+40) +0.0001408*(x+40)^2 -0.0000212*(x+40)^3')
x=-40
res=F4(x)
fn(4) = res
disp('-40',res)
deff('y=F5(x)','y=11.7-0.0010182*(x+10) -0.0017713*(x+10)^2 +0.0000185*(x+10)^3')
x=-10
res=F5(x)
fn(5) = res
disp('-10',res)
deff('y=F6(x)','y=10.01-0.0538611*(x-30) +0.0004502*(x-30)^2 -0.0000017*(x-30)^3')
x=30
res=F6(x)
fn(6) = res
disp('30',res)
deff('y=F7(x)','y=8.23 -0.0215897*(x-80) +0.0001952*(x-80)^2 +0.0000038*(x-80)^3')
x=80
res=F7(x)
fn(7) = res
disp('80',res)
deff('y=F8(x)','y= 7.86 +0.0003237*(x-110) +0.0005353*(x-110)^2 +0.0000032*(x-110)^3')
x=110
res=F8(x)
fn(8) = res
disp('110',res)
x=120
res=F8(x)
fn(9) = res
disp('120',res)
scf(1)
plot(fase,fn)
leg=legend(['Periodic Spline'])
xlabel('Fase (ø)') ; ylabel('Magnitud')
title("Pregunta C - Osa Mayor")
gca().grid=[1 1 1]
//
fn2 = []
disp("PREGUNTA C")
x=-100
res=F1(x)
fn2(1) = res
disp('-100',res)
x=-60
res=F3(x)
fn2(2) = res
disp('-60',res)
x=-20
res=F4(x)
fn2(3) = res
disp('-20',res)
x=20
res=F5(x)
fn2(4) = res
disp('20',res)
x=60
res=F6(x)
fn2(5) = res
disp('60',res)
x=100
res=F7(x)
fn2(6) = res
disp('100',res)
scf(2)
col1=[-100 -60 -20 -20 60 100]
f1=[8.37 9.40 11.39 10.84 8.53 7.89]
error = abs(f1'-fn2)
disp("M Real Approx Error")
fn2=[col1' f1' fn2 error]
disp(fn2)
disp("PREGUNTA D (ver la gráfica)")
plot(fn2(:,1),fn2(:,2),'b',fn2(:,1),fn2(:,3),'r') ; xlabel('Fase (ø)') ; ylabel('Magnitud')
leg=legend(['Real points';'Periodic Spline']);
title("Pregunta D - Osa Mayor")
gca().grid=[1 1 1]
|
c58e6ff6ed5faa4006ec5af79ea4408479b921da | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Paramark.sci | 82ac7c4f024f28e70525add965249559b60b6ba9 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sci | Paramark.sci | // 08.06.18
function P=Paramark(varargin)
Nargs=length(varargin);
PA=varargin(1);
PB=varargin(2);
PC=varargin(3);
R=0.5;
if Nargs>=4
R=varargin(4)*R;
end
U=R*(PA-PB)/Vecnagasa(PA,PB);
V=R*(PC-PB)/Vecnagasa(PC,PB);
if Gaiseki(PA-PB,PC-PB)~=0
P=Listplot([PB+U,PB+U+V,PB+V]);
else
P=[];
end
endfunction
|
1434e8cc8d45378ef2f9767495fc655ad876fa3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH13/EX13.5/Ex13_5.sce | ea8756d10be4dbbe1806f222f86eaa8fef264fc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sce | Ex13_5.sce | clc
d = 150 // diameter in mm
h = 10 // thickness in mm
R = d/2 // radius in mm
mu = 0.2 // coefficient of friction
sigma_0 = 200 // N/mm^2
Rs = R - (h/(2*mu))*log(1/(sqrt(3)*mu)) // sticking radius in mm
Ps = sigma_0*exp(2*mu*(R-Rs)/h) // pressure at sticking radius in N/mm^2
function y=f(r)
y=2*%pi*r*sigma_0*exp(2*mu/h*(R-r))
endfunction
L_sld = intg(48.5,75,f)
L_sld = L_sld/1000 // load on sliding portion in kN
Pc = Ps + (2*sigma_0*Rs)/(h*sqrt(3)) // pressure at centre in N/mm^2
L_sp = (Pc+Ps)*%pi*(Rs)^2/(2*1000) // load on sticking portion in kN
F_l = L_sld + L_sp // total forging load in kN
printf("\n Sticking radius = %0.1f mm \n Total forging load = %0.3f MN",Rs ,F_l/1000)
// 'Answers vary due to round off error'
|
10d3a26212417c53f04fb28362fdcdde7830d38c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3257/CH11/EX11.4/Ex11_4.sce | e52b228a52d06e0e5694a7c866a5abca0bdc6f73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | Ex11_4.sce | // Shrinkage in sintering
clc
L = 1 // let
del_l = 5/100*L // linear shrinkage
rho_sint = 90 // sintered density in%
printf("\n Example 11.4")
rho_green = rho_sint*(1-(del_l/L))^3
printf("\n Density of green compact becomes %d%%.",rho_green)
|
d1c8bcddea603d78de4aeb866a9b8ef544fcf1cd | e9affefd4e89b3c7e2064fee8833d7838c0e0abc | /aws-java-sdk-core/src/test/resources/resources/profileconfig/ProfilesWithComments.tst | 8e0f5c2459e8d29cd0501aea8511e8187b5f9559 | [
"Apache-2.0"
] | permissive | aws/aws-sdk-java | 2c6199b12b47345b5d3c50e425dabba56e279190 | bab987ab604575f41a76864f755f49386e3264b4 | refs/heads/master | 2023-08-29T10:49:07.379135 | 2023-08-28T21:05:55 | 2023-08-28T21:05:55 | 574,877 | 3,695 | 3,092 | Apache-2.0 | 2023-09-13T23:35:28 | 2010-03-22T23:34:58 | null | UTF-8 | Scilab | false | false | 433 | tst | ProfilesWithComments.tst | # I love comments...
# [a]
[a]
#aws_access_key_id=wrong-key
aws_access_key_id=a
# More comments...
aws_secret_access_key=a
unsupported_property=foo
# More comments...
[b]
# More comments...
aws_access_key_id=b
aws_secret_access_key=b
[c]
aws_access_key_id=c
# More comments...
aws_secret_access_key=c
aws_session_token=c
[d]
aws_access_key_id=d
aws_secret_access_key=d
# More comments...
aws_session_token=d
# More comments...
|
cc4254a2d75af923b3ba158a9d30b4bfa386d423 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH14/EX14.7/c14_7.sce | e56a282b342832dec20fdcfa974cbbd1e48b86a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 29 | sce | c14_7.sce | printf('IT software problem') |
e6169b2c92ba44544d3d22cf4995fe72019eac53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH17/EX17.5/17_5.sce | e0910babd733fa034f9e4ea7d9cd236378aaddad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | 17_5.sce | Ax = 18.75; A_ = 12.50; // A_= A*
AA_ = 1.5; // A/A*
Mx = 1.86; Pxox = 0.159; R = 0.287;
Pox = 0.21e03; // in kPa
Px = Pxox*Pox;
// from the gas table on normal shock
Mx = 1.86; My = 0.604; Pyx = 3.87; Poyx = 4.95; Poyox = 0.786;
Py = Pyx*Px;
Poy = Poyx*Px;
My = 0.604;
Ay_ = 1.183;
A2 = 25; Ay = 18.75;
A2_ = (A2/Ay)*Ay_;
// From isentropic table
M2 = 0.402;
P2oy = 0.895;
P2 = P2oy*Poy;
syx = -R*log(Poy/Pox); // sy-sx
disp(M2,"Exit mach number is M2")
disp("kPa",P2,"Exit pressure is")
disp("kPa",Pox-Poy,"Exit Stagnation pressure is")
disp("kJ/kg K",syx,"Entropy increase is") |
ad40d3e5cb80fab6ae9bf21f42cea32a5816dd9e | b24d354cfcd174c92760535d8b71e22ced005d81 | /DSP functions/tf2cl/test_1.sce | cc83083c4f24a8ba0fc7730770bd70ca8502a0d5 | [] | no_license | shreniknambiar/FOSSEE-Signal-Processing-Toolbox | 57ad8e2a71d64f95c4ccfd131e00095cf2b9c6f8 | 143cf61eff31240870dc0c4f61e32818a4482365 | refs/heads/master | 2021-01-01T18:25:34.435606 | 2017-07-25T18:23:47 | 2017-07-25T18:23:47 | 98,334,322 | 0 | 0 | null | 2017-07-25T17:48:00 | 2017-07-25T17:47:59 | null | UTF-8 | Scilab | false | false | 198 | sce | test_1.sce | // Test # 1 : No Input Arguments
exec('./tf2cl.sci',-1);
[k1,k2,b]=tf2cl();
//!--error 10000
//Only 2 input arguments allowed
//at line 38 of function tf2cl called by :
//[d1,d2,b]=tf2cl();
|
bc7c8d6a829bc8701354563a64657190d78c77ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH1/EX1.5/EX1_5.sce | 3ac1df2afd859603ff76155ccf3c641910da5e7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | EX1_5.sce | //Finding of Shear Stress
//Given
//du/dy = vg
vg=.25; //Velocity gradient in m/sec/meter
nu=6.30*10^-4; //Kinematic viscosity in m^2/sec
rho=1268.4; //Mass density in Kg/m^3
mu=rho*nu; //Dynamic Viscosity
//To Find
tau=mu*vg; //Shear stress in N/m^2
disp("Shear Stress ="+string(tau)+" N/m^2");
|
c522976ea3ab8e80e8c23b0755c58d5a63d4cfdb | 270c239ad1a53c003654a7b02b6ed1e7d2ae17bd | /salt/21100/UXD/Workflow/saltcheck-tests/init.tst | 845acb0f99d595d1671e11f6c0a7d890df4670a7 | [] | no_license | smerugumala/SumTFinalBuilds | 8f024c5e2a7cea534789f9d61ddaafbce97b57fd | f75bd81ab050d1a5c71c2af61aaa309b68c0f054 | refs/heads/main | 2023-02-11T22:26:24.576871 | 2021-01-08T12:10:18 | 2021-01-08T12:10:18 | 327,892,208 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | tst | init.tst | check_mysql_running:
module_and_function: service.status
args:
- mysql
assertion: assertTrue
|
8402fb5c3a51708afc6b9505299f67fe0ef30f05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH12/EX12.17/12_17.sce | fff19d4bf3299ccbf80b413c1accf93dfcca6437 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 12_17.sce | V=440
I=25
pf=0.85
Pin=sqrt(3)*V*I*pf
ns=1500
Pcore=750
Pcus=950
Pcur=450
Pwfl=250
Pg=Pin-Pcore-Pcus
disp(Pg)
Pm=Pg-Pcur
disp(Pm)
Pmout=Pm-Pwfl
disp(Pmout)
effi=Pmout/Pin
disp(effi)
s=Pcur/Pg
n=(1-s)*ns
disp(n)
w=2*%pi*n/60
Tdev=Pm/w
disp(Tdev)
Tnet=Pmout/w
disp(Tnet)
|
84981d46a852ce79608f9e0282d6e535363656ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3890/CH6/EX6.8/Ex6_8.sce | 8ca42e2515336e66d20e7213b0352ef92e22c11d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | Ex6_8.sce | //Electric machines and power systems by Syed A Nasar
//Publisher:Tata McGraw Hill
//Year: 2002 ; Edition - 7
//Example 6.8
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
V=230; //supply voltage in v
Ra=.05; //armature resistance in ohms
Rf1=75; //field resistance in no load in ohms
Rf2=100; //field resistance in on load condition in ohms
I1=7;N1=1120; //no load current and speed
I2=46; //on load current in A
Ra2=0.15 //armature resistance at on load condition in ohms
If=V/Rf1;
Ia1=I1-If;
K=(V-Ia1*Ra)/(N1*If);
Ia2=I2-If;
N=(V-Ia2*Ra)/(If*K);
If1=V/Rf1;
Ia0=I2-If1;
n=(V-Ia2*Ra2)/(If1*K);
pl=(Ia0^2)*0.1;
printf('speed of the motor is %d rpm\n',n)
printf('power dissipated in 0.1 ohm resistor is %f W',pl)
|
b5ace022fdf028ea3967a6144f3cdaab85328bca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH6/EX6.6/6_6.sce | 3a5defed853c9052375dd67146b972967724bc1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | 6_6.sce | clc();
clear;
// To calculate the resultant voltage across the capacitors
Q=2*10^-10; //charge in coulomb
d=4; //plate seperation in mm
d=d*10^-3; //plate seperation in m
epsilon_r=3.5;
epsilon_0=8.85*10^-12; //f/m
A=650; //area in mm^2
A=A*10^-6; //area in m^2
V=(Q*d)/(epsilon_0*epsilon_r*A);
printf("voltage across the capacitor is %f Volts",V);
|
9a88642c5ccd019767d6a2f87b49408efe90625b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/for.man.tst | 85eb9fd8e3eeff4d41dd8c16da0ef37f70e76125 | [
"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 | 234 | tst | for.man.tst | clear;lines(0);
n=5;
for i = 1:n, for j = 1:n, a(i,j) = 1/(i+j-1);end;end
for j = 2:n-1, a(j,j) = j; end; a
for e=eye(3,3),e,end
for v=a, write(6,v),end
for j=1:n,v=a(:,j), write(6,v),end
for l=list(1,2,'example'); l,end
|
2cd799c06375ce033deafc005266cfd341dcec4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.25/Ch02Ex25.sce | 42eb8f3037f050d1f1cf31bb3fc7e25b09bd029d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Ch02Ex25.sce | // Scilab Code Ex2.25:: Page-2.19 (2009)
clc; clear;
lambda = 5890e-008; // Wavelength of light used, cm
mu = 1.5; // Refractive index of material sheet
// As shift = 9*lambda*D/d = D/d*(mu - 1)*t, solving for t
t = 9*lambda/(mu - 1); // Thickness of the glass sheet, cm
printf("\nThe thickness of the glass sheet = %4.2e cm", t);
// Result
// The thickness of the glass sheet = 1.06e-003 cm
|
b7f5c461921e651dccf70be936b0261c018731e7 | f133ac48bce34834531e4aaf040d93391b483a4d | /poly2lsf.sci | 455aec6f6ce98d69dbb6abe17f467bfb8b60fa64 | [] | no_license | vlraik/SCILAB-Signal-Processing-toolbox-FOSSEE | a816836c0daafd1a9afa059a6dad1524bdc340bc | e5d265f759548647c08c5d4acc8cab266b0a3174 | refs/heads/master | 2021-01-19T03:02:28.082316 | 2016-07-31T13:43:13 | 2016-07-31T13:43:13 | 51,532,013 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,258 | sci | poly2lsf.sci | /*poly2lsf.sci
*
*Prediction polynomial to line spectral frequencies
*
*Converts the prediction polynomial specified by 'a'
*into the corressponding line spectral frequencies, LSF.
*Normalizes the prediction polynomial by a(1)
*
*Syntax:
*lsf = poly2lsf(a)
*Description:
*lsf = poly2lsf(a) returns a vector, lsf, of line spectral frequencies from
*a vector,'a', of prediction filter coefficient
*
*Example:
*Given a vector, a, of prediction filter coefficient, generate the corressponding
*line spectral frequencies
*
*Input:
*a = [1.0000 0.6149 0.9899 0.0000 0.0031 -0.0082];
*lsf = poly2lsf(a)
*
*Output:
*lsf =
* 0.7842
* 1.5605
* 1.8776
* 1.8984
* 2.3593
*
*
*Author: Vrishabh Lakhani
*
*References:
*Deller, John R., John G. Proakis, and John H. L. Hansen. Discrete-Time Processing of Speech Signals. New York: Macmillan, 1993.
*Rabiner, Lawrence R., and Ronald W. Schafer. Digital Processing of Speech Signals. Englewood Cliffs, NJ: Prentice-Hall, 1978.
*
*/
function lsf = poly2lsf(a)
//Line spectral frequencies are not defined for complex polynomials
//Therefore, we need to normalise them
if a(1)<>1 then
a=a/a(1)
end
if max(abs(roots(a))) >= 1.0 then
error('The polynomial must have all the roots inside of the unit circle.')
end
//Create the sum and the difference filters
p=length(a)-1 //The first element '1' is not used
x=[0]
a1=cat(2,a,x)
a2=flipdim(a1,2,1)
P1 = a1 - a2 //Difference filter
Q1 = a1 + a2 //Sum filter
P2=P1(1)
Q2=P2(1)
z=poly(0,"z")
for i=2:length(P1)
P2=P2+P1(i)*z^(i)
end
for i=2:length(Q1)
Q2=Q2+Q1(i)*z^(i)
end
divisorOdd=-1*z^2+0*z^1+1
divisorEven1=-1*z^1+1
divisorEven2=1*z^1+1
//If order is even, we have to remove the known roots at z=1 for P1 and z=-1 for Q1
//If odd, remove both the roots from P1
if modulo(p,2) then //Odd order
[r,P]= pdiv(P2,divisorOdd)
Q=Q1
else //Even order
[r, P] = pdiv(P2, divisorEven1)
[r, Q] = pdiv(P2, divisorEven2)
end
P=coeff(P)
rP = roots(coeff(P))
rQ = roots(coeff(Q))
aP = atan(imag(rP), real(rP))
aQ = atan(imag(rQ), real(rQ))
lsf = gsort(cat(1,-aP, -aQ),'r','i')
lsf = lsf(find(lsf>0))
return lsf
endfunction
|
39a548cb36290c87eb16700390138ea1ac344ac9 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Overhead Jumps FN.sce | 00fc36804e6394fa840f85485c54f1c7ee5c30cf | [] | 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 | 29,216 | sce | Overhead Jumps FN.sce | Name=Overhead Jumps FN
PlayerCharacters=A
BotCharacters=Shinji Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=A
AddedBots=Shinji Bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=Flick_Audio_Hard.map
MapScale=1.0
BlockProjectilePredictors=false
BlockCheats=true
InvinciblePlayer=true
InvincibleBots=false
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=1000.0
ScorePerDamage=1.0
ScorePerKill=0.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=false
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=Overwatch,OW,Track,Flick,Genji,ddtv
WeaponHeroTag=Tracer,Soldier,McCree
DifficultyTag=3
AuthorsTag=DevinDTV
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=true
BlockFCT=false
Description=A bot jumps over your head
GameVersion=2.0.1.2
ScorePerDistance=0.0
MBSEnable=false
MBSTime1=0.25
MBSTime2=0.5
MBSTime3=0.75
MBSTime1Mult=1.0
MBSTime2Mult=2.0
MBSTime3Mult=3.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
LockFOVRange=false
LockedFOVMin=60.0
LockedFOVMax=120.0
LockedFOVScale=Clamped Horizontal
[Aim Profile]
Name=Default
MinReactionTime=0.1
MaxReactionTime=0.11
MinSelfMovementCorrectionTime=0.1
MaxSelfMovementCorrectionTime=0.11
FlickFOV=90.0
FlickSpeed=1.0
FlickError=0.1
TrackSpeed=1.0
TrackError=0.1
MaxTurnAngleFromPadCenter=360.0
MinRecenterTime=0.1
MaxRecenterTime=0.1
OptimalAimFOV=1.0
OuterAimPenalty=1.0
MaxError=0.1
ShootFOV=10.0
VerticalAimOffset=0.1
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
AimingStyle=Original
ScanSpeedMultiplier=1.0
MaxSeekPitch=30.0
MaxSeekYaw=30.0
AimingSpeed=5.0
MinShootDelay=0.3
MaxShootDelay=0.6
[Bot Profile]
Name=Shinji Bot
DodgeProfileNames=Long Strafes Close
DodgeProfileWeights=2.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=Shinji
SeeThroughWalls=true
NoDodging=false
NoAiming=false
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Character Profile]
Name=A
MaxHealth=100.0
WeaponProfileNames=Track Master 100;Six Shooter;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=5.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=50.000
HeadshotOnly=false
DamageKnockbackFactor=8.0
MovementType=Base
MaxSpeed=0.0
MaxCrouchSpeed=500.0
Acceleration=10000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=0.0
Gravity=3.0
AirControl=0.25
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Cylindrical
MainBBHeight=20.0
MainBBRadius=1.0
MainBBHasHead=true
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=true
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.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=;;;
HideWeapon=false
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=Shinji
MaxHealth=200.0
WeaponProfileNames=Shinji Stars;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=5.0
StepUpHeight=30.0
CrouchHeightModifier=0.69
CrouchAnimationSpeed=5.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=1.0
MovementType=Base
MaxSpeed=500.0
MaxCrouchSpeed=270.0
Acceleration=10000.0
AirAcceleration=16000.0
Friction=100.0
BrakingFrictionFactor=10000.0
JumpVelocity=500.0
Gravity=1.0
AirControl=0.025
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=true
EnemyBodyColor=X=0.774 Y=0.000 Z=0.000
EnemyHeadColor=X=0.163 Y=0.167 Z=0.166
TeamBodyColor=X=0.000 Y=0.000 Z=0.771
TeamHeadColor=X=0.163 Y=0.167 Z=0.166
BlockSelfDamage=true
InvinciblePlayer=false
InvincibleBots=true
BlockTeamDamage=true
AirJumpCount=1
AirJumpVelocity=300.0
MainBBType=Cylindrical
MainBBHeight=80.0
MainBBRadius=15.0
MainBBHasHead=true
MainBBHeadRadius=10.0
MainBBHeadOffset=-5.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=101.0
ProjBBRadius=20.0
ProjBBHasHead=true
ProjBBHeadRadius=12.5
ProjBBHeadOffset=-12.5
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.0
JetpackFullFuelTime=1000.0
JetpackFuelIncPerSec=100.0
JetpackFuelRegensInAir=true
JetpackThrust=100.0
JetpackMaxZVelocity=600.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=Movement Ability.abilmov;out of range.abilmov;;
HideWeapon=false
AerialFriction=0.3
StrafeSpeedMult=0.75
BackSpeedMult=0.5
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Dodge Profile]
Name=Long Strafes Close
MaxTargetDistance=400.0
MinTargetDistance=200.0
ToggleLeftRight=true
ToggleForwardBack=true
MinLRTimeChange=0.5
MaxLRTimeChange=1.5
MinFBTimeChange=0.5
MaxFBTimeChange=1.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.5
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.2
MaxJumpTime=0.3
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
WaypointLogic=Ignore
WaypointTurnRate=200.0
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
ForwardTimeMult=1.0
BackTimeMult=1.0
DamageReactionChangesFB=false
[Weapon Profile]
Name=Track Master 100
Type=Hitscan
ShotsPerClick=1
DamagePerShot=1.0
KnockbackFactor=0.0
TimeBetweenShots=0.06
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=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=1000000.0
GravityScale=1.0
HeadshotCapable=true
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.5
ReloadTimeFromPartial=0.5
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
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=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=300.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=0.0
TaggingHitFactor=0.0
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=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=None
ParticleBodyImpact=None
ParticleProjectileTrail=None
ParticleHitscanTrace=None
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
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=1.0,1.0,-1.0,5.0
SpreadSCA=1.0,1.0,-1.0,5.0
SpreadMSA=1.0,1.0,-1.0,5.0
SpreadMCA=1.0,1.0,-1.0,5.0
SpreadSSH=0.0,0.1,0.0,0.0
SpreadSCH=1.0,1.0,-1.0,5.0
SpreadMSH=0.0,0.1,0.0,0.0
SpreadMCH=1.0,1.0,-1.0,5.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=1.0
AAMaxSpeed=1000.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=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.175
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=Six Shooter
Type=Hitscan
ShotsPerClick=1
DamagePerShot=5.0
KnockbackFactor=0.1
TimeBetweenShots=0.5
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=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.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=0
AmmoPerShot=1
ReloadTimeFromEmpty=1.5
ReloadTimeFromPartial=1.5
DamageFalloffStartDistance=2200.0
DamageFalloffStopDistance=4500.0
DamageAtMaxRange=20.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.5
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
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=15.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.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
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=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=None
ParticleBodyImpact=None
ParticleProjectileTrail=None
ParticleHitscanTrace=Tracer
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
Explosive=false
Radius=500.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,1.0,-1.0,0.0
SpreadSCA=1.0,1.0,-1.0,0.0
SpreadMSA=1.0,1.0,-1.0,0.0
SpreadMCA=1.0,1.0,-1.0,0.0
SpreadSSH=1.0,1.0,-1.0,0.0
SpreadSCH=1.0,1.0,-1.0,0.0
SpreadMSH=1.0,1.0,-1.0,0.0
SpreadMCH=1.0,1.0,-1.0,0.0
MaxRecoilUp=4.0
MinRecoilUp=4.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.44
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=Shinji Stars
Type=Projectile
ShotsPerClick=1
DamagePerShot=28.0
KnockbackFactor=0.1
TimeBetweenShots=1.0
Pierces=false
Category=FullyAuto
BurstShotCount=3
TimeBetweenBursts=0.1
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=5333.333 Y=0.000 Z=0.000
MuzzleVelocityMax=X=5333.333 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=0.0
HeadshotCapable=true
HeadshotMultiplier=2.0
MagazineMax=24
AmmoPerShot=1
ReloadTimeFromEmpty=1.0
ReloadTimeFromPartial=1.0
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=28.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=0.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.1
RecoilNegatable=false
DecalType=1
DecalSize=15.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.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
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=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=true
IsBurstWeapon=true
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.0
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=None
ParticleBodyImpact=Blood
ParticleProjectileTrail=None
ParticleHitscanTrace=Tracer
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=0.1
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=false
SpreadSSA=0.1,0.1,0.0,0.0
SpreadSCA=0.1,0.1,0.0,0.0
SpreadMSA=0.1,0.1,0.0,0.0
SpreadMCA=0.1,0.1,0.0,0.0
SpreadSSH=0.1,0.1,0.0,0.0
SpreadSCH=0.1,0.1,0.0,0.0
SpreadMSH=0.1,0.1,0.0,0.0
SpreadMCH=0.1,0.1,0.0,0.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=0.2
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=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
[Movement Ability Profile]
Name=Movement Ability
MaxCharges=1.0
ChargeTimer=1.5
ChargesRefundedOnKill=0.0
DelayAfterUse=1.5
FullyAuto=false
AbilityDuration=0.005
LockDirectionForDuration=true
NegateGravityForDuration=false
MainVelocity=400.0
MainVelocityCanGoVertical=false
MainVelocitySetToMovementKeys=false
UpVelocity=200.0
EndVelocityFactor=1.0
Hurtbox=false
HurtboxRadius=50.0
HurtboxDamage=50.0
HurtboxGroundKnockbackFactor=1.0
HurtboxAirKnockbackFactor=1.0
AbilityBlocksTurning=false
AbilityBlocksMovement=true
AbilityBlocksAttack=false
AttackCancelsAbility=false
AbilityReloadsWeapon=false
HealthRestore=0.0
AIUseInCombat=true
AIUseOutOfCombat=true
AIUseOnGround=false
AIUseInAir=true
AIReuseTimer=0.1
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=250.0
AIMaxTargDist=400.0
AIMaxTargFOV=15.0
AIDamageReaction=false
AIDamageReactionIgnoreChance=0.95
AIDamageReactionMinDelay=0.01
AIDamageReactionMaxDelay=0.2
AIDamageReactionCooldown=0.1
AIDamageReactionThreshold=0.0
AIDamageReactionResetTimer=0.1
[Movement Ability Profile]
Name=out of range
MaxCharges=1.0
ChargeTimer=1.0
ChargesRefundedOnKill=0.0
DelayAfterUse=0.5
FullyAuto=false
AbilityDuration=0.25
LockDirectionForDuration=true
NegateGravityForDuration=true
MainVelocity=150.0
MainVelocityCanGoVertical=false
MainVelocitySetToMovementKeys=false
UpVelocity=0.0
EndVelocityFactor=1.0
Hurtbox=false
HurtboxRadius=50.0
HurtboxDamage=50.0
HurtboxGroundKnockbackFactor=1.0
HurtboxAirKnockbackFactor=1.0
AbilityBlocksTurning=false
AbilityBlocksMovement=true
AbilityBlocksAttack=false
AttackCancelsAbility=false
AbilityReloadsWeapon=false
HealthRestore=0.0
AIUseInCombat=true
AIUseOutOfCombat=true
AIUseOnGround=true
AIUseInAir=true
AIReuseTimer=1.0
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=400.0
AIMaxTargDist=12000.0
AIMaxTargFOV=90.0
AIDamageReaction=false
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
-1008.000000 -1088.000000 1488.000000
1216.000000 -1088.000000 1488.000000
1216.000000 -1088.000000 -936.000000
-1008.000000 -1088.000000 -936.000000
-1008.000000 -1152.000000 1488.000000
1216.000000 -1152.000000 1488.000000
1216.000000 -1152.000000 -936.000000
-1008.000000 -1152.000000 -936.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
-952.000000 920.000000 -368.000000
1080.000000 920.000000 -368.000000
1080.000000 920.000000 -704.000000
-952.000000 920.000000 -704.000000
-952.000000 -1096.000000 -368.000000
1080.000000 -1096.000000 -368.000000
1080.000000 -1096.000000 -704.000000
-952.000000 -1096.000000 -704.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
664.000000 912.000000 1216.000000
816.000000 912.000000 1216.000000
816.000000 912.000000 -856.000000
664.000000 912.000000 -856.000000
664.000000 -1088.000000 1216.000000
816.000000 -1088.000000 1216.000000
816.000000 -1088.000000 -856.000000
664.000000 -1088.000000 -856.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
-952.000000 920.000000 1120.000000
1216.000000 920.000000 1120.000000
1216.000000 920.000000 816.000000
-952.000000 920.000000 816.000000
-952.000000 -1088.000000 1120.000000
1216.000000 -1088.000000 1120.000000
1216.000000 -1088.000000 816.000000
-952.000000 -1088.000000 816.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
-720.000000 912.000000 1320.000000
-536.000000 912.000000 1320.000000
-536.000000 912.000000 -784.000000
-720.000000 912.000000 -784.000000
-720.000000 -1088.000000 1320.000000
-536.000000 -1088.000000 1320.000000
-536.000000 -1088.000000 -784.000000
-720.000000 -1088.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
-960.000000 1032.000000 1240.000000
1136.000000 1032.000000 1240.000000
1136.000000 1032.000000 -856.000000
-960.000000 1032.000000 -856.000000
-960.000000 112.000000 1240.000000
1136.000000 112.000000 1240.000000
1136.000000 112.000000 -856.000000
-960.000000 112.000000 -856.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
entity
type PlayerSpawn
Vector3 position 72.000000 -1098.000000 232.000000
Bool8 teamB 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type CameraPath
UInt32 entityIdAttachedTo 132
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type Effect
Vector3 position 0.000000 256.000000 0.000000
String64 effectName internal/misc/reflectionprobe
entity
type PlayerSpawn
Vector3 position 72.000000 -995.000000 732.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 422.000000 -995.000000 582.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -428.000000 -995.000000 232.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -278.000000 -995.000000 582.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 572.000000 -995.000000 232.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 422.000000 -995.000000 -118.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 72.000000 -995.000000 -268.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -278.000000 -995.000000 -118.000000
Bool8 teamA 0
|
621a9a8e516474a75d4b9c942768b29c560c9d81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH4/EX4.49/Ex4_49.sce | 2e5c9b5b073b0e01f3cae26a70d67877dd591aa7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | Ex4_49.sce | //Ex:4.49
clc;
clear;
close;
f=10*10^3;// frequency in MHz
y=300/f;// wavelength in m
a=5.2/100;// height in m
b=3.8/100;// width in m
A=a*b;// area in m^2
G=(4*%pi*A)/y^2;// the gain of the horn
G1=10*log(G)/log(10);// the gain of the horn in dB
he=(51*y)/b;// the half power point beam width in E-plane in degree
hh=(67*y)/a;// the half power point beam width in H-plane in degree
printf("The gain of the horn = %f", G);
printf("\n The the gain of the horn in dB = %f dB", G1);
printf("\n The half power point beam width in E-plane = %f degree", he);
printf("\n The half power point beam width in H-plane = %f degree", hh); |
814a35cfb52e7cc4777d77badb5cae56dc579a26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH3/EX3.1/1.sce | d09fbdde911d1fcafdc84069fef35834f682f3ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | 1.sce | clc
m_s=50; //kg
m_w=1.5; //kg
x=m_s/(m_s+m_w);
disp("dryness fraction=")
disp(x) |
fa69fb0f4b4a458470a431ee860f51dd84821e31 | 80c4f32677abf57e118950a28c918a042269200c | /UI_Edit/Scenes/PPPP.sce | 9bafbd38eea60e92f7d94916d799e3c1bb137a5a | [
"MIT"
] | permissive | ggcrunchy/ui-edit-v1 | ab31697a8db0387e71edd1e61f3bcc3cd0bcbc7e | e5b1b1867f5f9bca941e3638a0274f8133711759 | refs/heads/master | 2021-01-19T14:24:13.514011 | 2012-10-16T07:09:52 | 2012-10-16T07:09:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,358 | sce | PPPP.sce | <nButton>3</nButton>
<Button>
<ID>"Button1"</ID>
<m>
<D>"Button"</D>
<HT>"Default"</HT>
<PE>"NOP"</PE>
</m>
<bPush>true</bPush>
<string>""</string>
<tag>""</tag>
</Button>
<Button>
<ID>"Button2"</ID>
<m>
<D>"Button"</D>
<HT>"Default"</HT>
<PE>"NOP"</PE>
</m>
<bPush>true</bPush>
<string>""</string>
<tag>""</tag>
</Button>
<Button>
<ID>"Button3"</ID>
<m>
<D>"Button"</D>
<HT>"Default"</HT>
<PE>"NOP"</PE>
</m>
<bPush>true</bPush>
<string>""</string>
<tag>""</tag>
</Button>
<nSlider>1</nSlider>
<Slider>
<ID>"Slider1"</ID>
<m>
<D>"Slider"</D>
<HT>"Slider"</HT>
<PE>"Slider"</PE>
<F>"Slider"</F>
</m>
<sx>0.319940</sx>
<sy>0.160714</sy>
<ex>0.714286</ex>
<ey>0.815476</ey>
<tw>0.203082</tw>
<th>0.100000</th>
<bSnap>true</bSnap>
<bDrag>true</bDrag>
<tag>""</tag>
</Slider>
<nListbox>0</nListbox>
<nTextbox>0</nTextbox>
<nCheckbox>1</nCheckbox>
<Checkbox>
<ID>"Checkbox1"</ID>
<m>
<D>"Check"</D>
<HT>"Default"</HT>
<PE>"NOP"</PE>
</m>
<bClick>true</bClick>
<bCheck>true</bCheck>
<pDC>
<f>"Main.png"</f>
<x1>0.223558</x1>
<y1>0.353220</y1>
<x2>0.367788</x2>
<y2>0.665720</y2>
</pDC>
<tag>""</tag>
</Checkbox>
<nRadiobox>0</nRadiobox>
<nPane>2</nPane>
<Pane>
<ID>"Pane1"</ID>
<nItem>2</nItem>
<PI>
<ID>"Button2"</ID>
<x>0.000000</x>
<y>0.000000</y>
<w>1.000000</w>
<h>1.000000</h>
</PI>
<PI>
<ID>"Button1"</ID>
<x>0.000000</x>
<y>0.000000</y>
<w>1.000000</w>
<h>1.000000</h>
</PI>
<nFocus>2</nFocus>
<focus>"Button1"</focus>
<focus>"Button2"</focus>
<m>
<D>"Default"</D>
<HT>"Default"</HT>
<PE>"NOP"</PE>
<F>"NOP"</F>
</m>
<bDrag>true</bDrag>
<bBackOnDelete>false</bBackOnDelete>
<tag>""</tag>
</Pane>
<Pane>
<ID>"Pane2"</ID>
<nItem>1</nItem>
<PI>
<ID>"Button3"</ID>
<x>0.000000</x>
<y>0.000000</y>
<w>1.000000</w>
<h>1.000000</h>
</PI>
<nFocus>0</nFocus>
<m>
<D>"Default"</D>
<HT>"Default"</HT>
<PE>"NOP"</PE>
<F>"NOP"</F>
</m>
<bDrag>true</bDrag>
<bBackOnDelete>false</bBackOnDelete>
<tag>""</tag>
</Pane>
<nLayer>2</nLayer>
<Layer>
<ID>"Layer1"</ID>
<nPane>1</nPane>
<LP>
<ID>"Pane2"</ID>
<x>0.000000</x>
<y>0.000000</y>
<w>1.000000</w>
<h>1.000000</h>
</LP>
<tag>""</tag>
</Layer>
<Layer>
<ID>"Layer2"</ID>
<nPane>0</nPane>
<tag>""</tag>
</Layer>
<nFrame>1</nFrame>
<layer>"Layer2"</layer>
|
2e466a89cd332ab334ce22c039aaf9c268026c1b | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/cambioTemperatura.sci | b0691bc37f2d78dc56cc1d270fc93855973e9998 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sci | cambioTemperatura.sci | // Leyes de Newton de Enfriamiento con Temperatura del Ambiente Constante
// function [T, t] = cambioTemperatura(Tambiente, Tinicial, k, stepsize, tfinal)
// Entrada:
// Tambiente : Temperatura del ambiente en °C
// Tinicial : Temperatura inicial del objeto de interes en °C
// k : constante de proporcionalidad en 0.019/min
// Salida:
// t : tiempo en minutos
// T : temperatura del objeto de interes
function [T, t] = cambioTemperatura(Tambiente, Tinicial, k, stepsize, tfinal)
T(1) = Tinicial;
t = 0:stepsize:tfinal;
for i=1:length(t)-1;
T(i+1) = T(i) - k*(T(i)-Tambiente)*(t(i+1)-t(i));
end
// plot(t,T,'color','red','marker','>');
// xlabel("t, seg");
// ylabel("T, °C");
// set(gca(),"grid",[1 1]);
endfunction
|
1ab1db0039a8f5aac9eba109ada4ee1ed6477a07 | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/old_files/proba_q.7den_fluctuation.sce | b9b5760c8be8f94e3ba05c582048d80c727c4741 | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,096 | sce | proba_q.7den_fluctuation.sce | clear;
lines(0);
np=100;
q=7;
//rang=190/300
msig = 1 // номер строки, отвечающая нужной нам плотности прививки, с которой мы будем считывать
msig1 =2
msig2 =3
msig3 =4
msig4 =5
msig5 =6
msig6 =7
msig7 =8
msig8 =9
msig9 =10
msig10 =11
msig11 =12
msig12 =13
msig13 =14
msig14 =15
msig15 =16
msig16 =17
msig17 =18
msig18 =19
msig19 =20
msig20 =21
msig21 =22
msig22 =23
msig23 =24
msig24 =25
msig25 =26
msig26 =27
msig27 =28
msig28 =29
msig29 =30
msig30 =31
msig31 =32
msig32 =33
msig33 =34
msig34 =35
msig35 =36
msig36 =37
msig37 =38
msig38 =39
msig39 =40
msig40 =41
msig41 =42
msig42 =43
msig43 =44
msig44 =45
msig45 =46
msig46 =47
msig47 =48
msig48 =49
msig49 =50
msig50 =51
msig51 =52
msig52 =53
msig53 =54
msig54 =55
msig55 =56
msig56 =57
msig57 =58
msig58 =59
msig59 =60
msig60 =61
msig61 =62
msig62 =63
msig63 =64
msig64 =65
msig65 =66
msig66 =67
msig67 =68
msig68 =69
msig69 =70
msig70 =71
msig71 =72
msig72 =73
msig73 =74
msig74 =75
msig75 =76
msig76 =77
msig77 =78
msig78 =79
msig79 =80
msig80 =81
msig81 =82
msig82 =83
msig83 =84
msig84 =85
msig85 =86
msig86 =87
msig87 =88
msig88 =89
msig89 =90
msig90 =91
msig91 =92
msig92 =93
msig93 =94
msig94 =95
msig95 =96
msig96 =97
msig97 =98
msig98 =99
msig99 =100
msig100 =101
msig101 =102
msig102 =103
msig103 =104
msig104 =105
msig105 =106
msig106 =107
msig107 =108
msig108 =109
msig109 =110
msig110 =111
msig111 =112
msig112 =113
msig113 =114
msig114 =115
msig115 =116
msig116 =117
msig117 =118
msig118 =119
msig119 =120
msig120 =121
msig121 =122
msig122 =123
msig123 =124
msig124 =125
msig125 =126
msig126 =127
msig127 =128
msig128 =129
msig129 =130
msig130 =131
msig131 =132
msig132 =133
msig133 =134
msig134 =135
msig135 =136
msig136 =137
msig137 =138
msig138 =139
msig139 =140
msig140 =141
msig141 =142
msig142 =143
msig143 =144
msig144 =145
msig145 =146
msig146 =147
msig147 =148
msig148 =149
msig149 =150
msig150 =151
msig151 =152
msig152 =153
msig153 =154
msig154 =155
msig155 =156
msig156 =157
msig157 =158
msig158 =159
msig159 =160
msig160 =161
msig161 =162
msig162 =163
msig163 =164
msig164 =165
msig165 =166
msig166 =167
msig167 =168
msig168 =169
msig169 =170
msig170 =171
msig171 =172
msig172 =173
msig173 =174
msig174 =175
msig175 =176
msig176 =177
msig177 =178
msig178 =179
msig179 =180
msig180 =181
msig181 =182
msig182 =183
msig183 =184
msig184 =185
msig185 =186
msig186 =187
msig187 =188
msig188 =189
msig189 =190
msig190 =191
msig191 =192
msig192 =193
msig193 =194
msig194 =195
msig195 =196
msig196 =197
msig197 =198
msig198 =199
msig199 =200
msig200 =201
msig201 =202
msig202 =203
msig203 =204
msig204 =205
msig205 =206
msig206 =207
msig207 =208
msig208 =209
msig209 =210
msig210 =211
msig211 =212
msig212 =213
msig213 =214
msig214 =215
msig215 =216
msig216 =217
msig217 =218
msig218 =219
msig219 =220
msig220 =221
msig221 =222
msig222 =223
msig223 =224
msig224 =225
msig225 =226
msig226 =227
msig227 =228
msig228 =229
msig229 =230
msig230 =231
msig231 =232
msig232 =233
msig233 =234
msig234 =235
msig235 =236
msig236 =237
msig237 =238
msig238 =239
msig239 =240
msig240 =241
msig241 =242
msig242 =243
msig243 =244
msig244 =245
msig245 =246
msig246 =247
msig247 =248
msig248 =249
msig249 =250
j=1;
i=1;
w=190
for w=190:10:300
s0 = '../n=' + string(np) + '/q=' + string(q) + 'den' +'/m=' + string(w) + '/zav_q/' ;
s = s0 + 'zav_q=' + string(q) + '_' +'m='+ string(w) +'_np=' + string(np) + '.dat';
s1 = '../n=' + string(np) + '/Result/';
a=fscanfMat(s);
[m,n]=size(a);
k=1
j=j+1;
b(1,j)=w; // w
b(2,j)=a(msig,11)
b(3,j)=a(msig1,11)
b(4,j)=a(msig2,11)
b(5,j)=a(msig3,11)
b(6,j)=a(msig4,11)
b(7,j)=a(msig5,11)
b(8,j)=a(msig6,11)
b(9,j)=a(msig7,11)
b(10,j)=a(msig8,11)
b(11,j)=a(msig9,11)
b(12,j)=a(msig10,11)
b(13,j)=a(msig11,11)
b(14,j)=a(msig12,11)
b(15,j)=a(msig13,11)
b(16,j)=a(msig14,11)
b(17,j)=a(msig15,11)
b(18,j)=a(msig16,11)
b(19,j)=a(msig17,11)
b(20,j)=a(msig18,11)
b(21,j)=a(msig19,11)
b(22,j)=a(msig20,11)
b(23,j)=a(msig21,11)
b(24,j)=a(msig22,11)
b(25,j)=a(msig23,11)
b(26,j)=a(msig24,11)
b(27,j)=a(msig25,11)
b(28,j)=a(msig26,11)
b(29,j)=a(msig27,11)
b(30,j)=a(msig28,11)
b(31,j)=a(msig29,11)
b(32,j)=a(msig30,11)
b(33,j)=a(msig31,11)
b(34,j)=a(msig32,11)
b(35,j)=a(msig33,11)
b(36,j)=a(msig34,11)
b(37,j)=a(msig35,11)
b(38,j)=a(msig36,11)
b(39,j)=a(msig37,11)
b(40,j)=a(msig38,11)
b(41,j)=a(msig39,11)
b(42,j)=a(msig40,11)
b(43,j)=a(msig41,11)
b(44,j)=a(msig42,11)
b(45,j)=a(msig43,11)
b(46,j)=a(msig44,11)
b(47,j)=a(msig45,11)
b(48,j)=a(msig46,11)
b(49,j)=a(msig47,11)
b(50,j)=a(msig48,11)
b(51,j)=a(msig49,11)
b(52,j)=a(msig50,11)
b(53,j)=a(msig51,11)
b(54,j)=a(msig52,11)
b(55,j)=a(msig53,11)
b(56,j)=a(msig54,11)
b(57,j)=a(msig55,11)
b(58,j)=a(msig56,11)
b(59,j)=a(msig57,11)
b(60,j)=a(msig58,11)
b(61,j)=a(msig59,11)
b(62,j)=a(msig60,11)
b(63,j)=a(msig61,11)
b(64,j)=a(msig62,11)
b(65,j)=a(msig63,11)
b(66,j)=a(msig64,11)
b(67,j)=a(msig65,11)
b(68,j)=a(msig66,11)
b(69,j)=a(msig67,11)
b(70,j)=a(msig68,11)
b(71,j)=a(msig69,11)
b(72,j)=a(msig70,11)
b(73,j)=a(msig71,11)
b(74,j)=a(msig72,11)
b(75,j)=a(msig73,11)
b(76,j)=a(msig74,11)
b(77,j)=a(msig75,11)
b(78,j)=a(msig76,11)
b(79,j)=a(msig77,11)
b(80,j)=a(msig78,11)
b(81,j)=a(msig79,11)
b(82,j)=a(msig80,11)
b(83,j)=a(msig81,11)
b(84,j)=a(msig82,11)
b(85,j)=a(msig83,11)
b(86,j)=a(msig84,11)
b(87,j)=a(msig85,11)
b(88,j)=a(msig86,11)
b(89,j)=a(msig87,11)
b(90,j)=a(msig88,11)
b(91,j)=a(msig89,11)
b(92,j)=a(msig90,11)
b(93,j)=a(msig91,11)
b(94,j)=a(msig92,11)
b(95,j)=a(msig93,11)
b(96,j)=a(msig94,11)
b(97,j)=a(msig95,11)
b(98,j)=a(msig96,11)
b(99,j)=a(msig97,11)
b(100,j)=a(msig98,11)
b(101,j)=a(msig99,11)
b(102,j)=a(msig100,11)
b(103,j)=a(msig101,11)
b(104,j)=a(msig102,11)
b(105,j)=a(msig103,11)
b(106,j)=a(msig104,11)
b(107,j)=a(msig105,11)
b(108,j)=a(msig106,11)
b(109,j)=a(msig107,11)
b(110,j)=a(msig108,11)
b(111,j)=a(msig109,11)
b(112,j)=a(msig110,11)
b(113,j)=a(msig111,11)
b(114,j)=a(msig112,11)
b(115,j)=a(msig113,11)
b(116,j)=a(msig114,11)
b(117,j)=a(msig115,11)
b(118,j)=a(msig116,11)
b(119,j)=a(msig117,11)
b(120,j)=a(msig118,11)
b(121,j)=a(msig119,11)
b(122,j)=a(msig120,11)
b(123,j)=a(msig121,11)
b(124,j)=a(msig122,11)
b(125,j)=a(msig123,11)
b(126,j)=a(msig124,11)
b(127,j)=a(msig125,11)
b(128,j)=a(msig126,11)
b(129,j)=a(msig127,11)
b(130,j)=a(msig128,11)
b(131,j)=a(msig129,11)
b(132,j)=a(msig130,11)
b(133,j)=a(msig131,11)
b(134,j)=a(msig132,11)
b(135,j)=a(msig133,11)
b(136,j)=a(msig134,11)
b(137,j)=a(msig135,11)
b(138,j)=a(msig136,11)
b(139,j)=a(msig137,11)
b(140,j)=a(msig138,11)
b(141,j)=a(msig139,11)
b(142,j)=a(msig140,11)
b(143,j)=a(msig141,11)
b(144,j)=a(msig142,11)
b(145,j)=a(msig143,11)
b(146,j)=a(msig144,11)
b(147,j)=a(msig145,11)
b(148,j)=a(msig146,11)
b(149,j)=a(msig147,11)
b(150,j)=a(msig148,11)
b(151,j)=a(msig149,11)
b(152,j)=a(msig150,11)
b(153,j)=a(msig151,11)
b(154,j)=a(msig152,11)
b(155,j)=a(msig153,11)
b(156,j)=a(msig154,11)
b(157,j)=a(msig155,11)
b(158,j)=a(msig156,11)
b(159,j)=a(msig157,11)
b(160,j)=a(msig158,11)
b(161,j)=a(msig159,11)
b(162,j)=a(msig160,11)
b(163,j)=a(msig161,11)
b(164,j)=a(msig162,11)
b(165,j)=a(msig163,11)
b(166,j)=a(msig164,11)
b(167,j)=a(msig165,11)
b(168,j)=a(msig166,11)
b(169,j)=a(msig167,11)
b(170,j)=a(msig168,11)
b(171,j)=a(msig169,11)
b(172,j)=a(msig170,11)
b(173,j)=a(msig171,11)
b(174,j)=a(msig172,11)
b(175,j)=a(msig173,11)
b(176,j)=a(msig174,11)
b(177,j)=a(msig175,11)
b(178,j)=a(msig176,11)
b(179,j)=a(msig177,11)
b(180,j)=a(msig178,11)
b(181,j)=a(msig179,11)
b(182,j)=a(msig180,11)
b(183,j)=a(msig181,11)
b(184,j)=a(msig182,11)
b(185,j)=a(msig183,11)
b(186,j)=a(msig184,11)
b(187,j)=a(msig185,11)
b(188,j)=a(msig186,11)
b(189,j)=a(msig187,11)
b(190,j)=a(msig188,11)
b(191,j)=a(msig189,11)
b(192,j)=a(msig190,11)
b(193,j)=a(msig191,11)
b(194,j)=a(msig192,11)
b(195,j)=a(msig193,11)
b(196,j)=a(msig194,11)
b(197,j)=a(msig195,11)
b(198,j)=a(msig196,11)
b(199,j)=a(msig197,11)
b(200,j)=a(msig198,11)
b(201,j)=a(msig199,11)
b(202,j)=a(msig200,11)
b(203,j)=a(msig201,11)
b(204,j)=a(msig202,11)
b(205,j)=a(msig203,11)
b(206,j)=a(msig204,11)
b(207,j)=a(msig205,11)
b(208,j)=a(msig206,11)
b(209,j)=a(msig207,11)
b(210,j)=a(msig208,11)
b(211,j)=a(msig209,11)
b(212,j)=a(msig210,11)
b(213,j)=a(msig211,11)
b(214,j)=a(msig212,11)
b(215,j)=a(msig213,11)
b(216,j)=a(msig214,11)
b(217,j)=a(msig215,11)
b(218,j)=a(msig216,11)
b(219,j)=a(msig217,11)
b(220,j)=a(msig218,11)
b(221,j)=a(msig219,11)
b(222,j)=a(msig220,11)
b(223,j)=a(msig221,11)
b(224,j)=a(msig222,11)
b(225,j)=a(msig223,11)
b(226,j)=a(msig224,11)
b(227,j)=a(msig225,11)
b(228,j)=a(msig226,11)
b(229,j)=a(msig227,11)
b(230,j)=a(msig228,11)
b(231,j)=a(msig229,11)
b(232,j)=a(msig230,11)
b(233,j)=a(msig231,11)
b(234,j)=a(msig232,11)
b(235,j)=a(msig233,11)
b(236,j)=a(msig234,11)
b(237,j)=a(msig235,11)
b(238,j)=a(msig236,11)
b(239,j)=a(msig237,11)
b(240,j)=a(msig238,11)
b(241,j)=a(msig239,11)
b(242,j)=a(msig240,11)
b(243,j)=a(msig241,11)
b(244,j)=a(msig242,11)
b(245,j)=a(msig243,11)
b(246,j)=a(msig244,11)
b(247,j)=a(msig245,11)
b(248,j)=a(msig246,11)
b(249,j)=a(msig247,11)
b(250,j)=a(msig248,11)
b(251,j)=a(msig249,11)
// b(1,j)=a(k,10)
// b(j,1)=a(k,1)// sigma
// b(2,j)=a(msig,10); // zeL_av
// b(3,j)=a(k,10)
// b(4,j)=a(k,1)
// b(j,k)=a(k,10)
// end
//end
end
//i=i+1;
sig = msig*0.001; // плотность прививки, соответствующая номеру строки msig
sout = s1 + 'zav_q=' + string(q) + '_np=' + string(np) + '_range=190_300_min_sigma=0.001' + '.dat';
u=file('open',sout,'unknown');
write(u, b, '(f12.6,32(e16.6))');
file('close',u);
|
0397e063163958e3dd89cd1ffcc52f41db882096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH6/EX6.m.13/ex_m_6_13.sce | 319ef9534527377f42d4b7e4cc5ab2fc17a1c4e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | ex_m_6_13.sce | // Exa Misc. 6.13
clc;
clear;
close;
format('v',6)
// Given data
R1 = 20;// in k ohm
R3 = 10;// in k ohm
R2 = R3;// in k ohm
R_F = 20;// in k ohm
Vin1 = 2;// in V
Vin2 = 2.1;// in V
// The input voltage at non-inverting terminal,
V_A = (R2*Vin2)/R1;// in V
// The output voltage, by using super position theorm,
Vo = ((-R_F/R1)*Vin1) + ((1+(R_F/R1))*(R1/(R2+R3))*V_A);// in V
disp(Vo,"The output voltage in V is");
|
80248a53a16de8fd57ac70daceb21b1cb29483c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH6/EX6.7/ex_6_7.sce | ed95eeb351d23e5311145dad8454783726de4e48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | ex_6_7.sce | //Example 6.7 // Equilibrium position time
clc;
clear;
//given data :
r=exp(2);//ratio of amplitude
Q=2D3;//quality factor
v=240;// frequency of fork in cycles/s
w=2*%pi*v;//angular frequency in rad/sec
T=Q/w;// relaxation time in sec
t=2*T*log(r);//time for ne amplitude
disp(t,"time to become for new amplitude in sec")
|
691a12f389322f81d1639cafb4a0f88150e0908d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.6.g/1_6_g.sce | 88a8c588fcb4e4980cade09691c80b94d4676198 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | 1_6_g.sce | //Example 1.6<g>//
//draw the waveform of the signal x7(t)=u(t)-2*u(t-1)+u(t-2)//
clc ;
clear all;
t=-10:.001:10
for i=1:length(t)
if t(i)>=0 & t(i)<=1 then
x(i)=1;
end
if t(i)>=1 & t(i)<=2 then
x(i)=-1
end
end
//figure
plot2d(t,x);
xtitle('Required figure','t','x(t)')
|
a305885c49bbbccee8e918c8660fafb65d0c6e07 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s__introduction_to_nuclear_engineering_J._R._Lamarsh_And_A._J._Baratta_3269.zip/_introduction_to_nuclear_engineering_J._R._Lamarsh_And_A._J._Baratta_3269/CH3/EX3.6/Ex3_6.sce | 544ab6ccdf8475f7b4b5633e1e1690333b432fa6 | [] | 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 | 804 | sce | Ex3_6.sce | errcatch(-1,"stop");mode(2);// Example 3.6
all;
;
// Given data
sigmas_H_1 = 3; // Scattering cross section of Hydrogen in barn at 1 MeV
sigmas_O_1 = 8; // Scattering cross section of Oxygen in barn at 1 MeV
sigmas_H_th = 21; // Scattering cross section of Hydrogen in barn at 0.0253 eV
sigmas_O_th = 4; // Scattering cross section of Oxygen in barn at 0.0253 eV
// Calculation
sigmas_H20_1 = (2*sigmas_H_1)+(1*sigmas_O_1);
// Result
printf('\n Scattering cross section of Water at 1 MeV = %d b \n',sigmas_H20_1);
// The equation used to calculate the scattering cross section at 1 MeV cannot be used at thermal energy.
printf(' Experimental value of scattering cross section of Water at 0.0253 eV = %d b \n',103);
exit();
|
8c338feaa26c9d30f2de00b7ae5d37501b614357 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH9/EX9.5/Ex9_5.sce | d056d5cf312a943e0020b5295a1ab5e41753b851 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 792 | sce | Ex9_5.sce |
//Variable Declaration
n=24 //Number of channels
g=13.57 //Peak/rms factor(dB)
b=3.1 //Channel Bandwidth(kHz)
P=4 //Emphasis improvement (dB)
W=2.5 //Noise weighting improvement(dB)
CNR=25 //Carrier to noise ratio (dB)
delFrms=35 //rms value of Peak Deviation(kHz)
fm=108 //Baseband frequency (kHz)
//Calculation
L=10**((-1+4*log10(n))/20)
g=10**(g/20) //Converting process gain to ratio
delF=g*delFrms*L //Peak Deviation(Hz)
BIF=2*(delF+fm) //Signal Bandwidth(kHz) by Carson's rule
Gp=(BIF/b)*((delFrms/fm)**2) //Processing Gain
Gp=10*log10(Gp) //Converting Gp to dB
SNR=CNR+Gp+P+W //Signal to noise ratio for top channel in 24-channel FDM basseband signal
//Results
printf("Signal to noise ratio for top channel in 24-channel FDM Baseband signal is %.1f db", SNR)
|
3d344f5975e48f9f286f5bdc0bcd468d2502e521 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamToolBox/SparamToolbox/v1.2/x86_64/src/c/builder_c.sce | 3752c0659c09e42fad45e0f76cd3170adae6d1d1 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | builder_c.sce | // ====================================================================
// Allan CORNET
// Simon LIPP
// INRIA 2008
// This file is released into the public domain
// ====================================================================
src_c_path = get_absolute_file_path('builder_c.sce');
CFLAGS = "-I" + src_c_path;
tbx_build_src(['err_codes'], ['err_codes.c'], 'c', ..
src_c_path, '', '', CFLAGS);
tbx_build_src(['read_tchstn'], ['read_tchstn.c'], 'c', ..
src_c_path, 'liberr_codes', '', CFLAGS);
tbx_build_src(['write_tchstn'], ['write_tchstn.c'], 'c', ..
src_c_path, 'liberr_codes', '', CFLAGS);
clear tbx_build_src;
clear src_c_path;
clear CFLAGS;
|
3c25ec85b57eeec5765122195ec1a96e7214d450 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH13/EX13.13/Example13_13.sce | d318711874f824bfe22492096534580842cae658 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | Example13_13.sce | ////Chapter 13 Steam Engines
////Example 13.13 Page No 293
///Find Brake Power
//Input data
clc;
clear;
Db=900*10^-3; //Diameter of break drum in mm
dr=50*10^-3; //Diameter of rope in mm
W=105*9.81; //dead weight on the tight side of the rope in Kg
S=7*9.81; //Spring balance of the rope in N
N=240; //Speed of the engine in rpm
pi=3.142;
//Calculation
T=(W-S)*((Db+dr)/2); //Torque Nm
Bp=2*pi*N*T/60000; //Brake Power in Kw
//Output
printf('Torque= %f Nm \n',T);
printf('Brake Power= %f Kw \n',Bp);
|
02dd7f73a6d442259682d7e1c23197d9479838d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH9/EX9.13/9_13.sce | dc0c837bdeb580a1eb0dd73a2735c2276b4453ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,419 | sce | 9_13.sce | clear; clc; close;
Cs = 10*10^(-6);
Ce = 20*10^(-6);
Cc = 1*10^(-6);
Rs = 1*10^(3);
R1 = 40*10^(3);
R2 = 10*10^(3);
Re = 1.2*10^(3);
Rc = 4*10^(3);
Rl = 10*10^(3);
Beta = 100;
ro = %inf;
re = 24.01;
Vcc = 10;
Ve = 2-0.7;
Cwo = 8*10^(-12);
Cwi = 6*10^(-12);
Cce = 1*10^(-12);
Cbc = 4*10^(-12);
Cbe = 36*10^(-12);
fls = 6.86;
Ri = 1.85*10^(3);
Avmid = -119;
Rthi = Rs*R1*R2*Ri/(Rs*R1*R2+R1*R2*Ri+R2*Ri*Rs+Ri*Rs*R1);
Ci = Cwi+Cbe+(1-Avmid)*Cbc;
fhi = 1/(2*%pi*Rthi*Ci);
Rtho = Rc*Rl/(Rc+Rl);
Co = Cwo+Cce+(1-(1/Avmid))*Cbc;
fho = 1/(2*%pi*Rtho*Co);
fpie = 1/(2*%pi*Beta*re*(Cbe+Cbc));
ft = Beta*fpie;
disp(fhi,'fhi = ');
disp(fho,'fho = ');
disp(fpie,'fbeta = ');
disp(ft,'ft = ');
fle = 500;
flc = 1/(2*%pi*(Rl+Rtho)*Cc);
f1 = fle;
f = 0.1*f1:100:10*f1;
av = (1+(f1./f)^2)^(-1/2);
av1 = -20*log10(f1/f1);
f2 = f1/10;
av2 = -20*log10(f1/f2);
f3 = f1/4;
av3 = -20*log10(f1/f3);
f4 = f1/2;
av4 = -20*log10(f1/f4);
x = [f2 f3 f4 f1];
y = [av2 av3 av4 av1];
gainplot(f,av);
a = gca();
a.y_location = 'left';
a.x_location = 'top';
a.x_label.text = 'frequency';
a.y_label.text = 'Av';
a.title.text = 'Bode';
plot2d(x,y);
f1 = fls;
//f = .1*f1:10:10*f1;
av = -10*log10(1+(f1./f)^2);
av1 = -20*log10(f1/f1);
f2 = f1/10;
av2 = -20*log10(f1/f2);
f3 = f1/4;
av3 = -20*log10(f1/f3);
f4 = f1/2;
av4 = -20*log10(f1/f4);
x = [f2 f3 f4 f1];
y = [av2 av3 av4 av1];
plot2d(x,y);
f1 = flc;
//f = .1*f1:10:10*f1;
av = -10*log10(1+(f1./f)^2);
av1 = -20*log10(f1/f1);
f2 = f1/10;
av2 = -20*log10(f1/f2);
f3 = f1/4;
av3 = -20*log10(f1/f3);
f4 = f1/2;
av4 = -20*log10(f1/f4);
x = [f2 f3 f4 f1];
y = [av2 av3 av4 av1];
plot2d(x,y);
f1 = fhi;
f = 0.1*f1:100:10*f1;
av = (1+(f/f1)^2)^(-1/2);
av1 = -20*log10(f1/f1);
f2 = f1*10;
av2 = -20*log10(f2/f1);
f3 = f1*4;
av3 = -20*log10(f3/f1);
f4 = f1*2;
av4 = -20*log10(f4/f1);
x = [f1 f4 f3 f2];
y = [av1 av4 av3 av2];
gainplot(f,av);
plot2d(x,y);
f1 = fpie;
av1 = -20*log10(f1/f1);
f2 = f1*10;
av2 = -20*log10(f2/f1);
f3 = f1*4;
av3 = -20*log10(f3/f1);
f4 = f1*2;
av4 = -20*log10(f4/f1);
x = [f1 f4 f3 f2];
y = [av1 av4 av3 av2];
plot2d(x,y);
f1 = fho;
av1 = -20*log10(f1/f1);
f2 = f1*10;
av2 = -20*log10(f2/f1);
f3 = f1*4;
av3 = -20*log10(f3/f1);
f4 = f1*2;
av4 = -20*log10(f4/f1);
x = [f1 f4 f3 f2];
y = [av1 av4 av3 av2];
plot2d(x,y);
|
c7df3ea747e8868164c812820f82088b26d0381e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.18/Ex1_18.sce | 6b6146ae27c6bde7d9f44a3212fd3bb1fe10adab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | Ex1_18.sce | clear
//
l=1
b=1.5
i=50
u=5
//case a
f=b*i*l
printf("\n f= %0.1f N",f)
//case b
p=f*u
printf("\n p= %0.1f W",p)
//case c
e=b*l*u
printf("\n e= %0.1f V",e)
|
98295d81dacde8d1c0403c6241c11371b12d3dc7 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/extractHOGFeatures/test2.sce~ | bc3c728beb56f1ffd672d1bc32e0fc9c594bddc2 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | test2.sce~ | //Reading grayscale image
I1 = imread("left.jpg");
//Extracting HOG feature values from image
values = extractHOGFeatures(I1,"CellSize",[8,8]);
//Correct output is given
//Reading image
I2 = imread("lena.jpeg");
//Extracting HOG feature values from image
values2 = extractHOGFeatures(I2,"CellSize",[8,8]);
//Correct output is given
//Reading image
I3 = imread("clc1.jpg");
//Extracting HOG feature values from image
values3 = extractHOGFeatures(I3,"CellSize",[8,8]);
//Correct output is given
//Reading image
I4 = imread("board1.jpg");
//Extra cting HOG feature values from image
values4 = extractHOGFeatures(I4,"CellSize",[8,8]);
//Correct output is given
| |
a20994297bc11bbb29df11d51ae58d99761e6ed9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.18/ex12_18.sce | 8390c05ff828060ea5ed77b3f23fa77bb5aaa923 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | ex12_18.sce | //Chapter-12, Example 12.18, Page 365
//=============================================================================
clc
clear
//During the positive half of the input signal,the diode conducts and acts like a short circuit.Now,the output voltage,V0=0V.The capacitor is charged to 12V with polarities and it behaves like a battery.
//during the negative half of the input signal,the diode does not conduct and acts like an open circuit.Hence the output voltage ,V0=-24V.This gives negatively clamped voltage.
mprintf("V0=0V\n")
mprintf("output voltage V0=-24V")
//=================================END OF PROGRAM=======================================================================================================
|
f71cd524f568e5ce3aeeddd19310b2c30791a5b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH20/EX20.09/20_09.sce | d60056c0dff01102b453c85f494993df4954cf63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 911 | sce | 20_09.sce | //Problem 20.09: A single-phase, 50 Hz transformer has 25 primary turns and 300 secondary turns. The cross-sectional area of the core is 300 cm2. When the primary winding is connected to a 250 V supply, determine (a) the maximum value of the flux density in the core, and (b) the voltage induced in the secondary winding.
//initializing the variables:
V1 = 250; // in Volts
A = 0.03; // in m2
N2 = 300; // sec turns
N1 = 25; // prim turns
f = 50; // in Hz
//calculation:
//e.m.f. E1 = 4.44*f*Phim*N1
//maximum flux density,
Phim = V1/(4.44*f*N1)
//Phim = Bm*A, where Bm = maximum core flux density and A = cross-sectional area of the core
//maximum core flux density
Bm = Phim/A
//voltage induced in the secondary winding,
V2 = V1*N2/N1
printf("\n\n Result \n\n")
printf("\n (a)maximum core flux density %.2f T", Bm)
printf("\n (b)voltage induced in the secondary winding is %.0f V", V2) |
60bb00b7f53cfd8cddfcfbaa53313c055ad99603 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.13/Ex8_13.sce | 1a2a9c2cd63a0902c3a83b28f7d42960b2c547a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex8_13.sce | //Ex:8.13
clc;
clear;
close;
tr=3.5;// relative life time in ms
tnr=50;// nonrelative life time in ms
ni=tnr/(tr+tnr);// internal quantam efficiency
printf("The internal quantam efficiency =%f %%", ni*100); |
5e9a878335480d4934e8fcbe41e1916ff05e324d | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH1/EX1.16/Example1_16.sce | 1fcbfd98dbd8123f80faad34a93291db45521ade | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sce | Example1_16.sce | //clear//
//Example 1.16:Classification of system:Time Invariance Property
//Page 52
//To check whether the given system is a Time variant (or) Time In-variant
// The given discrete signal is y(t) = x(2t)
clear;
clc;
to = 2; //Assume the amount of time shift =2
T = 10; //Length of given signal
x = [1,2,3,4,5,6,7,8,9,10];
y = zeros(1,length(x));
for t = 1:length(x)/2
y(t) = x(2*t);
end
//First shift the input signal only
Input_shift = x(T-to);
Output_shift = y(T-to);
if(Input_shift == Output_shift)
disp('The given discrete system is a Time In-variant system');
else
disp('The given discrete system is a Time Variant system');
end
|
54f56106406b629ed798ae86f71a099eb07b751a | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Sf3data.sci | 9c20a13bc9b0292e66a4e79bfce36a362ff2569b | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,770 | sci | Sf3data.sci | // 08.08.16
// 08.10.10
// 13.10.21 ( __ added to varibles )
function PL__=Sf3data(varargin)
Nargs__=length(varargin);
FdL__=Fullformfunc(varargin(1));
F__=Mixop(1,FdL__);
Xf__=Mixop(2,FdL__);
Yf__=Mixop(3,FdL__);
Zf__=Mixop(4,FdL__);
Urg__=Mixop(5,FdL__);
Vrg__=Mixop(6,FdL__);
K__=mtlb_findstr(Urg__,'=');
U__=part(Urg__,1:K__-1);
Tmp__=part(Urg__,K__+1:length(Urg__));
Tmp__=evstr(Tmp__);
Umin__=Tmp__(1); Umax__=Tmp__(2);
K__=mtlb_findstr(Vrg__,'=');
V__=part(Vrg__,1:K__-1);
Tmp__=part(Vrg__,K__+1:length(Vrg__));
Tmp__=evstr(Tmp__);
Vmin__=Tmp__(1); Vmax__=Tmp__(2);
Ndu__=25 ; Ndv__=25; Np__=[50,50];
if Nargs__>=3
Ndu__=varargin(2);
Ndv__=varargin(3);
end;
if Nargs__>=4
Np__=varargin(4);
if type(Np__)==1 & length(Np__)==1
Np__=[Np__,Np__];
end;
end;
Du__=(Umax__-Umin__)/Ndu__;
Dv__=(Vmax__-Vmin__)/Ndv__;
PL__ = [];
for I__=0:Ndu__
U0__ ='('+string(Umin__+I__*Du__)+')';
Tmp__=strsubst(Xf__,U__,U0__);
Tmp1__=strsubst(Tmp__,V__,'t');
Tmp__=strsubst(Yf__,U__,U0__);
Tmp2__=strsubst(Tmp__,V__,'t');
Tmp__=strsubst(Zf__,U__,U0__);
Tmp3__=strsubst(Tmp__,V__,'t');
Tmp__='['+Tmp1__+','+Tmp2__+','+Tmp3__+']';
PD__=Spacecurve(Tmp__,'t=[Vmin__,Vmax__]','N='+string(Np__(2)));
PL__=Mixadd(PL__,PD__);
end;
for J__=0:Ndv__
V0__='('+string(Vmin__+J__*Dv__)+')';
Tmp__=strsubst(Xf__,V__,V0__);
Tmp1__=strsubst(Tmp__,U__,'t');
Tmp__=strsubst(Yf__,V__,V0__);
Tmp2__=strsubst(Tmp__,U__,'t');
Tmp__=strsubst(Zf__,V__,V0__);
Tmp3__=strsubst(Tmp__,U__,'t');
Tmp__='['+Tmp1__+','+Tmp2__+','+Tmp3__+']';
PD__=Spacecurve(Tmp__,'t=[Umin__,Umax__]','N='+string(Np__(1)));
PL__=Mixadd(PL__,PD__);
end;
endfunction;
|
692bb08be934b5b39cdfc605b0d8b81ed7c8bbfb | 18bf68cdf766092ccdcba8d231e8140063833a5a | /SignalAddition.sce | d2bb64e0bcc17ad4b7e11cf8c4db8642f84e2943 | [] | no_license | goodengineer/Scilab-Exercises | b51cc9a4c938f0289a32875d2d21eb9061d0e68e | 3c268211fe48e7e4d0002e44757ea8b50cda10f9 | refs/heads/master | 2022-12-24T23:30:12.875423 | 2020-10-05T06:27:20 | 2020-10-05T06:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | SignalAddition.sce | clc;
function output = add(vec1,vec2,pos1,pos2)
if pos1 > pos2 then
vec2 = [zeros(1,pos1-pos2) vec2]
elseif pos2 > pos1 then
vec1 = [zeros(1, pos2-pos1) vec1]
end
aft = length(vec1)-pos1
aft2 = length(vec2) - pos2
if aft > aft2 then
vec2 = [vec2 zeros(1,aft-aft2)]
elseif aft2 > aft then
vec1 = [vec1 zeros(1,aft2-aft)]
end
output = vec1 + vec2
endfunction
v3 = [1,2,3,4,3,-2,-1]
v4 = [4,-2,2,1.2,3,4,5,6]
out = add(v3,v4,4,4)
disp(out)
|
7ada19fe16af80da2ec8500b4a134bd304cf8fa9 | bb594bf7e034fd91887739d60b4772027eaec9b6 | /Gauss.sce | f8ab96b4186d7a8b9695ad1b418495f37b86f885 | [] | no_license | MEGCHICHEFarid/Calcul_Numerique | 52d3b8dcfcc1a756a942349d8b080b63328cafdb | 0896b894d734d622f74bb7565fb4686920c26010 | refs/heads/main | 2023-01-29T18:56:41.930367 | 2020-12-03T02:15:06 | 2020-12-03T02:15:06 | 317,599,449 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | Gauss.sce | function [A,b]=Gauss(A,b)
n=size(A,1);
m=eye(n,n);
for k=1:n-1
for i=k+1:n
m(i,k)=A(i,k)/A(k,k);
b(i)=b(i)-m(i,k)*b(k);
for j=k+1:n
A(i,j)=A(i,j)-m(i,k)*A(k,j);
end
end
end
endfunction
function x=Usolve(U,b)
n=size(U,1);
x=zeros(n,1);
x(n)=b(n)/U(n,n);
for i=n-1:-1:1
x(i)=(b(i)-U(i,(i+1):n)*x(i+1:n))/U(i,i);
end
endfunction
|
3d44327dace25b8918c2867f52eb154325c576a6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/percent/%rdp.sci | 850787debb324b22291698c86c65869885d1e5a2 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sci | %rdp.sci | //<f>=%rdp(f,p)
// %rdp(r,p) calcule la division element par element de la matrice de
// fractions rationnelles r par la matrice de polynomes p
//!
f(3)=f(3).*p
//end
|
2e77749a33defa7889e376e52996670a82b99d66 | b5c67ec6ca2b68ab137bf01b712c2296efa2276d | /code/tst/suite_05_tables.tst | f354d3a32091f871d8a170ab49e5af808a9a1a9f | [
"BSD-3-Clause"
] | permissive | mikekucera/MapleMIX | 32acb8ffa0af64efe9eb1367a40a099de18232f7 | 695307111fbeb360c30d8c3ef30cc182bc3678b4 | refs/heads/master | 2023-06-22T21:57:01.033953 | 2023-06-09T14:43:39 | 2023-06-09T14:43:39 | 27,238,914 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,478 | tst | suite_05_tables.tst | #test
# TEST SUITE 2: TABLES ############################################
with(TestTools):
kernelopts(opaquemodules=false):
#libname := libname, "/home/mike/thesis/trunk/maple/pe/current/lib":
libname := libname, "../lib":
# TEST 1 ###########################################################
# very basic
p := proc() local x, t;
x := 99;
t[5] := x;
t[5];
end proc;
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc() 99 end proc);
Test(100, got, expected);
# TEST 1 ###########################################################
# same thing but with symbols
p := proc() local x, t;
x := 99;
t[C] := x;
t[C];
end proc;
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc() 99 end proc);
Test(200, got, expected);
####################################################################
p := proc(d) local t;
t[1] :=88;
if d then
t[1] := 99;
end if;
t[1];
end proc;
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc(d) if d then 99 else 88 end if end proc);
Test(300, got, expected);
####################################################################
p := proc(x, y, d) local t;
t["x"] := d;
t["y"] := d;
if x = y then
t["compare"] := "equals";
else
t["compare"] := "ne";
end if;
return t;
end proc;
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc (x, y, d) local t; t["x"] := d; t["y"] := d; if x = y then t["compare"] := "equals"; return t else t["compare"] := "ne"; return t end if end proc);
Test(400, got, expected);
goal := proc(d) p(1,1,d) end proc;
ped := OnPE(goal);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc (d) local t1; t1["x"] := d; t1["y"] := d; t1["compare"] := "equals"; t1 end proc);
Test(401, got, expected);
####################################################################
p := proc() local t,s;
t := table();
t[1] := 99;
s := t;
s[2] := 100;
t[1], t[2];
end proc;
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc() 99, 100 end proc);
Test(501, got, expected);
p := proc()
t := table();
l := [t];
q := l[1];
q[1] := 99;
t[1];
end proc:
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc() 99 end proc);
Test(502, got, expected);
####################################################################
# in this case x is not a table, it should still work
p := proc () local x;
x := [1, 2, 3, 4];
x[3]
end proc;
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc() 3 end proc);
Test(601, got, expected);
####################################################################
p := proc() local t;
t["a"] := 1;
t["b"] := 2;
g(t);
t["a"], t["b"], t["c"];
end proc;
g := proc(t)
t["c"] := 3;
end proc;
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc() 1,2,3 end proc);
Test(701, got, expected);
####################################################################
p := proc() local t;
t := table();
t["a"] := 66;
g(t);
t["a"], t["b"]
end proc;
g := proc() h(args); end proc;
h := proc(t) t["b"] := 77; end proc;
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc() 66,77 end proc);
Test(801, got, expected);
####################################################################
p := proc()
t := table();
s := table();
s[1] := 100;
t["s"] := s;
b := t["s"];
b[2] := 200;
op(s);
end proc;
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc() 100, 200 end proc);
Test(901, got, expected);
g := proc(S, operation, x)
S[operation] := x;
S[Const][operation] := x*x;
end proc;
p := proc() local s;
s := table();
g(s, Plus, 5);
g(s, Minus, 10);
op(s);
end proc:
ped := OnPE(p);
got := ToInert(eval(ped:-ModuleApply));
expected := ToInert(proc()
table([(Plus)=5,(Minus)=10,(Const)=(table([(Plus)=25,(Minus)=100]))])
end proc);
Test(902, got, expected);
####################################################################
opts := PEOptions();
opts:-setInlineAssigns();
f := proc(A) local i, B;
B := table();
B[1] := A[1,1];
B[2] := A[1,2];
B;
end;
goal1 := proc() local A;
A := table([ (1,1) = 4, (1, 2)=5 ]);
f(A);
end proc:
res1 := OnPE(goal1, opts); # the easy one
got := ToInert(eval(res1:-ModuleApply));
expected := ToInert(proc() table([(1)=4, (2)=5]) end proc);
Test(1001, got, expected);
goal2 := proc(x) local A;
A := table([ (1,1) = 1, (1, 2)=x ]);
f(A);
end proc:
res2 := OnPE(goal2, opts); # the one we really care about
got := ToInert(eval(res2:-ModuleApply));
expected := ToInert(proc(x) local B1; B1[2] := x; B1[1] := 1; B1 end proc);
Test(1002, got, expected);
f := proc(t) t[1,2] end;
goal3 := proc() local A;
A := [table([(1,1)=1, (1,2)=2, (2,1)=-5, (2,2)=6])];
f(A[1]);
end proc:
res1 := OnPE(goal3, opts); # the easy one
got := ToInert(eval(res1:-ModuleApply));
expected := ToInert(proc() 2 end);
Test(1003, got, expected);
#######################################################################
#end test
#######################################################################
#end test
####################################################################
#end test
|
81509402a866291016da3bc5f4356d21c825897e | 727092dff86e9d034d021bbc56565d9336b988aa | /Códigos CN/eliminacao_de_gauss.sci | ee2ae95bf0c50937219c6dc7b6748dc920a18073 | [] | no_license | lucasdksan/Numerical-computing | c54b855bd50f2a06b1970086f2da63c28883f287 | a5a5863499bdf46003437140e3fa3123fc4960f8 | refs/heads/master | 2023-06-24T16:13:01.094230 | 2021-07-29T15:57:00 | 2021-07-29T15:57:00 | 278,514,165 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sci | eliminacao_de_gauss.sci | function [x, At] = gauss(A,b)
[l, c] = size(A);
At = [A b]
for i = 1:l-1 //linha e coluna do pivo
pivo = At(i,i);
for j = i + 1: l //linha do elemento que vamos zerar
m = At(j,i)/pivo;
At(j,:) = At(j,:) - m*At(i,:);
end
end
x = resoRetro(At(:,1:c), At(:,c+1));
endfunction |
2452679a74632e049eac88e768a1b63a2cc7b336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH4/EX4.16/4_16.sce | 59d7504b1982636349d2ff104b11633c723a54e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,696 | sce | 4_16.sce | clear;
clc;
//Example - 4.16
//Page number - 169
printf("Example - 4.16 and Page number - 169\n\n");
//Given
P_1 = 300;//[kPa] - Initial pressure
T_1 = 450;//[K] - Initial temperature
Vel_1 = 90;//[m/s] - Initial velocity
P_2 = 180;//[kPa] - Final pressure
eff = 0.95;// Adiabatic effciciency of the nozzle
R = 8.314;//[J/mol*-] - Universal gas constant
Cp = 5.19;//[kJ/kg-K] - Specific heat capacity at constant pressure
//(a)
// Exit velocity is highest when drop in enthalpy is highest or when isentropic conditions are maintained
Mol_wt_He = 4;//[g/mol] - Molecular weight of helium
R_He = R/Mol_wt_He;// 'R' for helium
Y = Cp/(Cp - R_He);
// Now temperature at exit to be determined
T_2s = T_1*(P_1/P_2)^((1-Y)/Y);//[K]
delta_H_2s = Cp*(T_2s - T_1);//[kJ/kg]
// Since no work is done and heat exchange is zero,from first law we get
// delta_H + delta_Vel^(2)/2 = 0
delta_Vel_square = 2*(-delta_H_2s)*1000;//[m^(2)/s^(2)]
Vel_2 = (delta_Vel_square)^(1/2);//[m/s] - ( as Vel_1 << Vel_2)
printf(" (a).The maximum exit velocity is %f m/s\n\n",Vel_2);
//(b)
T_2a = 373;//[K] - Measured temperature of helium
delta_H_a = Cp*(T_2a - T_1);//[kJ/kg]
delta_Vel_square_a = 2*(-delta_H_a)*1000;//[m^(2)/s^(2)]
Vel_2a = (delta_Vel_square_a)^(1/2);//[m/s] - ( as Vel_1 << Vel_2a)
printf(" (b).The actual exit velocity is %f m/s\n\n",Vel_2a);
//(c)
delta_S_sys = Cp*log(T_2a/T_1) - R_He*log(P_2/P_1);
// we know that delta_S_sys = q/T_b + S_gen and since q = 0, therfore
S_gen = delta_S_sys;//[kJ/kg-K]
printf(" (c).The increasse in entropy per unit mass is %f kJ/kg-K",S_gen);
// The source of irreversibility is friction in the nozzle.
|
1ca84b55c90bcfd9d57a0209d7d4e57db606f8c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH2/EX2.6/2_6.sce | a2ca195133d769a3d51d0d323915be213c6b0068 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | 2_6.sce | clc
//initialisation of variables
d1= 8 //in
d2= 4 //in
h= 10 //in of mercury
Cd= 0.98
g= 32.2 //ft/sec^2
sm= 13.56
//CALCULATIONS
a1= %pi*(d1/12)^2/4
a2= %pi*(d2/12)^2/4
h1= h*(sm-1)/12
Q= a1*a2*sqrt(2*g)*sqrt(h1)/sqrt(a1^2-a2^2)
Qactual= Cd*Q
//RESULTS
printf ('Actual discharge = %.2f cuses ',Qactual)
|
316f555460434873e11ac75164ed7e915c6faeaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH10/EX10.19w/10_19w.sce | 6a6b3aa44f908e3ec68e3d54ea7ea7699f61b55e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sce | 10_19w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 10.19w
//calculation of the moment of inertia of the system about the axis perpendicular to the rod passing through its middle point
//given data
m=1.2//mass(in kg) of the sphere
R=10*10^-2//radius(in cm) of the sphere
sep=50*10^-2//separation(in m) between the two spheres
//calculation
d=sep/2//distance of each sphere from centre
Icm=(2*m*R*R)/5//moment of inertia about diameter
I=Icm+(m*d*d)//by parallel axis theorem,moment of inertia about given axis
//since second sphere has same moment of inertia
Isys=2*I//moment of inertia of the system
printf('the moment of inertia of the system about the axis perpendicular to the rod passing through its middle point is %3.3f kg-m^2',Isys)
|
fa8bcd6ffbd1c51c5e5a66255c66234197a55823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH2/EX2.14/2Ex14.sce | ce46810cffe7870ab89d27bb05e9db0843426db1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | 2Ex14.sce | //chapter 2 Ex 14
clc;
clear;
close;
n1=62; n2=132; n3=237;
V=int32([n2-n1 n3-n2 n3-n1]); //since it leaves same reminder
Hcf=gcd(V);
mprintf("The largest such number is %d.",Hcf);
|
1f030183ee51a0b45e90455015a3e66684893f87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH13/EX13.8/Ex13_8.sce | 719e13db251e74d73b1ea9d74f6948e19d524256 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | Ex13_8.sce | //chapter13
//example13.8
//page282
del_Ib=10d-3 // mA
del_Ic=1 // mA
del_Vbe=0.02 // V
Rc=5 // kilo ohm
Rl=10 // kilo ohm
Ai=del_Ic/del_Ib
Rin=del_Vbe/del_Ib
R_AC=Rc*Rl/(Rc+Rl)
Av=Ai*R_AC/Rin
Ap=Av*Ai
printf("current gain = %.3f \n",Ai)
printf("input impedence = %.3f kilo ohm \n",Rin)
printf("ac load = %.3f kilo ohm \n",R_AC)
printf("voltage gain = %.3f \n",Av)
printf("power gain = %.3f \n",Ap)
// the accurate answer for voltage gain = 166.667 and for power gain = 16666.667 but in book they are given as 165 and 16500 respectively.
|
8ec7164165478c80d7b94dd4a739893319747c10 | 0cc6b06233cdf815400fa04f7649e32f1cbc9039 | /scilab/rainbow-ow-ow.sce | 4f85e83c7b4ff6544903b244bec1edb6a12dc2a4 | [] | no_license | Muldoser/LightOrgan | 301b75457bffa4f83e0cf97365fc21b8819695b2 | 6aed55cc7771188d7c181dfdd707d9704d5b357e | refs/heads/master | 2020-12-25T16:47:42.908288 | 2016-09-05T22:04:32 | 2016-09-05T22:04:32 | 66,096,112 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | rainbow-ow-ow.sce | // lege kernel voor opslag van geluidssignaal
storage = zeros(1,4000);
storage(4000) = 0.5;
convolutie = convol(y2, storage);
resize = resize_matrix(convolutie,[1 y2_size]);
echo = y2 + resize;
figure;
plot(echo);
playsnd(echo,16000);
|
2493bd7f96c616a3aeba0383ca00954b819ea474 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH14/EX14.8/Ex14_8.sce | c2fc78dc428555ffc8c8acc9f115bb18d216723d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 879 | sce | Ex14_8.sce | // Example 14_8
clc;clear;funcprot(0);
//Given data
V_in=47.1; //Velocity at the inlet in m/s
beta_sl=0.0;// The leading edge angle of each stator blade in degree
beta_st=60;// The trailing edge angle in degrees
n=1750;//Speed of the impeller in rpm
r=0.40;//Radius in
// Calculation
V_st=(V_in/(cosd((beta_st))));// The velocity leaving the trailing edge of the stator in m/s
u_theta=(n*2*%pi*r)/(60);// The tangential velocity of the rotor blades in m/s
beta_rl=atand(((u_theta)+(V_in*tand(beta_st)))/(V_in));// The angle of the leading edge of the rotor in degree
beta_rt=atand((u_theta)/(V_in));// The angle of the trailing edge of the rotor in degree
printf('\nThe rotor blade at this radius has a leading edge anle of about %0.2f degree and a trailing edge angle of about %0.2f degree \nWe pick a number like 13, 15, or 17 rotor blades.',beta_rl,beta_rt);
|
3f6769762c2fc9848653c3ba075c2bd2f4cd97a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.13/example1_13.sce | efd79ae64b1295eec2b5ac56cc167ed1cb61faaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | example1_13.sce |
//exapple 1.13
clc; funcprot(0);
// Initialization of Variable
pi=3.14159;
alpha=21+30/60;//altitude of star
A=140//azimuth angle
delta=48;//latitude of observer
//in triangle ZPM(figure in book)
PZ=(90-delta)*pi/180;
A=A*pi/180;
ZM=(90-alpha)*pi/180;
PM=(cos(PZ)*cos(ZM)+sin(ZM)*sin(PZ)*cos(A));
if PM<0 then
PM=-PM;
PM=acos(PM);
PM=180-PM*180/pi;
disp(PM-90,"declination of star in (degrees) southwards:");
end
H=acos((cos(ZM)-cos(PZ)*cos(PM*pi/180))/sin(PZ)/sin(PM*pi/180));
H=2*pi-H;
disp(H*180/pi,"hour angle of star in (degrees)");
|
d01ceabe0aaab1f2b6becf2cedc1201d873183d2 | 4058f38b392324aa5099819881f3c7d7219a174f | /Decimal_to_Binary_Priority_Encoder__0_to_7_/Decimal to Binary Priority Encoder (0 to 7).sce | 7d9a73df28d754d2f5145f1b053b502fb24bb427 | [] | no_license | anupma-s/Scilab-Xcos-Arduino-Digital-Circuits | 612a033422bf14e2e58bcdce371f15cafb30224f | 2b4bf8e8f155d20a5eda2feb31c5523a51569d73 | refs/heads/master | 2021-01-20T17:20:13.073180 | 2016-07-04T15:25:07 | 2016-07-04T15:25:07 | 62,569,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,181 | sce | Decimal to Binary Priority Encoder (0 to 7).sce | ok=open_serial(1,2,115200);
if ok~=0 then error('Unable to open serial port, please check'); end
for i=1:10000
//input pins; 2,3,4,5,6,7,8 representing decimal numbers from 1 to 7 resp.
d1=cmd_digital_in(1,2) //decimal number 1
d2=cmd_digital_in(1,3)
d3=cmd_digital_in(1,4)
d4=cmd_digital_in(1,5)
d5=cmd_digital_in(1,6)
d6=cmd_digital_in(1,7)
d7=cmd_digital_in(1,8) //decimal number 7
//output pins: LSB 10,11,12 MSB representing binary
//decimal input 0, binary output 000
if d1==0 & d2==0 & d3==0 & d4==0 & d5==0 & d6==0 & d7==0
cmd_digital_out(1,10,0)
cmd_digital_out(1,11,0)
cmd_digital_out(1,12,0)
//decimal input 1, binary output 001
else if d1==1 & d2==0 & d3==0 & d4==0 & d5==0 & d6==0 & d7==0
cmd_digital_out(1,10,0)
cmd_digital_out(1,11,0)
cmd_digital_out(1,12,1)
//decimal input 2, binary output 010
else if d2==1 & d3==0 & d4==0 & d5==0 & d6==0 & d7==0 //since it is a PRIORITY encoder, the input d1 does not matter
cmd_digital_out(1,10,0)
cmd_digital_out(1,11,1)
cmd_digital_out(1,12,0)
//decimal input 3, binary output 011
else if d3==1 & d4==0 & d5==0 & d6==0 & d7==0
cmd_digital_out(1,10,0)
cmd_digital_out(1,11,1)
cmd_digital_out(1,12,1)
//decimal input 4, binary output 100
else if d4==1 & d5==0 & d6==0 & d7==0
cmd_digital_out(1,10,1)
cmd_digital_out(1,11,0)
cmd_digital_out(1,12,0)
//decimal input 5, binary output 101
else if d5==1 & d6==0 & d7==0
cmd_digital_out(1,10,1)
cmd_digital_out(1,11,0)
cmd_digital_out(1,12,1)
//decimal input 6, binary output 110
else if d6==1 & d7==0
cmd_digital_out(1,10,1)
cmd_digital_out(1,11,1)
cmd_digital_out(1,12,0)
//decimal input 7, binary output 111
else if d7==1
cmd_digital_out(1,10,1)
cmd_digital_out(1,11,1)
cmd_digital_out(1,12,1)
end
end
end
end
end
end
end
end
end
close_serial(1)
|
af31dd0163a47d81f9b956c1f925f4bc7422d9d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.17.a/data10_17.sci | 1e5cc049f37a25ec4bb24678cef288cf6ecf9d0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sci | data10_17.sci |
//(Springs) Example 10.17
//Maximum force on the composite spring P (N)
P = 6000
//Deflection in both the springs delta (mm)
delta = 50
//Maximum torsional shear stress in each spring tau (N/mm2)
tau = 800
//Spring index of each spring C
C = 6
//Modulus of rigidity of each spring G (N/mm2)
G = 81370
//For plain ends, endtype = 1
//For plain ends(ground), endtype = 2
//For square ends, endtype = 3
//For square ends(ground), endtype = 4
endtype = 4
|
e01e827f25ef5699631c8ee3c05093eb75631305 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH22/EX22.17/22_17.sce | d9061b4e1c85d950aa736ef9a40c160f8c756db0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 853 | sce | 22_17.sce | clear//
//Variables
VCC = 3.0 //Source voltage (in volts)
RB = 33.0 //Base Resistance (in kilo-ohm)
RC = 1.8 //Collector Resistance (in kilo-ohm)
VBE = 0.7 //Emitter-to-Base Voltage (in volts)
beta = 90.0 //Common emitter current gain
//Calculation
IB = (VCC - VBE) / (RB + beta * RC) //Base current (in milli-Ampere)
IC = beta * IB //Collector current (in milli-Ampere)
VCE = VCC -IC * RC //Collector-to-emitter voltage (in volts)
S = (1 + beta)/(1 + beta*RC/(RC + RB)) //Stability factor
//Result
printf("\n DC bias current is %0.2f mA.\nDC bias voltage is %0.1f V.\nStability factor is %0.1f .",IC,VCE,S)
|
14b915824ef15a1fbd6dd453c5e163a1c0f5c3ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH5/EX5.2/5_2.sci | 7e10062f89d21277cc92d41cb0055ba613e18bf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sci | 5_2.sci | //5.2
clc;
V_per_cm=1.0186/60;
//When S is replaced by a dry cell we get PK=85 cm for null deflection
Dpk=85;
V_dry_cell=Dpk*V_per_cm;
printf("Voltage of dry cell=%.2f V",V_dry_cell) |
fe68743c0f6c8c12ab9f540bdb8bf1e25e96d6fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH6/EX6.1/Exa6_1.sce | 96f46c4b06f622270e2e33f9bd8859bf0d6eb520 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Exa6_1.sce | //Exa 6.1
clc;
clear;
close;
// given data
epsilon_r=2.5;
epsilon_o=8.854*10^-12;
d=.2*10^-3;// in m
A=20*10^-4;// in m^2
omega=2*%pi*10^6;// in radians/s
f=10^6;
tan_delta=4*10^-4;
C=epsilon_o*epsilon_r*A/d;// in F
disp("Capicitance is : "+string(C*10^12)+" miu miu F");
// Formula P=V^2/R, so
// R=V^2/P and P= V^2*2*%pi* f * C * tan delta, putting the value of P, we get
R=1/(2*%pi*f*C*tan_delta);// in ohm
disp("The element of parallel R-C circuit is : "+string(R*10^-6)+" M ohm");
|
84290dee9be50d91187db78b61006b9946c548f7 | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/diff.sci | 8d58189098a59211069b5fb03d8d83059f81f1df | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 656 | sci | diff.sci | function diff()
//First discrete difference of element.
// Syntax
//df.isna()
//
// Parameters
// periods: int, default 1
//axis: {0 or ‘index’, 1 or ‘columns’}, default 0
//Take difference over rows (0) or columns (1).
// For additional information on parameters, See https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.diff.html
// Returns : DataFrame
// NOTE: For boolean dtypes, this uses operator.xor() rather than operator.sub().
// Examples
// Difference with previous column
// df.diff()
// Authors
// Aditya Dhinavahi
// Sundeep Akella
endfunction
|
e6b042925ee463ac507ff61bae6c8efc01fd5129 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH3/EX3.6/3_6.sce | 3b2271c0a20e18dd94a8a1c0185ac507d90f7818 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | 3_6.sce | function p=parallel(r1,r2)
p=r1*r2/(r1+r2)
endfunction
Lbc=parallel(1/10,1/20)
Leq=1/50+Lbc
disp(Leq)
Vbc=Lbc*150
disp(Vbc) |
a155e00904880ac0622fefeeba266722efa942d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH10/EX10.5/exa_10_5.sce | d73211495c9ab3292a5ae800705a0e007a8f304a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | exa_10_5.sce | //Exa 10.5
clc;
clear;
close;
//given data
format('v',13);
P=3;// in atm
P=P*10^5;// in N/m^2
r1=10;// in mm
r1=r1*10^-3;// in m
r2=20;// in mm
r2=r2*10^-3;// in m
R=4160;// in J/kg-K
T=303;// in K
D=3*10^-8;// in m^2/s
S=3*0.05; // Solubility of hydrogen at a pressure of 3 atm in m^3/m^3 of rubber tubing
del_x=r2-r1;// in m
L=1;// in m
Am=2*%pi*L*del_x/log(r2/r1);
//Formula P*V= m*R*T
V=S;
m=P*V/(R*T);// in kg/m^3 of rubber tubing at the inner surface of the pipe
C_A1=m;
C_A2=0;
//Diffusion flux through the cylinder is given
M=D*(C_A1-C_A2)*Am/del_x;
disp(M,"Diffusion flux through the cylinder in kg/sm")
|
82b173fc7ab17c7630c26403927e4ff0fa43e718 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH8/EX8.3/8_3.sce | d18bab4ce14f1525f77051d1c6dcd76271ae70dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | 8_3.sce | clc
//initialisation of variables
m= 1 //lb
cp= 0.240 //btu/lb F
T2= 150 //F
T1= 50 //F
//CALCULATIONS
S= m*cp*(log(460+T2)-log(460+T1))
//RESULTS
printf ('Entropy change = %.4f Btu/Fabs',S)
|
7c1e67fe3597c4ff8f2835ee8cb4bcd06a322d61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH14/EX14.7/Ex14_7.sce | eebd1134ec2219fade9365aada642eaf5447ccae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex14_7.sce | //Ex14_7
clc
Af = -20//closed loop gain of op-amp
R = 10*10^3//output resistance
Rf = -Af*R//feedback resistance
disp("Af = "+string(Af))
disp("R = "+string(R)+"ohm")
disp("Rf = -Af/R = "+string(Rf)+"ohm")
|
478f89fefc4f7e61d87ad33bcaa6085611d055ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.21/ex6_21.sce | 147d75093863de54b966f190d2a9b5a851b7fa37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | ex6_21.sce | // Exa 6.21
format('v',7);clc;clear;close;
// Given data
f = 1;// in kHz
f = f * 10^3;// in Hz
omega = 2*%pi*f;// in rad/sec
Z1 = 200;// in ohm
R2 = 200;// in ohm
C2 = 5;// in µF
C2 = C2 * 10^-6;// in F
XC2= 1/(2*%pi*f*C2);
Z2= R2-%i*XC2;// in Ω
R3 = 500;// in ohm
C3 = 0.2;// in µF
C3 = C3 * 10^-6;// in F
XC3= 1/(2*%pi*f*C3);
Z3= R3-%i*XC3;// in Ω
// From balance equation, Z1*Z4= Z2*Z3
Z4= Z2*Z3/Z1;// in Ω
R4= real(Z4);// in Ω
XC4= abs(imag(Z4));// in Ω
C4= 1/(2*%pi*f*XC4);// in F
C4= C4*10^6;// in µF
disp("The components of Zx : ")
disp("Rx= "+string(R4)+" Ω")
disp("Cx= "+string(C4)+" nF")
|
88e05fd480e868e94696103892b5ce27aac3a5f6 | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /tests/test_100/test1.tst | 511372f0125f0e867d8aaa0b6c6cb3db33a500a1 | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | tst | test1.tst | 4524 9317 1708 2494 5250 2939 6918 916 5720 1012 6009 378 3031 3575 6287 9898 917 2347 2934 9247 9990 8242 7362 9685 6288 5277 3160 7906 223 5731 2810 2554 668 2101 5005 8451 7754 3746 7171 9238 1294 509 9227 8264 4788 4442 3377 9798 400 1037 2126 8280 5115 6593 4904 2194 8893 2110 1565 4752 3375 6725 5954 6937 9653 7690 2301 2486 5865 9704 5187 7465 5466 3949 1710 3972 5473 5618 1123 4057 4612 7103 8809 5996 3839 756 4748 6007 1144 9026 9538 657 7507 9751 3554 1364 108 5044 4400 6330 |
56a5ff74ca6389b809054b0075c4272bf1627cef | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH4/EX4.3/Ch04Ex03.sce | 47befb7a00a9a3cda0588ea8e85b0533bb7b6468 | [] | 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 | 679 | sce | Ch04Ex03.sce | // Scilab code Ex4.3: Pg.158 (2008)
clc; clear;
theta = 45; // Scattering angle, Degrees
delta_N = 450; // Number of alpha particles scattered per minute, particles/min
// Since delta_N = C*sin((%pi/180)*(theta/2))^(-4), then solving for C, we get
C = delta_N*(sin((%pi/180)*(theta/2)))^4; // Assumed constant
theta_new = 90; // New scattered angle, Degrees
delta_n = C*sin((%pi/180)*(theta_new/2))^(-4); // Number of alpha particles scattered per minute, particles/min
printf("\nThe number of alpha particles scattered per minute = %2d particles/min", ceil(delta_n));
// Result
// The number of alpha particles scattered per minute = 39 particles/min |
cfeaad4c735ddd7b5950e62436ffb1f23f5f502b | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH4/EX4.4/4_4.sce | 88ec9a5e6a51eb65afae020e9de4f69ab9a7e6c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | 4_4.sce | //To Find the Frequency of Oscillation
clc
//Given:
m=1,m1=2.5 //kg
s=1.8*10^3 //N/m
l=(300+300)*10^-3 //m
//Solution:
//Calculating the Mass Moment of Inertia of the System
IA=(m*l^2/3)+(m1*l^2) //kg-m^2
//Calculating the Ratio of Alpha to Theta
//delta=0.3*theta
//Restoring Force=s*delta=540*theta
//Restoring torque about A=540*theta*0.3=162*theta N-m ...(i)
//Torque about A= IA*alpha=1.02*alpha N-m ...(ii)
//Equating (i) and (ii), 1.02*alpha=162*theta
alphabytheta=162/1.02
//Calculating the Frequency of Oscillation
n=1/(2*%pi)*sqrt(alphabytheta)
//Results:
printf("\n\n The Frequency of Oscillation, n = %.2f Hz.\n\n",n) |
f8dc5aefa494b0e4d8e5aed3414077a787423c0d | 06ac82af6135b9e0c98564d99e589a9f8eaae7eb | /Scilab/OracleDH.sci | d399d31c2e61715a13db5a2cadc65e6af15ad8cb | [] | no_license | Tim3128/Projet-sur-les-reseaux-de-distribution-d-eau | e89852057e1e729a1a8e4bc2296924c55ff26ddb | 5d258f6a2756116bd87eef9b60704fd99290aac5 | refs/heads/master | 2020-05-21T04:14:25.889230 | 2017-05-17T22:43:37 | 2017-05-17T22:43:37 | 84,572,156 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sci | OracleDH.sci | function [F,G,H,ind]=OracleDH(lambda,ind)
z = Ar'*pr + Ad'*lambda;
q = (abs(z)./r).^(1/2).*sign(-z);
if ind == 2 then
F = -((1/3)*q'*(r.*q.*abs(q)) + pr'*Ar*q + lambda'*(Ad*q-fd));
G = 0;
H = 0;
end
if ind == 3 then
F = 0;
G = -(Ad*q - fd);
H = 0;
end
if ind == 4 then
F = -((1/3)*q'*(r.*q.*abs(q)) + pr'*Ar*q + lambda'*(Ad*q-fd));
G = -(Ad*q - fd);
H = 0;
end
if ind == 5 then
[n,k] = size(z);
F = 0;
G = 0;
H = Ad*diag( ones(n)./( 2*sqrt(r).*sqrt(abs(z)) ) )*Ad';
end
if ind == 6 then
F = 0;
G = -(Ad*q - fd);
H = Ad*diag( ones(n)./( 2*sqrt(r).*sqrt(abs(z)) ) )*Ad';
end
if ind == 7 then
[n,k] = size(z);
F = -((1/3)*q'*(r.*q.*abs(q)) + pr'*Ar*q + lambda'*(Ad*q-fd));
G = -(Ad*q - fd);
H = Ad*diag( ones(n)./( 2*sqrt(r).*sqrt(abs(z)) ) )*Ad';
end
endfunction
|
f390701650e4e75f4b644366400a31af6a34ea33 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.10_8.tst | 38fa2f2b550dcbfb082f66afbf2f0d512103bf08 | [] | 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 | 16,471 | tst | bow.10_8.tst | 10 32:0.3333333333333333 107:0.5 245:0.1111111111111111 358:1.0 382:1.0 1901:1.0
10 1:0.5 24:0.5 176:1.0 245:0.1111111111111111 579:1.0 715:1.0 829:1.0 1061:1.0 3988:1.0 4448:1.0 4514:0.25 4565:1.0 4753:1.0
10 34:0.1111111111111111 88:0.2 124:1.0 245:0.1111111111111111 692:0.25 4935:1.0
10 24:0.5 25:0.08333333333333333 274:2.0 4514:0.5
10 167:0.08333333333333333 245:0.1111111111111111 3791:1.0 4775:1.0
10 123:0.014925373134328358 250:1.0 1832:1.0 4775:1.0
10 34:0.1111111111111111 220:0.3333333333333333 318:1.0 1525:1.0 4465:0.2 4747:1.0 5184:1.0
10 123:0.014925373134328358 3967:1.0 4514:0.25 4753:1.0 4839:1.0
10 20:0.07692307692307693 88:0.2 315:0.3333333333333333 459:0.08333333333333333 552:0.5 3632:1.0 4608:1.0 5117:1.0 5142:1.0
10 7:0.125 15:0.5 24:0.5 25:0.25 32:0.3333333333333333 49:1.0 90:0.3333333333333333 91:0.5 123:0.014925373134328358 167:0.16666666666666666 176:1.0 186:1.0 247:1.0 259:0.5 282:0.5 492:0.07142857142857142 506:0.125 659:0.5 709:1.0 964:1.0 1014:1.0 1061:1.0 1082:1.0 1213:1.0 1398:1.0 1840:1.0 3487:1.0 3536:0.5 4455:1.0 4465:0.2 4482:0.25 4783:1.0
10 24:0.5 30:1.0 88:0.2 203:0.16666666666666666 385:1.0 472:0.5 4514:0.25 4793:1.0 4863:1.0 5014:1.0
10 20:0.07692307692307693 32:0.3333333333333333 68:0.25 92:0.5 131:1.0 161:1.0 245:0.1111111111111111 259:0.5 426:1.0 443:0.3333333333333333 1903:1.0 4465:0.2 4475:1.0 4498:0.5 4643:1.0 4827:1.0
10 31:0.14285714285714285 92:0.5 686:1.0 955:1.0 3569:1.0 4465:0.2
10 14:0.25 15:0.5 16:0.3333333333333333 20:0.15384615384615385 23:0.16666666666666666 24:0.5 49:0.5 76:1.0 103:0.5 163:0.18181818181818182 167:0.08333333333333333 234:0.2 530:0.5 674:1.0 799:1.0 1200:0.5 1408:1.0 3536:0.5 4466:0.3333333333333333 4474:0.25 4531:1.0
10 14:0.25 16:0.3333333333333333 49:0.5 76:1.0 123:0.014925373134328358 234:0.2 530:0.5 674:1.0 692:0.25 714:0.5 1903:1.0 2458:0.1111111111111111 4466:0.3333333333333333 4474:0.25 4514:0.25 4981:1.0
10 23:0.16666666666666666 25:0.08333333333333333 49:0.5 103:0.5 259:0.5 833:1.0 1061:1.0 1171:1.0 1186:1.0 1381:0.2 2325:1.0 4465:0.2 4583:1.0 4948:1.0
10 25:0.08333333333333333 31:0.14285714285714285 40:0.3333333333333333 49:0.5 70:1.0 123:0.014925373134328358 176:1.0 203:0.16666666666666666 324:1.0 700:1.0 1840:1.0 2644:1.0 3980:1.0 4948:1.0 5217:1.0 5229:1.0
10 11:0.16666666666666666 32:0.3333333333333333 34:0.1111111111111111 44:1.0 62:0.5 306:0.3333333333333333 645:1.0 709:1.0 1061:2.0 1082:1.0 2228:1.0 2880:1.0 3327:2.0 3536:0.5 4512:1.0 4513:1.0 4854:1.0 4948:1.0
10 20:0.07692307692307693 31:0.2857142857142857 49:0.5 123:0.014925373134328358 138:0.3333333333333333 167:0.08333333333333333 259:0.5 324:1.0 525:0.5 700:1.0 964:1.0 1082:1.0 1255:1.0 1381:0.2 1408:1.0 1616:1.0 2071:1.0 2644:2.0 4623:1.0 4948:1.0
10 23:0.16666666666666666 31:0.14285714285714285 32:0.3333333333333333 59:1.0 88:0.2 123:0.029850746268656716 245:0.1111111111111111 259:0.5 293:1.0 393:1.0 426:1.0 449:1.0 492:0.07142857142857142 529:1.0 530:1.0 731:0.5 901:0.3333333333333333 1145:0.5 1869:1.0 2337:1.0 3327:1.0 4460:1.0 4531:1.0 4948:1.0
10 25:0.08333333333333333 32:0.3333333333333333 49:0.5 73:1.0 107:0.5 797:1.0 1061:1.0 1090:1.0 3780:1.0 4460:1.0
10 32:0.3333333333333333 73:1.0 130:1.0 176:1.0 389:1.0 426:1.0 492:0.07142857142857142 692:0.25 709:1.0 1061:1.0 1380:1.0 1587:0.3333333333333333 1901:1.0 2719:1.0 4282:1.0 4626:1.0 4628:1.0
10 25:0.08333333333333333 73:1.0 4465:0.2 4511:1.0
10 7:0.125 20:0.07692307692307693 23:0.16666666666666666 25:0.08333333333333333 42:1.0 49:1.0 90:0.6666666666666666 398:0.09090909090909091 426:1.0 882:1.0 953:1.0 1061:1.0 1398:1.0 2458:0.1111111111111111 4465:0.2 4514:0.25 4636:1.0 4637:1.0 4838:1.0
10 25:0.08333333333333333 32:0.3333333333333333 42:1.0 49:0.5 103:0.5 163:0.09090909090909091 388:0.3333333333333333 449:1.0 492:0.07142857142857142 809:1.0 980:0.5 1903:1.0 2466:1.0 4465:0.4 4477:1.0 4954:0.5
10 20:0.07692307692307693 34:0.1111111111111111 51:1.0 55:0.5 88:0.2 90:0.3333333333333333 123:0.029850746268656716 124:1.0 330:1.0 529:2.0 531:0.3333333333333333 1371:0.14285714285714285 1525:1.0 3780:1.0 4513:1.0 4583:1.0 4621:1.0 4838:1.0
10 7:0.125 20:0.15384615384615385 24:0.5 25:0.16666666666666666 49:0.5 996:1.0 1061:1.0 3314:1.0 4482:0.25 4602:1.0
10 20:0.07692307692307693 23:0.16666666666666666 443:0.16666666666666666 1061:1.0 1408:1.0 2458:0.1111111111111111 4463:1.0 5118:1.0 5178:1.0 5264:1.0
10 25:0.08333333333333333 62:0.5 88:0.2 138:0.16666666666666666 259:0.5 1376:1.0 1381:0.2 3356:1.0 4460:1.0 4674:1.0 4967:1.0
10 20:0.07692307692307693 25:0.25 31:0.2857142857142857 32:1.0 88:0.2 92:0.5 175:1.0 245:0.1111111111111111 259:0.5 272:1.0 306:0.3333333333333333 492:0.07142857142857142 527:1.0 551:1.0 682:1.0 1061:1.0 1167:0.5 1249:1.0 1411:0.5 1867:1.0 2010:1.0 2569:1.0 4628:1.0 4752:1.0 4948:1.0
10 16:0.3333333333333333 24:0.5 31:0.14285714285714285 167:0.08333333333333333 304:1.0 430:1.0 443:0.16666666666666666 447:0.5 492:0.07142857142857142 497:1.0 645:1.0 692:0.25 709:1.0 714:0.5 1082:1.0 1381:0.4 3536:0.5 4486:1.0 4512:1.0 4513:1.0 4948:1.0
10 20:0.15384615384615385 25:0.08333333333333333 40:0.3333333333333333 49:0.5 92:0.5 107:0.5 123:0.029850746268656716 163:0.09090909090909091 224:1.0 239:0.3333333333333333 241:1.0 274:1.0 324:1.0 393:1.0 492:0.14285714285714285 497:1.0 1082:1.0 1090:1.0 1398:1.0 4460:1.0 4474:0.25 4512:1.0 4513:1.0 4875:1.0 4948:1.0 4984:1.0 5176:0.5
10 13:0.25 25:0.25 90:0.3333333333333333 133:0.1111111111111111 163:0.09090909090909091 273:1.0 330:1.0 373:0.3333333333333333 425:1.0 430:1.0 882:1.0 958:1.0 1216:0.5 1653:1.0 1903:2.0 2010:1.0 2213:0.5 4465:0.2 4493:1.0 4621:1.0 4818:1.0 5132:1.0
10 34:0.1111111111111111 49:1.0 73:1.0 76:1.0 80:1.0 90:0.3333333333333333 124:1.0 159:0.3333333333333333 923:1.0 1051:1.0 1275:0.5 1304:0.5 1381:0.2 1840:1.0 2077:1.0 2908:1.0 4465:0.2 4466:0.3333333333333333 4626:1.0
10 62:0.5 123:0.014925373134328358 195:0.5 1381:0.2 4447:0.5 4896:1.0
10 40:0.3333333333333333 167:0.08333333333333333 443:0.16666666666666666 1061:1.0 2165:1.0 4447:0.5
10 20:0.07692307692307693 25:0.16666666666666666 123:0.014925373134328358 159:0.3333333333333333 408:1.0 459:0.08333333333333333 527:1.0 1381:0.2 2458:0.1111111111111111 4010:1.0 4431:1.0 4466:0.3333333333333333 4694:1.0
10 20:0.07692307692307693 59:1.0 76:1.0 90:0.3333333333333333 91:0.5 123:0.04477611940298507 138:0.16666666666666666 171:0.25 175:1.0 220:0.3333333333333333 245:0.2222222222222222 259:0.5 388:0.3333333333333333 396:1.0 420:0.5 487:0.5 506:0.125 529:1.0 530:1.0 607:1.0 1141:1.0 1348:0.2 1381:0.6 1604:0.25 1848:1.0 2183:1.0 2370:1.0 2589:1.0 4010:1.0 4454:1.0 4621:1.0 4775:1.0
10 76:1.0 163:0.09090909090909091 1216:0.5 4465:0.2 5117:1.0
10 23:0.16666666666666666 25:0.16666666666666666 32:0.3333333333333333 163:0.09090909090909091 178:1.0 245:0.1111111111111111 298:0.5 371:1.0 963:0.25 1381:0.2 4465:0.2 4466:0.3333333333333333 4514:0.25 4606:1.0 4808:1.0 4948:1.0
10 14:0.25 25:0.16666666666666666 31:0.14285714285714285 49:0.5 128:0.5 163:0.09090909090909091 175:1.0 259:0.5 274:1.0 692:0.25 1082:1.0 1832:1.0 2187:0.5 2835:1.0 4875:1.0 4967:1.0
10 62:0.5 123:0.014925373134328358 245:0.1111111111111111 697:1.0 1381:0.2 4694:1.0
10 7:0.125 8:1.0 13:0.25 20:0.07692307692307693 25:0.08333333333333333 31:0.14285714285714285 32:0.3333333333333333 73:1.0 90:0.3333333333333333 107:0.5 138:0.16666666666666666 443:0.16666666666666666 530:0.5 1061:1.0 1702:1.0 2187:1.0 3780:1.0 4465:0.2 4474:0.25 4671:1.0 4687:1.0 4827:1.0 5031:1.0
10 20:0.15384615384615385 23:0.16666666666666666 25:0.08333333333333333 44:1.0 259:0.5 709:1.0 1398:1.0 4465:0.2 4512:1.0 4513:1.0 4700:0.3333333333333333 5027:2.0
10 7:0.125 24:1.0 25:0.16666666666666666 49:0.5 179:0.2 247:1.0 443:0.16666666666666666 447:0.5 709:1.0 1082:1.0 1304:0.5 2028:1.0 4202:1.0 4475:1.0
10 25:0.08333333333333333 107:0.5 175:1.0 243:0.16666666666666666 259:0.5 382:1.0 714:0.5 722:0.5 1082:1.0 1381:0.2 1525:1.0 1842:1.0 4513:1.0 4514:0.25 4518:1.0
10 73:1.0 123:0.014925373134328358 124:1.0 167:0.08333333333333333 245:0.1111111111111111 964:1.0 1167:0.5 3744:1.0 4646:0.5
10 25:0.08333333333333333 62:0.5 92:0.5 123:0.014925373134328358 224:1.0 709:1.0 1381:0.2 1532:1.0 1840:1.0 4466:0.3333333333333333 4947:1.0 4948:1.0
10 25:0.08333333333333333 49:0.5 73:1.0 259:0.5 373:0.3333333333333333 731:0.5 1028:1.0 1061:2.0 1371:0.14285714285714285 1374:1.0 1903:1.0 4531:1.0 4693:1.0
10 27:1.0 199:1.0 272:1.0 486:0.5 2569:1.0 4854:1.0
10 32:0.3333333333333333 124:1.0 1743:1.0 4447:0.5 4465:0.2 4809:1.0
10 23:0.16666666666666666 24:0.5 25:0.08333333333333333 49:0.5 73:1.0 88:0.2 90:0.3333333333333333 199:1.0 351:1.0 385:1.0 656:1.0 962:1.0 1501:1.0 1553:1.0 2458:0.1111111111111111 2908:1.0
10 20:0.15384615384615385 23:0.16666666666666666 25:0.16666666666666666 90:0.6666666666666666 135:1.0 138:0.16666666666666666 259:0.5 447:0.5 506:0.125 1061:1.0 1381:0.2 1586:0.5 3325:1.0 3403:0.5 4472:1.0 4473:1.0 4636:1.0 4637:1.0 5062:1.0
10 23:0.16666666666666666 90:0.3333333333333333 106:0.16666666666666666 123:0.014925373134328358 163:0.09090909090909091 167:0.08333333333333333 506:0.125 697:1.0 882:1.0 1376:1.0 2458:0.1111111111111111 2653:0.16666666666666666
10 23:0.16666666666666666 25:0.08333333333333333 32:0.3333333333333333 90:0.3333333333333333 123:0.014925373134328358 177:0.5 239:0.3333333333333333 274:1.0 492:0.07142857142857142 506:0.125 531:0.3333333333333333 697:1.0 1150:0.5 1381:0.2 1943:1.0 2427:1.0 2458:0.1111111111111111 3163:1.0 4621:1.0
10 20:0.07692307692307693 23:0.16666666666666666 25:0.08333333333333333 34:0.1111111111111111 40:0.3333333333333333 49:0.5 103:0.5 167:0.08333333333333333 175:1.0 243:0.16666666666666666 587:1.0 674:1.0 722:0.5 1381:0.2 2238:1.0 4518:1.0 4623:0.5 4684:1.0 4792:1.0 4794:1.0 4891:1.0 5132:1.0 5258:1.0
10 23:0.16666666666666666 179:0.2 2372:1.0 3378:1.0
10 76:1.0 245:0.1111111111111111 722:0.5 1381:0.2 1901:1.0 4531:1.0 4693:1.0 4754:1.0
10 20:0.07692307692307693 243:0.16666666666666666 4518:1.0
10 23:0.3333333333333333 179:0.2 186:1.0 225:1.0 1903:1.0
10 27:1.0 40:0.3333333333333333 88:0.2 297:1.0 3905:1.0 4544:1.0
10 7:0.125 20:0.15384615384615385 23:0.16666666666666666 25:0.08333333333333333 31:0.14285714285714285 49:1.0 73:1.0 88:0.2 90:0.3333333333333333 259:1.0 298:0.5 593:1.0 619:1.0 714:0.5 1061:1.0 1348:0.2 1381:0.2 1473:1.0 1532:1.0 1840:1.0 1901:1.0 2387:1.0 4435:1.0 4482:0.25 4495:1.0 4639:1.0
10 20:0.15384615384615385 25:0.08333333333333333 40:0.3333333333333333 49:0.5 59:1.0 103:0.5 167:0.08333333333333333 245:0.1111111111111111 247:1.0 259:0.5 274:1.0 372:1.0 443:0.16666666666666666 447:0.5 847:1.0 1061:1.0 1249:1.0 1371:0.14285714285714285 1867:1.0 3774:1.0 4475:1.0 4514:0.25 4652:1.0
10 13:0.25 20:0.07692307692307693 23:0.16666666666666666 25:0.08333333333333333 49:0.5 79:1.0 90:0.3333333333333333 123:0.014925373134328358 163:0.18181818181818182 245:0.1111111111111111 447:0.5 492:0.07142857142857142 506:0.125 1371:0.14285714285714285 1381:0.2 1840:1.0 2292:1.0 2458:0.1111111111111111 4461:1.0 4636:1.0 5062:1.0
10 92:0.5 103:0.5 140:1.0 163:0.09090909090909091 179:0.2 229:1.0 274:1.0 315:0.3333333333333333 506:0.125 1249:1.0 1381:0.2 2907:0.5 4838:1.0
10 20:0.15384615384615385 23:0.16666666666666666 25:0.08333333333333333 40:0.3333333333333333 48:1.0 245:0.1111111111111111 259:0.5 909:0.5 1371:0.14285714285714285 1901:1.0 3774:1.0 4543:1.0
10 15:1.0 25:0.08333333333333333 73:1.0 103:0.5 123:0.014925373134328358 234:0.2 274:1.0 388:0.3333333333333333 426:1.0 506:0.125 530:0.5 803:1.0 1381:0.2 1798:1.0 1901:1.0 3572:1.0 3905:1.0 4118:1.0 4473:1.0 4656:1.0 4682:1.0
10 5053:1.0
10 7:0.125 1255:1.0 1348:0.2 4465:0.2
10 25:0.08333333333333333 32:0.3333333333333333 42:1.0 107:0.5 123:0.014925373134328358 167:0.08333333333333333 247:1.0 332:0.5 799:1.0 1061:2.0 1082:1.0 2132:1.0 2684:1.0 3263:1.0 4475:1.0
10 16:0.3333333333333333 20:0.07692307692307693 23:0.16666666666666666 25:0.08333333333333333 31:0.14285714285714285 49:1.0 239:0.3333333333333333 259:0.5 304:1.0 552:0.5 714:0.5 1090:1.0 1371:0.14285714285714285 3774:1.0 4460:1.0 4543:1.0
10 32:0.3333333333333333 34:0.1111111111111111 90:0.3333333333333333 123:0.014925373134328358 306:0.3333333333333333 2466:1.0 3780:1.0 3905:1.0 4463:1.0 4512:1.0 5073:1.0
10 20:0.07692307692307693 25:0.16666666666666666 32:0.3333333333333333 175:1.0 282:0.5 473:1.0 492:0.07142857142857142 1061:1.0 1374:1.0 2589:1.0
10 23:0.16666666666666666 179:0.2 186:1.0 282:0.5 328:1.0 373:0.3333333333333333 506:0.125 690:1.0 700:1.0 709:1.0 1381:0.2 4834:1.0
10 38:1.0 123:0.014925373134328358 1061:1.0 1629:1.0 2458:0.1111111111111111 2714:0.5 3163:1.0 4744:0.5
10 25:0.08333333333333333 48:1.0 90:0.3333333333333333 245:0.1111111111111111 310:0.2 328:1.0 722:0.5 1167:0.5 1381:0.2 3718:1.0 4598:0.5 4985:1.0
10 49:1.0 373:0.3333333333333333 443:0.16666666666666666 1167:0.5 2405:1.0 4447:0.5
10 2141:2.0
10 123:0.014925373134328358 259:0.5 264:1.0 297:1.0 607:1.0 4136:1.0 4616:1.0 4967:1.0
10 259:1.0 1061:4.0 1371:0.14285714285714285 1374:1.0 1611:1.0 3774:1.0 4435:1.0 5247:1.0
10 31:0.14285714285714285 32:0.3333333333333333 88:0.2 90:0.3333333333333333 123:0.014925373134328358 282:0.5 459:0.08333333333333333 492:0.07142857142857142 506:0.125 709:1.0 742:1.0 1061:2.0 2056:1.0 2719:1.0 3966:1.0 4487:1.0 4488:1.0
10 123:0.04477611940298507 167:0.16666666666666666 245:0.1111111111111111 506:0.5 5001:1.0
10 20:0.15384615384615385 23:0.16666666666666666 25:0.08333333333333333 49:1.0 107:0.5 123:0.029850746268656716 259:0.5 274:1.0 282:0.5 492:0.07142857142857142 592:0.25 608:0.25 636:0.2 648:1.0 820:1.0 1408:1.0 1586:0.5 1903:1.0 3905:1.0 4482:0.25 4531:1.0
10 7:0.125 20:0.15384615384615385 25:0.16666666666666666 49:1.0 247:1.0 320:1.0 608:0.25 692:0.25 731:0.5 1061:1.0 1348:0.2 1903:1.0 2037:1.0 2458:0.1111111111111111 4475:1.0 4498:0.5 4529:1.0 4854:1.0 4985:1.0
10 25:0.08333333333333333 49:1.0 388:0.3333333333333333 447:0.5 473:1.0 1225:1.0 1401:1.0 1832:1.0 2643:1.0 4543:1.0 5019:1.0
10 15:1.0 20:0.07692307692307693 24:0.5 40:0.3333333333333333 73:1.0 123:0.014925373134328358 159:0.3333333333333333 282:0.5 420:0.5 506:0.25 909:0.5 980:0.5 1381:0.2 1606:1.0 2278:1.0 3967:2.0 4574:0.5 4621:1.0 5028:2.0
10 7:0.125 40:0.3333333333333333 163:0.09090909090909091 175:1.0 186:1.0 506:0.125
10 443:0.16666666666666666 682:1.0 709:1.0 2065:1.0 4512:1.0 4513:1.0 4738:1.0 4854:1.0
10 23:0.16666666666666666 123:0.014925373134328358 195:0.5 388:0.3333333333333333 398:0.09090909090909091 459:0.08333333333333333 1303:1.0 1381:0.2 4474:0.25 4642:1.0
10 20:0.07692307692307693 73:1.0 167:0.08333333333333333 506:0.125 1381:0.2 4552:1.0 4553:0.5
10 16:0.3333333333333333 20:0.07692307692307693 49:0.5 73:1.0 167:0.08333333333333333 245:0.1111111111111111 259:1.0 304:1.0 447:0.5 552:0.5 1061:1.0 1374:1.0 1714:1.0 2811:1.0 5177:1.0
10 20:0.07692307692307693 23:0.16666666666666666 24:0.5 25:0.08333333333333333 34:0.1111111111111111 62:0.5 68:0.25 103:0.5 123:0.014925373134328358 167:0.08333333333333333 259:0.5 315:0.6666666666666666 492:0.07142857142857142 682:1.0 1061:1.0 1371:0.14285714285714285 3296:1.0 3774:1.0 3791:1.0 4435:1.0 4616:1.0
10 7:0.125 1061:1.0 1348:0.2 2085:1.0 4447:0.5 4561:1.0 5247:1.0
10 20:0.07692307692307693 167:0.08333333333333333 245:0.1111111111111111 247:1.0 443:0.16666666666666666 1381:0.2 4475:1.0 4602:1.0 4682:1.0 5176:0.5
10 25:0.25 40:0.3333333333333333 49:0.5 90:0.6666666666666666 103:0.5 167:0.08333333333333333 247:1.0 306:0.3333333333333333 443:0.16666666666666666 447:0.5 964:1.0 1304:0.5 2037:1.0 2544:1.0 3138:1.0 4100:1.0 4104:1.0 4682:1.0 4967:1.0
10 31:0.14285714285714285 88:0.2 167:0.08333333333333333 426:1.0 709:1.0 901:0.3333333333333333 1082:1.0 1371:0.14285714285714285 1851:1.0 3487:1.0 4754:1.0
10 18:0.3333333333333333 245:0.1111111111111111 506:0.125 901:0.3333333333333333 980:0.5 1082:1.0 1381:0.2 1487:1.0 3163:1.0 4547:1.0 4621:1.0 4838:1.0 5258:1.0
10 16:0.3333333333333333 20:0.07692307692307693 24:0.5 32:0.3333333333333333 79:1.0 123:0.014925373134328358 167:0.08333333333333333 328:1.0 430:1.0 506:0.125 980:0.5 1216:0.5 1381:0.2 1586:0.5 2206:1.0 2357:1.0 3905:1.0 4498:0.5 4746:1.0
10 24:0.5 25:0.25 32:0.3333333333333333 49:0.5 79:1.0 167:0.08333333333333333 259:0.5 430:1.0 506:0.25 709:1.0 893:1.0 962:1.0 980:0.5 1216:0.5 1381:0.2 1406:1.0 1532:1.0 2206:1.0 2357:1.0 4746:1.0 5082:1.0
10 49:0.5 124:1.0 159:0.3333333333333333 199:1.0 259:0.5 388:0.3333333333333333 447:0.5 523:1.0 551:0.5 1505:1.0 3163:1.0 3179:1.0 4495:1.0 4598:0.5
|
2f8524fe3104f353926f5d12230f451bb26ec520 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH6/EX6.4/Ex6_4.sce | 1699d7fd857577ed2d6010a6cd26697da37c901e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Ex6_4.sce | //Intilization of variables
F=[0;60;0] //Force defined as a matrix
t1=[-3/7;6/7;-2/7] //Tension defined as a matrix
t2=[4/4.47;0;-2/4.47] //tension defined as a mtrix
t3=[-3/5;0;4/5] //Tension defined as a matrix
//Calculations
//Summation of forces in the y-direction
T1=F(2,1)/t1(2,1) //N
//Summation of forces in the x-direction and z direction
M1=[t2(1,1) t3(1,1);t2(3,1) t3(3,1)]
M2=-1*[t1(1,1)*T1;t1(3,1)*T1]
R=inv(M1)*M2
//Result
clc
printf('The tension in the strings are T1=%f,T2=%f and T3=%f',T1,R(1),R(2))
|
70427d7a09eaa3888ecb828fd3d91cd7c5c435b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH13/EX13.9/CH13Exa9.sce | 23f215b58733edb9fb12ef586575e64656877baa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | CH13Exa9.sce | // Scilab code Exa13.9 : : Page-602 (2011)
clc; clear;
E = 31.7; // Energy, MeV
a_a = 5/9*2^(-2/3)*E; // Asymmetric binding energy term, mega electron volts
printf("\nThe asymmetric binding energy term = %4.1f MeV", a_a);
// Result
// The asymmetric binding energy term = 11.1 MeV
|
fe3a185174304f08dc8021e2342da387d67eea86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH9/EX9.8/ch9_8.sce | 177601a251b72c60a04822306f61bef42263f255 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | ch9_8.sce | clear;
clc;
V_s=230;
V_m=sqrt(2)*V_s;
a=60;
R=20;
V_or=sqrt((V_m^2/(2*%pi))*(a*%pi/180-sind(2*a)/2)+(2*V_m^2/(%pi))*(%pi-a*%pi/180+sind(2*a)/2)); printf("rms value of o/p voltage=%.2f V",V_or);
I_T1r=(V_m/R)*sqrt(1/%pi*((%pi-a*%pi/180)+sind(2*a)/2)); printf("\nrms value of current for upper thyristors=%.3f A",I_T1r);
I_T3r=(V_m/(2*R))*sqrt(1/%pi*((a*%pi/180)-sind(2*a)/2)); printf("\nrms value of current for lower thyristors=%.3f A",I_T3r);
I1=sqrt(2)*I_T1r;
I3=sqrt((sqrt(2)*I_T1r)^2+(sqrt(2)*I_T3r)^2);
r=V_s*(I1+I3); printf("\nt/f VA rating=%.2f VA",r);
P_o=V_or^2/R;
pf=P_o/r; printf("\ni/p pf=%.4f",pf); |
2801ef2f63c7b9f524abcbcff5d7d057c77538f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH4/EX4.4/Ex4_4.sce | 403b21f3e5572b88f7cfb7197dcdaacad1f1d97e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | Ex4_4.sce | //Exa 4.4
clc;
clear;
close;
//given :
f=10 //frequency in Ghz
f=10*10^9 //frequency in hertz
c=3*10^8 //speed of light in m/s
lambda=c/f //wavelength in meter
N=50 // number of elements
d=0.5*lambda // element spacing in meter
Beta=2*(%pi)/lambda // phase shift
alpha=Beta*d // progressive phase shift in radians
l=N*d // Araay length in meter
disp(alpha,"progressive phase shift in radians:")
disp(l,"Array length in meter")
|
ace9e6de8164abc014166c3bfa621f4f497a026f | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /HUNGRY HUNGRY AIMERS.sce | fb1211169fab81ecc62562c2f1e97d3782aa1c39 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 52,132 | sce | HUNGRY HUNGRY AIMERS.sce | Name=HUNGRY HUNGRY AIMERS
PlayerCharacters=Character Profile
BotCharacters=Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot;hippo.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Character Profile
AddedBots=Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot;hippo.bot;hippo.bot;hippo.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0;0;0;0;0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2;2;2;2;2;1;1;1
MapName=hungry.map
MapScale=4.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
InvincibleBots=false
Timescale=0.85
BlockHealthbars=true
TimeRefilledByKill=0.0
ScoreToWin=100000.0
ScorePerDamage=0.0
ScorePerKill=1.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=true
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=guess
WeaponHeroTag=Pistol
DifficultyTag=2
AuthorsTag=bozott
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=false
BlockFCT=false
Description=Based off bounce 180
GameVersion=2.0.0.1
ScorePerDistance=0.0
MBSEnable=false
MBSTime1=0.25
MBSTime2=0.5
MBSTime3=0.75
MBSTime1Mult=1.0
MBSTime2Mult=2.0
MBSTime3Mult=3.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
[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
AimingStyle=Original
ScanSpeedMultiplier=1.0
MaxSeekPitch=30.0
MaxSeekYaw=30.0
AimingSpeed=5.0
MinShootDelay=0.3
MaxShootDelay=0.6
[Bot Profile]
Name=Pigeon
DodgeProfileNames=Long Strafes Jumping
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=2.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=Clay Pigeon
SeeThroughWalls=true
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=hippo
DodgeProfileNames=
DodgeProfileWeights=
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=0.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=true
CharacterProfile=Character Profile
SeeThroughWalls=true
NoDodging=true
NoAiming=false
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Character Profile]
Name=Character Profile
MaxHealth=100.0
WeaponProfileNames=pistol;pistol4botz;;;;;;
MinRespawnDelay=0.1
MaxRespawnDelay=0.1
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=8.0
MovementType=Base
MaxSpeed=1000.0
MaxCrouchSpeed=500.0
Acceleration=16000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=0.0
Gravity=20.0
AirControl=0.25
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Cylindrical
MainBBHeight=230.0
MainBBRadius=55.0
MainBBHasHead=true
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=true
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.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=;;;
HideWeapon=false
AerialFriction=20.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.1
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=500.0
TPSOffset=X=0.000 Y=125.000 Z=40.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=Clay Pigeon
MaxHealth=1.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.001
MaxRespawnDelay=0.001
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=8.0
MovementType=Base
MaxSpeed=1100.0
MaxCrouchSpeed=500.0
Acceleration=12000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=4.0
JumpVelocity=2000.0
Gravity=4.0
AirControl=0.2
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Spheroid
MainBBHeight=150.0
MainBBRadius=45.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=50.0
ProjBBRadius=25.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.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=;;;
HideWeapon=true
AerialFriction=0.05
StrafeSpeedMult=1.2
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=10.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Dodge Profile]
Name=Long Strafes Jumping
MaxTargetDistance=3000.0
MinTargetDistance=500.0
ToggleLeftRight=true
ToggleForwardBack=true
MinLRTimeChange=0.5
MaxLRTimeChange=3.0
MinFBTimeChange=0.5
MaxFBTimeChange=1.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.5
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.00001
MaxJumpTime=0.00001
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
WaypointLogic=Ignore
WaypointTurnRate=200.0
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
[Weapon Profile]
Name=pistol
Type=Hitscan
ShotsPerClick=1
DamagePerShot=50.0
KnockbackFactor=4.0
TimeBetweenShots=0.1
Pierces=false
Category=SemiAuto
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=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.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.5
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.5
ReloadTimeFromPartial=0.5
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=4.0
RecoilNegatable=false
DecalType=1
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.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
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=false
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.0
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=Gunshot
ParticleBodyImpact=Flare
ParticleProjectileTrail=None
ParticleHitscanTrace=Tracer
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
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=1.0,1.0,-1.0,5.0
SpreadSCA=1.0,1.0,-1.0,5.0
SpreadMSA=1.0,1.0,-1.0,5.0
SpreadMCA=1.0,1.0,-1.0,5.0
SpreadSSH=0.0,0.1,0.0,0.0
SpreadSCH=1.0,1.0,-1.0,5.0
SpreadMSH=0.0,0.1,0.0,0.0
SpreadMCH=1.0,1.0,-1.0,5.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=1.0
AAMaxSpeed=360.0
AADeadZone=0.0
AAFOV=360.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=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.175
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=pistol4botz
Type=Hitscan
ShotsPerClick=1
DamagePerShot=50.0
KnockbackFactor=4.0
TimeBetweenShots=0.5
Pierces=false
Category=SemiAuto
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=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.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.5
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.5
ReloadTimeFromPartial=0.5
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=4.0
RecoilNegatable=false
DecalType=1
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.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
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=false
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=Gunshot
ParticleBodyImpact=Flare
ParticleProjectileTrail=None
ParticleHitscanTrace=Tracer
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
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=1.0,1.0,-1.0,5.0
SpreadSCA=1.0,1.0,-1.0,5.0
SpreadMSA=1.0,1.0,-1.0,5.0
SpreadMCA=1.0,1.0,-1.0,5.0
SpreadSSH=0.0,0.1,0.0,0.0
SpreadSCH=1.0,1.0,-1.0,5.0
SpreadMSH=0.0,0.1,0.0,0.0
SpreadMCH=1.0,1.0,-1.0,5.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=1.0
AAMaxSpeed=360.0
AADeadZone=0.0
AAFOV=360.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=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.175
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-32.000000 112.000000 -32.000000
48.000000 112.000000 -32.000000
48.000000 112.000000 -48.000000
-32.000000 112.000000 -48.000000
-32.000000 0.000000 -32.000000
48.000000 0.000000 -32.000000
48.000000 0.000000 -48.000000
-32.000000 0.000000 -48.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
32.000000 112.000000 32.000000
48.000000 112.000000 32.000000
48.000000 112.000000 -32.000000
32.000000 112.000000 -32.000000
32.000000 0.000000 32.000000
48.000000 0.000000 32.000000
48.000000 0.000000 -32.000000
32.000000 0.000000 -32.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
-48.000000 112.000000 48.000000
48.000000 112.000000 48.000000
48.000000 112.000000 32.000000
-48.000000 112.000000 32.000000
-48.000000 0.000000 48.000000
48.000000 0.000000 48.000000
48.000000 0.000000 32.000000
-48.000000 0.000000 32.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
-48.000000 112.000000 32.000000
-32.000000 112.000000 32.000000
-32.000000 112.000000 -48.000000
-48.000000 112.000000 -48.000000
-48.000000 0.000000 32.000000
-32.000000 0.000000 32.000000
-32.000000 0.000000 -48.000000
-48.000000 0.000000 -48.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
-48.000000 112.000000 256.000000
256.000000 112.000000 256.000000
256.000000 112.000000 48.000000
-48.000000 112.000000 48.000000
-48.000000 0.000000 256.000000
256.000000 0.000000 256.000000
256.000000 0.000000 48.000000
-48.000000 0.000000 48.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
-256.000000 112.000000 256.000000
-48.000000 112.000000 256.000000
-48.000000 112.000000 -256.000000
-256.000000 112.000000 -256.000000
-256.000000 0.000000 256.000000
-48.000000 0.000000 256.000000
-48.000000 0.000000 -256.000000
-256.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
48.000000 112.000000 48.000000
256.000000 112.000000 48.000000
256.000000 112.000000 -256.000000
48.000000 112.000000 -256.000000
48.000000 0.000000 48.000000
256.000000 0.000000 48.000000
256.000000 0.000000 -256.000000
48.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
-48.000000 112.000000 -48.000000
48.000000 112.000000 -48.000000
48.000000 112.000000 -256.000000
-48.000000 112.000000 -256.000000
-48.000000 0.000000 -48.000000
48.000000 0.000000 -48.000000
48.000000 0.000000 -256.000000
-48.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
160.000000 112.000000 -256.000000
256.000000 192.000000 -160.000000
256.000000 192.000000 -256.000000
256.000000 112.000000 -160.000000
256.000000 112.000000 -256.000000
160.000000 192.000000 -256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 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 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 0 5 0x00000000
brush
vertices
-256.000000 112.000000 -160.000000
-160.000015 192.000000 -256.000000
-256.000000 192.000000 -256.000000
-160.000015 112.000000 -256.000000
-256.000000 112.000000 -256.000000
-256.000000 192.000000 -160.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 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 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 0 5 0x00000000
brush
vertices
256.000000 112.000000 160.000000
160.000031 192.000000 256.000000
256.000000 192.000000 256.000000
160.000031 112.000000 256.000000
256.000000 112.000000 256.000000
256.000000 192.000000 160.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 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 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 0 5 0x00000000
brush
vertices
-160.000000 112.000000 256.000031
-256.000000 192.000000 160.000061
-256.000000 192.000000 256.000031
-256.000000 112.000000 160.000061
-256.000000 112.000000 256.000031
-160.000000 192.000000 256.000031
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 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 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 0 5 0x00000000
brush
vertices
160.000000 144.000000 368.000000
160.000000 144.000000 255.999969
-160.000000 144.000000 256.000000
-160.000000 144.000000 368.000000
160.000000 112.000000 368.000000
160.000000 112.000000 255.999969
-160.000000 112.000000 256.000000
-160.000000 112.000000 368.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
-160.000000 144.000000 -368.000000
-160.000000 144.000000 -256.000000
160.000000 144.000000 -256.000031
160.000000 144.000000 -368.000000
-160.000000 112.000000 -368.000000
-160.000000 112.000000 -256.000000
160.000000 112.000000 -256.000031
160.000000 112.000000 -368.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
368.000000 144.000000 -160.000061
256.000000 144.000000 -160.000061
256.000000 144.000000 160.000000
368.000000 144.000000 160.000000
368.000000 112.000000 -160.000061
256.000000 112.000000 -160.000061
256.000000 112.000000 160.000000
368.000000 112.000000 160.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
-368.000000 144.000000 160.000000
-256.000000 144.000000 160.000000
-256.000000 144.000000 -160.000000
-368.000000 144.000000 -160.000000
-368.000000 112.000000 160.000000
-256.000000 112.000000 160.000000
-256.000000 112.000000 -160.000000
-368.000000 112.000000 -160.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
368.000000 112.000000 160.000000
480.000000 112.000000 160.000000
480.000000 112.000000 -160.000000
368.000000 112.000000 -160.000000
368.000000 96.000000 160.000000
480.000000 96.000000 160.000000
480.000000 96.000000 -160.000000
368.000000 96.000000 -160.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
160.000000 112.000000 -368.000000
160.000000 112.000000 -480.000000
-160.000000 112.000000 -480.000000
-160.000000 112.000000 -368.000000
160.000000 96.000000 -368.000000
160.000000 96.000000 -480.000000
-160.000000 96.000000 -480.000000
-160.000000 96.000000 -368.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
-160.000000 112.000000 368.000000
-160.000000 112.000000 480.000000
160.000000 112.000000 480.000000
160.000000 112.000000 368.000000
-160.000000 96.000000 368.000000
-160.000000 96.000000 480.000000
160.000000 96.000000 480.000000
160.000000 96.000000 368.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
-368.000000 112.000000 -160.000000
-480.000000 112.000000 -159.999939
-480.000000 112.000000 160.000000
-368.000000 112.000000 160.000000
-368.000000 96.000000 -160.000000
-480.000000 96.000000 -159.999939
-480.000000 96.000000 160.000000
-368.000000 96.000000 160.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
-496.000000 336.000000 160.000000
-480.000000 336.000000 160.000000
-480.000000 336.000000 -160.000000
-496.000000 336.000000 -160.000000
-496.000000 112.000000 160.000000
-480.000000 112.000000 160.000000
-480.000000 112.000000 -160.000000
-496.000000 112.000000 -160.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
-480.000000 336.000000 176.000000
-368.000000 336.000000 176.000000
-368.000000 336.000000 160.000000
-480.000000 336.000000 160.000000
-480.000000 96.000000 176.000000
-368.000000 96.000000 176.000000
-368.000000 96.000000 160.000000
-480.000000 96.000000 160.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
-480.000000 336.000000 -160.000000
-368.000000 336.000000 -160.000000
-368.000000 336.000000 -176.000000
-480.000000 336.000000 -176.000000
-480.000000 96.000000 -160.000000
-368.000000 96.000000 -160.000000
-368.000000 96.000000 -176.000000
-480.000000 96.000000 -176.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
368.000000 336.000000 -160.000000
480.000000 336.000000 -160.000000
480.000000 336.000000 -176.000000
368.000000 336.000000 -176.000000
368.000000 96.000000 -160.000000
480.000000 96.000000 -160.000000
480.000000 96.000000 -176.000000
368.000000 96.000000 -176.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
480.000000 336.000000 160.000000
496.000000 336.000000 160.000000
496.000000 336.000000 -160.000000
480.000000 336.000000 -160.000000
480.000000 112.000000 160.000000
496.000000 112.000000 160.000000
496.000000 112.000000 -160.000000
480.000000 112.000000 -160.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
368.000000 336.000000 176.000000
480.000000 336.000000 176.000000
480.000000 336.000000 160.000000
368.000000 336.000000 160.000000
368.000000 96.000000 176.000000
480.000000 96.000000 176.000000
480.000000 96.000000 160.000000
368.000000 96.000000 160.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
-160.000000 336.000000 -368.000000
-160.000000 336.000000 -480.000000
-176.000000 336.000000 -480.000000
-176.000000 336.000000 -368.000000
-160.000000 96.000000 -368.000000
-160.000000 96.000000 -480.000000
-176.000000 96.000000 -480.000000
-176.000000 96.000000 -368.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
160.000000 336.000000 -480.000000
160.000000 336.000000 -496.000000
-160.000000 336.000000 -496.000000
-160.000000 336.000000 -480.000000
160.000000 112.000000 -480.000000
160.000000 112.000000 -496.000000
-160.000000 112.000000 -496.000000
-160.000000 112.000000 -480.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
176.000000 336.000000 -368.000000
176.000000 336.000000 -480.000000
160.000000 336.000000 -480.000000
160.000000 336.000000 -368.000000
176.000000 96.000000 -368.000000
176.000000 96.000000 -480.000000
160.000000 96.000000 -480.000000
160.000000 96.000000 -368.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
176.000000 336.000000 480.000000
176.000000 336.000000 368.000000
160.000000 336.000000 368.000000
160.000000 336.000000 480.000000
176.000000 96.000000 480.000000
176.000000 96.000000 368.000000
160.000000 96.000000 368.000000
160.000000 96.000000 480.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
160.000000 336.000000 496.000000
160.000000 336.000000 480.000000
-160.000000 336.000000 480.000000
-160.000000 336.000000 496.000000
160.000000 112.000000 496.000000
160.000000 112.000000 480.000000
-160.000000 112.000000 480.000000
-160.000000 112.000000 496.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
-160.000000 336.000000 480.000000
-160.000000 336.000000 368.000000
-176.000000 336.000000 368.000000
-176.000000 336.000000 480.000000
-160.000000 96.000000 480.000000
-160.000000 96.000000 368.000000
-176.000000 96.000000 368.000000
-176.000000 96.000000 480.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
256.000000 448.000000 160.000000
368.000000 448.000000 160.000000
368.000000 448.000000 -160.000000
256.000000 448.000000 -160.000000
256.000000 112.000000 160.000000
368.000000 112.000000 160.000000
368.000000 112.000000 -160.000000
256.000000 112.000000 -160.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
160.000000 480.000000 -256.000000
160.000000 480.000000 -368.000000
-160.000000 480.000000 -368.000000
-160.000000 480.000000 -256.000000
160.000000 112.000000 -256.000000
160.000000 112.000000 -368.000000
-160.000000 112.000000 -368.000000
-160.000000 112.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
-368.000000 448.000000 160.000000
-256.000000 448.000000 160.000000
-256.000000 448.000000 -160.000000
-368.000000 448.000000 -160.000000
-368.000000 112.000000 160.000000
-256.000000 112.000000 160.000000
-256.000000 112.000000 -160.000000
-368.000000 112.000000 -160.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
160.000000 464.000000 368.000000
160.000000 464.000000 256.000000
-160.000000 464.000000 256.000000
-160.000000 464.000000 368.000000
160.000000 112.000000 368.000000
160.000000 112.000000 256.000000
-160.000000 112.000000 256.000000
-160.000000 112.000000 368.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
160.000000 192.000000 -256.000000
256.000000 448.000000 -160.000000
256.000000 448.000000 -256.000000
256.000000 192.000000 -160.000000
256.000000 192.000000 -256.000000
160.000000 448.000000 -256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 1 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 0 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-256.000000 192.000000 -160.000000
-160.000015 448.000000 -256.000000
-256.000000 448.000000 -256.000000
-160.000015 192.000000 -256.000000
-256.000000 192.000000 -256.000000
-256.000000 448.000000 -160.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 1 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 0 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
256.000000 192.000000 160.000000
160.000031 448.000000 256.000000
256.000000 448.000000 256.000000
160.000031 192.000000 256.000000
256.000000 192.000000 256.000000
256.000000 448.000000 160.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 1 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 0 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-160.000000 192.000000 256.000031
-256.000000 448.000000 160.000061
-256.000000 448.000000 256.000061
-256.000000 192.000000 160.000061
-256.000000 192.000000 256.000061
-160.000000 448.000000 256.000031
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 1 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 0 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-256.000000 32.000000 256.000000
256.000000 32.000000 256.000000
256.000000 32.000000 -256.000000
-256.000000 32.000000 -256.000000
-256.000000 -16.000000 256.000000
256.000000 -16.000000 256.000000
256.000000 -16.000000 -256.000000
-256.000000 -16.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
entity
type PlayerSpawn
Vector3 position 0.000000 44.000000 0.000000
Bool8 teamA 0
entity
type CameraPath
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 320.000000 256.000000 320.000000
Vector3 angles -135.000000 30.000000 0.000000
String32 name end
entity
type PlayerSpawn
Vector3 position 432.000000 112.000000 0.000000
Vector3 angles 270.000000 0.000000 0.000000
Bool8 teamB 0
entity
type PlayerSpawn
Vector3 position -0.000000 112.000000 -416.000000
Bool8 teamB 0
entity
type PlayerSpawn
Vector3 position -416.000000 112.000000 16.000000
Vector3 angles 90.000000 0.000000 0.000000
Bool8 teamB 0
entity
type PlayerSpawn
Vector3 position 0.000000 112.000000 416.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamB 0
entity
type PlayerSpawn
Vector3 position 4.000000 48.000000 -4.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -4.000000 44.000000 -8.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -8.000000 40.000000 4.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -12.000000 32.000000 12.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 4.000000 40.000000 12.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 12.000000 36.000000 12.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 12.000000 32.000000 8.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -8.000000 36.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 4.000000 44.000000 -8.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -4.000000 40.000000 -12.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -12.000000 28.000000 8.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -16.000000 40.000000 -12.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 4.000000 44.000000 -4.000002
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -8.000000 52.000000 4.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 0.000000 48.000000 8.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 8.000000 36.000000 -12.000003
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
|
4ffee23c288f44ba40f5c71107d3591cba7037cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH11/EX11.3.1/11_3_1.sce | 49d52f9907142578626be909bd1ddc16bac6b43a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | 11_3_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 11
//Example 11.3-1
//Vapour Liquid Seperation Processes
//given data
//85 deg C
Pa1=116.9;
Pb1=46;
alpha1=Pa1/Pb1;
// 105 deg C
Pa2=204.2;
Pb2=86;
alpha2=Pa2/Pb2;
mprintf("alpha at 85 deg C = %f",alpha1);
mprintf(" alpha at 105 deg C = %f",alpha2);
p=((alpha1-alpha2)/alpha2)*100;
mprintf(" percentage variation=%f",p)
|
49ad73dcb7d71dcadaa68a45eb469cc691370179 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.27/example3_27.sce | d8330ab82bdfc3c4f90b805b16dc17c6c272488d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,161 | sce | example3_27.sce | //example3.27
clc
disp("Load distribution in hours is as give in the table.")
disp("P_i=Iron loss=1.6 kW, P_cu(FL)=3.02 kW")
disp("As iron losses are constant for 24 hours, energy spent due to iron losses,")
p=1.6*24
disp(p,"P_i(in kWh)=1.6*24= ")
e=(6*160)+(4*80)+(1*0)
disp(e,"Energy Output(in kWh)= (6*160)+(4*80)+(1*0) = ")
disp("To calulate energy spent due to copper loss:")
disp("Load 1: 160 kW, cos(phi)=0.8")
k=160/0.8
disp(k,"Therefore, kVA=kW/cos(phi)=160/0.8=")
e=3.02*6
disp(e,"Therefore, E1(in kWh)=P_cu(FL)*hours=3.02*6= ")
disp("Load 2: 80kW, cos(phi)=1")
k=80/1
disp(k,"Therefore, kVA=kW/cos(phi)=80/1=")
n=80/200
disp(n,"Therefore, n=Fraction of load=(load kVA)/(kVA rating)=80/200=")
p=(0.4^2)*3.02
format(7)
disp(p,"Therefore, P_cu(in kW)=(n^2)*P_cu(FL)=(0.4^2)*3.02=")
e=0.4832*4
disp(e,"Therefore, E2(in kWh)=P_cu*hours=0.4832*4=")
t=38.4+18.12+1.9328
format(8)
disp(t,"Total energy spent(in kWh)=P_i+E1+E2=38.4+18.12+1.9328= ")
n=(1280*100)/(1280+58.4528)
disp(n,"Therefore, All day eta=(total energy output in 24 hours*100)/(total energy output for 24 hours+total energy spent)=(1280*100)/(1280+58.4528)=")
|
cafaaf1fb1dc031809c98a0144373727631c5145 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH17/EX17.11/17_11.sce | a5c728aac757a6cf9c2dd0785c39592043daee41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | 17_11.sce | ////Variable Declaration
LMg = 0.0106 //Ionic conductance for Mg, S.m2/mol
LCl = 0.0076 //Ionic conductance for Cl, S.m2/mol
[nMg,nCl] = (1,2)
//Calculations
LMgCl2 = nMg*LMg + nCl*LCl
//Results
printf("\n Molar conductivity of MgCl2 on infinite dilution is %5.4f S.m2/mol",LMgCl2)
|
4c57f645742f66c83c173381537f02ff01cc84a4 | c5a5b51d0d9d4bb57cc4508c2ffc453ccf47aeba | /iqimbal2coef/iqimbal2coef.sci | 01eae45758c80f24124e1b04d2f300dc34f2d54d | [] | no_license | PolaPriyanka/ScilabCommunication | 2adca45f772b2ca6a602e10e4801576eeb0da33d | 5b5c704e591f20be6944800a1b4b25cf06f56592 | refs/heads/master | 2021-01-01T18:22:48.761766 | 2015-12-16T07:26:29 | 2015-12-16T07:26:29 | 42,721,104 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,623 | sci | iqimbal2coef.sci | function Comp_Coef = iqimbal2coef(Amp_Imb_dB, Ph_Imb_Deg)
// IQIMBAL2COEF returns the I/Q imbalance compensator coefficient for given amplitude and phase imbalance.
// COMP_COEF = IQIMBAL2COEF(AMP_IMB_DB, PH_IMB_DEG) returns the I/Q imbalance
// compensator coefficient for given amplitude and phase imbalance.
// Comp_Coef is a scalar or a vector of complex numbers.
// AMP_IMB_DB and PH_IMB_DEG are the amplitude imbalance in dB
// and the phase imbalance in degrees and should be of same size.
// Reference: http://in.mathworks.com/help/comm/ref/iqimbal2coef.html
// Written by POLA LAKSHMI PRIYANKA, FOSSEE, IIT BOMBAY //
//Input argument check
[out_a,inp_a]=argn(0);
if (inp_a > 2) | (out_a > 1) then
error('comm:iqimbal2coef: Invalid number of arguments')
end
if ( or(Comp_Coef==%nan) | or(Comp_Coef==%inf))
error('comm:iqimbal2coef: Input arguments should be finte')
end
if ( size(Amp_Imb_dB) ~= size(Ph_Imb_Deg) ) then\
error('comm:iqimbal2coef: Input arguments should be of same size')
end
Comp_Coef = complex(zeros(size(Amp_Imb_dB)));
for i = 1:length(Amp_Imb_dB)
Igain = 10^(0.5*Amp_Imb_dB(i)/20);
Qgain = 10^(-0.5*Amp_Imb_dB(i)/20);
angle_i = -0.5*Ph_Imb_Deg(i)*%pi/180;
angle_q = %pi/2 + 0.5*Ph_Imb_Deg(i)*%pi/180;
K = [Igain*cos(angle_i) Qgain*cos(angle_q); ...
Igain*sin(angle_i) Qgain*sin(angle_q)];
R = inv(K);
w1r = (R(1,1)+R(2,2))/2;
w1i = (R(2,1)-R(1,2))/2;
w2r = (R(1,1)-R(2,2))/2;
w2i = (R(2,1)+R(1,2))/2;
w1 = w1r + complex(0,1) * w1i;
w2 = w2r + complex(0,1) * w2i;
Comp_Coef(i) = w2/w1;
end
|
e2bc207279df770bcf2ce6443f2032e8e6d1329f | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH2/EX2.1.9/Exp.sce | 86473466c1dbe16484223ae0a48e6789664548b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | Exp.sce | //Graphical//
//Implementation of Equation 2.1.9 in Chapter 2
//Digital Signal Processing by Proakis, Third Edition, PHI
//Page 46
clear;
clc;
close;
a =1.5;
n =1:10;
x = (a)^n;
a=gca();
a.thickness = 2;
plot2d3('gnn',n,x)
xtitle('Graphical Representation of Exponential Signal','n','x[n]');
|
18e18537c928bd37a9b63bcdc82bcc93f05076b5 | 3f5040355af2e6769099ed204385fd22c9e10cc2 | /classifieur_barycentre.sce | 774b320bf15ae93b541e248e5d730b257b74ef83 | [] | no_license | pinos19/Reconnaissance_objets | 78e586e55383eefabc379d7ded5114367c67880c | f697ad28852b56299f616cb5c0b72ab1479c7d01 | refs/heads/main | 2023-08-29T11:26:50.842616 | 2021-11-06T16:59:20 | 2021-11-06T16:59:20 | 425,299,101 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | classifieur_barycentre.sce |
function [classe]=classifieur_barycentre(attributs_normalises,img_gris,moyenne,ecart_type,num_classe)
C=zeros(1,4);
[aire,perimetre,longueur,largeur]=AttributsForme(img_gris);
res=[aire,perimetre,longueur,largeur];
for i=1:4
res(i)=(res(i)-moyenne(i))./ecart_type(i);
end
l=1;
for i=1:4
attributs_barycentre(i,:)=[sum(attributs_normalises((l:l+4),1))/5,sum(attributs_normalises((l:l+4),2))/5,sum(attributs_normalises((l:l+4),3))/5,sum(attributs_normalises((l:l+4),4))/5];
l=l+5;
end
for app = 1:4
distance(app)=sum(abs(attributs_barycentre(app,:)-res(1,:)));
end
[dist_mini,ind] = min(distance);
classe=ind;
endfunction
|
6d493937486b3a2e28b9d693fb0add3d8840d7e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH4/EX4.15.17/ex_4_15_17.sce | b2771bb75eb8d504c9f3ed500cdf83beb02f1785 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | ex_4_15_17.sce | //Chapter-4,Example4_15_17,pg 4-35
S=29 //salinity
t=2 //time
l=0.01 //wavelength
T=30 //temperature
v=1510+1.14*S+4.21*T-0.037*T^2 //velocity of ultrasound in sea
d=v*t/2 //depth of sea bed
printf("1)depth of sea bed =")
disp(d)
printf("meter")
f=v/l //frequency
printf("2) frequency =")
disp(f)
printf("Hz")
|
96f7abffa5398c20d7abee12f1ae99c0631a84eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.57/Ex1_57.sce | 411b6cf32797cb5ef75495aae99fed71225814f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Ex1_57.sce | //water//
//page 1.85 example 1//
clc
volume_hardwater=1//in litres//
CaCl2=4.5//Hardness of water(gms/lit)//
moles_NaCl=2;//Na3Ze giving NaCl and CaZe//
mol_wt_NaCl=58.5;
mol_wt_Na3Ze=111;
NaCl=CaCl2*moles_NaCl*mol_wt_NaCl/mol_wt_Na3Ze;
printf("\Quantity of NaCl produced is %.2f gm",NaCl); |
e78f4e815184ea69aa3d2d678509b78975f9febc | 899cecef18712265c22e100bf72286df1ec5fb65 | /Asgn3/mel_energy.sci | 179acced51a9cff06ff5ddec5538426238f6d3fe | [] | no_license | ajaykumarkannan/Speech-Signal-Processing-and-Coding | 449679bef8bdf0215e96521163774f88d8a6b41e | c1d371b2866239a89312a0f64db3d61cc0b1011c | refs/heads/master | 2020-05-17T17:02:33.143586 | 2012-11-15T12:48:40 | 2012-11-15T12:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,423 | sci | mel_energy.sci | function [Emel] = mel_energy(Y_in, fhz, FreqBands, pl)
exec('hz2mel.sci');
exec('mel2hz.sci');
exec('trianglefilter.sci');
n = length(FreqBands) - 2;
fmel = linspace(FreqBands(1), FreqBands(length(FreqBands)),2000);
Emel = zeros(n, 1);
for i = 1:n
[a start] = min(abs(fhz - mel2hz(FreqBands(i)) * ones(1, length(fhz))));
[a mid] = min(abs(fhz - mel2hz(FreqBands(i+1)) * ones(1, length(fhz))));
[a last] = min(abs(fhz - mel2hz(FreqBands(i+2)) * ones(1, length(fhz))));
fil = trianglefilter(start, mid, last, length(Y_in));
[a start] = min(abs(fmel - (FreqBands(i)) * ones(1, length(fmel))));
[a mid] = min(abs(fmel - (FreqBands(i+1)) * ones(1, length(fmel))));
[a last] = min(abs(fmel - (FreqBands(i+2)) * ones(1, length(fmel))));
fil2 = trianglefilter(start, mid, last, length(fmel));
if(pl == 1) then
subplot(2,1,1);
plot(fhz, fil);
xlabel('Frequency in Hz');
title('Non-Uniform Filter Bank on Physical Frequency Scale');
a = gca();
a.tight_limits = "on";
subplot(2,1,2);
plot(fmel,fil2);
xlabel('Mel Frequency');
title('Uniform Filter Bank on Mel Frequency Scale');
a = gca();
a.tight_limits = "on";
end
Emel(i) = sum((Y_in.*fil').^2);
end
endfunction |
52ffece09e13d5f53c612e83a75e0d682aad26de | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/2_1.sci | 37e2f27b00e76f621c3f44114a5185b8289c8a08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_1.sci | P0 = 10; //atm
yA0 = 0.5;
T0 = 422.2;//K
R = 0.082;// dm^3.atm/mol.K
v0 = 6;//dm^3/s |
3b34c2cb5d2419a72a48fbae7705eebbc4713eef | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_I._A._Khan_1962.zip/Fluid_Mechanics_I._A._Khan_1962/CH2/EX2.13/example2_13.sce | fb452dea0ec24fbde8ada8d13449c4c3450147a2 | [] | 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 | 359 | sce | example2_13.sce | errcatch(-1,"stop");mode(2);//example 2.13
//page 84
; funcprot(0);
//initialisation of variable
GammaB=9810*0.9;//unit weight barrage
Gamma=9.81*1.09*1000;//unit weight of liquid
Area=15*4;
Volume=3*Area;
AW=150*1000;//additional weight
W=GammaB*Volume;
TW=AW+W;//total weight
depth=TW/Gamma/Area;
disp(depth,"depth submerged (m)=");
exit();
|
f9cfcbe134ebc19e7feb9725d57958d958c5b6c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH4/EX4.8/Ch04Ex8.sce | a157dfcad79e34f02267c887db2b1141f8b3e7bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,133 | sce | Ch04Ex8.sce | // Scilab Code Ex4.8: Page-121 (2006)
clc; clear;
h = 6.626e-034; // Planck's constant, Js
h_cross = h/(2*%pi); // Reduced Planck's constant, Js
m = 9.1e-031; // Mass of an electron, kg
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
V = 1e-06; // Volume of cubical box, metre cube
E_F = 7.13*e; // Fermi energy for Mg, J
D_EF = V/(2*%pi^2)*(2*m/h_cross^2)^(3/2)*E_F^(1/2); // Density of states at Fermi energy for Cs, states/eV
E_Mg = 1/D_EF; // The energy separation between adjacent energy levels of Mg, J
printf("\nThe energy separation between adjacent energy levels of Mg = %5.3e eV", E_Mg/e);
E_F = 1.58*e; // Fermi energy for Cs, J
D_EF = V/(2*%pi^2)*(2*m/h_cross^2)^(3/2)*E_F^(1/2); // Density of states at Fermi energy for Mg, states/eV
E_Mg = 1/D_EF; // The energy separation between adjacent energy levels of Cs, J
printf("\nThe energy separation between adjacent energy levels of Cs = %5.3e eV", E_Mg/e);
// Result
// The energy separation between adjacent energy levels of Mg = 5.517e-023 eV
// The energy separation between adjacent energy levels of Cs = 1.172e-022 eV
|
2dd66e93089b0a5f177be2fa1a84af72a273c39f | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH5/EX5.2/example2.sce | 9c63836f9ac9c2953005343c0ca82fa42712623f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | example2.sce | // to check if zener diode shown in the figure is operating in the breakdown region
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 5-2, page 149
clear;clc; close;
// Given data
Rl=1*10^3;// in ohms
Rs=270;// in ohms
Vs=18;// in volts
Vz=10;// zener voltage in volts
// Calculations
Vth=(Rl/(Rs+Rl))*Vs;// Thevenin voltage facing the diode
disp("Volts",Vth,"Thevenin voltage=")
disp("Vth>Vz")
// Result
// Since thevenin voltage is greater than zener voltage,zener diode is operating in the breakdown region |
bdaf2bdd478398cc4284039a340e03f3795a871e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH3/EX3.8/ex3_8.sce | 97c4fd17951c50d371a116dffc8d23bcdbbba165 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | ex3_8.sce | //determine dc current through load and rectification efficiency and peak inverse voltage
clear;
clc;
//soltion
//given
TR=31/2;//Turn ratio of the transformer
rf=20;//Ω//Dynamic forward resistance
Rl=1000;//Ω//Load resistance
Vt=0.66;//V//Threshold voltage of diode
V=220;//V//input voltage of transformer
Vp=sqrt(2)*220//V//peak value of primary voltage
Vm=(1/TR)*Vp;
Im=(Vm-Vt)/(rf+Rl);
Idc=Im/%pi;
n=40.6/(1+rf/Rl);
printf("The dc current through load is %d mA\n",Idc*1000);
printf("The rectification efficiency is %.1f percent\n",n);
printf("Peak inverse voltage =Vm = %.2f V\n",Vm)
|
2b9871587bcecc2c38e64b29ca8c0f7dde4abedc | 8ec32fef269217bba00d07764a356c37f359dbfc | /macros/convertABCToXY.sci | 541200b3e81327a7c30477d025e3ce14d1380afc | [] | no_license | manasdas17/ternary_plots | 17b754f8b75565d40edc51a1b8b0507a7d1b53c3 | 5f605ec202612e7bc80037dcad9cc44794054f3b | refs/heads/master | 2021-01-15T09:56:41.775143 | 2009-05-13T21:56:21 | 2009-05-13T21:56:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sci | convertABCToXY.sci | function [x,y]=convertABCToXY(A,B,C);
// x=B + 0.5*C;
x=0.5 + -0.5*A + 0.5*B;
y=0.5*sqrt(3)*(1.0-A-B);
endfunction
|
57a71bfbab36660725c51fdef0e946fa86e63636 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH4/EX4.1/4s1.sce | 01926a165b93ecff95e7805252c4d28e80ff3b8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | 4s1.sce | //List of words in a linked list.
clear;
clc;
printf("\n Exapmle 4.1\n");
x=list('sci','lab','text','companionship','project');
disp("x=");
disp(x);
|
54948da209e16a0570ab4add8fedd9cf58f8e001 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH9/EX9.14/9_14.sce | 793b54420f692961e09c1174e1418f8e3c925e68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | 9_14.sce | m=6
gammaa=%pi/m
Kb=sin(m*gammaa/2)/m/sin(gammaa/2)
m=4
Kb=sin(m*gammaa/2)/m/sin(gammaa/2)
|
06337e991a4f3e6d39194c5eed36813d7ef85172 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH6/EX6.12/Example6_12.sce | 794101d679c3a3fc398b3ddf4a92d1482e53f23a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Example6_12.sce | //Example 6.12
clear;
clc;
C=10*10^(-9);
H0bpdB=0;
f0=10*10^3;
Q=10;
H0bp=10^(H0bpdB/20);
R1=Q/(2*%pi*f0*C*H0bp);
R2=(R1/((2*(Q^2))/(H0bp)))-1;
R3=(2*Q)/(2*%pi*f0*C);
BW=f0/Q;
BWer=0.01;//BW deviation from its design value is 1%
GBPmin=(2*Q*f0)/BWer;
printf("Components for the mentioned circuit :");
printf("\nR1=%.2f kohms",R1*10^(-3));
printf("\nR2=%.2f ohms",R2);
printf("\nR3=%.2f kohms",R3*10^(-3));
printf("\nGBP>=%.2f MHz",GBPmin*10^(-6)); |
ad3681898fdc0031f9cf6ba977a1e8f173e07926 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH8/EX8.3/8_3.sce | 2a2c0f6399fb050625a258ca9733f9ef130a1346 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | 8_3.sce | clear; clc; close;
Vp = -4;
gmo = 4*10^(-3);
vgs1 = -4;
gm1 = gmo*(1-(vgs1/Vp));
vgs2 = -2.5;
gm2 = gmo*(1-(vgs2/Vp));
vgs3 = -1.5;
gm3 = gmo*(1-(vgs3/Vp));
vgs4 = -1.5;
gm4 = gmo*(1-(vgs4/Vp));
vgs5 = 0;
gm5 = gmo*(1-(vgs5/Vp));
x = [vgs1 vgs2 vgs3 vgs4 vgs5];
y = [gm1 gm2 gm3 gm4 gm5];
plot2d(x,y);
a = gca();
a.thickness = 2;
a.y_location = 'right';
a.x_label.text = 'Vgs';
a.y_label.text = 'gm(S)';
a.title.text = 'gm vs Vgs';
|
54211ad77fa4066a2701a74e2362c4a6a2a45bc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH14/EX14.7/ch14_7.sce | ffb8c5cdb0ed9cb8f41b56c028b32f0d37481625 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | ch14_7.sce | clc
disp("Example 14.7")
printf("\n")
//From figure 14.9
disp("V1=50*I1 (1)");
disp("I2=300*I1 (2)");
//The equations which contain h parameters are
//V1=h11*I1+h12*V2
//I2=h21*I1+h22*V2
//On comparing (1) and (2) with above equations
printf("\nh11=%d\n",50);
printf("h12=%d\n",0);
printf("h21=%d\n",300);
printf("h22=%d\n",0);
|
c63e1072a91028e4715674f8373ec6bf0885dde7 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/design/Testdes2phase.tst | 3b105ae5e89fccb5bbb381271413b9746973e081 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 1,026 | tst | Testdes2phase.tst | $thermo = VirtualMaterials.NRTL/Ideal/HC
/ -> $thermo
$thermo + HYDROGEN METHANE PROPANE WATER
units SI
V101 = Flash.SimpleFlash()
V101.LiquidPhases = 1
sep101.In.T = 45
sep101.In.P = 165 psia
sep101.In.MassFlow = 852143
sep101.In.Fraction = 2 2 2 1
sep101.Vap
sep101.Liq0
sep101.Vertical = DesignSep2Phase.Vertical()
sep101.Horizontal = DesignSep2Phase.Horizontal()
# can try: Vertical or Horizontal
sep101.Vertical.Input.HoldupTime = 1500
sep101.Vertical.Input.SurgeTime = 300
sep101.Vertical.Input.Mist = 1 # boolean 1 or 0
sep101.Vertical.Input.Liq-LiqSepType = 'HC-Water' # 'HC-Caustic', 'Others'
sep101.Horizontal.Input.HoldupTime = 1400
sep101.Horizontal.Input.SurgeTime = 500
sep101.Horizontal.Input.Mist = 0 # boolean 1 or 0
sep101.Horizontal.Input.Liq-LiqSepType = 'HC-Caustic' # 'HC-Caustic', 'Others'
sep101.TryToSolveDesign = 1 # boolean 1 or 0
# common results
sep101.Vertical.Input
sep101.Vertical.Output
sep101.Horizontal.Input
sep101.Horizontal.Output
|
30c473195409344c3981f8ff1dfe2afb101f7ee5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH5/EX5.1/5_1.sce | 2d071b6dee4d8e0d4f4e6fa15bde25fe86224630 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | 5_1.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 5.1
//calculation of force exerted by the string on a particle
//given data
m=.5//mass(in kg) of the particle
g=9.8//gravitational acceleration(in m/s^2) of the earth
//calculation
T=m*g//tension in the string is equal to the downward force exerted by earth
printf('the force exterted by the string on particle in vertically upward direction is %3.2f N',T);
|
f7fbb10e15bb21577be723bf51f4de4a5abf3f21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH3/EX3.2/Ex3_2.sce | dbc76bcc724e6e742b443a435b12cb7b5c4c1c08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Ex3_2.sce | // Example 3_2
clc;funcprot(0);
// Given data
d=110/10^3;// The diameter of the cylinder in m
V_1=100;// The volume of the water in cm^3
m=50;// kg
g=9.81;// The acceleration due to gravity in m/s^2
P_atm=1*10^5;// Pa
// Calculation
A=(%pi*d^2)/4;// m^2
P=((m*g)/A)+P_atm;// Pa
V_1=V_1*10^-6;// m^3
v_1=0.001017;// m^3/kg
m=V_1/v_1;// kg
v_2=1.444;// m^3/kg
V_2=m*v_2;// m^3
W=P*(V_2-V_1);// The work done in J
printf("\nThe work done,W=%5.0f J or %2.1f kJ",W,W/10^3);
|
52c2bb16877f0044bd461afe4b80b4b9d10e4908 | 449d555969bfd7befe906877abab098c6e63a0e8 | /116/CH8/EX8.1/exa8_1.sce | a672daf52b77b0bf1b2d4db7888fa31d016673e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | exa8_1.sce |
//Caption:Program to determine the loss limit and the multimode dispersion limit of a graded index FOC
//Example 8.1
//Page 388
//Refer to figure 8.2 on page 385
Pin=42//input power = 42dB
A=3//attenuation
LL=(Pin/A)//Loss Limit
disp('Using 2 Gbps-km as typical BDP of graded index multimode fiber, the multimode dispersion distance is determined as')
Dl=(2000/90)//Dispersion limit
//Result
//Loss Limit = 14 km
//Dispersion Limit = 22.2 km
|
9cebbbbd502499fd3a9cc09da58306a2b72a0c10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH3/EX3.2/Ex3_2.sce | 7500232e3335f6a887f26c6d83e61c7f7a157670 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,697 | sce | Ex3_2.sce | clc
// Given that
A = 150*6 // Cross-section of strips in mm^2
w = 150 // Width of the strip in mm
ti = 6 // Thickness in mm
pA = 0.20 // Reduction in area
d = 400 // Diameter of steel rolls in mm
Ys = 0.35// Shear Yield stress of the material before rolling in KN/mm^2
Ys_ = 0.4// Shear Yield stress of the material after rolling in KN/mm^2
mu = 0.1 // Cofficient of friction
v = 30 // Speed of rolling in m/min
// Sample Problem 2 on page no. 113
printf("\n # PROBLEM 3.2 # \n")
tf =0.8*ti
Ys_a = (Ys + Ys_)/2
r=d/2
thetaI = sqrt((ti-tf)/r)
lambdaI=2*sqrt(r/tf)*atan(thetaI *sqrt(r/tf))
lambdaN = (1/2)*((1/mu)*(log(tf/ti)) + lambdaI)
thetaN =(sqrt(tf/r))*(tan((lambdaN/2)*(sqrt(tf/r))))
Dtheta_a = thetaN/4
Dtheta_b = (thetaI- thetaN)/8
printf("The values of P_after are\n")
i = 0
for i = 0:4
theta = i*Dtheta_a
y = (1/2)* (tf+r*theta^2)
lambda = 2*sqrt(r/tf)*atand(theta*(%pi/180) *sqrt(r/tf))
p_a = 2*Ys_a*(2*y/tf)*(exp(mu*lambda))
printf("%f \n",p_a)
end
I1 = (Dtheta_a/3) *(0.75+.925+4*(.788+.876)+2*.830)// By Simpson's rule
printf("The values of P_before are\n")
for i = 0:8
theta1 = i*Dtheta_b + thetaN
y = (1/2)* (tf+r*theta1^2)
lambda = 2*sqrt(r/tf)*atand(theta1*(%pi/180) *sqrt(r/tf))
p_b = 2*Ys_a*(2*y/ti)*(exp(mu*(lambdaI-lambda)))
printf(" %f \n",p_b)
end
I2 = (Dtheta_b/3)*(0.925+.75+4*(.887+.828+.786+.759) + 2*(.855+.804+.772))//By Simpson's rule
F = r*(I1 + I2)
F_ = F*w
T = (r^2)*mu*(I2-I1)
T_ =T*w
W = v*(1000/60)/r
P = 2*T_*W
printf("\n The roll separating force = %d kN,\n The power required in the rolling process = %f kW",ceil(F_),P/1000)
// Answer in the book for the power required in the rolling process is given as 75.6 kW
|
644c437745987298ed618029d7a4463232b8311e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH1/EX1.9/Ex1_9.txt | 8594073d3a4f84d6b388a1c4c9883268eb0fe71d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | txt | Ex1_9.txt | //Ex:1.9
clc;
clear;
close;
Irms=25;// current in Amp
f=0.150;// frequency in MHz
y=2000;
Erms=1.5*10^-3;// strength of electric field in V/m
r=25*1000;// distance in m
le=(Erms*y*r)/(60*%pi*Irms);// effective height of antenna in m
printf("The effective height of antenna = %f m", le); |
163c11e0c0b74dfb259686f72bed9ad1719cc411 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH6/EX6.17/Ex6_17.sce | 0a3f795a6b7d31bff9364c239c60f1bc2c5dfcf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 949 | sce | Ex6_17.sce | clear all; clc;
disp("Scilab Code Ex 6.17 : ")
//Given:
b = 60/1000; //m
h = 30/1000; //m
M = 40; //Nm
c1= h/2;
rib_t = 5/1000; //m
rib_w = 10/1000;//m
//Without Ribs:
I1 = (1/12)*(b*h^3);
sigma_max1 = (M*c1)/(I1*10^6);
//With Ribs:
y1 = c1;
y2 = h+(rib_t/2);
A1 = h*b;
A2 = rib_t*rib_w;
y_bar = ((y1*A1)+2*(y2*A2))/(A1 + 2*A2);
c2 = h+rib_t - y_bar;
I2 = I1 + (b*h*(y_bar - y1)^2);
I3 = (1/12)*rib_w*rib_t^3 + (rib_w*rib_t*(y2 - y_bar)^2);
I = I2 + 2*I3;
sigma_max2 = (M*c2)/(I*10^6);
if(sigma_max2>sigma_max1)
printf("\n\nThe maximum normal stress in the member without ribs = %1.2f MPa',sigma_max1);
printf("\nThe maximum normal stress in the member with ribs = %1.2f MPa',sigma_max2);
printf("\nThe ribs should be omitted.");
end
//-----------------------------------------------------------------END--------------------------------------------------------------------------
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.