blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b48db4faf8c6bb8519aed3500f8d5ac69fc2bc60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.30/ex3_30.sce | b0dee62707aae0fc8c5112e998cba1791581655e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | ex3_30.sce | // Exa 3.30
format('v',7);clc;clear;close;
// Given data
std_cell_emf = 1.45;//e.m.f. of standard cell in V
l = 50;//length in cm
Vdrop = std_cell_emf /l;//voltage drop per unit length in V/cm
Vstdresistor = Vdrop*75;//voltage across standard resistor in V
Stdresistor = 0.1;//standard resistor in ohm
I = Vstdre... |
f31751e10e5b97c63723d3b461312f1e109a2a9c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825.zip/Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825/CH19/EX19.2/Ex19_2.sce | d4dc140b949afdb98f06f83008ba8b857698aa64 | [] | 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 | 177 | sce | Ex19_2.sce | errcatch(-1,"stop");mode(2);//Ex19_2 Pg-958
bin='11101'; //binary input
dec=bin2dec(bin) //decimal output
disp("The decimal equivqlent of 11101 is")
disp(dec)
exit();
|
bfea4ae745be39563435e007127dc9e3002380fc | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/trim/trim_f16.sci | 88de1d37dfe33fb10df6bc106609a844b7cf31c7 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,582 | sci | trim_f16.sci | exec('eqm/engine_f16.sci');
exec('eqm/eqm.sci');
exec('eqm/params_f16.sci');
function [X, controls, params] = trim_straight_level(V_ftps, alt_ft, xcg)
[out, inp] = argn(0);
if inp<3 then
xcg = .35;
end
if inp<2 then
alt_ft = 0.0;
end
params = load_f16();
params.xcg = xcg;
... |
c0f8ff37aba118969dcef9dc8e2efcddef552d73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH12/EX12.11/ex12_11.sce | 1ea107f6caa5330fc3b315f6cd07e9e2cf5da40f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex12_11.sce |
clc
//given
N=100//rpm
ke=1.93//As per given figure
l=15//1 inch of fig = 15 ton ft
x=40//degrees; 1 inch = 40 degree
I=150//ton ft^2
w=%pi*N/30//angular speed
E=l*x*%pi/180//energy
Ef=E*ke//fluctuation energy
Ks=Ef*g/(w^2*I)//from equation 12.14
p=Ks*100/2//dummy variables
q=p*2//dummy variables
printf... |
5c4e3089741b0fc2f7962f3da3e65b594a901425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH6/EX6.8/ex6_8.sce | 33768fb39cbf50f5b9f10566eb3f3dd7cac278f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | ex6_8.sce | clc;
hw=7.5; //half wavelength in metre
f=20*10^6; //frequency in Hz
a=0.03; //area in metre square
v=hw*a; //calculating voltage
disp(v,"Voltage in volt = "); //displaying result |
e7068168acf96589d9ef86a23eb2c19f6d0b8cba | 0e637a0e41450cddb847e0328eaebb9365cefdd4 | /sine.sce | b8a0c0fd75daaeaefe0151a17f67419e9d201bca | [] | no_license | mehtasankets/CASP | 32c7ea00fca072e85d664f4acd050edee5f26a5f | 5dbdd3c14b1b2620c29ab5bfdad640f4529d779c | refs/heads/master | 2020-04-28T09:20:00.026745 | 2011-11-03T08:33:12 | 2011-11-03T08:33:12 | 2,700,756 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | sine.sce | t = [0:0.001:1]
printf("Enter value of f : ");
f = scanf("%d");
printf("Enter value of phi : ");
phi = scanf("%d");
y = sin((2 * %pi * f * t) + phi);
plot2d(t, y); |
79107a152974890ffe185d92ff05969c2c1bdbb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH13/EX13.7/Ex13_7.sce | 4c6882d17571f2f917679d5d9e29c86cab75e527 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_7.sce | clc;
close();
clear();
//page no 455
//prob no. 13.7
//data from ex 13.6
M=2^6;
Pr=200*10^-15; //W
R=8*10^6; //bits/s (changed)
Eb=Pr/R;
k=1.38*10^-23; //Boltzmann cons
Ti=300; //K
Te=425; //K
Tsys=Ti+Te;
nsys=k*Tsys;
//mprintf(' Noise power spectral density ,nsys=%.0f*10^-... |
c25678f4300174b6ed7e181f45dbed0836fe06fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH9/EX9.2/9_02.sce | b5d79ee0a680a45fbe2a572cc8730171923829e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 9_02.sce | //Chapter 9, Problem 2
clc;
E=9; //emf
B=0.6; //flux density
l=75*10^-3; //length of conductor
//since the conductor, the field and the direction of motion are mutually perpendicular
//calculating velocity
v=E/(B*l);
printf("Velocity = %f m/s",v);
|
dac2f1674324767fa74791c0c1c0f2dca1258ed3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH6/EX6.21.1/Ex6_21.sce | 32f83276e5d96e206eb6f2088e83be9c3443c71e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | Ex6_21.sce | clc
clear
r=6; //Compression Ratio
G=1.4;
Eff=100*(1-(1/(r^(G-1))));
printf('Efficiency: %2.2f Percent',Eff);
printf('\n');
m=1; //in kg
R=0.287; //Universal Gas Constant
T1=27+273; //in K
P1=1; //in bar
V1=(m*R*T1)/(P1*100);
V2=V1/r;
Vc=V2;
Vs=V1-Vc;
T2=T1*... |
4b2d36255b4dde558c443455ca91f8ed983a4285 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Turkic/tuk.tst | 581bbe5863ad3aef70dd7ca298b16f0232e9651f | [] | 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 | 146,573 | tst | tuk.tst | seretmek V;SG;3;PST
seretmek V;COND+INTEN;SG;3;PST
seretmek V;INTEN;SG;2;PST
seretmek V;INTEN;PL;3;PST
seretmek V;NFH;SG;1;PST
seretmek V;PRF;SG;3;PST
seretmek V;PROG;SG;1;PRS
seretmek V;INTEN;SG;1;PST
seretmek V;SG;1;PST
seretmek V;PROG;SG;2;PRS
seretmek V;SG;2;INFM;PST
seretmek V;COND;PL;1
seretmek V;COND+INTEN;SG;1;... |
d350e87fc814d69d70ff0d8e4786e63a832578dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH1/EX1.3/Example1_3.sce | ec3ca0d600a15914be258ce954e97e931321cf31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | Example1_3.sce | //chapter1,Example1_3,pg 481
Rv=40*10^3//voltmeter resistance
Ra=1//ammeter resistance
Vr=40//voltmeter reading
Ru=10*10^3//unknown resistance
Ir=(Vr*(Rv+Ru))/(Ru*Rv)//current reading-case1
printf("ammeter reading case1\n")
printf("\nIr=%.4f A",Ir)
Ir1=(Vr/(Ru+Ra))//current reading -case2
pri... |
5941b0053df038d29e0b700585be31245c798673 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH10/EX10.6/Ex10_6.sce | 49c7488e3a3cb998953c44c08c452dcf0219b33b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Ex10_6.sce |
// Example 10.6
// Given Z=R+iX; i.e Z= 10-i10
R1=10; // Resistance
Xl=10; // Inductance
f=50; // Frequency
Z= 10-%i*10; // Impedance
Y=1/Z; // Admitance
disp(' The Admitance of Circuit is = '... |
9567e69f780309c6829e2adc894ab8a891d22fcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH1/EX1.4/1_04.sce | f9f5240114b1e5bacfd77d1ccd6be6786e0b8094 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | 1_04.sce | //Chapter 1, Problem 4
clc;
F=200; //force in Newton
D=20; //distance in metre
T=25; //time in seconds
W=F*D; //calculating work done in kJ
printf("Work done = %f kJ\n\n\n",W)
P=W/T; //calculating Power in watt
printf("Average power utilized = %... |
6044e0b4ef13f40e42189d80bdb0e9338657098f | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH17/EX17.2/Example17_2.sce | 5ecaaa9124e9cf3c145a4c555235a84050118465 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Example17_2.sce | exec('Example17_1.sce', -1)
clc
//Sample Problem 17-2a
printf("\n\n**Sample Problem 17-2a**\n")
v = numdiff(list(wave, 22.5*10^-2), 18.9)
printf("The velocity of the particle is %fm/s\n", v)
//Sample Problem 17-2b
printf("\n**Sample Problem 17-2b**\n")
dx = 0.001
a = (numdiff(list(wave, 22.5*10^-2), 18.9+d... |
680c5f1f45ce9e0c5f31829ba485ce1fc4e00932 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_cov.sci | 112bd6fcbfa5ec6e3b18ad8d5a2e1fb8bb9bda39 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,410 | sci | moc_cov.sci | function c = moc_cov (x, y, opt)
// Compute the covariance matrix.
// Calling Sequence
// c = moc_cov (x)
// c = moc_cov (x,opt)
// c = moc_cov (x,y)
// c = moc_cov (x,y,opt)
// Description
// If each row of xand y is an observation, and each column is
// a variable, then the (i, j)-th entry of
// moc_cov (x, y)} is t... |
f73ff811a50ecaa8a1be9c3edce189e0ca36816d | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH5/EX5.3.1/5_3_1.sce | 6ec096cb860f78e7ab0bf6f1cf490ed38a9d672d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | 5_3_1.sce | clc
pathname=get_absolute_file_path('5_3_1.sce')
filename=pathname+filesep()+'531.sci'
exec(filename)
printf("All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
Pideal=0.08206*T/Vcap
printf(" \n The value of pressure as per Ideal gas equation = %f atm",Pi... |
669f64a1ce063fa5cf16ea4b2f3452cf622716f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH4/EX4.22/ex4_22.sce | 68ff9b84663c7f51b61074f33bd04addbe37b624 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | ex4_22.sce | clc;
cm=10*10^-6; //capacitance in Farad
K=2; //constant
co=cm/K; //calculating co
disp(co,"capacity of capacitor with air between the plates in Farad = "); //displaying result |
2a09f3451bb18cb555180a82cc2d86da659899b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH2/EX2.3/ex2_3.sce | 59ab9da04656831911ab813e30d767181a2c6d40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | ex2_3.sce | clc;
clear;
//x(t)=2 over an interval of (-2,2)
disp("the energy of the signal (in J)is");
Ex=(integrate('4','x',-2,2)); // energy content of the signal
disp(Ex);
|
b3462e8eb6008598134ab66f349d80ff5030aae2 | 4014300a072f0492747983563943f01f78a1b16d | /test/unit_test/reports/tst-interleaving_service.tst | 1af5039acf9a88312a5d52fe04622a7fd40a5284 | [
"BSD-3-Clause"
] | permissive | eyasuashenafi/ninja | e351cc90e8c815e018447750cd40fa38796f6c51 | daf739b82e48d3b60c43cf699fbb39f96d9fa27a | refs/heads/master | 2020-12-03T13:50:39.324069 | 2012-09-28T14:23:00 | 2012-09-28T14:23:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,431 | tst | tst-interleaving_service.tst | description = Interleaving downtimes and multiple states, services
logfile = interleaving_states_service.log
global_vars {
start_time = 400000001
end_time = 400005000
}
worst state, down as down {
service_description {
host1;PING
host2;PING
host2;PING2
}
correct {
TIME_OK_UNSCHEDULED = 139
TIME_OK_SCHE... |
d36a5120dc262315032630260b0ec4f6b45f76e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH24/EX24.1/exa24_1.sce | 3ae33f252402303cee55739da7ed87ddc8731d22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | exa24_1.sce | clc;
//Example 24.1
//Page No 981
//soution
f=18*10^9;
D=16*10^3;
c=3*10^8
disp("free space path loss based on inverse square law, which yields, ");
lp=((4*%pi*D*f)/c)^2;
disp(lp,"Lp = ");
Lp=10*log10(lp);
disp('db',Lp,"Lp(dB) = ");
|
3639222c3559fb0e9b61b2b709c6e440ae7f39a2 | b251fec828ff239d8ed39a956b6c05223716aaf0 | /grrw.sci | a7faab0b7463255a3efb48a7dc67f7fdd5a8a965 | [] | no_license | paulgomme/paulgomme.github.io | 9b1a52ccc205a190cafba992dd652af807ba0516 | df9b4a4ad96e62f8f4d4234aba9c3686c3d85ef4 | refs/heads/master | 2023-04-17T18:14:47.969447 | 2023-03-22T17:53:28 | 2023-03-22T17:53:28 | 26,449,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32,924 | sci | grrw.sci | // Code to solve Gomme, Rogerson, Rupert and Wright, "Home Production in
// a Life-cycle Model", NBER Macroeconomics Annual 2004, pp. 415-461
//
// Coding by Paul Gomme, Concordia University
//
// Code written in Scilab: http://www.scilab.org
//
clear;
clearglobal;
//cd ("~/Work/scilab");
rand('seed');
rand('normal');... |
a4e9dc959131eb289bb59ec9b890ecc7dea5029a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.23/EX26_23.sce | 7ca096302411f7690665159e0dc31e454d631a38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 996 | sce | EX26_23.sce | //EXAMPLE 26.23
//6-POLE SHUNT GENERATOR
clc;
funcprot(0);
//Variable Initialisation
V=250;..................//Terminal voltage in Volts
Po=10;.................//Output power in Kilo Watts
P=6;..................//Total number of poles
N=1000;................//Speed of the generator in rpm
Al=P;.............. |
49293aafd5a06f5ea051bec17b41af4b3dcbc111 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH4/EX4.3/Ex4_3.sce | 57b415d7777f4180c6526682aec69b47d395f2ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_3.sce | ////Given
m=1.675*10**-27 //mass of neutron in kg
v=1.4*10**-10 //de broglie wavelength in m
h=6.63*10**-34 //Js
//Calculation
K=(h**2/(2*m*(v**2)))/(1.6*10**-19)
//Result
printf("\n Kinetic energy of neutron ... |
5842afbaf9b34a5544419db5c39d302bb98673af | 8028c77435920a39892a421fca1e444a5fd9eacc | /apps/fm/test_and_ground/asist/image/FMRENAMESTRESS.TST | 07beb1af338d9aa75cec8d62761acca5c5cc30dc | [
"NASA-1.3"
] | permissive | WindhoverLabs/airliner | fc2b2d59c73efc8f63c6fb8b3c4e00c5fddcc7c7 | 2ab9c8717e0a42d40b0d014a22dbcc1ed7ec0eb1 | refs/heads/integration | 2023-08-04T06:01:53.480641 | 2023-07-31T03:22:06 | 2023-07-31T03:22:06 | 332,887,132 | 9 | 2 | null | 2023-07-31T02:58:48 | 2021-01-25T21:21:52 | C | UTF-8 | Scilab | false | false | 1,279 | tst | FMRENAMESTRESS.TST | This is the test file for the fm_filerename_stress test
Garbage to follow...
KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla
KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla
KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla
KHAKJFSHSH SAFKHASKJNJfnkjasf nahjlfsNJl Ffakfnanmalksfkla
K... |
5069b1a3878c9d1fb0c0db4fab1dec7bb8170439 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH13/EX13.1/ex13_1.sce | b93bcd388480ee07e07929eee2e7d6cbd94e6bb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | ex13_1.sce | //Chapter-13, Example 13.1, Page 388
//=============================================================================
clc
clear
//INPUT DATA
Ie=10;//emitter current in mA
Ic=9.8;//collector current in mA
//CALCULATIONS
Ib=Ie-Ic;//base current in mA
mprintf("base current is %1.1f mA ",Ib)
//====================... |
9a2af6928c5a905d8a8d6945fe6a2f50daa4aade | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH5/EX5.1/51.sce | 5803537995554799b0cb28421d11be923c11598d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | 51.sce | // problem 5.1
q=0.2
Cd=0.62
g=9.81
// using the relation
z=(3*q*(2^1.5))/(2*Cd*((2*g)^0.5))
b=z^0.4
disp(b*100,"the lenght of the notch in cm ")
|
5b55fcd89aa227a8c45f0ad092100a7a32f3a75d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH18/EX18.3/Ex18_3.sce | e67593e13442edb59cc3a0398b5ad8cb4e312c42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | Ex18_3.sce | // Ex18_3 Page:348 (2014)
clc;clear;
N_A = 6.02e+023; // Avogadro number, atoms/mol
M = 14; // Gram atomic mass of C-14, g
t_half = 5570*365*24*60*60; // Half life of C-14, s
lambda = 0.693/t_half; // Decay constant of Au-198, per sec
A = 2e-003*3.7e+010; // Activity of C-14, decays per sec
N = 1/... |
ccca771050fff899919f71d8130b3079c12e079b | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH14/EX14.13/14_13.sce | 5c4d2c95c878397d6fbd650faa7450ba933c5f12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | 14_13.sce | //Problem 14.13:
//initializing the variables:
T = 150; // in deg C
P = 1.5; // in atm
nH2O = 0.9
nC2H4 = 0.1
DG0150c = 2375 // in cal/gmol
FH0298k = -10000; // in cal/gmol
R = 1.987;
v = 1-1-1
//calculation:
Tk = T + 273
K = %e^(-1*DG0150c/(R*Tk))
//yC2H4 = (1-e)/(10-e)
//yH2O = (9-e)/(10-e)
//yC2H5... |
00139805d8d671492d3fa0ebf39927c678548fd8 | 24fb1e72f2244733455f40fda1ae95423110e82a | /lecture1.sce | 148bb4bb4b18375ef119a1a51df0a2587f4ffc51 | [] | no_license | Aie-Aie/scilab | a4cbed5b58134009de1c084950a45da1e2b6f2db | 616568e7589f61dcda425410fbedc943b238f11b | refs/heads/master | 2021-09-11T20:42:55.522610 | 2018-04-12T05:29:52 | 2018-04-12T05:29:52 | 106,638,444 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | lecture1.sce | disp("Array of a")
a=[1, 2, 3;
4, 5, 6;
7, 8, 9];
disp(a)
disp("Array of z")
z=a^2
disp(z)
disp("Array of az in column")
azc=[a;z]
disp(azc)
disp("Array of az in column")
azr=[a,z]
disp(azr)
disp("Array of az with 2 rows")
az1=[a; z(1:2,1:3)]
disp(az1)
disp("Array of az with rows and columns")
az2=[a(1:... |
1c7335331041a00c91b707bccc4e151b3b2687bf | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaqSetIP.sci | 4c3c885a1a5a15823f809ad33aa3718198f7ebea | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 824 | sci | mdaqSetIP.sci | function mdaqSetIP(mdaq_ip)
ip_config_file_path = mdaqToolboxPath() + "etc"+filesep()+"mlink"+filesep()+"ip_config.txt";
if argn(2) > 1 | argn(2) < 1 then
mprintf("Description:\n");
mprintf("\tSet IP address\n");
mprintf("Usage:\n");
mprintf("\tmdaqSetIP(ipAddress);\n")
... |
b2898a0376492da1424571af55b93b15fa41e9e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH3/EX3.9/EX3_9.sce | 140c4a388255c9a33b4f76d8f5c80853b68b8d43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | EX3_9.sce | // Exa 3.9
format('v',8)
clc;
clear;
close;
// Given data
n_i = 10^16;// in /m3
N_D = 10^22;// in /m^3
n = N_D;// in /m^3
disp(n,"Electron concentration per m^3 is");
p = (n_i)^2/n;// in /m^3
disp(p,"Hole concentration per m^3 is");
|
357ff488e2fedb59a36ea7b4b713b4ecf91bfc20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH1/EX1.1/Ex1_1.sce | 93254b4c6a6488fafe0ae0f2280d03c80f42e6e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_1.sce | //Chapter 1: Structure and Bonding
//Problem: 1
clc;
//Declaration of Constant
c = 3 * 10 ** 10 // Velocity of light,in cm/sec
//Declaration of Variable
w = 3500 * 10 ** -8 // Wavelength of radiation,in cm
// Solution
mprintf("v = c / w\n") //v is Velocity, c is Speed of light ,w is th... |
5e855c89fc42c56749965e095e32309c7986ec58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH1/EX1.2/eg1_2.sce | 6b9accd40ed426f5dafa2ba210c276611cb3d9f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | eg1_2.sce | a = 5.65*10^-8; //lattice constant in cm
disp("In the (001) surfaces, the top atoms are either Ga or As leading to the terminology Ga terminated (or Ga stabilized) and As terminated (or As stabilized), respectively. A square of area a2 has four atoms on the edges of the square and one atom at the center of the square.... |
a59d17450dc4dc53d76141d0034cde682b7c4e6d | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/L14.prev.tst | 81b1316bbf4808a2c3a4fa615c98c53782cd50c1 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,510 | tst | L14.prev.tst | # vect[0]=(3,4,5,6), vect[1]=(3,10,18,19)
# vect[0]=(3,4,5,6), vect[2]=(7,14,17,20)
# vect[0]=(3,4,5,6), vect[3]=(4,17,22,25)
# vect[0]=(3,4,5,6), vect[4]=(18,19,21,28)
# addMult: (3,4,5,6), (21,18,19,28), det=-2
# next[0]: (95,86,97,134)
# next[1]: (461,412,459,642)
# next[2]: (2203,1974,2205,3076)
# next[3]: (10561,9... |
7170372e48bb81cecd6ed91f2195f9f4029c20d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH10/EX10.12.1/10_12_1.sce | 0a926fd76d5305efa38ab6882482e3d8d6e7dab1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | 10_12_1.sce | clc;
//page no 343
//problem no 10.12.1
p=10;t=0.3*10^-6;gm=2*10^-3;
q=1/p;f_max=q/(2*%pi*t);
Z2=p/gm;
R2=Z2;//Z2 is resistance
//Determination of equivalent tuning capacitance
C1=t/R2;
Ceq=gm*t;
disp('f',Ceq,'The equivaent tuning capacitance is'); |
62c03e164b84c167e1ad1077692fc4c12aa4de71 | 3c9b59cb858e16c5e742b46ee6a0ec578cd52145 | /Problema1.sci | 3ff50af19d9b98e9039b72af966da93f54e2e08c | [] | no_license | Gervaes/calcNum | f4e66468789d2276e53f4966c9165f957d3007ae | c9df67bdf19943f7d40fe5c89983f3a7355126c7 | refs/heads/master | 2020-04-07T13:34:31.215928 | 2018-11-21T01:18:00 | 2018-11-21T01:18:00 | 158,412,613 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,382 | sci | Problema1.sci | //a) Construir uma função no Scilab para implementar o método da Posição Falsa
function [raiz, x, iter, ea]=PosicaoFalsa(xl,xu,f,tol,imax)
if(f(xl)*f(xu)>0) then
error('Nenhuma raiz no intervalo f(xl)*f(xu) > 0');
abort;
end;
iter = 0;
xr = xu - (f(xu)*(xl-xu))/(f(xl)-f(xu));
x(iter+1) = xr;
if(f(x... |
6384dd9b7ebd606649a1777b34fabfe5a140e211 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH5/EX5.11/Ex5_11.sce | 55507610892e9329275965be4e78df10615af2a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,186 | sce | Ex5_11.sce | //Ex5_11
//Inverse Filtering
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
close;
clear;
xdel(winsid())//to close all c... |
66d03da6f75a5acca7bbcf1f5969ce8fb6974356 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/6_4a_data.sci | cd95827ef6339731164dc0ab2da954c6d28aef3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sci | 6_4a_data.sci | //for the CP-1(datas from example 6.1a):
b=10.912;//wingspan(meter)
S=16.165;//wingarea(m^2)
AR=b^2/S;//aspect ratio
D=1.225;//density at sea level(Kg/m^3)
Cdo=0.025;//parasite drag coefficient
e=0.8;//oswald efficiency factor
W=13127.5;//normal gross weight(N)
P=230;//power provided by piston engine (unit-hors... |
e573171ea8f0a9e88b381267befd31d860787dd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH7/EX7.5/Ex7_5.sce | 2cc01b6ee1a82a228ea5fe9cff28669aace27cf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | Ex7_5.sce | clc
//solution
// initialization of variables
Cp=1.0 // specific heat at constant pressure
k=1.4 // polytropic index for air
T1=25+273 // temperature at compressor inlet
T3=850+273 // maximum temperature in kelvin
r=5 // pressure ratio=P2/P1 & P4/P3
T2=T1*(r)^((k-1)/k) // temperature after compression
T4... |
c1da1c2cb5265497be30b7681c921e5d6dbfc0d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH2/EX2.1a/Exa_2_1a.sce | 14ff9d6762dbc5817894a967cdc0e5fbdc8afe3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | Exa_2_1a.sce | //example 2.1.a,pg no.11
for i=1:1:50
x(1,i)=3*(0.5)^(i-1);
end
//summation of x
E=0
for i=1:1:50
E=E+x(1,i)^2;
end
disp("the energy of given signal is")
E |
adc12a56ca7175df5622559fed13b5302f30ce7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH7/EX7.4/ex7_4.sce | bfbb8c830ca63b86955769992176a37c801820cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | ex7_4.sce | // Exa 7.4
format('v',7);clc;clear;close;
// Given data
voltsBYdiv = 2;//volts per division in V/div
Timebase = 2;//base time in ms/div
Verticaloccupancy = 3;//Vertical occupancy in cm
Vpp = voltsBYdiv*Verticaloccupancy;//peak to peak voltage in V
Vm = Vpp/2;// in V
V_RMS = Vm/sqrt(2);//r.m.s. value of the volt... |
fcb5b3564ac46dd2abe7bfb858060d4daf0727f0 | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/otsu_im2.sci | 3b15a7f27337a4ab6602b8ba4b5342b22aa9caa5 | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 756 | sci | otsu_im2.sci | function O = otsu_im(I)
// OTSU_IM_
// O: o valor de limiar
// I: imagem em tons de cinza
//
// Uso:
// I = imread('figura.jpg');
// O = otsu(I);
// imshow(1*(I>O),[])
//
// histograma normalizado da imagem
h = histograma(256,I);
// zeroth-order cumulative moment of the histogram
w = cumsum(h);
// first-... |
be1ef510db6f246290c18eb387334dbcfe25c786 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.4_13.tst | 062be2710e4a485e3959ecde4e1cde7581fcb423 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,546 | tst | bow.4_13.tst | 4 1:0.1111111111111111 16:0.013333333333333334 139:0.3333333333333333 142:1.0 143:0.5 146:0.5 168:1.0
4 16:0.013333333333333334 27:2.0 28:1.0 33:0.2 41:0.3333333333333333 77:1.0 104:1.0 112:0.3333333333333333 162:1.0 589:1.0 1226:2.0
4 1:0.1111111111111111 6:0.25 15:0.3333333333333333 16:0.013333333333333334 18:0.33333... |
89c779e164e50ccc6f081bde561d7bb01154ab46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH6/EX6.1/Ex6_1.sce | fd38eb38bcc0a73b976a40d3a83a40b992e1df9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_1.sce | //Sampling the CT signals
clc
clear
close
t=-0.3:0.0001:0.3;
x1=2*cos(2*%pi*20*t);//F1=20Hz
x2=2*cos(2*%pi*80*t);//F2=80Hz
figure(1)
subplot(2,1,1)
plot(t,x1);
xtitle("CT Signal X1(t)","t","x1(t)");
subplot(2,1,2)
plot(t,x2)
xtitle("CT Signal X2(t)","t","x2(t)");
//Given Sampling frequency Fs=60Hz
Fs=60;... |
40929abbd762df2062531522fbc8a582747bc162 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.42/example_3_42.sce | 26a7a42c6940d7cb4c506690b21955ebf83d108c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | example_3_42.sce | clear;
clc;
disp("--------------Example 3.42---------------")
printf("The bandwidth of a subscriber line is 4 kHz for voice or data. The bandwidth of this line for data transmission\ncan be up to 56,000 bps using a sophisticated modem to change the digital signal to analog.") // display the examples
|
e0bfbe9b30a386e7504c2e7485252ffbe653f7e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH2/EX2.20/ex2_20.sce | 1b8603f17ada38116cc399b29e98a7154c172d2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | ex2_20.sce | clc;
phi=0.5; //flux density in Tesla
v=10; //peak to peak voltage
disp("At 80 Tesla/sec it takes 1/160 sec to reach 0.5 Tesla.Therefore,to reach maximum B in opposite sense and return to zero it will take 4/160 sec."); //displaying result
disp("This is a frequency of 40 Hz."); //displaying result |
55c7d7e4b70e535c8a4ea6fb01ca85b9cd30205d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH8/EX8.2/Ex8_2.sce | 64ef14d7716f1bb92cf5daa4b0bb56d6121483ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Ex8_2.sce | clear all; clc;
disp("Ex 8_2")
//Dimension x is used to locate th position of the normal force N
//slipping impends at theta=25 degrees
theta=25*%pi/180
// friction force is Fs=mu_s*N
mu_s=tan(theta)
printf('\n\n mu_s = %0.3f',mu_s)
|
e3b65368b175d2cd59447d9737ec3d31ac995802 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH2/EX2.1.A/additional_ex_1.sce | d651ffab2877615bb3bfc47c35f12d6f0831cf9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | additional_ex_1.sce |
clear;
clc;
//a) periodicity os 5sin(6t-pi/4)
t=0:0.001:1;
w=6;
theta=%pi/4;
T=2*%pi/w;
x=cos(t*w+theta);
y=cos((t+T)*w+theta);
if ceil(x)==ceil(y) then
disp(' a) cos(6t+pi/4) is periodic with T=2*pi/6 (sec) ')
else
disp('nonperiodic')
end
//b) periodicity of e^(j3t)
... |
97da03791e7c3e7c315723b20c248f0e8a81e555 | 717ddeb7e700373742c617a95e25a2376565112c | /854/CH13/EX13.2/Example13_2.sce | ae945a38488df0f948059cde0e3e079bfcbc862e | [] | 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 | 1,107 | sce | Example13_2.sce | //clear//
//Caption:Program to find the maxima and minma electric field
//Example13.2
//page443
clc;
er1 = 4;
ur1 = 1;
er2 = 9;
ur2 = 1;
[uo,eo] = muo_epsilon();//free space permittivity and permeability
u1 = uo*ur1; //permeability of medium 1
u2 = uo*ur2; //permeability of medium 2
e1 = eo*er1; //permitti... |
ded89157a21a20e5adf26a253545c747feb306e4 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Phsparadata.sci | 3c8018e38e04b6381dffc1db84d7f69de56bfcd5 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 100 | sci | Phsparadata.sci | // 08.08.22
// 09.10.27
function Out=Phsparadata(Fdata)
Out=Facesdata(Fdata,'para')
endfunction
|
74c12c9b785c83b1268499b2f28e481342985169 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/RC98DEQ/ATWM1_Working_Memory_MEG_RC98DEQ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 22db1916d973cfde70186020806cc1bc07244f60 | [] | 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,597 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#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... |
5d00d7a74c293069f635909f0039a6ef3ad5383d | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH1/EX1.3/example_3.sce | 7edee4da4a1f4954ca7e7ba39fb85692bc695fb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,044 | sce | example_3.sce | clc
clear
printf("example 1.3 page number 20\n\n")
//to find the average weight, weight composition, gas volume in absence of SO2
y_CO2 = 0.25;
y_CO = 0.002;
y_SO2 = 0.012;
y_N2 = 0.680;
y_O2 = 0.056;
Mm = y_CO2*44+y_CO*28+y_SO2*64+y_N2*28+y_O2*32;
printf ("\n molar mass = %d \n",Mm)
printf("\n finding ... |
e8062454a12329c8578e4e737305663824838aba | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/scriptcall.tst | 0e10117c8068b1a4218e16c1d9c4a4ea4788e6d9 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 99 | tst | scriptcall.tst | ## Test nested script calls
print Before
script argtest.tst flapdoodle
script i18n.tst
print After
|
617dbe4a20085df5e36b7bb14c44325d0e0b198d | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/oct_interp.sci | d4fc6e65d1b43334552d2951ff1629c519c13946 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,303 | sci | oct_interp.sci | //.............................................................................................................
// ................................Using "callOctave" method..............................
//.............................................................................................................
//... |
e3cfbb1b658dfdc6c60d9b0878f908744797e681 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH2/EX2.13/Ex2_13.sce | 7cad5b3b7890a7b035bd13c7a6646ec5a3f8dcfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | Ex2_13.sce | //Ex:2.13
clc;
clear;
close;
r1=4.7;//in ohms
r2=47;//in ohms
r3=12;//in ohms
r4=27;//in ohms
r5=r3+r4;
r_parel=((1/r5)+(1/r2))^-1;
r_eff=r_parel+r1;
printf("Effective resistance = %d ohms",r_eff);
|
828012732a5644e3747be8be5c40f7fbf03f3ca0 | a796f9f09bd8872fe6d662534a53c48c571bcb5e | /VideoReader/SimplePlay.sce | 06013d416938a71da66eff54e25a6813a4271668 | [] | no_license | alchemist95/Scilab-Computer-Vision-TestCases | 75c7ed05b94e2d42cee5a82390f2ef55d9c358cc | 1f1d18823d73a88d04982986b5ce796f51813b8f | refs/heads/master | 2021-01-17T05:30:39.304591 | 2016-06-27T07:04:30 | 2016-06-27T07:04:30 | 62,030,673 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | SimplePlay.sce | a = VideoReader('bird.avi');
while hasFrame()
frame = readFrame();
imshow(frame);
end
close();
|
34a6495ed059505f1e6aa62dfd0c77b27b700f50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH12/EX12.13/Ex12_13.sce | c8d7bae0f4ea68708ea74bf0077c5ec106a768d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 778 | sce | Ex12_13.sce | //chapter12
//example12.13
//page250
R1=50 // kilo ohm
R2=10 // kilo ohm
Re=1 // kilo ohm
Vcc=12 // V
Vbe1=0.1 // V
Vbe2=0.3 // V
V2=Vcc*R2/(R1+R2) // voltage across R2
// for Vbe=0.1 V
Ic1=(V2-Vbe1)/Re
// for Vbe=0.3 V
Ic2=(V2-Vbe2)/Re
printf("for V_BE=0.1 V, collector current = %.3f mA \n",Ic1... |
3064de3ef918c3d3fd219806fd55658a62417b80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH6/EX6.6/6_6.sce | 3f92b9860921f26e188c9314f1a304831bc0fd48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_6.sce | //Example 6.6
//Least Square Method
//Page no. 221
clc;close;clear;
x=[2,3,4,5];
y=[27.8,62.1,110,161];
printf('\t 2\t 4\t\t 2\nx\tx\tx\ty\tyx\n----------------------------------------\n')
x1=0;x2=0;
for i=1:4
printf(' %g\t%g\t%g\t%g\t%g\n',x(i),x(i)^2,x(i)^4,y(i),y(i)*x(i)^2)
x1=x1+x(i)^4;
x2... |
8b5fd055fe54879a7401f953f285d8bbc04eafcc | 53bdf5ec3d505c23a6dbff1555c838c03e7ce670 | /Assignment 2/q3.sce | 5a438d70cccd2373334021fb0ee16846a10a269e | [] | no_license | dishvyas/AI | 6e7fb662a04b99d5fca4380f97ac94eb5b18debe | a0903084fe210faee4b571b4cade5e5d410ad504 | refs/heads/master | 2020-05-22T00:50:06.362841 | 2019-05-12T20:29:20 | 2019-05-12T20:29:20 | 186,180,759 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | q3.sce | no = round(rand()*50);
guessed = %f;
for i=1:10
if(guessed == %f) then
k=input("Enter your guess : ")
end
Ans(i)=k;
if guessed == %f then
if k==no then
disp("correct Guess !!!");
guessed=%t;
elseif k-no<=-10 then
disp("Very low");
elseif k-no>10 then
disp("Very High");
elseif k-no<0 then
disp("Low");
... |
9266ad64847229f066affa25a3966a93b695fa56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH2/EX2.8/ex2_8.sce | e6eabc950a1fe53bfaaeaac93f13fd9488ffb175 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | ex2_8.sce | // Exa 2.8
format('v',6)
clc;
clear;
close;
// Given data
V_T= 25*10^-3;// in V
// I = Io*( (%e^(V/V_T))-1 );
I = 1;// in mA
I = I * 10^-3;// in A
V = 0.15;// in V
Io = I/( (%e^((1/V_T)*V))-1 );// in A
Io = Io * 10^6;// in µA
disp(Io,"The reverse saturation current at room temperature in µA is");
// Io do... |
8212cc4486b0ad7c811fc9758e2569d964ca37a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH19/EX19.9/example9.sce | 620b672d9fa1d0a76068cc7e137740a8423d1e9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | example9.sce | // find closed-loop bandwidth
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 19-9, page 723
clear; clc; close;
// Given data
// LF411A
AvolB=1000-1;// given
f2ol=160;// open-loop bandwidth in hertz
// Calculations
f2cl=(1+AvolB)*f... |
d9e512e30faffec097e49cef5a8ec4a8a2e3b273 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.1/ch7_ex_1.sce | 1c326044fcf5cf2a7edde96b31612efc79a2ce3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | ch7_ex_1.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 1
disp("CHAPTER 7");
disp("EXAMPLE 1");
//VARIABLE INITIALIZATION
I_0=10; //no load current in Amperes
pf=0.25; //power factor
v1=400; //in Volts
f=50; //in Hertz
//SOLUTION
/... |
ec4cdd3af1f53fa90feab56e223ff36cec7508c6 | a5935ffd4c3e88a093772c6425f2ca451f4fea86 | /DENNISTSP/tsp/data/3000_2.tst | 8dac37940e60ec5f845bf160dbbe8e5a11346a85 | [
"MIT"
] | permissive | Sebelino/Avalgprojekt | 1d4453deac2b3929e52671f2bb7fdb4e902ce187 | 18609887211e7e886910faaa7bbebe686c2c1aeb | refs/heads/master | 2021-01-01T17:17:17.009999 | 2013-12-06T18:23:55 | 2013-12-06T18:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 74,364 | tst | 3000_2.tst | 3000
241119.5995 631720.1729
-595888.4191 892285.8964
-391794.8049 -564962.9475
-23098.6834 888107.5054
229159.4278 -669708.6890
-917532.3316 -359704.0019
649284.5753 870493.1969
-693077.4150 28208.7517
847425.0990 -270733.1939
371652.8381 -143765.4285
898210.6664 -46690.6727
311844.7053 998000.4857
-342398.8056 -68511... |
1c6dfa435cde14b057df2968a12224e6a769a9ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH2/EX2.15/2_15.sce | bc7142b4ec6aab73bd535edb67567ae1e84727a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | 2_15.sce | //Example 2_15
//Find the convolution of two sequences
clc
n=-8:1:8;
for i=1:length(n)
x(i)=exp(-n(i)^2);
h(i)=3.*n(i)^2;
end
y=convol(x,h);
figure
plot2d3(n,h);
title('Impulse responce');
figure
plot2d3(n,x);
title('Input signal');
figure
n1=-16:1:16
plot2d3(n1,y);
title('Output signal');
|
b2da38e757a538e2e317d22f194aeebcc4f14ee2 | 4c5c456d13f598f32e94ddceef03d91e7551164b | /Teste4-Integrais/integrais.sci | 694dd8f291e99b565d4a1616d30a43860aa9912c | [] | no_license | joaopaulocastilho/CalculoNumerico | 1ebf4d252a29e7f56d3c53187b058d0ca80d86ee | 285d9e7aec7a794e9065ecdf714ff28e91cb98b0 | refs/heads/master | 2021-01-12T12:15:22.885270 | 2017-02-14T00:50:46 | 2017-02-14T00:50:46 | 72,391,179 | 0 | 1 | null | 2017-02-14T00:50:47 | 2016-10-31T02:30:54 | Scilab | ISO-8859-1 | Scilab | false | false | 1,732 | sci | integrais.sci | function [y] = f(x);
y = x ^ 2; //inserir aqui a função
//1/(1+x); //x * %e ^ (x/2); //log(1 + x) / log(%e); //x^2; //%e ^ x ^ 2;
endfunction;
function y = trapezio(x0, x1, n)
h = (x1 - x0) / n;
soma = f(x0) + f(x1);
for k = 1 : n - 1
soma = soma + 2 * f(x0 + k * h);
end;
y = (h / 2) * soma;
en... |
e55df23e443a088e8d53cb4a9a843ce87088046b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH13/EX13.8/13_8.sce | 9d4fd4b24532d9ef81b90b7491fef5a0ef39022f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,737 | sce | 13_8.sce | clear
clc
//Example 13.8
disp('Example 13.8')
s = %s;
num = 4;
den = (5*s+1);
delay=1;
w = 0.001:0.002:10*%pi;
LF = "loglog" // Warning: Change this as necessary
Gv=2;Gm=0.25;
Ku=4.25;Pu=2*%pi/1.69;
//Ziegler Nichols
Kc1=0.6*Ku;taui1=Pu/2;tauD1=Pu/8;
//Tyreus Luyben
Kc2=0.45*Ku;taui2=Pu*2.2;tauD2=Pu/6.3;
mprintf... |
4ee27af09bdc42dd1d1d3cadd95193dda97dd9d7 | 5fa35d077fae86be5fabe363900a7008362095f8 | /taylorwin.sci | c24dc560e13ed53216027a3937502cd32cafc365 | [] | no_license | panda314/scilab_toolbox | b250c7f1a2a10fa132eb956677b09aa59515dc60 | 3bce371075f73dbea75ea051f769872d03911fd2 | refs/heads/master | 2021-01-13T01:51:13.306854 | 2016-03-01T18:21:19 | 2016-03-01T18:21:19 | 42,867,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,821 | sci | taylorwin.sci | //Author: Parthasarathi Panda
//parthasarathipanda314@gmail.com
//the function is for application on vectors only
function w=taylorwin(n,nbar,sll)
[nargout,nargin]=argn();
if nargin==1 then
nbar=4;
sll=-30;
elseif nargin==2
sll=-30;
end
if type(n)~=1 | type(nbar)~=1 | type(sl... |
90cbc11c4fd49af90f4e0ea050d8ad9f5a30ce8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.15/Ex_1_15.sce | ea0990eb34f367d366c44486091902567745d71b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | sce | Ex_1_15.sce | //Example 1_15
clc;
clear;close;
//Given data:
Irms=40;//A
f=50;//Hz
period1=170;//degree
period2=100;//degree
period3=40;//degree
//part (a)
alfa1=%pi-period1*%pi/180;//degree
Irms_by_Im=sqrt(1/2/%pi*((%pi-alfa1)/2+sin(2*alfa1)/4));
Im=Irms/Irms_by_Im;//A
Iav1=Im/2/%pi*(1+cos(alfa1));//A
disp(Iav1,"(a... |
30c51732b9716aa585437185c38f3c47093622aa | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/residued.sci | cbcbebc92c97a15d379a22f361051d3d93b78962 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,995 | sci | residued.sci | // 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_... |
438b231fae5cde7fb2eb6f7317a179926363a5ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH4/EX4.8/ch4_8.sce | 807690b249892f88c7d25e30acf0962d0ac24003 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | ch4_8.sce | clc
clear
E_s=16;
R_s=128;
P=.5;
y=poly([P -E_s R_s],'i','coeff');
a=roots(y);
printf('trigger current=%.1f mA',a(1)*1000);
printf('\ntrigger voltage=%.0f V',P/a(1));
|
ea12d089572571cfa3163cc73268e60e55d31866 | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /hard/tests/tooFewParameters.tst | fdb70251c81ea2b2a151f130f1a1f4d43fceb925 | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | tst | tooFewParameters.tst | int sum(int x, int y) begin
return x + y;
end
main begin
int s;
int x;
x = 1;
s = sum(x);
return s;
end
|
bc7a97987c5e8d1d141f4213f27bf6db5842c43c | 1bf004dac4edd2c2a117fa1b7c43ccc9e61bf6e6 | /pca.sce | dc85b7898286e3e83f842fd6a698292d9bead0fc | [] | no_license | TakeyukiHarayama/Advanced_Course_In_Cmputational_Algorithms_report3 | 8ae58f0926ff7c05fc959be41819b3bce9ec20c9 | 54146f8a469fee184a12b2bdef6b972c13dcb482 | refs/heads/master | 2020-11-29T21:54:49.803291 | 2019-12-26T08:22:08 | 2019-12-26T08:22:08 | 230,224,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | pca.sce | clear
figure(1);
clf;
function [l_v] = detp(l_A)
n = size(l_A, 1)
l_v = rand(n,1);
for k = 1:20
w = l_A * l_v;
l_v = w / norm(w);
end
endfunction
A = [167, 67;158,56;153,48;174,68;171,62;157,49;177,79;163,56;164,58;172,70];
plot2d(A(:,1), A(:,2), -1);
m1 = mean(A(:,1));
m2 = mean(A(:... |
adc9eba878097c89cd5006805c9b860215476daf | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/20_2_data.sci | 62d25eed75e60bcafbae45f3052e42f0c271e7b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sci | 20_2_data.sci | //bore ratio
br=1.2;
//compression ratio
cr=16;
//Speed of engine(in rpm)
s=1500;
//exhaust pressure(in Pascal)
ep=(1.05)*(10^5);
//Inlet Air temperature(in degree)
atemp=37;
//Fuel flow rate(in kg/h)
ffr=3;
//Air assumed(in kg/h)
a=130;
//Diameter (in m)
d=0.1;
//Fuel to air ratio
far=0.045;
//Ambien... |
cf9eaf65ec050ff01ab7599c54d805a08720a328 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH5/EX5.17/Ex5_17.sce | ea4410796de73462faf61a60c30c592cffd2f1a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,273 | sce | Ex5_17.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 5 : INDUCTION MACHINES
// EXAMPLE : 5.17
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
printf("\n EXAMPLE : 5.17 : \n\n Given Data No-load test : 440... |
028700675e67f69844a6b4c040171690c02352a0 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /PDE/scilab/heat_1d_euler_exp.sce | 7b70beb0355a0f258b7ea84202a0b7736211f707 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,102 | sce | heat_1d_euler_exp.sce | function [u,x,t] = heat_1d_euler_exp(a,xf,T,initialTemp,bx0,bxf,Nx,Nt)
// solve 1d heat equation using explicit Euler method
//
// a u_xx = u_t
//
// for: 0<=x<=xf, 0<=t<=T
//
// Initial condition: u(x,0) = it0(x)
//
// Boundary condition: u(0,t) = bx0(t), u(xf,t) = bxf(t)
//
// Nx = no. of subintervals along x-axis... |
5da8206d69192eec691df300c9186c4eca25eb7d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH1/EX1.19/Example1_19.sce | cef5924b6ff421389bf4fae17ce615d01b8bf537 | [] | 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 | 253 | sce | Example1_19.sce | errcatch(-1,"stop");mode(2);//Example 1.19
//To find input x(n)
//h(n)=[1 2 1], y(n)=[1 5 10 11 8 4 1]
;
;
;
z=%z;
a=z^6+5*(z^(5))+10*(z^(4))+11*(z^(3))+8*(z^(2))+4*(z^(1))+1;
b=z^6+2*z^(5)+1*z^(4);
x =ldiv(a,b,5);
disp (x,"x(n)=");
exit();
|
f0b4cc9f33f0e54b0ac5bf16802ae2262808bc0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH4/EX4.6/Ex4_6.sce | da0304e0c1f3100cd2a05939ad869edb28bb9b70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 922 | sce | Ex4_6.sce | //Chapter-4, Illustration 6, Page 137
//Title: Gears and Gear Drivers
//=============================================================================
clc
clear
//INPUT DATA
r=16;//Speed ratio
mA=4;//Module of gear A in mm
mB=mA;//Module of gear B in mm
mC=2.5;//Mosule of gear C in mm
mD=mC;//Module of gear ... |
ab8c1c987326cf1f222cda59605274a4abbb8398 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3813/CH1/EX1.6/Ex1_6.sce | 0a943a42b96e6bc6046380fc69cb891133367b64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ex1_6.sce | //Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill
//Edition:Second
//Ex1_6
clc;
clear;
V=250;// voltage in V
I=40;//Current in A
R1=2.725;// Resistance in ohm
R2=3.5;// Resistance in ohm
Rf=0.15;// Resistance in ohm
N=480;//Speed in rpm
V1=V-I*(R1+Rf);
Ir=(V1/R2);... |
87c6eec41f682300414e4839c95cf94e362e6ddf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH2/EX2.13/Ex2_13.sce | 4300f4f70f866485b0182f3f3385092a9f48461e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,559 | sce | Ex2_13.sce | // Example 2_13
clc;funcprot(0);
//Given data
m=[1 2 3 4 5 6 7 8 9 10 11 12];// Month
D=[500 200 1500 2500 3000 2400 2000 1500 1500 1000 800 600];// Discharge in millions of m^3 per month
H=80;// Available head in m
n_o=80/100;// Overall efficiency of the generation
g=9.81;// The acceleration due to gravity in ... |
b68245d2c31b1b8b67e4eb823b54e6ea316c7a0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH3/EX3.1/Ex3_1.sce | 2a081ccf3cd8747c048c79cebb43b277097304b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_1.sce | // Exa 3.1
clc;
clear all;
// Given data
Rm= 100; // Internal resistance in Ohm's
Im= 1; // Full scale deflecfion current in milliAmpere
I= 100; // Total current in milli Ampere
// Solution
Rsh= (Im*Rm)/(I-Im); // Shunt resistance
printf('The value of shunt resistance = %.2f Ohm \n', Rsh);
|
43ecb3b0997305de49f1ec6b40ca67526a906b0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH4/EX4.5/ex5.sce | cf7d0db813d4b6ee817d56aa47c1cc169e1da94b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | sce | ex5.sce | //CHAPTER 4_ Motion and Dimensional Measurement
//Caption : Piezoelectric transducer
// Example 5// Page 207
g=15 //('enter the value constant g for the crystal=:')
A=%pi*((5*10^-3)^2)/4 //('enter the area of cross section of the crystal=:')
f=50 //('enter the frequency of sinusoidally varying pressure=:')
e... |
c06a08d5e0c00645d3cb7483ce9494fb1b48f1f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.41/ex2_41.sce | d6cb30b591b0b1c64259eef3c13e140ed5df8b74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | ex2_41.sce | //chapter 2
//Etheta=n0Im/2pir*cos(pi/2 cos(theta)/sin(theta))
printf("\n");
Pin=100;
n=0.5;
r=500;
Prad=n*Pin;
printf("the radiated power is %gW",Prad);
Rrad=73;//for half wave dipole
Im=sqrt((2*Prad)/Rrad);
n0=120*(%pi);
Etheta=(cos((%pi/2)*cos(%pi/3))/sin(%pi/3))*n0*(Im/(2*(%pi)*r));
printf("\nthe electr... |
7b2695ac5e043693a559dc4cc64d5987765ed1d9 | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-5/strassen_algorithm.sci | 37ac88eb1d6354df345b3e8c7b7a0a593539fb90 | [] | no_license | shilpasunil/AP-laboratory | 4a67e510a05e5ce48f200ee73183627a12a19d55 | 87d55510d6f3c4a80ce1779e9b39430ee20e69b2 | refs/heads/main | 2023-02-09T16:13:34.048845 | 2021-01-07T04:43:35 | 2021-01-07T04:43:35 | 327,504,813 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,121 | sci | strassen_algorithm.sci | function[cmp]=strassen_algorithm(A,B,C,n)
if n == 1 then
cmp=1;
return;
else
n = n/2;
a11 = zeros(n,n);
a12 = zeros(n,n);
a21 = zeros(n,n);
a22 = zeros(n,n);
b11 = zeros(n,n);
b12 = zeros(n,n);
b21 = zeros(n,n);
... |
00f365c1a6f59d0bae6f359293bc9daea6c45209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH3/EX3.34/ex_3_34.sce | b4f9a0858dc4cfa56d802140c835563379531e44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | ex_3_34.sce | // Example 3.34: size of unit cell
clc;
clear;
close;
n=1;//
a=1;//assume
h=0.58;//wavelnegth in armstrong
th=9.5;//reflection angle in degree
a1=[2;0;0];//miller indices
d200=a/(sqrt(a1(1,1)^2+a1(2,1)^2+a1(3,1)^2));//interplanar distance between (200)planes
a=((n*h)/(2*d200*sind(th)));//zsize of unit cell
disp(a,"size... |
7e34e1cdf81a6bb21d9206e1a7acbe95cb12a116 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3517/CH1/EX1.5/Ex1_5.sce | 4269d0841063fbff3ccba49350ab0bed0ac4a5cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Ex1_5.sce | //Caption:Determine (a)Minimum upper cut frequency (b)Minimum pulse width and duty cycle
//Ex1.5
clc;
clear;
close;
prf=1.5//in Khz
dc=3//Duty cycle(in %)
pa=1.5//Amplitude of pulse(in Khz)
fu=1//High frequency limit(in Mhz)
tr=10//Rise time(in %)
pw=(dc/100)*10^3/pa
Tr=(tr/100)*pw
fh=0.35*10^6/Tr
disp(fh,... |
ec0d82f1b8ffdb1a806110f8b402b7cb9c2deb53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.17/17.sce | 7f5bc583d3918bbef047fea3ce83c67115d38d5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,294 | sce | 17.sce | clc
h1=3460; //kJ/kg
h2=3460; //kJ/kg
h3=3111.5; //kJ/kg
h4=3585; //kJ/kg
h5=3207; //kJ/kg
h6=2466; //kJ/kg
h7=137.8; //kJ/kg
h8=962; //kJ/kg
h9=670.4; //kJ/kg
h10=962; //kJ/kg
p1=100; //bar
p2=95; //bar
p3=25; //bar
p4=22; //bar
p5=6; //bar
p6=0.05; //bar
n_mech=0.9;
n_gen=0.96;
n_boiler=0.9;
... |
6b79d1c82f48def010953be39a1bcdac2e0002c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH7/EX7.7/Ex7_7.sce | b7a162508d3aa3bd68d13baca56d0c8b40c5e2c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sce | Ex7_7.sce | // Chapter7
// Page.No-241
// Example7_4
// Sketch the output waveform
// Given
clc;
clear;
Vi=5; //in V
Vsat=13; //in V
R2=2000; //in Ohm
R1=20000; //in Ohm
Vupper=Vsat*R2/R1;
Vlower=-Vsat*R2/R1;
printf("\n Vupperthreshold %.1f V",Vupper);
printf("\n Vlowerthreshold ... |
3d0f5528dfcab22b1c544f060dde3bef2330f764 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /ch24.org/2011/Pre-round, 2011.02.12/R/text08.tst | a3fee0324844cf9566e52b7ed45e9391eb0a5849 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99,505 | tst | text08.tst | 9209
-0.00406531
-0.0109912
-0.00239048
-0.020896
-0.0141777
-0.0202562
-0.010688
-0.0205654
-0.0157367
-0.0131494
-0.00981462
-0.00788005
0.00635805
0.00411251
0.0138479
0.00341629
0.00204339
0.00110197
-0.00260221
0.00161945
0.0155493
0.0165488
0.0132429
0.000622339
0.00167477
0.00991311
0.0157071
0.0421734
0.0480901... |
d48ba5d23ac20f63038a726fe1d91ebd9022c660 | 397456b742a46d88c251aa168bfe794903987f93 | /Yin-Yang-Pair Optimization Algorithm/standard/scilab/yin-yang-pair-o.sce | 097863b2f3f35fc3b3af50d5275054b7913b493f | [] | no_license | JonesCG/PROJECT-NIOA | b5dcc7820d818369a4115fbb34b0f7ba02d7a129 | 7e6a3aa9a5deda6aa4eec9f4d523556844593c8b | refs/heads/master | 2022-08-16T14:06:54.967718 | 2020-05-18T08:17:47 | 2020-05-18T08:17:47 | 264,872,793 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,995 | sce | yin-yang-pair-o.sce |
clear
clc
exec('objective.sce');
disp("RUNNING...")
rand('seed',getdate('s'))
//POPSIZE = 2
DIM = 2
UPPER = 100
LOWER = -100
MAXITER = 50
ARCHMIN = 2
ARCHMAX = 4
//ARCHLIMIT = grand(1,1,"uin",ARCHMIN,ARCHMAX)
ARCHLIMIT = floor(rand()*(ARCHMAX+1-ARCHMIN))+ARCHMIN
ARCHLIMIT = 5
ALPHA = 10
DELTA(1:2) = 0.5
P = rand(... |
c1bd8da7342e5c23a1cd2b640d0a911c973025ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH7/EX7.3/Exa7_3.sce | 412e947d698aedd34e3460a9350a673d3b95feba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa7_3.sce | //Exa 7.3
clc;
clear;
close;
//Given data
meu_r=1000;//relative permeability
n=5;//turns/cm
n=n*10^2;//turns/meter
i=0.5;//in Ampere
Volume=10^-4;//in m^3
I=(meu_r-1)*n*i;//in Ampere
MagneticMoment=I*Volume;//in Ameter^2
disp(round(MagneticMoment),"Magnetic moment of the rod in Ampere-meter^2 : "); |
0852eaeaaf2caed4840623d0c91703f6a742c7df | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_zoomout.sci | 3d9d3a9da7cb40874e5e89d08691838dfcb11957 | [
"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 | 220 | sci | do_zoomout.sci | function wdm=do_zoomout(scs_m)
// Copyright INRIA
wpar=scs_m(1);wdm=wpar(1)
if size(wdm,'*')<6 then wdm(3)=0;wdm(4)=0;wdm(5)=wdm(1);wdm(6)=wdm(2);end
wdm(5)=wdm(5)/.9;wdm(6)=wdm(6)/.9;
//dd=wdm(3:6)/.9;
//wdm(3:6)=dd;
|
27ca05ae6139e27011e3133aa7a9b0d9abf86c04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.44/ch1_ex_44.sce | dd1019bb53a18dbd66e3dd9faaa0b5b6399c60d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | ch1_ex_44.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 44
disp("CHAPTER 1");
disp("EXAMPLE 44");
//VARIABLE INITIALIZATION
I=40; //in Amperes
r=5; //in Ohms
//SOLUTION
v=I*r;
disp(sprintf("The voltage required is %d V",v));
//END
|
e4090f6cf4989823d29a5dddfed5c25fc764fe1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH2/EX2.9/2_9.sce | 427383d237e44ba1b7ce04c34f72160eb3c89575 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,666 | sce | 2_9.sce | clear;
clc;
// Illustration 2.9
// Page: 123
printf('Illustration 2.9 - Page: 123\n\n');
// solution
//*****Data*****//
// a-water b-air
dp1 = 10^-3; // [diameter of spherical drop of water, m]
Tair = 323; // [K]
P = 101.3; // [kPa]
Twater = 293; // [K]
R = 8.314; // [cubic m.Pa/mole.K]
M_a = 18;... |
ce2735fbfda1e9ecb1582c78a265134cfff67c06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH2/EX2.11/2_11.sce | 1f3430e0be827771d88451de407fa7d784155583 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | 2_11.sce | //Chapter 2, Problem 11
clc
Vswr=1.07 //voltage standing wave ratio
Z0=50 //characteristic impedance in ohm
//calculation of power reflected in percent
ref=(Vswr-1)/(Vswr+1)
Pref=(ref^2*100)
printf("Reflected power = %.1f percentage of power incident",Pref)
|
06ab60d4a1e0c4087587e5dc11b95587f3881035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH7/EX7.12/7_12.sce | 7c49f7299a8f4841ec271a86940ea786fc565c10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | 7_12.sce | clc();
clear;
// To calculate the intrinsic carrier density and conductivity
m=9.109*10^-31;
k=1.38*10^-23;
T=300;
e=1.6*10^-19;
h=6.626*10^-34;
Eg=0.7;
mew_e=0.4; //electron mobility
mew_h=0.2; //hole mobility
C=2*(2*%pi*m*k/((h^2)))^(3/2);
X=2*k*T/e;
ni=C*(T^(3/2))*exp(-Eg/X);
sigma=ni*e*(mew_e+m... |
e5ad979a11cb6d1badafb9f38b8070ebf5dd76cb | dabaa151dd30205dd92a6844c0cd61cf046fb8fe | /DecoderBit3/DecoderBit3.tst | 731268392c7ebef3ce58344c6f05d3d8bc6dff00 | [] | no_license | hakesh729/Project_hack | 627ef8260f81dbc971bb5371839523daac4a2646 | a1ea76fa612bbe4515863495922167bb4c65c418 | refs/heads/main | 2023-01-13T13:37:09.828021 | 2020-11-27T06:05:39 | 2020-11-27T06:05:39 | 316,411,714 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 999 | tst | DecoderBit3.tst | /*DecoderBit3.tst : Tests DecoderBit3 chip in DecoderBit3.hdl with all possible inputs(8) and activate one of output lines */
load DecoderBit3.hdl,
output-file DecoderBit3.out,
compare-to DecoderBit3.cmp,
output-list x2%B3.1.3
x1%B3.1.3
x0%B3.1.3
y0%B3.1.3
y1%B3.1.3
... |
215423ffeed2dd56e1597da6b18e7c1536086a3e | 23573b967e8324d44226379d70559b8f0ea34905 | /code/fminsearch/Brownsfunc.sci | e64a650573394cb0ae5c3a5999d2eafc8e90a3d4 | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,910 | sci | Brownsfunc.sci | // This is an example for unconstraint nonlinear problems.
//Ref:J. J. More, B. S. Garbow, and K. E. Hillstrom, Testing unconstrained optimization software, ACM Transactions on Mathematical Software, Vol. 7, No. 1, pp. 17–41, 1981.
//Example:
//f(x1,x2) = (x1 - 10^6)^2 + (x2 - 2*10^-6)^2 + (x1*x2 - 2)^2;
//============... |
005ad7a5aa3db3428f5e2ca02bab57e2692bde19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH8/EX8.4/8_4.sce | 5b348ec9283cfbfe71c1fc374002eae53bb53de1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 8_4.sce | clc();
clear;
// To calculate the total surface area of cone
r=3; //radius in m
h=4; //height in m
SA=%pi*r*sqrt((r^2)+(h^2));
TSA=SA+(%pi*r^2);
printf("total surface area of cone is %f m^2",TSA);
//answer given in the book is wrong
|
cf83c0c5af85eef4f97c5dc913602974261165c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH5/EX5.2/ex_5_2.sce | 49ed478de56e8abf65b10baa43c96768f3c66e50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_5_2.sce | //Example 5.2: Coulomb sensitivity
clc;
clear;
close;
//given data :
C=1.5*10^-6;// in F
V=15;// in V
d1=20;// in cm
Q=C*V;
Sb=(d1/Q)*10^-5;
disp(Sb,"Coulomb sensitivity,Sb(mm/micro-C)")
|
b6fd6efd0e6e78e531761031c7b4d498f1ee88f1 | a45f93853fdb67523e71e3e7fb88c4298eae1ef7 | /Screens/Join Game Lobby.tst | cdb8c2276bb24be42647870e0806e395bdfde835 | [] | no_license | voarsh/Disney-Treasure-Planet-Battle-at-Procyon | 68192cbfdf8b823bc8399e3ea1e62d4976b74aed | 99cbbc70701ef6e8f9d95eba1052635de992910f | refs/heads/master | 2020-04-16T01:44:03.761947 | 2016-06-08T10:25:05 | 2016-06-08T10:25:05 | 38,745,932 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,655 | tst | Join Game Lobby.tst | ScreenName String 'Join Game Lobby'
ImplName String 'NULL SCREEN'
ElementChunkArray Int 12
ScreenElementType Int 0
ImplName String 'Game Lobby Backdrop'
TabIndex Int 1
Selectable Bool False
Enabled Bool True
ReferenceArea Rect( 0, 0, 800, 600 ) # left,top,right,bottom
ScreenElementType Int 1
ImplName String 'Open Ship... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.