blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c1013a684c0159c45a90dfd1d8b0f672818b01a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH8/EX8.2/82.sci | 226036a18bd59ba330c8a3e28da9b31ca01cb742 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sci | 82.sci | //chapter 8 example //
clc
clear
//capacitance of photodoide=Cd,load resistance=Rl,maximum bandwidth=B,bandwidth when system is connected to amplifier=B1//
B=10*(10^6);//in Hz//
Cd=5*(10^-12);//in farads//
Rl=1/(2*%pi*B*Cd);
printf("\n load resistance=%f \n",Rl)
Cd1=(5+5)*(10^-12);
B1=1/(2*%pi*Rl*Cd1);
printf... |
44670ffe880a939034c37472a024167b9bedf2d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH11/EX11.28/11_28.sci | ac1c984ca2ea862ed5853d6cf51b9a1675c827eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 66 | sci | 11_28.sci | //value//
s=%s;
H=syslin('c',1/((s+4)*s*(s+6)));
evans(H,100)
|
0048b535732fd5883eaf1e283d8ab8157195ef12 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/xdess/savegc.sci | 8714966d2bc082089090fe40055746873ffab53e | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 625 | sci | savegc.sci | function [x_gc]=savegc()
// save the current graphic context
// and the curent scale ( xsetech)
vals=["alufunction";"clipping";"dashes";"font";
"line mode";"mark";"pattern";"thickness";"wdim";"wpos";"window"];
x_gc=list();
for i=1:prod(size(vals)),xs=xget(vals(i));
x_gc(i)=list(vals(i),xs);end
//end
function restgc(... |
e941f9712c1778500bcfd2ad26da8a1d908f29aa | c04fb432166e4832950820b66362a26c125b608a | /make-tests/make2.tst | 50ad9cd2e8d3245f9b8957feb5e710522a589334 | [] | no_license | andreaowu/Graphs | 6d7d7ce1483e01e0c1bf4657f2f4087cbe328046 | 485dae6c2d173c2844898440fad9306ec77e1962 | refs/heads/master | 2021-01-25T04:58:12.978046 | 2013-12-04T01:09:45 | 2013-12-04T01:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | tst | make2.tst | java make.Main -f make-tests/make2.make -D make-tests/make2.info "A" |
5a9fba9587065941a145b32dd4b3004111a4eca0 | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /.sandbox/robotics/HuMAns_pa10/RobotSim/lib/modules.sci | 5ebcf6a63d27389271b9c33e380e52a4fe11f0ff | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 5,001 | sci | modules.sci |
function [qd] = f_trajectory_lin(t,qi,qf,duration)
if t < duration then
qd = qi + ((t/duration) * (qf - qi));
else
qd = qf;
end
function [qd] = f_trajectory(t,qi,qf,duration)
if (t==0) then
d2=duration*duration;
a2=(3/(d2))*(qf-qi);
a3=(-2/(d2*duration))*(qf-qi);
end;
if t < duration then
t2=t*t;
... |
242034774e075fa39bf6a31e2859d27aecbeb4a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH1/EX1.5/Ex1_5.sce | e5fa6f310994761cfb9686ae503a3b682ad5ef27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Ex1_5.sce | clc
//
//
//
//Variable declaration
D=0.8 //Distance from screen
lambdaa=5890*10**-10 //Wavelength
Beta=9.424*10**-4 //Fringe Width
//Calculations
d=(D*lambdaa*10**-2)/Beta
//Result
printf("\n The position of the 10th fringe is %e *10**-4 m",d)
|
74efe74a216658b37ef59581a7a560bc824ee4dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH10/EX10.1/Ex10_1.sce | 6852fb01953876eb60f15935073dbba81107498e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | Ex10_1.sce |
clc
clear
//Input data
P=4000//Power in kW
N=400//Speed in r.p.m
h=200//Head in m
e=90//Efficiency in percent
d=1.5//Diameter in m
vd=10//Percentage decrease in velocity
a=165//Angle with which jet is deflected in degrees
//Calculations
V1=sqrt(2*9.81*h*(e/100))//Velocity in m/s
Vb=(3.14*d*N)/60//Velocit... |
3207fd74df3edb4148928c3d0b88379fa87028a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH6/EX6.11/Example6_11.sce | 04327fb1333f4239bfd53d7309d0aaf57cb76b19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | Example6_11.sce | //Example 6.11
clear;
clc;
C=(5/%pi)*10^(-9);
R1=10*10^3;
R2=30*10^3;
GBP=1*10^6;
Hreler=0.01;//Departure of H from Hideal
ft=1*10^6;
fx=ft/(1+(R2/R1));
fmax=((1/((1-Hreler)^2)-1)^(1/2))*fx;
f0=1/(2*%pi*R1*C);
fmin3dB=(1/((1/(f0^2))-(1/(fx^2))-(1/((f0^2)*(fx^2)))))^(1/2);//f(-3dB)
... |
530ee6331a6ca8ca44ea58185f666d70e9399c1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.40/exa2_40.sce | 612811e4617d096f4d41bbe9924967495bd19a6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa2_40.sce | //Example 2-40//
//add -29 to 14//
clc
//clears the console//
clear
//clears all existing variables//
x=bitcmp(29,8)
//finds complement of 29//
y=1
u=x+y
//1 is added to the complement//
v=14
w=u+v
a=dec2bin(w)
//binary conversion of the decimal number//
disp(' binary form of the number obtained by add... |
d4a57ada83dd4afe35b8d56aedeb9066d1a2084a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH27/EX27.4/Ex27_4.sce | 78712b62e8bddec8748e84d38ae5fecfc0848216 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,178 | sce | Ex27_4.sce | //Simulating site ambient conditions
clc,clear
//Given:
//Datas are taken from Ex. 27.3
Px=640 //Brake power at site in kW
eta_m=85 //Mechanical efficiency in percent
px=70 //Site ambient air pressure in kPa
py=100 //Standard total barometric pressure in kPa
Tx=330 //Site ambient temperature in K
Ty=300 //Test ambient ... |
e8a8b2487b76010c64965f3dfb3159425c3e7a94 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MachineLearning/FLSVMLinearUdt-NZ-01.tst | 59ac5d8086b3c61a7a5921bb391fa86fa65a9e69 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | tst | FLSVMLinearUdt-NZ-01.tst | ----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLSVMLinearUdt *****';
SELECT f.*
FROM(SELECT 1 As GroupID,
a.ObsID,
a.VarID,
a.Num_Val,
5 As CValue,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER B... |
87b3a7c6fc50b7b1373cd9be296d20d41770023b | 47adabef6eb8924aff50314b05cfd89f90e19aec | /macros/buildmacros.sce | 120d4f03f5b70a6bb50518cee14e99b51cbc6bc7 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | buildmacros.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
tbx_build_macros(TOOLBOX_NAME,get_absolute_file_path("buildmacros.sce"));
|
27a6467453f08d8d301b8b7aca4578cedff060f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH8/EX8.13/8_13.sci | 2d5c0ffc81b8d54c6eff1d729b5777d7793010d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sci | 8_13.sci | //coefficient//
syms s t k;
s = poly ( 0,'s' );
y=k/(s*(s+2)); //G(s)H(s)
disp(y,"G(s)H(s)")
//R=laplace('0.2*t',t,s)
R=laplace('0.2*t',t,s)
e=limit(s*R/(1+y),s,0)
//given e<=0.02
a=[0.02];
b=[-0.4];
m=linsolve(a,b); //Solves The Linear Equation
disp(m,"k")
|
3947feee6fd3e57428cc347aac7c04224f222e70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH15/EX15.6/ex15_6.sce | 885c7b231496016311d1e94103cdd048a07ea52b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | ex15_6.sce | //Example 15.6
clc;
fc=1000; //in Hz
Q=5;
Avo=8;
C=0.01*10^-6; //Assumed
R1=Q*invr(2*%pi*fc*C*Avo);
//Assume a std value
R1=10000;
R2=Q*invr(2*%pi*fc*C*(2*Q^2-Avo));
//Assume a std Value
R2=2000;
R3=Q*invr(%pi*fc*C);
//Assume a std value
R3=150*10^3;
//Centre frequency is changed to 1... |
0b1d8bf01fcc40ef91c7f06afed8f1ead93ebbc5 | b4be5ed282b4c531c0d140038804106b52e5e9be | /rbs-master/idinput.sci | 759a9302dc904c948cc1cf904c87db00cc11deaa | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,080 | sci | idinput.sci | //this function generates binary input signal depending upon the levels and
//band
// N = [P nu M] gives a M*P-by-nu input, periodic with period P
// and with M periods
//type:-'rbs'(random binary signal) here
//we are using a 8th order butterworth filter
//level:-binary outputs
//default P=1,NU=1,LEVELS=[-1 1],B... |
f211798e3378f9d861300909c07a01b653f48bf3 | bbe6e7a0995eb50b5f7a6e73895ca0c1c121769b | /src/test_server_1_a.tst | 02c35de8da3de9cf910dbd71df1d0e717f08c0dc | [
"MIT",
"OML",
"Zlib",
"BSD-3-Clause"
] | permissive | enejp/ciyam | 990a42e9d17654c5fae7e7ad9eb3f448d992a04e | 84f34d919e23c00feb168c004716c83e3c6afa53 | refs/heads/master | 2021-01-16T19:24:48.690169 | 2013-07-08T06:03:32 | 2013-07-08T06:03:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | tst | test_server_1_a.tst |
> version
0.1
> session_list -min
1* session_list <none> <unknown> 0:0 0:0
> encrypt -no_ssl -no_salt for_testing_password
xWhJM6RtGLthLsGJdgnpuYkM7rA=
> |
fbc44f0f930d7dabc4a12c950f337de5717f004e | b829a470efb851fdd8700559c2092711adaa42e0 | /Data/OVI-CV-03-Facenet/CV-Groups/cv-group-114528472702/OVI-Test/cv-group-114528472702-run-01.tst | cb806791f9d722c89a1582babe1feb4cab356a46 | [] | no_license | achbogga/FaceRecognition | 6f9d50bd1f32f2eb7f23c7ae56f9e7b225d32325 | 165ebc7658228d2cceaee4619e129e248665c49a | refs/heads/master | 2021-07-04T21:47:57.252016 | 2017-08-01T18:53:12 | 2017-08-01T18:53:12 | 96,568,452 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | tst | cv-group-114528472702-run-01.tst | Huiping\Huiping_020.jpg
Huiping\Huiping_017.jpg
Don\Don_001.jpg
Don\Don_011.jpg
Shirley\Shirley_005.jpg
Shirley\Shirley_009.jpg
Ahmad\Ahmad_003.jpg
Ahmad\Ahmad_007.jpg
Sima\Sima_003.jpg
Sima\Sima_004.jpg
SungChun\SungChun_007.jpg
SungChun\SungChun_016.jpg
Gang\Gang_001.jpg
Gang\Gang_013.jpg
Ethan\Ethan_00... |
f3737e45db980c0f0d60fcc970630ec7b5897306 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/risetime/risetime14.sce | 085e5ffdab0e15e5d1326d0ee66153be51cc7b73 | [] | 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 | 273 | sce | risetime14.sce | x=[0
0.0112910099304681;
0.0375437844553138;
-0.0502505723940154;
0.0237536810920502;
0.00286337692936232;
-0.0268585407773543;
-0.00670100836859748;
0.00681025234400021;
0.0743232780915911];
F = risetime(x,'PercentReferenceLevels',[20 80]);
disp(F);
//output
// 0.4949001
|
35a9aecc3b4c6643645e48a4f1d468b93ee4544c | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH5/EX5.26/EX5_26.sce | 6ff357138c63adc3ce462a7c50c71934fc96a86a | [] | 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 | 883 | sce | EX5_26.sce | clc;funcprot(0);//Example 5.26
//Initilisation of Variables
L=1;....//Length 1 of tube in m
Ta=473;...//Temperature of air in K
Tw=30;........//Temperature of tube wall in K
p=2;.....//Air pressure in bar
D=0.05;......//Diameter of tube in m
U=15;...//Velocity of air in m/s
R=0.287;...//Universal gas contant i... |
8e636a912e2733e4dfae40f7132cb03b6d482043 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH8/EX8.11/11.sce | 4b9edb22bd1f95623fe037b82dde483b10e3c301 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 671 | sce | 11.sce | clc
clear
//INPUT DATA
a=4*10^-10//width of electron box in m
h=6.625*10^-34//Planck's constant in m^2 Kg /sec
m=9.11*10^-31//mass of electron in Kg
e=1.6*10^-19//charge of electron in coulombs
n=1//first permitted level
//CALCULATION
E1=((n^2*h^2)/(8*m*a^2*e))//The first permitted energy level by taking n=1... |
8f1903255ea64e8025276307e8a3100550d10259 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH10/EX10.20/10_20.sce | e840cc406a4f4f07fa6130705657da769bed5490 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,722 | sce | 10_20.sce | clear;
clc;
funcprot(0);
//Example - 10.20
//Page number - 359
printf("Example - 10.20 and Page number - 359\n\n");
//Given
P_1 = 6;//[bar] - Initial pressure
P_1 = P_1*10^(5);//[Pa]
T_1 = 100 + 273.15;//[T] - Initial temperature
P_2 = 12;//[bar] - Final pressure
P_2 = P_2*10^(5);//[Pa]
T_2 = 500 + 273.... |
18dd9355ddc65fecc2f26e7fd36a979d7704e03b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH6/EX6.37/6_37.sce | 2d5adba0ba7525e7d2087b3797615f2bd46db025 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,272 | sce | 6_37.sce | clc,clear
printf('Example 6.37\n\n')
//note that a new function p2z has been defined below for direct representation of complex numbers in polar form
function [FUN] = p2z(RRRR,Theeeta)
FUN = RRRR.*exp(%i*%pi*Theeeta/180.);
endfunction
P_out=3000*10^3
V_L=6.6*10^3,V_ph=V_L/sqrt(3)
phi=acos(0.8)
I_L=p2z(P_out... |
6847554771172b1397a4e0230f272f96165a4db2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH12/EX12.11/Chapter12_example11.sce | 3f9d289a0bc4ff98d247788b9814ba43e18d1cef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | Chapter12_example11.sce | clc
clear
//Input data
l=2500*10^-10//Wavelength of light used in m
W=4.2//Workfunction of aluminium in eV
h=6.625*10^-34//Plancks constant in J.s
c=3*10^8//Velocity of light in m/s
e=1.6*10^-19//Charge of electron in Columbs
//Calculations
KE=((h*c/l)-(W*e))/10^-19//Kinetic energy of the photoelectron in J*... |
29e7cc8f2b66661958bc9e3e6c2fe7e1edd49641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH13/EX13.1.1/Ex13_1_1.sce | 0b599f0d9e1950e0a3dbbd89264565c592f6cf58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | sce | Ex13_1_1.sce | //Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
//Windows 8
//Scilab version- 6.0.0
//Example 13.1.1
clc;
clear ;
//given
lambda1=1300E-9;//Wavelength of lambda 1 in m
lambda2=1550E-9;//Wavelength of lambda 2 in m
DELTA=0.0031;//given for SM fiber
delta=2*DELTA;//relative... |
744025aacd30d464fe7cdda886a3b1fafab990de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH16/EX16.2/ex16_2.sce | 522dfa0c1f713a50d04e6e0b24560132836cc193 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | ex16_2.sce | // Example 16.2, page no-417
clear
clc
e=1.6*10^-19//C
eg=1.43 //eV
E=e*eg
h=6.626*10^-34
c=3*10^8//m/s
lam=h*c/E
printf("The wavelength of emitted radiation is %.2f µm",lam*10^6)
|
8b41c7e064f57e99dec9db274264cfaaca7b79b8 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/minv/scilab/mv_visc.sce | d9f1d4d9a064cbbf3d138cd65d0958e336cae70b | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | mv_visc.sce | // Updated(18-7-07)
// 11.11
// Viscosity control problem of MacGregor
A = [1 -0.44]; dA = 1; B = [0.51 1.21]; dB = 1;
C = [1 -0.44]; dC = 1; k = 1; int1 = 1;
getf mv_nm.sci;
[Sc,dSc,Rc,dRc] = mv_nm(A,dA,B,dB,C,dC,k,int1);
[Nu,dNu,Du,dDu,Ny,dNy,Dy,dDy,yvar,uvar] = ...
cl(A,dA,B,dB,C,dC,k,Sc,dSc,Rc,dRc,int... |
2b3b784d3a7bfacd78fa37cdfb6ab3c6445206da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH16/EX16.4/Chapter16_example4.sce | 61c9f91b821a5e9f3e990cacfe4fe6e0e1d33360 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,767 | sce | Chapter16_example4.sce | clc
clear
//Input data
d=0.06;//The diameter of the bore in m
L=0.085;//The length of the stroke in m
N=3000;//The speed of the engine in rpm
r=0.35;//Torque arm radius in m
W=160;//Weight in N
pi=3.141;//Mathemetical constant
f=6.6;//Fuel consumption in l/h
g=0.78;//specific gravity of the fuel
CV=44000;/... |
d4e848fa96336e31aeace07ea2815d141a734235 | 1bc06fa90b5425d41347c90d0c73bb82eb4cbbfe | /filtres/gradientx.sci | b0902e113660daeb70cb0717a2c59361ec2f2cc9 | [] | no_license | madox35/Filtre-Canny | a0a527ad6be5a1dc5984b2533008f95b1c9663ee | 3a54da9b0ce917c995ea5fbd48e0ed5c3f36748d | refs/heads/master | 2020-03-08T08:57:27.702111 | 2018-04-21T19:39:39 | 2018-04-21T19:39:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sci | gradientx.sci | function [filtre, nom] = creerFiltreGradientX()
filtre = [1,0,-1];
nom = 'Gradient X';
endfunction
|
d969ab7d8f6d35208bde3c2cf5f902bcafad6176 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH8/EX8.5/Ex8_5.sce | e957aa04ae7297a1df092e45dc447a39cbec0933 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 847 | sce | Ex8_5.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 8.5
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
n1=1.48;//Dimensionless refractive index of fiber core
n2=1.46;//Dimensionless refractive index of fiber cladding
n0=1;//Dimensionless refractive index ... |
5f8729402a718e41c229ee3d4bea6796908f4f71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH9/EX9.6/Ex9_6.sce | c59da725102520461f7c9699b1fd5c7e81ba0985 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_6.sce | //Ex9_6 Pg-476
clc
Aol=20000 //open loop gain
R1=100 //resistor R1 in ohm
R2=7.5*10^(3) //resistor R2 in ohm
Rin=3*10^(6) //input resistor in ohm
Rcm=500*10^(6)
Beta=R1/(R1+R2) //Feedback fraction
printf("Feedback fraction = 1\\76 = %.5f \n",Beta)
Req=(Rin*Rcm)/(Rin+Rcm) //equivalent resistance of Rin a... |
90f45a724860daf395336c4f459e0921cbe0ea26 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/corrmtx/corrmtx11.sce | f982552aefb18c29446234fc43df9abf36a8a086 | [] | 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 | 812 | sce | corrmtx11.sce | x=[1 2 3+3*%i 4 5 7 4 62];
m=3;
X = corrmtx(x,m,'covariance');
disp(X);
//output
//
// column 1 to 3
//
// 4. 3. + 3.i 2.
// 5. 4. 3. + 3.i
// 7. 5. 4.
// 4. 7. 5.
// 62. 4. 7.
//
// column 4
// ... |
2c9f9d921d7bbbb22a0ee6079daecdcfb7ace630 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /PDE/scilab/heat_1d_euler_imp.sce | 5d590ac3c4dbd6d803bc47834f32f95527ef8330 | [] | 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 | 930 | sce | heat_1d_euler_imp.sce | function [u,x,t] = heat_1d_euler_imp(a,xf,T,initialTemp,bx0,bxf,Nx,Nt)
// solve 1d heat equation using implicit 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 subinterva... |
43d32c6009fea45397ebb691af5e2da4e3b882bb | cab1992a709a3eb977bef46f17eadab0c7bbbc5f | /modeling_simulation/ofc_smtransf.sce | ac1f9c6cb3dc33dffe1657420c9560c466dd286b | [] | no_license | andreinakagawa/neuroscience | 80ab70cfc2c7df7d7891373cc9c889b4b8f83dd6 | 681125f0e1248269665749ed8bf17d5cfe6c2fda | refs/heads/master | 2021-06-07T09:37:51.810764 | 2017-10-05T11:32:03 | 2017-10-05T11:32:03 | 15,914,740 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,899 | sce | ofc_smtransf.sce | //------------------------------------------------------------------------------
// FEDERAL UNIVERSITY OF UBERLANDIA
// Faculty of Electrical Engineering
// Biomedical Engineering Lab
// Uberlandia, Brazil
//------------------------------------------------------------------------------
// Author: Andrei Nakagawa, MSc
/... |
2e19849dcada8f08b72a6794483864da09b03899 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH23/EX23.1/ch23_1.sce | fca058b353fe5d1ef71bf27176e5d448efecf617 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,348 | sce | ch23_1.sce | // To determine the state vector at the end of first iteration
clear
clc;
C1=.02*100;
C2=.05;
Fs=100;
S1=.41 -%i*.11;
S2=-.4 +%i*.10;
S3=-.105 +%i*.11;
S4=-.105 +%i*.11;
S5=.14 -%i*.14;
S6=-.7 +%i*.35;
Z12=.08+%i*.24;
Z23=.06+%i*.18;
Z31=.02+%i*.06;
Z21=Z12;
Z32=Z23;
Z13=Z31;
W1=(50*10^(-6))/((C1*abs(... |
c4c6a8f5cb707922a5958b53aaa763b0977e57fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH3/EX3.12/Example_3_12.sce | 54bce705b0af6a533b1328223e4d917db916a6b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | sce | Example_3_12.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 3.12
//Caption : Program to Find density for ammonia
//Given Values
T=310;//Temp=310K(36.85`C)
M=17.02;
//Solution
//(a)
//saturated liquid
Tc=405.7;//App B
Vc=0.07247... |
cb64a54be546553963a7c24380bfd5314ccd1d9d | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Space/OrbitSimulations/GravitationalAssist.SCI | f1c5d9b825a6ef9463210f16c9aed45df050a41b | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 4,937 | sci | GravitationalAssist.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
sf=T_scene_create;
sss=T_getscene;
myviewport=T_getviewport;
myviewport.focaldistance=12;
objectspeed=0.5;
objectdistance=4;
sss.ambientlightcolor=color(0.25,0.25,0.25);
######################################################################################
# SETTINGS... |
35519137d28e8d6452ed68cf13ab733c33180d76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.07/16_07.sce | afa9caa280f7583ad4521047c10bcf55d76775e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | 16_07.sce | //pathname=get_absolute_file_path('16.07.sce')
//filename=pathname+filesep()+'16.07-data.sci'
//exec(filename)
//Pressures(in bar):
p1=1
p2=4
p3=16
//Index of compression:
n=1.3
//Gas constant(in kJ/kg.K):
R=0.287
//Temperature(in K):
T1=17+273
//Volumetric efficiency:
nv=0.90
//Bore diameters(in m):
Dh... |
1b46225fee3679dc14f2322a8dcee299f15387ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH9/EX9.10/ex_9_10.sce | 20ad52486c4e45696ef808058d60021e6f43cf99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,137 | sce | ex_9_10.sce | //Example 9.10 //value and direction of the current
clc;
clear;
close
V=34;// in volts
emf1=2;//in volts
r1=6;//in ohms
r2=1;//in ohms
r3=2;//in ohms
r4=4;// in ohms
//apllying kirchoff's low
// x ampere is the current in branch AB
// x1 ampere is the current in branch AC
//x2 ampere is the current in the Branch BD
// ... |
955ef670c4db0a7320078aeb0ad86ada152f6b6a | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/sos2cell/sos2cell9.sce | 0fc99d1c31be68fac4c8aa34a6c4839a62babb4f | [] | 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 | 154 | sce | sos2cell9.sce | //no i/p args
c=sos2cell();
disp(c);
//output
// !--error 4
//Undefined variable: s
//at line 58 of function sos2cell called by :
//c=sos2cell();
|
4af4ed1bf5832e7f4885afe440814acfcb86e98a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH11/EX11.13/Ex11_13.sce | 06f8f19c91c50016cdc4c6da2d776a4046e4535d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,039 | sce | Ex11_13.sce | // Calculating the stator bore and stator core length and turns per phase and armature mmf per pole and mmf for air gap and field current
clc;
disp('Example 11.13, Page No. = 11.37')
// Given Data
// 3 phase synchronous generator
Q = 1250;// kVA rating
E = 3300;// Voltage rating (in kV)
f = 50;// Frequency (in H... |
d68764e3a3bd62d7713344616bd5a83ebe73582f | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre3/ex12.sci | d86bdd22151aa3d03a40a2fd07b02435f9c10b67 | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sci | ex12.sci | clf
m=1;g=9.8;r=0.1;
function[y]=zf(x,u)
y(1)=u(2);
y(2)=g-(r/m)*u(2);
endfunction
function[y]=xf(x,u)
y(1)=u(2);
y(2)=-(r/m)*u(2);
endfunction
xmin=0 ;xmax=20 ;N=101;h=(xmax-xmin)/(N-1);
t=linspace(xmin,xmax,N);
z=zeros(N);
z=ode([0;-100],xmin,t,zf);
x=zeros(N);
x=ode([0;100],xmin,t,xf);
plot2d(x(1,... |
f5609483aaf9471ad879d9e5364f7eaba4191cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH10/EX10.2/ex10_2.sce | f410224b2199af6a4a162083fd5c381e446150df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | ex10_2.sce | // Exa 10.2
clc;
clear;
close;
// Given data
h1 = 3015;// in kJ/kg
h2 = 2326;// in kJ/kg
h3 = 113;// in kJ/kg
h4 = 114.95;// in kJ/kg
Q = h1 - h4;// in kJ/kg
disp(Q,"Heat supplied to the boiler in kJ/kg is");
W_T = h1 - h2;/// in kJ/kg
disp(W_T,"Work developed by turbine in kJ/kg is : ");
W_P = ( h1 - h3) ... |
96409f5eea0efc5255c2c3df4b586ae50e22ad72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH25/EX25.5/eg25_5.sce | 90c66f13aebcfda20eedd0aa218ce8b669e58af6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg25_5.sce | clear;
//clc();
ann_con=200000;
lf=0.4;
tar_md=750;
tar_kwh=1.15;
lf1=0.6;
avg_l=ann_con/8760;
max_dem=avg_l/lf;
max_dem1=avg_l/lf1;
red=max_dem - max_dem1;
sav=tar_md*red;
printf("The saving in energy cost is:%.2f Rs",sav);
|
277eb13fa13938d8588750eb77645bac4c29e746 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH18/EX18.5/18_5.sce | 59c2d840f5518ab33c2974ca13d0bed971337283 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | 18_5.sce | clc
//initialisation of variables
clear
L2= 6000 //cal
v= 3
T= 25 //C
T1= 0 //C
//CALCULATIONS
R= ((L2/(v*4.576))*(T-T1)/((273+T1)*(273+T)))
r= 10^((L2/(v*4.576))*(T-T1)/((273+T1)*(273+T)))
//RESULTS
printf ('Ratio = %.3f ',R)
printf ('\n Relative change in mean ionic coefficient = %.2f ',r)
|
57a0a18252a6f1f39a94bc5c87169b3384676691 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH3/EX3.9/Ch03Ex9.sce | f8eb30ab7a64bae212b116e3b7d79e56df44fcbb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | Ch03Ex9.sce | // Scilab Code Ex3.9 : Page-3.14 (2004)
clc;clear;
T1 = 500+273; // First temperature for metal, K
T2 = 1000+273; // Second temperature for metal, K
frac_vac = 1e-010; // n1/N, the fraction of vacancy sites at 500 degree celsius
e = 1.6e-019; // Electronic charge, C
k = 1.38e-023/e; // Boltzmann constant, e... |
21af328c8b0a7334e19adee420e53a253fe2dd74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH3/EX3.6/ex_3_6.sce | bc3aa7ce9365e89763dddf946b4b4c1cec8dae85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_3_6.sce | //Example 3.6 // current
clc;
clear;
close;
//given data :
m=50;// in gm
t=2*60*60;// in sec
ECE_silver=111.8*10^-8;// in kg C^-1
atomic_weight1=108;// for silver
atomic_weight2=63.5;//for copper
valency=1;//for silver
Ces=atomic_weight1/valency;// chemical equivalent of silver
Cec=atomic_weight2/2;// chemical equivale... |
f8b9c5570cc2c39abb60803534e228c2d6345ecd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.14/example3_14.sce | 8c66ed899581eaddf31be77969f13bfa96a3e9ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example3_14.sce | //example3.14
clc
disp("eta % =98% ,S= 200 kVA, cos(phi)=0.8, Iron loss=200 W")
disp("Therefore, eta % = (200*10^3 *0.8*100)/(200*10^3 *0.8+2000+copper loss)")
disp("0.98[200*10^3 *0.8+2000+copper loss]=200*10^3 *0.8")
c=((200*800)/0.98)-((200*800)-2000)
format(9)
disp(c,"i)Copper loss at full load(in watt)=")
... |
5172a1bd4ab84d17c88f5e6933bed4cd4b3d8aee | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Power_Systems_C._L._Wadhwa_1055.zip/Electrical_Power_Systems_C._L._Wadhwa_1055/CH19/EX19.2/ch19_2.sce | 54d82ccdd30c8baac817e7d9851acf5aa9502251 | [] | 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 | 298 | sce | ch19_2.sce | errcatch(-1,"stop");mode(2);//Determine the incremental cost of recieved power and penalty factor of the plant
;
pf=10/8;//penalty factor
cost=(.1*10+3)*pf;//Cost of recieved power=dF1/dP1
mprintf("Penalty Factor=%.1f\n",pf);
mprintf("Cost of recieved Power=Rs %.1f /MWhr",cost);
exit();
|
86fd81aeb4d89820840d4299b03485a5f495ad42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH4/EX4.7.11/Ex4_7_11.sce | e943e521b22712a4b757f613284d979bf74cdffb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | Ex4_7_11.sce | clear
clc
Tb=353.25;//temperature of benzene in K
Tt=383.75;//temperature of toluene in K
T=368.15;//temperature in K
DelS_vR=-10.6;//
Xb=((exp(DelS_vR))-(exp((DelS_vR)*(Tt/T))))/((exp((DelS_vR)*(Tb/T)))-(exp((DelS_vR)*(Tt/T))));//mole fraction of benzene
printf('Xb=%.4f',Xb)
Xt=(1-Xb);//mole fraction of benzen... |
35880eb66d86f39d92cafb14e44cd5df900523f5 | 1275c371a078d65f82f4b79a51049278ac453837 | /hd.resistor.app/ClientApp/components/api.tst | fc47e621ec8447a4c258e13a90674b31dde669ea | [] | no_license | jtierman/other.tests.hd.resistor | e19ce854563d27f881ad753e9a4e675bce69b8bb | 651655e9308c29a243d9d0cc58bf8d1a76da2d73 | refs/heads/master | 2020-03-14T15:28:23.913392 | 2018-05-10T05:29:42 | 2018-05-10T05:29:42 | 131,676,848 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,358 | tst | api.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
using Typewriter.Extensions.WebApi;
// Uncomment the constructor to change template settings.
Template(Settings settings)
{
settings.IncludeCurrentProject();
settings.I... |
bf81975d4d70ce7f7f0042ec2d9d9b549db3fb1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.32/Chapter1_Example32.sce | 11a4a8a9761790a1f6e0edad48801c26bc307055 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter1_Example32.sce | //Chapter-1, Example 1.21, Page 1.49
//=============================================================================
clc
clear
//INPUT DATA
N1=1200;//Initial speed in rpm
N2=1500;//Final speed in rpm
Ia1=80;//Initial armature current in A
Ia2=100;//Final armature current in A
V=220;//Terminal voltage in V
R... |
499d0a565054a9b1daf496d4043f20d8a41612e1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits__J._Paul_2045.zip/Electronic_Devices_And_Circuits__J._Paul_2045/CH3/EX3.7/Ex3_7.sce | b934e462ae480e908946c91a48174fc51bc12698 | [] | 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 | 245 | sce | Ex3_7.sce | errcatch(-1,"stop");mode(2);//example 7 pagenumber 142
q=4.5*10^22;//atoms per cubic metre
na=q/(10^4);
eo=0.026*24.16;
e=1.6*10^-19;
W=sqrt((4*16*0.628)/(36*3.14*10^9*na*10^6*e));
disp('width = '+string(W)+'metre');
exit();
|
e0af76cf4161d72bf787f2ad0b3d63bec1a137c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH3/EX3.7/Exa_3_7.sce | 71354c960649ab2255d4f5461655a23a7bf04c78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | Exa_3_7.sce | //Exa 3.7
clc;
clear;
close;
format('v',7);
//Given Data :
T1=400+273;//K
T2=20+273;//K
T3=100+273;//K
T4=T2;//K
Q1=12000;//KW
Q3=25000;//KW
Eta1=1-T2/T1;//Efficiency
W1=Eta1*Q1;//KW
disp(W1,"Power of Engine 1, W1 in KW : ");
Eta2=1-T4/T3;//Efficiency
W2=Eta2*Q3;//KW
disp(W2,"Power of Engine 2, W2 in... |
f3ce716eb0646d75c3ad13ef0e2341a0903adbe0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH4/EX4.4/Ex4_4.sce | f7d86824ae3437393a088bb253faf2297a20c247 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | Ex4_4.sce | //Variable declaration:
E1 = 65 //Efficiency of spray tower (%)
E2 = 98 //Efficiency of packed column (%)
m_in = 76 //Mass flow rate of HCl entering the system (lb/h)
//Calculations:
m1_out = (1 - E1/100.0)*m_in //Mass flow rate o... |
32ac7ef3308ea9836dd9f13d6e7dbc71698f6a19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH5/EX5.18/Ex5_18.sce | d1798c57ca5cddeec15668b501c61cd4c035eb78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | Ex5_18.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=(round(sd*100)/100)
dms=[d m sd]
endfunction
alpha=21+35.0/60+30.0/3600//mean observed altitude
C=(4.5+5.5-3.5-2.5)/4*15.0/3600;
c=44+30.0/... |
7801bbbf71ab63c2744a874b5e51de80a8be85b1 | bd4a88a5c028a801cbf0e414d2630de1c1e35449 | /scilab/svm-classification/ClusterTest.sce | c23712c5211bca9402d9d713675b56c1da39591f | [] | no_license | edielsonpf/turning-signal-analysis | 625783cea26b029c87925f96af4ac14aa38c8ae8 | 2fd594e79395caa72f5cebc378878367ff0e7f01 | refs/heads/master | 2021-03-13T00:01:23.673430 | 2018-12-24T14:44:39 | 2018-12-24T14:44:39 | 41,508,152 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | sce | ClusterTest.sce | //definitions
DEFINE_DBG=0;
DEFINE_MFCC = 0;
DEFINE_PC1_PC3=0;
TRAINING_RATE=0.7;
PC1=11;
PC3=13;
MFCC1=15;
MFCC2=16;
Vc=1;
f=2;
d=3;
//generating data for training and testing procedures
[Xtrain,Dtrain,Xtest,Dtest]= GenerateData(TRAINING_RATE);
//Definindo arquitetura da rede
if DEFINE_MFCC == 1 then ... |
a367bdfaef0293381f11afba5b99f241844bb43d | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH9/EX9.13/9_13.sce | 3b70dba7ef1e61281054c81f141df3f74d63b522 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sce | 9_13.sce |
n=3
printf("\ngo=g4=1")
for p=1:1:3
gp=2*sin((2*p-1)*%pi/2/n)
printf("\ngp=%.2f",gp)
end
|
f0a0641be681edab18ec9b357b874266d909fc9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH6/EX6.13/Ex6_13.sce | a5a7c25b5d2a9f852c526aac39b01b17380b27c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | Ex6_13.sce | // Example 6_13
clc;funcprot(0);
// Given data
D=0.5;// The diameter of cirrcular disk in m
mu=1.0;// The viscosity of oil in Pa s
rho=9.0*10^2;// Density in kg/m^3
omega=1*10^3;// The angular frequency in s^-1
phi=1*10^-3;// The angular amplitude
// Calculation
P=(%pi/32)*mu*(omega*phi)^2*((omega*rho)/(2*mu... |
9ba030818019b121a38528aef23d1978e6bed1a7 | ec32ca42a761a1bff5bf951ee44f864d175cfcfd | /Tests/testAnd16.tst | 4439f20557040e740f901ee1d2578ef8bea56376 | [] | no_license | jakoborel/nand2tetris-Project | 18256faeec02b6c2ab947c6dc24afddda2678d68 | 01ea2263da5d8ba2a6e81c07d9992b5a3cb79785 | refs/heads/master | 2021-05-21T04:27:59.487198 | 2020-04-04T23:24:59 | 2020-04-04T23:24:59 | 252,542,832 | 0 | 0 | null | 2020-04-04T01:38:00 | 2020-04-02T19:04:43 | Scilab | UTF-8 | Scilab | false | false | 358 | tst | testAnd16.tst | load And16.hdl,
output-file and16Output.out,
output-list a%B1.16.1 b%B1.16.1 out%B1.16.1;
set a %B0000000000000000, set b %B0000000000000000,
eval, output;
set a %B0000000000000000, set b %B1111111111111111,
eval, output;
set a %B1111111111111111, set b %B0000000000000000,
eval, output;
set a %B1111111111111111, se... |
949d12d33f6de1b39df26a678d1f67477dc563e4 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TECL.prev.tst | 2cf7f464e986da973f626cb12375f40f723d7f5f | [
"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 | 14,704 | tst | TECL.prev.tst | Expanding for base=6, level=3, reasons+features=base,similiar invall,norm
Refined variables=x,y
[0+1x,0+1y]: unknown -> [1] [0,0] x²-y³
-> solution [0,0],trivial(3) [1,1],trivial(2)
---------------- level 0
expanding queue[0]^-1,meter=[6,6]: x²-y³
[0+6x,0+6y]: unknown -> [1] [0,0] x²-6y³
-> solution [0,0],trivial(3)
[1... |
a77de59ca0266c2461b0f75c926a9edd100569b0 | d56141249002a5da7c4a2641dbdfc609809046a8 | /Abinit/ab_k_path_gen.sce | 2361679ae517303dcea63430b921f7cf7b067c77 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,152 | sce | ab_k_path_gen.sce | // This code helps you generate k-point for band struncture calculation.
// << Variables >>
// [lat_const]: 1x1, real
// => lattice constant. primitive vectors will all multipile this constant.
// [pri_vect]: 3x3, real
// => primitive vectors in row form
// [red_path]: nx3, real
// => k-path divided points in reduced k... |
dcee02710e053ff4aed584076fd4a4781815ee9a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/percent/%lns.sci | 3cf6ce68f1ad47eaf9b92ecc1feaf36343ae788f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sci | %lns.sci | //[r]=%lns(l1,l2)
//%lns(l1,l2) correspond a l'operation logique l1==l2 avec l1 une liste
//et l2 une matrice de scalaires
//!
r=%t
//end
|
656a1382ddd6694c1751ae762f8abc6541e6c9e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.9/ex1_9.sce | 9228d05ab01d3494f70c3770f422c3ca6b938a66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | ex1_9.sce | // Exa 1.9
clc;
clear;
close;
format('v',9)
// Given data
rho = 0.039;// in ohm-cm
sigma_n = 1/rho;// in mho/cm
miu_e = 3600;// in cm^2/V-s
e = 1.602*10^-19;// in C
// sigma_n = n*e*miu_e = N_D*e*miu_e;
N_D = sigma_n/(e*miu_e);// in /cm^3
n = N_D;// in /cm^3
disp(n,"The electrons density per cm^3 is");
n_... |
3cf1c68d246d90edabe27108481309583c3abc66 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/specs/scilab/rlocus_ex1.sce | 651080eb3d498a441b3ad838b248882ba126b608 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | sce | rlocus_ex1.sce | // Updated(18-7-07)
// 7.1
H = trfu(1,[1 -1 0],-1);
evans(H)
|
aa17090bf7bd292d7299e5ba6ca559ab0eceb13c | daa5574081d4c7f04bf8db4a39ee6f79d5da55b8 | /new_scenario2.sce | 01ec13d3e3cd177bb44f1c58a740506f5f565e34 | [] | no_license | smasa1112/presentation_practice | fec8a78d3c3c7260d1815174169ff47b1a5a3527 | 599664d4fae6783c52c46d7cb540bbcf35a12b27 | refs/heads/main | 2023-07-18T22:46:30.056399 | 2021-09-23T05:39:07 | 2021-09-23T05:39:07 | 405,818,206 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | new_scenario2.sce | begin;
trial{
picture{background_color = 255,0,0;};
code="1";
time = 0;
picture{background_color = 0,255,0;};
code="2";
time = 42;
picture{background_color = 0,0,255;};
code="3";
time = 42;
picture{background_color = 255,255,0;};
code="4";
time = 42;
}trial1;
begin_pcl;
trial1.present(); |
c1a9be80a2d93e7248367764ec5d4131ba0b6425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH1/EX1.3/1_3.sce | 49dae9a34af0e6612dc87e117619e3aa4f3b5c05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | 1_3.sce | //example 1.3
//absolute and relative errors
//page 9
clc;clear;close;
X=22/7;//approximate value of pi
T_X=3.1415926;// true value of pi
A_E=T_X-X;//absolute error
R_E=A_E/T_X;//relative error
printf('Absolute Error = %0.7f \n Relative Error = %0.7f',A_E,R_E);
|
7696d91feff5bfd4500f87dba562f4c7f37c5f5a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/scicos_blocks/SAT_f.sci | a3588c5197064fa3795d07e96f00feac652dd0d7 | [
"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,407 | sci | SAT_f.sci | function [x,y,typ]=SAT_f(job,arg1,arg2)
// Copyright INRIA
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;
... |
8aaadc78290ee6aadce70c1b3699f0a0f0cf7a0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH2/EX2.5/Ex2_5.sce | ab84f453ad7f72f04602eb0a026b12f7c15b0ef8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Ex2_5.sce | //example-2.5
//page no-34
//given
n=4
//the geometery of elliptical path is obtained by
//b/a=(l+1)/n
//let b/a=t just for notation
//for s suborbit
l1=0
t1=(l1+1)/n
//so b=a/4
//for p orbit
l2=1
t2=(l2+1)/n
//so b=a/2
//for d suborbit
l3=2
t3=(l3+1)/n
//so b=3*a/4
//for f suborbit
l4=3
t4=(l4+1)/... |
1ee57bc3291f6147c0a5ddc064440e893edb09ad | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH8/EX8.4/Ex8_4.sce | 9cbd928aa4cb2dee38ee647c93621f627f48c25a | [] | 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 | 1,467 | sce | Ex8_4.sce | errcatch(-1,"stop");mode(2);//Caption:Find (a)excitation voltage (b)power developed due to feild excitation (c)power developed due to saliency of motor (d)total power developed (e)efficiency (f)max power
//Exa:8.4
;
;
pf=0.8;//lagging
theta=-acosd(pf);
V_a=120;//in V
X_d=2.7;//d-axis reactance (in ohms/phase)
... |
b1613a177bace8d6d717fbfecc202d3618d4a251 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299.zip/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/CH15/EX15.53/example15_53.sce | 09a3b997969641fe2d91aa05e15f86ea933e0f51 | [] | 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 | 244 | sce | example15_53.sce | errcatch(-1,"stop");mode(2);//Example 15 53
//state space model of differential equation.
;;
// converting the differential equation in terms of transfer function.
s=%s
//transfer function
A=1/(s^3+6*s^2+11*s+6)
B=tf2ss(A)
exit();
|
1a30db76c0b6775caf0faed04c1da6885066081b | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/overload_numeric_runme.sci | ea79cff614429d204091cc194bc41d6ad7792378 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 417 | sci | overload_numeric_runme.sci | exec("swigtest.start", -1);
nums = new_Nums();
// In overloading in Scilab, double has priority over all other numeric types
checkequal(Nums_over(nums, 0), "double", "Nums_over(nums, 0)");
// Just checkequal if the following are accepted without exceptions being thrown
Nums_doublebounce(nums, %inf);
Nums_doubleboun... |
9f9699962f0ba6fb5df927184ec97120d06a5cfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH4/EX4.5/example4_5.sce | a558a3a7e664e4fe42870ffebdda9c5e21a1b814 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | example4_5.sce | //Chapter 4
//Example 4_5
//Page 76
clear;clc;
ic=50000;
units=220*1e6;
afc_per_kW=160;
rc_per_kWh=0.04;
afc=afc_per_kW*ic;
arc=rc_per_kWh*units;
tac=afc+arc;
cpu=tac/units;
printf("Annual fixed charges = Rs. %.0f \n\n", afc);
printf("Annual running charges = Rs. %.0f \n\n", arc);
printf("Total annual charges = Rs... |
80550e7f8cf19a8066ec810d17f3ecc022f13fac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH7/EX7.8/Oscillators_Ex_7_8.sce | 94d26c7af9cee6079c7264a28ec606c94bf63168 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | Oscillators_Ex_7_8.sce | clc
//Chapter 7:Conditions for Oscillation
//example 7.8 page no 270
//given
fa=5.7*10^6//parallel antiresonant frequency
C1=21*10^-15
Co=37.1*10^-12//here 32pF is parallel with 5.1pF so they get added
CL=22*10^-12
f_a=fa*((1+C1/(2*(Co+CL)))/(1+C1/(2*Co)))//new parallel antiresonant frequency
r1=25
Rp=r1*(1+(... |
17234dc24c05a56b4b659702d078b569222aeb7e | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH8/EX8.18/ch8_18.sci | e0a0b31c692b069f204866e5d7e9672e79942d5e | [] | 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 | 295 | sci | ch8_18.sci | //find the change in the poweer angle;
clc;
Pe=4000;
V=400';
pf=.8;dl=acosd(pf);
Ia=Pe/(sqrt(3)*V*pf);
Vt=V/sqrt(3);
Xs=25;
Ef=Vt+j*Ia*complex(cosd(-dl),sind(-dl))*Xs;
a=atand(imag(Ef)/real(Ef));
dl=asind((Pe/3)*Xs/(Vt*abs(Ef)));
ang=dl+a;
disp(ang,'change in power angle(deg)'); |
f7d448587b77882867fcad25e5228b9d88c75dec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3433/CH3/EX3.4/Ex3_4.sce | ef6e751b2c9cd6fbf32078904b028e1b315e938b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 967 | sce | Ex3_4.sce | clear;
clc;
funcprot(0);
//given data
alpha1 = 22;//inlet flow angle in deg
M1 = 0.3;//inlet Mach number
M2 = 0.93;//exit Mach number
alpha2 = 61.4;//exit flow angle in deg
Q1 = 0.6295;//Q(M1) from compressible flow tables
Q2 = 1.2756;//Q(M2) from compressible flow tables
gamma = 1.333;
Z = 0.6;
//Calculations
p02_p0... |
faccd0c320feb0ee376f3ebb36727722f95c67b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH8/EX8.14.11/Ex8_11.sce | 022196943e5eed371acb0f2ab219c859eae46f57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,707 | sce | Ex8_11.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 8 Junction Transistors:Biasing and Amplification
clc
clear
VBE=0.7//VBE=base emitter voltage
b=99//b=dc current gain of the common emitter transistor
VCC=15//VCC=collector supply voltage
RE=7//RE=resistance in kilo ohms connected to the emitter terminal
RC=... |
2499979ca98bb77bf8185f12178929272d1f0748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH8/EX8.6/Ex8_6.sce | d3cef8d4d83aeb5bc241e6ac223259a2afbc6092 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | Ex8_6.sce | //Example 8_6
clc;clear;funcprot(0);
//Given values
V_1=7;// m/s
P_1=150// kPa
D_1=0.06;// m
D_2=0.09;// m
// Assumptions
//alpha_1=alpha_2=1.06
alpha_1=1.06;
alpha_2=1.06;
g=9.81;// m/s^2
//Properties
rho=1000;//The density of water in kg/m^3
K_L=0.07;// The loss coefficient for gradual expansion
theta=... |
9517e031b61ded8842329504c172b0b136586e1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH3/EX1.3.19/Ex1_3_19.sce | 9d55a89e3e1c0e536dfb0ce4ba4056cc52f37e51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Ex1_3_19.sce | //Section-1,Example-2,Page no.AC-271
//To calculate the cost of lime and soda required for the softening of hard water.
clc;
A_1=25 //Temporary magnesium hardness(mg/lt)
A_2=15 //Permanent magnesium chloride hardness(mg/lt)
A_3=20 //Permanent calcium sulphate hardness(mg/lt)
V_1=30000*(1/10^3)
L_R=(... |
5cb75469a9d2ec8d7fa2743d7743ea106948f674 | 584105ff5b87869494a42f632079668e4c3f82de | /help/en_US/build_help.sce | f6efd25415294a0e5244d86935493aae7103a17e | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 85 | sce | build_help.sce | tbx_build_help("Image Processing Toolbox",get_absolute_file_path("build_help.sce"));
|
931d07048cfab103c16eef12c574b4d0571c0297 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH2/EX2.12/chapter2_ex12.sce | 7f731088b393c8166dc8ecffbbd4769549d927a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | chapter2_ex12.sce | clc
clear
//input
c=0.000002;// capacitance of a capacitor in farad
theta=0.12; // loss angle in radians
v=230; // a.c. voltage supply in volts
f=50; //supply frequency in hertz
//calculations
ic=v*2*%pi*f*c;// capacitor current in amperes
ir=ic*tan(theta);// current through shunt resistance in amperes
r=... |
f680e422b35d5693e00b66c6c39f596eebe13669 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH4/EX4.6/ex4_6.sce | 67b2c4ba5ff6b5c4711dca5610c1bc715d7d633a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | ex4_6.sce |
//Exa:4.6
clc;
clear;
close;
//Given:
Pc=1500;//in watts
m1=0.7;
m2=0.5;
P=m1^2*Pc/4;
printf("\n 1)Pusb=Plsb= %fW ",P);
P=m2^2*Pc/4;
printf("\n 2)Pusb=Plsb= %fW ",P); |
a1592b2e45f79edc6c0eec4b31fc08d53f2ae3c7 | 5a857e4907a4990f4631bf63b468cdd7bbc8c175 | /instructional/empathy-training.sce | 4271db0b4ad504133c4c603c4d46acfa0072f88e | [] | no_license | jangwoopark/presentation-empathy | 5a72123fb7ad9c81de4db2504daaac989500d057 | 2ca5ab3aee410a60be326ef527cd4e5b18a0e4b3 | refs/heads/master | 2020-12-02T11:29:56.873088 | 2017-09-15T06:49:02 | 2017-09-15T06:49:02 | 96,644,451 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,146 | sce | empathy-training.sce | scenario = "empathy";
#scenario_type = fMRI;
pulse_code= 10;
sequence_interrupt=false; #default
active_buttons = 10;
button_codes=1,2,3,4,5,6,7,8,9,10;
default_picture_duration = 12000;
default_font="times";
default_font_size=44;
default_text_color=255,255,255;
default_background_color=0,0,0;
begin;
picture {} defau... |
494bf6be29c367b23dc5b5ea800258ef00255e4b | 255fc298220292735e03c5f6077f660cd3679b0d | /Devarena2018/Models.tst | 3aace8d42efed37c8bf5bb8699d48c018d01a7ae | [] | no_license | anabellikeckes/typewriterSamples | c0e8d8af48836f6f0195b9dcf5fddbd2a3dfe2fe | c80eedd74a7a743b8ae2b24e4a22db5dfa6d59c5 | refs/heads/master | 2020-03-28T10:18:37.469488 | 2018-10-15T15:00:24 | 2018-10-15T15:00:24 | 148,099,325 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,919 | tst | Models.tst | ${
using System.Text.RegularExpressions;
using Typewriter.Extensions.Types;
string ToKebabCase(string name) {
return Regex.Replace(name, "(?<!^)([A-Z][a-z]|(?<=[a-z])[A-Z])","-$1", RegexOptions.Compiled)
.Trim().ToLower();
}
string ClassNameWithExtends (Class c) ... |
49084d118ce5aadd0825b510134d836fa49d7577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.8/Ex5_8.sce | b909daa397ae3ec43869f7d27091d02f2270b404 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | Ex5_8.sce | clear
//Given
V=5
l=0.1
Vd=2.5*10**-4
//Calculation
E=V/l
u=Vd/E
//Result
printf("\n The electron mobility is %0.3f m**2/V/C", u)
|
b734a4a433fb7d31682d8265e2e407e501e298da | 6577008921680ddcc005d6cd1fbfc6e580f04740 | /Code/LU.sce | dba6410644f23c2856c25de61bbf7a84639a2616 | [] | no_license | bagasadif/Program-Scilab | a9539ddf00a5c75ca844d93e9b35309427a28722 | 94d09657ae48d130184c23c34af9a0f4a1a2ab18 | refs/heads/master | 2023-02-19T19:24:24.042558 | 2021-01-24T22:27:39 | 2021-01-24T22:27:39 | 332,569,383 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | LU.sce | /*
Author : Bagas Adi Firdaus
Deskripsi : Program SPL Metode Dekomposisi LU
*/
function [L,U]=LUdecompCrout(A)
[r,c]=size(A);
for i=1:r
L(i,1)=A(i,1);
U(i,i)=1;
end
for j=2:r
U(1,j)=A(1,j)/L(1,1);
end
for i=2:r
for j=2:i
L(i,j)=A(i,j)-L(i,1:j-1)*U(1:j -1,j);
end
for j=i+1:... |
4edf745be04ad8d624e90055b7a5453779561076 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH2/EX2.4/Ex2_4.sce | 4d96299da14a6d23a19dcbe7e70ff69b8d599e37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | Ex2_4.sce | // Exa 2.4 compressor with same temperature rise
p1=1.0; // Initial Pressure in bar
t1=40; // Initial Temperature in degree C
T1=t1+273; // in Kelvin
s=8; // number of stages
pr=1.35;
opr=pr^s; // Overall Pressure Ratio
n=0.82; // Overall Efficiency
p9=opr*p1;
gamma=1.4;
delTc=(T1*(opr^((gamma-1)/gamma)-1... |
5b60bff5feec16a616639fd2740143fb20f955e9 | 717ddeb7e700373742c617a95e25a2376565112c | /3165/CH4/EX4.3/Ex4_3.sce | caa5f9054743817505ba435fa799b9e77be29ef2 | [] | 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 | 499 | sce | Ex4_3.sce | //Example 4 . 3
//To Design an Analog Butterworth Filter
clc ;
op =0.2* %pi ;
os =0.4* %pi ;
e1 =0.9;
l1 =0.2;
epsilon = sqrt (1/( e1 ^2) -1);
lambda = sqrt (1/( l1 ^2) -1);
N= log( lambda / epsilon )/ log (os/op);
disp ( ceil (N), ' Order o f the f i l t e r , N =' );
s=%s;
HS =1/(( s ^2+0.76537* s +1) *(s... |
5fc90778156b7937ab42f2fe4ec55c6f4e9015cc | 1897ae5489b64fae9aa083d62f51254cfe52d26f | /III semester/numerical-algorithms/labovi/LV5/vjezba5.sce | cbcc819446b776b7f8e7b2ea643a2069b50c2c69 | [
"Unlicense",
"LicenseRef-scancode-proprietary-license"
] | permissive | MasovicHaris/etf-alles | f1bfe40cab2de06a26ceb46bdb5c47de2e6db73e | 0ab1ad83d00fafc69b38266edd875bce08c1fc9e | refs/heads/main | 2022-01-01T18:22:54.072030 | 2021-12-22T09:05:05 | 2021-12-22T09:05:05 | 138,169,714 | 9 | 15 | Unlicense | 2020-03-29T23:36:50 | 2018-06-21T12:50:51 | C++ | UTF-8 | Scilab | false | false | 1,710 | sce | vjezba5.sce | clc
mode(1)
pause
//Zadatak 1
//Definisanje seta podataka
xdata=linspace(0,2*%pi,10);
ydata=sin(xdata);
x=linspace(0,2*%pi,100);
pause
//Interpolacija funkcije not a knot
[yp, yp1, yp2]=interp(x,xdata,ydata,splin(xdata,ydata));
subplot(1,2,1)
plot(x,yp1,'k');
plot(x,yp2,'r');
pause
//Interpolacija funkcije natural
[yp... |
73f18897e1df19a237f2f2d9028cb98dfc7a9173 | a550430672dfb5984bd8561b894897323028b7f5 | /tests/results/kar01.tst | cabc966f8790e2fdd7efdbbc77ec12f459b463b8 | [] | no_license | carlosmata/LabelPropagation | c91f68489a941e6f8cfb15de478d2fe28eadbcad | 2f169cc4ece49a0d0f868fee15e5eefe02bbc6df | refs/heads/master | 2020-12-18T17:46:23.501020 | 2020-05-09T06:13:16 | 2020-05-09T06:13:16 | 235,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | tst | kar01.tst | argc:7
Dataset: ../datasets/converted/karate.net
Nodes Edges Com Mod NMI Time
seq async 34 156 3 0.421516 -1 6.5197e-05
par async 34 156 4 0.13042 -1 0.065906
|
54c8c6046674ff61627e35d5165b97a79fc551e7 | a5e2e29746cbbbfd0c0bd14cc542cd3ba2bf7d3f | /Sem2_Mathe/random nice shit/Mitternachtsformel.sci | cea5514bcbe40bb9aceaed0c35eb9c0bc5983fa8 | [] | no_license | DonnyAwesome/UNI | 99580eabc0ff200eeecb72d866313b89cd28d0cb | c028434b672ae1962c2074fc249012d68a63db2b | refs/heads/master | 2020-04-02T13:05:02.067280 | 2019-02-14T02:14:06 | 2019-02-14T02:14:06 | 154,466,384 | 0 | 0 | null | 2018-10-24T08:33:10 | 2018-10-24T08:33:10 | null | UTF-8 | Scilab | false | false | 147 | sci | Mitternachtsformel.sci | function x= loese2(a)
D = sqrt(a(2)^2-4*a(1)*a(3));
x(1) = (-a(2)+D)/(2*a(1));
x(2) = (-a(2)-D)/(2*a(1));
endfunction
|
ede2b3ebc108dbe6f9ff5fd98788d82f3f02be3b | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/sna.tst | 2b8530612774af232245ab93f47650ad245db755 | [] | 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 | 13,378 | tst | sna.tst | bata tabata V;PL;1;HOD
zviratidze wakazviratidze V;SG;2;PST
ifa murikufa V;PROG;PL;2;PRS
chema vanochema V;PL;3;PRS
wona munowona V;PL;2;PRS
terera ndaterera V;SG;1;HOD
ipa wakapa V;SG;2;PST
rasa arikurasa V;PROG;SG;3;PRS
daidza murikudaidza V;PROG;PL;2;PRS
bata anobata V;SG;3;PRS
seka unoseka V;SG;2;PRS
vhura tavhura ... |
cce62a8b0a905849b112a4159fc098b15e7df3f6 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MachineLearning/FLSVMGaussianUdt-NZ-01.tst | dc68eb3d12b9053756fd7fcac63608e8aa316aac | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | tst | FLSVMGaussianUdt-NZ-01.tst | SELECT f.*
FROM(SELECT 1 As GroupID,
a.ObsID,
a.VarID,
a.Num_Val,
5 As CValue,
0.1 As SigmaSqr,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY a.ObsID), 1)
AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY a.O... |
76db63bddcc078c941510111179d77fa80cfc520 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH10/EX10.10.a/ex_10_10_a.sce | 0883567f2301e3170186121bc6ce6f22bc3d4d05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | ex_10_10_a.sce | //exmaple 10.10(a)//
clc
//clears the screen//
clear
//clears all existing variables//
ctp=1/(10*10^6);
//clock time period in seconds//
act=(2^8-1)/2*ctp*10^6;
//Average conversion time in case of counter type A/D converter//
disp(act, 'Average conversion time in case of counter type A/D converter (in micro s... |
ce520ff27ba964675836d74f8eff38883e2d0841 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/L21.prev.tst | c47aedb2d1c9430a16bfb635f89d023451322965 | [
"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 | 39 | tst | L21.prev.tst | new Vector("[3 ,4,5,6 ]") = [3,4,5,6]
|
ef96fb4534d888542aa56dcdc52761906c63bb03 | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /klava/kernel/ntreelib/tests/004_idx.tst | 1c3ee94cc2cae216ce6dee953f70c68df62e56f7 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,101 | tst | 004_idx.tst | # test: large index nodes creation
#
create "test.td"
autocheck on
clear
printf test0.tmp norm
# 001 ------------------
# level 0 index creation
add 0x0100 "00 'signature'"
add 0x0101 "01 'signature'"
add 0x0102 "02 'signature'"
add 0x0103 "03 'signature'"
add 0x0104 "04 'signature'"
add 0x0105 "05... |
2f1470d30a459a6ebf55ab35f9194bfac618072f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electronic_Devices_And_Circuits_J._B._Gupta_2444.zip/Fundamentals_Of_Electronic_Devices_And_Circuits_J._B._Gupta_2444/CH5/EX5.2/ex5_2.sce | 26a51c8b3a889631863aa8bdfa5f7ec56228599b | [] | 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 | 246 | sce | ex5_2.sce | errcatch(-1,"stop");mode(2);// Exa 5.2
;
;
format('v',6)
// Given data
C =0.15;// in µF
C = C * 10^-6;// in F
R = 7.5;// in k ohm
R = R * 10^3;// in ohm
f1 = 1/(2*%pi*R*C);// in Hz
disp(f1,"The cutoff frequency in Hz is");
exit();
|
08239dd4f73016a2068e63d1945f4f6bf30f9201 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH9/EX9.04/9_04.sce | b5d80e85e390a91db9f1f4d495c4f22494a75e27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | sce | 9_04.sce | //pathname=get_absolute_file_path('9.04.sce')
//filename=pathname+filesep()+'9.04-data.sci'
//exec(filename)
//Maximum temperature(in K):
T3 = 1200
//Minimum temperature(in K):
T1 = 300
//Adiabatic compression ratio:
n=1.4
//Value of Cp(in kJ/kg.K):
Cp=1.005
//Optimum pressure ratio for maximum work output:... |
fda7bcaf595338124999b96897402499afd8ac6a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/robust/leqr.sci | a1988a3c6ae0513f8c74bc59f08427a9a4ea0da2 | [
"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 | 2,326 | sci | leqr.sci | function [k,x,err]=leqr(p12,vx)
//h-infinity lqr gain for full-state lq problem
//(discrete or continuous)
//
// discrete continuous
// |i -vx 0| | a 0 b| |i 0 0| | a vx b |
// z|0 a' 0| - |-c'c i -s| s|0 i 0| - |-c'c -a' -s |
// ... |
073c2241a0541ada073309262b8a77cfda00d2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH5/EX5.5/Ex5_5.sce | e2cb304217f20b49238413cb78aa2935752d69bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,516 | sce | Ex5_5.sce | // Exa 5.5
// To Calculate:
// a) The calls per hour per cell site
// b) The mean S/I ratio
// c) The spectral efficiency in Erlang/km2/MHz
// for Reuse ratio =4,7,12 and for omnidirectional, 120 degree and 60 degree antenna systems.
clc;
clear all;
VCH=395;//Total allocated voice channels
CHBW=30; // i... |
adbb6e77073ce164b26e2424a0f8ed05d22c21b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/DEPENDENCIES/dft_mtx.sce | aaee76368494a1a4ae739e000f7242543732cf1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | dft_mtx.sce | function [D] = dft_mtx(n)
f = 2*%pi/n; // Angular increment.
w = (0:f:2*%pi-f/2).' *%i; //Column.
//disp(w)
x = 0:n-1; // Row.
D = exp(-w*x); // Exponent of outer product.
for i = 1:n
for j = 1:n
if((abs(real(D(i,j)))<0.0001)&(abs(imag(D(i,j)))<0.0001)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.