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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
26cce0609c45ac0430c937cf16eb8e25eb599b29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH1/EX1.25/Ch01Ex25.sce | 3411f22c1d16c877fe9b4c6209095d52e2c44914 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,153 | sce | Ch01Ex25.sce | // Scilab Code Ex 1.25 Page-35 (2006)
clc; clear;
a_Cu = 3.61; // Lattice constant of Cu, angstrom
a_Pd = 3.89; // Lattice constant of Pd, angstrom
// For x = 20% of Pd
x = 0.20; // Percentage of Pd in Cu-Pd alloy
a_Cu_Pd = ((1-x)*a_Cu + x*a_Pd);
printf("\nFor %2d percent of Pd in Cu-Pd alloy, a = %4.2f angstr... |
af2df1eeb4c3bfccbda343dbdc61e66ef0b65153 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH4/EX4.16/Ex_4_16.sce | e81df5fca4c0ebb1eb201510a188fab478e6348e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Ex_4_16.sce | // Exa 4.16
clc;
clear;
close;
// Given data
I=1;// in mA
I=I*10^-3;// in A
i_C=1;// in mA
i_C=i_C*10^-3;// in A
V_CC= 5;// in V
V_CM= -2;// in V
V_BE= 0.7;// in V
R_C= 3;// in kΩ
R_C= R_C*10^3;// in Ω
Alpha=1;
Bita=100;
V_B= 1;// in V
i_C1= Alpha*I;// in A
i_C2=0;
v_E= V_B-V_BE;// in V
disp(v_E,"... |
c99870740bd691d880f4c1e5158b842d2184a8ae | b5a6d0e4c3d84d1a446434b60e55627f017991d7 | /convertidor_IEEE.sce | acb0e2d1d789e736af307bf34b1b6ab1f43c7155 | [] | 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 | 563 | sce | convertidor_IEEE.sce | function R= CONVERTORBI(x)
x = round(x)
signo = 0
exponente = 0
mantisa = 0
//Hallar signo
if x< 0
signo = 1
else
signo = 0
end
//Hallar exponente
xbinario = dec2bin(x)
str=string(xbinario)
tamaño= length(str)
precision=tamaño+126
... |
10a130412393f5e088dbe9c9a9d0eac135d9f8a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH8/EX8.14.1/Ex8_14_1.sce | 8e30fb5c12f89ab1ca14f9ab920b6e9328c76bbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex8_14_1.sce | clear
clc
E3=0.54;//in V
E4=0.45;//in V
n3=4;//
n4=1;//
n1=5;//
E1=((-n3*(E3))-(n4*(E4)))/(-n1);// in V
printf('E1=%.2f V',E1)
n2=6;//
n5=1;//
E5=1.07;//in V
E2=((-n3*(E3))-(n4*(E4))-(n5*E5))/(-n2);// in V
printf('\nE2=%.2f V',E2)
//page 468
|
77115bd8f727321d6346afe26831bec3af7b3ccb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH5/EX5.17/Ch05Ex17.sce | 2495c390d95c20a12ef18a3120bcf4bdeaaeede0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,748 | sce | Ch05Ex17.sce | // Scilab code Ex5.17: Pg 168-169 (2008)
clc; clear;
R_in = 200; // Internal resistance of meter, kilo-ohms
V = 10; // Supply voltage, volts
R_1 = 10; // Resistance, kilo-ohms
R_2 = 47; ... |
2b8e460d49aa606fcd866c14651d453a80d75db7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH16/EX16.13/16_13.sce | b104a3162884968c75ccfedf9ad87b110c4abacf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | 16_13.sce | pathname=get_absolute_file_path('16_13.sce')
filename=pathname+filesep()+'16_13data.sci'
exec(filename)
dw=d- 2*tf;
Ixx=2*(((b*tf^3)/12)+ b*tf*((dw+tf)/2)^2) + (tw*dw^3)/12;
Iyy=(2*tf*b^3)/12 + (dw*dw^3)/12;
printf("\n Ixx= %f mm^4",Ixx);
printf("\n Iyy= %f mm^4",Iyy) |
77071ee5464cd599d69814d36f19e97878c51335 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos_blocks/DLRADAPT_f.sci | 7a6abcc582dc71801ef06463d6d7595d9c4bba95 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,920 | sci | DLRADAPT_f.sci | function [x,y,typ]=DLRADAPT_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
graphics=arg1... |
9437e0d9f3d924455224e7a8fe5c999b14ca466c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/poly2rc/poly2rc3.sce | b36d27013a7cc3a26dbc00588b74e488c96484d1 | [] | 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 | 335 | sce | poly2rc3.sce | //check o/p for i/p vector containing imaginary values
a = [2.3 %i 0.6149 0.9899 0.340000 0.0031 -0.0082];
k = poly2rc(a);
disp(k);
//output
//// - 0.2181381 - 0.4123737i
// 0.2668596 + 0.2678285i
// 0.4411879 + 0.0669325i
// 0.1494550 + 0.0005854i
// 0.0013478 - 0.0015501i
// - 0.0035652 ... |
a6839aa8f301799050a28ddcc65060f78217169e | fc5f1b90d24aeee218dc9186a13da29b38f42e78 | /tests/parser_3.tst | 55e7d601ae90359c105caaed3d6e5e3561bd16fd | [] | no_license | breckinloggins/cbnf | e742c1fe07f374b32185cc4bfd7ec0cf28d5fefc | a6507ea4f5f7710a2591d3a1936d2bbf241eee1c | refs/heads/master | 2021-01-22T19:36:04.952416 | 2011-07-08T23:56:45 | 2011-07-08T23:56:45 | 2,020,610 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | tst | parser_3.tst | grammar OPTIONS;
rule1: no "options" ;
rule2: this+ that* theother? ;
rule3: "one"? two "three"<,> ; // HACK: Have to put spaces between symbols because the scanner sucks
|
d54537b40b86c7bdf925e96b93326cb7c0545307 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH10/EX10.20/10_20.sce | 2d6ba7e95b742ad7072256dfe5d61eb8af00aa66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | 10_20.sce | //Chapter 10, Problem 20, figure 10.35
clc;
//resistance of coil
R1=400;
R2=400;
R3=5000;
//value of capacitance
C=7.5e-6;
//calculating the value of inductance
L=R1*R2*C;
//calculating the value unknown resistance
r=(R1*R2)/R3;
printf("Inductance = %f H\n\n\n",L);
printf("Resistance = %d ohm",r);
|
fd3141a50462196f0ea24bba40a35746fbf90e7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH1/EX1.1/Example1_1.sce | d81e81492e53973349f95015f27ced62788454a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Example1_1.sce | clear;
clc;
// Illustration 1.1
// Page: 17
printf('Illustration 1.1 - Page: 17\n\n');
// solution
// Taking conversion factor from table 1.5 (Pg 15)
// viscosity: [(lb/ft.h)]*4.134*10^(-4) [kg/m.s] (Pg 15)
// time: [h] = 3600 [s]
// Density: [lb/cubic feet]*16.09 = [kg/cubic m] (Pg 15)
// Length: [ft... |
bebb5fccde912debed45d6b38ba90ae68f3450e7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/auto/freson.sci | a9918c7028d8eff5041a130d360c20cf426d95ce | [
"MIT",
"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 | 895 | sci | freson.sci | function [fr,g]=freson(h,selec)
[lhs,rhs]=argn(0)
[n,d]=h(2:3);
if type(n)=1 then n=poly(n,varn(d),'c'),end
d0=coeff(d,0)
if d0=0 then
error('infinite gain at zero frequency'),
end;
ar0=abs(coeff(n,0)/d0)^2
//look for omega such that derivative of magn. is zero
niw=horner(n,%i*poly(0,'w'));
diw=horner(d,%i*poly(0,'... |
89fe26757ce1e034e1d6aaaefbb9feb552f19378 | 7e1e4a48669269c24f7f72b2fd417244582adada | /testData/4-10-3-IRIS/100-50/tt.tst | 472b7aeacca6db15e32fbfd0a610cda17d487914 | [] | no_license | leonfg/epiphanyANN | c57f9bbaba7a6a735c67155176fae7c001611036 | 3655952491b5bc7ee63f902135c7d967ac6433c4 | refs/heads/master | 2016-09-14T22:47:59.263536 | 2016-04-05T12:00:37 | 2016-04-05T12:00:37 | 55,205,571 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,127 | tst | tt.tst | networkTopology(3;4,10,3)
inputOutputVector(5.900000,3.200000,4.800000,1.800000;0,1,0)
inputOutputVector(4.300000,3.000000,1.100000,0.100000;1,0,0)
inputOutputVector(5.200000,3.400000,1.400000,0.200000;1,0,0)
inputOutputVector(5.800000,4.000000,1.200000,0.200000;1,0,0)
inputOutputVector(6.000000,2.900000,4.500000,... |
4f4303e00e6eee8486d74b55fb1c99f4e17b79a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.27/example1_27.sce | fbce12b009dc8cfa30db375f0535881d63b8a0da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | example1_27.sce | clc
// Given That
lambda1 = 6.1e-7 // max. wavelength of light in meter
lambda2 = 6e-7 // min. wavelength of light in meter
Mu = 4 / 3 // refractive index of film
i = asin(4 / 5) // incidence angle in radian
// Sample Problem 27 on page no. 1.49
printf("\n # PROBLEM 27 # \n")
r = asin(sin(i) / Mu) // calculation for... |
c169edaaf524fea45a190359c9311a3495efe7e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH12/EX12.5/sadiku_12_5.sce | 9d487e2a11e11badc96d575611bae0ba263d33f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sadiku_12_5.sce | clear;
clc;
f=10*10^9,a=4*10^-2,b=2*10^-2,u=3*10^8,Pavg=2*10^-3;
fc=u/(2*a);
n=377/sqrt(1-(fc/f)^2);
E=sqrt(4*n*Pavg/(a*b));
disp(E,'Peak value of Electric field = '); |
ef76a38ee9ac3ab5a4c1c7dc1afa859f00b65a04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH1/EX1.21/Ex1_21.sce | 51cd592df8e8569cf1af3515802dfae269192d67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Ex1_21.sce | clc
//to calculate work to be done
E=0.5*10^6 //rest energy of electron (MeV) E=m0*c^2
v1=0.6*3*10^8 //speed of electron in (m/s)
v2=0.8*3*10^8
c=3*10^8 //speed of light in (m/s)
K1=E*((1/sqrt(1-v1^2/c^2))-1) //kinetic energy in (eV)
K2=E*((1/sqrt(1-v2^2/c^2))-1)
w=(K2-K1)*1.6*10^-19
disp("amount of work to b... |
ec9cfd2b5ad1f0e7f276973ea6064f677a14dc61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH7/EX7.2/ex7_2.sce | aa4e8c61a7c0232d374655b03982728536f2486d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | ex7_2.sce | clc;
close
clear;
s=%s;
tf=syslin('c',((s+3)/((s+2)^2*(s+1))));
ss=tf2ss(tf);
disp(ss) |
3f756e90ab1d0a18e9550a501e74791038fbcca0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH8/EX8.9/Ex8_9.sce | dcc543ae3d6ea257e49353e5a90cbead42d095f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_9.sce | clc();
clear;
//Given :
Na = 6.023*10^23 ; // Avogadro constant in atoms/mole
LE = 200 ; // liberated energy in MeV
mm = 235; // molar mass of U 235 in gm/mole
// 1 eV = 1.6*10^-19 J , 1 MeV = 1.0*10^6 eV
RE = (Na*LE*1.6*10^-19*10^6)/mm ; //released energy in J
// 1 cal = 4.187 J
EC = RE/4.187 ; // energy in... |
db7b3a2bbb139472d0f0a048d4117e4acb134385 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH10/EX10.8/Ex10_8.sce | 6c49ca1995a018d8e5e24ddc8e74c9f2a72f0937 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Ex10_8.sce | //Example number 10.8, Page number 226
clc;clear;
close;
//Variable declaration
e=1.6*10**-19; //charge(c)
h=6.626*10**-36; //plank constant
V=8.5*10**-6; //voltage(V)
//Calculation
new=2*e*V/h; //frequency(Hz)
//Result
printf("frequency is %.3e Hz",new)
|
bc5a431b25d78d6bb1a74d68fdc755078e778610 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.08/1_08.sce | 191ec21b14d0c100427ca296353d6c229ac77f1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | 1_08.sce | //pathname=get_absolute_file_path('1.08.sce')
//filename=pathname+filesep()+'1.08-data.sci'
//exec(filename)
//Diameter of cylinder(in m):
dia=15*10^-2
//Manometer difference in Hg column(in m):
h=12*10^-2
//Density of mercury(in kg/m^3):
d=13.6*10^3
//Acceleration due to gravity(in m/s^2):
g=9.81
//Weight o... |
9b5fa8f62087b48f455b4ab5fef742d0d08e32f3 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/LR4.prev.tst | 5ab15da2cf75b560c1fd73976b5ab8d21537242a | [
"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 | 505 | tst | LR4.prev.tst | before x, phead=0, pbody=1, ptail= - 476*y - 448*y^2 - 112, mlead= + x^2, flead=4, root2=2, widev=4
after x, phead=15*x^2, pbody=1, ptail= - 476*y - 448*y^2 - 127, vmapt={x=>1+2*x,y=>y}
before y, phead=15360*x^2, pbody=68, ptail= - 130048, mlead= + 16*y^2, flead=16384, root2=128, widev=1024
after y, phead=15360*... |
66374b1672b00cd7afff4ed2a3e1764a71de8651 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/StdRegions/Tests/StdProject_Diff3D_Tet_Mod_P6_Q7.tst | a5c64b906e226c1aca1d8a1538b4f965ff5c4191 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 529 | tst | StdProject_Diff3D_Tet_Mod_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>StdProject_Diff3D Tetrahedron Modified basis P=6 Q=7</description>
<executable>StdProject</executable>
<parameters>-s tetrahedron -b Modified_A Modified_B Modified_C -o 6 6 6 -p 7 7 7 -d</parameters>
<metrics>
<metric type="L2" id="1">
... |
27c1866b4b19ed6dea88c536520a647adf1aab7c | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/math/equa_diff/ode1.sce | d6c6346f4fc54b00b141e2df4ba0626679ad37ff | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 444 | sce | ode1.sce | // Résolution numérique d'une équation différentielle
// y' + b y = c
// on cherche la solution y(x)
// méthode utilisée : la fonction ode de Scilab
// plus d'info en tapant help ode dans Scilab
// S. Celles
// 09/02/2007
clear
b = 1; // MODIFIABLE
c = 1; // MODIFIABLE
// on réécrit l'équa diff sous la forme
// y' =... |
18dcc68be3f525bfb9e7b8ee1b6bcd3e43ebb247 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH12/EX12.27/Ex12_27.sce | a127d3cb6c97044dffbcec8a66082ff74d5242cc | [] | 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 | 274 | sce | Ex12_27.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
w0=0 //rad/s
w=209 //rad/s
t=20 //s
//Calculations
theta=0.5*(w+w0)*t //rad
theta_rev=round(theta/(2*%pi)) //revolutions rounding off
//Result
printf('The flywheel makes %i revolutions',theta_rev)
exit();
|
a4b6082d0402ed8a567e683158dc10d69ec32feb | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH14/EX14.2/ex14_2.sce | 77ca1801840ebbb1f7b948cd0098901b912aed9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | ex14_2.sce | //Example 14.2
clc;
//Given values of applied potential in V
Va=2;
Vb=1;
Vc=3;
//Given resistence values in ohm
Ra=3000;
Rb=3000;
Rc=3000;
Rf=1000;
//Output of the given summer
Vo=-Rf*(Va/Ra+Vb/Rb+Vc/Rc);
printf('\nOutput Voltage of the op-amp is %.2f ohm\n',Vo) |
ac978006186426800eae45dd627c4ca264952856 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH4/EX4.1/Ex4_1.sce | bc9539cc032366c03a99c82e023c0f802d54d0db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | Ex4_1.sce | clear
//
//
//
//Variable declaration
c=3*10**8 //velocity of light(m/sec)
lamda=6943*10**-10 //wavelength(m)
h=6.626*10**-34 //planck's constant(Jsec)
Kb=1.38*10**-23 //boltzmann constant
T=300 //temperature(K)
//Calculation
new=c/lamda //frequency(Hz)
a=... |
2ed48c2ec465aaf7a0115836ffb24135b225a196 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH7/EX7.9/ex7_9.sce | 89475659a35d32caba72bfe671e318580e13c22a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | ex7_9.sce | //Find the output signal voltage of the amplifier
clear;
clc;
//soltion
//given
Rd=12*10^3;//ohm
Rg=1*10^6;//ohm
Rs=1*10^3;//ohm
Cs=25*10^-6;//F
u=80; //amplification factor
rd=200*10^3;//ohm
Vi=0.1;//V
f=1*10^3;//Hz //input frequency
Xcs=1/(2*%pi*f*Cs);
//This is much smaller than Rs therefor... |
caa1d9b6042dba99aa010f245fac7de59551485a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.10/1_10.sce | 6777a1cc20664d31bf15e7872276f7dcc87e8878 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_10.sce | clc
clear
//Input data
T3=1500;//Upper temperature limit of a otto cycle in K
T1=300;//Lower temperature limit in K
a=0.4;//Rate of flow of air through the cycle in kg/min
Cv=0.718;//
//Calculations
T2=(T1*T3)^(1/2);//Temperature at point 2 in K
T4=T2;//Temperature at point 4 in K
W=Cv*((T3-T2)-(T4-T1));//W... |
ff52e7559a3372c21d16a8f0d184855eea707bd0 | 0e52518c6fe37e683dc04d785f174ce30408f8e7 | /otimizacao/rosembrock.sci | e540c9ba2de2f88244bed59103e5b1d8899b8978 | [] | no_license | thiago-franco/metodos-numericos | c3a7a10d00376c9b238825e9ff049635cc153a92 | 95ed4e0b1e05b10c7d0ef9cbc23f9c98d2cf8a65 | refs/heads/master | 2021-07-06T00:19:31.512668 | 2017-09-30T01:25:29 | 2017-09-30T01:25:29 | 104,950,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,839 | sci | rosembrock.sci | clear
clc
//function y = f(x)
//y = (x(1)-2)^4 + (x(1)-2*x(2))^2;
// y = -12*x(2) + 4 *x(1)^2 +4*x(2)^2 - 4*x(1)*x(2);
//y = (1-x(1))^2 + 5*(x(2)-x(1)^2)^2
//endfunction
function linha = derivada1(x,yj,dj)
h = 1e-5;
linha = (func_teta(x + h,yj,dj)- func_teta(x - h,yj,dj))/ (2*h);
end... |
a5cdcb752cad2b6b66bf521814004d84d97887da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.27/ex_1_27.sce | 611965388c66aa6de47b96204a19a35343f3ad11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | ex_1_27.sce | //Example 1.27 // maximum time constant
clc;
clear;
close;
//given data :
f1=90;//cycles per seconds
f=120; // frequency response in cylcle per second
w=2*%pi*f; // rad/sec
I=0.96
a=(1/I)^2;
b=sqrt(a)
t=(b-1)/w;
tl=atan(2*(%pi)*f1*t);//
tla=(1/(2*%pi*f1))*tl;// time lag in seconds
disp(t,"maximum time con... |
57a3ec58b30c043057d4551d9309c9995029ab65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH2/EX2.10/10.sce | 04b1756beb91db0ea59f3c58a412fccb5efe6672 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,512 | sce | 10.sce | clc
clear
//Input data
Po=1000 //Stagnation pressure in kPa
To=800 //Stagnation temperature in K
k=1.4 //Adiabatic Constant
M2=2 //Exit mach number
At=20 //Throat area in cm^2
R=287 //Specific gas constant in J/kg-K
//Calculation
t1=0.834 //Ratio of critical temperature to Stagnation temperature from is... |
db72b20d04b789766a8972ca9a0fddba05983bf8 | 4af7d26a4959553d9a2cee1a78878ee960599382 | /test_cases/test17.tst | 19ac4d6c62e4eb55775f9dd82016df85a66db4db | [] | no_license | CJ8664/chord_protocol | f61168ceea224e47785e56a3263eda89da7dc3df | 30b57463cfd190e9dd5f057629b69ffbb6edb7b2 | refs/heads/master | 2020-04-11T06:07:46.875416 | 2018-11-02T03:06:34 | 2018-11-02T03:06:34 | 161,571,340 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | tst | test17.tst | # Just adding and joining nodes and explicit stab fix cycles
# Now all predecessor, successor and finger table are valid
# Now drop all nodes
add 0
add 1
add 2
add 3
join 1 0
join 2 0
join 3 0
list
show 0
show 1
show 2
show 3
# First cycle of stab fix
stab 0
stab 1
stab 2
stab 3
fix 0
fix 1
fix 2
fix 3
# Second cycl... |
b1fe730aa15d77a4d9cf8147cd3c49ab2294bbc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH8/EX8.21/8_21.sce | 47994474b1515dc8991fc75dd06b95eb831b1716 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,462 | sce | 8_21.sce | clear;
clc;
printf("\t\t\tExample Number 8.21\n\n\n");
// influence of convection on solar equilibrium temperature
// Example 8.21 (page no.-455)
// solution
T_surr = 25+273;// [K] surrounding temperature
sigma = 5.669*10^(-8);// [W/square meter K^(4)]
h = 10;// [W/square meter] heat transfer coefficient
/... |
ce41a88daadb17151e8b12175dc50b88db5c49f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH3/EX3.27.b/Example3_27_b.sce | 4008964e1ff039aa483c64482be852a36317fc0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | Example3_27_b.sce | //Example 3.27 (b)
//Program to Compute the Convolution of the following Sequences
//x1[n]=[1,1,-1,-1,0]
//x2[n]=[1,0,-1,0,1]
clear;
clc ;
close ;
x1=[1,1,-1,-1,0];
x2=[1,0,-1,0,1];
//Convolution Computation
X1=fft (x1,-1);
X2=fft (x2,-1);
Y=X1.*X2;
y= fft (Y,1);
//Display Sequence y[n] in command window
... |
aeb94303373ba99030e592182989bc86347b2a40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH2/EX2.13/213.sce | 935f042a4875e4f7ad6780add00a358c5c5db3f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | 213.sce | // problem 2.13
s=2
w=340
v=0.5*s*s*s
z=9810
w1=z*4
gb=s/4-s/8
i=s*s*s*s/(12)
v=4
bm=i/v
gm=bm+gb
p=w/(w1*gm)
theta=atand(p)
disp(theta*60,"angle through which cube will tilt in minutes")
|
68122ea7676d5a2707cca5961636fd0ad7441bcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH1/EX1.20/Ex1_20.sce | ac1652b77cca610be19f083f91317ee5d764508a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | Ex1_20.sce | clc
//
//
//
//Variable declaration
mu=1.33 //refractive index
n1=0
n2=1
n3=2
t=5*10**-7 //thickness
//Calculations
lambda1=(4*mu*t*10**10)/(2*n1+1)
lambda2=(4*mu*t*10**10)/(2*n2+1)
lambda3=(4*mu*t*10**10)/(2*n3+1)
//Result
printf("\n For n=0 Lambda is %0.3f ",lambda1)
printf("\n For n=1 Lambda is %i ",lambda2)
... |
6fd239c2a25bee12d9e8c449bafabdafd37b81a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH9/EX9.8.b/ex9_8_2.sce | 17aff3aaaf198c1a51ac47277eacf0d8efb2de64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | ex9_8_2.sce | // from the nyquist plot
N=0; // one clockwise and one anticlockwise encirclement
P=0; // given
Z=N-P
printf("Since Z=0 no root of the characterisic equation lies in the right half hence the system is stable") |
915971cfd514caf85966192fd9d8245b2c97aa43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH16/EX16.5/Example16_5.sce | df4b066cc30ef84863b8ce3ff8b0f185756cdf80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,063 | sce | Example16_5.sce | //Example 16.5.
//let input wave be V_in=V_p_in*sin(2*%pi*f*t)
f=1; //Frequency is 1Hz
T=1/f;
V_p_in=10; //Peak input voltage
V_th=0.7; //knee voltage of diode
clf();
//let n be double the number of cycles of output shown in graph
for n=0:1:1
t=T.*n/2:0.0005:T.*(n+1)/2 //time for each half cyc... |
c961c9d35388cad58fc2899666b9b8d18da9c051 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH4/EX4.15/4_15.sce | b8f4d29a2020838e567f790f54a630fa72e4942d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 810 | sce | 4_15.sce | clc,clear
printf('Example 4.15\n\n')
P=30*1000/3 //power per phase
V_ph=400/sqrt(3) //phase voltage
R=(V_ph)^2/P //resistance of strip
t=0.025*10^-2 //thickness of strip
S=1.03*10^-6 //specific resistance of nichrome alloy
l_by_w = R*t/S //because R=specific_resistance*l/(w*t) ... |
9a429c0d10428c672042f91a7ffe9ac6043d94a6 | 351fe6e47b1edc4fa8b9333340ba914299fa1b64 | /rd7/as/release.tst | 1ec5004f872b90879c7f73f352deb25bdb765173 | [
"MIT"
] | permissive | ssavitzky/Silvermine-Resources | 80ebba26f94a746da700e99320d06f7c629f7611 | 703375ba302929ad94ebe8326e0afecd6c06d633 | refs/heads/master | 2020-03-19T13:08:45.067855 | 2018-06-08T04:17:05 | 2018-06-08T04:17:05 | 136,563,434 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 25 | tst | release.tst | Mon Dec 05 22:22:36 1988
|
d3c14af93a01cde0473ebbdb3cc5be16504a1b7d | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /surf.sce | 68e0eb88d8295fcea186a53f00b621f9a33007c1 | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | surf.sce | //Program to plot 3D graph using surf
subplot(2,2,1)
z = rand(10,10);
surf(z)
title('surf')
subplot(2,2,2)
surf(z,'facecol','red','edgecol','blu')
title('surf function with face and edge color')
subplot(2,2,3)
surf(z,'facecol','interp')
title('surf function interpolated')
subplot(2,2,4)
x=rand(10,10);... |
6c86526cd083d63d608c6874ee6ecec7d7f325d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH36/EX36.2/36_2.sce | b6f3d6c7bf1563b142815bff323c05c4364dc5dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | 36_2.sce | clear//
//Variables
R1 = 1.0 * 10**3 //Resistance (in ohm)
Rf = 51.0 * 10**3 //Resistance (in ohm)
Cf = 0.01 * 10**-6 //Capacitance (in Farad)
//Calculation
f = 1.0/(2*%pi*Rf*Cf) //Frequency (in Hertz)
fmin = 10* f //Minimum frequency re... |
10185d827283841f4620ac74b2958d166a6b6847 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/macrocab_gnd.sce | ae91239c67cff2104d5f78cbd5c905776b70de4c | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 153 | sce | macrocab_gnd.sce | style.fontSize=12;
style.displayedLabel="<table> <tr> <td align=center>GND</td> </tr> </table>";
pal11 = xcosPalAddBlock(pal11,"macrocab_gnd",[],style);
|
d23425f66bcd1fb506f61e878496bedc9c1f2ddf | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Property/PIL_Z2_cal.sci | fbe34b81f48eb6d0f424afd52e87f6916ebcf09a | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 10,918 | sci | PIL_Z2_cal.sci | // **** Purpose ****
// This code calculates the Z2 invariant of a 2D plane of a 3D object
// For 2D object, just input appropriate parameters.
// This code can calculate both Z2 or Floquet Z2
// **** Variables ****
// [lat],[hop],[scc],[flq]: structues
// <= the output of lat, hop, scc, flq in PiLab
// if Z2, let ... |
b23034f852721037d7ff8580a8ecc014378177d6 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/sparse.tst | e764f5ac373e8835db1e84f475bf7b2b953b2db2 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 93,745 | tst | sparse.tst | ## !!! DO NOT EDIT !!!
## THIS IS AN AUTOMATICALLY GENERATED FILE
## modify build-sparse-tests.sh to generate the tests you need.
##
## test_sparse
##
## run preset sparse tests. All should pass.
function [passes, tests] = test_sparse
disp ("writing test output to sptest.log");
test ("sparse.tst", "normal", "sp... |
f308dce4461ca1f89c55694c8edb18ad6fd2da86 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/vdd_o.sce | 946a75bacb85ec5ac5ab8a9adb634596fe0cd5ed | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 141 | sce | vdd_o.sce | style.fontSize=12;
style.displayedLabel="VDD";
pal4 = xcosPalAddBlock(pal4,"vdd_o",[],style);
pal8 = xcosPalAddBlock(pal8,"vdd_o",[],style);
|
baf5fc16980ae116be4d2cb0503c134f2fcbd269 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH14/EX14.1.a/ex_14_1_a.sce | e0184a12a84609567a482eab93550c9db98e69c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | ex_14_1_a.sce | //example 14.1.a//
clc
//clears the screen//
clear
//clears all existing variables//
r=16*1024;
//given rom capacity//
row=sqrt(r)
disp(row,' no of registers in each row = ') |
56fe254f403330e70a954989c14624d51fa67f2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH17/EX17.4/EX17_4.sce | d8953a372102624253a57fd6721ff96128f34f85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,458 | sce | EX17_4.sce | clc;funcprot(0);//EXAMPLE 17.4
// Initialisation of Variables
rho1=0.95;...........//Density of polyethylene in g/cm^3
rho2=2.4;...........//Density of clay in g/cm^3
f1=0.65;...............//Volume fraction of Polyethylene
f2=0.35;...............//Volume fraction of Clay
f3=1.67;.............//Volume fraction ... |
de10cb3a71b25a059ff3dc32d273e0d1ea0167fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH6/EX6.3/ch6ex4.sce | fcd5a74cb9e50c6dfd780868ec8415a84fd2bb52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | ch6ex4.sce | n=0:10;
for n=0:10
//if(n%2==0)
// a_n=0;
//else
if (n==4*n-3)
a_n=2/(%pi.*n);
else if (n==4*n-1)
a_n=-2/(%pi.*n);
end end end
b_n=zeros(1,length(n));
size(n)
size(a_n)
size(b_n)
disp(b_n(1))
C_n=sqrt(a_n.^2+... |
9a838db5abb5fef96f5b33cdd055d413ae42b2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH10/EX10.13/ch10ex13.sce | e90eab3dd19fd1dfb9b00b07db68987a8a418952 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | ch10ex13.sce | //LTi Systems characterized by Linear Constant
//Inverse Z Transform
//z = %z;
syms n z;
H1 = (-2*z)/(z-(1/3));
H2 = (3*z)/(z-0.5);
H3 = (24*z)/(z-1);
F1 = H1*z^(n-1)*(z-(1/3));
F2 = H2*z^(n-1)*(z-0.5);
F3 = H3*z^(n-1)*(z-1);
h1 = limit(F1,z,(1/3));
disp(h1,'h1[n]=')
h2 = limit(F2,z,0.5);
disp(h2,'h2[n]=')... |
be84e1a20442a398b54e6b655f6045eaa879ecce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.22/Ex9_15_22.sce | 3689f6cff2f0266a072f4ec3227271a761f4b6ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | Ex9_15_22.sce | //Section-9,Example-1,Page no.-E.47
//To calculate the time required to deposit 2 gm copper from the solution of copper sulphate
clc;
Q=(96500/32)*2 //charge deposited by 2 gm copper.
I=5
t=Q/I //time in seconds
disp(t,'Time required for deposition')
|
847052a9d08751e5ae52d7fa426f939faa6433a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH9/EX9.5/example_5.sce | e525db72dfc8b52f5a9db872eafc89449301708b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | example_5.sce | clc
clear
printf("example 9.5 page number 392\n\n")
printf("this is a theoretical question, book shall be referred for solution")
|
954b5e36e9583ea7178f09ef968f1f6845cb53d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH6/EX6.10/Exa6_10.sce | bfc579213e47201331d6f4c30de59b38dd5c3106 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sce | Exa6_10.sce | // Exa 6.10
clc;
clear;
close;
// given data
fc=2;//in KHz
disp("As the type of the filter is not given, here we design a sallen key equal component filter with Butterworth response.");
alfa=1.414;//unitless
Klp=1;//unitless
//assume C=0.01 uF
C=0.01;//in uF
R=Klp/(2*%pi*fc*1000*C*10^-6);//in ohm
AF=3-alfa... |
92dba472d97744db158dbe6b6f5f3f32bdc32473 | f988bf09b360159439560b4d77ab931f4fc44fa3 | /lab1/hw1-de.sce | bffae041a2f2363f026effbe2e92264f38285da2 | [
"MIT"
] | permissive | kamilkoduo/s20-dsp | 04799f65d66cf3d2861821cf579d6a77aa26b71a | 680eae6102417468e88591faa2b89049e5ff4bf1 | refs/heads/master | 2021-01-16T03:35:09.121398 | 2020-04-30T22:43:42 | 2020-04-30T22:43:42 | 242,963,732 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,863 | sce | hw1-de.sce | /*
IVP:
y' = -y + 4x*x + 12*x + 98
Initial condition: y(0) = 1
Interval of interest: [0; 4]
Exact solution:
y = 4x*x+4x+94-93exp(-x)
*/
function ydot=F(x, y)
ydot=-y+4*x^2+12*x+98
endfunction
function y = solve_exact(y0,x)
C = (y0-(4*x(1)^2+4*x(1)+94))*exp(x(1))
y = 4*x^2... |
b2ba78a6a0a8a5f0692c3634d3030c6beddf2014 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH2/EX2.6/SSA_Ex_2_6.sce | 4b3a2a3d0f950a80a6aeac4cfde048444688629b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sce | SSA_Ex_2_6.sce | clc
//Chapter 2:Small Signal Amplifiers
//example 2.6 page no 36
//given
RL=50//load resistance
gm=0.2//tranceconductance
B=100//current gain
rpi=B/gm//transistor input resistance
disp(rpi,'the transistor input resistance is ')
disp('The load resistance seen bythe first stage will be the 2k ohm resistor in par... |
92abc2f05b54ee789d2988dec806b82c2053b3d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH6/EX6.8/6_8.sce | 3ceb16a501ff0c0b23d29f72c643ce72ea582c17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | 6_8.sce | clc
//initialisations
e=4*10^-3//erg
p=1*13.6*981
//calculations
kt=2*e/3//erg
n=p/kt
//results
printf(' number of molecules = % 1f',kt)
|
58d1192558c58b17362188900ed3a4b7a83b9364 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.5/Ex12_5.sce | e2520ebf470eeb8000130c379b3cd6b2dc1fd501 | [] | 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 | 203 | sce | Ex12_5.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 1.11
//X=A + 2B
A=[1 0 0;0 1 0;0 0 1];
B=[1 1 1;1 1 1;1 1 1];
X=A+2*B
disp(X,'X = A + 2B')
|
ba64ef7a01e7f1903b7a454756695789a80fd639 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/elem/speye.sci | 87284ed256563f43575744f54cfbc0035af44bc1 | [
"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 | 156 | sci | speye.sci | function [sp]=speye(m,n)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then [m,n]=size(m),end
mn=mini(m,n)
sp=sparse([(1:mn)' (1:mn)'],ones(mn,1),[m,n])
|
f7c94b11ed00b083e3b67a2cd08a7f3e26f204c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH23/EX23.7/Ex23_7.sce | cf3dec1b30be790f751f42f737cfe7023311d8aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Ex23_7.sce | //Variable declaration:
ADL1 = 2 //Average daily load (MW)
R = 25/100 //Reduction in electrical load (%)
//Calculation:
L = 1-R //New load fraction
ADL2 = ADL1*L //New average daily load (MW)
AR = ADL1-ADL2 //Average... |
fb7c8b1cffcd8d06c472ac22edfde8bf8fe03e55 | 3a85e8e0ce4c98f27bb1a46a6b84b3d0f7f13851 | /test2.tst | b0ea599f515cba58e6f8194cd72ab24ccf88cbbb | [] | no_license | farjana-asrafi/FirstRepo | 5f779d99625cda72d3279648c84eaf99038e36ea | 032eb59c201de04c6651bb153613056ad8d03634 | refs/heads/master | 2022-12-10T21:42:31.896292 | 2020-09-14T02:55:36 | 2020-09-14T02:55:36 | 295,287,086 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22 | tst | test2.tst | I create another file
|
ec6a66f56b05604a5dc96958152cca136b6def8b | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/GF38CPK/ATWM1_Working_Memory_MEG_GF38CPK_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | fc0fa5b3a2ad434559bbc67f165b95c70e93022e | [] | 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 | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_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_monit... |
85123d9824a480e885457f264a93e006dedb79cc | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0064.tst | bdee872ad643ddd48a9617702130dd5b2dcdf3f1 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 217 | tst | 0064.tst | sPlITtER obuxI {}
fiLteR YBdYQ { }
FILtER a {NOt Lo Not MX }
j -> YS
gRouPer V {AGGREgate JBFX }
UngRoupeR y { }
GRouPfiltEr aA {NOT ::
/5 Not iN ::fF:226.34.255.7 oR NOt 9 < 4e6 }
mERgEr GO { ExPORt K } |
d4d4b7274ba07710bc2372f7e868abf24ac31d28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.78/Ex1_78.sce | 2790b26cbc537fe5c502bd5c4126bb82b6c6a82d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 722 | sce | Ex1_78.sce | clc;
P=100000; // rated VA of transformer
n=0.98; // maximum possible efficiency
l=80000; // rated KVA of load
vrm=0.04; // maximum possible voltage regulation is equal to ze2 in p u
pf=0.8; // power factor at which efficiency anf voltage regulation has to be determined
pl=((1/n)-1)*l; // total losses in transfo... |
da46681ad9550e668331130c0786d44d8193ba96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH6/EX6.5/ch6_5.sce | 3e06f2dcaace1339d428cab743ff25bfb03f8aa7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | ch6_5.sce | //To determine the corona characterstics
clear
clc;
D=1.036;// conductor diameter(cm)
d=2.44;//delta spacing(m)
r=D/2;//radius(cm)
Ratio=d*100/r;
j=r/(d*100);
Rat2=sqrt(j);
t=26.67;//temperature
b=73.15;// barometric pressure
mv=.72;
V=63.5;
f=50;//frequency
do=3.92*b/(273+t);//do=dell
vd=21.1*.85*do*r*l... |
7e7e2f7b3ced6998fee5834dc03890d632df0d4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.8/example8_sce.sce | 78baf37d8972f7460fb2e7949feb93e866d5a1ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | example8_sce.sce | //chapter 19
//example 19.8
//page 832
printf("\n")
printf("given")
f=50;hib=2;Rl=50;
Ce=1/(2*3.14*f*hib)
Co=1/(2*3.14*50*.1*Rl) |
2f78427631093193b37ce64ea3587f1815eaf641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH4/EX4.7/exp4_7c.sce | 59164ed53f02607fc940183e39a721a5285dc662 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,764 | sce | exp4_7c.sce | clc
clear
disp('example 4 7')
pl1=20;pf1=0.8;t1=2000//load in MVA //power factor //duration
pl2=10;pf2=0.8;t2=1000//load in MVA //power factor //duration
pl3=2;pf3=0.8;t3=500//load in MVA //power factor //duration
pt=20 ///transformar power rating
fte=0.985;ste=0.99 ///full load efficiency for first and second t... |
592f3ed0a36e7fb2fecc0efb776aa9b43c40166f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_export.sci | 31edf2660ad5e01e062a7893c636aa305ba24585 | [
"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 | 1,968 | sci | do_export.sci | function do_export(scs_m,fname)
[lhs,rhs]=argn(0)
driv='Pos';num=1
dr=driver()
wpar=scs_m(1)(1)
winc=xget('window');
if rhs==1 then
num=x_choose(['Postscript file';..
'Graphics window'],'How do you want to export?')
if num==0 then return;end
if num<>2 then fname= xgetfile('*');end
end
// remove blanks and apostroph... |
bc9cae2260a0e8f6e942fe797025b9cfaf0dc75d | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH26/EX26.2/26_2.sce | dd56f99ff2e57d28d0240209e6fe99f7afcf164e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | 26_2.sce | //clc()
disp("f(x,y) = 4*exp(0.8*x) - 0.5*y")
//f'(x,y) = 4*exp(0.8*x) - 0.5*y
h = 1;
x=0:h:4;
y(1) = 2;
x1 = -1;
y1 = -0.3929953;
y10 = y1 + (4*exp(0.8*x(1)) - 0.5*y(1))*2;
y11 = y(1) + (4*exp(0.8*x(1)) - 0.5*y(1) + 4*exp(0.8*x(2)) - 0.5*y10)*h/2;
y12 = y(1) + (3 + 4*exp(0.8*x(2)) - 0.5*y11)*h/2;
t = 6.3608... |
bc108f392b8e8de825c779652fb761aa11db0878 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/mdaqAIRead.sci | 059cb6cde277d66262022c1bf08bb39243bf751b | [
"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 | 3,716 | sci | mdaqAIRead.sci | function data = mdaqAIRead(arg1, arg2, arg3, arg4)
data = [];
link_id = -1;
if argn(2) == 3 then
channels = arg1;
aiRange = arg2;
aiMode = arg3;
end
if argn(2) == 4 then
link_id = arg1;
channels = arg2;
aiRange = arg3;
aiMode = arg4;
... |
96885e2777cdb9a341cb24e85b67527a7df4ccdb | c5a5b51d0d9d4bb57cc4508c2ffc453ccf47aeba | /iqcoef2imbal/test_iqcoef2imbal.sce | f5d9b976e54f168d82b268e89ae7419372ce43c5 | [] | no_license | PolaPriyanka/ScilabCommunication | 2adca45f772b2ca6a602e10e4801576eeb0da33d | 5b5c704e591f20be6944800a1b4b25cf06f56592 | refs/heads/master | 2021-01-01T18:22:48.761766 | 2015-12-16T07:26:29 | 2015-12-16T07:26:29 | 42,721,104 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | test_iqcoef2imbal.sce | [a_imb_db,ph_imb_deq] = iqcoef2imbal([4 2 complex(-0.1145,0.1297) complex(-0.0013,0.0029)])
disp(a_imb_db,'amplitude imbalance in dB =')
disp(ph_imb_deq,'phase imbalance in degrees=')
|
60433cab882d7bbc0089860db6aeec7b7a574aab | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH4/EX4.10/Example4_10.sce | 8f9565b26bf5111f250e29c72ccc7bd1e21931f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example4_10.sce | //Caption: Program to compute discrete cosine tranform
//Example4.10
//page 198
clc;
N =4; //DCT matrix of order four
X = dct_mtx(N);
disp(X,'DCT matrix of order four')
//Result
//DCT matrix of order four
//
// 0.5 0.5 0.5 0.5
// 0.6532815 0.2705981 - 0.270598... |
a3d3fbb7606762219be32360c10e046f8bfca0a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.20/Exa2_20.sce | c1298f663379a7870729154a3d332be724d2e957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Exa2_20.sce | //Exa2.20
clc;
clear;
close;
//given data
alpha20=1/254.5;// in ohm/ohm/degree C
t2=60;//degree C
t1=20;//degree C
rho0=1.6*10^-6;
alpha60=1/(1/alpha20+(t2-t1));
disp("Temperature coefficient of resistance at 60 degree C is : "+string(alpha60)+" ohm/ohm/degree C");
//from alpha20=1/(1/alpha0+20)
alpha0=1/(1... |
040a15ec453beed11bd9177831c896f1e91993fb | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.13_7.tst | 40623493d327937adc4f790207c4886e24a6a509 | [] | 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 | 258,194 | tst | 5.13_7.tst | 13 27:1 782:1 1289:1 1415:1 1748:1 1813:1 2169:1 2424:1 2480:1 2502:1 2817:1 3476:1 4006:1 4940:1 6126:40 6245:1 6335:1 7012:1 7059:1 7206:1 7648:1 8568:1 8843:1 9064:1 9280:1 10053:1 10424:1 11522:1 11690:1 11800:1 12082:1 12365:1 12589:1 12603:1 12888:1 13141:1 13331:1 14236:1 14606:1 16575:1 18293:1 19633:1 19705:1 ... |
7c6123e6d682aee034f5213c096e75bada24490b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH2/EX2.3/Ex2_3.sce | 58113497ebdc4bdd442bfd9c3933b990799099ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,232 | sce | Ex2_3.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 2,Example 3")
disp("emf equation")
disp("E=(0.003*t)-((5*10^-7)*t^2))+(0.5*10^-3)")
disp("using emf equation at ice point,E_0 in volts")
t=0;//ice point tempera... |
69697596686d8fed49fc4858b42c2fe8dc12014a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH2/EX2.15/ex2_15.sce | 4360e9bd4142f0d75d92ca8d48f9600d06848e28 | [] | 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 | 198 | sce | ex2_15.sce | errcatch(-1,"stop");mode(2);// Example 2.15, page no-38
h=2
k=2
l=0
a=4.938*10^-10
d=a/sqrt(h^2+k^2+l^2)
printf("\nThe lattice spacing for (220) plane is %.3f*10^-10 m",d*10^10)
exit();
|
947a2888e7dba0fe3b33562bff917f543d5ee1f0 | abd7728083df51a785c94e61999237380b32c4f8 | /examples/Presentation Packs/ERP CORE (Version 0.9)/Active Visual Oddball P3/Scenarios/Active Visual Oddball P3.sce | 33c15804124e6c8aaece66db428712fd08f3ed76 | [] | no_license | LCTO-TLCO/UAVpresentation | 93b0c0e0eb123b550218bbae4e0bb1db8c30cb5e | 83e0f22cfdc2b7172bf0b90a9a14ddf77e6ccf2a | refs/heads/master | 2023-07-25T14:03:39.874916 | 2021-09-07T07:19:38 | 2021-09-07T07:19:38 | 301,918,691 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,944 | sce | Active Visual Oddball P3.sce | # -------------------------- Header Parameters --------------------------
scenario = "Active Visual Oddball P3";
write_codes = EXPARAM( "Send Port Codes" );
screen_width_distance = EXPARAM( "Display Width" );
screen_height_distance = EXPARAM( "Display Height" );
screen_distance = EXPARAM( "Viewing Distance" );
defa... |
943c8b84f8fccc593c9262295ed4a62d9d820671 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH1/EX1.12/1_12.sce | 0fef3bc4adea5844e18aa8a6fb9ca17ca2cbb8ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 944 | sce | 1_12.sce | //ques-1.12
//Calculating amount of lime and soda required for softening hard water
clc
V=2000;//volume of water given (in L)
//Raw water
A=160;//content of Ca cation (in mg/L)
B=72;//content of Mg cation (in mg/L)
C=732;//content of Hydrogen carbonate anion (in mg/L)
D=30;//content of CO2 (in mg/L)
a1=(A/40... |
d3d3411da28e54a8a7977be3d5830e3ed2e99f1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH3/EX3.14/EXP3_14.sce | c3a652dd652a993ce78de5f0fa883ea9e7a0d848 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 687 | sce | EXP3_14.sce | clc;funcprot(0);//EXAMPLE 3.14
// Initialisation of Variables
wL=1.54;........//Wave length of Copper K-alpha in Angstorms
t1=19.5;......//Half the angle between the difracted beam and the original beam direction
t2=39;......// The angle between the difracted beam and the original beam direction
//CALCULATION... |
d80c0255b86acfab551a20682eeadd7ea072eb51 | 8b2aadfe2dd241d882213436738542d3f65f4e17 | /ModuleTonalitéSynthèse/Module Synthèse/Scilab/trompette.sci | f0c2bb2092d0d32b01679f9f32f92669e5664151 | [] | no_license | ahmed-bensaad/FMTM | c764c3162ac6f24f7caa2d0fd99725d4c458efc6 | 66fd7a477e3addb5a0c3a4d7489daa09fb9c5042 | refs/heads/master | 2021-09-02T11:04:05.660173 | 2017-02-06T21:54:09 | 2017-02-06T21:54:09 | 115,977,485 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | sci | trompette.sci | function [s]= trompette(fp,fm,Fe,d,m0) // fp -> hauteur, d-> durée, m0-> amplitude du sinus modulant
Te=1/Fe; // temps echantillonage
x=[0:Te:d]; //axe temps
m=[0:Te:d]; // amplitude constante au cours du temps
n=length(m);
for i=1:n
m(i)= m0;
end
f=[0:Te:d]; // frequ... |
14cb88c9b930457c2c439e097c3662ce9e3a5ec3 | 686c6780efada0e19458c60522827d17366b9cc1 | /Project2/P2Codes/Add4.tst | 11001ce3f1ed5a4b4df252dc85feb621f6f59ffa | [] | no_license | OnlyOneByte/CSCE312-Fall2019 | 98b4f46c643ac7a5bda8dc6a279dbb901ee6c921 | 7bf877ddec8eb3bd9ea32ae1b9b16626c354465c | refs/heads/master | 2020-07-25T14:52:35.308731 | 2020-01-30T02:05:24 | 2020-01-30T02:05:24 | 208,329,625 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | tst | Add4.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/Add16.tst
load Add4.hdl,
output-file Add4.out,
compare-to Add4.cmp,
output-list a%B1.4.1 b%B1.4.1 out%B1.4.1 carry%B3.1.3;
set a %B0000,
set b %B000... |
d78b2f4ee8b6899374eb0ddf6f63cab066126e1a | ff9d40a1c13ce6f1ba57b12f1cc2173d4d512cda | /ControlingAlba.sce | 978b1cab4f404702510321eb3fdc715a56fc4469 | [] | no_license | 000adrenaline000/proyecto_guiado_de_vehiculo_marino_sujeto_a_disturbios | e835ceb07cb31e3152ef6fd095289850f34b9314 | 68ce357caf8aa67ed94c1334f52296d426c52976 | refs/heads/master | 2022-12-01T10:09:55.553555 | 2020-08-21T06:40:24 | 2020-08-21T06:40:24 | 287,846,394 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,083 | sce | ControlingAlba.sce | // load the data
load("albaLTInomoto.sod","sys")
Ap=sys.A;
Bp=sys.B;
Cp=sys.C;
Dp=sys.D;
//checking controllability and observability
[i,j] = size(Ap);
// e=[B, AB, A^2 B,..., A^(n-1) B]
e = cont_mat(sys.A,sys.B);
rankC=rank(e);
if i == rankC then
disp('Continuous System is Controllable');
end
/... |
195b1d519e766bad50f4401fb144273155954500 | 45c7d9d2836acbb24e1448b0e4248091a5f4a361 | /RO04_P2_Exercice_1.sci | 62502cb8df1f80ed636c42f1fd93576d4c416af9 | [] | no_license | JingyiHU/Linear_Programming_Non_Linear_Programming_school_project | 2fd582b0aefb3bee067ac444b32e5f9149615c97 | 971eeb3614268dfc704751b1b48b31d0f9925a69 | refs/heads/master | 2023-03-08T00:42:30.607241 | 2021-02-22T19:09:11 | 2021-02-22T19:09:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,285 | sci | RO04_P2_Exercice_1.sci |
// Exercice 1.1 r -> V(r) *************************************************
r = 0.8:0.03:3;
plot(r, r.^(-12)-2*r.^(-6),'-')
// Exeercice 1.2 **********************************************************
// fonction de calcul de J
function J = lennardjones(x)
N = length(x)/3;
X = matrix(x,3,N);
J = ... |
643cfc1b21245ae26c8a8065dd10f10f592f19ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH2/EX2.16/Ex2_16.sce | 4abeea01c6325fa6f9efe82c09f6e253f883ecd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | Ex2_16.sce | // Exa 2.16
clc;
clear;
// Given data
// A level shifter as shown in fig. 2.31
// Assuming Ideal silicon transistors
Vbe = 0.7; // Volts
// B(current gain) has very large values
Vcc = 15; // Volts
Rc = 10*10^3; // Ω
Re = 5000; // Ω
// Solution
printf(' From fig. 2.31 we get that, transistors Q1 ... |
6e49563fa923fe118011eb89cd2fa4d1a41bf27a | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH14/EX14.19/example14_19pp.sce | 3da9821a8b78dbef134f35c92aac3552f9d6a17a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,288 | sce | example14_19pp.sce | clc
clear
disp('example 14.19')
zaa=3;zbb=9 //impedence given between line
pas=1 //power at two units are equal to 1p.u
par=1
pbs=1.05 //power at sending end is 1.05 and power at receiving end is 1p.u
pbr=1
i=1 //assume current is 1p.u
los=i*complex(zaa/100,zbb/100)
csd=((abs(los)^2)-pas^2-par^2)/(2... |
ad648397af812cd14879c71873bbba67ffc81333 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.4/18_4.sce | 6750126a16a91b68eb7bd28c466725a00b446e9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | 18_4.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.4
//calculation of refractive index of material from known critical angle
//given data
thetac=48.2; //critical angle for water(in degree)
//calculation
//snell's law with respect to total internal reflection
m... |
cfaaee334d59133060aa99b91daca3750618e8f7 | 0c7d100cb0cf4ca584a252d56aef57d8692e87bd | /Automatique/TP2/Exo1-2.sce | 8fe075e5abf715d9381c0072794e73deb7461800 | [] | no_license | MacBootglass/insa | 1957913df94ce0742e19ec400e258fec032a3619 | 612acee69e8195f3202aede45fede79fabf47d01 | refs/heads/master | 2021-01-10T22:36:39.551539 | 2017-04-26T09:23:02 | 2017-04-26T09:23:02 | 54,901,623 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,520 | sce | Exo1-2.sce | //TP3
//Théologien Thibault Groupe 1
//ASI 3.2
//Exercice 1
A = 1;
Km = 10;
Tm = 75 * 10^-3;
kVis = 1.33 * 10^-2;
p = %s;
kCapteur = 2;
t = (0:5E-2:20);
num = A * Km * kVis;
dem = p + Tm * p^2;
HBO = num/dem;
sys1 = syslin('c', HBO);
y1 = csim('step', t, sys1);
//Exercice 2
HBF = (HBO * kCapteur) / (1 + HBO * kCap... |
9a209f53d45d777565297cc1558b84d1d19a426b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH5/EX5.1/1.sce | 568ffbb9f98a76288866af123078bf7156f53350 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | 1.sce | clc
clear
//INPUT DATA
np=1.39 //refractive index of prism
nl=1.29 //refractive index of liquid
a=62 //refracting angle of prism
//calculation
x=np*sind(62/2)/nl//snells law
y=asind(x)
d=(y*2)-a//minimum deviation
//output
printf("the minimum deviation is %3.3f degree",d)
|
fbc0242c31ec327e2d775723c01e36f36c4612f5 | 7d080f5a520b49242d8d5d362be8378358f324b5 | /matmul.sce | 7562e3a3f54c1eff8bbce420a7457a4dc02543d0 | [] | no_license | pradyumnaym/LA_Algos | 1d4cc539b531ffaea88ceb475ca3c4b59318270a | 561df9e8b2d706927c735f2b2e30db9ff1a45ade | refs/heads/master | 2020-12-29T16:50:23.235497 | 2020-02-06T11:41:10 | 2020-02-06T11:41:10 | 238,675,439 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | matmul.sce | n = int(input("Enter n : "));
p = int(input("Enter p : "));
m = int(input("Enter m :"));
A = zeros(n,p);
B = zeros(p,m);
disp("Enter elements of A :\n")
for i=1:n
for j=1:p
A(i,j) = int(input("enter element "+string(i)+","+string(j)+" : "));
end
end
disp("Enter elements of B :\n")
for i=1:p
... |
f6eb228eb515da4931c7e016aede3ac6883203b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH15/EX15.8/15_8.sce | a7b64e5a3a3f4d07c538bf18d4dbed53372ee0b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | 15_8.sce | //To find the frequency of the natural torsional oscillations of the system
clc
//given
l1=11//in
l2=10//in
l3=15//in
l4=4//in
l5=10//in
d1=3//in
d2=5//in
d3=3.5//in
d4=7//in
d5=5//in
I1=1500//lb ft^2
I2=1000//lb ft^2
leq=3//in from 15.49
g=32.2//ft/s^2
C=12*10^6
J=%pi*leq^4/32
l=l1+l2*(leq/d2)^4+l3*... |
c114c9562e768c4aa18055c5792e3da318def599 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH8/EX8.1/Ex8_1.sce | 83ff5a99c68812bc3efcf960249a7cfdec5e7e9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,087 | sce | Ex8_1.sce | //Ex8_1
clc
Amin=8000
disp("Amin="+string(Amin)) // Minimum gain of OP-AMP
Amax=64000
disp("Amax="+string(Amax)) // Maximum gain
disp("part (i)")
delta_Af=0.01
disp("delta_Af="+string(delta_Af)) // Change in overall feedBack gain
delta_A=(Amax-Amin)/Amin
disp("delta_A= (Amax-Amin)/Amin = "+string(delta_A)) ... |
87d9cdce4939a5a80df24585570d968b43836349 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH3/EX3.9/Ex3_9.sce | 10b2d2fff15a3b5091bb5e61d35e7c8da4a47dab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | Ex3_9.sce | //Chapter 3: Thermodynamic and Chemical Equilibrium
//Problem: 9
clc;
//Declaration of Variables
wt = 10 //in g
heat_a = 4.5 //in K
// Solution
m = 10 / 100.0 // mol
d_h = heat_a / m
mprintf("The heat of the reaction is:%d K cal / mol", d_h)
|
f18c75f3bc882adb2d09c58bc8de489fdd1d2a22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.65/Ex1_65.sce | f20c460f89e701e17e8ca2e357d89282d919fbf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | Ex1_65.sce | // Ex 65 Page 406
clc;clear;close;
// Given
C=6*10**-6;//F
L=2.5;//H
R=300;//ohm
a=R/2/L
omega = sqrt(1/L/C-R^2/4/L^2);//rad/s
//i=Im*%e**(-a*t)*sin(omega*t+fi)
//at t=0 sec
i0=0;//A
vc=10;//V
fi=asin(i0);//degree
//L*di/dt=vc at t=0
Im=poly([0],'Im')
function i=current(t)
i=Im*expm(-a*t)*sin(omega*t+fi)
endfunc... |
b0fb9300323bff6d42f7343d702ab608e424a36f | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH2/EX2.1/2_01.sce | fdcfcc0a37586b8874aad36480ffe785362601ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 70 | sce | 2_01.sce | clear
clc
//Theorotical Questions
printf("Its a theorotical Question") |
24783ba16004547fbd1ac20158b6b7efb9c779e1 | d4cea11f373b595960b7a7f445f8453dd705be78 | /University Projects/Project 4/mult/Mult.tst | 2aca50145cd51d1b672ee2e105a56b3d498dfab6 | [] | no_license | Xcompanygames/Assembler | 758c4b9a23856591e23a8ccf2239927e400567c2 | cbbe55e30345ce9e02afcd39a54ab7fd03d9a887 | refs/heads/main | 2022-12-31T10:10:26.143445 | 2020-10-09T12:37:36 | 2020-10-09T12:37:36 | 302,636,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | tst | Mult.tst |
load Mult.hack,
output-file Mult.out,
compare-to Mult.cmp,
output-list RAM[0]%D2.6.2 RAM[1]%D2.6.2 RAM[2]%D2.6.2;
set RAM[0] 0,
set RAM[1] 0;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] 1,
set RAM[1] 0;
repeat 50 {
ticktock;
}
output;
set PC 0,
set RAM[0] 0,
set RAM[1] 2;
repeat 80 {
ticktock;
}
outp... |
e37fe1cc21ae58842ae35ec24c576a4ad8f7da50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH3/EX3.7/Ex3_7.sce | 2b0ff18614080451791270c97672ac6adc3a198b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Ex3_7.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
h=5//ft
h1=3//ft
r=200//ft
f=0.5//ft
v=60//ft/s
w=62.0//ft/s
q=1.5//ft/s
g=32.2//ft
//CALCULATIONS
V=sqrt(q)/(w/(g*r))/2//ft/s
F=sqrt(f*g*r)//ft/s
T=(v)^2/(g*r)//degree
//RESULTS
printf('The value of t... |
32ef42620acf28bbf8b391bde22b45e950208bfe | d01bf962afff16bc1ce292c49da5923ebbe59775 | /Maths/neuralNet2.sce | 9e0799a628df1c1d79880e39f408765a2f2d8faf | [] | no_license | fredkerdraon/Reference-research | 71d0af22f84605ed0c53907acd6b248400c47388 | 1f48fdfebbe766bbd268b4f1853ab98162f57425 | refs/heads/master | 2023-05-05T12:18:18.655367 | 2020-02-08T22:08:15 | 2020-02-08T22:08:15 | 71,020,179 | 0 | 0 | null | 2023-04-19T18:37:49 | 2016-10-15T23:49:14 | POV-Ray SDL | UTF-8 | Scilab | false | false | 16,865 | sce | neuralNet2.sce | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//FK - Activation function
function y=activate(x)
y = 1*(tanh(x) + 1)/2;
endfunction
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//FK - D... |
46ce86376f027597ff3d03a4e4621f16763c602c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH2/EX2.4/ex2_4.sce | 0522abadc14e4d79d84bb70f4c0af455d6b8469c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | ex2_4.sce | // Exa 2.4
clc;
clear;
close;
// Given data
V_in = 10;// in V
R1 = 2000;// in ohm
R2 = 2000;// in ohm
V_o = V_in * (R1/(R1+R2) );// in V
// Vdc= 5/(T/2)*integrate('sin(omega*t)','t',0,T/2) and omega*T= 2*%pi, So
Vdc= -5/%pi*(cos(%pi)-cos(0));// in V
disp(Vdc,"The value of Vdc in volts is : ");
PIV= V_in/2... |
ff877a992e46c3ec40b52f276190acd91cb54e08 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.12.sce | 0507e1397a806b48b82bc5caf45625efdbfd0f84 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | Ch_6_Eg_6.12.sce | //An example to print the number of iterations required to find the first occurrence of 5 by the rand function.
i=0;
while %t do //infinite loop
i=i+1;
n=round (10*rand (1,1))
if(n==5)
printf ("5 is found after %d iterations", i)
break;
end
end
//An example to display odd i... |
1e4add7aa9248ff7bcb80218ad84977f0041b975 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH21/EX21.4/21_4.sce | 63991232142722ec24b1fe26632f1754cd2d4672 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | 21_4.sce |
clear
clc
//Example 21.4
disp('Example 21.4')
xbar=199.5;//Note that this is the correct value and not 199
sbar=8.83;
USL=235;//Note that this is diff from UCL
LSL=185;
c4=0.8862;
n=3;
sigma=5.75;
sigma_x=sbar/c4/sqrt(n);
mprintf('\nValue of sigma_x=%f',sigma_x);
Cp=(USL-LSL)/6/sigma;
Cpk=min(xbar-LSL,USL-xbar)/3/... |
f73bc94fbf8096ed6ce8f01f0c12f2209080d633 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH1/EX1.12/ex1_12.sce | 1949d954e8230d67bdac40148bcf8c976c661fc4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | ex1_12.sce | //Introductory Topics :example 1-12 : (pg no. 38 & 39)
R1=20;
R2=1;
L=1*10^-3;
C=0.4*10^-6;
ein=50*10^-3;
f=12*10^3;
x=sqrt(L*C);
y=(1/(2*%pi*x));
eo= ein*(R2/(R2+R1));
XL=(2*%pi*f*L);
XC=(1/(2*%pi*f*C));
a=(R1+R2)^2;
b=(XL-XC)^2;
z=sqrt(a+b);
zo=sqrt((R2^2)+b);
m=(ein*(zo/z));
printf("\nfr = 1/2.pi.sq... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.