blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21 values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50 values | src_encoding stringclasses 23 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 29 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7985bdaa71f5208149a31291bed92d3c7d2b0e0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.15/Ex4_15.sce | 69a032f6aa4af49d5747cdef1790be3d0c981348 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,816 | sce | Ex4_15.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.15
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
S = 500 * 10 ^ 3; // Rating of the Generator-1 and Generator-2
VI = 800 * 10 ^ 3' // Actual load
// CALCULATIONS
//For Case (a)
Voc_a = 500; // Open-circuit EMF Generator-1 and Generator-2 in Volts
I = 1000; // Full load current in Amphere
perct_1a = 2/100; // Percenatge fall of the Voltage in Generator-1
perct_2a = 3/100; // Percenatge fall of the Voltage in Generator-2
V1a = Voc_a - (perct_1a * Voc_a); // Voltage in the Generator-1 in Volts when it falls to 2% at fully loaded
V2a = Voc_a - (perct_2a * Voc_a); // Voltage in the Generator-2 in Volts when it falls to 3% at fully loaded
// From Chacteristics can be assumed linear as, for Generator 1 is V = 500 + ((500-490)*I1)/(0-1000), V = -0.01*I1+500 and for Generator 2 is V = 500 + ((500-485)*I2)/(0-1000), V = 0.015*I2+500
// When sharing load of 800KVA at voltage, the load current will be I = I1+I2 = (800*1000)/V
// From above equations we get I1 = 1.5*I2 thus, 2.5*I2 = (800*1000)/V
// Putting the above equations in the Generator 2 equation we get V = -0.015*((800*1000)/(2.5*V))+500 solving we get, 25*V^2 - 12500V + 120000 = 0
V_a = poly ([120000 -12500 25],'x','coeff'); // Expression for the load Voltage in Quadratic form
r_a = roots (V_a); // Value of the load Voltage in Volts (neglecting lower value)
I_a = VI/r_a(1,1);
I2_a = I_a/2.5;
I1_a = 1.5*I2_a;
// For Case (b)
perct = 2/100; // Percenatge fall of the Voltage in Generator-1and Generator-2
Voc_1b = 500; // Open-circuit EMF Generator-1 in Volts
Voc_2b = 505; // Open-circuit EMF Generator-2 in Volts
I = 1000; // Full load current in Amphere
V1 = Voc_1b - (perct * Voc_1b); // Voltage in the Generator-1 in Volts when it falls to 2% at fully loaded
V2 = Voc_2b - (perct * Voc_2b); // Voltage in the Generator-2 in Volts when it falls to 2% at fully loaded
// From Chacteristics can be assumed linear as, for Generator 1 is V = 500 + ((500-490)*I1)/(0-1000), V = -0.01*I1+500 and for Generator 2 is V = 505 + ((505-494.5)*I2)/(0-1000), V = -0.0101*I2+505
// When sharing load of 800KVA at voltage, the load current will be I = I1+I2 = (800*1000)/V
// From above equations we get V = -0.01*I1 + 500, I1 = -V/0.01 + 500/0.01 = 50000 - 100*V, V = -0.0101*I2 + 505 and I2 = 505/0.0101 - V/.0101 = 50000-99.0099*V
// Putting the above equations in the Current I equation we get I = I1+I2 = (800*1000)/V = 2*50000-199.0099*V solving we get, 199.0099*V^2 - 100000V + 800000 = 0
V_b = poly ([800000 -100000 199.0099],'x','coeff'); // Expression for the load Voltage in Quadratic form
r_b = roots (V_b); // Value of the load Voltage in Volts (neglecting lower value)
I_b = VI/r_b(1,1);
I1_b = 50000-100*r_b(1,1)
I2_b = 50000-99.0099*r_b(1,1)
// DISPLAY RESULTS
disp("EXAMPLE : 4.15: SOLUTION :-");
printf("\n For case (a) Having open-circuit EMfs of 500V but their voltage falls to 2 percent and 3 percent when fully loaded Load Voltage,\n\n Load Voltage = %.2f V \n\n Load current = %.2f A \n\n Individual currents are %.2f A and %.2f A \n",r_a(1,1),I_a,I1_a,I2_a)
printf("\n For case (b) Having open-circuit EMfs of 500V and 505V but their governors have identical speed regulation of 2 percent when fully loaded Load Voltage,\n\n Load Voltage = %.2f V \n\n Load current = %.2f A \n\n Individual currents are %.2f A and %.2f A \n",r_b(1,1),I_b,I1_b,I2_b)
printf("\n\n [ TEXT BOOK SOLUTION IS PRINTED WRONGLY ( I verified by manual calculation )]\n" );
printf("\n WRONGLY PRINTED ANSWERS ARE :- For case(b) Load voltage = 493.35 V A instead of %.2f V \n ",r_b(1,1));
printf("\n Load current = 1634.73 A instead of %.2f A \n ",I_b)
printf("\n Individual currents 665 A and 1153.5 A instead of %.2f A and %.2f \n ",I1_b,I2_b)
printf("\n For Case (b):- From Calculation of the Load Voltage (V), rest of all the Calculated values in the TEXT BOOK is WRONG because of the value Load Voltage (V) is WRONGLY calculated and the same used for the further Calculation part \n")
|
78e595edab535ba63d843f7fde75b44144ba9a35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH30/EX30.10/ex30_10.sce | 92596ca66dd3feef9240a3608ac3f8096a0f7a18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | ex30_10.sce | clc;
A=107.87; //atomic mass in gm
F=96500; //in Coloumb
v=1; //valency
z=A/(F*v); //calculating ECE using Faraday's Law
disp(z,"(a)Electrochemical Eqvivalent = "); //displaying result
A1=16; //atomic mass in gm
v1=2; //valency
z1=A1/(F*v1); //Faraday's Law
disp(z1,"(b)Electrochemical Equivalent = "); //displaying result |
1898fd5211f74054ec65decb4bfdd1888920b272 | 60fd917d58e9785f92071a63c8eaa5c9e91645dd | /environments/.tst | cea1ca42a43e4f8d34da973b4cc1b9bf57096888 | [
"MIT"
] | permissive | jdutchak/api-koajs | e2c886dc16a61f93dca5abe8086347765bc5f026 | cc3e07c4fdb98a6bc26326445781313dec985341 | refs/heads/master | 2020-06-30T05:31:32.697400 | 2019-08-06T18:39:06 | 2019-08-06T18:39:06 | 200,742,450 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | tst | .tst | ENV="TST"
JWT_SECRET="somesecret"
JWT_ALGORITHM="HS256"
JWT_TOKEN_EXPIRY="86400"
PORT="8000"
SMTP_DOMAIN="smtp.office365.com"
SMTP_PORT="587"
SMTP_USER="email.address"
SMTP_PASSWORD="email.password"
SMTP_FROM_EMAIL_ADDRESS="EmailAddress <email.address>"
AWS_ACCESS_KEY_ID="X"
AWS_SECRET_ACCESS_KEY="X"
AWS_REGION="X"
ORIGIN_ACCESS="['*', 'http://localhost:3000']"
|
8ac290c0ff2fe53201daba343eda0eb9575ce60d | d8d329b49374878fd4640bc46313e650d3c0a30d | /ModelWriter/EnumWriter.tst | d625e2410fad51e5040c42122ac5eeeda8135528 | [] | no_license | Bastiaaan/Blokitect | bbe9df2a9413d4457674ae532b60690d62e301a8 | 2c6b4d9434fd77c94d91533347cff888ed303ce6 | refs/heads/master | 2023-08-25T00:33:39.285873 | 2021-10-29T15:56:01 | 2021-10-29T15:56:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | tst | EnumWriter.tst | ${
Template(Settings settings) {
settings.IncludeProject("Blokitect.Data");
settings.OutputExtension = "ts";
settings.OutputFilenameFactory = (file) => {
return file.Name.ToLowerInvariant().Replace(".cs", string.Empty);
};
}
}$Enums(*Models.Enums.*)[
export enum $Name { $Values[
$Name = $Value][,]
}
]
|
ff1362ec56b1ecadca658d84e5f5d512370cb7b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.26/Ch01Ex26.sce | abc28bc5853828f572cc4844604516146a892fd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sce | Ch01Ex26.sce | // Scilab Code Ex1.26: Page-1.32 (2009)
clc; clear;
h = 6.6e-034; // Planck's constant, Js
delta_x_max = 8.5e-014; // Uncertainty in length, m
m = 1.67e-027; // Mass of proton, kg
// From Position-momentum uncertainty,
// delta_p_min*delta_x_max = h, solving for delta_p_min
delta_p_min = h/delta_x_max; // Minimum uncertainty in momentum of electron, kg-m/s
p_min = delta_p_min; // Minimum momentum of the proton, kg.m/s
delta_E = p_min^2/(2*m);
printf("\nThe minimum uncertainty in momemtum of proton = %4.2e kg-m/s", p_min);
printf("\nThe kinetic energy of proton = %6.3e eV", delta_E/1.6e-019);
// Result
// The minimum uncertainty in momemtum of proton = 7.76e-21 kg-m/s
// The kinetic energy of proton = 1.128e+05 eV
|
30c4938d8c13b9b1ac9f23dcf0d359709422833e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/calpol/l2r.sci | 306b3f73c0ec9406f6118cda72d3d296642e3d6a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | sci | l2r.sci | function [w]=l2r(x)
// Copyright INRIA
w=r2l(x')'
|
39dea932b5bb36f87f4b392343958943c0264f04 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/ChanFlow_m3_par.tst | 44094156d754b9a03f0a0c3ea1821e0aae11c8be | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 890 | tst | ChanFlow_m3_par.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D channel flow, 2D, par(2), P=8</description>
<executable>IncNavierStokesSolver</executable>
<parameters>--use-scotch ChanFlow_m3_par.xml</parameters>
<processes>2</processes>
<files>
<file description="Session File">ChanFlow_m3_par.xml</file>
</files>
<metrics>
<metric type="L2" id="1">
<value variable="u" tolerance="1e-6">8.42518e-14</value>
<value variable="v" tolerance="1e-6">4.35393e-13</value>
<value variable="p" tolerance="1e-6">6.56835e-11</value>
</metric>
<metric type="Linf" id="2">
<value variable="u" tolerance="1e-6">6.34659e-13</value>
<value variable="v" tolerance="1e-6">6.83331e-13</value>
<value variable="p" tolerance="1e-6">1.68574e-10</value>
</metric>
</metrics>
</test>
|
1d1d67b541c62f194437df6f94795e1a799700f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH1/EX1.4/Ex1_4.sce | f04b8d50ca27d22d16e355b006888b676b096f54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Ex1_4.sce | // chapter 1 , Example1 4 , pg 22
lam=2*0.55*10^-3 //distance between 2 antinodes is lam/2 (in m)
n=1.45*10^6 //frequency of crystal(in Hz) (given) they have taken n=1.5 Hz in calculation
v=n*lam //velocity
printf("velocity of waves in sea water\n")
printf("v=%.1f m/s",v)
//sum is solved using n=1.5 Hz while the frequency given is n=1.45 Hz
|
11fab535bcb1021323c4f12358050426aca5937c | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH7/EX7.2/ex2.sce | 9053b0beeec77f05b6eeba3eabc1d22e72602549 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | ex2.sce | //CHAPTER 7_ Flow Measurement
//Caption : Anemometers
// Example 2// Page 426
// To derive an expression for velocity across a hot wire anemometer in terms of the wire resistance Rw, the current through the wire Iw and the empirical constants C0 and C1 and the fluid temperature.
disp("C0+C1(v)^.5)(Tw-Tf)=Iw^2Rw")
disp("Rw= Rr[1+a(Tw-Tr)]")
disp("Rw/Rr=1+a(Tw-Tr)")
disp("Tw-Tr=1/a[Rw/Rr-1]")
disp("Tw=1/a[Rw/Rr-1]+Tr")
disp("Co+C1(v)^0.5=Iw^2Rw/Tw-Tf")
disp("so,")
disp("v=1/C1[{Iw^2Rw/(1/a[Rw/Rr-1]+Tr-Tf)]}^2-C0")
|
8abdaccca570d140ba04ded66b41124e4d2248b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH3/EX3.3/ex3_3.sce | 26248a4f085dde134a6e347fba3f3313ab8a3853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | ex3_3.sce | //determine dc & ac resistance of silicon diode
clear;
clc;
//soltion
//given
Id=20*10^-3;//A//diode current
Vd=0.75;//V// as given in the V-I graph
Rf=Vd/Id;
printf("The dc resistance of diode is %.1f Ω\n",Rf);
//From Graph the values of dynamic voltage and current are
//which is equal to MN and NL repectively (in graph)
del_Vd=(0.8-0.68);//V
del_Id=(40-0)*10^-3;//A
rf=del_Vd/del_Id;
printf("The ac resistance of the diode is %d Ω",rf)
|
110de84c81e6a2dd90132434cf195982a97a9ee1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH14/EX14.04/14_04.sce | 29418e99786fb50355a37c1b5e91d810fc1ad98b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | 14_04.sce | //Problem 14.04:
//initializing the variables:
P = 0.5; // in atm
e = 0.3;
//calculation:
p1 = ((3-e)/(5 - 2*e))*P
p2 = ((1-3*e)/(5 - 2*e))*P
p3 = ((e)/(5 - 2*e))*P
p4 = ((1+e)/(5 - 2*e))*P
printf("\n\nResult\n\n")
printf("\n the partial pressures %0.3f, %0.3f, %0.3f and %0.3f",p1,p2,p3,p4) |
fafcb22639e93ac040c2b0f74485081d2feff560 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH17/EX17.3/EX17_3.sce | 92e5dd991896bf2b538aaa42531c8669005b9245 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | EX17_3.sce | //Finding of Force Exerted
//Given
rho=1000;
d=0.15;
V=25;
//To Find
A=(%pi/4)*d^2;
P=rho*A*V^2*sin(%pi/6);
disp("Force Exerted ="+string(P)+" Newtons");
|
9dd95d6524cdcbef01a92da0f658db9d56cf07d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH3/EX3/cha3_3.sce | 938194fb79bdd57eb21a1e9a5469147900caeb12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | cha3_3.sce | A=4*%pi*10^-7;N=300;V=120;
R=6;G=5*10^-3;Ag=6*6*10^-4;
Lg=2*5*10^-3;
Vo=2*6*6*5*10^-7;
I=V/R
Bg=(A*N*I)/(2*G)
Wf=(Bg^2)/(2*A)*(Vo)
Fm=(Bg^2)/(2*A)*(2*Ag)
L=(N^2*A*Ag)/(Lg)
Irms=V/(sqrt(6^2+15.34^2))
Brms=(A*N*Irms)/(2*G)
Fm=(Brms^2)/(2*A)*(2*Ag)
|
0660ecd07e65e1075c8f4fb265b0283c5edbd8ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH6/EX6.8/exa6_8.sce | a0063d1d9e89456cdca51759b81ebcc33f6e7bbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,237 | sce | exa6_8.sce | // Example 6.8
// AC Ladder Calculations
I_m=10; // Magnitude of current phasor
phase_i=0; // Phase angle of current phasor
omega=50000; // Radian frequency (rad/s)
L= 200*10^-3;//Henry
C=2*10^-9; // Farad
Z_R1=40000;
Z_R2=5000;
Z_L= %i*omega*L;
Z_C=1/(%i*omega*C);
Z_eq1=(Z_R2*Z_C)/(Z_R2+Z_C);
Z_eq2= Z_L+Z_eq1;
Z_eq=(Z_R1*Z_eq2)/(Z_R1+Z_eq2);
I=complex(I_m,0); // current phasor in Rectangular form
V=Z_eq*I;// Voltage phasor
V_L=(Z_L*V)/(Z_L+Z_eq1);// Voltage phasor across inductor
V_C=(Z_eq1*V)/(Z_L+Z_eq1);// Voltage phasor across capacitor
V_m=abs(V);
phase_v=atan(imag(V),real(V))*(180/%pi);
V_L_m=abs(V_L);
phase_v_l=atan(imag(V_L),real(V_L))*(180/%pi);
V_C_m=abs(V_C);
phase_v_c=atan(imag(V_C),real(V_C))*(180/%pi);
t=0:0.5:10;
v=V_m*cos(omega*t+atan(imag(V),real(V)));
v_l=V_L_m*cos(omega*t+atan(imag(V_L),real(V_L)));
v_c=V_C_m*cos(omega*t+atan(imag(V_C),real(V_C)));
plot(t,v,'-r',t,v_l,'-g',t,v_c,'b')
xlabel('t')
ylabel('v')
title('Voltage Waveform')
h1=legend(['v(t)';'v_l(t)';'v_c(t)']);
disp(V,"Voltage Phasor in rectangular form(Volts)=")
disp(V_L,"Voltage Phasor across inductor in rectangular form(Volts)=")
disp(V_C,"Voltage Phasor across capacitor in rectangular form(Volts)=")
|
df880f0cfebfa9963f5cb7dd1b3a26f60fc596dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH5/EX5.9.8/exa5_9_8.sce | 50f0055f10b477d8337dd2979a4cdb1cbaa8753a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa5_9_8.sce | //Caption:overall_transfer_function_of_given_system
//example 5.9.8
//page 105
syms Rf Ra Kb Jm Lf La Kg Kt Jl s
Rf=1000;//field_resistance
Lf=100;//field_inductanc
Kg=1000;//generator_field_constant
Ra=20;//armature_resistance
La=0.1;//armature_inductance
Kt=1.2;//motor_torque_const
Kb=1.2;//motor_back_emf_const
Jl=0.00003;//moment_of_inertia
Jm=0.00002;//coeff_of_viscous_friction
a=Kt/(Ra+s*La);
b=1/((Jm+Jl)*s);
c=(a*b);
d=c/(1+c*Kb);
e=Kg/(Rf+s*Lf);
f=(d*e);
f=simple(f)
disp(f,"wss(s)/Vf(s)=");
//steady state value
disp("under steady state condition, on putting s=0 in expression f,we get:")
disp("Vf=1.2*wss") |
d20c01b3bd7c6de54ecf96f34163ce2dc1d87d0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH30/EX30.1/CD_1.sce | b5030a9c49dbbb8b895482cd604667aa49e2764e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | CD_1.sce | // sum 30-1
clc;
clear;
n1=17;
n2=51;
C=300;
p=9.52;
Ln=(2*C/p)+((n1+n2)/2)+((((n2-n1)/(2*%pi))^2)*(p/C));
x=(Ln-((n2+n1)/(2)))^2;
y=8*(((n2-n1)/(2*%pi))^2);
z=Ln-((n1+n2)/2);
C=(p/4)*(z+(sqrt(x-y)))
// printing data in scilab o/p window
printf("C is %0.2f mm ",C);
|
010ecd08c5a31a5d822c0535b2a0ccf6fdeb5404 | e20b143bd16a6a60520c5d3f6c30af9356cc0aa2 | /macros/xticks2string.sci | ac571944980c1f09f66ac6732a78874efdaf2623 | [] | no_license | slevin48/covid | 2c4806c1d1d91b2196f3086e2af7c69c420fb4db | c482d908ae58b82558f338b63020845cefc43742 | refs/heads/master | 2022-05-28T10:40:56.271120 | 2020-04-29T16:08:27 | 2020-04-29T16:08:27 | 258,529,494 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sci | xticks2string.sci | function xticks2string(str,n)
// Change the xtick to string
//
// Authors
// Yann Debray - Scilab - ESI Group
// Inspired by C.L. Tan, Bytecode
//
a=get("cases_plot_frame");
aa = a.children.x_ticks;
tt = round(linspace(1,max(size(str)),n)');
if size(str,2) > size(str,1) then
str = str';
end
dd = str(tt);
aa(2) = tt;
aa(3) = dd;
a.children.x_ticks = aa;
a.children.user_data = str;
endfunction
|
4ef1eccfdaae0a674924eb8b1fb8a6c0389b966c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH42/EX42.2/Example42_2.sce | a5b368b0aa970d8fb1125a711463b53475366c3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,479 | sce | Example42_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 4: ILLUMINATION
// EXAMPLE : 4.2 :
// Page number 753
clear ; clc ; close ; // Clear the work space and console
// Given data
lumens = 800.0 // Flux emitted by a lamp(lumens)
cp = 100.0 // cp of a lamp
d = 2.0 // Distance b/w plane surface & lamp(m)
theta_ii = 45.0 // Inclined surface(°)
theta_iii = 90.0 // Parallel rays(°)
// Calculations
// Case(a)
mscp = lumens/(4.0*%pi) // mscp of lamp
// Case(b)
I_i = cp/d**2 // Illumination on the surface when it is normal(lux)
I_ii = cp/d**2*cosd(theta_ii) // Illumination on the surface when it is inclined to 45°(lux)
I_iii = cp/d**2*cosd(theta_iii) // Illumination on the surface when it is parallel to rays(lux)
// Results
disp("PART IV - EXAMPLE : 4.2 : SOLUTION :-")
printf("\nCase(a): mscp of the lamp, mscp = %.f ", mscp)
printf("\nCase(b): Case(i) : Illumination on the surface when it is normal, I = %.f lux", I_i)
printf("\n Case(ii) : Illumination on the surface when it is inclined to 45°, I = %.3f lux", I_ii)
printf("\n Case(iii): Illumination on the surface when it is parallel to rays, I = %.f lux\n", abs(I_iii))
printf("\nNOTE: ERROR: Calculation mistake in case(a) in textbook solution")
|
3c29a5c81226ffa35e1ebd7cb0992882cde9cfcc | 13f35c5eacaef0a8dc56549edd994a09b21e886a | /f_act_desigmoid.sci | 3b4cac34f8ee0f629f33296a1d7460835ed945f5 | [] | no_license | Ivanradist/Neural_Net_Milk | 8a940b7f4f501e95cce04580b5cdfe5f86c0ba51 | 3e2de45a109031f2cb9c54ca9299dc95617f5afc | refs/heads/master | 2020-09-12T03:55:59.241356 | 2019-11-22T20:26:54 | 2019-11-22T20:26:54 | 222,295,885 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sci | f_act_desigmoid.sci | function f=f_act_desigmoid(x)
// Обратная функция активации Сигмоид
// f(x)=-ln((1/y)-1)
//x - входной массив
//f - денормализованный массив
f = -log((1/x)-1);
f = f';
endfunction
|
7c17049c4864f56349adfb02048a683fe75ae5c4 | 2f14b5754bf00d8f425d930813ec9fbb37443f20 | /Plot.sce | 88f2d46cea177ac7719f270106364e79eaea5329 | [] | no_license | sohamkan/Sci-projects | 9f14b01e4937ccf3cf59732fc19d495d566bfaae | 5baf7456498ba0075760095655826b7ddcae471e | refs/heads/master | 2022-11-22T04:03:53.155413 | 2020-07-12T04:31:34 | 2020-07-12T04:31:34 | 278,990,043 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39 | sce | Plot.sce | clf
t=(0:0.0001:40);
plot(t,sin(t))
|
9100547d678b27dbc0bbbf5e49ea81873943bf5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH1/EX1.10/ch1ex10.sce | 68f3abf9eebc42a14b3eabb2da10120783c0e0eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | ch1ex10.sce | //signals and systems
//formation of differential equation for a series RC circuit
clear
close
clc
r=15;
c=0.2;
//let the input voltage be x(t)
//let the loop current be i(t)
//let capacitor voltage be y(t)
disp("the loop equation 4 the circuit is given by r*i(t)+(5/D)*i(t)=x(t)")
disp("final form - (3D+1)y(t)=x(t)")
//the next few problems are of the same type where we have to frame the eqation based on the scenario |
483fdcf8d8e47e659366e6448e4863b5d68ac2c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH6/EX6.4/6_4.sce | 6afb5f6901f3d7490667ef0081b77fb502a5b17a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_4.sce | clear
clc
//initialisation of variables
l= 1.5 //miles
d= 18 //in
Q= 12.4 ///cusecs
h= 130 //ft
r= 169
r1= 338
w= 62.4 //lb/ft^3
g= 32.2 //ft/sec^2
//CALCULATIONS
f= h*10*l^5/(l*5280*Q^2)
R= sqrt(1.5*r1-r)
d= sqrt(l^2/R*144)
v= sqrt(h*g*2/(r/R^2+1))
HP= w*0.25*%pi*(d/12)^2*v^3/(550*2*g)
//RESULTS
printf ('f = %.3f ',f)
printf ('\n Diameter of jet d = %.2f in',d)
printf ('\n Water h.p = %.1f h.p',HP)
//The answer is a bit different due to rounding off error in textbook
|
cc24f3b04110bb924814c55896dfac9d1745025d | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH4/EX4.17/4_17.sce | fc898b35b121eba8e335d4a70a7dc66f9504ce40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,678 | sce | 4_17.sce | clear;
clc;
close;
disp("Example 4.17")
M0=0.7 //Mach no.
T0=228 // in K
p0=16 //kPa
eprop=0.85 // prop efficiency
m=10 //Kg/s
pd=0.98 //diffuser pressure ratio
pc=30 //compressor pressurer ratio
ec=0.92 //thermal efficiency of compressor
Tt4=1600 //in K
Qr=42000000 //in kJ/kg
eb=0.99 //thermal efficiency of burner
pb=0.96 //burner pressure ratio
etHPT=0.82
emHPT=0.99
alfa=0.85
emLPT=0.99
eLPT=0.88
egb=0.995
en=0.95
gmc=1.4 //gamma of compressor
Cpc=1004 // in J/kg.K
gmt=1.33 //gamma of turbine
Cpt=1152 // in J/kg.K
Tt0=T0*(1+((gmc-1)*(M0)^2)/2)
pt0=p0*(1+((gmc-1)*(M0)^2)/2)^(gmc/(gmc-1))
a0=((gmc-1)*Cpc*T0)^(1/2);
V0=a0*M0
pt2=pt0*pd
Tt2=Tt0 //Adiabatic
pt3=pt2*pc
tc=pc^((gmc-1)/(ec*gmc))
Tt3=Tt2*tc
f=(Cpt*Tt4-Cpc*Tt3)/(Qr*eb-Cpt*Tt4)
pt4=pt3*pb
ht45=Cpt*Tt4-(Cpc*Tt3-Cpc*Tt2)/((1+f)*emHPT)
Tt45=ht45/Cpt
pt45=pt4*(Tt45/Tt4)^(gmt/((gmt-1)*etHPT))
m9=(1+f)*m
sp=(1+f)*m*eLPT*alfa*ht45*(1-(p0/pt45)^((gmt-1)/gmt))/10^6
Tt5=(ht45-sp*10^6/((1+f)*m))/Cpt
tt=Tt5/Tt45
et=log(tt)/(log(1-((1-tt)/eLPT)))
pt=tt^(gmt/(et*(gmt-1)))
pt5=pt45*pt
p9=p0 //assumption
pi=p9/pt5
ti=pi^((gmt-1)/gmt)
T9i=Tt5*ti
T9=Tt5-en*(Tt5-T9i)
V9=(2*Cpt*(Tt5-T9))^(1/2)
Fprop=eprop*egb*emLPT*sp*10^3/V0
a9=((gmt-1)*Cpt*T9)^(1/2)
M9=V9/a9
pt9=p9*(1+((gmt-1)*M9^2)/2)^(gmt/(gmt-1))
pn=pt9/pt5
Fncore=m*((1+f)*V9-V0)/1000
spp=egb*emLPT*sp
Ft=Fprop+Fncore
mp=((m9*V9^2)/2-m*(V0^2)/2)/10^3
mf=m9-m
PSFC=mf*10^6/((spp*10^3)+mp)
TSFC=mf*10^3/(Ft)
eth=(spp*10^3+mp)*10^3/(mf*Qr)
ep=(Ft*V0)/(spp*10^3+mp)
eo=eth*ep
disp("a(1)Total pressures throughout the engine in kPa:")
disp(pt0,"Total pressure of flight:")
disp(pt2,"Total pressure at engine face:")
//disp(p19,"Static pressure at nozzle exit:")
disp(pt3,"Total pressure at compressor exit:")
disp(pt4,"Total pressure at burner exit:")
disp(pt45,"Total pressure across HPT :")
disp(pt5,"Total pressure at turbine exit:")
disp(pt9,"Total pressure at nozzle exit:")
disp("a(2)Total temperatures across the engine in K:")
disp(Tt0,"Total temperature of flight:")
disp(Tt2,"Total temperature at engine face:") //Tt0=Tt2, since adiabatic!
disp(Tt3,"Total temperature at compressor exit:")
disp(Tt4,"Total temperature at burner exit:")
disp(Tt45,"Total temperature across HPT :")
disp(Tt5,"Total temperature at turbine exit:")
disp(f,"a(3)fuel-to-air ratio in burner :")
disp(Fncore,"(b)Engine core thrust in kN :")
disp(Fprop,"(c)Propeller thrust in kN :")
disp(PSFC,"(d)Power-specific fuel consumption in mg/s/kW :")
disp(TSFC,"(e)TSFC in mg/s/N :")
disp(ep,"f(1)Propulsive efficiency :")
disp(eth,"f(2)Thermal efficiency :")
disp(eo,"(g)Overall efficiency :")
|
4d504e6220bb219873e2c7596060b036d15b8fcb | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/lpc/lpc8.sce | 8b908845cf65f0ac6bb1529c7361566fe00ae1bd | [] | 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 | 182 | sce | lpc8.sce | //no i/p args are passed to the function
lpc();
//output
// !--error 77
//lpc: Wrong number of input argument; 1-2 expected
//at line 55 of function lpc called by :
//lpc();
|
f9ad73e910d20294c319539a80e08689097091df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH2/EX2.15/Example215.sce | cf13ddcf37666d6065b000f54e42e2fac4f10c1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 950 | sce | Example215.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 2, Example 15")
rho = 1000;//density in kg/m3
g = 9.81;//force of gravity in m/s2
H = 10;//head in m
Q = 1.3;//Discharge in m3/s
eta = 0.83;//efficiency
U2 = 22;//blade velocity
Ca = 4.5;//Flow velocity
N = 550;//rpm
disp("Power delivered to the water P in kW :")
P = rho*g*H*Q/1000
disp("Power input to the pump Pin in kW :")
Pin = P/eta
disp("Rotor tip diameter is given by D2 in m")
D2 = 60*U2/(%pi*N)
disp("Rotor Hub dia D1 in m :")
D1 = (D2^2 -Q/(%pi*Ca/4))^(1/2)
disp("Rotor velocity at hub is given by U1 in m/s :")
U1 = D1*U2/D2
disp("Since, the axial velocity is constant, we have: rotor inlet angl at tip alpha1t in degrees")
alpha1t = atan(Ca/U1)*180/%pi
disp("Rotor outlet angle alpha2t in degrees :")
alpha2t = atan(Ca/U2)*180/%pi
|
8c8f416b0f5952eadb0fac34badf98554711967b | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Space/Models/ISS.SCI | baa9674ebc89f8bea63bb223033189ddd7200481 | [
"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 | 335 | sci | ISS.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
codeblock readtextfile(ScriptDir+"\space\models\_animatemodel.sci");
tr=transformation;
tr.rotate(vector(1,0,0),-0.5*Pi);
tr.translate(vector(-4,-2,0));
animatemodel(datadir+"\Models\ISS_Building","isscomplete","3DS",tr,3.1,false);
|
7cb56b4e7267130d134220f1c8b4af4944920421 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.26/3_26.sci | 961b9be06b164ecc49bc2b97ac90c090b6b5dd01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 3_26.sci | //to find no of rods of desired length
clc;
n=25000; //no of rods
n1=12500; //length>10mm
n2=2000; //length>10.25
a=n1-n2; //10<length<10.25
p=a/n;
t=1.41; //using p
t1=t*2;
p1=.4975;
b=p1*n; //9.5<length<10
disp(a+floor(b),'total no of rods'); |
ef6eecd7a38c15dd6d3b9af7a500130084ed417a | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH3/EX3.8/example38.sce | 78121960d2aa15a7f27c64b8191787d149ad0164 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,209 | sce | example38.sce | clc ;
close ;
// Analog S i g n a l
A =1; // Ampl i tude
Dt = 0.005;
t = 0: Dt :10;
xt = exp(-A*t);
Wmax = 2* %pi *1; // Analog Fr equency = 1Hz
K = 4;
k = 0:( K /1000) :K;
W = k* Wmax /K;
XW = xt* exp (- sqrt ( -1)*t'*W) * Dt;
XW_Mag = abs(XW);
W = [-mtlb_fliplr(W),W(2:1001)]; // Omega f rom Wmax to Wmax
XW_Mag = [mtlb_fliplr(XW_Mag),XW_Mag(2:1001)];
[ XW_Phase ,db] = phasemag (XW);
XW_Phase =[-mtlb_fliplr(XW_Phase),XW_Phase(2:1001)];
//Plotting Continuous Time Signal
figure
a = gca ();
a.y_location ="origin";
plot (t,xt);
xlabel ( ' t in sec. ' );
ylabel ( ' x ( t ) ' )
title ( ' Continuous Time Signal ' )
figure
// Pl o t t i n g Magni tude Re spons e o f CTS
subplot (2 ,1 ,1);
a = gca ();
a.y_location ="origin";
plot (W, XW_Mag );
xlabel ( ' Fr equency i n Radians / Seconds> W' );
ylabel ( ' abs (X(jW) ) ' )
title ( 'Magni tude Re spons e (CTFT) ' )
// Pl o t t i n g Phase Reponse o f CTS
subplot (2 ,1 ,2);
a = gca ();
a.y_location = "origin";
a.x_location = "origin";
plot (W, XW_Phase *%pi /180) ;
xlabel ( ' Fr equency in Radians / Seconds> W' );
ylabel ( '<X(jW) ' )
title ( ' Phase Re spons e (CTFT) i n Radians ' ) |
26cf74f1ba0016c12bfa0a36ed7b915c049d7102 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH8/EX8.1.a/ex81a.sce | 242a57169cdbd972aef92544f2c482d0129bd3d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 687 | sce | ex81a.sce | clc;
// Define the polynomial
s=poly(0,"s");
p=10+9*s+4*s^2+s^3;
[C]=coeff(p);
l1=length(C);
x=0;
for i1=1:l1
a1=C(1,i1);
r1=real(a1);
if r1>0 then
x=x+1;
end
end
if(x==l1) then
[S]=roots(p);
disp(S,"Roots=");
l=length(S);
c=0;
for i=1:l
a=S(i,1);
r=real(a);
if r<0 then
c=c+1;
end
end
if(c==l) then
printf("Polynomial is Hurwitz");
else
printf("Polynomial is non-Hurwitz");
end
else
printf("Polynomial is non-Hurwitz");
end |
54d4670749b70a0ef1256ad482b90b805edc972f | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Fortnite - Bounce.sce | 84219aa886f51706633584a205771d4cb8835a05 | [] | 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 | 56,878 | sce | Fortnite - Bounce.sce | Name=Fortnite - Bounce
PlayerCharacters=Fortnite Player
BotCharacters=Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Fortnite Player
AddedBots=Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2
MapName=boxer.map
MapScale=3.5
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
InvincibleBots=false
Timescale=0.85
BlockHealthbars=true
TimeRefilledByKill=0.0
ScoreToWin=100000.0
ScorePerDamage=1.0
ScorePerKill=0.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=true
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=Fortnite
WeaponHeroTag=Fortnite Weapons
DifficultyTag=2
AuthorsTag=Tristam, Faleene, Huddled
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=true
BlockFCT=false
Description=To help vertical tracking while clicking with fortnite weapons in 3rd person
GameVersion=1.0.6
ScorePerDistance=0.0
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Bot Profile]
Name=Pigeon
DodgeProfileNames=Long Strafes Jumping
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=2.0
DodgeProfileMinChangeTime=1.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=Clay Pigeon
SeeThroughWalls=true
[Character Profile]
Name=Fortnite Player
MaxHealth=200.0
WeaponProfileNames=Sniper Rifle;Assault Rifle;Pump Shotgun;Tactical Shotgun;Rocket Launcher no Knockback;Hand Cannon;Minigun;Impulse Grenade
MinRespawnDelay=1.0
MaxRespawnDelay=3.0
StepUpHeight=30.0
CrouchHeightModifier=0.69
CrouchAnimationSpeed=1.7
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=1.0
MovementType=Base
MaxSpeed=350.0
MaxCrouchSpeed=240.0
Acceleration=2500.0
AirAcceleration=16000.0
Friction=100.0
BrakingFrictionFactor=0.0
JumpVelocity=370.0
Gravity=1.1
AirControl=0.015
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=0.468 Y=0.195 Z=0.095
EnemyHeadColor=X=0.851 Y=0.608 Z=0.533
TeamBodyColor=X=0.000 Y=0.000 Z=0.774
TeamHeadColor=X=0.729 Y=0.537 Z=0.839
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=true
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Cylindrical
MainBBHeight=100.0
MainBBRadius=17.0
MainBBHasHead=true
MainBBHeadRadius=11.0
MainBBHeadOffset=-2.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=100.0
ProjBBRadius=17.0
ProjBBHasHead=true
ProjBBHeadRadius=11.0
ProjBBHeadOffset=-2.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.5
JetpackFullFuelTime=1000.0
JetpackFuelIncPerSec=100.0
JetpackFuelRegensInAir=true
JetpackThrust=6000.0
JetpackMaxZVelocity=600.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=Run.abilsprint;;;
HideWeapon=false
AerialFriction=0.3
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=50.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=true
TPSArmLength=200.0
TPSOffset=X=0.000 Y=20.000 Z=0.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
[Character Profile]
Name=Clay Pigeon
MaxHealth=100.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=1.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=8.0
MovementType=Base
MaxSpeed=1100.0
MaxCrouchSpeed=500.0
Acceleration=12000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=4.0
JumpVelocity=2000.0
Gravity=4.0
AirControl=0.2
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Spheroid
MainBBHeight=125.0
MainBBRadius=35.0
MainBBHasHead=false
MainBBHeadRadius=15.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=50.0
ProjBBRadius=25.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.05
StrafeSpeedMult=1.2
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=10.0
[Dodge Profile]
Name=Long Strafes Jumping
MaxTargetDistance=3000.0
MinTargetDistance=500.0
ToggleLeftRight=true
ToggleForwardBack=true
MinLRTimeChange=0.5
MaxLRTimeChange=3.0
MinFBTimeChange=0.5
MaxFBTimeChange=1.5
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.5
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.1
MaxJumpTime=0.1
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
[Weapon Profile]
Name=Sniper Rifle
Type=Projectile
ShotsPerClick=1
DamagePerShot=105.0
KnockbackFactor=0.0
TimeBetweenShots=1.0
Pierces=false
Category=FullyAuto
BurstShotCount=2
TimeBetweenBursts=0.1
ChargeStartDamage=0.1
ChargeStartVelocity=X=1500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=14000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=14000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=3.0
MaxHitscanRange=100000.0
GravityScale=1.0
HeadshotCapable=true
HeadshotMultiplier=2.5
MagazineMax=1
AmmoPerShot=1
ReloadTimeFromEmpty=3.0
ReloadTimeFromPartial=3.0
DamageFalloffStartDistance=8500.0
DamageFalloffStopDistance=9000.0
DamageAtMaxRange=0.5
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Rocket
VisualLifetime=0.1
WallParticleEffect=Gunshot
HitParticleEffect=Blood
BounceOffWorld=true
BounceFactor=0.6
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.5
CanAimDownSight=true
ADSZoomDelay=0.0
ADSZoomSensFactor=0.379403
ADSMoveFactor=0.66
ADSStartDelay=0.1
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000
ADSBlocksShooting=true
ShootingBlocksADS=true
KnockbackFactorAir=0.0
RecoilNegatable=true
DecalType=1
DecalSize=8.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=None
RecoilCrouchScale=1.0
RecoilADSScale=0.5
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=100
ADSFOVOverride=30.0
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=false
ForceFirstPersonInADS=true
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=0.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=true
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=true
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=5.0
BlockedByWorld=true
SpreadSSA=0.0,15.0,0.0,0.0
SpreadSCA=0.0,15.0,0.0,0.0
SpreadMSA=0.0,15.0,1.0,1.0
SpreadMCA=0.0,15.0,0.5,0.5
SpreadSSH=0.0,10.0,8.0,8.0
SpreadSCH=0.0,10.0,6.0,6.0
SpreadMSH=0.0,10.0,12.0,12.0
SpreadMCH=0.0,10.0,10.0,10.0
MaxRecoilUp=0.765
MinRecoilUp=0.765
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.01
TimeToRecoilReset=0.45
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=1.0
AAMaxSpeed=1.5
AADeadZone=0.0
AAFOV=75.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=true
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.01
TriggerBotFOV=0.1
StickyLock=false
HeadLock=true
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=Assault Rifle
Type=Projectile
ShotsPerClick=1
DamagePerShot=33.0
KnockbackFactor=0.0
TimeBetweenShots=0.181818
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=64000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=64000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=2.0
MaxHitscanRange=100000.0
GravityScale=0.0
HeadshotCapable=false
HeadshotMultiplier=2.0
MagazineMax=30
AmmoPerShot=1
ReloadTimeFromEmpty=2.2
ReloadTimeFromPartial=2.2
DamageFalloffStartDistance=9000.0
DamageFalloffStopDistance=9000.0
DamageAtMaxRange=20.0
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Rocket
VisualLifetime=0.01
WallParticleEffect=None
HitParticleEffect=Blood
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.6
CanAimDownSight=true
ADSZoomDelay=0.1
ADSZoomSensFactor=0.7
ADSMoveFactor=0.66
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-20.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=true
DecalType=1
DecalSize=8.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=0.5
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=None
RecoilCrouchScale=1.0
RecoilADSScale=0.5
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=55.0
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=false
ForceFirstPersonInADS=true
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=0.35,1.4,0.792,1.584
SpreadSCA=0.35,1.4,0.544,1.089
SpreadMSA=0.35,1.4,1.188,2.376
SpreadMCA=0.35,1.4,0.816,1.633
SpreadSSH=0.6,1.4,1.32,2.64
SpreadSCH=0.6,1.4,0.907,1.815
SpreadMSH=0.6,1.4,1.98,3.96
SpreadMCH=0.6,1.4,1.361,2.722
MaxRecoilUp=0.665
MinRecoilUp=0.665
MinRecoilHoriz=-0.5
MaxRecoilHoriz=0.5
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.44
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=0.5
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.01
TriggerBotFOV=0.1
StickyLock=false
HeadLock=true
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=Pump Shotgun
Type=Hitscan
ShotsPerClick=8
DamagePerShot=11.875
KnockbackFactor=0.0
TimeBetweenShots=1.428571
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=32000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=32000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=3.0
MaxHitscanRange=100000.0
GravityScale=0.66
HeadshotCapable=false
HeadshotMultiplier=2.5
MagazineMax=5
AmmoPerShot=1
ReloadTimeFromEmpty=4.6
ReloadTimeFromPartial=3.68
DamageFalloffStartDistance=768.0
DamageFalloffStopDistance=4096.0
DamageAtMaxRange=1.25
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Plasma
VisualLifetime=0.01
WallParticleEffect=None
HitParticleEffect=Blood
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.25
CanAimDownSight=true
ADSZoomDelay=0.1
ADSZoomSensFactor=0.7
ADSMoveFactor=0.66
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-20.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=true
DecalType=1
DecalSize=8.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=0.5
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=None
RecoilCrouchScale=1.0
RecoilADSScale=0.85
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=55.0
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=false
ForceFirstPersonInADS=true
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=0.6,1.4,1.751,2.061
SpreadSCA=0.6,1.4,1.618,1.904
SpreadMSA=0.6,1.4,1.926,2.267
SpreadMCA=0.6,1.4,1.78,2.094
SpreadSSH=0.6,1.4,2.189,2.576
SpreadSCH=0.6,1.4,2.023,2.38
SpreadMSH=0.6,1.4,2.408,2.8336
SpreadMCH=0.6,1.4,2.225,2.618
MaxRecoilUp=1.89
MinRecoilUp=1.89
MinRecoilHoriz=-0.4
MaxRecoilHoriz=0.4
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.44
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=0.5
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.01
TriggerBotFOV=0.1
StickyLock=false
HeadLock=true
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
PBS1=0.0,0.0
PBS2=0.0,0.0
PBS3=0.0,0.0
PBS4=0.0,0.0
PBS5=0.0,0.0
PBS6=0.0,0.0
PBS7=0.0,0.0
[Weapon Profile]
Name=Tactical Shotgun
Type=Hitscan
ShotsPerClick=8
DamagePerShot=9.25
KnockbackFactor=0.0
TimeBetweenShots=0.666666
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=32000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=32000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=3.0
MaxHitscanRange=100000.0
GravityScale=0.66
HeadshotCapable=false
HeadshotMultiplier=2.5
MagazineMax=8
AmmoPerShot=1
ReloadTimeFromEmpty=5.0
ReloadTimeFromPartial=5.0
DamageFalloffStartDistance=768.0
DamageFalloffStopDistance=4096.0
DamageAtMaxRange=1.25
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Plasma
VisualLifetime=5.0
WallParticleEffect=None
HitParticleEffect=Blood
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.25
CanAimDownSight=true
ADSZoomDelay=0.1
ADSZoomSensFactor=0.7
ADSMoveFactor=0.66
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-30.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=true
DecalType=1
DecalSize=8.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=0.5
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=None
RecoilCrouchScale=1.0
RecoilADSScale=0.85
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=55.0
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=false
ForceFirstPersonInADS=true
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=0.4,1.4,1.94,2.282
SpreadSCA=0.4,1.4,1.792,2.108
SpreadMSA=0.4,1.4,2.134,2.51
SpreadMCA=0.4,1.4,1.971,2.319
SpreadSSH=0.4,1.4,2.424,2.852
SpreadSCH=0.4,1.4,2.24,2.635
SpreadMSH=0.4,1.4,2.666,3.137
SpreadMCH=0.4,1.4,2.464,2.898
MaxRecoilUp=0.76
MinRecoilUp=0.76
MinRecoilHoriz=-0.4
MaxRecoilHoriz=0.4
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.44
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=0.5
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.01
TriggerBotFOV=0.1
StickyLock=false
HeadLock=true
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
PBS1=0.0,0.0
PBS2=0.0,0.0
PBS3=0.0,0.0
PBS4=0.0,0.0
PBS5=0.0,0.0
PBS6=0.0,0.0
PBS7=0.0,0.0
[Weapon Profile]
Name=Rocket Launcher no Knockback
Type=Projectile
ShotsPerClick=1
DamagePerShot=121.0
KnockbackFactor=0.0
TimeBetweenShots=1.33333
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=1800.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=1800.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=0.0
HeadshotCapable=false
HeadshotMultiplier=1.0
MagazineMax=1
AmmoPerShot=1
ReloadTimeFromEmpty=2.1
ReloadTimeFromPartial=2.1
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=25.0
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Rocket
VisualLifetime=0.1
WallParticleEffect=Flare
HitParticleEffect=Flare
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.8
CanAimDownSight=true
ADSZoomDelay=0.1
ADSZoomSensFactor=0.7
ADSMoveFactor=0.66
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=0.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=0
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=Smoke
RecoilCrouchScale=1.0
RecoilADSScale=0.5
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=55.0
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=false
ForceFirstPersonInADS=true
Explosive=true
Radius=250.0
DamageAtCenter=121.0
DamageAtEdge=121.0
SelfDamageMultiplier=1.0
ExplodesOnContactWithEnemy=true
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=true
SpreadSSA=1.0,1.0,-1.0,0.0
SpreadSCA=1.0,1.0,-1.0,0.0
SpreadMSA=1.0,1.0,-1.0,0.0
SpreadMCA=1.0,1.0,-1.0,0.0
SpreadSSH=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.91
MinRecoilUp=0.91
MinRecoilHoriz=-0.15
MaxRecoilHoriz=0.15
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=0.5
AAMaxSpeed=0.5
AADeadZone=0.0
AAFOV=180.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.001
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=Hand Cannon
Type=Projectile
ShotsPerClick=1
DamagePerShot=78.0
KnockbackFactor=0.0
TimeBetweenShots=1.25
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=64000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=64000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=2.0
MaxHitscanRange=100000.0
GravityScale=0.0
HeadshotCapable=false
HeadshotMultiplier=2.0
MagazineMax=7
AmmoPerShot=1
ReloadTimeFromEmpty=2.0
ReloadTimeFromPartial=1.714
DamageFalloffStartDistance=3500.0
DamageFalloffStopDistance=8500.0
DamageAtMaxRange=31.200001
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Rocket
VisualLifetime=0.3
WallParticleEffect=None
HitParticleEffect=Blood
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.6
CanAimDownSight=true
ADSZoomDelay=0.1
ADSZoomSensFactor=0.7
ADSMoveFactor=0.66
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-80.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=true
DecalType=1
DecalSize=8.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=None
RecoilCrouchScale=1.0
RecoilADSScale=0.65
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=55.0
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=false
ForceFirstPersonInADS=true
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=2.0,1.4,1.063,1.636
SpreadSCA=2.0,1.4,1.001,1.54
SpreadMSA=2.0,1.4,1.329,2.045
SpreadMCA=2.0,1.4,1.251,1.925
SpreadSSH=2.0,1.4,1.934,2.975
SpreadSCH=2.0,1.4,1.82,2.8
SpreadMSH=2.0,1.4,2.417,3.719
SpreadMCH=2.0,1.4,2.275,3.5
MaxRecoilUp=0.576
MinRecoilUp=0.576
MinRecoilHoriz=-0.15
MaxRecoilHoriz=0.15
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.44
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=0.5
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.01
TriggerBotFOV=0.1
StickyLock=false
HeadLock=true
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=Minigun
Type=Projectile
ShotsPerClick=1
DamagePerShot=17.0
KnockbackFactor=0.0
TimeBetweenShots=0.083333
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=64000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=64000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=2.0
MaxHitscanRange=100000.0
GravityScale=0.0
HeadshotCapable=false
HeadshotMultiplier=2.5
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=4.5
ReloadTimeFromPartial=4.5
DamageFalloffStartDistance=99000.0
DamageFalloffStopDistance=99000.0
DamageAtMaxRange=17.0
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Rocket
VisualLifetime=0.01
WallParticleEffect=None
HitParticleEffect=Blood
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.6
CanAimDownSight=true
ADSZoomDelay=0.1
ADSZoomSensFactor=0.7
ADSMoveFactor=0.5
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-30.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=true
DecalType=1
DecalSize=8.0
DelayAfterShooting=0.5
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=0.5
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=None
RecoilCrouchScale=1.0
RecoilADSScale=0.5
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=55.0
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=false
ForceFirstPersonInADS=true
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=0.44,1.8,1.65,1.65
SpreadSCA=0.42,1.8,1.8,1.8
SpreadMSA=0.48,1.8,2.475,2.475
SpreadMCA=0.46,1.8,2.3,2.3
SpreadSSH=0.5,1.8,2.75,2.75
SpreadSCH=0.45,1.8,2.2,2.2
SpreadMSH=0.6,1.8,4.125,4.125
SpreadMCH=0.5,1.8,3.3,3.3
MaxRecoilUp=0.9
MinRecoilUp=0.7
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=true
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.44
AAMode=2
AAPreferClosestPlayer=false
AAAlpha=0.05
AAMaxSpeed=0.5
AADeadZone=0.0
AAFOV=30.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=true
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=true
TriggerBotDelay=0.01
TriggerBotFOV=0.1
StickyLock=false
HeadLock=true
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Weapon Profile]
Name=Impulse Grenade
Type=Projectile
ShotsPerClick=1
DamagePerShot=0.0
KnockbackFactor=1.0
TimeBetweenShots=0.8
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=1600.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=1600.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=1
AmmoPerShot=1
ReloadTimeFromEmpty=1.0
ReloadTimeFromPartial=1.0
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=0.0
DelayBeforeShot=0.2
HitscanVisualEffect=Tracer
ProjectileGraphic=Plasma
VisualLifetime=0.1
WallParticleEffect=None
HitParticleEffect=None
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=0.8
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=0.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=1.0
RecoilNegatable=false
DecalType=0
DecalSize=15.0
DelayAfterShooting=0.0
BeamTracksCrosshair=false
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=700.0
FlatKnockbackVertical=700.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=None
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=-0.7
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=700.0
FlatKnockbackVerticalMin=700.0
ADSScope=No Scope
ADSFOVOverride=55.0
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=false
ForceFirstPersonInADS=true
Explosive=true
Radius=400.0
DamageAtCenter=0.0
DamageAtEdge=0.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.5
ExplodesOnNextAttack=false
DelayAfterSpawn=5.0
BlockedByWorld=true
SpreadSSA=1.0,1.0,-1.0,0.0
SpreadSCA=1.0,1.0,-1.0,0.0
SpreadMSA=1.0,1.0,-1.0,0.0
SpreadMCA=1.0,1.0,-1.0,0.0
SpreadSSH=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
[Sprint Ability Profile]
Name=Run
MaxCharges=1.0
ChargeTimer=0.001
ChargesRefundedOnKill=0.0
DelayAfterUse=0.6
FullyAuto=false
AbilityDuration=0.0
BlockAttackWhileSprinting=true
AbilityBlockedWhenAttacking=true
SpeedModifier=1.4
45DegreeSprint=true
90DegreeSprint=false
135DegreeSprint=false
180DegreeSprint=false
TapToSprint=false
Block45DegreesWhenSprinting=false
AIUseInCombat=true
AIUseOutOfCombat=true
AIUseOnGround=true
AIUseInAir=false
AIReuseTimer=1.3
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=100.0
AIMinTargDist=0.0
AIMaxTargDist=5000.0
AIMaxTargFOV=90.0
AIDamageReaction=true
AIDamageReactionIgnoreChance=0.85
AIDamageReactionMinDelay=0.125
AIDamageReactionMaxDelay=0.25
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=0.0
AIDamageReactionResetTimer=0.1
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-576.000000 0.000000 256.000000
448.000000 0.000000 256.000000
448.000000 0.000000 -768.000000
-576.000000 0.000000 -768.000000
-576.000000 -16.000000 256.000000
448.000000 -16.000000 256.000000
448.000000 -16.000000 -768.000000
-576.000000 -16.000000 -768.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
-576.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
448.000000 272.000000 -784.000000
-576.000000 272.000000 -784.000000
-576.000000 0.000000 -768.000000
448.000000 0.000000 -768.000000
448.000000 0.000000 -784.000000
-576.000000 0.000000 -784.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-576.000000 272.000000 272.000000
448.000000 272.000000 272.000000
448.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
-576.000000 0.000000 272.000000
448.000000 0.000000 272.000000
448.000000 0.000000 256.000000
-576.000000 0.000000 256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
448.000000 272.000000 256.000000
464.000000 272.000000 256.000000
464.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
448.000000 0.000000 256.000000
464.000000 0.000000 256.000000
464.000000 0.000000 -768.000000
448.000000 0.000000 -768.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
-592.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
-576.000000 272.000000 -768.000000
-592.000000 272.000000 -768.000000
-592.000000 0.000000 256.000000
-576.000000 0.000000 256.000000
-576.000000 0.000000 -768.000000
-592.000000 0.000000 -768.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
-592.000000 704.000000 256.000000
-576.000000 704.000000 256.000000
-576.000000 704.000000 -768.000000
-592.000000 704.000000 -768.000000
-592.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
-576.000000 272.000000 -768.000000
-592.000000 272.000000 -768.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
448.000000 704.000000 256.000000
464.000000 704.000000 256.000000
464.000000 704.000000 -768.000000
448.000000 704.000000 -768.000000
448.000000 272.000000 256.000000
464.000000 272.000000 256.000000
464.000000 272.000000 -768.000000
448.000000 272.000000 -768.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
-576.000000 704.000000 -768.000000
448.000000 704.000000 -768.000000
448.000000 704.000000 -784.000000
-576.000000 704.000000 -784.000000
-576.000000 272.000000 -768.000000
448.000000 272.000000 -768.000000
448.000000 272.000000 -784.000000
-576.000000 272.000000 -784.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
-576.000000 704.000000 272.000000
448.000000 704.000000 272.000000
448.000000 704.000000 256.000000
-576.000000 704.000000 256.000000
-576.000000 272.000000 272.000000
448.000000 272.000000 272.000000
448.000000 272.000000 256.000000
-576.000000 272.000000 256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
brush
vertices
-576.000000 720.000000 256.000000
448.000000 720.000000 256.000000
448.000000 720.000000 -768.000000
-576.000000 720.000000 -768.000000
-576.000000 704.000000 256.000000
448.000000 704.000000 256.000000
448.000000 704.000000 -768.000000
-576.000000 704.000000 -768.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
-128.000000 16.000000 -320.000000
0.000000 16.000000 -320.000000
0.000000 16.000000 -336.000000
-128.000000 16.000000 -336.000000
-128.000000 0.000000 -320.000000
0.000000 0.000000 -320.000000
0.000000 0.000000 -336.000000
-128.000000 0.000000 -336.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
0.000000 16.000000 -192.000000
16.000000 16.000000 -192.000000
16.000000 16.000000 -320.000000
0.000000 16.000000 -320.000000
0.000000 0.000000 -192.000000
16.000000 0.000000 -192.000000
16.000000 0.000000 -320.000000
0.000000 0.000000 -320.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
-144.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
-128.000000 16.000000 -320.000000
-144.000000 16.000000 -320.000000
-144.000000 0.000000 -192.000000
-128.000000 0.000000 -192.000000
-128.000000 0.000000 -320.000000
-144.000000 0.000000 -320.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
-128.000000 16.000000 -176.000000
0.000000 16.000000 -176.000000
0.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
-128.000000 0.000000 -176.000000
0.000000 0.000000 -176.000000
0.000000 0.000000 -192.000000
-128.000000 0.000000 -192.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
0.000000 16.000000 -176.000000
0.000000 0.000000 -192.000000
16.000000 16.000000 -192.000000
0.000000 0.000000 -176.000000
16.000000 0.000000 -192.000000
0.000000 16.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 3 0 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 1 5 0x00000000
brush
vertices
-128.000000 0.000000 -176.000000
-128.000000 16.000000 -176.000000
-128.000000 16.000000 -192.000000
-144.000000 0.000000 -192.000000
-128.000000 0.000000 -192.000000
-144.000000 16.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 2 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 0 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0x00000000
brush
vertices
-144.000000 16.000000 -320.000000
-128.000000 16.000000 -320.000000
-128.000000 16.000000 -336.000000
-144.000000 0.000000 -320.000000
-128.000000 0.000000 -336.000000
-128.000000 0.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 3 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 1 5 0x00000000
brush
vertices
0.000000 16.000000 -320.000000
16.000000 16.000000 -320.000000
0.000000 0.000000 -336.000000
0.000000 0.000000 -320.000000
16.000000 0.000000 -320.000000
0.000000 16.000000 -336.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 3 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 3 0 5 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 4 2 5 0x00000000
brush
vertices
0.000000 704.000000 -192.000000
16.000000 704.000000 -192.000000
16.000000 704.000000 -320.000000
0.000000 704.000000 -320.000000
0.000000 16.000000 -192.000000
16.000000 16.000000 -192.000000
16.000000 16.000000 -320.000000
0.000000 16.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-144.000000 704.000000 -192.000000
-128.000000 704.000000 -192.000000
-128.000000 704.000000 -320.000000
-144.000000 704.000000 -320.000000
-144.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
-128.000000 16.000000 -320.000000
-144.000000 16.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-128.000000 704.000000 -320.000000
0.000000 704.000000 -320.000000
0.000000 704.000000 -336.000000
-128.000000 704.000000 -336.000000
-128.000000 16.000000 -320.000000
0.000000 16.000000 -320.000000
0.000000 16.000000 -336.000000
-128.000000 16.000000 -336.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-128.000000 704.000000 -176.000000
0.000000 704.000000 -176.000000
0.000000 704.000000 -192.000000
-128.000000 704.000000 -192.000000
-128.000000 16.000000 -176.000000
0.000000 16.000000 -176.000000
0.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
0.000000 704.000000 -176.000000
0.000000 16.000000 -192.000000
16.000000 704.000000 -192.000000
0.000000 16.000000 -176.000000
16.000000 16.000000 -192.000000
0.000000 704.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 1 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 2 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 0 3 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 3 0 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 1 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-128.000000 16.000000 -176.000000
-128.000000 704.000000 -176.000000
-128.000000 704.000000 -192.000000
-144.000000 16.000000 -192.000000
-128.000000 16.000000 -192.000000
-144.000000 704.000000 -192.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 2 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 0 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 1 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 4 3 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-144.000000 704.000000 -320.000000
-128.000000 704.000000 -320.000000
-128.000000 704.000000 -336.000000
-144.000000 16.000000 -320.000000
-128.000000 16.000000 -336.000000
-128.000000 16.000000 -320.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 4 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 0 2 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 3 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 4 2 1 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
0.000000 704.000000 -320.000000
16.000000 704.000000 -320.000000
0.000000 16.000000 -336.000000
0.000000 16.000000 -320.000000
16.000000 16.000000 -320.000000
0.000000 704.000000 -336.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 3 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 3 0 5 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 4 2 5 0xff8f7d6a internal/editor/textures/editor_clip
entity
type PlayerSpawn
Vector3 position -64.000000 0.000000 -736.000000
Bool8 teamA 0
entity
type CameraPath
UInt32 entityIdAttachedTo 5
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type Effect
Vector3 position 0.000000 256.000000 0.000000
String64 effectName internal/misc/reflectionprobe
entity
type Target
Vector3 position 352.000000 256.000000 224.000000
Vector3 angles -135.000000 30.000000 0.000000
String32 name end
entity
type PlayerSpawn
Vector3 position -64.000000 0.000000 224.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position 416.000000 0.000000 -256.000000
Vector3 angles 270.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -544.000000 0.000000 -256.000000
Vector3 angles 90.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -64.000000 0.000000 -256.000000
Vector3 angles 90.000000 0.000000 0.000000
Bool8 teamB 0
|
5f20c45d3df8517f02a5b53c558a33ef390b8e2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH2/EX2.6/Ex2_6.sce | 7da826e213a92be6171cbf3bf11104119c47e79b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | Ex2_6.sce | //Ex 2.6 page 70
clc;
clear;
close;
VS=3;// kV
IS=750;// A
VD=800;// V
ID=175;// A
dr=30/100;// de-rating factor
IB=8;//mA
delQ=30;// u Coulomb
// dr = 1-IS/np*ID
np = round(IS/(1-dr)/(ID)) ; // no. of parallel string
ns = round(VS*1000/(1-dr)/(VD)) ; // no. of series string
R=(ns*VD-VS*1000)/(ns-1)/(IB/1000)/1000;//kohm
C=(ns-1)*delQ*10**-6/(ns*VD-VS*1000)
printf('Value of R = %.2f kohm',R)
printf('\n Value of C = %.2e F',C)
|
b4b51a54066a565b54ad678031a7db595cb9b08e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH7/EX7.7/Ex7_7.sce | b805cadc0bc1bdba19d324f26327bc9abf6f1e9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | Ex7_7.sce | //example 7.7
Gammasat=18.86;
Gammaw=9.81;
clc; funcprot(0);
phi1=%pi/180*30;
phi2=%pi/180*26;
Kp1=(tan(%pi/4+phi1/2))^2;
Kp2=(tan(%pi/4+phi2/2))^2;
//for top soil
c=0;
sigma0=31.44;
sigmap=sigma0*Kp1+2*c*sqrt(Kp1);
disp(sigmap,"passive pressure for top layer in kN/m^2");
//for z=2
c=10;
sigma0=31.44;
sigmap=sigma0*Kp2+2*c*sqrt(Kp2);
disp(sigmap,"passive pressure for z=2m in kN/m^2");
//for z=3
c=10;
sigma0=15.72*2+(Gammasat-Gammaw)*1;
sigmap=sigma0*Kp2+2*c*sqrt(Kp2);
disp(sigmap,"passive pressure for z=3m in kN/m^2");
|
2c888ba6070cc88341fb95c8d4bef61c71f7f10e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.29.B/EX3_29_b.sce | 8fd7f9ed42bceab18fb95e1efbf15f1183b65fff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | EX3_29_b.sce | //Example 3.29.b
clc;
syms s t;
x=laplace((1/3)*(exp(-2*t)-exp(-5*t));
y=laplace(exp(-5*t));
z=x/y;
f=ilaplace(z);
disp(f);
|
70674de7799963ea67bb0ac06de96e9381b43aef | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH1/EX1.15.d/example115d.sce | 7ac2943d37a197f990b40cf3685e930b8f95a8c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example115d.sce | //Example 1.15d
//Check whether the given signal is periodic or not
clc;
t=-10:0.01:10;
y=(cos(t))^2;
plot(t,y);
disp('Plot shows that the given signal is periodic with period %pi'); |
a2f8e62a94f7e0f0359d9206bc59fe124f631540 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH7/EX7.11/example7_11.sce | a6f70a59f5065b179b2c2e416c5dc3903f3b424e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | example7_11.sce | clc
// Given that
x = 0.3 // stretch in spring in meter
m1 = 6 // mass of first body in kg
m2 = 1 // mass of second body in kg
g = 9.8 // gravitational acceleration of earth in m/sec^2
// Sample Problem 11 on page no. 7.26
printf("\n # PROBLEM 11 # \n")
k = (m1 * g) / x
T = (2 * %pi) * sqrt(m2 / k)
printf("\n Standard formula used \n k = (m1 * g) / x. \n T = (2 * pi) * sqrt(m2 / k).\n")
printf("\n Time period of motion = %f sec. ",T)
|
9e821884022dc04c3d1f4395df06df8d2bd5a547 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /180 Flick Training.sce | a1ed38db4a95d86a069e000c3be81d3fb142ab51 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,927 | sce | 180 Flick Training.sce | Name=180 Flick Training
PlayerCharacters=Dasher
BotCharacters=actualbot.bot
IsChallenge=true
Timelimit=45.0
PlayerProfile=Dasher
AddedBots=actualbot.bot;actualbot.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=0
BotTeams=2;1
MapName=cps.map
MapScale=2.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Timescale=1.0
BlockHealthbars=true
TimeRefilledByKill=0.0
ScoreToWin=0.0
ScorePerDamage=1.0
ScorePerKill=0.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=false
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=180s, Aim, Flicks
WeaponHeroTag=/
DifficultyTag=2
AuthorsTag=unnamed
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=false
BlockFCT=false
Description=Dashing into Bots while you have to flick 180 degrees
GameVersion=1.0.7.2
ScorePerDistance=0.0
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Bot Profile]
Name=actualbot
DodgeProfileNames=dofpuckingnothing
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=true
CharacterProfile=Dash Target
SeeThroughWalls=false
NoDodging=false
NoAiming=false
[Character Profile]
Name=Dasher
MaxHealth=100.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=5.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=true
DamageKnockbackFactor=8.0
MovementType=Base
MaxSpeed=0.0
MaxCrouchSpeed=500.0
Acceleration=16000.0
AirAcceleration=16000.0
Friction=8.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=100.0
AirControl=0.25
CanCrouch=true
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Cylindrical
MainBBHeight=275.0
MainBBRadius=1.0
MainBBHasHead=true
MainBBHeadRadius=0.1
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=true
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=Dash.abilmov;;;
HideWeapon=false
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=5.0
[Character Profile]
Name=Dash Target
MaxHealth=1.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.1
MaxRespawnDelay=0.1
StepUpHeight=0.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=8.0
MovementType=Base
MaxSpeed=0.0
MaxCrouchSpeed=500.0
Acceleration=0.0
AirAcceleration=16000.0
Friction=0.0
BrakingFrictionFactor=0.0
JumpVelocity=0.0
Gravity=0.0
AirControl=0.25
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Cuboid
MainBBHeight=25.0
MainBBRadius=12.5
MainBBHasHead=false
MainBBHeadRadius=0.1
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=2.0
ProjBBRadius=0.1
ProjBBHasHead=false
ProjBBHeadRadius=0.1
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=360.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.5
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.25
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=80.0
[Dodge Profile]
Name=dofpuckingnothing
MaxTargetDistance=100000.0
MinTargetDistance=0.0
ToggleLeftRight=false
ToggleForwardBack=false
MinLRTimeChange=0.2
MaxLRTimeChange=0.5
MinFBTimeChange=0.2
MaxFBTimeChange=0.5
DamageReactionChangesDirection=true
DamageReactionChanceToIgnore=0.5
DamageReactionMinimumDelay=0.125
DamageReactionMaximumDelay=0.25
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.3
MaxCrouchTime=0.6
MinJumpTime=0.3
MaxJumpTime=0.6
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.25
BlockedMovementPercent=0.5
BlockedMovementReactionMin=0.125
BlockedMovementReactionMax=0.2
[Movement Ability Profile]
Name=Dash
MaxCharges=1.0
ChargeTimer=1.0
ChargesRefundedOnKill=1.0
DelayAfterUse=0.1
FullyAuto=false
AbilityDuration=0.2
LockDirectionForDuration=true
NegateGravityForDuration=true
MainVelocity=5000.0
MainVelocityCanGoVertical=false
MainVelocitySetToMovementKeys=false
UpVelocity=0.0
EndVelocityFactor=1.0
Hurtbox=true
HurtboxRadius=90.0
HurtboxDamage=50.0
HurtboxGroundKnockbackFactor=1.0
HurtboxAirKnockbackFactor=1.0
AbilityBlocksTurning=false
AbilityBlocksMovement=false
AbilityBlocksAttack=true
AttackCancelsAbility=false
AbilityReloadsWeapon=false
HealthRestore=0.0
AIUseInCombat=true
AIUseOutOfCombat=false
AIUseOnGround=true
AIUseInAir=true
AIReuseTimer=0.2
AIMinSelfHealth=0.0
AIMaxSelfHealth=100.0
AIMinTargHealth=0.0
AIMaxTargHealth=25.0
AIMinTargDist=0.0
AIMaxTargDist=1750.0
AIMaxTargFOV=15.0
AIDamageReaction=true
AIDamageReactionIgnoreChance=0.75
AIDamageReactionMinDelay=0.125
AIDamageReactionMaxDelay=0.25
AIDamageReactionCooldown=1.0
AIDamageReactionThreshold=75.0
AIDamageReactionResetTimer=1.0
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-256.000000 0.000000 256.000000
0.000000 0.000000 256.000000
0.000000 0.000000 -256.000000
-256.000000 0.000000 -256.000000
-256.000000 -16.000000 256.000000
0.000000 -16.000000 256.000000
0.000000 -16.000000 -256.000000
-256.000000 -16.000000 -256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 structural/dev/dev_grey128
brush
vertices
0.000000 208.000000 272.000000
16.000000 208.000000 272.000000
16.000000 208.000000 -272.000000
0.000000 208.000000 -272.000000
0.000000 -16.000000 272.000000
16.000000 -16.000000 272.000000
16.000000 -16.000000 -272.000000
0.000000 -16.000000 -272.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 208.000000 -256.000000
0.000000 208.000000 -256.000000
0.000000 208.000000 -272.000000
-256.000000 208.000000 -272.000000
-256.000000 -16.000000 -256.000000
0.000000 -16.000000 -256.000000
0.000000 -16.000000 -272.000000
-256.000000 -16.000000 -272.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 208.000000 256.000000
0.000000 208.000000 256.000000
0.000000 208.000000 -256.000000
-256.000000 208.000000 -256.000000
-256.000000 192.000000 256.000000
0.000000 192.000000 256.000000
0.000000 192.000000 -256.000000
-256.000000 192.000000 -256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 structural/dev/dev_grey128
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 structural/dev/dev_grey128
brush
vertices
-272.000000 208.000000 272.000000
-256.000000 208.000000 272.000000
-256.000000 208.000000 -272.000000
-272.000000 208.000000 -272.000000
-272.000000 -16.000000 272.000000
-256.000000 -16.000000 272.000000
-256.000000 -16.000000 -272.000000
-272.000000 -16.000000 -272.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 208.000000 272.000000
0.000000 208.000000 272.000000
0.000000 208.000000 256.000000
-256.000000 208.000000 256.000000
-256.000000 -16.000000 272.000000
0.000000 -16.000000 272.000000
0.000000 -16.000000 256.000000
-256.000000 -16.000000 256.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
entity
type PlayerSpawn
Vector3 position -128.000000 64.000000 -144.000000
Bool8 teamB 0
entity
type CameraPath
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type Effect
Vector3 position 0.000000 256.000000 0.000000
String64 effectName internal/misc/reflectionprobe
entity
type Target
Vector3 position 320.000000 256.000000 320.000000
Vector3 angles -135.000000 30.000000 0.000000
String32 name end
entity
type PlayerSpawn
Vector3 position -128.000000 64.000000 144.000000
Vector3 angles 180.000000 0.000000 0.000000
Bool8 teamA 0
|
fa34f4f19d2664e7fa4db5ab10b9130c0a6cb803 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.22/ex2_22.sce | 8b9e61b471776e59d0ac7de6cd33423adaa5f177 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | ex2_22.sce | // Exa 2.22
clc;
clear;
close;
format('v',6)
// Given data
R1 = 20;// in ohm
R2 = 5;// in ohm
R3 = 3;// in ohm
R4 = 2;// in ohm
V = 30;// in V
I1=4;// in A
V1= I1*R3;// in V
// R1*I -R2*I+V = 0;
I = V/(R1+R2);// in A
V_acrossR2= R2*I;// in V
V_AB = V_acrossR2-V1;// in V
Vth = abs(V_AB);// in V
Rth = (R1*R2)/(R1+R2)+R3+R4;// in ohm
disp(Rth,"The value of Rth in ohm is");
I_N = Vth/Rth;// in A
disp(I_N,"The value of I_N in A is");
|
2e84225d77239586dfae508903f9f843133086d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH6/EX6.5/6_5.sce | b37522c269e16ae4213846caaaad9c43f83da4c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | 6_5.sce | //example:-6.5,page no.-304.
//program to design a single section quarter wave matching transformer.
Zl=10; // load impedence.
Zo=50; // characteristic impedence.
fo=3*10^9;swr=1.5; // maximum limit of swr.
Z1=sqrt(Zo*Zl); // characteristic impedence of the matching section.
taom=(swr-1)/(swr+1);
frac_bw=2-(4/%pi)*acos((taom/sqrt(1-taom^2))*(2*sqrt(Zo*Zl)/abs(Zl-Zo))); // fractional bandwidth.
disp(Z1,'charecteristic impedence of matching section = ')
disp(frac_bw,'fractional bandwidth = ') |
9d4ebfdbc0bf1cc8e7bb107b0bbaa6e3fd626bc3 | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /examples/mechanics/BouncingBall/BouncingBall.sci | 9b57bf850c799f7a642661a8ad205c13bec4b8e6 | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 1,659 | sci | BouncingBall.sci | // Siconos is a program dedicated to modeling, simulation and control
// of non smooth dynamical systems.
//
// Copyright 2018 INRIA.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
exec '../../Front-End/scilab/loaderSiconos.sce';
getf("../../Front-End/scilab/visuballs.sci");
function Simul()
[t,qx,qy]=BouncingBall();
VisuBalls(qx,qy,1,1,0.1);
endfunction
function [Time,Qx,Qy] = BouncingBall()
// Bug dgetri ?
errcatch(998,'continue');
sicLoadModel('./BouncingBall_TIDS_sci.xml');
sicInitSimulation();
k = sicTimeGetK();
N = sicTimeGetN();
arc=InitDrawBall(1,1,0.1);
winId=waitbar('Siconos Computation');
dixpc=0;
while k < N do
// transfer of state i+1 into state i and time incrementation
sicSTNextStep();
// get current time step
k = sicTimeGetK();
// solve ...
sicSTComputeFreeState();
sicSTcomputePb();
// update
sicSTupdateState();
// --- Get values to be plotted ---
dixpc=dixpc+1/N;
if (dixpc>0.01) then
waitbar(k/N,winId);
dixpc=0;
end
Qx(1,k+1)=sicModelgetQ(0,0);
Qy(1,k+1)=0;
Time(k+1)=k*sicTimeGetH();
DrawBall(arc,1,Qx(1,k+1),Qy(1,k+1));
end
endfunction
|
2667e138a7a0998aa01d68928f30594728366fe4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH7/EX7.2.1/7_2_1.sce | 5fd1bf6ccc5e003e4d91bf6f4a2956ac497ed164 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | 7_2_1.sce |
//chapter_no.-7, page_no.-294
//Example_no.7-2-1
clc;
//Calculate_the_conductivity_of_the_diode
e=1.6*(10^-19);
nl=(10^10)*(10^6);//electron_density_at_lower_valley
nu=(10^8)*(10^6);//electron_density_at_upper_valley
ul=8000*(10^-4);//electron_mobility_at_lower_valley
uu=180*(10^-4);//electron_mobility_at_upper_valley
o=e*((nl*ul)+(nu*uu));
o=o*1000;
disp(o,'the_conductivity_of_the_diode(in mmhos)is =');
|
39951b1726049e644342d26c914a9b001b642945 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH4/EX4.7/Example4_7.sce | 8dafbaed2be5c6c96f44d7a3c555c154eaff95e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 682 | sce | Example4_7.sce | // Example 4.7
clear; clc; close;
format('v',6);
// Given data
P=16;//no.of poles
slots=144;//no. of slotes
conductors=10;//per slot
fi=0.03;//in mb/pole
N=375//in rpm
//Calculations
f=P*N/120;//in Hz
disp(f,"Frequency in Hz = ");
kc=1;//for full pitcheed coil
n=slots/P;//slots per pole
Beta=180/n;//in degree
m=n/3;//slots per pole per phase
kd=sind(3*Beta/2)/[m*sind(Beta/2)];//Distribution factor
Z=conductors*slots;//total no. of conductors
Zph=Z/3;// no. of armature per phase conductions
Tph=Zph/2;//turns/ph
Eph=4.44*kc*kd*f*fi*Tph;//in volts
disp(Eph,"Phase Voltage in volts = ");
VL=sqrt(3)*Eph;//in volt
disp(VL,"Line Voltage in volts = ");
|
d8bd3fc464f07fdb4d987dd52b0cb22553d176e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH3/EX3.10/Ex3_10.sce | 504463d9ffe477beafc44d441dc8f41fb71a428e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | Ex3_10.sce | clear
//
//
//
//Variable declaration
n=1 //order of diffraction
lamda=1.54*10**-10 //wavelength(m)
theta=32 //angle(degrees)
h=2
k=2
l=0
//Calculation
theta=theta*%pi/180 //angle(radian)
d=n*lamda/(2*sin(theta))
a=d*sqrt(h**2+k**2+l**2) //lattice parameter of lead(m)
//Result
printf("\n lattice parameter of lead is %0.1f *10**-10 m",a*10**10)
|
38877663d1c5c15df68db085139799cabbc4738f | b0b730fc9d47f41994b920daf707000d5d55f04f | /BLOSC/config/cmake/binex/example/testfiles/h5ex_d_blosc.tst | ace1975ef9eb08d239de0cffdd6b2873056469f2 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | hyoklee/hdf5_plugins-1 | 3fea57373b70fb00036237d3c3875c9e12ae146b | 8d198875a4e801a4ef6ab8172b2a83683a0d6529 | refs/heads/master | 2023-03-27T02:54:04.710393 | 2021-03-29T16:46:59 | 2021-03-29T16:46:59 | 352,704,856 | 0 | 0 | NOASSERTION | 2021-03-29T16:09:24 | 2021-03-29T16:09:24 | null | UTF-8 | Scilab | false | false | 602 | tst | h5ex_d_blosc.tst | blosc filter is available for encoding and decoding.
....Create dataset ................
....Writing blosc compressed data ................
....Close the file and reopen for reading ........
Filter info is available from the dataset creation property
Filter identifier is 32001
Number of parameters is 7 with the value 4 1 2
To find more about the filter check HDF5 blosc filter; see http://www.hdfgroup.org/services/contributions.html
....Reading blosc compressed data ................
Maximum value in DS1 is 1890
blosc filter is available now since H5Dread triggered loading of the filter.
|
cc1db132d60c62c0c94f34575c8f3c9c59422900 | 449d555969bfd7befe906877abab098c6e63a0e8 | /296/CH4/EX4.5/eg4_5.sce | 6fcf323559e1535b1f07ccf475e33f74b3358a88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg4_5.sce | A = 0.5;
Na = 10^17;
p0 = Na;
ni = 1.5*10^10;
dp = 5*10^16;
x = 10^-5;
up = 500;
Tp = 10^-10;
kT = 0.0259;
q0 = 1;
q = 1.6*10^-19;
Dp = kT*up/q0;
Lp = sqrt(Dp*Tp);
p = p0 + dp*exp(-x/Lp);
E = kT*log(p/ni);
E0 = 1.1/2 + E;
Ip = q*A*Dp*dp*exp(-x/Lp)/Lp;
Qp = q*A*dp*Lp;
Qp0 = Qp*10^6;
disp(E0,"steady state separation between Fp and Ec (in eV)=")
disp(Ip,"hole current (in ampere)=")
disp(Qp,"excess stored hole charge (in coulomb)=")
disp(Qp0,"excess stored hole charge (in micro-coulomb)=") |
aa31bc97934bbeea43a20e6764830f4b8ef3a644 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH3/EX3.2/ex3_2.sce | c5ad244cfc87488a456c732759df575ccf9f2c59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | ex3_2.sce | //Calculate the max sag
clear;
clc;
//soltion
//given
W=.6;//kg/m//Line conductor wieght
L=300;//meter//span of the line
T=1200;//kg//max allowable tension
printf("Max sag= (W*L^2)/(8*T)\n");
sag= (W*L^2)/(8*T);
printf("Sag= %.3f m",sag);
|
12671877f2111a2fc6bcba12364e61c0d8acbc1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.3/Ex2_3.sce | f09c5b5fb26ea23650b4645291fa4d9e94f0fb4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | Ex2_3.sce | clc;
clear;
A1=5;
A2=2;
A3=17;
total_gain=A1*A2*A3;
pin= 40*10^-3;
pout=total_gain*pin;
printf('The output power is %.1f watts',pout);
|
ca59db8c2e362714d835088f2a21c70d05fe9499 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH8/EX8.1.d/8_1_d.sce | 3ab5b587ea1b5c0ef0809e8075bc7f2cdedf4a96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 8_1_d.sce | //determine the nyquist rate
//example 8_1<d>
clc;
clear all;
//x(t)=cos(150*pi*t)sin(100*pi*t)
//x(t)=0.5sin(250*pi*t)*0.5*sin(50*pi*t)
wq=50;
wp=250;
wf=0;
if wp>=wq then
wf=wp;
else
wf=wq;
end
F1=wf/2;
Fs=2*F1;
disp('Nyquist Rate=');
disp(Fs);
|
1798a7d11b6ef60640153c9c1b75f91c5d3b184c | 81a5c9fb4452c596031b1d529ea71e53e423de8d | /grades.sce | 56d59fbceb6273353894d413a7d6096d4c33c34e | [] | no_license | thevinitgupta/scilab | b9d6b31b27bd3192d3713470c4a51da080d6a572 | c0aa61b0463c3501d43b73fdec07b9dc7fc27b21 | refs/heads/main | 2023-03-22T07:49:10.980286 | 2021-03-12T13:32:10 | 2021-03-12T13:32:10 | 346,394,901 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | grades.sce | grade = input("Enter your grade : ")
if grade>90 then
disp("O")
elseif grade>=80 & grade<=89 then
disp("E")
elseif grade>=70 & grade<=79 then
disp("A")
elseif grade>=60 & grade<=69 then
disp("B")
elseif grade>=50 & grade<=59 then
disp("Poor")
elseif grade>=40 & grade<=49 then
disp("Very Poor")
else
disp("F")
end |
e119a8da28e0b515166c5494f624f57cedc81a01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH6/EX6.7/ex6_7.sce | bd21ec9c4042311187ba9fb9cd3cbcb9932335da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,088 | sce | ex6_7.sce | //calculate equivalent T & π constants
clear;
clc;
//soltion
//FUNCTIONS
function [z]=rxr(A,B)//Function for the multiplication in rectangular form
z(1)=A(1)*B(1)
z(2)=A(2)+B(2)
endfunction
function [z]=rdr(A,B)//Function for the division in rectangular form
z(1)=A(1)/B(1)
z(2)=A(2)-B(2)
endfunction
function [a]=r2p(z)//Function for rectangular to polar
a=z(1)*complex(cosd(z(2)),sind(z(2)))
endfunction
function[a]=p2r(z)//Funtion for polar to rectangular
a(1)=abs(z);
a(2)=180+atand(imag(z)/real(z));
endfunction
//given
A=[0.9 1];
B=[85 75];
C=[0.0013 91];
D=A;
Z=rdr(p2r(2*(r2p(A)-1)),C);
printf("Equivalent T network\n");
printf("Series Impedance Z=%.2f∠%.2f° ohm\n",Z(1),Z(2));//IN BOOK Z=156.92∠80.5° BECAUSE OF ROUNDING OFF THINGS
Y=C;
printf("Shunt Admitttance Y=%.4f∠%.0f° siemens\n",Y(1),Y(2));
printf("Equivalent π network\n");
Zp=B;
Yp=rdr(p2r(2*(r2p(A)-1)),B);
printf("Series Impedance Z=%.f∠%.f° ohm\n",Zp(1),Zp(2));
printf("Shunt Admitttance Y=%.4f∠%d° siemens\n",Yp(1),Yp(2));
|
4bae728b78d566a8306a061e8711d01a49587652 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH5/EX5.17/Example5_17.sce | 4136eaedac2a8979ce008e433e05991dc427d892 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Example5_17.sce | //Gas Effusion
clear;
clc;
printf("\t Example 5.17\n");
t2=1.5;//diffusion time of compound, min
t1=4.73;//diffusion time of Br, min
M2=159.8;//mol mass of Br gas, g
M=(t2/t1)^2*M2;//molar gas of unknown gas, g(from Graham's Law of Diffusion)
printf("\t the molar mass of unknown gas is : %4.1f g/mol\n",M);
//End
|
1102dd2b9fe0b47afc8a44b345d264bdd8dc5903 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH11/EX11.13/Ex11_13.sce | 3491aada99e61ae234a0d15871e5e434cc51ee05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_13.sce | //Example 11.13
F=3;//Force (N)
A=1*(10^-2)^2;//Are of eardrum (m^2)
P_g=F/A;//Pressure (N/m^2)
P_g1=P_g*1/133;//Pressure (mm Hg)
printf('a.Maximum tolerable gauge pressure = %0.2e N/m^2 or %0.1f mm Hg',P_g,P_g1)
rho=1*10^3;//Density of water (kg/m^3)
g=9.80;//Acceleration due to gravity (m/s^2)
h=P_g/(rho*g);//Depth of water (m)
printf('\nb.Depth of water = %0.2f m',h)
//Answer varies due to round off error
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
a21ca9b600dd66f4a9aa4cec9af0201dd0af0939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH1/EX1.1/Ex1_1.sce | b90f349a650f8c198deb482598c81277b0d8fc62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,013 | sce | Ex1_1.sce | clear
//
//
//
//Variable declaration
ws_al=103 //working stress of Al
ws_mg=55 //working stress of Mg
ws_st=138 //working stress of steel
ws_g=35 //working stress of glass
d_al=2770 //density of Al
d_mg=1780 //density of Mg
d_st=7800 //density of steel
d_g=1370 //density of glass
A=10**6 //area
l=1 //length
//Calculation
L_al=ws_al*A //load of Al
L_mg=ws_mg*A //load of Mg
L_st=ws_st*A //load of steel
L_g=ws_g*A //load of glass
W_al=d_al*l //weight of Al
W_mg=d_mg*l //weight of Mg
W_st=d_st*l //weight of steel
W_g=d_g*l //weight of glass
r_al=L_al/W_al //ratio of Al
r_mg=L_mg/W_mg //ratio of Mg
r_st=L_st/W_st //ratio of steel
r_g=L_g/W_g //ratio of glass
//Result
printf("\n ratio of Al is %0.2f *10**3",r_al/10**3)
printf("\n ratio of Mg is %0.2f *10**3",r_mg/10**3)
printf("\n ratio of steel is %0.2f *10**3",r_st/10**3)
printf("\n ratio of glass is %0.2f *10**3",r_g/10**3)
printf("\n Aluminium alloy is the best material")
|
701f4a799e8e54d1ee61cdb3e773ca1b52626686 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH9/EX9.7/Ex9_7.sce | 99c45d64a5d3acb1bfb37c2aa64ef59bdcdb6f65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | Ex9_7.sce | clc;
clear;
epsilon_0=8.854*10^-14 //in F/cm
epsilon_r=11.8 //in F/cm
epsilon_i=3.9 //in F/cm
d=80*10^-8 //gate oxide thickness in cm
phi_ms=-0.15 //work-function difference in V
Qi=10^11*1.6*10^-19 //fixed oxide charge in C/cm^2
Nd=5*10^17 //in cm^-3
ni=1.5*10^10 //in cm^-3
e=1.6*10^-19 //in J
const=0.0259 //value for kT/e in V
//Calculation
phi_F=const*log(Nd/ni) //in V
Wm=2*sqrt((epsilon_0*epsilon_r*abs(phi_F))/(e*Nd)) //in cm
Qd=e*Nd*Wm //depletion charges in C
Ci=(epsilon_0*epsilon_i)/d //in F/cm^2
VT=phi_ms-(Qi/Ci)-(Qd/Ci)-(2*phi_F)
mprintf("Voltage of n-channel= %1.2f V",VT)
|
5ce617b9d9db1bfa17bcd263d539bf55f2d03e1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH9/EX9.8/Ex9_8.sce | 1b81213fde27e7e7ab95fcc8d34643197e39c61c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | Ex9_8.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
ni=2.4*10^13 //cm^-3
Na=7*10^18 //cm^3
Nd=10^16 //cm^-3
pp0=6*10^18 //cm^-3
esp=11.7
esp0=8.85*10^-14
xn=4.13
xp=4.07
//AE1=e*(xn-xp)
AE=(xn-xp)
disp(AE,"AE in eV is=")
deltaE=1.43-0.67
AE1=deltaE-AE
disp(AE1,"AE1 in eV is= ")
pn0=(ni^2)/Nd
disp(pn0,"pn0 in cm^-3 is=")
Vbi=AE1+(k*T)*log((Nd*pp0)/(pn0*Na))
disp(Vbi,"Vbi in V is=")
|
843be057673d51c28ecc3bbc0181c16c712680f2 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/in2in_x6.sce | 498b026c9a7491da41f7b6c578c9fc75899c0a23 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,160 | sce | in2in_x6.sce | //************************ Input2Input x6 ******************************
if (blk_name.entries(bl) =='in2in_x6') then
//addvmm = %t;
mputl("# Input 2 Input x6",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
in2in_x6_str= ".subckt in2in_x6 in[0]=fbout_"+string(internal_number)+"_"+string(ss)+" in[1]=net"+string(blk(blk_objs(bl),2))+"_"+string(ss)+" in[2]=net"+string(blk(blk_objs(bl),3))+"_"+string(ss)+" in[3]=net"+string(blk(blk_objs(bl),4))+"_"+string(ss)+" in[4]=net"+string(blk(blk_objs(bl),5))+"_"+string(ss)+" in[5]=net"+string(blk(blk_objs(bl),6))+"_"+string(ss)+" in[6]=net"+string(blk(blk_objs(bl),7))+"_"+string(ss)+" in[7]=net"+string(blk(blk_objs(bl),8))+"_"+string(ss)+" in[8]=net"+string(blk(blk_objs(bl),9))+"_"+string(ss)+" in[9]=net"+string(blk(blk_objs(bl),10))+"_"+string(ss)+" in[10]=net"+string(blk(blk_objs(bl),11))+"_"+string(ss)+" in[11]=net"+string(blk(blk_objs(bl),12))+"_"+string(ss)+" in[12]=net"+string(blk(blk_objs(bl),13))+"_"+string(ss)+" out[0]=fbout_"+string(internal_number)+"_"+string(ss);
mputl(in2in_x6_str,fd_w);
mputl(" ",fd_w);
internal_number=internal_number+1;
end
end
|
0a103db8ec026d8ddcf623f466afa4affcb4fbfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.16/5_16.sci | fb854cfc7f43089da5c300d02af834b9d860fd92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sci | 5_16.sci | // Calculate the linear approximation
clc;
th1=30;
th2=60;
th0=th1+th2/2;
Rth1=4.8;
Rth2=6.2;
Rth0=5.5;
ath0=(1/Rth0)*(Rth2-Rth1)/(th2-th1);
disp(ath0,'alpha at o degree(/degree C)=')
disp('5.5[1+0.0085(th-45)]') |
c93add3e9cdd02cb8655d50e9b540c674defb767 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH4/EX4.2/4_2.sce | 971597f3c086043b288abc0c481c6ab2552fb514 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | 4_2.sce | clear;
clc;
close;
disp("Example 4.2")
m=50 //mass flow rate in kg/s
ec=0.9 //compressore polytropic efficiency
Tt2=288 //inlet total temp in K.
pt2=100000 // inlet total pressure in Pa
gm=1.4 //gama
cp=1004 //specific heat in J/kg.K
p=35 //total pressure ratio
tr=p^((gm-1)/(gm*ec)) //relation between total pressure and temp ratios
Tt3=Tt2*tr //Total exit temp
cae=(p^((gm-1)/gm)-1)/(tr-1) //compressor adiabatic efficiency
pc=m*cp*(Tt3-Tt2)/10^6 // compressor shaft power
disp(Tt3,"(a)Compressor exit total temperature in K :")
disp(cae,"(b)Compressor adiabatic efficiency:")
disp(pc,"(c)Comprssor shaft power in MW :") |
896b3887b7250104b9eb9884a95ffa5f9913f165 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH8/EX8.2/8_2.sce | b7298f621092d4e69c561a2080e8ba54c732f58e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_2.sce | //To determine the position of Fermi level
Eg = 1.12; //band gap, eV
k = 1.38*10^-23;
T = 300; //temperature, K
e = 1.6*10^-19;
m0 = 1; //for simplicity assume value of m0 to be unity
mh = 0.28*m0;
me = 0.12*m0;
EF = (Eg/2)+(3*k*T*log(mh/me)/(4*e)); //position of Fermi level, eV
printf("position of Fermi level is %5.3f eV from the top of valence band",EF);
|
0df9c54ca1cf7e3afd3e603bbc09b44e41819b4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.7/2_7.sci | 018df4918b08a2144852a9a70937952444e45088 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sci | 2_7.sci | // 2.7
disp('let coefficient of discharge Cd=1')
H1=0.9;
L=1.2;
g=9.81;
Q=(2/3)*L*(2*g)^0.5*(H1)^(1.5);
th=45;
H2={Q*(15/8)/[(2*g)^0.5*tan(th)]}^(-1/2.5);
printf("Depth of flow = %.1f m",H2) |
d7ab58de71c6cddacdaa90c0ee564bf43a524630 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH2/EX2.4/2_4.sce | 34bc66036c1c9260595c0dddb9347c3f0d1f532a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | 2_4.sce | //example 2.4
//bisection method
//page 26
clc;clear;close;
deff('y=f(x)','y=x*exp(x)-1');
x1=0,x2=1;//f(0) is negative and f(1) is positive
d=0.0005;//maximun tolerance value
c=1;
printf('Succesive approximations \t x1\t \tx2\t \tm\t \ttol\t \tf(m)\n');
while abs((x2-x1)/x2)>d
m=(x1+x2)/2;//tolerance value for each iteration
tol=((x2-x1)/x2)*100;
printf(' \t%f\t%f\t%f\t%f\t%f\n',x1,x2,m,tol,f(m));
if f(m)*f(x1)>0
x1=m;
else
x2=m;
end
c=c+1;// to count number of iterations
end
printf('the solution of equation after %i iteration is %0.4g',c,m) |
99ed3ac018265f084e83d6fb710ad3b49f5e14f4 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/besselap.sci | 7124c7e99dfaf2a4385ddd2f83aad1959896e1a3 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,030 | sci | besselap.sci | <<<<<<< HEAD
// Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
// Original contribution: FOSSEE, IIT Bombay
// Original Source : https://octave.sourceforge.io/signal/
// Modifieded by: Sonu Sharma, RGIT Mumbai
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
function [zero, pole, gain]=besselap(n)
//Bessel analog filter prototype.
//Calling Sequence
//[zero, pole, gain] = besselap(n)
//zero = besselap(n)
//Parameters
//n: Filter Order
//zero: Zeros
//pole: Poles
//gain: Gain
//Description
//It Return bessel analog filter prototype of nth order.
//Examples
//[zero, pole, gain] = besselap (5)
//Output :
// gain =
//
// 1.
// pole =
//
// - 0.5905759 + 0.9072068i
// - 0.5905759 - 0.9072068i
// - 0.9264421
// - 0.8515536 + 0.4427175i
// - 0.8515536 - 0.4427175i
// zero =
//
// []
funcprot(0);
[nargout, nargin] = argn() ;
if (nargin>1 | nargin<1)
error("besselap : wrong number of input argument")
end
// interpret the input parameters
if (~(length(n)==1 & n == round(n) & n > 0))
error ("besselap: filter order n must be a positive integer");
end
p0=1;
p1=[1 1];
for nn=2:n
px=(2*nn-1)*p1;
py=[p0 0 0];
px=prepad(px,max(length(px),length(py)),0);
py=prepad(py,length(px));
p0=p1;
p1=px+py;
end
// p1 now contains the reverse bessel polynomial for n
// scale it by replacing s->s/w0 so that the gain becomes 1
p1=p1.*p1(length(p1)).^((length(p1)-1:-1:0)/(length(p1)-1));
zero=[];
pole=roots(p1);
gain=1;
=======
function [zero, pole, gain] = besselap (n)
//Return bessel analog filter prototype.
//Calling Sequence
//[zero, pole, gain] = besselap (n)
//[zero, pole] = besselap (n)
//zero = besselap (n)
//Parameters
//n: Filter Order
//zero: Zeros
//pole: Poles
//gain: Gain
//Description
//This is an Octave function.
//It Return bessel analog filter prototype of nth order.
//Examples
//[zero, pole, gain] = besselap (5)
//zero = [](0x0)
//pole =
//
// -0.59058 + 0.90721i
// -0.59058 - 0.90721i
// -0.92644 + 0.00000i
// -0.85155 + 0.44272i
// -0.85155 - 0.44272i
//
//gain = 1
funcprot(0);
lhs = argn(1)
rhs = argn(2)
if (rhs < 1 | rhs > 1)
error("Wrong number of input arguments.")
end
select(rhs)
case 1 then
if(lhs==1)
zero = callOctave("besselap",n)
elseif(lhs==2)
[zero, pole] = callOctave("besselap",n)
elseif(lhs==3)
[zero, pole, gain] = callOctave("besselap",n)
else
error("Wrong number of output argments.")
end
end
>>>>>>> 6bbb00d0f0128381ee95194cf7d008fb6504de7d
endfunction
|
9027701e48748d93d76de6312a8de130b823f1e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH2/EX2.8/8.sce | 559d1f94b0fa442b2d75574e6f2ffb192a8a1c61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | 8.sce | clc ;funcprot(0);
//Example 2.8
//Initializing the variables
rho = 10^3; //Density of fluid
rhoM = 13.6*10^3; //Density of manometer liquid
g = 9.81; //Acceleration due to gravity
H = 0.3; // Differnce in height = b-a as in text
h = 0.7;
//Calculations
result = rho*g*H + h*g*(rhoM-rho);
disp( result/1000,"Pressure difference (kN/m2):");
|
fd5a2c23309aee67f0573a78db507301c3f2ca28 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/test3.sce | 7e50aa7e2db7a68523c5502c8926d162d937a9cd | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 893 | sce | test3.sce | z='1111'
n=4
w=bin2dec(z)
y=zeros(w,n)
for i = 1 : w
j=n
d=dec2bin(i)
k=strtod(d)
while k > 1
c = modulo (k,10)
k = int (k/10)
y(i,j) = c
j=j-1
end
if( k == 1 )
y(i,j) = 1
end
end
disp (y)
tc = 750
b = 140
FH = 15
FT = 32
r=1
p=1
total = zeros(w,1)
demand = zeros(w,1)
qc = zeros(w,1)
demand_mat =[ 2500 4300 3750 6500 ]
for i=1 : w
total(i,1) = exp(1500)
end
for i=1 : w
for j =1 : n
demand(i,1) = demand(i,1) + y(i,j)* demand_mat(1,j)
end
r=1
p=1
for q = 1 : 1500
total_cost= r*FH +(demand(i,1)/q)*p*FT
if ( modulo(q,tc) == 0 )
p = p + 1
end
if ( modulo(q,b) == 0 )
r = r + 1
end
if ( total(i,1) > total_cost )
total(i,1) = total_cost
qc(i,1) = q
end
end
end
disp(total)
|
8269e6baaab3ff61b621636c817c942cdcb6dd17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH14/EX14.2/ex14_2.sce | 7dbf1df8a55fb4f78da7cb661be07629388e3148 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | ex14_2.sce | clc;
del_Ho=5640000; // Heat released during the process
// From the Table 14.1
del_hfO2=-393509; del_hfH2O=-285830; // Enthalpy of Heat in kJ/kmol
del_hfsucrose=12*del_hfO2+11*del_hfH2O+del_Ho; // The enthalpy formation of sucrose
disp ("kJ/kmol (answer mentioned in the textbook is wrong)",del_hfsucrose,"The enthalpy formation of sucrose = ");
|
c647017b6cd6bd044e19b597ad357c567bf1abc7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/sysconv.man.tst | 786661fdfc326051d1856758a605ab044bea7f44 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | tst | sysconv.man.tst | clear;lines(0);
s1=ssrand(1,1,2);
s2=ss2tf(s1);
[s1,s2]=sysconv(s1,s2);
|
89b86f50a89f1e6acfa4cfcf8d58a58059421923 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH2/EX2.3.5/2_3_5.sce | 20641cd63520ba8d15d6802b080b8891e698b014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_3_5.sce | clc
//initialisation of variables
F= 100 //tonf
p= 2000 //lbf/in^2
x= 12 //in
x1= 48 //in
p1= 40 //lbf/in^2
//CALCULATIONS
A3= (F/p)*2240
A2= A3*x/x1
A1= A2*p/p1
//RESULTS
printf (' Piston area= %.f in^2',A2)
printf (' \n ram area= %.f in^2',A1)
|
06395053b87a0e00eddb651b500d425ad603ea8e | 8c8c1ab38e21729879e1fb57636eb778aaf88ca5 | /EXP_2_3.sce | faf03b806a75e946284b571a7ff310c410c38766 | [] | no_license | Rutvik1999/Scilab_3rdSemester | 3b9454b18220ed503e7129bf77a797feecd8f039 | 12342f90814f64e86398621be3070d5569388634 | refs/heads/master | 2020-05-18T08:21:10.203092 | 2019-04-30T16:03:59 | 2019-04-30T16:03:59 | 184,292,298 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | EXP_2_3.sce | v = 0:0.2:12;
M = [sin(v) ; cos(v)];
disp("Size of vector v :");
disp(size(v));
disp("Size of Matrix M :")
disp(size(M));
Q = [M(1,1:10);M(2,1:10)];
disp(Q');
|
e1ac62aabe58444f8d3945d58b2c08dc6b2b03da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH4/EX4.18/Ex4_18.sce | 044e7d505af470d660580db638e950e22c6ad3e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,674 | sce | Ex4_18.sce |
//Variable declaration
Cpi = 20*10^-9 //opening capacitor(F)
Cu = 5*10^-9
C = 50*10^-9 //here C = Cl+Cw
rpi = 3.75*10^3 //dynamic drain resistance(ohms)
r1 = 4*10^3 //resistance(ohms)
r2 = 42*10^3 //resistance(ohms)
r3 = 303*10^3 //resistance(ohms)
f = 20 //frequency(Hz)
beta = 100 //common emitter current gain
Rl = 10*10^3 //load resistance(ohms)
//Calculations
//Part a
Req = (((r1*r2)/(r1+r2)+rpi)*r3)/(((r1*r2)/(r1+r2)+rpi)+r3) //equivalent resistance(ohms)
Ce = (beta+1)/(2*(%pi)*f*Req) //emitter capacitance(uF)
//Part b
gm = beta/rpi //transconductance
Ro = (Rl*r1)/(r1+Rl) //output resistance(k ohms)
Ceq = Cpi+(Cu*(1+gm*Ro)) //equivalent capacitance(pF)
Co = C+(Cu*(1+(1/(gm*Ro)))) //output capacitance(pF)
r = (rpi*r1)/(rpi+r1) //rpi||r1
w21 = 1/(Ceq*r) //lower cutoff frequency(MHz)
w22 = 1/(Co*Ro) //higher cutoff frequenct(MHz)
//Part c
gm = 79.2
Ro = 0.75
Ceqnew = 20+(5*(1+((gm*Ro)))) //as gain is reduced to 75% of original value
wHnew = (10^12)/(Ceqnew*r)/10**6 //corner value of high frequency(Mrad/s)
fHnew = wHnew/(2*(%pi)) //new value of higher frequency cutoff(KHz)
//Results
printf ("a)value of bypass capacitor Ce is %.f uF",Ce/1E-6)
if w21>w22 then
printf ("higher frequency is w21")
else
printf ("higher frequency is w22")
end
printf ("b)high frequency cut-off is %.2f Mrad/s",w22/1E+3)
printf ("c)high frequency cut-off is %.3f MHz",fHnew)
|
6d2e6e123001b0ff846f6fddd983a4184d4d3365 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH9/EX9.18/9_18.sce | 6dd453203b2c6c9405f7ba474d3213a61dcb395d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | 9_18.sce | clc
//initialisation of variables
dH= -10200 ///cal
R= 1.987 //cal deg^-1 mole^-1
T1= 690 //K
T2= 800 //K
KT1= 10
//CALCULATIONS
KT2= KT1*10^(dH*(T2-T1)/(2.303*R*T1*T2))
//RESULTS
printf ('K800= %.2f ',KT2)
|
4b3d9b14052e71327829d1d86c88389923d2a1ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH7/EX7.19/19.sce | 341aee2f9d01f43bced6d6fa26083225cefa784b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | 19.sce | clc
h_fg=334; //kJ/kg
v_liq=1; //m^3/kg
v_ice=1.01; //m^3/kg
T1=273; //K
T2=263; //K
p1=1.013*10^5; //Pa
p2=(p1+h_fg*10^3/(v_ice-v_liq)*log(T1/T2))/10^5;
disp("p2=")
disp(p2)
disp("bar") |
7ecde7bcb4d7aa9cac0d46dcaea314f229a8c4c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH6/EX06.01/Figure06_01.sce | 2665151aa73b1a24a13d98a984cd9d6efe54deb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 869 | sce | Figure06_01.sce | //clear//
//Caption:Nonreturn-to-zero bipolar format
//Figure 6.1(c):Discrete PAM Signals Generation
// [3].BiPolar NRZ
//page 235
clear;
close;
clc;
x = [0 1 1 0 0 1 0 0 1 1];
binary_negative = [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1];
binary_zero = [0 0 0 0 0 0 0 0 0 0];
binary_positive = [1 1 1 1 1 1 1 1 1 1];
L = length(x);
L1 = length(binary_negative);
total_duration = L*L1;
//plotting
a =gca();
a.data_bounds =[0 -2;L*L1 2];
for i =1:L
if(x(i)==0)
plot([i*L-L+1:i*L],binary_zero);
poly1= a.children(1).children(1);
poly1.thickness =3;
elseif((x(i)==1)&(x(i-1)~=1))
plot([i*L-L+1:i*L],binary_positive);
poly1= a.children(1).children(1);
poly1.thickness =3;
else
plot([i*L-L+1:i*L],binary_negative);
poly1= a.children(1).children(1);
poly1.thickness =3;
end
end
xgrid(1)
title('BiPolar NRZ')
|
bd3672e760d074a95a4d82f13f81498e593f0458 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH5/EX5.7/Fig5_7.sce | 9328c867f40b7c76480ee6a50f31a97eee96c592 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Fig5_7.sce | //Caption:Scilab code for brightness suppression
//Fig5.7
//page 247
clc;
close;
a = imread('E:\DIP_JAYARAMAN\Chapter4\baboon.png');
a = rgb2gray(a);
b = double(a)-50;
b = uint8(b);
figure(1)
ShowImage(a,'Original Image');
title('Original Image')
figure(2)
ShowImage(b,'Brightness Supressed Image');
title('Brightness Supressed Image') |
494c2afd842e462419b2aacc00ce6241a44da5c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH18/EX18.3.2/18_3_2.sce | 63a447b15a1bb60ef7c12d4e6eaaffd58d62779b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | 18_3_2.sce | clc;
//page no 694
//prob no. 18.3.2
//A TV system with
N=525;P=30;
//Determination of horizontal and vertical synchhronization freq.
fh=N*P;
disp('Hz',fh,'the horizontal freq. is ');
fv=2*P;
disp('Hz',fv,'the vertical freq. is ');
//Determination of time reqd to scan one line
Th=(1/fh);
disp('sec',Th,'the time reqd to scan one line is ');
|
a5e0fda6b11cc8d673d95287fa8a74e25ff60606 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH3/EX3.1.s/3_01_solution.sce | 06d54644809ee02fe70e4ebf7a93744042a9f673 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 3_01_solution.sce | //Soultion 3-01
WD=get_absolute_file_path('3_01_solution.sce');
datafile=WD+filesep()+'3_01_example.sci';
clc;
exec(datafile)
P_abs = P_atm - P_vac; //Pressure relationship
printf("Absolute pressure of Vacuum chamber is %1.2f kPa", P_abs);
|
411160575892d013ba3ddc4b4144afeb7a665b81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH1/EX1.5.6/1_5_6.sci | 8888d3ac9e63b3b2340740bb53a6214849e6cb3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sci | 1_5_6.sci | //page 36
clear;
close;
clc;
a=[1 -1 0 0;-1 2 -1 0;0 -1 2 -1;0 0 -1 2];
disp(a,'a=')
b=[1;1;1;1]
disp(b,'b=')
disp('Given Equation ,ax=b')
[L,U]=lu(a);
disp(U,'U=');
disp(L,'L=');
disp('Augmented Matrix of L and b=');
A=[L b];
disp(A)
c=zeros(4,1);
n=4;
//Algorithm Finding the value of c
c(1)=A(1,n+1)/A(1,1);
for i=2:n;
sumk=0;
for k=1:n-1
sumk=sumk+A(i,k)*c(k);
end
c(i)=(A(i,n+1)-sumk)/A(i,i)
end
disp(c,'c=')
x=zeros(4,1);
disp('Augmented matrix of U and c=')
B=[U c];
disp(B)
//Algorithm for finding value of x
x(n)=B(n,n+1)/B(n,n);
for i=n-1:-1:1;
sumk=0;
for k=i+1:n
sumk=sumk+B(i,k)*x(k);
end
x(i)=(B(i,n+1)-sumk)/B(i,i);
end
disp(x,'x=')
//end |
840f7151d9944c848eadb7e4851b1f6c4e98537f | 85fe3541d4988b676b5ab7c8ed719a26fe38e3c8 | /Examples/6_charges.sce | 4a339ddba6c6fc1b5c0765052879ccab8ea39a2b | [
"Unlicense"
] | permissive | UnknowableCoder/SimCampEl | c115105b2b5837b3a1eb012d1acb89015eade17f | 9bd83c6316e16a161d19393ad79a4e3bdcb30679 | refs/heads/main | 2023-03-13T23:07:25.000479 | 2021-03-12T13:38:35 | 2021-03-12T13:38:35 | 347,071,759 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | 6_charges.sce | 6
1 0 0 0 0 0 0 0 0 1 9.99999974737875163555145e-006 0.100000001490116119384766 Qx+
-1 0 0 0 0 0 0 0 0 1 9.99999974737875163555145e-006 0.100000001490116119384766 Qx-
0 1 0 0 0 0 0 0 0 1 9.99999974737875163555145e-006 0.100000001490116119384766 Qy+
0 -1 0 0 0 0 0 0 0 1 9.99999974737875163555145e-006 0.100000001490116119384766 Qy-
0 0 1 0 0 0 0 0 0 1 9.99999974737875163555145e-006 0.100000001490116119384766 Qz+
0 0 -1 0 0 0 0 0 0 1 9.99999974737875163555145e-006 0.100000001490116119384766 Qz-
-1000 -1000 -1000 1000 1000 1000
0
0
0
0
0
0
299792448 221 0
|
d37f3c7b27f6de6354c3815f1d557f6a53d9b7da | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH40/EX40.8/Example40_8.sce | 7a47ee9ef4ac8f0d5b5a0767abe70d61313032f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Example40_8.sce | //Given that
p = 0.90
//Sample Problem 40-8
printf("**Sample Prblem 40-8**\n")
funcprot(0)
function [P] = f(x)
P = 1 - (%e^(-2*x))*(1 + 2*x + 2*x^2) - p
endfunction
p = fsolve(1, f)
printf("The possible value of radius is %1.2f*a", p) |
3a48a2dec74af0f8861b7b7aef4fb32d62043fd0 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/01/Not.tst | ae926cd9383b2ac6466ed7cebfb377abab3d054c | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | tst | Not.tst | // File name: projects/01/Not.tst
load Not.hdl,
output-file Not.out,
compare-to Not.cmp,
output-list in%B3.1.3 out%B3.1.3;
set in 0,
eval,
output;
set in 1,
eval,
output;
|
2ea2bc39460de24ceafbb93d61aa412928510eef | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/div2.sce | d7da770e37b49f9a67fc74a38ac05bed5cd3fc6b | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,497 | sce | div2.sce | //************************** Div BY 2 **********************************
if (blk_name.entries(bl) =='div2') then
disp(scs_m.objs(bl).model.opar(1))
cd(vpr_path);
//**********************************
//Writing supporting list file
//**********************************
blname = blk_name.entries(bl);
blkin = length(scs_m.objs(blk(bl,1)).model.in);
blkout = length(scs_m.objs(blk(bl,1)).model.out);
prime_ipnet='inputs';
for s=2:(1+blkin)
prime_ipnet=prime_ipnet+' '+string(blk(bl,s))+'_1';
end
prime_opnet='outputs'
for s=(2+numofip): (1+numofip+blkout)
prime_opnet=prime_opnet+' '+string(blk(bl,s))+'_1';
end
fd_w2= mopen (blname+'_list.txt','wt')
mputl(strcat(["obj"," ",fname]) ,fd_w2);
mputl('numips '+string(blkin),fd_w2);
mputl('numops '+string(blkout),fd_w2);
mputl(prime_ipnet,fd_w2);
mputl(prime_opnet,fd_w2);
mclose(fd_w2);
unix_w(' perl /home/ubuntu/rasp30/vtr_release/vtr_flow/scripts/run_vtr_flow.pl '+ scs_m.objs(bl).model.opar(1) +' /home/ubuntu/rasp30/vtr_release/vpr/ARCH/arch.xml -ending_stage scripts -no_mem'); ///home/ubuntu/rasp30/vpr2swcs/arch/rasp3_arch.xml
unix_w('pwd ') ;
unix_w('cp temp/'+blname+'.pre-vpr.blif ./'+blname+ '.blif -rf');
unix_g('pwd ') ;
unix_g('bash genblif.sh '+ blname) ;
unix_g('cp '+ blname +'.blif '+path)
cd(path)
fext=fname+'.blif'
unix_g('cat '+blname +'.blif >> '+fext);
//end;//elseif div2
end
|
0af051e09cb8aed1c81c739d1140fefbf7e375fa | a7cf993640342bbbdfbd34eceadf35135c56f323 | /adaptive_filters.sce | 81994b083078cf0e6b38d1720118b3c162626a4d | [] | no_license | hitarth64/Adaptive-Signal-Processing | 9bc7c8a58481ff91ffd1fcecde55c594ff706c15 | 33256fca97bfeb7987951943c19c5a9f6bb03beb | refs/heads/master | 2021-01-23T00:20:20.265903 | 2017-03-21T15:38:52 | 2017-03-21T15:38:52 | 85,718,330 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,142 | sce | adaptive_filters.sce | // RLS2: Implements Recursive Least Square adaptive filter given lambda for decaying contribution, delta for initialization - can be anything but zero and finally, x_n the input data // sequence.
//LMS: LMS adaptive filter - mu: adaptive weight to be given as input and x_n input signal.
// sliding window adaptive filter: L: length of window, delta- anything but zero.
// All these are currently set to be linear predictors. Could however be changed.
function [w] = RLS2(lambda, delta, x_n)
w(:,1) = [0 0]';
P = eye(2,2) / delta;
for i = 1:length(x_n)-1
x_vec = [x_n(i) 0]';
if i>1 then x_vec(2) = x_n(i-1);
end
z_n = P * x_vec;
g_n = 1/(lambda + x_vec' * x_vec) * z_n;
alpha = x_n(i+1) - w(:,i)' * x_vec;
w(:,i+1) = w(:,i) + alpha*g_n;
P = (P - g_n * z_n')/lambda;
end
endfunction
function[w] =LMS(mu,x_n)
w(:,1) = [0; 0];
for i = 1:length(x_n)-1
second = 0;
if i>1 then second = x_n(i-1);
end
x_vector = [x_n(i); second];
err=x_n(i+1) - w(:,i)'*x_vector;
w(:,i+1) = w(:,i) + mu*err*x_vector;
end
endfunction
function [w] = sliding(L,x_n, delta)
w(:,1) = [0 0]';
P = eye(2,2) / delta;
for i = 1:length(x_n)-1
x_vec = [x_n(i) 0]';
if i>1 then x_vec(2) = x_n(i-1);
end
g_n = 1/(1 + x_vec' * P * x_vec) *P * x_vec;
w_tilde = w(:,i) + g_n *(x_n(i+1) - w(:,i)' * x_vec);
P_tilde = P - g_n * x_vec' * P;
first=0; second=0;
if i-L-1>0 then first = x_n(i-L-1)
end
if i-L-2>0 then second = x_n(i-L-2)
end
x_n_L_1 = [first second]';
g_tilde = P_tilde* x_n_L_1 / (1-x_n_L_1' *P_tilde* x_n_L_1);
d_n_L_1 = 0;
if i-L-1>0 then d_n_L_1 = x_n(i-L);
end
w(:,i+1) = w_tilde - g_tilde*(d_n_L_1 - w_tilde' * x_n_L_1);
P = P_tilde + g_tilde * x_n_L_1' * P_tilde;
end
endfunction
|
92db75a245cc36591f8f2b2f39804163ff7d9962 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH4/EX4.6/Ex4_6.sce | 9664981c78f11c2720d162557247498f26f2e048 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,029 | sce | Ex4_6.sce | //Fluid system - By - Shiv Kumar
//Chapter 4 - Pelton Turbine (Impulse Turbine)
//Example 4.6
clc
clear
//Given Data:-
N=300; //Speed of runner, rpm
H=510; //Head, m
d=200; //Diameter of the Jet, mm
AoD=165; //Angle of Jet(Deflection inside bucket), degrees
Vel_per=15; //Percentage by which velocity is reduced due to friction
Loss_per=3; //Percentage of mechanical Losses (of power Supplied)
//Data Used:-
rho=1000; //Density of water, kg/m^3
g=9.81; //Acceleration due to gravity, m/s^2
Cv=0.98; //Co-efficient of Velocity
Ku=0.46; //Speed ratio
//Computations:-
d=d/1000; //m
beta_O=180-AoD; //degrees
Vro_by_Vri=1-Vel_per/100; //Vro/Vri
Vi=Cv*sqrt(2*g*H); //m/s
Vwi=Vi;
u=Ku*sqrt(2*g*H); //m/s
uo=u;
ui=u;
Vri=Vi-ui; //m/s
Vro=Vri*Vro_by_Vri; //m/s
Vrwo=Vro*cosd(beta_O); //m/s
Vwo=uo-Vrwo; //m/s
Q=(%pi/4)*d^2*Vi; //Discharge, m^3/s
//(i) Resultant Force on bucket, F
F=rho*Q*(Vwi-Vwo)/1000; //kN
//Result (i):-
printf("(i) Resultant Force on bucket, F=%.3f kN \n", F) //The answer vary due to round off error
//(ii) Shaft Power, P
Pr=F*u; //power developed by runner, kW
P=Pr-(Loss_per/100)*Pr; //kW
//Result (ii)
printf("(ii)Shaft Power, P=%.3f kW \n", P) //The answer given in the textbook is wrong (due to round off error in F)
//OR
eta_m=1-Loss_per/100; //Mechanical Efficiency
P=eta_m*Pr; //kW
//(iii) Overall Efficiency, eta_O
eta_O=P*1000/(rho*Q*g*H)*100; //In percentage
//Result (iii)
printf("(iii)Overall efficiency, eta_O=%.2f percent", eta_O)
|
0c1bfa96e1e2671341fc2e65ace953331b8d47ab | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /Models/ExclusionProcess/ExclusionProcess-tasep-1.sce | a758f7c066aa636cd355d6bfc0869816b82667a9 | [] | no_license | bozhink/Code-Chunks | 74355eb4c0d423c2f6484226e564030dff798678 | 860b7b8f53089ed96fd0ebead2e3eec16fa377cb | refs/heads/master | 2020-12-24T06:19:04.343239 | 2019-11-13T14:09:15 | 2019-11-13T14:09:15 | 42,819,484 | 0 | 1 | null | 2019-11-13T14:09:16 | 2015-09-20T16:09:09 | HTML | UTF-8 | Scilab | false | false | 737 | sce | ExclusionProcess-tasep-1.sce | funcprot(0);
p = 0.5;
N = 200;
global chain;// = zeros(1,N);
global current;
global icurrent;
chain = int(2*rand(1,N));
current = zeros(1,N);
icurrent = zeros(1,N);
function UpdateStep(i,j,p)
global chain;
global icurrent;
if chain(i)>0 & chain(j)==0 & rand()<p then
chain(i)=0;
chain(j)=1;
icurrent(j)=1;
end
endfunction
function UpdateBackwardSequental(N,p)
global chain;
UpdateStep(N,1,p);
for i=N-1:-1:1
UpdateStep(i,i+1,p);
end
endfunction
evolution = zeros(N,N);
evolution(1,1:N) = chain(1:N);
current = zeros(1,N);
for i = 2:N
icurrent = zeros(1,N);
UpdateBackwardSequental(N,p);
evolution(i,1:N) = chain(1:N);
current = current + icurrent;
end
|
95f690164715433e6ee8eeb0ec46c8bcee8160b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.2/P6_2.sce | d24241cad0656fede985f1323960758e4d1561e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | P6_2.sce |
clc;
clear;
syms n a z;
x = a^n;
X = nusum(-x*(1/z)^n,n,-%inf,-1);
limit(X);
disp(' X = ',X);
disp(' ROC = |z|<|a| ') |
f19568dd7ac3c9354a2baa06f043f1d24d2a8e88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.16/Ch02Ex16.sce | d28280f1867719422acc95c3cd92e1c2f15dbc8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | Ch02Ex16.sce | // Scilab Code Ex2.16:: Page-2.14 (2009)
clc; clear;
mu = 1.5; // Refractive index of biprism
lambda = 5500e-008; // Wavelength of light used, cm
y1 = 25; // Distance of biprism from the source, cm
y2 = 150; // Distance of biprism from the screen, cm
D = y1 + y2; // Distance between slits and the screen, cm
b = 0.05; // Fringe width of the interfernce pattern due to biprism, cm
// As d = 2*(mu-1)*alpha*y1, solving for alpha
alpha = lambda*D/(b*2*(mu-1)*y1) // Angle of vertex of the biprism, radian
printf("\nThe angle of vertex of the biprism = %6.4f rad", alpha);
// Result
// The angle of vertex of the biprism = 0.0077 rad
|
49189ef8fe97ff672ec25ff9f9ad440f163315bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.67/Ex4_67.sce | 5043f2b36babc64ab48ddaaff8a66d51b9a85a07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 887 | sce | Ex4_67.sce | clc;
p=10000; // rated power of generator
v=250; // rated voltage of generator
l1=400; // rotationl losses
ra=0.5; // armature resistance
rf=250; // shunt field resistance
ifl=v/rf; // constant field current
lc=ifl*rf+l1; // constant losses
io=p/v; // output current of generator
ia=io+ifl; // armature current
la=ia^2*ra; // armature circuit loss
ps=p+lc+la; // generator shaft power input
printf('Generator shaft power input is %f W\n',ps);
ng=(1-((lc+la)/ps))*100;
printf('Efficiency at rated load is %f percent\n',ng);
// at maximum efficiency variable losses= constant losses
ia=sqrt(lc/ra); // armature current at maximum efficiency
io=floor(ia)-ifl; // output current of generator
po=v*io; // output power
printf('Generator output at maximum efficiency is %f W\n',po);
pi=po+2*lc;
nm=(1-((lc+lc)/pi))*100;
printf('Maximum efficiency is %f percent\n',nm);
|
27cd0a5e392fb5a5b95397b9d6af501460d00076 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH13/EX13.27/Ex13_27.sce | 956cb43ec6444ebff2252708852cf6beeb72da30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | Ex13_27.sce | clear
//Given
Iv=5 //A
R=10 //ohm
Ev=60 //V
C=400 //micro F
//Calculation
//
Vr=Iv*R
Vc=sqrt(Ev**2-Vr**2)
Xc=Vc/Iv
f=1/(2.0*%pi*C*Xc)
a=Vc/Vr
a1=atan(a)*180/3.14
//Result
printf("\n The value of supplied frequency is %0.0f Hz",f*10**6)
printf("\n Phase angle between circuit current and supply voltage is %0.1f degree lead",a1)
|
37f7f5986242b822731fc6381e4660896e5ce410 | cefe1787aed5bd5b40d2139f03ad095cab6f6c01 | /input/prob.tst | b76b7be5c941296c340249b39243a29203d53cfa | [] | no_license | ftmlik/tfg_roc_keel | 088e73a34b6569c1c0a0d5880d98740888ef552d | 071179de84fa663099aaeb695d60fbbda6076e11 | refs/heads/master | 2020-04-04T02:49:17.564536 | 2017-01-07T15:16:13 | 2017-01-07T15:16:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | tst | prob.tst | True-Class positive negative
positive 1.0 0.0
positive 0.0 1.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 0.2 0.8
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 0.1 0.9
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
positive 1.0 0.0
negative 0.0 1.0
negative 0.0 1.0
negative 0.0 1.0
negative 1.0 0.0
negative 0.0 1.0
negative 0.0 1.0
negative 1.0 0.0
negative 0.0 1.0
negative 0.0 1.0
negative 0.0 1.0
negative 0.0 1.0
negative 0.0 1.0
negative 0.0 1.0
negative 1.0 0.0
negative 0.0 1.0
|
37bafa2b79e60456ea90e478054c72007db2a573 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r37/packages/xcolor/xcolor.tst | a52e0d1a307acfeadf3a2b76944273f494bfbd0e | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 9,762 | tst | xcolor.tst | %----------------------------------------------------------------------
% File: xcolor.tst
% Purpose: Tests for xcolor package.
% Author: A.Kryukov
% E-address: kryukov@npi.msu.su
% Vertion: 2.2.1
% Release: Aug. 17, 1994
%----------------------------------------------------------------------
% Revision: 14/03/91 Start
% 17/08/94 C0a,C0b,C0c,C0d
%----------------------------------------------------------------------
%load xcolor$
%in "xcolor.red"$
% on time$
SUdim n$ % Set the order of the SU(n) group, i.e. SU(n).
% n=3 is a default value.
spTT 1/2$ % Set the normalization coefficient A:
% Sp(TiTj) = A*Delta(i,j)
% A=1/2 is a default value.
% QG(inQuark,outQuark,gluon) - quark-gluon vertex.
% G3(gluon1,gluon2,gluon3) - three-gluon vertex.
%----------------------------------------------------------------------
% Run time (ms) without GC, compiled vertion.
%----------------------------------------------------------------------
% Test | SUN3/60 |i386SX-25|DEC APX |HP 735 |
% | |RAM=2M |3000/128MB| |
% | | |R=20MB |R=8MB |
%----------------------------------------------------------------------
% c1 | 323 | 2800 |34 |40 |
% c2 | 102 | 170 |0 |0 |
% c3 | 102 | 160 |0 |10 |
%----------------------------------------------------------------------
% c4a | 323 | 1270 |17 |20 |
% c4b | 51 | 110 |- |10 |
% c4c | 135 | 160 |17 |0 |
%----------------------------------------------------------------------
% c0a | | |17 |20 |
% c0b | | |0 |0 |
% c0c | | |17 |20 |
% c0d | | |17 |0 |
%----------------------------------------------------------------------
% cz | 187 | 990 |0 |10 |
% c0 | 374 | 330 | |20 |
%----------------------------------------------------------------------
% c91 | 255 | 1480 |17 |10 |
% c92 | 323 | 1480 |17 |20 |
% c93 | 2397 | 2970 |68 |130 |
% c94 | 18411 | 35838 |495 |750 |
% c95 | 139009 | 262956 |3485 |5670 |
%----------------------------------------------------------------------
%----------------------------------------------------------------------
% Test 1. See test run in: A.Kryukov & A.Rodionov
% Program "COLOR" for computing the group-theoretical
% weight of Feynman diagrams in non-abelian theories.
% Comp. Phys. Comm., 48(1988), 327-334.
%----------------------------------------------------------------------
%----------------------------------------------------------------------
% 1 4 1 4 1
% c1. --*--<--*-- c2. --<--*--*-- c3. --<--*--<--
% | : : | | : : | | : |
% | : : | | : : | | *4 |
% | : : | | ..:.. | | : : |
% | : : | | : : | | : : |
% --*-->--*-- --*--*-->-- ---*->-*---
% 2 3 2 3 2 3
%----------------------------------------------------------------------
%
% 4 2
% N - 2*N + 1
% C1 := ---------------
% 4*N
%
%
% 2
% - N + 1
% C2 := -----------
% 4*N
%
%
% 2
% N*(N - 1)
% C3 := ------------
% 4
%
%----------------------------------------------------------------------
c1 := QG(e4,e1,e5)*QG(e1,e2,e5)*QG(e2,e3,e6)*QG(e3,e4,e6);
c2 := QG(e4,e1,e5)*QG(e1,e2,e6)*QG(e2,e3,e5)*QG(e3,e4,e6);
c3 := QG(e3,e1,e4)*QG(e1,e2,e5)*QG(e2,e3,e6)*G3(e4,e6,e5);
%----------------------------------------------------------------------
%
% c4a. --*--<--*-- c4b. --*--<--*-- c4c. --*--<--*--
% | : : | | : : | | : : |
% | ..*.. | | : : | | *... : |
% | : | | *.....* | | : : : |
% | ..*.. | | : : | | *...:. |
% | : : | | : : | | : : |
% --*-->--*-- --*-->--*-- --*---*->--
%
%----------------------------------------------------------------------
%
% 2 2
% N *(N - 1)
% C4A := -------------
% 8
%
%
% 2 2
% N *(N - 1)
% C4B := -------------
% 8
%
%
% C4C := 0
%
%----------------------------------------------------------------------
c4a := QG(e4,e1,e7)*QG(e1,e2,e9)*QG(e2,e3,e8)*QG(e3,e4,e5)
*G3(e5,e6,e7)*G3(e6,e8,e9);
c4b := c4a;
c4c := QG(e4,e1,e7)*QG(e1,e2,e9)*QG(e2,e3,e5)*QG(e3,e4,e8)
*G3(e5,e6,e7)*G3(e6,e8,e9);
%----------------------------------------------------------------------
% Test 2.
%----------------------------------------------------------------------
% ......1......
% : :
% : 3 6 :
% 1*.3..*-6-*..4.*2
% : | | : = N^2*(N^2-1)/8
% C0a: 2 V | 5
% : | | :
% : 7 9 :
% : | | :
% ....*-8-*....
% 4 5
%
% ......1......
% : :
% : 3 6 :
% 1*.3..*-6-*..4.*2
% : | | : = 0
% C0b: 2 V | 5
% : | | :
% : \ / :
% : X :
% : / \
% : 7 9 :
% : | | :
% ....*-8-*....
% 4 5
%
%-------------------------------------------------------
C0a := g3(e1,e3,e2)*g3(e1,e5,e4)
*qg(e6,e7,e3)*qg(e7,e8,e2)*qg(e8,e9,e5)*qg(e9,e6,e4);
C0b := g3(e1,e3,e2)*g3(e1,e5,e4)
*qg(e6,e9,e3)*qg(e9,e8,e5)*qg(e8,e7,e2)*qg(e7,e6,e4);
%--------------------------------------------------------
%
% ......1......
% : :
% : 3 :
% 1*.3..*-6-- -*2
% : | \ / | = (N^2-1)/8
% C0c: 2 V X V
% : | / \ 4
% : | | -*6
% : 7 9 :
% : | | 5
% ....*-8-*....
% 4 5
%
% ......1......
% : :
% : 3 :
% 1*.3..*-6------*2
% : | | = -(N^2-1)^2/8
% C0d: 2 V A
% : | 4
% : | |----*6
% : 7 9 :
% : | | 5
% ....*-8-*....
% 4 5
%
%----------------------------------------------------------------------
C0c := g3(e1,e3,e2)*qg(e9,e4,e1)*qg(e6,e7,e3)
*qg(e7,e8,e2)*qg(e8,e9,e5)*qg(e4,e6,e5);
C0d := g3(e1,e3,e2)*qg(e4,e6,e1)*qg(e6,e7,e3)
*qg(e7,e8,e2)*qg(e8,e9,e5)*qg(e9,e4,e5);
%----------------------------------------------------------------------
% 1 1
% cz. .....*..... c0. .....*.....
% : : : : :e2 :
% : : : :e3 *4 :e1
% : : : : : : :
% : : : : :e4 :e6 :
% .....*..... ...*...*...
% 2 2e5 3
%----------------------------------------------------------------------
%
% 2
% CZ := N*(N - 1)
%
%
% 2 2
% N *(N - 1)
% C0 := -----------
% 2
%
%----------------------------------------------------------------------
cz := G3(e1,e2,e3)*G3(e1,e3,e2);
c0 := G3(e1,e2,e3)*G3(e3,e4,e5)*G3(e5,e6,e1)*G3(e2,e6,e4);
%$END$
%----------------------------------------------------------------------
% Test 3.
%----------------------------------------------------------------------
%----------------------------------------------------------------------
%
% 1
% c9n. .....*.......*.....
% : : 2 : :
% : *.......* :
% : : : :
% : : ... : :
% : : : :
% : : n : :
% .....*.......*.....
%
%----------------------------------------------------------------------
%
% C91 := 0
%
%
% 2 2
% C92 := N *(N - 1)
%
%
% 3 2
% N *(N - 1)
% C93 := -------------
% 4
%
%
% 2 4 2
% N *(N + 11*N - 12)
% C94 := ----------------------
% 8
%
%
% 3 4 2
% N *(N + 15*N - 16)
% C95 := ----------------------
% 16
%
%----------------------------------------------------------------------
c91 := G3(e3,e1,e1)*G3(e3,e2,e2);
c92 := G3(e3,e4,e1)*G3(e3,e2,e5)*G3(e6,e1,e4)*G3(e6,e5,e2);
c93 := G3(e3,e4,e1)*G3(e3,e2,e5)*G3(e6,e7,e4)*G3(e6,e5,e8)
*G3(e9,e1,e7)*G3(e9,e8,e2);
c94 := G3(e3,e4,e1)*G3(e3,e2,e5)*G3(e6,e7,e4)*G3(e6,e5,e8)
*G3(e9,e10,e7)*G3(e9,e8,e11)*G3(e12,e1,e10)*G3(e12,e11,e2);
c95 := G3(e3,e4,e1)*G3(e3,e2,e5)*G3(e6,e7,e4)*G3(e6,e5,e8)
*G3(e9,e10,e7)*G3(e9,e8,e11)*G3(e12,e13,e10)*G3(e12,e11,e14)
*G3(e15,e1,e13)*G3(e15,e14,e2);
%----------------------------------------------------------------------
$END$ % xColor tests
%----------------------------------------------------------------------
|
334025f9cd1e98ebf574947053c6109d2bdad15b | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/35.tst | 62e30e0e9ad02f35641146f1848417e52549494f | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,163 | tst | 35.tst | 1000 1000
98
33 32 31
33 156 31
33 280 31
33 404 31
33 528 31
33 652 31
33 776 31
95 94 31
95 218 31
95 342 31
95 466 31
95 590 31
95 714 31
95 838 31
157 32 31
157 156 31
157 280 31
157 404 31
157 528 31
157 652 31
157 776 31
219 94 31
219 218 31
219 342 31
219 466 31
219 590 31
219 714 31
219 838 31
281 32 31
281 156 31
281 280 31
281 404 31
281 528 31
281 652 31
281 776 31
343 94 31
343 218 31
343 342 31
343 466 31
343 590 31
343 714 31
343 838 31
405 32 31
405 156 31
405 280 31
405 404 31
405 528 31
405 652 31
405 776 31
467 94 31
467 218 31
467 342 31
467 466 31
467 590 31
467 714 31
467 838 31
529 32 31
529 156 31
529 280 31
529 404 31
529 528 31
529 652 31
529 776 31
591 94 31
591 218 31
591 342 31
591 466 31
591 590 31
591 714 31
591 838 31
653 32 31
653 156 31
653 280 31
653 404 31
653 528 31
653 652 31
653 776 31
715 94 31
715 218 31
715 342 31
715 466 31
715 590 31
715 714 31
715 838 31
777 32 31
777 156 31
777 280 31
777 404 31
777 528 31
777 652 31
777 776 31
839 94 31
839 218 31
839 342 31
839 466 31
839 590 31
839 714 31
839 838 31
|
d4cbf9baeac6d77a285cb02865360109fff04e61 | fbd17575bab2ee4dc49cc7d13b5b94d24ab9482c | /TP3/testLU.sci | a65cfacf155dbe19c2ae8f0f9475e07bdd7b70c5 | [] | no_license | 1saac-W/MT09-Analyse-Num-rique | 05b509981dfa00e3b7b550716b1487cbbf0a3fed | 0853f8053254f5dd23179073187ada3d936aff84 | refs/heads/master | 2020-09-27T04:34:36.549125 | 2020-01-05T16:02:18 | 2020-01-05T16:02:18 | 226,431,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sci | testLU.sci | exec F:\File\UTC\GI04\MT09\TP3\LU.sci;
A=[3 1 2;3 2 6; 6 1 -1];
[l u]= LU(A);
disp('L: ');disp(l);
disp('U: ');disp(u);
resultat = l*u-A;
disp('resultat: ');disp(resultat);
|
1974770cc745b353fd34107d05be4d018cd4455b | c552a931898aba85602c4c953c9166bedd3bb825 | /screens/X10Y2.SCE | 4b51f7cabb75bade6159126e24442554f4cc514c | [] | no_license | domino14/basic_rpg | 2bf813b4ef2992c8709581e39cf1e9bc0301f41d | 0d678b6f7017db984955fa927a1f80bce5788d24 | refs/heads/master | 2021-01-10T12:17:29.763389 | 2015-10-14T06:34:47 | 2015-10-14T06:34:47 | 44,228,628 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sce | X10Y2.SCE | 9
9
9
13
4
4
4
4
4
4
4
4
9
9
9
13
4
0
8
0
8
0
4
4
9
9
9
13
4
8
0
0
0
8
4
4
9
9
9
13
4
0
0
0
0
0
4
4
9
9
9
13
4
8
0
0
0
8
4
4
9
9
9
13
4
0
0
0
0
0
4
4
9
9
9
13
4
8
0
0
0
8
4
4
9
9
9
13
4
0
0
0
0
0
4
4
9
9
9
13
4
8
0
0
0
8
4
4
9
9
9
13
4
0
0
0
0
0
4
4
9
9
9
13
4
8
0
0
0
8
4
4
9
9
9
13
4
0
0
0
0
0
4
4
9
9
9
13
4
8
0
0
0
8
4
4
9
9
9
13
4
0
8
0
8
0
4
4
9
9
9
13
4
4
4
4
4
4
4
4
9
9
9
13
4
4
4
4
4
4
4
4
|
62f8493f22648f566c0d127265545614903b8915 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH6/EX6.6/Ex6_6.sce | 461cc44254af518b152314c18cfa613a7b906d2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | Ex6_6.sce | //Chapter-6,Example 6_6,Page 6-28
clc()
//Given Values:
u0=4*%pi*10^-7 //Permeability in vacuum
ur=900 //Relative permeability of medium
l=2 //length in meter
A=60*10^-4 //Crosss sectional area of ring in m^2
phi=5.9*10^-3 //flux in weber
n=700 //Number of turns
//Calculations:
//We know, phi=B*A
B=phi/A //Flux density
//But, B=u*H
H=B/(u0*ur) //Magnetic field strength
I=H*l/n //Required current
printf('Current required to produce given flux is =%.2f Ampere \n',I)
|
5c155c836855e93bdc4739982c36f1664f83aa77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.35/Ex18_35.sce | b19955a2f30ee0c954a151817da5120ebcf7d19a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | Ex18_35.sce | // scilab Code Exa 18.35 Sirocco Radial fan 1440 rpm
d2=0.4; // outer diameter of the impeller in m
d1=0.36; // inner diameter of the impeller in m
b=0.5; // axial length of the impeller in m
rho=1.25; // density of air in kg/m3
N=1440; // rotor Speed in RPM
P=50; // Power required in kW
u1=%pi*d1*N/60;
u2=%pi*d2*N/60;
beta1=atand(d2/d1);
disp("degree",beta1,"(a)the blade air angle at the impeller entry beta1=")
beta2=90-beta1;
disp("degree",beta2,"and the blade air angle at the impeller exit beta2=")
delp0=2*rho*(u2^2);
disp("mm W.G.",delp0/9.81,"(b)the stagnation pressure rise across the fan is")
cr1=u1*tand(beta1);
m=rho*cr1*%pi*d1*b;
disp("kg/s",m,"(c)mass flow rate of the air through the fan is")
c_theta1=0; // for zero inlet swirl
w_st=2*(u2^2);
IP=m*w_st/1000; // ideal power required to drive the fan in kW
n=IP/P;
disp("%",n*1e2,"(d)the Efficiency of the fan is")
|
4473ce7b85f0352299f97f1ed96baac175203994 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH6/EX6.7/Ch06Exa7.sce | 0c7c1af8d694ca55bb5b671167eccb7313142d69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 758 | sce | Ch06Exa7.sce | // Scilab code Exa6.7: : Page-242 (2011)
clc; clear;
N = 3.7e+10*60; // Number of disintegration, per sec
H = 0.0268*4.182; // Heat produced at the output, joule
E = H/(N*1.6e-013); // Energy of the beta particle, joule
M_Bi = -14.815; // Mass of Bismuth, MeV
M_Po = -15.977; // Mass of polonium, MeV
E_0 = M_Bi-M_Po; // End point energy, MeV
E_ratio = E/E_0; // Ratio of beta particle energy with end point energy
printf("\nThe energy of the beta particle = %5.3f MeV \nThe ratio of beta particle energy with end point energy = %5.3f ", E, E_ratio);
// Result
// The energy of the beta particle = 0.316 MeV
// The ratio of beta particle energy with end point energy = 0.272
|
4026a532ce481a133a155c3498a572b00444d532 | de14a6897d4397228a52bacb8905b8807370ef4b | /GPS_3.sce | 4cf79128b5c9d2fefda4a48069b72cda5b7e9f27 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | GPS_3.sce | function out=f(X)
out=[norm(X-S1)^2-d(1)^2
norm(X-S2)^2-d(2)^2
norm(X-S3)^2-d(3)^2];
endfunction
function out=Jf(X)
out=2*[(X-S1)'
(X-S2)'
(X-S3)'];
endfunction
S1 = [-11716.227778, -10118.754628, 21741.083973]'
S2 = [-12082.643974, -20428.242179, 11741.374154]'
S3 = [14373.286650, -10448.439349, 19596.404858]'
d=[22163.847742, 21492.777482, 21492.469326];
ITMAX=1000;
precision=10e-10;
X=[1000 1000 1000]';
//choix arbitraire d'une position initiale proche de la solution
for k=1:ITMAX
if abs(norm(f(X)))<precision
break;
end
X = X-Jf(X)\f(X);
end
disp(X);
|
73ca99129b479241cb4b4b0af8b6f78263087961 | cbb07892dc1cc2cc661bfb0f1be02874a4c64275 | /motor_pd_param.sce | c15ca69ff2bab7c267eefce287bc0e28f41e6527 | [] | no_license | inderpreetarora/Digital-Control | 42d5edc3685150ea09888751fbb6723f2414900c | 4bc52990bad48f82b0862d4d8b4de74e2ba62fee | refs/heads/master | 2021-01-12T12:03:25.574875 | 2016-11-02T06:47:03 | 2016-11-02T06:47:03 | 69,917,175 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | motor_pd_param.sce | loadXcosLibs();
xcos("g_s_cl2.xcos");
importXcosDiagram("g_s_cl2.xcos")
g_scl2_yYmin = 0; g_scl2_yYmax = 1.2;
g_scl2_uYmin = -0.1; g_scl2_uYmax = 0.8;
scs_m.props.tf = t_final;
xcos_simulate(scs_m, 4);
xcos("g_s_cl3.xcos");
importXcosDiagram("g_s_cl3.xcos")
g_scl3_yYmin = 0; g_scl3_yYmax = 1.4;
g_scl3_uYmin = -0.1; g_scl3_uYmax = 0.6;
g_scl3_eYmin = -0.4; g_scl3_eYmax = 1.1;
scs_m.props.tf = t_final;
xcos_simulate(scs_m, 4);
|
1edab19beb5b88466e71726b261a593e8b7a15cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.42/EX_2_42.SCE | c79b644647df275979ad9753d61173a130613ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,311 | sce | EX_2_42.SCE | // Example 2.42: Icq
clc;
clear;
close;
T2=20;// Temperature in degree celsius
T1=0;// Temperature in degree celsius
Vcc=15;// Colector voltage in volts
Beta=75;
Vce=2.5;// Collector to emitter voltage in volts
Vbe1=0.7;// Base to emitter voltage in volts
Rb= 50;// Emitter resistance in killo ohms
Rc=3;// Collector resistance in killo ohms
Re=1;// Collector resistance in killo ohms
Ib= ((6-Vbe1)/(Rb+(1+Beta)*Re))*10^3;//Base Current in Micro Amperes
Ic= Beta*Ib*10^-3;// Colectore Current in Milli Ampere
Icbo1=0.5;// Collector to base leakage current in Micrometer
Icbo2=Icbo1*2^((T2-T1)/10);// Collector to base leakage current in Micrometer when temperature 20 degree celsius
Vbe2=Vbe1-2*T2*10^-3;// base to emitter voltage when temperature is 20 degree celsius
Ib1=((6-Vbe2)/(Rb+(1+Beta)*Re))*10^3;//Base Current in Micro Amperes at 20 degree celsius
Ic1=Beta*Ib*10^-3;// Colectore Current in Milli Ampere
disp(Ib,"Base Current in micro amperes")
disp(Ic,"Collector current in mA")
disp(Icbo2,"Collector to base leakage current when T=20 degree celsius in micro ampere")
disp(Vbe2,"Base to emitter voltage when T==20 degree celsius in VOLTS ")
disp(Ib1,"Base Current when T=20 degree celsius in micro amperes")
disp(Ic1,"Collector current when T=20 degree celsius in mA")
|
a0d7f156e504c87fe53244544c62b7814546ca3b | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r37/packages/misc/boolean.tst | 88215270c9523edf92a8027f8a3e3f151f6ec52e | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 709 | tst | boolean.tst | % Test series for the boolean package.
boolean true;
boolean false;
boolean (true and false);
boolean (true or false);
boolean (x and true);
boolean (x and false);
boolean (x or true);
boolean (x or false);
boolean (not(x and y));
boolean (not(x or y));
boolean (x or y or(x and y));
boolean (x and y and (x or y));
boolean (x or (not x));
boolean (x and (not x));
boolean (x and y or not x);
boolean (a and b implies c and d);
boolean (a and b implies c and d, and);
boolean (a or b implies c or d);
boolean (a or b implies c or d, and,full);
operator >;
fm:=boolean(x>v or not (u>v));
v:=10;
testbool fm;
x:=3;
testbool fm;
clear x;
x:=17;
testbool fm;
clear v,x;
end;
|
3fe3a276de6a53b7d7d6b3b339985cfe9545aa06 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/kNN/tree_rev_expl.sci | 6af055f93f4be4c2edd2b38e8be959a9cd7b9505 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,188 | sci | tree_rev_expl.sci | function [stackOut,distanceOut,neighborsOut] = tree_rev_expl(kdtree,stackIn,point,distanceIn,neighborsIn)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Unwind the tree exploration to check for possible better points on opposite sides of splitting hyperplanes.
//INPUT:
//kdtree: the kdtree structure
//stackIn: a list of the nodes visited so far
//point: the point whom we look neighbors for
//distanceIn: the current distance to the nearest neighbors
//neighborsIn: the current nearest neighbors
//OUTPUT:
//stackOut: the stack after exploring the tree
//distanceOut: the updated distances to nearest neighbors
//neighborsOut: the updated nearest neighbors
//----------------------------------------------------------------------------//
stackOut = stackIn;
neighborsOut = neighborsIn;
distanceOut = distanceIn;
if ~size(stackIn) then
return;
end
disp("Starting with stack of size "+string(size(stackIn)))
[curNode,stackIn] = stackPop(stackIn);
str ="[";
for u=1:length(point)
str = str+string(point(u))+",";
end
str = str+"]";
stackTmp = list();
disp("Popped the node n°"+string(curNode.number)+", representing point :"+str);
while curNode.parent //not at root
disp("The new node parent is "+string(curNode.parent));
parNode = kdtree(curNode.parent).entries;
// [bool,distanceIn,index] = isBetter(distanceIn,point,parNode.point);
// if bool then
// neighborsIn(index,:)=root.point;
// end
if abs(point(parNode.axis)-parNode.point(parNode.axis)) < max(distanceIn) then
//we intersect, so we have to check the other side for closer points
//first we need to actually know which way is the other side
//then we can explore the correct subtree
if (parNode.leftChild ~= -1)&(parNode.leftChild ~= curNode.number) then
//this means that the unexplored subtree is on the left
disp("Exploring uncharted left tree!");
// disp(kdtree(parNode.leftChild).entries)
// [stackOut,neighborsOut,distanceOut] = tree_expl(kdtree,root,point,neighborsIn,stackIn,distanceIn)
[stackTmp,neighborsIn,distanceIn] = tree_expl(kdtree,kdtree(parNode.leftChild).entries,point,neighborsIn,stackTmp,distanceIn);
elseif (parNode.rightChild ~= -1)&(parNode.rightChild ~= curNode.number) then
//this means that the unexplored subtree is on the right
disp("Exploring uncharted right tree!");
[stackTmp,neighborsIn,distanceIn] = tree_expl(kdtree,kdtree(parNode.rightChild).entries,point,neighborsIn,stackTmp,distanceIn);
end
[curNode,stackIn] = stackPop(stackIn);
else
[curNode,stackIn] = stackPop(stackIn);
end
end
stackOut = stackIn;
neighborsOut = neighborsIn;
distanceOut = distanceIn;
endfunction
|
6a48bf2a3ca069e6bbcad08a0cea00844557d44f | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH3/EX3.1.e/3_01_example.sci | afc8905dfeeaddf409157c0b876253c1b24a3e51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sci | 3_01_example.sci | //Example 3-1 Absolute Pressure of Vacuum Chamber
P_atm = 100 //Atmospheric pressure [kPa]
P_vac = 40 //Vacuum Gauge pressure [kPa]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.