blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 4
214
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
50
| license_type
stringclasses 2
values | repo_name
stringlengths 6
115
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 21
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 141k
586M
⌀ | star_events_count
int64 0
30.4k
| fork_events_count
int64 0
9.67k
| gha_license_id
stringclasses 8
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 50
values | src_encoding
stringclasses 23
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 1
class | length_bytes
int64 5
10.4M
| extension
stringclasses 29
values | filename
stringlengths 2
96
| content
stringlengths 5
10.4M
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9fb8d21bc45f40bc6535c7f07913293e08e76029
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1691/CH2/EX2.32/exmp2_32.sce
|
c1d0f0e12f2e98a72135fa05ef0fbad7504bdd66
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 442
|
sce
|
exmp2_32.sce
|
//Example 2.32
clc
disp("C = 20 pF, L2 = 1000 uH, L1 = 100 uH, M = 20 uH")
leq=100+1000+40
format(5)
disp(leq,"Therefore, L_eq(in uH) = L1 + L2 + 2M =")
f=(1/(2*%pi*sqrt(1140*20*10^-18)))*10^-6
format(6)
disp(f,"Therefore, f(in MHz) = 1 / 2*pi*sqrt(L_eq*C) =")
disp("The feedback fraction beta is given by,")
b=100/1100
format(7)
disp(b,"beta = V_f/V0 = X_L1 / X_L1+X_L2 = L1 / L1+L2 =")
disp("It is a Hartley oscillator")
|
f111bbb3a7014eff471f2be1c2bbff1728d6d950
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/551/CH14/EX14.15/15.sce
|
a7fb1da7885c4caa0abcaae8de50f6a61c2b04a9
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 565
|
sce
|
15.sce
|
clc
RE=5*14000/3600; //Total refrigeration produced in kg/s
h2=183.19; //kJ/kg
h3=209.41; //kJ/kg
h4=74.59; //kJ/kg
h1=h4;
disp("(i) The refrigerant flow rate")
RE_net=h2-h1; //Net refrigerating effect produced per kg
m=RE/RE_net;
disp("Refrigerant flow rate =")
disp(m)
disp("kg/s")
disp("(ii) The C.O.P. =")
COP=(h2-h1)/(h3-h2);
disp(COP)
disp("(iii) The power required to drive the compressor =")
P=m*(h3-h2);
disp(P)
disp("kW")
disp("(iv) The rate of heat rejection to the condenser =")
rate=m*(h3-h4);
disp(rate)
disp("kW")
|
6a4e021e51a16a50539ce088d23769c5ab33312e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3819/CH2/EX2.19/Ex2_19.sce
|
094333870a5f9246ced51b6d504f5fe8b7b948ee
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 516
|
sce
|
Ex2_19.sce
|
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.19
//Given Data Set in the Problem
dens=1000
g=9.81
sg_oil=0.8
h1=20/100
h2=30/100
h3=30/100
//calculations
dens_oil=sg_oil*dens
dl=h1+h2-h3
//Pressure in left limb below X-X=pA-dens*g*h2
//Pressure in left limb below X-X=pB-dens*g*h3-sg_oil*dens*h1
pB_pA=dens*g*h3+sg_oil*dens*g*h1-dens*g*h2
mprintf("The difference in the pressures is equal to %f N/m^2\n",pB_pA)
|
452b1dce6a70657025578b44ba71d9e6668b44ba
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2273/CH4/EX4.1/ex4_1.sce
|
0f63c4d3877d3c54995e2e08e37d3635f78edf74
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 330
|
sce
|
ex4_1.sce
|
//Find the loop inductance and reactance
clear;
clc;
//soltion
//given
r=(1.213*10^-2)/2;//m//radius of the conductor
d=1.25;//m//spacing
f=50;//Hz//freq
re=r*exp(-1/4);
L=4*10^-7*log(d/re);
Lkm=L*1000;
printf("Inductance per km(L)=%.2f*10^-4 H/Km\n",Lkm*10^4);
X=2*%pi*f*Lkm;
printf("Reactance(X)= %.1f ohm/km",X);
|
df2932e2d5885a099ec167da245e1d75dabd09e8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/534/CH5/EX5.4/5_4_Radial_Two_Step.sce
|
64b3b4b7bb5f1dbefb2d48693135bf11ff002ed6
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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,344
|
sce
|
5_4_Radial_Two_Step.sce
|
clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 5.4 Page 278 \n'); //Example 5.4
// Radial System with Convection
//Operating Conditions
h = 500; //[W/m^2.K] Heat Convection coefficientat inner surface
k = 63.9; //[W/m.K] Thermal Conductivity
rho = 7832; //[kg/m^3] Density
c = 434; //[J/kg.K] Specific Heat
alpha = 18.8*10^-6; //[m^2/s]
L = 40*10^-3; //[m] Metre
Ti = -20+273; //[K] Initial Temp
Tsurr = 60+273; //[K] Temp of oil
t = 8*60 ; //[sec] time
D = 1 ; //[m] Diameter of pipe
//Using eqn 5.10 and 5.12
Bi = h*L/k;
Fo = alpha*t/L^2;
//From Table 5.1 at this Bi
C1 = 1.047;
eta = 0.531;
theta0=C1*exp(-eta^2*Fo);
T = Tsurr+theta0*(Ti-Tsurr);
//Using eqn 5.40b
x=1;
theta = theta0*cos(eta);
Tl = Tsurr + (Ti-Tsurr)*theta;
q = h*[Tl - Tsurr];
//Using Eqn 5.44, 5.46 and Vol per unit length V = pi*D*L
Q = [1-(sin(eta)/eta)*theta0]*rho*c*%pi*D*L*(Ti-Tsurr);
printf("\n (a) After 8 min Biot number = %.2f and Fourier Numer = %.2f \n\n (b) Temperature of exterior pipe surface after 8 min = %i degC \n\n (c) Heat Flux to the wall at 8 min = %i W/m^2 \n\n (d) Energy transferred to pipe per unit length after 8 min = %.2e J/m",Bi,Fo, T-273,q,Q);
//END
|
5b7f95f1e0300c33618c5c6ea7937b45a3991934
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1748/CH1/EX1.5.p/prob1_5.sce
|
d5eef415929f987c76be2cb064f3bf299e233a65
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 697
|
sce
|
prob1_5.sce
|
// Prob 1.5
clc;
clear;
close;
format('v',6);
// Given data
ph=3;//no. of phase
P=16;//no. of poles
s=144;//no. of slots
con=10;//no. of conductors per slot
fi=0.035;//in Wb
N=375;//in rpm
f=P*N/120;//in Hz
disp(f,"Frequency in Hz : ");
s1=s/P;//no. of slots per pole
m=s1/ph;//no. of slots per pole per phase
alfa=180/s1;//slot angle in degree
Kd=sind(m*alfa/2)/(m*sind(alfa/2));//distribution factor
TotCon=s*con;//Total no. of conductors
TotCon1=s*con/ph;//Total no. of conductors
n=TotCon1/2;//no. of turns per phase
EMF=4.44*Kd*fi*f*n;//EMF per phase in volt
disp(EMF,"EMF per phase in volt : ");
VL=sqrt(3)*EMF;//line voltage in volt
disp(VL,"Line EMF in volt : ");
|
e2b6969a05126c5fbe28a87c87d9147301d8f261
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.5/tests/examples/exec.man.tst
|
37b75d8d1e644a7545f21f861fbdf4e4e08cc0df
|
[
"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
| 436
|
tst
|
exec.man.tst
|
clear;lines(0);
// create a script file
write(TMPDIR+'/myscript','a=1;b=2')
// execute it
exec(TMPDIR+'/myscript')
who
//create a function
deff('y=foo(x)','a=x+1;y=a^2')
clear a b
//execute the function
foo(1)
// a is a variable created in the environment of the function foo
// it is destroyed when foo returns
who
x=1 //create x to make it known by the script foo
exec(foo)
// a and y are created in the current environment
who
|
cefb86507abf0bc4aade8850a1ca8cf2aa11657f
|
0e52518c6fe37e683dc04d785f174ce30408f8e7
|
/otimizacao/steepest descent.sci
|
55a2b536136214e2cb979e9f6a339a7247c6cceb
|
[] |
no_license
|
thiago-franco/metodos-numericos
|
c3a7a10d00376c9b238825e9ff049635cc153a92
|
95ed4e0b1e05b10c7d0ef9cbc23f9c98d2cf8a65
|
refs/heads/master
| 2021-07-06T00:19:31.512668
| 2017-09-30T01:25:29
| 2017-09-30T01:25:29
| 104,950,926
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,418
|
sci
|
steepest descent.sci
|
clear
clc
//function y = funcao(x)
// y=(x(1) - 2).^4 + (x(1)-2*x(2)).^2;
//endfunction
function grad_x = gradiente(x)
n = length (x);
h = 1e-5;
gg = [];
for i = 1 : n
x_adv = x
x_adv(i) = x(i) + h;
dev = (f(x_adv)- f(x))/h;
gg = [gg; dev];
end
grad_x = gg;
endfunction
function linha = derivada1(x,yj,dj)
h = 1e-5;
linha = (func_teta(x + h,yj,dj)- func_teta(x - h,yj,dj))/ (2*h);
endfunction
function duas_linha = derivada2 (x,yj,dj)
h = 1e-5;
duas_linha = (func_teta(x + h,yj,dj) - (2*func_teta(x,yj,dj)) + func_teta(x - h,yj,dj))/h.^2;
endfunction
function valor_teta=func_teta(x,yj,dj)
valor_teta=f(yj+x*dj);
endfunction
function lambda = newton (lambda,yj,dj)
//lambda = 10;
tolerance = 10^-3;
erro = 10;
while (erro > tolerance)
lambda_novo = lambda - (derivada1(lambda,yj,dj)/derivada2(lambda,yj,dj));
erro = abs (lambda_novo - lambda);
lambda = lambda_novo;
end
lambda = lambda_novo;
endfunction
function otimo = steepest_descent(xk)
erro = 1;
tol = 1e-4;
while erro > tol
dk = -gradiente (xk);
lambdak = newton (0.1,xk,dk);
xk_new = xk + lambdak*dk
erro = norm (gradiente(xk_new) - gradiente(xk));
xk = xk_new;
end
otimo = xk
endfunction
|
969d7078879692ea3bb723730304cbfffd50a0e9
|
e770dc26235168913bdcd5b2332f3a38a95a8bc7
|
/Toolbox Test/poly2ac/poly2ac6.sce
|
53e5459964e1f4e64b1f74ba4df227d73c27a0d4
|
[] |
no_license
|
deecube/majorTom
|
f00eca4e2effff2c5eba746878f2c0842fe14680
|
84365fc032fc0ca44abac8330ec4ac6d85a85b3f
|
refs/heads/master
| 2021-01-21T14:04:23.323717
| 2016-05-23T06:05:31
| 2016-05-23T06:05:31
| 51,731,222
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 394
|
sce
|
poly2ac6.sce
|
//o/p when char type is given as i/p
a = 'hash';
efinal = 0.2; // Step prediction error
r = poly2ac(a,efinal); // Autocorrelation sequence
disp(r);
//Output
// !--error 4
//Undefined variable: rlevinson
//at line 41 of function poly2ac called by :
//r = poly2ac(a,efinal); // Autocorrelation seque
//at line 5 of exec file called by :
//ly2ac\poly2ac6.sce', -1
|
ac6458d4f7497ed5261ff64ecd252fbb49a12483
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3828/CH2/EX2.11/Ex2_11.sce
|
2e4d910f64095e0ffa300ab8b9ec34d4793af528
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 177
|
sce
|
Ex2_11.sce
|
//Chapter 2 : Diffraction
clear;
//Variable declaration
lamda2=4992 //wavelenght
//Calculations
lamda=(4*lamda2)/3
//Result
mprintf("Lamda= %d Armstrong",lamda)
|
804e1b24295645a631962f732a94fd93456b8504
|
ed07691c163198cbaa7dc102fa302c75d5f21b0d
|
/04/divide/Divide1.tst
|
d978c7beed079940ae11b827d337528662780488
|
[] |
no_license
|
Laetitiay/Nand
|
dce68fbbeb41f218ac9c697564963b7932d6d2b8
|
3c5e1893492e82d1e1d4e33a23461919b16b7a06
|
refs/heads/main
| 2023-01-06T22:23:03.738349
| 2020-11-04T19:05:49
| 2020-11-04T19:05:49
| 303,808,703
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 272
|
tst
|
Divide1.tst
|
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/mult/Mult.tst
load Divide.asm;
set RAM[13] 16383,
set RAM[14] 128;
repeat 5000 {
ticktock;
}
|
db4658288a457da1841784601fffbbbf14b3c630
|
affb43e91a6a0cac39356ff1c5f9f5154b70a4a2
|
/Wave_genration/additon_multiplication.sce
|
29820e0aadec88bad675195ef7b4438340d4def7
|
[] |
no_license
|
kathan-shah99/Digital-signal-processing
|
87fb0615a98a764c546681ffb18fea32d69caa6d
|
3d5ad3553152a2b57f98a3b1a26756ebca37d7bc
|
refs/heads/main
| 2023-04-07T06:53:06.263109
| 2021-04-07T03:57:52
| 2021-04-07T03:57:52
| 355,397,284
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 595
|
sce
|
additon_multiplication.sce
|
clc
clear
x1 = [1 4 3]
x2 = [1 2 3 2 5]
m = length(x1)
n = length(x2)
if m>n then //padding given two arrays for making same length
x2 = [x2 zeros(1,(m-n))]
elseif m<n then
x1 = [zeros(1,(n-m)) x1]
else
disp("no padding")
end
s = x1 + x2 //sample-1
m = x1.*x2 //sample-1
y = 2*x1 + 3*x2 //mod-1
subplot(311)
plot2d3(s)
title("x1 + x2")
xlabel("time")
ylabel("amplitude")
subplot(312)
plot2d3(m)
title("x1 * x2")
xlabel("time")
ylabel("amplitude")
subplot(313)
plot2d3(y)
title("2*x1 + 3*x2")
xlabel("time")
ylabel("amplitude")
|
41fcdc3b69806b9aa7f9f08109e0ce66fc38ddc6
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2863/CH2/EX2.3/ex2_3.sce
|
dccc61fa95e627120002737c5a41e384adef14a3
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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
|
ex2_3.sce
|
//chapter 2
//Rrad=80*pi^2*(dl/lambda)^2
printf("\n");
dl=0.1;
printf("the elemental length is given by %g",dl);
Rrad=80*(%pi)^2*(0.1)^2;
printf("\nthe radiation resistance is %gohm",Rrad);
|
ac7a3f111b80da9e4d8be0532051a12897296aae
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1646/CH11/EX11.2/Ch11Ex2.sce
|
8261702e3466d8033a11e40ac5dbd61305b5ff7e
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 497
|
sce
|
Ch11Ex2.sce
|
// Scilab Code Ex11.2: Page-560 (2011)
clc;clear;
E_o = 1e+3;....// Amplitude field vector in free space,N/C
c = 3e+8;....// Speed of light,in m/s
// From the relation between the amplitude of the field vector E and vector H of an EM wave in free space E_o = H_o*(sqrt(mu_o/eps))and B_o = mu_o*H_o, we have
B_o = E_o/c;
printf("\nThe maximum value of magnetic induction vector = %4.2e weber/A-m",B_o);
// Result
// The maximum value of magnetic induction vector = 3.33e-006 weber/A-m
|
f5fab24c6875411c140e66ec6759b1c27466501a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1664/CH9/EX9.10/Ex9_10.sce
|
2226bfa8906ac42c5c9df428fc9a25dfb61e0d34
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 367
|
sce
|
Ex9_10.sce
|
//Example No.9.10.
//Page No 272.
clc;clear;
d = 10^(-6);//Electrical conductivity -[ohm^-1 m^-1].
e = 1.6*10^(-19);//Electron charge.
ue = 0.85;//Electron mobility -[m^2 V^-1 s^-1].
uh = 0.04;//hole mobility -[m^2 V^-1 s^-1].
Ni = (d/(e*(ue+uh)));//intrinsic carrier concentration
printf("\nThe intrinsic carrier concentration of GaAs is %3.3e m^-3",Ni);
|
65ff8b5acf3b6250942ed28bd9077d03313ffff4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/257/CH6/EX6.17/example6_17.sce
|
368c6944ad74b8a2d3c7645ca09949afe182038c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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
|
example6_17.sce
|
s=%s
R1=100*10^3
R2=10^6
C1=10*10^-6
C2=10^-6
T1=(1/R1)*(1/(s*C1))*(1/R2)*(1/(s*C2))
L1=-1/(s*C1*R1);
L2=-1/(s*R2*C1);
L3=-1/(s*C2*R2);
delta=1-(L1+L2+L3)+(L1*L3)
del1=1;
TF=(T1*del1)/delta ;
disp(TF,"C/R = ")
|
250cb5c484dffb329dd70d37eb35a3806cab9f66
|
21d4cac793d0a486bb57b68b5bf5f36c44f84d7a
|
/sample_qpsolve.sce
|
f229e94417e9f71105d16bdf4186ed418e6fb8a8
|
[] |
no_license
|
irish15/workspace_scilab
|
57e25803d1c266b80b5c55c45e0de5d228fb1892
|
80102b69c70770e147c32efad55c79dc53a9b084
|
refs/heads/master
| 2022-11-19T09:56:47.067078
| 2020-07-22T07:58:24
| 2020-07-22T07:58:24
| 281,613,353
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 629
|
sce
|
sample_qpsolve.sce
|
// 最適化手法入門
//以下のような x ( R^6)を探す:
//C1*x = b1 (3 個の等式拘束 すなわち me=3)
C1= [1,-1,1,0,3,1;
-1,0,-3,-4,5,6;
2,5,3,0,1,0];
b1=[1;2;3];
//C2*x <= b2 (2 個の不等式拘束)
C2=[0,1,0,1,2,-1;
-1,0,2,1,1,0];
b2=[-1;2.5];
// xはciおよびcsの間:
ci=[-1000;-10000;0;-1000;-1000;-1000];
cs=[10000;100;1.5;100;100;1000];
// 以下の条件のもとで 0.5*x'*Q*x + p'*x を最小化
p=[1;2;3;4;5;6]; Q=eye(6,6);
//初期値を指定しない;
C=[C1;C2];
b=[b1;b2];
me=3;
[x,iact,iter,f]=qpsolve(Q,p,C,b,ci,cs,me)
// 線形拘束 (1 から 4) のみアクティブ
disp(x)
|
4e7b42dc89cef21e540d93317c3aadc1abdf4a33
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1598/CH5/EX5.21/ex5_21.sce
|
71e62df5da0a597891d5def7510bc8588f41ce1f
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 269
|
sce
|
ex5_21.sce
|
clc;
t=1200; //time in second
P=100; //power in Watts
V=230; //voltage in Volts
R=(V^2)/P; //calculating resistance
V1=115; //supply voltage in Volts
E=((V1^2)*t)/R; //calculating energy
disp(E,"Energy dissipated by bulb in Joule = "); //displaying result
|
30bee161bc13c7b35c97929073787c76638b6af4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1985/CH3/EX3.2/Chapter3_Example2.sce
|
7b96577bc6592312fa25775cffd818191aafb854
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 230
|
sce
|
Chapter3_Example2.sce
|
clc
clear
//INPUT DATA
c=3*10^8;//Speed of light in m/s
//CALCULATIONS
v=((sqrt(3)*c)/2)/10^8//Speed in m/s
//OUTPUT
mprintf('The mass of the object is double its mass at rest, when its speed is %3.3f*10^8 m/s',v)
|
1523740015d5a3f0695a45cea3c412d87c7ff565
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/10/CH4/EX7/cha4_7.sce
|
2c24890a525a468f34630938a2ae0f2a0d6d2944
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 298
|
sce
|
cha4_7.sce
|
If=0.99;Vt=100;Ia=120;Ra=0.1;
Rpm1=932;Rpm2=1000;
Ifeff=0.86;Nf=1200;
rpm1=1000;
Ifeff1=1.32;Rpm3=800;
EA=65;
Ea=Vt-(Ia*Ra)
Ea1=Rpm2/Rpm1*Ea
Ifar=If-Ifeff
At=Nf*Ifar
Ea2=Rpm2/Rpm3*Ea
Nsr=(Ifeff1-If+Ifar)*(Nf)/(Ia+If)
Ifeff2=If-(Nsr*(Ia+If))/Nf-Ifar
N=(Ea/EA)*Rpm2
|
15c03e6328d25c33465a1d038507bd5a0e1a49a1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1301/CH30/EX30.3/ex30_3.sce
|
bd828801ab5fa44933f5fa6b4e32b7103ae70c1c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 98
|
sce
|
ex30_3.sce
|
clc;
F=96500/3600; //calculating 1F
disp(F,"1 Faraday in ampere.hr = "); //displaying result
|
d984598d47c802f436b2db1626dc770037eefd13
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2873/CH1/EX1.27/Ex1_27.sce
|
2cb489df857ed89f5e0cb7bef3dc29766758ba7c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 644
|
sce
|
Ex1_27.sce
|
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 27")
T1=(27+273);//initial temperature of air in k
T2=500;//final temperature of air in k
disp("let inlet state be 1 and exit state be 2")
disp("by charles law volume and temperature can be related as")
disp("(V1/T1)=(V2/T2)")
disp("(V2/V1)=(T2/T1)")
disp("or (((%pi*D2^2)/4)*V2)/(((%pi*D1^2)/4)*V1)=T2/T1")
disp("since Δ K.E=0")
disp("so (D2^2/D1^2)=T2/T1")
disp("D2/D1=sqrt(T2/T1)")
disp("say(D2/D1)=k")
disp("so exit to inlet diameter ratio(k)")
k=sqrt(T2/T1)
|
88cf76503338a913b618e27aa3d22eebca69e28a
|
42ce2af59b85049f5ba64be2ba3f2614cc2041a5
|
/ds/histcFix.sci
|
6296a7fcc168642fb22c1b26673b944047236892
|
[] |
no_license
|
ece2lr/tp13
|
7f74b688b4bca71438ae216c603c881a8bec9171
|
84a9d7882ec8405bab119f8ffba2e89659c74ae4
|
refs/heads/master
| 2021-05-02T03:44:18.688503
| 2018-02-09T12:21:42
| 2018-02-09T12:21:42
| 120,901,701
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,886
|
sci
|
histcFix.sci
|
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2013 - A. Khorshidi
//
// Copyright (C) 2012 - 2016 - Scilab Enterprises
//
// This file is hereby licensed under the terms of the GNU GPL v2.0,
// pursuant to article 5.3.4 of the CeCILL v.2.1.
// This file was originally licensed under the terms of the CeCILL v2.1,
// and continues to be available under such terms.
// For more information, see the COPYING file which you should have received
// along with this program.
function [cf, ind] = histc(n, data, normalization)
// Example:
// n = 10;
// data = rand(1, 1000, "normal");
// [class_freq, ind] = histc(n, data)
rhs = argn(2);
if rhs < 2
error(msprintf(_("%s: Wrong number of input argument(s): At least %d expected.\n"), "histc", 2));
end
if rhs == 3 & exists("normalization", "local") then
if type(normalization) ~= 4 | size(normalization, "*") ~= 1 then
error(msprintf(_("%s: Wrong type of input argument #%d: A single boolean expected.\n"), "histc", 3));
end
else
// By default, normalize the result
normalization = %t
end
if type(n) ~= 1 & type(n) ~= 8
error(msprintf(_("%s: Wrong type for input argument #%d: A real matrix expected.\n"),"histc",1));
end
if type(n) == 8 then
n = iconvert(n, 0); // To pass to dsearch
end
if type(data) ~= 1 & type(data) ~= 8
error(msprintf(_("%s: Wrong type for input argument #%d: A real matrix expected.\n"),"histc",2))
end
if type(data) == 8 then
data = iconvert(data, 0); // To pass to dsearch
end
if length(n) == 1 then // The number of classes is provided
if n < 1
error(msprintf(_("%s: Wrong value for input argument #%d: Must be in the interval %s.\n"),"histc",1,"[1, oo)"));
elseif n ~= floor(n)
error(msprintf(_("%s: Wrong type for input argument #%d: Integer expected.\n"),"histc",1))
end
mind = min(data);
maxd = max(data);
if (mind == maxd) then
mind = mind - floor(n/2);
maxd = maxd + ceil(n/2);
end
cb = linspace(mind, maxd, n+1); // Class boundary
else // The classes are provided
cb = matrix(n, 1, -1); // Force row form
if min(diff(cb)) <= 0 then
error(msprintf(_("%s: Wrong values for input argument #%d: Elements must be in increasing order.\n"),"histc",1))
end
end
[ind, cf, info] = dsearch(data, cb); // cf: class frequency, ind: class number of each count
// Normalization
if normalization == %t then
nd = size(data, "*"); // Number of data values
cw = cb(2:$)-cb(1:$-1); // Bin width
cf = cf./(nd*cw); // Normalization in bin heights
//cf = cf./nd; // Heights normalization
end
endfunction
|
48a870c8748a99a165102729bf5183e352f38a8b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/273/CH4/EX4.3/ex4_3sce.sce
|
b8ab06640b815c13a9b38aa6de415d7553465a21
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 650
|
sce
|
ex4_3sce.sce
|
clc;clear;
//Example 4.3
//electron projected at an angle into a uniform electric field
//given values
v1=4.5*10^5;//initial speed in m/s
alpha=37*%pi/180;//angle of projection in degrees
E=200;//electric field intensity in N/C
e=1.6*10^-19;//in C
m=9.1*10^-31;//in kg
a=e*E/m;//acceleration in m/s^2
t=2*v1*sin(alpha)/a;//time in s
disp(t,'time taken by electron to return to its initial level is:')
H=(v1^2*sin(alpha)*sin(alpha))/(2*a);//height in m
disp(H,'maximum height reached by electron is:')
s=(v1^2)*(2*sin(alpha)*cos(alpha))/(2*a);//displacement in m
disp(s,'horizontal displacement(in m)when it reaches maximum height is:')
|
d88e4b0f556ebae70091e1c7957490af2bbe737d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/405/CH4/EX4.10/4_10.sce
|
baacb8bb5bf7eceffd5b8ddb5ca6069cffb814eb
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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,641
|
sce
|
4_10.sce
|
clear;
clc;
printf("\t\t\tExample Number 4.10\n\n\n");
// heat loss for finite-length cylinder
// illustration4.10
// solution
d = 0.05;// [m] diameter of aluminium cylinder
l = 0.1;// [m] length of aluminium cylinder
Ti = 200;// [degree celsius] initial temperature of of cylinder
Te = 70;// [degree celsius] environment temperature
k = 215;// [W/m degree celsius] heat transfer coefficient of plate
h = 525;// [W/square meter degree celsius] convection heat transfer coefficient
alpha = 8.4*10^(-5);// [square meter/s] constant
x1 = 0.00625;// [m] distance at which temperature is calculated from end
t = 60;// [s] time after which temperature is measured
r = 0.0125;// [m] radius at which temperature is calculated
// we first calculate the dimensionless heat-loss ratio for the infinite plate and infinite cylinder which make up the multidimensional body
// for the plate we have
L = 0.05;// [m]
A = h*L/k;
B = h^(2)*alpha*t/k^(2);
// from figure (4-14), for the plate, we read
Q_by_Q_o_plate = 0.22;
// for the cylinder
r_o = 0.025;// [m]
// so we calculate
C = h*r_o/k;
// and from figure(4-15) we have
Q_by_Q_o_cyl = 0.55;
// the two heat ratios may be inserted in equation(4-22) to give
Q_by_Q_o_tot = Q_by_Q_o_plate+Q_by_Q_o_cyl*(1-Q_by_Q_o_plate);
c = 896;// [J/kg degree celsius] specific heat of aluminium
rho = 2707;// [kg/cubic meter] density of aluminium
V = %pi*r_o^(2)*l;// [cubic meter]
Qo = rho*c*V*(Ti-Te);// [J]
Q = Qo*Q_by_Q_o_tot;// [J] the actual heat loss in the 1-minute
printf(" the actual heat loss in the 1-minute is %f kJ",Q/1000);
|
617b87a94ff9e87575afa88b7e37e515e4251d96
|
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
|
/ketpicscifiles6/Ymin.sci
|
73d0d261c313a29b0e9c1f49e77e320a482e5770
|
[] |
no_license
|
ketpic/ketcindy-scilab-support
|
e1646488aa840f86c198818ea518c24a66b71f81
|
3df21192d25809ce980cd036a5ef9f97b53aa918
|
refs/heads/master
| 2021-05-11T11:40:49.725978
| 2018-01-16T14:02:21
| 2018-01-16T14:02:21
| 117,643,554
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 55
|
sci
|
Ymin.sci
|
function Y=Ymin()
global YMIN
Y=YMIN;
endfunction
|
b7fa0f16de3f68e3ea6d694d075de131ac338dba
|
1b1b2296f55cc3e5af5f672c6aaf8c5839bffc51
|
/resource/scene4.sce
|
9cc363cc4a51619d8db234d110b6a2ee7fbced82
|
[] |
no_license
|
davidpypysp/softbivpt
|
448fc81c8a44b8e47271ed16b22e5c72682f35c2
|
4d73f7812d68d58fcc23cf5465516d849d8ac37e
|
refs/heads/master
| 2021-05-15T00:26:57.412613
| 2017-09-14T08:46:58
| 2017-09-14T08:46:58
| 103,506,913
| 29
| 8
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 32
|
sce
|
scene4.sce
|
2 39 55 -15 80 80 80 1 1 1 DIFF
|
dc1742e579a78df572f597a708b3ef5f1a861db6
|
9d59fb06cf0644f9c0c84aae7977eeff57116a45
|
/3-RCFP/RCFP-1d.sce
|
6e54e282f4924db98bc6dcc4afe4a3ccb5cc03cc
|
[] |
no_license
|
aguadix/RQ
|
f353b8fa0e36828c8cca9af53f5c3275ed476a75
|
43e8a31003bf038b0cd72487868c760829b9797c
|
refs/heads/master
| 2023-03-07T10:50:29.102260
| 2023-03-06T01:35:58
| 2023-03-06T01:35:58
| 53,548,175
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,475
|
sce
|
RCFP-1d.sce
|
clear; clc;
// RCFP-1d.sce
// A + B <=> C
// Adiabático
// Estado estacionario
// 2 reactores con enfriamiento intermedio
// SISTEMA DE ECUACIONES DIFERENCIALES
function dxdtau = f(tau,x)
// Variables diferenciales
CA = x(1)
CB = x(2)
CC = x(3)
T = x(4)
// Ecuación de Arrhenius
kd = kd0*exp(-E/(R*T))
// Ecuación de Van't Hoff
Keq = Keq0*exp(-H/(R*T))
// Velocidad de reacción
// r = rd - ri = kd*CA*CB - ki*CC = kd*CA*CB - kd*CC/Keq
r = kd*(CA*CB - CC/Keq)
// Balance de materia para A
// RDMP: d(V*CA)dt = -r*V
dCAdtau = -r
// Balance de materia para B
// RDMP: d(V*Cb)dt = -r*V
dCBdtau = -r
// Balance de materia para C
// RDMP: d(V*Cc)dt = r*V
dCCdtau = r
// Balance de energía
// RDMP: d(V*RHO*CP*T)dt = -H*r*V
dTdtau = -H*r/(RHO*CP)
// Derivadas
dxdtau(1) = dCAdtau
dxdtau(2) = dCBdtau
dxdtau(3) = dCCdtau
dxdtau(4) = dTdtau
endfunction
// CONSTANTES
kd0 = 1.75E8; // L/(mol*h)
E = 62350; // J/mol
Keq0 = 8.25E-22; // L/mol
H = -136400; // J/mol
R = 8.314; // J/(mol*K)
RHO = 1150; // g/L
CP = 3.8; // J/(g*K)
F = 50; // L/h
D = 3; // dm
L = 800; // dm
// *********
// REACTOR 1
// *********
// CONSTANTES
L1 = 400; // dm
V1 = %pi/4*D^2*L1 // L
TAU1 = V1/F // h
// ENTRADA
CA0 = 1.5; CB0 = 2; CC0 = 0.1; // mol/L
T0 = 310; // K
x01 = [CA0;CB0;CC0;T0];
// TIEMPO DE RESIDENCIA
tau1 = 0:TAU1/100:TAU1; // h
l1 = 0:L1/100:L1; // dm
// RESOLVER
x1 = ode(x01,0,tau1,f);
CA1 = x1(1,:); CA1s = CA1($)
CB1 = x1(2,:); CB1s = CB1($)
CC1 = x1(3,:); CC1s = CC1($)
T1 = x1(4,:); T1s = T1($)
XA1 = 1 - CA1/CA0; XA1s = XA1($)
// *********
// REACTOR 2
// *********
// CONSTANTES
L2 = L - L1; // dm
V2 = %pi/4*D^2*L2 // L
TAU2 = V2/F // h
// ENTRADA
x02 = [CA1s;CB1s;CC1s;T0]; // Enfriamiento: T1s => T0
// TIEMPO DE RESIDENCIA
tau2 = 0:TAU2/100:TAU2; // h
l2 = 0:L2/100:L2; // dm
// RESOLVER
x2 = ode(x02,0,tau2,f);
CA2 = x2(1,:); CA2s = CA2($)
CB2 = x2(2,:); CB2s = CB2($)
CC2 = x2(3,:); CC2s = CC2($)
T2 = x2(4,:); T2s = T2($)
XA2 = 1 - CA2/CA0; XA2s = XA2($)
// GRÁFICAS
scf(1); clf(1);
plot(l1,XA1,'m',l2,XA2,'m--');
xgrid; xlabel('l'); legend('XA1','XA2',-2,%f);
scf(2); clf(2);
plot(l1,T1,'r',l2,T2,'r--');
xgrid; xlabel('l'); legend('T1','T2',-2,%f);
scf(3); clf(3);
plot(T1,XA1,'mo-',T2,XA2,'m.-');
xgrid; xlabel('T'); legend('XA1','XA2',-2,%f);
scf(4);
plot(L1, XA2s,'mo');
xgrid; xlabel('L1'); ylabel('XA2s');
|
b0aef8cb5b3ceda8807520312cee6fe5504885fc
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2201/CH2/EX2.8/ex2_8.sce
|
bc612d0e2f8cc6b43af09124ce57726a0bcaf162
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 470
|
sce
|
ex2_8.sce
|
// Exa 2.8
clc;
clear;
close;
// Given data
N_A = 6.025*10^23;// in /gm mole
d = 10.5;// in gm/cc
At = 108;// atomic weight of
n = (N_A/At)*d;// in /cm^3
n = n * 10^6;// in /m^3
r = 10^-3;// in m
A = %pi * ((r)^2);// in m^2
q = 1.6*10^-19;
I = 2;// in A
V = I/(n*q*A);// in m/s
disp(V,"The drift velocity of an electron in m/s is");
// Note: There is calculation error to find the value of V (i.e. drift velocity), So the answer in the book is wrong
|
ccae61e27e75813b0a8dd40542766496d81df75f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2780/CH1/EX1.18/Ex1_18.sce
|
80fa36cba591d254dd309afffe88cccb99068707
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 614
|
sce
|
Ex1_18.sce
|
clc
//to calculate mass, momentum,total energy,kinetic energy
c=3*10^8 //light speed (m/s)
v=c/sqrt (2) //velocity (m/s)
//let mo be the rest mass of the particle
//relativistic mass m of the particle is m=mo/sqrt(1-(v/c)^2)
m=1/sqrt (1-v^2/c^2) //in kg
disp("mass m="+string(m)+" mo")
//momentum p of the particle is p=mv
p=m*v //in kg-m/s
disp("momentum p="+string(p)+" mo")
//total energy E of the particle
E=m*c^2 //in J
disp("energy E="+string(E)+" mo")
//kinetic energy K=E-mo c^2
K=E-c^2 //in J
disp("kinetic energy K="+string(K)+" mo")
//answer is given in terms of m0 and c in the book
|
874b599d484e1b9885fdda0daa696dc7ca5ac41b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3472/CH29/EX29.9/Example29_9.sce
|
57fc867a4e00eecc54cbd6f24f9063e0ef28da4e
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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,308
|
sce
|
Example29_9.sce
|
// A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 3: SYMMETRICAL COMPONENTS' ANALYSIS
// EXAMPLE : 3.9 :
// Page number 493-494
clear ; clc ; close ; // Clear the work space and console
// Given data
I_A = 1000.0 // Current through line A(A)
I_C = 0 // Current through line C(A)
// Calculations
I_B = 1000.0*exp(%i*180.0*%pi/180) // Current through line B(A)
a = exp(%i*120.0*%pi/180) // Operator
I_a0 = 1.0/3*(I_A+I_B+I_C) // Zero sequence component of current(A)
I_b0 = I_a0 // Zero sequence component of current(A)
I_c0 = I_a0 // Zero sequence component of current(A)
I_a1 = 1.0/3*(I_A+a*I_B+a**2*I_C) // Positive sequence component of current(A)
I_b1 = a**2*I_a1 // Positive sequence component of current(A)
I_c1 = a*I_a1 // Positive sequence component of current(A)
I_a2 = 1.0/3*(I_A+a**2*I_B+a*I_C) // Negative sequence component of current(A)
I_b2 = a*I_a2 // Negative sequence component of current(A)
I_c2 = a**2*I_a2 // Negative sequence component of current(A)
// Results
disp("PART III - EXAMPLE : 3.9 : SOLUTION :-")
printf("\nCurrent in line A, I_A = %.f∠%.f° A", abs(I_A),phasemag(I_A))
printf("\nCurrent in line B, I_B = %.f∠%.f° A", abs(I_B),phasemag(I_B))
printf("\nCurrent in line C, I_C = %.f A", I_C)
printf("\nSymmetrical current components of line A are:")
printf("\n I_a0 = %.f A", abs(I_a0))
printf("\n I_a1 = %.1f∠%.f° A", abs(I_a1),phasemag(I_a1))
printf("\n I_a2 = %.1f∠%.f° A", abs(I_a2),phasemag(I_a2))
printf("\nSymmetrical current components of line B are:")
printf("\n I_b0 = %.f A", abs(I_b0))
printf("\n I_b1 = %.1f∠%.f° A", abs(I_b1),phasemag(I_b1))
printf("\n I_b2 = %.1f∠%.f° A", abs(I_b2),phasemag(I_b2))
printf("\nSymmetrical current components of line C are:")
printf("\n I_c0 = %.f A", abs(I_c0))
printf("\n I_c1 = %.1f∠%.f° A", abs(I_c1),phasemag(I_c1))
printf("\n I_c2 = %.1f∠%.f° A", abs(I_c2),phasemag(I_c2))
|
afb19129ea070fc9cec2ad725b9dd75ae595946e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3681/CH9/EX9.8/Ex9_8.sce
|
b10213d48efd2f127e11c175403599fc451d3496
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 502
|
sce
|
Ex9_8.sce
|
// Calculating the maximum permissible output from a machine
clc;
disp('Example 9.8, Page No. = 9.33')
// Given Data
D = 2;// Diameter (in meter)
ac = 50000;// Specific electric loading
ez = 7.5;// emf generated in a conductor at no load (in Volts)
// Calculation of the maximum permissible output from a machine
P = %pi*D*ac*ez*10^(-3);// Maximum permissible output (in kW)
disp(P,'Maximum permissible output (kW)=');
//in book answer is 2350 (kW). The answers vary due to round off error
|
4d0609ab98d7744370594d50a3095e8dc9654597
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1052/CH27/EX27.2/272.sce
|
6cd755106f151a2f526682a561766b3d31b8059e
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 463
|
sce
|
272.sce
|
clc;
//Example 27.2
//page no 413
printf("Example 27.2 page no 413\n\n");
//plate and frame filter press is to be employed to filter a slurry
m_dot_slurry=600*60//mass flow rate ,lb/h
m=0.1//sluury contain 10% by mass solid
m_dot_solids = m*m_dot_slurry//the solid flow rate in the slurry
a=(1/5)//filter colth area required for 1 lb/h of solid
A=m_dot_solids*(a)//filter colth area for 3600 lb/h of solids
printf("\n filter colth area A=%f ft^2",A);
|
26dae4d924b1ac3fe691c9e90b3af6cd36dfea19
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3651/CH6/EX6.4/4.sce
|
dd207c663fa0f4a016e16c370d42405d7fb42b5f
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 666
|
sce
|
4.sce
|
//Variable declaration
mew_e=0.13; //mobility of electron(m**2/Vs)
mew_h=0.05; //mobility of holes(m**2/Vs)
e=1.6*10**-19;
ni=1.5*10**16; //number of electron hole pairs
N=5*10**28;
//Calculation
sigma1=ni*e*(mew_e+mew_h); //intrinsic conductivity(ohm-1 m-1)
ND=N/10**8;
n=ni**2/ND;
sigma2=ND*e*mew_e; //conductivity(ohm-1 m-1)
sigma3=ND*e*mew_h; //conductivity(ohm-1 m-1)
//Result
printf('intrinsic conductivity is %0.3f *10**-3 ohm-1 m-1 %0.3f \n',(sigma1*10**3),sigma2)
printf('conductivity during donor impurity is %0.3f ohm-1 m-1 \n',sigma2)
printf('conductivity during acceptor impurity is %0.3f ohm-1 m-1',int(sigma3))
|
f72356f331d32d9f3ccfa3ae2a02fa1be559a924
|
0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb
|
/acmp.ru/373, Route 2/java/test-01.tst
|
b3479990085c212986225236953e3e1478e79865
|
[] |
no_license
|
Kot-Angens/acm
|
c85d8582c3e84f218415321743864b9680e01f2e
|
05472eaa0fff7abb6679826085da5e0c990df4cb
|
refs/heads/master
| 2021-01-24T22:36:05.159612
| 2012-10-02T13:51:56
| 2012-10-02T13:51:56
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 92
|
tst
|
test-01.tst
|
5 7
1 1 1 1 1
1 1 3 1 9
1 1 6 1 1
1 1 3 1 1
1 1 1 1 1
~~~~~~~~~~~~~~~~~~~~~~~~~~
21
|
f1f1e1cc9ea8658318dbd7965060893903827c8f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/788/CH6/EX6.3.a/6_3_data.sci
|
97ad21a4913e847a11a329924a2b70196de7139a
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 138
|
sci
|
6_3_data.sci
|
// Aim:Refer Example 6-3 for Problem Description
// Given:
// Weight of Body:
W=6000; //lb
// Inclination of Weight:
theta=30; //deg
|
25a6bb06727396220682cd51a690bb21c58f79f7
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/842/CH3/EX3.6/Example3_6.sce
|
02f7b0e6647c1ed7c228470eb20e34232aae1c26
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 741
|
sce
|
Example3_6.sce
|
//clear//
//Example3.6: Time Shift Property of CTFS
clear;
close;
clc;
T =4;
T1 = T/2;
t = 0:T1/100:T1;
Wo = 2*%pi/T;
gt =(1/2)*ones(1,length(t));
a(1)=0; //k=0, ak =0
d(1)=0;
for k =1:5
a(k+1) = (sin(%pi*k/2)/(k*%pi));
if(abs(a(k+1))<=0.01)
a(k+1)=0;
end
d(k+1) = a(k+1)*exp(-sqrt(-1)*k*%pi/2);
end
k = 0:5
disp('Fourier Series Coefficients of Square Wave')
a
disp('Fourier Series Coefficients of g(t)=x(t-1)-0.5')
d
//
figure
a = gca();
a.y_location = "origin";
a.x_location = "origin";
a.data_bounds=[-1,-2;1,4];
plot2d([-t($:-1:1),t(1:$)],[-gt,gt],5)
poly1 = a.children(1).children(1);
poly1.thickness = 3;
title('g(t)')
xlabel(' t')
|
b92f2ebacdfadb876cefa32d47e724d21fd322b9
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/98/CH6/EX6.15/example6_15.sce
|
a485dc227462f338f4305df8805ff668b9c2d3b7
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 580
|
sce
|
example6_15.sce
|
//Chapter 6
//Example 6_15
//Page 119
clear;clc;
md=50;
lf=0.5;
pf=0.75;
fc=100;
rc=0.05;
lfc=600;
id=0.1;
x=fc;
y=id*lfc;
z=y/x;
ec_pf=sqrt(1-z^2);
kwd=md/lf;
m1=kwd/pf;
m2=kwd/ec_pf;
as=fc*(m1-m2);
printf("Max demand charge = Rs. %.0f/kVA/annum \n", x);
printf("Expendiutre on capacitors = Rs. %.0f/kVA/annum \n", y);
printf("Most economical pf = %.2f \n", ec_pf);
printf("Max kW demand = %.0f kW \n", kwd);
printf("Max kVA demand at %.2f pf = %.2f kVA \n", pf, m1);
printf("Max kVA demand at %.2f pf = %.2f kVA \n", ec_pf, m2);
printf("Annual saving = Rs. %.0f \n", as);
|
f37e26145065db0e5f3dab7eec75ac6fe4ee25a9
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2504/CH5/EX5.2/5_2.sce
|
87648f54e4cad68e2835c2841729837f0cc77567
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 290
|
sce
|
5_2.sce
|
clc
//initialisation of variables
clear
w= 62.4 //lbf/ft^3
g= 32.2 //ft/sec^2
v= 86.5 //ft/sec
d2= 3 //in
d1= 6 //in
dp= 50 //lbf/in^2
//CALCULATIONS
Fb= -((%pi*(w/g)*v^2*(1/d1)^2*(1-(d2/d1)^2)*0.25)-dp*144*(%pi/4)*(1/d2)^2)
//RESULTS
printf ('Load on the bolts = %.f lbf',Fb)
|
fc76ac77697725fe26b2f22e820e49c53afff0b0
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3792/CH3/EX3.22/Ex3_22.sce
|
e6f92681db19b4ed70bca7434e97012d245d06e1
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 538
|
sce
|
Ex3_22.sce
|
// SAMPLE PROBLEM 3/22
clc;funcprot(0);
// Given data
m=150;// kg
v_1=4;// m/s
t_0=0;// s
t_1=4;// s
P=600;// N
t_2=8;// s
theta=30;// degree
g=9.81;// The acceleration due to gravity in m/sec^2
// Calculation
deltat=(m*0)+((m*v_1)-((v_1*2*P)/2)+(m*g*sind(theta)))/((2*P)+(m*g*sind(theta)));// s
t_a=v_1+deltat;// s
v_2x=((m*-v_1)+((v_1*2*P)/2)+(v_1*2*P)-(m*g*sind(theta)*t_2))/m;// m/s
printf("\n(a)The time at which the skip reverses its direction,t_a=%1.2f s \n(b)The velocity of the skip,v_2x=%1.2f m/s",t_a,v_2x);
|
a9b61b22fa208d07f35d3e7ca89f73b0111ca363
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3863/CH3/EX3.9/Ex3_9.sce
|
8aacb78f16305e19061263314c4786e2c56be01b
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 657
|
sce
|
Ex3_9.sce
|
clear
//
//Given
//Variable declaration
sigma1=100 //Major principal stress in N/sq.mm
sigma2=-40 //Minor principal stress in N/sq.mm
theta=90-60 //Angle of inclination in degrees
//Calculation
sigman=((sigma1+sigma2)/2)+(((sigma1-sigma2)/2)*cos((%pi/180)*(2*theta)))
sigmat=((sigma1-sigma2)/2*(sin((%pi/180)*(2*theta))))
sigmaR=(sqrt(sigman**2+sigmat**2))
sigmat_max=int((sigma1-sigma2)/2)
phi=int((180/%pi)*(atan(sigmat/sigman)))
//Result
printf("\n Resultant stress in magnitude = %0.3f N/mm^2",sigmaR)
printf("\n Direction of resultant stress = %0.3f degrees",phi)
printf("\n Maximum shear stress = %0.3f N/mm^2",sigmat_max)
|
0a2868d4eabea9fdf634a67804eb127b5884e909
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/343/CH4/EX4.30/ex4_30.sce
|
43c9c2bf9d01d5f5f9e0f1f68152613d33280c35
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 156
|
sce
|
ex4_30.sce
|
clc
cl1=1.5 //Assigning values to parameters
cl2=0.5*0.5*cl1
tec=cl1*3+cl2*4
tei=36
eo=500
n=eo*100/(eo+tei+tec)
disp(n,"The efficiency is")
|
e9aeac12da2f855f09b3d7337bee7db7d358c129
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3204/CH4/EX4.9/Ex4_9.sce
|
99b137e4fbf014b28a766efe995343c1398902d1
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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,181
|
sce
|
Ex4_9.sce
|
// Initilization of variables
// The given section is Z-section which is un-symmetrycal about both the axis
b1=20 //cm // width of bottom flange
t1=5 //cm // thickness of the bottom flange
b2=2.5 //cm // thickness of the web of the flange
t2=15 //cm // depth of the web
b3=10 //cm // width of the top flange
t3=2.5 //cm // thickness of the top flange
// Calculations
// Respective areas
A1=b1*t1 // cm^2 // area of the bottom flange
A2=b2*t2 // cm^2 // area of the web
A3=b3*t3 // cm^2 // area of the top-flange
// first we calculate the x co-ordinate of the centroid
x1=b3-b2+(b1/2) //cm // for the bottom flange
x2=b3-(b2/2) //cm // for the web
x3=b3/2 //cm // for the top flange
x_c=((A1*x1)+(A2*x2)+(A3*x3))/(A1+A2+A3) //cm
// secondly we calculate the y co-ordinate of the centroid
y1=t1/2 //cm // for the bottom flange
y2=t1+(t2/2) //cm // for the web
y3=t1+t2+(t3/2) //cm // for the top flange
y_c=((A1*y1)+(A2*y2)+(A3*y3))/(A1+A2+A3) // cm
// Results
clc
printf('The centroid of the cross-sectional area of a Z-section about x-axis is %f cm \n',x_c)
printf('The centroid of the cross-sectional area of a Z-section about y-axis is %f cm \n',y_c)
|
2749c8cabfc929897e3b446ffc84a4a778be9281
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/662/CH4/EX4.18/ex4_18.sce
|
9a3eacf3bbd411f28a0a3e99d151e6dabe63015c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 208
|
sce
|
ex4_18.sce
|
//Example 4.18
//Generate same floating point output in two different forms
x = 5000.0;
y = 0.0025;
printf("%f %f %f %f\n\n", x, y, x*y, x/y);
printf("%e %e %e %e", x, y, x*y, x/y);
|
4484a5e83c50dc4656d946917b23cd7477ee4bae
|
d06fdf3790202a025620ea10552fa4e416af4ffa
|
/exercise/02/Dis7.tst
|
af0a415fd5f3f6aaab09507cd8c7bf97f2327aa9
|
[] |
no_license
|
istar0me/co106a
|
67ff9c6facf33d928126adb7fe03ae160c8ceaec
|
0df2107b49c4ad9dc74251c6af5132f2a024da15
|
refs/heads/master
| 2021-08-22T11:27:42.660149
| 2017-11-30T04:03:42
| 2017-11-30T04:03:42
| 103,469,056
| 2
| 0
| null | 2017-09-14T01:16:57
| 2017-09-14T01:16:57
| null |
UTF-8
|
Scilab
| false
| false
| 698
|
tst
|
Dis7.tst
|
load Dis7.hdl,
output-file Dis7.out,
compare-to Dis7.cmp,
output-list x%B3.1.3 y%B3.1.3 z%B3.1.3 w%B3.1.3 a%B3.1.3;
set x 0,
set y 0,
set z 0,
set w 0,
eval,
output;
set x 0,
set y 0,
set z 0,
set w 1,
eval,
output;
set x 0,
set y 0,
set z 1,
set w 0,
eval,
output;
set x 0,
set y 0,
set z 1,
set w 1,
eval,
output;
set x 0,
set y 1,
set z 0,
set w 0,
eval,
output;
set x 0,
set y 1,
set z 0,
set w 1,
eval,
output;
set x 0,
set y 1,
set z 1,
set w 0,
eval,
output;
set x 0,
set y 1,
set z 1,
set w 1,
eval,
output;
set x 1,
set y 0,
set z 0,
set w 0,
eval,
output;
set x 1,
set y 0,
set z 0,
set w 1,
eval,
output;
|
a0604fe8e0bcf0ca8e0f2b52ad1450dc32f79b64
|
2e676e3b1cebfbb9d20f9b935ceacd507c57d36a
|
/Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/line-continue.tst
|
0d456dda0846ac7c13af107684c67b6df5baf99a
|
[] |
no_license
|
vohrahul/ML-ang-coursera
|
239469e763b290aa178b7aa8a86eda08e4e7f4be
|
4c24fd2ecfb9f3de7df15e3a9f75627f782f9915
|
refs/heads/master
| 2022-12-28T03:45:54.810173
| 2020-10-16T12:33:25
| 2020-10-16T12:33:25
| 304,620,441
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,913
|
tst
|
line-continue.tst
|
## Copyright (C) 2006-2017 John W. Eaton
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later version.
##
## Octave is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Octave; see the file COPYING. If not, see
## <http://www.gnu.org/licenses/>.
%!shared x, a, b
%! x = [1,2];
%! a = 1;
%! b = 2;
%!test
%! y = [a... # comments here ok
%! b];
%! assert (y, x);
## FIXME: Next 3 tests use '\' continuation outside of a double-quoted string
## This behavior is deprecated and will be removed at some point.
## When it does these
%!test
%! x = [1;2];
%! y = [a... # comments here ok
%! ;\
%!
%! b];
%! assert (y, x);
%!assert (1 + ...
%! 2 - \# comments here ok
%! 3 / ... # comments here ok
%! -1,6);
%!function y = f (a,...
%! b, ...
%! c, ... % comments ok
%! x, # continuation characters not required in parens
%! y, \# but they should work too.
%! z)
%!
%! y = 1;
%!endfunction
%!
%!assert (f (), 1)
# String continuation using '\'
%!assert (["abc\
%! def"], "abc def")
%!test
%!assert (1 == 1
%! && 2 == 2
%! || 3 == 5);
%!test
%! x = [1, ...
%!
%! ...
%!
%! 2];
%! y = [1;2];
%! assert (y, x);
%!test
%! x = [1 ,...
%! 2];
%! y = [1,2];
%! assert (y, x);
%!test
%! x = [ 1 , ...
%! 2];
%! y = [1,2];
%! assert (y, x);
%!test
%! x = [ 1 , ...anything after the ... is ignored
%! 2];
%! y = [1,2];
%! assert (y, x);
|
cbccc5f46d81ec554191b64567e29b9f34762701
|
b7339a0cd7d82e85754b81dc8ba7659c293a76e6
|
/TP0/test3.sce
|
253abdc16d563589756937cd1d47904df508f862
|
[] |
no_license
|
EzequielPostan/Machine-Learning
|
f9a7079b93229579fcd1064acace846cf55bd064
|
a43c0d982a17df5ff9460585318d9fcdc686bd9d
|
refs/heads/master
| 2020-06-04T22:48:01.153166
| 2015-04-06T15:32:19
| 2015-04-06T15:32:19
| 33,487,121
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 520
|
sce
|
test3.sce
|
// test3:
// Código Scilab para graficar el resultado del test3, está escrito para el
// caso de 20000 casos de prueba (n=20000). Si se desea modificar esta
// cantidad se debe altirar el valor de n
//
clear()
n = 20000
[fd,err] = mopen("ejercicioC.data",'r')
for i=1:n
[n,A(i,1),A(i,2),A(i,3)] = mfscanf(fd,"%f,%f,%d.");
if A(i,3) == 1 then
C(i,1) = A(i,1);
C(i,2) = A(i,2);
else
B(i,1) = A(i,1);
B(i,2) = A(i,2);
end
end
mclose(fd)
plot(C(:,1),C(:,2),'dr')
plot(B(:,1),B(:,2),'dg')
|
4f0b7212ee20b92018b6cb6304bfc26845d9394c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3673/CH1/EX1.a.6/Example_a_1_6.sce
|
90e3b7edda40ad706944a94d05fab4fdc935519f
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 198
|
sce
|
Example_a_1_6.sce
|
//Example 1_6 page no:24
clc;
Vs=30;
R1=5;
R2=4;
R3=2;
R4=4;
R5=1/((1/(R2))+(1/(R3))+(1/(R4)));
Rt=R1+R5;
It=Vs/Rt;//calculating the total current
disp(It,"the total current is (in A)");
|
6b2dd945e5c8662f28e8ab1a11feda3f27ffa8e2
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1184/CH3/EX3.3/Ex3_3.sce
|
5a2258cc75251c70a7c5c7991a231f187604ff52
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 224
|
sce
|
Ex3_3.sce
|
//Example 3-3, Page No - 106
clear
clc
Pc = 30
m=0.85
Pt = Pc*(1+ (m^2/2))
Psb_both =Pt-Pc
Psb_one = Psb_both/2
printf('The total power is %.1f watt \n The power in one sideband is %.1f watt',Pt,Psb_one)
|
9095984b177805da101d3f49b4ac27cde4fe32de
|
0638ccf4a1cb5242bee84d80c656709ff4eba73b
|
/Practice/Decoder.tst
|
683fd0335661499b0a424ff4470f12777d4f2c90
|
[] |
no_license
|
siyeol/Logic-and-Computer-Design
|
3bc584200083d685258df89b898f5b0111c005de
|
6970c81a9977f4d4e5b2bfd47d9ee464ac5a2d45
|
refs/heads/master
| 2023-06-21T21:35:22.794565
| 2021-07-14T16:12:58
| 2021-07-14T16:12:58
| 262,973,492
| 0
| 0
| null | 2020-05-12T10:19:02
| 2020-05-11T07:42:18
|
Scilab
|
UTF-8
|
Scilab
| false
| false
| 190
|
tst
|
Decoder.tst
|
// Modified by Minho Kim (9 Oct 2014)
load Decoder.hdl,
output-file Decoder.out,
compare-to Decoder.cmp,
output-list in%B3.1.3 out%B2.2.1;
set in 0,
eval,
output;
set in 1,
eval,
output;
|
ff390d78e5e12c81edd90f8b5efe3f3aed88df9e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2240/CH20/EX19.3/EX19_3.sce
|
393daa62fa8cf255c87d6032ee80104a38de07ab
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 361
|
sce
|
EX19_3.sce
|
// Grob's Basic Electronics 11e
// Chapter No. 19
// Example No. 19_3
clc; clear;
// How much is the inductance of a coil that induces 40 V when its current changes at the rate of 4 A/s?
// Given data
Vl = 40; // Induced voltage=40 Volts
R = 4 // Current changing rate=di/dt=4 A/s
L = Vl/R;
disp (L,'The Value of Inductance in Henry')
|
0623dd82bb9f0f6caae03a50a023135f35fcee06
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2006/CH11/EX11.5/ex11_5.sce
|
8e21677b056fede091d471ff5ae176870397c041
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 789
|
sce
|
ex11_5.sce
|
clc;
p1=11; // Initial pressure in bar
T1=40; // Initial temperature in degree celcius
p2=60; // Final pressure in bar
R_1=8.3143; // Universal gas constant in kJ/kmol K
// The crictical properties for natural gas
Tc=161; // Temperature in kelvin
Pc=46.4; // Pressure in bar
// Reduced properties are
Pr1=p1/Pc; Pr2=p2/Pc;
Tr1=(T1+273)/Tc;
// T2=T1, The ideal gas enthalpy h2*=h1*=h1
h21=-47.5; // From generalized enthalpy departure chart
M=16; // Molecular weight
Sp2_1=(R_1/M)*log (p2/p1)// for the difference in ideal gas entropies
Sp2_Sp_2=-0.1125; Sp_2_Sp_1=-2.1276; // Entropies in kJ/kg K
s2_s1=(Sp2_Sp_2)+(Sp_2_Sp_1);
q=(T1+273)*s2_s1; // Heat transfer
w=q-h21; // Work of compression
disp ("kJ/kg",w,"Work of compression = ","kJ/kg",q,"Heat transfer = ");
|
fced8fb90f804edb696175448fdcf56e3309c8ab
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3648/CH27/EX27.8/Ex27_8.sce
|
a3e9cc97a977e93fedf39e239703902f59ea73de
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 325
|
sce
|
Ex27_8.sce
|
//Example 27_8
clc();
clear;
//To calculate the decay constant and half life of substance
n_no=0.9 //Units in constant
t=12 //Units in h
lamda=log(1/n_no)/t //Units in h^-1
t1=round(0.693/lamda) //Units in h
printf("The decay constant is lamda=%.7f h^-1\n The Half life is t0.5=%d h",lamda,t1)
|
161d3fb9af4cebbe9841b819c419b8297bdd7aea
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3537/CH5/EX5.5/Ex5_5.sce
|
7c14e1ea6e85383718ec5af0a705d51ee2fe07a9
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 389
|
sce
|
Ex5_5.sce
|
//Example 5_5
clc();
clear;
//To find the lattice parameter of lead
theta=30 //units in degrees
n=1
l=1.54*10^-10 //units in meters
d=(n*l)/(2*sin(theta*%pi/180))
h=2
k=2
l=0
a=d*(sqrt(h^2+k^2+l^2)) //units in meters
a=a*10^10 //units in Armstrongs
printf("Lattice parameter is a=%.1f A",a)
//in text book the answer is printed wrong as 4.1A The answer is 4.4A nm
|
bd5a2f99e4e993ff3297a87468bb725aa162ad6b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1163/CH3/EX3.28/example_3_28.sce
|
cea174743a5e9afbc33711210b43fe895529ed8b
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 310
|
sce
|
example_3_28.sce
|
clear;
clc;
disp("--------------Example 3.28---------------")
dB1=-3; // signal is attenuated
dB2=7; // signal is amplified
dB3=-3; // signal is attenuated
dB=dB1+dB2+dB3; // add to get final dB
printf("The final decibel value is +%d dB . Hence the signal has gained in power.",dB); //display result
|
2d61ecbdaf83d704fc5025fe4ad8c3c9cc569f72
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/62/CH1/EX1.10/ex_1_10.sce
|
e376d2dabc4628a89b98d4f860ce7799ac2755b7
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 227
|
sce
|
ex_1_10.sce
|
clear;
clc;
close;
t=0:1/100:10;
w=1;
theta=%pi/3;
T=2*%pi/w;
x=cos(t*w+theta);
y=cos((t+T)*w+theta);
if ceil(x)==ceil(y) then
disp('cos(wo*t+theta) is periodic with T=2*pi/W0')
else
disp('nonperiodic')
end
|
648edab4479b53456cdbdffc6b4bb016f3a83696
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3311/CH5/EX5.6/Ex5_6.sce
|
ba871948f012596cee3f8da61417d273eb19ee1a
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 970
|
sce
|
Ex5_6.sce
|
// chapter 5
// example 5.6
// fig. E 5.6
// Determine power loss
// page-182-183
clear;
clc;
// given
t_r=2; // in us (rise time)
R_DS_on=0.2; // in ohm (drain to source resistance when MOSFET is ON)
D=0.7; // duty cycle
f=30; // in kHz (frequency)
V_DS=100; // in V (DC power supply)
R_L=12; // in ohm (load resistance)
// calculate
I_D=V_DS/(R_L+R_DS_on); // calculation of drain current
f=f*1E3; // changing unit from kHz to Hz
T=1/f; // calculation of switching period
t_on=D*T; // calculation of on-time
W_on=I_D^2*R_DS_on*t_on; // calculation of energy loss during on-time
P_on=W_on*f; // calculation of power loss during on-time
printf("\nThe power loss in the on-state is \t\t P_on=%.2f W",P_on);
t_r=t_r*1E-6; // changing unit from us to s
W_ON=V_DS*I_D*t_r/6; // calculation of energy loss during turn-on interval
P_ON=W_ON*f; // calculation of power loss during turn-on interval
printf("\nThe power loss during the turn-on interval is \t P_ON=%.1f W",P_ON);
|
8a86eb4b4edf493a01bcb007bb8efdf3cfabe8ae
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1967/CH11/EX11.4/11_4.sce
|
4237a900b424caae82a1f24baa4693aac976b133
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 253
|
sce
|
11_4.sce
|
clc
//initialisation of variables
clear
T1= 100 //C
T2= 90 //C
p= 76 //cm of hg
H= 542*18.02 //cal mole^-1
//CALCULATIONS
p1= p/10^((H/4.576)*((T1-T2)/((273.2+T1)*(273.2+T2))))
//RESULTS
printf ('Final vapour pressure of water = %.1f cm',p1)
|
fc2bf56a136dd4b209ad522dd49f271707b00575
|
36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd
|
/Motemote Aimer Hard.sce
|
03dc7ab490fde74a0113a95fcf8411113aeef989
|
[] |
no_license
|
Ahmad6543/Scenarios
|
cef76bf19d46e86249a6099c01928e4e33db5f20
|
6a4563d241e61a62020f76796762df5ae8817cc8
|
refs/heads/master
| 2023-03-18T23:30:49.653812
| 2020-09-23T06:26:05
| 2020-09-23T06:26:05
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 56,304
|
sce
|
Motemote Aimer Hard.sce
|
Name=Motemote Aimer Hard
PlayerCharacters=Aimer
BotCharacters=BOT1.bot;BOT2.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=Aimer
AddedBots=BOT1.bot;BOT1.bot;BOT1.bot
PlayerMaxLives=1
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=mote.map
MapScale=2.5
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.1
ScoreToWin=1000.0
ScorePerDamage=1.0
ScorePerKill=0.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=false
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=Fortnite,Apex, OW, Click-Timing, Flick,Valorant
WeaponHeroTag=Revolver
DifficultyTag=2
AuthorsTag=@Lac0caL
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=true
BlockFCT=true
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=75.0
LockedFOVMax=110.0
LockedFOVScale=Clamped Horizontal
[Aim Profile]
Name=Aimbot
MinReactionTime=0.1
MaxReactionTime=0.1
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=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=BOT1
DodgeProfileNames=Long Strafes
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=3.0
DodgeProfileMinChangeTime=3.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=3.0
UseWeapons=true
CharacterProfile=BOT1
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=BOT2
DodgeProfileNames=Long Strafes
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=3.0
DodgeProfileMinChangeTime=3.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=3.0
UseWeapons=true
CharacterProfile=BOT2
SeeThroughWalls=true
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Character Profile]
Name=Aimer
MaxHealth=1.0
WeaponProfileNames=Revolver;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=5.0
StepUpHeight=0.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=50.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=0.0
MaxCrouchSpeed=500.0
Acceleration=0.0
AirAcceleration=16000.0
Friction=0.0
BrakingFrictionFactor=0.0
JumpVelocity=0.0
Gravity=1.0
AirControl=0.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=true
CanJumpFromCrouch=false
EnemyBodyColor=X=0.771 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=1.000 Y=0.888 Z=0.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Cuboid
MainBBHeight=270.0
MainBBRadius=60.0
MainBBHasHead=true
MainBBHeadRadius=30.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=false
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=false
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=0.0
VerticalSpawnOffset=0.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=BOT1
MaxHealth=3.0
WeaponProfileNames=Shotgun;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=1.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=80.000
HeadshotOnly=false
DamageKnockbackFactor=30.0
MovementType=Base
MaxSpeed=3200.0
MaxCrouchSpeed=500.0
Acceleration=3000.0
AirAcceleration=16000.0
Friction=4.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=7.0
AirControl=0.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=true
CanJumpFromCrouch=false
EnemyBodyColor=X=0.771 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=1.000 Y=0.888 Z=0.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=true
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Cuboid
MainBBHeight=300.0
MainBBRadius=60.0
MainBBHasHead=true
MainBBHeadRadius=30.0
MainBBHeadOffset=0.0
MainBBHide=true
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=false
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=999.0
BlockSpawnFOV=30.0
BlockSpawnDistance=333.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=false
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=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=BOT2
MaxHealth=3.0
WeaponProfileNames=BB 3;;;;;;;
MinRespawnDelay=60.0
MaxRespawnDelay=60.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=80.000
HeadshotOnly=false
DamageKnockbackFactor=30.0
MovementType=Base
MaxSpeed=600.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=false
CanPogoJump=false
CanCrouchInAir=true
CanJumpFromCrouch=false
EnemyBodyColor=X=0.771 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=1.000 Y=0.888 Z=0.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Cuboid
MainBBHeight=300.0
MainBBRadius=60.0
MainBBHasHead=true
MainBBHeadRadius=30.0
MainBBHeadOffset=0.0
MainBBHide=true
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=false
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=999.0
BlockSpawnFOV=0.0
BlockSpawnDistance=333.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=true
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=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
[Dodge Profile]
Name=Long Strafes
MaxTargetDistance=0.0
MinTargetDistance=0.0
ToggleLeftRight=false
ToggleForwardBack=false
MinLRTimeChange=1000.0
MaxLRTimeChange=1000.0
MinFBTimeChange=1.0
MaxFBTimeChange=1.0
DamageReactionChangesDirection=true
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=50.0
DamageReactionResetTimer=0.5
JumpFrequency=0.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=TargetShootingSoon
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.75
MaxJumpTime=0.75
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.025
BlockedMovementReactionMax=0.05
WaypointLogic=Ignore
WaypointTurnRate=0.1
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
ForwardTimeMult=1.0
BackTimeMult=1.0
DamageReactionChangesFB=false
[Weapon Profile]
Name=Revolver
Type=Hitscan
ShotsPerClick=1
DamagePerShot=1.0
KnockbackFactor=90.0
TimeBetweenShots=0.2
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=5.0
MagazineMax=7
AmmoPerShot=1
ReloadTimeFromEmpty=2.0
ReloadTimeFromPartial=2.0
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.5
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=true
ADSZoomDelay=0.1
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=0.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=30.0
RecoilNegatable=false
DecalType=0
DecalSize=200.0
DelayAfterShooting=0.0
BeamTracksCrosshair=true
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=1.0
FlatKnockbackVertical=1.0
HitscanRadius=0.0
HitscanVisualRadius=1.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=2.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=3
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=1.0
FlatKnockbackVerticalMin=1.0
ADSScope=No Scope
ADSFOVOverride=80.0
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
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=Blood
ParticleProjectileTrail=None
ParticleHitscanTrace=Bullet
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=5.0
ParticleBodyImpactScale=10.0
ParticleProjectileTrailScale=1.0
Explosive=false
Radius=10000.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=4.0
MinRecoilUp=2.0
MinRecoilHoriz=1.0
MaxRecoilHoriz=1.5
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.03
TimeToRecoilReset=0.2
AAMode=0
AAPreferClosestPlayer=true
AAAlpha=1.0
AAMaxSpeed=360.0
AADeadZone=0.0
AAFOV=120.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=Shotgun
Type=Projectile
ShotsPerClick=1
DamagePerShot=1.0
KnockbackFactor=0.0
TimeBetweenShots=0.1
Pierces=false
Category=FullyAuto
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=0.1
MaxHitscanRange=100000.0
GravityScale=10.0
HeadshotCapable=false
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=2.0
ReloadTimeFromPartial=2.0
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=3.0
DelayBeforeShot=0.0
ProjectileGraphic=Shuriken
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.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=0
DecalSize=3.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=300.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=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.2
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=6
CancelReloadOnKill=true
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=103.0
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=false
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=111.000 Y=0.000 Z=0.000
SpreadDecayDelay=0.0
ReloadBeforeRecovery=true
3rdPersonWeaponModel=Minigun
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=None
ParticleBodyImpact=Blood
ParticleProjectileTrail=None
ParticleHitscanTrace=Tracer
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=100.0
ParticleProjectileTrailScale=30.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=0.0,0.1,0.0,0.0
SpreadSCA=0.0,0.1,0.0,0.0
SpreadMSA=0.0,0.1,0.0,0.0
SpreadMCA=0.0,0.1,0.0,0.0
SpreadSSH=0.0,0.1,0.0,0.0
SpreadSCH=0.0,0.1,0.0,0.0
SpreadMSH=0.0,0.1,0.0,0.0
SpreadMCH=0.0,0.1,0.0,0.0
MaxRecoilUp=4.0
MinRecoilUp=4.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.45
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=true
PBS0=0.0,0.0
[Weapon Profile]
Name=BB 3
Type=Projectile
ShotsPerClick=1
DamagePerShot=1.0
KnockbackFactor=30.0
TimeBetweenShots=5.0
Pierces=true
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=1000.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=10.0
MaxHitscanRange=100000.0
GravityScale=0.07
HeadshotCapable=false
HeadshotMultiplier=10.0
MagazineMax=3
AmmoPerShot=1
ReloadTimeFromEmpty=2.0
ReloadTimeFromPartial=2.0
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=50.0
DelayBeforeShot=0.0
ProjectileGraphic=Arrow
VisualLifetime=0.3
BounceOffWorld=false
BounceFactor=0.5
BounceCount=0
HomingProjectileAcceleration=1.0
ProjectileEnemyHitRadius=0.75
CanAimDownSight=true
ADSZoomDelay=0.1
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=0.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=30.0
RecoilNegatable=false
DecalType=1
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=1111.0
FlatKnockbackVertical=1111.0
HitscanRadius=30.0
HitscanVisualRadius=7.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=25.0
AimPunchResetTime=0.05
AimPunchCooldown=0.1
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=false
MinimumDecelVelocity=5.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=1111.0
FlatKnockbackVerticalMin=1111.0
ADSScope=No Scope
ADSFOVOverride=70.0
ADSFOVScale=Clamped Horizontal
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Stud Gun
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=Minigun
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=None
ParticleWallImpact=None
ParticleBodyImpact=None
ParticleProjectileTrail=Rocket
ParticleHitscanTrace=Bullet
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=0.9
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=3.0
MinRecoilUp=1.0
MinRecoilHoriz=0.5
MaxRecoilHoriz=1.0
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.03
TimeToRecoilReset=0.55
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
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
Float sky.timeOfDay 0.000000
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
2608.000000 12928.000000 -992.000000
2800.000000 12928.000000 -992.000000
2800.000000 12928.000000 -1184.000000
2608.000000 12928.000000 -1184.000000
2608.000000 12912.000000 -992.000000
2800.000000 12912.000000 -992.000000
2800.000000 12912.000000 -1184.000000
2608.000000 12912.000000 -1184.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
96.000000 12928.000000 -992.000000
2608.000000 12928.000000 -992.000000
2608.000000 12928.000000 -1184.000000
96.000000 12928.000000 -1184.000000
96.000000 12912.000000 -992.000000
2608.000000 12912.000000 -992.000000
2608.000000 12912.000000 -1184.000000
96.000000 12912.000000 -1184.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
2800.000000 12928.000000 1520.000000
2800.000000 12928.000000 -991.999512
2608.000000 12928.000000 -991.999512
2608.000000 12928.000000 1520.000000
2800.000000 12912.000000 1520.000000
2800.000000 12912.000000 -991.999512
2608.000000 12912.000000 -991.999512
2608.000000 12912.000000 1520.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
2800.000000 12928.000000 -1184.000000
2800.000000 12928.000000 -3695.999512
2608.000000 12928.000000 -3695.999512
2608.000000 12928.000000 -1184.000000
2800.000000 12912.000000 -1184.000000
2800.000000 12912.000000 -3695.999512
2608.000000 12912.000000 -3695.999512
2608.000000 12912.000000 -1184.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
2800.000000 14208.000000 1712.000000
2800.000000 13152.000000 -800.000000
2608.000000 13152.000000 -800.000000
2608.000000 14192.000000 1712.000000
2608.000000 14208.000000 1712.000000
2800.000000 13136.000000 -800.000000
2608.000000 13136.000000 -800.000000
2800.000000 14192.000000 1712.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 6 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 4 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 6 5 7 0x00000000
brush
vertices
2608.000000 14208.000000 -3888.000000
2607.999756 13152.000000 -1376.000244
2799.999512 13152.000000 -1376.000000
2800.000000 14192.000000 -3888.000000
2800.000000 14208.000000 -3888.000000
2607.999756 13136.000000 -1376.000244
2799.999512 13136.000000 -1376.000000
2608.000000 14192.000000 -3888.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 6 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 4 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 6 5 7 0x00000000
brush
vertices
-128.000000 14208.000000 -992.000000
2384.000000 13152.000000 -992.000000
2384.000000 13152.000000 -1184.000000
-128.000000 14192.000000 -1184.000000
-128.000000 14208.000000 -1184.000000
2384.000000 13136.000000 -992.000000
2384.000000 13136.000000 -1184.000000
-128.000000 14192.000000 -992.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 6 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 4 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 6 5 7 0x00000000
brush
vertices
2608.000000 12928.000000 -1312.000000
831.747681 11872.000000 -3088.252441
695.983398 11872.000000 -2952.488037
2472.235352 12912.000000 -1176.235596
2472.235352 12928.000000 -1176.235596
831.747681 11856.000000 -3088.252441
695.983398 11856.000000 -2952.488037
2608.000000 12912.000000 -1312.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 6 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 4 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 6 5 7 0x00000000
brush
vertices
2480.000000 12928.000000 -992.000000
703.747559 11872.000000 784.251831
839.511963 11872.000000 920.016479
2615.764160 12912.000000 -856.235718
2615.764160 12928.000000 -856.235718
703.747559 11856.000000 784.251831
839.511963 11856.000000 920.016479
2480.000000 12912.000000 -992.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 2 6 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 4 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 5 1 0 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 6 5 7 0x00000000
brush
vertices
2480.000000 12928.000000 -1184.000000
2608.000000 12928.000000 -1184.000000
2608.000000 12928.000000 -1312.000000
2608.000000 12864.000000 -1184.000000
2480.000000 12864.000000 -1184.000000
2480.000000 12880.000000 -1312.000000
2480.000000 12864.000000 -1312.000000
2608.000000 12864.000000 -1312.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
2608.000000 12928.000000 -864.000000
2608.000244 12928.000000 -992.000000
2480.000000 12928.000000 -991.999756
2608.000244 12864.000000 -992.000000
2608.000000 12864.000000 -864.000000
2480.000244 12880.000000 -864.000000
2480.000244 12864.000000 -864.000000
2480.000000 12864.000000 -991.999756
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 0 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 2 7 0x00000000
brush
vertices
2592.000000 15104.000000 -1328.000000
2608.000000 15104.000000 -1328.000000
2608.000000 15104.000000 -3904.000000
2592.000000 15104.000000 -3904.000000
2592.000000 12928.000000 -1328.000000
2608.000000 12928.000000 -1328.000000
2608.000000 12928.000000 -3904.000000
2592.000000 12928.000000 -3904.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
2608.000000 15104.000000 -3888.000000
2800.000000 15104.000000 -3888.000000
2800.000000 15104.000000 -3904.000000
2608.000000 15104.000000 -3904.000000
2608.000000 14208.000000 -3888.000000
2800.000000 14208.000000 -3888.000000
2800.000000 14208.000000 -3904.000000
2608.000000 14208.000000 -3904.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
2608.000000 14016.000000 -3696.000000
2800.000000 14016.000000 -3696.000000
2800.000000 14016.000000 -3712.000000
2608.000000 14016.000000 -3712.000000
2608.000000 12928.000000 -3696.000000
2800.000000 12928.000000 -3696.000000
2800.000000 12928.000000 -3712.000000
2608.000000 12928.000000 -3712.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
2816.000732 15104.000000 -816.000488
2800.000732 15104.000000 -815.999512
2800.000488 15104.000000 1760.000488
2816.000000 15104.000000 1760.000000
2816.000732 12928.000000 -816.000488
2800.000732 12928.000000 -815.999512
2800.000488 12928.000000 1760.000488
2816.000000 12928.000000 1760.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
2608.000488 15104.000000 -831.999512
2592.000244 15104.000000 -831.999512
2592.000488 15104.000000 1744.000488
2608.000488 15104.000000 1744.000000
2608.000488 12928.000000 -831.999512
2592.000244 12928.000000 -831.999512
2592.000488 12928.000000 1744.000488
2608.000488 12928.000000 1744.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
96.000488 14016.000000 -991.999390
96.000488 14016.000000 -1183.999512
80.000488 14016.000000 -1184.000488
79.999512 14016.000000 -991.999390
96.000488 12928.000000 -991.999390
96.000488 12928.000000 -1183.999512
80.000488 12928.000000 -1184.000488
79.999512 12928.000000 -991.999390
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
2448.000000 13824.000000 -1183.999268
2459.312988 13824.000000 -1195.313721
637.806641 13824.000000 -3016.820313
626.493408 13824.000000 -3005.506836
2448.000000 11648.000000 -1183.999268
2459.312988 11648.000000 -1195.313721
637.806641 11648.000000 -3016.820313
626.493408 11648.000000 -3005.506836
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
2583.765381 13824.000000 -1342.392822
2595.079346 13824.000000 -1353.706055
796.198547 13824.000000 -3152.585205
784.884949 13824.000000 -3141.270996
2583.765381 11648.000000 -1342.392822
2595.079346 11648.000000 -1353.706055
796.198547 11648.000000 -3152.585205
784.884949 11648.000000 -3141.270996
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
693.571655 12928.000000 -2961.055176
829.335693 12928.000000 -3096.820068
818.022583 12928.000000 -3108.133789
682.256714 12928.000000 -2972.369141
693.571655 11648.000000 -2961.055176
829.335693 11648.000000 -3096.820068
818.022583 11648.000000 -3108.133789
682.256714 11648.000000 -2972.369141
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
2598.627930 13840.000000 -827.483398
2587.313477 13840.000000 -838.796387
765.806641 13840.000000 982.709961
777.121094 13840.000000 994.022949
2598.627930 11664.000000 -827.483398
2587.313477 11664.000000 -838.796387
765.806641 11664.000000 982.709961
777.121094 11664.000000 994.022949
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
837.571777 12944.000000 926.944824
701.806885 12944.000000 791.180664
690.493896 12944.000000 802.494141
826.258301 12944.000000 938.259766
837.571777 11664.000000 926.944824
701.806885 11664.000000 791.180664
690.493896 11664.000000 802.494141
826.258301 11664.000000 938.259766
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
2451.548340 13840.000000 -974.561523
2440.235352 13840.000000 -985.875977
630.042236 13840.000000 824.318115
641.356812 13840.000000 835.631348
2451.548340 11664.000000 -974.561523
2440.235352 11664.000000 -985.875977
630.042236 11664.000000 824.318359
641.356934 11664.000000 835.631348
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
2800.000000 15104.000000 1712.000000
2608.000488 15104.000000 1712.000000
2608.000488 15104.000000 1728.000488
2800.000488 15104.000000 1728.000488
2800.000000 14208.000000 1712.000000
2608.000488 14208.000000 1712.000000
2608.000488 14208.000000 1728.000488
2800.000488 14208.000000 1728.000488
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
2800.000488 14016.000000 1520.000000
2608.000488 14016.000000 1520.000000
2608.000244 14016.000000 1535.999512
2800.000732 14016.000000 1536.000488
2800.000488 12928.000000 1520.000000
2608.000488 12928.000000 1520.000000
2608.000244 12928.000000 1535.999512
2800.000732 12928.000000 1536.000488
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-128.000000 15104.000000 -991.999878
-128.000000 15104.000000 -1184.000000
-144.000977 15104.000000 -1184.000000
-144.000000 15104.000000 -991.999878
-128.000000 14208.000000 -991.999878
-128.000000 14208.000000 -1184.000000
-144.000977 14208.000000 -1184.000000
-144.000000 14208.000000 -991.999878
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
2464.000000 15104.000000 -975.998169
2463.999023 15104.000000 -991.998169
-128.000244 15104.000000 -991.998901
-128.000000 15104.000000 -975.999390
2464.000000 12928.000000 -975.998169
2463.999023 12928.000000 -991.998169
-128.000000 12928.000000 -991.998657
-128.000000 12928.000000 -975.998657
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
2463.999512 15104.000000 -1184.001099
2464.000000 15104.000000 -1200.000854
-112.000488 15104.000000 -1199.998657
-112.000000 15104.000000 -1183.998413
2463.999512 12928.000000 -1184.001099
2464.000000 12928.000000 -1200.000854
-112.000000 12928.000000 -1199.998657
-112.000000 12928.000000 -1183.998657
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
2800.000000 15104.000000 -800.000000
2816.000000 15104.000000 -800.000000
2816.000000 15104.000000 -3888.000000
2800.000000 15104.000000 -3888.000000
2800.000000 12928.000000 -800.000000
2816.000000 12928.000000 -800.000000
2816.000000 12928.000000 -3888.000000
2800.000000 12928.000000 -3888.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
2368.000000 13408.000000 -992.000000
2608.000000 13136.000000 -992.000000
2608.000000 13136.000000 -1184.000000
2608.000000 13120.000000 -992.000000
2368.000000 13408.000000 -1184.000000
2368.000000 13392.000000 -1184.000000
2368.000000 13392.000000 -992.000000
2608.000000 13120.000000 -1184.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 0 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 4 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 3 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 5 4 2 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 7 3 6 5 0x00000000 internal/editor/textures/editor_clip
entity
type CameraPath
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type PlayerSpawn
Vector3 position 2704.000000 12928.000000 -1088.000000
Vector3 angles 270.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 -96.000000 14208.000000 -1088.000000
Vector3 angles 450.000000 0.000000 0.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 128.000000 12928.000000 -1088.000000
Vector3 angles 450.000000 0.000000 0.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 784.000000 11904.000000 -3008.000000
Vector3 angles 405.000000 0.000000 0.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 2704.000000 12928.000000 -3664.000000
Vector3 angles 360.000000 0.000000 0.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 2704.000000 14208.000000 -3856.000000
Vector3 angles 360.000000 0.000000 0.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 2704.000000 14224.000000 1680.000000
Vector3 angles 180.000000 0.000000 0.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 2704.000000 12928.000000 1488.000000
Vector3 angles 180.000000 0.000000 0.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 800.000000 11904.000000 816.000000
Vector3 angles 135.000000 0.000000 0.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 2752.000000 12928.000000 -3664.000000
Vector3 angles 360.000000 0.000000 0.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 2656.000000 12928.000000 -3664.000000
Vector3 angles 360.000000 0.000000 0.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 2656.000000 14208.000000 -3856.000000
Vector3 angles 360.000000 0.000000 0.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 2752.000000 14208.000000 -3856.000000
Vector3 angles 360.000000 0.000000 0.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 2656.000000 14224.000000 1680.000000
Vector3 angles 180.000000 0.000000 0.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 2752.000000 14224.000000 1680.000000
Vector3 angles 180.000000 0.000000 0.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 2656.000000 12928.000000 1488.000000
Vector3 angles 180.000000 0.000000 0.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 2752.000000 12928.000000 1488.000000
Vector3 angles 180.000000 0.000000 0.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 768.000000 11904.000000 784.000000
Vector3 angles 135.000000 0.000000 0.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 832.000000 11904.000000 848.000000
Vector3 angles 135.000000 0.000000 0.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 128.000000 12928.000000 -1136.000000
Vector3 angles 450.000000 0.000000 0.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 128.000000 12928.000000 -1040.000000
Vector3 angles 450.000000 0.000000 0.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 -96.000000 14208.000000 -1136.000000
Vector3 angles 450.000000 0.000000 0.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 -96.000000 14208.000000 -1040.000000
Vector3 angles 450.000000 0.000000 0.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 816.000000 11904.000000 -3040.000000
Vector3 angles 405.000000 0.000000 0.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 752.000000 11904.000000 -2976.000000
Vector3 angles 405.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
|
50b8914715c7d3298552d34f55f7da51cedb0a36
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/476/CH6/EX6.27/Example_6_27.sce
|
e4e0983f900a65fffebfc99c8f57de3f08ba4d13
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 536
|
sce
|
Example_6_27.sce
|
//A Textbook of Chemical Engineering Thermodynamics
//Chapter 6
//Thermodynamic Properties of Pure Fluids
//Example 27
clear;
clc;
//Given:
T = 473; //temperature in K
P = 50*10^5; //pressure in Pa
d = 24.3; //density of ammonia (kg/m^3)
m = 17; //molecular wt of ammonia
R = 8.314; //ideal gas constant
//To estimate the fugacity of ammonia
V = m/(d*1000); //molar volume of ammonia (m^3/kmol)
//Using eq. 6.142 (Page no. 234)
f = (V*(P^2))/(R*T);
mprintf('The fugacity of ammonia is %f bar',f/10^5);
//end
|
b6b77a61f61143feb30802b123944b8e591c45db
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/569/CH5/EX5.28/5_28.sci
|
72b99780891aae14b402c691f5ef94c93459cdd8
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 396
|
sci
|
5_28.sci
|
// Calculate the values of resistance R1 and R2
clc;
E_20=0.112*10^-3;// emf at 20degree C
E_900=8.446*10^-3;
E_1200=11.946*10^-3;
E1=E_900-E_20;
E2=E_1200-E_20;
disp('E1=1.08*R1/(R1+2.5+R2); (i)')
disp('E2=1.08*(R1+2.5)/(R1+2.5+R2); (ii)')
disp('on solving (i) and (ii)')
R1=5.95;
R2=762.6;
disp(R1,'value of resistance R1 (ohm)=')
disp(R2,'value of resistance R2 (ohm)=')
|
075df5caa93762103a89277e7d78eeddd465f1fc
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/52/CH5/EX5.16/Example5_16.sce
|
44f8533694a64a7af286ffb6d711bf72ae2f0311
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 194
|
sce
|
Example5_16.sce
|
//Example 5.16
//To Find out Bilinear Transformation of HS=2/((s+1)*(s+2))
clear;
clc ;
close ;
s=%s;
z=%z;
HS=2/((s+1)*(s+2));
T=1;
HZ=horner(HS,(2/T)*(z-1)/(z+1));
disp(HZ,'H(z) =');
|
7e833837eb25fd1266feadf80a5d9209dad1de86
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1952/CH7/EX7.7/Ex7_7.sce
|
39382d33c9104115180f43877f69cffde7bd7ba2
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 966
|
sce
|
Ex7_7.sce
|
// chapter 7 , Example 7.7 , pg 211
rho=2300 //resistivity (in ohm*m) for Si (value given in book is wrong)
ni=1.6*10^16 //intrinsic concentration (in m^-3)
Ue=0.15 //electron mobility (in m^2/(V*s))
e=1.6*10^-19 //charge of electron (in C)
// assuming 1*1*1 (in cm) dimension of Si crystal
l=10^-2 //length (in m)
b=10^-2 //breadth (in m)
w=10^-2 //width (in m)
Nsi=5*10^28 // (in atoms/m^3)
x=1/10^9 //doping concentration
A=l*b //area (in m^2)
R1=(rho*l)/A //resistance of pure Si crystal (in ohm)
Nd=Nsi*x //donor concentration (in m^-3)
p=ni^2/Nd //concentration of hole (in m^-3)
sigma=Nd*Ue*e //coductivity of doped Si (in ohm^-1*m^-1)
R=l/(sigma*A) //resistance of doped Si crystal (in ohm)
printf("Resistance of pure Si crystal (in ohm)")
disp(R1)
printf("Resistance of doped Si crystal (in ohm)")
disp(R)
//answer given is wrong
|
29eaab657386f9057ab6214b5ef0c4e6cad4f299
|
664fdc6470c0da45922ff39e3b58320db9600faf
|
/control/foc/test.tst
|
dc550be391192477df123876c8a8eb8b6e6bb790
|
[
"MIT"
] |
permissive
|
beandrewang/drone-sim
|
55a60df2b3eb64f56ffc301e739bc3df22a2764d
|
5e932e1a3cec62af0dbf23dbbf8eacea06163796
|
refs/heads/master
| 2021-01-19T11:52:43.493366
| 2017-03-07T01:22:02
| 2017-03-07T01:22:02
| 82,269,144
| 3
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 260
|
tst
|
test.tst
|
// test the foc
funcprot(0);
exec('foc.sci');
Id_back = 0;
Iq_back = 0;
theta = 0;
Vdc = 12;
Id = 0;
Iq = 5;
R = 2;
Ed = 0;
Eq = 0;
ed = 0;
eq = 0;
[Id_back, Iq_back, theta, Ed, ed, Eq, eq] = foc(Id, Iq, Vdc, R, theta, Id_back, Iq_back, Ed, Eq, ed, eq);
|
d6319993b65bb8c3e576abca67a2fa63f01e6a3b
|
f84f70d084dfe70f4981267c54aae83638a4d71e
|
/ACSO-master/ACSO-master/Lab 4/Laboratorio 4a/Compl2.tst
|
87e24c618b3c489b9d661238be4141d214b647b3
|
[] |
no_license
|
nicolaspineros/ACSOM
|
b85b4b770df5ff204c2c117155102c69fecc2dc6
|
3f3a05bd60589ba5f6fa5edba9d999af9dd93517
|
refs/heads/master
| 2023-03-22T11:34:35.897155
| 2021-03-03T15:35:00
| 2021-03-03T15:35:00
| 344,175,037
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 129
|
tst
|
Compl2.tst
|
load Compl2.hdl,
output-file Compl2.out,
output-list s%B1.16.1;
set ah %B1010010101011010, eval;
set al %B0110101101011010, eval;
|
45aed8651069fce5525f1b7a1cbfb812da9fd82e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3415/CH7/EX7.2/Ex7_2.sce
|
1522859ad1689d19c53b890bd34f71bd2793a5d2
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 521
|
sce
|
Ex7_2.sce
|
//fiber optic communications by joseph c. palais
//example 7.2
//OS=Windows XP sp3
//Scilab version 5.4.1
clc;
clear all;
//given
eta=0.01//quantum efficiency of a detector
lambda=0.8*(10^-6)//wavelength in m
e=1.6*10^-19//charge of an electron in columb
h=6.63*10^-34//plancks constant
c=3*10^8//velocity of light in m/s
// to find
Row=(eta*e*lambda)/(h*c)//responsivity of detector in mA/W
mprintf("Responsivity of detector=%f mA/W",Row*10^3)//multiplication with 10^3 converts the unit from A/W to mA/W
|
56b3512780b8a1f512c2fce97e4139e4f5b96e0f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/611/CH4/EX4.10/Chap4_Ex10_R1.sce
|
465c5ce82b4bebce3b1c7f6ea7e311da1921230a
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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,797
|
sce
|
Chap4_Ex10_R1.sce
|
// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-4,Example 10,Page 105
//Title:Final temperature
//================================================================================================================
clear
clc
//INPUT
N=100;//number of moles of carbon dioxide in mol
T1=298;//initial temperature in K
Q=1;//energy added as heat in MJ
a=45.369;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
b=8.688*10^-3;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
e=-9.619*10^5;//coefficient in the specific heat capacity expression where Cp=a+bT+eT^-2
//Where Cp is in J/molK
//CALCULATION
delh=Q*10^6/N;//calculation of enthalpy in J
Tguess=520;//The final temperature guess value in K used for solving the system of equations
//The system of equations are defined by :
//T2=T1+(delh/Cpm)--->A
//Cpm=a+(b*Tm)+(e/T1T2)--->B
Cpm_guess=a+(b*((T1+Tguess)/2))+(e/(T1*Tguess));//calculation of Cpm guess (in J/molK) to be used to determine T2 from Equation A
T2_guess=T1+(delh/Cpm_guess);//calculation of T2 using Equation A (in K) based on the value of Cpm guess computed using Equation B
tolerance=1e-6;//defining the tolerance limit to obtain convergence
while abs(T2_guess-Tguess)>tolerance
Tguess=T2_guess;
Cpm_guess=a+(b*((T1+Tguess)/2))+(e/(T1*Tguess));
T2_guess=T1+(delh/Cpm_guess);//the iteration process to solve the system of equations
end
T2=T2_guess;//value of the final temperature of CO2 obtained upon solving the system of equations(A and B) in K
//OUTPUT
mprintf('\n The final temperature= %0.1f K\n',T2);
//===============================================END OF PROGRAM===================================================
|
46b9a863bd7bc94ef8cc390635d9cf4db3316244
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1859/CH6/EX6.8/exa_6_8.sce
|
74f367b0bc56e03945bd05e5af79805f29b4a338
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 419
|
sce
|
exa_6_8.sce
|
// Exa 6.8
clc;
clear;
close;
// Given data
P=1000;// in ohm
Q=1000;// in ohm
S=100;// in ohm
E=2;// in volt
Rg=50;// in ohm
R_desh= 101;// in ohm
R=Q*S/P;// in ohm
del_R= R_desh-R;// in ohm
E_Th= E*[(R+del_R)/(R+del_R+S)- P/(P+Q)];// in volt
R_Th= [(R+del_R)*S/(R+del_R+S)+ P*Q/(P+Q)];//in ohm
Ig= E_Th/(R_Th+Rg);// in amp
Ig=Ig*10^+6;// in micro amp
disp(Ig,"The galvanometer current in micro amp")
|
feebda0a4b65a05ca5f3efe03de3189a821f9b56
|
fdc5047b7bf8122bad1e621df236b0481226c36e
|
/exemplos/xls-link-0.5.0-src/src/cpp/builder_cpp.sce
|
10be7e3051bd0c1547956b2a2fc3881aeb56e9a3
|
[] |
no_license
|
jpbevila/virtualHartSci
|
aea3c6ba23d054670eb193f441ea7de982b531cc
|
a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5
|
refs/heads/main
| 2023-07-26T23:05:28.044194
| 2021-09-09T11:50:59
| 2021-09-09T11:50:59
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,209
|
sce
|
builder_cpp.sce
|
function builder_cpp()
src_cpp_path = get_absolute_file_path("builder_cpp.sce");
lib_name = "xls_link";
entry_points = ["getObjExcelLink"; ..
"destroyObjExcelLink"; ..
"setOutputArgument"; ..
"getInputArgument"; ..
"getVariant"; ..
"getXlFileFormatName"; ..
"getXlFileFormat"; ..
"IndToStr"];
file_names = ["AutomationHelper.cpp"
"ExcelLink.cpp"; ..
"MainObject.cpp"; ..
"getInputArgument.cpp"; ..
"setOutputArgument.cpp"; ..
"xlFileFormat.c"; ..
"Excel_utils.c"];
CFLAGS = "-DXLS_LINK_EXPORTS";
CFLAGS = CFLAGS + " " + ilib_include_flag(src_cpp_path);
CC = "";
LIBS = "";
LDFLAGS = "ole32.lib oleaut32.lib user32.lib";
FFLAGS = "";
tbx_build_src(entry_points, ..
file_names, ..
"cpp", ..
src_cpp_path, ..
LIBS, ..
LDFLAGS, ..
CFLAGS, ..
FFLAGS, ..
CC, ..
lib_name);
endfunction
builder_cpp();
clear builder_cpp;
|
165c7a5f9f9e1424266de525cc528e8eb9f3241e
|
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
|
/ketpicscifiles6/Bowname.sci
|
f57c49614d81345a9675033d263a0cac36e9f06d
|
[] |
no_license
|
ketpic/ketcindy-scilab-support
|
e1646488aa840f86c198818ea518c24a66b71f81
|
3df21192d25809ce980cd036a5ef9f97b53aa918
|
refs/heads/master
| 2021-05-11T11:40:49.725978
| 2018-01-16T14:02:21
| 2018-01-16T14:02:21
| 117,643,554
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 753
|
sci
|
Bowname.sci
|
//
// 08.08.24
// 09.08.12
// 09.08.13
// 13.11.30 Directon supported
function Bowname(varargin)
global BOWMIDDLE;
Nargs=length(varargin);
Siki=varargin(Nargs);
Nargs=Nargs-1; // 13.11.30
Dr="c";
if Nargs>=1 then
Tmp=varargin(Nargs);
if type(Tmp)==10
Dr=Tmp;
Nargs=Nargs-1;
end
end
if Nargs==0 // 13.11.30
P=Mixop(1,BOWMIDDLE);
elseif Nargs==1 // 13.11.30
Bdata=varargin(1);
P=Bowmiddle(Bdata);
else
A=varargin(1); B=varargin(2);
D=1/2*Vecnagasa(B-A);
Tmp=varargin(3);
if type(Tmp)==10
H=D*0.2;
else
H=Tmp*D*0.2;
end;
H=min(H,D);
Ydata=MakeBowdata(A,B,H);
Tmp=Bowmiddle(Ydata);
P=Mixop(1,Tmp);
end
Expr(P,Dr,Siki); //13.11.30
endfunction
|
d7fdf8c95ccacee11ddd3ce0bfea479a8eed5e14
|
78ff3e16a288175ff606f38ee5ee877d4844773e
|
/10_chapter/10_09_solution.sce
|
e6e404a36eac948640c491888a2dd8c304b4ceb6
|
[] |
no_license
|
rngalvan/fluid-mech-cengel
|
16c12ed8f71f25c812700be4322328c5663b71cf
|
ee45f924e73cbb8b5716fac43504dac15ffd1f64
|
refs/heads/master
| 2021-05-27T20:52:22.586023
| 2013-04-17T04:25:37
| 2013-04-17T04:25:37
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 468
|
sce
|
10_09_solution.sce
|
//Solution 10-9
WD=get_absolute_file_path('10_09_solution.sce');
datafile=WD+filesep()+'10_09_example.sci';
clc;
exec(datafile)
//unit conversions
V = V * 1000 / 3600; //from [km/hr] to [m/s]
nu = mu / rho_water;
Re = V * c / nu;
printf("Reynolds number is %1.2e", Re);
if Re < Re_cr then
printf("\nHence the flow is laminar");
elseif Re >= Re_cr & Re < Re_tran
printf("\nHence the flow is transitional");
else
printf("\nHence the flow is turbulent");
end
|
d61316d0144a75bb8da48ebc7f996c7839210a0f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2882/CH3/EX3.2/Ex3_2.sce
|
969573e911eb1ab100d86ec1a93d1eec321998fa
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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,096
|
sce
|
Ex3_2.sce
|
//Tested on Windows 7 Ultimate 32-bit
//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 89
clear;
clc;
//Given Data
r=1.0;//Diode resistance in ohms
Rl=100;//Load resistance in ohms
Ep=30;//Input supply voltage in volts peak
//Solution
disp("(a)");
Ip=Ep/(Rl+r)*1000;//peak current in milli-amperes
Irms=Ip/sqrt(2);//rms current in milli-amperes
Iavg=Ip/%pi;//average or d.c. value of current in in milli-amperes
printf("The peak value of current = Ip=%d mA\n",Ip);
printf("The rms value of current = Irms=%.1f mA\n",Irms);
printf("The average or d.c. value of current = Iav=%.1f mA\n",Iavg);
disp("(b)");
Pdc=(Iavg/1000)^2*Rl//d.c. output power in watts
printf("The d.c. output power = Pdc=%.3f watts\n",Pdc);
disp("(c)");
Pac=(Irms/1000)^2*(Rl+r);//input ac power in watts
printf("The a.c. input power = Pin=%.2f watts\n",Pac);
disp("(d)");
n=Pdc/Pac;//Rectification efficiency is output dc power over input ac power
printf("Rectification efficiency= %d percentage",n*100);
//Error in textbook as Irms=Ip/sqrt(2) and not Ip/2
|
4b8e8a9dd8227ea592c8de9628509b16509e9ab1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2885/CH4/EX4.2/ex4_2.sce
|
9b90f3466103383b4b61dd73103f75d6f0a8b86c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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
|
ex4_2.sce
|
//determine the base and collector current and exact and approax dc alpha
clear;
clc;
//soltion
//given
Ie=8.4*10^-3//A//emitter current
Icbo=0.1*10^-6;//A//reverse leakage current
Ib=0.008*Ie;//A//base current
Ic=Ie-Ib;
Icinj=Ic-Icbo;
a0=Icinj/Ie;
a=Ic/Ie;
printf("Base current is %.1f uA\n",Ib*10^6);
printf("Collector current %.4f mA\n",Ic*1000);
printf("Exact value of alphha = %.7f\n",a0);
printf("Approax value of alpha = %.3f",a);
|
af384b94a8a97b9356686603fbc004267b2368f3
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1673/CH3/EX3.11/3_11.sce
|
bab40737e6dd62566f71bd871ca974dd60550850
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 783
|
sce
|
3_11.sce
|
//practical interpolation
//example 3.11
//page 99
clc;clear;close;
x=[0.61 0.62 0.63 0.64 0.65 0.66 0.67];
y=[1.840431 1.858928 1.877610 1.896481 1.915541 1.934792 1.954237];
h=0.01//interval between values of x
c=1;
for i=1:6
d1(c)=y(i+1)-y(i);
c=c+1;
end
c=1;
for i=1:5
d2(c)=d1(i+1)-d1(i);
c=c+1
end
c=1;
for i=1:4
d3(c)=d2(i+1)-d2(i);
c=c+1;
end
c=1;
for i=1:3
d4(c)=d3(i+1)-d3(i);
c=c+1;
end
d=[d1(1) d2(1) d3(1) d4(1)];
x0=0.638;
p=(x0-x(4))/h;
y_x=y(4);
y_x=y_x+p*(d1(3)+d1(4))/2+p^2*(d2(2))/2;//stirling formula
printf(' the value at %f by stirling formula is : %f\n\n',x0,y_x);
y_x=y(3);
p=(x0-x(3))/h;
y_x=y_x+p*d1(3)+p*(p-1)*(d2(2)/2);
printf(' the value at %f by bessels formula is : %f\n\n',x0,y_x);
|
fd5cf851bc0522ff3c48cd056ee6abf38d592282
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2990/CH6/EX6.17/Ex6_17.sce
|
561bc5fa3dd7407968f7658aa6db5db6ad6df8de
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 327
|
sce
|
Ex6_17.sce
|
clc; funcprot(0);
// Initialization of Variable
C=79.0;//in mm
ra=11.42;//elevarion in image in mm
rb=15.65;//elevarion in image in mm
hb=651;//height of B in mm
H=1500;//height in m
//calculation
delp=ra-rb;//pa=ra+c and pb=rb+c so ra-rb=pa-pb
pa=ra+C;
ha=hb+delp/pa*(H-hb);
disp(ha,"height of A in m")
clear()
|
8d2b3d19b5b7cb772efe8145baa7ee5678e51a67
|
d6899e83de620019e41764a994d454a78a9c894e
|
/saltcheck-tests/init.tst
|
d0cbe650572aef0d440b16a5cc286e35a2c9b885
|
[
"Apache-2.0"
] |
permissive
|
nocbot-project/nocbot-formula-salt
|
b16e6a940e5338436b692bb28c0083518eae55f9
|
c7e084a0cc501961b5ae4264b65becd48f3c9c40
|
refs/heads/master
| 2020-08-07T22:37:37.216126
| 2020-03-27T09:11:20
| 2020-03-27T09:11:20
| 175,044,381
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 95
|
tst
|
init.tst
|
check_installed:
module_and_function: pkg.version
args:
- salt
assertion: assertNotEmpty
|
ff33ceeb0dda4016dbdb4858352296d2c67f631e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2498/CH4/EX4.21/ex4_21.sce
|
e557fe59036772eaef575d4eb152d4faed6d9660
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 638
|
sce
|
ex4_21.sce
|
// Exa 4.21
format('v',6)
clc;
clear;
close;
// Given data
V_CC = 10;// in V
R_C = 10;// in k ohm
R_C = R_C * 10^3;// in ohm
R_B = 100*10^3;// in ohm
Beta_dc = 100;
V_BE = 0.7;// in V
// Applying KVL to input section, V_CC = (I_E*R_E) + (I_B*R_B) + V_BE or
I_C = (V_CC-V_BE)/( R_C + (R_B/Beta_dc) );// in A
V_CE =V_CC - (I_C*R_C);// in V
I_C=I_C*10^3;// in mA
disp("DC load line shown in figure.")
disp("Q-points : "+string(V_CE)+" V, "+string(I_C)+" mA")
I_Csat =V_CC/R_C*10^3;// in mA
V_CEcutoff = V_CC;// in V
plot([V_CEcutoff ,0],[0,I_Csat]);
xlabel("V_CE in volts");
ylabel("I_C in mA")
title("DC load line")
|
dfee5c7a9c4ad341b0478984703f51b8a45896bc
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1373/CH14/EX14.4/Chapter14_Example4.sce
|
08c87b78a0826b3da43eab1cbb21a6d44dbddc61
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 783
|
sce
|
Chapter14_Example4.sce
|
//Chapter-14, Example 14.4, Page 583
//=============================================================================
clc
clear
//INPUT DATA
T=27;//Temperature of swimming pool in degree C
h=0.4;//Relative humidity
v=2;//Speed of wind in m/s
v1=(15.89*10^-6);//Kinematic viscosity in m^2/s
p=0.0436;//Density in kg/m^3
DAB=(0.26*10^-4)//DAB value in m^2/s
L=15;//Length in m
//CALCULATIONS
Sc=(v1/DAB);//Schmidt number
Re=(v*L)/v1;//Reynolds number
ShL=(((0.037*Re^(4/5))-870)*Sc^(1/3));//Equivalent Schmidt number
h1=(ShL*(DAB/L))/10^-3;//Mass transfer coefficient for evaporation in mm/s
//OUTPUT
mprintf('Mass transfer coefficient for evaporation is %3.1f*10^-3 m/s',h1)
//=================================END OF PROGRAM==============================
|
15d67eb117657167df8dcce1c8801b2b4e8927b6
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1736/CH6/EX6.6/Ch06Ex6.sce
|
f177bb7e96c100c838530a222d3b79aca7aaa815
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 601
|
sce
|
Ch06Ex6.sce
|
// Scilab Code Ex6.6: Page-197 (2006)
clc; clear;
e = 1.6e-019; // Electronic charge, C
n_i = 2.15e+013; // Carrier density of Ge at room temperature, per cc
mu_e = 3900; // Mobility of electron, cm-square/V-s
mu_h = 1900; // Mobility of hole, cm-square/V-s
sigma_i = e*(mu_e+mu_h)*n_i; // Intrinsic conductivity of Ge, mho per m
rho_i = 1/sigma_i; // Intrinsic resistivity of Ge at room temperature, ohm-m
printf("\nThe intrinsic resistivity of Ge at room temperature = %2d ohm-cm", rho_i);
// Result
// The intrinsic resistivity of Ge at room temperature = 50 ohm-cm
|
12590d0cf848b4082babe89fae2fb60114399a1e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/257/CH9/EX9.7/example_9_7.sce
|
0de0dbe92e6cbeaebd1a4270ced5729caf4d5038
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 67
|
sce
|
example_9_7.sce
|
s=%s
sys=syslin('c',(k)*(s+1)*(s+4)/(s*(s+3)*(s+5)))
evans(sys)
|
e209cf244397c688fab023699558cfe53e92a421
|
089894a36ef33cb3d0f697541716c9b6cd8dcc43
|
/NLP_Project/test/blog/bow/bow.16_9.tst
|
a3b5c9d391a7667360708a6033d1a7aa21d69252
|
[] |
no_license
|
mandar15/NLP_Project
|
3142cda82d49ba0ea30b580c46bdd0e0348fe3ec
|
1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2
|
refs/heads/master
| 2020-05-20T13:36:05.842840
| 2013-07-31T06:53:59
| 2013-07-31T06:53:59
| 6,534,406
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 4,977
|
tst
|
bow.16_9.tst
|
16 1:0.013333333333333334 4:0.5 40:1.0 93:0.043478260869565216 259:1.0 612:0.3333333333333333 746:1.0 1119:1.0
16 1:0.013333333333333334 2:1.0 15:0.25 30:1.0 40:1.0 44:0.2 53:0.3333333333333333 60:0.08333333333333333 93:0.043478260869565216 208:0.3333333333333333 228:1.0 264:1.0 267:0.5 315:1.0 470:1.0 568:0.25 684:0.5 1043:1.0 1067:1.0 1068:1.0 1550:1.0 1800:1.0
16 1:0.02666666666666667 4:0.5 11:0.3333333333333333 17:0.25 40:1.0 60:0.08333333333333333 62:0.5 93:0.13043478260869565 135:1.0 228:1.0 264:1.0 267:0.5 315:1.0 470:1.0 612:0.3333333333333333 1042:1.0 1328:1.0 1452:1.0
16 1:0.013333333333333334 4:0.5 44:0.2 62:0.5 93:0.08695652173913043 111:1.0 164:1.0 165:1.0 259:2.0 282:1.0 446:1.0 869:1.0
16 1:0.013333333333333334 4:1.0 45:1.0 93:0.043478260869565216 114:1.0 176:0.5 192:0.16666666666666666 198:0.16666666666666666 220:1.0 221:1.0 267:0.5 587:1.0 1315:1.0 1777:1.0
16 1:0.02666666666666667 4:0.5 10:0.18181818181818182 17:0.25 36:0.3333333333333333 62:1.0 76:0.3333333333333333 93:0.043478260869565216 114:3.0 176:0.5 192:0.16666666666666666 198:0.16666666666666666 220:1.0 470:1.0 821:1.0 822:1.0 1038:1.0 1122:1.0 1590:1.0 1612:1.0 1777:1.0
16 4:0.5 36:0.3333333333333333 38:1.0 44:0.2 51:1.0 60:0.08333333333333333 76:0.3333333333333333 93:0.08695652173913043 114:2.0 125:1.0 176:0.5 198:0.16666666666666666 208:0.3333333333333333 220:1.0 312:1.0 852:1.0 1121:1.0 1550:1.0 1565:1.0
16 1:0.02666666666666667 36:0.16666666666666666 40:1.0 45:1.0 62:0.5 162:1.0 198:0.16666666666666666 259:1.0 339:0.5 424:0.08333333333333333 506:1.0 944:1.0 1097:1.0 1531:1.0
16 4:0.5 36:0.3333333333333333 57:0.5 114:2.0 231:0.3333333333333333 485:1.0 985:1.0 1211:1.0
16 4:1.0 70:0.3333333333333333 122:1.0 135:1.0 198:0.16666666666666666 217:1.0 400:0.25 470:1.0 620:1.0 1452:1.0 1777:1.0
16 4:1.0 13:1.0 17:0.5 60:0.08333333333333333 76:0.6666666666666666 93:0.17391304347826086 114:1.0 122:1.0 198:0.16666666666666666 207:1.0 220:1.0 424:0.08333333333333333 506:1.0 939:1.0 970:1.0 1133:1.0
16 1:0.013333333333333334 4:0.5 17:0.25 247:1.0 317:1.0 506:1.0 939:1.0 970:1.0 1052:1.0 1090:1.0
16 1:0.013333333333333334 4:1.0 51:1.0 62:0.5 76:0.3333333333333333 126:1.0 162:1.0 176:0.5 198:0.16666666666666666 203:1.0 273:1.0 339:0.5 424:0.08333333333333333 506:1.0 662:0.5 970:1.0 1714:1.0 1777:1.0
16 1:0.013333333333333334 4:0.5 15:0.25 60:0.08333333333333333 158:0.2 802:1.0 939:1.0 943:0.16666666666666666 1654:1.0 1800:1.0
16 60:0.08333333333333333 91:1.0 317:1.0 424:0.08333333333333333
16 36:0.16666666666666666 62:0.5 872:1.0 1230:1.0
16 36:0.16666666666666666 424:0.08333333333333333 428:1.0 922:1.0
16 1:0.04 2:1.0 4:0.5 17:0.25 19:1.0 57:0.5 93:0.043478260869565216 95:0.3333333333333333 126:1.0 144:1.0 162:1.0 217:1.0 228:1.0 420:1.0 728:1.0 952:1.0 1406:1.0
16 1:0.02666666666666667 4:0.5 15:0.5 74:1.0 188:1.0 235:1.0 241:1.0 638:1.0 1597:1.0
16 1:0.02666666666666667 4:0.5 17:0.5 36:0.16666666666666666 40:1.0 93:0.08695652173913043 112:1.0 177:1.0 259:2.0 312:1.0 317:1.0 347:1.0 398:1.0 1315:1.0 1785:1.0
16 1:0.013333333333333334 17:0.25 312:3.0 585:1.0 869:1.0 1052:1.0
16 1:0.013333333333333334 2:1.0 36:0.16666666666666666 40:2.0 51:1.0 93:0.21739130434782608 424:0.08333333333333333 869:1.0 1166:1.0 1197:2.0 1287:1.0 1299:1.0 1482:1.0
16 1:0.04 2:1.0 4:0.5 15:0.25 17:0.25 36:0.16666666666666666 51:1.0 62:1.0 72:1.0 76:0.3333333333333333 93:0.17391304347826086 99:1.0 198:0.16666666666666666 221:1.0 241:1.0 339:0.5 1197:1.0 1298:1.0 1299:1.0 1348:1.0 1358:1.0 1380:1.0 1470:1.0
16 1:0.02666666666666667 36:0.3333333333333333 40:2.0 44:0.2 93:0.043478260869565216 142:1.0 148:0.3333333333333333 157:1.0 267:0.5 315:1.0 400:0.125 984:1.0 1653:1.0 1702:1.0
16 1:0.04 17:0.25 36:0.16666666666666666 76:0.3333333333333333 93:0.08695652173913043 124:1.0 126:1.0 352:1.0 361:1.0 821:1.0 852:2.0 1138:1.0 1520:1.0 1829:1.0
16 15:0.25 17:0.25 36:0.5 272:1.0 568:0.25 900:1.0 927:1.0
16 1:0.013333333333333334 4:0.5 264:1.0 315:1.0 343:0.125 928:1.0 1617:1.0
16 1:0.013333333333333334 165:1.0 258:0.5 317:1.0 932:1.0 1448:1.0
16 17:0.25 40:1.0 44:0.4 57:0.5 76:0.3333333333333333 198:0.16666666666666666 312:1.0 424:0.16666666666666666 460:1.0 1684:1.0 1724:1.0
16 1:0.013333333333333334 93:0.08695652173913043 209:0.5 252:1.0 259:1.0 419:1.0 437:1.0 1236:1.0 1246:1.0 1263:1.0
16 4:0.5 17:0.25 62:0.5 93:0.043478260869565216 122:1.0 209:0.5 451:1.0 762:1.0
16 4:0.5 10:0.09090909090909091 92:0.3333333333333333 118:1.0 470:1.0 815:1.0
16 11:0.3333333333333333 36:0.16666666666666666 40:3.0 62:0.5 76:0.3333333333333333 93:0.08695652173913043 252:1.0 343:0.125 508:0.5 869:1.0 1175:1.0 1356:1.0 1628:1.0
16 1:0.02666666666666667 62:0.5 117:0.5 162:1.0 209:0.5 923:1.0 1603:1.0
16 36:0.16666666666666666 40:1.0 93:0.043478260869565216 99:1.0 112:1.0 126:1.0 173:1.0 312:2.0 927:1.0 1006:2.0
16 209:0.5 897:1.0 910:1.0
16 231:0.3333333333333333 488:0.5 933:1.0
16 424:0.08333333333333333
16 1:0.013333333333333334 40:1.0 185:1.0 1012:1.0 1411:1.0 1460:1.0
|
131b120d029ad923515545b3d31caac143e5a546
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2411/CH3/EX3.a.14/Ex3a_b_4.sce
|
eb3b9da5648ff9f8d2edca23307dfab9e102e8ea
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 427
|
sce
|
Ex3a_b_4.sce
|
// Scilab Code Ex3a.b.4: Page-140 (2008)
clc; clear;
m = 1; // Mass of the suspended body, kg
s = 25; // Stifness constant of the spring, N/m
r = poly(0, 'r');
// As f0/f_prime = 2/sqrt(3), solving for r
r = roots(4*(s/m-r^2/(4*m^2))-3*s/m); // Damping factor, kg/sec
printf("\nThe damping factor of damped oscillations = %d kg/sec", r(1));
// Result
// The damping factor of damped oscillations = 5 kg/sec
|
dcf4e78df097aabf233ca63222cd8bbb52bdbeb2
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/275/CH2/EX2.2.58/Ch2_2_58.sce
|
f56f860015d1dc287dd1f39bbd8d74827c6c4e71
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 777
|
sce
|
Ch2_2_58.sce
|
clc
disp("Example 2.58")
printf("\n")
disp("Design a voltage regulator using zener diode to meet following specification")
printf("Given\n")
printf("1 Resistance are in ohms \n 2 Current are in ampere \n 3 voltage sources are in volt\n")
//unregulated dc input voltage
Vimin=20
Vimax=30
//regulated dc output voltage
Vo=10
//minimum zener current
Izmin=2*10^-3
//maximum zener current
Izmax=100*10^-3
//load current
ILmin=0
ILmax=25*10^-3
//load resistance
RL=Vo/ILmax
//maximum Resistance
Rmax=(Vimin-Vo)/(Izmin+ILmax)
//minimum resistance
Rmin=(Vimax-Vo)/(Izmax+ILmin)
//Required resistance
R=(Rmax+Rmin)/2
printf("minimum resistance %d ohm \n",Rmin)
printf("maximum resistance %d ohm \n",Rmax)
printf("required resistance %d ohm \n",R)
printf("load resistance %d ohm \n",RL)
|
5683fb378578cc2914d8404f9b1eaa033322cb86
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3012/CH14/EX14.5/Ex14_5.sce
|
0d2047373cd7c682c8deff662bca7d3ac631a3e9
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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,513
|
sce
|
Ex14_5.sce
|
// Given:-
// Applying the conservation of mass principle, the overall dissociation reaction is described by
// CO2 --- zCO2 + (1-z)CO + ((1-z)/2)O2
p = 1.0 // in atm
pref = 1.0 // in atm
// At 3200 K, Table A-27 gives
log10k = -.189
// Solving k = ((1-z)/2)*((1-z)/(3-z))^.5 gives
z = 0.422
// Calculations
k = 10**log10k
// From tables A-25 and A-23
hfbarCO2 = -393520.0 // in kj/kmol
deltahbarCO2 = 174695-9364 // in kj/kmol
hfbarCO = -110530.0 // in kj/kmol
deltahbarCO = 109667-8669 // in kj/kmol
hfbarO2 = 0 // in kj/kmol
deltahbarO2 = 114809-8682 // in kj/kmol
hfbarCO2r = -393520.0 // in kj/kmol
deltahbarCO2r = 0 // in kj/kmol
Qcvdot = 0.422*(hfbarCO2 + deltahbarCO2) + 0.578*(hfbarCO + deltahbarCO) + 0.289*(hfbarO2 + deltahbarO2)- (hfbarCO2r + deltahbarCO2r)
// Result
printf( ' The heat transfer to the reactor, in kJ per kmol of CO2 entering is: %f', Qcvdot);
|
00e2a157890650f5592a5aa41b4b15671156ab93
|
52cff1a2ef2292f8b9acf18dcfe1d4b0df75c558
|
/LAB 5-INVERSE Z TRANSFORM/60002190043_SCILAB 5_inverse z transform (1).sce
|
606fb43832a88c9e63f60ac84c8cf25c00fdebfa
|
[] |
no_license
|
Hetankshi/SCILAB
|
692a3abc71e6686f40745d69a66e4511db244491
|
424d4cc3459bb535e2f6793249f6a583374820ad
|
refs/heads/main
| 2023-01-16T05:39:22.830875
| 2020-11-25T12:23:14
| 2020-11-25T12:23:14
| 315,916,735
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 199
|
sce
|
60002190043_SCILAB 5_inverse z transform (1).sce
|
//Programs to find the inverse z transform using the
//long division method_2
clear;
z=%z;
num=3*(z^2)+2*z+1;
den=z^2-3*z+2;
h=ldiv(num,den,16);
disp("First sixteen terms of the series:",h)
|
196b8dbb3d31740310e7bacf7398bb0fb9eec182
|
61129043aed87983b640a33b1c260316043fa570
|
/ui/loader.sce
|
67213266a4cacc6a7d3abd5ce055e5f404afd623
|
[] |
no_license
|
dgerod/gfx4scilab
|
7643dbb42fcbea772af12017dccf484544da6f79
|
4aafc59f241a9383de65e4fb25eefef80660bf64
|
refs/heads/master
| 2021-01-19T03:35:08.368764
| 2017-04-08T06:05:33
| 2017-04-08T06:05:33
| 61,438,380
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 354
|
sce
|
loader.sce
|
// =============================================================================
// gfx4scilab - ui
// dgerod@xyz-lab.org.es
// =============================================================================
dir_path = get_absolute_file_path("loader.sce");
getd(dir_path);
// =============================================================================
|
e6f9eed409a57329bc024e91e6123694fe882845
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2234/CH2/EX2.9/ex2_9.sce
|
4b837e49216aee2f279ce9f66ac0a1f2f2e5a115
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 140
|
sce
|
ex2_9.sce
|
clc;
r=0.1; //in metre
H=3/(2*(%pi)*r); //calculating H field intensity
disp(H,"H field intensity in A/metre = "); //displaying result
|
c87997360b095ce12e9037e9a22e5b8abaef9f4e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/60/CH4/EX4.8/ex_8.sce
|
7271a528a47cf5cd21abbbb712d8e8379d0c6e7c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 332
|
sce
|
ex_8.sce
|
//example 4.1 (pg 149)
//2x1 + 3x2 - x3 = 5
//-2x2 - x3 = -7
//-5x3 = -15
A = [2 3 -1;0 -2 -1;0 0 -5]
b = [5 -7 -15]'
a=[A b]
[nA,mA]=size(A)
n=nA
//Backward substitution
x(3) = a(n,n+1)/a(n,n);
for i = n-1:-1:1
sumk=0;
for k=i+1:n
sumk=sumk+a(i,k)*x(k);
end
x(i)=(a(i,n+1)-sumk)/a(i,i);
end
disp(x)
|
fd83a8bcd62e5aba32dba3d52f9d5ac78ab06486
|
270c239ad1a53c003654a7b02b6ed1e7d2ae17bd
|
/salt/20300_bkp_old/UKA/Workflow/saltcheck-tests/init.tst
|
48c79cb12704fd7daa4daa06109781059477f8c1
|
[] |
no_license
|
smerugumala/SumTFinalBuilds
|
8f024c5e2a7cea534789f9d61ddaafbce97b57fd
|
f75bd81ab050d1a5c71c2af61aaa309b68c0f054
|
refs/heads/main
| 2023-02-11T22:26:24.576871
| 2021-01-08T12:10:18
| 2021-01-08T12:10:18
| 327,892,208
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 743
|
tst
|
init.tst
|
{% import "20300/UKA/Workflow/vars.sls" as base %}
check_kafka_service_running:
module_and_function: service.status
args:
- kafka
assertion: assertTrue
{% for package in ["java-1.8.0"] %}
jinja_test_{{ package }}_latest:
module_and_function: pkg.upgrade_available
args:
- {{ package }}
assertion: assertFalse
{% endfor %}
validate_user_{{ base.kafka_user }}:
module_and_function: user.info
assertion_section: shell
args:
- {{ base.kafka_user }}
assertion: assertEqual
expected-return: /bin/bash
check listener values{{base.zookeeper_ip_string}}:
module_and_function: file.search
args:
- {{ base.kafka_config_path }}
- SASL_PLAINTEXT://*
assertion: assertTrue
output_details: True
|
c4e6fcf8691618c81e2a39efea660937a0836ab1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/659/CH4/EX4.1cs/Casestudy4_1.sce
|
c5ea1573bbaae683fe4c6bf35afe4bf4bb161d33
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 902
|
sce
|
Casestudy4_1.sce
|
// Case Study:-Chapter 4 ,Page No:106
// 1.Inventory Report
ITEMS=4;
i=1;
printf("[Enter in single line seperated be spaces]\n");
while(i <= 4)
printf("Enter code,quantity, and rate:");
[code(i),quantity(i),rate(i)]=scanf("%s %d %f");
i=i+1;
end
printf("INVENTORY REPORT\n");
printf("----------------------------------------------\n");
printf("Code Quantity Rate Value\n");
printf("----------------------------------------------\n");
total_value=0;
i=1;
while(i<=ITEMS)
value=quantity(i)*rate(i);
printf("%6s %10d %10.2f %e\n",code(i),quantity(i),rate(i),value);
total_value= total_value+value;
i=i+1;
end
printf("----------------------------------------------\n");
printf(" Total Value = %e\n",total_value);
printf("----------------------------------------------\n");
|
eb1d5f1b89b0522e8b6e2e033f4526cd962a0d93
|
8b478a8f9c9ebc5420d79a115b278c7aea7308af
|
/3rdparty/hdf4-4.2.14-win64/HDF4Examples/hdf/examples/AN/testfiles/h4ex_AN_read_annotation.tst
|
d2e9202f27d6466b3641eb09bd6a347ab8b6cbaa
|
[
"LicenseRef-scancode-hdf4"
] |
permissive
|
gzliyu/GF2
|
85e71cf298e8365b2f6a94a11ed664aa3f59a4c0
|
f0edd69e47022d1d16fc5b0c370d6e607ac594b0
|
refs/heads/master
| 2023-02-21T11:03:55.830515
| 2021-01-08T06:13:33
| 2021-01-21T12:11:55
| 331,960,655
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 71
|
tst
|
h4ex_AN_read_annotation.tst
|
Data label index: 0
Data label contents: Common AN Vgroup
Successful!
|
a717402148b34e8991c9dbef825470687f934d38
|
e7aa0cf1a3bad6b43f08dde84693d43618bd7993
|
/bower_components/dfw-login/src/test/lisa/login expires at N minutes/Tests/web component login expires at N minutes/NGP-TC-16675 login when offline and Guest as true.tst
|
63e32099e2ed7c4361f34537889f85b32af2de06
|
[] |
no_license
|
AshrafSharf/fe
|
0a2f5bb41a12e01b9d5c4ed27d9b74344e23ca2a
|
2ccc304a16697e0f9ca4756027b79d98f31389ea
|
refs/heads/master
| 2020-04-04T08:51:28.193854
| 2018-05-07T21:57:57
| 2018-05-07T21:57:57
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 11,090
|
tst
|
NGP-TC-16675 login when offline and Guest as true.tst
|
<?xml version="1.0" ?>
<TestCase name="NGP-TC-16675 login when offline and Guest as true" version="5">
<meta>
<create version="9.5.1" buildNumber="9.5.1.6" author="admin" date="04/21/2017" host="CACDTL02RK216W" />
<lastEdited version="9.5.1" buildNumber="9.5.1.6" author="admin" date="04/21/2017" host="CACDTL02RK216W" />
</meta>
<id>9DF4DF2426E011E7B8B20CB120524153</id>
<Documentation>Put documentation of the Test Case here.</Documentation>
<IsInProject>true</IsInProject>
<sig>ZWQ9NSZ0Y3Y9LTEmbGlzYXY9OS41LjEgKDkuNS4xLjYpJm5vZGVzPS02OTY5Mjk2NzE=</sig>
<subprocess>false</subprocess>
<initState>
</initState>
<resultState>
</resultState>
<Node name="Read file config.js" log=""
type="com.itko.lisa.test.FileNode"
version="1"
uid="A903AEE126E011E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="true"
next="Java Script Step" >
<!-- Assertions -->
<CheckResult assertTrue="false" name="Ensure Result Equals" type="com.ca.lisa.apptest.json.AssertJSONEquals2">
<log>Assertion name: Ensure Result Equals checks for: false is of type: Ensure Result Equals.</log>
<then>fail</then>
<valueToAssertKey></valueToAssertKey>
<jsonPath>$.offline</jsonPath>
<expectedValue>false</expectedValue>
<ignoreArrayOrder>false</ignoreArrayOrder>
</CheckResult>
<CheckResult assertTrue="false" name="Ensure Result Equals~1" type="com.ca.lisa.apptest.json.AssertJSONEquals2">
<log>Assertion name: Ensure Result Equals~1 checks for: false is of type: Ensure Result Equals.</log>
<then>fail</then>
<valueToAssertKey></valueToAssertKey>
<jsonPath>$.guest</jsonPath>
<expectedValue>true</expectedValue>
<ignoreArrayOrder>false</ignoreArrayOrder>
</CheckResult>
<Loc>{{LISA_RELATIVE_PROJ_ROOT}}/Data/Login Expired At N Minutes/demo/config/config.js</Loc>
<charset>DEFAULT</charset>
<PropKey></PropKey>
<onFail>abort</onFail>
</Node>
<Node name="Java Script Step" log=""
type="com.itko.lisa.test.ScriptNode"
version="1"
uid="1998A28626E111E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="false"
next="Read file config.js~1" >
<!-- Assertions -->
<CheckResult assertTrue="true" name="Any Exception Then Fail" type="com.itko.lisa.dynexec.CheckInvocationEx">
<log>Assertion name: Any Exception Then Fail checks for: true is of type: Assert on Invocation Exception.</log>
<then>fail</then>
<valueToAssertKey></valueToAssertKey>
<param>.*</param>
</CheckResult>
<onerror>abort</onerror>
<script>import java.io.RandomAccessFile; RandomAccessFile raf = new RandomAccessFile("{{LISA_RELATIVE_PROJ_ROOT}}/Data/Login Expired At N Minutes/demo/config/config.js", "rw"); String line = ""; long num = 0; while ((line = raf.readLine()) != null) { if(line.contains("\"offline\"")) { num = raf.getFilePointer(); num = num - 21; break; } } raf.seek(num); raf.write(" \"offline\": true".getBytes()); raf.close(); </script>
</Node>
<Node name="Read file config.js~1" log=""
type="com.itko.lisa.test.FileNode"
version="1"
uid="E8BF732226E011E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="true"
next="Open the web component login page" >
<!-- Assertions -->
<CheckResult assertTrue="false" name="Ensure Result Equals" type="com.ca.lisa.apptest.json.AssertJSONEquals2">
<log>Assertion name: Ensure Result Equals checks for: false is of type: Ensure Result Equals.</log>
<then>fail</then>
<valueToAssertKey></valueToAssertKey>
<jsonPath>$.offline</jsonPath>
<expectedValue>true</expectedValue>
<ignoreArrayOrder>false</ignoreArrayOrder>
</CheckResult>
<CheckResult assertTrue="false" name="Ensure Result Equals~1" type="com.ca.lisa.apptest.json.AssertJSONEquals2">
<log>Assertion name: Ensure Result Equals~1 checks for: false is of type: Ensure Result Equals.</log>
<then>fail</then>
<valueToAssertKey></valueToAssertKey>
<jsonPath>$.guest</jsonPath>
<expectedValue>true</expectedValue>
<ignoreArrayOrder>false</ignoreArrayOrder>
</CheckResult>
<Loc>{{LISA_RELATIVE_PROJ_ROOT}}/Data/Login Expired At N Minutes/demo/config/config.js</Loc>
<charset>DEFAULT</charset>
<PropKey></PropKey>
<onFail>abort</onFail>
</Node>
<Node name="Open the web component login page" log=""
type="lisa.ui.uiMethods.uiMethods"
version="1"
uid="8184F22B26E111E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="false"
next="Click on Demo" >
<classname>GoToUrl</classname>
<BROWSER>firefox</BROWSER>
<URL>http://radhika.dtveng.net:8080/components/dfw-login/</URL>
<OS>windows</OS>
</Node>
<Node name="Click on Demo" log=""
type="lisa.ui.actions.uiNode"
version="1"
uid="864B7AFB26E111E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="false"
next="Switching the iframe to xpath" >
<xPath>xPath</xPath>
<actions>click</actions>
<parameter1>{{Demo}}</parameter1>
<false>false</false>
<checkboxOnError>false</checkboxOnError>
</Node>
<Node name="Switching the iframe to xpath" log=""
type="lisa.ui.uiMethods.uiMethods"
version="1"
uid="54C1F10226E211E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="false"
next="Verify Offline user is there" >
<classname>SwitchToFrameByXpath</classname>
<Xpath>//iframe[@class='style-scope iron-component-page']</Xpath>
</Node>
<Node name="Verify Offline user is there" log=""
type="lisa.ui.actions.uiNode"
version="1"
uid="8EFAAFAB26E111E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="false"
next="Verify login otion is not there" >
<!-- Assertions -->
<CheckResult assertTrue="false" name="Ensure Result Contains String~5" type="com.itko.lisa.test.CheckResultContains">
<log>Assertion name: Ensure Result Contains String~5 checks for: false is of type: Result as String Contains Given String.</log>
<then>fail</then>
<valueToAssertKey></valueToAssertKey>
<param>Offline User</param>
</CheckResult>
<xPath>xPath</xPath>
<actions>getText</actions>
<parameter1>/html/body/div/demo-snippet/div[1]/div[1]/div/span[2]</parameter1>
<parameter2></parameter2>
<false>false</false>
<checkboxOnError>false</checkboxOnError>
</Node>
<Node name="Verify login otion is not there" log=""
type="lisa.ui.actions.uiNode"
version="1"
uid="A2FC732226E111E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="false"
next="Java Script Step~1" >
<!-- Assertions -->
<CheckResult assertTrue="false" name="Ensure Result Contains String" type="com.itko.lisa.test.CheckResultContains">
<log></log>
<then>fail</then>
<param>Logout</param>
</CheckResult>
<xPath>xPath</xPath>
<actions>getText</actions>
<parameter1>/html/body/div/demo-snippet/div[1]/div[1]/div/span[1]/a</parameter1>
<parameter2></parameter2>
<false>false</false>
<checkboxOnError>false</checkboxOnError>
</Node>
<Node name="Java Script Step~1" log=""
type="com.itko.lisa.test.ScriptNode"
version="1"
uid="CCC8AD2626E111E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="false"
next="Read file config.js~2" >
<!-- Assertions -->
<CheckResult assertTrue="true" name="Any Exception Then Fail" type="com.itko.lisa.dynexec.CheckInvocationEx">
<log>Assertion name: Any Exception Then Fail checks for: true is of type: Assert on Invocation Exception.</log>
<then>fail</then>
<valueToAssertKey></valueToAssertKey>
<param>.*</param>
</CheckResult>
<onerror>abort</onerror>
<script>import java.io.RandomAccessFile; RandomAccessFile raf = new RandomAccessFile("{{LISA_RELATIVE_PROJ_ROOT}}/Data/Login Expired At N Minutes/demo/config/config.js", "rw"); String line = ""; long num = 0; while ((line = raf.readLine()) != null) { if(line.contains("\"offline\"")) { num = raf.getFilePointer(); num = num - 21; break; } } raf.seek(num); raf.write(" \"offline\": false".getBytes()); raf.close(); </script>
</Node>
<Node name="Read file config.js~2" log=""
type="com.itko.lisa.test.FileNode"
version="1"
uid="DADE2D1E26E111E7B8B20CB120524153"
think="500-1S"
useFilters="true"
quiet="true"
next="end" >
<!-- Assertions -->
<CheckResult assertTrue="false" name="Ensure Result Equals" type="com.ca.lisa.apptest.json.AssertJSONEquals2">
<log>Assertion name: Ensure Result Equals checks for: false is of type: Ensure Result Equals.</log>
<then>fail</then>
<valueToAssertKey></valueToAssertKey>
<jsonPath>$.offline</jsonPath>
<expectedValue>false</expectedValue>
<ignoreArrayOrder>false</ignoreArrayOrder>
</CheckResult>
<CheckResult assertTrue="false" name="Ensure Result Equals~1" type="com.ca.lisa.apptest.json.AssertJSONEquals2">
<log>Assertion name: Ensure Result Equals~1 checks for: false is of type: Ensure Result Equals.</log>
<then>fail</then>
<valueToAssertKey></valueToAssertKey>
<jsonPath>$.guest</jsonPath>
<expectedValue>true</expectedValue>
<ignoreArrayOrder>false</ignoreArrayOrder>
</CheckResult>
<Loc>{{LISA_RELATIVE_PROJ_ROOT}}/Data/Login Expired At N Minutes/demo/config/config.js</Loc>
<charset>DEFAULT</charset>
<PropKey></PropKey>
<onFail>abort</onFail>
</Node>
<Node name="end" log=""
type="com.itko.lisa.test.NormalEnd"
version="1"
uid="9DF4DF2A26E011E7B8B20CB120524153"
think="0h"
useFilters="true"
quiet="true"
next="fail" >
</Node>
<Node name="fail" log=""
type="com.itko.lisa.test.Abend"
version="1"
uid="9DF4DF2826E011E7B8B20CB120524153"
think="0h"
useFilters="true"
quiet="true"
next="abort" >
</Node>
<Node name="abort" log=""
type="com.itko.lisa.test.AbortStep"
version="1"
uid="9DF4DF2626E011E7B8B20CB120524153"
think="0h"
useFilters="true"
quiet="true"
next="" >
</Node>
</TestCase>
|
1c5c5a27952fc12029ea4a11288e81882aa418c3
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2165/CH6/EX6.16/6_16.sce
|
c6114a56f14c6895afc57ceb5356edf5bec94d24
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 439
|
sce
|
6_16.sce
|
clc
//initialisation of variables
t=65//B.Th.U per lb
n=0.98//dry
p=105//lb/in^2
a=14//Degree C
b=20//Degree C
p1=800//ft/sec
v=0.80//ft/lb
p2=3.5//lb/sec
q=1400//in
V=sqrt(2*32.2*778*t)//ft/sec
W=(p1)*(1750-b)/32.2//ft lb/lb stream/sec
H=(W*p2/550)//ft/lb
E=1/64.4*[(1053)^2-(825)^2]//ft.lb steam /sec
//CALCULATIONS
Hd=(E/q)//C.H.U
//RESULTS
printf('the steam as it leaves the blades and hourse power=% f C.H.U',Hd)
|
00d00c4a78423707508660ad24ca098f5c289b4f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/659/CH13/EX13.3/exm13_3.sci
|
c3bee369b7edef2df19d7443a6cf86f8fc678f74
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 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,691
|
sci
|
exm13_3.sci
|
// Example 13.3
//Write a program to create a linear linked list interactively
//and print the list and total number of items in the list.
funcprot(0);
NULL=0;i=1;
//Create the list
function [List]=create(list1)
global List;
//Create the current node in the list
list1.number=input("Input a number(Type -999 to end); ")
if list1.number==-999 then
list1.next=NULL;
list1.add=NULL;
else
//Create the next node in the list
list1.add=list1.add+1;
list1.next=NULL;
List(i)=list1;
if(i==1) then
else
List(i-1).next=List(i).add
end
i=i+1;
create(list1); //Call create() function
end
return;
endfunction
//Function to print the numbers of list
function []=print1(list1)
if list1(i)(1).next~=NULL then
printf("%d--->",list1(i)(1).number);//Print current item
i=i+1;
if list1(i)(1).next==NULL then
printf("%d",list1(i)(1).number);
end
print1(list1);//Move to next item
end
return;
endfunction
//Function to count the number of items in the list
function []=count(list1)
global c;
if list1(i)(1).next==NULL then
return;
else
i=i+1;
c=i;
count(list1);
end
return;
endfunction
//Create the structure i.e. node
node=struct('number',0,'add',0,'next',0);
head=node;
global List;
//Calling the functions
List=create(head);
print1(List);
global c;
c=1;
count(List);
//Print the total number of items
printf("\nNumber of items = %d",c);
|
dc12289394bfd0b7a32278dcab11f7a0f803435f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2732/CH4/EX4.2/Ex4_2.sce
|
3108a8288f06881169133c048dbbf63b9220c6b9
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 814
|
sce
|
Ex4_2.sce
|
clc
// initialization of variables
clear
sigma_x=1000 //kg/cm^2
sigma_y=-500 //kg/cm^2
sigma_z=0 //kg/cm^2
tau_xy=500 //kg/cm^2
E=2*10^6 // kg/cm^2
nu=0.25
//calculations
ep_x=1/E*(sigma_x-nu*(sigma_y+sigma_z))
ep_y=1/E*(sigma_y-nu*(sigma_x+sigma_z))
ep_z=1/E*(sigma_z-nu*(sigma_y+sigma_x))
J1=ep_x+ep_y+ep_z
sigma_1=(sigma_x+sigma_y)/2+sqrt((1/2*(sigma_x-sigma_y))^2+tau_xy^2)
sigma_2=(sigma_x+sigma_y)/2-sqrt((1/2*(sigma_x-sigma_y))^2+tau_xy^2)
th=1/2*atan(2*tau_xy/(sigma_x-sigma_y))
th=th*180/%pi
ep_1=1/E*(sigma_1-nu*sigma_2)
ep_2=1/E*(sigma_2-nu*sigma_1)
ep_3=-1/E*nu*(sigma_1+sigma_2)
//results
printf('The magnitude of principal strain are %.8f, %.8f, %.8f',abs(ep_1),abs(ep_2),abs(ep_3))
printf('\n and the diection is given by theta=%.2f degrees',th)
printf('\n J1 is %.6f',J1)
|
b135e417eb3478b2d8622efc14a09120110a12a8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2579/CH1/EX1.12/Ex1_12.sce
|
090a1c272da5bc2cffe90d384335b947c112369d
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 208
|
sce
|
Ex1_12.sce
|
//Ex:1.12
clc;
clear;
close;
// dl=y/50
// then dl/y=((y/50)/y=1/50)
dl_y=1/50;// the value of dl/y
Rr=80*%pi^2*(dl_y^2);// Radiation resistance in ohm
printf("The radiation resistance = %f ohm", Rr);
|
b3ff96aaafdda01b3675249f1669ce7cf2795cd1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2375/CH2/EX2.9/ex2_9.sce
|
ac6499638b320d45b72b29ceec3ab97b0e99ff57
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 963
|
sce
|
ex2_9.sce
|
// Exa 2.9
clc;
clear;
close;
format('v',6)
// Given data
bita = 200;
V_CEQ = 3;// in V
V_CC = 6;// in V
V_BB= -6;// in V
V_BE= 0.7;// in V
Vo = 0;// in V
R1= 90*10^3;// in ohm
R2= 90*10^3;// in ohm
// V_CC - I_CR_C - V_CEQ - I_ER_E-V_BB = 0 (i)
// Vo = V_CEQ + I_E*R_E - V_CC or
I_ER_E= Vo+V_CC-V_CEQ;// in V
// From eq(i)
I_CR_C= V_CC - I_ER_E - V_CEQ - V_BB;// in V
// Applying KVL to the input side of circuit
//V_CEQ-[(R1 || R2)*I_B]-V_BE-I_ER_E+V_CC=0 or
I_B= (V_CEQ-V_BE-I_ER_E+V_CC)/((R1*R2)/(R1+R2));// in A
I_E= (1+bita)*I_B;//in A
R_E= I_ER_E/I_E;// in ohm
I_C= bita*I_B;// in A
R_C= I_CR_C/I_C;// in ohm
disp("Part (a) : ")
disp(R_E,"The value of R_E in ohm is : ")
disp(R_C,"The value of R_C in ohm is : ")
disp("Parb (b) :")
bita= 100;
I_E= (1+bita)*I_B;//in A
I_C= bita*I_B;// in A
Vo_new= V_CEQ+I_E*R_E-V_CC;// in V
Change_in_Vo= Vo_new-Vo;// in V
disp(Change_in_Vo,"The change in Vo in volts is : ")
|
4e7442c662b448af4e0864de88db3afb7ca9b757
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1835/CH4/EX4.14/Ex4_14.sce
|
7541eca3641d1aaeaca791e789b6999157d65fe1
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 611
|
sce
|
Ex4_14.sce
|
//Chapter-4, Illustration 14, Page 146
//Title: Gears and Gear Drivers
//=============================================================================
clc
clear
//Input data
d=216;//Ring diameter in mm
m=4;//Module in mm
//Calculations
Td=(d/m);//Teeth of wheel D
Tb=Td/4;//Teeth of wheel B
Tb1=ceil(Tb);//Teeth of wheel B
Td1=4*Tb1;//Teeth of wheel D
Tc1=(Td1-Tb1)/2;//Teeth of wheel C
d1=m*Td1;//Pitch circle diameter in mm
//Output
mprintf('Teeth of wheel B is %3.0f \n Teeth of wheel C is %3.0f \n Teeth of wheel D is %3.0f \n Exact pitch circle diameter is %3.0f mm',Tb1,Tc1,Td1,d1)
|
5b44836487f7c961a468fe480d73eb1fd4ff54bd
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/275/CH1/EX1.1.76/Ch1_1_76.sce
|
363fe647d80fb06aa15c6d07d7fa21daca83e3bd
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 254
|
sce
|
Ch1_1_76.sce
|
clc
disp("Example 1.76")
printf("\n")
disp("Find the diode current and power dissipation")
Vdc=12
Vz=4.3 //zener voltage
R=820
Iz=(Vdc-Vz)/R
Pd=Vz*Iz
printf("the diode current=\n%f ampere\n",Iz)
printf("the power dissipation=\n%f watt\n",Pd)
|
f094778f804f7c3a284428fce85b74c775be7f86
|
1db0a7f58e484c067efa384b541cecee64d190ab
|
/macros/phaseInputParseAs_ab.sci
|
b5235fa791df878eee68912e085017fcee9842a8
|
[] |
no_license
|
sonusharma55/Signal-Toolbox
|
3eff678d177633ee8aadca7fb9782b8bd7c2f1ce
|
89bfeffefc89137fe3c266d3a3e746a749bbc1e9
|
refs/heads/master
| 2020-03-22T21:37:22.593805
| 2018-07-12T12:35:54
| 2018-07-12T12:35:54
| 140,701,211
| 2
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 3,558
|
sci
|
phaseInputParseAs_ab.sci
|
function [a,b,w,cas1,fs]=phaseInputParseAs_ab(arg,nargin)
fs=0;
if nargin<2 then
error('no. of inputs not valid');
end
v=size(arg(2));
if size(v)>2 then
error ('invalid input dimension');
end
a=arg(1);
b=arg(2);
[n,k]=size(arg(2))
if nargin==2 then //(a,b) is the input
w=[0:(1/512):(511/512)]*%pi;
cas1=1;
elseif nargin==3 then //(a,b,n) or (a,b,w) or (a,b,'whole')
cas1=1;
v=size(arg(3));
if type(arg(3))==10 then
if arg(3)=='whole' then
n=512;
w=[0:(1/n):((n-1)/n)]*(2*%pi);
cas1=1;
else
error('invalid input');
end
elseif (type(arg(3))==1)
if (v==[1,1])&(floor(arg(3))==arg(3))&(arg(3)>0) then //i.e. the entry is a single integer
n=arg(3);
w=[0:(1/n):((n-1)/n)]*%pi;
elseif (v(1)==1) then //(sos,w) w must be one dimensional
w=arg(3);
elseif (v(2)==1) then //w to row matrix
w=(arg(3))';
else
error ('dimension of input is invalid');
end
else
error ('invalid input');
end
elseif nargin==4 then //(a,b,n,fs) or (a,b,f,fs) or (a,b,n,'whole')
if type(arg(4))==10 then
cas1=1;
if (arg(4)=='whole') then
v=size(arg(3));
if (v==[1,1])&(floor(arg(3))==arg(3))&(arg(3)>0) then //i.e. the entry is a single integer
n=arg(3);
w=[0:(1/n):((n-1)/n)]*(2*%pi);
else
error ('dimension of input is invalid');
end
else
error('invalid input');
end
elseif (type(arg(4))==1) then
v=size(arg(4));
if v~=[1,1] then
error ('dimension of input is invalid');
end
cas1=2;
fs=arg(4);
v=size(arg(3));
if (v==[1,1])&(floor(arg(3))==arg(3))&(arg(3)>0) then //i.e. the entry is a single integer
n=arg(3);
w=[0:(1/n):((n-1)/n)]*(%pi);
elseif (v(1)==1) then //(sos,w) w must be one dimensional
w=2*arg(3)*%pi/fs;
elseif (v(2)==1) then //w to row matrix
w=2*%pi*(arg(3))'/fs;
else
error ('dimension of input is invalid');
end
else
error ('input format is invalid');
end
elseif nargin==5 //(a,b,n,fs,'whole') or (a,b,f,fs,'whole')
if arg(5)=='whole' then
v=size(arg(4));
if v~=[1,1] then
error ('dimension of input is invalid');
end
cas1=2;
v=size(arg(3));
if (v==[1,1])&(floor(arg(3))==arg(3))&(arg(3)>0) then //i.e. the entry is a single integer
n=arg(3);
w=[0:(1/n):((n-1)/n)]*(2*%pi);
elseif (v(1)==1) then //(sos,w) w must be one dimensional
w=2*arg(3)*%pi/fs;
elseif (v(2)==1) then //w to row matrix
w=2*%pi*(arg(3))'/fs;
else
error ('dimension of input is invalid');
end
else
error ('input format is invalid');
end
end
//so that a,b are row vectors
[n,k]=size(a);
if k==1 then
a=a';
end
[n,k]=size(b);
if k==1 then
b=b';
end
endfunction
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.