blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15 values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7 values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36 values | src_encoding stringclasses 17 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 15 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b638117889d0d0f53e896b79fc89916c0ba4dae6 | db18f7aa669196e57458d4a2454efab07de89ef1 | /practicePlot.sce | 32e29a15db8747c0cbbfc6180dead844751d64da | [] | no_license | crypto-dot/Scilab | ad9bea4178ccfb4c7feb0b478efe97743ba54e57 | 3d65e2a49e067a86328f5bc985b0804547e99b00 | refs/heads/main | 2023-07-29T04:37:27.666186 | 2021-09-05T22:34:47 | 2021-09-05T22:34:47 | 342,746,109 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | practicePlot.sce | x = [0:0.1:2*%pi]; //Plots from 0 to 2pi (visible part of the graph)
// Enter an interval size by putting a number in between.
y=sin(x);
plot(x,y);
|
b3c844c291fab377929e6c1f63d48df158519890 | e806e966b06a53388fb300d89534354b222c2cad | /macros/fillconvexpoly.sci | ac40c8ca2fda69b7fa8a822b71b8a01926eace61 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sci | fillconvexpoly.sci | function [out] = fillconvexpoly(img,pstData,npts,r_value,g_value,b_value,linetype,shift)
image = mattolist(img);
a = opencv_fillconvexpoly(image,pstData,npts,r_value,g_value,b_value,linetype,shift)
d = size(a);
for i=1:d
out(:,:,i) = a(i);
end
endfunction
|
1975eba161721ef347d8a5a028169e02730da832 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH13/EX13.2/Example13_2.sce | 149ff087425d339c0932b96c44734c2e91f5e7c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 690 | sce | Example13_2.sce | //Example 13.2
//Program to determine the operating bandwidth of the receiver
clear;
clc ;
close ;
//Given data
SNL=-85.45; //dBm - SHOT NOISE LIMIT
eeta=0.86; //*100 percent - EFFICIENCY FOR IDEAL RECEIVER
Lambda=1.54*10^(-6); //metre - OPERATING WAVELENGTH
SNR=12; //dB - SIGNAL TO NOISE RATIO
h= 6.626*10^(-34); //J/K - PLANK's CONSTANT
c=2.998*10^8; //m/s - VELOCITY OF LIGHT IN VACCUM
//Incoming Signal Power
Ps=10^(SNL/10);
//Operating bandwidth of the receiver
B=eeta*Ps*Lambda/(h*c*10^(SNR/10));
//Displaying the Result in Command Window
printf("\n\n\t Operating bandwidth of the receiver, B = %0.1f GHz.",B/10^9); |
4ac449008203ff628cdf8d391c5a7981de183326 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH5/EX5.8/ex5_8.sce | dbfa96b8b56f314f6bef2e5f93f4a791c78d4553 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | ex5_8.sce | // Example 5.8
format('v',6)
clc;
clear;
close;
// given data
V_BE= 0.7;//in V
V_CC= 30;// in V
R_B= 3*10^6;// in Ω
bitamin= 100;// unit less
bitamax= 300;// unit less
I_B= (V_CC-V_BE)/R_B;// in A
// The minimum value of collector current
I_Cmin= bitamin*I_B;// in A
// The maximum value of collector current
I_Cmax= bitamax*I_B;// in A
I_Cmin= I_Cmin*10^3;// in mA
I_Cmax= I_Cmax*10^3;// in mA
disp(I_Cmin,"The minimum value of collector current in mA is : ");
disp(I_Cmax,"The maximum value of collector current in mA is : ");
|
e0dabcdedd2b96d7d049f4b2a85c3ab2b64735ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH2/EX2.07/2_07.sci | 24d649b614349f784714c2d89545b5f6aa227cc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | sci | 2_07.sci | //laplace//
syms t s w;
y=laplace('5*sin(w*t)+7*cos(w*t)',t,s);
disp(y,"ans=")
|
c3745157e594832e65e29e3eef01fd3961decff9 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/functions/pmgei_method/problems/ged_P1_sim_pmgei.sce | c2002882a836ab8e6a34d21c6f2c4acab45f938d | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,703 | sce | ged_P1_sim_pmgei.sce | // Data Reconciliation Benchmark and GED Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
//Rao, R Ramesh, and Shankar Narasimhan. 1996.
//“Comparison of Techniques for Data Reconciliation of Multicomponent Processes.�
//Industrial & Engineering Chemistry Research 35:1362-1368.
//http://dx.doi.org/10.1021/ie940538b.
//Bibtex Citation
//@article{Rao1996,
//author = {Rao, R Ramesh and Narasimhan, Shankar},
//isbn = {0888-5885},
//journal = {Industrial \& Engineering Chemistry Research},s
//month = apr,
//number = {4},
//pages = {1362--1368},
//publisher = {American Chemical Society},
//title = {{Comparison of Techniques for Data Reconciliation of Multicomponent Processes}},
//url = {http://dx.doi.org/10.1021/ie940538b},
//volume = {35},
//year = {1996}
//}
// 3 Streams
// 1 Equipment
getd('../../');
getd('../../../jacobians/');
getd('../method/');
getd('../method/pls');
cd '../../'
clear xr sd sds x_sol xfinal jac jac_col jac_col rj sigma sigam_inv res V V_inv diag_diag_V Wbar gama zr_nt adj zadj Wbar_alt adjustability detect resi Qglr betaglr xchiglr ge_glr op_glr;
clear avti_gt_mt op_gt_mt op_gt_nt_tmp avt1_mt1 avt1_mt2 op_mt1 op_mt2 avti_glr op_glr_mt aee_mt aee_nt_tmp op_glr_nt_tmp avti_glr_nt_tmp avti_gt_mt_tmp op_gt_mt_tmp op_gt_nt avt1_nt1 avt1_nt2 op_nt1 op_nt2 avti_glr_tmp op_glr_mt_tmp aee_mt_tmp aee_nt op_glr_nt avti_glr_nt;
stacksize('max');
tic;
xr=[8.5;4.5;4];
szx = size(xr,1);
runsize = 400;
//sd = [0.2766
//0.1449
//0.0966];
sd=ones(3,1);
sds = sd;
var=sd.^2;
jac=jacP1();
rj=rank(jac);
jac_col = size(jac,2);
jac_row = size(jac,1);
sigma=diag(sds.^2);
[adj, detect, V, V_inv, sigma_inv, diag_diag_V, Wbar] = adjust(sigma, jac);
[xfinal, resRand, resGrossErrorNodalRand]=generate_data(xr, sd, jac, runsize, 5, 9, 0.07, 0.15);
resGrossErrorNodalRandFi = [ resRand;resGrossErrorNodalRand];
//observability/redundancy tests
//user can set unmeasured streams here, if this vector is empty, all streams are measured
umeas_P1 = [];
[red_P1, just_measured_P1, observ_P1, non_obs_P1, spec_cand_P1] = qrlinclass(jac,umeas_P1);
measured_P1 = setdiff([1:length(xr)], umeas_P1);
red = measured_P1;//
// to run robust reconciliation,, one must choose between the folowing objective functions to set up the functions path and function parameters:
//WLS analytical = -1 WLS numerical = 0 ; Absolute sum of squares = 1 ; Cauchy = 2 ;Contamined Normal = 3 ; Fair = 4
//Hampel = 5 Logistic = 6 ; Lorenztian = 7 ; Quasi Weighted = 8
// run the configuration functions with the desired objective function type
obj_function_type = 2;
[x_sol] = calc_results_DR(xfinal, jac, sigma, resGrossErrorNodalRandFi, obj_function_type);
[res, gamaMeasuremts,gamaNodal,zr_nt_nodal, zr_nt_nodal_rand, zadj ] = calc_results_index(x_sol, jac, sigma, resGrossErrorNodalRandFi);
// sigma =1
[avti_gt_mt, op_gt_mt, op_gt_nt] = global_test(0.095, 0.095, gamaMeasuremts, runsize, rj, jac_col, jac_row);
[avt1_mt1, avt1_mt2, op_mt1, op_mt2] = measurement_test(0.1, 0.27, zadj, runsize, jac_col);
[avt1_nt1, avt1_nt2, op_nt1, op_nt2] = nodal_test(0.1, 0.1, jac_row, runsize, zr_nt_nodal);
alfa_gt_mt = 0.095; alfa_gt_nt = 0.095; alfa_mt1 = 0.1; alfa_mt2 = 0.27; alfa_nt1 = 0.1; alfa_nt2 = 0.1;
// sigma =2
//[avti_gt_mt, op_gt_mt, op_gt_nt] = global_test(0.12, 0.12, gamaMeasuremts, runsize, rj, jac_col, jac_row);
//[avt1_mt1, avt1_mt2, op_mt1, op_mt2] = measurement_test(0.12, 0.32, zadj, runsize, jac_col);
//[avt1_nt1, avt1_nt2, op_nt1, op_nt2] = nodal_test(0.12, 0.12, jac_row, runsize, zr_nt_nodal);
//
////pause
//alfa_gt_mt = 0.12; alfa_gt_nt = 0.12; alfa_mt1 = 0.12; alfa_mt2 = 0.32; alfa_nt1 = 0.12; alfa_nt2 = 0.12;
//
//
nvalidate = 10; lower_bias = 5; delta_bias = 1; upper_bias = 9; lower_leak = 0.07; delta_leak = 0.02; upper_leak = 0.15;
is_multi = 0
//[p1_train, p1_validate] = generate_trainning(xr, sd, jac, runsize, nvalidate, lower_bias, delta_bias, upper_bias, lower_leak,delta_leak,upper_leak, alfa_gt_mt,alfa_gt_nt,alfa_mt1,alfa_mt1, alfa_nt1, alfa_nt2,obj_function_type,0);
[p1_train, p1_validate] = generate_trainning2(xr, sd, jac, runsize, nvalidate, lower_bias, delta_bias, upper_bias, lower_leak,delta_leak,upper_leak, alfa_gt_mt,alfa_gt_nt,alfa_mt1,alfa_mt1, alfa_nt1, alfa_nt2,obj_function_type, is_multi)
ndatainterval = 5;
[list_models_p1, stat_p1] = generate_pls_models_m( 'P1', 3, 1, p1_train, p1_validate, nvalidate,ndatainterval);
[avti_meas, op_meas, selectivity_meas, aee_meas, avti_eqp, op_eqp, selectivity_eqp, aee_eqp] = get_lit_info(stat_p1, jac_col, jac_row);
runtime=toc()
cd 'pmgei_method/problems';
|
ad8d90436ae66a2912fbbe218f1e0ab4f94073f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH10/EX10.3/Ex10_3.sce | 82a15a3df66e6ecaf22ebb8b6aa7dceb9ec7e158 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | Ex10_3.sce | //Predict whether the following reaction would proceed spontaneously as written ( Cd(s)+Fe++(aq)=Cd++(aq)+Fe(s)
//Example 10.3
clc;
clear;
C1=0.15; //Concentration of Cadmium ion in M
C2=0.68; //Concentration of Ferrus ion in M
E1=-0.447; //Standard Electrode potential for cathode in V
E2=-0.403; //Standard Electrode potential for anode in V
Edes=E1-E2; //Standard Electrode potential in V
v=2; //Stoichiometric coefficient
E=Edes-(0.0257/v)*log(C1/C2); //Standard Electrode potential from Nerst equation in V
printf("Standard Electrode potential from = %.3f V is negative the reaction is not spontaneous as written",E);
|
5df7a3dda29dfb410096467c25a7f9d7097a38fb | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P4 - Linear equations systems: direct methods/Implementaciones/1- Gauss_sin_pivoteo.sci | 553666872dee627825c26513631ed508fa56a687 | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 709 | sci | 1- Gauss_sin_pivoteo.sci | function x = resoltrsup(A, b)
n = size(A,1)
x(n)= b(n)/A(n,n)
for i=n-1:-1:1
x(i) = (b(i)-A(i, i+1:n)*x(i+1:n))/A(i, i)
end
endfunction
function [T, c] = gauss(A, b) //SIN PIVOTEO
n = size(A,1)
for k = 1:n-1 // para cada pivote
for j = k+1:n // para cada elemento debajo del pivote
mjk = A(j, k)/A(k,k)
A(j, k)=0
A(j, k+1:n) = A(j, k+1:n) - mjk * A(k, k+1:n)
b(j) = b(j) - mjk*b(k)
end
end
T= A
c= b
endfunction
//Se puede trabajar con la matriz extendida. Poniendo A;b agrega el vector b a la matriz A.
//Ejercicio
//A=( 1,1,0,3 ; 2,1,-1,1; 3,-1,-1,2 ; -1,2,3,-1);
//B=(1,-1,2,-1;2,-2,3,-3;1,1,1,0;1,-1,4,3);
|
8e8c2b27402932b521b563c3befe594b6482bae7 | 964a1ce44b6391e555c0e2aeff6c55dda847d718 | /Mini Compiler for LaTeX/test result/latex_res.tst | 7fb95935d94089e46a8fe70d3c1acc41d9644d54 | [] | no_license | kennethwty/mini-compiler-latex | 6c165567298c216d39a806fa7cc05ed67f1babfc | d1b99a4fbbac906bf61242a977886578e1eb3594 | refs/heads/master | 2021-09-28T10:08:02.927880 | 2018-11-16T17:45:46 | 2018-11-16T17:45:46 | 104,703,352 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,876 | tst | latex_res.tst |
1 Introduction
This is an example of text that would
be transformed into a paragraph in
latex. Blank lines between text in the
input cause a new paragraph to be
generated. This is an example of text
that would be transformed into a
paragraph in latex. Blank lines between
text in the input cause a new paragraph
to be generated. This is an example of
text that would be transformed into a
paragraph in latex. Blank lines between
-- Page 5 --
text in the input cause a new paragraph
to be generated. When the blank line
Now, its important to make sure that
single works correctly, and can be used
to change the formating with respect to
the ways lines are output. In this case,
we are going from double to single
spacing.
1.1 A Text Processor
A text processor is a very useful
it allows us to develop formatted
documents that are easy to read.
A
text processor is a very useful tool,
since it allows us to develop formatted
A text processor is a very useful
tool, since it allows us to develop
formatted documents that are easy to
1.2 Legal Latex Commands
We have seen that there are many
-- Page 6 --
different Latex commands, that can be
used in many different ways. However,
sometimes, we wish to use a character to
mean itself, and override its Latex
interpretation. For example, to use
curly braces, we employ the backslash a
1.3 Again Legal Latex Commands
We have seen that there are many
different Latex commands, that can be
used in many different ways. However,
sometimes, we wish to use a character to
mean itself, and override its Latex
-- Page 7 --
interpretation. For example, to use
curly braces, we employ the backslash a
1.4 Yet Some More Legal Latex Commands
We have seen that there are many
different Latex commands, that can be
used in many different ways. However,
sometimes, we wish to use a character to
mean itself, and override its Latex
interpretation. For example, to use
curly braces, we employ the backslash a
set of integers.
2 Using Latex
m^H_ a^H_ n^H_ y^H_ ^H_ o^H_ t^H_ h^H_ e^H_ r^H_ ^H_ u^H_ s^H_ e^H_ f^H_ u^H_ l^H_ ^@^H_
commands that involve begin end blocks,
that establish an environment. These
blocks behave in a similar fashion to
begin end blocks in a programming
language, since they set a scope. We
It is important to note, even at this
early stage, that lists may be created
within lists, allowing the nesting of
It is important to note, even at this
-- Page 8 --
early stage, that lists may be created
2.1 Check this Out
m^H_ a^H_ n^H_ y^H_ ^H_ o^H_ t^H_ h^H_ e^H_ r^H_ ^H_ u^H_ s^H_ e^H_ f^H_ u^H_ l^H_ ^@^H_
commands that involve begin end blocks,
that establish an environment. These
blocks behave in a similar fashion to
begin end blocks in a programming
language, since they set a scope. We
2.2 Check this Out Part 2
m^H_ a^H_ n^H_ y^H_ ^H_ o^H_ t^H_ h^H_ e^H_ r^H_ ^H_ u^H_ s^H_ e^H_ f^H_ u^H_ l^H_ ^@^H_
commands that involve begin end blocks,
that establish an environment. These
blocks behave in a similar fashion to
-- Page 9 --
3 What about this?
When things are switched back is
4 What about this?
When things are switched back is
5 What about this?
When things are switched back is
6 What about this?
When things are switched back is
7 What about this?
When things are switched back is
8 What about this?
When things are switched back is
9 What about this?
When things are switched back is
10 Goes to 10! What about this?
When things are switched back is
|
d7054d08a0dd3de42036a9c574617e11e9b050e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.31/5_31.sci | 6c8417df7b06769159b2e8c41c6e1a99e54a6e82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sci | 5_31.sci | // calculate the deflection, maximum and minimum force
clc;
b=0.02;
t=0.004;
I=(1/12)*b*t^3;
F=25;
l=0.25;
E=200*10^9;
x=(F*l^3)/(3*E*I);
disp(x,'deflection (m)')
DpF=x/F;
Se=DpF*0.5*1000;
Re=(10/1000)*(2/10);
F_min=Re/Se;
F_max=10/Se;
disp(F_min,'minimum force (N)')
disp(F_max,'maximum force (N)')
disp(Se,'') |
e6e90f2a50c788314522f8b0bb6d2f533e4f7401 | 50998e579b0a8e47026c534b0f40caf9778f8e54 | /lab08_questão_4.sci | 778d77996d969267ed6028179f79185646f66d5b | [] | no_license | luis69fernando/CN-lista-lab08 | 12e5697ecc7003e70f9e7d03ef95d4dd39f17671 | 46302f053b6f7fa1d3f9f3c9e1ced100d01e0f3e | refs/heads/master | 2020-09-10T17:56:20.550694 | 2019-11-17T17:19:02 | 2019-11-17T17:19:02 | 221,787,117 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 722 | sci | lab08_questão_4.sci | clear; clc;
function xdot = fsis(t, x)
L = 0.001, C = 0.000001;
R = 10;
Et = 1;
//w = %pi/6, Et = 2*sin(w*t);
xdot(1) = x(2);
xdot(2) = (Et -R*C*x(2) - x(1))/(L*C);
endfunction
function x= euler_sis(x0, t0, t, f)
n = length(t) , x = x0;
for j = 1 : n-1
x0 = x0 + (t(j+1) - t(j)) * f(t(j), x0);
x = [x x0] ;
end
endfunction
//Condições iniciais :
x0 = [0, 0]' ; t0 = 0; t = 0:0.00001:0.001; t = t';
//Solução pelo metodo de Euler :
y = euler_sis(x0, t0, t, fsis);
//Solução analítica :
y1 = ode(x0, t0, t, fsis);
//Gráficos :
clf();
plot(t, y')
xset('window', 1)
plot(y1(2,:), y1(1,:), 'g')
plot(y(2,:), y(1,:), 'r')
|
dd62ee4802e0a988661b10254c86cb998fc88964 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.31/Ex2_31.sce | a462adcc799ed16a0e5022f4da0509d026d302bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex2_31.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 31 // read it as example 30 in the book on page 2.84
clc;
disp("CHAPTER 2");
disp("EXAMPLE 31");
//VARIABLE INITIALIZATION
//function of the waveform is deduced to be y=10+10.t/T
//SOLUTION
//Yav=(1/T).Integral(ydt) from 0 to T
//say
T=1; // 1 sec
Yav=(1/T)*integrate('(10+10*t/T)', 't', 0, 1);
disp(sprintf("The average value of waveform is %f", Yav));
//RMS value Yrms=(1/T).Integral(y^2.dt) from 0 to T
Yms=(1/T)*integrate('(10+10*t/T)^2', 't', 0, 1);
disp(sprintf("The RMS value of waveform is %f", sqrt(Yms)));
disp(" ");
//
//END
|
5d4112d4fc90ee8d20a5c8250251a3b17d8e2928 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH3/EX3.13/3_13.sce | f007c3f950bd13b0e3cdafb4ef1a0e879c6df0b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | 3_13.sce | clc;
clear;
//Q=A*V=(H^2)*tan(theta/2)*(C2*(2*g*H)^0.5)
//Q3H0/QH0=(3H0)^2.5/(H0)^2.5=3^2.5
Qrat=3^2.5;
disp("The flowrate is proportional to H^2.5")
disp("times.",Qrat,"When depth is increased from H0 to 3H0 Q increases ")
|
744e755fac1f256d259ec27d78bf6f67b1fa0ca3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH4/EX4.13/Ex4_13.sce | ba0e8dad92b0de42deb849ba79177cf77660ea45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,538 | sce | Ex4_13.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 4 - Pelton Turbine (Impulse Turbine)
//Example 4.13
clc
clear
//Given Data:-
H=62; //Effective Head, m
N=225; //Speed of Runner, rpm
P=133.15; //Shaft Power, HP
Ku=0.45; //Speed Ratio
eta_o=86/100; //Overall Efficiency
Cv=0.98;
//Data Used:-
rho=1000; //Density of water, kg/m^3
g=9.81; //Acceleration due to gravity, m/s^2
//Computations:-
P=P*736; //W
Vi=Cv*sqrt(2*g*H); //m/s
u=Ku*sqrt(2*g*H); //m/s
ui=u;
uo=u;
Q=P/(rho*g*H*eta_o); //m^3/s
d=sqrt(Q/((%pi/4)*Vi))*1000; //Diameter of Jet, mm
D=60*u/(%pi*N); //Diameter of Runner, m
//As per designing range, b=3*d to 4*d
b=3.5*d; //Width of Buckets, mm
//As per designing range, b=0.8*d to 1.2*d
T=1.2*d; //Depth of Buckets, mm
Z=round(0.5*D/(d/1000)+15); //Number of Buckets
//Results:-
printf(" (a)Diameter of Jet, d=%.2f mm \n",d) //The answer vary due to round off error
printf(" (b) Diameter of Runner, D=%.3f m \n",D)
printf(" (c) Width of Buckets, b=%.2f mm \n",b) //The answer vary due to round off error
printf(" (d) Depth of Buckets, T=%.2f mm \n",T) //The answer vary due to round off error
printf(" (e) Number of Buckets , Z=%.f \n",Z)
|
ea3be06bd97d47df2cd36edad7b50c08bf3d045d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH6/EX6.1.5/Ex6_1_5.sce | e1bf0940e4cb0ee1d44cb43b1ce26960b901dc23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Ex6_1_5.sce |
clc
//Initialization of variables
zCa = 2
zCl = 1
DCl = 2.03*10^-5 // cm^2/sec
DCa = 0.79*10^-5 // cm^2/sec
//Calculations
DCaCl2 = ((zCa+zCl)/((zCa/DCl)+(zCl/DCa)))*10^5// x*10^-5 cm^2/sec
//Results
printf("The diffusion coefficient of CaCl2 is %.2f x10^-5 cm^2/sec",DCaCl2)
|
b7315f322953531bcffe114bc9261dcd80c04475 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_co_aspfin_d/~BivLCM-SR-bfas_co_aspfin_d-PLin-VLin.tst | 5c43f6f7293dd50443cfa1d47622e04ba18a0456 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_co_aspfin_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.288848D+00
2 -0.379340D-02 0.230217D-02
3 0.887353D-01 -0.247462D-02 0.602423D+00
4 -0.225202D-02 0.629104D-03 -0.850567D-02 0.463177D-02
5 0.639706D-03 -0.124104D-03 -0.497796D-03 0.199033D-03 0.328271D-02
6 -0.201127D-03 0.877889D-04 -0.353457D-03 0.171288D-04 -0.296779D-03
7 -0.120862D-02 -0.342451D-04 0.765879D-03 -0.176689D-03 -0.549440D-03
8 -0.687006D-03 0.122778D-03 -0.306753D-02 0.117523D-03 -0.560227D-03
9 -0.187987D+00 0.106243D-01 -0.167632D+00 0.205525D-02 0.633952D-01
10 -0.546051D-01 -0.805703D-02 0.116075D+00 -0.930959D-02 0.152273D+00
11 0.357277D-02 -0.129311D-02 -0.166274D+00 -0.842467D-02 0.172472D-01
12 0.531767D-01 0.169847D-01 0.133584D+01 -0.137014D-01 -0.429231D-02
13 -0.839470D-01 -0.183737D-02 -0.910612D-01 0.220003D-02 -0.223580D-01
14 0.117075D+00 -0.926489D-02 0.294932D+00 -0.213542D-01 -0.540160D-02
15 -0.157325D+01 -0.295839D-01 -0.111888D+01 -0.198456D-01 -0.109156D+00
16 -0.334528D-01 -0.725666D-03 -0.452812D-02 -0.287106D-02 -0.706126D-03
17 0.908430D-02 0.173414D-03 0.334111D-02 0.424781D-03 -0.433792D-03
18 -0.101430D+01 -0.173750D-01 -0.226682D-01 -0.721024D-01 0.867376D-01
19 0.331570D-01 -0.303814D-02 -0.192201D-01 0.584023D-02 -0.191702D-01
20 0.657880D+00 -0.664368D-01 0.513898D+01 -0.555375D-01 0.682769D-01
21 -0.175122D-01 -0.417399D-02 -0.304459D-01 0.795518D-03 0.181594D-01
22 0.135024D-02 0.453609D-03 0.615420D-02 0.727446D-03 -0.147904D-03
23 0.136782D-02 0.715601D-03 0.440234D-01 0.131796D-01 0.654201D-02
24 -0.158107D-02 0.532100D-03 -0.993652D-02 0.100772D-02 -0.498861D-03
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 0.597486D-03
7 0.615431D-03 0.399443D-02
8 -0.274599D-04 -0.446008D-04 0.314443D-02
9 0.165089D-02 0.114626D-01 -0.369319D-02 0.278039D+02
10 -0.169409D-01 -0.999858D-02 -0.408818D-01 0.145383D+01 0.170194D+02
11 0.126049D-01 0.933125D-02 0.200516D-02 -0.224792D+00 0.135351D+01
12 0.281143D-02 0.144444D-01 0.178657D-01 0.328978D+00 0.185962D-01
13 0.432903D-01 0.123032D+00 -0.326723D-01 0.453807D+00 -0.787310D+00
14 -0.334796D-01 -0.140018D-01 0.274732D+00 -0.174606D+01 0.381530D+01
15 0.379729D-02 0.517041D-01 -0.218185D-01 0.162996D+00 -0.803489D+01
16 -0.609706D-04 0.284617D-02 0.586963D-04 0.457380D+00 -0.541556D-01
17 0.137166D-03 -0.218008D-03 0.221775D-03 -0.940029D-01 -0.394352D-01
18 -0.388225D-01 -0.438934D-01 -0.106616D-01 0.322178D+01 0.338491D+01
19 -0.317776D-02 0.173521D-01 0.318481D-02 -0.162080D+01 -0.673813D+00
20 -0.135781D-01 -0.755721D-01 -0.331477D+00 -0.358036D+01 0.631940D+01
21 0.360781D-02 -0.156884D-01 -0.457559D-02 0.196864D+01 0.598421D+00
22 -0.128555D-03 -0.621289D-03 0.530618D-03 -0.378015D-01 -0.150571D-01
23 -0.140279D-02 -0.326834D-03 0.105169D-02 0.286428D+00 0.362312D+00
24 0.295190D-03 0.697905D-03 0.201502D-03 0.271402D-01 -0.320172D-01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 0.320266D+02
12 0.585798D+01 0.147123D+03
13 -0.236272D+01 -0.399895D+01 0.142499D+02
14 0.206628D+01 -0.382802D+01 -0.488862D+01 0.107421D+03
15 -0.318172D+01 -0.365599D+01 0.140703D+01 -0.986569D+01 0.202288D+03
16 0.573732D-01 -0.601094D-01 0.554386D-01 -0.295999D-01 0.152174D+01
17 -0.136876D-01 0.358505D-01 0.309177D-02 0.126621D-01 -0.104081D+01
18 -0.489909D+01 -0.184653D+01 -0.560898D+01 -0.653530D+01 0.453149D+02
19 0.243799D+01 0.135186D+01 -0.354850D+00 -0.533701D+00 0.394610D+01
20 -0.102208D+02 -0.170225D+02 0.612899D+01 -0.737115D+02 -0.587175D+01
21 -0.161623D+01 -0.420776D+00 0.170072D+00 0.101935D+01 -0.373790D+01
22 -0.545008D-01 -0.414263D-01 -0.923680D-02 0.643734D-01 -0.171976D+00
23 0.534161D-02 0.170774D+01 0.183236D-01 0.178236D+00 -0.140766D+01
24 0.576489D-02 -0.334027D+00 0.170512D-01 0.128306D-01 0.186834D+00
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 0.333655D+00
17 -0.251169D-01 0.125649D-01
18 0.596611D-01 -0.252227D+00 0.231426D+03
19 0.158005D+00 -0.371806D-01 -0.528612D+00 0.593595D+01
20 -0.111163D+01 0.167331D+00 0.109226D+03 -0.478858D+01 0.812843D+03
21 0.445978D-01 0.255169D-01 0.190687D+01 -0.520895D+01 0.523279D+01
22 -0.413191D-02 0.295216D-02 -0.953028D+00 -0.195936D-01 -0.500696D+00
23 0.126866D-01 0.547832D-02 0.377126D+00 -0.194903D+00 0.613528D+01
24 0.496046D-02 -0.143457D-02 -0.414295D+00 0.302853D-01 -0.364327D+01
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 0.620949D+01
22 -0.413779D-01 0.115945D-01
23 0.522449D+00 -0.223276D-01 0.138600D+01
24 -0.735059D-01 0.398041D-02 -0.105601D+00 0.424173D-01
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 1.000
2 -0.147 1.000
3 0.213 -0.066 1.000
4 -0.062 0.193 -0.161 1.000
5 0.021 -0.045 -0.011 0.051 1.000
6 -0.015 0.075 -0.019 0.010 -0.212
7 -0.036 -0.011 0.016 -0.041 -0.152
8 -0.023 0.046 -0.070 0.031 -0.174
9 -0.066 0.042 -0.041 0.006 0.210
10 -0.025 -0.041 0.036 -0.033 0.644
11 0.001 -0.005 -0.038 -0.022 0.053
12 0.008 0.029 0.142 -0.017 -0.006
13 -0.041 -0.010 -0.031 0.009 -0.103
14 0.021 -0.019 0.037 -0.030 -0.009
15 -0.206 -0.043 -0.101 -0.021 -0.134
16 -0.108 -0.026 -0.010 -0.073 -0.021
17 0.151 0.032 0.038 0.056 -0.068
18 -0.124 -0.024 -0.002 -0.070 0.100
19 0.025 -0.026 -0.010 0.035 -0.137
20 0.043 -0.049 0.232 -0.029 0.042
21 -0.013 -0.035 -0.016 0.005 0.127
22 0.023 0.088 0.074 0.099 -0.024
23 0.002 0.013 0.048 0.164 0.097
24 -0.014 0.054 -0.062 0.072 -0.042
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
6 7 8 9 10
________ ________ ________ ________ ________
6 1.000
7 0.398 1.000
8 -0.020 -0.013 1.000
9 0.013 0.034 -0.012 1.000
10 -0.168 -0.038 -0.177 0.067 1.000
11 0.091 0.026 0.006 -0.008 0.058
12 0.009 0.019 0.026 0.005 0.000
13 0.469 0.516 -0.154 0.023 -0.051
14 -0.132 -0.021 0.473 -0.032 0.089
15 0.011 0.058 -0.027 0.002 -0.137
16 -0.004 0.078 0.002 0.150 -0.023
17 0.050 -0.031 0.035 -0.159 -0.085
18 -0.104 -0.046 -0.012 0.040 0.054
19 -0.053 0.113 0.023 -0.126 -0.067
20 -0.019 -0.042 -0.207 -0.024 0.054
21 0.059 -0.100 -0.033 0.150 0.058
22 -0.049 -0.091 0.088 -0.067 -0.034
23 -0.049 -0.004 0.016 0.046 0.075
24 0.059 0.054 0.017 0.025 -0.038
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
11 12 13 14 15
________ ________ ________ ________ ________
11 1.000
12 0.085 1.000
13 -0.111 -0.087 1.000
14 0.035 -0.030 -0.125 1.000
15 -0.040 -0.021 0.026 -0.067 1.000
16 0.018 -0.009 0.025 -0.005 0.185
17 -0.022 0.026 0.007 0.011 -0.653
18 -0.057 -0.010 -0.098 -0.041 0.209
19 0.177 0.046 -0.039 -0.021 0.114
20 -0.063 -0.049 0.057 -0.249 -0.014
21 -0.115 -0.014 0.018 0.039 -0.105
22 -0.089 -0.032 -0.023 0.058 -0.112
23 0.001 0.120 0.004 0.015 -0.084
24 0.005 -0.134 0.022 0.006 0.064
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
16 17 18 19 20
________ ________ ________ ________ ________
16 1.000
17 -0.388 1.000
18 0.007 -0.148 1.000
19 0.112 -0.136 -0.014 1.000
20 -0.068 0.052 0.252 -0.069 1.000
21 0.031 0.091 0.050 -0.858 0.074
22 -0.066 0.245 -0.582 -0.075 -0.163
23 0.019 0.042 0.021 -0.068 0.183
24 0.042 -0.062 -0.132 0.060 -0.620
ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES
21 22 23 24
________ ________ ________ ________
21 1.000
22 -0.154 1.000
23 0.178 -0.176 1.000
24 -0.143 0.179 -0.436 1.000
|
67dc8397eaba186407aedf168329d201124aa43d | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH14/EX14.20/14_20.sce | 6390af361ddef51c7c9dbe35c4841fd335e2e81c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | 14_20.sce | clear;
clc;
//Example - 14.20
//Page number - 490
printf("Example - 14.20 and Page number - 490\n\n");
T = 40 + 273.15;//[K]
P = 101.3;//[kPa]
// G_E/(R*T) = A*x_1*x_2
// The parameter A at 101.3 kPa and various temperatures are
A_35 = 0.479;// A at 35 C
A_40 = 0.458;// A at 40 C
A_45 = 0.439;// A at 45 C
// At 40 C, G_E/(R*T) is given by
// G_E/(R*T) = A_40*x1*x2
// Therefore log(Y1) = A_40*x2^(2) and log(Y2) = A_40*x1^(2)
dA_dT = (A_45-A_35)/(45-35);//[K^(-1)] - dA/dT
// H_E/(R*T^(2)) = -[del(G_E/(R*T))/del(T)]_P,x = (dA/dT)*x1*x2
// H_E/(R*T) = -T*(dA/dT)*x1*x2 = 1.25*x1*x2
// S_E = (H_E - G_E)/T = (-R*T^(2)*(dA/dT)*x1*x2 - A*R*T*x1*x2)/T = -(R*T*(dA/dT) + A*R)*x1*x2
// Thus S_E/R = -(T*(dA/dT) + A)*x1*x2 = 0.795*x1*x2
printf(" The expressions are H_E/(R*T) = 1.25*x1*x2 \n\t\t S_E/R = 0.795*x1*x2");
|
1c27ee93517843d024f63cca3ffe921ceefa23d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH18/EX18.9/Ex18_9.sce | bc0f132fc7eed622a9a6a7e4f11e92899bc957d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,158 | sce | Ex18_9.sce | // Initilization of variables
W_a=50 // N // falling weight
W_b=50 // N // weight on which W_a falls
g=9.81 // m/s^2 // acc due to gravity
m_a=W_a/g // kg // mass of W_a
m_b=W_b/g // kg // mass of W_b
k=2*10^3 // N/m // stiffness of spring
h=0.075 // m // height through which W_a falls
// The velocity of weight W_a just before the impact and after falling from a height of h is given from the eq'n, ( Principle of conservation of energy)
v_a=sqrt(2*g*h) // m/s
// Let the mutual velocity after the impact be v_m (i.e v_m=v'), (by principle of conservation of momentum)
v_m=(m_a*v_a)/(m_a+m_b) // m/s
// Initial compression of the spring due to weight W_b is given by,
delta_st=(W_b/k)*(10^2) // cm
// Let the total compression of the spring be delta_t, Then delta_t is found by finding the roots from the eq'n........ delta_t^2-0.1*delta_t-0.000003=0. In this eq'n let,
a=1
b=-0.1
c=-0.000003
delta_t=((-b+(sqrt(b^2-(4*a*c))))/2*a)*(10^2) // cm // we consider the -ve value
delta=delta_t-delta_st // cm
// Results
clc
printf('The compression of the spring over and above caused by the static action of weight W_a is %f cm \n',delta)
|
14f00d023410cfd35f1f2f635b9e269eec1beaf6 | 093c81dec9d9f129f6b39e0cd1271068a60950b5 | /callback.sce | b0522c1d8ee813699f382e0f3bfee6ab3bed1158 | [] | no_license | Erffa/scilab | 8757d722358a8f8aa0c9ed9c2af65822cc2c7f6f | cabae3f7f0a4a967040043dca86d7238498af148 | refs/heads/master | 2020-06-01T20:36:03.768920 | 2019-07-12T09:30:20 | 2019-07-12T09:30:20 | 190,919,208 | 0 | 0 | null | 2019-07-12T09:33:07 | 2019-06-08T18:00:06 | Scilab | UTF-8 | Scilab | false | false | 10,317 | sce | callback.sce |
///////////////////////////////////////////////////////////////////////////////////
// SETTERS DE TEXTES
///////////////////////////////////////////////////////
function callback_editOmega(app)
app.txt_lbl3_omega.String = "ω = "+string(app.slider_omega.Value);
endfunction
function callback_editAlpha(app)
app.txt_lbl_option_alpha.String="α : "+string(app.slider_alpha.Value);
endfunction
function callback_editBeta(app)
app.txt_lbl_option_beta.String = "β : "+string(app.slider_beta.Value);
endfunction
function callback_editN(app)
val = round(app.slider_n.Value);
app.slider_n.Value=val;
app.txt_n.String = "n : "+string(val);
endfunction
// ...................................
function callback_editMaxite(app)
val = round(app.slider_maxite.Value);
app.slider_maxite.Value=val;
app.txt_maxite.String = "max ité. : "+string(val);
endfunction
function callback_editDt(app)
app.txt_dt.String = "dt : "+string(app.slider_dt.Value);
endfunction
function callback_editPrec(app)
val = round(app.slider_prec.Value);
app.slider_prec.Value=val;
app.txt_prec.String = "précision : 1e-"+string(val);
endfunction
///////////////////////////////////////////////////////////////////////////////////
// POUR RADIOBUTTONS
///////////////////////////////////////////////////////
// choix du type de x0
function callback_setTypeX0(app, code)
// mise à zéro
set(app.rb_x0_alea, 'Value', 0);
set(app.rb_x0_lsqr, 'Value', 0);
// sélection du bon radiobutton
select code
case 1 then
set(app.rb_x0_alea, 'Value', 1);
case 2 then
set(app.rb_x0_lsqr, 'Value', 1);
else
disp("mucho problemo")
end
endfunction
// choix du type de v0
function callback_setTypeV0(app, code)
// mise à zéro
set(app.rb_v0_alea, 'Value', 0);
set(app.rb_v0_zero, 'Value', 0);
// sélection du bon radiobutton
select code
case 1 then
set(app.rb_v0_alea, 'Value', 1);
case 2 then
set(app.rb_v0_zero, 'Value', 1);
else
disp("mucho problemo")
end
endfunction
// -------------------------------------------------------------
// choix du type de Omega
function callback_setTypeOmega(app, code)
set(app.rb_omega_cnst, 'Value', 0);
set(app.rb_omega_rand, 'Value', 0);
set(app.rb_omega_atan, 'Value', 0);
select code
case 1 then
set(app.rb_omega_cnst, 'Value', 1);
case 2 then
set(app.rb_omega_rand, 'Value', 1);
case 3 then
set(app.rb_omega_atan, 'Value', 1);
else
disp('Error !!!!!');
end
endfunction
// choix du type de Alpha et Beta
function callback_setTypeAb(app, code)
set(app.rb_ab_cnst, 'Value', 0);
set(app.rb_ab_atan, 'Value', 0);
select code
case 1 then
set(app.rb_ab_cnst, 'Value', 1);
case 2 then
set(app.rb_ab_atan, 'Value', 1);
else
disp('Error !!!!!');
end
endfunction
// ---------------------------------------------------------------------
// choix de la fonction étudiée
function select_rb(num)
// on sélectionne uniquement le dernier radiobutton pressé
// déselction de tous les radiobuttons
for rb=app.list_rb do
set(rb,'value',0);
end
// selection du radiobutton pressé
set(app.list_rb(num),'value',1);
// affichage de la valeurs du(des) minimum(s) attendue
res=evstr('res'+string(num));
set(app.txt_res_va, 'String',"Vraie valeur : "+string(res));
/* */
// Affichage de(s) position(s) solution(s)
sol=evstr('sol'+string(num));
[nsol,d]=size(sol);
str="[";
str=str+string(sol(1,1))+" "+string(sol(1,2));
for li=2:nsol do
str=str+" ; "+string(sol(li,1))+" "+string(sol(li,2));
end
str=str+"]";
set(app.txt_res_pa, 'String',"Vraie position : "+str);
// */
// on redessine le relief couleur
drawlater()
// supprime les points résiduels et la colormap precedente
destroy('scatter_x');
destroy('Sgrayplot');
// on redessine
colorise_2(app);
drawnow()
endfunction
///////////////////////////////////////////////////////////////////////////////////
// PBOUTON START
///////////////////////////////////////////////////////
function callback_start(app)
// ~~~~~~~~~~~~~~~~~~~~~~
// PREMIERES PRECAUTION ~
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// on empêche l'utilisateur de réappuyer sur bouton pdt période de simulation
app.pb_start.Enable='off';
// pour les fonctions aussi ??? choix de prioirté ???
// efface le tracé precedent de la precision
destroy('plot_prec');
destroy('scatter_x');
// ?? essaye de arreter action
//stop=%F
// ~~~~~~~~~~~~~~~~
// INITIALISATION ~
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// from CHOIX DE L'ECHANTILLON
// nombre de points
n = app.slider_n.Value;
// création du x0
select app.type_x0
case 1 then
x=samp_alea(app.B,n);
case 2 then
x=LatinHypercube(app.B,n);
else
disp("valeur non reconnue pour type_x0");
return;
end
// création de v0
select app.type_v0
case 1 then
V0=1; // influe sur distance v0 peut parcourir
v=V0.*(1-2*rand(2,n));
case 2 then
v=zeros(2,n);
else
disp("valeur non reconnue pour type_v0");
return;
end
// from AUTRES VARIABLES
// nombre maximale d'itérations
maxite = app.slider_maxite.Value;
// precision recherché (critère d'arrêt)
e=10^-(app.slider_prec.Value); //1e-5
// le 'pas' : dt
dt = app.slider_dt.Value;
// les graphes où dessiner
polplot=findobj('polplot')
pelote=findobj('pelote')
// on update taille du graph qui plot omega,alpha,beta
pelote.data_bounds=[0 0 ; maxite 1.6];
// STOCKAGE DES MEILLEURS
// liste des meilleurs individuels
P=x;
// le meilleur des meilleurs
[g,_] = mincol(P,app.funct);
// pour calcul : colonnes de g
G=kron(ones(1,n),g);
// on fixe le type de omega choisit pour cette tentative
typeomega=app.typeomega;
// on fixe le type de alpha,beta choisit pour cette tentative
typeab=app.typeab;
// VALEURS DES SLIDERS SI CHOIX CONSTANT
omega_sl = app.slider_omega.Value;
alpha_sl = app.slider_alpha.Value;
beta_sl = app.slider_beta.Value;
// LES CRITèRES D ARRET
[centre,rayon]=Surround(x);
k=1;
//while k<maxite & r>e & ~stop do
while k<maxite & rayon>e do
/////////////////////////////////////////////////////////////////////////////////////////
// ALGO
///////////////////////////////////////////////////////////////////
// CALCUL DES OMEGA, ALPHA et BETA
// calcul de omega
select typeomega
case 1 then
omega=omega_sl;
case 2 then
omega=(2-2*k/maxite)*diag(rand(n,1));
// atan
case 3 then
omega=calc_o(k, maxite);
else
disp("valeur inconnue pour typeomega");
return;
end
// calcul de alpha et beta
select typeab
case 1 then
alpha = alpha_sl;
beta_ = beta_sl;
case 2 then
[alpha,beta_]=calc_ab(k, maxite);
else
disp("valeur inconnue pour typeab");
return;
end
// CALCUL POSITION ET VITESSE SUIVANTE
//[x,v, P,g,G, centre,rayon]=doStep(d,n, x,v, P,g,G, app.funct, dt, omega,alpha,beta_, app.B);
// hugo
//[x0,x,v0,v, P,g,G, centre,rayon]=doStep_(x0,x,v0,v, P,g,G, app.funct,dt, alpha,beta_,omega, app.B)
//
C1=diag(alpha*rand(1,n));
C2=diag(beta_*rand(1,n));
//
v=v*omega+ (P-x)*C1 + (G-x)*C2
x=bound_x(x+dt*v, app.B);
// CALCUL DES MEILLEURS
// individuels
for i = 1:n do
if app.funct(P(:,i))-app.funct(x(:,i))>0 then
P(:,i)=x(:,i)
end
end
// globale
g=mincol(P,app.funct)
G=kron(ones(1,n),g)
[centre,rayon]=Surround(x);
/////////////////////////////////////////////////////////////////////////////////////////
// DESSIN
///////////////////////////////////////////////////////////////////
drawlater();
// on efface précédent et on dessine nouveaux
destroy('scatter_x');
sca(polplot);
scatter(x(1,:) , x(2,:) , 10, 'black', '+');
gce().tag='scatter_x';
//
// dessin de l évolution de omega, alpha et beta
sca(pelote);
//
omegaga=omega(1,1);
plot(k,omegaga, "ro-");
gce().tag='plot_prec';
plot(k,alpha, "go-");
gce().tag='plot_prec';
plot(k,beta_, "bo-");
gce().tag='plot_prec';
legend(['omega';'alpha';'beta']);
//
//......................................;..........................
/*
plot( [k,k,k] ,[omega, alpha, beta_], [1 2 3] ); //["ro-","go-","bo-"]
gce().tag='plot_prec';
plot(k,omega, "ro-");
gce().tag='plot_prec';
plot(k,alpha, "go-");
gce().tag='plot_prec';
plot(k,beta_, "bo-");
gce().tag='plot_prec';
legend(['omega';'alpha';'beta']);
//fg=app.funct(g);
//plot(k,fg, "+");
//gce().tag='plot_prec';
// */
drawnow();
// next step
app.txt_res_ni.String="Nombre d''itérations :"+string(k);
app.txt_res_pp.String="Meilleure position : [ "+string(g(1))+" ; "+string(g(2))+" ]";
app.txt_res_vp.String="Meilleure valeur : "+string(app.funct(g));
k=k+1
sleep(10);
end
//if stop then
// disp("arret d urgence")
// return
//end
// pause bienfaitrice
sleep(50)
// on réactive le bouton
app.pb_start.Enable='on'
endfunction
//
//function callback_stop(handles)
// stop=%T
//endfunction
//
|
8eff73f856ddb89889217acc844ffe9b25f45abc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH6/EX6.6/66.sce | 178dc157d28db83e9b758689ae8daf1eb197d395 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | 66.sce | // problem 6.6
s=0.75
d=0.2
l=1000
Q=3/60
f=0.01
a=3.142*d*d/4
V=Q/a
g=9.81
Hf=(4*f*l*V*V)/(d*2*g)
w=g*s*1000
dp=w*Hf
disp(dp,"pressure drop along its entire lenght in N/m2")
|
9e1cc6238415584cc54eaf213de34a9c526f228a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.3/Ex4_3.sce | 91ad91e3f867051d67d3934b99dd5e4bcf0ebfdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Ex4_3.sce | //Example 4.3:
clc;
clear;
close;
//given data :
format('v',6)
Vcc=20;// in V
Vbe=0.7;// in V
Rc=2;//in kilo-ohm
Icsat= Vcc/Rc;//in mA
Beta=200;//
Ib=(Icsat/Beta)*10^3;//in micro-A
Rb=((Vcc-Vbe)/(Ib))*10^3;//in kilo-ohm
disp("Rb < "+string(Rb)+" kilo-ohm")
|
4e07597c74d990839b7ec17ee33f2aceeae100f8 | 665eac2bfd0d2f1d559f485375f89e8a91632c6e | /VOL_300/335_03/ASZ8.TST | bb1f9985402c38afdc4a547b1b0ac1cc5fb4139a | [] | no_license | kubohisa/CUGL | 615c29732e5fc2c6bcb29a4013be3351dc21dda6 | 75fc7cb2f8c5f3869a091b2b5c50c09323bc1c03 | refs/heads/main | 2023-03-15T16:19:49.355867 | 2020-10-02T21:19:00 | 2020-10-02T21:19:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,792 | tst | ASZ8.TST | immed equ 11H
xdest reg $2d
xsrc reg $1c
xddest rreg $44
adc @ xdest , # immed
adc R13, @ R12
adc R13, R12
adc xdest , # immed
adc xdest, @ xsrc
adc xdest, xsrc
add @ xdest , # immed
add R13, @ R12
add R13, R12
add xdest , # immed
add xdest, @ xsrc
add xdest, xsrc
and @ xdest , # immed
and R13, @ R12
and R13, R12
and xdest , # immed
and xdest, @ xsrc
and xdest, xsrc
call @ xddest
call jmpdst
ccf
clr @ xdest
clr xdest
com @ xdest
com xdest
cp @ xdest , # immed
cp R13, @ R12
cp R13, R12
cp xdest , # immed
cp xdest, @ xsrc
cp xdest, xsrc
da @ xdest
da xdest
dec @ xdest
dec xdest
decw @ xddest
decw xddest
di
djnz R0, *+56
djnz R1, *+56
djnz R10, *+56
djnz R11, *+56
djnz R12, *+56
djnz R13, *+56
djnz R14, *+56
djnz R15, *+56
djnz R2, *+56
djnz R3, *+56
djnz R4, *+56
djnz R5, *+56
djnz R6, *+56
djnz R7, *+56
djnz R8, *+56
djnz R9, *+56
ei
inc @ xdest
inc R0
inc R1
inc R10
inc R11
inc R12
inc R13
inc R14
inc R15
inc R2
inc R3
inc R4
inc R5
inc R6
inc R7
inc R8
inc R9
inc xdest
incw @ xddest
incw xddest
iret
jp @ xddest
jp jmpdst
jp C, jmpdst
jp EQ, jmpdst
jp F, jmpdst
jp GE, jmpdst
jp GT, jmpdst
jp LE, jmpdst
jp LT, jmpdst
jp MI, jmpdst
jp NC, jmpdst
jp NE, jmpdst
jp NOV, jmpdst
jp NZ, jmpdst
jp OV, jmpdst
jp PL, jmpdst
jp UGE, jmpdst
jp UGT, jmpdst
jp ULE, jmpdst
jp ULT, jmpdst
jp Z, jmpdst
jr *+56
jr C, *+56
jr EQ, *+56
jr F, *+56
jr GE, *+56
jr GT, *+56
jr LE, *+56
jr LT, *+56
jr MI, *+56
jr NC, *+56
jr NE, *+56
jr NOV, *+56
jr NZ, *+56
jr OV, *+56
jr PL, *+56
jr UGE, *+56
jr UGT, *+56
jr ULE, *+56
jr ULT, *+56
jr Z, *+56
ld R13, $44(R12)
ld $55(R13), R12
ld R13, @ R12
ld xdest, xsrc
ld xdest, @ xsrc
ld xdest, # immed
ld @ xdest, # immed
ld @ R13, R12
ld @ xdest, xsrc
ld R0, # immed
ld R0, xsrc
ld R1, # immed
ld R1, xsrc
ld R10, # immed
ld R10, xsrc
ld R11, # immed
ld R11, xsrc
ld R12, # immed
ld R12, xsrc
ld R13, # immed
ld R13, xsrc
ld R14, # immed
ld R14, xsrc
ld R15, # immed
ld R15, xsrc
ld R2, # immed
ld R2, xsrc
ld R3, # immed
ld R3, xsrc
ld R4, # immed
ld R4, xsrc
ld R5, # immed
ld R5, xsrc
ld R6, # immed
ld R6, xsrc
ld R7, # immed
ld R7, xsrc
ld R8, # immed
ld R8, xsrc
ld R9, # immed
ld R9, xsrc
ld xdest, R0
ld xdest, R1
ld xdest, R10
ld xdest, R11
ld xdest, R12
ld xdest, R13
ld xdest, R14
ld xdest, R15
ld xdest, R2
ld xdest, R3
ld xdest, R4
ld xdest, R5
ld xdest, R6
ld xdest, R7
ld xdest, R8
ld xdest, R9
ldc @ RR10, R13
ldc R13, @RR10
ldci @ R13, @RR10
ldci @ RR10, @ R13
lde @ RR10, R13
lde R13, @RR10
ldei @ R13, @RR10
ldei @ RR10, @ R13
nop
or @ xdest , # immed
or R13, @ R12
or R13, R12
or xdest , # immed
or xdest, @ xsrc
or xdest, xsrc
pop @ xdest
pop xdest
push @ xdest
push xdest
rcf
ret
rl @ xdest
rl xdest
rlc @ xdest
rlc xdest
rr @ xdest
rr xdest
rrc @ xdest
rrc xdest
sbc @ xdest , # immed
sbc R13, @ R12
sbc R13, R12
sbc xdest , # immed
sbc xdest, @ xsrc
sbc xdest, xsrc
scf
sra @ xdest
sra xdest
srp # 112
sub @ xdest , # immed
sub R13, @ R12
sub R13, R12
sub xdest , # immed
sub xdest, @ xsrc
sub xdest, xsrc
swap @ xdest
swap xdest
tcm @ xdest , # immed
tcm R13, @ R12
tcm R13, R12
tcm xdest , # immed
tcm xdest, @ xsrc
tcm xdest, xsrc
tm @ xdest , # immed
tm R13, @ R12
tm R13, R12
tm xdest , # immed
tm xdest, @ xsrc
tm xdest, xsrc
xor @ xdest , # immed
xor R13, @ R12
xor R13, R12
xor xdest , # immed
xor xdest, @ xsrc
xor xdest, xsrc
jmpdst
|
fa49b6fdb9896890a90a9985da53f3663a086fd0 | 33fb8ad2c9908d12230e378cb1f793922b817e68 | /Couverture d’un Put dans le modèle CRR/Defaut_de_couverture.sci | c87ad3229eb00c1411af541e2cd349dacd145a71 | [
"MIT"
] | permissive | AmineKheldouni/Finance-Stochastic-Calculus | eca352c4f7ce0c1f71c8ce09c05b1380190e467f | c88b01728daa5e1a6a4aa49992e797e6b93633fe | refs/heads/master | 2020-04-14T22:29:26.264109 | 2019-01-04T23:27:10 | 2019-01-04T23:27:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,309 | sci | Defaut_de_couverture.sci | exec("S.sci");
exec("Couverture.sci");
function [cours_final,valeur_finale]=defaut_de_couverture(N,K,r,a,b,cours)
Valeur=zeros(1,N+1);
Defaut=zeros(1,N+1);
// A l'instant 0
S_0 = cours(1);
V_0 = Prix(0,N,K,r,a,b,S_0);
Valeur(1) = V_0;
// calcul de la couverture entre 0 et 1
H = Couverture(1,N,K,r,a,b,S_0);
SoHo = V_0 - H * S_0; // condition d'autofinancement
for n=1:N-1
// on est en n
S_n = cours(n+1);
// nouvelle valeur du portefeuille en n
//A COMPLETER
V = H * S_n + SoHo * ???;
// calcul de la nouvelle couverture entre n et n+1
H = Couverture(n+1,N,K,r,a,b,S_n);
// autofinancement
//A COMPLETER
SoHo = ?????;
Valeur(n+1) = V;
Defaut(n+1) = V-Prix(n,N,K,r,a,b,S_n)
end;
// on est en N
S_N = cours(N+1);
V = H * S_N + SoHo * (1+r);
res = V - payoff(cours(N+1),K);
Valeur(N+1) = V;
Defaut(N+1) = res;
cours_final = cours(N+1);
valeur_finale = V;
endfunction
q=20;
valeur=zeros(1,q);
cours=zeros(1,q);
v_payoff=zeros(1,q);
for i=1:q do
[cours(i),valeur(i)] = defaut_de_couverture(N,K,r,a,b,S(N,0.5,a,b,S0));
v_payoff(i)=payoff(cours(i),K);
end
defautCouverture=norm(v_payoff-valeur)
clf()
plot2d(cours,valeur,style=-1);
|
852f4ac1750e82041f09e9bad1f300e3bfbd6e86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH11/EX11.13/11_13.sce | fb39cfb494380f499b0fdca9d6c8077b8cb87edd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | 11_13.sce | //Eg-11.13
//pg-495
clear
clc
//Note that the values of log(y) are not equally spaced.
x(1) = -2.9999;
x(2) = -2.4486;
x(3) = -2.1599;
x(4) = -1.9893;
x(5) = -1.8687;
x(6) = -1.7734;
x(7) = -1.6990;
y(1) = 4.32;
y(2) = 5.02;
y(3) = 5.39;
y(4) = 5.26;
y(5) = 5.10;
y(6) = 4.84;
y(7) = 4.76;
sum1 = 0;
for(i = 1:6)
h(i) = x(i+1) - x(i);
sum1 = sum1 + h(i)/2*(y(i+1) + y(i));
end
printf('The value of the integral is %f',sum1)
plot(x,y)
xlabel('log(y)')
ylabel('y/(y-yi)')
printf('\n\n The data points and trapezoid approximations are plotted in the figure.\n The area under the curve represents the value of the integral.\n Graphical integration gives I = 6.556\n') |
7ee5a4bf3c67f2e3b37c578db2f3f37364c4216a | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH26/EX26.3/HG_3.sce | 3de8d145585d914f06520b47aa5cc29a93103f47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | HG_3.sce | // sum 26-3
clc;
clear;
Zp=24;
Zg=72;
alphan=20*%pi/180;
phi=24*%pi/180;
N=720;
mn=5;
b=50;
sigut=600;
BHN=360;
Cs=1.4;
FOS=2;
sigb=sigut/3;
dp=mn*Zp/cos(phi);
Zp=Zp/(cos(phi))^3;
Zg=Zg/(cos(phi))^3;
Y=0.358+((0.364-0.358)*1.48/2);
Sb=b*mn*sigb*Y;
Q=(2*Zg)/(Zp+Zg);
K=0.16*(BHN/100)^2;
Sw=b*dp*Q*K/(cos(phi)^2);
v=2*%pi*N*dp/(60*2*1000);
Cv=5.6/(5.6+sqrt(v));
Peff=Sb/FOS;
Pt=Peff*Cv/Cs;
P=Pt*v;
P=P*10^-3;
// printing data in scilab o/p window
printf("P is %0.3f kW ",P);
//The difference in the value is due to rounding-off of the values.
|
57130d513a24584f5c8ce57f704a6f6be3b8c770 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH4/EX4.9/EX4_9.sce | d97e3303331fc0d53c09b34577cbd3b026574388 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,037 | sce | EX4_9.sce | //Chapter 4, Example 4.9, page 158
clc
//Initialisation
phi=166 //in radian
pi=3.14
t=35*pi/180 //geographic latitude in radian
t1=60*pi/180 //zenith angle in radian
N=80*pi/180 //in radian
x=92
y=35
h=35
p=1.2
//Calculation
m=0.11-0.49*cos(t)
fe=0.004*(1+0.021*166)**2 //minimum value of f0E
A=1+0.0094*(phi-66) //A value
B=(cos(N))
B1=B**m //B value
C=x+y*cos(t) //C value
D=cos(t1)**p //D value
F=(A*B*C*D)**(0.25) //exact value of f0E
//Results
printf("(1) Minimum value of f0E = %.2f x 10^-2 MHz",(fe*100))
printf("\n(2) f0E = %.2f MHz",F) //The answer provided in the textbook is wrong
|
260a83eea8f8a021cdc869b951fff99286c033d8 | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Solução de EDO_Método_01_ Euler.sce | 7eb5f32888bb327e2a454d912a3b254db919b195 | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Solução de EDO_Método_01_ Euler.sce | //Solução de EDO método Euler
//dy/dx=exp(x)
//condição inicial y(0)=1
//h=0.1
//setar as variáveis
x=0:0.1:7;
y(1)=0;
h=0.1;
//criar uma função f com entrada xi,yi
function z=f(x,y)
z=sin(x);
endfunction
//equação de recorrência
for i=1:length(x)-1
y(i+1)=y(i)+h*f(x(i),y(i))
end
plot (x,y)
|
c95353f69e7a2b9035b532c518a775cc12698b65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH11/EX11.5/exa11_5.sce | 3de7387c9a0fc6e8b07ed437e4844b7289b53822 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,248 | sce | exa11_5.sce | // Example 11.5
// Design of a Lowpass Filter
f_co=4000; // In Hertz
R_L=200;
R_s=50;
// Using node equation in figure 11.10
// (1/R_s+1/R_L+s*C)*V_out=(1/R_s)*V_s;
// V_out/V_s=H(s)=(K*omega_co)/(s+omega_co)---equation (1)
// Comparing equation (1) with low pass filter equation we get,
K=(1/R_s)/(1/R_s+1/R_L);
omega_co=2*%pi*f_co;
C=1/(omega_co*(1/R_s+1/R_L));
R_eq=(R_s*R_L)/(R_s+R_L);
tau=R_eq*C;
// design testing
// Model for voice signal is 3kHz sinusoid with V_m=5V
// so total input signal will become
// v_s(t)=5*cos(omega1*t)+0.5*cos(omega2*t)
omega1=2*%pi*3000;
omega2=2*%pi*16000;
// using equation for Low pass filter we get
H_omega1=(K*omega_co)/(%i*omega1+omega_co);
H_omega2=(K*omega_co)/(%i*omega2+omega_co);
a_omega1=abs(H_omega1);
theta1_r=atan(imag(H_omega1),real(H_omega1));
a_omega2=abs(H_omega2);
theta2_r=atan(imag(H_omega2),real(H_omega2));
t=0:0.0001:0.01;
v_out=a_omega1*5*cos(omega1*t+theta1_r)+a_omega2*0.5*cos(omega2*t+theta2_r);
v_s=5*cos(omega1*t)+0.5*cos(omega2*t)
plot(t,v_out,t,v_s,'-g')
xlabel('t')
ylabel('v_out(t)')
title('Voltage Waveform')
h1=legend(['v_out';'v_s'])
disp("waveform Shows that whistle amplitude has been cut down to 3% of the voice signal at the input")
|
caf1c17559ee1f12724c956c470553712bb29628 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH9/EX9.7.d/Exa7_d.sce | bee806aae0fe9e5be9793050d6aeb55b81ef718d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa7_d.sce | //Exa 7(iv)
clc;
clear;
close;
// given data :
//mix ratio is not same
SQa=10//in Kgs
AQa=10//in Kgs
SPa=8//in rupees per Kgs
APa=7//in rupees per Kgs
SQb=8//in kg
AQb=9//in Kg
SPb=6//in rupees per Kg
APb=7//in rupees per Kg
SQc=4//in kg
AQc=5//in Kg
SPc=12//in rupees per Kg
APc=11//in rupees per Kg
//(4) Material mix variance
RSQa=(SQa*24)/(22);
RSQb=(SQb*24)/(22);
RSQc=(SQc*24)/(22)
MMVa=SPa*(RSQa-AQa);
MMVb=SPb*(RSQb-AQb);
MMVc=SPc*(RSQc-AQc);
disp(MMVa,"MMV=");
disp(MMVb,"MMV=");
disp(MMVc,"MMV=");
disp("Note : ")
disp("Negative variances indicate adverse value ");
disp("Positive variances indicate favourable value "); |
cf51841131aaa81fccc9bcaead075b49668b746a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH4/EX4.16/4_16.sce | 17ecbd5f5c1f9b358e4cef4a411dd7f38534255d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | 4_16.sce | clc
//initialisation of variables
Cp= 18 //cal deg^-1
T= 0 //C
T1= -5 //C
H2= -1440 //cal
Cp1= 9 //cal deg^-1
H= 0
//CALCULATIONS
T2= (-Cp*(T-T1)-H2+Cp1*(273.16+T))/Cp1
S= Cp*log((273.16+T)/(273.16+T1))-(Cp*(T-T1)/(T+273.16))
//RESULTS
printf (' CHange in entropy= %.3f cal deg^-1',S+0.001)
|
09e99414b43e0110abe2537b32ba29bc39aa72cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH23/EX23.3/Example_23_3.sce | c3e676c04f9bb005a7880b03a2cfed80637f9962 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 906 | sce | Example_23_3.sce | //clear//
clear;
clc;
//Example 23.3
//Given
Hair_in = 0.022;
Tair_inpre = 70; //[F]
mdot = 15000; //[lb/h]
//Solution
//Using Fig. 23.10
Tair_inreh = 85; //[F]
Tair_outreh = 130; //[F]
Hin = 0.0030;
hya = 85;
Ts = 81; //[F]
Tair_outpre = 168; //[F]
humid_heat1 = 0.241; //[Btu/lb-F]
//Heat required to preheat the air is
Qpre = humid_heat1*mdot*(Tair_outpre-Tair_inpre); //[Btu/h]
humid_heat2 = 0.250; //[Btu/lb-F]
//Heat required in the reheater is
Qreh = humid_heat2*mdot*(Tair_outreh-Tair_inreh); //[Btu/h]
//Total heat required
Qt = Qpre+Qreh; //[Btu/h]
//To caluculate the volume of the sprqy chamber, Eq.(23.41) may
//be used. The average humid heat is
csbar = (humid_heat1+humid_heat2)/2; //[Btu/lb dry air-F]
//Substituing in Eq.(23.41) gives
VT = log((Tair_outpre-Ts)/(Tair_inreh-Ts))*mdot*csbar/hya; //[ft^3]
disp('ft^3',VT,'The volume of the spray chamber is')
|
e51f83f16f2c5ca5bb624b503035c15ba2bf2366 | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Controle/T1/Código/V3/teste2.sce | 35b9bb12ec165cdde7d1a81ef7191b302a3b937f | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | teste2.sce | Ar = [0,1;0,0]
Ke = -inv(C*B)*(-C*A)
K = inv(C*B)*Ar
disp(A)
disp(B*K*C)
disp(B*Ke)
lambda = [A-B*Ke, B*K;zeros(2,4),Ar]
t0 = 0 // Definição do intervalo de tempo
dt = 0.1
n = 10
tf = t0 + dt*(n-1)
t = t0:dt:tf
x0 = [0;0.5;0;1;0;0.5] // Condições inicias
x1=[]
x2=[]
x3=[]
x4=[]
y1 = []
y2 = []
yr1=[]
yr2=[]
for i = 1:n // Simulação via matriz de transição
T = t0 + dt*(i-1)
x = []
x = expm(lambda*(T-t0))*x0
x1(i)=x(1)
x2(i)=x(2)
x3(i)=x(3)
x4(i)=x(4)
yr1(i)=x(5)
yr2(i)=x(6)
end
x = []
x = [x1';x2';x3';x4']
y = C*x
y1 = y(1,:)
y2 = y(2,:)
scf(0)
scf(0)
plot2d(t,x1)
plot2d(t,yr1,style=3)
scf(1)
plot2d(t,x2)
plot2d(t,yr2,style=3)
|
53354f44d1ee724b8f67db7ec7ded6bb6e7e9d68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH7/EX7.1/7_1.sce | 2e018a1e60330596ca3565988ae815d8cbcae2c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,037 | sce | 7_1.sce | pathname=get_absolute_file_path('7_1.sce')
filename=pathname+filesep()+'7_1data.sci'
exec(filename)
D=(E*t^3)/(12*(1-v^2));
X=(16*q0/(D*%pi^6))/(((1/a^2)+(1/b^2))^2);
X1=(16*q0/%pi^4)*((1/a^2)+(v/b^2))/(((1/a^2)+(1/b^2))^2);
X2=(16*q0/%pi^4)*((v/a^2)+(1/b^2))/(((1/a^2)+(1/b^2))^2);
function[w]=f(x,y),//taking first term only
w=X*(sin(%pi*x/a))*sin(%pi*y/b);
endfunction
x=linspace(0,a,10*a);
y=linspace(0,b,10*b);
w=feval(x,y,f);
plot3d1(x,y,w);
Wmax=(0.0443*q0*a^4)/(E*t^3);//from summation of first 4 terms
printf("\nWmax: %f mm",Wmax);
function[Mx,My]=f1(x,y)//taking first term only
Mx=X1*(sin(%pi*x/a))*sin(%pi*y/b);
My=X2*(sin(%pi*x/a))*sin(%pi*y/b);
endfunction
function[Sx,Sy]=f2(x,y,z)//taking first term only
Sx=12*X1*(sin(%pi*x/a))*sin(%pi*y/b)*z/t^3;
Sy=12*X2*(sin(%pi*x/a))*sin(%pi*y/b)*z/t^3;
endfunction
Mxmax=0.0479*q0*a^2;//from summation of first 5 terms
printf("\nMx,max= My,max= %f N.mm",Mxmzx);
Sxmax=(0.287*q0*a^2)/t^2;
printf("\nσx,max= σy,max= %f N.mm",Sxmax);
|
938d028ffd93ef601376e9c90208c2b64308212c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH4/EX4.1/Ex4_1.sce | 88ba5aec9a0afe33682ed1c738f9451a9694d1ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | Ex4_1.sce | A=140
n=7
Na=40
C=A/n//coverage area of each cell
Nvchpercell=30/100*Na
N=Nvchpercell*n//Number of voice channels
disp(C,'coverage area of each cell in kmsqr')
disp(N,'Number of voice channels')
|
a011d3fe363c827d2a600e5ff58739eac4b2a267 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH22/EX22.1/22Ex1.sce | 65a25890581dafbfecb3f99d0e2ce5a84f00b43e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | 22Ex1.sce | //chapter 22 Ex 1
clc;
clear;
close;
p=7500; n=2; r=4;
amount=p*((1+r/100)^n);//formula for compound interest
CI=amount-p;
printf("The Compound Interest is Rs. %d",CI);
|
06cb6dbc55c8ef777af09c5a752065b0766eac0c | 0c1b318ef2ea5479e6a4df395006c510efb03896 | /exercice4.sce | 76e467d82e1909191bbeba0053242699876b02be | [] | no_license | Sylfid/ProjetAF | aa731877261eb4a53c0017c70b236e1b685b59cb | d80fef4e15ec611d905f3762666bee103e568625 | refs/heads/master | 2020-04-08T08:11:03.848479 | 2018-11-27T13:46:45 | 2018-11-27T13:46:45 | 159,168,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | exercice4.sce | //exercice 4
n=-7:7;
h_n=sinc(n*%pi/2)/2;
lambda=-10:0.2:10
function [x] = Question4_1(lambda)
x=sum(2*sinc(n*%pi/2)/2*cos(2*%pi*n*lambda));
endfunction
y=Question4_1(lambda);
|
99b4a86cb13c5b2e01821dc2596c8f004a226d5b | dcab0800429dd1b3409234cc7ffca107fd01a0d5 | /find_peaks.sce | 040df0a3d8000f26a1148c57c9b2f230f0b3f22e | [] | no_license | nilssab/xrd-data-analyzer-scilab | 3a96dba8d662110a678a543622870d0f40351c3a | dde73ee719f898b747c4d0322f990494054f615b | refs/heads/master | 2022-12-19T22:50:00.912200 | 2020-09-12T20:15:22 | 2020-09-12T20:15:22 | 295,015,416 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 18,988 | sce | find_peaks.sce | function [V_x_c, V_width, V_Area, V_y, y0_mean] = find_peaks(Data, d_tsh_modifier, s_peakskirt_mod, FFTcutOFF, plot_ok, g_factor, iterations)
// Data: a 2*x matrix with raw XRD data
// d_tsh_modifier: +-diff threshold to count as peak (change to count more/less peaks)
peak_skirt = floor(1/((Data(1,2)-Data(1,1))*s_peakskirt_mod)) //peak skirt halfwidth (change to match y0 better)
//FFTcutOFF: FFT cut off range
//plot_ok: 0 = no plots or message boxes, 1 = plots and messageboxes
V_x_c = 0
V_width = 0
V_Area = 0
V_y = 0
y0_mean = 0
Kalpha2 = 0.179285//Cu wavelengths
Kalpha1 = 0.1788965
Kalpha = (Kalpha2+2*Kalpha1)/3
//FFT filter data
FFTdata = fft(Data(2,:))
a = real(FFTdata)
b = imag(FFTdata)
a(find(abs(a)<mean(abs(a))*FFTcutOFF))=0
b(find(abs(b)<mean(abs(b))*FFTcutOFF))=0
c = complex(a, b)
//inverse FFT to get filtered data
Filtered = fft(c, 1)
//get d and dd of Filtered data
dFiltered = diff(Filtered)
dFiltered = [dFiltered(1), dFiltered]
ddFiltered = diff(dFiltered)
ddFiltered = [ddFiltered(1), ddFiltered]
if plot_ok then
figure(0)
clf();
plot(Data(1,:),Data(2,:))
plot2d(Data(1,:), Filtered)
end
//find all starts and ends
starts = find(dFiltered>(d_tsh_modifier*sqrt(2*max(dFiltered))))
ends = find(dFiltered<-(d_tsh_modifier*sqrt(2*max(dFiltered))))
//reset variables
peak = []
peakstart = []
peakend = []
nonpeak = []
n = 0
done = 0
if plot_ok then
figure(0)
end
//find peaks between starts and ends
while (done == 0) & length(starts) & length(ends)
n = n+1
peakstart(n) = min(starts) //peaks start from the first +diff above threshold
ends = ends(find(ends>min(starts)))
starts = starts(find(starts>min(ends))) //+diff set for peak n is removed
if length(starts) == 0 then
done = 1 //done when all +diff sets have been removed
peakend(n) = max(ends) //when done find last peak end
else
peakend(n) = max(ends(find(ends<min(starts)))) //if more peaks exist, peak end is the last -diff
//below threshold and below next peak start
ends = ends(find(ends>min(starts))) //-diff set for peak n is removed
end
peak(n) = find(ddFiltered==min(ddFiltered(peakstart(n):peakend(n))))//peak position is the lowest -ddiff
//in respective peak area
//map the region without peaks
//peak skirt increases range that belongs to peaks
if n == 1 then
nonpeak = 1:(peakstart(n)-peak_skirt)
end
if n > 1 then
nonpeak = [nonpeak, (peakend(n-1)+peak_skirt):(peakstart(n)-peak_skirt)]
end
if done ==1 then
nonpeak = [nonpeak, (peakend(n)+peak_skirt):length(Data(1,:))]
end
//plot peak positions (Data and filtered already plotted)
if plot_ok then
plot2d([Data(1,peak(n)),Data(1,peak(n))],[0,max(Data(2,:))])
plot2d(Data(1,peakstart(n)),Data(2,peak(n))/8+min(Data(2,:)),-1)
plot2d(Data(1,peakend(n)),Data(2,peak(n))/8+min(Data(2,:)),-1)
end
end
//Promt if nr of peaks are correct------------------------------------------
if plot_ok then
peaks_ok = messagebox("Peaks OK?", "modal", "question", ["Yes" "too few" "too many" "FFT wavy" "FFT noisy" "manual"])
if peaks_ok ~= 1 then
if peaks_ok == 0 then
abort
end
if peaks_ok == 2 then
d_tsh_modifier = d_tsh_modifier*0.9
[V_x_c, V_width, V_Area, V_y, y0_mean] = find_peaks(Data, d_tsh_modifier, s_peakskirt_mod, FFTcutOFF, plot_ok, g_factor, iterations)
[V_x_c, V_width, V_Area, V_y, y0_mean] = return(V_x_c, V_width, V_Area, V_y, y0_mean)
end
if peaks_ok == 3 then
d_tsh_modifier = d_tsh_modifier*1.1
[V_x_c, V_width, V_Area, V_y, y0_mean] = find_peaks(Data, d_tsh_modifier, s_peakskirt_mod, FFTcutOFF, plot_ok, g_factor, iterations)
[V_x_c, V_width, V_Area, V_y, y0_mean] = return(V_x_c, V_width, V_Area, V_y, y0_mean)
end
if peaks_ok == 4 then
FFTcutOFF = FFTcutOFF*0.9
[V_x_c, V_width, V_Area, V_y, y0_mean] = find_peaks(Data, d_tsh_modifier, s_peakskirt_mod, FFTcutOFF, plot_ok, g_factor, iterations)
[V_x_c, V_width, V_Area, V_y, y0_mean] = return(V_x_c, V_width, V_Area, V_y, y0_mean)
end
if peaks_ok == 5 then
FFTcutOFF = FFTcutOFF*1.1
[V_x_c, V_width, V_Area, V_y, y0_mean] = find_peaks(Data, d_tsh_modifier, s_peakskirt_mod, FFTcutOFF, plot_ok, g_factor, iterations)
[V_x_c, V_width, V_Area, V_y, y0_mean] = return(V_x_c, V_width, V_Area, V_y, y0_mean)
end
if peaks_ok == 6 then
figure(0)
clf();
plot(Data(1,:),Data(2,:))
plot2d(Data(1,:), Filtered)
title("Click peaks to mark them. Click right of Figure: OK, left: Cancel")
show_window(); //put the window on the top
[b,xc,yc]=xclick();
n = 0
peak = []
peakstart = []
peakend = []
while (min(Data(1,:)) < xc) & (xc < max(Data(1,:)))//get clicks until click outside graph
n = n+1
peak(n) = floor((xc-min(Data(1,:)))/(Data(1,2)-Data(1,1)))
peakstart(n) = peak(n) - floor(0.5/(Data(1,2)-Data(1,1)))
peakend(n) = peak(n) + floor(0.5/(Data(1,2)-Data(1,1)))
if peakstart(n) < 1 then
peakstart(n) = 1
end
if peakend(n) > length(Data(1,:)) then
peakend(n) = length(Data(1,:))
end
plot2d([Data(1,peak(n)),Data(1,peak(n))],[0,max(Data(2,:))])
plot2d(Data(1,peakstart(n)),Data(2,peak(n))/8+min(Data(2,:)),-1)
plot2d(Data(1,peakend(n)),Data(2,peak(n))/8+min(Data(2,:)),-1)
[b,xc,yc]=xclick();
end
if xc < min(Data(1,:)) then //restart if click left of figure
[V_x_c, V_width, V_Area, V_y, y0_mean] = find_peaks(Data, d_tsh_modifier, s_peakskirt_mod, FFTcutOFF, plot_ok, g_factor, iterations)
end
if xc > max(Data(1,:)) then //peaks OK if click right of figure
peaks_ok = 1
for i = 1:length(peak)
if i == 1 then
nonpeak = 1:(peakstart(i)-peak_skirt)
end
if i > 1 then
nonpeak = [nonpeak, (peakend(i-1)+peak_skirt):(peakstart(i)-peak_skirt)]
end
if i == length(peak) then
nonpeak = [nonpeak, (peakend(i)+peak_skirt):length(Data(1,:))]
end
end
end
end
if peaks_ok ~= 1 then
[V_x_c, V_width, V_Area, V_y, y0_mean] = return(V_x_c,V_width,V_Area,V_y, y0_mean)
end
end
end
//mark Kalpha 2 peaks
Kalpha2peaks = []
n = 1
if length(peak) > 1 then
for i = 2:length(peak)
Kalpha1peak = 360.*asin(Kalpha1./(2.*(Kalpha2./(2.*sin(%pi*Data(1,floor(abs(peak(i))))./(360))))))./(%pi)
if abs(Data(1,peak(i-1))-Kalpha1peak) < 0.05 then
Kalpha2peaks(n) = i;
n = n+1;
end
end
end
//Pearson VII prelimerary parameter evaluation------------------------------
x = [Data(1, nonpeak)', ones(length(Data(1, nonpeak)'),1)]
y = Data(2, nonpeak)'
z = x\y //find y0 by least squares on nonpeak regions
y0_a = z(1)
y0_b = z(2)
x = Data(1,:)
y0 = x.*y0_a+y0_b
y0_1 = min(Data(1,:))*y0_a+y0_b
y0_2 = max(Data(1,:))*y0_a+y0_b
//reset values
x_c = []
Area = []
width = []
y = y0
n = 1
m = 0
for i = 1:length(peak) //find x_c, width, Area for non Kalpha2 peaks
if i ~= Kalpha2peaks(n) then
m = m+1
if length(peak)-i > 0 then
if i+1 == Kalpha2peaks(n) then //fit using Kaplha1 peak position if next peak is Kalpha2
x_c(m) = Data(1,peak(i))
else //convert to Kaplha peak position if peak contains Kalpha 2
x_c(m) = 360.*asin(Kalpha1./(2.*(Kalpha./(2.*sin(%pi*Data(1,peak(i))./(360))))))./(%pi)
end
else //convert to Kaplha peak position if peak contains Kalpha 2
x_c(m) = 360.*asin(Kalpha1./(2.*(Kalpha./(2.*sin(%pi*Data(1,peak(i))./(360))))))./(%pi) //Kaplha 1 peak position
end
Area(m) = inttrap(Data(1,peakstart(i):peakend(i)), Filtered(peakstart(i):peakend(i)) - y0(peakstart(i):peakend(i)))/1.35//Peak area estimate
width(m) = (Data(1,peakend(i))-Data(1,peakstart(i)))/3 //Peak width estimate
else
n = n +1
end
end
//evaluate y with all x_c peaks by Pearson VII
y = y_func(x, x_c, width, Area, y0_a, y0_b)
if plot_ok then //plot fitted curve over XRD data
figure(0)
clf();
plot(x, Data(2,:))
plot2d(x, y)
end
//Peak Fitting--------------------------------------------------------------
printf("Error = %f \n", inttrap(x,(Data(2,:)-y).^2))
//continue_fitting = messagebox("Continue fitting?", "modal", "question", ["Yes" "No" "fit y0"])
gamma_x = [] //set fit step sizes (gamma)
gamma_w = []
gamma_A = []
for i = 1:length(x_c)
gamma_x(i) = 0.0000004*g_factor
gamma_w(i) = width(i)/800000*g_factor
gamma_A(i) = Area(i)/600000*g_factor
end
gamma_y0_1 = y0_1/300*g_factor
gamma_y0_2 = y0_2/300*g_factor
ErrorNew = inttrap(x,(Data(2,:)-y).^2)
ErrorOld = ErrorNew*2
iteration = 1
done = 0
//Main part of fitting
//ErrorOld/ErrorNew > 1.000001) | (ErrorOld/ErrorNew < 1
while (~done)
iteration = iteration + 1
ErrorOld = ErrorNew
for i = 1:length(x_c)//get the dE gradient for all parameters
x_temp = x_c
x_temp(i) = x_temp(i) + gamma_x(i)
dEdx(i) = (inttrap(x,(Data(2,:)-y_func(x, x_temp, width, Area, y0_a, y0_b)).^2) - ErrorNew)
x_temp = x_c
x_temp(i) = x_c(i) - (gamma_x(i) * dEdx(i))
y_temp = y_func(x, x_temp, width, Area, y0_a, y0_b)
ErrorNew_temp = inttrap(x,(Data(2,:)-y_temp).^2)
if ErrorNew_temp < ErrorNew then
x_c = x_temp
ErrorNew = ErrorNew_temp
gamma_x(i) = gamma_x(i) * 5
else
gamma_x(i) = gamma_x(i) * 0.5
end
w_temp = width
w_temp(i) = w_temp(i) + gamma_w(i)
dEdw(i) = (inttrap(x,(Data(2,:)-y_func(x, x_c, w_temp, Area, y0_a, y0_b)).^2) - ErrorNew)
w_temp = width
w_temp(i) = width(i) - (gamma_w(i) * dEdw(i))
y_temp = y_func(x, x_c, w_temp, Area, y0_a, y0_b)
ErrorNew_temp = inttrap(x,(Data(2,:)-y_temp).^2)
if ErrorNew_temp < ErrorNew then
width = w_temp
ErrorNew = ErrorNew_temp
gamma_w(i) = gamma_w(i) * 5
else
gamma_w(i) = gamma_w(i) * 0.5
end
A_temp = Area
A_temp(i) = A_temp(i) + gamma_A(i)
dEdA(i) = (inttrap(x,(Data(2,:)-y_func(x, x_c, width, A_temp, y0_a, y0_b)).^2) - ErrorNew)
A_temp = Area
A_temp(i) = Area(i) - (gamma_A(i) * dEdA(i))
y_temp = y_func(x, x_c, width, A_temp, y0_a, y0_b)
ErrorNew_temp = inttrap(x,(Data(2,:)-y_temp).^2)
if ErrorNew_temp < ErrorNew then
Area = A_temp
ErrorNew = ErrorNew_temp
gamma_A(i) = gamma_A(i) * 5
else
gamma_A(i) = gamma_A(i) * 0.5
end
end
y0_1_temp = y0_1
y0_1_temp = y0_1_temp + gamma_y0_1
x_y0 = [min(Data(1,:)), max(Data(1,:))]
y_y0 = [y0_1_temp, y0_2]
z_y0 = x_y0\y_y0 //find y0 by least squares on nonpeak regions
y0_a_temp = z_y0(1)
y0_b_temp = z_y0(2)
dEdy0_1 = (inttrap(x,(Filtered - y_func(x, x_c, width, Area, y0_a_temp, y0_b_temp)).^2) - ErrorNew)
y0_1_temp = y0_1 - (gamma_y0_1 * dEdy0_1)
x_y0 = [min(Data(1,:)), max(Data(1,:))]
y_y0 = [y0_1_temp, y0_2]
z_y0 = x_y0\y_y0 //find y0 by least squares on nonpeak regions
y0_a_temp = z_y0(1)
y0_b_temp = z_y0(2)
y_temp = y_func(x, x_c, width, Area, y0_a_temp, y0_b_temp)
ErrorNew_temp = inttrap(x,(Data(2,:)-y_temp).^2)
if ErrorNew_temp < ErrorNew then
y0_1 = y0_1_temp
y0_a = y0_a_temp
y0_b = y0_b_temp
ErrorNew = ErrorNew_temp
gamma_y0_1 = gamma_y0_1 * 5
else
gamma_y0_1 = gamma_y0_1 * 0.5
end
y0_2_temp = y0_2
y0_2_temp = y0_2_temp + gamma_y0_2
x_y0 = [min(Data(1,:)), max(Data(1,:))]
y_y0 = [y0_1, y0_2_temp]
z_y0 = x_y0\y_y0 //find y0 by least squares on nonpeak regions
y0_a_temp = z_y0(1)
y0_b_temp = z_y0(2)
dEdy0_2 = (inttrap(x,(Filtered - y_func(x, x_c, width, Area, y0_a_temp, y0_b_temp)).^2) - ErrorNew)
y0_2_temp = y0_2 - (gamma_y0_2 * dEdy0_2)
x_y0 = [min(Data(1,:)), max(Data(1,:))]
y_y0 = [y0_1, y0_2_temp]
z_y0 = x_y0\y_y0 //find y0 by least squares on nonpeak regions
y0_a_temp = z_y0(1)
y0_b_temp = z_y0(2)
y_temp = y_func(x, x_c, width, Area, y0_a_temp, y0_b_temp)
ErrorNew_temp = inttrap(x,(Data(2,:)-y_temp).^2)
if ErrorNew_temp < ErrorNew then
y0_2 = y0_2_temp
y0_a = y0_a_temp
y0_b = y0_b_temp
ErrorNew = ErrorNew_temp
gamma_y0_2 = gamma_y0_2 * 5
else
gamma_y0_2 = gamma_y0_2 * 0.5
end
y = y_func(x, x_c, width, Area, y0_a, y0_b)//evaluate new y
ErrorNew = inttrap(x,(Data(2,:)-y).^2)
printf("Error = %f ", ErrorNew)
printf("peak = %f ", x_c)
printf("\n")
//continue_fitting = messagebox("Continue fitting?", "modal", "question", ["Yes" "No" "fit y0"])
if iteration >= iterations then
done = 1
if plot_ok then //plot new fitted curve over XRD data
figure(0)
clf()
plot(x, Data(2,:))
plot2d(x, y)
end
if plot_ok then //ask if fitting is satisfactory 1 2 3 4 5 6
fitting_ok = messagebox("Fitting OK?", "modal", "question", ["Yes" "gamma+" "gamma-" "manual y0" "use filtered" "Abort"])
end
if fitting_ok == 4 then
done = 0
iteration = 1
figure(0)
title("Click two y0 points to manually fit to")
show_window(); //put the window on the top
[b,xc,yc]=xclick();
y0_1 = yc
[b,xc,yc]=xclick();
y0_2 = yc
x_y0 = [min(Data(1,:)), 1; max(Data(1,:)),1]
y_y0 = [y0_1; y0_2]
z_y0 = x_y0\y_y0 //find y0 by least squares on nonpeak regions
y0_a = z_y0(1)
y0_b = z_y0(2)
printf("y0_ 1 2 = %f, %f. z = %f, %f.\n",y0_1, y0_2, z_y0(1), z_y0(2))
y = y_func(x, x_c, width, Area, y0_a, y0_b)//evaluate new y
if plot_ok then //plot new fitted curve over XRD data
figure(0)
clf()
plot(x, Data(2,:))
plot2d(x, y)
end
end
end
end
//error is evaluated by inttrap(x,(Data(2,:)-y).^2)
if plot_ok then
if fitting_ok == 6 then
[V_x_c, V_width, V_Area, V_y, y0_mean] = return(0,0,0,0)
end
if fitting_ok == 0 then
abort
end
if fitting_ok == 2 then
g_factor = g_factor*3
[V_x_c, V_width, V_Area, V_y, y0_mean] = find_peaks(Data, d_tsh_modifier, s_peakskirt_mod, FFTcutOFF, plot_ok, g_factor, iterations)
[V_x_c, V_width, V_Area, V_y, y0_mean] = return(V_x_c, V_width, V_Area, V_y, y0_mean)
end
if fitting_ok == 3 then
g_factor = g_factor*0.2
[V_x_c, V_width, V_Area, V_y, y0_mean] = find_peaks(Data, d_tsh_modifier, s_peakskirt_mod, FFTcutOFF, plot_ok, g_factor, iterations)
[V_x_c, V_width, V_Area, V_y, y0_mean] = return(V_x_c, V_width, V_Area, V_y, y0_mean)
end
if fitting_ok == 5 then
Data = [x; Filtered]
[V_x_c, V_width, V_Area, V_y, y0_mean] = find_peaks(Data, d_tsh_modifier, s_peakskirt_mod, FFTcutOFF, plot_ok, g_factor, iterations)
[V_x_c, V_width, V_Area, V_y, y0_mean] = return(V_x_c, V_width, V_Area, V_y, y0_mean)
end
end
V_y = y //return values and end
V_x_c = x_c
V_width = width
V_Area = Area
y0_mean = (y0_1+y0_2)/2
endfunction
|
c3117fe9a1853a3dd08b5ed03b4eac39c2a764b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.38.b/EX_2_38_b.Sce | 9dfc001733a5de1006f1bf7c6083634d345dccb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | EX_2_38_b.Sce | // Example 2.38.b:S
clc;
clear;
close;
Beta=180;//Common emitter D.C. Current gain
Re=0.199;// Collector resistance in killo ohms
R1=5.76;// resistance in killo ohms
R2=34.67;// resistance in killo ohms
Rb=(R1*R2)/(R1+R2);
S=(1+Beta)/(1+Beta*(Re/(Re+Rb)));
disp(S,"Stability factor in self bias case is")
|
73f113dbe671ef7d462e278edeb3ee8a19b3c530 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.32/ex32.sce | 60055d7b67329ec2ef975aa767575ddc130f4110 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | ex32.sce | clc
clear
//Input data
P1=1.5;//Thermometric properties at ice point
P2=7.5;//Thermometric properties at steam point
P3=3.5;//Thermometric property
//Calculations
A=[log(P2) 1
log(P1) 1] //Coefficient matrix
B=[100
0] //Constant matrix
X=inv(A)*B //Inverse matrix
t=(X(1)*log(P3)+X(2));//Required temperature in degree C
//Output
printf('The required temperature is %3.6f degree C',t)
|
69b55706533666db4abe0496b8693bd2ab4f1170 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH14/EX14.13/14_13.sce | ae69f90b0c807faada1a387c8524ea3fd26c6ae7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | 14_13.sce | clear;
clc;
f1=1000;f2=4000;Rk=600;
C1=(f2-f1)/(4*%pi*Rk*f1*f2);
L1=Rk/(%pi*(f2-f1));
C2=1/(%pi*Rk*(f2-f1));
L2=Rk*(f2-f1)/(4*%pi*f1*f2);
printf("The elements of the prototype band pass filter are:\n");
printf(" L1 = %f mH\n",fix(L1*(10^5))/100);
printf(" C1 = %f microfarads\n",round(C1*(10^11))/10^5);
printf(" L2 = %f mH\n",round(L2*(10^4))/10);
printf(" C2 = %f microfarads",round(C2*(10^10))/10^4);
|
22cae996f4b5eaa5aa1d18b67dd946e0c0218f38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.39/18_39.sce | 963c1976de02c8ab93296cf6a93b58b2a074704c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | 18_39.sce | //ques-18.39
//Calculating values of q and w and U for conversion of water to steam
clc
n=1;//moles of water
P=1;//pressure (in atm)
L=540;//latent heat of steam (in cal/g)
T1=273; T2=373;//temperature (in K)
V1=22.4;//volume (in L)
q=n*18*L;
V2=(V1*T2)/T1;
w=-P*V2;//neglecting V1 (in L atm)
w=w*24.2;//(in cal)
U=q+w;
printf("q=%.2f kcal, w=%.1f cal and change in internal energy is %.4f kcal.",q/1000,w,U/1000);0
|
1b03dfa8a703d8f9252373d39ae51b3e7bc66219 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH12/EX12.11/Ex12_11.sce | 85c0af1ef78a94c14e6bfdada59685ac35cc96fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | Ex12_11.sce | //Variable declaration:
//From example 12.9:
Cp = 4127.0 //heat capacity (J/kg . K)
DTe = 3.0 //New excess temperature (°C)
h_vap = 2.26*10**6 //latent heat of vaporization (J/kg)
//Calculation:
Ja_L = Cp*DTe/h_vap //Liquid Jakob number
//Result:
printf("The liquid Jakob number is : %.5f",Ja_L)
|
f0b662e694c50d99a74c2999cdb217ff976f2be2 | a3f79e93d5c39f8f45521c8afcbdc29b0ba4159b | /ProjetMap431/codes/question7.sce | 755f298c981b0157ec3a4753a3db0cf90fbc355f | [] | no_license | maroxe/SchoolProjects | e3a086461966f022356d952a4e4ee140c915a818 | 152a4a86ec7e04d713723607a2ec010008d7cbcf | refs/heads/master | 2021-01-21T02:35:44.285549 | 2015-07-10T12:09:01 | 2015-07-10T12:09:01 | 19,363,283 | 0 | 0 | null | 2014-11-25T12:34:41 | 2014-05-02T01:47:56 | TeX | UTF-8 | Scilab | false | false | 614 | sce | question7.sce | exec('calcul2.sce',-1)
//Méthode de Monte Carlo
M = 1000
// Uniforme
E_MC = zeros(N)
for i=1:M
mu = 0.99 * rand() + 0.01
E_MC = E_MC + resoudre2(mu)
end
E_MC = E_MC/M
U_mu_bar = resoudre2( (1+0.01)/2)
a=gca();
a.font_size=4;
a.thickness=2;
plot2d(mailles, [E_MC U_mu_bar], 1:2)
legend(["$E_{MC}$"; "$U_{\mu}$"])
//Log unifomre
E_MC = zeros(N)
for i=1:M
mu = 10**(rand()*2-2)
E_MC = E_MC + resoudre2(mu)
end
E_MC = E_MC/M
U_mu_bar = resoudre2(0.99/log(100))
f1=scf(1);
scf(f1);
a=gca();
a.font_size=4;
a.thickness=2;
plot2d(mailles, [E_MC U_mu_bar], 1:2)
legend(["$E_{MC}$"; "$U_{\mu}$"])
|
f4f0a3cad125945e56090f25e7bf962b753c1d14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH6/EX6.9/Ex6_9.sce | 1db35478982704736be046fcedc202f280c3f1ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | Ex6_9.sce | //page 199
//Example 6.9
clc;
clear;
close;
disp('T is the linear operator on R^2 represented in standard order basis by matrix:');
A = [0 -1;1 0];
disp(A,'A = ');
disp('Then invariant subspaces of R^2 under T are R^2 and zero subspace');
disp('If W is invariant subspace spanned by non zero vector ''a'' means ''a'' is characteristic vector');
disp('But, A has no characteristic values');
disp('When W is invariant under T, T induces a linear operator Tw on W that is defined by');
disp('Tw(a) = T(a)');
//end
|
eeca5363615b18a46d5ab714eca4c1624df8aed5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH14/EX14.14/Ex14_14.sce | 02d20e0064f3704bb77fa96d8739c922fb90d569 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | Ex14_14.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 14 Operational Amplifiers Pg no. 442 and 443
clear;
clc;
//Given
//Figure 14.33
V1=2;V2=1;V3=5.5;V4=2.2;V5=1.1//input voltages in volts
R=50D3;//input resistances R1,R2,R3,R4 in ohms
R5=10D3;//feedback resistance in ohms
//Solution
A=-R5/R;//gain for each input
disp("(a)");
Vo=A*(V1+V2+V3+V4+V5);//output voltage in volts
printf("Normal output voltage Vo = %.2f Volts",Vo);
disp("(b)");
Vo=A*(V1+V2+V4+V5);//output voltage in volts
printf("For R3 open, output voltage Vo = %.2f Volts",Vo);
|
72f797be0bfa2e1d8163c6ecc051f311e2dcb20b | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH24/EX24.5/24_5.sce | 7b3fb648acf7b682db4507bda399a840ceb5c9c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 24_5.sce | clc;
// page no 891
// prob no 24.5
wl0=1310;//in ns
So=0.05;//in ps/(nm^2*km)
l=50;//in km
wl=1550;//in ns
d=2;//in nm
// Chromatic dispersion is given as
Dc=(So/4)*[wl-(wl0^4/wl^3)];
// Dispersion is
D=Dc*d;
// Therefore total dispersion is
dt=D*l;
disp('ps',dt,'The total dispersion is'); |
f202230d24d6694100a94ad385964ad6092db8d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.54/Ex1_54.sce | ad0c5a94e1338ab4336f8b41563bfb766590b17a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Ex1_54.sce | //Example 1_54
clc();
clear;
//To find the wavelength of the light
R=70 //units in cm
//Diameter of the 10th dark ring
D=0.433 //units in cm
n=10
lamda=D^2/(4*R*n) //units in cm
printf("The wavelength of the light is %f cm",lamda)
|
221159e39d14a2e1aa1f3d3c8112ddcb30ab76da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH2/EX2.23/ex2_23.sce | f924a5194c9882d71cf600cc614c3cfa2faf0ba9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | ex2_23.sce | // Exa 2.23
format('v',7);clc;clear;close;
// Given data
Vrange= 600;//range in V
del_A= 2.5*Vrange/100;//limiting error at full scale in V
V= 400;//voltage in V
PerError= del_A/V*100;//percentage error in %
disp("The limiting error is : ± "+string(PerError)+" %")
|
dcdd1d6979a1f9f2bdb1f765b4f99ee9f80cb110 | 449d555969bfd7befe906877abab098c6e63a0e8 | /36/DEPENDENCIES/prob9_14data.sci | 532bbb8ee0ea979a48074d827a4f337fa4d84f08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sci | prob9_14data.sci | //problem 9-14 data
//defining balnk arrays
blank = part(emptystr(),1:1);
blank6=[blank,blank,blank,blank,blank,blank];
blank5=[blank,blank,blank,blank,blank];
blank2=[blank,blank];
blank3=[blank,blank,blank]; |
e3333950f0f7b384b46062eedb633df86e742aaa | 717ddeb7e700373742c617a95e25a2376565112c | /830/CH3/EX3.2.9/Convolution_Property.sce | 00a1328e24294b24b9b34c40fa64f38fc1d128d1 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 231 | sce | Convolution_Property.sce | //Graphical//
//Example 3.2.9
//Convolution Property Proof
clear;
clc;
close;
x1 = [1,-2,1];
n1 = 0:length(x1)-1;
X1 = ztransfer_new(x1,n1)
x2 = [1,1,1,1,1,1];
n2 = 0:length(x2)-1;
X2 = ztransfer_new(x2,n2)
X = X1.*X2
|
84e435bf000b28f3ea42b6e430acf0b3705f3f2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH5/EX5.22/exp5_22.sce | 0df629af43806c26251c7630b920df492150ca9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | exp5_22.sce | //Example 5.22
clc
disp("P = 6, f = 50 Hz, s_0 = 1%, s_a = 3%")
ns=(120*50)/6
format(5)
disp(ns,"(a) N_s(in r.p.m) = 120f/P = ...Synchronous speed")
n=1000*(1-0.01)
format(4)
disp(n,"(b) N_0(in r.p.m) = N_s*(1-s_0) = ...No load speed")
n=1000*(1-0.03)
format(6)
disp(n,"(c) N_ft(in r.p.m) = N_s*(1-s_a) = ...Full load speed")
disp("(d) Frequency of rotor current at standstill = f = 50 Hz")
sa=0.03*50
disp(sa,"(e) Frequency of rotor current at full load(in Hz) = s_a*f =")
|
5109f3ed18b1022d1b6a2c390be5e118ee86ea9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH12/EX12.5/ex12_5.sce | 111df2a0ab6aae3486b14a6da8646f8e961efa5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex12_5.sce | clc;
clear all;
n1 = 1.50; // Refractive index of core
NA = 0.26 ; // Numerical Aperture
d = 100e-6; // Diameter of core in fiber in meter
lambda = 1e-6; // Wavelength of source in meter
n2 = sqrt(n1^2-NA^2); //The refractive index of cladding
disp('',n2,'The refractive index of cladding is')
ia = asind(NA);// Critical Angle
disp('Degrees',ia,'The acceptace angle is')
N = 4.9*((d*NA)/lambda)^2 // Number of modes propogating through fiber is
disp('',N,'Number of modes propogating through fiber is')
|
463117742dc256cb1fc2017f75410253f51047aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH6/EX6.9/6_9.sce | 67a37420f80cc6caccf2ec19a387d8588dd321f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sce | 6_9.sce | T1 = 1000;
W = 1000; // in W
K = 5.67e-08;
Amin = (256*W)/(27*K*T1^4);
disp("m2",Amin,"Area of the panel") |
b3c3c068bf1e4a3eb04f25dad5fe50c788b3748f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH23/EX23.31.1/Ex23_1.sce | 6cdd8afb462f13b9c2afa51ca3844d4f5ba6e602 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex23_1.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 23 Lasers,Fibre Optics,and Holography
clc
clear
y=630*10^(-9)//y=emitted wavelength in meters
c=3*10^8//c=velocity of light in free space in m/s
v=c/y//v=frequency of the emitted radiation
format("v",9)
disp("The frequency of the emitted radiation is")
disp("Hz",v,"v=")
h=6.62*10^(-34)//h=Planck's constant
P=1*10^(-3)//P=output power of gas laser(given)
n=P/(h*v)
format("v",9)
disp("s^-1",n,"The number of photons emitted per second is=")
|
96ea34cefe6256efa9e39816a80a1bc9058aa19b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH9/EX9.6/ch9_6.sce | b0958ca22f84704d441dffb0505a71e48bd24c89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ch9_6.sce | clc
clear
V=230;
R=3;//ohm
X_L=5;//ohm
a=120;//firing angle delay
phi=atand(X_L/R);
b=0;
i=1;
while i>0;
LHS=sind(b-a);
RHS=sind(a-phi)*exp(-(R/X_L)*(b-a)*%pi/180);
if abs(LHS-RHS)<=.01;
B=b;
i=2;
break;
end
b=b+.1
end
printf("extinction angle=%.1f deg",B);//answer in the book is wrong as formulae for RHS is wrongly employed
V_or=sqrt(2)*V*sqrt((1/(2*%pi))*((B-a)*%pi/180+(sind(2*a)-sind(2*B))/2));
printf("\nrms value of output voltage=%.2f V",V_or);//answer do not match due to wrong B in book |
2991608ea0ad56b93821c1f57dacaac367dbc132 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH8/EX8.5/example5_sce.sce | c3683131dfeafd49abcec8f99dbc99f38be43127 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | example5_sce.sce | //chapter8
//example8.5
//page301
T=10*10^-3;//for proper operation of LED which remain ON for 10msec
C=.22*10^-6//choose
Vcc=15;Vbe=.7;Vcesat=.2;//given
Vled=1.4;Iled=20*10^-3;
//T=1.1RC
R=T/(1.1*C);
disp(R)
Vo=Vcc-2*Vbe-Vcesat;//output of timer
disp(Vo)
Rled=(Vo-Vled)/Iled;
disp(Rled)//this resistance must be in series whit LED
f=1000;D=95;//for an astable timer
C1=.01*10^-6;
R1=%s;R2=%s;
f=1.44/(R1+2*R2)*C;//frequency--------------eq(1)
D=(R1+R2)/(R1+2*R2)//duty cycle-------------eq(2)
R2=.0555*R1;//from eq(2)
//put it in eq(1)
R1=144*10^3/(1+2*.0555);
disp(R1)
R2=.0555*R1;
disp(R2) |
64688fa6b5ec20ee57b698fa17faebedb087d6c4 | b8dc9223c86ac7eb160a5658af367b59be4ceb1e | /main.sce | 03cdac298ef27001886a403f84c5cc3be7ef7bf3 | [
"MIT"
] | permissive | tarsisn/Cnum1 | 9238e77c0148eea4a2ad3c1ff97e32e82296e1cd | 249b15db34fd611518a6d31ec423d02cea66ae2d | refs/heads/master | 2021-02-24T02:40:36.376108 | 2020-03-12T11:13:34 | 2020-03-12T11:13:34 | 245,417,700 | 0 | 0 | null | 2020-03-06T12:46:08 | 2020-03-06T12:46:08 | null | UTF-8 | Scilab | false | false | 235 | sce | main.sce | // carregar variável do arquivo
load("input.dat", "N");
a = ((2*N)/3)/13;
V1 = round(100*a)/100;
V2 = round(1000*a)/1000;
V3 = round(10000*a)/10000;
// salvar o valor das variáveis em arquivo
save("output.dat", "V1", "V2", "V3");
|
ed882c33ab6e4614c6665e0e62b36210c832aacf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH12/EX12.3/C12P3.sce | 22cba380d799692eff6bd3d3b5211037515d4899 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | C12P3.sce |
clear
clc
//to find speed of ball
// GIVEN:
//refer to figure 12-1
//compression in spring
d = 3.2e-2//in meters
//mass of ball
m = 12e-3//in Kg
//force constant of spring
k = 7.5//in N/cm
// SOLUTION:
//applying conservation of energy principle
//speed of ball
vm = d*sqrt((k*10^2)/m)//in m/s
printf ("\n\n Speed of ball vm = \n\n %.1f m/s",vm)
|
9409a0ef31222854331364550964320089f07fb3 | f20589af0de35730c2668a09ba1b922094886448 | /part1/lab8/test1c.tst | d8df110591ba04dd208493b8a1968fff82d254d5 | [] | no_license | BorisVeprintzev/labolatory | 5db38693df92bbf1b9e3daff35fefb67195c7ab8 | 26050b46df8121dc698673329a14e1640e2b3862 | refs/heads/master | 2020-05-28T04:22:26.653440 | 2019-05-27T16:55:02 | 2019-05-27T16:55:02 | 188,878,237 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12 | tst | test1c.tst | 4 5 7 10 20
|
ebef5b5a96b777738e74518560125b998c51eb51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH4/EX4.1/Ex4_1.sce | b2a6fe50917cf4c588408b797ed15079b00aae3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | Ex4_1.sce | //Example 4.1
clc
clear
A = [2 3 2; 4 3 5; 3 2 9];
v = [1; 1; 1];
iter = 1;
maxit = 5;
while(1)
u(:,iter) = A * v(:,iter);
q(iter) = max(u(:,iter));
v(:,iter+1) = u(:,iter) / q(iter);
if iter == maxit then
break
end
iter = iter + 1;
end
X = round(v(:,iter)*10^2) / 10^2;
disp(X,"Eigen Vector:")
|
41e2a4da8984d4e698e4e545fff2e625eeef9f7f | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_TOOLS.SCI | abc66f6ad45493b27a7eeabbeeea33be135c5870 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 6,807 | sci | _TOOLS.SCI |
function WaitReleaseAll()
{
while UIIsLeftMouseButtonDown or UIIsRightMouseButtonDown or (abs(NavigationMove.z)>0.004) or
UIIsKeyDown("return") or UIIsKeyDown("escape") do
delay(0.05);
}
function LeftMouseClicked()
{
if not(UIIsLeftMouseButtonDown) then return(false);
while UIIsLeftMouseButtonDown do delay(0.05);
return(true);
}
function RightMouseClicked()
{
if not(UIIsRightMouseButtonDown) then return(false);
while UIIsRightMouseButtonDown do delay(0.05);
return(true);
}
function navigatorpressing()
{
return(NavigationMove.z>0.014);
}
function navigatorpulling()
{
return(NavigationMove.z<-0.005);
}
function T_scene_create_named(scenename)
{
#resetallscenes;
lst=root.getmembers;
foreach member in lst do {
if (typeof(member)=="Scene") and ((member.Name!="PSC") or (member.name==scenename)) then
DelObject(member);
}
resetallvideos;
vp=root.Viewports.main;
vp.Framesize=0;
# !!! moet hier staan: ?
# vp.XMinFrac=0;vp.XMaxFrac=1;
# vp.YMinFrac=0;vp.YMaxFrac=1;
vp.camerapos=point(0,6,10);
vp.cameradir=vecnorm(point(0,0,0)-vp.camerapos);
vp.cameraupdir=vector(0,1,0);
vp.enableusernavigation=true;
vp.EnableUserTimeControl=true;
vp.EnableUserStop=true;
vp.NearClipPlane=0.05;
vp.FarClipPlane=30;
vp.FocalDistance=10;
vp.Aperture=0.785398175;
vp.FadeColor=color(0,0,0,0);
vp.erasebackground=false;
vp.showcontrols=true;
vp.Transf.reset;
sc=addscene;sc.name=scenename;
sc.light0pos=point(50,50,100);
vp.setscene(sc);
sc.ambientlightcolor=color(0.1,0.1,0.1);
sc.start;
universe=sc.addsubframe("Universe");
root.time=time(2008,1,1,0,0,0);
root.TimeSpeedFactor=1;
root.pauzed=false;
root.showcontrols=true;
root.mousedampingfactor=0.85;
return(Universe);
}
function T_scene_create()
{
return(T_scene_create_named("SC"));
}
function T_getrootframe()
{
return(root.SC.Universe);
}
function T_getscene()
{
return(root.SC);
}
function T_getviewport()
{
return(root.Viewports.main);
}
function T_createdialogframe()
{
ldialogframe=T_getrootframe.addscreenframe("DialogFrame");
ldialogframe.enablelight=false;
ldialogframe.BlendType=BlendTranslucent;
ldialogframe.DepthMask=DepthMaskDisable;
ldialogframe.color=color(1,1,1,0.5);
return(ldialogframe);
}
function T_createmenu(title,usemouse)
{
lmenuframe=T_getrootframe.addscreenframe("MenuFrame");
lmenuframe.enablelight=false;
lmenuframe.BlendType=BlendTranslucent;
lmenuframe.DepthMask=DepthMaskDisable;
lmenuframe.DepthTest=DepthTestDisable;
lmenuframe.color=color(1,1,1,0.75);
lmenu=lmenuframe.add("MenuControl","Name":"Menu","Position":point(0.01,0.99),"Size":0.027,"SizeX":0.2);
if isvardefined("title") then {
lmenu.position=point(0.1,0.9);
txt=lmenuframe.add("TextControl","Name":"Title","Position":point(0.1,0.92),"Size":0.05,"Content":title);
txt.color=color(0.8,0.8,0.8);
activatecontrol(lmenu);
}
if isvardefined("usemouse") then if usemouse then {
root.mousedampingfactor=0.25;
root.SC.Universe.MenuFrame.EnabeMouseArrow(point(0.5,0.5),point(0,0),point(1.3,1),0.03);
}
return(lmenu);
}
function T_delmenu()
{
if root.SC.Universe.MenuFrame.Menu.SelectID=="[Close]" then stop;
root.SC.Universe.MenuFrame.dispose;
}
function T_getmenu()
{
return(root.SC.Universe.MenuFrame.Menu);
}
function T_menu_appendclose()
{
root.SC.Universe.MenuFrame.Menu.Add("","","-");
root.SC.Universe.MenuFrame.Menu.Add("",'[Close]',"[Close]");
}
function wait(secs)
{
chr=chrono;
while chr.elapsed<secs do {
render;
}
}
function fadeout(secs)
{
chr=chrono;
while chr.elapsed<secs do {
root.Viewports.main.fadecolor=color(0,0,0,chr.elapsed/secs);
render;
}
root.Viewports.main.fadecolor=color(0,0,0,1);
render;
}
function fadein(secs)
{
chr=chrono;
while chr.elapsed<secs do {
root.Viewports.main.fadecolor=color(0,0,0,1-chr.elapsed/secs);
render;
}
root.Viewports.main.fadecolor=color(0,0,0,0);
render;
}
function CreateNewViewPort(x0,y0,x1,y1)
{
displayname=ReadSetting("DisplayName","");
if displayname=="" then displayname="\\.\DISPLAY1";
myviewport=addviewport(x0,y0,x1,y1,displayname,displayname);
myviewport.Usestereo=root.Viewports.main.Usestereo;
myviewport.SwapStereo=root.Viewports.main.SwapStereo;
myviewport.StretchFactor=root.Viewports.main.StretchFactor;
myviewport.HMirrorLeft=root.Viewports.main.HMirrorLeft;
myviewport.HMirrorRight=root.Viewports.main.HMirrorRight;
myviewport.VMirrorLeft=root.Viewports.main.VMirrorLeft;
myviewport.VMirrorRight=root.Viewports.main.VMirrorRight;
InterleavePattern = ReadSetting("InterleavePattern", 0);
if InterleavePattern>0 then {
warpx=matrix(2,2);
warpy=matrix(2,2);
warpx(0,0)=0;warpy(0,0)=0;
warpx(1,0)=1;warpy(1,0)=0;
warpx(0,1)=0;warpy(0,1)=1;
warpx(1,1)=1;warpy(1,1)=1;
myviewport.EnableWarped(1920*2,1080*2,warpx,warpy);
}
return(myviewport);
}
function hiderendermessage()
{
root.SC.Universe.Drop("MessageFrame");
}
function rendermessage(line1,line2)
{
root.SC.Universe.Drop("MessageFrame");
msgframe=root.SC.Universe.addscreenframe("MessageFrame");
msgframe.add("Text3D","Name":"MessageBox","Position":point(0.07,0.4,0),"Content":line1,
"enablelight":false,"color":color(0.7,0.7,0.7),
"UnitX":vector(0.03,0,0),"UnitY":vector(0,0.03,0));
if isvardefined("line2") then
msgframe.add("Text3D","Position":point(0.07,0.35,0),"Content":line2,
"enablelight":false,"color":color(0.7,0.7,0.7),
"UnitX":vector(0.03,0,0),"UnitY":vector(0,0.03,0));
render;
}
function renderbasis(frame,sf)
{
fcol=color(0.7,0.7,0.7);
frame.add("Curve","EnableLight":false,"Color":fcol,"Size":2,"Arrow2Size":(sf/10)).makeline(point(0,0,0),point(sf,0,0));
txf=frame.addviewdirframe(point(1.15*sf,0,0));
txf.add("Text3D","EnableLight":false,"Color":fcol,
"UnitX":vector(sf/10,0,0),"UnitY":Vector(0,sf/10,0),"Content":"X");
frame.add("Curve","EnableLight":false,"Color":fcol,"Size":2,"Arrow2Size":(sf/10)).makeline(point(0,0,0),point(0,sf,0));
txf=frame.addviewdirframe(point(0,1.15*sf,0));
txf.add("Text3D","EnableLight":false,"Color":fcol,
"UnitX":vector(sf/10,0,0),"UnitY":Vector(0,sf/10,0),"Content":"Y");
frame.add("Curve","EnableLight":false,"Color":fcol,"Size":2,"Arrow2Size":(sf/10)).makeline(point(0,0,0),point(0,0,sf));
txf=frame.addviewdirframe(point(0,0,1.15*sf));
txf.add("Text3D","EnableLight":false,"Color":fcol,
"UnitX":vector(sf/10,0,0),"UnitY":Vector(0,sf/10,0),"Content":"Z");
}
|
47bf7949ccd52fdf58116e79a6b9765268eaa25f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/tdcs/tangent.sci | 0793168932686490bede9bbdd5046b3478943324 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 1,445 | sci | tangent.sci | //[f,g,newm]=tangent(nl_sys,xe,ue)
//[f,g,newm]=tangent(ff,xe,[ue])
// lin\'earise autour du point d'\'equilibre (xe,ue)
// le champ du syst\`eme dynamique d\'efinit par xdot=ff(t,x,[u])
// (suppos\'e en fait autonome)
// Arguments :
// ff : chaine de caract\`ere donnant le nom du syt\`eme a lin\'eriser
// x0 : vecteur colonne
// u0 : constante. \'eventuellement absente s'il n'y a pas de commande
//
// Valeurs de retour :
// f, g : deux matrices qui caract\'erisent
// le syst\`eme dynamique lin\'earis\'e -> dxdot=f.dx + g.du
// s'il n'y a pas de commande g sera nulle
// newm : une macro de type [y]=newm(t,x,u) qui d\'ecrit la dynamique
// du syt\'eme lin\'eaire obtenu. (newm(t,xe,ue)=0)
//
//!
[lhs,rhs]=argn(0)
if rhs=3,deff('[y,xdot]=fff(x,u)',['xdot='+nl_sys+'(0,x,u),y=x']);
else ue=0;deff('[y,xdot]=fff(x,u)',['xdot='+nl_sys+'(0,x),y=x']);
end
newm=0;
[yy,xx]=fff(xe,ue);
if norm(xx) >= 1.e-4,
write(%io(2),' Votre point n''est pas un point d''equilibre !!');
return
end
[f,g,h,void]=lin(fff,xe,ue);
fstr=string(f);gstr=string(g);
xestr=string(xe);uestr=string(ue);
deff('[xdot]=newm(t,x,u)',['[lhs,rhs]=argn(0);if rhs <=2,u=0;end;',...
'xdot(1)='+fstr(1,1)+'*(x(1)-('+xestr(1)+'))+('+fstr(1,2)+...
')*(x(2)-('+xestr(2)+'))+('+gstr(1)+')*(u-('+uestr+'))',...
'xdot(2)='+fstr(2,1)+'*(x(1)-('+xestr(1)+'))+('+fstr(2,2)+...
')*(x(2)-('+xestr(2)+'))+('+gstr(2)+')*(u-('+uestr+'))']);
//end
|
1391de63c0f96406ae398dc568f6d3b21a1b7de8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH15/EX15.4/example15_4.sce | 3a7096919617be48a86087c67fffffb8a76663c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example15_4.sce | clear
clc
//Example 15.4 CALCULATING DISCHARGE AND MANNING’S n USING CHEZY EQUATION
//To find Approx Value
function [A]= approx (V,n)
A= round(V*10^n)/10^n; //V-Value, n-to what place
funcprot (0)
endfunction
g=32.2; //[ft/s^2]
l=100; //width[ft]
y=4.3; //depth[ft]
A=l*y //area[ft^2]
//Estimate Rh to be y
Rh=y
f=0.13; //friction factor
So=0.003; //slope
V=approx(sqrt(8*g*Rh*So/f),2) //velocity[ft/s]
Q=approx(V*A,0) //discharge[cfs]
printf("\nThe discharge in the channel, Q = %.f cfs.\n",Q)
//Manning's n
n=1.49*A*Rh^(2/3)*So^(1/2)/Q
printf("\nThe numerical value of Mannings n for this channel = %.4f\n",n) |
716a6a66fc36b63a1f086c81ca8f2a4bdaa1a6b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH20/EX19.8/EX19_8.sce | 23cafe6b43eb5da9cb5815b689d9ce2cf1aff3a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | EX19_8.sce | // Grob's Basic Electronics 11e
// Chapter No. 19
// Example No. 19_8
clc; clear;
// A 10-H inductance L1 on an iron core produces 4 Wb of magnetic flux. Another coil L2 is on the same core. How much is k between L1 and L2?
// Given data
lf1 = 4; // Magnetic flux of coil L1=4 Wb
lf2 = 4; // Magnetic flux of coil L2=4 Wb
k = lf2/lf1;
disp (k,'The Coefficient of Coupling k between Coil L1 and Coil L2 is')
|
71c60805af145760b1c946cce750b5b5cae06b63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH9/EX9.6/9_6.sce | 54e8b9389e5e4ba0358884f998cdfe3d8d637547 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | 9_6.sce | clc
//initialisation of variables
m1= 0.2 //kg/s
v1= 1.0803 //m^3/kg
P= 200 //kPa
T= 200 //C
s1= 5.8041 //kJ.kg K
s2= 7.5066 //kJ/kg K
h1= 2870.5 //kJ/kg
h2= 2495.9 //kJ/kg
//CALCULATIONS
V1= m1*v1
V2= 0.1*V1
Q= m1*(273.15+T)*(s1-s2)
W= m1*((h1-h2)-(273.15+T)*(s2-s1))
//RESULTS
printf (' volume flow rate into composser = %.4f m^3/s',V1)
printf (' \n volume flow rate out of composser = %.4f m^3/s',V2)
printf (' \n Work = %.1f kW',W)
printf (' \n Heat = %.1f kW',Q)
|
e6575dfd7537a35bd8ac68b8dd6644b038067b85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH2/EX2.10/SSA_Ex_2_10.sce | 4df15769e9099a180d22a76d7dde5a3585c6c2dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | SSA_Ex_2_10.sce | clc
//Chapter 2:Small Signal Amplifiers
//example 2.10 page no 51
//given
Z1=1*10^3//asumming impedance value for required specification
Av=-50//voltage gain
Zf=-Av*Z1//feedback impedance
mprintf('Z1=%d K ohm \n feedback impedance (Zf)= %d K ohm',Z1*1e-3,Zf*1e-3)
|
7aceb2aade9561cb56d888a363d51c79e369b91c | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH5/EX5.7/5_7.sce | 79dbae901e247b32731b226d38e188b549204934 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | 5_7.sce | clc;
clear;
Q=1000;//ml/s
A2=30;//mm^2
rotv=600;//rpm
//mass in = mass out
w2=(Q*0.001*1000000)/(2*A2*1000);
disp("m/s",w2,"Average speed of water leaving each nozzle when sprinkle head is stationary and when it rotates with a constant speed of 600rpm =")
|
0b1357da80439f1c8f208683be7402d337103f81 | c8e1f3497e421ab8171304b956b541392620b46c | /intlinprog-optimization-algorithm/Example1.sce | 12eedd89261fe7aaca5ddf25b9d9105c9a5488f6 | [] | no_license | Prankurtiwari/Optimization-FOSSEE-project | 73ef60cb45aa1084cd0f22d14fdbd181299b3a1a | b5f0f39542e70aacdf361bdb98ceff75861b70d3 | refs/heads/master | 2022-06-24T11:57:53.047101 | 2020-05-05T14:42:26 | 2020-05-05T14:42:26 | 261,466,839 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,848 | sce | Example1.sce | //Problem to test intlinprog
//Problem taken from Higher Engineering Mathematics by B.S.Grewal 43rd Edition 2015
//A firm making castings uses electric furnace to melt iron with the following : Carbon(min=3.2%,max=3.4%),Silicon(min=2.25%,max=2.35%)
//Specifications and costs of various raw materials used for this purpose are: Steel scrap(Carbon(0.4%),Silicon(0.15%),Cost(Rs.850/tonne)),Cast Iron Scrap(Carbon(3.8%),Silicon(2.4%),Cost(Rs. 900/tonne),Remelt from foundry(carbon(3.5%),Silicon(2.3%),Cost(Rs. 500/tonne))....If the total charge of iron metal required is 4 tonnes,find the weight in kg of each raw material that can be used in the optimal mix of minimum cost.
//CODE TO TEST THE FUNCTION
clc()
//FIrst,user is asked to enter number of variables(nbVar) and number of constraints(nbCon)
nbvar=input("Enter the number of variables")
mprintf("Enter the coefficient of the variables")
for i=1:nbvar
c(i)=mscanf("%f");
end
//c=[0.85 0.9 0.5]';
nbcon=input("Enter the number of inequality constraint")
for i=1:nbcon
mprintf("Enter the coefficient of the variables for %0.1f constraint",i)
for j=1:nbvar
A(i,j)=mscanf("%f")
end
end
//A=[-0.4,-3.8,-3.5;0.4,3.8,3.5;-0.15,-2.41,-2.35;0.15,2.41,2.35];
mprintf("Enter the right side of the inequalities")
for i=1:nbcon
b(i)=mscanf("%f")
end
//b=[128*100,136*10,90*100,94*100];
lb=repmat(0,1,3);
ub=[];
nbecon=input("Enter the number of equality constraint")
for i=1:nbecon
mprintf("Enter the coefficient of the variables for %0.1f constraint",i)
for j=1:nbvar
A(i,j)=mscanf("%f")
end
end
//Aeq = [1,1,1];
mprintf("Enter the right side of the equalities\n")
for i=1:nbecon
beq(i)=mscanf("%f")
end
//beq=[40*100];
intcon = [1,2,3];
[x,f,status,output] = intlinprog(c',intcon,A,b,Aeq,beq,lb,ub)
mprintf("THE OPTIMAL VALUE OF Xs IS:")
disp(x);
mprintf("THE OPTIMAL VALUE OF OBJECTIVE FUNCTION AT THOSE X IS:")
disp(f);
//OUTPUT
//Enter the number of variables3
//Enter the coefficient of the variables
//-->0.85
//-->0.9
//-->0.5
//Enter the number of inequality constraint4
//Enter the coefficient of the variables for 1.0 constraint
//-->-0.4
//-->-3.8
//-->-3.5
//Enter the coefficient of the variables for 2.0 constraint
//-->0.4
//-->3.8
//-->3.5
//Enter the coefficient of the variables for 3.0 constraint
//-->-0.15
//-->-2.41
//-->-2.35
//Enter the coefficient of the variables for 4.0 constraint
//-->0.15
//-->2.41
//-->2.35
//Enter the right side of the inequalities
//-->12800
//-->13600
//-->9000
//-->9400
//Enter the number of equality constraint1
//Enter the coefficient of the variables for 1.0 constraint
//-->1
//-->1
//-->1
//Enter the right side of the equalities
//-->4000
//THE OPTIMAL VALUE OF Xs IS:
// 130.
// 0.
// 3870.
//THE OPTIMAL VALUE OF OBJECTIVE FUNCTION AT THOSE X IS:
// 2045.5
|
b5fd9dd114cecfd42c87dddaf9495d834a563776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH1/EX1.5/Ex1_5.sce | b85de4fec08802f8f863fde44daec575c1422b96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | Ex1_5.sce | clear
//
//
//
//Variable declaration
e=1.6*10**-19 //charge(coulomb)
r0=0.281*10**-9 //equilibrium distance(m)
a=1.748*10**-28 //madelung constant(J m**2)
n=9 //repulsive exponent value
m=1
//Calculations
Ur0=-a*(1-m/n)/(e*r0**m) //cohesive energy of NaCl(eV)
//Result
|
74831773d8187f141c2604579a75f0a2e0bce08f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/shiftdata/shiftdata8.sce | 64f74ec425e791158fd5f712377bb5c9afb25e48 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | shiftdata8.sce | //check o/p when i/p arg x is a vector
x=[1 2 3 4 5];
dim=2;
[x,perm,nshifts] = shiftdata(x,[]);
disp(x);
disp(perm);
disp(nshifts);
//output
//
// 1.
// 2.
// 3.
// 4.
// 5.
// []
//
// 1.
|
86b267cf660935f97e3313bad37c0c493099a4fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH9/EX9.11/Ex9_11.sce | 2901be805c419d731cff7a5c09de36b5875d9ebf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 624 | sce | Ex9_11.sce | clear;
clc;
b1 = 10;// inches
d1 = 6;// inches
b2 = 12;// inches
d2 = 1/2;// inches
l = 16;// feet
A_s = 11.77;// in^2
I_xxs = 204.80;// in^4
I_yys = 21.76;// in^4
A = A_s + 2*b2*d2;// in^2
I_yy = I_yys + 2*(1/12)*d2*b2^3;// in^4
k = sqrt(I_yy/A);// inches
//from the Perry-Robertson formula
n = 0.003*l*12/k;
p_e = 13000*%pi^2/((l*12)/k)^2 ;// tons/in^2
f = 18;// tons/in^2
x = 0.5*(f+p_e*(1+n));
p_0 = x - sqrt(x^2 - f*p_e);// tons/in^2
P = p_0*A;// tons
P_safe = P/2.36;// tons
printf('The safe load, P = %.1f tons',P_safe);
//there is a minute calculation error in the answer given in text book
|
a4e171cdc2a1a324d1acaea066be6de0c1bbe69c | 5ca327712aa983f063501296e094fd872b2c082a | /program/beam_width.sce | 95c395cb3cd456d88049ed1bd8217f10ddc8f2d6 | [] | no_license | hepTsukubaKT/program_und_study | e9e3b11e7ed1ef6f36cd57848f116ee7541f4032 | 96340b304436869b30e48e48c874e7e490e166a9 | refs/heads/master | 2020-03-28T14:02:08.373600 | 2018-12-04T08:33:03 | 2018-12-04T08:33:03 | 148,452,888 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,605 | sce | beam_width.sce | //////////////
//define //
//////////////
//カレントディレクトリ設定
cd 'C:\Users\tsuku\Documents\program_und_study\program'
//回折格子の溝幅
d=0.05//[mm]
d_um=50//[um]
//ブレーズアングル
theta_b=26.45
//溝数
N=1/d//[/mm]
//回折格子から焦電検出器までの距離
leng=350//[mm]
//////////////
//variable //
//////////////
//入射波長
lambda=42.6//[um]
inc_width=10.344//[mm]
//入射角
alpha=[45 60 65 70 75]
//ファイル名
fd=mopen('dat\exp476.dat')
//ブレーズの高さ
d_h=d*sind(theta_b)//[mm]
///////////////////
//data reading //
//////////////////
header=mgetl(fd,1);
data=mfscanf(-1,fd,"%f%f%f%f%f%f");
//data=fscanfMat(fd)
disp(data,"read data is ")
mclose(fd)
//alpha=data(:,1)'
//disp(alpha)
////////////////////////////////////////
//回折角の計算 //
////////////////////////////////////////
function[beta_b ]=col_beta(alpha,d_um)
beta_b=asind((lambda-d_um*sind(alpha))/d_um)//[deg.]
endfunction
///////////////////////////////////////
//光路長によるビームの広がりの計算 //
///////////////////////////////////////
function[parsent]=col_l(alpha,beta_b,d)
//光路長
x=d_h/cosd(alpha-theta_b)//[mm]
l=x*sind(alpha+beta_b)//[mm]
//50umに対する回折ビームの幅
d_width=d+l
parsent=d_width/d
endfunction
//////////////////////////////////////////
//回折格子の分解能によるビームの広がり //
//////////////////////////////////////////
function[beam_corr]=col_beam_corr(alpha,N,inc_width,d_um,leng)
//回折ビームの幅
//分解能による広がり
d_lambda=lambda/(N*(inc_width/cosd(alpha)))
//分解能による広がり角
db=asind((lambda+d_lambda-d_um*sind(alpha))/d_um)-asind((lambda-d_um*sind(alpha))/d_um)
//分解能による広がり幅
width=leng*tand(db)
//分解能による回折光の広がり
beam_width=width*2+(inc_width/cosd(alpha)*cosd(asind((lambda-d_um*sind(alpha))/d_um)))
//補正係数
beam_corr=beam_width/inc_width
endfunction
b_b=0
wid_par=0
beam_crr=zeros(5)
cor_pow1=zeros(5)
disp(lambda,"lambda")
disp("/************************/")
for i=1:length(alpha)
//disp(alpha(i),"input angle")
[b_b]=col_beta(alpha(i),d_um)
//[wid_par]=col_l(alpha(i),b_b,d_um)
[beam_crr(i)]=col_beam_corr(alpha(i),N,inc_width,d_um,leng)
//disp(alpha(i))
//disp(wid_par)
//disp(beam_crr(i),"beam_corr")
disp(beam_crr(i))
cor_pow1(i)=beam_crr(i)*data(i,4)
disp(data(i,4),"raw data is")
disp(cor_pow1(i),"correct value is")
end
disp(cor_pow1)
|
97887a184daf818f286810f28cf9472aaec4ed1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH2/EX2.7/ex2_7.sce | 8921f1c1e3fe15b07e283c3aed8a2c809cf53d6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,204 | sce | ex2_7.sce | clc;
warning('off');
printf("\n\n example2.7 - pg38");
// given
T=30+273.15; //[K] temperature
pA=3; //[atm] partial pressure of the component A
R=0.082057; //[atm*m^3*/kmol*K] gas constant
// (a) using the equation Ca=n/V=pA/(R*T)
Cco2=pA/(R*T);
Cco2=Cco2*(44.01);
printf("\n\n (a) The concentarion of Co2 entering is %fkg/m^3",Cco2);
// (b) using the same equation as above
pN2=(0.79)*3; //[atm] partial pressure of mitrogen(as nitrogen is 79% in air)
R=0.7302; //[atm*ft^3*lb/mol*R] - gas constant
T=T*(1.8); //[R] temperature
CN2=pN2/(R*T);
printf("\n\n (b) The concentration of N2 entering is %flbmol/ft^3",CN2);
// (c) using the same equation as above
nt=6;
nCo2=4;
nO2=2*(0.21);
nN2=2*(0.79);
yCo2=nCo2/nt;
yO2=nO2/nt;
yN2=nN2/nt;
R=82.057; //[atm*cm^3/mol*K] - gas constant
T=30+273.15; //[K] - temperature
pCo2=3*yCo2;
Cco2=pCo2/(R*T);
printf("\n\n (c) The concentartion of Co2 in the exit is %fmol/cm^3",Cco2);
// (d) using the same equation as above
R=8.3143; //[kPa*m^3/kmol*K] - gas constant
pO2=3*(yO2)*(101.325); //[kPa] - partial pressure
CO2=pO2/(R*T);
printf("\n\n (d) The concentration of O2 in the exit stream is %fkmol/m^3",CO2);
|
e974fb9eeb653478647e6b00f6a44b2df3bbde89 | f23e565144f1b0f63c7b613c0f549944d425a073 | /Cours/TP_INFO/TP_note/Herbouille, hertlein.sce | 095a9880389c6fe3d4aec8454a1ab353a6292721 | [] | no_license | Antoine-Gerard/Valar-Morghulis | c45766f03898241bd9c424256744b5ffa16dd82c | 796363bfbc6f2e3249c90f1762e041ff5a4e705a | refs/heads/master | 2021-08-31T06:06:55.296982 | 2017-12-20T13:54:33 | 2017-12-20T13:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,274 | sce | Herbouille, hertlein.sce | // Fichier TD1 Herbouille
clear
// EXO 1
// Déf du vecteur vo
zeros(50, 1)
VO = ones (1, 50)
// Def du vecteur v1
V1 = 10*ones(50, 1)
// Def du vecteur v2
V2 = 0:0.3:10
//Def du vecteur v5
V5 = linspace(-3,7, 10)
// EXO 2
// Partie 1
function r = truc (x)
r = (1 + x).*sin(%pi *x)
endfunction
x = linspace ( -2 , 2, 100)
//fenetre = figure("Figure_name"), "Mon premier tracé", "position", [100 50 1000 600]);
//fenetre.background = color("aliceblue");
//set("current_figure", fenetre);
plot2d(x, truc(x), style=[color("forestgreen")]);
// Partie 2
function P1 = P1 (x)
P1 = (%pi.*x)
endfunction
plot2d (x, P1 (x), style=[color("green")]);
function P2 = P2 (x)
P2 = (%pi.*x) + (%pi.*x^2)
endfunction
plot2d (x, P2 (x), style=[color("blue")]);
//EXO 3
fenetre = figure("Figure_name", "Equations", "position", [100 50 1000 600]);
fenetre.background = color("white");
set("current_figure", fenetre);
function v = G(t, y)
v = (y .∕t) + t.*log(t)
endfunction
a = 1
t = linspace (1, 4, 100)
u = 1
y = ode ("rk", u, a, t, G)
plot2d(t, y, style=[color("black")]);
function v = G(t, y)
v = (y .∕t) + t.*log(t)
endfunction
a = 1
t = linspace (1, 4, 100)
u = -2
y = ode ("rk", u, a, t, G)
plot2d(t, y, style=[color("black")]);
|
194e1de2dcc165ca271b99d37e45c075b03f45e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH3/EX3.28/Exa3_28.sce | 3f1ef6ff9f9204df3b3c6dc5663437fd9cb93074 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | Exa3_28.sce | //Exa3.28
clc;
clear;
close;
// given data'
format('v',13)
N_D=10^17*10^6;// in m^-3
N_A=0.5*10^16*10^6;// in atoms/m^3
epsilon_r=10;// in F/m
epsilon_o=8.85*10^-12;// in F/m
epsilon=epsilon_r*epsilon_o;
e=1.602*10^-19;// in C (electron charge)
// (i) when no external voltage is applied i.e.
V=0;
V_B=0.7;// in V
W=sqrt(2*epsilon*V_B/e*(1/N_A+1/N_D));
disp("Junction width is : "+string(W)+" m");
// (ii) when external voltage of -10 V is applied i.e.
V=-10;// in V
V_o=0.7;// in V
V_B=V_o-V;
W=sqrt(2*epsilon*V_B/e*(1/N_A+1/N_D));
disp("Junction width is : "+string(W)+" m");
// Note: Answer in the book is wrong
|
9a9ec1775ae48b4c5af1ca3db8d1d58a14efe7e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH4/EX4.9/4_09.sce | 10e169837c8868a9d7ae048003641c131a8567a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | 4_09.sce | //Example No. 4_09
//Propagation of Error
//Pg No. 75
clear ; close ; clc ;
x = 0.1234*10^4
y = 0.1232*10^4
d = 4
er_x = 10^(-d + 1)/2
er_y = 10^(-d + 1)/2
ex = x*er_x
ey = y*er_y
ez = abs(ex) + abs(ey)
er_z = abs(ez)/abs(x-y)
mprintf('\n |er_x| <= %.2f o/o\n |er_y| <= %.2fo/o \n ex = %.3f \n ey = %.3f \n |ez| = %.3f \n |er_z| = %.2fo/o \n',er_x *100,er_y*100,ex,ey,ez,er_z*100) |
a0b8bb380ce67faf8e3174cb60472802f8746d7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.39/Chapter3_Exampl39.sce | 45dbea28fbec9e69e001d1a6768469c030ff3a05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,737 | sce | Chapter3_Exampl39.sce | clc
clear
//INPUT DATA
t1=300;//Initial temperature in K
t21=523;//intermmediate temperature in K
t3=1073;//final temperature in K
t41=723;//turbine outlet temperature in K
p1=1;//pressure in bar
p2=6;//final pressure in bar
Rp=6;//pressure ratio
g=1.4;//constant
cp=1.005;//specific pressure
//CALCULATIONS
t2=t1*(Rp^((g-1)/g));//Temperature in K
t4=t3/(Rp^((g-1)/g));//Temperature in K
nc=((t2-t1)/(t21-t1))*100;//compressor efficiency in percentage
nt=((t3-t41)/(t3-t4))*100;//Turbine efficiency in percentage
ngt=(1-(1/Rp)^((g-1)/g))*100;//Thermal efficiency in percentage
ngt1=((((nt/100)*t3*(ngt/100))-((t1/(nc/100))*((Rp^((g-1)/g))-1)))/(t1*((t3/t1)-((Rp^((g-1)/g))))))*100;//Thermal efficiency in percentage
Rw=((cp*((t3-t4)-(t2-t1)))/(cp*(t3-t4)));//Work ratio
Rw1=((cp*((t3-t41)-(t21-t1)))/(cp*(t3-t41)));//Work ratio
Rpo=sqrt((t3/t1)^(g/(g-1)));//pressure ratio for maximum output
Rpo1=sqrt(((t3/t1)^(g/(g-1)))*(nc/100)*(nt/100));//pressure ratio for maximum output
Rpm=(t3/t1)^(g/(g-1));//pressure ratio for maximum efficiency
Rpm1=(t3/t1)^(g/(g-1))*(1/((nc/100)*(nt/100)));//pressure ratio for maximum efficiency
//OUTPUT
printf('(A)The compressor efficiency is %3.3f percentage \n turbine efficiency is %3.2f percentage \n',nc,nt)
printf('(B)IDEAL CYCLE \n (i)thermal efficiency is %3.2f percentage \n(ii)Work ratio is %3.4f \n (iii)Pressure ratio for maximum output is %3.2f \n (iv)pressure ratio for maximum efficiency is %3.2f \n ',ngt,Rw,Rpo,Rpm)
printf('(B)ACTUAL CYCLE \n (i)thermal efficiency is %3.2f percentage \n(ii)Work ratio is %3.4f \n (iii)Pressure ratio for maximum output is %3.2f \n (iv)pressure ratio for maximum efficiency is %3.1f ',ngt1,Rw1,Rpo1,Rpm1)
|
8eac31e23f4673485a5c607a9f75a6e35c8b8c5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH6/EX6.6/Ex6_6.sce | 51a5b17af5e9b04abb4e57cc4e2d9134b7746908 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | Ex6_6.sce | clc;
clear;
Jn=20 //in A/cm^2
Jp=5 //in A/cm^2
Va=0.65 //in V
Dn=25 //in cm^2/s
Dp=10 ///in cm^2/s
tau_n0=5*10^-7 //in s
tau_p0=5*10^-7 //in s
epsilon_r=11.8 //in F/cm
epsilon_0=8.85*10^-14 //in F/cm
e=1.6*10^-19 //in eV
ni=1.5*10^10 //in cm^-3
Const=0.0259 //constant for kT/e in V
//Calculation
Lp=sqrt(Dp*tau_p0) //in cm
pn0=(Jp*Lp)/(e*Dp*(exp(Va/Const)-1)) //law of mass action in cm^-3
Nd=(ni^2/pn0)
Ln=sqrt(Dn*tau_n0) //in cm
np0=(Jn*Ln)/(e*Dn*(exp((Va/Const))-1)) //in cm^-3
Na=ni^2/np0
mprintf("Nd= %1.2e cm^-3\n",Nd) //The answers vary due to round off error
mprintf("Na= %1.2e cm^-3",Na)
|
fac448e466037be8d702b7d381cb4cfdabe85600 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH8/EX8.4/Ex8_4.sce | 7b85cefc211130bf19fd65cdb16227ba015a04f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,508 | sce | Ex8_4.sce | clear
//
//variable declaration
d=(20) //Diameter ,mm
Loadatelasticlimit=(102) //Load at elastic limit,KN
P=80 //Load for extension of o.25mm , KN
delta=(0.25) //extension in specimen of steel,mm
L=200 //gauge length of specimen of steel,mm
Finalextension=(56) //total extension at fracture,mm
A=(%pi*(d**2))/4 //Area**mm^2
printf("\n Area= %0.2f mm^2",A)
Stressatelasticlimit=Loadatelasticlimit*1000/A //Stress at elastic limit,N/mm^2
printf("\n Stress at elastic limit= %0.2f N/mm^2",Stressatelasticlimit)
E=(P*1000/A)/(delta/L) //Young’s modulus ,N/mm^2
printf("\n Youngs modulus E= %0.2f N/mm^22",E)
Percentageelongation=Finalextension*100/L //percentage elongation,%
printf("\n Percentage elongation= %0.3f percentage",Percentageelongation )
Initialarea=(%pi*(d**2))/4
Finalarea=(%pi*(15**2))/4 // total extension at fracture is 56 mm and diameter at neck is 15 mm.
Percentagereductionina=(Initialarea-Finalarea)*100/Initialarea
printf("\n Percentage reduction in area= %0.3f percentage",Percentagereductionina )
UltimateLoad=130 //Maximum Load=130,kN
UltimateTensileStress=UltimateLoad*1000/A
printf("\n Ultimate Tensile Stress= %0.2f N/mm^2",UltimateTensileStress)
|
c627e3d66d63a44050e745b79be23e14e1d1af13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH10/EX10.7/example10_7.sce | e66686e39c659216a089c9e110dc04555c6f7102 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | example10_7.sce |
//example 10.7
//page 382
clc; funcprot(0);
//initialisation of variable
z=0.7;
S=0.0004;
n=0.012;//manning's constant
Q=15;//flow rate
g=9.81;
b=4;
y=2.22//depth of water
A=(b+z*y)*y;
T=b+2*z*y;
D=A/T;
V=Q/A;
F=V/sqroot(g*D);
disp(F,"Froude Number");
clear
|
81973d23c3ab42aad635b1cf0514b2248c8d230b | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH10/EX10.1/example1_sce.sce | 6fd688e928c79e97fdc13f416348c3882f2e0431 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example1_sce.sce | //chapter 10
//example 10.1
//page 345
Vnl=12;
Vfl=11.6;
Ilmax=100*10^-3;
LR=Vnl-Vfl;//load regulation
disp(LR)
percentage=((Vnl-Vfl)/Vfl)*100//% LOAD REGULATION
Vout=LR;
Ro=Vout/Ilmax;//output resistance
disp(Ro) |
884172b05d374c274625cf0da32ba88e322dd4c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH10/EX10.7/Example10_7.sce | ed81958256d997f44fa73659b833591490a7033f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Example10_7.sce | //clear//
//Example 10.7:Z transform of x[n] = b^n.u[n]+b^-n.u[-n-1]
syms n z;
b = 0.5;
x1=(b)^(n)
x2=(b)^(-n)
X1=symsum(x1*(z^(-n)),n,0,%inf)
X2=symsum(x2*(z^(n)),n,1,%inf)
X = X1+X2;
disp(X,"ans=")
//Result
//+1.0*(2^(-%inf-1)*z^(-%inf-1)-1)/(1/(2*z)-1)
//Equivalent to -1/(0.5*z^-1 - 1)
//Region of Convergence |z|>0.5
|
7ae93b8c189fe3653f678ee987936f5f248cc226 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH6/EX6.23.1/Ex6_23.sce | 8fcea1f9bb4ca8f9b127dcc3a77a181dc15d277f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Ex6_23.sce | clc
clear
r=16; //Compression Ratio
P1=1; //in bar
T1=20+273; //in K
T3=1431+273; //in K
G=1.4;
T2=T1*[r^(G-1)];
m=1;
R=0.287;
V1=(m*R*T1)/(P1*100);
V2=V1/r;
//For Constant Pressure Process 2-3
V3=V2*(T3/T2);
Z=V3/V2;
Eff=100*(1-((1/(r^(G-1)))*(1/G)*((Z^G)-1)/(Z-1)));
printf('Efficiency is %2.1f Percent',Eff);
printf('\n');
Cp=1.005;
Qs=Cp*(T3-T2);
W=Qs*Eff/100;
Vs=V1-V2;
Pm=W/Vs;
printf('Effective Mean Pressure %2.1f kPa',Pm);
printf('\n');
|
7a0fd936b0bf9aaa4e2153af7579169d4191c37e | 7d7b037ebe8eb590599a15a0fa24555a4b92ab31 | /solve_trisup3.sci | e86f1d06ec0f281a6a767cd13cd76e550af7684d | [] | no_license | RoiArthurB/L3-MathsAvancees-Scilab_linsolve | 8a98a6e72a272e22cb653df135bbfe703e1cd2ef | 8bbee6eb152690a98e7d75da1d68a404c921b53c | refs/heads/master | 2021-06-04T07:14:51.212459 | 2016-10-08T18:11:10 | 2016-10-08T18:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,355 | sci | solve_trisup3.sci | function result = solve_trisup3(A, b)
sizeMatrixL = size(A, "r");
sizeMatrixC = size(A, "c");
if(sizeMatrixL == sizeMatrixC)
//Lecture de la matrice de bas en haut
for i=(sizeMatrixL):-1:1
//Variable tampon
tempResult = 0;
//Lecture de la ligne de droite à gauche
for j=(sizeMatrixC):-1:1
//Quand on arrive sur la diagonale
if(j>i)
tempResult = tempResult + (A(i, j)*result(j));
else
//Sortie de la boucle colonne
continue(1);
end
end
//Si xi est indéterminable
if( A(i,i) == 0)
if( b(i) <> 0)
result = "Equation sur-déterminée";
break; //La bonne méthode de sortir d'une fonction
else
result = "Equation sous-déterminée";
break;
end
else
//Calcul de xi
tempTotal = b(i)-tempResult;
result(i) = tempTotal/A(i, i);
end
end
else
result = "La première matrice n''est pas carrée"
end
endfunction
M3 = [3 2 1; 0 -1 -2; 0 0 5];
M3result = [2; -1; 3];
disp( solve_trisup3(M3, M3result) );
|
895c12dbb54fc62a789bc7259a59bcd7eab6f36c | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH5/EX5.12/5_12.sce | 24586a8de9fd4d6cdb68fb2f749ea1739de955b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_12.sce | s = 11e06 ; // allowable tensile stress in pa
t = 1.2e06 ; // allowable shear stress in pa
b = 0.1 ; // Width of cross section in m
h = 0.15 ; // Height of cross section in m
a = 0.5 ; // in m
P_bending = (s*b*h^2)/(6*a); // Bending stress in N
P_shear = (2*t*b*h)/3; // shear stress in N
Pmax = P_bending; // Because bending stress governs the design
disp("N",Pmax,"the maximum permissible value Pmax of the loads")
|
c6a4ef61705535ca6df40a7655548d7c6704bb6a | 31cfd6fac62ce1e0f8bb81f96db3978b301d4fd2 | /Raízes (zero de funções reais)/Taxa de juros/juros_secante.sce | ceb412b4289848e2a8790d390d31c6babf6b5e12 | [] | no_license | PierreVieira/Scilab_Programs | 2205084b7356cf9ab68e8b04525e55fd7e29636c | 63d717f04db929c81dc1ff7fa9eb886f3c6b6a8c | refs/heads/master | 2020-09-09T00:59:34.924700 | 2020-03-17T18:46:50 | 2020-03-17T18:46:50 | 221,296,397 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 857 | sce | juros_secante.sce | /*
Objetivo: Avaliar qual será o melhor plano de financiamento analisando a taxa de juros de cada um
Autor: Pierre Vieira
*/
exec('juros_secante.sci');
a = 0.05;
b = 1;
Toler = 0.01;
IterMax = 100;
printf("\n==================================================== PLANO 1 ===================================================\n")
funcprot(0)
deff('y = f(x)', 'y = 224.58*(1 - (1+x)^(-6)) - 1000*x')
[Raiz, Iter, CondErro] = Secante(a, b, Toler, IterMax);
printf("\nRaiz = %f\nIter = %d\nCondErro = %d\n", Raiz, Iter, CondErro);
printf("\n=================================================== PLANO 2 ===================================================\n")
deff('y = f(x)', 'y = 163.19*(1 - (1+x)^(-10)) - 1100*x')
funcprot(0)
[Raiz, Iter, CondErro] = Secante(a, b, Toler, IterMax);
printf("\nRaiz = %f\nIter = %d\nCondErro = %d\n", Raiz, Iter, CondErro);
|
1c519375c090bdc2232d749466d8ffd591a8f27d | 151e9d9a47b8c4098e67f5ecc974b3a811d91a95 | /brofist/scicos_32/BRO_loader.original.sce | 0d9eaf7d532813cb1270abc8f03bb5fdccc5db40 | [] | no_license | AliaksandrSiarohin/AppliedRobotics | a81c568be77962723b6b17394d1a42a4e76d8a69 | 5d79e537dd6926738ffc59eff18a78fd42c44417 | refs/heads/master | 2021-01-13T00:49:45.571990 | 2016-01-26T22:22:40 | 2016-01-26T22:22:40 | 45,112,715 | 2 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | BRO_loader.original.sce | base = "/home/ubuntu/NXT/brofist/scicos_32/";
ilib_for_link ('bro_comm_blocks', 'bro_comm_blocks.o', [], "c");
ilib_for_link ('bro_sensor_enc', 'bro_sensor_enc.o', [], "c");
ilib_for_link ('bro_motor_enc', 'bro_motor_enc.o', [], "c");
link(base+'libbro_comm_blocks.so',['bro_comm_sens_disp','bro_comm_controller','bro_comm_motor_disp'],'c');
link(base+'libbro_sensor_enc.so',['bro_sensor_enc'],'c');
link(base+'libbro_motor_enc.so',['bro_motor_enc'],'c');
exec bro_sensor_enc.sci;
exec bro_comm_controller.sci;
exec bro_comm_sens_disp.sci;
exec bro_comm_motor_disp.sci;
exec bro_motor_enc.sci;
|
f9a90682709e2938af1973d09f43076a009d3fe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH1/EX1.4/1_4_Coolant_Fuid_Velocity.sce | 814df67ef9136b31a8922cc84150b1e4c781b77d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 942 | sce | 1_4_Coolant_Fuid_Velocity.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 1.4 Page 20 \n')// Example 1.4
// Find Velocity of Coolant Fluid
Ts = 56.4+273.15; //[K] - Surface Temperature of Steam
Tsurr = 25+273.15; //[K] - Temperature of Surroundings
e=.88; // Emissivity of Surface
//As h=(10.9*V^.8)[W/m^2.k] - Thermal Convectivity from surface to air
stfncnstt=5.67*10^(-8); // [W/m^2.K^4] - Stefan Boltzmann Constant
A=2*.05*.05; // [m^2] Area for Heat transfer i.e. both surfaces
E = 11.25; //[W] Net heat to be removed by cooling air
Qrad = e*stfncnstt*A*(Ts^4-Tsurr^4);
//Using Eq 1.10 Total Rate of Heat Transfer Q = Q by convection + Q by radiation
Qconv = E - Qrad;//[W]
//As Qconv = h*A*(Ts-Tsurr) & h=10.9 Ws^(.8)/m^(-.8)K.V^(.8)
V = [Qconv/(10.9*A*(Ts-Tsurr))]^(1/0.8);
printf("\n\n Velocity of Cooling Air flowing= %.2f m/s",V);
//END
|
3ac7cd47d244b2ee31489ad7ffddf9982549a330 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH18/EX18.1/18_1.sce | 6d31d4ba8c196a022354843491be7abc1dfbae97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,010 | sce | 18_1.sce | printf("\t example 18.1 \n");
// specific gravity of benzene is 0.88
// specific heat of benzene is 0.48 Btu/(lb)*(F)
U=50;
A=400;
T1=400;
t1=100;
t2=300;
c=0.48;
w=40000;
C=0.60;
W=10000;
printf("\t values are approximately mentioned in the book \n");
printf("\t for a \n");
M=(7500*8.33*0.88);
printf("\t weight of benzene is : %.1e lb \n",M);
Q1=(w*c);
printf("\t Q1 is : %.2e Btu/(hr)*(F) \n",Q1);
Q2=(W*C);
printf("\t Q2 is : %.0e Btu/(hr)*(F) \n",Q2);
Ks=((%e)^(U*A*((1/Q1)-(1/Q2)))); // eq 18.16
printf("\t Ks is : %.3f \n",Ks);
Z=log((T1-t1)/(T1-t2));
printf("\t Z is : %.3f \n",Z);
theta=((M*(Z)*(Ks*6000-(19200)))/((Ks-1)*40000*6000));
printf("\t theta is : %.1f hr \n",theta);
printf("\t for b \n");
R=(Q1/Q2);
printf("\t R is : %.1f \n",R);
KT=((%e)^(U*(A/Q1)*(1+R^2)^(1/2)));
printf("\t KT is : %.0f \n",KT);
S=((2*(KT-1))/((KT*(R+1+(1+R^2)^(1/2)))-(R+1-(1+R^2)^(1/2)))); // eq 18.24
printf("\t S is : %.3f \n",S);
theta1=((M*Z)/(0.266*40000)); // eq 18.25
printf("\t theta1 is : %.2f hr \n",theta1);
printf("\t for c \n");
U1=100;
A1=200;
K8=((%e)^(U*(A/(2*Q1))*(1+R^2)^(1/2))); // eq 18.32
S1=((2*(K8-1)*(1+((1-0.266)*(1-(3.2*0.266)))^(1/2)))/(((K8-1)*(3.2+1))+((K8+1)*(1+3.2^2)^(1/2)))); // eq 18.31
printf("\t K8 is : %.2f \n",K8);
printf("\t S1 is : %.3f \n",S1);
theta2=((M*Z)/(0.282*40000)); // eq 18.25
printf("\t theta2 is : %.2f hr \n",theta2);
printf("\t for d \n");
K9=((%e)^(U*(A/(Q1))*(R-1)));
S2=((K9-1)/((K9*R)-1)); // eq 18.36
printf("\t K9 is : %.2f \n",K9);
printf("\t S2 is : %.2f \n",S2);
t=100;
t1=t+(S2*(T1-t)); // 18.37
printf("\t t1 is : %.0f F \n",t1);
t2=t1+(S2*(T1-t1));
printf("\t t2 is : %.0f F \n",t2);
t3=t2+(S2*(T1-t2));
printf("\t t3 is : %.0f F \n",t3);
t4=t3+(S2*(T1-t3));
printf("\t t4 is : %.0f F \n",t4);
x=0.23;
printf("\t fractional circulation is : %.2f \n",x);
N=3+x;
printf("\t total fractional circulation : %.2f \n",N);
theta3=(N*(M/w));
printf("\t theta3 is : %.2f \n",theta3);
// end
|
8ed08ea9b6190925e5b4d5fba21f38653de23a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH12/EX12.6/Ex12_6.sce | 58f2e68150fc76cf1a628a5ec6ea64c22d842e79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | Ex12_6.sce | //Variable Declaration
TRn=12 //Receiver Noise figure(dB)
G=40 //Gain of LNA(dB)
T0=120 //Noise temperature(Kelvin)
//Calculation
F=10**(TRn/(10)) //Converting noise power to ratio
Te=(F-1)*290 //Noise Temperature of the amplifier
G=10**(G/10) //Converting Gain of LNA to ratio
Tn=T0+Te/G //Overall Noise Temperature(Kelvin)
//Result
printf("The overall noise temperature is %.2f Kelvin", Tn)
|
332f65a52486124704c44618c8912ccc61581566 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.36/Example14_36.sce | ae495d94e1028635f8191b861a1c893d91a148e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,151 | sce | Example14_36.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-36
clear; clc; close; // Clear the work space and console.
// Given data
// 3-phase,3-wire Δ-connected transformer shown in Fig.14-42
V_L = 33 ; // line voltage in kV
f = 60 ;// frequency in Hz
// power factor
PF1 = 1; // unity power factor for I_AB
PF2 = 0.7; // 0.7 lagging power factor for I_BC
PF3 = 0.9; // 0.9 lagging power factor for I_CA
// Calculations
V_AB = V_L*exp(%i*(0)*(%pi/180)) ; // line voltage in kV taken as reference voltage
V_BC = V_L*exp(%i*(-120)*(%pi/180)) ; // line voltage in kV
V_BC_m = abs(V_BC);//V_BC_m=magnitude of V_BC in kV
V_BC_a = atan(imag(V_BC) /real(V_BC))*180/%pi - 180 ;//V_BC_a=phase angle of V_BC in degrees
// 180 is subtracted from I_BC_a to make it similar to textbook angle
V_CA = V_L*exp(%i*(-240)*(%pi/180)) ; // line voltage in kV
V_CA_m = abs(V_CA);//V_CA_m=magnitude of V_CA in kV
V_CA_a = atan(imag(V_CA) /real(V_CA))*180/%pi - 180 ;//V_CA_a=phase angle of V_CA in degrees
// 180 is subtracted from I_BC_a to make it similar to textbook angle
theta_1 = acosd(PF1); // PF1 angle
theta_2 = acosd(PF2); // PF2 angle
theta_3 = acosd(PF3); // PF3 angle
I_AB = 10*exp(%i*(theta_1)*(%pi/180)) ; // I_AB current in kA
I_AB_m = abs(I_AB);//I_AB_m=magnitude of I_AB in kA
I_AB_a = atan(imag(I_AB) /real(I_AB))*180/%pi;//I_AB_a=phase angle of I_AB in degrees
I_BC = 15*exp(%i*(-120 - theta_2)*(%pi/180)) ; // I_BC current in kA
I_BC_m = abs(I_BC);//I_BC_m=magnitude of I_BC in kA
I_BC_a = atan(imag(I_BC) /real(I_BC))*180/%pi - 180;//I_BC_a=phase angle of I_BC in degrees
// 180 is subtracted from I_BC_a to make it similar to textbook angle
I_CA = 12*exp(%i*(-240 + theta_3)*(%pi/180)) ; // I_CA current in kA
I_CA_m = abs(I_CA);//I_CA_m=magnitude of I_CA in kA
I_CA_a = 180 + atan(imag(I_CA) /real(I_CA))*180/%pi;//I_CA_a=phase angle of I_CA in degrees
// 180 is added to I_BC_a to make it similar to textbook angle
// case a
I_AC = -I_CA ;
I_A = I_AB + I_AC ; // phase current in kA
I_A_m = abs(I_A);//I_A_m=magnitude of I_A in kA
I_A_a = atan(imag(I_A) /real(I_A))*180/%pi;//I_A_a=phase angle of I_A in degrees
// case b
I_BA = -I_AB ;
I_B = I_BC + I_BA ; // phase current in kA
I_B_m = abs(I_B);//I_B_m=magnitude of I_B in kA
I_B_a = atan(imag(I_B) /real(I_B))*180/%pi;//I_B_a=phase angle of I_B in degrees
// case c
I_CB = -I_BC ;
I_C = I_CA + I_CB ; // phase current in kA
I_C_m = abs(I_C);//I_C_m=magnitude of I_C in kA
I_C_a = atan(imag(I_C) /real(I_C))*180/%pi;//I_C_a=phase angle of I_C in degrees
// case d
phasor_sum = I_A + I_B + I_C ;
// Display the results
disp("Example 14-36 Solution : ");
printf(" \n We must first write each of the phase currents in polar form. ");
printf(" \n Since reference voltage,V_AB is assumed as 33 <0 kV, we may write\n");
printf(" \n I_AB = %d <%d kA (unity PF),\n",I_AB_m,I_AB_a);
printf(" \n But I_BC lags V_BC, which is %.f <%d kV",V_BC_m,V_BC_a);
printf(" \n by θ = acosd(%.1f) = -%.2f lag, and consequently",PF2,theta_2);
printf(" \n I_BC = %.f <%.2f kA \n",I_BC_m,I_BC_a);
printf(" \n Similarly,I_CA leads V_CA = %.f <%.f kV",V_CA_m,V_CA_a);
printf(" \n by θ = acosd(%.1f) = %.2f lead, and consequently",PF3,theta_3);
printf(" \n I_CA = %d <%.2f kA \n",I_CA_m,I_CA_a);
printf(" \n Writing three phase currents in comples form yields.\n");
printf(" \n I_AB in kA = ");disp(I_AB);
printf(" \n I_BC in kA = ");disp(I_BC);
printf(" \n I_CA in kA = ");disp(I_CA);
printf(" \n From conventional three phase theory for unbalanced Δ-connected loads");
printf(" \n and from Fig.14-42, we have\n");
printf(" \n a: I_A in kA = ");disp(I_A);
printf(" \n I_A = %.2f <%.2f kA \n",I_A_m,I_A_a);
printf(" \n b: I_B in kA = ");disp(I_B);
printf(" \n I_B = %.2f <%.2f kA \n",I_B_m,I_B_a);
printf(" \n c: I_C in kA = ");disp(I_C);
printf(" \n I_C = %.2f <%.2f kA \n",I_C_m,I_C_a);
printf(" \n d: Phasor sum of the line currents :");
printf(" \n ΣI_L in kA = ");disp(phasor_sum);
|
4c93be83bbe09a015650842974ec780c0c776089 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH1/EX1.11/Ex1_11.sce | dde9540b5ebc5f2e261eea6658b20b0f0856e90b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Ex1_11.sce | //page 18
//Example 1.11
clear;
close;
clc;
disp('I = m * m identity matrix');
disp('A = m * n matrix');
disp('I*A = A','Then,');
disp('A * I = A');
disp('0(k,m) = k * m zero matrix');
disp('0(k,m) = 0(k,m) * A','Then,');
disp('And, A*0(k,m) = 0(k,m)');
//end
|
3f3faca8fbd665c2ddb223201637caf9ed2c48e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH7/EX7.3/Example7_3.sce | 72a65704f93bdffc780d13d66ddf471129eef8cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,184 | sce | Example7_3.sce | //clear//
//Caption:Plotting Bit-Error-Rate versus Q factor
//Example7.3
//page 259
clear;
clc;
close;
Q = 0:0.01:8;
Pe = (1/2)*(1-erf(Q./sqrt(2)));
a =gca();
a.data_bounds =[0,1e-16;8,0.5];
plot(Q,Pe,'r')
xlabel('Q')
ylabel('Pe')
title('BER(Pe) versus the factor Q')
disp(Pe(1),'Probability of error at Q =0')
disp(Pe(101),'Probability of error at Q =1')
disp(Pe(201),'Probability of error at Q =2')
disp(Pe(301),'Probability of error at Q =3')
disp(Pe(401),'Probability of error at Q =4')
disp(Pe(501),'Probability of error at Q =5')
disp(Pe(601),'Probability of error at Q =6')
disp(Pe(701),'Probability of error at Q =7')
disp(Pe(801),'Probability of error at Q =8')
//Result
//Probability of error at Q =0
// 0.5
//Probability of error at Q =1
// 0.1586553
//Probability of error at Q =2
// 0.0227501
//Probability of error at Q =3
// 0.0013499
//Probability of error at Q =4
// 0.0000317
//Probability of error at Q =5
// 0.0000003
//Probability of error at Q =6
// 9.866D-10
//Probability of error at Q =7
// 1.280D-12
//Probability of error at Q =8
// 6.106D-16
|
58ea88a17d47ebc1d839402ab7229bdfb6d8211c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH8/EX8.7/ex8_7.sce | c6c994d593ce2746929ac6d5283b1f41cf891936 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | ex8_7.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
Na=10**16 //cm^-3
Nd=10**16 //cm^-3
ni=1.5*10**10 //cm^-3
tau0=5*10^-7 //s
eps=11.7
//Vbr+Vr=z
z=5 //V
W=sqrt(((2*eps))*((Na+Nd)/Na*Nd)*z)
disp(W,"depletion width in cm is= ")// textbook ans is wrong
Jgen=(e*ni*W)/(2*tau0)
disp(Jgen,"generation current density in A/cm^2 is= ")// textbook ans is wrong
|
4230920cd39dff68d6efe3394b36faffbc906a50 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%lssmr.sci | ce389fc60fa95a04c728c7178dcf1c8e248fd53b | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sci | %lssmr.sci | function [s]=%lssmr(s1,s2)
//s=%lssmr(s1,s2) <=> s= s2*s1
//!
[s1,s2]=sysconv(s1,s2);s=s1*s2
|
2468dbe9ceb6f37d9d371d9aea852e543eac70c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH4/EX4.2/Ex4_2.sce | 48c3e05507dc0f7b98e34aabb79f76aaf09d0ad3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_2.sce | // Example 4_2
clc;funcprot(0);
// Given data
P_in=5;// hp
t=1;// hour
// By assumption
Q=0;// J
delPE=0;// J
delKE=0;// J
// Calculation
W=-P_in*t*(746)*(3600);// The work input in J
delU=-W;// The increase in internal energy in J
printf("\nThe increase in internal energy,delU=%1.3e J",delU);
|
20405d1d497539d3d0b2f73429a15757ad989762 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/percent/%sxr.sci | 5c55046970b58d34e4575f532e0516130e1bde17 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 202 | sci | %sxr.sci | function f=%sxr(n1,f2)
// %sxr(,M,r) calcule le produit element par element de la matrice de
//scalaires M par la matrice de fractions rationnelles r . (M.*r)
//!
f=list(f2(1),n1.*f2(2),f2(3),f2(4))
|
65be4c649907a4c63afd7eecb80d9ca989ae254f | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /KVA Switching.sce | 2f39716b4ec1832de90649ad0a66c4ca0a795399 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89,157 | sce | KVA Switching.sce | Name=KVA Switching
PlayerCharacters=KVA Player
BotCharacters=KVA Rotation 01.rot;KVA Rotation 02.rot;KVA Rotation 03.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=KVA Player
AddedBots=KVA Rotation 01.rot;KVA Rotation 02.rot;KVA Rotation 03.rot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=kva_field_offset.map
MapScale=1.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timescale=1.0
BlockHealthbars=true
TimeRefilledByKill=0.0
ScoreToWin=1.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=Tracking, Target-switching, Vertical-aiming
WeaponHeroTag=Fully-auto
DifficultyTag=3
AuthorsTag=pleasewait
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=false
BlockFCT=false
Description=Tracking targets that move only forward and backward. KVA stands for Kinetic Visual Acuity (in a narrow sense, it refers to the ability to identify approaching objects).
GameVersion=2.0.2.0
ScorePerDistance=0.0
MBSEnable=false
MBSTime1=0.25
MBSTime2=0.5
MBSTime3=0.75
MBSTime1Mult=1.0
MBSTime2Mult=2.0
MBSTime3Mult=3.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
LockFOVRange=false
LockedFOVMin=60.0
LockedFOVMax=120.0
LockedFOVScale=Clamped Horizontal
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
AimingStyle=Original
ScanSpeedMultiplier=1.0
MaxSeekPitch=30.0
MaxSeekYaw=30.0
AimingSpeed=5.0
MinShootDelay=0.3
MaxShootDelay=0.6
[Bot Profile]
Name=KVA Target 0
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 0
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 45
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 45
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 90
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 90
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 135
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 135
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 180
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 180
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 225
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 225
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 270
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 270
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 315
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 315
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 15
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 15
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 60
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 60
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 105
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 105
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 150
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 150
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 195
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 195
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 240
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 240
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 285
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 285
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 330
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 330
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 30
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 30
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 75
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 75
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 120
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 120
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 165
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 165
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 210
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 210
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 255
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 255
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 300
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 300
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Profile]
Name=KVA Target 345
DodgeProfileNames=KVA Dodging
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=5.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=KVA Target 345
SeeThroughWalls=false
NoDodging=false
NoAiming=true
AbilityUseTimer=0.1
UseAbilityFrequency=1.0
UseAbilityFreqMinTime=0.3
UseAbilityFreqMaxTime=0.6
ShowLaser=false
LaserRGB=X=1.000 Y=0.300 Z=0.000
LaserAlpha=1.0
[Bot Rotation Profile]
Name=KVA Rotation 01
ProfileNames=KVA Target 0;KVA Target 45;KVA Target 90;KVA Target 135;KVA Target 180;KVA Target 225;KVA Target 270;KVA Target 315
ProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
Randomized=true
[Bot Rotation Profile]
Name=KVA Rotation 02
ProfileNames=KVA Target 15;KVA Target 60;KVA Target 105;KVA Target 150;KVA Target 195;KVA Target 240;KVA Target 285;KVA Target 330
ProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
Randomized=true
[Bot Rotation Profile]
Name=KVA Rotation 03
ProfileNames=KVA Target 30;KVA Target 75;KVA Target 120;KVA Target 165;KVA Target 210;KVA Target 255;KVA Target 300;KVA Target 345
ProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
Randomized=true
[Character Profile]
Name=KVA Player
MaxHealth=100.0
WeaponProfileNames=KVA Fully-auto;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=36.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=0.0
MaxCrouchSpeed=160.0
Acceleration=2560.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=0.0
Gravity=1.0
AirControl=0.25
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Cylindrical
MainBBHeight=72.0
MainBBRadius=12.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=72.0
ProjBBRadius=12.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=KVA Target 0
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=256.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=KVA Target 45
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=184.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=184.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=KVA Target 90
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=256.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=KVA Target 135
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=184.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-184.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=KVA Target 180
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=0.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-256.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=KVA Target 225
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-184.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-184.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=KVA Target 270
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-256.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Character Profile]
Name=KVA Target 315
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-184.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=184.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=KVA Target 15
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=64.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=248.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=KVA Target 60
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=224.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=128.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=KVA Target 105
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=248.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-64.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=KVA Target 150
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=128.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-224.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=KVA Target 195
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-64.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-248.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=KVA Target 240
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-224.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-128.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=KVA Target 285
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-248.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=64.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=KVA Target 330
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-128.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=224.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=KVA Target 30
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=128.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=224.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=KVA Target 75
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=248.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=64.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=KVA Target 120
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=224.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-128.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=KVA Target 165
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=64.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-248.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=KVA Target 210
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-128.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-224.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=KVA Target 255
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-248.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=-64.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=KVA Target 300
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-224.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=128.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=KVA Target 345
MaxHealth=90.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.000001
MaxRespawnDelay=0.000001
StepUpHeight=16.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1024.0
MaxCrouchSpeed=160.0
Acceleration=5120.0
AirAcceleration=16000.0
Friction=1.0
BrakingFrictionFactor=0.5
JumpVelocity=256.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=1.000 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=0.000 Y=0.000 Z=1.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=Spheroid
MainBBHeight=32.0
MainBBRadius=16.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=32.0
ProjBBRadius=16.0
ProjBBHasHead=false
ProjBBHeadRadius=10.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=512.0
VerticalSpawnOffset=-64.0
TerminalVelocity=0.0
CharacterModel=None
CharacterSkin=Default
SpawnXOffset=248.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
ViewBobTime=0.0
ViewBobAngleAdjustment=0.0
ViewBobCameraZOffset=0.0
ViewBobAffectsShots=false
IsFlyer=false
FlightObeysPitch=false
FlightVelocityUp=800.0
FlightVelocityDown=800.0
[Dodge Profile]
Name=KVA Dodging
MaxTargetDistance=100000.0
MinTargetDistance=0.0
ToggleLeftRight=false
ToggleForwardBack=true
MinLRTimeChange=0.4
MaxLRTimeChange=0.7
MinFBTimeChange=0.5
MaxFBTimeChange=0.75
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=1.0
MaxProfileChangeTime=1.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.3
MaxJumpTime=0.6
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.1
BlockedMovementReactionMax=0.1
WaypointLogic=Ignore
WaypointTurnRate=200.0
MinTimeBeforeShot=0.15
MaxTimeBeforeShot=0.25
IgnoreShotChance=0.0
ForwardTimeMult=1.0
BackTimeMult=1.0
DamageReactionChangesFB=false
[Weapon Profile]
Name=KVA Fully-auto
Type=Hitscan
ShotsPerClick=1
DamagePerShot=6.0
KnockbackFactor=0.0
TimeBetweenShots=0.05
Pierces=false
Category=FullyAuto
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=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=false
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.1
ReloadTimeFromPartial=0.1
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=6.0
DelayBeforeShot=0.0
ProjectileGraphic=Ball
VisualLifetime=0.1
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=true
ADSZoomDelay=0.0
ADSZoomSensFactor=1.0
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.001
HitSoundCooldown=0.001
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=0
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=true
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=true
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=50
ADSFOVOverride=40.0
ADSFOVScale=Vertical (1:1)
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
WeaponModel=Asp
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=AK47
3rdPersonWeaponSkin=Default
ParticleMuzzleFlash=Bullet
ParticleWallImpact=None
ParticleBodyImpact=None
ParticleProjectileTrail=None
ParticleHitscanTrace=Bullet
ParticleMuzzleFlashScale=1.0
ParticleWallImpactScale=1.0
ParticleBodyImpactScale=1.0
ParticleProjectileTrailScale=1.0
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=0.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=false
SpreadSSA=1.0,1.0,-1.0,0.0
SpreadSCA=1.0,1.0,-1.0,0.0
SpreadMSA=1.0,1.0,-1.0,0.0
SpreadMCA=1.0,1.0,-1.0,0.0
SpreadSSH=1.0,1.0,-1.0,0.0
SpreadSCH=1.0,1.0,-1.0,0.0
SpreadMSH=1.0,1.0,-1.0,0.0
SpreadMCH=1.0,1.0,-1.0,0.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=1.0
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-256.000000 840.000000 240.000000
768.000000 840.000000 240.000000
768.000000 840.000000 224.000000
-256.000000 840.000000 224.000000
-256.000000 -184.000000 240.000000
768.000000 -184.000000 240.000000
768.000000 -184.000000 224.000000
-256.000000 -184.000000 224.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-256.000000 840.000000 1616.000000
768.000000 840.000000 1616.000000
768.000000 840.000000 1600.000000
-256.000000 840.000000 1600.000000
-256.000000 -184.000000 1616.000000
768.000000 -184.000000 1616.000000
768.000000 -184.000000 1600.000000
-256.000000 -184.000000 1600.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-256.000000 856.000000 1600.000000
768.000000 856.000000 1600.000000
768.000000 856.000000 240.000000
-256.000000 856.000000 240.000000
-256.000000 840.000000 1600.000000
768.000000 840.000000 1600.000000
768.000000 840.000000 240.000000
-256.000000 840.000000 240.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
-272.000000 840.000000 1600.000000
-256.000000 840.000000 1600.000000
-256.000000 840.000000 240.000000
-272.000000 840.000000 240.000000
-272.000000 -184.000000 1600.000000
-256.000000 -184.000000 1600.000000
-256.000000 -184.000000 240.000000
-272.000000 -184.000000 240.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-256.000000 -184.000000 1600.000000
768.000000 -184.000000 1600.000000
768.000000 -184.000000 240.000000
-256.000000 -184.000000 240.000000
-256.000000 -200.000000 1600.000000
768.000000 -200.000000 1600.000000
768.000000 -200.000000 240.000000
-256.000000 -200.000000 240.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-256.000000 256.000000 576.000000
768.000000 256.000000 576.000000
768.000000 256.000000 240.000000
-256.000000 256.000000 240.000000
-256.000000 240.000000 576.000000
768.000000 240.000000 576.000000
768.000000 240.000000 240.000000
-256.000000 240.000000 240.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-256.000000 840.000000 592.000000
768.000000 840.000000 592.000000
768.000000 840.000000 576.000000
-256.000000 840.000000 576.000000
-256.000000 -184.000000 592.000000
768.000000 -184.000000 592.000000
768.000000 -184.000000 576.000000
-256.000000 -184.000000 576.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
768.000000 840.000000 1600.000000
784.000000 840.000000 1600.000000
784.000000 840.000000 240.000000
768.000000 840.000000 240.000000
768.000000 -184.000000 1600.000000
784.000000 -184.000000 1600.000000
784.000000 -184.000000 240.000000
768.000000 -184.000000 240.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
entity
type CameraPath
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type PlayerSpawn
Vector3 position 256.000000 256.000000 256.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 256.000000 328.000000 1024.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 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 256.000000 328.000000 1056.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 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 256.000000 328.000000 1088.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 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 256.000000 328.000000 1120.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 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 256.000000 328.000000 1152.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 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 256.000000 328.000000 1184.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 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 256.000000 328.000000 1216.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 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 256.000000 328.000000 1248.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 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 256.000000 328.000000 1280.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
Bool8 initialSpawn 0
Bool8 modeCTF 0
Bool8 modeFFA 0
Bool8 modeTDM 0
Bool8 mode1v1 0
Bool8 modeRace 0
Bool8 mode2v2 0
|
763b20ab1c8c55a04349ffce412bcb45771115ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH25/EX25.11/Example25_11.sce | beeb8fce0f796f21991d9ec51e86001c76a9a2bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 834 | sce | Example25_11.sce | clear ;
clc;
// Example 25.11
printf('Example 25.11\n\n');
//page no. 789
// Solution
// Given
H_req = 10^6 ;;// Heat requirement - [Btu]
d_N6 = 60.2 ;// Density of fuel no. 6-[lb/ft^3]
d_N2 = 58.7 ;// Density of fuel no. 2-[lb/ft^3]
S_N6 = 0.72/100 ;// Sulphur content in fuel no. 6
S_N2 = 0.62/100; //Sulphur content in fuel no. 2
lhv_N6 = 155000 ;//Lower heating value of No.6 -[Btu/gal]
lhv_N2 = 120000 ;//Lower heating value of No.2 -[Btu/gal]
S1 = H_req*d_N6*S_N6/lhv_N6 ;// Sulphur emmited when we use fuel NO. 6-[lb]
S2 = H_req*d_N2*S_N2/lhv_N2 ;// Sulphur emmited when we use fuel NO. 2-[lb]
printf('\n Sulphur emmited when we use fuel NO. 6 is %.2f lb.',S1 ) ;
printf('\n Sulphur emmited when we use fuel NO. 2 is %.2f lb.\n',S2 ) ;
printf('Clearly fuel no. 6 should be selected because of its low SO2 emmission.') ; |
2edb0c17276d3838ef3430418668e5de6c647b70 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH5/EX5.9/Ex5_9.sce | fdda3b0a8e26cd6b9bff8d70794555bf9b755cc0 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 645 | sce | Ex5_9.sce | errcatch(-1,"stop");mode(2);//Caption:Find maximum efficiency of generator
//Exa:5.9
;
;
R_a=50*10^-3;//armature resistance (in ohms)
R_s=20*10^-3;//series field resistance
R_sh=40;//shunt field resistance
P_rot=2000;//rotational loss (in watts)
V=120;//voltage (in vollts)
I_f=V/R_sh;//shunt field current
//Refer toeqn 5.49
I_Lm=sqrt((P_rot+(R_a+R_s+R_sh)*(I_f^2))/(R_a+R_s));
P_o=I_Lm*V;//power output at max efficiency
P_cu=(((I_Lm^2)*(R_a+R_s))+((I_f^2)*R_sh));//total copper loss
P_d=P_o+P_cu;//Power developed at max efficiency
P_in=P_d+P_rot;
Eff=(P_o/P_in)*100;
disp(Eff,'Max efficiency of generator (%)=');
exit();
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.