blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15 values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7 values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36 values | src_encoding stringclasses 17 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 15 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6aec1dc13969a3a27050e696884f0c30f351959a | 2cf6f8d7936597ab1c688f089cedebf458285ee2 | /descente.sce | 2ab6b2663b500c88901b47dfb937597aa51d9c60 | [] | no_license | WilliamDidier/Identification_conductivite | fbcff840fdcf41b96e5c57e44ec14c8da71ccba1 | e4eca12da93b85bb72da66209939a7a5288f5f04 | refs/heads/master | 2021-04-06T01:24:03.608385 | 2018-03-12T11:30:34 | 2018-03-12T11:30:34 | 124,878,899 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | descente.sce | function [z]=descente(ldinf, ldiag, y)
n = size(y,"*")
z = zeros(n,1)
z(1) = y(1)/ldiag(1)
for i = 2:n
z(i) = (y(i)-ldinf(i-1)*z(i-1))/ldiag(i)
end
endfunction
|
87967cb147a56a37955dff4bab6284f1575a8bfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH6/EX6.19/Ex6_19.sce | f63da90efb5f66201a218f32cb3c4ea0a99d75fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,162 | sce | Ex6_19.sce | //===========================================================================
//chapter 6 example 19
clc;
clear all;
//variable declraration
Ts = 200; //number of turns in secondary winding
Tp = 1; //number of turns in primary winding
Is = 5; //current in A
Zs = (1.2+0.2)+(%i*(0.5+0.3)); //secondary impedance Ω
MMF = 100;
Pi = 1.2; //iron loss in watts
Ie = 50; //energy component of eddy current in A
//calculations
KT =Ts/Tp //turn ratio
//Es = Is*Zs //secondary voltage in volts
Im =MMF/Tp //magnetising current in A
I0 = Im+%i*Ie //exciting current on primary side in A
I01 =sqrt(((real(I0))^2)+((imag(I0))^2))
alpha = atan(Ie/Im)
alpha1 = (alpha*180)/%pi
theta = atan(imag(Zs)/real(Zs))
theta1 = (theta*180)/%pi
Ip = (KT*Is)+(I01*sin(theta+alpha)) //primary current in A
e = ((-I01*sin(((theta1+alpha1)*%pi)/180))/Ip)*100 //ratio error
N = (I01*sin(((theta1+alpha1)*%pi)/180))/Is //number of secondary turns to be reduced
//result
mprintf("ratio error = %3.1f percentage",e);
mprintf("\nnumber of secondary turns to be reduced = %3.0f ",N);
|
67d1da1e992f3c5283c2709c65f070e52ac2460e | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH13/EX13.6/ex13_6.sce | ab238cbe123532c72c2a0bd2be6e1cbe81c8190b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex13_6.sce | clc;
warning("off");
printf("\n\n example13_6 - pg684");
// given
d=1*0.0254; //[m]
Lr=d/2; //[m];
Lz=(1.2/2)*(0.0254);
x=Lz;
r=Lr;
k=0.481;
h=20;
mr=k/(h*Lr);
mz=k/(h*Lz);
nr=r/Lr;
nz=x/Lz;
t=1.2; //[sec]
alpha=1.454*10^-4;
Xr=(alpha*t)/(Lr^2);
Xz=(alpha*t)/(Lz^2);
// using the above value of m,n,X the value for Ycz and Ycr from fig 13.14 is
Ycr=0.42;
Ycz=0.75;
Yc=Ycr*Ycz;
T_infinity=400; //[K]
To=295;
Tc=T_infinity-(Yc*(T_infinity-To));
printf("\n\n The temperature t the centre is \n Tc = %f K",Tc);
|
dc1c5d8cf11bfe0fbcb6f7d9cad62988b52b32c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH8/EX8.18.14/Ex8_18_14.sce | 0cae518828085e84750264b810fcd4b753f3c9d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex8_18_14.sce | clear
clc
m=[0.01,0.02,0.05,0.10,0.20];//
n=0.01;//
mu=m+n;//
E=[1.0495,1.0315,1.0073,0.9885,0.9694]
E2=0.2225;//in V
R=0.05913;//in V
O=log10(m/n);//
K=(E-E2)/R +O;//
plot(mu,K,'mo-');//
[m,c]=reglin(mu,K)
Ksp=10^-c;//
printf('Ksp=%.2f*10^-14',Ksp/10^-14)
//There are some errors in the solution given in textbook
//page 491
|
ee97f859d5fb7d60365fd56e789b7960440659aa | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/REB1.prev.tst | d1819be918384b173ef44daaa951366d6a1a41dd | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | tst | REB1.prev.tst | Expanding for base=2, level=4, reasons+features=base
Refined variables=
ReasonFactory: base, code="base"
BaseReason.consider(
"0",
"4a²-4b+1") =
failure constant=1, vgcd=4
|
acb010c81dcb8fe3bc56b9d7b31723a94116d9b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH7/EX7.10/Ex7_10.sce | e90f17699bf0059883869487d435a132044c028b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | Ex7_10.sce | clc;
close();
//page no 238
//prob no. 7.10
delta_f=6; //kHz
W=2; //kHz
D=delta_f/W; //deviation ratio
disp(D,'The deviation ratio is');
Bt=2*(delta_f+W); //carsom's rule is applicable
mprintf('The transmission bandwidth Bt= %i kHz ',Bt)
|
8425ee77535f5620f5e1e15355e125ed638995b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH9/EX9.5.2/example5_2.sce | d298b674032463f5c453a1e5adb76994214caa89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | example5_2.sce | clc
syms n;
v=n
u=((1/n)^2)/((3/n+1)*(3/n+4)*(3/n+7))
disp(limit(u/v,n,0));
disp('both u and v converge and diverge together,hence u is divergent') |
7f26ec20ae40dfc03ad2dd1f9e4432b70d425c08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH10/EX10.12/ex10_12.sce | d2252bef6f27b31d2e77aacff98c2df20fc31286 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,098 | sce | ex10_12.sce | clc;
T0=313; // Surroundings temperature in kelvin
TL=233; // Refrigerated space temperature in kelvin
QL=3.5167; // Refrigeration load in kW
// (a).Carnot cycle
COPcarnot=TL/(T0-TL); // COP of carnot cycle
Wcarnot=QL/COPcarnot; // Work done
Q0=QL+Wcarnot; // Heat rejected
d_SL=-QL/TL;// Entropy change of refrigerated space
d_S0=Q0/T0; //Entropy change of surroundings
d_Sgen= d_SL+ d_S0; // Entropy generation
disp (COPcarnot,"COP of carnot cycle = ","kW",Wcarnot,"Work done = ","(a).Carnot cycle");
printf (" \n Entropy generation = %d \n \n kJ/K s \n",d_Sgen);
// (b).Vapour compression cycle
// From Freon-12 property table & figure 10.17
p1=0.0642; p2=0.9607; // Pressure in MPa
h1=169.5; h3=74.5; // specific enthalpy in kJ/kg
s1=0.7269; s3=0.2716;// specific entropy in kJ/kg K
// By calculations s2=s1 gives the following from property table
t2=58.9; // Temperature in degree celcius
h2=217.6; // specific enthalpy in kJ/kg
// From h4=h3 gives the following from chart
h4=h3;
x4=0.44; // Quality of vapour
s4=0.3195;// specific entropy in kJ/kg K
m=QL/(h1-h4); // Mass flow rate of refrigerant
W=m*(h2-h1); // Work done of vapour compression cycle
COP=QL/W; // COP of vapour compression cycle
QH=QL+W; // Heat rejected to surroundings
d_SL=-QL/TL;// Entropy change of refrigerated space
d_S0=QH/T0; //Entropy change of surroundings
d_Sgen= d_SL+ d_S0; // Entropy generation
disp (COP,"COP of vapour compression cycle = ","kW",W,"Work done = ","(b).Vapour compression cycle");
printf (" \n Entropy generation = %f \n \n kJ/K s \n",d_Sgen);
// (c).Difference in work = Lost work of the cycle
d_work=W-Wcarnot; // Difference in work
LWcycle=QH-T0*QL/TL; // Lost work of the cycle
disp ("which is same as Difference in work","kW",LWcycle,"Lost work of the cycle= ","kW",d_work,"Difference in work = ","(c).Difference in work = Lost work of the cycle");
// (d).Second Law efficiency of the vapour compression cycle
eff_II=COP/COPcarnot; //Second Law efficiency
disp ("%",eff_II*100,"(d).Second Law efficiency of the vapour compression cycle = ");
|
3cb09d002c7a1387eb2a25434d9ad3431b1d1f78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH6/EX6.3/ex6_3.sce | 9719464be7656c84eb7053fce324c692b4d30bcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | ex6_3.sce | // Example 6.3, Page No-272
clear
clc
fh=10*10^3
f=12*10^3
RC=1/(2*%pi*fh)
R=200*10^3
C=RC/R
C3=1.414*C
C4=0.707*C
t=(f^4/fh^4)
Hif=1/(sqrt(1+t))
Hifdb=20*log(Hif)/log(10)
printf('Hif= %.2f dB', Hifdb)
|
6f753924da10671d712402d6d52e8ef268b429bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.1/ch1_ex_1.sce | cd58dd7a793421e2d4bcfe0f3231a57926c8ee56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | ch1_ex_1.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 1
disp("CHAPTER 1");
disp("EXAMPLE 1");
//VARIABLE INITIALIZATION
nob=14; //number of branches
non=8; //number of nodes
//SOLUTION
nole=nob-non+1; //number of loop equations
disp(sprintf("The total number of independent loop equations are %d",nole));
//END
|
378682964e0f21e745b523a695a75a4137462118 | 2e8fd638cb86a3b3ea69dddd8a2de255992d1ad0 | /3)Power.sce | d0f241974296522807926aab8fc8fb18bb279b8e | [] | no_license | swati-25/SciLab-Assignment4 | 75ebb446b1f559ed06a264876f9628b943ba9216 | 073e3cc9dc96976087e0323a19d9ad7b0fe3f454 | refs/heads/master | 2022-04-13T03:35:12.764191 | 2020-04-10T14:59:03 | 2020-04-10T14:59:03 | 254,661,565 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | 3)Power.sce | clc;clear;close;
n=3
disp("Enter the elements for matrix A")
for i=1:n
for j=1:n
A(i,j)=input("Enter the element ")
end
end
disp(A,'Given Matrix is')
u0=[1 1 1]';
disp(u0,' Initial vector is ')
v=A*u0;
a=max(u0);
disp(a,'The First approximation to eigen value is');
while abs(max(v)-a)>0.002
disp(v,"The current eigen vector is")
a=max(v);
disp(a,"The current eigen value is")
u0=v/max(v);
v=A*u0;
end
format('v',4);
disp(max(v),'Largest Eigen Value is :')
format('v',5);
disp(u0,'Corresponding Eigen Vector is :')
|
ccdd0445a9926f6522e86ad10c5c1a869a9dc14b | 09c4a8bcbc605cc3a5a45779e9218e6f309b0132 | /MC1/question-0-3.sci | 2f31ddd8e0e6551f73fee622cbe08906ef9ddb5f | [] | no_license | emilemathieu/ImportanceSampling | 8224833f7255160230532329aeb220723338eea2 | 2afeb94bc6b1063d0a1f24fc41b79c434b34a5ca | refs/heads/master | 2021-05-28T20:54:32.251555 | 2015-06-01T17:57:00 | 2015-06-01T17:57:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sci | question-0-3.sci | // Preliminaries, question 3
function []=test_1(N,b)
X=exp(b*rand(1,N,"gauss"));
estimation=mean(X);
etimated_error=1.96 * st_deviation(X)/sqrt(N);
exact_value = exp(b*b/2);
method_error = abs(estimation-exact_value)/exact_value;
printf("N=%d, Value = %f Relative error = %f\%", ...
N,estimation,100 * method_error);
endfunction
stacksize(10000000);
test_1(100000,1);
test_1(100000,2);
test_1(100000,4);
test_1(100000,6);
test_1(100000,8);
test_1(1000000,8);
|
c7fe1397f34bb93f3fae01f3e0cfc46e3ac94322 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_ishold.sci | 1cbb65b3d709f16682fae7ecf8d097246170e8c3 | [
"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 | 105 | sci | sci_ishold.sci | function [stk,txt,top]=sci_ishold()
// Copyright INRIA
txt=[]
stk=list('mtlb_ishold()','0','1','1','4')
|
f66d628dc2cbff4f2bef5d0b4333ca78eeb1354f | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH5/EX5.5/5_5.sce | 590d87f2ac2534425fa5fd201b19b1dbfb95aa63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,706 | sce | 5_5.sce | clear;
clc;
//Example - 5.5
//Page number - 197
printf("Example - 5.5 and Page number - 197\n\n")
//Given
T_1 = 700+273.15;//[K] - Initial temperature.
P_1 = 12;//[MPa] - Initial pressure
P_2 = 0.6;//[MPa] - Final pressure
//At 12 MPa and 700 C,
H_1 = 3858.4;//[kJ/kg] - initial enthalpy
S_1 = 7.0757;//[kJ/kg-K] - initial entropy
//At 0.6 MPa and 200 C,
H_2 = 2850.1;//[kJ/kg]
S_2 = 6.9673;//[kJ/kg-K]
//At 0.6 MPa and 250 C,
H_3 = 2957.2;//[kJ/kg]
S_3 = 7.1824;//[kJ/kg-K]
//At 0.6 MPa and 300 C,
H_4 = 3061.6;//[kJ/kg]
S_4 = 7.3732;//[kJ/kg-K]
//(1)
//In the case of ideal turbine the entropy change does not take place,therefore the exit conditions are
P_exit = P_2;//[MPa] - exit pressure
T_exit = ((S_1 - S_2)/(S_3 - S_2))*(250 - 200) + 200;//[C] - exit temperature
H_exit = ((S_1 - S_2)/(S_3 - S_2))*(H_3 - H_2) + H_2;//[kJ/kg] - exit enthalpy
//Snce it is a flow pocess,therfore
//W_rev = H_1 - H_exit - T_0*(S_1 - S_2)
//As S_1 = S_2,the above equation becomes
W_rev_1 = H_1 - H_exit;//[kJ/kg] - reversible work done
//From the first law the actual work done can be calculated using, delta_H = q - W
//Since the turbine does not exchange heat,therefore W = - delta_H.
W_1 = - (H_exit - H_1);//[kJ/kg]
printf(" (1).The reversible work done is %f kJ/kg\n",W_1);
printf(" And since the maximum work is same as the actual work,therefore irreversibility is zero\n\n");
//(2)
//Given
T_0 = 298.15;//[K] - Environment temperature
P_0 = 1;//[atm] - Environment pressure
adi_eff = 0.88;//adiabatc efficiency
//(H_1 - H_exit_actual)/(H_1 - H_exit) = 0.88, therefore
H_exit_actual = H_1 - 0.88*(H_1 - H_exit);// - Actual exit enthalpy
//Now two properties i.e pressure = 0.6 MPa and enthalpy = H_exit_actual is fixed at the exit. The exit temperature is given by,
T_exit_actual = ((H_exit_actual - H_3)/(H_4 - H_3))*(300 - 250) + 250;//[C]
S_exit_actual = ((H_exit_actual - H_3)/(H_4 - H_3))*(S_4 - S_3) + S_3;//[kJ/kg]
//Now reversible work done is given by,
W_rev_2 = H_1 - H_exit_actual - T_0*(S_1 - S_exit_actual);//[kJ/kg]
printf(" (2).The reversible work done is %f kJ/kg\n",W_rev_2);
//The actual work is given by the first law,
W_2 = H_1 - H_exit_actual;//[kJ/kg] - Actual work done
i = W_rev_2 - W_2;//[kJ/kg] - irreversibility
printf(" The value of irreversibility is %f kJ/kg\n",i);
//The irreversibility can also be determined using
// i = T_0*S_gen, and S_gen is given by
// S_gen = (q/T_R) - delta_S
//The second law efficiency of the turbine is actual work done divided by reversible work,therefore
sec_eff = W_2/W_rev_2;
printf(" The second law efficiency of the turbine is %f\n",sec_eff);
|
57be1570dfffa0f841cfeb2af65f91825ce1a836 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH6/EX6.4/Example6_4.sce | e10305aca2a901d27e32fdddf4354a895ef48098 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,407 | sce | Example6_4.sce | clear;
clc;
// Illustration 6.4
// Page: 183
printf('Illustration 6.4 - Page: 183\n\n');
// solution
//****Data****//
//From Illustrtion 6.3:
G = 0.100;// [kmol/s]
Density_G = 0.679;// [kg/cubic m]
q = 5*10^(-3);// [cubic m/s]
Va = 3.827;// [m/s]
z = 1.063;// [m]
L = 0.25;// [kmol/s]
hL = 0.0106;// [m]
hW = 0.05;// [m]
Z = 0.824;// [m]
E = 0.05;
ya = 0.18;// [mole fraction methanol]
// a:CH3OH b:H2O
Ma = 32;// [kg/kmol]
Mb = 18;// [kg/kmol]
// From Chapter 2:
ScG = 0.865;
Dl = 5.94*10^(-9);// [square m/s]
// From Eqn. 6.61:
NtG = (0.776+(4.57*hW)-(0.238*Va*Density_G^0.5)+(104.6*q/Z))/ScG^0.5;
DE = ((3.93*10^(-3))+(0.0171*Va)+(3.67*q/Z)+(0.1800*hW))^2;// [square m/s]
thethaL = hL*z*Z/q;// [s]
NtL = 40000*Dl^0.5*((0.213*Va*Density_G^0.5)+0.15)*thethaL;
// For 15 mass% methanol:
xa = (15/Ma)/((15/Ma)+(85/Mb));
// From Fig 6.23 (Pg 184)
mAC = -(NtL*L)/(NtG*G);// [Slope of AC line]
meqb = 2.50;// [slope of equilibrium line]
// From Eqn. 6.52:
NtoG = 1/((1/NtG)+(meqb*G/L)*(1/NtL));
// From Eqn. 6.51:
EOG = 1-exp(-NtoG);
// From Eqn. 6.59:
Pe = Z^2/(DE*thethaL);
// From Eqn. 6.58:
eta = (Pe/2)*((1+(4*meqb*G*EOG/(L*Pe)))^0.5-1);
// From Eqn. 6.57:
EMG = EOG*(((1-exp(-(eta+Pe)))/((eta+Pe)*(1+(eta+Pe)/eta)))+(exp(eta)-1)/(eta*(1+eta/(eta+Pe))));
// From Eqn. 6.60:
EMGE = EMG/(1+(EMG*E/(1-E)));
printf("Effeciency of Sieve trays: %f",EMGE); |
9fe41af54cccaa22191ff9ddd7dd4c392a08525b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH4/EX4.15/Exa4_15.sce | d7378f5921bf56b05070e44c47b35a55be308c86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | Exa4_15.sce | //Exa 4.15
clc;
clear;
close;
//given data :
n=2;//no. of elements
//given : d=lambda/3 in m
delta=%pi/3;//in phase difference
disp("dr=2*%pi*d/lambda");
disp("Putting d=lambda/3 we get dr=2*%pi/3");
dr=2*%pi/3;//
disp("psi=dr*cos(theta)+delta");
disp("psi=(2*%pi/3)*cos(theta)+%pi/3");
//Maxima :
disp("Maxima : cos((%pi/3)*cos(theta)+%pi/6)=1 .....Magnitude");
disp("(%pi/3)*cos(theta)+%pi/6=K*%pi");
disp("theta=acos(-1/2+3*k)");
disp("theta=+120,-120 degree");
//Minima :
disp("Minima : cos((%pi/3)*cos(theta)+%pi/6)=0");
disp("(%pi/3)*cos(theta)+%pi/6=(2*k+1)*%pi/2");
disp("theta=acos(-1/2+(3/2)*(2*k+1))");
disp("theta=0 degree"); |
308d82abdcfa28a0381cb4ec30ce9ecb5a69b208 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoCombiner4x1.sci | 15eb84c2c88a49c477d55603aab6b07512e355ce | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,034 | sci | SSSoCombiner4x1.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Out=SSSoCombiner4x1(In1,In2,In3,In4)
// 4x1 Combiner
//
// Calling Sequence
// Out=SSSoCombiner4x1(In1,In2,In3,In4)
//
// Parameters
// In1 : Optical Input 1
// In2 : Optical Input 2
// In3 : Optical Input 3
// In4 : Optical Input 4
// Out : Optical Output
//
// Description
// The 4x1 Combiner sums the four Optical Inputs. There is no loss between any input and the output.
// This combiner adds all of the inputs without loss.
// In practice, lossless coupling can only be achieved if the transfer function is frequency selective, for example, if the combiner is implemented using an AWGM or a grating. If a broadband combiner is being modeled, then an additional 6-dB of loss should be included in the simulation.
//
[lhs,rhs]=argn(0);
if rhs~=4 then
error("Expect four arguments");
end
Out=In1+In2+In3+In4;
endfunction
|
efa07c480e3912248a0480094837aa70334063ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH6/EX6.6/EX6.sce | 7b1901a44858c3b75b5cce4ee97ead0145bb2922 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | EX6.sce | // Example 6.6: AI, Ri, AVs
clc, clear
bta=100;
VBE=0.7; // Cut-in voltage in volts
VT=25e-3; // Voltage equivalent to temperatue at room temperature in volts
// From Fig. 6.33
RB=100e3; // in ohms
RC=3e3; // in ohms
VBB=3; // in volts
// DC analysis
// From dc equivalent circuit in Fig. 6.34(a)
IBQ=(VBB-VBE)/RB; // in amperes
ICQ=bta*IBQ; // in amperes
gm=ICQ/VT; // in ampere per volt
r_pi=bta/gm; // in ohms
// AC analysis
// From ac equivalent circuit using approximate hybrid-π model in Fig. 6.34(b)
AI=-bta;
Ri=RB+r_pi; // in ohms
AVs=-bta*RC/(RB+r_pi);
Ri=Ri*1e-3; // in kilo-ohms
disp(AI,"AI =");
disp(Ri,"Ri (kΩ) =");
disp(AVs,"AVs ="); |
e370514c6b174d54bb63b4fae0dc942515535133 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH2/EX2.1/EXAMPLE2_1.SCE | 70727e713dea2dec913cef8c7fb4db402ceebc2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | EXAMPLE2_1.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 2
//AMPLITUDE MODULATION
clear all;
clc;
printf("EXAMPLE 2.1(PAGENO 51)");
//given
L = 50*10^-6//in henry
C = 1*10^-9//in farads
//calculation
F_c = 1/(2*%pi*sqrt(L*C));
//results
printf("\n\nCarrier frequency F_c = %.2f Hz",F_c);
printf("\n\nNow , it is given that the highest modulation frequency is 8KHz ");
printf("\n\nTherefore, the frequency range occupied by the sidebands will range from 8KHz \nabove to 8KHz below the carrier frequency, extending fom 712KHz to 720KHz.");
|
a807352a7d409b0daa3fa4ebbcf83b1545fb14c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.23/Chapter1_Example23.sce | 29321ebaa5aca216576f02f33a0341a7de360b5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | Chapter1_Example23.sce | //Chapter-1, Example 1.21, Page 1.49
//=============================================================================
clc
clear
//INPUT DATA
P=6;//Number of poles
A=6;//Number of parallel paths for lap wound
Z=600;//Number of conductors
IL=100;//Load current in A
V=120;//Terminal voltage in V
Ra=30;//Armature resistance in ohm
Rsh=0.06;//Shunt field resistance in ohm
q=(30*10^-3);//Flux per pole in Wb
//CALCULATIONS
Ish=(V/Ra);//Field current in A
Ia=(IL-Ish);//Armature current in A
Eb=(V-(Ia*Rsh));//Back emf in V
N=(60*Eb*A)/(q*Z*P);//Speed of the motor in rpm
//OUTPUT
mprintf('Speed of the lap wound shunt motor is %3.0f rpm',N)
//=================================END OF PROGRAM==============================
|
a8cdb8b300e5611fd582a478e18fb765abb2bd4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH12/EX12.4/Example12_4.sce | 140b633ce6c8cd43677b983edd648e521a2d34b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 7,199 | sce | Example12_4.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 12: POWER,ENERGY,AND EFFICIENCY RELATIONS OF DC AND AC DYNAMOS
// Example 12-4
clear; clc; close; // Clear the work space and console.
// Given data
V = 600 ; // Voltage rating of the compound motor in volt
P_hp = 150 ; // Power rating of the compound motor in hp
I_L = 205 ; // Full-load rated line current in A
S = 1500 ; // Full-load Speed in rpm of the compound generator
R_sh = 300 ; // Shunt field resistance in ohm
R_a = 0.05 ; // Armature resistance in ohm
R_s = 0.1 ; // Series field resistance in ohm
V_a = 570 ; // Applied voltage in volt
I_a = 6 ; // Armature current in A
S_o = 1800 ; // No-load Speed in rpm of the compound generator
// Calculations
// case a
Rot_losses = V_a*I_a ; // Rotational losses in W
// If x is fraction of full-load
x1 = (1/4);
S_1 = S_o - 300*x1 ; // Speed at 1/4 load
Rot_losses_S_1 = (S_1/S)*Rot_losses ; // Rotational losses in W at speed S_1
x2 = (1/2);
S_2 = S_o - 300*x2 ; // Speed at 1/2 load
Rot_losses_S_2 = (S_2/S)*Rot_losses ; // Rotational losses in W at speed S_2
x3 = (3/4);
S_3 = S_o - 300*x3 ; // Speed at 3/4 load
Rot_losses_S_3 = (S_3/S)*Rot_losses ; // Rotational losses in W at speed S_3
x4 = (5/4);
S_4 = S_o - 300*x4 ; // Speed at 5/4 load
Rot_losses_S_4 = (S_4/S)*Rot_losses ; // Rotational losses in W at speed S_4
// case b
I_sh = V / R_sh ; // Full-load shunt field current in A
Ia = I_L - I_sh ; // Full-load armature current in A
FL_variable_loss = (Ia^2)*(R_a + R_s); // Full-load variable electric losses in W
x1_variable_loss = FL_variable_loss * (x1)^2 ; // Variable losses at 1/4 load
x2_variable_loss = FL_variable_loss * (x2)^2 ; // Variable losses at 1/2 load
x3_variable_loss = FL_variable_loss * (x3)^2 ; // Variable losses at 3/4 load
x4_variable_loss = FL_variable_loss * (x4)^2 ; // Variable losses at 5/4 load
// case c
// Efficiency of motor = (Input - losses)/Input
// where Input = volts*amperes*load_fraction
// Losses = field loss + rotational losses + variable electric losses
// Input
Input_FL = V * I_L ; // Input in W at full load
Input_x1 = V * I_L * x1 ; // Input in W at 1/4 load
Input_x2 = V * I_L * x2 ; // Input in W at 1/2 load
Input_x3 = V * I_L * x3 ; // Input in W at 3/4 load
Input_x4 = V * I_L * x4 ; // Input in W at 5/4 load
Field_loss = V * I_sh // Field loss for each of the conditions of load
// Rotational losses are calculated in part a while variable electric losses in part b
// Total losses
Losses_FL = Field_loss + Rot_losses + FL_variable_loss ; // Total losses for full load
Losses_1 = Field_loss + Rot_losses_S_1 + x1_variable_loss ; // Total losses for 1/4 load
Losses_2 = Field_loss + Rot_losses_S_2 + x2_variable_loss ; // Total losses for 1/2 load
Losses_3 = Field_loss + Rot_losses_S_3 + x3_variable_loss ; // Total losses for 3/4 load
Losses_4 = Field_loss + Rot_losses_S_4 + x4_variable_loss ; // Total losses for 5/4 load
// Efficiency
eta_FL = ( (Input_FL - Losses_FL) / Input_FL ) ; // Efficiency for 1/4 load
eta_1 = ( (Input_x1 - Losses_1) / Input_x1 ) ; // Efficiency for 1/4 load
eta_2 = ( (Input_x2 - Losses_2) / Input_x2 ) ; // Efficiency for 1/2 load
eta_3 = ( (Input_x3 - Losses_3) / Input_x3 ) ; // Efficiency for 3/4 load
eta_4 = ( (Input_x4 - Losses_4) / Input_x4 ) ; // Efficiency for 5/4 load
// Display the results
disp("Example 12-4 Solution : ");
printf(" \n a: Rotational loss = %d W at %d rpm(rated load)\n",Rot_losses,S);
printf(" \n Speed at %.2f load = %d rpm ",x1 , S_1 );
printf(" \n Rotational loss at %d rpm = %d W \n ", S_1 , Rot_losses_S_1 );
printf(" \n Speed at %.2f load = %d rpm ",x2 , S_2 );
printf(" \n Rotational loss at %d rpm = %d W \n ", S_2 , Rot_losses_S_2 );
printf(" \n Speed at %.2f load = %d rpm ",x3 , S_3 );
printf(" \n Rotational loss at %d rpm = %d W \n ", S_3 , Rot_losses_S_3 );
printf(" \n Speed at %.2f load = %d rpm ",x4 , S_4 );
printf(" \n Rotational loss at %d rpm = %d W \n ", S_4 , Rot_losses_S_4 );
printf(" \n b: Full-load variable loss = %d W\n ",FL_variable_loss );
printf(" \n Variable losses ,");
printf(" \n at %.2f load = %.2f W ",x1 , x1_variable_loss );
printf(" \n at %.2f load = %.2f W ",x2 , x2_variable_loss );
printf(" \n at %.2f load = %.2f W ",x3 , x3_variable_loss );
printf(" \n at %.2f load = %.2f W \n ",x4 , x4_variable_loss );
printf(" \n c: Efficiency of motor = (Input - losses)/Input ");
printf(" \n where\n Input = volts*amperes*load_fraction ");
printf(" \n Losses = field loss + rotational losses + variable electric losses");
printf(" \n Input,\n at %.2f load = %d W ",x1 , Input_x1 );
printf(" \n at %.2f load = %d W ",x2 , Input_x2 );
printf(" \n at %.2f load = %d W ",x3 , Input_x3 );
printf(" \n at full load = %d W " , Input_FL );
printf(" \n at %.2f load = %d W \n ",x4 , Input_x4 );
printf(" \n Field loss for each of the conditions of load = %d W \n",Field_loss);
printf(" \n Rotational losses are calculated in part a while variable ");
printf(" \n electric losses in part b \n");
printf(" \n Efficiency at %.2f load = %f = %.1f percent ",x1,eta_1,eta_1*100);
printf(" \n Efficiency at %.2f load = %f = %.1f percent ",x2,eta_2,eta_2*100);
printf(" \n Efficiency at %.2f load = %f = %.1f percent ",x3,eta_3,eta_3*100);
printf(" \n Efficiency at full load = %f = %.1f percent ",eta_FL,eta_FL*100);
printf(" \n Efficiency at %.2f load = %f = %.1f percent \n",x4,eta_4,eta_4*100);
printf(" \n d: ________________________________________________________________________________________________________");
printf(" \n Item \t\t\t At 1/4 load \t At 1/2 load \t At 3/4 load \t At Full-load\t At 5/4 load ");
printf(" \n ________________________________________________________________________________________________________");
printf(" \n Input(watts)\t\t %d \t\t %d \t\t %d \t\t %d \t %d ",Input_x1,Input_x2,Input_x3,Input_FL,Input_x4);
printf(" \n\n Field loss(watts)\t\t %d \t\t %d \t\t %d \t\t %d \t\t %d ",Field_loss,Field_loss,Field_loss,Field_loss,Field_loss);
printf(" \n\n Rotational losses");
printf(" \n from part(a)(watts)\t\t %d \t\t %d \t\t %d \t\t %d \t\t %d ",Rot_losses_S_1,Rot_losses_S_2,Rot_losses_S_3,Rot_losses,Rot_losses_S_4);
printf(" \n\n Variable electric losses");
printf(" \n from part(b)(watts)\t\t %.2f \t %.2f \t %.2f \t %.2f \t %.2f ",x1_variable_loss,x2_variable_loss,x3_variable_loss,FL_variable_loss,x4_variable_loss);
printf(" \n\n Total losses(watts)\t\t %.2f \t %.2f \t %.2f \t %.2f \t %.2f ",Losses_1,Losses_2,Losses_3,Losses_FL,Losses_4);
printf(" \n ________________________________________________________________________________________________________");
printf(" \n Efficiency η(percent)\t %.1f \t\t %.1f \t\t %.1f \t\t %.1f \t\t %.1f ",eta_1*100,eta_2*100,eta_3*100,eta_FL*100,eta_4*100);
printf(" \n ________________________________________________________________________________________________________");
|
e734507a24a5bdd153e5faf201cadd6844dfa8da | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH2/EX2.3/example2_3.sce | 14d04964a328e5ac9d5cb4dc7e0d28b6ddc57ffb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | example2_3.sce | clear
clc
//Example 2.3 MODELING A BOARD SLIDING ON A LIQUID LAYER
mu=0.05; //[N.s/m^2]
l=1; //[m]
A=l^2 //area[m^2]
delV=0.02; //ΔV[m]
W=25; //[N]
//Frebody analysis
Ft=W*sind(20) //tangential force[N]
Fs=Ft //shear force[N]
dely=mu*delV*A*10^3/Fs //Δy[mm]
printf("\n The space between board and the tramp = %.3f mm.\n",dely) |
ab36810c46748f4af96dbd558b87b7e7735b80f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH2/EX2.11.1/Ex2_11_1.sce | 6ca9e0507ebffc75a60f0181c6fbcd9bbd0d2060 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | Ex2_11_1.sce | clear
clc
w2=0.122;//amount of benzoic acid in kg
w1=1;//amount of benzene in kg
Tb1=353;//boiling point of benzene in K
Tb2=354.5;//boiling point at which actually boiling of benzene starts in K
DelH_v=394.57;//in J/gm
M1=w2/0.122;//amount of benzoic acid in mol
R=8.314;//in J/Kmol
M2=((M1*78*10^-3)*R*Tb1^2*w2)/(w1*(Tb2-Tb1)*(DelH_v*78));//apparant molar mass of benzoic acid in kg/mol
printf('M2=%.4f kg/mol',M2)
alpha=2*(1-(w2/M2));//degree of dimerisation in mol
printf('\nalpha=%.4f mol',alpha)
//There are some errors in the solution given in textbook
//page 75
|
ca75d1bcaf0c0a20ba06bc1d4db6c89b0d7a23c2 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Destiny 2 Ace of Spades.sce | f7f992efdcd6d45e0bef28bf9e468510beebec2a | [] | 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 | 9,827 | sce | Destiny 2 Ace of Spades.sce | Name=Destiny 2 Ace of Spades
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Long Strafes.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot;Quaker Bot Fast Strafes.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2
MapName=boxervert.map
MapScale=6.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=1000.0
ScorePerDamage=1.0
ScorePerKill=0.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=true
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=Destiny 2
WeaponHeroTag=Ace of Spades/ Hand Canon
DifficultyTag=3
AuthorsTag=Citrus_Breaker
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=true
BlockFCT=false
Description=Hand Canon Aim Practice on average strafe enemies (Hitscan+Tracking)
GameVersion=1.0.7.2
ScorePerDistance=0.0
[Aim Profile]
Name=At Feet
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=-200.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Aim Profile]
Name=Low Skill At Feet
MinReactionTime=0.35
MaxReactionTime=0.45
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=20.0
TrackSpeed=3.0
TrackError=5.0
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=60.0
ShootFOV=25.0
VerticalAimOffset=-200.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Aim Profile]
Name=Low Skill
MinReactionTime=0.35
MaxReactionTime=0.45
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=20.0
TrackSpeed=3.0
TrackError=5.0
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=60.0
ShootFOV=25.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Bot Profile]
Name=Quaker Bot Long Strafes
DodgeProfileNames=Long Strafes
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;2.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=At Feet;Low Skill At Feet;Low Skill;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=Quaker
SeeThroughWalls=false
NoDodging=false
NoAiming=false
[Character Profile]
Name=Quaker
MaxHealth=210.0
WeaponProfileNames=;;;pistol;;;;
MinRespawnDelay=0.001
MaxRespawnDelay=0.001
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=1000.0
MaxCrouchSpeed=500.0
Acceleration=9000.0
AirAcceleration=16000.0
Friction=4.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=3.0
AirControl=0.25
CanCrouch=true
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=400.0
MainBBRadius=100.0
MainBBHasHead=true
MainBBHeadRadius=70.0
MainBBHeadOffset=-45.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=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=700.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=0.1
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
[Dodge Profile]
Name=Long Strafes
MaxTargetDistance=2500.0
MinTargetDistance=750.0
ToggleLeftRight=true
ToggleForwardBack=false
MinLRTimeChange=0.5
MaxLRTimeChange=1.5
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=true
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=50.0
DamageReactionResetTimer=0.5
JumpFrequency=0.2
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.3
MaxJumpTime=0.6
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
[Weapon Profile]
Name=pistol
Type=Hitscan
ShotsPerClick=1
DamagePerShot=47.0
KnockbackFactor=4.0
TimeBetweenShots=0.428571
Pierces=false
Category=SemiAuto
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=100000.0
GravityScale=1.0
HeadshotCapable=true
HeadshotMultiplier=1.5
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.5
ReloadTimeFromPartial=0.5
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
HitscanVisualEffect=None
ProjectileGraphic=Ball
VisualLifetime=0.1
WallParticleEffect=Gunshot
HitParticleEffect=Flare
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=4.0
RecoilNegatable=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
ProjectileTrail=None
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=false
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Quake/Source
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=100.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=false
SpreadSSA=1.0,1.0,-1.0,5.0
SpreadSCA=1.0,1.0,-1.0,5.0
SpreadMSA=1.0,1.0,-1.0,5.0
SpreadMCA=1.0,1.0,-1.0,5.0
SpreadSSH=0.0,0.1,0.0,0.0
SpreadSCH=1.0,1.0,-1.0,5.0
SpreadMSH=0.0,0.1,0.0,0.0
SpreadMCH=1.0,1.0,-1.0,5.0
MaxRecoilUp=1.0
MinRecoilUp=1.0
MinRecoilHoriz=-1.0
MaxRecoilHoriz=-1.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.1
TimeToRecoilReset=0.25
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=1.0
AAMaxSpeed=360.0
AADeadZone=0.0
AAFOV=360.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.175
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Map Data]
|
529cfaa2be4c7041b40d2650b39da03a885a42bf | 11abaea43fbdaa2fd5474aeddbaeabd7fc99aa0a | /nuvem de particulas - PSO.sci | 7a2e8fd20bede6b30bdeb7779653565334c04dd4 | [] | no_license | raicg/Particle-Swarm-Optimization-SCILAB | ee4129f4d1e176df316f85c1533abbcc857769ac | fa1c5ce0ff77a7324bc1e953c4aa125961b3334a | refs/heads/master | 2020-03-22T18:59:16.024179 | 2018-07-10T23:07:35 | 2018-07-10T23:07:35 | 140,496,328 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,475 | sci | nuvem de particulas - PSO.sci | PopSize=40;
MaxGeracao=40;
MaxW=0.9;
MinW=0.4;
Min=-500;
Max=500;
c1 =2.05;
c2=2.05;
MaxV=Max*0.04;
MinV=Min*0.04;
//funcao que calcula o valor na função dada
function valor=ValoresFuncoes(x, y)
z=-x.*sin(sqrt(abs(x)))-y.*sin(sqrt(abs(y)));
x=x/250;
valor=x.*z;
endfunction
//verifica se a velocidade está entre o min e max
function out=Velocidade(velocidade, MinV, MaxV)
if velocidade< MinV then
out=MinV
else
if velocidade> MaxV then
out=MaxV
else
out=velocidade
end
end
endfunction
//verifica se a posição está entre o minimo e o maximo
function out=Posicao(posicao, Minx, Maxy)
if posicao< Minx then
out=Minx
else
if posicao> Maxy then
out=Maxy
else
out=posicao
end
end
endfunction
function [minimo, MelhorXY]=Nuvemdeparticulas(PopSize, MaxGeracao, MaxW, MinW, Min, Max, c1, c2, MaxV, MinV)
//inicia população
MelhorXY = zeros(1 ,2);
X(1 ,:)=zeros(1 ,PopSize);
Y(1 ,:)=zeros(1 ,PopSize);
//da valores aleatorios entre os limites para a população inicial
for i = 1 : PopSize
X(1 ,i) = rand() * ( Max-Min ) + Min;
Y(1 ,i) = rand() * ( Max-Min ) + Min;
end
//coloca os valores no vetor de melhores locais
Melhorx_local(1 ,:)=X(1 ,:);
Melhory_local(1 ,:)=Y(1 ,:);
for i=1:PopSize
Valores(1 ,i)=ValoresFuncoes(X(1 ,i),Y(1 ,i)); //adquire os valores na função
end
//pega a melhor aptidão(a) e o índice(b) e adiciona no vetor melhor global
[a,b]=min(Valores(1 ,:));
MelhorXY=[X(1 ,b) Y(1 ,b)];
//Testa a velocidade
for i=1 :PopSize
Vx(1 ,i)=Velocidade(MinV+(MaxV-MinV)*rand(),MinV, MaxV);
Vy(1 ,i)=Velocidade(MinV+(MaxV-MinV)*rand(),MinV, MaxV);
end
//calcula os W's para cada geração
for i=1 :MaxGeracao
w(i)=MaxW-((MaxW-MinW)/MaxGeracao)*i;
end
for j=1 :MaxGeracao-1
r1=rand();
r2=rand();
for k=1 :PopSize
//calcula os valores da velocidade dentro do limite utilizando a função do algoritmo nuvem de particulas
newVx=Vx(j,k)*w(j) + c1 *r1 *(Melhorx_local(1 ,k)-X(j,k)) + c2*r2*(MelhorXY(1 ,1 )-X(j,k));
newVy=Vy(j,k)*w(j) + c1 *r1 *(Melhory_local(1 ,k)-Y(j,k)) + c2*r2*(MelhorXY(1 ,2)-Y(j,k));
//verifica se é possivel essas velocidades
Vx(j+1 ,k)=Velocidade(newVx,MinV,MaxV);
Vy(j+1 ,k)=Velocidade(newVy,MinV,MaxV);
//calcula novos valores(posições) de X e Y dentro do limite
newX=X(j,k)+Vx(j+1 ,k);
newY=Y(j,k)+Vy(j+1 ,k)
//verifica se é possivel essas posições
X(j+1 ,k)=Posicao(newX,Min,Max);
Y(j+1 ,k)=Posicao(newY,Min,Max);
//calcula a aptidão
Valores(j+1 ,k)=ValoresFuncoes(X(j+1 ,k),Y(j+1 ,k));
//atualiza o vetor melhores locais
if Valores(j,k)> Valores(j+1 ,k) then
Melhorx_local(1 ,k)=X(j+1 ,k);
Melhory_local(1 ,k)=Y(j+1 ,k);
end
end
//atualiza o melhor global
[a,b]=min(Valores(j+1 ,:)); // a=valor, b=indice
if ValoresFuncoes(MelhorXY(1 ,1 ),MelhorXY(1 ,2)) > ValoresFuncoes(X(j+1 ,b),Y(j+1 ,b)) then //se o menor global anterior for maior que o menor local da geração atual
MelhorXY=[X(j+1 ,b) Y(j+1 ,b)]; //atualiza o menor global
end
end
minimo=ValoresFuncoes(MelhorXY(1 ,1 ),MelhorXY(1 ,2)); //adquire o menor valor global
//plot população inicial
subplot(1 ,3,1 );
ylabel('Y')
xlabel('X')
xtitle("Indivíduos na primeira geração");
plot(X(1 ,:),Y(1 ,:),'x');
square(-500, -500, 500, 500)
xgrid();
//plot população em (MaxGeração/2)
subplot(1 ,3,2);
ylabel('Y')
xlabel('X')
xtitle("Indivíduos no meio das gerações");
plot(X(MaxGeracao/2,:),Y(MaxGeracao/2 ,:),'x');
square(-500, -500, 500, 500)
xgrid();
//plot em população final
subplot(1 ,3,3);
ylabel('Y')
xlabel('X')
xtitle("Indivíduos na ultima geração");
plot(X(MaxGeracao,:),Y(MaxGeracao,:),'x');
square(-500, -500, 500, 500)
xgrid();
endfunction
testes=1;
for i=1:1:testes
[resposta(i),melhor]=Nuvemdeparticulas(PopSize,MaxGeracao,MaxW,MinW,Min,Max,c1,c2,MaxV,MinV)
end
disp(resposta);
disp(melhor);
minGlobal=min(resposta);
disp(minGlobal);
|
9bee7af3096f8a815fc62084fa99fe067f9afcf0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/pulsewidth/pulsewidth18.sce | 024cc218f7f990c3a88c07b978c62f2bf6b76f4c | [] | 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 | 133 | sce | pulsewidth18.sce | x=[1 2 3 4 0.4 5 6 7 ];
fs=4e6;
[d,initcross]=pulsewidth(x,fs);
disp(d);
disp(initcross);
//output
//0.0000002
//
// 0.0000009
|
1ebd83f49290bba953ec39b0337ddc7d17db8c8b | 3ab7c3ba0b53c896747be95b21d2a39dc0ba021a | /Poli.sci | 3681d26b1d5647305cef3997de9a8d62c81643f1 | [] | no_license | Farber98/MetodosNumericos | 0752f090eb596926f05bff0730a088eb70e77033 | 5c1be0d0e8274d204b41d0b91778847e6469e6bb | refs/heads/master | 2021-04-23T12:58:07.339435 | 2020-03-25T08:41:32 | 2020-03-25T08:41:32 | 249,926,955 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sci | Poli.sci | //X: Abscisas.
//Y: Imagenes f(x).
//P: Polinomio de Newton.
//n: Numero de puntos.
//n-1: Grado del polinomio.
function[P]=newton(X,Y)
n=length(X);
for j=2:n,
for i=1:n-j+1,Y(i,j)=(Y(i+1,j-1)-Y(i,j-1))/(X(i+j-1)-X(i)); //Realizo las diferencias divididas
end
end
x=poly(0,"x"); //Defino un polinomio
P=Y(1,n); //El primer coeficiente va directo.
for i=2:n, P=P*(x-X(i))+Y(i,n-i+1); //Calculo los coeficientes restantes.
end
endfunction;
|
60ebcbf775beb25c2e423b4f22ee2ac581d8da20 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testutilitairematrix.sce | 98c2bb17690d03eeb772c281cb772d7bc0d8e22f | [] | 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 | 394 | sce | testutilitairematrix.sce | A=grand(1,5,'uin',0,100)
M=max(A),m=min(A) // maximum and minimum
sum(A),prod(A) // sum and product
cumsum(A),cumprod(A) // cumulative sum and product
[values,position]=gsort(A,'g','i') // sort in ascending order
[values,position]=gsort(A,'g','d') // sort in descending order
A(position) // =values (sorted in order)
find(A==M) // find the position(s) of element M in A
|
65af82d476396efb4ab38c2eae179908a6162a12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH15/EX15.6/S_6.sce | 3c1dadd368f0a5ef7d02a822bcef1e0e5120ede4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | S_6.sce | // sum 15-6
clc;
clear;
T=400;
Pt=4800;
Pg=3600;
sigyt=360;
E=205*10^3;
G=80*10^3;
Kb=2;
Kt=1.5;
FOS=3;
RC=((Pt*90)+(Pg*200))/140;
RA=8400-RC;
MB=RA*0.9;
MC=Pg*0.045;
Te=sqrt((Kb*MC)^2+(Kt*T)^2);
Ta=0.577*sigyt/FOS;
d=16*10^3*Te/(%pi*Ta);
d=d^(1/3);
L=110;
J=%pi*d^4/32;
T=400;
theta=T*10^3*L/(G*J);
theta=theta*180/%pi;
// printing data in scilab o/p window
printf("d is %0.0f mm ",d);
printf("\n theta is %0.4f deg ",theta); |
3dbfdea549e800f98f2cd52689a8721b9a68098d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH3/EX3.20/Ex3_20.sce | abea7902ace9ed34b1f1e43c2b13c3a4e402ff8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,058 | sce | Ex3_20.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex3_20.sce.
clc;
clear;
Vm=16*sqrt(2); //Maximum voltage value in volt
Vrms=Vm/sqrt(2); //RMS voltage in volt
R=1; //resistance in ohm
C=-%i; //capacitance in ohm
R1=2; //resistance in ohm
R2=3; //resistance in ohm
C1=-%i; //capacitance in ohm
//After simplication of the network by star-delta transformation
Za=complex(2,-10)/26;
Zb=complex(3,-15)/26;
Zc=complex(30,6)/26;
Voc=(Vrms*(Zc+C))/(R+Za+Zc+C);
Zs=(1/((1/(Za+R))+(1/(Zc+C))))+Zb;
printf("\n (a)")
Zl=Zs;
Zl_mag=sqrt(real(Zl)^2+imag(Zl)^2);
Zl_ang=atand(imag(Zl)/real(Zl));
printf("\n Z_L=%1.2f angle:%2.2f degree \n",Zl_mag,Zl_ang)
printf("\n (b)")
Voc_mag=sqrt(real(Voc)^2+imag(Voc)^2);
Pmax=Voc_mag^2/(2*real(Zl));
printf("\n Maximum power=%2.2f watt \n",Pmax)
//There is a mistake in Zs calculation .Zs=0.7555-0.8539i is wrong .the correct value of Zs=0.6829-0.8536i
//So the answer vary
|
6474d71f34739f05731f492503a6fe159a304115 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH6/EX6.1/6_1.sce | c54dbc49a95c4afa2f948550fd97fa299b84187c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | 6_1.sce | disp("ρ=1/(q*μe*n)");
n=9*10^14;
c=1400; //say c=μe
q=1.6*10^-19;
a=1/(q*c*n);
printf('\n The value of ρ is %f ohm-cm',a); |
db04cdca56fd87acd838804cdb2d17c2fadd0989 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH3/EX3.6/3_6.sce | ec60d3ff9007fbfb2f1bb1ca0c00fbaffc540719 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | 3_6.sce |
clc
//initialisation of variables
v0=20//ft/sec
D=12//m
R=D/2
t=0.5
r=1//m
r1=0.5//m
k2=34
g=32.2
pi=22/7
//CALCULATIONS
va=(v0*r*r)/(2*R*t)
k1=k2+(va*va/(2*g))-(v0*v0/(2*g))
H=k2+(va*va/(2*g))
k=(va*va*r1*r1)/(2*g)
p1=(2*pi*62.4*[(H*(r1^2-(1/(D^2))))/2-(k*log(6))])+(D*r*r*pi)
p2=14.7*%pi*R*R
p=p2-p1
//results
printf (' net pressure on plate= %.f lb ',p-2)
|
04f331922f7497649cd3df2ba68e834afac26037 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH5/EX5.9/exp5_9.sce | 385db0e1294553c553c007e841ee2b61a2717721 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | exp5_9.sce | //Exmaple 5.9
clc
disp("Given values are,")
disp("P = 24, f = 50 Hz, R2 = 0.016 ohm, X2 = 0.265 ohm, N = 247 r.p.m")
ns=(120*50)/24
format(5)
disp(ns,"N_s(in r.p.m) = 120f/P =")
s=(250-247)/250
format(6)
disp(s,"s_f = Full load slip = N_s-N / N_s =")
sm=0.016/0.265
format(8)
disp(sm,"s_m = R2/X2 =")
tf=(2*0.06037*0.012)/((0.06037^2)+(0.012^2))
format(7)
disp(tf,"(i) T_F.L/T_m = 2*s_m*s_f / s_m^2+s_f^2 =")
ts=(2*0.06037)/((0.06037^2)+(1^2))
format(7)
disp(ts,"(ii) T_st/T_m = 2*s_m / 1+s_m^2 =")
|
fae897243507c032d98ce1db4bdbb0458b16b066 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH2/EX2.5/Ex2_5.txt | b93e84f564775e16775b95501dff6401c211fe87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | txt | Ex2_5.txt | //Ex:2.5
clc;
clear;
close;
dl_y=1/20;// the ratio of dl to y(wavelength)
Rr=80*(%pi^2)*(dl_y)^2;// radiation resistance in ohm
printf("The radiation resistance = %f ohm", Rr); |
1e6ab9d9f88ccb95e41dd8ccd2fd50c88405e2c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH11/EX11.3/Ex11_3.sce | 92f75f60c473628906a3077629ea9a00204dd4c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,445 | sce | Ex11_3.sce |
clc
clear
//Input data
a=215//Current in A
v=210//Voltage in V
e=85//Efficiency in percent
q=11.8//Quantity of fuel supplied in kg/h
cv=43//Calorific value in MJ/kg
af=18//Air fuel ratio
w=560//Water in litres/h
tw=38//Temeparature in degree C
te=97//Temeparature in degree C
cp=1.04//Specific heat in kJ/kg.K
ta=30//Temeparature in degree C
l=32//Percentage lost
sw=4.187//Specific heat in kJ/kg.K
//Calculations
P=(a*v)/1000//Power in kW
BP=(P/(e/100))//Brake power in kW
E=(q/3600)*cv*1000//Energy supplied in kW
mg=(q/3600)*(1+af)//Rate of gases in kg/s
he=(mg*cp*(te-ta))+((w/3600)*sw*tw)//Heat carried away by exhaust gases in kW
hj=(l/100)*E//Heat lost to jacket cooling water in kW
pBP=(BP/E)*100//Percentage
pE=(E/E)*100//Percentage
phe=(he/E)*100//Percenatge
phj=(hj/E)*100//Percenatge
//Output
printf(' ENERGY BALANCE SHEET \n (in kW) (in percent)\n 1. Brake power %3.2f %3.2f \n 2. Heat carried away by exhaust gases %3.2f %3.2f \n 3. Heat lost to jacket cooling water %3.2f %3.2f \n 4. Heat loss unaccounted %3.2f %3.2f \n Total %3.2f %3.2f',BP,pBP,he,phe,hj,phj,(E-(BP+he+hj)),(((E-(BP+he+hj))/E)*100),E,(pBP+phe+phj+(((E-(BP+he+hj))/E)*100)))
|
589bdb2283cc1a03b61e2d604747ea4e381a6381 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH3/EX3.1/Ex3_1.sce | 1b3731e459a8a4186e4bd17477d4b50f280b9b81 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | Ex3_1.sce | //Chapter 3 : Systems of Linear Equations
//Example 3.1
//Scilab 6.0.1
//Windows 10
clear;
clc;
A=[0 1 2;1 -2 1;0 3 -4];
Y=[1;0;23];
X=A\Y;
disp(X,"X=")
print("x = %d",X(1))
print("y = %d",X(2))
print("z = %d",X(3))
|
a6eba2fc73078fcc31a367bdeab6c18b350c9702 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH17/EX17.2/Ex17_2.sce | 0837ea893b17c4899880f8ac1c5eec4af1f0cb01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Ex17_2.sce |
clc
// Given that
e=1.6*10^-19 //Charge on electron in Coulomb
ni=4*10^19 // number of electron per unit volume for Si at 423 K (m^-3)
//Values of m_e and m_h are deduced from graphs at page No.689
m_e=0.06 //Mobility of electron in m^2/V-s
m_h=0.022 // Mobility of holes in m^2/V-s
printf(" Example 17.2\n")
sigma=ni*e*(m_e+m_h) // electrical conductivity
printf("\n Electrical Conductivity is %.2f (Ohm-m)^-1\n",sigma)
|
da76223457dbc4fd4ced26056ecdebe8cdd28698 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.26/Ex4_26.sce | d762ca71dc79f7a56bd4c80ef2b6b9a12455393b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | Ex4_26.sce | clc
//Variable Initialisation
Ea=440//Input Voltage of motor in volts
d=0.5//Duty Ratio
Ia=200//Armature Current in Ampere
Ra=0.15//Armature resistance in ohm
K=1//Motor Constant
//Solution
E0=(1-d)*Ea
Pr=E0*Ia
Wmin1=(Ia*Ra)/K
Wmin=Wmin1*60/(2*%pi)
Wmax1=(Ea+(Ia*Ra))/K
Wmax=Wmax1*60/(2*%pi)
Eb=E0+(Ia*Ra)
Wm1=Eb/K
Wm=Wm1*60/(2*%pi)
printf('\n\n The Power Returned=%0.1f KW\n\n',Pr*10^-3)
printf('\n\n Minimum braking Speed=%0.1f rpm\n\n',Wmin)
printf('\n\n Maximum braking Speed=%0.1f rpm\n\n',Wmax)//The answers vary due to round off error
printf('\n\n Speed during Regenerative Braking=%0.1f rpm\n\n',Wm)
|
968c619349005d7b9afaf9b59f9357c383369c1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.62/Ex1_62.sce | 9f65ef99cc4820cc4a87e4aca065a5bd7377d043 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,264 | sce | Ex1_62.sce | clc;
n1=590; // primary side turns
n2=295; // secondary side turns
V1=230; // voltage source from which h v side was energised during test
io1=0.35; // no load current for when h v side is energised
V2=110; // induced voltage across open circuited l v winding due energised h v side
v2=115; // voltage source from which l v side was energised during test
io2=0.72; // no load current for when l v side is energised
v1=226; // induced voltage across open circuited h v winding due energised l v side
f=50; // frequency of supply;
w1=V1/(sqrt(2)*%pi*50); // Maximum value of flux linkage with h v winding
L1=w1*(1/(sqrt(2)*io1));
printf('self inductance of h v winding i %f H\n',L1);
w2=v2/(sqrt(2)*%pi*50); // Maximum value of flux linkage with l v winding
L2=w2*(1/(sqrt(2)*io2));
printf('self inductance of l v winding i %f H\n',L2);
M=(V2/(sqrt(2)*%pi*f))*(1/(sqrt(2)*io1));
printf('mutual inductance between h v and l v winding is %f H\n',M);
k1=(n1/n2)*(M/L1); // coupling factor for h v side
k2=(n2/n1)*(M/L2); // coupling factor for l v side
k=sqrt(k1*k2); // coefficient of coupling
printf('coupling factor for h v side is %f\n',k1);
printf('coupling factor for l v side is %f\n',k2);
printf('coefficient of coupling is %f\n',k);
|
39fa2a853d6e42ee834a240e906490e3a6cb4774 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH21/EX21.9/example9.sce | 978d479a0bc229ea1c4fcd66f342b2e16794ace5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 751 | sce | example9.sce | // find pole frequency ,Q,cutoff frequency
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 21-9, page 820
clear;clc; close;
// Given data
C=4.7*10^-9;// capacitance in faraday
R1=24*10^3;// resistance in ohms
R2=12*10^3;// resistance in ohms
// Calculations
Q=((R1/R2)^0.5)/2;// q of the filter
fp=1/(2*%pi*C*((R1*R2)^0.5));// peak frequency in hertz
fc=fp;// for Butterworth response cutoff frequency is equal to peak frequency
disp(Q,"Q of the filter=")
disp("hertz",fc,"cutoff frequency=")
disp("hertz",fp,"peak frequency=")
// Results
// Q of the filter is 0.707(Butterworth response)
// peak frequency is 2 kHertz
// cutoff frequency is 2 kHertz |
4560834646260ea8c7031ddd5e7c6a71c43d29f0 | 0823d2c77132e31e07b2ef11323fd6a35664bc09 | /plugins.tst | 55792f7f33d1399b4d19a8e17eb0115ffcac3be6 | [] | no_license | danhnguyen0902/shell-project | 9982e65aad1da59f637e1736f861eb01740322ec | b945a6480775e4d24d07e863e9e6c008ef9b7882 | refs/heads/master | 2021-01-19T20:06:05.586718 | 2017-03-31T15:12:40 | 2017-03-31T15:12:40 | 17,893,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | tst | plugins.tst | = Plugins Tests
1 plugins/group422_chdir_test.py
1 plugins/group422_converter_test.py
1 plugins/group422_binHex_test.py
1 plugins/group422_reverseString_test.py
1 plugins/group422_summation_test.py
1 plugins/group415_harrypotter_test.py
1 plugins/group415_war_test.py
1 plugins/group415_zodiac_test.py
1 plugins/455_duel_test.py
1 plugins/455_morse_test.py
1 plugins/455_random_test.py
1 plugins/group423_custom_prompts.test.py
1 plugins/group407_starwars_test.py
1 plugins/group416_dom_test.py
1 plugins/group416_intToBinary_test.py
1 plugins/group416_startedFromTheBottom_test.py
1 plugins/group416_timer_test.py
1 plugins/group416_iHeartSystems_test.py
1 plugins/group416_ohHello_test.py
1 plugins/group416_stringToBinary_test.py |
425929fe3d51939c9dddc0f7b369b8f3d42dc82a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH11/EX11.5/Ex11_5.sce | d99a4bfbc80b500f1c4794994600489ebe5fe203 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 682 | sce | Ex11_5.sce | // Chapter 11 example 5
//------------------------------------------------------------------------------
clc;
clear;
// Given data
h = 13622; // ht of circular orbit from earth's surface
Re = 6378; // Radius of earth in km
// Calculations
R = Re+h; // Radius of circular orbit
pimax = 180 - (2*acos(Re/R))*(180/%pi); // Maximum shadow angle
eclipmax_time = (pimax/360)*24; // maximum daily eclipse duration
// output
mprintf('maximum shadow angle = %3.1f°\n Maximum daily eclipse duration = %3.2f hours',pimax,eclipmax_time);
//------------------------------------------------------------------------------
|
3e749852b4c37a33eb5f5820d8f11263795cd1e4 | ded79447177b1df4db9bd1ad7582cd9e2ccc85b3 | /sine_wave2.sce | 7014c6462b9cab6718bdecbee3ab63c55d2de175 | [] | no_license | Anugya-Gogoi/Scilab-programs | 7ab352bde16c0d7c9b598af62113f12ab83fc6c6 | 40bd41b540dd5b6948e4efa4a22fc1d9f7e725f0 | refs/heads/main | 2023-02-27T09:43:40.263267 | 2021-02-10T05:19:10 | 2021-02-10T05:19:10 | 320,753,016 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sce | sine_wave2.sce | x=[0:0.1:2*%pi];
y=sin(x);
xlabel("x axis");
ylabel("y axis");
title("X vs Y graph");
plot(x,y);
|
e4960a02f1c9954a2d07a07bda3b76f37a5d3815 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH3/EX3.4/Ex3_4.sce | e795292535d107a4735c4e9d2eb32a1f9608499f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Ex3_4.sce | //example 4 pagenumber 140
clear
v1=20;//volt
i1=((v1)/(200+1))*10^-3;
disp('current = '+string(i1)+'ampere');
//greater than 20
vone=16;
r=vone/i1;
r1=r-1*10^3;
r11=200*10^3-r1;
disp('resistance = '+string(r)+'ohm');
disp("r1 = "+string((r1))+"ohm");
disp("r2 = "+string((r11))+"ohm");
|
e74fa93b43157b6663312102ace8fa7f01bcec16 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH3/EX3.14/ex3_14.sce | b85292232257bcbdae25f2a6e38738c774badf3c | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 164 | sce | ex3_14.sce |
clc;
clear all;
BW1=6000;//bandwidth at 60 db attenuation
BW2=4200;//bandwidth at 6 db attenuation
SF=BW1/BW2;//shape factor
disp(SF,'shape factor is=');
|
900cd0a1e7f60a634ea447bb56fff782a46791e3 | 8b463997266ab9e412ad11e8c100276a0e70b896 | /Implementacao/solucaoScilab/inst_10_6_50_1.sce | b4eedf0dd6d5bda304ffedc68f03083b6b173435 | [] | no_license | igorfarias30/PCDCN | 3d2781d868590d4ca5fccb181d43ede31f5e3f54 | db0352d5af16a899db07cf9461f2f3a590e71604 | refs/heads/master | 2021-04-29T03:33:13.392857 | 2017-10-19T18:13:46 | 2017-10-19T18:13:46 | 78,010,504 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,125 | sce | inst_10_6_50_1.sce | clf();
ax=gca();
ax.data_bounds=[0,0;50, 6]; //set the data_bounds
ax.box='on'; //desenha uma caixa
a = 5 * ones(11,11); a(2:10,2:10)=34; a(6.5:7,6.5:7)=5;
b = 1 * ones(11,11); b(2:10,2:10)=1; b(6.5:7,6.5:7)=1;
L = list();
//Porto 1
S = [0 0 0 0 0 0 0 0 0 0 0 0 0 4 100 2 4 100 4 100 100 4 100 4 4 3 2 100 100 100 3 100 100 100 4 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 100 2 100 100 2 4 100 100 4 100 4 2 2 100 100 3 3 3 100 100 100 3 2 100 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 100 100 2 100 100 2 100 2 100 2 2 100 100 2 2 100 100 100 100 3 3 100 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 100 100 2 2 2 100 2 2 2 100 2 100 100 100 2 100 100 100 2 3 100 100 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 100 100 100 100 2 2 2 2 2 2 2 100 100 2 2 2 100 100 100 100 100 100 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 100 100 100 100 100 100 2 2 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0;];
L(1) = S;
//Porto 2
S = [0 0 0 0 0 0 3 100 4 100 100 3 100 4 100 4 4 100 4 100 0 4 0 4 4 3 9 100 0 0 3 0 0 0 4 9 100 4 4 4 3 4 4 0 0 0 0 0 0 0;0 0 0 0 0 0 3 3 3 100 3 3 4 100 3 100 100 4 4 100 100 4 100 4 100 3 100 100 3 3 3 0 0 0 3 100 100 100 100 4 100 4 4 0 0 0 0 0 0 0;0 0 0 0 0 0 3 100 100 3 100 100 4 100 100 4 100 100 4 100 4 100 100 100 100 100 100 3 0 0 0 0 3 3 0 100 3 100 3 3 3 4 4 0 0 0 0 0 0 0;0 0 0 0 0 0 3 100 3 3 3 100 4 100 100 100 3 100 100 100 100 100 100 100 100 100 100 100 100 0 0 100 3 0 0 100 100 3 100 3 3 4 100 0 0 0 0 0 0 0;0 0 0 0 0 0 100 3 3 3 100 3 3 100 100 100 100 3 4 3 3 100 3 3 100 100 3 100 3 0 0 100 0 0 0 100 100 100 100 100 3 4 3 0 0 0 0 0 0 0;0 0 0 0 0 0 0 100 100 100 100 100 3 100 100 100 100 100 100 100 3 100 100 100 100 100 100 100 100 100 0 100 100 100 100 100 100 100 3 100 100 4 100 0 0 0 0 0 0 0;];
L(2) = S;
//Porto 3
S = [0 0 0 0 0 0 0 100 4 100 100 4 0 4 0 4 4 0 4 100 0 4 0 4 4 100 9 0 100 100 9 0 100 100 4 9 0 4 4 4 4 4 4 0 0 0 0 0 0 0;0 0 0 0 0 0 0 100 4 100 4 4 4 0 100 0 0 4 4 100 0 4 0 4 100 5 4 0 4 4 4 0 100 100 4 100 0 100 100 4 100 4 4 0 0 0 0 0 0 0;0 0 0 0 0 0 0 100 100 4 100 100 4 0 100 4 0 0 4 4 4 0 100 100 100 100 100 4 100 100 100 0 4 4 100 100 4 100 4 4 4 4 4 0 0 0 0 0 0 0;0 0 0 0 0 0 0 100 4 4 100 100 4 100 100 0 4 100 0 100 100 0 100 100 100 100 100 100 100 100 100 0 4 100 100 4 100 100 100 4 100 4 100 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 4 4 100 4 4 4 100 0 4 100 4 100 4 0 4 4 4 100 4 100 100 100 100 100 100 100 100 4 100 100 100 100 4 4 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 100 100 100 100 100 100 100 0 100 100 100 100 4 0 100 100 100 100 100 100 4 100 100 100 100 100 100 100 100 100 100 100 100 4 0 0 0 0 0 0 0 0;];
L(3) = S;
//Porto 4
S = [0 0 0 0 0 0 0 0 0 0 0 0 0 100 100 10 100 100 10 100 100 100 100 10 10 0 9 100 100 10 9 0 0 10 100 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 8 100 10 100 100 10 100 100 100 100 5 10 5 100 100 5 10 100 0 0 10 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 100 10 10 100 100 9 9 100 100 5 5 100 100 100 100 100 100 5 0 5 100 5 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 100 100 100 100 100 6 100 5 100 100 5 5 100 5 100 100 0 5 100 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 5 100 100 5 100 100 100 100 5 100 100 100 5 100 100 100 0 100 5 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 100 100 100 100 100 100 100 100 100 100 5 100 100 100 100 100 100 100 5 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0;];
L(4) = S;
//Porto 5
S = [0 0 6 6 100 100 100 9 100 100 100 9 100 0 0 10 0 0 10 0 0 0 100 10 10 0 9 100 0 10 9 0 100 10 100 9 6 100 10 9 100 100 100 6 8 6 100 100 0 0;0 0 6 6 6 6 100 6 100 100 100 8 100 8 0 10 0 0 10 0 0 0 100 100 10 8 0 100 100 10 0 0 100 10 100 0 100 100 6 100 9 9 100 6 6 6 100 100 0 0;0 0 6 100 100 6 7 6 100 6 8 8 100 0 10 10 0 0 9 9 0 0 6 6 0 6 100 100 100 0 100 100 6 100 6 100 100 100 100 9 100 100 6 6 100 6 6 100 0 0;0 0 100 6 6 6 100 100 100 6 100 100 100 100 0 0 0 0 0 100 6 0 6 100 0 100 6 100 6 0 100 100 6 100 100 100 100 100 100 100 6 100 100 100 100 100 100 100 0 0;0 0 100 100 6 6 100 6 6 100 100 100 100 100 0 100 100 0 100 100 0 100 100 6 0 100 100 6 6 0 100 100 100 100 100 100 6 6 100 100 100 100 100 6 6 100 100 6 0 0;0 0 6 100 6 100 100 100 100 100 100 100 100 100 8 100 100 0 100 100 100 100 100 100 0 100 100 100 100 0 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 0 0 0;];
L(5) = S;
//Porto 6
S = [0 0 0 0 0 100 0 9 0 0 0 9 0 0 0 10 0 0 10 0 100 100 100 10 10 0 9 8 100 10 9 0 0 10 100 9 8 100 10 9 0 0 0 8 8 0 0 0 0 0;0 0 0 0 0 100 0 100 0 0 0 8 0 8 0 10 0 0 10 0 100 100 8 0 10 8 100 100 100 10 0 0 9 10 100 100 100 100 10 0 9 9 100 8 8 0 0 0 0 0;0 0 0 0 0 8 7 100 0 100 8 8 0 0 10 10 0 0 9 9 100 100 8 8 0 7 100 100 8 0 100 0 100 100 100 100 100 100 100 9 100 0 100 100 100 0 0 0 0 0;0 0 0 0 0 8 100 100 100 7 0 0 0 0 0 0 0 0 0 9 100 100 100 100 100 100 100 100 7 0 100 0 100 100 100 100 100 100 100 100 7 0 100 100 100 0 0 0 0 0;0 0 0 0 0 8 100 100 100 100 0 0 0 0 0 100 0 0 100 100 100 0 100 100 100 100 100 100 100 0 7 0 100 100 100 100 7 100 100 100 100 0 100 100 0 0 0 0 0 0;0 0 0 0 0 0 100 100 100 100 100 0 100 100 8 100 0 0 100 100 100 100 100 100 100 100 100 100 100 0 100 100 100 100 100 100 100 100 100 100 100 0 100 100 0 0 0 0 0 0;];
L(6) = S;
//Porto 7
S = [0 0 0 0 100 0 0 9 0 0 0 9 0 0 0 10 0 0 10 0 0 0 0 10 10 0 9 8 0 10 9 0 0 10 100 9 8 100 10 9 0 0 100 8 8 8 0 0 0 0;0 0 0 0 8 0 0 0 0 0 0 8 100 8 0 10 0 0 10 0 0 0 8 0 10 8 0 0 0 10 0 0 9 10 100 100 100 100 10 0 9 9 100 8 8 100 0 0 0 0;0 0 0 0 100 8 9 0 0 0 8 8 100 0 10 10 0 0 9 9 0 9 8 8 100 8 0 0 8 0 0 100 0 0 100 100 100 100 0 9 0 100 100 100 100 8 0 0 0 0;0 0 0 0 8 8 100 0 0 9 0 100 100 100 0 0 100 0 0 9 100 100 100 0 100 8 0 0 8 0 0 100 0 0 100 100 100 100 0 0 8 100 100 100 100 8 0 0 0 0;0 0 0 0 8 8 100 100 0 100 0 100 100 100 0 100 100 0 100 0 100 100 100 100 100 8 100 100 100 0 100 100 0 100 100 100 8 100 0 0 100 100 100 100 8 100 0 0 0 0;0 0 0 0 100 100 100 100 0 100 100 100 100 100 8 100 100 0 100 0 100 100 100 100 100 100 100 100 100 0 100 100 0 100 100 100 100 100 0 0 100 100 100 100 8 100 0 0 0 0;];
L(7) = S;
//Porto 8
S = [0 0 0 0 0 0 0 9 0 0 0 9 100 100 0 10 100 100 10 0 0 0 0 10 10 100 9 10 0 10 9 100 0 10 0 9 10 0 10 9 0 0 0 9 0 0 0 0 0 0;0 0 0 0 0 0 0 0 100 0 100 9 100 10 0 10 100 100 10 0 0 0 9 100 10 100 100 10 9 10 0 100 9 10 0 0 10 0 10 0 9 9 100 100 0 0 0 0 0 0;0 0 0 0 0 0 9 0 100 0 9 9 100 100 10 10 100 100 9 9 100 9 9 10 100 9 100 10 9 0 0 100 0 0 10 0 100 0 0 9 100 9 9 100 0 0 0 0 0 0;0 0 0 0 0 0 0 0 100 9 100 100 100 100 100 0 100 100 0 9 9 0 9 100 100 9 100 100 9 0 0 100 100 0 10 0 100 0 0 0 100 100 100 100 0 0 0 0 0 0;0 0 0 0 0 0 0 9 100 0 100 100 100 100 100 0 100 100 9 9 100 0 100 100 100 100 100 9 9 100 0 100 100 0 9 100 100 0 0 0 100 100 9 0 0 0 0 0 0 0;0 0 0 0 0 0 0 100 100 0 100 100 100 100 100 0 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 0 0 0 100 100 100 0 0 0 0 0 0 0;];
L(8) = S;
//Porto 9
S = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 0 0 10 0 0 100 0 10 10 0 10 10 100 10 10 0 100 10 0 10 10 0 10 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 100 10 0 10 0 10 10 100 0 100 10 0 10 100 100 10 10 10 100 0 10 10 0 100 10 0 10 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 100 0 10 10 0 10 10 10 10 10 10 10 0 10 100 10 10 0 100 0 100 0 10 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 100 10 0 0 100 10 100 100 10 100 10 10 10 10 100 100 10 0 100 100 100 100 10 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 100 100 10 100 100 10 10 10 100 100 100 100 10 100 100 10 10 0 100 100 100 100 10 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0;0 0 0 0 0 0 0 0 0 0 0 0 100 10 100 10 100 100 10 100 100 100 100 10 10 100 100 100 100 0 100 10 100 100 100 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0;];
L(9) = S;
for k = 1:9
gcf();
for i = 5: -1:0
for j = 49:-1:0
if(L(k)(i+1,j+1) <> 0)
a(6.5:7,6.5:7) = L(k)(i + 1, j + 1);
Matplot1(a, [j, i, j + 1, i + 1]);
else
Matplot1(b, [j, i, j + 1, i + 1]);
end
end
end
sleep(2000);
end
clf(gcf(), 'reset')
|
9893562a2e7461c358916f7a0ee677abd5669847 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH13/EX13.9/Ex13_9.sce | 60f3477deb27ee0790a8bae9319e89a8a9a1708f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | Ex13_9.sce | // Problem no 13.9,Page No.308
clc;clear;
close;
L=4 //m //span
w=80*10**3 //N/m //u.d.l
D=35 //cm //Overall depth
b=15 //cm //width of Flange
t=2.5 //cm //Thickness of flange
w_d=30 //cm //Depth of web
w_t=1.2 //cm //thickness of web
//Calculations
R_a=160;R_b=160 //KN //Reactions at supports
//Shear FOrce at 1m from left support
F=R_a*10**3-w
M=R_a*10**3-w*2**-1 //B.M at 1m From support
I=(b*D**3-((b-w_t)*w_d**3))*12**-1 //cm**4
y=w_d*2**-1
sigma=M*I**-1*y //N/m**2
//Shear stress in Flange at the junction with web
X_1=w*b*t*(w_d*2**-1+t*2**-1)*10**-6*(I*10**-8*b*10**-2)**-1*10**-3
//Shear stress in web at the junction with Flange
X_2=X_1*15*1.2**-1
//Result
printf("The Magnitude of Bending is %.2f",sigma);printf(" N/m**2")
printf("\n Shear stress in web at the junction with Flange %.2f",X_1);printf(" KN/m**2")
|
6bcff1036b4123106b28df91d666ae854787fabf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH3/EX3.9/3_9.sce | 705ae7648076fe398c7ccdc1da6503922625ca20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | 3_9.sce | clc
//initialisation of variables
cv = 5.00 //cal mole^-1 deg^-1
R= 1.99 //cal mole^-1 deg^-1
p= 1 //atm
p1= 100 //atm
V= 75 //l
n= 3 //moles
R1= 0.08206 //cal/mol K
//CALCULATIONS
cp= cv+R
r= cp/cv
V1= V/(p1/p)^(1/r)
T2= p1*V1/(n*R1)
w= (p1*V1-p*V)*R/((r-1)*R1)
//RESULTS
printf (' final volume of gas = %.2f l ',V1)
printf (' \n final temperature of gas = %.f K ',T2)
printf (' \n Work done = %.f cal ',w+15)
|
768d4d2d4d787dfa8568a7dc7ecb95ff6633cf0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH4/EX4.9/ex_4_9.sce | 2d1689658f11f3575f258d5863ee8948c6f68a54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | ex_4_9.sce | ////Ex 4.9
clc;
clear;
close;
format('v',5);
I2=1;//mA
Rf=4.7;//kohm
//Case 1st
I1=500;//micro A
Vout1=-I1*10^-6*Rf*10^3;//V
disp(Vout1,"For 500 micro A current, Output Voltage(V)");
//Case 2nd
I2=1;//mA
Vout2=-I2*10^-3*Rf*10^3;//V
disp(Vout2,"For 1 mA current, Output Voltage(V)");
deltaVout=Vout2-Vout1;//V
disp(deltaVout,"Variation in Output Voltage(V)");
|
da681b812a12b6648b00000595f0429a461b2e8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH7/EX7.3/ex7_3.sce | 0faac8d3bcb2ab6fe6883a00ab3f8f3ac5fe881c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | ex7_3.sce | // Exa 7.3
clc;
clear;
close;
// Given data
Phi_o = 1*10^21;// in m^-2s^-1
alpha =1*10^5;// in m^-1
e= 1.6*10^-19;// in C
G_L1 = alpha*Phi_o;// in m^-3s^-1
W = 26;// in µm
W = W * 10^-6;// in m
G_L2 = alpha*Phi_o*(%e^((-alpha)*W));// in m^-3s^-1
J_L = e*Phi_o*(1-%e^(-(alpha)*W));// in A/m^2
J_L = J_L * 10^3*10^-4;// in mA/cm^2
disp(J_L,"Photo current density in mA/cm^2 is ");
|
adac47974d816dd70175fe18bc23c1d851390fba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.14/Exa_6_14.sce | ebd9d70ddc9e38f78cabe1b364c663f5dcaca8b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | Exa_6_14.sce | //Exa 6.14
clc;
clear;
close;
format('v',7);
//Given Data :
m=2;//Kg
p1=15;//bar
p2=15;//bar
Tsup1=250;//degree C
T1=Tsup1;//degree C
V1=0.152;//m^3/Kg(at 15 bar)
hf2=844.7;//KJ/Kg(at p=15 bar)
hg2=2789.9;//KJ/Kg(at p=15 bar)
hfg2=1945.2;//KJ/Kg(at p=15 bar)
h1=2923;//KJ/Kg
Vg2=0.1317;//m^3/Kg(at 15 bar)
x2=0.6;//dry
h2=hf2+x2*hfg2;//KJ/Kg
V2=x2*Vg2;//m^3/Kg
w=(p2*V2-p1*V1)*10^5/10^3;//KJ/Kg
W=m*w;//KJ
disp(W,"Total work done in KJ : ");
H2subH1=m*(h2-h1);//KJ/Kg
disp(H2subH1,"Change in enthalpy in KJ/Kg : ");
Q=H2subH1;//KJ
disp(Q,"Heat transfered in KJ : ");
//Steam table is used to get some data.
|
d626681cba35843cb9c621520e3dd91b435a2ebc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH4/EX4.18/Ch04Ex18.sce | d4f76bfcad22740876053b2e7181c2a4eb05f521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | Ch04Ex18.sce | // Scilab Code Ex4.18: Page-134 (2006)
clc; clear;
// We have from Mattheissen rule, rho = rho_0 + alpha*T1
T1 = 300; // Initial temperature, K
T2 = 1000; // Final temperature, K
rho = 1e-06; // Resistivity of the metal, ohm-m
delta_rho = 0.07*rho; // Increase in resistivity of metal, ohm-m
alpha = delta_rho/(T2-T1); // A constant, ohm-m/K
rho_0 = rho - alpha*T1; // Resistivity at room temperature, ohm-m
printf("\nThe resistivity at room temperature = %4.2e ohm-m", rho);
// Result
// The resistivity at room temperature = 1.00e-006 ohm-m
|
4a1efd3034d1355be4278a447e335763eb419825 | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Método de Newton.sci.sce | 4a2e5f6ca7831bde2db91b78093f16e1f98ebe96 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Método de Newton.sci.sce | function [raiz,iter]=newton1(f,x0,eps1),
// Acha um zero de f(x) usando o método de newton.
// raiz = aproximacao da raiz procurada
// iter = numero de iteracoes
// f a funcao
// x0 chute inicial
// eps1 precisao
// Acha a derivada da função f
step=0.001;
deff("y=flinha(x)","y=((f(x+step)-f(x))./step)");
// define a função phi
deff("y=phi(x)", "y=x-((f(x))./flinha(x))");
// inicia as iterações: (no maximo 150)
chute=x0;
it=0;
x1=phi(chute);
while (min(abs(f(chute)),abs(x1-chute))>eps1)&it<=150 do
chute=x1;
x1=phi(chute);
it=it+1;
end;
raiz=x1;
iter=it;
endfunction;
|
aaba3a86233519f4be98296826fc2a17ad31cf9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH9/EX9.12/9_12.sce | 46365f8ae1cda27957e8aeea1c5a08fff875d841 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 77 | sce | 9_12.sce | P=8
f1=60
f2=50
If1=5
If2=f1/f2*If1
disp(If2)
nA2=120*f2/P
disp(nA2)
|
f498f4599ba4703b4f78d2a397a16e697c1ab73c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH8/EX8.a.9/Example_a_8_9.sce | 2de36d08c299e5d5a16183a67818c50f4b3b3c40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_a_8_9.sce | //Example_a_8_9 page no:331
clc;
V=20;
omega_r=500;
C=20*10^-6;
Xl=1/(omega_r^2*C);
C=30*10^-6;
R=((omega_r*Xl)-(1/(omega_r*C)));
Q=(omega_r*Xl)/R;
disp(Xl,"the value of inductance is (in H)");
disp(R,"the value of resistance is (in ohm)");
disp(Q,"the quality factor is ");
|
fa731a6e86895131c55df3c96b829c7b987eb95c | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH23/EX23.1/example23_1.sce | 7b2c9a3440de72b879c77843447258290798d3ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | example23_1.sce | vp=100;
i=50*10^(-3);
x_c=vp/(i*2*sqrt(2));
disp("The opposition to current (in Ω) caused by the capacitor is"); disp(x_c); |
a09748f3a33057553dfc5fdebfe058e5a78adcfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH7/EX7.2/Ex7_2.sce | a513cba0e454195f919e626435e60128f50c6134 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | Ex7_2.sce | //Ex:7.2
clc;
clear;
close;
A_v_max=35;
A_v_cutoff=0.707*A_v_max;
printf(" Mid-band Volt gain = %f ",A_v_cutoff);
printf("\n upper freq = 590Hz & lower freq = 57Hz");
|
2d9d16bfa8443b082bd648eba0c8b155e247c353 | 2f922383fd695ab23e6c9f50c501f673a2623a7a | /Intervisibility2CIC.sci | 03542dfba78d5b2c631c62954ad2647b9e21b2b9 | [] | no_license | zachariebd2/intervisibility | 88160c38db26f2a3c3d363b8023ca5b2a5e519ec | bccd312f9e658ba8b7276b5917f82568b3fa99b9 | refs/heads/master | 2021-04-12T23:18:36.485246 | 2017-06-16T14:55:11 | 2017-06-16T14:55:11 | 94,554,163 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,522 | sci | Intervisibility2CIC.sci | // File name: Intervisibility2CIC.sci
// Final Modified Date: 08/07/2016
// Author: Barrou Dumont, Zacharie
// Email : zachariebd@hotmail.com
//
// visibility: (dates (day), date(seconds), indication of intervisibility, elevation, azimuth, distance satellite-station, distance satellite-station (has to be changed))
// GS_Position: position of the ground station
// GS_name: name of the ground station
// Sat_Name: name of the satellite
// GS_Body_Name : name of the ground station's planet
// File_path_Inter : name of the output file
function [] = Intervisibility2CIC(visibility,Sat_name, GS_Body_name,File_path_Inter, GS_name, GS_Position);
// Header definition
time = getdate();
time1 = [time(1),time(2), time(6), time(7), time(8), time(9), time(10)];
correction_month = "";
correction_day = "";
correction_hour = "";
correction_mn = "";
correction_sec = "";
if time(6) <10 then
correction_day = '0';
end
if time(2) <10 then
correction_month = '0';
end
if time(7) <10 then
correction_hour = '0';
end
if time(8) <10 then
correction_mn = '0';
end
if time(9) <10 then
correction_sec = '0';
end
time1 = strcat(['CREATION_DATE = ', string(time1(1)),"-",strcat([correction_month,string(time1(2))]),"-",strcat([correction_day,string(time1(3))]),"T",strcat([correction_hour,string(time1(4))]),":",strcat([correction_mn,string(time1(5))]),":",strcat([correction_sec,string(time1(6))]),".",string(time1(7)) ]);
// Writing to file
fd = mopen(File_path_Inter,'wt');
mfprintf(fd,'CIC_OEM_VERS = 3.0\n');
mfprintf(fd,'%s\n',time1);
mfprintf(fd,'ORIGINATOR = DOCKing System\n');
mfprintf(fd,'\n');
mfprintf(fd,'META_START\n');
mfprintf(fd,'\n');
mfprintf(fd,'OBJECT_NAME = %s\n',Sat_name);
mfprintf(fd,'OBJECT_ID = %s\n',Sat_name);
mfprintf(fd,'CENTER_NAME = %s\n',GS_Body_name);
mfprintf(fd,'STATION_NAME = %s\n',GS_name);
mfprintf(fd,'STATION_COORDINATE = %f %f %f\n',GS_Position(1),GS_Position(2),GS_Position(3));
mfprintf(fd,'REF_FRAME = ECF\n');
mfprintf(fd,'TIME_SYSTEM = UTC\n');
mfprintf(fd,'\n');
mfprintf(fd,'COLUMNS: MJD DATE,MJD SEC, INTERVISIBILITY, ELEVATION, AZIMUT, DISTANCE\n');
mfprintf(fd,'META_STOP\n');
mfprintf(fd,'\n');
//Combine all data into one matrix
for i=1:1:size(visibility,'r')
mfprintf(fd,'%d %f %d %f %f %f\n',visibility(i,1),visibility(i,2),visibility(i,3),visibility(i,4),visibility(i,5),visibility(i,6));
end
mclose(fd);
endfunction
|
fc1ad1d964b69aaf93e6e393c1d225be58c22926 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH7/EX7.4/7_4.sce | 42bad2413cfca6d07157004d9f4c2d6de75e0305 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | 7_4.sce | //ex7.4
N_1=1000.111;
N_2=1100.011;
//Adding these two according to the rules of binary addition in fig7.6, we get
disp("The result of addition of given two binary numbers is")
disp("10101.010")
|
dc193dfb8086912294cf7ea7ab3fb1503a5d6079 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH1/EX1.17/ex1_17.sce | 1eef287c635de69597b0aff2b63bef20bf434050 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | ex1_17.sce | // Exa 1.17
clc;
clear;
close;
// Given data
M = 60;// in gm/mole
Rho = 6.23;// in gm/cc
n = 4;
N_A = 6.023*10^23;
a = ((n*M)/(N_A * Rho))^(1/3);// in cm
r = (a*sqrt(2))/n;//radius of atom in cm
r = r * 10^8;// in Å
disp(r,"Radius of atom in Å is");
|
93e627879a1a1d41e464f61cc896bab66c8f5f51 | de14a6897d4397228a52bacb8905b8807370ef4b | /fougere.sce | 4bb0d43842d1850cfe46331ba2e07b7a68965cb8 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 897 | sce | fougere.sce | function Y=f1(X) //la tige
Y=[0 0;0 0.16]*X; endfunction
function Y=f2(X) //partie gauche
Y=[0.85 0.04;-0.04 0.85]*X+[0;1.6]; endfunction
function Y=f3(X) //partie droite
Y=[0.2 -0.26;0.23 0.22]*X+[0;1.6]; endfunction
function Y=f4(X) //sous-parties
Y=[0.15 0.28;0.26 0.24]*X+[0;0.44]; endfunction
p=[0.01, 0.85, 0.07, 0.07]; //probas conseillees
N=input("Entrez N, le nombre de points a dessiner : ");
X=zeros(2,N); X(:,1) = [0;0]; ; //initialisation de l'ensemble de N points
for i=2:N
t=rand(); //selection aleatoire d'un nombre entre 0 et 1
if (t<p(1)) then X(:,i)=f1(X(:,i-1)); end
if (t>p(1)) & (t<p(1)+p(2)) then X(:,i)=f2(X(:,i-1)); end
if (t>p(1)+p(2)) & (t<p(1)+p(2)+p(3)) then X(:,i)=f3(X(:,i-1)); end
if (t>p(1)+p(2)+p(3)) then X(:,i)=f4(X(:,i-1)); end
end
clf; set(gca(), "isoview", "on");
plot(X(1,:),X(2,:),".",'markersize',1); //affichage
|
49e795b230c08ffcf330ebd53677a64bfa07bfc7 | 292983cd8dd99bd552dbbfb2088669e2fd8e9256 | /DustyWave/DustyWavePolydispVolumeDust.sce | cea69a6155da44dcb6c60cfd16b6a3ece09ebc82 | [] | no_license | MultiGrainSPH/1D_Dust_DS | ec848f29b53737c8fcaed4458be309055c18c206 | 0ad4619952e6e5fc6ede5859abe1f3a432dca0f4 | refs/heads/master | 2022-05-10T18:59:57.101731 | 2022-05-05T08:15:54 | 2022-05-05T08:15:54 | 244,804,407 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,754 | sce | DustyWavePolydispVolumeDust.sce | //НАЧАЛЬНЫЕ ДАННЫЕ
rho_g = 1; //начальная плотность газа
N = 2; //количество фракций пыли
rho_i = [1, 1]; //массив начальной плотности пыли//все rho_i больше 0 и их сумма меньше rho_s
t_i = [0.01, 0.001]; //массив времён релаксации
rho_s = 4; //истинная плотность пыли
Cs = 1.0; //скорость звука в газе
k = 2*%pi; //волновое число
delta_rho_g_Wave = 1;
A_V=10^(-4)*Cs; //амплитуда для скорости
A_D=10^(-4)*rho_g; //амплитуда для плотности
С_Const = 1;//длина отрезка координат
number_Of_Points = 100;//количество узлов, по которым строим графики
t_Selected = 0.1;//в какой момент времени рассматриваем волну (t*)
path='D:\Program_for_Article\Output files';//путь до текстовых файлов
color_Arr=['blue', 'green'];
//КОНЕЦ НАЧАЛЬНЫХ ДАННЫХ
//
theta_i = rho_i / rho_s;
Theta = sum(theta_i);
//disp(theta_i);
//disp(Theta);
for i=1:N
rho_div_t(i) = rho_i(i) / t_i(i);
end
//ЗАДАЁМ МАТРИЦУ (7)
for i=1:2*N+2
for j=1:2*N+2
M(i,j) = 0;
end
end
//первая четверть (1,1)->(N+1,N+1)
M(1,1) = poly([sum(rho_div_t),-rho_g],'w','c');
for i=1:N
M(1, i+1) = -rho_div_t(i);
M(i+1, 1) = -rho_div_t(i);
M(i+1,i+1) = poly([rho_div_t(i),-rho_i(i)],'w','c');
end
//вторая четверть (1,N+2)->(N+1,2N+1)
M(1,N+2) = Cs^2 * imult(k);
for i=1:N
M(1,i+N+2) = Cs^2 * imult(k) * rho_g / (rho_s * (1 - Theta));
end
for i=1:N
M(i+1,N+2) = (theta_i(i) / (1 - Theta)) * M(1,N+2);
for j=1:N
M(i+1,j+N+2) = (theta_i(i) / (1 - Theta)) * M(1,j+N+2);
end
end
//третья четверть (N+2,1)->(2N+1,N+1)
M(N+2,1) = imult(k);
for i=1:N
M(i+N+2,i+1) = imult(k);
end
//четвёртая четверть (N+2,N+2)->(2N+2,2N+2)
M(N+2,N+2) = poly([0,-rho_g^(-1)],'w','c');
for i=1:N
M(i+N+2,i+N+2) = poly([0,-rho_i(i)^(-1)],'w','c');
end
//disp(det(M));
for i=1:2*N+2
arr_Roots(i) = roots(det(M))(i);
end
disp(arr_Roots);
//ВЫБИРАЕМ КОРЕНЬ w_root ПО НАИБОЛШЕЙ МНИМОЙ ЧАСТИ
w_root = arr_Roots(1);
for i=2:2*N+2
if imag(arr_Roots(i)) > imag(w_root) then
w_root = arr_Roots(i);
end
end
disp(w_root);
//ЗАДАЁМ МАТРИЦУ (7) БЕЗ СТОЛБЦА И СТРОКИ
for i=1:2*N+1
for j=1:2*N+1
new_M(i,j) = 0;
end
end
//первая четверть
for i=1:N
new_M(i, 1) = -rho_div_t(i);
new_M(i,i+1) = rho_div_t(i) - (rho_i(i) * w_root);
end
//вторая четверть //
for i=1:N
for j=1:N
new_M(i,j+N+1) = (theta_i(i) / (1 - Theta)) * Cs^2 * imult(k) * rho_g / (rho_s * (1 - Theta));
end
end
//третья четверть
new_M(N+1,1) = imult(k);
for i=1:N
new_M(i+N+1,i+1) = imult(k);
end
//четвёртая четверть
for i=1:N
new_M(i+N+1,i+N+1) = -w_root / rho_i(i);
end
//ЗАДАЁМ ПРАВУЮ ЧАСТЬ
for i=1:N
B(i) = (theta_i(i) / (1 - Theta)) * Cs^2 * imult(k) * (-delta_rho_g_Wave);
end
B(N+1) = -w_root / rho_g * (-delta_rho_g_Wave);
for i=1:N
B(i+N+1) = 0;
end
//НАХОДИМ РЕШЕНИЕ СЛАУ
X = inv(new_M) * B; //массив с дельтами скоростей и плотностей пыли
//disp(X);
//ЗАПИСЫВАЕМ ЗНАЧЕНИЯ ВОЗМУЩЕНИЙ С ВОЛНАМИ
delta_v_Wave = X(1);
for i=1:N
delta_ui_Wave(i) = X(i+1);
end
for i=1:N
delta_rhoi_Wave(i) = X(i+N+1);
end
//ВОЗМУЩЕНИЯ
function y=real_delta_f(delta_f_Wave, x, t, A)
y = A * delta_f_Wave * exp(imult(k) * x - w_root * t);
y = real(y);
endfunction
//СЕТКА
function X=uniform_Grid(a,b,N)//равномерная сетка на [a,b] с N узлами
h=(b-a)/(N-1);
for n=1:N
X(n)=a+h*(n-1);
end
endfunction
X_x=uniform_Grid(0,С_Const,number_Of_Points);
//СОЗДАЁМ ИМЕНА ФАЙЛАМ ДЛЯ ГАЗА И ПЫЛИ ПРИ t=0, t=t*
for i=1:1+N
if i==1 then
name_Arr(i) = path + '\' + 'gas.txt';
else
name_Arr(i) = path + '\' + 'dust ' + string(i-1) + '.txt';
end
end
//СОЗДАЁМ ПУСТЫЕ ФАЙЛЫ ДЛЯ ГАЗА И ПЫЛИ И ЗАПИСЫВАЕМ В НИХ ШАПКУ ТАБЛИЦЫ
for i=1:1+N
f_w = mopen(name_Arr(i), 'wt');
mfprintf(f_w, '# x Density (t = 0) Density (t = ' + string(t_Selected) + ') Velocity (t = 0) Velocity (t = ' + string(t_Selected) + ')\n');
mclose(f_w);
end
//ЗАПИСЫВАЕМ ДАННЫЕ В ФАЙЛЫ
f_a = mopen(name_Arr(1), 'at');
for i=1:length(X_x)
Y1 = rho_g + real_delta_f(delta_rho_g_Wave, X_x(i), 0, A_D);
Y2 = rho_g + real_delta_f(delta_rho_g_Wave, X_x(i), t_Selected, A_D);
Y3 = real_delta_f(delta_v_Wave, X_x(i), 0, A_V);
Y4 = real_delta_f(delta_v_Wave, X_x(i), t_Selected, A_V);
mfprintf(f_a, '%f %f %f %f %f\n', X_x(i), Y1, Y2, Y3, Y4);
end
mclose(f_a);
for s=1:N
f_a = mopen(name_Arr(s+1), 'at');
for i=1:length(X_x)
Y1 = rho_i(s) + real_delta_f(delta_rhoi_Wave(s), X_x(i), 0, A_D);
Y2 = rho_i(s) + real_delta_f(delta_rhoi_Wave(s), X_x(i), t_Selected, A_D);
Y3 = real_delta_f(delta_ui_Wave(s), X_x(i), 0, A_V);
Y4 = real_delta_f(delta_ui_Wave(s), X_x(i), t_Selected, A_V);
mfprintf(f_a, '%f %f %f %f %f\n', X_x(i), Y1, Y2, Y3, Y4);
end
mclose(f_a);
end
//НАХОДИМ ЗНАЧЕНИЯ ПЛОТНОСТИ И СКОРОСТИ ГАЗА В УЗЛАХ
for i=1:length(X_x)
Y_x_rho_g_0(i) = rho_g + real_delta_f(delta_rho_g_Wave, X_x(i), 0, A_D);
Y_x_rho_g(i) = rho_g + real_delta_f(delta_rho_g_Wave, X_x(i), t_Selected, A_D);
Y_x_v_g_0(i) = real_delta_f(delta_v_Wave, X_x(i), 0, A_V);
Y_x_v_g(i) = real_delta_f(delta_v_Wave, X_x(i), t_Selected, A_V);
end
//РИСУЕМ ГРАФИКИ
subplot(1,2,1);
plot2d(X_x, Y_x_rho_g_0, style=color(color_Arr(1)), strf='181');
plot2d(X_x, Y_x_rho_g, style=color(color_Arr(2)), strf='181');
hl=legend(['t = 0', 't = '+string(t_Selected)], -1);
g=get('current_axes');
g.title.text='Gas Density';
subplot(1,2,2);
plot2d(X_x, Y_x_v_g_0, style=color(color_Arr(1)), strf='181');
plot2d(X_x, Y_x_v_g, style=color(color_Arr(2)), strf='181');
hl=legend(['t = 0', 't = '+string(t_Selected)], -1);
g=get('current_axes');
g.title.text='Gas Velocity';
|
f47a99a5b24fa8d6174b7bffd14f7d476f6ce23b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH39/EX39.25/Example39_25.sce | 9af102b6f71e7c73754f86c6de98049137dac7d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,133 | sce | Example39_25.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
// EXAMPLE : 1.25 :
// Page number 706-707
clear ; clc ; close ; // Clear the work space and console
// Given data
kW = 20.0 // Motor output(kW)
theta_1 = 50.0 // Temperature rise not to be exceeded on overload(°C)
t_1 = 1.0 // Time on overload(hour)
theta_2 = 30.0 // Temperature rise on full-load(°C)
t_2 = 1.0 // Time on full-load(hour)
theta_3 = 40.0 // Temperature rise on full-load(°C)
t_3 = 2.0 // Time on full-load(hour)
// Calculations
e_lambda = 1.0/3 // Obtained directly from textbook
theta_f = theta_2/(1-e_lambda) // θ_f(°C)
theta_f1 = theta_1/(1-e_lambda) // θ'_f(°C)
P = (theta_f1/theta_f)**0.5*kW // Maximum overload that can be carried by the motor(kW)
// Results
disp("PART IV - EXAMPLE : 1.25 : SOLUTION :-")
printf("\nMaximum overload that can be carried by the motor, P = %.1f kW", P)
|
2e466a89cd332ab334ce22c039aaf9c268026c1b | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/cambioTemperatura.sci | b0691bc37f2d78dc56cc1d270fc93855973e9998 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sci | cambioTemperatura.sci | // Leyes de Newton de Enfriamiento con Temperatura del Ambiente Constante
// function [T, t] = cambioTemperatura(Tambiente, Tinicial, k, stepsize, tfinal)
// Entrada:
// Tambiente : Temperatura del ambiente en °C
// Tinicial : Temperatura inicial del objeto de interes en °C
// k : constante de proporcionalidad en 0.019/min
// Salida:
// t : tiempo en minutos
// T : temperatura del objeto de interes
function [T, t] = cambioTemperatura(Tambiente, Tinicial, k, stepsize, tfinal)
T(1) = Tinicial;
t = 0:stepsize:tfinal;
for i=1:length(t)-1;
T(i+1) = T(i) - k*(T(i)-Tambiente)*(t(i+1)-t(i));
end
// plot(t,T,'color','red','marker','>');
// xlabel("t, seg");
// ylabel("T, °C");
// set(gca(),"grid",[1 1]);
endfunction
|
45c35dc6bb754f5e6ffaecc07a69c10959624eaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH20/EX20.1/Ex20_1.sce | f19d65f158d3fbc66b486046d763ba545d610071 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | Ex20_1.sce | //Example 20.1
//Deep Drawing
//Page No. 672
clc;clear;close;
le=0.3; //factor (no unit)
wd=-0.16; //factor (no unit)
l_l0=1+le;
w_w0=1+wd;
R=log(1/w_w0)/log((w_w0)*l_l0);
printf('\nLimiting ratio = %g',R);
|
ed3c577f7b6653cad646f98558a80820d3749204 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH21/EX21.3/EX21_3.sce | e20bc1aebd9a32ba7d04834ce23ab4923244f450 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,570 | sce | EX21_3.sce | clc;funcprot(0);//EXAMPLE 21.3
// Initialisation of Variables
p1=1;.........//Pressure of air while entering the turbine in bar
t1=300;........//Temperature of air entering the turbine in K
p2=6.2;.........//Pressure of air after compression in bar
etac=0.88;....//Efficiency of compressor
etat=0.9;.....//Efficiency of turbine
far=0.017;........//Fuel air ratio
ga=1.4;........//Ratio of specific heats for compression
gae=1.333;........//Ratio of specific heats for expansion
cp=1.147;.............//Specific heat at constant pressure in kJ/kgK during expansion
cpc=1.005;.............//Specific heat at constant pressure in kJ/kgK during compression
C=44186;.............//Calorific value of fuel in kJ/kg
//Calculations
t2=t1*((p2/p1)^((ga-1)/ga));...............//Ideal temperature of air after compression in K
t21=((t2-t1)/etac)+t1;..............//Actual temperature of air after compression in K
t3=(((C*far)/((far+1)*cpc))+t21);..............//Temperature before expansion in turbine in K
p4=p1;p3=p2;t4=t3*((p4/p3)^((gae-1)/gae));............//Ideal temperature after expansion in turbine in K
t41=t3-(etat*(t3-t4));.................//Actual temperature after expansion in turbine in K
wt=(cp*(t3-t41));........//Work done by turbine in kJ/kg of air
wc=round(1*cpc*(t21-t1));.................//Work done by compression in kJ/kg of air
wnet=wt-wc;..........//Net work done in kJ/kg
qs=(far)*C;................//Heat supplied in kJ/kg of air
etath=wnet/qs;................//Thermal efficiency
disp(etath*100,"Thermal efficiency in %:")
|
320fb91b274c89ccf9d8f8fa3dddc604b0d940c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.a.20/Example_a_1_20.sce | c1799b0481e73056bad31e5fde8d84e4a9fd3f1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Example_a_1_20.sce | //Example 1_20 page no:35
clc;
V=12;
R=1;
R=4;
R=3;
I=6;
P=-V*I;
disp(P,"the power absorbed by 12V source is (in W)");
V1=6;
P1=V1*I;
disp(P1,"the power absorbed by 1ohm resistor is (in W)");
V2=-2*3*6;
P2=V2*I;
disp(P2,"the power absorbed by 2v1 independent voltage source is (in W)");
V3=18;
P3=V3*I;
disp(P3,"the power absorbed by 3ohm resistor is (in W)");
V=4*6;
P4=V*I;
disp(P4,"the power absorbed by 4ohm resistor is (in W)");
|
3fcbf4713f0aa78c8c680fd260de8c0b0b1a880a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH12/EX12.5/Ex12_5.sce | 3d8635324d7edbed0215d44bfcb072023631cf23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Ex12_5.sce | clc();
clear;
//Given :
deltaIE = 2; // in mA
deltaIB = 5; // in mA
Rl = 200*10^3; // load resistance in ohm
ri = 200; // input resistance in ohm
// IE= IB + IC , 1 muA = 1.0*10^-3 mA
deltaIC = deltaIE - deltaIB*10^-3 ;// in mA
alpha = deltaIC/deltaIE;
A = alpha*(Rl/ri);
printf("Voltage gain = %.1f ",A);
|
8f61c8d4cae72b1a65b0ec0e65e2d55ac2294d7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH15/EX15.3/15_3.sce | 3458bb44336bf44021aebcd28530b16aaa81c852 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | 15_3.sce | clc;
//page no 520
//prob no. 15.3
//An isotropic radiator with power 100W & dist given is 10km
Pt=100;r=10*10^3;
//Determination of power density at r=10km
Pd=Pt/(4*%pi*(r^2));
disp('nW/m2',Pd*10^9,'Power density at a point 10km'); |
26c175156f7b2ec44fe3b06eecd0744e3dc98934 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.27/Ex5_27.sce | bcf001e0157263170dbbd1e8cfdbf05657324f46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | Ex5_27.sce | clc
n = 6500 // yearly production
c = 1350 // cost of fixture
a = 10 //saving per piece in paisa
a = a/100
b = 30 // overhead applied on direct labour saved
b = b/100
I = 8 // interest rate
I = I/100
M = 3 // allowance for maintenance
M = M/100
T = 12 // allowance for tax
T = T/100
co = 700 // cost of old fixture
cs = 250 // scrap value
H = (c)/((n*a*(1+b))-I*(co-cs)-c*(I+T+M)) // amotization in years
printf("\n Time taken to amortize the fixture = %0.1f years" , H)
|
21b6d0e9af0eb85473c3e8e3bd48e510090ebb1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH16/EX16.19/Ex16_19.sce | a5dc11a744d3931d24f88e7218c1eedde251a609 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Ex16_19.sce |
// Examle 16.19
V=220; // Supply voltage
Ia=22; // Armature currernt
Ra=0.45; // Armature resistance
E1=V-(Ia*Ra); // Generated emf
disp(' Generated emf = '+string(E1)+' Voltage');
N1=700; // Speed of motor in Shunt
N2=450; // Speed of motor in Series
E2=(N2*E1)/N1; // Emf of Shunt motor
disp(' Emf of Shunt motor = '+string(E2)+' voltage');
Va=Ia*Ra; // Armature voltage
R=(V-(E2+Va))/Ia; // Resistance with Armature
disp(' Resistance with Armature = '+string(R)+' ohms');
// p 654 16.19 |
bac4b62b09825c59f3f752cd4813cf0e74e7ee2c | fcec29e592f4bcf7d8bd215b4aff1152b2c2eea5 | /test/eunit.truncate.tst | 651f2b8d329f8322bf7b74a197fea7497adc2f59 | [
"Apache-2.0"
] | permissive | idau2012/sqlparse | c79a95e7fa89cc36e99942501c20946e2aebb044 | 4390d99be81faae22e7b7d5fbdcb09cba5ffd8ca | refs/heads/master | 2022-04-10T01:46:15.934869 | 2020-03-11T15:13:58 | 2020-03-17T09:49:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,045 | tst | eunit.truncate.tst | %%-*- mode: erlang -*-
%%-*- coding: utf-8 -*-
% Test control options
[{tests, []}].
%% =============================================================================
%% TESTS: TRUNCATE
%% -----------------------------------------------------------------------------
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% truncate_cluster
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
"truncate cluster cluster_name drop all storage".
"truncate cluster cluster_name drop all storage;".
"truncate cluster cluster_name drop storage".
"truncate cluster cluster_name drop storage;".
"truncate cluster cluster_name reuse storage".
"truncate cluster cluster_name reuse storage;".
"truncate cluster cluster_name".
"truncate cluster cluster_name;".
"truncate cluster schema_name.cluster_name drop all storage".
"truncate cluster schema_name.cluster_name drop all storage;".
"truncate cluster schema_name.cluster_name drop storage".
"truncate cluster schema_name.cluster_name drop storage;".
"truncate cluster schema_name.cluster_name reuse storage".
"truncate cluster schema_name.cluster_name reuse storage;".
"truncate cluster schema_name.cluster_name".
"truncate cluster schema_name.cluster_name;".
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% truncate_table
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
"truncate table :param_1 drop storage".
"Truncate Table :param_1 Drop Storage".
"truncate table :param_1 preserve materialized view log drop storage".
"truncate table :param_1 preserve materialized view log reuse storage".
"truncate table :param_1 preserve materialized view log".
"truncate table :param_1 purge materialized view log drop storage".
"truncate table :param_1 purge materialized view log reuse storage".
"truncate table :param_1 purge materialized view log".
"truncate table :param_1 reuse storage".
"truncate table :param_1".
"Truncate Table \"^&()\" Drop Storage".
"truncate table name_schema.name_table".
"Truncate Table schema_1.table_1 Drop Storage".
"truncate table table_1 drop storage".
"Truncate Table table_1 Drop Storage".
"truncate table table_1 preserve materialized view log drop storage".
"truncate table table_1 preserve materialized view log reuse storage".
"truncate table table_1 preserve materialized view log".
"truncate table table_1 purge materialized view log drop storage".
"truncate table table_1 purge materialized view log reuse storage".
"truncate table table_1 purge materialized view log".
"truncate table table_1 reuse storage".
"truncate table table_1".
"truncate table tbl drop storage".
"truncate table tbl preserve materialized view log drop storage".
"truncate table tbl preserve materialized view log reuse storage".
"truncate table tbl preserve materialized view log".
"truncate table tbl purge materialized view log drop storage".
"truncate table tbl purge materialized view log reuse storage".
"truncate table tbl purge materialized view log".
"truncate table tbl reuse storage".
"truncate table schema_name.table_name cascade".
"truncate table schema_name.table_name drop all storage cascade".
"truncate table schema_name.table_name drop storage cascade".
"truncate table schema_name.table_name preserve materialized view log cascade".
"truncate table schema_name.table_name preserve materialized view log drop all storage cascade".
"truncate table schema_name.table_name preserve materialized view log drop all storage".
"truncate table schema_name.table_name preserve materialized view log drop storage cascade".
"truncate table schema_name.table_name preserve materialized view log drop storage".
"truncate table schema_name.table_name preserve materialized view log reuse storage cascade".
"truncate table schema_name.table_name preserve materialized view log reuse storage".
"truncate table schema_name.table_name purge materialized view log cascade".
"truncate table schema_name.table_name purge materialized view log drop all storage cascade".
"truncate table schema_name.table_name purge materialized view log drop all storage".
"truncate table schema_name.table_name purge materialized view log drop storage cascade".
"truncate table schema_name.table_name purge materialized view log drop storage".
"truncate table schema_name.table_name purge materialized view log reuse storage cascade".
"truncate table schema_name.table_name purge materialized view log reuse storage".
"truncate table schema_name.table_name reuse storage cascade".
"truncate table schema_name.table_name".
"truncate table table_name cascade".
"truncate table table_name drop all storage cascade".
"truncate table table_name drop storage cascade".
"truncate table table_name preserve materialized view log cascade".
"truncate table table_name preserve materialized view log drop all storage cascade".
"truncate table table_name preserve materialized view log drop all storage".
"truncate table table_name preserve materialized view log drop storage cascade".
"truncate table table_name preserve materialized view log drop storage".
"truncate table table_name preserve materialized view log reuse storage cascade".
"truncate table table_name preserve materialized view log reuse storage".
"truncate table table_name purge materialized view log cascade".
"truncate table table_name purge materialized view log drop all storage cascade".
"truncate table table_name purge materialized view log drop all storage".
"truncate table table_name purge materialized view log drop storage cascade".
"truncate table table_name purge materialized view log drop storage".
"truncate table table_name purge materialized view log reuse storage cascade".
"truncate table table_name purge materialized view log reuse storage".
"truncate table table_name reuse storage cascade".
"truncate table table_name".
%% -----------------------------------------------------------------------------
%% TESTS: TRUNCATE
%% =============================================================================
|
5e37057e53656e0c64bd419df331b3e0789085aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH4/EX4.1/ex4_1.sce | 9f53bc1283b3532da074acaeeaf4d9a0f03be03f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | ex4_1.sce | //Single-Sideband Communications : example 4-1 : (pg 172 & 173)
x=1*10^6;
y=10^(80/20);
z=sqrt(y);
df=200;
Q=(x*z)/(4*df);
a=100*10^3;
Q1=(a*z)/(4*df);
disp(Q1);
//part(a) : Q when 1-MHz & 80-dB sideband suppression
printf("\nQ1 = fc.(log^-1(dB/20)^1/2)/4*delta(f) = %.f",Q);
//part(b) : Q when 100-kHz & 80-dB sideband suppression
printf("\nQ2 = fc.(log^-1(dB/20)^1/2)/4*delta(f) = %.f",Q1); |
49842eff17395548606f601fcc21da8a8d1fb8c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH5/EX5.7/Example_5_7.sce | 4a82bb5ca2e934dd9be229e4168ea56f6b19cf9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | Example_5_7.sce | //Example 5.7
clear;
clc;
//Given
P1=2.15;//vapour pressure of water in mm of Hg
P2=1.95;//vapour pressure of ice in mm of Hg
R=8.314;//gas constant in J K^-1 mol^-1
T=263//temperature in K
//To determine the free energy change delG
delG=R*T*log(P2/P1);//gibbs free energy in J mol^-1
mprintf('(i) Free energy change = 0 J mol^-1');
mprintf('\n (ii) Free energy change = %f J mol^-1',delG);
mprintf('\n (iii) Total Free energy change = %f J mol^-1',delG);
//end |
77fc3d05dbe0d130a90595cf06e1389b01742e7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.25/Example1_25.sce | 8e6998b117227efef308fc9f8d46bf11e9888c87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Example1_25.sce | // Example 1.25
clear; clc; close;
format('v',7);
// Given data
V=440;//in volt
f=50;//in Hz
P=4;//no. of poles
X1=5.2;//in ohm
R2dash=1.2;//in ohm
X2dash=4.5;//in ohm
//Calculations
disp("Magnetic components not present. So, Rth=R1 & Xth=X1")
//Rth=R1;//in ohm
//Xth=X1;//in ohm
//Formula : R2dash/Sm=sqrt(X1^2+X2dash^2)
Sm=R2dash/(X1+X2dash);//Maximum Slip
I1=V/sqrt(3)/sqrt((R2dash/Sm)^2+(X1+X2dash)^2);//in Ampere
I2dash=I1;//in Ampere(Neglecting I0)
Ns=120*f/P;//in rpm
Tmax=3*I2dash^2*R2dash/Sm/2/%pi/Ns*60;//in N-m
disp(Tmax,"Maximum Torque in N-m ; ");
disp(Sm*100,"Maximum Slip in % : ");
|
8eb3ecbf2af84b50fd807b37d0986a096b9e3237 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Valorant Hard Challenge.sce | 4b29b53c4942611a256baecc4890bcef9abf09b7 | [] | 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 | 87,390 | sce | Valorant Hard Challenge.sce | Name=Valorant Hard Challenge
PlayerCharacters=Aimer
BotCharacters=wide_strafe.bot;target_decay.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=Aimer
AddedBots=target_decay.bot
PlayerMaxLives=1
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=val.map
MapScale=3.75
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=0.0
ScorePerDamage=1.0
ScorePerKill=0.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=false
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=VALORANT,APEX,CSGO
WeaponHeroTag=Sheriff
DifficultyTag=3
AuthorsTag=@Lac0caL
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=false
BlockFCT=false
Description=EZ
GameVersion=2.0.1.2
ScorePerDistance=0.0
MBSEnable=false
MBSTime1=0.25
MBSTime2=0.5
MBSTime3=0.75
MBSTime1Mult=1.0
MBSTime2Mult=2.0
MBSTime3Mult=3.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
LockFOVRange=true
LockedFOVMin=99.0
LockedFOVMax=110.0
LockedFOVScale=Clamped Horizontal
[Aim Profile]
Name=Aimbot
MinReactionTime=0.0001
MaxReactionTime=0.0001
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=90.0
FlickSpeed=10.0
FlickError=0.0
TrackSpeed=10.0
TrackError=0.0
MaxTurnAngleFromPadCenter=90.0
MinRecenterTime=0.0
MaxRecenterTime=0.0
OptimalAimFOV=90.0
OuterAimPenalty=0.0
MaxError=0.0
ShootFOV=15.0
VerticalAimOffset=-70.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
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
AimingStyle=Original
ScanSpeedMultiplier=1.0
MaxSeekPitch=30.0
MaxSeekYaw=30.0
AimingSpeed=5.0
MinShootDelay=0.3
MaxShootDelay=0.6
[Bot Profile]
Name=wide_strafe
DodgeProfileNames=wide_strafe_dodge
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=100.0;100.0;100.0;100.0;100.0;100.0;100.0;100.0
AimingProfileNames=Aimbot;Aimbot;Aimbot;Aimbot;Aimbot;Aimbot;Aimbot;Aimbot
WeaponSwitchTime=60.0
UseWeapons=true
CharacterProfile=wide_strafe_char
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
[Bot Profile]
Name=target_decay
DodgeProfileNames=no move for blink
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Aimbot;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=0.1
UseWeapons=true
CharacterProfile=target_decay
SeeThroughWalls=false
NoDodging=false
NoAiming=false
AbilityUseTimer=0.0001
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.1
UseAbilityFreqMaxTime=0.1
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Character Profile]
Name=Aimer
MaxHealth=150.0
WeaponProfileNames=Sheriff;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=5.0
StepUpHeight=75.0
CrouchHeightModifier=0.75
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=900.0
MaxCrouchSpeed=430.0
Acceleration=4000.0
AirAcceleration=16000.0
Friction=10.0
BrakingFrictionFactor=2.0
JumpVelocity=1000.0
Gravity=3.5
AirControl=0.25
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=0.000 Y=0.145 Z=0.290
EnemyHeadColor=X=0.000 Y=0.145 Z=0.290
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Cuboid
MainBBHeight=270.0
MainBBRadius=60.0
MainBBHasHead=true
MainBBHeadRadius=23.0
MainBBHeadOffset=13.0
MainBBHide=true
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=true
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=false
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=100.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=-100.0
TerminalVelocity=0.0
CharacterModel=Endo
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=wide_strafe_char
MaxHealth=150.0
WeaponProfileNames=Rocket Launcher;;;;;;;
MinRespawnDelay=60.0
MaxRespawnDelay=60.0
StepUpHeight=0.0
CrouchHeightModifier=0.75
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=510.0
MaxCrouchSpeed=500.0
Acceleration=8000.0
AirAcceleration=16000.0
Friction=2.0
BrakingFrictionFactor=0.0
JumpVelocity=0.0
Gravity=3.0
AirControl=0.0
CanCrouch=false
CanPogoJump=true
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=true
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Cuboid
MainBBHeight=270.0
MainBBRadius=50.0
MainBBHasHead=true
MainBBHeadRadius=23.0
MainBBHeadOffset=6.0
MainBBHide=true
ProjBBType=Cylindrical
ProjBBHeight=0.02
ProjBBRadius=0.01
ProjBBHasHead=false
ProjBBHeadRadius=25.0
ProjBBHeadOffset=-10.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=0.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=555.0
BlockSpawnFOV=0.0
BlockSpawnDistance=555.0
RespawnAnimationDuration=1.0
AllowBufferedJumps=true
BounceOffWalls=true
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=0.1
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=0.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=Endo
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=true
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=target_decay
MaxHealth=3.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.55
MaxRespawnDelay=0.55
StepUpHeight=75.0
CrouchHeightModifier=0.0
CrouchAnimationSpeed=0.1
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=8.0
MovementType=Base
MaxSpeed=0.0
MaxCrouchSpeed=0.0
Acceleration=0.0
AirAcceleration=16000.0
Friction=100.0
BrakingFrictionFactor=100.0
JumpVelocity=0.0
Gravity=0.0
AirControl=0.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Cuboid
MainBBHeight=270.0
MainBBRadius=46.0
MainBBHasHead=true
MainBBHeadRadius=19.0
MainBBHeadOffset=2.0
MainBBHide=true
ProjBBType=Spheroid
ProjBBHeight=400.0
ProjBBRadius=200.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=100000.0
JetpackFuelIncPerSec=0.1
JetpackFuelRegensInAir=true
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=1.0
AbilityProfileNames=selfdamage.abilwep;;;
HideWeapon=true
AerialFriction=4.0
StrafeSpeedMult=1.0
BackSpeedMult=0.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=10.0
BlockSpawnFOV=0.0
BlockSpawnDistance=10.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=-100.0
TerminalVelocity=0.0
CharacterModel=Endo
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=90.0
ViewBobCameraZOffset=1000.0
ViewBobAffectsShots=true
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Dodge Profile]
Name=wide_strafe_dodge
MaxTargetDistance=1500.0
MinTargetDistance=800.0
ToggleLeftRight=true
ToggleForwardBack=false
MinLRTimeChange=0.7
MaxLRTimeChange=1.7
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=true
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.0
MaxJumpTime=1.0
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.25
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
WaypointLogic=Ignore
WaypointTurnRate=200.0
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
ForwardTimeMult=1.0
BackTimeMult=1.0
DamageReactionChangesFB=false
[Dodge Profile]
Name=no move for blink
MaxTargetDistance=100000.0
MinTargetDistance=10.0
ToggleLeftRight=true
ToggleForwardBack=true
MinLRTimeChange=0.2
MaxLRTimeChange=0.5
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=true
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.2
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.3
MaxJumpTime=0.6
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.25
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
WaypointLogic=Ignore
WaypointTurnRate=200.0
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
ForwardTimeMult=1.0
BackTimeMult=1.0
DamageReactionChangesFB=false
[Weapon Profile]
Name=Sheriff
Type=Hitscan
ShotsPerClick=1
DamagePerShot=0.01
KnockbackFactor=30.0
TimeBetweenShots=0.24
Pierces=false
Category=SemiAuto
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=100000.0
GravityScale=1.0
HeadshotCapable=true
HeadshotMultiplier=100.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=1.0
ReloadTimeFromPartial=1.0
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=10.0
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=1.0
ADSMoveFactor=0.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=0.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=30.0
RecoilNegatable=false
DecalType=1
DecalSize=17.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=400.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=1.0
FlatKnockbackVertical=1.0
HitscanRadius=0.0
HitscanVisualRadius=2.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=false
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=2
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=1.0
FlatKnockbackVerticalMin=1.0
ADSScope=No Scope
ADSFOVOverride=1.0
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=false
IsBurstWeapon=false
ForceFirstPersonInADS=false
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Law Bringer
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=1.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Bolt Action Sniper
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=Bullet
ParticleWallImpact=None
ParticleBodyImpact=Flare
ParticleProjectileTrail=None
ParticleHitscanTrace=Bullet
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=5.0
ParticleBodyImpactScale=2.0
ParticleProjectileTrailScale=1.0
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=100.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=false
SpreadSSA=1.0,1.0,-1.0,5.0
SpreadSCA=1.0,1.0,-1.0,5.0
SpreadMSA=1.0,1.0,-1.0,5.0
SpreadMCA=1.0,1.0,-1.0,5.0
SpreadSSH=55.0,30.0,0.1,10.0
SpreadSCH=1.0,1.0,-1.0,5.0
SpreadMSH=10.0,25.0,8.0,17.0
SpreadMCH=1.0,1.0,-1.0,5.0
MaxRecoilUp=9.0
MinRecoilUp=9.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=0.5
RecoilAutoReset=true
TimeToRecoilPeak=0.03
TimeToRecoilReset=0.2
AAMode=0
AAPreferClosestPlayer=true
AAAlpha=1.0
AAMaxSpeed=360.0
AADeadZone=0.0
AAFOV=360.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.175
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=Rocket Launcher
Type=Hitscan
ShotsPerClick=1
DamagePerShot=50.0
KnockbackFactor=30.0
TimeBetweenShots=0.6
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=3000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=5000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=100.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=100000.0
GravityScale=0.0
HeadshotCapable=false
HeadshotMultiplier=1.0
MagazineMax=3
AmmoPerShot=1
ReloadTimeFromEmpty=1.0
ReloadTimeFromPartial=1.0
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.35
ProjectileGraphic=Arrow
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=2.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=50.000 Y=0.000 Z=0.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=10.0
RecoilNegatable=false
DecalType=1
DecalSize=20.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=1.0
FlatKnockbackVertical=1.0
HitscanRadius=0.0
HitscanVisualRadius=20.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=25.0
AimPunchResetTime=0.2
AimPunchCooldown=0.1
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=1.0
FlatKnockbackVerticalMin=1.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Rocket Launcher
WeaponAnimation=Secondary
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=Bullet
ParticleWallImpact=None
ParticleBodyImpact=Flare
ParticleProjectileTrail=Rocket
ParticleHitscanTrace=Bullet
ParticleMuzzleFlashScale=10.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=0.2
Explosive=false
Radius=300.0
DamageAtCenter=1.0
DamageAtEdge=1.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=true
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=true
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=0.0,0.1,-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=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=0.5
AAMaxSpeed=0.5
AADeadZone=0.0
AAFOV=180.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.001
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=selfdamage 500 ms
Type=Projectile
ShotsPerClick=1
DamagePerShot=0.0
KnockbackFactor=0.0
TimeBetweenShots=0.48
Pierces=false
Category=SemiAuto
BurstShotCount=3
TimeBetweenBursts=3.0
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=0.100 Y=0.000 Z=0.000
MuzzleVelocityMax=X=0.100 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=0.3
MaxHitscanRange=0.1
GravityScale=0.0
HeadshotCapable=false
HeadshotMultiplier=1.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.5
ReloadTimeFromPartial=0.5
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=100.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.1
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.0
HitSoundCooldown=0.0
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=0
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=false
SpreadStationaryVelocity=300.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.1
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Heavy Surge Rifle
WeaponAnimation=Primary
UseIncReload=false
IncReloadStartupTime=0.0
IncReloadLoopTime=0.0
IncReloadAmmoPerLoop=1
IncReloadEndTime=0.0
IncReloadCancelWithShoot=true
WeaponSkin=Default
ProjectileVisualOffset=X=0.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Pistol
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=None
ParticleBodyImpact=None
ParticleProjectileTrail=None
ParticleHitscanTrace=None
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
Explosive=true
Radius=3.0
DamageAtCenter=2.0
DamageAtEdge=2.0
SelfDamageMultiplier=1.0
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.01
BlockedByWorld=false
SpreadSSA=1.0,1.0,-1.0,5.0
SpreadSCA=1.0,1.0,-1.0,5.0
SpreadMSA=1.0,1.0,-1.0,5.0
SpreadMCA=1.0,1.0,-1.0,5.0
SpreadSSH=0.0,0.1,0.0,0.0
SpreadSCH=1.0,1.0,-1.0,5.0
SpreadMSH=0.0,0.1,0.0,5.0
SpreadMCH=1.0,1.0,-1.0,5.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=1.0
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.175
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Ability Profile]
Name=selfdamage
MaxCharges=1.0
ChargeTimer=0.09
ChargesRefundedOnKill=0.0
DelayAfterUse=0.0
FullyAuto=true
WeaponProfile=selfdamage 500 ms
BlockAttackTimer=0.0
AbilityBlockedWhenAttacking=false
AmmoPerShot=0
AIUseInCombat=true
AIUseOutOfCombat=true
AIUseOnGround=true
AIUseInAir=true
AIReuseTimer=0.01
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=0.0
AIMaxTargDist=900000.0
AIMaxTargFOV=360.0
AIDamageReaction=false
AIDamageReactionIgnoreChance=0.0
AIDamageReactionMinDelay=0.125
AIDamageReactionMaxDelay=0.25
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=0.0
AIDamageReactionResetTimer=0.1
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
84.000000 641.000000 960.000000
90.000000 641.000000 960.000000
90.000000 641.000000 -144.000000
84.000000 641.000000 -144.000000
84.000000 630.000000 960.000000
90.000000 630.000000 960.000000
90.000000 630.000000 -144.000000
84.000000 630.000000 -144.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
72.000000 1000.000000 1096.000000
104.000000 1000.000000 1096.000000
104.000000 1000.000000 48.000000
72.000000 1000.000000 48.000000
72.000000 984.000000 1096.000000
104.000000 984.000000 1096.000000
104.000000 984.000000 48.000000
72.000000 984.000000 48.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-488.000000 1000.000000 1096.000000
-456.000000 1000.000000 1096.000000
-456.000000 1000.000000 56.000000
-488.000000 1000.000000 56.000000
-488.000000 984.000000 1096.000000
-456.000000 984.000000 1096.000000
-456.000000 984.000000 56.000000
-488.000000 984.000000 56.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
624.000000 1000.000000 1088.000000
656.000000 1000.000000 1088.000000
656.000000 1000.000000 48.000000
624.000000 1000.000000 48.000000
624.000000 984.000000 1088.000000
656.000000 984.000000 1088.000000
656.000000 984.000000 48.000000
624.000000 984.000000 48.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
1215.000000 1010.000000 1179.999023
1214.999023 1010.000000 -310.000854
1204.999023 1010.000000 -310.000732
1205.000000 1010.000000 1179.999023
1215.000000 640.000000 1179.999023
1214.999023 640.000000 -310.000854
1204.999023 640.000000 -310.000732
1205.000000 640.000000 1179.999023
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
-1055.000000 1010.000000 1173.999023
-1055.000977 1010.000000 -310.000854
-1065.000977 1010.000000 -310.000732
-1065.000000 1010.000000 1173.999023
-1055.000000 640.000000 1173.999023
-1055.000977 640.000000 -310.000854
-1065.000977 640.000000 -310.000732
-1065.000000 640.000000 1173.999023
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
-1059.000000 640.000000 1180.000000
1219.000000 640.000000 1180.000000
1219.000000 640.000000 -400.000000
-1059.000000 640.000000 -400.000000
-1059.000000 624.000000 1180.000000
1219.000000 624.000000 1180.000000
1219.000000 624.000000 -400.000000
-1059.000000 624.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
-1089.000000 1010.000000 1178.000000
1207.000000 1010.000000 1178.000000
1207.000000 1010.000000 1168.000000
-1089.000000 1010.000000 1168.000000
-1089.000000 640.000000 1178.000000
1207.000000 640.000000 1178.000000
1207.000000 640.000000 1168.000000
-1089.000000 640.000000 1168.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
-1055.000000 1008.000000 982.000000
1217.000000 1008.000000 982.000000
1217.000000 1008.000000 966.000000
-1055.000000 1008.000000 966.000000
-1055.000000 672.000000 982.000000
1217.000000 672.000000 982.000000
1217.000000 672.000000 966.000000
-1055.000000 672.000000 966.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
-1065.000000 1010.000000 39.996368
1225.000000 1010.000000 39.992615
1224.999878 1010.000000 29.992676
-1065.000000 1010.000000 29.996368
-1065.000000 640.000000 39.996368
1225.000000 640.000000 39.992615
1224.999878 640.000000 29.992676
-1065.000000 640.000000 29.996368
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
-1069.000000 1010.000000 1170.000000
1209.000000 1010.000000 1170.000000
1209.000000 1010.000000 -410.000000
-1069.000000 1010.000000 -410.000000
-1069.000000 994.000000 1170.000000
1209.000000 994.000000 1170.000000
1209.000000 994.000000 -410.000000
-1069.000000 994.000000 -410.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
-1063.000000 684.000000 995.000000
1209.000000 684.000000 995.000000
1209.000000 684.000000 966.000000
-1063.000000 684.000000 966.000000
-1063.000000 640.000000 995.000000
1209.000000 640.000000 995.000000
1209.000000 640.000000 966.000000
-1063.000000 640.000000 966.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
-639.000000 648.000000 891.000000
-594.000000 648.000000 891.000000
-594.000000 648.000000 873.000000
-639.000000 648.000000 873.000000
-639.000000 639.000000 891.000000
-594.000000 639.000000 891.000000
-594.000000 639.000000 873.000000
-639.000000 639.000000 873.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
89.384796 641.000000 973.615234
94.632538 641.000000 970.706543
-440.597046 641.000000 5.126472
-445.844788 641.000000 8.035284
89.384796 630.000000 973.615234
94.632538 630.000000 970.706543
-440.597046 630.000000 5.126472
-445.844788 630.000000 8.035284
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
77.000000 641.000000 970.000000
82.247673 641.000000 972.908691
617.477844 641.000000 7.328211
612.229980 641.000000 4.419433
77.000000 630.000000 970.000000
82.247673 630.000000 972.908691
617.477844 630.000000 7.328211
612.229980 630.000000 4.419433
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
84.000000 960.000000 72.000000
90.000000 960.000000 72.000000
90.000000 960.000000 48.000000
84.000000 960.000000 48.000000
84.000000 918.000000 72.000000
90.000000 918.000000 72.000000
90.000000 918.000000 48.000000
84.000000 918.000000 48.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
36.000000 912.000000 72.000000
78.000000 912.000000 72.000000
78.000000 912.000000 48.000000
36.000000 912.000000 48.000000
36.000000 906.000000 72.000000
78.000000 906.000000 72.000000
78.000000 906.000000 48.000000
36.000000 906.000000 48.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
84.000000 900.000000 72.000000
90.000000 900.000000 72.000000
90.000000 900.000000 48.000000
84.000000 900.000000 48.000000
84.000000 858.000000 72.000000
90.000000 858.000000 72.000000
90.000000 858.000000 48.000000
84.000000 858.000000 48.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
96.000000 912.000000 72.000000
138.000000 912.000000 72.000000
138.000000 912.000000 48.000000
96.000000 912.000000 48.000000
96.000000 906.000000 72.000000
138.000000 906.000000 72.000000
138.000000 906.000000 48.000000
96.000000 906.000000 48.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
-64.000000 965.000000 70.000000
238.000000 965.000000 70.000000
238.000000 965.000000 44.000000
-64.000000 965.000000 44.000000
-64.000000 844.000000 70.000000
238.000000 844.000000 70.000000
238.000000 844.000000 44.000000
-64.000000 844.000000 44.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
84.000000 912.000000 72.000000
90.000000 912.000000 72.000000
90.000000 912.000000 48.000000
84.000000 912.000000 48.000000
84.000000 906.000000 72.000000
90.000000 906.000000 72.000000
90.000000 906.000000 48.000000
84.000000 906.000000 48.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_weaponclip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_weaponclip
brush
vertices
64.000000 712.000000 74.000000
112.000000 712.000000 74.000000
112.000000 712.000000 40.000000
64.000000 712.000000 40.000000
64.000000 640.000000 74.000000
112.000000 640.000000 74.000000
112.000000 640.000000 40.000000
64.000000 640.000000 40.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
72.000000 1008.000000 65.000000
104.000000 1008.000000 65.000000
104.000000 1008.000000 40.000000
72.000000 1008.000000 40.000000
72.000000 712.000000 65.000000
104.000000 712.000000 65.000000
104.000000 712.000000 40.000000
72.000000 712.000000 40.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
571.000000 712.000000 74.000000
619.000000 712.000000 74.000000
619.000000 712.000000 40.000000
571.000000 712.000000 40.000000
571.000000 640.000000 74.000000
619.000000 640.000000 74.000000
619.000000 640.000000 40.000000
571.000000 640.000000 40.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
579.000000 1008.000000 65.000000
611.000000 1008.000000 65.000000
611.000000 1008.000000 40.000000
579.000000 1008.000000 40.000000
579.000000 712.000000 65.000000
611.000000 712.000000 65.000000
611.000000 712.000000 40.000000
579.000000 712.000000 40.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
-451.000000 712.000000 72.000000
-403.000000 712.000000 72.000000
-403.000000 712.000000 38.000000
-451.000000 712.000000 38.000000
-451.000000 640.000000 72.000000
-403.000000 640.000000 72.000000
-403.000000 640.000000 38.000000
-451.000000 640.000000 38.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
-443.000000 1008.000000 63.000000
-411.000000 1008.000000 63.000000
-411.000000 1008.000000 38.000000
-443.000000 1008.000000 38.000000
-443.000000 712.000000 63.000000
-411.000000 712.000000 63.000000
-411.000000 712.000000 38.000000
-443.000000 712.000000 38.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
entity
type CameraPath
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 1026.000000
Vector3 angles -180.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
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 593.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 638.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 90.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 548.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 638.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 683.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 45.000000 640.000000 593.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 548.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 638.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 683.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 135.000000 640.000000 593.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 683.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 638.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 593.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 548.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 180.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 548.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 638.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 225.000000 640.000000 593.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 548.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 360.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 360.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 360.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 360.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 360.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 360.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 360.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 405.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 405.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 405.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 405.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 405.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 450.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 450.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 450.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 495.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 548.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 638.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -45.000000 640.000000 593.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 683.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 638.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 593.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 548.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 0.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 548.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -180.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -180.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -180.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -180.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -180.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -180.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -180.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 458.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -225.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -225.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -225.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -225.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -225.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -315.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -315.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -270.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -270.000000 640.000000 188.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -270.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -270.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -90.000000 640.000000 593.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -135.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -180.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -225.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -225.000000 640.000000 368.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -360.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position -270.000000 640.000000 278.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 270.000000 640.000000 593.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 315.000000 640.000000 503.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 360.000000 640.000000 413.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 405.000000 640.000000 323.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 450.000000 640.000000 233.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 540.000000 640.000000 98.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
entity
type PlayerSpawn
Vector3 position 495.000000 640.000000 143.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
|
1ab441c1f46185c4991511b7406990fd1701de44 | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /MainForm.sci | 321f4ec8cf0973bc082056d7f1902eb1b6e5076b | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,586 | sci | MainForm.sci | clc;
d=figure();//создаем окно
set(d,'position',[250,250,800,500]);//местоположение и размеры окна
set(d,'figure_name','Лабораторные работы по ПВИС');//заголовок окна
set(d,'BackgroundColor',[0.9,0.7,0.5]);//цвет окна
button1=uicontrol(d,'style','pushbutton','string','Лаб 1.','position',[100,300,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','f1');
button1=uicontrol(d,'style','pushbutton','string','Лаб 2.','position',[220,300,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','a1');
button1=uicontrol(d,'style','pushbutton','string','Лаб 3.','position',[340,300,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','a1');
button1=uicontrol(d,'style','pushbutton','string','Лаб 4.','position',[460,300,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','a1');
button1=uicontrol(d,'style','pushbutton','string','Лаб 5.','position',[580,300,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','a1');
//Ряд 2
button1=uicontrol(d,'style','pushbutton','string','Лаб 6.','position',[100,200,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','a1');
button1=uicontrol(d,'style','pushbutton','string','Лаб 7.','position',[220,200,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','a1');
button1=uicontrol(d,'style','pushbutton','string','Лаб 8.','position',[340,200,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','a1');
button1=uicontrol(d,'style','pushbutton','string','Лаб 9.','position',[460,200,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','a1');
button1=uicontrol(d,'style','pushbutton','string','Лаб 10.','position',[580,200,100,40],'BackgroundColor',[0,0.1,0.7],'CallBack','a1');
function f1
clc
x =poly(0, 'x');
d1=derivat(x^3+5*x^2-10),
d2=derivat(derivat(x^3+5*x^2-10)),
d3=derivat(derivat(derivat(x^3+5*x^2-10))),
d4=derivat((2*x+10)/(x^3+5*x^2-10)),
j5=integrate('x^3+5*x^2-10', 'x', 2, 4),
j6=integrate('sin(x^2)+cos(x)^3', 'x', 0, %pi),
j7=integrate('2*log(x)-(1/(3*x))', 'x', 3, 5);
disp( j7, 'задание №7:', j6, 'задание №6:', j5, 'задание №5:', d4, 'задание №4:', d3, 'задание №3:', d2, 'задание №2:', d1, 'задание №1:' )
endfunction
function a1
f=figure();
button2=uicontrol(f,'style','pushbutton','string','Построить график.','position',[195,375,150,30],'BackgroundColor',[0,0.9,0.9],'CallBack','grafik1');
endfunction
function grafik1
x=1:0.1:10;
scf()
plot(x, sin(x),'-r' );
xgrid(5); xtitle('График функции (sin(x)');
endfunction
|
c3575a1c96c9d0ab2d8f138998c0177e34edb4bd | 872b5ff8852c926ca1261037de07449db7ac51db | /area-02/interpolacao-menos-pontos.sce | 7bee3371058b2b9fbacb1903926a7ee6af9a87ec | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | interpolacao-menos-pontos.sce | clear
/**
* Se diz pra extrapolar/interpolar em menos pontos,
* só meter menos pontos nos vetores abaixo
*/
x=[1 2 3 4]'
y=[3 4 7 6]'
n=length(x)
plot(x,y,'ro-'),xgrid
// Monta matriz de Vandermonde
for i=1:n
for j=1:n
V(i,j)=x(i)^(j-1)
end
end
a=inv(V)*y
X=4.1 // x para interpolar
// Caso desejar descobrir apenas um ponto, X=valor que deseja interpolar
// Chamar "p" no scilab ao final da execucao
p=0
for k=1:n
p=p+a(k)*X.^(k-1) //Monta o polinomio
end
plot(X,p,'b.-')
|
482c1408149a7d5c180d5817d2b3e08f3ee511f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH26/EX26.7/ex_26_7.sce | f97c7218e0c5cf550651ac7cb959bdbb91f8021c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | ex_26_7.sce | //find
clc
//solution
//given
d=80//mm
l=120//mm
n=4
W=16.5*1000//N
a=150//mm
fb=15//N/mm^2
ft=35//N/mm^2
E=110*1000//N/mm^2
t=sqrt(3*W*a/(2*fb*l))//mm
printf("thickness of bearing cap,%f mm\n",t)
//let dc be core dia
dc=[(4/3)*(W/n)*(4/%pi)*(1/ft)]^(0.5)//mm
printf("dia of bolts is,%f mm\n",dc)
//let dx be deflction
dx=W*a^3/(4*E*l*t^3)//mm
printf("deflction of cap is,%f mm\n",dx)
|
9e05134d22e7cae3fcc60a11d2fc5ee06d6cf1fa | 13195192acc730725307108d600fa0c8521661a7 | /Gauss.sce | 993f7b6039d41b97023b03f9545458c57cbc4ea9 | [] | no_license | vsapiens/Numerical-Methods | 7c3fc223d60271786ee23e4ae489365c6e8ab781 | 4ec4facfe2eeb171ff0234e1c3f752115f7fb8a5 | refs/heads/master | 2020-04-25T05:21:00.798079 | 2019-04-25T16:15:31 | 2019-04-25T16:15:31 | 172,539,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,708 | sce | Gauss.sce |
////////////////////////////////////////////////////
// Gauss.sce
// El método Gauss Jordan para resolver matrices
//
// Erick González
// Victor Villarreal
// 26/2/2019 versión 1.0
////////////////////////////////////////////////////
////////////////////////////////////////////////////
// Gauss_Jordan
//La función recibe una matriz para resolver las
// incógnitas
//
//
// Parámetros:
// MAT matriz de entrada
//
// Retorno:
// X solución de la matriz en forma reducida
//
////////////////////////////////////////////////////
function X = Gauss_Jordan(MAT)
for( i = 1 : size(MAT,1))
//el pivote anterior es
pivote = MAT(i,i)
for ( j = 1 : size(MAT,2))
//divide cada parte de la columna entre el pivote
MAT(i,j) = MAT(i,j)/ pivote
end
for(k = 1 : size(MAT,1))
// mientras que sea diferente el renglón k de i entonces se modifica el factor
if(k <> i)
factor = -MAT(k,i)
// cada columna se añade la posición I,J por el factor de cambio anterior
for ( j = 1 : size(MAT,2))
MAT(k,j) = MAT(k,j) +factor*MAT(i,j)
end
end
end
end
X = MAT
endfunction
////////////////////////////////////////////////////
// Instrucciones del programa principal
////////////////////////////////////////////////////
// se llama para leer la entrada de la matriz
MAT = input("Da la Matriz")
//se llama la función principal para resolver la matriz
X = Gauss_Jordan(MAT)
// despliegar la solución de la matriz
disp(X)
|
65fe24afd977d90a2ba8a2888966d76c736299d3 | b4be5ed282b4c531c0d140038804106b52e5e9be | /runCompare.sce | 8f80f0b504bc7c8f0eccd32e9e94497ecefd209e | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | runCompare.sce | // with iddata function
plantData = iddata(yy,uu,0.1)
compare(plantData,sys)
// other output datas
[x0] = compare(plantData,sys)
[fit x0] = compare(plantData,sys)
[y fit x0] = compare(plantData,sys)
|
ed27ab1f5f52674e9be39afb523eac9909242731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.30/EX1_30.sce | 766918d850354efc04d8f1dcd04fcfec58bea664 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | EX1_30.sce | //EXAMPLE 1-30 PG NO-28
Q=80*10^-4; //COULUMB CHARGR
C=150*10^-6;
C1=100*10^-6; //CAPACITANCE
C2=50*10^-6;
Va=Q/C1;
Vb=Q/C2;
E1=(0.5*C1*Va*Va)+(0.5*C2*Vb*Vb); //ENERGY
E2=0.5*C*(Va+Vb)*(Va+Vb);
disp('i)variable = '+string (Va)+' ohm')
disp('i)variable = '+string (Vb)+' ohm')
disp('i)energy = '+string (E1)+' J')
disp('i)energy = '+string (E2)+' J')
|
827e47b837c5c844bc4ba0458f3bbee06749e936 | fcd4bce0080771389b4a69338ed6443153942183 | /cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/alu_xor.tst | d1976ab3a71b93dd29e9623180a25c8eb0d97b44 | [
"MIT",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"GPL-1.0-or-later",
"Zlib",
"GPL-2.0-only",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-brian-gladman-3-clause",
"BSD-3-Clause"... | permissive | wulfebw/retro | d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa | dad4b509e99e729e39a2f27e9ee4120e3b607f58 | refs/heads/master | 2022-10-23T07:17:55.320585 | 2020-06-12T01:38:06 | 2020-06-12T01:38:06 | 260,832,205 | 8 | 1 | MIT | 2020-06-12T01:38:08 | 2020-05-03T05:06:17 | C | UTF-8 | Scilab | false | false | 1,220 | tst | alu_xor.tst | #include "alu.inc"
.code
prolog
#define XOR(N, I0, I1, V) ALU(N, , xor, I0, I1, V)
XOR(0, 0x7fffffff, 1, 0x7ffffffe)
XOR(1, 1, 0x7fffffff, 0x7ffffffe)
XOR(2, 0x80000000, 1, 0x80000001)
XOR(3, 1, 0x80000000, 0x80000001)
XOR(4, 0x7fffffff, 0x80000000, 0xffffffff)
XOR(5, 0x80000000, 0x7fffffff, 0xffffffff)
XOR(6, 0x7fffffff, 0xffffffff, 0x80000000)
XOR(7, 0xffffffff, 0x7fffffff, 0x80000000)
XOR(9, 0xffffffff, 0xffffffff, 0)
XOR(10, 0x7fffffff, 0, 0x7fffffff)
XOR(11, 0, 0x7fffffff, 0x7fffffff)
#if __WORDSIZE == 64
XOR(12, 0x7fffffffffffffff, 1, 0x7ffffffffffffffe)
XOR(13, 1, 0x7fffffffffffffff, 0x7ffffffffffffffe)
XOR(14, 0x8000000000000000, 1, 0x8000000000000001)
XOR(15, 1, 0x8000000000000000, 0x8000000000000001)
XOR(16, 0x7fffffffffffffff, 0x8000000000000000, 0xffffffffffffffff)
XOR(17, 0x8000000000000000, 0x7fffffffffffffff, 0xffffffffffffffff)
XOR(18, 0x7fffffffffffffff, 0xffffffffffffffff, 0x8000000000000000)
XOR(19, 0xffffffffffffffff, 0x7fffffffffffffff, 0x8000000000000000)
XOR(20, 0xffffffffffffffff, 0xffffffffffffffff, 0)
#endif
prepare
pushargi ok
ellipsis
finishi @printf
ret
epilog
|
784732c015218245ae57935a645cd7e3f5864135 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH4/EX4.12/example4_12.sce | 993c6995ebc2d6dbf2aa71f9d551b0f5c6a3de26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,131 | sce | example4_12.sce | //clc()
N = 100;//kmol producer gas
P1 = 25;//% ( Carbon monoxide )
P2 = 4;//% ( Carbon Dioxide )
P3 = 3;//% ( Oxygen )
P4 = 68;//% ( Nitrogen )
N1 = N * P1/100;
N2 = N * P2/100;
N3 = N * P3/100;
N4 = N * P4/100;
NC = N1 + N2;
m = NC * 12;
Ngas = N / m;//moles of gas for 1 kg of Carbon
Vstp = 22.4143;//m^3/kmol
Vstp1 = Vstp * Ngas;
P = 1;//bar
T = 290;//k
Pstp = 1.01325;//bar
Tstp = 273.15;//K
V = T * Vstp1 * Pstp / (Tstp * P );
disp("m^3",V,"(a)Volume of gas at 1 bar and 290 K per kg Carbon = ")
//CO + 1/2 * O2 = CO2
Nrequired = N1/2 - N3;//(oxygen required)
Nsupplied = Nrequired * 1.2;
PO1 = 21;//% ( Oxygen percent in air)
Nair = Nsupplied * 100/PO1;
V1 = 100;//m^3;
Vair = V1 * Nair / N;
disp("m^3",Vair,"(b)Volume of air required = ")
NCO2 = N2 + N1;
NO2 = Nsupplied - Nrequired;
NN2 = N4 + (Vair * (1 - PO1/ 100));
Ntotal = NCO2 + NO2 + NN2;
PCO2 = NCO2 * 100 / Ntotal;
PO2 = NO2 * 100 / Ntotal;
PN2 = NN2 * 100 / Ntotal;
disp("%",PCO2,"Percent composition of Carbon Dioxide = ")
disp("%",PO2,"Percent composition of Oxygen = ")
disp("%",PN2,"Percent composition of Nitrogen = ") |
0a4d40d511af7861a864eb8019275aeaeebed9f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH6/EX6.7/6_7.sce | 54da84f31f15eb529a8f0123136b7dd54ed22d37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | 6_7.sce | //Example 6.7
//Wilkinson Method
//Page no. 240
clc;clear;close;
A=[0.3*10^5,0.212,0.332;0.216,0.376,0.477;0.173,0.663,0.626];
B=[0.235;0.128;0.285];
X=inv(A)
disp(X*B,'Final Solution = ') |
c3100764fda34613d2f77ac36372abe88892273f | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH3/EX3.6/Example3_6.sce | 616a9dba68656b2897eaf7351836a67717c8d9ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | sce | Example3_6.sce | //Example 3.6
clear;
clc;
GdB=40;
GdBf2=GdB+20;
Gf2=10^(GdBf2/20);
//->((R2+R3)/R1)=Gf2
C2=10*10^(-9);//Assumed Value of C2
f1=500;
f2=50;
f3=2122;
w1=2*%pi*f1;
w2=2*%pi*f2;
w3=2*%pi*f3;
R2=(1/(w2*C2))-2309.8862;
C3=((1/R2)-(w1*C2))/(w1-w3);
R3=(1/(w3*C3))+(0.94*10^3);
R1=((R2+R3)/Gf2)-4;
C1=(1/(2*%pi*20*R1))+(10*10^(-6));//Here f=20 Hz as it is the lower limit of the audio range
printf("Designed RIAA phono Amplifier :");
printf("\nR1=%.f ohms",R1);
printf("\nR2=%.f kohms",R2*10^(-3));
printf("\nR3=%.1f kohms",R3*10^(-3));
printf("\nC1=%.f uF",C1*10^6);
printf("\nC2=%.f nF",C2*10^9);
printf("\nC3=%.1f nF",(C3*10^9)-0.1); |
5e8d429294ffc0d1dc0d20bff1fa0338c8e516e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH5/EX5.13/Chapter5_Example13.sce | dbd8bb632adc31ae032af3c42d8e37a742df415c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,675 | sce | Chapter5_Example13.sce | //Chapter-5, Illustration 13, Page 262
//Title: Air Compressors
//=============================================================================
clc
clear
//INPUT DATA
V=16;//Volume of air compresssed in m^3
P1=1;//Pressure at point 1 in bar
P3=10.5;//Pressure at point 3 in bar
T1=294;//Temperature at point 1 in K
Tc=25;//Temperature of cooling water in oC
n=1.35;//Adiabatics gas constant
R=0.287;//Universal gas constant in kJ/kg-K
Cp=1.005;//Specific heat at constant pressure in kJ/kg-K
Cw=4.187;//Specific heat of water in kJ/kg-K
//CALCULATIONS
x=(n-1)/n;//Ratio
P2=sqrt(P1*P3);//Pressure at point 2 in bar
W1=(2*P1*100*V*(((P2/P1)^x)-1))/(x*60);//Indicated power of compressor from P1 to P2 in kW
W2=(P1*100*V*(((P3/P1)^x)-1))/(x*60);//Indicated power of compressor from P1 to P3 in kW
T4=T1*((P2/P1)^x);//Maximum temperature for two stage compression in K
T2=T1*((P3/P1)^x);//Maximum temperature for single stage compression in K
m=(P1*100*V)/(R*T1);//Mass of air compressed in kg/min
Q=m*Cp*(T4-T1);//Heat rejected by air in kJ/min
mc=Q/(Cw*Tc);//Mass of cooling water in kg/min
//OUTPUT
mprintf('Minimum indicated power required for 2 stage compression is %3.1f kW \n Power required for single stage compression is 18 percent more than that for two stage compression with perfect intercooling \n Maximum temperature for two stage compression is %3.1f K \n Maximum temperature for single stage compression is %3.1f K \n Heat rejected by air is %3.1f kJ/min \n Mass of cooling water required is %3.1f kg/min',W1,T4,T2,Q,mc)
//==============================END OF PROGRAM=================================
|
7bc16bfc265e375026f544ca6cc994793faa2877 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH4/EX4.9/Example_9.sce | 39c08702cedec45a69fc5dc853996cd32a008f84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | Example_9.sce | //Chapter-4,Example 9,Page 95
clc;
close;
delta_H2= 2386 //enthalpy for.. yellow P---> H3PO4
delta_H3= 2113 //enthalpy for.. red P---> H3PO4
delta_HT = delta_H2- delta_H3 //enthalpy for...yellow P ---> red P
// According to Hess's Law... delta_H1 = delta_H2 - delta_H3
delta_HT = delta_H2 - delta_H3 // delta_H1 = delta_HT
printf('the enthalpy change of transition from yellow P to red P is %.f cals',delta_HT)
|
2ceb7aad7dd2e4f49010dfd25c6116fcc32d93cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.40/Example_1_40.sce | 002ed0db7b8eb95d416bee85315459696a1a86ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | Example_1_40.sce | // Example 1.40 A card is drawn from each of two well shuffled cards
clc;
clear;
A=1/13;
B=1/13;
AB=A*B;
disp(A+B-AB,"Probab. that at least one of them is ace=",AB,"Events A and B are independent so P(AB)=",B,"Probab. that the card from Pack II is an ace",A,"Probab. that card from Pack I is an ace");
|
001678cf596d70fabe83525dac6f20c15dde2593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH15/EX15.3/15_3.sce | f1084d5655cb277d31df8395d28dac944dc01f34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 15_3.sce | clc
//initialisation of variables
clear
R= 1.98*10^-4 //cal mole^-1 deg^-1
T= 20 //C
E= -0.11118 //volt
n2= 0.00326
n21= 0.0986
//CALCULATIONS
r= 10^((-E/(R*(273.16+T)))-log10(n21)+log10(n2))+n21
a2= r*n21
//RESULTS
printf ('a2/N2 = %.3f ',r)
printf ('\n a2 = %.4f ',a2)
|
03366510138c80ad7888275f163969339470bb25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH5/EX5.3/Ex5_3.sce | 834381f1ae57499279fea908d8bef38d9713f2d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | Ex5_3.sce | //Example 5_3
clc;
clear;
close;
format('v',5);
//given data :
ND=1.2*10^21;//cm^-3
NA=10^22;//cm^-3
T=(273+30);//K
kB=1.38*10^-23;//Boltzman constant
e=1.6*10^-19;//C/electron
VT=kB*T/e*1000;//mV//Thermal Voltage
disp(VT,"Thermal Voltage(mV)")
format('v',6);
ni=1.5*10^16;//cm^-3
V0=VT/1000*log(NA*ND/ni^2);//V
disp(V0,"Barrier Voltage(V)");
///Answer in the texbook is not accurate.
|
d6fe5a9cbfba3150b0354e7bd2a62832d361e878 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Ripper-C/results/Ripper-C.abalone-10-1tra/result2s0.tst | b49f3f32eed7583e4742a3a3acb168cde2637d7f | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,616 | tst | result2s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]
@attribute Rings{15,7,9,10,8,20,16,19,14,11,12,18,13,5,4,6,21,17,22,1,3,26,23,29,2,27,25,24}
@inputs Sex,Length,Diameter,Height,Whole_weight,Shucked_weight,Viscera_weight,Shell_weight
@outputs Rings
@data
12 9
10 12
15 20
5 4
4 5
8 8
20 14
11 9
16 17
12 10
8 9
12 10
11 7
9 13
18 11
7 6
9 4
16 16
13 13
13 11
12 11
8 6
13 20
7 9
11 10
15 14
11 8
9 13
10 10
16 12
8 9
19 16
19 20
10 8
10 10
10 9
12 10
14 21
11 9
11 9
13 11
17 21
11 9
5 5
10 10
14 10
8 10
14 8
11 10
15 16
21 17
9 10
16 19
11 10
11 10
11 16
5 5
12 9
4 4
13 15
13 9
17 19
17 9
15 10
9 13
10 8
12 23
7 6
10 11
9 9
8 18
15 11
12 11
11 11
4 6
8 5
7 6
5 5
7 6
7 6
6 6
7 9
6 10
6 9
8 10
10 10
9 9
7 9
8 11
10 11
12 11
11 12
6 5
6 7
6 7
7 6
6 9
8 8
8 8
7 9
8 8
8 9
8 9
8 10
9 11
9 11
9 11
7 6
8 6
8 7
11 8
8 8
8 8
7 9
9 8
7 8
13 8
10 9
9 7
9 8
11 9
10 13
10 9
11 8
9 10
10 9
11 11
12 10
10 10
15 13
10 12
10 12
11 11
14 12
6 5
6 7
8 7
6 6
9 7
8 8
6 9
8 8
9 9
9 14
8 9
10 11
10 11
11 11
6 5
5 4
8 6
8 7
8 7
9 12
10 10
12 8
10 10
9 12
8 10
9 10
11 11
10 9
12 11
9 11
12 10
12 11
10 11
10 11
10 12
9 9
11 11
9 11
4 5
7 8
11 7
8 7
8 8
10 9
10 10
7 8
9 10
9 9
9 8
10 12
10 8
9 11
11 11
11 11
13 11
11 11
7 5
7 5
7 7
8 6
9 10
9 7
9 8
8 6
8 9
11 9
8 10
10 11
14 10
7 10
8 9
10 9
9 8
16 18
9 7
12 12
9 13
6 4
5 4
11 7
7 9
18 16
13 11
8 7
13 18
13 10
15 11
10 8
10 10
10 9
8 8
10 9
17 11
23 11
12 12
18 17
11 11
3 4
12 8
10 5
5 4
9 8
10 8
9 6
9 9
11 10
7 10
5 5
8 6
12 10
8 10
7 7
7 7
6 9
9 9
8 8
8 8
9 9
9 11
10 11
11 11
4 4
6 6
8 7
8 8
9 8
9 8
10 10
10 10
11 11
10 9
10 11
12 11
9 11
9 11
7 9
9 11
9 11
6 5
7 6
9 9
8 9
8 8
11 11
11 11
12 11
11 11
11 11
9 8
11 9
14 11
6 9
8 9
9 8
7 9
9 10
9 18
11 11
10 11
10 11
14 16
11 12
11 16
7 6
7 8
9 11
13 11
24 13
10 11
15 9
12 10
5 6
9 12
6 10
15 19
16 17
8 13
13 13
14 12
5 6
11 9
18 22
15 10
14 13
12 14
9 6
17 12
16 12
13 7
8 10
19 15
9 8
10 10
5 5
6 4
10 15
13 10
6 6
7 6
13 12
7 10
8 8
9 10
11 11
10 14
10 11
6 5
8 10
8 8
12 10
11 11
3 4
6 4
7 6
7 6
9 8
9 10
10 10
8 20
12 11
10 11
7 6
8 9
9 7
9 9
7 8
10 9
10 10
14 11
10 11
11 11
10 11
11 11
7 7
9 8
9 11
13 11
8 7
10 8
9 10
10 9
9 9
10 12
14 11
6 4
8 9
4 4
7 10
12 10
11 14
5 6
13 18
14 13
17 11
10 9
15 9
12 8
20 12
14 14
13 10
13 13
9 8
12 9
6 7
7 9
6 6
9 9
11 10
10 9
11 11
10 9
11 11
9 16
9 18
8 9
10 11
8 9
9 18
10 9
8 10
10 9
6 7
7 5
7 6
|
860f4777866fa7d5f730bb49f28c8dfa690aa29a | 82cdcedaf3c5229da7560895cc713520e3413f39 | /Códigos/Códigos Funcionais Scilab/Modelagem Funcional/cpg.sci | 5ec8b5dbb7970793e3c900cb15e9de76c1c9bae9 | [] | no_license | mpsdantas/cpg | 9b1ae66eeefb7f4cab970eab271ada56a673865c | aabd8a621131218d0ae68d5433caf70110c7b9e7 | refs/heads/master | 2021-03-22T04:40:28.689371 | 2018-03-12T22:58:25 | 2018-03-12T22:58:25 | 76,735,862 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,150 | sci | cpg.sci | tInicio = 0; // tempo de incio da simulação
tFim = 40; // tempo final da simulação
osciladores = 8; // número de osciladores
passo = 0.01; // intervalo de tempo entre cada interação da simulação
t = tInicio:passo:tFim
n = length(t);
R = [0.2 0.2 0.29132 0.2 0.2 0.2 0.2 0.2];
global r;
r = zeros(n,osciladores);
global m;
m = zeros(n,osciladores);
global X;
X = [0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0];
global x;
x = zeros(n,osciladores);
global exe;
exe = zeros(n,osciladores);
global FI;
FI = zeros(n,osciladores);
global tetha;
tetha = zeros(n,osciladores);
ar = 2;
ax = 2;
w = [10 10 10 10 10 10 10 10]
wij= [0 0.5 0 0 0 0 0 0;0 0 0.5 0 0 0 0 0;0 0 0 0.5 0 0 0 0;0.5 0 0 0 0 0 0 0; 0 0 0 0 0 0.5 0 05; 0 0 0 0 0.5 0 0.5 0; 0 0 0 0 0 0.5 0 0.5; 0 0 0 0 0.5 0 0.5 0];
phi = [0 %pi/2 0 0 0 0 0 0;0 0 %pi/2 0 0 0 0 0;0 0 0 %pi/2 0 0 0 0; %pi/2 0 0 0 0 0 0 0; 0 0 0 0 0 %pi/2 0 %pi/2; 0 0 0 0 %pi/2 0 %pi/2 0; 0 0 0 0 0 %pi/2 0 %pi/2; 0 0 0 0 %pi/2 0 %pi/2 0] // Matriz do deslocamento, exemplo se tivermos 12 osciladores teremos que ter 12 linhas e 12 colunas, 6, 6 linhas e 6 colunas.
//A seguinte função recebe uma matriz dr 1xn.
//Onde n é um número n>0 e corresponde ao número de osciladores
//A função devolve m onde m = dr.
function m = f(dr)
m = dr
endfunction
//A seguinte função recebe uma matriz dr 1xn.
//Onde n é um número n>0 e corresponde ao número de osciladores
//A função devolve m onde exe = dx.
function exe = p(dx)
exe = dx;
endfunction
//A seguinte função recebe:
//Um ar que é uma constante de amplitude determinada igual a 2rad/s
//Uma matriz R 1xn, onde n>0 e corresponde ao numero de osciladores, ar corresponde a amplitude max de cada oscilador.
//Um r 1xn, onde n>0 e corresponde ao numero de osciladores, r é amplitude em determinado t.
//Um m, 1xn, onde n> 0 e corresponde ao numero de osciladores, m é a derivada primeira da amplitude.
//Um n correspondente ao numero de osciladores
//A função devolve uma matriz 1xn, que correspondem as amplitudes dos osciladores em determinado tempo.
function dm = g(ar,R,r,m,n)
for i=1:n
dm(1,i) = ar.*((ar/4).*(R(i)-r(i)) - m(i))
end
endfunction
//A seguinte função recebe:
//Um ax que é uma constante de amplitude determinada igual a 2rad/s
//Uma matriz X 1xn, onde n>0 e corresponde ao numero de osciladores, ax corresponde ao deslocamento max
//Um x 1xn, onde n>0 e corresponde ao numero de osciladores, x é o deslocamento em determinado t.
//Um exe, 1xn, onde n> 0 e corresponde ao numero de osciladores, exe é a derivada primeira do deslocamento.
//Um n correspondente ao numero de osciladores
//A função devolve uma matriz 1xn, que correspondem aos deslocamentos dos osciladores em determinado tempo.
function dexe = v(ax,X,x,exe,n)
for i=1:n
dexe(1,i) = ax.*((ax/4).*(X(i)-x(i)) - exe(i))
end
endfunction
//A seguinte função recebe:
// Um n, n > 0, onde n corresponde ao numero de osciladores.
// A função devolve uma matriz nxn
function w=gerarMatrizW(n)
for i=1:n
for j=1:n
if (i==j) then
w(i,j) = 0;
else
w(i,j) = 0.5;
end
end
end
endfunction
//A seguinte função recebe:
// w uma matriz 1xn, onde n é o numero de osciladores.
// wij uma matriz nxn, onde n>0, n corresponde ao numero de osciladores.
// r, uma matriz 1xn, onde n corresponde ao numero de osciladores.
// fi, uma matriz 1xn onde n corresponde ao numero de osciladores.
// phi uma matriz nxn onde n corresponde ao numero de osciladores.
// n, n>0 n corresponde ao numero de osciladores
// A função devolve uma matriz 1xn onde n corresponde ao numero de osciladores.
function dphi = h(w, wij,r,fi,phi,n)
for i=1:n
dphi(1,i) = w(i);
for j=1:n
dphi(1,i) = dphi(1,i) + wij(i,j)*r(1,j)*sin(fi(1,j)- fi(1,i) - phi(i,j));
end
end
endfunction
//A seguinte função recebe:
//Um ar que é uma constante de amplitude determinada igual a 2rad/s
//Uma matriz R 1xn, onde n>0 e corresponde ao numero de osciladores, ar corresponde a amplitude max de cada oscilador.
//Um r0 1xn, onde n>0 e corresponde ao numero de osciladores, r0 são o conjunto de condições iniciais da amplitude.
//Um m0, 1xn, onde n> 0 e corresponde ao numero de osciladores, m0 é o conjunto de condições iniciais da primeira derivada
//Um osciladores correspondente ao numero de osciladores
//Um a correspondente ao inicio do periodo do calculo do tempo.
//Um b correspondente ao fim do periodo do calculo do tempo.
//Um correspondente ao tamanho do passo do intervalo a - b
//A função devolve uma matriz 3xn, que corresponde a amplitude de todos os osciladores em todo o espaço de tempo definido.
function [x,exe] = deslocamento(ax,X,x,exe,osciladores,i)
kdexe = v(ax,X,x(i,:),exe(i,:),osciladores);
kexe = p(exe(i,:));
exe(i+1,:) = exe(i,:) + kdexe*passo;
x(i+1,:) = x(i,:) + kexe*passo;
//end
endfunction
//A seguinte função recebe:
//Um ax que é uma constante de deslocamento determinada igual a 2rad/s
//Uma matriz X 1xn, onde n>0 e corresponde ao numero de osciladores, ax corresponde ao deslocamento max.
//Um x0 1xn, onde n>0 e corresponde ao numero de osciladores, rx são o conjunto de condições iniciais do deslocamento.
//Um exe0, 1xn, onde n> 0 e corresponde ao numero de osciladores, exe0 é o conjunto de condições iniciais da primeira derivada
//Um "osciladores" correspondente ao numero de osciladores
//Um a correspondente ao inicio do periodo do calculo do tempo.
//Um b correspondente ao fim do periodo do calculo do tempo.
//Um "passo" correspondente ao tamanho do passo do intervalo a - b
//A função devolve uma matriz 3xn, que corresponde ao deslocamento de todos os osciladores em todo o espaço de tempo definido.
function [r,m] = amplitude(ar,R,r,m,osciladores,i)
kdm = g(ar,R,r(i,:),m(i,:),osciladores);
km = f(m(i,:));
m(i+1,:) = m(i,:) + kdm*passo;
r(i+1,:) = r(i,:) + km*passo;
endfunction
//A seguinte função recebe:
// w uma matriz 1xn, onde n é o numero de osciladores.
// wij uma matriz nxn, onde n>0, n corresponde ao numero de osciladores.
// r, uma matriz 1xn, onde n corresponde ao numero de osciladores.
// fi, uma matriz 1xn onde n corresponde ao numero de osciladores.
// phi uma matriz nxn onde n corresponde ao numero de osciladores.
// osciladores, osciladores>0 n corresponde ao numero de osciladores
// A função devolve uma matriz 1xn onde n corresponde ao numero de osciladores.
//Um a correspondente ao inicio do periodo do calculo do tempo.
//Um b correspondente ao fim do periodo do calculo do tempo.
//Um passo correspondente ao tamanho do passo do intervalo a - b
// a função devolve uma matriz nx3 onde, n é o numero de osciladores
function FI = phase(w, wij,r,FI,phi,osciladores,i)
// h
dphi = zeros(1,osciladores)
for oi=1:osciladores
dphi(1,oi) = w(oi);
for j=1:osciladores
dphi(1,oi) = dphi(1,oi) + wij(oi,j)*r(i,j)*sin(FI(i,j)- FI(i,oi) - phi(oi,j));
//disp(r(i,j));
end
end
kdphi = dphi; //h(w, wij,r(i,:),FI(i,:),phi,osciladores);
FI(i+1,:) = FI(i,:) + kdphi*passo;
//end
endfunction
//A seguinte função recebe:
//FI uma matriz nx3, onde n é o numero de linhas calculada a partir de um metodo númerico.
//r uma matriz nx3, onde n é o numero de linhas calculada a partir de um metodo númerico.
//x uma matriz nx3, onde n é o numero de linhas calculada a partir de um metodo númerico.
//n numero de osciladores.
// a função devolve os angulos de todos os osciladores
function tetha = angulos(FI,r,x,n)
for i=1:n
tetha(:,i) = x(:,i)+r(:,i).*sin(FI(:,i));
end
endfunction
// calcula os valores das variáveis do sistema para cada iteração i
for i = 1:n-1
[x,exe] = deslocamento(ax,X,x,exe,osciladores,i);
[r,m] = amplitude(ar,R,r,m,osciladores,i);
FI = phase(w, wij,r,FI,phi,osciladores,i);
end
tetha = angulos(FI,r,x,osciladores);
tp = tInicio:passo:tFim
plot(tp,tetha);
//plot(tp,r);
//plot(tp,x)
|
9b8b9b806aba2edec8ec35697827918d115fff8f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/metanet/show_graph.sci | 81e5978ede92fb56622ae3cd9b770587cf8c2313 | [
"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 | 3,558 | sci | show_graph.sci | function [cw]=show_graph(g,smode,scale,winsize)
// Copyright INRIA
[lhs,rhs]=argn(0)
select rhs
case 1 then
smode='rep'
scale=-1
winsize=[1000 1000]
case 2 then
if type(smode)==10 then scale=-1
else scale=smode, smode='rep', end
winsize=[1000 1000]
case 3 then
if smode=='new' then
if prod(size(scale))<>1 then
winsize=scale
scale=-1
else
winsize=[1000 1000]
end
end
case 4 then
if smode<>'new' then error(39), end
else
error(39)
end
// g
check_graph(g)
// making defaults
n=g('node_number')
ma=prod(size(g('tail')))
// node_name
if size(g('node_name'))==0 then
g('node_name')=string(1:n)
end
// node_type
if size(g('node_type'))==0 then
g('node_type')=0*(1:n)
end
// node_x
if size(g('node_x'))==0 then
g('node_x')=0*(1:n)
end
// node_y
if size(g('node_y'))==0 then
g('node_y')=0*(1:n)
end
// node_color
if size(g('node_color'))==0 then
g('node_color')=0*(1:n)
end
// node_diam
if size(g('node_diam'))==0 then
g('node_diam')=0*(1:n)
end
// node_border
if size(g('node_border'))==0 then
g('node_border')=0*(1:n)
end
// node_font_size
if size(g('node_font_size'))==0 then
g('node_font_size')=0*(1:n)
end
// node_demand
if size(g('node_demand'))==0 then
g('node_demand')=0*(1:n)
end
// edge_name
if size(g('edge_name'))==0 then
g('edge_name')=string(1:ma)
end
// edge_color
if size(g('edge_color'))==0 then
g('edge_color')=0*(1:ma)
end
// edge_width
if size(g('edge_width'))==0 then
g('edge_width')=0*(1:ma)
end
// edge_hi_width
if size(g('edge_hi_width'))==0 then
g('edge_hi_width')=0*(1:ma)
end
// edge_font_size
if size(g('edge_font_size'))==0 then
g('edge_font_size')=0*(1:ma)
end
// edge_length
if size(g('edge_length'))==0 then
g('edge_length')=0*(1:ma)
end
// edge_cost
if size(g('edge_cost'))==0 then
g('edge_cost')=0*(1:ma)
end
// edge_min_cap
if size(g('edge_min_cap'))==0 then
g('edge_min_cap')=0*(1:ma)
end
// edge_max_cap
if size(g('edge_max_cap'))==0 then
g('edge_max_cap')=0*(1:ma)
end
// edge_q_weight
if size(g('edge_q_weight'))==0 then
g('edge_q_weight')=0*(1:ma)
end
// edge_q_orig
if size(g('edge_q_orig'))==0 then
g('edge_q_orig')=0*(1:ma)
end
// edge_weight
if size(g('edge_weight'))==0 then
g('edge_weight')=0*(1:ma)
end
// default_node_diam
if size(g('default_node_diam'))==0 then
g('default_node_diam')=0
end
// default_node_border
if size(g('default_node_border'))==0 then
g('default_node_border')=0
end
// default_edge_width
if size(g('default_edge_width'))==0 then
g('default_edge_width')=0
end
// default_edge_hi_width
if size(g('default_edge_hi_width'))==0 then
g('default_edge_hi_width')=0
end
// default_font_size
if size(g('default_font_size'))==0 then
g('default_font_size')=0
end
// node_label
is_nlabel=1
if size(g('node_label'))==0 then
g('node_label')=string(zeros(1,n))
is_nlabel=0
end
// edge_label
is_elabel=1
if size(g('edge_label'))==0 then
g('edge_label')=string(zeros(1,ma))
is_elabel=0
end
// scale
if prod(size(scale))<>1 then
error('Third argument must be a scalar')
end
if scale<=0 then scale=-1, end
// smode
if type(smode)<>10|prod(size(smode))<>1 then
error('Second argument must be a string')
end
select smode
case 'rep' then
irep=1
case 'new' then
// if smode is 'new' create a new window without question
irep=0
m6inimet(' ',winsize(1),winsize(2))
else
error('Unknown argument ""'+smode+'""')
end
// Is there a current metanet window?
r=netwindows(); cw=r(2)
if cw==0 then
cw=m6inimet(' ',winsize(1),winsize(2))
end
m6showg(g,g('name'),ma,cw,irep,scale,is_nlabel,is_elabel)
|
a1d41404826a97db520e35b62e814b0fe20d1d13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH2/EX2.2/Ex2_2.sce | eee85982f8b44a9db11e45a4f1ebdead78ba8f18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ex2_2.sce | //Example 2.2, Page Number 55
//The Function fpround(dependency) is used to round a floating point number x to n decimal places
//Excitation Energy Calculation
clc;
r=11.8 //Relative Permeability
m=9.1*(10**-31) //Mass of electron in kilogram
me=0.26*m //Effective mass
//From equation 2.28
E=13.6*(me/m)*((1/r)**2) //E is the excitation energy in eV
E=fpround(E,4)
mprintf("The Excitation Energy is given by %.3feV",E)
|
ec5890a1a557b85a1c056b64a4daffd70187e4ee | 584105ff5b87869494a42f632079668e4c3f82de | /wrapppers/help_files/opticalFlowFarneback.sci | 1bc2ccf8dbc37d531cb690d7a47d7625e8c93562 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,020 | sci | opticalFlowFarneback.sci | function opticalFlowFarneback(varargin)
[lhs rhs] = argn(0);
if(rhs>12)
error(msprintf("Too many input arguments"));
end
if(rhs==0) then
opencv_opticalFlowFarneback();
elseif (rhs==2) then
opencv_opticalFlowFarneback(varargin(0),varargin(1));
elseif(rhs==4) then
opencv_opticalFlowFarneback(varargin(0),varargin(1),varargin(2),varargin(3));
elseif(rhs==6) then
opencv_opticalFlowFarneback(varargin(0),varargin(1),varargin(2),varargin(3),varargin(4),varargin(5));
elseif(rhs==8) then
opencv_opticalFlowFarneback(varargin(0),varargin(1),varargin(2),varargin(3),varargin(4),varargin(5),varargin(6),varargin(7));
elseif(rhs==10) then
opencv_opticalFlowFarneback(varargin(0),varargin(1),varargin(2),varargin(3),varargin(4),varargin(5),varargin(6),varargin(7),varargin(8),varargin(9));
elseif(rhs==12) then
opencv_opticalFlowFarneback(varargin(0),varargin(1),varargin(2),varargin(3),varargin(4),varargin(5),varargin(6),varargin(7),varargin(8),varargin(9),varargin(10),varargin(11));
end
endfunction
|
a262c1f5d1d42bc9111f7ade27f685c3409a868b | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH3/EX3.6/3_6.sce | 9d4a1b8f5c54bf265aaf6d3e8d134b3050b48536 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | 3_6.sce | //chemical kinetics and catalysis//
//example 3.6//
t=1590;//half life of given radio active element in years//
k=0.693/t;//formula of decay constant for first order reactions//
printf("the value of decay constant is %f/year",k); |
5668ce004401afdb75e72f8a9c0e2c86737e37a6 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/statelevels/statelevels14.sce | 911eed80a9bf0c28e26bbea9801fa7b8686eda43 | [] | 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 | 8,885 | sce | statelevels14.sce | clock1=[2.46921590291718
2.36193358714212
2.24932376606590
2.12003648925538
1.91190619452616
1.79499901200330
1.69148381518340
1.59190697186344
1.56037095014608
1.35956174064408
1.08455589933612
0.953795605499031
0.921927859085908
0.856727872075735
0.717099884964421
0.525933803130463
0.339972763805666
0.263286299208472
0.264074893683850
0.192662912904765
0.113933730519461
0.0251543934968157
-0.0943236098591029
-0.0931775234792651
-0.0650149951737249
-0.0117841033016068
0.0362851819737413
0.0101100710938864
-0.0245855099858772
-0.171194813731166
-0.278974871265342
-0.300102293111523
-0.228930645598661
-0.112710080283099
-0.125077399939845
-0.200949209374834
-0.232676426767775
-0.161030543326825
0.0363182036228724
0.114524359209660
-0.0362115135268342
-0.130255431247105
-0.174586847570849
-0.105162705075707
-0.0470814251898108
-0.00872406138667259
0.225270923614613
0.631438982858045
1.10698864800557
1.47965114811603
1.76175158100469
2.00999255156946
2.24594069670473
2.49342098557822
2.63617307410508
2.70549396995520
2.86566683491373
3.11057924808849
3.48982799967717
3.94335469661025
4.30826072890597
4.59328101495063
4.72889136343767
4.71193011587351
4.59661361959070
4.44055969103401
4.29830388568061
4.27850814263750
4.41314006346337
4.54199399565727
4.63489380361699
4.59992784589520
4.56031248560889
4.68310216980679
4.84854820329666
5.03142068579087
5.17273692551209
5.18570662230764
5.02087116771786
4.80139746195131
4.68736934953158
4.77593377911339
5.04514229322833
5.18028135484374
5.13729261345027
5.04935381566710
5.04162293606453
5.15873307958389
5.29697620599881
5.31411873418164
5.27873647682627
5.22054004990982
5.09728667739080
5.09617787987502
5.17702774744549
5.20467721856731
5.16783055960639
4.97110866803044
4.74216027334593
4.53898812239433
4.25033327021612
3.75124624239872
3.16442709535528
2.79296507753898
2.60371987510901
2.56001394290597
2.49443518731463
2.25861780699624
1.96528620938953
1.64701390815441
1.33750735412018
1.05529577940109
0.821941708364289
0.679923548830892
0.655864680420879
0.785456371517429
0.900028161405291
0.913454854728178
0.844758063463402
0.763758481059332
0.713965562989231
0.615936547139497
0.450962978082893
0.268126092830817
0.0726474760314688
-0.0150432843016759
0.00959858793519564
0.0604513569568113
0.159653451758164
0.176085830904017
0.133969048270928
0.110604221195912
0.147758905155951
0.183507194035875
0.147620342828968
0.00127539917403041
-0.228589601894909
-0.422775165406869
-0.510431318921880
-0.531903001194165
-0.492998142420296
-0.391344401737378
-0.281955721047896
-0.0791324715022372
0.135545312004816
0.311290669394696
0.381076307509975
0.279793035738948
0.0877378129561395
-0.0514133923047462
-0.0541939083226506
0.193619556242554
0.663658581733194
1.10848331827329
1.46487131444238
1.68211270617946
1.96991107576727
2.44828151867864
2.91960066747364
3.19718815150602
3.25267344600082
3.25164515349829
3.32527486489301
3.44928698551045
3.48982728092125
3.58417249110455
3.78052673822250
4.08387774295957
4.31496335636564
4.23458716564072
4.15047960032517
4.23170594037209
4.49327114065258
4.79528109065788
4.92611067984794
4.94114067899080
5.02649828852979
5.19215977315099
5.26371488072483
5.33335136739761
5.29912534427781
5.15289187223106
5.01414249535340
4.88236659478153
4.90058389311131
5.05452277398015
5.21842508894638
5.27644601056436
5.19425223976978
5.03187183872383
4.86762804879231
4.81472312452312
4.92033164441500
5.06511066047753
5.14063548741039
5.09932645337227
5.02247804062812
5.02875936164531
5.13727835848171
5.30174180016700
5.33250711328581
5.26637532983972
5.11661130658634
4.77258762301974
4.33108364614244
3.75593512113313
3.16967814793883
2.69231035362263
2.33152107078002
2.14238960055674
2.04572126883644
2.01821778037986
1.98486312916510
1.88440966653754
1.77354922309035
1.67096937769274
1.63741788432524
1.54913687592576
1.27903566586006
0.967037988673044
0.740141277244792
0.726408690329552
0.801623164297793
0.716434382243582
0.544477750220797
0.400490070186868
0.370183701360200
0.446028774339403
0.397823978519029
0.335534959372425
0.290503234238445
0.213559406091394
0.212409070584381
0.102819452343069
-0.0660224950933870
-0.0994100098389863
-0.0269463854272001
0.0587066994244383
0.107633036555906
-0.0337115067604872
-0.282562437085280
-0.488795866676659
-0.655187792795701
-0.711386099268892
-0.691726462635280
-0.638308479578283
-0.619729437017853
-0.615506208365686
-0.613989810570060
-0.592607410297132
-0.485872561833055
-0.321092911378597
-0.160589777311150
0.0277738792122366
0.297707496006591
0.619009233747693
1.01542171567156
1.46254546832480
1.89747665640499
2.25162747633386
2.51887024367723
2.59290843379999
2.57259053969509
2.65660347026183
2.78703003465964
2.90643158331548
3.02091455524286
3.19475416188351
3.50088294727034
3.92529988887913
4.25881131906317
4.39894283413964
4.50462178459797
4.74153443767930
5.02625637443108
5.19534210722914
5.19763498909938
5.01982734061170
4.88776885678341
4.87694112440815
4.88725528188850
4.88853579658497
4.90034819676040
4.93012582968522
4.97036841778750
4.97507356920528
4.87510655993302
4.73023516293874
4.65089499863622
4.66550024566167
4.74843451584963
4.91407329422800
5.07306613916988
5.13693774850014
5.17577879235554
5.25331753367349
5.32831220871522
5.32723766929476
5.26231561077886
5.19780467275540
5.29124204571564
5.46480619414169
5.48872504415609
5.44235129004669
5.30558468182154
5.03886851943932
4.73740656784320
4.36456675589298
3.92129842054618
3.50267721898553
3.16020526626164
2.91369676660498
2.80473715958015
2.66228459502819
2.46185759407530
2.30512966663505
2.12838966067365
1.90025977644207
1.60204854751618
1.30471728569422
1.06833840772279
0.898398170371735
0.705331073871543
0.586571864811921
0.537753492155096
0.511221532700732
0.525252963956030
0.449091366737070
0.378894664686871
0.383508092535007
0.357795814479708
0.251062330462618
0.115945826126323
0.0246092136788474
0.0310731478238022
0.0964854990969482
0.127612513485627
0.178842570753388
0.331650010434762
0.487724259985407
0.558492708275350
0.489904001123890
0.250405821489447
0.00350987668663549
-0.145122161568803
-0.100990122278041
0.104783913511611
0.240754757406286
0.266878580377901
0.249200504324792
0.179787958470145
0.100137531004479
0.00713139484442760
-0.0635345410526140
0.00516428688500525
0.145624711192602
0.246348710910165
0.317458269080211
0.498577660870239
0.751331531562976
0.982133978697833
1.16921226789108
1.34204808098723
1.60371999406721
1.89224579735917
2.12571199547078
2.28185554187715
2.58920941109523
3.07109043485882
3.50053770251632
3.78206115451672
3.90681109868908
3.88439032804569
3.78066396764103
3.72084745420497
3.72893722146286
3.90136549155170
4.16879063882284
4.33791984712531
4.39482768435691
4.55845155923383
4.75582768530498
4.84458328667154
4.83812464151323
4.62679955784339
4.44179042463051
4.44871766606402
4.61050389720098
4.90147584142619
5.19811895163099
5.27869284144519
5.11934729090396
4.77970008322286
4.52822978506009
4.54365375712550
4.71627108735569
4.88188188925746
4.86696833124056
4.85852199142414
5.01935778535015
5.18375000540950
5.26263788717818
5.19459135520318
5.16414369334601
5.30510994721547
5.44172334783317
5.52338244476579
5.56305843316588
5.59469818416975
5.58268157774345
5.45530654840968
5.21832116830653
4.90183352010124
4.51977445624686
4.08549211690539
3.58799279640567
3.11470518454064
2.70238963938718
2.27935655881583
1.97107784716810
1.81906628944455
1.68744587797072
1.60990770720989
1.47468461056014
1.31079976234395
1.20744442308861
1.02060368368981
0.752959480275004
0.569411384311991
0.470360737662230
0.512022131883138
0.586417951608115
0.508351757831512
0.488898702728145
0.482569758715783
0.434898961424314
0.383575703458746
0.313765091207630
0.279315610715126
0.344625497761987
0.490794753749684
0.546782497509891
0.536628076674373
0.433321466130102
0.310548389590862
0.192798514087183
0.0140048691444683
-0.190192839964858
-0.406909257695232
-0.426588731057457
-0.384716306079046
-0.309096297245718
-0.174460426522502
-0.0912700140472977
-0.0277904488454754
-0.105017305286665
-0.217550885906642
-0.245687223989663
-0.279518983053253
-0.358232109042728
-0.457589021728694
-0.440769255101158
-0.220222273001637
0.112985378854077
0.382969745315401
0.629952761990434
0.921043522306268
1.27512235389032
1.80605113351473
2.32187259778821
2.66686121717706
2.89135657720140
2.96687736920359
3.09652395371446
3.38816812764984
3.74152883967438
4.04512661257422
4.20440744475459
4.29985412850691
4.37904836392758
4.54376685711430
4.78536133276385
4.86782981321055
4.83529010189162
4.76186721233870
4.60470779812364
4.54269988374458
4.57805565129945
4.73670401320021
4.98918501058615
5.19544880066992
5.31956929242086
5.34074958345198
5.27378838069092
5.06841719155932
4.79773947557263
4.69746471636647
4.88554136833784
5.22081248286819
5.52070408183862];
x=statelevels(clock1);
disp(x);
//output
// 0.0138136 5.1848027
|
cccbd87a27930170c978149a9d8b54b0911d6044 | 5c3c77ebd04dfec23026ec2f7fe0be63be48176b | /LU_Decomposition.sce | ba356b974e7dd0d39381b4a72dcb166eb9a7bd75 | [] | no_license | Jagadish-Rathod/Scilab-Assignment1 | 89248a09ac71d59bb3845d778f53f06f6827d54c | 9b3a9cfda12dff0842c1b1f6e4d816d2360b18ce | refs/heads/master | 2020-12-31T10:23:06.391194 | 2020-04-09T14:43:41 | 2020-04-09T14:43:41 | 238,998,568 | 0 | 2 | null | 2020-03-30T16:46:49 | 2020-02-07T18:38:11 | Scilab | UTF-8 | Scilab | false | false | 669 | sce | LU_Decomposition.sce |
//Example for LU Decomposition:
clc
funcprot(0)
format('v',10)
A = input("Enter a matrix[NxN]: ")
function lu_decomp(A)
U = A;
disp(A,"The given matrix is A = ")
m = det(U(1,1));
n = det(U(2,1));
a=n/m;
U(2,:) = U(2,:) - U(1,:)/(m/n);
n= det(U(3,1));
b=n/m;
U(3,:) = U(3,:) - U(1,:)/(m/n);
m = det(U(2,2));
n = det(U(3,2));
c = n/m;
U(3,:) = U(3,:) - U(2,:)/(m/n);
disp(U,'Upper traingular Matrix U = ')
L = [1,0,0;a,1,0;b,c,1];
disp(L,'Lower traingular Matrix L = ')
endfunction
|
43c38fc5ed910696d5913f673cd33d62de79d4da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH1/EX1.8/Ex1_8.sce | fa542d8f7a9218db01435fe0652e8587e1146f11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_8.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 8")
d=15*10^-2;//diameter of cylinder in m
h=12*10^-2;//manometer height difference in m of mercury
rho=13.6*10^3;//density of mercury in kg/m^3
g=9.81;//acceleration due to gravity in m/s^2
disp("pressure measured by manometer(P) in pa")
disp("p=rho*g*h")
p=rho*g*h
disp("now weight of piston(m*g) = upward thrust by gas(p*%pi*d^2/4)")
disp("mass of piston(m)in kg")
disp("so m=(p*%pi*d^2)/(4*g)")
m=(p*%pi*d^2)/(4*g)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.