blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 4
214
| content_id
stringlengths 40
40
| detected_licenses
sequencelengths 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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
389d44cf5c20629004237f912f86fa4f1124884d | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH4/EX4.4/Solved_Ex_4_4.sce | 15c699417d4c0cfc9bb4b9b6ac19c275cb3160e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,469 | sce | Solved_Ex_4_4.sce | //Solved_Ex.4.4->Determine the Trigonometric form of Fourier Series of the Full Wave Rectified sine wave
clc;
clear;
T=8;//Defining Time Period
A=2;//Defining Amplitude
t=0:0.01:15;
w0=2*%pi/T;
function x=f(t),x=A.*abs(sin(t.*w0)) ,endfunction //given full wave rectified continuous signal
plot(t,f);
xlabel("time");
ylabel("x(t)");
//Check if Even Signal,if yes,then bn=0
if(f(t)==f(-1*t))
disp('even');
disp('bn=0');
function x=f(t),x=A.*abs(sin(t.*w0)) ,endfunction //given signal
//Evaluation of a0 & an
//Evaluation of a0:
a0=4*intg(0,T/2,f)/T; //definite integral of 'f' from 0 to T/2
disp(a0,'a0');
//Evaluation of an:
disp('due to convergence,for all odd values of n,a=0');
disp('for even values of n,an values are=>');
y0=a0/2+zeros(1,length(t));
for n=2:2:8 //changing the end value of n,we can get more numbers of an
function xn=f1(t),xn=A.*abs(sin(t.*w0)).*cos(n.*w0.*t) ,endfunction
an=4*intg(0,T/2,f1)/T;
disp(n,'a');
disp(an);
y0=y0+an.*cos(n*w0.*t);
xset('window',1);
subplot(2,2,n/2);
plot(t,y0);
xlabel("time");
ylabel("x(t)*cos(n*w0*t) for n=");
end
xset('window',2);
plot(t,y0);
xset('window',2);
plot(t,y0);
else if(f(t)==(-1*f(-1*t)))
disp('odd signal=>a0=an=0');
function x=f(t),x=A.*abs(sin(t.*w0)) ,endfunction //redefining signal
//Evaluation of bn=>
y0=zeros(1,length(t));
for n=1:1:8 //changing the end value of n,we can get more numbers of bn
function xn=f1(t),xn=A.*abs(sin(t.*w0)).*sin(n.*w0.*t) ,endfunction
bn=4*intg(0,T/2,f1)/T;
disp(n,'b');
disp(bn);
y0=y0+bn.*sin(w0.*n.*t);
xset('window',1);
subplot(2,4,n);
plot(t,y0);
xlabel("time");
ylabel("x(t)*sin(n*w0*t) for n=");
end
else
disp('unknown');
function xn=f1(t),xn=A.*abs(sin(t.*w0)).*sin(n.*w0.*t) ,endfunction
//Evaluation of a0,an & bn
//Evaluation of a0:
a0=4*intg(0,T/2,f)/T; //definite integral of 'f' from 0 to T/2
disp(a0,'a0');
//Evaluation of an:
y0=a0/2+zeros(1,length(t));
for n=1:1:8 //changing the end value of n,we can get more numbers of an
function xn=f1(t),xn=A.*abs(sin(t.*w0)).*cos(n.*w0.*t) ,endfunction
an=4*intg(0,T/2,f1)/T;
disp(n,'a');
disp(an);
y0=y0+an.*cos(n*w0.*t);
xset('window',1);
subplot(2,2,n/2);
plot(t,y0);
xlabel("time");
ylabel("x(t)*cos(n*w0*t) for n=");
end
//Evaluation of bn=>
y0=zeros(1,length(t));
for n=1:1:8 //changing the end value of n,we can get more numbers of bn
function xn=f1(t),xn=A.*abs(sin(t.*w0)).*sin(n.*w0.*t) ,endfunction
bn=4*intg(0,T/2,f1)/T;
disp(n,'b');
disp(bn);
y0=y0+bn.*sin(w0.*n.*t);
xset('window',1);
subplot(2,4,n);
plot(t,y0);
xlabel("time");
ylabel("x(t)*sin(n*w0*t) for n=");
end
end
end
xset('window',2);
plot(t,y0);//x(t) signal till 8 harmonics |
ddacb30a5d1e8e956717f36e2c299185865cdc32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH2/EX2.37/Ex2_37.txt | cbba82762d643c8b08585c3fe892442b4ea7466b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | txt | Ex2_37.txt | //Caption:Determine the (a)speed (b)Torque (c)Efficiency
//Exa:2.37
clc;
clear;
close;
V=240;//in volts
P=4;
Phy=0.008;//in webers
Z=1000;
A=2;
R_f=240;//in ohms
R_a=0.4;//in ohms
I_1=25;//in amperes
I_f=V/R_f;//in amperes
I_a1=I_1-I_f;//in amperes
E_b=V-I_a1*R_a;//in volts
N=E_b*60*A/(P*Z*Phy);
disp(N,'(a)speed (in rpm) =');
P_m=E_b*I_a1;
T_g=(9.55*P_m)/N;
disp(T_g,'(b)Torque (in N-m)=');
P_f=P_m-800;
P_i=V*I_1;
Eff=P_f*100/P_i;
disp(Eff,'(c)Efficiency (in %)=') |
29938dbeb5a3bfd56e7d8072a15b0f6f59f9fe85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH10/EX10.2/Ch010Ex2.sce | e7fd16140e92f5edfab631011c75bb4fb5f4ff1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | Ch010Ex2.sce | // Scilab code Ex10.2: Pg:411 (2008)
clc;clear;
N = 2.7e+025; // Number of molecules per unit volume
epsilon_r = 1.0024; // Dielectric constant due to electronic polarization
epsilon_0 = 8.85e-012; // Permittivity of free space, force per meter
// P = epsilon_0*(epsilon_r-1)*E and P = N*alpha_e*E, solving for alpha_e
alpha_e = epsilon_0*(epsilon_r-1)/N; // Electronic polarizability of an argon atom, farad Sq.m
printf("\nThe electronic polarizability of an argon atom = %3.1e farad Sq.m", alpha_e);
// Result
// The electronic polarizability of an argon atom = 7.9e-040 farad Sq.m |
811dbc8f1cc798ffc854d5cc6ee5acaa8c0949a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH7/EX7.12/ex7_12.sce | c1a4f7e120ca83464747dc299f390c6220de7a0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sce | ex7_12.sce | // Exa 7.12
clc;
clear;
close;
format('v',6)
// Given data
I_DSS = 12;// in mA
V_P = 5;// in V
R_D = 3.3;// in k ohm
R_G = 1.5*10^3;// in k ohm
R_S = 1.2;// in k ohm
V_DD= 18;// in V
I_D= poly(0,'I_D');
V_GS= I_D*R_S;// in V
I_D= I_D-I_DSS*(1-V_GS/V_P)^2;
I_D= roots(I_D);
I_D= I_D(2);// in mA
V_GS= I_D*R_S;// in V
V_DS= V_DD-I_D*(R_S+R_D);// in V
disp(I_D,"The value of I_D in mA is : ")
disp(V_GS,"The value of V_GS in volts is : ");
disp(V_DS,"The value of V_DS in volts is : ")
|
a50a41052c1aa12b694da426e56ddd9b6b8a6a1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.31/Ex3_31.sce | 17a74a7ce15913c779fde6603e0011a583da9b0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex3_31.sce | //Example 3_31
clc;
clear;
close;
format('v',5);
//given data :
I2=10;//A
f=50;//Hz
R1=5;//ohm
L1=0.0191;//H
R2=7;//ohm
C2=398;//micro F
R3=8;//ohm
L3=0.0318;//H
Z1=R1+%i*2*%pi*f*L1;//ohm
Z2=R2-%i/2/%pi/f/(C2*10^-6);//ohm
Z3=R3+%i*2*%pi*f*L3;//ohm
VAC=I2*Z2;//V
I1=VAC/Z1;//A
I=I1+I2;//A
VCB=I*Z3;//V
VAB=VAC+VCB;//V
VABmag=abs(VAB);//A
VABang=atand(imag(VAB)/real(VAB));//degree
disp(VABang,VABmag,"Voltage AB, magnitude(V) & Angle(degree) are");
//Answer is not accurate in the book.
|
018d6f20ef3cb7ca5142b3c9e0e9bb87e8c6ca7e | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 3/Listing3123.sce | 35ac4116808c2b3b86854f74c1516fdafd487811 | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sce | Listing3123.sce | clc
clear
m=evstr(x_dialog('Enter a 3x3 matrix',['[0 0 0';'0 0 0';'0 0 0]']))
|
674ab89c794cfcdcc2cc5dae6975137be2dc3c9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH4/EX4.16/Example4_16.sce | 0f15c09a1b46c4f582bb9112c166804943d033cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Example4_16.sce | //Example 4.16.
clc
format(6)
disp("For a Hartley oscillator the frequency is given by,")
disp(" f = 1 / 2*pi*sqrt(L_eq*C) where L_eq = L1+L2")
leq=20+5 // in mH
disp(leq,"Therefore, L__eq(in mH) = 20+5 =")
f=(1/(2*%pi*sqrt(25*500*10^-15)))*10^-3 // in kHz
disp(f,"Therefore, f(in kHz) =")
|
34f10c8abd5dc983dbbabc3e296e4c5b047b3030 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.7_8.tst | ae550efe394d14e95bc19b5a96763f9a8dabeb34 | [] | 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 | 5,401 | tst | bow.7_8.tst | 7 1:0.14285714285714285 13:1.0 14:1.0 15:1.0 21:0.25 22:0.16666666666666666 27:0.03278688524590164 45:0.375 49:0.06666666666666667 66:0.25 70:0.6666666666666666 71:1.0 84:1.0 86:0.3333333333333333 89:0.3333333333333333 91:0.16666666666666666 94:0.5 97:0.2 107:0.25 113:0.4 136:2.0 144:1.0 155:0.125 157:1.0 195:1.0 224:1.0 229:1.0 274:1.0 311:2.0 357:1.0 392:2.0 396:2.0 448:1.0 491:1.0 525:1.0 874:2.0 1052:1.0 1390:1.0
7 2:0.25 21:0.5 27:0.03278688524590164 28:2.0 47:1.0 66:0.25 67:1.0 104:0.5 212:2.0 229:1.0 396:1.0 416:1.0 419:0.5 509:1.0 833:1.0 898:1.0 1237:1.0 1764:1.0
7 7:0.3333333333333333 21:0.375 91:0.3333333333333333 104:0.5 115:1.0 132:0.3333333333333333 209:1.0 264:1.0 268:3.0 438:1.0 509:1.0 664:1.0 685:1.0 788:1.0
7 1:0.14285714285714285 4:0.14285714285714285 11:1.0 13:1.0 27:0.01639344262295082 66:0.25 104:0.5 107:0.25 143:1.0 248:1.0 294:1.0 448:1.0 1077:1.0
7 17:1.0 21:0.5 22:0.08333333333333333 45:0.125 66:0.5 89:0.3333333333333333 94:0.5 135:0.5 169:1.0 212:1.0 279:0.5 285:1.0 288:1.0 381:0.25 424:1.0 1372:1.0
7 21:0.125 28:1.0 40:0.1111111111111111 97:0.2 369:1.0 381:0.25 845:1.0
7 21:0.25 22:0.08333333333333333 27:0.01639344262295082 47:1.0 97:0.2 107:0.25 143:1.0 165:0.125 676:1.0 833:2.0 868:1.0 1114:1.0
7 21:0.25 22:0.16666666666666666 27:0.01639344262295082 47:1.0 97:0.2 143:1.0 314:1.0 868:1.0 1114:1.0
7 4:0.2857142857142857 7:0.3333333333333333 21:0.375 22:0.08333333333333333 27:0.03278688524590164 28:1.0 45:0.125 47:1.0 77:0.5 93:0.3333333333333333 104:1.0 130:1.0 169:1.0 224:1.0 298:0.5 328:1.0 392:1.0 424:2.0 547:1.0 566:1.0 587:0.5 622:1.0 675:1.0 833:1.0 1000:1.0 1039:1.0 1157:1.0 1442:1.0 1459:1.0
7 14:1.0 21:0.25 22:0.08333333333333333 28:2.0 40:0.2222222222222222 66:0.75 84:1.0 89:0.3333333333333333 91:0.16666666666666666 96:1.0 97:0.2 113:0.2 660:1.0 740:0.3333333333333333 1338:1.0
7 28:1.0 456:1.0
7 7:0.3333333333333333 87:3.0
7 22:0.25 28:1.0 45:0.125 66:0.25 77:0.5 179:1.0 495:1.0
7 11:1.0 17:1.0 157:0.5 233:0.2 251:0.3333333333333333 258:1.0 390:1.0 833:1.0
7 22:0.08333333333333333 45:0.125 46:1.0 251:0.3333333333333333
7 21:0.125 22:0.08333333333333333 40:0.1111111111111111 70:0.3333333333333333 87:1.0 89:0.3333333333333333 93:0.6666666666666666 136:2.0 431:1.0
7 7:0.6666666666666666 13:1.0 21:0.25 22:0.08333333333333333 27:0.04918032786885246 28:1.0 46:1.0 58:1.0 66:0.25 91:0.5 104:0.5 113:0.2 143:2.0 229:1.0 233:0.2 452:1.0 509:1.0 527:1.0 890:1.0 894:1.0 1166:1.0 1272:1.0 1455:0.3333333333333333
7 4:0.14285714285714285 14:1.0 27:0.01639344262295082 47:1.0 49:0.06666666666666667 104:0.5 351:1.0 587:0.5
7 17:1.0 22:0.08333333333333333 27:0.01639344262295082 104:0.5 124:1.0 224:1.0 508:1.0 587:0.5 975:1.0
7 4:0.14285714285714285 53:0.2 132:0.3333333333333333 547:1.0
7 7:0.3333333333333333 27:0.01639344262295082 31:1.0 40:0.1111111111111111 45:0.125 66:0.25 838:1.0
7 15:1.0 22:0.08333333333333333 30:1.0 40:0.1111111111111111 93:0.3333333333333333 97:0.2 214:0.5 509:1.0
7 2:0.25 7:0.3333333333333333 15:1.0 21:0.25 22:0.08333333333333333 45:0.25 47:1.0 66:0.25 81:1.0 96:2.0 165:0.125 244:1.0 256:1.0 281:0.5 298:0.5 660:1.0 879:1.0 1170:1.0 1410:1.0 1441:1.0 1551:1.0
7 1:0.14285714285714285 2:0.25 4:0.2857142857142857 13:1.0 17:1.0 21:0.125 22:0.16666666666666666 23:1.0 27:0.04918032786885246 40:0.1111111111111111 45:0.5 55:1.0 66:1.25 71:1.0 80:1.0 91:0.16666666666666666 97:0.4 98:1.0 104:0.5 136:1.0 149:0.5 157:0.5 165:0.125 424:1.0 431:1.0 599:1.0 622:1.0 873:1.0 1040:1.0 1164:1.0 1347:1.0 1410:1.0 1694:1.0
7 19:1.0 21:0.25 22:0.16666666666666666 27:0.03278688524590164 28:1.0 36:1.0 40:0.1111111111111111 45:0.125 47:1.0 229:1.0 376:1.0 529:1.0 932:1.0 1496:1.0 1694:1.0
7 21:0.125 22:0.08333333333333333 27:0.01639344262295082 66:0.25 86:0.3333333333333333 104:1.0 130:1.0 205:1.0 281:0.5 403:1.0 425:1.0 1183:1.0
7 22:0.08333333333333333 66:0.25
7 4:0.14285714285714285 7:0.6666666666666666 13:1.0 22:0.08333333333333333 28:1.0 40:0.3333333333333333 54:0.3333333333333333 104:1.0 107:0.25 113:0.2 157:0.5 285:1.0 315:1.0
7 22:0.08333333333333333 27:0.03278688524590164 104:0.5 143:1.0 279:0.5 474:1.0 587:0.5 1479:1.0
7 2:0.25 6:1.0 7:0.6666666666666666 13:1.0 18:0.5 22:0.25 27:0.01639344262295082 37:1.0 53:0.2 54:0.3333333333333333 58:1.0 66:0.25 72:1.0 96:2.0 104:3.5 106:1.0 107:0.25 143:3.0 157:0.5 209:1.0 229:1.0 301:1.0 303:1.0 304:1.0 321:1.0 337:1.0 396:1.0 419:0.5 424:1.0 485:1.0 490:1.0 506:1.0 526:0.5 673:1.0 711:1.0 1153:0.5
7 1:0.14285714285714285 2:0.5 4:0.14285714285714285 15:1.0 22:0.25 58:1.0 95:1.0 96:2.0 104:1.5 130:1.0 136:1.0 149:0.5 165:0.125 172:0.6666666666666666 229:1.0 376:1.0 431:1.0 547:1.0 947:2.0 1133:1.0 1519:1.0
7 7:0.3333333333333333 22:0.16666666666666666 39:1.0 47:1.0 157:0.5 214:0.5 417:1.0 457:1.0 466:1.0 1066:1.0 1114:1.0 1202:1.0
7 419:0.5
7 66:0.25 425:1.0 1384:1.0
7 15:1.0 155:0.125 219:1.0 438:1.0 1551:1.0
7 4:0.14285714285714285 21:0.125 53:0.4 104:0.5
7 22:0.08333333333333333 219:1.0 233:0.2 520:1.0 854:1.0
7 7:0.6666666666666666 22:0.08333333333333333 66:0.25 104:0.5 143:1.0 229:1.0 446:1.0 874:1.0 1791:1.0
7 21:0.125 22:0.08333333333333333 58:1.0 72:1.0 93:0.3333333333333333 269:2.0 566:1.0 1114:1.0
7 4:0.14285714285714285 7:0.6666666666666666 11:2.0 21:0.25 22:0.4166666666666667 27:0.01639344262295082 28:1.0 31:1.0 32:1.0 39:1.0 45:0.125 46:1.0 47:1.0 53:0.2 58:1.0 59:1.0 72:1.0 96:2.0 104:0.5 133:0.5 277:1.0 298:0.5 1007:1.0
|
212ceaba08c6bbcb8dc19c39b5b1bc7f9494efc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH27/EX27.2/Ex27_2.sce | 1fa39220f7f68edf86499008134c10b780b9c506 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | sce | Ex27_2.sce | //chapter27
//example27.2
//page575
R1=4 // ohm
R2=4 // ohm
R3=4 // ohm
// for h11 and h21, imagine that output terminals are shorted hence it is clear that input impedence is equal to R1+R2*R3/(R2+R3)
// this is h11 by definition so
h11=R1+R2*R3/(R2+R3)
// now current will divide equally at junction of 4 ohm resistors so output_current/input_current = -0.5
// but this ratio is h21 by definition. Thus
h21=-0.5
// for h12 and h22 imagine a voltage source on output terminals
// this voltage will be divided by a factor 2
// hence input_voltage/output_voltage = 0.5
// but this ratio is h12 by definition. Thus
h12=0.5
// here output impedence looking into output terminals with input terminals open is 8 ohm.
// its reciprocal is h22 by definition. Thus
h22=1/8
printf("h11 = %.3f ohm \n",h11)
printf("h21 = %.3f \n",h21)
printf("h12 = %.3f \n",h12)
printf("h22 = %.3f ohm \n",h22)
|
12dddb5b61a5b5d1073d9ceecf05b165a82abfdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH9/EX9.14/9_14.sce | 168caa83d708ca8f12972d0d9b2f3c81ca2713ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | 9_14.sce | clc;
clear;
format('e',11);
d=0.01/0.0254; //in inches.
r=d/2;
l=1; //in inches.
N=20;
L=(r^2)*(N^2)/(9*r+10*l); //Wheeler's formula.
disp(L,"The inductance of the coil by Wheelers formula,L(in micro H)=");
|
eabda767b409978689fa58a2f5d79ff36d83a786 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH4/EX4.5/Ex4_5.sce | c7b61d9e1e51ecbc1ddb4c4f41dc3e0c808963fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | Ex4_5.sce | // Scilab Code Ex4.5: Page-236 (2008)
clc; clear;
c = 3e+008; // Speed of light in vacuum, m/s
t0 = 2.5e-008; // Proper life time of pi-meson, s
t = 2.5e-007; // MEan life time of pi-meson, s
// As t = t0/(sqrt(1-v^2/c^2)), solving for v
v = sqrt(1-(t0/t)^2)*c; // Velocity of pi meson, m/s
printf("\nThe velocity of pi meson = %5.3f c = %4.2e m/s", v/c, v);
// Result
// The velocity of pi meson = 0.995 c = 2.98e+008 m/s |
66143ddfa6598b86d9b34e41059434afda4258ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH2/EX2.4/Ex2_4.sce | 6070b5e768b777f74aecac387f9e6114cba2fdd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | Ex2_4.sce | // Chapter 2 Example 4
//==============================================================================
clc;
clear;
//input data
h = 6.625*10^-34; // plank's constant
c = 3*10^8; // vel. of light in m/s
lamda = 4961*10^-10; // wavelength of light in m
//Calculations
E = (h*c)/lamda; // energy in joules
N = 1/E
//Output
mprintf('Number of photons required to do one Joule of work = %3.4e /m^3',N);
//==============================================================================
|
f4cc29b4c44b161d0e648584f6618deef370fbf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH1/EX1.11/Ex1_11.sce | 5c540427517ccd2d472c9d57d80fcf6bcea415d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,299 | sce | Ex1_11.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 1 : REVIEW OF ELECRTIC CIRCUITS
// Example : 1.11
clc;clear; // clears the console and command history
// Given data
Z = 3+%i*4 // impedance in Ω
V_AN = 150 // voltage in V
R = 3 // resistance in Ω from Z
// caclulations
V_AN = (150*exp(%i*(0)*(%pi/180))) //source voltage in V
V_BN = (150*exp(%i*(-120)*(%pi/180))) // source voltage in V
V_CN = (150*exp(%i*(120)*(%pi/180))) // source voltage in V
I_Aa = V_AN/Z // line current in A
I_Bb = V_BN/Z // line current in A
I_Cc = V_CN/Z // line current in A
pf = R/abs(Z) // power factor
I = V_AN/abs(Z) // current in A
P = V_AN*I*pf // power supplied in W
P_t = 3*P // total power supplied in W
// display the result
disp("Example 1.11 solution");
printf(" \n Line currents are \n I_Aa = %.2f<%.2f A \n", abs(I_Aa),atand(imag(I_Aa),real(I_Aa)) );
printf(" I_Bb = %.2f<% 2f A \n", abs(I_Bb),atand(imag(I_Bb),real(I_Bb)) );
printf(" I_Cc = %.2f<% 2f A \n\n", abs(I_Cc),atand(imag(I_Cc),real(I_Cc)) );
printf(" Power factor \n pf = %.1f \n", pf);
printf(" \n Power supplied to each phase is \n P = %.2f W \n", P);
printf(" \n Total power supplied \n P_t = %.2f W \n", P_t);
|
a1afc0d23d104d116baaad808b031fb428055197 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH9/EX9.9/Ex9_9.sce | 7473a4ff5c19cf1252406c3e85d1b2285e68165a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Ex9_9.sce | // Example 9.9
clear all;
clc;
// Given data
fluence = 10^8; // Given fluence neutrons/cm^2
// From Figure 9.12
// To receive an dose equivalent rate of 1 mrem/hr, the fast neutron flux is 7 neutrons/cm^2-sec
phi_eq = 7; // Equivalent flux in neutrons/cm^2-sec
D_eq = 1; // Equivalent dose rate in mrem/hr
// 1 hour = 3600 seconds
fluence_eq = phi_eq*3600; // Equivalent fluence in neutrons/cm^2
// Calculation
D = (fluence*D_eq)/fluence_eq;
// Result
printf(" \n Dose received due to exposure of accelerator source = %d mrem \n",D);
// The answer given in textbook is approximated to a nearest value.
|
35caf827a939736e7e5efa506186cab4cb7ddaa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH11/EX2.14/Ex_B_2_14.sce | 04126f3e14726ea0df9f91ca5e2d004d2130bc21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | Ex_B_2_14.sce | //Part B Ex 2.14
clc;clear;close;
format('v',9);
dec=34.6875;//given decimal value
i=floor(dec);//integer part
f=dec-i;//fraction part
i_bin=dec2bin(i);//binary equivalent of integer part
f_bin=' ';//for initializing(string)
for n=1:4
t=2*f;
if t>=1 then
p(n)=1;
f=t-1;
end
if t<1 then
p(n)=0;
f=t;
end
f_bin=f_bin+string(p(n));//binary equivalent of fraction part
end;
bin=i_bin+'.'+f_bin;//Binary equivalent of complete no.
disp(bin,"Binary equivalent of complete no. is ");
|
621197c44b6854446bbb271ac319ce1e208538e3 | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/emplu.tst | b1e7144b3fd987f2f01a89f7a767072fa35e01e8 | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | tst | emplu.tst | @@emplu.pkg
CREATE OR REPLACE PROCEDURE test_emplu (
counter IN INTEGER, empno_in IN emp.empno%TYPE := 7788)
IS
emprec employee%ROWTYPE;
BEGIN
sf_timer.set_factor (counter);
sf_timer.start_timer;
FOR i IN 1 .. counter
LOOP
emprec := emplu1.onerow (empno_in);
END LOOP;
sf_timer.show_elapsed_time ('database table');
sf_timer.set_factor (counter);
sf_timer.start_timer;
FOR i IN 1 .. counter
LOOP
emprec := emplu2.onerow (empno_in);
END LOOP;
sf_timer.show_elapsed_time ('index-by table');
END;
/
/*======================================================================
| Supplement to the third edition of Oracle PL/SQL Programming by Steven
| Feuerstein with Bill Pribyl, Copyright (c) 1997-2002 O'Reilly &
| Associates, Inc. To submit corrections or find more code samples visit
| http://www.oreilly.com/catalog/oraclep3/
*/
|
0def7c2c5d45de64181a29edd21929ac0375d864 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH1/EX1.2/Ex1_2.sce | 753003b4c207e46604e9feedf540d20b6cbdb8cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 967 | sce | Ex1_2.sce | //Example 1_2
clc();
clear;
// To add the given vector displacements
a=1 //units in meters
b=3 //units in meters
c=5 //units in meters
d=6 //units in meters
theta1=90 //units in degrees
Rx_a=a*sin(theta1*%pi/180) //units in meters
Rx_b=round(b*cos(theta1*%pi/180)) //units in meters
theta2=37 //units in degrees
Rx_c=-round(c*cos(theta2*%pi/180)) //units in meters
theta3=53 //units in degrees
Rx_d=-d*cos(theta3*%pi/180)
Ry_a=round(a*cos(theta1*%pi/180)) //units in meters
Ry_b=round(c*sin(theta2*%pi/180)) //units in meters
Ry_c=round(c*sin(theta2*%pi/180)) //units in meters
Ry_d=-(d*sin(theta3*%pi/180)) //units in meters
Rx=Rx_a+Rx_b+Rx_c+Rx_d //units in meters
Ry=Ry_a+Ry_b+Ry_c+Ry_d //units in meters
R=sqrt(Rx^2+Ry^2) //units in meters
phi=round(atan(Ry/-(Rx))*180/%pi) //units in degrees
phi=180-phi //units in degrees
printf("The Resultant R=%.2f Meters\n",R)
printf("The Angle theta=%d degrees",phi)
|
278c865ec1de39517d5554319b92b8a49f4ab375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH4/EX4.3/Exa_4_3.sce | e3e3ccc8f50d0e2fed222c993d2cc60fa50447d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | Exa_4_3.sce | //Example No. 4.3
clc;
clear;
close;
format('v',6);
//Given Data :
P=30;//KW
theta1=54-30;//degree C
t1=1;//hour
theta2=67-30;//degree C
t2=2;//hour(t2=2*t1)
disp("theta=theta_f*(1-exp(-t/T))");
//Let exp(-t1/T)=a then exp(-t2/T)=a^2
//theta1/theta2=(1-a)/(1-a^2)
//a^2*theta1-a*theta2+theta2-theta1=0
P=[theta1 -theta2 theta2-theta1];//Polynomial for a
a=roots(P);
a=a(2);//discarding value 1 as it cant give value of T
T=-t1/log(a);//hour
theta_f=theta1/(1-exp(-t1/T));//degreeC
theta_steady=theta_f+30;//degreeC
disp(theta_steady,"Final steady state temperature in degree C : ");
disp(T,"Heating time constant in hour : ");
theta2=theta_f;//degree C
t=2.7;//hour
theta=40-30;//degree C
Tdash=-t/log(theta/theta2);//hour
disp(Tdash,"Cooling time constant in hour : ");
|
e8722fde0ff00d0662a3533fa310a46b5823e708 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH8/EX8.1/Ex8_1.sce | 6a9c1454b362c584e1f0c0c17fdc6d5108de1bf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_1.sce |
//
//given
h1=0.90,h2=1.25,h3=2.15,h4=2.50,h5=1.85,h6=1.35,h7=0.85,
b=10//width in m
sh=1.5//side slope in m
h=40//m
d1=(b+(sh*h1))*h1
d2=(b+(sh*h2))*h2
d3=(b+(sh*h3))*h3
d4=(b+(sh*h4))*h4
d5=(b+(sh*h5))*h5
d6=(b+(sh*h6))*h6
d7=(b+(sh*h7))*h7
printf("\n d1= %0.3f sq. meter,d2 = %0.3f sq. meter,d3= %0.3f sq. meter,d4= %0.3f sq. meter,d5= %0.3f sq. meter,d6= %0.3f sq. meter,d7= %0.3f sq.meter",d1,d2,d3,d4,d5,d6,d7)
printf("\n by trapezoidal rule')
v=(h/2)*(d1+d7+2*(d2+d3+d4+d5+d6))
printf("\n V= %0.3f meter cube',v)
printf("\n by prismoidal rule')
v1=(h/3)*(d1+d7+4*(d2+d4+d6)+2*(d3+d5))
printf("\n V= %0.3f meter cube',v1)
|
8d55aac4a0ba74614d80089d8a6cd11f633de715 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.14/Ex7_14.sce | 8b5a630a0b7440f8e7dbd37f71ccfebae8178ea9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex7_14.sce | // Exa7.14
clc;
clear;
close;
// given :
phi=5 // HPBW,half power beam width in Degrees
phi_not=2*phi // BWFN, null-to-null beam width in degrees
Lm=poly(0,'Lm') // defining Lm as lambda
// formula : phi=70*(Lm/D_a) // where Lm is wavelength in m and D_a is mouth diameter in m
D_a=(70*Lm)/phi
G_p=6.4*(D_a/Lm)^2
G_p=horner(G_p,1)
G_p=10*log10(G_p) // power gain in dB
disp(phi_not,"BWFN, null-to-null beam width in degrees:")
disp(G_p,"power gain in dB:")
|
e2773489a53850ada126332965cd91c7d6da16a0 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/gl_stat_theo.sci | f740560cfe6205c89cbf984a111a944acd3dc927 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,779 | sci | gl_stat_theo.sci | function [MTh,VTh,MSTh,VSTh] = gl_stat(N,maxp,Nu_I,Nu_O,st_j,Nu_Ma,rt_a,a,c,b,bu)
// Ouput variables initialisation (not found in input variables)
MTh=[];
VTh=[];
MSTh=[];
VSTh=[];
// Display mode
mode(-1);
// Display warning for floating point exception
//ieee(1);
//M and V for each phy_age
MTh = zeros(maxp,6,N);
VTh = zeros(maxp,6,N);
//M and V for total
MSTh = zeros(maxp,N);
VSTh = zeros(maxp,N);
Nu_A = matrix(Nu_O(4,:,:),maxp,6);
// computing the mean and variance
u = sum(Nu_I,2);
I = ones(N,1);
//survival probablity c--number of macrostate in chr_age i x~ truncated geometrical distribution
Mx = zeros(maxp,N);
Vx = zeros(maxp,N);
for p = 1:maxp
for i = 1:N
n = min(i,Nu_Ma(p));
if c(p)<1 then
Mx(p,i) = c(p)*(1-c(p)^n)/(1-c(p));
Vx(p,i) = c(p)*(1-(2*n+1)*(1-c(p))*c(p)^n-c(p)^(2*n+1))/(1-c(p))^2;
else
Mx(p,i) = n;
Vx(p,i) = 0;
end;
end;
end;
//covariance between macrostate because of c
MC = zeros(maxp,N,N);
VC = zeros(maxp,N,N);
for p = 1:maxp
for i = 1:N
for j = i:N
if i==j then //mean and variance for existence of a single macrostate
MC(p,i,i) = c(p)^i;
VC(p,i,i) = c(p)^i*(1-c(p)^i);
else //covariance matrix between the macrostates
VC(p,i,j) = c(p)^j*(1-c(p)^i);
VC(p,j,i) = VC(p,i,j);
end;
end;
end;
end;
//growth probability of each macrosate --number of macrostate during one cycle y~ 0/1 distribution
My = zeros(maxp,1);
Vy = zeros(maxp,1);
for p = 1:maxp
My(p)=b(p);
Vy(p)=b(p)*(1-b(p));
end;
//growth probability of each microsate in a macrostate-- number of microstate in a macrostate z~ bion(Nu_I(p,k),bu(p)) distribution
Mz = zeros(maxp,6);
Vz = zeros(maxp,6);
Mu = zeros(maxp,1);
Vu = zeros(maxp,1);//sum of Mz
for p = 1:maxp
Mz(p,:) = Nu_I(p,:)*bu(p);
Vz(p,:) = Nu_I(p,:)*bu(p)*(1-bu(p));
Mu(p)=sum(Nu_I(p,:))*bu(p);
Vu(p)=sum(Nu_I(p,:))*bu(p)*(1-bu(p));
end;
//branching probability of each buds in a microstate -- number of substructures in a microstate w ~ bino(Nu_A(p,k),a(k)) distribution
Mw = zeros(maxp,6);
Vw = zeros(maxp,6);
for p = 1:maxp
for k = p:maxp
Mw(p,k) = Nu_A(p,k)*a(k);
Vw(p,k) = Nu_A(p,k)*a(k)*(1-a(k));
end;
end;
//compound law of y (b) and z (bu)--if a macostate live, number of microstate inside it: yz
Myz = zeros(maxp,6);
Vyz = zeros(maxp,6);
Myu = zeros(maxp,1);
Vyu = zeros(maxp,1);
for p = 1:maxp
for k = p:6
Myz(p,k) = My(p)*Mz(p,k);
Vyz(p,k) = My(p)*Vz(p,k)+Vy(p)*(Mz(p,k)^2);
end;
Myu(p)=My(p)*Mu(p);
Vyu(p)=My(p)*Vu(p)+Vy(p)*Mu(p)^2;
end;
//compound law of y (b) and z (bu) and a--if a macostate live, number of substructures inside it: yzw
//mean and var of number of substructure with phy_age j in macrostate p with chr age k
Myzw = zeros(maxp,6);
Vyzw = zeros(maxp,6);
for p = 1:maxp
for k = p:6
Myzw(p,k) = Myz(p,k)*Mw(p,k);
Vyzw(p,k) = Myz(p,k)*Vw(p,k)+Vyz(p,k)*(Mw(p,k)^2);
end;
end;
for p = maxp:-1:1
//mean and var of number of microstates(from substructure) in a macrostates
for i = 1:N //chr_age of substructure p
MA = zeros(maxp,6,N);
VA = zeros(maxp,6,N);
//number of microstates in axis (p,i), compound of c and b, bu
MTh(p,p,i) = Mx(p,i)*Myu(p);
VTh(p,p,i) = Mx(p,i)*Vyu(p)+Vx(p,i)*(Myu(p)^2);
for k = max(1,i-mtlb_double(Nu_Ma(p,1))+1):i //lateral structure, k is chr_age of macrostate
x = i-k+1; //time order when G.U. appear
for j = p+1:maxp
jd = (k-1)*rt_a(j,1); //the ch_age of substructure
flag = 1; //(Flag_pruning(b)~=1) | (jd<=T_Pr(b)+Pruning_delay(b)) ;%not prunned
if jd>0 & flag then
for m = j:maxp
MA(p,m,x) = MA(p,m,x)+Myzw(p,j)*MTh(j,m,jd);
VA(p,m,x) = VA(p,m,x)+Myzw(p,j)*VTh(j,m,jd)+Vyzw(p,j)*(MTh(j,m,jd)^2);
end;
end;
end;
end;
for m = p+1:maxp
M1 = matrix(MA(p,m,:),1,N); //vector of mean of microstate m top down
V1 = matrix(VA(p,m,:),1,N); //vector of var of microstate m top down
MTh(p,m,i) = (M1*matrix(MC(p,:,:),N,N))*I;
VTh(p,m,i) = V1*matrix(MC(p,:,:),N,N)*I+M1*matrix(VC(p,:,:),N,N)*M1';
end;
//terminal structure
j = st_j(p);
if i>Nu_Ma(p) & j>=p & j<=maxp then
jd = i-Nu_Ma(p);
for m = j:maxp
MTh(p,m,i) = MTh(p,m,i)+MTh(j,m,jd);
VTh(p,m,i) = VTh(p,m,i)+VTh(j,m,jd);
end;
end;
end; //i
end;//p
//total number
for p = maxp:-1:1
//mean and var of number of microstates(from substructure) in a macrostates
for i = 1:N //chr_age of substructure p
MA1 = zeros(maxp,N);
VA1 = zeros(maxp,N);
MA2 = zeros(maxp,N);
VA2 = zeros(maxp,N);
MA = zeros(maxp,N);
VA = zeros(maxp,N);
for k = max(1,i-Nu_Ma(p,1)+1):i //lateral structure, k is chr_age of macrostate
x = i-k+1; //time order when G.U. appear
//number in axis
MA1(p,x) = Myu(p);
VA1(p,x) = Vyu(p);
for j = p+1:maxp
jd = (k-1)*rt_a(j,1); //the ch_age of substructure
flag = 1; //(Flag_pruning(b)~=1) | (jd<=T_Pr(b)+Pruning_delay(b)) ;%not prunned
if jd>0 & flag then
MA2(p,x) = MA2(p,x)+Myzw(p,j)*MSTh(j,jd);
VA2(p,x) = VA2(p,x)+Myzw(p,j)*VSTh(j,jd)+Vyzw(p,j)*(MSTh(j,jd)^2);
end;
end;
MA(p,x) = MA1(p,x)+MA2(p,x);
//sum of variance and covariance between number of microstate in a G.U. in axis and that in substrucutre on that G.U.
VA(p,x) = VA1(p,x)+VA2(p,x)+2*(1-bu(p)+u(p)*bu(p)*(1-b(p)))*MA2(p,x);
end;
M1 = matrix(MA(p,:),1,N); //vector os mean of microstate m top down
V1 = matrix(VA(p,:),1,N); //vector os var of microstate m top down
MSTh(p,i) = (M1*matrix(MC(p,:,:),N,N))*I;
VSTh(p,i) = V1*matrix(MC(p,:,:),N,N)*I+M1*matrix(VC(p,:,:),N,N)*M1';
//terminal structure
j = st_j(p);
if i>Nu_Ma(p) & j>=p & j<=maxp then
jd = i-Nu_Ma(p);
MSTh(p,i) = MSTh(p,i)+MSTh(j,jd);
VSTh(p,i) = VSTh(p,i)+VSTh(j,jd);
end;
end; //i
end;//p
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// DISTRIBUTION
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// MA=max(u)*N;%maximum number of microstates in axis
// FA=zeros(maxp,N,MA); %distribution of number of microstate in each axis
//
// for k=0:m %possible number of microstates in axis
// for j=0:N %possible number of macrostates in i cycles
// for i=j:N-1 %possible number of cycles to survive
// h(k+1)=h(k+1)+(1-c(1))*c(1)^i*binopdf(j,i,b(1))*binopdf(k,j*u(1),bu(1));
// end
// h(k+1)=h(k+1)+c(1)^N*binopdf(j,N,b(1))*binopdf(k,j*u(1),bu(1));%boundary
// end
// end
endfunction
|
ec2abbbd4ec1fc0b487fb0899a37435c6126635c | c61d570c37971fa455028a89d2163f455f91c291 | /script_fisico/rk4.sci | cd8a35bac59a1deeeaaa03eef62a524ee84c1788 | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,808 | sci | rk4.sci | function [y,t] = rk4(fun,ti,tf,h,y0)
// Método de Runge-Kutta para Sistema de N equações Diferenciais (interativo) - Ordem 4
// Onde -> y é o vetor solução (EDO's)
// -> t é o vetor do tempo
//---------------------------------------------------------------------
// -> fun é o vetor de funções do sistema (EDO's)
// -> ti é o valor inicial do tempo
// -> tf é o valor final do tempo
// -> h é o passo de calculo (step)
// -> y0 é o vator contendo as condições iniciais
//
//######################################################################
//Exemplo de Chamada
//exec ('path\rk4.sci',-1) {-1 não mostra o código de execução}
//fun = '[ya(2),9.81-(0.25/68.1)*ya(2)^2]';
// --> Caso do EX pg. 24 (Slide de Aula)
// --> ya é o vetor avaliado por evstr(fun) (k1, k2, k3, k4)
//y0 = '[0,0]'; --> Condições Iniciais; y1(0)=0 e y2(0)=0
//[y,t] = rk4(fun,0,10,1,[0,0])
//-----------------
//Autor: Daniel HC Souza
//IMPLEMENTACAÇÃO....
//Inicializações
t(1) = ti;
y(1,:) = y0;
i = 1; ta = ti;
while ta < tf do
ya = y(i,:);
//Calculando K1 e y(0)
k1 = evstr(fun);
ya = y(i,:) + k1*h/2;
//Atualiza o tempo t(0 + h/2)
ta = ta + h/2;
//Calculando K2 e y(0,5)
k2 = evstr(fun);
ya = y(i,:) + k2*h/2;
//Calculando K3 e y(0,5)
k3 = evstr(fun);
ya = y(i,:) + k3*h;
//Atualiza o tempo t(0 + h/2) --> t(h)
ta = ta + h/2;
//Calculando K4 e y(1)
k4 = evstr(fun);
//Calculando Valores para y(1) - Método de Runge-Kutta 4ªOrdem
phi = (k1+2*(k2+k3)+k4)/6; //Eq. de Runge-Kutta
y(i+1,:) = y(i,:) + phi*h; //Atualiza Valores de y()
t(i+1) = ta; //Atualiza Valores do Tempo
i = i+1; //Proxima Iteração
end
endfunction
|
94603dc6724c8e937ac69e3b10700034f63c7c1b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH21/EX21.23/21_23.sce | 949de2381ba78ad28b51faefd6694eadb48cce84 | [] | 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 | 296 | sce | 21_23.sce | errcatch(-1,"stop");mode(2);//Chapter 21, Problem 23
;
R1=150; //equivalent input resistance
N=5; //turns ratio
Rl=R1/(N^2); //load resistance
printf("Optimum value of load resistance = %d ohm",Rl);
exit();
|
5c99f38e1d867cda5a0b8591b728f5e5581784b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.30/7_30.sce | 6da8b14728fcba399e79b2f8bce1e2b4dfb0a701 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 996 | sce | 7_30.sce | clear;
clc;
//Example - 7.30
//Page number - 267
printf("Example - 7.30 and Page number - 267\n\n");
//Given
den_liq = 13690;//[kg/m^(3)] - Density of liquid mercury
den_solid = 14190;//[kg/m^(3)] - Density of solid mercury
mp = -38.87;//[C] - Melting point of mercury at pressure of 1 bar
mp = mp + 273.15;//[K]
T_req = 0;//[C] - Required temperature to which the melting point is to be raised
T_req = T_req + 273.15;//[K]
H_fus = 11.62;//[kJ/kg] - Latent heat of fusion of mercury
V_liq = (1/den_liq);//[m^(3)/kg] - Specific volume of liquid mercury
V_solid = (1/den_solid);//[m^(3)/kg] - Specific volume of solid mercury
// (delta P/delta T) = ((P - 1)*100)/(T_req - mp)
// delta H/(T*delta V) = (H_liq - H_solid)/(T*(V_liq - V_solid)) = del (say)
del = (H_fus)/(mp*(V_liq - V_solid));//[kPa/K] - delta H/(T*delta V)
//Equating the two sides and then solving we get
P = (del*(T_req - mp))/100 + 1;//[bar]
printf(" The required pressure should be %f bar",P);
|
93b06a210e0bc85b5f332bd7cd153a47b0afa9cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH19/EX19.18.4/Ex19_4.sce | 277da7f060007e99782dc581ac594ff78bb3ea20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | Ex19_4.sce | clear all
clc
close
dia=0.03*1e-3;//Diameter of drop in m
rho=2000;//Desnity of ink in kg/m
vz=25;//velocity in z direction in m/sec
L1=15*1e-3;//Length of deflection plate in m
L2=12*1e-3;//distance from the exit end of the deflection plate to the print surface in m
q=100*1e-15;//Charge of drop in C
d=2*1e-3;//Spacing in m
Vo=3500;//Charging voltage in V
//Mass of drop in kg
m=(4/3)*%pi*rho*(dia/2)^3;
to=L1/vz;
vxo=q*Vo*to/(m*d);
xo=0.5*vxo*to;
t1=(L1+L2)/vz;
printf("time required for the drop to reach the print surface is %f s \n",t1)
//Calculation of vertical displacement of the drop on the print surface in mm
x1=xo+vxo*(t1-to);
printf('Vertical displacement of the drop on the print surface is %f m \n',x1)
|
6272c09f1459a52af39c31d1315a7ecdaa54d7f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH3/EX3.2/Ex3_2.sce | ff210b9d3913409c4e64b8593f06732fd721e8ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | Ex3_2.sce |
clc; funcprot(0);
// Initialization of Variable
AB=31325.14//slope distance in m
R=6370.0e3;//radius of earth
ha=1582.15;//elevation in m
h=4251.32-ha//in m
//calculation
AB_dash=AB-h**2/2/AB;
theta=2*asin(AB_dash/2/R);
AB_dash=AB-(h*sin(theta/2)+h**2/AB/2)
CD=AB_dash-AB_dash*ha/R;
S=CD+CD**3/24.0/R**2;
disp(S,"sea level length in m")
clear()
|
e423e5bedcd19c8d750c9b5f3aff3d248bbfca8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH12/EX12.8/EX12_8.sce | 00eb1cfad4d2e2cc3e481159ba91cf7d3d5cdd62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,121 | sce | EX12_8.sce | clc;funcprot(0);//EXAMPLE 12.8
// Initialisation of Variables
Vpbes=7;.................//Volume of fuel in the pump barrel before commencement of effective stroke in cc
df=3;.................//Diameter of fuel line from pump to injector in mm
lf=700;.................//Length of fuel line from pump to injector in mm
Vfiv=2;................//Volume of fuel in the injection valve in cc
Vfd=0.1;.................//Volume of fuel to be delivered in cc
p1=150;..............//Pressure at which fuel is delivered in bar
p2=1;.................//atmospheric pressure in bar
cc=78.8*10^(-6);..........//Co - efficient of compressibility per bar
dp=7;..............//Diameter of plunger in mm
//calculations
V1=Vpbes+(%pi/4)*((df/10)^2)*(lf/10)+Vfiv;...................//Total initial fuel volume
delV=cc*(p1-p2)*V1;................//Change in volume due to compression
displu=delV+Vfd;.....................//Total displacement of plunger
disp(displu,"Total displacement of plunger in cc :")
lp=(displu*4)/(%pi*(dp/10)^2);.............//Effective stroke of plunger
disp(lp,"Effective stroke of plunger in mm:")
|
66daf9ab7bd3054bf13bdc0c38a33f8aeaae03f8 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/prony/prony10.sce | e59ba0f1356725c1003a1e79f985e7b3a914c05f | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | prony10.sce | //check o/p when the i/p contains negative elements
impr=[-1 -2 -3 0 5];
num_ord=6;
den_ord=4;
[num,den]=prony(impr,num_ord,den_ord);
disp(num);
disp(den);
//output
//- 1. - 2. - 3. 0. 5. 0.
//
// 1. 0. 0. 0. 0.
|
a582552e4ed7f283db14219ee279614d2f7e8083 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH9/EX9.4/example9_4.sce | 3e4a46483028a6daf971ff9a356b8acec4d4de69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | example9_4.sce |
//example 9.4
//page 318
clc; funcprot(0);
//initialisation of variable
L=500;
S=0.004;//slope of slope line
hf=S*L;
disp(hf,"head loss (ft)=");
clear
|
4d60436b1b5ddec5bcdff6b0c1c3fea4bc39692e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX14.35/example14_35.sce | bf64c4bc65aa7fe693280f93d967fab486cccee4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | example14_35.sce | clc
// Given that
t = 400 // temperature in K
k = 1.38e-23 // Boltzmann's constant in J/K
h = 6.62e-34 // Planck constant in J-sec
e = 1.6e-19 // charge on an electron in C
m = 4 * 1.67e-27 // mass of helium atom in kg
// Sample Problem 35 on page no. 14.34
printf("\n # PROBLEM 35 # \n")
printf("Standard formula used \n ")
printf(" lambda = h /(m*v)\n 1/2*m*v^2 = 3/2*k*T \n")
lambda = h / sqrt(3 * m * k * t)
printf("\n de-Broglie wavelength = %f Angstrom.",lambda * 1e10)
|
13a1b95ffba840e9f2b568950d722dd1ef5a5a1e | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/pburg.sci | 78198ed1df375c0f8eec338b1615b962f84a7ccc | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,631 | sci | pburg.sci | function [psd,f_out] = pburg(x,poles,freq,Fs,range,method,plot_type,criterion)
//Calculate Burg maximum-entropy power spectral density.
//Calling Sequence
//[psd,f_out] = pburg(x,poles,freq,Fs,range,method,plot_type,criterion)
//All but the first two arguments are optional and may be empty.
//Parameters
// x: [vector] sampled data
// poles: [integer scalar] required number of poles of the AR model
// freq: [real vector] frequencies at which power spectral density is calculated [integer scalar] number of uniformly distributed frequency values at which spectral density is calculated. [default=256]
// Fs: [real scalar] sampling frequency (Hertz) [default=1]
// range: 'half', 'onesided' : frequency range of the spectrum is from zero up to but not including sample_f/2. Power from negative frequencies is added to the positive side of the spectrum. 'whole', 'twosided' : frequency range of the spectrum is -sample_f/2 to sample_f/2, with negative frequencies stored in "wrap around" order after the positive frequencies; e.g. frequencies for a 10-point 'twosided' spectrum are 0 0.1 0.2 0.3 0.4 0.5 -0.4 -0.3 -0.2 -0.1 'shift', 'centerdc' : same as 'whole' but with the first half of the spectrum swapped with second half to put the zero-frequency value in the middle. (See "help fftshift". If "freq" is vector, 'shift' is ignored. If model coefficients "ar_coeffs" are real, the default range is 'half', otherwise default range is 'whole'.
// method: 'fft': use FFT to calculate power spectral density. 'poly': calculate spectral density as a polynomial of 1/z N.B. this argument is ignored if the "freq" argument is a vector. The default is 'poly' unless the "freq" argument is an integer power of 2.
// plot_type: 'plot', 'semilogx', 'semilogy', 'loglog', 'squared' or 'db' specifies the type of plot. The default is 'plot', which means linear-linear axes. 'squared' is the same as 'plot'. 'dB' plots "10*log10(psd)". This argument is ignored and a spectrum is not plotted if the caller requires a returned value.
// criterion: [optional string arg] model-selection criterion. Limits the number of poles so that spurious poles are not added when the whitened data has no more information in it (see Kay & Marple, 1981). Recognized values are 'AKICc' -- approximate corrected Kullback information criterion (recommended), 'KIC' -- Kullback information criterion 'AICc' -- corrected Akaike information criterion 'AIC' -- Akaike information criterion 'FPE' -- final prediction error" criterion The default is to NOT use a model-selection criterion.
//Description
//This function is being called from Octave
//This function is a wrapper for arburg and ar_psd.
//The functions "arburg" and "ar_psd" do all the work.
//See "help arburg" and "help ar_psd" for further details.
//Examples
//a = [1.0 -1.6216505 1.1102795 -0.4621741 0.2075552 -0.018756746];
//[psd,f_out] = pburg(a,2);
funcprot(0);
lhs = argn(1)
rhs = argn(2)
if (rhs < 2 | rhs > 8)
error("Wrong number of input arguments.")
end
select(rhs)
case 2 then
if(lhs==1)
psd = callOctave("pburg",x,poless)
elseif(lhs==2)
[psd,f_out] = callOctave("pburg",x,poles)
else
error("Wrong number of output argments.")
end
case 3 then
if(lhs==1)
psd = callOctave("pburg",x,poles,freq)
elseif(lhs==2)
[psd,f_out] = callOctave("pburg",x,poles,freq)
else
error("Wrong number of output argments.")
end
case 4 then
if(lhs==1)
psd = callOctave("pburg",x,poles,freq,Fs)
elseif(lhs==2)
[psd,f_out] = callOctave("pburg",x,poles,freq,Fs)
else
error("Wrong number of output argments.")
end
case 5 then
if(lhs==1)
psd = callOctave("pburg",x,poles,freq,Fs,range)
elseif(lhs==2)
[psd,f_out] = callOctave("pburg",x,poles,freq,Fs,range)
else
error("Wrong number of output argments.")
end
case 6 then
if(lhs==1)
psd = callOctave("pburg",x,poles,freq,Fs,range,method)
elseif(lhs==2)
[psd,f_out] = callOctave("pburg",x,poles,freq,Fs,range,method)
else
error("Wrong number of output argments.")
end
case 7 then
if(lhs==1)
psd = callOctave("pburg",x,poles,freq,Fs,range,method,plot_type)
elseif(lhs==2)
[psd,f_out] = callOctave("pburg",x,poles,freq,Fs,range,method,plot_type)
else
error("Wrong number of output argments.")
end
case 8 then
if(lhs==1)
psd = callOctave("pburg",x,poles,freq,Fs,range,method,plot_type,criterion)
elseif(lhs==2)
[psd,f_out] = callOctave("pburg",x,poles,freq,Fs,range,method,plot_type,criterion)
else
error("Wrong number of output argments.")
end
end
endfunction
|
6757035fcdfbce0e77bfd2b2ea84f957316a6429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH10/EX10.7/Ex10_7.sce | 657e6f3383c3dc61044a6434896901c1ae560747 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Ex10_7.sce | //Ex:10.7
clc;
clear;
close;
y=860*10^-9;// wavelength in m
L=5000;// length in m
X=0.024;
dy=20*10^-9;// spectral width in m
dts=6*10^-9;// silica optical link rise time in s
dtr=8*10^-9;// detector rise in s
c=3*10^8;// speed of light in m/s
dtm=-(L*dy*X)/(c*y);// material dispersion delay time in s
id=2.5*10^-12;// intermodel dispersion in s/m
dti=id*L;// intermodel dispersion delay time
dtsy=sqrt((dts^2)+(dtr^2)+(dtm^2)+(dti^2));// system rise time in s
Br_max=0.7/dtsy;// max bit rate for NRZ coding in bit/s
Br_max1=0.35/dtsy;// max bit rate for RZ coding in bit/s
printf("The system rise time =%f ns", dtsy*10^9);
printf("\n The max bit rate for NRZ coding =%f Mbit/s", Br_max/10^6);
printf("\n The max bit rate for RZ coding =%f Mbit/s", Br_max1/10^6); |
86c6066784d1b892685ddfb7ef84b7de204c2ffc | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/mdaqDSPWait.sci | d819c2867ecbbee6b2504ae39f839bdccc7549aa | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 565 | sci | mdaqDSPWait.sci | function mdaqDSPWait(arg1, arg2)
if argn(2) == 1 then
mdaqWaitUntilDone("dsp", arg1)
elseif argn(2) == 2 then
mdaqWaitUntilDone(arg1, "dsp", arg2)
else
mprintf("Description:\n");
mprintf("\tWaits until DSP application is complited\n");
mprintf("Usage:\n");
mprintf("\t[data, result] = mdaqDSPWait(linkID, timeout)\n")
mprintf("\tlinkID - connection id returned by mdaqOpen() (OPTIONAL)\n");
mprintf("\ttimeout - amount of time in seconds (-1 - wait indefinitely)\n");
end
endfunction
|
5d84289970376b3b50eb932d606f8dca82bc5b25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH7/EX7.2/ex_7_2.sce | fc90686d994f9a0ba056889de1222bd2c130ca88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | ex_7_2.sce | //Example 7.2: Diffusion potential
clc;
clear;
close;
format('v',6)
//given data :
Na=5*10^23;// in m^-3
Nd=5*10^21;// in m^-3
T=300;// in K
e=1.6*10^-19;// in J
k=1.38*10^-23;// in JK^-1
V=(k*T)/e;
ni=2.2*10^12;// in m^-3
Vd=V*log((Na*Nd)/ni^2);
disp(Vd,"Diffusion potential,Vd(V) = ")
|
a1bdcce8fe50083d2c25e4038884157aeaed9ae1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH4/EX4.5/ch4ex5.sce | f4fdc2f01ce8b94cca65475c232d1d0efad3dfd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | ch4ex5.sce | //signals and systems
//example4.5
// X(S) = s+3+5*exp(-2*s)/(s+1)*(s+2)) Re(s)>-1
s1 =%s ;
syms t s;
[A]=pfss((s1+3)/((s1+1)*(s1+2))); //partial fraction of F(s)
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
//F3 = ilaplace(A(3),s,t)
Fa = F1+F2;
disp(Fa,"f1(t)=")
[B]=pfss((5)/((s1+1)*(s1+2))); //partial fraction of F(s)
F1 = ilaplace(B(1),s,t)
F2 = ilaplace(B(2),s,t)
Fb = (F1+F2)*(%e^(-2*s));
disp(Fb,"f2(t)=")
disp(Fa+Fb,"f(t)=") |
0353c7bb5cbf6254462b8ca2a09f428e16de54f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.11/EX3_11.sce | 3f89aad850e531bbfd3ce5eb6ebf5a2df26bd340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | EX3_11.sce | clc;funcprot(0);//EXAMPLE 3.11
// Initialisation of Variables
p1=1;...................//Initial pressure in bar
t1=343;..................//Initial temperature in K
p2=7;....................//Pressure after adiabatic compression
Qs=465;...............//Heat addition at constant volume in kJ/kg
cp=1;.....................//Specific heat at constant pressure in kJ/kg
cv=0.706;..................//Specific heat at constant volume in kJ/kg
ga=cp/cv;.................//Ratio of specific heats
//Calculations
r=(p2/p1)^(1/ga);...............//Compression ratio
t2=t1*(r^(ga-1));.....................//Temperature at the end of compression in K
t3=t2+(Qs/cv);.............//Temperature at the end of heat addition in K
disp(r,"Compression ratio:")
disp(t2,"Temperature at the end of compression in K")
disp(t3,"Temperature at the end of heat addition in K")
|
4dc912a55fa3bd0c0677c2c3acaaf3792c98c0b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH3/EX3.4/3_4.sce | a5b30d72297c29a1961ffab2655d4a03214b596e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sce | 3_4.sce | clear
clc
//initialisation of variables
d= 1/3 //ft
g= 32.2 //ft/sec^2
d1= 4 //in
d2= 1.6 //in
h1= 5.7 //ft
h2= -1.9 //ft
Q= 0.3 //cuses
H1= 34 //ft
H2= 19 //ft
H3= 7 //ft
H4= 9.2 //ft
h3= 2.9//ft
h4= 3.9 //ft
Et= 54 //ft-lb/lb
//CALCULATIONS
v1= sqrt(2*g*(h1-h2)/((d1/d2)^4-1))
Q1= %pi*v1*d^2/4
k= Q/Q1
P= (H1+H2)*H3/H4
P1= P-h3
r= P+h1-h2-h4
V= v1^2/(2*g)
E= r+V
dE= Et-E
//RESULTS
printf ('Coefficienct of venturi meter = %.4f ',k)
printf ('\n Pressure of venturi throat = %.2f ft of water',P1)
printf ('\n Loss in energy = %.1f ft-lb/lb',dE)
//The answer is a bit different due to rounding off error in textbook
|
636bd41cd18ba0acb63ea6212faebb26caf3b85a | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH3/EX3.4/Example3_4.sci | b526a291ee41387699f1493626deefcc6cd97707 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sci | Example3_4.sci | //Chapter 3_Semoconductor Devices Fundamentals
//Caption: Hole Concentration
//Example3.4: A semiconductor is doped with a concentration of 10^17 atoms/cm^3 of rsenic . What is the equilibrium hole concentration p at 300K. Given ni=1.5*10^10 cm^-3
// Solution:
clear;
clc;
function p=holeconcentration(ni,Nd)//ni=intrinsiic concentration=1.5*10^10 cm^-3, Nd: donar concentration; since, Nd>>ni, so Nd=n=10^17 atoms/cm^3.
p=ni^2/Nd
disp('hole concentrartion at 300K is:')
disp('per cubic cm',p)
endfunction
//holeconcentration(1.5*10^10,10^17); |
11425e8d91bab855731573befdf4982e00237327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH8/EX8.8.31a/Ch8_8_31a.sce | bc5abac67fd962d73aa4dba2ad88f8371659632a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 722 | sce | Ch8_8_31a.sce | clc
clear
disp("Example 8.31a")
printf("\n")
disp("perform the following binary substraction using 1s complement")
disp("a)1010-0111 b)0110-1101")
a=[1 0 1 0]
b=~[0 1 1 1]
d=0
for i=1:length(a)
c(i)=a(length(a)+1-i)+b(length(a)+1-i)+d
if(c(i)==1)
d=0
end
if[c(i)==2]
d=1
c(i)=0
end
end
f=1
if(d==1)
for i=1:length(a)
g(i)=c(i)+f
if(g(i)==1)
f=0
end
if(g(i)==2)
f=1
g(i)=0
end
end
for i=1:length(a)
c(i)=g(i)
end
end
if(d==0)
for i=1:length(a)
c(i)=~c(i)
end
end
printf("result =%d%d%d%d",c(4),c(3),c(2),c(1))
|
3b242982298403419b096c06e6fc6828d68fd2d5 | ae90aa32e949a5eab9665f526f886f05860161d2 | /code/nand2tetris/07/StackArithmetic/StackTest/StackTest.tst | 411750dfd99cdae779eab16e1d923efcfbacca5c | [
"CC-BY-SA-3.0",
"MIT"
] | permissive | cccbook/sp | 4097ab760cfb013b689dc4739a439de29d85d324 | aff23e6b18ba6221022b14b024fd562427c46d9a | refs/heads/master | 2022-05-22T03:31:33.324045 | 2019-06-06T07:04:37 | 2019-06-06T07:04:37 | 156,299,694 | 257 | 96 | MIT | 2022-03-19T08:48:32 | 2018-11-05T23:56:37 | Assembly | UTF-8 | Scilab | false | false | 545 | tst | StackTest.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/07/StackArithmetic/StackTest/StackTest.tst
load StackTest.asm,
output-file StackTest.out,
compare-to StackTest.cmp,
output-list RAM[0]%D2.6.2
RAM[256]%D2.6.2 RAM[257]%D2.6.2 RAM[258]%D2.6.2 RAM[259]%D2.6.2 RAM[260]%D2.6.2;
set RAM[0] 256,
repeat 1000 {
ticktock;
}
output;
output-list RAM[261]%D2.6.2 RAM[262]%D2.6.2 RAM[263]%D2.6.2 RAM[264]%D2.6.2 RAM[265]%D2.6.2;
output;
|
004d57318f13a0a8dc129f168cd6edc69d3947fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH3/EX3.15/Ch03Ex15.sce | e370aea526a85d59eecae4766291421660509b03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | Ch03Ex15.sce | // Scilab code Ex3.15: Pg 97 (2008)
clc; clear;
N = 11; // Number of plates in a capacitor
r = 25e-03; // Radius of circular plate, m
A = (%pi*r^2); // Cross - sectional area of plate, m^2
d = 5e-04; // Distance between plates, m
epsilon_r = 1; // Relative permittivity for air
epsilon_o = 8.854e-12; // Relative permittivity for free space
// Calculating the capacitance of the capacitor
C = ((epsilon_o)*(epsilon_r)*A*(N-1))/d; // Capacitance, F
printf("\n The capacitance of the capacitor = %3.2f pF", C/1e-10);
// Result
// The capacitance of the capacitor = 3.48 pF
|
5f19d2f148bb86f3292ec97828275d75d16523ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH21/EX0.1.e/E0_1.sce | 16f0019e8ce197d281d35eb351c3a8aa1c79ad5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | E0_1.sce | clc
//Initialization of variables
P=1.115 //bar
//Calculations
Conv_fac=1/1.01325
FinalP=Conv_fac*P //Final pressure
//Results
printf ('Final pressure in atmospheres (atm)= %.3f',FinalP)
|
9b34dc6c87476d7b3f08e2814507970d636e5e48 | c565d26060d56f516d954d4b378b8699c31a71ef | /sinetest_manual/sine test/bodeplot.sce | 63d66a80bc82bb4d71973aef5d991c3e30db20e1 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 709 | sce | bodeplot.sce | //bodeplot
getf('labelbode.sci');
x=[0.001,0.0035,0.004,0.005,0.006,0.007,0.008,0.009,0.01,0.02,0.03,0.04];//Input frequency(Hz)
y=[-3.87,-5.67,-7.53,-7.53,-8.17,-8.64,-8.87,-8.90,-9.11,-13.55,-15.39,-16.47];//Amplitude ratio(dB)
subplot(2,1,1);
plot2d(x,y,rect=[0.001,-20,0.04,0],logflag="ln");
xgrid();
y=[-25.2,-28.98,-33.11,-41.4,-60.48,-70.56,-77.76,-87.48,-90,-129.6,-151.2,-172.8];//Phase difference(degree)
title = ''
label(title,4,'Hz','Amplitude ratio in dB ',4);
subplot(2,1,2);
plot2d(x,y,rect=[0.001,-180,0.04,-20],logflag="ln");
label(title,4,'','Phase difference',4);
subplot(2,1,2);
xgrid();
s=poly(0,'s')
h=syslin('c',(0.475/(124.827*s^2+57.26*s+1)))
bode(h,0.001,0.04);
|
3943779ca8e574d6dbd393bd579b635cf5930a0a | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/transpose.sci | 53b2d4a31d22bee7380bc847ec9a7a3a4a0d88a5 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 85 | sci | transpose.sci | function [y] = transpose(x)
funcprot(0);
y = callOctave("transpose",x)
endfunction
|
eab32078e4fe0e4f9f5ddd295d178ab0f58fc3fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH10/EX10.2/Ex10_2.sce | 8e503b866acad1adef364a0fd2730dfe2d877a90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | Ex10_2.sce | //Ex:10.2
clc;
clear;
close;
a_fc=4;// fider cable loss in dB/km
aj=0.7;// splice loss in db/km
L=5;// length in km
a_cr1=4;// connector losses
a_cr2=3.5;// connector losses
CL=(a_fc+aj)*L+(a_cr1+a_cr2);// total channel loss in dB
printf("The total channel loss =%d dB", CL); |
62cc5002856de76263e10bc1a7abe1201a603796 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH2/EX2.1/example_2_1.sce | 3a358f426ec89b50375fdd8bfc21952c9c18b986 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | example_2_1.sce | //laplace transform of exponential function
syms t s;
y=laplace('%e^(-a*t)',t,s);
disp(y,"ans=")
|
c4301d9549de164871ab49f257fac221b729903e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/xdess/square.sci | ef857d74762b0e30a1c31588b07983a909473316 | [
"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 | 656 | sci | square.sci | function []=square(xmin,ymin,xmax,ymax)
//definit un environnement graphique
//permettant un trace isometrique.
//
//xmin,ymin, (xmax,ymax) specifient les abscisses et ordonnees minimum
// (maximum) du dessin. defaut (-2,-2,2,2)
//
//square modifie le facteur d'echelle sur l'axe Ox. Pour conserver la
//meme taille de dessin, utiliser plutot la macro isoview. Les extrema
//sont imposes.
//!
// Copyright INRIA
[zer,right]=argn(0);
if right<=0 then right=4;xmin=-2;ymin=-2;xmax=2;ymax=2;end
if right<>4 then error('0 ou 4 arguments'),end
wdim=xget("wdim");
xset("wdim",maxi(wdim),maxi(wdim));
plot2d(0,0,1,"010"," ",[xmin,ymin,xmax,ymax]);
|
b29b820572e03d8a6717560f85492a0bb6d28ff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH10/EX10.3/Ex10_3.sce | 23777b820039ee810074254bdaf62da14604f3fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,201 | sce | Ex10_3.sce | // Problem no 10.3,Page No.252
clc;clear;
close;
//taking moment at pt A we get
R_D=(90*6+120*3)*9**-1 //Reaction at Pt D
//Joint D
//Applying the summation of vertical forces we get
F_GD=100*(sin(60*%pi*180**-1))**-1
//Applying the summation of horizontal forces we get
F_DC=F_GD*cos(60*%pi*180**-1)
//Joint G
//Applying the summation of vertical forces we get
F_GC=F_GD
//Applying the summation of horizontal forces we get
F_FG=F_GD*cos(60*%pi*180**-1)+F_GC*cos(60*%pi*180**-1)
//joint C
//Applying the summation of vertical forces we get
F_FC=(115.5*sin(60*%pi*180**-1)-90)*(sin(60*%pi*180**-1))**-1
//Applying the summation of horizontal forces we get
F_CB=F_DC+F_GC*cos(60*%pi*180**-1)+F_FC*cos(60*%pi*180**-1)
//joint F
//Applying the summation of vertical forces we get
F_FB=F_FC
//Applying the summation of horizontal forces we get
F_EF=F_FG+F_FC*cos(60*%pi*180**-1)+F_FB*cos(60*%pi*180**-1)
//Joint B
//Applying the summation of vertical forces we get
F_EB=(120-F_FB*sin(60*%pi*180**-1))*(sin(60*%pi*180**-1))**-1
//Applying the summation of horizontal forces we get
F_BA=F_CB+F_FB*cos(60*%pi*180**-1)-F_EB*cos(60*%pi*180**-1)
//Joint E
//Applying the summation of vertical forces we get
F_AE=F_EB
//Result
printf("Forces in Each members are as follows:F_GD %.1f kN (compression)",F_GD)
printf("\n :F_DC %.2f",F_DC);printf(" KN(Tension)" )
printf("\n :F_GC %.1f kN (Tension)",F_GC)
printf("\n :F_FG %.1f kN (Compression)",F_FG)
printf("\n :F_FC %.1f kN(compression)",F_FC)
printf("\n :F_CB %.2f",F_CB);printf(" KN(Tension)")
printf("\n :F_FB %.1f kN(compression)",F_FB)
printf("\n :F_EF %.2f",F_EF);printf(" KN(compression)")
printf("\n :F_EB %.2f",F_EB);printf(" KN(Tension)")
printf("\n :F_BA %.2f",F_BA);printf(" KN(Tension)")
printf("\n :F_AE %.2f",F_AE);printf(" KN(compression)")
|
677ac03350aafb1c7f6a2da17e179663e8fb5430 | a25acdb34186c4093e6ec99f7a5a7648791b7b30 | /TestParticleSeq.tst | d1537f218ea5076dc62d41ecbf764a47649d17b3 | [] | no_license | galleg46/JavaADT-ParticleSequence | 863da7e637ca34d248b46df948273d54ea095825 | 6c2da52f1bcdca7998b0328e1bb416bc92b16f77 | refs/heads/main | 2023-09-01T09:21:54.021766 | 2021-10-26T22:24:46 | 2021-10-26T22:24:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | tst | TestParticleSeq.tst | 566769707=6
1390748355=-1
1854083915=1
742051504=-1
710084632=3
565750963=0
1429063010=true
1459925108=5
868270416=3
1809270213=false
236938571=0
1860957759=5
1794508226=4
221507525=-2
1957337308=-1
1505728679=0
887770454=0
491728531=-1
1393501683=5
371995505=-1
914153475=-2
|
9a1bfaaa485ed5c02bac3c87332dd5c142fe5592 | 3d9eb570cc25f2789bfcc4876cb4ba7ac1094b20 | /Transcendental Equations Solving Methods/Newton's Method.sci | 4976abd0ed859404a0fca63efe041119e0a07313 | [] | no_license | laisdutra/NumericalComputing | 0c858f029621767723fb28d824dcff8a48aa8905 | 84f7f4600056a98bf24b924d647818cc0f17e4cf | refs/heads/master | 2022-01-27T08:06:26.686036 | 2019-05-23T01:41:55 | 2019-05-23T01:41:55 | 185,099,679 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sci | Newton's Method.sci | function y = f(x)
y = 1 - (1+x).^-9 - (140/26.5)*x //função cuja raiz é procurada
endfunction
function y = d(x)
y = 9*(1+x).^-10 - (140/26.5) //derivada da função
endfunction
x = 0.12 //valor inicial de x
while (1)
x_ant = x //recebe valor de x da iteração anterior
x = x_ant - f(x_ant)/d(x_ant) //ponto onde a reta que tangencia o x anterior toca o eixo
Er = abs((x - x_ant)/x)
if(Er < 10^-3) then //condição para parar de atualizar o x
break
end
end
|
592fd0544c448e7d7ff1197997ef0c5a5dfede8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.12w/16_12w.sce | cef44ccc015b4d566ff28e5d8c065613e3318ae7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | 16_12w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.12w
//calculation of the length of the shortest closed organ pipe that will resonate with the tunning fork
//given data
nu=264//frequency(in Hz)of the tunning fork
v=350//speed(in m/s) of the sound in air
//calculation
//from the equation of the resonate frequency of the closed organ pipe....l = (n*v)/(4*nu)
n=1//for l to be minimum
lmin=(v)/(4*nu)//equation of the resonate frequency of the closed organ pipe
printf('the length of the shortest closed organ pipe that will resonate with the tunning fork is %d cm',lmin*10^2)
|
ca7930366333adb38eedc0209758a20210966a07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH10/EX10.17/Ex10_17.sce | 4c7b87bce7d7d150cb1e30574f64127b2a819b3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 980 | sce | Ex10_17.sce | //===============================================================
//Chapter 10 Example 17
clc;clear all;
//variable declaration
r = 0.0250; //resistance in Ω
R = 1.0125; //resistance in Ω
S = 1 //sensitivity
P1 = 10; //resistance in Ω
Q1 = 10; //resistamce in Ω
P2 = 9.95; //resistance in Ω
Q2 = 10.05; //resistamce in Ω
l = 100;
//calculations
r1 = r/100; //resistance in Ω per scale division
x1 = P1/Q1;
x2 = P2/Q2;
//P/Q = (R+(l1*r))/(S+(l-l1)*r)
//(s*x)+((l-l1)*r) = R+(l1*r)
//(S*x)+(l*r)-(l1*r) = R+(L1*r)
//(S*x)+(l*r)-R = (l1*r)+(l1*r)
l1 = ((S*x1)+(l*r1)-R)/(r1+r1); //scale divisions
l12 = ((S*x2)+(l*r1)-R)/(r1+r1); //scale divisions
//result
mprintf("hence the balance is obtainde at %3.0f and 75 scale divisions",l1);
mprintf("\nhence the balance is obtainde at %3.0f and 95 scale divisions",l12);
|
603d78203cfe745b931bf78aa1b7590e8451e0f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH10/EX10.5/ques5.sce | 307c0987b4319106aaac44cd0396b8b2bf40cc64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | ques5.sce | //ques5
clc
disp('finding the fourier series of given function');
syms x l
s=0;
n=input('enter the no of terms upto each of sin terms in the expansion : ');
for i=1:n
bi=2/%pi*integ(x*sin(i*x),x,0,%pi);
s=s+float(bi)*sin(i*x);
end
disp(float(s));
|
656bd403b2fdae7392a79609349cf75bab82efb6 | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/TP2/Exo1.sci | e7808f7440d8aaa182c363a660fed009576d498a | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sci | Exo1.sci | function [x]=solsup(U,b)
n = size(U)(1); //Nombre lignes de matrice
for i=n:-1:1
if abs(U(i,i)) < %eps then
error("Matrice U est non inversible");
end
sum_temp = 0;
for j=i+1:n
sum_temp = sum_temp + U(i,j)*x(j);
end
x(i) = 1/U(i,i)*(b(i)-sum_temp);
end
endfunction
|
ee26587ee7e5d65a80cf6f6a56d5810071e3cd25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.18/18.sce | cc60fb70e236c8065b76e407113c44ea0690ff6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 18.sce | //problem 1.18
a1=1.4*2.2*1.4
x1=1.6+0.7
x11=(1.4*1.4/(12*2.3))+x1
x2=0.7
x22=(1.4*1.4/(12*0.7))+x2
z=9810
p1=z*a1*x1
p2=z*a1*x2/1.4
p=p1-p2
h=(p1*(3-x11)+p2*(1.4-x22))/p
f=(p1*(3-x11)-p2*(1.4-x22))/1.4
disp(p,"resultant force")
disp(f,"force acting horizontally on the top of the gate")
|
050fd062f515c05de86b26f3b5762c2670f22ae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH7/EX7.7/Ex7_7.sce | 44fa0aea4f95317e1d91ff81b86ede487db13cd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | Ex7_7.sce | clear
//
//
//
//Variable declaration
d=0.282 //lattice spacing(nm)
theta=(8+(35/60))*%pi/180 //glancing angle(radian)
n=1 //order
//Calculation
lamda=2*d*sin(theta)/n //wavelength(nm)
N=2*d/lamda //maximum order of diffraction
//Result
printf("\n wavelength is %0.3f nm",lamda)
printf("\n maximum order of diffraction is %0.3f ",N)
|
b80726a948a20168406e1991accf4a562044479e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/var/var3.sce | 7e2410d7badbba9051a3601fe9f8ce24152e74b1 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | var3.sce | //check o/p i/p args are a matrix and a weight vector w
A = [5 -4 6; 2 3 9; -1 1 2];
w = [0.5 0.25 0.25];
v=var(A,w);
disp(v);
// 6.1875 9.5 6.1875
|
54fffa57e7ec4d9fae4e74685bfac2c35b82fdea | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH40/EX40.22/40_22.sce | db2ba953cf7c13d810f940fe4bc0d2d5204c6b9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | 40_22.sce | //Problem 40.22: Calculate the value of the energy stored when a current of 50 mA is flowing in a coil of inductance 200 mH. What value of current would double the energy stored?
//initializing the variables:
L = 0.2; // in H
I = 0.05; // in Amperes
u0 = 4*%pi*1E-7;
ur = 1;
//calculation:
//energy stored in inductor
W = L*I*I/2
//current I
I = (2*2*W/L)^0.5
printf("\n\n Result \n\n")
printf("\nenergy stored in inductor is %.2E J",W)
printf("\ncurrent I is %.2E A",I) |
b034711500752cf19ebe0812a0a2021778da57a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.4/Ex1_4.sce | 7e9a00960ab889ff4a70084dc1e7488ef0f00fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | Ex1_4.sce | clear
//
p=30
i=10
v=p/i
dt=1
dq=i*dt
dw=v*dq
energy=dw/i
printf("\n energy of each coulomb of charge= %0.1f J",energy)
|
8ba733efb7afad8106d6093a6c9e93ea72975e04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH3/EX3.3/Ex3_3.sce | 6eb9a814bfbf5c7be6c47e09c5a284ea44b4ac22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,287 | sce | Ex3_3.sce | clc
//the code uses userdefined function complexstring
function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
E1=2400 //primary voltage rating in volts
E2=240 //secondary voltage rating in volts
z=2 //magnitude of impedance connected to secondary terminals in ohms
pha1=36.9 //phase angle of impedance connected with reference in degrees
a=E1/E2
mprintf("a=%d\n",a)
V1=2200 // applied primary voltage to transformer in volts
V2=V1/a
mprintf("|V2|=|V1|/a=%dV\n",V2)
I2=V2/(z*exp(pha1*%i*3.14/180))//ans in textbook is wrong,conversion of degree to radian for calculation
disp('I2='+complexstring(I2)+'A')
I1=I2/a //ans may vary due to roundoff error
disp('I1=I2/a='+complexstring(I1)+'A')
Zin=V1/I1
disp('Zin=V1/I1='+complexstring(Zin)+'Ω')
S2=V2*I2
pf=0.8 //power factor of load
mprintf("|S2|=|V2||I2|=%fkVA\n",(abs(V2)*abs(I2))/1000)
mprintf("P2=|S2|*cosθ2=%fkW\n",(abs(S2)*pf)/1000)
mprintf("|S1|=|V2||I1|=%fkVA\n",(abs(V1)*abs(I1))/1000)
mprintf("P1=|S1|cosθ1=%fkW\n",((abs(V1)*abs(I1))*cos(pha1*3.14/180))/1000)//ans may vary due to roundoff error,conversion of degree to radian for calculation
|
1bf2fb31cf8b2d65861135887438e025154c5237 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH1/EX1.9/Ex1_9.sce | d49355bc25b4ae1e8ef2b18b7625beb47d803c7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_9.sce | //Initilization of variables
F1=90 //lb
theta1=((40*%pi)/180) //radians
theta2=((30*%pi)/180) //radians
//Calculations
R_x=0 //lb
R_y=20 //lb
//Taking the sum of forces in the X-Direction
P=((F1*cos(theta1))/cos(theta2)) //lb
//Taking the sum of the forces in the Y-Direction
F=(P*sin(theta2))+(F1*sin(theta1))-20 //lb
//Results
clc
printf('The value of P is:%f lb\n',P) //lb
printf('The value of F is:%f lb',F) //lb
|
e9798b877935e2262452e52e0af6c41f28f3227b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH7/EX7.1/1.sce | 11bad9ea72779f3d7506533ecef7429fbb8cb8d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | 1.sce |
//Variable declaration
chi=-0.4*10**-5; //magnetic susceptibility
H=5*10**5; //magnetic field(A/m)
mew0=4*%pi*10**-7;
//Calculation
B=mew0*H*(1+chi); //flux density(Wb/m**2)
M=chi*H; //magnetic moment(A/m)
//Result
printf('flux density is %0.3f Wb/m**2 \n',(B))
printf('magnetic moment is %0.3f A/m \n',M) |
0bad2467a8783eec84988e33efc8e05624773a5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH8/EX8.8/Ex8_8.sce | 78ca3ae6718ba1dfaf4bda90e0883df97b3febf5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_8.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 8.8\n\n\n");
// Chapter 8 : Vapor Power Cycles
// Problem 8.8 (page no. 387)
// Solution
//Neglecting the pump work,we have
heatrate=3413/0.273; //Unit:Btu/kWh //0.273=efficiency //1 kWh=3413 //heat rate
printf("The heat rate is %f Btu/kWh\n",heatrate);
//Per pound of steam,1515-1150.5=364.5 Btu is delivered.
//Because 1 kWh=3413
printf("The steam rate is %f lbm of steam per kilowatt-hour\n",3413/(1515-1150.5));
|
1644a54e0332a154002ec231a136c111ce309d2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH2/EX2.2/Ex2_2.sce | 83d68f918eedbe3ed248c4ef5422ec5e1baaea5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex2_2.sce | //calculating GCV and NCV
//Example 2.2
clc
clear
C=90//percentage of Carbon in coal
O=2//percentage of Oxygen in coal
H=4//percentage of Hydrogen in coal
S=2.5//percentage of Sulphur in coal
N=1//percentage of Nitrogen in coal
GCV=((8080*C)+(34500*(H-O/8))+(2240*S))/100//gross calorific value in kcal/kg
NCV=(GCV-(0.09*H*587))//net calorific value in kcal/kg
printf('Thus the gross calorific value of coal = %4.2f kcal/kg',GCV)
printf('\n and the net calorific value of coal = %4.2f kcal/kg',NCV)
|
32d504a5fe416646c4a8d03205560576ec81bc1f | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Anti Overhead Jumps Click .sce | 7c4bcac4b2ef30f8f349cea5b0298f2335aa53c4 | [] | 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 | 71,569 | sce | Anti Overhead Jumps Click .sce | Name=Anti Overhead Jumps Click
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Fast Strafes.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Fast Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=360circHighgr.map
MapScale=4.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
InvincibleBots=false
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=1000.0
ScorePerDamage=3.0
ScorePerKill=100.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=Hyperscape
WeaponHeroTag=Lightning Gun, LG
DifficultyTag=4
AuthorsTag=sdk
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=true
BlockFCT=false
Description=Close quarter combat against a fast strafing bot
GameVersion=2.0.0.2
ScorePerDistance=0.03
MBSEnable=false
MBSTime1=0.08
MBSTime2=1.3
MBSTime3=1.3
MBSTime1Mult=20.0
MBSTime2Mult=45.0
MBSTime3Mult=45.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
[Aim Profile]
Name=Default
MinReactionTime=0.1
MaxReactionTime=0.2
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.005
FlickFOV=60.0
FlickSpeed=2.0
FlickError=3.0
TrackSpeed=7.0
TrackError=1.0
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.1
MaxRecenterTime=0.2
OptimalAimFOV=60.0
OuterAimPenalty=0.3
MaxError=10.0
ShootFOV=50.0
VerticalAimOffset=60.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=Quaker Bot Fast Strafes
DodgeProfileNames=Short Strafes Jumping
DodgeProfileWeights=2.0
DodgeProfileMaxChangeTime=2.5
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;2.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=Quaker
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=Quaker
MaxHealth=10000.0
WeaponProfileNames=;;Manwing;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=1.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=80.000
HeadshotOnly=false
DamageKnockbackFactor=4.0
MovementType=Base
MaxSpeed=1100.0
MaxCrouchSpeed=500.0
Acceleration=7500.0
AirAcceleration=16000.0
Friction=4.0
BrakingFrictionFactor=2.0
JumpVelocity=1000.0
Gravity=3.0
AirControl=0.25
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=true
CanJumpFromCrouch=false
EnemyBodyColor=X=0.771 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=1.000 Y=0.888 Z=0.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Cylindrical
MainBBHeight=320.0
MainBBRadius=58.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.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=Jump.abilmov;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
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=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=100.0
FlightVelocityDown=800.0
[Dodge Profile]
Name=Short Strafes Jumping
MaxTargetDistance=751.0
MinTargetDistance=750.0
ToggleLeftRight=true
ToggleForwardBack=false
MinLRTimeChange=0.2
MaxLRTimeChange=0.5
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=1.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.3
MaxJumpTime=0.5
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=Manwing
Type=Hitscan
ShotsPerClick=1
DamagePerShot=200.0
KnockbackFactor=0.1
TimeBetweenShots=0.384615
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=9999
AmmoPerShot=1
ReloadTimeFromEmpty=2.1
ReloadTimeFromPartial=2.1
DamageFalloffStartDistance=5000.0
DamageFalloffStopDistance=5000.0
DamageAtMaxRange=200.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=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=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=8
CancelReloadOnKill=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.025
TimeToRecoilReset=0.29
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
[Movement Ability Profile]
Name=Jump
MaxCharges=1.0
ChargeTimer=2.5
ChargesRefundedOnKill=0.0
DelayAfterUse=4.0
FullyAuto=false
AbilityDuration=0.0
LockDirectionForDuration=true
NegateGravityForDuration=false
MainVelocity=900.0
MainVelocityCanGoVertical=true
MainVelocitySetToMovementKeys=false
UpVelocity=3000.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=false
AIUseOnGround=true
AIUseInAir=true
AIReuseTimer=1.0
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=0.0
AIMaxTargDist=2000.0
AIMaxTargFOV=15.0
AIDamageReaction=true
AIDamageReactionIgnoreChance=0.0
AIDamageReactionMinDelay=0.125
AIDamageReactionMaxDelay=0.25
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=0.0
AIDamageReactionResetTimer=0.1
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-760.000000 664.000000 400.000000
-760.000000 664.000000 -912.000000
-776.000000 664.000000 -912.000000
-776.000000 664.000000 400.000000
-760.000000 0.000000 400.000000
-760.000000 0.000000 -912.000000
-776.000000 0.000000 -912.000000
-776.000000 0.000000 400.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
648.000000 664.000000 -912.000000
-776.000000 664.000000 -912.000000
-776.000000 664.000000 -896.000000
648.000000 664.000000 -896.000000
648.000000 -16.000000 -912.000000
-776.000000 -16.000000 -912.000000
-776.000000 -16.000000 -896.000000
648.000000 -16.000000 -896.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
-768.000000 672.000000 384.000000
648.000000 672.000000 384.000000
648.000000 672.000000 -928.000000
-768.000000 672.000000 -928.000000
-768.000000 656.000000 384.000000
648.000000 656.000000 384.000000
648.000000 656.000000 -928.000000
-768.000000 656.000000 -928.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 structural/dev/dev_grey128
brush
vertices
-768.000000 280.000000 392.000000
648.000000 280.000000 392.000000
648.000000 280.000000 -920.000000
-768.000000 280.000000 -920.000000
-768.000000 264.000000 392.000000
648.000000 264.000000 392.000000
648.000000 264.000000 -920.000000
-768.000000 264.000000 -920.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
-24.281250 223.910156 -574.781250
-64.000000 224.000000 -576.000000
-26.218750 223.910156 -558.843750
-62.483727 879.998169 -559.815613
-24.702477 879.908325 -558.659363
-64.000000 224.000000 -560.000000
-62.483727 879.998169 -575.815613
-22.764977 879.908325 -574.596863
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
247.718750 223.910156 -286.781250
246.500000 224.000000 -247.062485
263.656250 223.910156 -284.843750
262.684387 879.998169 -248.578766
263.840637 879.908325 -286.360016
262.500000 224.000000 -247.062485
246.684387 879.998169 -248.578766
247.903137 879.908325 -288.297516
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-72.281250 223.910156 57.218750
-32.562485 224.000000 58.437496
-70.343750 223.910156 41.281250
-34.078766 879.998169 42.253109
-71.860016 879.908325 41.096863
-32.562485 224.000000 42.437496
-34.078766 879.998169 58.253109
-73.797516 879.908325 57.034363
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-336.281250 223.910156 -238.781250
-335.062531 224.000000 -278.500000
-352.218750 223.910156 -240.718750
-351.246918 879.998169 -276.983734
-352.403137 879.908325 -239.202484
-351.062531 224.000000 -278.500000
-335.246918 879.998169 -276.983734
-336.465637 879.908325 -237.264984
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-70.343750 223.910156 41.281250
-117.353790 223.805756 33.845924
-72.281250 223.910156 57.218750
-123.098763 879.798767 49.218864
-73.797516 879.908325 57.034363
-121.823387 223.800049 49.363285
-118.629158 879.804443 33.701508
-71.860016 879.908325 41.096863
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-117.353790 223.805756 33.845924
-159.845932 223.723145 23.519058
-121.823387 223.800049 49.363285
-167.657501 879.711914 38.335888
-123.098763 879.798767 49.218864
-166.599396 223.712738 38.421837
-160.904022 879.722290 23.433117
-118.629158 879.804443 33.701508
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-159.845932 223.723145 23.519058
-197.820160 223.661469 10.300690
-166.599396 223.712753 38.421837
-207.473663 879.646973 24.385456
-167.657501 879.711914 38.335888
-206.609207 223.647446 24.394432
-198.684616 879.660950 10.291714
-160.904022 879.722290 23.433117
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-197.820160 223.661469 10.300690
-231.276520 223.619888 -5.809200
-206.609207 223.647461 24.394432
-242.547287 879.603027 7.367567
-207.473663 879.646973 24.385456
-241.852875 223.603271 7.281075
-231.970932 879.619690 -5.722694
-198.684616 879.660950 10.291714
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-231.276520 223.619873 -5.809200
-260.214905 223.597565 -24.810566
-241.852875 223.603271 7.281075
-272.878326 879.579346 -12.717751
-242.547287 879.603027 7.367567
-272.330353 223.579376 -12.918224
-260.762909 879.597473 -24.610088
-231.970932 879.619690 -5.722694
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-260.214905 223.597565 -24.810566
-284.635376 223.593658 -46.703442
-272.330353 223.579407 -12.918224
-298.466827 879.574951 -35.870522
-272.878326 879.579346 -12.717751
-298.041626 223.574982 -36.203461
-285.060577 879.593567 -46.370495
-260.762909 879.597473 -24.610088
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-284.635376 223.593658 -46.703442
-304.537964 223.607346 -71.487778
-298.041626 223.574966 -36.203461
-319.312714 879.589050 -62.090706
-298.466827 879.574951 -35.870522
-318.986694 223.589172 -62.574608
-304.863953 879.607178 -71.003860
-285.060577 879.593567 -46.370495
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-304.537964 223.607346 -71.487778
-319.922577 223.637772 -99.163597
-318.986694 223.589172 -62.574608
-335.416046 879.620972 -91.378288
-319.312714 879.589050 -62.090706
-335.165649 223.621155 -92.031670
-320.173004 879.637573 -98.510193
-304.863953 879.607178 -71.003860
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-319.922577 223.637772 -99.163597
-330.789185 223.684113 -129.730835
-335.165649 223.621155 -92.031670
-346.776733 879.669617 -123.733276
-335.416046 879.620972 -91.378288
-346.578247 223.670090 -124.574615
-330.987701 879.683655 -128.889496
-320.173004 879.637573 -98.510193
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-330.789185 223.684113 -129.730835
-337.137817 223.745514 -163.189560
-346.578247 223.670105 -124.574615
-353.394806 879.734314 -159.155640
-346.776733 879.669617 -123.733276
-353.224670 223.735138 -160.203461
-337.308014 879.744690 -162.141739
-330.987701 879.683655 -128.889496
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-337.137817 223.745514 -163.189560
-338.968567 223.821136 -199.539703
-353.224670 223.735138 -160.203461
-355.270355 879.814148 -197.645416
-353.394806 879.734314 -159.155640
-355.104858 223.815430 -198.918213
-339.134033 879.819824 -198.266907
-337.308014 879.744690 -162.141739
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-338.968567 223.821136 -199.539703
-336.281250 223.910156 -238.781250
-355.104858 223.815430 -198.918213
-352.403137 879.908325 -239.202484
-355.270355 879.814148 -197.645416
-352.218750 223.910156 -240.718750
-336.465637 879.908325 -237.264984
-339.134033 879.819824 -198.266907
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-64.000000 224.000000 -576.000000
-109.850052 224.101685 -573.934021
-64.000000 224.000000 -560.000000
-106.049858 880.094788 -557.851440
-62.483727 879.998169 -559.815613
-107.294510 224.096008 -558.045166
-108.605415 880.100403 -573.740356
-62.483727 879.998169 -575.815613
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-109.850052 224.101685 -573.934021
-151.713211 224.185425 -567.736023
-107.294510 224.096039 -558.045166
-145.827698 880.174377 -551.959106
-106.049858 880.094788 -557.851440
-146.824326 224.175171 -552.180481
-150.716568 880.184631 -567.514648
-108.605415 880.100403 -573.740356
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-151.713211 224.185425 -567.736023
-189.589417 224.251068 -557.406128
-146.824326 224.175171 -552.180481
-181.817200 880.236755 -542.138428
-145.827698 880.174377 -551.959106
-182.589447 224.237213 -542.406128
-188.817200 880.250671 -557.138428
-150.716568 880.184631 -567.514648
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-189.589417 224.251099 -557.406128
-223.478745 224.298462 -542.944214
-182.589447 224.237244 -542.406128
-214.018417 880.281860 -528.389648
-181.817200 880.236755 -542.138428
-214.589874 224.282043 -528.721985
-222.907288 880.298279 -542.611877
-188.817200 880.250671 -557.138428
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-223.478745 224.298462 -542.944214
-253.381088 224.327423 -524.350403
-214.589874 224.282043 -528.721985
-242.431244 880.309326 -510.712555
-214.018417 880.281860 -528.389648
-242.825562 224.309448 -511.128174
-252.986786 880.327332 -523.934753
-222.907288 880.298279 -542.611877
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-279.296509 224.337769 -501.624603
-301.224976 224.329346 -474.766846
-267.296539 224.319275 -489.624634
-287.891876 880.311157 -463.573730
-267.055756 880.319214 -489.107239
-288.002747 224.311401 -464.211304
-301.114075 880.329163 -474.129242
-279.055725 880.337708 -501.107239
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-301.224976 224.329376 -474.766846
-319.166473 224.302032 -443.777313
-288.002747 224.311401 -464.211304
-304.939697 880.285339 -434.112122
-287.891876 880.311157 -463.573730
-304.944275 224.285614 -434.888458
-319.161926 880.301697 -443.000977
-301.114075 880.329163 -474.129242
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-319.166473 224.302063 -443.777313
-333.120972 224.255615 -408.655823
-304.944275 224.285645 -434.888458
-318.199097 880.241150 -400.722229
-304.939697 880.285339 -434.112122
-318.121002 224.241760 -401.655823
-333.199097 880.255066 -407.722229
-319.161926 880.301697 -443.000977
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-333.120972 224.255615 -408.655823
-343.088470 224.189880 -369.402435
-318.121002 224.241760 -401.655823
-327.670105 880.178711 -363.404266
-318.199097 880.241150 -400.722229
-327.532928 224.179626 -364.513550
-343.225616 880.189026 -368.293152
-333.199097 880.255066 -407.722229
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-343.088470 224.189880 -369.402435
-349.069061 224.104736 -326.017090
-327.532928 224.179626 -364.513550
-333.352722 880.097717 -322.157990
-327.670105 880.178711 -363.404266
-333.180176 224.099091 -323.461517
-349.241608 880.103394 -324.713531
-343.225616 880.189026 -368.293152
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-349.069061 224.104736 -326.017090
-351.062531 223.999985 -278.500000
-333.180176 224.099091 -323.461517
-335.246918 879.998169 -276.983734
-333.352722 880.097717 -322.157990
-335.062531 223.999985 -278.500000
-351.246918 879.998169 -276.983734
-349.241608 880.103394 -324.713531
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-26.218750 223.910156 -558.843750
21.904839 223.803741 -551.335327
-24.281250 223.910156 -574.781250
27.649822 879.796753 -566.708313
-22.764977 879.908325 -574.596863
26.374441 223.798035 -566.852722
23.180222 879.802490 -551.190979
-24.702477 879.908325 -558.659363
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
21.904839 223.803757 -551.335327
65.429298 223.720337 -541.070007
26.374441 223.798035 -566.852722
73.240845 879.709106 -555.886719
27.649822 879.796753 -566.708313
72.182739 223.709961 -555.972656
66.487396 879.719482 -540.983948
23.180222 879.802490 -551.190979
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
65.429298 223.720337 -541.070007
104.354584 223.658844 -528.047485
72.182739 223.709961 -555.972656
114.008064 879.644287 -542.132263
73.240845 879.709106 -555.886719
113.143608 223.644806 -542.141296
105.219032 879.658325 -528.038513
66.487396 879.719482 -540.983948
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
104.354584 223.658829 -528.047485
138.680725 223.618134 -512.268066
113.143608 223.644806 -542.141296
149.951492 879.601318 -525.444824
114.008064 879.644287 -542.132263
149.257080 223.601517 -525.358337
139.375137 879.617920 -512.354553
105.219032 879.658325 -528.038513
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
138.680725 223.618134 -512.268066
168.407684 223.597137 -493.731567
149.257080 223.601532 -525.358337
181.071075 879.578857 -505.824402
149.951492 879.601318 -525.444824
180.523087 223.578979 -505.623932
168.955673 879.597046 -493.932037
139.375137 879.617920 -512.354553
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
168.407684 223.597153 -493.731567
193.535461 223.594788 -472.438110
180.523087 223.578979 -505.623932
207.366867 879.576050 -483.271057
181.071075 879.578857 -505.824402
206.941666 223.576096 -482.938141
193.960648 879.594727 -472.771088
168.955673 879.597046 -493.932037
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
193.535461 223.594788 -472.438110
214.064041 223.609940 -448.387665
206.941666 223.576096 -482.938141
228.838806 879.591614 -457.784729
207.366867 879.576050 -483.271057
228.512772 223.591766 -457.300842
214.390045 879.609802 -448.871552
193.960648 879.594727 -472.771088
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
214.064041 223.609940 -448.387665
229.993454 223.641510 -421.580383
228.512772 223.591766 -457.300842
245.486938 879.624695 -429.365662
228.838806 879.591614 -457.784729
245.236481 223.624908 -428.712280
230.243881 879.641296 -422.233765
214.390045 879.609802 -448.871552
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
229.993454 223.641510 -421.580383
241.323593 223.688416 -392.015961
245.236481 223.624893 -428.712280
257.311157 879.673889 -398.013550
245.486938 879.624695 -429.365662
257.112640 223.674408 -397.172180
241.522110 879.687927 -392.857300
230.243881 879.641296 -422.233765
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 4 2 0 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
241.323593 223.688416 -392.015961
248.054520 223.749557 -359.694702
257.112640 223.674408 -397.172180
264.311493 879.738403 -363.728607
257.311157 879.673889 -398.013550
264.141327 223.739166 -362.680786
248.224701 879.748718 -360.742523
241.522110 879.687927 -392.857300
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
248.054520 223.749557 -359.694702
250.186295 223.823837 -324.616394
264.141327 223.739166 -362.680786
266.488037 879.816833 -326.510651
264.311493 879.738403 -363.728607
266.322571 223.818115 -325.237885
250.351776 879.822510 -325.889160
248.224701 879.748718 -360.742523
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
250.186295 223.823837 -324.616394
247.718750 223.910156 -286.781250
266.322571 223.818130 -325.237885
263.840637 879.908325 -286.360016
266.488037 879.816833 -326.510651
263.656250 223.910156 -284.843750
247.903137 879.908325 -288.297516
250.351776 879.822510 -325.889160
faces
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 2 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 0 1 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-32.562485 224.000000 58.437496
14.565332 224.104492 56.315948
-32.562485 224.000000 42.437496
10.765136 880.097595 40.233425
-34.078766 879.998169 42.253109
12.009784 224.098846 40.427063
13.320684 880.103271 56.122311
-34.078766 879.998169 58.253109
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
14.565332 224.104492 56.315948
57.595139 224.190552 49.951305
12.009784 224.098816 40.427063
51.709625 880.179504 34.174370
10.765136 880.097595 40.233425
52.706264 224.180298 34.395756
56.598503 880.189758 49.729923
13.320684 880.103271 56.122311
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
57.595139 224.190552 49.951305
96.526917 224.257996 39.343594
52.706264 224.180298 34.395756
88.754684 880.243713 24.075970
51.709625 880.179504 34.174370
89.526932 224.244141 24.343605
95.754662 880.257568 39.075966
56.598503 880.189758 49.729923
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
96.526917 224.257996 39.343594
131.360657 224.306671 24.492802
89.526932 224.244141 24.343605
121.900314 880.290100 9.938217
88.754684 880.243713 24.075970
122.471786 224.290222 10.270599
130.789185 880.306458 24.160431
95.754662 880.257568 39.075966
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
131.360657 224.306702 24.492802
162.096344 224.336426 5.398979
122.471786 224.290283 10.270599
151.146484 880.318359 -8.238850
121.900314 880.290100 9.938217
151.540802 224.318451 -7.823219
161.702026 880.336365 4.983356
130.789185 880.306458 24.160431
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 3 4 7 0x00000000 internal/editor/textures/editor_clip
brush
vertices
162.096344 224.336426 5.398979
188.733978 224.347046 -17.937912
151.540802 224.318420 -7.823219
176.493225 880.328430 -30.455254
151.146484 880.318359 -8.238850
176.734009 224.328552 -29.937881
188.493195 880.346985 -18.455269
161.702026 880.336365 4.983356
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
188.733978 224.347046 -17.937912
211.273544 224.338379 -45.517830
176.734009 224.328552 -29.937881
197.940460 880.320129 -56.710960
176.493225 880.328430 -30.455254
198.051346 224.320435 -56.073341
211.162659 880.338135 -46.155418
188.493195 880.346985 -18.455269
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
211.273544 224.338379 -45.517830
229.715073 224.310272 -77.340775
198.051346 224.320404 -56.073341
215.488281 880.293518 -87.005981
197.940460 880.320129 -56.710960
215.492859 224.293823 -86.229622
229.710495 880.309998 -78.117111
211.162659 880.338135 -46.155418
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
229.715073 224.310242 -77.340775
244.058441 224.262512 -113.406708
215.492859 224.293823 -86.229622
229.136551 880.248108 -121.340256
215.488281 880.293518 -87.005981
229.058456 224.248657 -120.406670
244.136536 880.261963 -114.340271
229.710495 880.309998 -78.117111
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
244.058441 224.262543 -113.406708
254.303726 224.195038 -153.715668
229.058456 224.248688 -120.406670
238.885315 880.183838 -159.713837
229.136551 880.248108 -121.340256
238.748169 224.184753 -158.604523
254.440872 880.194153 -154.824982
244.136536 880.261963 -114.340271
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
254.303726 224.195038 -153.715668
260.450958 224.107574 -198.267609
238.748169 224.184753 -158.604523
244.734650 880.100525 -202.126709
238.885315 880.183838 -159.713837
244.562073 224.101929 -200.823151
260.623535 880.106201 -199.571167
254.440872 880.194153 -154.824982
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
260.450958 224.107574 -198.267609
262.500000 224.000000 -247.062485
244.562073 224.101929 -200.823151
246.684387 879.998169 -248.578766
244.734650 880.100525 -202.126709
246.500000 224.000000 -247.062485
262.684387 879.998169 -248.578766
260.623535 880.106201 -199.571167
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 1 5 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-253.381088 224.327423 -524.350403
-279.296509 224.337784 -501.624603
-242.825562 224.309448 -511.128174
-267.055756 880.319214 -489.107239
-242.431244 880.309326 -510.712555
-267.296539 224.319290 -489.624634
-279.055725 880.337708 -501.107239
-252.986786 880.327332 -523.934753
faces
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 2 5 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 2 4 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 5 3 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 0 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 7 6 0x00000000 internal/editor/textures/editor_clip
brush
vertices
640.000000 672.000000 -896.000000
640.000000 672.000000 400.000000
656.000000 672.000000 400.000000
656.000000 672.000000 -896.000000
640.000000 0.000000 -896.000000
640.000000 0.000000 400.000000
656.000000 0.000000 400.000000
656.000000 0.000000 -896.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 structural/dev/dev_grey128
brush
vertices
-760.000000 664.000000 400.000000
648.000000 664.000000 400.000000
648.000000 664.000000 384.000000
-760.000000 664.000000 384.000000
-760.000000 0.000000 400.000000
648.000000 0.000000 400.000000
648.000000 0.000000 384.000000
-760.000000 0.000000 384.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
-776.000000 0.000000 416.000000
640.000000 0.000000 416.000000
640.000000 0.000000 -896.000000
-776.000000 0.000000 -896.000000
-776.000000 -16.000000 416.000000
640.000000 -16.000000 416.000000
640.000000 -16.000000 -896.000000
-776.000000 -16.000000 -896.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
-136.000000 8.000000 -200.000000
32.000000 8.000000 -200.000000
32.000000 8.000000 -224.000000
-136.000000 8.000000 -224.000000
-136.000000 0.000000 -200.000000
32.000000 0.000000 -200.000000
32.000000 0.000000 -224.000000
-136.000000 0.000000 -224.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
-112.000000 8.000000 -199.999985
-112.000000 8.000000 -368.000000
-136.000000 8.000000 -368.000000
-136.000000 8.000000 -199.999985
-112.000000 0.000000 -199.999985
-112.000000 0.000000 -368.000000
-136.000000 0.000000 -368.000000
-136.000000 0.000000 -199.999985
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 8.000000 -368.000000
-136.000000 8.000000 -368.000000
-136.000000 8.000000 -344.000000
32.000000 8.000000 -344.000000
32.000000 0.000000 -368.000000
-136.000000 0.000000 -368.000000
-136.000000 0.000000 -344.000000
32.000000 0.000000 -344.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
8.000000 8.000000 -368.000000
8.000000 8.000000 -199.999985
32.000000 8.000000 -199.999985
32.000000 8.000000 -368.000000
8.000000 0.000000 -368.000000
8.000000 0.000000 -199.999985
32.000000 0.000000 -199.999985
32.000000 0.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
-136.000000 240.000000 -200.000000
32.000000 240.000000 -200.000000
32.000000 240.000000 -368.000000
-136.000000 240.000000 -368.000000
-136.000000 8.000000 -200.000000
32.000000 8.000000 -200.000000
32.000000 8.000000 -368.000000
-136.000000 8.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
entity
type CameraPath
UInt32 entityIdAttachedTo 5
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type Target
Vector3 position 336.000000 256.000000 224.000000
Vector3 angles -135.000000 30.000000 0.000000
String32 name end
entity
type PlayerSpawn
Vector3 position -64.000000 280.000000 -256.000000
Vector3 angles 90.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 392.000122 0.000000 -256.000000
Vector3 angles -1170.000000 0.000000 0.000000
Bool8 teamB 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
|
1ff8e74e99c6913763aca12d9e15ef67d363b138 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH18/EX18.13/example18_13.sce | f9a96284959a9820a201682514d9ca97510bc609 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,035 | sce | example18_13.sce | //Chapter 18
//Example 18_13
//Page 440
clear;clc;
a=1*(cosd(120)+%i*sind(120));
r=1;
vry=200;
vyb=346;
vbr=400;
//referring to the phasor diagram
//vbr is twice vry, ie, factor =2
//vyb=1.75 times vry
alpha=acosd((1+1.75*cosd(90))/2);
Vry=vry*(cosd(180)+%i*sind(180));
Vyb=vyb*(cosd(90)+%i*sind(90));
Vbr=vbr*(cosd(-alpha)+%i*sind(-alpha));
printf("Vry = %.2f+j(%.2f) V \n", real(Vry), imag(Vry));
printf("Vyb = %.2f+j(%.2f) V \n", real(Vyb), imag(Vyb));
printf("Vbr = %.2f+j(%.2f) V \n\n", real(Vbr), imag(Vbr));
Ir=Vry/sqrt(3);
Iy=Vyb/sqrt(3);
Ib=Vbr/sqrt(3);
disp("Line current : ");
printf("Ir = %.2f /_%.2f A \n", abs(Ir), atand(imag(Ir)/real(Ir))+180);
printf("Iy = %.2f /_90 A \n", abs(Iy));
printf("Ib = %.2f /_%.2f A \n\n", abs(Ib), atand(imag(Ib)/real(Ib)));
Ir0=1/3*(Ir+Iy+Ib);
Ir1=1/3*(Ir+a*Iy+a^2*Ib);
Ir2=1/3*(Ir+a^2*Iy+a*Ib);
printf("Ir0 = %d A \n", abs(Ir0));
printf("Ir1 = %.2f /_%.2f A \n", abs(Ir1), atand(imag(Ir1)/real(Ir1))-180);
printf("Ir2 = %.2f /_%.2f A \n", abs(Ir2), atand(imag(Ir2)/real(Ir2)));
|
7cac120483f99923dba13427bcf80e0d139a8424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH3/EX3.5/Ex3_5.sce | a01846f15c9f6e24acc671c2890ba5734152d3b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | Ex3_5.sce | //Example 3-5, Page No - 108
clear
clc
It = 5.1
Ic =4.8
m=(2*((It/Ic)^2-1))^0.5
printf('The percentage of modulation is %.1f',m*100)
|
ea2ff6695cb17737b308e2176132c6696857dfe6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH5/EX5.7/ex5_7.sce | 2bd0776910011aaa05204fe953b0ee7699e76d6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | ex5_7.sce | clc;
clear all;
f = 7e6; // Ultrasonic frquency in hertz
theta = 45;
v = 1.5; // Blood velocity in m/s
U = 1500; // Ultrasonic velocity in m/s
deltaf = (2*f*v*cosd(45))/U
disp('Hz',deltaf,'The frequency of the doppler flowmeter is')
//Variation in anser as compared to textbook..checked in calculator also.. there is mistake in the book..
|
65a3a07501e020f769874a42da72ef90ce45286d | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH17/EX17.3/17_3.sce | 1bd974b31120981b4bb0e9d517f24eeb7ed8883f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | 17_3.sce | pathname=get_absolute_file_path('17_3.sce')
filename=pathname+filesep()+'17_3_data.sci'
exec(filename)
//Brake power
bp=(2*%pi*N*T)/60000
//Friction power
fp=ip-bp
//Percentage losses
Loss=fp/bp*100
printf("\n\nRESULTS\n\n")
printf("\nPercentage losses:%f\n",Loss) |
605cf97f770b48a8c9d1ce4d772b24a6a59da5ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH3/EX3.32/Ex3_32.sce | b73327fe2e85e378acce27e9d5f7934cdf7bf91a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 833 | sce | Ex3_32.sce | clc;
p=2; // number of poles
f=50; // frequency of machine
D=1.6; // diameter of cylindrical rotor
l=1.8; // length of cylindrical rotor
g=0.012; // air gap length
rm=4000; // peak value of rotor mmf
rs=6000; // peak value of stator mmf
ph=140; // phase difference between stator mmf and rotor mmf
uo=4*%pi*10^-7; // free space permeability0
disp('a');
rp=sqrt(rm^2+rs^2+2*rm*rs*cosd(ph));
printf('Resultant peak gap mmf is %f AT/pole\n',rp);
disp('b');
Bp=(uo*rp)/g;
printf('Peak gap flux density is %f T\n',Bp);
disp('c');
ge=(uo*%pi*D*l*rp^2)/(4*g);
printf('Total gap energy is %f Joules\n',ge);
disp('d');
T=(p*uo*%pi*D*l*rs*rm*sind(ph))/(4*g);
printf('Electromagnetic torque is %f Nm\n',T);
disp('e');
wm=(4*%pi*f)/2; // synchronous speed
P=(T*wm)/1000
printf('Electromagnetic power is %f KW',P);
|
9675933e446e1419f9bb1cdcbe994e8b6a727865 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH9/EX9.3/Ex9_3.sce | fad68c953430e79e60792309b862280de6f3479c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,273 | sce | Ex9_3.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 9 : Sinusoids and Phasors
// Example 9 - 3
clear; clc; close;
//
// Given data
Z1 = complex(40*cosd(50.0000),40*sind(50.0000));
Z2 = complex(20*cosd(-30.0000),20*sind(-30.0000));
Z3 = complex(10*cosd(-30.0000),10*sind(-30.0000));
Z4 = complex(3.0000,-4.0000);
Z5 = complex(2.0000,4.0000);
Z6 = conj(complex(3.0000,-5.0000));
//
// Calculations Part a
Ztot_a = Z1 + Z2;
Ztot_a_mag = norm(Ztot_a);
Ztot_a_angle = atand(imag(Ztot_a),real(Ztot_a))
Ztot_mag_a = sqrt(Ztot_a_mag);
Ztot_angle_a = 0.500 * Ztot_a_angle;
// Calculations Part b
Ztot_b = (Z3 + Z4)/(Z5*Z6);
Ztot_mag_b = norm(Ztot_b);
Ztot_angle_b = atand(imag(Ztot_b),real(Ztot_b));
//
disp("Example 9-3 Solution : ");
disp("a. Part a : ");
printf(" \n Ztot_mag_a = Magnitude of Ztot a = %.3f ",Ztot_mag_a)
printf(" \n Ztot_angle_a = Angle of Ztot a = %.3f degree",Ztot_angle_a)
disp("")
disp("b. Part b : ");
printf(" \n Ztot_mag_b = Magnitude of Ztot b = %.3f ",Ztot_mag_b)
printf(" \n Ztot_angle_b = Angle of Ztot b = %.3f degree",Ztot_angle_b)
|
4c87c4daac36e456e485eec5946bd03c290c2edc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH1/EX1.17/Ex1_17.sce | 68b1a59838e41cb5304fe23dcbaacea99af7bc05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex1_17.sce |
// ch-1 page-36,37 pb-7
//
//
BE=50
AB=25
AEC=157.5-67.5
al=atan(BE/AB)
al=al*(180/%pi)
printf("\n al %0.3f ",al)
bt=90-al
printf("\n bt= %0.3f ",bt)
k=(tan(bt*%pi/180))
printf("\n k= %0.3f ",k)
BC=BE/k
C=275.5+BC
printf("\n chinage of c is %0.3f meters',C)
|
bf7a35d450a677a2b9a2c82d246014b0468f6f58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH3/EX3.8/Ch03Exa8.sce | 187470403f5d21c5e3093665826379184b4e0d69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | Ch03Exa8.sce | // Scilab code Exa3.8 : : Page 125(2011)
clc; clear;
x = 0.25; // Thickness of Al, metre
U_l = 1/x*log(50); // Linear absorption coefficient
d = 2700; // density of the Al, Kg per cubic centimetre
x_h = log(2)/U_l; // Half value thickness of Al, metre
U_m = U_l/d; // Mass absorption coefficient, square metre per Kg
printf("\nThe half value thickness of Al = %6.4f Kg per cubic metre \nThe mass absorption coefficient = %7.5f square metre per Kg ",x_h, U_m);
// Result
// The half value thickness of Al = 0.0443 Kg per cubic metre
// The mass absorption coefficient = 0.00580 square metre per Kg
|
7707f23ef473ac6faf16fe02864d474317663384 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH1/EX1.17/1Ex17.sce | 29911283b03620d70fe42693caf84422c394d52c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 1Ex17.sce | //chapter 1 Ex 17
clc;
clear;
close;
dividend=2010;
divisor=19;
mod=modulo(dividend,divisor); //remainder
printf("The least number to be added is %d",(divisor-mod));
|
3217b22cc522b96e03bfbb49e6040ac20a2855e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH8/EX8.10/8_10.sce | 0f8ee5d07d9d21c0b46f7479edd999084d641013 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | 8_10.sce |
clc
//initialisation of variables
ph=13.89 //pressure in bar under 36 degrees temp
p1=1.447 //pressure in bar under -26 degrees temp
h1=1411.4 //kj/kg
s1=5.718 //kj/kgk
h2=1561.7 //kj/kg
h3= 150 //kj/kg
h4=185.8 //kj/kg
h5=1445.5 //kj/kg
s5=5.327 //kj/kgk
s5=5.327 //kj/kgk
h6=1607.6 //kj/kg
r=25
//CALCULATIONS
pi=(p1*ph)^0.5
m1=(3.5164*r)/(h1-h4)
mh=m1*(h2-h3)/(h5-h1)
poc=m1*(h2-h1)
pohc=mh*(h6-h5)
pr=poc+pohc
re=h1-h4
wi=(h2-h1)+(h6-h5)
cop=re/wi
//RESULTS
printf('power of lp compressor is %2fkw',poc)
printf('\npower of hp compressor is %2fkw',pohc)
printf('\ntotal power required is %2fkw',pr)
printf('\nrefrigerating effect is%2fkj/kg',re)
printf('\ncoefficient of performance is %2f',cop)
|
0cf33785eb3ea2efd687854c7f318d208af74629 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH3/EX3.12/Example_3_12.sce | a3de9a7fbd4e00d6c84c0006481febf11ad29571 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Example_3_12.sce | //Chemical Engineering Thermodynamics
//Chapter 3
//First Law of Thermodynamics
//Example 3.12
clear;
clc;
//Given
W = 0;//pump work
Mi = 0;//chamber is initially evacuated
M2 = 0;//no exist stream
H1 = 684.2;//enthalpy of steam at 200 deg cel & 3 Kgf/cm^2
//To calculate the internal energy of the steam in the chamber
//Q=150*m1;.. (a) heat lost from the chamber in Kcal/Kg
//m1=mf;..(b) mass of steam added from large pipe is equal to steam in chamber
//H1*M1-Q=Mf*Ef; using (a)&(b)
Ef = H1-150;
mprintf('The internal energy of steam in chamber is %f Kcal',Ef);
//end |
3e78aa6b1da31be5cfe00a2d989fabade8b101c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH2/EX2.17/Ex2_17.sce | 72db5cc58eeaed6dfac79199774bbe4b2b0a55c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,297 | sce | Ex2_17.sce | clear
//
//variable declaration
P1=5.0 //Inclined at 45° down Loading at 3m distance from A,KN
P2=10.0 //Inclined at 45° down Loading at 2m distance from A,KN
P3=10.0 //Inclined at 45° down Loading at 1m distance from A,KN
P4=5.0 //Inclined at 45° down Loading A,KN
P8=5.0 //Inclined at 45° UP Loading at 3m distance from A,KN
P7=10.0 //Inclined at 45° UP Loading at 2m distance from A,KN
P6=10.0 //Inclined at 45° UP Loading at 1m distance from A,KN
P5=5.0 //Inclined at 45° UP Loading A,KN
a=1.0
theta=45.0*%pi/180.0
//The roof is inclined at 45° to horizontal and loads are at 90° to the roof. Hence, the loads are also inclined at 45° to vertical/horizontal.
//assume Resulat R at distance d from A,
//sum of vertical Fy & sum of horizontal forces Fx is zero
//Assume direction of Fx is right
//Assume direction of Fy is up
Rx=(P1+P2+P3+P4+P5+P6+P7+P8)*cos(theta)
Ry=-(P1+P2+P3+P4)*sin(theta)+(P5+P6+P7+P8)*sin(theta)
printf("\n R= %0.3f KN",Rx)
//and its direction is horizontal
//Let R be at a distance d from the ridge A
//moment at A
d=((P1*3*cos(theta)*a+P2*cos(theta)*2*a+P3*cos(theta)*a)*2)/(Rx)
printf("\n d= %0.1f m \n Resultant is a horizontal force of magnitude %0.3f at %0.1f m below A.",d,Rx,d)
|
f28e8c9c579a2b9c73b7f9a9243423c8d2820a5c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummin/cummin1.sce | 8b555610b94374d838a155eabcbb316eb8bcb2c3 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | cummin1.sce | //check o/p when i/p is a vector
v =[8 9 1 10 6 1 3 6 10 10];
m=cummin(v);
disp(m);
//output
// column 1 to 7
//
// 8. 8. 1. 1. 1. 1. 1.
//
// column 8 to 10
//
// 1. 1. 1.
|
940bd36ba83cef8e666215621b5eded8a3aa037e | d798d97f3aec3c77fe1b7db97e484616f605aada | /fernando.sce | df3101046327f6ced797d784c04260886325e9ea | [] | no_license | fazedo/modelagem | 2261ddfb394cc0def69eabfd88abe8a1d42a1ea7 | 3b4416c0469448117b9bb7c7a3ac562d871b620b | refs/heads/master | 2020-03-11T15:41:00.712925 | 2018-04-18T18:03:05 | 2018-04-18T18:03:05 | 130,092,684 | 0 | 6 | null | 2018-04-25T14:10:50 | 2018-04-18T16:36:26 | Scilab | UTF-8 | Scilab | false | false | 44 | sce | fernando.sce | // 18/04
x = linspace(0,1,100)
plot(x,x^2)
|
2719bdb1ff53737b3e0c339e51ae12265ccb4ff3 | b2cbc23f2e9dc31f702c70586996c19381f69958 | /Libraries/EyeLink/SampleExperiments/PresLink Example/track.sce | cb4e196d4e17cc0aef284f988e318367b7157fd3 | [] | no_license | TCRichards/Insights | 80ee98da3687f4e5d4487fb3da61aaf2b5a7d2a8 | 56f5aec3ab64026d3c61514bdb4ef5731ecd327e | refs/heads/master | 2020-04-22T05:12:22.443858 | 2019-02-17T19:04:56 | 2019-02-17T19:04:56 | 170,151,858 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,130 | sce | track.sce | no_logfile = true;
begin;
picture {
background_color = 153,153,153;
} et_calibration;
#stimulus display graphics.
array {
bitmap { filename = "dixie.jpg"; preload = false; scale_factor = 2.0; };
bitmap { filename = "town.jpg"; preload = false; scale_factor = 2.0; };
} graphics;
#cursor for left eye
ellipse_graphic { ellipse_height = 50; ellipse_width = 50; color = 0,255,0; } left_cursor;
#cursor for right eye
ellipse_graphic { ellipse_height = 50; ellipse_width = 50; color = 0,0,255; } right_cursor;
trial {
picture {
# placeholder - set by PCL
box { height = 1; width = 1; color = 0,0,0; };
x = 0; y = 0;
} pic1;
} trial1;
begin_pcl;
# utility function returns the last button press
sub
int get_last_button_press_id(string buttonstr )
begin
if buttonstr.count() >0 then
array <string> starr[2];
buttonstr.split(" ",starr);
return int(starr[1]);
end;
return 0;
end;
int dheight = display_device.height();
int dwidth = display_device.width();
int x =0;
int y =0;
#initialize PresLink.
eye_tracker tracker = new eye_tracker( "PresLink" );
#tracker.set_parameter("tracker_address", ""); # running as dummy mode
#connect to Eyelink tracker.
tracker.start_tracking();
#tracker.set_parameter("dc_err_sound", "on"); #turn on/off drift correction error sound
string tracker_ver = tracker.get_parameter("tracker_version");
#tracker_ver would be something like EYELINK CL 4.48, but we want to get the 4.48
array <string> starr[5];
tracker_ver.split(" ",starr);
double tr_v = double(starr[3]);
#open edf file on the tracker.
string edf_name = "track.edf";
if(logfile.subject().count() >0) then
edf_name = logfile.subject() + ".edf";
end;
tracker.set_parameter("open_edf_file",edf_name);
#set preamble
tracker.send_command("add_file_preamble_text 'PresLink Example 1'");
string msg_res = "0 0 ";
msg_res.append(string(dwidth-1));
msg_res.append(" ");
msg_res.append(string(dheight-1));
string msg_coord = "DISPLAY_COORDS 0 0 ";
msg_coord.append(string(dwidth-1));
msg_coord.append(" ");
msg_coord.append(string(dheight-1));
tracker.set_parameter("screen_pixel_coords", msg_res);
tracker.send_message(msg_coord);
tracker.set_parameter("file_event_filter", "LEFT,RIGHT,FIXATION,SACCADE,BLINK,MESSAGE,BUTTON,INPUT");
tracker.set_parameter("link_event_filter","LEFT,RIGHT,FIXATION,SACCADE,BLINK,BUTTON,INPUT");
if (tr_v >=4.0) then
tracker.set_parameter("link_sample_data" ,"LEFT,RIGHT,GAZE,GAZERES,AREA,STATUS,HTARGET,INPUT");
tracker.set_parameter("file_sample_data", "LEFT,RIGHT,GAZE,AREA,GAZERES,STATUS,HTARGET,INPUT");
else
tracker.set_parameter("link_sample_data","LEFT,RIGHT,GAZE,GAZERES,AREA,STATUS,INPUT");
tracker.set_parameter("file_sample_data", "LEFT,RIGHT,GAZE,AREA,GAZERES,STATUS,INPUT");
end;
#program button #5 for use in drift correction
tracker.send_command("button_function 5 'accept_target_fixation'");
#tell the tracker to use 9 point calibration.
tracker.set_parameter("calibration_type","HV9");
#tell PresLink that we need gaze data for both eyes (if available)
tracker.start_data( et_left, dt_position, false );
tracker.start_data( et_right, dt_position, false );
loop
int i = 1
until
i > graphics.count()
begin
#-----------------------CALIBRATION----------------------
#
#tell PresLink to use the target.bmp as the target - taken from stimulus_directory.
#otherwise the default crosshairs target will be displayed.
#string target_fname = stimulus_directory +"target.bmp";
#tracker.set_parameter("target_file",target_fname);
#clear out the default calibration target so that we don't get data from previous drawing.
et_calibration.set_background_color(153,153,153);
et_calibration.clear();
et_calibration.present();
#start calibration with camera support
tracker.calibrate( et_calibrate_default, 1.0, 0.0, 0.0 );
#drift correct at (0,0) with the options to allow Camera Setup and to draw a target
tracker.calibrate( et_calibrate_drift_correct, 7.0, 0.0, 0.0 );
#load the image.
graphics[i].set_load_size(double(display_device.height()),double(display_device.width()),0.0);
graphics[i].load();
pic1.clear(); #remove all
pic1.add_part(graphics[i],0,0);
#
#Send viewer integration messages and tracker commands to monitor recording.
#
tracker.send_command("clear_screen 0");
# This supplies the title at the bottom of the eyetracker display
string msg = "record_status_message 'TRIAL ";
msg.append(string(i));
msg.append("/");
msg.append(string(graphics.count()));
msg.append("'");
tracker.send_command(msg);
# Always send a TRIALID message before starting to record.
# It should contain trial condition data required for analysis.
msg= "TRIALID TRIAL ";
msg.append(string(i));
tracker.send_message(msg);
# TRIAL_VAR message is recorded for EyeLink Data Viewer analysis
# It specifies the list of trial variables value for the trial
# This must be specified within the scope of an individual trial (i.e., after
# "TRIALID" and before "TRIAL_RESULT")
msg = "!V TRIAL_VAR TRIAL_IMAGE ";
msg.append(graphics[i].filename());
tracker.send_message(msg);
# IMGLOAD command is recorded for EyeLink Data Viewer analysis
# It displays a default image on the overlay mode of the trial viewer screen.
# Writes the image filename + path info
msg = "!V IMGLOAD FILL ";
msg.append(graphics[i].filename());
tracker.send_message(msg);
#image transfer to EyeLink screen:
#image format can be 24bit bmp, jpg, or gif.
tracker.set_parameter("transfer_image",graphics[i].filename());
#set the the tracker to idle mode.
tracker.send_command("set_idle_mode");
#give some time for the tracker to switch mode.
wait_interval(50);
#start recording
tracker.set_recording(true);
#present the stimulus
trial1.present();
#mark the time we presented the stimulus
tracker.send_message("SYNCTIME");
#get the available eye.
int eye_av = int(tracker.get_parameter("eye_available"));
int left_index = 2;
int right_index = 3;
if(eye_av == 0) then
pic1.add_part(left_cursor,0,0);
left_index = 2;
right_index = -1;
elseif(eye_av == 1) then
pic1.add_part(right_cursor,0,0);
right_index = 2;
left_index = -1;
else
pic1.add_part(left_cursor,0,0);
pic1.add_part(right_cursor,0,0);
end;
bool button_pressed = false;
loop
int end_time = clock.time() + 25000
until
clock.time() >= end_time || button_pressed
begin
int modified = 0;
#check for new button presses
button_pressed = get_last_button_press_id(tracker.get_parameter("last_button_press"))!=0;
if ((eye_av == 0 || eye_av == 2)) then
#we have left data OR both eye data
if(tracker.new_position_data(et_left) >0) then
eye_position_data epd = tracker.last_position_data(et_left);
pic1.set_part_x( left_index, epd.x());
pic1.set_part_y( left_index, epd.y());
modified = 1;
end;
end;
if ((eye_av == 1 || eye_av == 2)) then
#we have right data OR both eye data
if(tracker.new_position_data(et_right) >0) then
eye_position_data epd = tracker.last_position_data(et_right);
pic1.set_part_x( right_index, epd.x());
pic1.set_part_y( right_index, epd.y());
modified = 1;
end;
end;
if(modified == 1) then
trial1.present();
end;
modified = 0;
end;
pic1.clear();
pic1.set_background_color(153,153,153);
pic1.present();
wait_interval(100);
#stop recording.
tracker.set_recording(false);
msg= "TRIAL_RESULT ";
msg.append(string(0));
tracker.send_message(msg);
graphics[i].unload();
i = i + 1
end;
#close file before transfer is required
tracker.send_command("set_idle_mode");
wait_interval(500);
tracker.set_parameter("close_data_file", "");
wait_interval(100);
#transfer the edf file. Note Presentation places files specified without a path in the user's home directory.
#in this example pres_1.edf will be placed in your home directory. (eg. in xp C:\documents and settings\<username>
string edf_fname = logfile_directory + edf_name;
tracker.set_parameter("get_edf_file",edf_fname);
tracker.stop_tracking(); |
4bc6d39fb9ac55738347ba815d966db5ab717c29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH10/EX10.4/10_4.sce | 0a43c3801376752b70bb8260dc5a0ec812fe5b41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | 10_4.sce | clc;
y=1.135;
p1=10;
pc=p1*[2/(y+1)]^[(y/(y-1))];
h1=2778;
hc=2675;
xc=0.962;
vg=0.328;
vc=xc*vg;
Cc=(2*[h1-hc]*10^3)^0.5;
A_m=vc/Cc*10^6;
disp(A_m);
|
36effd3f20c5f0691ea8f688533ab8dcff85c06e | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/mdaq_open.sci | a46dfc9eb2570bb0c26a84275a5ade87a3eac3e3 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 555 | sci | mdaq_open.sci | function link_id = mdaq_open()
global %microdaq;
link_id = -1;
result = 0;
[ip_address, result] = mdaq_get_ip();
if result < 0 then
disp("ERROR: Unable to get IP address - run microdaq_setup!");
return;
end
link_id = mdaq_connect(ip_address, 4343);
if link_id == -1 then
ulink(%microdaq.private.mlink_link_id);
exec(mdaq_toolbox_path()+filesep()+"etc"+filesep()+..
"mlink"+filesep()+"MLink.sce", -1);
link_id = mdaq_connect(ip_address, 4343);
end
endfunction
|
68ec0a84e72d8bec1787705819bdc04c874200f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH4/EX4.4/Example44.sce | 00c8b24f48d9527f62e5e4f680e32e502ade9839 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,097 | sce | Example44.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 4, Example 4")
//Impeller tip diameter = 1m
//Speed = 5945 rpm
//Mass flow rate of air = 28 kg/s
//Static pressure ratio p3/p1 = 2.2
//Atmospheric pressure = 1 bar
//Atmospheric temperature = 25 degree Celcius
//Slip factor = 0.90
disp("Neglect the power input factor.")
disp("The impeller tip speed is given by:")
D = 1;
N = 5945;
U2 = %pi*D*N/60
disp("The work input:")
sigma = 0.9;
W = sigma * U2^2 / 1000
disp("Using the isentropic P–T relation and denoting isentropic temperature by T3a, we get:")
T1 = 298;
r = 2.2;
T3a = T1 * (r)^ 0.286
disp("Hence the isentropic temperature rise: T3a - T1")
rise = T3a -T1
disp("The temperature equivalent of work done: T3 - T1")
Cp = 1.005
Weq = W/Cp
disp("The compressor adiabatic efficiency is given by:")
etac = rise/Weq * 100
disp("The air temperature at the impeller exit is:")
T3 = T1 + Weq
disp("Power input:")
m = 28;
P = m * W
|
4ab423c1ebdc8e547c255ef87608662ef7780530 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/num2pos.sce | 8301cafc3c87c62b841df9282e3d1fedafcd4338 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | num2pos.sce | function [i,j]=num2pos(k)
//S = sudoku with 9 rows and 9 columns
//k = element's position number
//(i,j)=position of the entry in the sudoku
i=1+pmodulo(k-1,9)
j=1+(k-i)/9
endfunction
|
6a84ecca11ea4cf265363ac36df657d9cf323792 | 8b33899f15bd0509e32f6c06319b7b1557c745f5 | /e3.sci | 55ade7da6c51e5403d47335df0597d86c553f7b0 | [] | no_license | c00kiemon5ter/NumericalAnalysis | fd162663f6a9a4cc6c648e41a1412fa71e83a75c | 1ff51ff805017100ebb87a98b5fef7acca3d0692 | refs/heads/master | 2021-01-01T19:15:21.559444 | 2014-06-25T09:39:25 | 2014-06-25T09:39:25 | 8,290,126 | 1 | 1 | null | 2014-06-25T09:39:25 | 2013-02-19T12:51:16 | Scilab | UTF-8 | Scilab | false | false | 1,443 | sci | e3.sci | // Exercise E3
// ------------
// Implement the cholesky analysis for a band and symmetric array
// so that you avoid unnecessary calculations.
// ---------------------------------------------------------
function L=cholesky(A)
[m,n]=size(A);
if m~=n then
disp('matrix u is not square');
return;
end
for k=1:n
for i=1:k-1
s=0;
if (i~=1) then
s=A(i, 1:i-1)*A(k, 1:i-1)';
end
A(k,i)=(A(k,i)-s)/A(i,i);
end
s=0;
if(k~=1) then
s=A(k, 1:k-1)*A(k, 1:k-1)';
end
A(k,k)= (A(k,k)-s)^0.5;
end
L=tril(A);
endfunction
// ---------------------------------------------------------
function L=choleskyBand(A)
[m,n]=size(A);
if m~=n then
disp('matrix u is not square');
return;
end
for k=1:n
for i=1:k-1
s=0;
if (i~=1) then
s=A(i, i-1)*A(k, i-1);
end
A(k,i)=(A(k,i)-s)/A(i,i);
end
s=0;
if(k~=1) then
s=A(k, k-1)*A(k, k-1);
end
A(k,k)= (A(k,k)-s)^0.5;
end
L=tril(A);
endfunction
// ---------------------------------------------------------
// Creates a sample table for testing
function A=Table(n) // n is the size of the array
A=zeros(n,n); // initially fill it with zeros
A(1,1)=2;
A(1,2)=-1;
for i=2:n-1
A(i,i-1)=-1; A(i,i)=2; A(i,i+1)=-1;
end
A(n,n-1)=-1; A(n,n)=2;
endfunction
// ---------------------------------------------------------
|
ed78785254c1716e6b6d62bce85bf1bed2678c5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH16/EX16.13/Ex16_13.sce | 6166a24ce79bbc7c6344357a5f672807009e46cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | Ex16_13.sce | clc;
close();
clear();
//page no 535
//prob no. 16.13
n1=1; //refraction index of air
E2=4 //material dielectric constant
theta_i=50 //angle of incidence in degree (misprinted in the solution)
n2=sqrt(E2);
theta_r=asin(n1/n2*sin(theta_i*%pi/180));
mprintf(' The angle of refraction is %.2f \n (using angle of incidence =50)\n',theta_r*180/%pi);
//misprinted angle
|
8fb35c3f25c1bd5457ec2bff475428a265ff8386 | 37f571307900de9b2a1d98af2255b3d2611eee34 | /pam.sce | 844994f0f30980960013d11ed4676200f85ea5dc | [] | no_license | gopaldutt39/Communication-Engineering | 935b33d2cbcb25f6a939350cccb2e8c5f05dbc85 | dadc680b3136bad851d4b24dd33c3f5e1cc10fbd | refs/heads/master | 2020-08-03T10:55:00.021475 | 2016-11-13T02:37:45 | 2016-11-13T02:37:45 | 73,548,002 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | pam.sce | Vp=3;
Vm=4.5;
t=0:0.01:2*10;
Vm = Vm*(sin(2*3.14*t)) ;
subplot(311);
plot(Vm);
subplot(312);
plot(Vp*Vm*(sin(2*3.14*t)));
|
a168f6ab6492efbd126d5109b88e8ace120b54e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH2/EX2.7.2/E2_7_2.sce | be8584648eb0a7bc1c54968b90e3f8237b0e69a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | E2_7_2.sce | clc;
F=300 // N , given force
AB=sqrt(8^2+6^2);// m Length of AB
cos_alpha=8/AB;
sin_alpha=-6/AB;
Fx=F*cos_alpha;//N, Horizontal component
Fy=F*sin_alpha;// N, Vertical Component
printf("Horizontal component of F is %.2f N\n",Fx);
printf("Vertial component of F is %.2f N\n",Fy);
printf("We may write F as \n F = %.2f i + %.2f j",Fx,Fy);
|
6d12c5e9a498f42553ec0bca01bfb39cffd84d58 | 637fcd60a4e2a98ebbeaaa9551554a13e1ebfdba | /quad/ctrl/paparazzi/sw/airborne/firmwares/vor/sci_gen_c_filters.sce | d25cf76236de45a5c23af2e894f388082acf9624 | [] | no_license | zoomx/lxyppc-tetrix | b7079c07aee9b85a34207245f526e1613fdb0498 | 884027f37594f9f006f88d634c4392a60c482491 | refs/heads/master | 2021-01-10T21:04:54.219013 | 2015-05-10T08:45:33 | 2015-05-10T08:45:33 | 35,362,463 | 12 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,523 | sce | sci_gen_c_filters.sce | //
//
// Generates C file and corresponding headers for filters used in
// C implementation
//
clear();
exec('sci_vor_filters.sci');
[filters] = vor_get_filters();
filter_name = [ "BP_VAR"
"BP_REF"
"LP_DECIM"
"LP_VAR"
"LP_REF"
"LP_FM" ];
function print_poly(fid, name, p, header)
c_p = coeff(p);
l_p = length(c_p);
l_ps = name+'_LEN';
if (header)
fprintf(fid, '#define %s %i\n', l_ps, l_p);
fprintf(fid, 'extern FLOAT_T %s[];\n', name);
else
fprintf(fid, 'FLOAT_T %s[%s]={\n', name, l_ps);
for i=l_p:-1:1
fprintf(fid,'%10.40f,\n',c_p(i));
end
fprintf(fid,'};\n');
end
endfunction
//
// header
//
filename = 'vor_filter_params';
fid = mopen(filename+'.h', 'w');
fprintf(fid,'#ifndef VOR_LF_FILTER_PARAMS_H\n');
fprintf(fid,'#define VOR_LF_FILTER_PARAMS_H\n\n');
for i=1:FILTER_NB
f = filters(i);
fn = filter_name(i);
fprintf(fid,'/* %s filter */\n', fn);
print_poly(fid, fn+"_NUM", f.tf.num, 1);
print_poly(fid, fn+"_DEN", f.tf.den, 1);
fprintf(fid,'\n');
end
fprintf(fid,'#endif /* VOR_LF_FILTER_PARAMS_H */\n');
mclose(fid);
//
// C
//
fid = mopen(filename+'.c', 'w');
fprintf(fid,'#include ""%s.h""\n\n', filename);
for i=1:FILTER_NB
f = filters(i);
fn = filter_name(i);
print_poly(fid, fn+"_NUM", f.tf.num, 0);
print_poly(fid, fn+"_DEN", f.tf.den, 0);
fprintf(fid,'\n');
end
mclose(fid);
|
68201b72112599bb3c02fd8bf514cd94722a5117 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH8/EX8.13/13.sce | 47e7470f72018c27d57409c9f8539da5fbc5e02b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | 13.sce | clc
//Example 8.13
//Calculate temperature and the velocity of air inside the shock wave
//Let subscript y denote air inside the shock wave and x denote the air outside the shock wave
ratio_T=1.2309//dimentionless
Tx=528//R (Rankine temperature scale)
Ty=ratio_T*Tx//R (Rankine temperature scale)
printf("temperature of air inside the shock wave is %f R\n",Ty);
My=0.7558//dimentionless
cy=1249//ft/s
Vy=My*cy//ft/s
printf("the velocity of air inside the shock wave is %f ft/s",Vy); |
4b15e262aad6b20f69366ba1c894ec0d98daf505 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/mtlb_prod.sci | e0855ca85281cde79d6bc94743c33a8d236c235a | [
"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 | 147 | sci | mtlb_prod.sci | function r=mtlb_prod(a)
// Copyright INRIA
if type(a)==4 then a=bool2s(a);end
if size(a,1)==1|size(a,2)==1 then
r=prod(a)
else
r=prod(a,1)
end
|
769cc831b71c7942bf0e3b0d78cd12fbac41f02a | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /main/vsCatenary/testfigurerobot.sce | 25f2532267024182413336dea3964c24943aac1d | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | testfigurerobot.sce |
figure(1);
a = gca();
a.box = "off";
a.filled = "on";
a.isoview = "on";
a.data_bounds = [-2;2;-2;2];
a.grid=[1,1];
for t=0:0.1:1
robot1 = [t;0;0;0;0;0.3];
robot2 = [t;1;0;0;0;0.2];
delete(a.children);
drawlater();
drawTurtleSide(robot1(1),robot1(3),0.6);
drawTurtleSide(robot2(1),robot2(3),0.6);
drawnow();
sleep(100);
end
|
dafb954f32ad835c6f16e537de7fd2a7d49c402f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH4/EX4.6/ex4_6.sce | 2b08ea24ae61cece4bb34ea6881d9fd1f429657f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | ex4_6.sce | // Example 4.6, page no-134
clear
clc
p=3600 //Power required
t=1.2 //worst case eclipse period
c=90 //capacity of each cell in Ah
v=1.3 //voltage of each cell in V
d=0.8 // Depth of discharge
e=0.95 //Discharge efficiency
E_sp=60 //specific energy specification of the battery
energy=p*t
n=energy/(c*v*d*e)
E_b=energy/(d*e)
m=E_b/E_sp
printf("No of cells, n= %.0f cells\n Energy required to be stored in the battery system is %.1f Wh\n Mass of battery system = %.2f kg",n,E_b,m)
|
be3a6f02af94c97d57e53263ab2e3400e3db2f79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.11.a/data7_11.sci | 6aa17b803d1d670c1fc2ace7a118f06fa4f0eec3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sci | data7_11.sci |
//(Threaded Joints) Example 7.11
//Refer Fig.7.26 on page 243
//Screw pitch circle diameter 2b (mm)
b = 300/2
//Flange diameter 2a (mm)
a = 400/2
//External force acting on the bearing P (kN)
P = 25
//Eccentricity value l (mm)
l = 150
//Maximum permissible tensile stress in the cap screw sigmaMax (N/mm2)
sigmaMax = 50
//Number of cap screws n
n = 4
|
32b23ffa9ecb91a17234d0426a6f2d88e95939be | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH13/EX13.10/example10_sce.sce | f64c2d193b9e4f38908c71e1ceca48664e9f4e01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | example10_sce.sce | //chapter 13
//example 13.10
//page 570
printf("\n")
printf("given")
hfemin=100;hfemax=400;hiemin=2*10^3;hiemax=5*10^3;Rc=12*10^3;Rl=120*10^3;Re1=150
disp(" voltage gain at extreme value ")
Avmax=(hfemax*((Rc*Rl)/(Rc+Rl)))/(hiemax+Re1*(1+hfemax))
Avmin=(hfemin*((Rc*Rl)/(Rc+Rl)))/(hiemin+Re1*(1+hfemin))
disp("approximate voltage gain")
Av=((Rc*Rl)/(Rc+Rl))/Re1 |
c4076c0db0fc1b56060d4768e603ff4c918cdd79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.21.c/EX26_21c.sce | e0ee9b33d7ec1cdf24c9671b410158d2d44b59bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,817 | sce | EX26_21c.sce | //EXAMPLE 26.21(c)
//4-POLE DC SHUNT GENERATOR
clc;
funcprot(0);
//Variable Initialisation
P=4;.........................//Total number of poles
S=80;........................//Total number of slots
C=10;.........................//Total number of conductor per slots
E1=400;.........................//Generated EMF at No load in Volts
N1=1000;........................//Speed of the generator in rpm
N2=800;.........................//Dropped speed of the generator in rpm
Al=P;.........................//Number of parallel paths in a lap wound generator
Z=S*C;........................//Total number of conductors
E2=220;.......................//Generated open circuit voltage in Volts
//Keeping speed held cnstant while changing the flux per pole
printf("(i)Keeping speed held cnstant while changing the flux per pole");
Phi1=(E1*60*Al)*1000/(P*N1*Z);...........//Flux per pole in Mili Webers at 400 Volts
disp(Phi1,"Flux per pole in Mili Webers at 400 Volts:");
Phi2=(E2/E1)*Phi1;....................//Flux per pole in Mili Webers at 220 Volts
disp(Phi2,"Flux per pole in Mili Webers at 220 Volts:");
if Phi2<Phi1 then
printf("By increasing the shunt field circuit resistance with the help of adding external rheostatic,\n");
printf("the current in the field circuit is reduced so as to decrease the flux to %0.1f mWb",Phi2);
end
//Keeping the same flux per pole while changing the speed
printf("\n \n(ii).Keeping the same flux per pole while changing the speed");
N=(E2*60)/((Phi1/1000)*N2);................//Speed of the generator in rpm at 30 Mili Webers
disp(N,"Speed of the generator in rpm at 30 Mili Webers:");
printf("Field circuit resistance must be reduced to a new value in order to obtain");
printf("\n %0.1f mWb of flux pole from a voltage of 220 V",Phi);
|
dfd00d0f704d2eb4392de77a0d76db26be390b21 | 43799901e22e995d4db64000ef28c0a787aeb11b | /ISAWIN/LINOV/KFCM/appli.tst | e52a3eea541702f7d0491b793d466a0211c2bef2 | [
"WTFPL"
] | permissive | aquaforum/tench_catch | 7082d8e8f3a224aa50be9150a96362f2f323a2be | 3f377476d82d7343edd985a6d3a41b57dc301f98 | refs/heads/master | 2023-07-17T13:33:10.901467 | 2021-08-22T19:29:09 | 2021-08-22T19:29:09 | 398,885,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,256 | tst | appli.tst | @ISA_SYMBOLS,148812259
#NAME,kfcm,3.41
#DATE,13.10.2017
#SIZE,G=6,S=0,T=0,L=0,P=8,V=52
#COMMENT,wsma1tst
@PROGRAMS,6
#!5001,PARM_STO
#!5002,IOS
#!5003,MANAGE
#!5004,CTRLPTS
#!5005,MUX2
#!5006,PREG
@STEPS,0
@TRANSITIONS,0
@BOOLEANS,73
#!1001,X_01,+I,!0000,FALSE,TRUE
#!1003,X_03,+I,!0000,FALSE,TRUE
#!1005,X_05,+I,!0000,FALSE,TRUE
#!1007,X_07,+I,!0000,FALSE,TRUE
#!1008,X_08,+I,!0000,FALSE,TRUE
#!1009,X_09,+I,!0000,FALSE,TRUE
#!100A,X_10,+I,!0000,FALSE,TRUE
#!100B,X_11,+I,!0000,FALSE,TRUE
#!100C,X_12,+I,!0000,FALSE,TRUE
#!100D,X_13,+I,!0000,FALSE,TRUE
#!100E,X_14,+I,!0000,FALSE,TRUE
#!100F,X_15,+I,!0000,FALSE,TRUE
#!1010,X_16,+I,!0000,FALSE,TRUE
#!1013,Y_ALM_1,+O,!0000,FALSE,TRUE
#!1018,Y_ALM_2,+O,!0000,FALSE,TRUE
#!1019,Y_08,+O,!0000,FALSE,TRUE
#!101A,Y_09,+O,!0000,FALSE,TRUE
#!101B,Y_10,+O,!0000,FALSE,TRUE
#!101C,Y_11,+O,!0000,FALSE,TRUE
#!101D,Y_12,+O,!0000,FALSE,TRUE
#!101E,Y_13,+O,!0000,FALSE,TRUE
#!101F,Y_14,+O,!0000,FALSE,TRUE
#!1020,Y_15,+O,!0000,FALSE,TRUE
#!1024,X_02,+X,!0000,FALSE,TRUE
#!1025,TRM,+X,!0000,FALSE,TRUE
#!1026,X_04,+X,!0000,FALSE,TRUE
#!1027,RUN,+X,!0000,FALSE,TRUE
#!1028,X_06,+X,!0000,FALSE,TRUE
#!1029,REV_01,+X,!0000,FALSE,TRUE
#!102A,REV_02,+X,!0000,FALSE,TRUE
#!102B,Y_RUN_1,+X,!0000,FALSE,TRUE
#!102C,Y_RUN_2,+X,!0000,FALSE,TRUE
#!102D,Y_RUN_3,+X,!0000,FALSE,TRUE
#!102E,MAN,+X,!0000,FALSE,TRUE
#!102F,SAVE,+X,!0000,FALSE,TRUE
#!1030,OFFCL_1,+X,!0000,FALSE,TRUE
#!1031,OFFCL_2,+X,!0000,FALSE,TRUE
#!1032,OFFCL_3,+X,!0000,FALSE,TRUE
#!1033,AM_01,+X,!0000,FALSE,TRUE
#!1034,AM_02,+X,!0000,FALSE,TRUE
#!1035,AM_12,+X,!0000,FALSE,TRUE
#!1036,AM_13,+X,!0000,FALSE,TRUE
#!1037,Y_ALM_3,+X,!0000,FALSE,TRUE
#!1038,AM_TV,+X,!0000,FALSE,TRUE
#!1039,NET_1,+X,!0000,FALSE,TRUE
#!103A,AMR_01,+X,!0000,FALSE,TRUE
#!103B,YP_3,+X,!0000,FALSE,TRUE
#!103C,YP_2,+X,!0000,FALSE,TRUE
#!103D,YP_1,+X,!0000,FALSE,TRUE
#!103E,PTS_P,+X,!0000,FALSE,TRUE
#!103F,START_P_3,+X,!0000,FALSE,TRUE
#!1040,START_P_2,+X,!0000,FALSE,TRUE
#!1041,START_P_1,+X,!0000,FALSE,TRUE
#!1042,PTS_Q_3,+X,!0000,FALSE,TRUE
#!1043,PTS_Q_2,+X,!0000,FALSE,TRUE
#!1044,PTS_Q_1,+X,!0000,FALSE,TRUE
#!1045,START_Q_3,+X,!0000,FALSE,TRUE
#!1046,START_Q_2,+X,!0000,FALSE,TRUE
#!1047,START_Q_1,+X,!0000,FALSE,TRUE
#!1048,NET_3,+X,!0000,FALSE,TRUE
#!1049,NET_2,+X,!0000,FALSE,TRUE
#!104A,TY_15,+X,!0000,FALSE,TRUE
#!104B,TY_14,+X,!0000,FALSE,TRUE
#!104C,Q_Y_OFF,+X,!0000,FALSE,TRUE
#!104D,Q_AM_01,+X,!0000,FALSE,TRUE
#!104E,Q_TNP,+X,!0000,FALSE,TRUE
#!104F,YP,+X,!0000,FALSE,TRUE
#!1050,AMR_02,+X,!0000,FALSE,TRUE
#!1051,RES,+X,!5001,FALSE,TRUE
#!1052,READ,+X,!5001,FALSE,TRUE
#!1053,AO_2,+X,!5002,FALSE,TRUE
#!1054,SEL_,+X,!5005,FALSE,TRUE
#!1055,AUTO_,+X,!5006,FALSE,TRUE
@ANALOGS,102
#!2012,XMIN_01,+X,!0000,F,
#!2013,XMIN_02,+X,!0000,F,
#!2014,FS_07,+X,!0000,F,
#!2015,PSUSP_ZD,+X,!0000,F,
#!2016,KP_01,+X,!0000,F,
#!2017,XMAX_01,+X,!0000,F,
#!2018,XMAX_02,+X,!0000,F,
#!2019,FS_08,+X,!0000,F,
#!201A,KP_02,+X,!0000,F,
#!201B,FS_09,+X,!0000,F,
#!201C,DSP_12,+X,!0000,F,
#!201D,LV_MAX,+X,!0000,F,
#!201E,DSP_13,+X,!0000,F,
#!201F,LV_MIN,+X,!0000,F,
#!2020,V_12,+X,!0000,F,
#!2021,NPV,+X,!0000,F,
#!2022,V_13,+X,!0000,F,
#!2023,LSUSP,+X,!0000,F,
#!2024,TI_01,+X,!0000,F,
#!2025,TI_02,+X,!0000,F,
#!2026,PAIR,+X,!0000,F,
#!2027,PSUSP,+X,!0000,F,
#!2028,GVODA,+X,!0000,F,
#!2029,TV_MAX,+X,!0000,F,
#!202A,SP_12,+X,!0000,F,
#!202B,TV_MIN,+X,!0000,F,
#!202C,SP_13,+X,!0000,F,
#!202D,MSP_12,+X,!0000,F,
#!202E,PVODA_ZD,+X,!0000,F,
#!202F,NF,+X,!0000,I,
#!2030,LCS,+X,!0000,F,
#!2031,XS_NP_ZD,+X,!0000,F,
#!2032,LVODA,+X,!0000,F,
#!2033,XS_ZD_MIN,+X,!0000,F,
#!2034,XV_ZD_MIN,+X,!0000,F,
#!2035,PVODA,+X,!0000,F,
#!2036,KF_01,+X,!0000,I,
#!2037,KF_10,+X,!0000,I,
#!2038,KF_02,+X,!0000,I,
#!2039,KF_11,+X,!0000,I,
#!203A,KF_03,+X,!0000,I,
#!203B,LP,+X,!0000,F,
#!203C,KF_12,+X,!0000,I,
#!203D,XV_01,+X,!0000,F,
#!203E,KF_04,+X,!0000,I,
#!203F,KF_13,+X,!0000,I,
#!2040,XV_02,+X,!0000,F,
#!2041,KF_05,+X,!0000,I,
#!2042,KF_06,+X,!0000,I,
#!2043,KF_07,+X,!0000,I,
#!2044,KF_08,+X,!0000,I,
#!2045,KF_09,+X,!0000,I,
#!2046,TVODA,+X,!0000,F,
#!2047,XSP_13,+X,!0000,F,
#!2048,LSUSP_MAX,+X,!0000,F,
#!2049,LS_START,+X,!0000,F,
#!204A,GSUSP,+X,!0000,F,
#!204B,FS_01,+X,!0000,F,
#!204C,FS_10,+X,!0000,F,
#!204D,FS_02,+X,!0000,F,
#!204E,TD_01,+X,!0000,F,
#!204F,FS_11,+X,!0000,F,
#!2050,LS_MIN,+X,!0000,F,
#!2051,FS_03,+X,!0000,F,
#!2052,FS_12,+X,!0000,F,
#!2053,TD_02,+X,!0000,F,
#!2054,FS_04,+X,!0000,F,
#!2055,FS_13,+X,!0000,F,
#!2056,FS_05,+X,!0000,F,
#!2057,NPS,+X,!0000,F,
#!2058,FS_06,+X,!0000,F,
#!2059,NV_ZD_3,+X,!0000,F,
#!205A,NV_ZD_2,+X,!0000,F,
#!205B,NV_ZD_1,+X,!0000,F,
#!205C,NS_ZD_3,+X,!0000,F,
#!205D,NS_ZD_2,+X,!0000,F,
#!205E,NS_ZD_1,+X,!0000,F,
#!205F,XR_02,+X,!0000,F,
#!2060,XR_01,+X,!0000,F,
#!2061,P_3,+X,!0000,F,
#!2062,P_2,+X,!0000,F,
#!2063,P_1,+X,!0000,F,
#!2064,PZD_3,+X,!0000,F,
#!2065,PZD_2,+X,!0000,F,
#!2066,PZD_1,+X,!0000,F,
#!2067,STATE_3,+X,!0000,I,
#!2068,STATE_2,+X,!0000,I,
#!2069,STATE_1,+X,!0000,I,
#!206A,SAV_ST,+X,!5001,I,
#!206B,NF_2,+X,!0000,I,
#!206C,XT_,+X,!5006,F,
#!206D,XOUT_,+X,!5006,F,
#!206E,IN2,+X,!5005,F,
#!206F,IN1,+X,!5005,F,
#!2070,MUX2,+X,!5005,F,
#!2071,XMAX_,+X,!5006,F,
#!2072,XMIN_,+X,!5006,F,
#!2073,P0_,+X,!5006,F,
#!2074,KP_,+X,!5006,F,
#!2075,X0_,+X,!5006,F,
#!2076,SP_,+X,!5006,F,
#!2077,PV_,+X,!5006,F,
@TIMERS,8
#!3001,TW_1,+X,!0000
#!3002,TW_2,+X,!0000
#!3003,TW_3,+X,!0000
#!3004,TNP_3,+X,!0000
#!3005,TNP_2,+X,!0000
#!3006,TNP_1,+X,!0000
#!3007,TNP,+X,!0000
#!3008,SAV_TM,+X,!5001
@MESSAGES,0
@USP,8
#!B001,EEP_N_R
#!B002,EEP_N_W
#!B003,EEP_PR
#!B004,EEP_EN
#!B005,REAL_INT
#!B006,INT_REAL
#!B007,TO_A4_20
#!B008,A4_20_TO
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@FBINSTANCES,0
@END_SYMBOLS
|
8ad181b00af1d50921c6e1f0ee632d7fe4ffede1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH2/EX2.21/2_21.sce | 36140b4ea5a85744669f7d257bc5f7417d4b80b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | 2_21.sce | //ramanujan's method
//example 2.21
//page 45
clc;clear;close;
deff('y=f(x)','1-((13/12)*x-(3/8)*x^2+(1/24)*x^3)');
a1=13/12,a2=-3/8,a3=1/24;
b1=1;
b2=a1;
b3=a1*b2+a2*b1;
b4=a1*b3+a2*b2+a3*b1;
b5=a1*b4+a2*b3+a3*b2;
b6=a1*b5+a2*b4+a3*b3;
b7=a1*b6+a2*b5+a3*b4;
b8=a1*b7+a2*b6+a3*b5;
b9=a1*b8+a2*b7+a3*b6;
printf('\n\n%f',b1/b2);
printf('\n%f',b2/b3);
printf('\n%f',b3/b4);
printf('\n%f',b4/b5);
printf('\n%f',b5/b6);
printf('\n%f',b6/b7);
printf('\n%f',b7/b8);
printf('\n%f',b8/b9);
printf('\n it appears as if the roots are converging at 2') |
3d85184ef2b2247324d3b201bbe3b9c5c1df6403 | 0ee3956f6556727a09cf2b2e537af1f13f1b342b | /Deprecated/Saliency.sce | 35d219d2b4967515cd5063a80e63eaea001ad681 | [
"MIT"
] | permissive | hipercog/PSICAT | 4827373578759fbc4861e1d487b070c17f291c71 | 27fa2f2b5b842a82f429bb3bac659a48306a2828 | refs/heads/master | 2022-02-18T22:44:40.617504 | 2019-10-21T13:51:40 | 2019-10-21T13:51:40 | 41,426,010 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,311 | sce | Saliency.sce | /**
DESCRIPTION: SCENARIO FILE PROVIDES DEFAULTS, GRAPHICAL OBJECTS, AND TRIAL
DEFINITIONS FOR A BLOCKED EXPERIMENT OF PRIMED KANIZSA SHAPES
Author : Ben Cowley
Created: 01-05-2012
Modded : 28-03-2017
*/
# FIXME TODO: can do language localisation?
# FIXME TODO: check all defaults are needed?
scenario = "PSICAT";
pcl_file = "PSICAT.pcl"; #code that actually runs the protocol
write_codes = true; # Write all codes to parallel port (for EEG acquisition)
pulse_width = 16; # Seems to work fine
default_font_size = 20;
default_font = "Verdana";
active_buttons = 2;
button_codes = 190, 199; # Response pad buttons for 2 target classes
response_port_output = true;
## Test event
stimulus_properties = coords, string, cond, number, congruency, string, shape, string, pritar, string, vertices, number;
event_code_delimiter = ";";
# foreground and background colors need to be defined in both SDL (as below) and
# in PCL (at the beginning of pcl sequence)
$fg = "255, 255, 255"; #foreground color
$bg = "0, 0, 0"; #background color
$transparent = "1, 0, 0"; #transparency
# Fixed parallel port codes, do not use these for anything else!
$TASK_START = 254;
$TASK_END = 255;
# PSICAT Protocol codes
$SOA = 144; # Stimulus onset asynchrony (or intertrial interval)
$FIXA = 143; # fixation cross display.
/**
Blocks are preceded by 'Start block' codes with triggers: 145, 146, 147, 148, 149
Block 1 will be as follows -
151 : shape primer for congruent shape target
152 : shape target with congruent shape primer
153 : nonshape primer for incongruent shape target
154 : shape target with incongruent nonshape primer
155 : nonshape primer for congruent nonshape target
156 : nonshape target with congruent nonshape primer
157 : shape primer for incongruent nonshape target
158 : nonshape target with incongruent shape primer
All following blocks use the same pattern but add +10 to the codes.
*/
# Timing constants for saliency task - DUR is for saliency protocol
$FIXA_DUR = 100;
$SOA_DUR = 500;
$INTF_DUR = 150;
$KNZA_DUR = 2000;
begin;
#########------------#############-----------##########-----------##########
# General stimuli TEXT, PICS and SOUNDS
/**
Native Graphics
*/
# Empty picture
picture {} default ;
# Fixation cross precedes each trial
picture {
line_graphic { coordinates = -30,0,30,0; line_width = 3; }; x=0;y=0;
line_graphic { coordinates = 0, -30, 0, 30; line_width = 3; }; x=0;y=0;
ellipse_graphic { ellipse_width = 20; ellipse_height = 20; color = 0,0,0; }; x=0; y=0;
} eyes_open2;
## Line, ellipse and annuli graphics for polygons
line_graphic { background_color = 120, 0, 0; transparent_color = 120, 0, 0; } lyne;
ellipse_graphic { background_color = 120, 0, 0; transparent_color = 120, 0, 0; } pacman_e;
annulus_graphic { background_color = 120, 0, 0; transparent_color = 120, 0, 0; } annulus1;
annulus_graphic { background_color = 120, 0, 0; transparent_color = 120, 0, 0; } annulus2;
/**
Bitmap Graphics
*/
bitmap { filename = "./Stimuli/noncepad.png"; } rPadPic;
#bitmap { filename = "./Stimuli/W3CON_1.png";} sCRT_instr_shapePic;
#bitmap { filename = "./Stimuli/W3INCON_1.png";} sCRT_instr_nonshapePic;
/**
Textual Graphics
*/
/**
Next you will be shown a series of pictures of Pacman-style objects, which
together will form either an invisible 3 or 4-sided shape, or no shape.
This is exactly the same as you were shown before starting.
Your task is to press the RIGHT key when you see a shape,
and the LEFT key when you see a non-shape. Try to be fast, but accurate.
*/
text { caption = "Paina OIKEAA näppäintä kun kulmista
muodostuu yhtenäinen nelikulmio tai kolmio
ja paina VASENTA näppäintä kun yhtenäistä
kuviota ei muodostu.
Koekertoja on yhteensä viisi.
Voit pitää tauon koekierrosten välillä.
Yritä olla mahdollisimman nopea
sekä mahdollisimman tarkka.
"; } sCRT_text_0;
/**
There will be five rounds, with a break between each
-
When you are ready, press any key to begin.
*/
text { caption = "Kun olet valmis, paina mitä tahansa
näppäintä aloittaaksesi."; } sCRT_text_1c;
/**
Now you have a moment to rest and clear your head.
Another block of stimuli will presented when you press the button,
and your task will remain the same.
-
When you are ready, press any key to begin.
*/
text { caption = "Nyt sinulla on hetki aikaa levätä
ja tyhjentää ajatuksesi.
-
Kun painat nappia, käymme taas läpi samanlaisen
koetilanteen kuin äsken. Tehtäväsi pysyy edelleen samana."; } sCRT_text_2;
# FIXME: provide English versions
text { caption = "Jäljellä on neljä kierrosta."; font_size = 40; } sCRT_text_2a;
text { caption = "Jäljellä on kolme kierrosta."; font_size = 40; } sCRT_text_2b;
text { caption = "Jäljellä on kaksi kierrosta."; font_size = 40; } sCRT_text_2c;
text { caption = "Jäljellä on yksi kierros."; font_size = 40; } sCRT_text_2d;
/**
Audio clip stimuli:
*/
sound{wavefile {filename = "./Stimuli/instrWavs/instructions2.wav";}; attenuation = .10;} sound1_resp;
sound{wavefile {filename = "./Stimuli/instrWavs/relax.wav";}; attenuation = .10;} sound2_relax;
sound{wavefile {filename = "./Stimuli/instrWavs/responsepad.wav";};attenuation = .10;} sound3_resPad;
#########------------#############-----------##########-----------##########
# THE TRIAL SET...
# First trial: send start code to port.
trial {
trial_duration = 1000;
stimulus_event {
nothing {};
} stev; nothing {};
port_code = $TASK_START;
code = "Start task";
} startAll;
# Last trial: send end code to port.
trial {
trial_duration = 50;
nothing {};
port_code = $TASK_END;
code = "End task";
} endAll;
## Empty picture and trial for holding Kanizsa target stimuli
trial {
trial_duration = $KNZA_DUR;
trial_type = first_response;
stimulus_event {
picture {} pyc;
} ev;
}Kanizsa;
## fixation period
trial {
trial_duration = $FIXA_DUR;
# Fixation cross for eyes open measurement
picture eyes_open2;
port_code = $FIXA;
code = "Fixation Cross";
}fixation_trial;
# general SOA trial
trial {
trial_duration = $SOA_DUR;
picture default;
port_code = $SOA;
code = "SOA";
} SOA_trial;
# Save the thing.
trial {
save_logfile {};
time = 0;
code = "SAVE LOGFILE";
} save_trial;
# Present written instructions
trial {
trial_duration = stimuli_length;
/* Audio instructions */
stimulus_event{
sound sound3_resPad;
} sCRT_instrAud_ev;
/* Text instructions */
picture {
text sCRT_text_0; x=0; y=0;
#text sCRT_text_1; x=-200; y=200; #y=250
#bitmap sCRT_instr_shapePic; x=250; y=190; #x=350 y=250
#text sCRT_text_1a; x=-200; y=50; #y=100
#bitmap sCRT_instr_nonshapePic; x=250; y=10; #x = 300
#text sCRT_text_1b; x=0; y=-250; #y=-200
} sCRT_instrPic;
time = 0; code = "PSICAT Instructions";
} sCRT_instr_trial;
trial{
trial_duration = forever;
trial_type = first_response;
/* Audio instructions */
stimulus_event{
sound sound1_resp;
} sCRT_respAud_ev;
/* Text instructions */
picture {
text sCRT_text_1c; x=0; y=100;
bitmap rPadPic; x=0; y=-200;
} sCRT_respPic;
time = 0; code = "Press to begin";
} sCRT_resp_trial;
|
d2943149a70f4b9c56e0efb0833a1dd0f6216ea6 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_VecFunc/sortIndex.sce | 0fbce4e3d131fe287b98c5f0882b0b2fa1ddb2e2 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | sortIndex.sce | // Function Name: sortIndex
// Return a vector which describes the sorted order of the elements of inputvec1 (ie. it contains the indices of the elements of inputvec1)
// 3rd parameter : 0/1 for ascend/descend
// Calculating the sortIndex.
inputvec1 = [5, 4, 3];
result = armaVec("sortIndex",inputvec1)
result = armaVec("sortIndex",inputvec1,1)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.