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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fae85b34c8e084bda9eef1d0ee5e59a6d9792002 | 7aa873e108aaa09b82658d4c85792da10d1ecdc4 | /1 control system/CEI_AtividadeUnidade1_2020_1_q3-1.sce | 4f334c014311cdefc9e47d4504012d727588e4b8 | [] | no_license | r4m0nl1m4/control_and_industrial_eletronics | 6aef56bbed13486a49cd5f1d998568810a22204b | 324a7d0d4e8587046b65100910199fe274567e60 | refs/heads/master | 2021-03-20T01:51:02.375945 | 2020-06-18T17:44:34 | 2020-06-18T17:44:34 | 247,164,459 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,992 | sce | CEI_AtividadeUnidade1_2020_1_q3-1.sce |
clear; //Apaga variáveis
t = 0:0.01:1; //Tempo de 0 a 10seg com passo de 0.01seg
// a
a_k = 10; //Ganho
a_p = 10; //Polo
a_tau = 1/a_p; //Constante de tempo
a_c = (a_k/a_p)*( 1 - exp(-t/a_tau) ); //Dinâmica do sistema (Resposta ao deg... |
d6d7b63aff6e5cbb15cb77c8b7221a12ef78d658 | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /.sandbox/robotics/HuMAns_pa10/Visu/rob.sci | 28c88155c7a1f085a8f2273f33900cfec178223f | [
"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 | 123 | sci | rob.sci | exec('Load.sci');
m=fscanfMat('../result.dat');
n1=1;
n=size(m,1);
q=zeros(7,n);
q(2:2:7,n1:n)=m(n1:n,2:2:7)';
Visu(q,q)
|
403f550e79b10b18710120af5703927bcaf7a1f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.27/Ex1_27.sce | 0d58cdf74c1280afa0daa7f92ddabd67e683285d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | Ex1_27.sce | //Example 1_27
clc;
clear;
close;
format('v',4);
//given data :
V1=20;//V
V2=4;//V
R1=500;//ohm
R2=1000;//ohm
R3=100;//ohm
R4=800;//ohm
RL=1000;//ohm
//solution
VCB=-R2/(R4+R2)*V1;//V
//writing KVL equation for the loop
I=poly(0,'I');
eqn=V1-R1*I-V2-R3*I;//KVL equation
I=roots(eqn);//A
VCA=-I*R1;//V
... |
1bbae7cd8623199b7a4004149aa5a1680c6f002c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH3/EX3.3/C3P3.sce | d089c613793e49894025a5769c38b0b74ed43fe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | C3P3.sce |
clc
//To find force acting on crate
//Given :
//refer to figure 3-8(a) and3-8(b) from page no. 49
// mass
m =360 //kg
// initial velocity of crate
vx1 =62//km/ph
// final velocity of crate
v0x1 = 105 //km/ph
// time elapsed
t =17 //seconds
//solution:
//calculating initial velocity in m/s
vx =(... |
8968e61bada6a1ecd741aac28c3cd3d9f6315421 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH11/EX11.5/ex11_5.sce | c4df6df52b74f83c5f41b80dc2839572e8db0df1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | ex11_5.sce | clc;clear;
//Example 11.5
//given data
hf=2.48*10^5;//half life in yrs
k=8.88*10^-14//decay const in 1/s
Mo=4;//intial mass in mg
Na=6.02*10^23;//Avgraodo no. in 1/gm mole
//calculations
kt=0.693/hf*62000;
M=Mo*(exp(-kt));
disp(M,'mass remain unchanged in mg');
N=M*10^-3*Na/234;
A=k*N;
disp(A,'Activity... |
1d31a0dfa219979f2b15b8d04ef579db7711f2d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH12/EX12.3/Chapter12_Example3.sce | f20461ebcee457436390fa6d545c4da7dc430b73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,072 | sce | Chapter12_Example3.sce | //Chapter-12, Example 12.3, Page 509
//=============================================================================
clc
clear
//INPUT DATA
mh=10000;//Mass flow rate of oil in kg/h
ch=2095;//Specific heat of oil J/kg.K
Thi=80;//Inlet temperature of oil in degree C
Tho=50;//Outlet temperature of oil in degree ... |
6ab02169b599c3fe5fdca79b9f72953d0bed8349 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH43/EX43.8/Example43_8.sce | 4e609fd39c7abcb1ebde0154e262f092a0f529d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,116 | sce | Example43_8.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 5: ELECTRIC TRACTION-SPEED TIME CURVES AND MECHANICS OF TRAIN MOVEMENT
// EXAMPLE : 5.8 :
// Page number 782-783
clear ; clc ... |
2575eac76da0382df7bd56e316649acddfddabbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH16/EX16.14/Ex16_14.sce | 9455ab44053e0402470fe9868ef0328fbc5d2d4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Ex16_14.sce | // chapter 16
// example 16.14
// Determine supply frequency
// page-1041
clear;
clc;
// given
C=5.3; // in uF
V=600; // in V
I=100; // in A
// calculate
C=C*1E-6; // changing unit from uF to F
Xc=V/I;
// since Xc=1/(2*%pi*f*C), therefore we get
f=1/(2*%pi*C*Xc); // calculation of supply frequency
printf("\nThe supply ... |
51c9ca012b746f7ceabce2edc2c566c7a9907f5d | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rooteig/rooteig3.sce | 6e0b498619f71e5c4e8049a83115ec90ae6c8895 | [] | 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 | 266 | sce | rooteig3.sce | //i/p args are x,p and sampling frequency fs
clc;
clear;
exec('/home/debdeep/Desktop/TEST NOW!!/rooteig/rooteig.sci');
x=[1 2 3 4 6 7 8 9];
p=2;
fs=4e6;
[f,pow] = rooteig(x,p,fs);
disp(f);
disp(pow);
//output
// 145392.21
// - 145392.21
//
// 33.436048
|
f4eb896806bdd85421f41c75e6129caff21850e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.17/Chapter2_Example17.sce | e4952a12dc2f63b020253306646d26f5ee08d63d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,449 | sce | Chapter2_Example17.sce | //Chapter-2, Example 2.17, Page 2.32
//=============================================================================
clc
clear
//INPUT DATA
R1=3.5;//Primary Resistance in ohm
X1=5.2;//Primary reactance in ohm
R2=0.01;//Secondary Resistance in ohm
X2=0.02;//Secondary reactance in ohm
Q=40000;//Rating of the t... |
7454dd96f4f212acc1b8de084001dc8a9e81b3c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH4/EX4.4/Ex4_4.sce | 6520ed908d79ee49cdf3b195b44cf4df71b2fb08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | Ex4_4.sce | // Ex4_4 Page:64 (2014)
clc;clear;
c = 3e+08; // Speed of the electron, m/s
lambda = 4000e-010; // Wavelength of the spectral line, m
delta_t = 1e-08; // Average lifetime of an excited atomic state, s
delta_lambda = lambda^2/(4*%pi*c*delta_t); // Natural width of the spectral line, m
printf("\nThe nat... |
728134d4da98909db41f3e598288c9577197e64f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.011/Ex2_11.sce | 20af4c7984912e0cfc9956121db7a278b6ec611e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Ex2_11.sce | // Example 2.11
//Calculation of (a) reflection and (b) loss of light signal at joint areas.
// Page no 482
clc;
clear;
close;
// Given data
n1=1.5; // Refractive index of core
n=1; // Refractive index of air
// (a) Reflection at the fiber air interface
R=((n1-n)/(... |
ddee497cad074e8af0aa8c5c5215f9b41ca0961a | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/ident/scilab/lionel-y5.sci | a05762f37948ae75e24bbfec9a79694c89b66e71 | [] | 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 | 807 | sci | lionel-y5.sci | loadmatfile proj1;
getf pacf.sci;
getf plotacf.sci;
getf label.sci;
//y5
xset ('window',1)
pacf(y5,21);
//decay slowly (=0 from lag=9) => MA process
xset ('window',2)
plotacf(y5,1,21,1);
//decay (=0 from lag=3) but not cut off => mixed process
//we start with an ARMA(1,1) model and compute its residual
ul=length(y5... |
5d525cb001a70e4ade77ec9e2ad78f42ef51de6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/17_6_data.sci | f1f147873a318eb454cd62d2999ffbe39e1194c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 17_6_data.sci | //Torque delivered by the engine(in N-m)
T=23.5;
//Bore of the engine(in m)
D=80*10^-3;
//Stroke of the engine(in m)
L=110*10^-3; |
c6c7c5328531058ced3eed76c9cfded6b441fb89 | 9733f939913e963ec556f5f89248dacb75801a8d | /scilab/runanimstringhyper1.sci | 0f9df8573fd1a81d819b8cd3d02f99cba405f7e7 | [] | no_license | mikeg64/solar | 4546c0182bb7f7cde21bc7f102e659ff7a488ad8 | 46ab043441a4f2523daa7cfaf5008c959f61d7d6 | refs/heads/master | 2023-08-22T04:29:33.974673 | 2023-08-19T09:19:40 | 2023-08-19T09:19:40 | 17,345,330 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,033 | sci | runanimstringhyper1.sci |
// Example of solving hydrodynamics equation to advect fluid
// Illustrates the problem of numerical instability
//
// Higher order terms for the finite element derivatives are n0t sufficient
// to remove discontinuities
//
//
// Use two step Lax-Wendroff method to stabilise solution
// http://en.wikipedi... |
2d4e58ef3f0a719a33d8bac9d0cc98400a185e92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH6/EX6.3/ex6_3.sce | 73e02a1b049bd869e3bdf9463d6df6fc85128f56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | ex6_3.sce | clc;
clear all;
D=0.1;//focal length of lens
lemda=14400*1e-10;//wavelength in meters
p=100*1e-3;//power of laser beam
d=10*1e-3;//aperture in meter
th=lemda/d;//angular speed
disp('rad',th,'angular speed is=');
aos=(D*th)^2;//area of spread
disp('m^2',aos,'area of spread is=');
I=p/aos;//'intensity
disp('W... |
72f614ae9c6c34914926ae93da35ebfbd2795db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH11/EX11.8/example11_8.sce | ee1b405f8a1f0b781ee3c429bd9f2c51ff555e0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,049 | sce | example11_8.sce | clear;
clc;
//Example11.8[Using the Effectiveness- NTU Method]
//Given:-
mc=1.2,mh=2;//Mass Flow rate of water and geothermal fluid[kg/s]
U=640;//Overall Heat transfer Coefficient[W/m^2.degree Celcius]
Di=0.015;//[m]
Tc_out=80,Tc_in=20;//Outlet and Inlet temp of water[degree Celcius]
Th_in=160;//Inlet temp of... |
c69fd702b112075dd39b950c535a2ce1192521ca | 151e9d9a47b8c4098e67f5ecc974b3a811d91a95 | /brofist/scicos_32/bro_motor_enc.sci | cfd3f79bf5b0a87ff2a97734c988a9fb8637167c | [] | no_license | AliaksandrSiarohin/AppliedRobotics | a81c568be77962723b6b17394d1a42a4e76d8a69 | 5d79e537dd6926738ffc59eff18a78fd42c44417 | refs/heads/master | 2021-01-13T00:49:45.571990 | 2016-01-26T22:22:40 | 2016-01-26T22:22:40 | 45,112,715 | 2 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 3,223 | sci | bro_motor_enc.sci | function [x,y,typ] = SPAM_Motor(job,arg1,arg2)
x=[];y=[];typ=[];
sensor = '';
port_no = '';
select job
case 'plot' then
graphics=arg1.graphics;
ierr=execstr('(evstr(graphics.exprs(1))==1)','errcatch')
if ierr<>0 then
sensor = 'Custom Sensor'; ... |
08c0453f36123e611cb674bafaf457bca0f032c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH9/EX9.8/example9_8.sce | 765d9ec614e6b71948953d9e345ddd95ddb84f2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example9_8.sce |
//example 9.8
//page 326
clc; funcprot(0);
//initialisation of variable
Q=0.075;
L=30;
D=0.1;
pi=3.14;
k=0.5;
K=10;
g=9.81;
nu=1.007*10^-6//kinematic viscosity
A=pi*D^2/4;
V=Q/A;
R=V*D/nu;
//using moody's chart
f=0.025;
hf1=f*L*V^2/2/g/D;//head loss by friction
hf2=k*V^2/2/g;//head loss due to contr... |
e39f76c31db81bd819d6b298635f4c5457b7af84 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/mtlb/mtlb_length.sci | f2620684affa986ca736c4e6d39440a450acb336 | [
"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 | 343 | sci | mtlb_length.sci | function r=mtlb_length(a)
//used by mfile2sci translator to emulate "length" when translator as no
//type information on the length argument
//You may replace this function call by
// length(..) if argument is a character string
// max(size(..)) else
//!
// Copyright INRIA
if type(a)==10 then
r=length(a)
els... |
3661d278b8d5aac61349e1bcd58ba00d42bd8033 | 04235b80bb5ac43154dbceab7b2b952b54418bc8 | /planner/irl/entropy/irl2.sce | 2b035448e02796835b4591fdc5d8ff7f697252a8 | [] | no_license | NO2/dmps | 4370cfc08f2796f8776543d5282efc4a997fadad | 9266714e5ffbc9d5f6109baac2da16651ea6fd4d | refs/heads/master | 2021-03-12T21:31:05.322501 | 2015-03-11T14:43:30 | 2015-03-11T14:43:30 | 32,451,046 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,050 | sce | irl2.sce | //gen random weights
//get optimal policy
//get new optimal policy , add to set of policies
//--run for n times--
w=rand(ws,1);
//w=[1;1;.1;.07;.3;.03];
w=w/norm(w,2);
lmd=0.9;
//ws,ns have size
//pls=cell();
//pls(1).entries=qlearn(w);
for ns=1:20
//compute Da
// z1s=zeros((gsize+2),3*gsize,3*gsize);
// //... |
44e174ef81f1a37f9415482aa052669884411147 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH14/EX14.21/108ex4.sce | c0069ef8fa3a66edd4be2d32cac7a581db02de15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | 108ex4.sce |
//factorize (a+b)^2 - (c-a)^2
clear;
clc;
close;
//using the formula, a^2-b^2=(a+b)(a-b)
val=string('(b+c)(2a+b-c)')
|
3ebd0d296d7e02f97cd442054e8922a85841a4cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH16/EX16.5/Chap16_Ex5.sce | 19b0b730b8e39829ade4caebcc3b94f8db4bb062 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,663 | sce | Chap16_Ex5.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-16, Example 5, Page 425
//Title: Solvent Recovery from Polymer Particles
//==========================================================================================================
clear
clc
/... |
8975d0564928f43e6ccc40c5df1f9130f02fb3ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH21/EX21.2/Ex21_2.sce | 70a84a213e05aef86208302956b9b2c6ea53632c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 106 | sce | Ex21_2.sce | clc;
close();
clear();
//page no 644
//prob no. 21.2
mprintf('The percentage is %.0f ',483/525*100)
|
00a737808430d8dcfe67ce30df68fa5115f7e93f | 352a2b6c7e8e0fbc76f9dacb222075df0cc1bbc6 | /TP3/generateMarkovSeq.sci | 3ac65ad3f2493f727e49a5083213c611d4603a06 | [] | no_license | BenFradet/RO05 | 443dd2807b521eefdd65ff901d25b46bce8a0838 | 0aa5855de282bfccacae999536f1424a303ca72e | refs/heads/master | 2020-06-06T17:45:47.138916 | 2014-12-18T15:32:12 | 2014-12-18T15:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sci | generateMarkovSeq.sci | // Author: Benjamin Fradet
// To execute with Scilab 5.5.1
function[sequence] = generateMarkovSeq(transitionMatrix, ...
initialProbs, ...
seqLength)
sequence = zeros(1:seqLength);
// Cloudy = 1
// Rain = 2
// Snow = 3
//... |
b4878b6401b315dba158267cd298ef015f4f9bca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH1/EX1.1/chapter1_1.sce | 20f2f5e5d230c0bad00c70a6622149303c03ddf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | chapter1_1.sce | //example1.1
clc
disp("From the give waveform,")
s=100/2
disp(s,"For 0<t<2, i(t) is a straight line slope=")
disp("Therefore i(t)=50t and di(t)/dt=50 .. 0<t<2")
disp("For 2<t<4, i(t)=100 and di(t)/dt=0")
s=(-100)/2
disp(s,"For 4<t<6, i(t) is a straight line slope = ")
disp("Therefore, i(t)= -50t and di(... |
d26615a7646d37b1bd45722943e824c17cb56a5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH4/EX4.7/Ex4_7.sce | e50fc587f8d898ac38bcdf0e87823f2fe32720d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_7.sce | clear
//
//Initilization of Variables
F=12 //KN //Force at End of beam
L=2 //m //span
//Square section
b=200 //mm //Width and depth of beam
d=200
//Rectangular section
b1=150 //mm //Width
d1=300 //mm //Depth
//Calculations
//Max bending Moment
M=F*L*10**6 //N-mm
//M=sigma*b*d**2
sigma=M*6*(b*d**2)**-1 //N/mm**... |
1037fdb5362be6a6f8ea30744503d2079bc13a9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH9/EX9.2/Ex9_2.sce | 4b843b981f47a15ccbfadf5f45d8aafb2e335b97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sce | Ex9_2.sce | //Example 9.2: Reduction of state table
clc // Clears the console
disp("Given State Table")
disp("q | x=0 x=1 | z")
disp('--------------------------------')
disp("A | B D | 1")
disp("B | D F | 1")
disp("C | D A | 0")
disp("D | D ... |
9b36db20677d5ded4ab8fcf859fa76ef28483eb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH2/EX2.14/Ex2_14.sce | 0ae8013b4c97875aa565d5f54ded277b2e95228c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 980 | sce | Ex2_14.sce | // Example No. 2.14
// To calculate the lower limit on the transmitter power in dBm and mW units.
// Page No. 83
clc;
clear;
// Given data
l=80; // Length of fiber in km
F1=-0.2*l; // Fiber loss in dB
F2=-0.5; ... |
af310476d879e6892b8896446353c96f1a04b42b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH8/EX8.7/ex8_7.sce | cda45102b5e84ff52ace27bcb55953eddbd91ec5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | ex8_7.sce | // Exa 8.7
clc;
clear;
close;
// Given data
V_GS = -2;// in V
V_P = -5;// in V
V_DS = V_GS-V_P;// in V
I_DSS = 8;// in mA
disp(V_DS,"The minimum value of V_DS in V is");
I_D = I_DSS*((1-(V_GS/V_P))^2);// in mA
disp(I_D,"The drain current in mA is");
|
580c7c540c2c0a5fb6c0cf9d9d34bd7ca53faf53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH17/EX17.4/P4_compound_gear_train.sce | 783f42fde94990d70e9a3230e5d61cc1879d6529 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,569 | sce | P4_compound_gear_train.sce | clc
//Example 17.4
//Compound gear train
//------------------------------------------------------------------------------
//Given data
//power
P=10000 //W
//speed
n=1440 //rpm
w=(2*%pi*n)/60 //rad/s
//Number of teeth
Na=25
Nb=100
Nc=30
Nd=150
//modules
ma=5 //mm
mb=ma
mc=6.5 //mm
md=mc
//pressur... |
677fce292801958560b5f0a75e259605202c8b8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.16/Ex6_16.sce | 624a5a7969e87db287aec0a92a134b59c095af74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | Ex6_16.sce | clear;
clc;
printf("\t\t\tProblem Number 6.16\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.16 (page no. 260)
// Solution
//data
cp=0.24; //Specific heat at constant pressure //Btu/lbm*R
p2=15; //psia //final pressure
p1=100; //psia //initial pressure
T2=460+0; //absolute final temperature //unit:R
... |
a40019d6f68fa17a6b10bb6dcf7a1f808854da81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH12/EX12.11/Ex12_11.sce | 1d98f65ebdce4b94ac4acefa7cd3de765a4dbf43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | Ex12_11.sce | clc
clear
printf("Example 12.11 | Page number 437 \n\n");
//Find standard delta_H for reaction
//Given Data
//Formation Enthalpies
hf_CO2 = -393510 //kJ/kmol
hf_H2O = -285838 //kJ/kmol
hf_C3H8 = -104680 //kJ/kmol
hf_O2 = 0 //kJ/kmol
//Solution
Hp = 3*hf_CO2 + 4*hf_H2O
Hr = hf_C3H8 + 5*hf_O2
deltaH_std =... |
10eb005df003991a7621b8b53bead3efd91a5789 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH11/EX11.3/Chapter11_Example3.sce | f62fdc82ca09bc47a554b3cf5800dc2a0fe6efec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,155 | sce | Chapter11_Example3.sce | //Chapter-11, Example 11.3, Page 481
//=============================================================================
clc
clear
//INPUT DATA
D=0.0016;//Diameter of the wire in m
T=255;//Temperature difference in degree C
p1=957.9;//Density of liquid in kg/m^3
Cpl=4640;//Specific heat in J/kg.K
u=(18.6*10^-6);... |
d133c655a2fdf9c8667b3417f761b19b05ad4168 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH8/EX8.9/Ex8_9.sce | 3b9f40bebededa074c56b5eab2b1f36480aa06ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sce | Ex8_9.sce | // Example 8_9
clc;funcprot(0);
// Given data
P_1=10;// kPa
P_2=2;// MPa
T_3=600;// °C
n_T=80/100;// The efficiency of the turbine
// Calculation
// From the steam tables we find
h_2=192;// kJ/kg
h_1=h_2;// kJ/kg
h_3=3690;// kJ/kg
s_3=7.7032;// kJ/kg.K
s_4a=s_3;// kJ/kg.K
s_f4a=0.6491;// kJ/kg.K
s_fg4a... |
8bc419d2b87c056e0372f75d39b21cfbb681e891 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH21/EX21.7/Ex21_7.sce | 1c1a93ca084db4464c030a8ab44a188db708fbbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 768 | sce | Ex21_7.sce | //Chapter 21: Antenna Measurements
//Example 21-5.2
clc;
//Variable Initialization
f = 1.4e9 //Frequency (Hz)
Tant = 687 //Increase in antenna temperature (K)
phy_ap = 2210 //Physical aperture (m^2)
S = 1590 //Flux density of Cygnus A (Jy)
k = 1.38e-23 //Boltzmann's constant (J/k)
c = 3e8 ... |
58d2e643be7ab2070b5dbae54ddfb10db4c22124 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test2-14.tst | ff245eaa8755b031387e0794d728d4d5b56703a4 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | tst | test2-14.tst | main
procedure rec(n);
{
if n == 0 then return fi;
call outputnum(n);
call rec(n - 1)
};
{
call rec(8)
}.
|
75a51488c809be3db66b23386de2ae9e2bdb0e6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.18/Ex34_18.sce | 6e52126e5246efcfdc54df7659e6802c44a2ce0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,252 | sce | Ex34_18.sce | // Example 34_18
clc;funcprot(0);
//Given data
MD=80;// Maximum demand in MW
F_l=35/100;// Load factor
E_s=120*10^6;// Energy supplied by steam plant in kWh/year
MD_s=50;// Maximum load in MW
CC_s=18000;// Capital cost of steam plant in Rs./ kW installed
CC_h=30000;// Capital cost of hydro plant in Rs./ kW inst... |
2b192dade5eba6fc4a71d6f5a639d9c6f6f15957 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH11/EX11.14/Ex11_14.sce | f4286bc107f172f99a09b76310b1309b72cfe892 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | Ex11_14.sce | // Example 11_14
clc;funcprot(0);
// Given data
V=0.100;// m^3
p=20.0;// MPa
m=15.6;// kg
T=1000;// °C
// Solution
// From Table C.12b, we find the critical state properties of methane to be
T_c=191.1;// K
p_c=4.64;// MPa
v=V/m;// m^3/kg
v_1=v;// m^3/kg
v_2=v_1;// m^3/kg
// Table C.13b, gives the gas co... |
bd0b4944fdbc6319ae446ce03b2bb512c47168c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH3/EX3.4/3_4.sce | e2b58d172d39c254f5a871e40f62b91194bb3b03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | 3_4.sce | clc
//initialization of variables
P=80 //lb/in^2
T=120+460 //R
R=53.3 //ft-lb/lbmR
//calculations
disp("From table 6,")
h=138.66 //B/lbm
P=P*144 //lb/ft^2
v=R*T/P
//results
printf("Specific volume = %.2f ft^3/lbm",v)
|
2823970500b3bcb74239059eea4e5b32f947b4cf | 056ed76220ca4df1acf2aab1cf2909fae03bf27e | /experiments/PETRA/ts_forecasting/data_ts_forecasting/DGT_1021.tst | d43afbda7d4facc9965b7a6ccfc45e16a4588338 | [] | no_license | geneura-papers/nowcasting-traffic | 490d7994302cd0574791ce5a40adfc30eb19a102 | 98eaf1be83bc09e0f937ef15269fc442b734a2f9 | refs/heads/master | 2020-12-01T09:00:07.670146 | 2016-09-22T14:28:56 | 2016-09-22T14:28:56 | 67,147,491 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | tst | DGT_1021.tst | 44
36
45
43
32
21
35
32
22
22
20
20
11
18
25
21
18
17
13
18
19
22
28
24
23
27
36
51
58
68
96
108
100
101
125
88
98
123
141
152
176
190
189
242
258
281
276
295
323
275
271
293
264
249
245
218
205
187
168
132
137
143
133
106
123
156
162
152
153
169
160
177
157
165
146
142
130
142
144
118
113
97
98
90
71
71
69
63
48
52
46... |
3034023afac2588878e08b2a60234a777b618dcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH6/EX6.11/Example611.sce | 0ca05d9001383cbc007c9389a71116f654b5e2ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,002 | sce | Example611.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 6, Example 11")
disp("Velocity triangles for this problem are shown in Fig.Ex611")
disp("From the triangle ACD,")
C1 = 700;
alpha1 = ... |
5f6565ae2160d9119c3128c064663cd645f9bedb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH2/EX2.17/Ex2_17.sce | 36df9be0ffcf302c9bcc45a375b78299b386ff76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Ex2_17.sce | clc
// from figure 2.75 (a)
r1 = 30 // radius in mm
t = 10 // thickness in mm
h1 = 300 // height in mm
ir1 = r1-t // inner radius of bends in mm
L1 = h1-(ir1+t) // mm
alpha1 = 90 // degree
r2 = 2*t // mm
k = 0.33*t // mm
L2 = alpha1*2*%pi*(r2+k)/360 // mm
w = 200 // mm
L3 = w-2*(t+ir1)// mm
L4 = L2 //mm
h... |
2cd474e9fdae51c4166a4f96e0f5e6940cf5c795 | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/pyrMeanShiftFiltering.sci | ae90a8f8d1510f73638fdb1ac5b347929265536d | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 2,782 | sci | pyrMeanShiftFiltering.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
fef4c9f59508db44ccd89000869de53b982357ec | 11b48ab2e0fbc782931cc1162673a725c914a3ee | /M2/M3DA/Mecanique/Fichiers/Fichiers/TestInterpolationTriangle.sce | f97a7a1fb32582a9742102f73ddb8f57358744af | [] | no_license | naitabdelaziz/M2 | 1fcaa366c5993e6a879af49b40d43d32d1c2387b | c88aba0ae384c804c74e136e8c831b25032c4d0a | refs/heads/master | 2020-06-11T19:40:05.884042 | 2014-11-01T11:56:17 | 2014-11-01T11:56:17 | 26,049,488 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | sce | TestInterpolationTriangle.sce | getd();
/// définition de la géométrie
P1=[0;0;0];
P2=[10;0;0];
P3=[5;6.6;0];
/// définition de la topologie
t1 = [1;2;3];
/// tableaux
noeuds=[P1 P2 P3];
elements=[t1];
/// On suppose qu'on connait le déplacement aux noeuds
U1=[5;1.5;0];
U2=[4.5;-0.3;0];
U3=[5.3;1.2;0];
U_noeuds = [U1 U2 U3];
... |
da23c4725d5636efb067ab46e6021330cd5c92d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH14/EX14.6/Example_14_6.sce | f7ac46d6d6ee099d69d792a9ced87a6ada8f1ea5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,408 | sce | Example_14_6.sce | //Chemical Engineering Thermodynamics
//Chapter 14
//Thermodynamics of Chemical Reactions
//Example 14.6
clear;
clc;
//Given
//SO2 + (1/2)O2 - SO3
//Basis: 1 Kgmole of SO2
n_SO2 = 1;// SO2 fed in Kgmole
//From table 14.1 (page no 301)
//alpha values for the following components are given as
a_SO2 = 7.116;
a_O2 = 6.14... |
b97a7a789f199e7f72ca0db95b27d58db5a2c88a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.47/Ex1_47.sce | 14f7c7ce90eb3fe3ba5d548b0240bf973e999797 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_47.sce | // Ex 47 Page 391
clc;clear;close;
// Given
V=500;//V
ns=60;//slots
nc=20;//conductor/slot
ra=1.31;//ohm
Tmax=218;//N-m
fi=23*10**-3;//Wb
Tmin=Tmax/1.5//N-m
Z=ns*nc;//no of conductors
Ia=Tmax/(.159*fi*Z);//A
Imax=1.5*Ia;//A
I1=Imax;//A
I2=Ia;//A
R1=V/I1;//ohm
n= log(R1/ra)/log(I1/I2)+1;//no of studs
N=n-1;//no of sec... |
dee9570756af9e37f8115b588b460d04dd0aec57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH5/EX5.15/Ex5_15.sce | e551c210868f0b325c3a19dcc0ae5f505b0dcc6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | Ex5_15.sce | clc
//initialization of new variables
clear
D=1 //m
alpha=0.5 //degrees
n=0.012
//calculations
R=D/2
theta = 1:1:180;
R_h = 0.5*R - (45*R/%pi)*(sin(2*theta*%pi/180))./(theta*180/%pi);
Z = R*(1-cos(theta*%pi/180));
U_av = (1/n)*(R_h^(2/3))*sqrt(tan(alpha));
Q = U_av*%pi*R^2 .*(theta*180/%pi) - (0.5*R^2)*... |
fb684c6c67638f56c24e3dec7f26607e314e3b1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH5/EX5.12/5_12.sce | b1ec6b0018ed619d92d3ce185569e68f0ad6eacc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | 5_12.sce | clear all; clc;
disp("Ex 5_12")
disp("Refer to the free body diagram is as shown from fig 5-23a")
|
1729b42e9ce1b2fc6b98b7f070afb04a8c61f723 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH23/EX23.20/Ex23_20.sce | c6224e7e57bc47a374f1b25ec36542bb36953e68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | sce | Ex23_20.sce |
V=400//phase voltage applied to motor
//when started directly on line
Iph=25//phase current
Il=sqrt(3)*Iph
mprintf("Line current drawn by the motor when started directly on line=%f A\n",Il)
//when started with auto-transformer starter with a tapping percent of 60 percent
Vl=.6*V//line voltage
Vph=Vl//phase vol... |
13198c6f7739b1c9c7cfbc6d999d41ba4553be88 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/conj.man.tst | 2a463909202ff7560a2081edb6d1824ecca51861 | [
"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 | 87 | tst | conj.man.tst | clear;lines(0);
x=[1+%i,-%i;%i,2*%i];
conj(x)
x'-conj(x) //x' is conjugate transpose
|
eac435bcd201f434b403b28b0261ce2e7d60bc06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH4/EX4.1/Ex4_1.sce | e36dc8d13660b6db9586be76e91ebc7fe24b35ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | Ex4_1.sce |
// Variable Declaration
l = 10.0 //Length of 1-phase line(km)
d = 100.0 //Spacing b/w conductors(cm)
r = 0.3 //Radius(cm)
u_r_1 = 1.0 //Relative permeability of copper
u_r_2 = 100.0 //Relative permeability of steel
// Calculation Section
r_1 = 0.7788*r //Radius o... |
b200af561bb637916d56fd17fedbf41d99f3d447 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Astronomy/Earth/_SUB/_Figure.SCI | 5af205d3208f04127c6a6710ef34c95a47f7f5b7 | [
"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 | 2,500 | sci | _Figure.SCI | function CreateFigure(figframe,figsize)
{
bl=Blob;
r2=0.3;
bl.AddSphere(point(0,0,0.95),0.2,0.3);
bl.AddSegment(point(0,0,0),point(0,0,1),0.23,r2+0.03);
bl.AddSegment(point(0.22,0,-1),point(0.15,0,0.5),0.2,r2);
bl.AddSegment(point(-0.22,0,-1),point(-0.15,0,0.5),0.2,r2);
bl.AddSegment(point(0.26,0,0... |
f7029addaa480d7b2ad316674a6bcfe9d36f8c0b | 8c8c1ab38e21729879e1fb57636eb778aaf88ca5 | /singular_fun.sce | 72d9d4766197b6f51c95686aefdf11904e363261 | [] | no_license | Rutvik1999/Scilab_3rdSemester | 3b9454b18220ed503e7129bf77a797feecd8f039 | 12342f90814f64e86398621be3070d5569388634 | refs/heads/master | 2020-05-18T08:21:10.203092 | 2019-04-30T16:03:59 | 2019-04-30T16:03:59 | 184,292,298 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | singular_fun.sce | function [ n , xn] = singular_fun(wave_type , start_index , end_index , del_adv)
n = start_index:end_index;
select wave_type
case "unit_impulse" then
xn = [zeros(1,abs(start_index) + del_adv) , 1 , zeros(1 , end_index - del_adv)];
case "unit_step" then
xn = [zeros(1,abs(start_index... |
4b544d7d787787e109d730af5766419ce7730b40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH12/EX12.11/Ex12_11.sce | b87b81fc7a10d8e0353d40c7c6a1154376d9e6bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Ex12_11.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 12 Modulation and Demodulation Pg no. 394
clear;
clc;
//Given
df=75D3;//maximum frequency deviation
fm=20D3;//frequency of modulating wave in hertz
//Solution
BW=2*(df+fm);//bandwidth for FM wave
printf("Bandwidth required in FM wave transmission B = %d k... |
bac6e928c7d24333ef42bea72fc6ccbd64153750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH8/EX8.1/Ex8_1.sce | 40c773e172d7304bca4c443f01404ab96931034b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | Ex8_1.sce | clear
//
//
//
//Variable declaration
ni=2.5*10^19; //concentration(per m^3)
d=4.4*10^28; //density(per m^3)
n=4*10^8; //number of Ge atoms
//Calculation
Na=d/n; //density of acceptor atoms
np=ni^2/Na;
npbyni=np/ni; //ratio of density of electrons
//Result
printf("\n ratio of... |
e8bbae2b3f5fb07f13ba3757065407434fc2c6e9 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/inctest_runme.sci | 21f846cfa3bb1bb462b4b90d15d8f940f5a194e4 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | inctest_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:3aebda76b1eb96865d877d23d0e7a2889cd827d5c734443ebe195bb1ccc9eab8
size 442
|
4b079be2fe2e8d5c1a9fa96a5e44f867b88b69a8 | d2a5574815b39edae71d65cd05e725b94523d4b1 | /projects/05/InstructionDecoder.tst | f0116bccca6fc03223221e1c08a82c00110d4db6 | [] | no_license | SuperTigerPlusPlus/Nand2Tetris | 805714c5b09be75635aab347c38631a39a11ba85 | 62abb4771cf0b0c7d9edc2fd0231efb50c4dee12 | refs/heads/master | 2020-03-27T17:10:43.931416 | 2016-10-03T20:55:31 | 2016-10-03T20:55:31 | 63,277,050 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | tst | InstructionDecoder.tst | load InstructionDecoder.hdl,
output-file InstructionDecoder.out,
compare-to InstructionDecoder.cmp,
output-list c%B1.6.1 outA%B1.9.1 outB%B1.9.1;
set c %B101010,
eval,
output;
set c %B111111,
eval,
output;
set c %B111010,
eval,
output;
set c %B001100,
eval,
output;
set c %B110000,
eval,
output;
set c %B001101,
ev... |
c3de9e44d1e77e42e748b2a45f8fc286835cfc09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH15/EX15.4/15_4.sce | a37f83f80bf0bc997128df7e3674bee808b42d36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | 15_4.sce | clc;
clear;
Mt=2000;//kg
g=9.8;//m/s^2
c0=200;//$
c1=56;//$/m
c2=0.1;//$/m^2
vc=20;//m/s
kc=3;//kg/(s*m^2)
z0=500;//m
t=27;
r=2.943652;
n=6;
A=2*%pi*r*r;
l=(2^0.5)*r;
c=3*A;
m=Mt/n;
function y=f(t)
y=(z0+g*m*m/(c*c)*(1-exp(-c*t/m)))*c/(g*m);
endfunction
while abs(f(t)-t)>0.00001
t... |
4cd763beec02fcffa0bfe12374f1ad729abada4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH7/EX7.3/Ex7_3.sce | 21e0a708749f88e3300baa2cd7f95f298d1205a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex7_3.sce | clear;
clc;
disp('Example 7.3');
// aim : To determine
// the specific entropy of steam
// Given values
P = 1.5;//pressure,[MN/m^2]
T = 273+300;//temperature,[K]
// solution
// (a)
// from steam table
cpl = 4.187;// [kJ/kg K]
Tf = 471.3;// [K]
hfg = 1946;// [kJ/kg]
cpv = 2.093;// [kJ/kg ... |
fbd2db1f65e14226a9d3f9c5d82a63c5c8675f48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH1/EX1.1/1_1.sce | afa4ec19579015c0e358ced3dacc9c900be6d687 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,752 | sce | 1_1.sce | //All the quantities are in SI units
M_inf = 2; //freestream mach number
p_inf = 101000; //freestream static pressure
rho_inf = 1.23; //freestream density
T_inf = 288; //freestream temperature
R = 287; //gas constant of air
a = 5; //angle of wedge in degrees
p_upper = 131000; //pressure on upper surface
p_lower... |
c16065d9ed8cceaa2ff99a30d029da52edb933ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH3/EX3.6/3_6.sce | 838d94f3c3faa23e788eb9162147cea95d5d640f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | 3_6.sce | clc
//initialisation of variables
sm= 13.6
so= 0.8
di= 8 //in
dt= 4 //in
K= 0.98
v= 1//ft
g= 32.2 //ft/sec^2
//CALCULATIONS
s= sm/so
dp= v*12*(s-1)/12
A= %pi*(di/12)^2/4
At= %pi*(dt/12)^2/4
C= A*sqrt(2*g)/(sqrt((A/At)^2-1))
Q= C*sqrt(v*12+dt)*K
//RESULTS
printf ('Discharge passing through the pipe= %.... |
74b74493629702b19de1652ad5d979dc977ea8d3 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/scilab/pointer/runme.sci | 3400ab3e5d8074243670cd06cc2c1d140c6c2aa1 | [
"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 | 1,054 | sci | runme.sci | lines(0);
ilib_verbose(0);
ierr = exec('loader.sce', 'errcatch');
if ierr <> 0 then
disp(lasterror());
exit(ierr);
end
// First create some objects using the pointer library.
printf("Testing the pointer library\n")
a = new_intp();
b = new_intp();
c = new_intp(); // Memory for result
intp_assign(a, 37);
intp_assig... |
25a7c2c2b58aa0e219f4f5b2ce33ade61f098ad6 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/fmuls.instr.tst | 6183960a04c616b29d8f6aaf5d754230c28946e0 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | tst | fmuls.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000020 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000054 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x80 0x03 fmuls r16, r16
0x2: 0x90 0x03 ... |
1196ffbf5f73f857af8225e98c15d3951b006b42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH9/EX9.17/9_17.sce | 4eb5f2e39accb0b30876c2a4e3ad36d73061d46c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_17.sce | //Example 9.17
//Particular Solution
//Page no. 298
clc;clear;close;
x=poly(0,'x')
n=2;
f=x^(n)-3*x^(n-1)+2*x^(n-2);
z=roots(f)
disp(z,f)
printf('\t\t n\nC.F. = (c1+n*c2) (%g)',z(1))
A=[-4,0;2,-2];
B=[2;0];
C=inv(A)*B;
printf('\n\n\t 2\nP.I = (%g)n+(%g)n',C(1),C(2)) |
d9d8c3e59bcc903f6b56a009e1487d29bd19895b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH4/EX4.13/Example_13.sce | f47b7d766470475a8e2d8cd15ce68abd3f287624 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | Example_13.sce | //Chapter-4,Example 13,Page 96
clc;
close;
q_rev= 12.19 //latent heat
n= 32 //mols
T= 273-182.9 //temperature in Kelvin
dS= q_rev*n/T
printf('the change of molar entropy is %.2f J/mol',dS)
|
9b0c951dc8e374f153e26574a1c1c15e89fb4cf6 | 717ddeb7e700373742c617a95e25a2376565112c | /1472/CH17/EX17.3.b/17_3b.sce | 00e93490c773ba46d804fed900d3865b33cd7fec | [] | 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 | 605 | sce | 17_3b.sce | clc
//initialization of varaibles
h0=191.81 //B/lb
Pr0=5.526
w=1 //lb/sec
Pratio=0.53
k=1.4
T0=800 //R
cp=0.24
P0=150 //psia
P2=15 //psia
//calculations
Prt=Pratio*Pr0
disp("From keenan and kaye steam tables,")
Pr=2.929
Tts=668 //R
hts=159.9 //B/lb
Vts=sqrt(2*32.2*778*(h0-hts))
vts=53.34*Tts/(Pt*144)
... |
7ab1ad85b68b21ed5cc0982b9ea61d3e91562808 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH6/EX6.29/ex6_29.sce | 1faeb1481b0ce7d01df7c32fd87940b53cb18f99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | ex6_29.sce | // Three-Phase Circuits :example 6.29 :(pg 6.31)
S=10*10^3;
pf=0.342;
x=(S/sqrt(3));
phi=acosd(pf);
W1=x*cosd(30+phi);
W2=x*cosd(30-phi);
printf("\nS=10kVA \npf=0.342 \nS=sqrt(3)*VL*IL");
printf("\nVL*IL=%.f VA",x);
printf("\ncos(phi)=%.3f",pf);
printf("\nphi=%.f degrees",phi);
//(i)when power factor is lead... |
977dcb8e3288bbb0a4736e51ca8914fcad818272 | 333d6160f9a6d9e23a6bea06cd03e5e8fa8785a9 | /RobotLab2/SciLab/LoadSinData.sce | 1c14500a3157e71689634ce8d7f66ef70c73d27f | [
"MIT"
] | permissive | DmitryIo/ROBOTS | 6f6bb12a8e08dd28024136ee1a8a84ea7254da60 | 777f0884a098c4f21d044985c25a8be276334116 | refs/heads/master | 2023-04-30T12:52:54.082977 | 2021-05-17T19:55:34 | 2021-05-17T19:55:34 | 294,091,170 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | LoadSinData.sce | sin1Data = read(get_absolute_file_path("LoadSinData.sce") + "..\Data\sin_log1pi.txt", -1, 2)
sin1Data(:, 1) = sin1Data(:, 1)*%pi/180
sin2Data = read(get_absolute_file_path("LoadSinData.sce") + "..\Data\sin_log2pi.txt", -1, 2)
sin2Data(:, 1) = sin2Data(:, 1)*%pi/180
sin3Data = read(get_absolute_file_path("LoadSinData.... |
936bc5a515af38adc97efbaa2580498d6a3beb5b | 6026fe875fa9c0110c09a7af4fc3aa26baa29995 | /newthonsM.sce | 16dda954923895cf3612bbc28e68b356355df528 | [] | no_license | mektor/numMethodsP1 | a31e8db089be7c00edde92506154585cb14b894f | 407f8b144e8ed1ced701a8dccba076cff059ddbf | refs/heads/master | 2021-01-23T23:20:12.806163 | 2015-09-03T15:36:09 | 2015-09-03T15:36:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | newthonsM.sce | clear()
x1= input("valor de x1: ")
x2 = x1
function y=f(x1)
y=(x1^7)-1000
endfunction
for i = 0:9
x2 = x1-(f(x2)/numderivative(f,x2))
y1 = numderivative(f,x1)
disp(x2,"el valor de"+ string(i)+ " :" )
x1 = x2
end
exec("... |
3ec85638a04c8dffe36b398c3896405716add5d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH14/EX14.1/14_1.sce | dc3002221897a135b8a55f71167de21235edacac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | 14_1.sce | clc
//initialisation of variables
E= 0.232 //v
R= 0.0592
p= 1 //atm
R1= 0.0296
P= 740 //atm
//CALCULATIONS
pH= E/R
pH1= (E-R1*log10(P/760))/R
e= pH1-pH
//RESULTS
printf (' error in pH of solution= %.3f ',e-0.002)
|
67e2a98d7ae87f8fa8499ab85f080384af7d1cb6 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Mixsub.sci | e3e281f3a8119cc134e97c36c6d9e160a6a6c065 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sci | Mixsub.sci | // 08.05.19
// 08.05.20 debugged
// 08.06.02
// Structure changed
// 09.10.11
function M=Mixsub(Rg,PL)
M=list();
N=Mixlength(PL);
for I=Rg
if I>N
return;
end;
M($+1)=PL(I);
end;
endfunction
|
104dd658d0b92fa863be9057960c272d7fb6e15b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH7/EX7.8/EX7_8.sce | eaa342a4faeb44e2fbf62402ece1dd01245bed84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | EX7_8.sce | //EXAMPLE 7-8 PG NO-442
Y11=0.5;
Y21=-0.1;
Z1=0.1;
Z2=0.9;
Z=(Z1*Z2)/(Z1+Z2);
disp('i) Impedance (Z) is in rectangular form = '+string (Z) +'mho ');
I1=10*Z;
disp('ii) Current (I) is in rectangular form = '+string (I1) +'A ');
V11=I1/I1;
disp('i) VOLTA... |
c48b4c7b2f5a55ff4576e00f082e5a301738faea | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH3/EX3.14.c/ex_3_14_c.sce | c3134651fe98460201082a5471c96bf9d7c3c5c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_3_14_c.sce | //example 3.14//
clc
//clears the screen//
clear
//clears all existing variables//
moh=10^-3;
//maximum output HIGH state current//
mol=20*10^-3;
//maximum output LOW state current//
mih=50*10^-6;
//maximum input HIGH state current//
mil=2*10^-3;
//maximum input LOW state current//
a=mol/mil;
b=moh/mih;
... |
b8f30a1dfa41821e097a9d36e7100516f4bf62b4 | 097689cb15f57ed753422489c1129404769b863a | /SSH/chapter03/work/work01/work1_4.tst | 98ecf91f867d54e3dad6d47ea48fb5c7e40b283a | [] | no_license | Beeru4/project | f247ae4a6669ba8b93965c0fa50d2cfe285e1918 | cf12bce4d6d5750f8ff2f748182249724e287a76 | refs/heads/master | 2020-05-15T13:33:40.217444 | 2019-05-17T07:50:21 | 2019-05-17T07:50:21 | 182,304,194 | 0 | 0 | null | null | null | null | GB18030 | Scilab | false | false | 503 | tst | work1_4.tst | PL/SQL Developer Test script 3.0
17
--每次增加100元
-- Created on 2019/3/20 by J.Z
declare
-- Local variables here
var_sal emp.sal%TYPE;
var_moeny emp.sal%TYPE:=0;
begin
-- Test statements here
SELECT SAL INTO var_sal FROM emp WHERE ename = 'SCOTT';
WHILE var_moeny < 10000 LOOP
--工资每次增加100
... |
c666368034f0d6fd16e64b0113985335cb7049b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH2/EX2.18/Ex2_18.sce | d767e2d59b989dc012ff90034681e14d0caee9e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,291 | sce | Ex2_18.sce | //Caption:Find the (a)current supplied by each generator (b)output voltage (c) output KW of each machine
//Exa:2.18
clc;
clear;
close;
V_t1=280;//terminal voltage of generator-1 in volts
V_nl1=240;//no-load voltage of generator-1 in volts
V_t2=300;//terminal voltage of generator-2 in volts
V_nl2=240;//no-load v... |
8010526fb9caf255ed3bc8bf0fb42d65d1143b51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH12/EX12.12/example12_sce.sce | 22c88dc9e3e0f83c56604e1bec7733671273abdb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | example12_sce.sce | //chapter 12
//example 12.11
//page 498
printf("\n")
printf("given")
rs=600;Ie1=1*10^-3;hfe=50;R1=120*10^3;R2=47*10^3;f1=150;Ie2=2*10^-3;R5=3.3*10^3;R3=12*10^3;Rl=100;
re=26*10^-3/Ie1
hie=(1+hfe)*re
Zi=(R1*R2*hie)/(R1*R2+R1*hie+R2*hie)
Xc1=(Zi+rs)/10
C1=1/(2*3.14*f1*Xc1)//use 6*10^-6 as standard value
Xc2=.6... |
b1c44dbdbe5e922b541be9e93e7547d88ad9e13e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH13/EX13.1/Example13_1.sce | d5d0d97ebdc8f62d0ba20501166ea3ed3c1fc409 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,486 | sce | Example13_1.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 13 : SAG AND TENSION ANALYSIS
// EXAMPLE : 13.1 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
c = 1600 ; // Length of conductor in feet
L = 500 ; //... |
9c5bc567322555385fb7a7663efcf733c2075a52 | e176c804d3e82d065a9c9635dad92da21c1483a9 | /missions/A1/mission_a1.sce | 9a2cecd6383e93c6ead1b3e6e9b9eedc7c385f84 | [
"MIT"
] | permissive | Exia-Aix-2016/ExoLife | 38f7d5e54a1fd26333f19d99a8b63f0d64cc4c4c | a88d4bc3b852f8a85b6c8cc0979ced29fb28b751 | refs/heads/master | 2021-09-07T01:47:04.742247 | 2018-02-15T11:57:47 | 2018-02-15T11:57:47 | 120,471,380 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | mission_a1.sce | getd ('../../libs/')
img = readpbm('Encelade_surface.pbm');
xmax = size(img,1);
ymax = size(img,2);
xcoord = 0;
ycoord = 0;
value = 0;
for x=1:xmax
for y=1:ymax
if(img(x,y) >= value) then
value = uint8(img(x,y));
xcoord = x;
ycoord = y;
end
end
end
disp(xco... |
65dfb26d0db04ed361115b8a45d8ad023e4d9fc0 | b667735486117d0c7bb30d616ee6ed37032e947d | /online/labca3_5/documentation/xmlhelp/en_US/lcaGetEnumStrings.sci | 7e80288c4966b6992a069ba27f1ff6936c2e30f8 | [
"EPICS",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KIT-IBPT/MML | 6b8093aec421162c56ada56daa2d43a1b6977e62 | 4ad8cbb61a36a8b145cc6b17e0b5a3a6b4213c26 | refs/heads/master | 2021-08-28T07:39:45.693497 | 2021-08-04T13:14:01 | 2021-08-04T13:14:01 | 226,303,582 | 0 | 0 | null | 2019-12-06T10:28:11 | 2019-12-06T10:28:11 | null | UTF-8 | Scilab | false | false | 1,061 | sci | lcaGetEnumStrings.sci | function lcaGetEnumStrings
// Retrieve the symbolic values of all ENUM states of a number of PVs.
//
// Calling Sequence
//
//enum_states = lcaGetEnumStrings(pvs)
//
// Description
//
// Retrieve the symbolic values of all ENUM states of a number of PVs.
// Some PVs represent a selection of a particular value fro... |
e465b58471d493bf82a5138c69e6cbabd09cc1f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH3/EX3.5/P3_5.sce | 0a949b858507a6d348571532bdb0ee58b188fa05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | P3_5.sce | //EXAMPLE 3.5
//DTFT of unit sample sequence
clc;
clear;
//a=0.5;
n=0:9;
x = [1,zeros(1,9)];
disp(x,'x[n] = ')
K = 4;
k = 0:4/1000:4;
W = k*2*%pi/K;
X = (x)*exp(%i*n'*W);
disp(X,'DTFT,x[n] --> ')
X_mag = abs(X);
X_phase = phasemag(X);//no phase exists
figure(0);
plot2d3(mtlb_fliplr(W),X_mag);
xtitle('Magnitude plot... |
6487e51934f0d58eb61775edf90f75678458833d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH10/EX9.1/EX9_1.sce | e0dbd1cca8b85ee8b2fe799539c54d2fbe8c68cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX9_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 09
// Example No. 9_1
clc; clear;
// Apply Kirchhoff’s current law to solve for the unknown current, I3.
// Given data
I1 = 2.5; // Branch 1 Current=2.5 Amps
I2 = 8; // Branch 2 Current=8 Amps
I4 = 6; // Branch 3 Current=6 Amps
I5 = 9; //... |
cb3366d7b58667af4e977c0653c72aa3551c4e59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH3/EX3.9/q9.sce | ffd040bec15abc0950dfd28e60b7261729405080 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | q9.sce | s=%s;
r=%r;
p=s^5+6*s^4+15*s^3+30*s^2+44*s+24
r=routh_t(p)
m=coeff(p)
l=length(m)
c=0;
for i=1:l
if (r(i,1)<0)
c=c+1;
end
end
if(c>=1)
printf("System is unstable")
else("Sysem is stable")
end
|
aed546404260e419b83425efd77bb43907de0b35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH10/EX10.3/prob_10_3.sce | 092051a596ebd5af26d5b733637d4b19024a691b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | prob_10_3.sce | // page no 438
//problem no 10.3
clc;
m=input("enter the number of faces = ");// m = 6
n=input("enter the number of dice = ");// n = 2
l=m^n ;// j is total number of outcomes = 36
a=input("enter the number which is to be obtained as the sum of dice = ") // a=7
c=0 ; // counter value for favorable outcome
for i... |
9f76c1ce693424c83e0fa2b89f9f521874aac23d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.7.1/Ex8_7.sce | e4a95e05acc74ed7f78a3a25199e38a89eed6b07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sce | Ex8_7.sce | clc
clear
P1=1;
P2=10;
Vs=0.015;
FAD=3;
Vc=Vs*0.06;
n=1.3;
T1=20+273;
IP=[n/(n-1)]*[P1*100*3]*[((P2/P1)^((n-1)/n))-1];
printf('Indicated Power= %2.1f kW',IP/60);
printf('\n');
V4=Vc*[(P2/P1)^(1/n)];
V1=Vs+Vc;
V14=0.0107;
RS=3/V14;
printf('Rotation Speed= %2.0f RPM',RS);
printf('\n');
Tf=288;
Pf... |
0d40f5b214010e9cc492bb1b4a40705afd2b8a6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH17/EX17.5/Ex17_5.sce | 6b6350a43b6a6ec6d02f04e31ceeea5e360357ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Ex17_5.sce | //Example 17.5//
a=1.107;//eV //band gap
b=2;//eV //given
c=0.1;//eV //Fermi level shifted upward
E=(a/b)-c
mprintf("E = %f eV",E)
k=86.2*10^-6;//eV k^-1//Boltazmann constant
T=298;//K //Temperature
fE=1/((%e^(E/(k*T)))+1)
mprintf("\nfE = %e ",fE)
|
766998696c55aead3418d5eba47adf0cfb751549 | 3aecc0a856e5ab896077f26d338574613e42a223 | /src/19.eventi-discreti_farmacia.sci | 19e63633b456b60479c8d591577c5698b7a8fb05 | [] | no_license | wmotti/simulation | 9ebed2818f83a1ba864399ee3dc664e5303e3983 | ec4cce2ce180f947edf0ed9f501799d06b8a0416 | refs/heads/master | 2020-03-28T08:10:23.668854 | 2018-09-08T16:14:42 | 2018-09-08T16:14:42 | 147,949,219 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,504 | sci | 19.eventi-discreti_farmacia.sci | function [y] = generaTempo()
lambda = .2;
y= -1/lambda * log(grand(1,1,'def'));
endfunction
function [y] = generaServizio()
mu = .5;
sigma = .1;
y = mu + sigma * (sum(grand(12,1,'def')) - 6);
endfunction
Tmax = 10;
function [A,D,Tp] = simulaCoda()
tc = 0; // tempo corrente
NA = 0; ... |
9073a9dcbcbf7ee27d5e42197fd6d56998fc4a4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH13/EX13.1.7/example13_7.sce | c644064e0f5e72fd7ddf82b24f9b645913a5dacd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example13_7.sce |
//exapple 13.6
clc; funcprot(0);
// Initialization of Variable
b=4.46*10^4;
c=1.98*10^4;
s=0;
function[a]=intregrate()
s=0;
for i=1:10889
d=linspace(0,10000,10889);
y=(1-exp(-b*d(i))*c*(1-exp(-c*d(i))))*0.69;;
s=s+y;
end
a=y;
endfunction
a=intregrate... |
d0b3425a1e1808e05b9854fc3db756e0af8a5d12 | 3b68afeab7136e24e06dfb8b19290e206726ae55 | /2013/Investigating the Limits of Monte Carlo Tree Search Methods in Computer Go/experiments/test files/seki/seki_moves.tst | 0a307cc8fe0ffbd5126cd1788063bfcaf2372351 | [] | no_license | AbhishekYMCA/papers | 7719245f720ba5e0cb3545544b8e806f5a50c9cf | babc9fe07190401b33dd622f3861d1a6f08345b8 | refs/heads/master | 2021-07-19T14:35:59.029459 | 2017-10-29T06:33:28 | 2017-10-29T06:33:28 | 108,710,966 | 0 | 0 | null | 2017-10-29T06:32:20 | 2017-10-29T06:32:20 | null | UTF-8 | Scilab | false | false | 2,439 | tst | seki_moves.tst |
#-----------------------------------------------------------------------------
# Position evaluation tests involving seki on the 9x9 board.
# All these positions are win for white so the uct_value should be high.
#-----------------------------------------------------------------------------
#-------------------... |
59eee200d0a9f6743fcb156d7751a5f3902b567f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH7/EX7.2/ex7_2.sce | 4edcae2c7141934aa333e306aea77c734f7f2181 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | ex7_2.sce | // Exa 7.2
clc;
clear;
close;
format('v',6)
// Given data
I_DSS = 30;// in mA
V_GSoff = -8;// in V
V_GS = -5;// in V
// The value of drain current
I_D = I_DSS * ((1-(V_GS/V_GSoff))^2);// in mA
disp(I_D,"The value of drain current in mA is");
|
233df1f292b384c84ba40197d00d1f40fa507160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH11/EX11.3.1/ex_11_3_1.sce | 7350684c5dbb25c6d3f70698b968f5c9df98aec4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | ex_11_3_1.sce | //Example 11.3.1 // percentage of the reading and percentage of full scale
clc;
clear;
close;
//given data :
a=10;//scale reading
b=70;// full scale
error1=-(0.5/10)*100;
disp("step 1")
disp(error1,"error of reading in %")
error2=-(0.5/100)*100;
disp(error2,"error of full scale in %")
disp("step 2")
error3=(2.5/70)*100... |
bba27adbaae928c55a5b69cfe8a25e64347c5198 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH1/EX1.4/ex_1_4.sce | 56b51f9f49b8f273fa04fef943bc2edaf355b040 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | ex_1_4.sce | // Example 1.3: standard resistor
clc, clear
vf=1.8; // in volts
if=16*10^-3; // in ampere
vo=8; // in volts
rs=(vo-vf)/if; // resistor in ohm
disp(rs,"standard resistor (ohm) = ")
|
6742cd8ade1f1fd00fedd02a889ad6d14d9148b9 | 9aa95a74bbb2cde53d49cfbeb529fe858781b85c | /euler's.sce | ebfab61ae883c35bb5be0c68ae3677fbf2192c37 | [] | no_license | Killer2499/Scilab | 020807deb4ea75743af080761b65be086d05d491 | 322a592dcccad58dab48bcf52411aa5b26fcb8ff | refs/heads/master | 2020-03-10T09:08:15.979283 | 2018-04-12T19:57:09 | 2018-04-12T19:57:09 | 129,303,189 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | euler's.sce | function euler(x0,y0,xn,h)
while(x0<=xn)
printf("%f \t %f \t", x0,y0);
y1= y0 +h*((y0-x0)/(y0+x0));
x0=x0+h;
y0 =y1;
end
disp(y1);
endfunction
|
9874ee84b5cd36f56d9c9e4c02e6701e5b3a3707 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/examples/misc-examples/ode2.sce | 7dbd440aa3f2c763f54619ecd441bc74dc0883ac | [
"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,193 | sce | ode2.sce | //Copyright INRIA
Eps =1.e-5
// Example of use of ode function:
// System to solve:
// dy1/dt = -0.04*y1 + 1.e4*y2*y3
// dy2/dt = 0.04*y1 - 1.e4*y2*y3 - 3.e7*y2**2
// dy3/dt = 3.e7*y2**2
// on the interval from t = 0.0 to t = 4.e10, with initial conditions
// y1 = 1.0, y2 = y3 = 0. the problem is s... |
a4a0762de245b257563d45cdfb3e0cfb648a1758 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/functions/pmgei_method/method/ged_GT2.sci | 453d9835b21589b4cd13d65154ab968833262807 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,062 | sci | ged_GT2.sci | function [avti_gt_mt, avti_gt_nt, op_gt_mt, op_gt_nt, ge_gt_delete_mt, ge_gt_delete_nt, ge_gt_delete_low] = global_test2(Q_mt, Q_nt, gamaMeasuremts, gamaNodal, runsize, rj, jac_col, jac_row)
// GLOBAL TEST MEASUREMENT ERRORS
//Q=0.1;
P=1-Q_mt;
xchi=cdfchi("X",rj,P,Q_mt);
printf('xchi MT: %f \n', xch... |
16cb28687bcd877e96405c3adf5d0f3520bda7dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH7/EX7.7/ex7_7.sce | ba89b27081b2cee07be5f61264e472ac81b19581 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_7.sce | //ex7.6
I_D=6.25*10^-3;
V_GS=-5;
R_G=abs((V_GS/I_D))
disp(R_G,'Gate resistance in Ohms') |
199ba06ef8b5a9d3dc2698a13bffe8e9b4caa800 | b33bf6a1dd26121f3715caabe9c7062b26de7314 | /src/knn.sci | cb71e294242017f2b3e36cb9368916bf39f699f3 | [
"MIT"
] | permissive | paulopieczarka/pdi-classificador | 869181605660f5df668c84086bd78a82e73d4336 | 9d247f66d0e2488743e5177d168606fe1fd8dd6d | refs/heads/master | 2020-03-15T11:54:32.580686 | 2018-06-08T04:21:57 | 2018-06-08T04:21:57 | 132,131,771 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,931 | sci | knn.sci | function distance = euclidianDistance(instance1, instance2, len)
distance = 0
for x = 1:len
distance = distance + (instance1(x) - instance2(x))^2
end
distance = sqrt(distance)
endfunction
function sortedTable = msort(table, sortBy, direction)
len = size(table, 1)
sortedTable = []
[a, h] = gsort(table... |
6eed62c9427dcdd5f85c9986fbd4cf4b7927a28c | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH8/EX8.3.2/Example_8_3_2.sce | 0662cb864cf2ba22cdf83c6da9e28883cb34ae5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,605 | sce | Example_8_3_2.sce | a=10;
b=4;
function xd=linear832(t,x)
xd(1)=a-x(1)-((4*x(1)*x(2))/(1+x(1)^2));
xd(2)=(b*x(1))*(1-(x(2)/(1+x(1)^2)));
//x(dot); x(2) means y.
//y(dot); x(1) means x.;
endfunction
bound=[0,0,4,10]; //Bounds of x-axis and y-axis as [xmin ymin xmax ymax], change t... |
71d65479ee023a84d6e01b6e2facc427b6f008cf | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%r_f_s.sci | 6a6b266ac62a6c54f558e2e41279d2d4d84a2dbc | [
"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 | 126 | sci | %r_f_s.sci | function f=%r_f_s(f,m)
// [f;m] [rational;constant]
//!
// Copyright INRIA
f=rlist([f('num');m],[f('den');ones(m)],f('dt'))
|
3f3dd41aed5eb088d998ea9e070a5c7fe639b4e4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/matrices.man.tst | 6c605ea6960a05f26871d2f59d1532bb70a4610f | [
"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 | 126 | tst | matrices.man.tst | clear;lines(0);
E=[1,2;3,4]
E=[%T,%F;1==1,1~=1]
s=poly(0,'s');E=[s,s^2;1,1+s]
E=[1/s,0;s,1/(s+1)]
E=['A11','A12';'A21','A22']
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.