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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
134d6ae3710abfdb3b64b6953a2792569e91a73f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH6/EX6.13/13.sce | c71f376c7c2777087396c94a2fc61d454477a8a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | 13.sce | clc
// Given that
l = 150 // length of fiber in meter
P_in = 10 // power of input signal in micro Watt
P_out = 8 // power of output signal in micro Watt
// Sample Problem 13 on page no. 280
printf("\n # PROBLEM 13 # \n")
alpha = (10 * log10(P_in / P_out))/l //calculation for absorption coefficient
printf("\n Standard ... |
4762eb578c4ddec733ca9ba76aefa7f3fd1b3226 | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH10/EX10.1/10_1.txt | c50f3b5321b0970ab54fafe59991026e3e2e463c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | txt | 10_1.txt | //Caption:Find the per-unit slip (a) in the direction of rotation (b) in opposite direction and effective rotor resistance in each branch
//Exa:10.1
clc;
clear;
close;
P=4;//no. of poles
f=60;//frequency in Hertzs
R2=12.5;//rotor resistance (in ohms)
N_s=120*f/P;//synchronous speed of motor(in rpm)
N_m=1710;//... |
8dce273da7e8c6b61188825946628502d7eff848 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH10/EX10.05/10_05.sce | 29219791b1e596804251967f039b3b5c396c9201 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sce | 10_05.sce | //Problem 10.05: A voltmeter having a f.s.d. of 100 V and a sensitivity of 1.6 kohms/V is used to measure voltage V1 in the circuit of Figure 10.11. Determine (a) the value of voltage V1 with the voltmeter not connected, and (b) the voltage indicated by the voltmeter when connected between A and B.
//initializing t... |
e0eff66722a1eec4a8fa7ab5e2969ebd59e951d7 | b34461c9ddff1ba130b67023d6e568ada42830dc | /scripts/egalisation.sci | a5837874905e94b65fd69d433dc8c5769f86a0e9 | [] | no_license | AdrienKegler/Projet-Exolife | f72287fdc41a07b88f03b8346dafab93b4539b07 | 249f0861dc4ba3f2a7639ea60b7d12b45e717933 | refs/heads/master | 2020-05-25T14:05:45.213740 | 2017-03-17T09:16:20 | 2017-03-17T09:16:20 | 84,937,694 | 0 | 0 | null | 2017-03-15T10:15:55 | 2017-03-14T10:45:25 | Scilab | UTF-8 | Scilab | false | false | 496 | sci | egalisation.sci |
function image_out=egalisation(matrice,hist_cum)
SizeX = size(matrice,"r");
SizeY = size(matrice,"c");
nb_pixel = SizeX*SizeY;
disp (nb_pixel);
coef = nb_pixel/255;
disp(coef);
table = zeros(1,256);
for i = 1:256,
table(i)= round(hist_cum(i)/coef);
end
disp(table);
image_out= zeros(... |
3eec9b7c50407b944ba4847a83f0a3259b85b2cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH4/EX4.19/4_19.sce | dd00cbbd281c0ac5bd5d510ad556a04f913a6df8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | 4_19.sce | clc;
disp("Example 4.19")
U= 0.5 // in m/s
l= 0.025 // side dimension
area=l*l
perimeter=4*l
rh=area/perimeter
dh=4*rh
v=1e-6
Re=dh*U/v
f=0.0791/(Re^0.25)
disp(f,"Friction factor is ")
|
d61f9f583266422fc77ef8206462cddee6ff4f91 | a76fc4b155b155bb59a14a82b5939a30a9f74eca | /ProjetTomEval/tomeval/multispot.tst | 72c0679170723ca9b365a60d2f0aa6d30c7e440b | [] | no_license | isliulin/JFC-Tools | aade33337153d7cc1b5cfcd33744d89fe2d56b79 | 98b715b78ae5c01472ef595b1faa5531f356e794 | refs/heads/master | 2023-06-01T12:10:51.383944 | 2021-06-17T14:41:07 | 2021-06-17T14:41:07 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 270 | tst | multispot.tst | Plan Carat 1
7,ménagères - 50 ans
101
-1
1
1
3,3,7,9
1,B198,101
f:\source\SFR01
10390000
1
1
1,2040,8,1,0,16, 02/04/98,3
1,2030,16,1,0,16.0, 03/04/98,2
1,2030,64,1,0,17.2, 05/04/98,2
EOJ
// en stock:
1,2030,16,1,0,16.0, 03/04/98,2
1,2030,64,1,0,17.2, 05/04/98,2
|
8d68239d8948262da1cc62f87e5c57bb240e7d17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH9/EX9.12/9_12.sce | b2527488c8a08707e2e4be8785f2f96c2ea57cb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 9_12.sce | //Chapter 9, Problem 12
clc;
L=8; //inductance
I=3; //current in coil
W=(1/2)*L*I^2; //calculating energy stored in inductor
printf("Energy stored = %d joules",W)
|
b88917cfaff381ca11fabfddf5cdd4c855317d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH3/EX3.16/Exa3_16.sce | 35f44ec8dba19bc68c7f1208d337becd5a380972 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Exa3_16.sce | //Exa3.16
clc;
clear;
close;
// given data
rho=200;// in Kilo ohm-cm
rho=rho*10^-2;// in kilo ohm m
rho=rho*10^3;// in ohm meter
sigma=1/rho;
V_H=50;// in mV
V_H=V_H*10^-3;//in V
I=10;// in miu A
I=I*10^-6;//in A
B_z=0.1;// in Wb/m^2
w=3;//in mm
w=w*10^-3;//in meter
R_H=V_H*w/(B_z*I);
disp("Mobility of... |
6bef4282db4f442816c7590597308e28cfcdcde5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH4/EX4.8/example48.sce | 09a7463ec8c243698425729921ddbeb05a5c8f81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example48.sce | //Example 4.8
//Laplace transform of x(t)=%e^(3t)u(-t)+%e^(t)u(t)
clc;
syms t;
x1=%e^(3*t);
x2=%e^t;
X1=laplace(x1);
X2=laplace(x2);
X=X2-X1;//since x1 is form -%inf to 0
disp(X); |
df4f4870150ba0a02e1d6c64684c8dcd135c3ebe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH3/EX3.a.12/Example_a_3_12.sce | 5ab0fcd2e8cf66ee66834acd25fd80bd9336bec7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | Example_a_3_12.sce | //Example_a_3_12 page no:141
clc;
In1=10;
In2=20/6;
In=In1+In2;
Rab=6;
disp(In,"the norton current is (in A)");
disp(Rab,"the norton resistance is (in ohm)");
|
2e49c7a4ec35b7a42b96df4d369f11a03bdd2c32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH11/EX11.4/Example11_4.sci | 0f01515cd560b8f9e66ed23633ae0033f1b8dcb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 882 | sci | Example11_4.sci | clc();
clear;
// To calculate the radiant interchange between two black discs
D=10/12; // Diameter of black disc
L=5/12; // Distance between two discs
T1=(1500+460)/100; // Temperature of disc 1 in degR
T2=(1000+460)/10... |
82a7f46dbcd12f0598472d9ab6b0632a1c346ac9 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/ejector.tst | 77298671cc0ce0711494223e9122b35010a4b41a | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 952 | tst | ejector.tst | units PureSI
$th = VirtualMaterials.Peng-Robinson
/ -> $th
th + WATER
ejector = Ejector.EjectorOp()
cd /ejector.Process
P = 20270.58558 Pa
T = 333.3333336 K
Fraction = 1.0
MoleFlow = 4.5359244127 kgmole/h
cd /ejector.Motive
P = 689475.7 Pa
T = 333.3333336 K
Fraction = 1.0
MoleFlow = 45.359244127... |
76d882507474679f3801cbaeb3366f126e425f33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH1/EX1.2/ch1ex2.sce | cac2c6de79d508e79e4e23a050158737c204b9ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | ch1ex2.sce | //signals and systems
//power and rms value of a signal
clear
close
clc
//part a is a periodic function with period 2*pi/w0
disp("consider the power for almost infinite range");
disp('part (a)')
disp("integrating ((c*cos(w0*t +theta))^2) for this big range gives c^2/2 as the power which is irrespective of w0"... |
0259809c0389bd0981cdc47f33ac206b843a10ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.9/Ex4_9.sce | 7140bf83829a8516ad157f993d84bef69d631d59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex4_9.sce |
// Ex4_9
clc;
// Given:
E=2.5; // in MeV
// Solution:
// 1 Mev/atom=96.32GJ/mole
E1=E*96.32// GJ/mole
E2=0.1*E1;// for 0.1 mole
printf("The energy that would be released for 0.1 mole of Co will be = %f GJ",E2)
|
9370dac6198033d53b597f099c4ab26ebab0c9da | e9dd4206710f078df0cbbfefc5d59466b8ade810 | /SCILAB/plot_quadratic.sce | 1669099b1738aa627852901ed5f1b37363103bf1 | [] | no_license | symtalha14/Numerical-Computation | 28263659bfbbf2eb14d376b085b0355742257d82 | 9fcdaf2c958c6cd4a2a57157bf4fb4b2e3b9c253 | refs/heads/master | 2020-09-14T01:25:54.180235 | 2019-11-22T11:07:48 | 2019-11-22T11:07:48 | 222,967,340 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | plot_quadratic.sce | function f =quadratic(x)
f=x**2
endfunction
function f =quadratic_2(x)
f=2*(x**2)+3
endfunction
data_x = linspace(1,10,60)
data_y_1 = quadratic(data_x)
data_y_2 = quadratic_2(data_x)
xtitle("Graph of Quadratic equations","X-values","Y-values")
plot(data_x,data_y_1 ,'+',data_x,data_y_2,'o')
|
7f2938dedca7443a4f78c925451ced6d8e4fdd33 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/DEVELOPMENT-LANGUAGES/uralic/myv.tst | 008603485df9b80dabbb4b0493856839068b0ca1 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 666,814 | tst | myv.tst | човорямс V;AC3;PL;2;PST
сыргамс V;AC3;PL;3;PST;CAUS
светотехника N;GEN;LGSPEC1
пелькс ADJ;SG;PSS3P
кармамс V;COND;SG;1
миемс V;SG;3
сруб N;GEN;LGSPEC1
нарвицька N;HUM;NOM;SG
инязорксчи N;IN+ALL;DEF;SG
пенал N;NOM;SG;LGSPEC1
артовкс N;IN+ESS;PL;PSS3S
власть N;GEN;LGSPEC1
поладомс V;AC3P;SG;1;PST;CAUS;PASS
трескамс V;NEG... |
2b38934d4cf041786b9d9e6e7122f9cb16936937 | 4a1949be12fbe9a81d9308381b34c611e65877ca | /tests/execution/appel2.tst | 2b5e4818135e638e77ca3840908d97b0bc910ca4 | [] | no_license | ng88/trad | 26439d8fe2284ece19d6fbfaa397d3f6f0d13e78 | e4d3d4d56928539144d30c5c49e01e65c9b8729c | refs/heads/master | 2020-12-05T07:31:25.854231 | 2008-02-29T10:15:34 | 2008-02-29T10:15:34 | 67,351,952 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | tst | appel2.tst |
class A
private integer val;
public A(integer e) { val := e; }
public A add(integer e)
{
VAR A a;
a := new A(val + e);
return (a);
}
public void printVal() { printi(val); prints("\n"); }
end
class B
public B() {}
public A test1(integer v, integer b)
{
VAR A a;
a := new A(v * b);
return (a... |
ee2c2f413e2f193cc5808daa6c25678c5ffd417f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH2/EX2.21/EX_2_21.sce | afb8de1c90722ba285d46b2af6a162cf8b3aae7c | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | EX_2_21.sce | errcatch(-1,"stop");mode(2);//Example 2.21//RESISTANCE AND INDUCTANCE
;
;
L1=52.6;//in mH
R2=1.68;//in ohms
r1=28.5;//internal resistance in ohms
r2=r1-R2;//resistance in ohms
L2=L1;//inductance in mH
disp(r2,"resistance in ohms")
disp(L2,"inductance in mH")
exit();
|
d55e5de226024adf5e508deccbdc70925c47e6a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH3/EX3.5/eg3_5.sce | f83a712b79f9330120e03fbf787a1a17630d8e04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | eg3_5.sce | clear;
clc;
funcprot(0);
s=7500;
v=33;
lf=0.6;
kf=1.13;
cost_en=0.15;
dep_rate=0.1;
res=17.6;
im=s/(v*sqrt(3));
irms=0.6*kf*im;
rho=(17.6*10^4)/(10^5);
el=3*irms*irms*.1*rho*8760/1000;
ann_w=el*cost_en;
ann_dep=dep_rate*20000;
c=ann_w/ann_dep;
area=sqrt(c);
printf("The area is:%.2f sq cm",area);
|
81bc6b25cb6c1671a75ce79f204f5f0e44d10619 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH2/EX2.3.3/2_3_3.sce | 704a731ed42060448cb3bf912621885e6046ddce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | 2_3_3.sce | clc
//initialisation of variables
w= 62.3 //lbf/ft^3
d= 23.1 //ft
//CALCULATIONS
dp= w*d/144
//RESULTS
printf (' pressure guage= %.f lbf/in^2',dp)
|
1793ff3b16d9e6705519b99b586d9a42e609da49 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_DN63GKP_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 98e7d10e61e38c331567c0ec7352c8e91da48322 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
52fb166eb22854f517f92b32b042b6f1087f160b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH7/EX7.9/ex7_9.sce | a5cd58c15b016eedf41b60247c1b180129d54b25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | ex7_9.sce | // Example 7.9, Page No-351
clear
clc
D=0.7
f=1000
RB=10^4/(0.693*10/3)
RA=4*RB/3
RB1=RB/1000
printf('RB= %.1f kohm', RB1)
RA1=RA/1000
printf('\nRA= %.1f kohm', RA1)
printf('\n Answers in textbooks are wrong')
|
f7d2957972136f68b7e8d64f8975854f5f86a828 | 61e39cdb9efce4bc7bc35be444b193c1066f1bf2 | /JacobiMethod.sce | 9c83e8ddce7716d554af76b091c03dd0db74f565 | [] | no_license | nancyanand2807/SCILAB-CODES | 866c1c99754975f9f0deb271d3844c854db1645c | 69bf72606e8cd62aae3d1302c734f425d381a121 | refs/heads/master | 2020-06-02T00:39:27.236873 | 2019-06-09T11:26:55 | 2019-06-09T11:26:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 908 | sce | JacobiMethod.sce | function [e] = Error(x, y)
z = x - y;
z = abs(z);
[r c] = size(z);
e = -1;
for i = 1:c
if z(i) > e then
e = z(i);
end,
end
endfunction
function [X] = JacobiMethod(A, b, x);
a = [A b];
[r c] = size(a);
n = 100;
t = 0.00005;
k = 0;
X = zeros(1, ... |
ed30f2222993644a42c644ffdec2139dae9168ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH3/EX3.4/3_4.sce | 118155563573a6003b17a21e2a44489dd7d5dce1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | 3_4.sce | //3.4
clc;
tq=50*10^-6;
Vin=40;
Vo=230;
IL=2;
IL_ref=2*Vo/Vin;
// C/L=(IL-ref/Vin)^2; (i)
// Assume that circuit is reverse biased for one-fourth period of resonant circuit. thus
//%pi/3*(L*C)^0.5=50*10^-6; (ii)
// on solving (i) and (ii)
C=13.73*10^-6;
L=C/(IL_ref/Vin)^2*10^6;
C=13.73*10... |
60d2f92f0f2f2883e9492840e3e59d49a0ecd580 | 449d555969bfd7befe906877abab098c6e63a0e8 | /803/CH3/EX3.3/ex3_3.sce | 8fd9d40934d763764de14f361d6e3312240c2903 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sce | ex3_3.sce | Ts=10^(-6);..//pulse width
lamda=0.1;..//transmitter's duty cycle
DH=3;..//horizontal dimension
DV=0.5;..//vertical dimension
DelRrmin=lamda/(2*Ts);..//resolution in range rate
DelRamin=lamda/(Ts^2);..//resolution in acceleration range
DelFIH=(lamda/DH)*(180/%pi);..//azimuth beamwidth
DelFIV=(lamda/DV)*(180/%pi)... |
9bef895eff627944c167a120f94fee8fe31b90c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH7/EX7.2/7_2.sce | ac713b96e321076cc6b6b2eebd2a9b06b1bb5a88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 611 | sce | 7_2.sce | clc;
clear;
function y=f(x)
y=x^3 - 13*x - 12
endfunction
x1t=-3;
x2t=-1;
x3t=4;
x0=4.5;
x1=5.5;
x2=5;
disp(0,"iteration:")
disp(x2,"xr:")
disp("---------------------------------------------")
for i=1:4
h0=x1-x0;
h1=x2-x1;
d0=(f(x1)-f(x0))/(x1-x0);
d1=(f(x2)-f(x1))/(x2-x1);
a=(d1-d0)/(h1+h0);... |
58949c05a4b3c2116af99f09036d6132e982ce45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH10/EX10.1/Example_10_1.sce | 030f8e5bd58da25e05a0d5198d6bde38e419909c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,357 | sce | Example_10_1.sce | //Caption:Correlation Analysis
//Correlation Coefficient for Ungrouped Data (karl Pearson's Coefficient of Correlation)
//The combination of hypotheses too test the significance of 'r' is as shown below:
//Ho: r =0 (The two variables are not associated)
//H1: r # 0 (The two variables are associated)
//Example10.1
... |
2fbdf8f89c99366b189a6f8ec5e8f4243c5e99e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH13/EX13.11/13_11.sce | fb266fb58c57fe3598fad389bc23c28976b3af2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,094 | sce | 13_11.sce | //To find angular velocities
clc
//Given:
TA=12, TB=30, TC=14
NA=1, ND=5 //rps
//Solution:
//Number of teeth on wheels D and E:
//Calculating the number of teeth on wheel E
TE=TA+2*TB
//Calculating the number of teeth on wheel E
TD=TE-(TB-TC)
//Magnitude and direction of angular velocities of arm OP and whee... |
7c11b8f1f91ea760f074d2e1b7d19d1d8ae431a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH8/EX8.3/8_3.sce | 94d08fc4dcc5e79da7e719f646f250f683dabc65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | 8_3.sce |
I1=1
V1=18*I1
V2=6*I1
Z11=V1/I1
Z21=V2/I1
I2=1
V2=9*I2
V1=6*I2
Z12=V1/I2
Z22=V2/I2
A=[Z11,Z12;Z21,Z22]
printf("\nA=")
disp(A) |
b0182a3e3ab6acbad1a0fdcd6760743fa0fda3ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH16/EX16.2/Ex16_2.sce | e307d6a219d809c295def38a2abdc34b7bceeb95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Ex16_2.sce | // Problem 16.2,Page no.367
clc;clear;
close;
p=7.5 //cm //%pitch of rivets
t=1.5 //cm //Thickness of plate
d=2.5 //cm //diameter of rivets
sigma_t=400 //MPa //Working stress
sigma_c=640 //MPa //crushing stress
sigma_s=320 //MPa //shearing stress
n=2 //No. of rivets
//Calculation
P_t=(p-d)*t*10**-4*sigma_t*10**6*10... |
ee49a62b5c490f06f33ba2003ca6a94abfb2e36a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH16/EX16.7/ex_16_7.sce | 084394214ecf911f8df5a6d9e230e4d1ec73b4db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | ex_16_7.sce | //Example 16.7 : conductivity
clc;
clear;
close;
//given data :
e=1.602*10^-19;
n_i=5.021*10^15; // in m^-3
mu_n=0.48;// in m^2/V-sec
mu_p=0.013;// in m^2/V-sec
sigma=n_i*(e*(mu_n+mu_p));
disp(sigma,"the conductivity,sigma(ohm^-1 m^-1) = ")
|
a4202e8339641f87ddaed6217213826fd5491335 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH9/EX9.10c/Exa_9_10c.sce | ce7325884e80887062504a7a82af4c1f96a307d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | Exa_9_10c.sce | //Bilinear design of second order filters
s=%s;z=%z;
fo=40;Wo=2*%pi*fo/200;
delf=2;S=25;
delW=2*%pi*delf/200;
B=cos(2*%pi*fo/200)
K=0.557;
C=K*tan(0.5*delW)
HS=1/(s+1);
HZ=horner(HS,(z^2-(2*B*z)+1)/(C*(z^2)-C))
f=0:2:100;
f1=35:0.5:45;
HZ1=horner(HZ,exp(%i*2*%pi*f'/200));
HZ2=horner(HZ,exp(%i*2*%pi*f1'/200... |
2ce9eace6131a0f78ab1288671f66d6c5b625916 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.49/Ex1_49.sce | a21a9f01ec6be94f596af11e24460b44d2b79fa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_49.sce | //Example 1_49
clc();
clear;
//To find the thickness of the thinnest film
u=1.33
lemda=6000 //units in angstroam
lemda=6000*10^-8 //units in cm
i=0 //units in degrees
r=0 //units in degrees
n=1
t=(n*lemda)/(2*u*cos(r))
printf("... |
647090efb95df40f0f3b3a3e4190ed9b4104f7f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH3/EX3.2/3_2.sce | e635b0fcf63298ec0cd3841b12a1678b34ae9e89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | 3_2.sce | clear; clc; close;
//part a
Ib = 30*10^(-6);
Vce = 7.5;
Ic = 3.3*10^(-3);
disp(Ic,'Ic(A) is : ');
//part b
Vce = 15;
Vbe = 0.7;
Ib = 20*10^(-6);
Ic = 2.5*10^(-3);
disp(Ic,'Ic(A) ate the intersection of Ib & Vceis :');
//part c
Ib = 4*10^(-6);
Vce = 15;
Ic = 800*10^(-6);
disp(Ic,'Ic(A) in this case i... |
887ea5fbe92b989d9c0833f9a3e21091d2360f85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.9/Ex8_9.sce | e518f98270737d753c1326ef7e5dafd6befce376 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 849 | sce | Ex8_9.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 9
clc;
disp("CHAPTER 8");
disp("EXAMPLE 9");
//VARIABLE INITIALIZATION
P=4; //number of poles
v_t=230; //in Volts
I_l=52; //in Amperes
Z=600; //tottal number of conductors
r_f=115; ... |
1dd31dbd0b77f12adf45a248e4a4f3a00d0f1155 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH4/EX4.8/Ex4_8.sce | 5f5e37109e58f8fafb916d47338aacc2662fca34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,103 | sce | Ex4_8.sce | //Example 4.8
//Equivalent discrete controller for DC motor speed control.
//------------------------------------------------------------------
//NOTE THAT-- The system response (continuous) to sampled control
//input depends on
//the sampling time set for continuous signal in SIMULATION.
//In this example we conside... |
6b03264b595081c9370ed7cdc942f403594872a1 | 40384c4066dda9a87b764f8c78f44f4b87a9af5f | /Secante.sci | 1ea7cecf1a33a200a7732af33ca843efe11a76fb | [] | no_license | SergioNoivak/Calculo-Numerico | 97866ab7ead8ee4b8f5dd4aacaea411b6eebd5e5 | 25be9c05a5331bfd053433a09f77a4d9b76c3bb7 | refs/heads/master | 2021-01-02T22:41:21.556896 | 2018-08-19T22:44:55 | 2018-08-19T22:44:55 | 99,368,088 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,266 | sci | Secante.sci | clear
clc
///////////////Algoritmo da Secante///////////////
function tabela3000 (A)
if A==-0.0 then
A=0.0;
end
if A<0 then
if A<=-10 then
if A<=-100 then
if A<=-1000 then
if A<=-10000 then
mprintf (" %1.6f",A);
... |
7873f9b2d2db27c14040d691c1f9500385e12fb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH9/EX9.15/Ex9_15.sce | 918dee44fd6bdc93de4bd07ba1d9b7d7f488d9ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | Ex9_15.sce |
clc
//initialisation of variables
P1=14.7 //lbf/in^2
P2=80.0 //lbf/in^2
T1=460 //R
T3=520 //R
Cp=0.24 //lbm
T2=T1*(1.624) //R
Wc=Cp*(T2-T1)//Btu/lbm
T3=520 //R
T4=T3/1.624//R
Wt=Cp*(T3-T4)//Btu/lbm
A=200//Btu/lbm 12000 //Btu/lbm
//CALCULATIONS
qH=Cp*(T2-T3)//Btu/lbm
qL=Cp*(T1-T4)//Btu/lbm
Wnet=Wc-Wt//... |
803a60d2692f7471f9a9ebe16b12f33f70e8d43c | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Quake Railgun 130% speed.sce | 46a84bb95c7e9670c2b0a39345126d5ef67b228b | [] | 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 | 80,238 | sce | Quake Railgun 130% speed.sce | Name=Quake Railgun 130% speed
PlayerCharacters=Quaker
BotCharacters=Quaker Bot Easy.bot;Quaker Bot Hard.bot;Quaker Bot Medium.bot;Quaker Bot Hard.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Quaker Bot Hard.bot;Quaker Bot Hard.bot;Quaker Bot Hard.bot;Quaker Bot Hard.bot;Quaker Bot Hard.bot
PlayerM... |
2496abb4175e26972af16349eaeeccd08f266cc2 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/phasez/phasez12.sce | 2d8b7eb0349806dbcf4601a12f27535f97a4d942 | [] | 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 | 543 | sce | phasez12.sce | //i/p args b and a contain omly zeros
b=[0 0 0 0 0 0 0];
a=[0 0 0 0 0 0 0];
n=10;
[phi,w]=phasez(b,a,n);
disp(w);
disp(phi);
//output
//!--error 117
//List element number 1 is Undefined.
//at line 69 of function phasez called by :
//[phi,w]=phasez(b,a,n);
//matlab o/p
//w =
//
// 0
// 0.3142
// ... |
530788db0bb03c75ff3e1bf378d219e2046faf19 | 717ddeb7e700373742c617a95e25a2376565112c | /62/CH6/EX6.49/ex_6_49.sce | b77ac4eadb77590bb87513f9f889aba305697160 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 943 | sce | ex_6_49.sce | close;
clc;
clear;
n=0:10;
N=8;
for i=1:length(n)
if n(i)==0 then
delta(i)=1;
else
delta(i)=0;
end
end
x=delta';
subplot(2,1,1)
plot2d3(n,x);
a=gca();
plot(n,x,'r.')
poly1=a.children.children;
poly1.thickness=3;
poly1.foreground=2;
xtitle('x[n]','n')
X=dft(x,-1);
Y=X(1:... |
9bce93733839897333cc2141e85776c69d0e9922 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH5/EX5.1/EX5_1.sce | df65f5113d9f544897c550af3198d5611c578056 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | EX5_1.sce | //Finding of velocity and discharge
//Given
d1=0.4;
r1=d1/2;
d2=0.2;
r2=d2/2;
v1=5;
pi=3.14;
//To Find
a1=(pi*r1^2);
a2=(pi*r2^2);
v2=(a1*v1)/a2;
q2=a2*v2;
disp("Velocity at section -2 ="+string(v2)+" m/second");
disp("Discharge ="+string(q2)+"m^3/seconds");
|
c1842ed38c69ffd83da58e95de08c38ae9c38cc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH13/EX13.2/Ex13_2.sce | 2e551cd99745452ca4b1cda30dd0617f8f88bb35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | Ex13_2.sce | clc
//to calculate temperature
Tc=7.18 //critical temperature in K
Bc=4.5*10^3 //critical field in A/m
Bo=6.5*10^3 //critical magnetic field in A/m
T=Tc*sqrt(1-(Bc/Bo))
disp("temperature is T="+string(T)+"K")
//to calculate critical current density at that temperature
r=1*10^-3 //diameter of the wire in mm
TJ... |
b17e19fe4bada6ed698b1d000a72cd91b89cf751 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.45/Ex4_45.sce | 46ee3ce95ae81da52cc8019b341b30088b1c38e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | Ex4_45.sce | clc;
clc;
v=200; // rated voltage of dc shunt motor
ra=0.1; // armature resistance
n=1000; // running speed of motor
ia=50; // armature current at n=1000 rpm
re=0.1; // reduction in field flux
ia2=(1/(1-re))*ia; // armature current when transients are over
Ea1=v-ia2*ra; // counter EMF when transients are over
... |
7af1343e5252d75face34ec27d903b36454d2a2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3816/CH5/EX5.5/5_5.sce | a84f789d9353400b09405e104e28187555c59e59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,213 | sce | 5_5.sce | clc;
clear;
W1=500;
R1=0.010;//Resistance
XL1=0.05;//leakage reactance
W2=750;
disp('when both secondary voltages are 400V:')
pf=0.8;//lag pf with 250KVA
W3=250;
R2=0.015;//Resistance value
XL2=0.04;//Reactance value
Z1=(R1+((XL1)*%i));
Z2=(R2+((XL2)*%i));
Z=Z1+Z2;
disp(Z1,'The per unit impedance for comm... |
335efa2c9760819dbf56b6ea01c90a6c5fec274c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH4/EX4.15.10/ex_4_15_10.sce | f836e9eb39d59d0974561eb37fe08e3f9aad7cc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | ex_4_15_10.sce | //Chapter-4,Example4_15_10,pg 4-31
f=0.07*10^6 //frequency
t=0.65 //time
v=1700 //velocity of sound
d=v*t/2 //depth of seabed
printf("1) depth of seabed =")
disp(d)
printf("... |
94ddcc368b506f1be278ae5c0ccd20cbe9069e36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH12/EX12.10/Ex12_10.sce | 5de5b331b9ae9098a5542a211a93ace18a4ff2be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | Ex12_10.sce | //Variable declaration:
//From example 12.9:
Ts1 = 102.0 //Original surface temperature (°C)
Ts2 = 103.0 //New surface temperature (°C)
Tsat = 100.0 //Saturation temperature (°C)
//Calculation:
DTe1 = (Ts1 - Tsat) //Original excess ... |
06626285ad45048824cfaf8513e647f3c93105a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH3/EX3.2/pe3_2.sce | 0270391a194a823f463114d20c247cb75edd143c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | pe3_2.sce | //example 3.2
clc; funcprot(0);
// Initialization of Variable
Ip=2;
f=500000;
Ir=.3;
Cd=.4//duty cycle
t1=4e-7;
t2=1e-6;
//calculation
T=1/f;
Im=Ip-Ir;
disp(It=(Ip-Im)*t1/(Cd*T)+Im,"current in time 0<=t<800ns in A")
disp(It=0,"current in time 800ns<=t<2 microsec in A")
I4=(Ip-Im)*t1/(Cd*T)+Im;
disp(I4,"c... |
09126438b7e435ce3448f1e9e979c5a3ca43ab39 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/comma.man.tst | cefd413946159847faceb13030b2b1d57e150109 | [
"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 | 45 | tst | comma.man.tst | clear;lines(0);
a=[1,2,3;4,5,6];
a=1,b=1;c=2
|
7cbf578dbdb388edb115f1438e15ac71b3f1de76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH4/EX4.3/Chapter4_Example3.sce | 066fc87643604b08bc0d073724f8fe46f02d2c0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,521 | sce | Chapter4_Example3.sce | clc
clear
//INPUT DATA
pb=100;//Saturated vapour pressure in bar
pc=0.1;//Saturated liquid pressure in bar
two=35;//Cooling water exit temperature in degree C
twi=20;//Cooling water entry temperature in degree C
S1=5.6198;//Entropy in kJ/kg.K
S3=0.649;//Entropy in kJ/kg.K
S5=8.15;//Entropy in kJ/kg.K
h1=2727.... |
0f0cefe9f421c9323684cac1f3918dc6438f7d1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH4/EX4.14/Ex4_14.sce | 9edbff70717d315ebf0537ce59bdd426ac8e6f31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,178 | sce | Ex4_14.sce |
//Variable declaration
R1 = 60 //resistance(k ohms)
R2 = 140 //resistance(k ohms)
Rs = 4 //source resistance(k ohms)
Re = 3 //emitter resistance(k ohms)
Rc = 4 //collector resistance(k ohms)
Vcc = 10 //supply voltage to c... |
bd4bb5deacacfe9c1ad4b567520ae2722800f714 | 9835e6a99ef801fdd06a9193c1846cae987d740a | /Fonctions/gaussien.sci | f75f3c6370484ba89c1e47257bb2371bea9975e3 | [] | no_license | Martinhubz/Exo-Life | c2356d064d2f4727b7a42b104aaca340c0e65a64 | dcea54e689b2d7bb3b454648d7cb6fb5a57f115f | refs/heads/master | 2021-04-30T08:52:50.851933 | 2018-02-13T16:19:34 | 2018-02-13T16:19:34 | 121,385,860 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sci | gaussien.sci | //---------Filtre Gaussien----------
function render=gaussien(imgsrc)
filtregauss=[1 4 7 4 1;4 16 26 16 4;7 26 41 26 7;4 16 26 16 4;1 4 7 4 1]
render = convolution(imgsrc,filtregauss,273)
endfunction
|
e2cc7692f865566854bcd7668a218bc2c7821288 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH3/EX3.2/exp3_2c.sce | be4ede5be61a99bd065b325d929d880d000d7993 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | exp3_2c.sce | clear
clc
disp("example 3.2")
c=2*10^8;//cost
s=0.15;//salvage value
ul=25; ///useful value
i=0.08;//life of plant
disp("solution for (a)")
printf("\nannual straight line depreciation reserve =Rs.%.1eperyear\n",c*(1-s)/ul)
disp("solution for (b)")
it=(i+1)^25-1
iit=i/it
asdr=c*(1-s)*iit*100
printf("\n annu... |
1a76f357c997f6eb08a10ea93f4451f838d3ed7b | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm_easa/resources/h3_drv2.sce | f5246740eb67417f4d43f86ae10d4729938155fc | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,408 | sce | h3_drv2.sce | //These "parameters" will be set by calling readinput and passed to
// the main H3 code:
// nx,ny,nz : grid sizes of the 3d cube.
// dx,dy,dz : grid spacings
// iterations: the number of iterations to evolve
// par1,par2 : Parameters for the initial data. //
//[iterations,nx,ny,nz,d... |
5f6c6f23d26e8060b1e904851a1e306cae2c377a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH4/EX4.12/Ex4_12.sce | 705bbe52214c4b306eabaf53f2277e8dfdf4b65b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | Ex4_12.sce |
//two parallel magnetic circuits have equal reluctances
phi_cc=1.2D-3 //flux in central core
phi_ol=phi_cc/2 //flux in each outer limb
//calculating AT for central core
a=9D-4 //cross-sectional area
B_cc=phi_cc/a
H=1600 //corresponding to B_cc from Fig 4.2 in the textbook
l=.15 //length of mean flux path
... |
88728c905b274fa08d1132389c829e2ab0802ac4 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH9/EX9.6/Ex9_6.sce | 4d83378288b5607918dd28532e53d320fb24a76a | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 642 | sce | Ex9_6.sce | // Variable declaration
v1 = 8 // degree of freedom of sample-1
v2 = 8 // degree of freedom of sample-2
alpha = 0.02 // level of significance
s1_square = 0.4548 // for sample-1
s2_square = 0.1089 // for sample-2
// Calculation
// 98% confidence interval... |
5b9a56806691ae7dcd324b60da83a48aaf8a0f50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH8/EX8.12/ex8_12.sce | 28d0581118935f08324fefd477ffebfd9c1c4aec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | ex8_12.sce | clc;
r=2; //side in m
m=70; //mass of man in kg
d=10^3; //density in kg/m cube
V=m/d; //calculating Volume in m cube
A=r*r; //calculating area in m square
h=V/A; //calculating height using vol=height*area in metre
disp(h,"Height in metre = "); //displaying result. |
604c8c4864c83e240d142965b2922ef3c0996acb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH7/EX7.22/Ex7_22.sce | 710a899f30fa1fc6ad3c62eda49d990d94bf83ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,207 | sce | Ex7_22.sce |
clc
clear
//Input data
p=150//Pressure in bar
T=600//Temperature in degree C
Vb=300//Velocity in m/s
nn=95//Nozzle efficiency in percent
a=15//Nozzle angle in degrees
a1=25//Angle in degrees
//Calculations
h1=3582.3//Enthalpy in kJ/Kg
s1=6.6776//Entropy in kJ/kg.K
s2=s1//Entropy in kJ/kg.K
x2s=(s2-0.649... |
3ee36cebc36560d68df244d633483d6526f5770a | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH1/EX1.1/Example1_1.sce | 655abdd0cd3f2332d04147a00e6352b208218ef5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | Example1_1.sce | clear;
clc;
// Example 1.1
printf('Example 1.1\n\n');
//Page no. 13
// Solution
//(a)
printf('(a) We cannot add the two terms since both have different dimensions. 1 foot has the dimension of the length, whereas 3 seconds has the dimension of time.\n');
//(b)
// Converting all terms to same unit
hp = 74... |
267151284f1296b63edef7c2d6021601d5cc5765 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH33/EX33.03/33_03.sce | e0004c8962a85027a6164d1d95496fc05f9860ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,031 | sce | 33_03.sce | //Problem 33.03: Use Th´evenin’s theorem to determine the power dissipated in the 48 ohm resistor of the network shown in Figure 33.19
//initializing the variables:
rv = 50; // in volts
thetav = 0; // in degrees
R1 = -1*%i*400; // in ohm
R2 = 300; // in ohm
R3 = %i*144; // in ohm
R4 = 48; // in ohm
//calcul... |
d10e338030a07a6e7e25d0825be594f1c37d6177 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH13/EX13.2/13_2.sce | 6e8f7acd03136810db370a6428d2241964d4ad0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 13_2.sce | clc;
spc_grv=0.735;
fc=6.74
m=(fc/3600)*spc_grv;
AMflow=14.5*m;
R=287;
T=288;//K
p=1.013;//bar
V_drawn=AMflow*R*T/(p*10^5)
N=2800/60;
A=%pi*0.057^2;
L=0.09/4;
n=4;
sweptV=A*L*N*n/2;//m^3/min
eff=V_drawn/sweptV;
disp("eff is:")
disp("%",eff*100)
|
cd845c91ab56bd3416f3f7c6436037adf8eb6cad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH20/EX20.6/Ex20_6.sce | b33c6f19e65a8abd8e9c509c6cbc1a5cf3c06d66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | Ex20_6.sce |
V=500 //voltage applied to motor
Ra=.2 //armature resistance
Il0=4 //no load current taken by motor
Ish=1 //shunt current
Pi=V*Il0 //power input at no load
Ia0=Il0-Ish
Wcu=Ia0^2*Ra //armature copper losses at no load
Wc=Pi-Wcu //constant losses
//when input current=20 A
Il=20
Ia=Il-Ish
Wcu=Ia^2*Ra ... |
8810240d517afe1a90b9b0afbbed2ec3bf95db66 | b808630822f6b2b1ba4719c9f33ebb55c33b839b | /tests/data/config_loader/rules.tst | c4ddbfa2a197a364074e16a6b0d9ddd9632573c8 | [
"MIT"
] | permissive | raptor-mvk/php-migration-helper | b6c7b576a6b631a49bf7d585d2fb83bda7ef24b5 | a5663d3094e3d6a7d10e08a2d708bc282a7d0a39 | refs/heads/master | 2020-07-25T19:40:49.206336 | 2019-10-05T11:01:42 | 2019-10-05T11:01:42 | 208,404,459 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | tst | rules.tst | {
"config1.yml": "version: '1.1'\n\nexcluded:\n - package1\n - package2\n - package3\n\nrules:\n rule1:\n regexp: 'regexp11'\n recommendation: 'str11'",
"config2.yml": "version: '2.2'\n\nexcluded:\n - package1\n - package3\n - package4\n\nrules:\n rule2:\n regexp: 'regexp22'\n recommendation: 's... |
61ab00e01c80b3932a3345d36e515db3887deb58 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/blackman/blackman13.sce | 5949666e519ad9c714a85be9617d537487bb98d2 | [] | 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 | 117 | sce | blackman13.sce | //
b=blackman(4,'periodic');
disp(b);
//output
// - 1.388D-17
// 0.34
// 1.
// 0.34
|
5633b2cd4ee85a4b3d8579778d519d91ccd093e7 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH8/EX8.1/Ex8_1.sce | 662302e3f86e46c0cfc4d9e37b49a6cecdb58433 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | Ex8_1.sce | //Chapter 8 : Determinants
//Example 8.3
//Scilab 6.0.1
//Windows 10
clear;
clc;
f=[]
f(1,:)=0:9
f(2,:)=1:10
f(2,$)=0
disp(f,'f=')
|
7225a1b8daddee2e4ffd893840716195257e5e2c | 18c3e24d0638c6907f39d9268f0aaa665466df08 | /power.sce | 7849f68e1d2422aecbd4f5099e2887efe6c40ab1 | [] | no_license | deeksha-d/linearAlgebra | 32df504c96fa1f0af12af0cd8776eb2267bd6bd0 | 6346220240cb597db7eec458d9872447c3af3402 | refs/heads/master | 2021-01-01T02:39:43.114734 | 2020-04-10T10:02:09 | 2020-04-10T10:02:09 | 239,145,370 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 977 | sce | power.sce | clear;close;clc;
function[a]=rayleigh(A)
disp(A,'the given matrix is')
// initial vector
u0=[1 1 1]';
disp(u0, 'the initial vector is')
v=A*u0;
a=max(u0);
disp(a,'first approximation to eigen value is');
while abs(max(v)-a)>0.002
disp(v,'current eigen vector is')
... |
0255c6ee7b22db5ca80bcb1f3edfc04378d86ec2 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/solvePnP/test5.sce~ | b0cd956fd501750a93dd1730dbd14f3fc1ec7e14 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | test5.sce~ | //Checking if error message pops up when camera matrix is 3x4 instead of 3x3
obpts = [ .5 .5 -.5;
.5 .5 .5;
-.5 .5 .5;
.5 .5 .5;
.5 -.5 -.5;
-.5 -.5 -.5;
-.5 -.5 .5];
impts = [282 274;
397 227;
577 276;
462 378;
270 479;
450 523;
566 476];
camera = [ 1 0 0 11;
0 1 0 0;
0 0 1 12];
dist = [0
0
0
0];
[rv... | |
5ef5b768c7992ce52603cfab9345b5759a01def8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH1/EX1.2/1_2.sce | 00df10be7bd1415a5e00d20e4bab03a76b5294f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | 1_2.sce | W = 1500; // weight (Newton)
d = 0.008 ; //diameter(meter)
g = 77000; // Weight density of steel
L = 40 ; // Length of bar (m)
A = (%pi/4)*(d^2) // Area
s_max = (1500/A) + (g*L) // maximum stress
disp("Pa",s_max,"Therefore the maximum stress in the rod is") |
5cf37d42c656129f2bdc2cccc5b7a2be9a0de6aa | 743902c2406b7976cc824458091bd276b916d47c | /test/ACATS/B2/B22001D.TST | 3e66fdbee927f3a540dcd67be5f570ede756a286 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | OneWingedShark/Byron | f220d419bbe938ed9df588e0a1073f74bbcc03a2 | 18305e400be9a31d1b1e55a6da4d984c6a8926df | refs/heads/master | 2020-12-24T16:33:29.242045 | 2020-05-16T23:29:29 | 2020-05-16T23:29:29 | 41,644,524 | 55 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,318 | tst | B22001D.TST | -- B22001D.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
e1848ca4f13b56c7d7d2bf4e4a794465577e84ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.27/exa12_27.sce | ebeda64fd483f2b3b267314231efc06a434d8c8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | exa12_27.sce | //caption:gain_and_phase_margin
//example 12_27
//page543
clf();
s=%s;
s1=-s;
disp("for K=0.5")
g=(0.5)/(s*(s+1)^2);
GH=syslin('c',g);
nyquist(GH);
//mtlb_axis([-5 1 -500 500]);
xtitle('Nyquist plot of (2.5*3)/(s*(0.4*s+1)*(0.2*s+1))')
pm=p_margin(GH)
disp(pm,"phase margin=")
gm=g_margin(GH)
disp(gm,"gain margin=") |
5be20e00659bcef7cd2452c3d66883bbc7480b33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH4/EX4.3/eg4_3.sce | 2aac486619a6506478fd3889c389d5728a26e15e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | eg4_3.sce | //ad
Zab = complex(1,-0.5); //impedance appearing across terminals ab
Zbg = complex(1); //impedance appearing across terminals bg
Zbcd = complex(2+1,2); //impedance appearing across terminals bcd
Zad = Zab + (Zbg*Zbcd/(Zbg + Zbcd)); //impedance appearing across terminals ad
disp(Zad,"impedance appearing across ter... |
4cd0cfbfa5d38c619216f6f9e9f4e95c8ba34fd2 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/prony/prony11.sce | eb58b6b9234f4c8f7dd5a50fdbea7c697a1dbc89 | [] | 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 | 267 | sce | prony11.sce | //check o/p when no i/p args are passed to the function
[num,den]=prony();
disp(num);
//output
//!--error 10000
//Not enough input arguments
//at line 3 of function narginchk called by :
//at line 2 of function prony called by :
//[num,den]=prony();
|
3f18d735f1ac61bd7d5137345be1523d1b7aff19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.9/Chapter7_Example9.sce | 6083afa394f7f91088bb4a62c2eb580fdfe93066 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 979 | sce | Chapter7_Example9.sce | //Chapter-7, Example 7.9, Page 297
//=============================================================================
clc
clear
//INPUT DATA
Ta=27;//Temperature of air stream in degree C
v=0.3;//Velodity of air in m/s
Q=100;//Poer of electric bulb in W
Te=127;//Temperature of electric bulb in degree C
D=0.06;//... |
8db255c0569c66248decdb20d6625affffc3d885 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.35/2_35.sci | c123ec1a17b2735e51d9ca27d26158c5be6c92be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sci | 2_35.sci | // 2.35
clc;
L1=2;
La=1-0.02;
Lnew=2/La;
dl=Lnew-L1;
printf("Change in inductance=%.2f mH",dl)
|
65382c09ddf8f33ec08115ecf6476b22b7324a5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH2/EX2.7/eg2_7.sce | 3f437fe3a726a5644e9a47cae56577e8623c19cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | eg2_7.sce | //a
Ri = 1;
Rf = 39;
A = 10^5; //open loop gain of the op-amp
G = A/(1 + (A*Ri/(Ri+Rf))); //actual voltage gain of the circuit
disp("a")
disp(G,"actual voltage of the circuit =")
//b
G1 = 1 + (Rf/Ri); // voltage gain of the circuit with infinite open loop gain
disp("b")
disp(G1,"for ideal case the voltage... |
522a4151717bc7d4d1a9056db37951ff25452e2b | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/unloader.sce | b81b45aea94b7d4a7e239a6cd9456f04b643afa6 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,418 | sce | unloader.sce | //% -------------------------------------------------
//% Scicos pack for Erika (free version)
//% Unloader script
//% -------------------------------------------------
//% Unlink DLLs
unlink_err = 0;
while (1)
exec(SCI + '/contrib/scicos_ee/utils/unlink_dll.sce', -1);
if (unlink_err == 0)
break;
... |
25cf93a0befb68dbab0eaad33d1fc985f1e89614 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH11/EX11.1/Ex11_1.sce | 94491941af07dd5afa61ceed738a5038218d8b0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | Ex11_1.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 11 Example 1")
T1=(-16+273);//temperature of refrigerated space in K
T2=(27+273);//temperature of atmosphere in K
Q1=500;//heat extracted from refrigerated space... |
899b3f8615c7d0eed22e32df4beeda5260028bdc | 8ded5b76c0298af5a8ef0ca7aaae7c72b2471b29 | /Distribution data/Sci Files/Supply_data (Linear).sce | eec859d10f3119e0634b4e46e5deefc4ba80e6ed | [] | no_license | RVidyadhar/IE688 | 83448b25d2325e0f196ca58866ad60cc4b2bd6c6 | 2a886a16097de60352ff506b92b4e889c417da43 | refs/heads/master | 2021-01-10T16:10:42.717526 | 2016-01-22T08:15:10 | 2016-01-22T08:15:10 | 49,526,757 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | Supply_data (Linear).sce | totals=[40
100
180
280
400
540
700
860
1020
1180
1340
1500
1660
1820
1980
2140
2300
2460
2620
2780
2940
3100
3260
3420
3580
3740
3900
4060
4220
4380
4540
4700
4860
5020
5180
5340
5500
5660
5820
5980
6140
6300
6460
6620
6780
6940
7100
7260
7420
7580
7740
7900
8060
8220
8380
8540
8700
8860
9020
9180
9340
9500
9660
9820
9... |
66ace48e17371a2edf924a9a65136d56d6bb3c55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH31/EX31.3/31Ex3.sce | ff35de1b14424a79b2b846a5a7a840ad45ea3fc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | 31Ex3.sce | //chapter 31 Ex 3
clc;
clear;
close;
S={'1','2','3','4','5','6'};
E={'3','6'};
sizeS=size(S,"c"); sizeE=size(E,"c");
prob=sizeE/sizeS;
printf("The probability of getting multiple of 3 is %0.2f",prob);
|
c6e03547ea6746a47456fd59c3f38312141a1612 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH1/EX1.15/EX1_15.sce | d73b35af773ea11a0a9fc086bc89e75c5a0f4d53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX1_15.sce | //Example 1.15<i>
//Find the even and odd components of the signal
clc;
clear;
t=-10:.1:10;
for j=1:length(t)
i=t(j);
x(j)=cos(i)+sin(i)+cos(i)*sin(i);
y(j)=cos(-i)+sin(-i)+cos(-i)*sin(-i);
e(j)=(1/2)*(x(j)+y(j));
o(j)=(1/2)*(x(j)-y(j));
end
disp('In the plot even component is in red ... |
9f907a19bec29f5f15d66da5c962168af9d48de0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH5/EX5.4/ex5_4.sce | d316bf61167a9006662927c98d71fcdd83179e36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | ex5_4.sce | // Exa 5.4
clc;
clear;
close;
// Given data
CalorificValue= 14.887*10^3;// in kJ/m^3
Vs= 1;// in m^3 (assumed)
Vc= 0.25*Vs;// clearance volume in m^3
V= Vs+Vc;// in m^3
Ratio= V/Vc;// ratio of compression
Gamma= 1.4;
r= 5;
Eta=1-1/(r^(Gamma-1)) ;
Eta= Eta*100;// in %
disp(Eta,"Air standard efficiency in %... |
00a4f13e5d296b3a29a70d69d39b44434100f652 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH10/EX10.6/Ex10_6.sce | b382321b654570c9905966bfc05e6bcc997bd29a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ex10_6.sce | //Example number 10.6, Page number 226
clc;clear;
close;
//Variable declaration
T=5; //temperature(K)
Tc=8; //critical temperature(K)
H0=5*10**4; //critical magnetic field(A/m)
r=1.5*10**-3; //radius(m)
//Calculation
Hc=H0*(1-(T/Tc)**2); //critical field(A/m)
Ic=2*%pi*r*Hc; //critical current(amp)
/... |
8cf0b62174bace155d2fc9f0c57f3794d9078ced | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH23/EX23.2/Ex23_2.sce | 4374b85e126f264e4ca7fa4ee6df7d0f57878185 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Ex23_2.sce | //Chapter 23: Ground Wave Propagation
//Example 23-2.1
clc;
//Variable Initialization
f = 3e6 //Frequency (Hz)
sigma = 0.5 //Standard deviation of surface irregularities (unitless)
theta = 30 //Angle of incidence as measured from normal angle (degrees)
c = 3e8 //Speed of light (m/s)
//Calculations
wa... |
737d11f422ac20098abefb7d2e2eae56fecdc468 | b5a6d0e4c3d84d1a446434b60e55627f017991d7 | /integracion_numerica.sce | 3acb50ef0099ccdd83a9e2de98bfc1982106900f | [] | no_license | mayra-diaz/Scilab-Funciones-Matrices | 249cdec506befa4e5e88da9aaf8f6752e401153f | dc89d7dccc7fd22851e6a31867f986cb543b4c50 | refs/heads/master | 2022-12-10T12:50:48.449166 | 2020-09-14T01:10:43 | 2020-09-14T01:10:43 | 259,477,803 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,107 | sce | integracion_numerica.sce | function I = simpson_simple(f, a, b)
h = (b-a)/2
I = (h/3)*(f(a)+4*f(a+h)+f(b))
endfunction
function I = simpson_compuesto(f, a, b, n)
if modulo(n, 2) == 0 then
h = (b-a)/n
x = [a:h:b]
l = length(x)
xpar = x(2:2:l-1)
ximpar = x(3:2:l-2)
fp = 0
fi = 0
for i = 1:length(xpar)
fp = fp + f(xpar(i))... |
704da7c0559c5e4278d3ff625ac7dba590fd698d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH5/EX5.6/Ex5_6.sce | 77a69cae176a07ef5e7c5a7f542b5867ef154b69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Ex5_6.sce | clear
//
//
//
//Variable declaration
e=1.6*10**-19
m=9.1*10**-31 //mass(kg)
n=6*10**28 //density(per m**3)
tow=10**-14 //relaxation time(s)
T=300 //temperature(K)
k=1.38*10**-23 //boltzmann constant
//Calculation
sigma=n*e**2*tow/m //electrical conductivity(ohm-1 m-1)
K=n*%pi**2*k**2*T*tow/(3*m) /... |
e2c575772fe94ddd6a3fb5ec1ba1cadfb6c900f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH4/EX4.4/Ex4_4.sce | 40e9f17c9be3d18719d4fbf586149bd68557286b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_4.sce | //Example number 4.4, Page number 67
clc;clear;
close;
//Variable declaration
n=1; //order
lamda=3*10**-10; //wavelength(m)
h=1;
k=0;
l=0;
theta=40; //angle(degree)
//Calculation
theta=theta*%pi/180; //angle(radian)
d=n*lamda/(2*sin(theta)); //space of plane(m)
a=d*sqrt(h**2+k**2+l**2);
V=a**3; ... |
a9d9a2af7e248e5b8107c6041f077731651c346f | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH11/EX11.4/Ch11Exa4.sci | 9a5e483ad635beba2dac5373b08f32aed30cf59d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sci | Ch11Exa4.sci |
Ebinding= 160.647; //binding nergy, MeV
Mh= 1.007825; //Mass of H1 atom, u
Mn= 1.008665; //Mass of neutron, u
Z=10; //number of protons
N=10; //number of neutrons
Mneon= [(Z*Mh)+(N*Mn)]-[Ebinding/931.49]; //using Eqn 11.7
disp(Mneon,"The atomic mass of Neon 10 isotope, in terms of U, is: ")
//Result
// The... |
2bc28db93c9c70d480cc0c6422e8a398216d1b2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH9/EX9.5/Ex9_5.sce | 8cdef9cb3c9bcc7768978becdf10143f6b0f774f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,296 | sce | Ex9_5.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 9 Example 5")
P1=1*10^5;//initial pressure in Pa
P4=P1;//constant pressure process
T1=300;//initial temperature in K
P2=6.2*10^5;//pressure after compression in... |
05376ec45a1c2a7e88d509b083008e5f2ea9892c | 918e8207504f36c7eaf613b62c71e91ad3a33a8a | /2017/educrace_by_lulu/EducRace/DATA/Scenario/TableLost.sce | 7993703c82a3594f123788b5db0e3ae0331d647e | [] | no_license | lazarusccr/GraphicsContest | b1299eeb74449b8714f126deeb64dc02da285260 | 8dec398588970e958c7f08ab7be32af760acbbd6 | refs/heads/master | 2021-04-29T07:29:46.122593 | 2017-12-28T16:26:51 | 2017-12-28T16:26:51 | 77,950,829 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | sce | TableLost.sce | Tint 255 0 0 180
ScaleChange 3 0.25 Linear
Wait 0.25
ScaleChange 1 0.25 Linear
Wait 0.25
Loop |
9f5bc40a1c7f5744237543bf1f750a0e6a8143dd | 3439df594b1021e4b3961a9c8a599f97a14f95c4 | /correlation.sci | 2edefd86483c46ade5609327d873e9b2def72016 | [] | no_license | zoeada/correlation_calibration | 7c32802b405fb281400493fa1ffce856fa2b34cf | 9ba01c1d78cff97b0bc730b9097f28a0f6ec4d0a | refs/heads/master | 2020-12-14T20:29:47.086491 | 2020-05-17T20:40:57 | 2020-05-17T20:40:57 | 234,859,391 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30,295 | sci | correlation.sci | // Zoë MacDonald - May 2018
// University of Toronto Master of Computer Science
//Change line 26 of the "quickrun" function to define y to the objective correlation
//Replace the "EvaluatePoint" function to change how the points are defined
//Globals used in the calculation
global gb_rowops
global flipped_row... |
ea92164345c580a2c88d81419ae186f099019c13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH9/EX9.19/Ex9_19.sce | 55bec9dbc49dd38b4151304e2f1b1bf2758013b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Ex9_19.sce | //Chapter 9
//page no 325
//given
clc;
clear all;
fb1=2.5; //in Gb/s
D1=20; //in ps/nm.km
D2=5; //in ps/nm.km
fb2=D1/D2*fb1;
printf("\n fb2 = %0.0f Gb/s(OC-192)",fb2)
//Values of D1 and D2 are conflicted in question ,however solution is correct
|
cf8b86dd6cbb3b2fc07830c9ab66f4195126a6f4 | 1c441287d69eb026f0c59fd69b7c0793511746eb | /test/test-fair-1.tst | 8b798c48410366248268f45c951ffbe5a4d4b9f2 | [] | no_license | pavel-v-masalov/fair | 34eb4feafba2b21790d780b37d014ea82aefd883 | 0225cada4f98622f5b87626833a36f6975968702 | refs/heads/main | 2023-05-26T12:36:28.124283 | 2021-06-08T20:07:59 | 2021-06-08T20:07:59 | 308,316,930 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,625 | tst | test-fair-1.tst | PL/SQL Developer Test script 3.0
29
begin
dm.PKG_FV_CALC.main(
p_snapshot_dt => sysdate -- Дата расчета (на какую дату запускается расчет)
,p_client_name => 'TEST' --Лизингополучатель
,p_term_amt => 1095 -- Срок сделки
,p_rating_model_key => 4 -- Ключ ре... |
8b369f0bb08e867e8d9df3b74488eae6710f78ad | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Proyecto_2/proyecto2.sce | 6f1b98db3f62e31e1d850b1e01a216a1ff0c97b0 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,769 | sce | proyecto2.sce | function I = simpson(x,y)
h = (x(3)- x(1))/2
I = (h/3)*(y(1)+4*y(2) + y(3))
endfunction
function polinomio = minimos_cuadrados(x, y, grado)
n = length(y)
A = ones(grado+1, grado+1)
b = ones(grado+1, 1)
A(1,1) = n
b(1) = sum(y)
for i = 2:grado+1
A(1, i) = sum(x^(i-1))
end
for i = 2:... |
e9436d6ceafca7e91817ae860cc167e3312ab20e | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.21/3_21.sci | 8d26b333b65710185cc1b9f4dbaac901e9601e1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 3_21.sci | //to find the mean,deviations from the mean, Average deviation, standard deviation and variance
clc;
x=[532 548 543 535 546 531 543 536];
X=sum(x);
n=8;
a=0;
Mean=X/n;
disp(X/n,'mean (kHZ)');
for i=1:n,
d(i)=x(i)-Mean
disp(d(i),'deviations =')
a=a+(abs(d(i)))
end
d_average=a/n;
disp(d_aver... |
aa2dba2290a08710b78d27604aa2f0a767ae7026 | 7f8a82b193633b744689e1f194923592e656b470 | /rltoolSci/macros/rltFuncLag.sci | 36f57d29c147985863daf994f46b02553a2bee42 | [] | no_license | josuemoraisgh/rltoolSci | 3b5a5e8fc6a27b60bca3354af5222350cd8e8b3b | a76ad9fbfe988bb2674adfeb466847a32719474a | refs/heads/main | 2023-07-14T10:40:12.549424 | 2021-08-26T17:52:16 | 2021-08-26T17:52:16 | 385,216,740 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,073 | sci | rltFuncLag.sci | function rltFuncLag
global axes1 comp gnum gden cnum cden hnum hden cCk Mp T5
s = %s;
Ess = evstr(x_mdialog(['Entre com Erro de Regime Estacionário desejado'],'ESS','0.001')(1));
execstr(msprintf('G = clean(syslin(''c'',(%s)*(%s)*(%s),(%s)*(%s)*(%s)));',cnum,gnum,hnum,cden,gden,hden));
if messag... |
62ef4fcef6477197227009b078493d13399275fa | c28130b62911f5891f14826350089c73c907d3b5 | /exo6_laplacien.sci | 0e520da7e6e4cfc82b954f0116e970b76804080b | [
"MIT"
] | permissive | zyron92/Simulation_of_Cardiac_Excitation | f1709d032613f49427a72716b4e258c3b578b739 | 66813dc24128d9cb171e77d4f780b6bf54011d15 | refs/heads/master | 2021-01-19T10:25:43.810588 | 2017-02-16T12:58:38 | 2017-02-16T12:58:38 | 82,180,177 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,267 | sci | exo6_laplacien.sci | function[res]=laplacien(D,n)
if n>1 then
h=1/(n-1)
//Définir T1 & Tn
T1=-3*eye(n,n)+diag(ones(n-1,1),1)+diag(ones(n-1,1),-1)
T1(1,1)=T1(1,1)+1
T1(n,n)=T1(n,n)+1
T1=(1/(h*h))*T1
//Définir Tk
Tk=-4*eye(n,n)+diag(ones(n-1,1),1)+diag(ones(n-1,1),-1)
Tk(1,1)=Tk(1,1)+1
Tk... |
3f3adbaa9a14e6f6c36b15884e3ecbc202acd660 | 3b742855dce5a8af730e0cbc0fa60a17c93592a7 | /B-splines.sce | e8c9b98b6e1104318a190d3be72734c969f945fb | [] | no_license | AlexisZankowitch/scilab | 287c90ba944622f50c6fd445044441618153d04b | 2a6dfafe03743e26fd78308265813134025cf224 | refs/heads/master | 2021-05-30T04:37:00.736119 | 2015-12-06T13:39:59 | 2015-12-06T13:39:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,540 | sce | B-splines.sce | function T = polyControleBsplines()
ibutton = 0;
i=1;
while (ibutton <> 2 & ibutton <> 5)
plot2d(0,0,rect=[0,0,3,3])
[ibutton,x,y]=xclick()
T(i,:)=[x,y]
plot(x,y,"ro");
if(i>1)
plot([T(i-1,1),T(i,1)],[T(i-1,2),T(i,2)])
end
i = i+1
end
... |
51c3c7dfecd721dc270ff31f1ba25ff7e1dec5d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH8/EX8.18.7/Ex8_18_7.sce | 18df2d633576004a3715a264279d30a803013eee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | Ex8_18_7.sce | clear
clc
E1=0.771;//in V
E2=0.150;//in v
E=(E1-E2);//in V
n=2;//
F=96500;//in C/mol
R=8.314;//in J/Kmol
T=298;//in K
Keq=10^((n*F*E)/(2.303*R*T));//equilibrium constant
printf('Keq=%.1f*10^21',Keq/10^21)
//page 485
|
6c62a05050f420fcc458634d6031f2f6fafcd353 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH45/EX45.B.3/45_B_3.sce | a97d4155058a66f8a4efa7a7be8770282e6f3093 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | 45_B_3.sce | clear;
clc;
c1=.8;
p1=120;
r1=p1/c1;
rr1=r1*(sin(acos(c1)));
c2=.9;
r2=p1/c2;
rr2=r2*(sin(acos(c2)));
rr2=round(rr2);
rr=rr1-rr2;
printf("the kVAr of capacitors = %fkVA",rr);
|
af5af0071cb07765ee8772a1357f8bba45318749 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH13/EX13.3/Ex13_3.sce | 167f683fd38c940bfb8af5db94ac4716f9e9a389 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_3.sce | clc;
Vdd=20;
Id=0.01;
Rd=1000;
Vgs=Vdd-Id*Rd;
disp('V',Vgs,"Vgs=")//The answers vary due to round off error
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.