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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
43a6b86159884353ab01db607e8b155376609745 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/fftfilt/fftfilt8.sce | e7aa81c2bbfbc6d18e46c34f16cb6a58ec7df7c6 | [] | 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 | 334 | sce | fftfilt8.sce | //i/p arg b has complex elements
x=[1 2 3 4 5 6 6];
b=[0.1 2 3 4 5+0.12*%i];
y=fftfilt(b,x);
disp(y);
// column 1 to 2
//
// 0.1 + 1.443D-15i 2.2 - 4.163D-17i
//
// column 3 to 4
//
// 7.3 - 3.331D-16i 16.4 + 9.992D-16i
//
// column 5 to 7
//
// 30.5 - 0.12i 44.6 - 0.24i 5... |
9e58378ae0f8baa7aa78e07fdea80ab21b2b5fc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH13/EX13.7/Ex13_7.sce | 3c51b354c137e1b35736e86df2c8776cdc4826a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Ex13_7.sce | //Chapter 13: Fuel and Combustions
//Problem: 7
clc;
// Solution
wt_O = 2 * 32 / 12.0
wt_a = wt_O * 100 / 23.2
vol_a = wt_a / 28.94 * 22.4
mprintf("Volume of air needed for the complete combustion of 2kg coke is %.3f litres at NTP",vol_a)
|
0edded65373e904ca815c6ebed3067301a708901 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH5/EX5.7/Ex5_7.sce | e70dd95f0bfdc2b7f9a072d477186202646dfdbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | Ex5_7.sce | clc();
clear;
//Given :
lambda = 5890; //Wavelength in A
//(a)Calcite crystal
mu1_o = 1.658;//refractive index for ordinary ray
mu1_e = 1.486;//refractive index for extraordinary ray
t1 = 0.0052 ; //thickness in mm
// 1 A = 1.0*10^-7 mm
alpha1 = ((2*%pi*(mu1_o-mu1_e)*t1)/(lambda*10^-7)); // phase difference in... |
f18fe27e58ebecd78bf87e143e36f7e9de08fdb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH9/EX9.2/Ch09Ex2.sce | ae0c971eaf65c06f3280d236c934bc95b3aa4b75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Ch09Ex2.sce | // Scilab Code Ex9.2 Page:278 (2006)
clc; clear;
H0 = 1970; // Critical field at absolute zero, Oe
T_c = 9.25; // Transition temperature of specimen Nb, Kelvin
T = 4; // Temperature at which destruction of superconductivity is to be found, Kelvin
H_c = H0*[1-(T/T_c)^2]; // Limiting magnetic field, Oe
... |
a97cb2972f5acdb086d9419d76d4e3bf33e4e3cc | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /TF2 Sniper Bounce.sce | 8b651130a24adf5dd72d04de5f0434ef60791277 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32,027 | sce | TF2 Sniper Bounce.sce | Name=TF2 Sniper Bounce
PlayerCharacters=Character Profile
BotCharacters=Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Character Profile
AddedBots=Pigeon.bot;Pigeon.bot;Pigeon.bot;Pigeon.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;... |
0851746dc52e9004e32828e91e1892fb8189e8cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH14/EX14.1/exm14_1.sce | fecdf39bdbbce431f90b939eea5bee4208667a61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | exm14_1.sce | // page no 414
// example no 14.1
// INITIALIZE HYPOTHETICAL CHIP AS OUTPUT BUFFER
clc;
printf('MVI A,01H \n'); // Set D0=1, D1 through D7 are don't care lines.
a=hex2dec(['1']);
b=dec2bin(a,8);
printf('A--> ')
disp(b);
printf('\n \n OUT FFH \n \n'); // write in the control register.
printf('MVI A,BYTE1 \... |
820f66cbaa18fe71f08700afd056d33b85a075b6 | b972a9f3f59e83d23d3b6c8a1e1d81e9af564c7e | /SYS/TP3/tp3t3.tst | d550be7914ae3bc134d11ffd47dfc1690be8da7d | [] | no_license | AmarOk1412/TPS | 7b47c90894de882a9c199d11f968a1b349801bc8 | c50bde184133bf20bafe0ced7feebe8342ffc3c3 | refs/heads/master | 2021-01-01T17:10:55.333202 | 2015-06-05T09:05:05 | 2015-06-05T09:05:05 | 31,963,746 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 54 | tst | tp3t3.tst | l001234567890
l01azertyuiop
c000102c020203c030304
q |
e8c9ee6838ea9849a70f3301dc5cf9702465abad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH5/EX5.1.8/example5_8.sce | 47945281f6757d303bb5826ed23b4615209ad8a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | example5_8.sce |
//exapple 5.8
clc; funcprot(0);
// Initialization of Variable
pi=3.14;
theta=pi/3;
h=1/tan(theta);
B=0.845;
E=0.375;
g=9.81;
//calculation
//part1
//deducing a polynomial(quadratic) in Dc
a=5*h;
b=3*B-4*h*E;
c=-2*E*B;
y=poly([c b a],'x','coeff');
x=roots(y);
disp(x(2),"critical depth in (m):");
... |
5a3b13932f4d136ed8becaefae7813a814f96dbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH3/EX3.12/Ex3_12.sce | 49a0abd28506e6144ac808b63907e498329dbf52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | Ex3_12.sce | clc;
//ex3.12
d=0.001;
q=1.6*10**-19;
ND=10**20;
R=1000;
mun=0.1;
n=ND;//number of free electrons
sigma=q*n*mun;//conductivity
disp('S/m',sigma*1,"sigma=");
a=(1/sigma)*(1/(%pi*(0.001^2)/4));
l=R/a;
disp('mm',l*10**3,"l=");
|
39a63bf9fa477206ff091973abc9f46b77a681e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH10/EX10.21/Chapter10_Example21.sce | c607e8d8ce317e4aa774f4f291a53851f64d1018 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | Chapter10_Example21.sce | //Chapter-10, Example 10.21, Page 434
//=============================================================================
clc
clear
//INPUT DATA
T1=127+273;//Temperature of the outer side of the brick setting in K
T2=50+273;//Temperature of the inside of the steel plate in K
e1=0.6;//Emissivity of steel
e2=0.8;//... |
69ce0b9a1dc0571e5a336a6dc55697148e27d7d9 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH2/EX2.7/Ex2_7.sce | 7b79afc5857da963b5d3418f832b34139e62fe98 | [] | 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 | 215 | sce | Ex2_7.sce | clc
//Initialization of variables
Ws = 1.3 //lb
Fv = 22 //lb
yW = 64.0 // lb/ft^3
yF = 2.0 // lb/ft^3
// Calculations
Vr = (Ws + Fv)/(yW-yF)
//results
printf(" the minimum volume of foam is %.3f ft^3",Vr)
|
b359b77b60914a8f0d58447a2633b1e3fb328bec | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/JY25NGP/ATWM1_Working_Memory_MEG_JY25NGP_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 6feba1037f60e2a2550bf9b0d8706aff0e91dbea | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,383 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
897e14fd4eb4184a3cf33bd36b338fc1e24f2030 | 8d3c087a2901691e2dfc69e29dc8a1f9ba67ed57 | /EEGetMouvementSimple.sce | fac1b1af839874b9bc06876b82b2f8f03e6917db | [] | no_license | EmSavalle/Expe2Simple | a1807cc29ba6120de057ee4cf60146821641f442 | 78fb663aae07eca32c014bafeb8822100e30b8ae | refs/heads/main | 2023-04-03T22:27:02.041471 | 2021-04-20T09:21:20 | 2021-04-20T09:21:20 | 359,751,249 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 38,933 | sce | EEGetMouvementSimple.sce | scenario = "EEGetMouvementSimple";
response_matching = simple_matching;
default_background_color = 255,255,255;
active_buttons =14;
button_codes = 1,2,3,4,5,6,7,8,9,10,11,12,13,14;
#pulse_out = false;
pulse_value = 5;
pulse_width = 20; # if using parallel port
#-----------------Définition des variables---... |
0e2ffdfb90a69d8c560216b586bdcc526334ef40 | c3f30c57c194640b9ce943b27456d4d7bd7a6706 | /exp6/arithmetic_mean.sce | a4c7907e0d8acd80b2dd2317007f56086c7b375b | [] | no_license | dikshitakambri/Image-Processing-Using-Scilab | af7d2f738c271edb0f12c9825b7a044233668f67 | 9cb0a7f2b0ac402c54bd297f28d578a2905c3da8 | refs/heads/master | 2023-04-18T00:11:42.093266 | 2021-04-27T08:23:52 | 2021-04-27T08:23:52 | 362,016,834 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | arithmetic_mean.sce | //Arithmetic Mean Filter
// Dikshita Kambri 118A2044
clc;
clear all;
im = imread("C:\Users\hp\Documents\Image Processing-Scilab\Images\coins.png");
imng=imnoise(im,'gaussian',0,0.01);
imng-double(imng);
[r c]=size(imng);
//zero pad the image
imgpad=zeros (r+2,c+2);
out=zeros(r,c);
outp=zeros(r+2,c+2);
rp=r+2;
cp=c+2;
... |
c4de724e3a323099a028d48e205c9406fb54ffd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH22/EX14.22.8/Ex14_22_8.sce | 6875cc020895c300748dbc51a68a6e27bf5b3943 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | Ex14_22_8.sce | //Section-14,Example-1,Page no.-PC.61
//To find absolute viscosity of liquid.
clc;
d_s=8*10^3 //kg/m^3
d_l=2*10^3 //kg/m^3
r=10^-3 //m
l=0.1 //m
t=20 //s
g=9.8 //m/s^2
n_l=(2*g*r^2*... |
0975398619ba4cb01287534306db5696928ddb73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH12/EX12.1/Ex12_1.sce | cfaf5994f370cb086f767b5aa24cdaaa2bb355db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 928 | sce | Ex12_1.sce | //CHAPTER 12 ILLUSRTATION 1 PAGE NO 310
//TITLE:Balancing of reciprocating of masses
clc
clear
pi=3.141
N=250// speed of the reciprocating engine in rpm
s=18// length of stroke in mm
mR=120// mass of reciprocating parts in kg
m=70// mass of revolving parts in... |
1029f4d59f7d9b571cd2f3ac9774c7104cca4e11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.26/ex4_26.sce | 41abe15af759bbb78258fb76341f946fb456b02f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | ex4_26.sce | // Exa 4.26
clc;
clear;
close;
// Given data
V_CC = 10;// in V
V_BE = 0.7;// in V
R_B = 250;// in kohm
R_B= R_B*10^3;// in ohm
bita = 90;
R_C = 4.7;// in kohm
R_C= R_C*10^3;// in ohm
R_E = 1.2;// in kohm
R_E= R_E*10^3;// in ohm
I_BQ = (V_CC - V_BE)/(R_B + bita*(R_C+R_E));// in A
disp(I_BQ*10^6,"The base ... |
94235a6c55e1db9556cf27c67b7aac6bb37b26c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH10/EX10.3/Ex10_3.sce | 7cf37dc6aad65d5ecf306820662f3c50595154ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | Ex10_3.sce | // Chapter 10 example 3
//------------------------------------------------------------------------------
clc;
clear;
Vr = 150
c = 3*10^8
df1= 10^6;
// Given data
// fd = (2*Vr)/lamda = (2*Vr*f)/c
// for 'Vr' and 'c' as constant(for a given radial velocity,Vr is constant)
// fd = K.f where 'f' is the ope... |
00e2ed6c1e3e5949f85913be15e7cb59b738a62f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH10/EX10.1/Example10_1.sce | 792de019dd3c0c6ca21161330692e1e71660326c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | Example10_1.sce | //Exa 10.1
clc;
clear;
close;
//Given data :
L=200;//m
w=0.7;//kg
T=1400;//kg
S=w*L^2/(8*T);//,m
disp(S,"maximum sag(m) :");
|
da83f64331c74f6854542e66c84897d7bf3205ee | 5c3c77ebd04dfec23026ec2f7fe0be63be48176b | /Assignment_2/Q2_subspaces.sce | dbed2a599efbf50391c01ecfeadd4a657d81a590 | [] | no_license | Jagadish-Rathod/Scilab-Assignment1 | 89248a09ac71d59bb3845d778f53f06f6827d54c | 9b3a9cfda12dff0842c1b1f6e4d816d2360b18ce | refs/heads/master | 2020-12-31T10:23:06.391194 | 2020-04-09T14:43:41 | 2020-04-09T14:43:41 | 238,998,568 | 0 | 2 | null | 2020-03-30T16:46:49 | 2020-02-07T18:38:11 | Scilab | UTF-8 | Scilab | false | false | 973 | sce | Q2_subspaces.sce | clc;clear;close;
function [A]=SubSpaces(A,b)
A = [A b]
disp(A,'A=');
[m,n] = size(A);
[v,pivot]=rref(A);
disp(v);
r = length(pivot);
disp(r,'rank=')
cs = A(:,pivot);
disp(cs,'Column Space=');
ns = kernel(A);
disp(ns,'Null Space=');
rs=v(1:r,:)';
... |
02931b3c96c964b592c69ecc1540bc5308ce1db2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.18/Ex18.sce | 7265c8952cb58f3bd0598b5c2701289e698996e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex18.sce | // Additional solved examples , Example 18 , pg 339
r=1.575 *10^-10 //radius of atom (in m)
a=2*r//lattice constant (for HCP structure) (in m)
c=a*sqrt(8/3) //(in m)
V=(3*sqrt(3)*a^2*c)/2 //volume of unit cell
printf("volume of unit cell(in m^3)\n")
disp(V)
|
d425016a066201cd0b2524f4deb3f269cc689600 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/signal/cheb2mag.sci | 18ebf25c263c0f68f2789e7806aa964e1a361afb | [
"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 | 684 | sci | cheb2mag.sci | function [h2]=cheb2mag(n,omegar,A,sample)
//<h2>=cheb2mag(n,omegar,A,sample)
//Square magnitude response of a type 1 Chebyshev filter
//omegar = stopband edge
//sample = vector of frequencies where the square magnitude
//h2 is desired.
// n :Filter order
// omegar :Cut-off frequency
// A :Attenuation in... |
c7b1731d7f9ac08feec7a87b9aedd4934985bcd2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH7/EX7.8/7_08.sce | 1296af348e393cfac3cfb8db1065b05eabbb2728 | [] | 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 | 422 | sce | 7_08.sce | errcatch(-1,"stop");mode(2);//Chapter 7, Problem 8
;
A=10*10^-4; //cross-sectional area
l=0.2; //mean circumference in meter
phi=0.3*10^-3; //flux
B=phi/A; //flux density
H=1000;
mmf=H*l; //magnetomotive force
... |
2615f91c170ca6ccffa0170b707d763ecafa964e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH12/EX12.e.3/Chapter12_example3.sce | 3faeacb43d4ad8530187af9ea7e10bc773afc004 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | Chapter12_example3.sce | clc
clear
//Input data
R=[4,12,2,12]//Resistances from circuit diagram 12.12 on page no. 177 in ohms
V=12//Voltage in V from circuit diagram 12.12 on page no. 177
//Calculations
Rth=((R(1)+R(3))*R(2))/(R(1)+R(3)+R(2))//Equivalent resistance in ohms
Vth=(V*R(2))/(R(1)+R(3)+R(2))//Equivalent voltage in V
I=(Vth... |
1cbe1533a5dcdd072943d9535a35002ce33f3786 | 099b4b0f30eafd7a0e9eac539caf7578b0e562fd | /Projets/simulation of the temperature evolution in a material/scilab/animFer2D.sce | 92bd5ba6b2deaf2e1d0780f8ca6925df314e19a2 | [] | no_license | Mehdikossir/Projects | 2c60cd6ff0ebbeda17d529d25c10d241a8eaf724 | a43366f4aa11f541b70209ba9778d8547cb8b025 | refs/heads/master | 2021-09-26T13:55:43.208141 | 2021-09-13T21:53:08 | 2021-09-13T21:53:08 | 240,940,996 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | animFer2D.sce | [fd,err] = mopen("fer2d","r")
fer2d = read("fer2d",10100,101)
mclose(fd)
x=[1:1:101]
y=[1:1:101]
for t=0:99
drawlater();
clf()
surf(fer2d(x+(t*101),y))
drawnow();
end
|
684ea1b0e43ec20d949a8cf73d7e7b62572813f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH18/EX18.8/188.sce | eb94df2c2b1e64773f2f27d7bf23890fa8b283e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | 188.sce | clc;
//Example 18.8
//page no 233
printf("\n Example 18.8 page no 233\n\n");
//refer to example no 18.7
rho=1000//density
g=9.807//gravitational acc.
h_f=38.39//head loss
P_rise=rho*g*h_f//pressure rise across the pump
P_rise=475000//in book by mistake this value instead original value
q=0.0126//flow rate fr... |
51bd1794a0a1ba46ce60a8bba13d0575e8d43051 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH6/EX6.21/Ex6_21.sce | 3a36175bec74b2da6e4e3f56913c3d19b4f32774 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | Ex6_21.sce | clc
// initialization of variables
clear
D=5 //cm
d=2 //cm
t_y=3000 //kg/cm^2
// calculations
R=D/2
r=d/2
Tep=2*%pi*R^3*t_y/3-%pi*r^3*t_y/6
t_er=2*Tep/(%pi*R^3)
t_er1=t_er*r/R
prs=t_y-t_er1
nrs=t_er-t_y
// results
printf('Maximum +ve residual stress occurs at %d cm radius and is equal to \n %d kg/cm^2'... |
01021ad78f40fa839ddc6e8a97eb3540217c103e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH15/EX15.2/Ex15_2.sce | 20b5839fa3c919e43d79dbb83cf5a6790d2dd4fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex15_2.sce | //Example 15.2
clc
k_e=8.99*10^9 //N.m^2/c^2
q2=2*10^-9// in c
q3=5*10^-9// in c
r1=4//in m
F_23=(q2*q3*k_e)/(r1*r1)
disp(F_23,"The force in N= ")
q1=6*10^-9
r2=5//in m
F_13=(q1*q3*k_e)/(r2*r2)
disp(F_13,"The force in N= ")
|
fbc0242c31ec327e2d775723c01e36f36c4612f5 | 7d080f5a520b49242d8d5d362be8378358f324b5 | /matmul.sce | 7562e3a3f54c1eff8bbce420a7457a4dc02543d0 | [] | no_license | pradyumnaym/LA_Algos | 1d4cc539b531ffaea88ceb475ca3c4b59318270a | 561df9e8b2d706927c735f2b2e30db9ff1a45ade | refs/heads/master | 2020-12-29T16:50:23.235497 | 2020-02-06T11:41:10 | 2020-02-06T11:41:10 | 238,675,439 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | matmul.sce | n = int(input("Enter n : "));
p = int(input("Enter p : "));
m = int(input("Enter m :"));
A = zeros(n,p);
B = zeros(p,m);
disp("Enter elements of A :\n")
for i=1:n
for j=1:p
A(i,j) = int(input("enter element "+string(i)+","+string(j)+" : "));
end
end
disp("Enter elements of B :\n")
for i=1:p
... |
32db6150de4e2e459c782d656d2dbc36fbb29e33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /509/CH9/EX9.2/9_2.sci | c800db793b809c5780f38cfa1b073f57a228b180 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sci | 9_2.sci | //Chapter 9 Example 2//
clc
clear
//let all the cpnductors are equally placed,so ds1=ds2=....=ds//
// self GMD of strand1=ds1 and assuming r=1,d=1//
k1=0.7788;//d11=d22=d33=d44=d55=d66=d77=k1//
ds1=(k1*1*sqrt(2)*1)^(1/4);
printf("\n Equivalent radius or self-GMD of conductors = %.3f r^1/4 d^3/4\n",ds1); |
d9fc9618b9ce029164597106d11d332731abd499 | e822c26ab557aca59a6a1da98e64e1490f3c521b | /ALU/MUX.tst | 5822f4139e07131c74d1907ddc823869dd19a828 | [] | no_license | imilicic/computer-circuits-hdl | 92e886422d182f9d2272f8a01a548b9ff0e9c005 | e21c052564976997ed176edeb3df4af67d1d2f98 | refs/heads/master | 2020-05-30T20:25:47.967396 | 2019-06-03T06:43:10 | 2019-06-03T06:43:10 | 189,949,252 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | tst | MUX.tst | load MUX.hdl,
output-file MUX.out,
output-list a b s out;
set a 0, set b 0, set s 0, eval, output;
set a 0, set b 1, set s 0, eval, output;
set a 1, set b 0, set s 0, eval, output;
set a 1, set b 1, set s 0, eval, output;
set a 0, set b 0, set s 1, eval, output;
set a 0, set b 1, set s 1, eval, output;
set a 1, set b ... |
b111ea3efa042dec9f820dd75223327b2ab24885 | fe12be33b783b1c97dc63b619d60d64fb004c2d4 | /Cálculo-II/xicara_ciclo.sce | a324c764e3f172b5af013449f25f36db5d5c4532 | [] | no_license | josecleiton/scilab | 6b0c86068807596cd3852824de92d13f1a81f7b8 | 5ac1eaffb57fd7508024674fb5481a7c568d1069 | refs/heads/master | 2020-03-30T08:30:20.827333 | 2018-12-15T11:59:29 | 2018-12-15T11:59:29 | 151,020,551 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | xicara_ciclo.sce | // JOSÉ CLEITON
function xicara_ciclo()
k = -0.4 // k que depende de quanto café há na xícara
ta = 24 // temperatura ambiente 24º
dt = 0.1 // 10 medidas por segundo
T(1) = 90 // Café inicia em 90º
t(1) = 0 // tempo inicia em 0
clf() // limpa tela
for i=1:303
T(i+1) = (k*(T(i)-... |
9950e1b65f5e41c2f1647ff44dccfc2b0dfc5216 | 1ebbdce5d3f3daa6d9e8b439410e447941bc49f5 | /résolution numérique/simplifications de A, N.sce | 0fb68b8c068fe0069594722d89da5f4eddb8d7d6 | [] | no_license | sebastienbaur/legionella_proliferation_modeling | 2aff0e2499584e99c07116a700e43218976b9b12 | ae9b5d4dde1912a98584c6319eae41980355ef03 | refs/heads/master | 2020-03-07T15:25:49.881820 | 2018-03-31T17:27:52 | 2018-03-31T17:27:52 | 127,554,634 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,512 | sce | simplifications de A, N.sce | // -----------------------------------------------------------------------------
// VALEURS NUMERIQUES DES CONSTANTES DU PROBLEME
// -----------------------------------------------------------------------------
//Température
Temperature = 37.5;
T_opt_L = 37.5; // température optimale de croissance des légionnelles
... |
9615cec46c693ed373c246b9a0bfaec01a1a5ab6 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Ghost_Flick_Practice_1.sce | 20aafe4be6eb903e48f67853ecb87f34540b95e5 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,845 | sce | Ghost_Flick_Practice_1.sce | Name=Ghost_Flick_Practice_1
PlayerCharacters=Ghost_Flick
BotCharacters=TileFrenzy Sphere.bot
IsChallenge=false
Timelimit=30.0
PlayerProfile=TileFrenzy Challenger
AddedBots=TileFrenzy Cube.bot;TileFrenzy Cube.bot;TileFrenzy Cube.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=TileFrenzy_05x.ma... |
471d1216be422dd478e37749f2548b6de411ae46 | c90039f74887835096a93884110d643c4823e530 | /doc/oficial/dados para treinamento RNA/RNA_ANALISE_TECNICA/BIN/rna.sce | 70d9b92f2e0c52eaf0976108045a3e3d3b997a0e | [] | no_license | igorlima/CellInvest | da991366b329b5d8021e9b949d7b726023489ec8 | c5411247e504b8a8d0ad77d32d41bbd2aee39930 | refs/heads/master | 2020-04-06T03:40:05.614164 | 2012-10-23T12:58:20 | 2012-10-23T12:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | rna.sce | clear;
path_rna = get_absolute_file_path('rna.sce');
exec( path_rna+"\_input_data_file.sce" );
exec( path_rna+"\..\RNA_ANALISE_TECNICA.sce" );
printf( 'Iniciando rna...\n' );
input_data = getInputDataFile();
output_data = rna_indicador(input_data(1),input_data(2),input_data(3),input_data(4),input_data(5),input_data(6... |
8bcad0c1f96d52c1c017f0767bb81119a8486c76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH9/EX9.7/Ex9_5_1.sce | 4e6359ab8173f6c777a1655aee71f061f1027cb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | Ex9_5_1.sce |
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 9.7
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
P1=100;//power at the input in microwatts
P2=83.2;//power at the output in microwatts
P3=35.5;//power at the ouput after connector i... |
c83b349146c40b26f7e470e0171a5fda5513b7ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH35/EX35.4/35_4.sce | d74985f6509d2cc93e110bb42c383de5273590b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | 35_4.sce | //ques-35.4
//Calculating reduced mass of CN molecule
clc
C=12.011;//atomic weight of C (in amu)
N=14.0067;//atomic weight of N (in amu)
r_m=(C*N)/((C+N)*6.023*10^23);
printf("The reduced mass of CN molecule is %.4f*10^-26 kg.",r_m*10^23);
|
c77730444888f87114096c3c8f3b367bd6c4f4d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH1/EX1.12/ex1_12.sce | a882bd6e32cf55810e1682f8639f1d1950b3f8cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | ex1_12.sce | // Exa 1.12
clc;
clear;
close;
format('v',7)
// Given data
n_i = 2.5*10^13;// in /cm^3
miu_e = 3800;//in cm^2/V-s
miu_h = 1800;// in m^2/V-s
e = 1.6*10^-19;// in C
sigma_i = n_i*e*(miu_e+miu_h);// in (ohm-cm)^-1
disp(sigma_i,"The intrinsic conductivity in (ohm-cm)^-1 is");
n = 4.4*10^22;
impurity = 10^-7;
... |
734d0d8a5fd6fdcbcb49d70d4c1a883a98818e7b | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/RK17UPQ/ATWM1_Working_Memory_MEG_RK17UPQ_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | fde62a15cf71abfc9f0ecc9396341561d1815007 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,384 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
25d562bdd3352ec8618d8efa5f3dad43de2d5f19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH4/EX4.6/4_6.sce | 58029d05f60db37cb6e02e67ea605c1870b26ff6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | 4_6.sce | clear;
clc;
dia=2*(10^-2);f=50;d=3.5;
r=dia/2;
Cab=0.01207/(log10(d/r))*(10^-6);
Xc=1/(2*%pi*f*Cab);
Bc=(1/Xc)*10^6;
printf("Capacitive susceptance per km = %f * 10^-6 mho/km",round(Bc*100)/100);
|
a01ff5370af21e07dfdebaa98f633025f713104e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH2/EX2.11/ex_2_11.sce | 59298fb7b6ca6877157f3c878c333fcd900b4d66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | ex_2_11.sce |
//Example 2.11 // determine the possible phase angles
clc;
clear;
close;
//given data :
y1=1.25; // division
y2=2.5; // division
pi=asind(y1/y2);
disp("the possible angles,pi(degree) "+string(pi)+" or "+string(360-pi)+" = ")
|
bb196c0ba24ce2ab60fc96916f7c7fe7bfa6b374 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH25/EX25.2/ex_25_2.sce | 8bd47e742e819cfaf9776bb05e55b98f62df5a0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | ex_25_2.sce | //find..
clc
//solution
//given
d=250//mm
r=125//mm
q=%pi/4
P=700//N
u=0.35
ub=(4*u*sin(q))/(2*q+sin(2*q))//eqivalent coffint of friction
//Ft=ub*Rn
//taking moment abt O
//700*(250+200)+Ft*50=Rn*200=Ft/ub*200=520*Ft
Ft=700*(250+200)/470//N
Tb=Ft*r
printf("torque applied is,%f N-mm\n",Tb) |
fb4ff8def333731870d4159cdf2aaa1c53534ee8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH9/EX9.4/Ex9_4.sce | ea72d26dd6de285064ba57d42dde13646ce8842c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | sce | Ex9_4.sce | clear
//
//
//Initilization of Variables
D=400 //mm //Overall Depth
//Flanges
b=300 //mm //Width
t=50 //mm //Thickness
t2=30 //mm //Web Thickness
dell=10 //mm //Deflection
w=40 //N/mm //Load
FOS=1.75 //Factor of safety
E=2*10**5 //N/mm**2
//Calculations
//M.I at x-x axis
I_x=1*12**-1*(b*D**3-(b-t2)*b**3) //mm**4... |
9869cf48719200b7f2f35c66e1fbed906be6dc11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH5/EX5.18/Ex5_18.sci | d5327b7650fa5a9a5e7e13ae6338d6f173e46c43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sci | Ex5_18.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.28
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(s+2)/(s+1)*(s-1))//the given transfer function assigned to variable h
scf()
nyquist(h)
... |
9ba89c0f308e80f1f643106b3b9a61ec3794fb82 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG20.prev.tst | 499194a190f81c6346531dded5e14f79be802030 | [
"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 | 4,847 | tst | PG20.prev.tst | /* Generated at yyyy-mm-dd hh:mm by
java -cp dist/ramath.jar org.teherba.ramath.ProgramGenerator -l 2 -f test/PG20.data.tmp pident
Do N O T edit this file, but ProgramGenerator.java instead!
*/
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
int reslines = 0;
printf("#---> start ... |
d325b774e6e9cf37c9d959681533fcfebfb0583d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH10/EX10.1/Chapter10_example1.sce | 891ce3361c146dd1c21464ce6e18b715dc4895fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,407 | sce | Chapter10_example1.sce | clc
clear
//Input data
bsfc=0.3;//The brake specific fuel consumption in kg/kWh
bp=250;//The brake power in kW
N=1500;//Number of cycles per min in rpm
CA=15;//Crank angle in degrees
pi1=30;//The pressure of air in the cylinder at the beginning of the injection in bar
pi2=60;//The pressure of air in the cylinde... |
c0cea0a2d0dc178da14f76aff39ec4b81bec2260 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH6/EX6.17/Chapter6_Example17.sce | 1699e40ee8a3b667c49437be8af7db1a60a7574b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,357 | sce | Chapter6_Example17.sce | //Chapter-6, Illustration 17, Page 324
//Title: Refrigeration cycles
//=============================================================================
clc
clear
//INPUT DATA
T1=271;//Temperature at point 1 in K
T=265;//Temperature at point 1' in K
Ta=303;//Temperature at point 2' in K
Cpv=0.733;//Specific heat... |
5231269619cd01e6b055e4f41b6c019900d3d01f | 54796c49c1aae4debd3cc035d4916dcf776ef077 | /other-project-info/ExoBandits.sci | 100810694cbfb4896a72686fd56f150396ab6b58 | [
"MIT"
] | permissive | X3N0-Life-Form/one-max-genetic-stuff | 83200a648a34e851bcec0e30dae06919bd528bad | 3c72f115f42adb852ce65d04ef9bf7c24cc20647 | refs/heads/master | 2020-05-18T13:50:39.666986 | 2015-02-26T13:05:41 | 2015-02-26T13:05:41 | 30,019,905 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,177 | sci | ExoBandits.sci |
function [a]=select_greedy(R)
K=length(R);
if sum(R)==0 then
a = choix_uniforme(K),
else
Amax=ActionMax(R); // choix équitable
a=Amax(choix_uniforme(length(Amax)));
end;
endfunction
function [a]=select_egreedy(R,epsilon)
K=length(R);
greedy = rand()>... |
05e013d6da542284853a884880e1686d149cd021 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH4/EX4.6.1/Example4_6_1.sce | 5273570fc7543ce143e51b39b607cb00f6a7c82e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | Example4_6_1.sce | //Example 4.6.1 page 4.34
clc;
clear;
lamda = 1300*10^-9;
Id= 4*10^-9;
n=0.9;
Rl= 1000;
Pincident= 300*10^-9;
BW= 20*10^6;
q= 1.602*10^-19;
h= 6.625*10^-34;
v= 3*10^8;
Iq= sqrt((q*Pincident*n*lamda)/(h*v));
Iq= sqrt(Iq);
Iq=Iq*100; //converting in proper format for displaying...
printf("Mean square qua... |
d4c9d2c072896abdab8e35b108f4f5bbefb3b020 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH17/EX17.7/ex7.sce | 37ad710db5b5be012936081dcea3d0881b4b275c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,075 | sce | ex7.sce | //ques7
//determining exit properties in a control volume
clear
clc
Po=1000;//stagnation pressure in kPa
To=360;//stagnation temperature in K
//when diverging section acting as nozzle
Pe1=0.0939*Po;//exit pressure of air in kPa
Te1=0.5089*To;//exit temperature in K
k=1.4;//constant
R=0.287;//gas constant fo... |
b7af9cc0311f332b6c6dca53f58cc14ed4893758 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH13/EX13.2/c13_2.sce | d5a00f2cffca847462e322ba7a26f8752fa8359e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,728 | sce | c13_2.sce | //(13.2) Methane, CH4, is burned with dry air. The molar analysis of the products on a dry basis is CO2, 9.7%; CO, 0.5%; O2, 2.95%; and N2, 86.85%. Determine (a) the air–fuel ratio on both a molar and a mass basis, (b) the percent theoretical air, (c) the dew point temperature of the products, in C, if the mixture we... |
7bfcd470ff4f88046b9a27111238c81ede23ef8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH4/EX4.29/exa_4_29.sce | 99f2d39898f63b06797fe7c60512be48f5a3c70a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | exa_4_29.sce | // Exa 4.29
clc;
clear;
close;
k= 1.38*10^-23;
T= 300;// in K (assume)
V_D= 0.7;// The depletion voltage for silicon
e=1.6*10^-19;// in C
// n_n/n_p= p_p/p_n = %e^(e*V_D/(k*T))
ratio= %e^(e*V_D/(k*T));// ratio of majority to minority charge carriers in n and p of a silicon semiconductor
disp(ratio,"Ratio of m... |
2a64ef6e58dad5a507c503832a5444c3d48b00da | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH2/EX2.3/ex3.sce | a5a52e2ea5b574c62621ef0d53bc6355c83142c0 | [] | 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 | 113 | sce | ex3.sce | errcatch(-1,"stop");mode(2);
syms a;
syms b;
syms c;
A=[a a^2 a^3-1;b b^2 b^3-1;c c^2 c^3-1]
det(A)
exit();
|
c1353e60c85d2ac1ba584fb91c9fa8c619decb12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH15/EX15.1/15_1.sce | 2d2edc8b7e42f4317f97c7f06fd319cc2821f3f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 865 | sce | 15_1.sce | Ps = 0.033363; P = 1.0132;
W2 = (0.622*Ps)/(P-Ps);
hfg2 = 2439.9; hf2 = 109.1; cpa = 1.005;
hg = 2559.9; hw1 = hg;
T2 = 25+273; T1 = 32+273;
W1 = (cpa*(T2-T1)+(W2*hfg2))/(hw1-hf2);
Pw = ((W1/0.622)*P)/(1+(W1/0.622));
disp("kg vap./kg dry air",W1,"Specific humidity is")
disp("bar",Pw,"Partial pressure of water v... |
70d6b2ffb83671e7ed0927debcdc47a8dbe7ce7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.3/Ex6_12_3.sce | ad40293a0c216bf4722ab0f838a32d99c89d9679 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | Ex6_12_3.sce | //Section-6,Example-3,Page no.-P.32
//To find the Mole fraction of glycine in given aqueous solution.
clc;
m_g=0.1*1 //moles of glycine
m_w=10^3/18 //moles of water in 1 kg of water
m_f=m_g/(m_g+m_w)
disp(m_f,'Mole fraction of glycine')
|
a835c91109908c88475bbe8a847c02fac1530229 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH18/EX18.7/EX18_7.sce | fbd0af61c69a2d163a9d2209bf4bdfd9d5c8e83f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,081 | sce | EX18_7.sce | //Chapter 18, Example 18.7
clc
//Initialisation
vcc=15 //voltage
RC=5.6*10**3 //resistance in ohm
RE=1.3*10**3 //resistance in ohm
R2=13*10**3 //resistance in ohm,
R1=82*10**3 //resistance in ohm
pi=3.14 ... |
93d2700da2d1b165f2bd97920919110b5818e39e | 14b30ff5ef57588ecd4f45401bb9086e3888e8e1 | /edsonjParameters.sce | ce885e9ee1ebdf8c601d4888fe815f05562db213 | [] | no_license | Ivanobrc/L_P_I | d2fb06c0816bbb74d498733a272eca572d93c502 | dff17b6c142e8f2fa58d0e07334042d1db4c1330 | refs/heads/master | 2022-11-17T17:21:37.458719 | 2020-07-13T03:11:31 | 2020-07-13T03:11:31 | 279,197,157 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | edsonjParameters.sce | //Parametros del Pendulo
//masa del carro 0.696 kg, masa de la parte superior 0.017 kg, longitud de la barra 0.3 m,
//inercia del péndulo 0.0011 kg/m2. Este modelo presenta dos sensores, un ultrasónico
//HC-SR04 que mide la posición del carro y un sensor tipo MEMS MPU-6050 que mide el ángulo del péndulo.
//Parameters... |
6169733bbb3d5aedf248910e705de74b44ff4c1c | 3797f4ae070f4a8e41c7db3b7f424f98ca8e5459 | /Oracle.sce | 3a8cb7380a74c0d38492e1cc5604436c3a31198c | [] | no_license | bastiendechamps/OptiHydro | dc59dca84fb4c35e1c4ee42e21aae6d87ba0fe62 | 02bb24fb5117464d35731e9795be0375b657f1a2 | refs/heads/master | 2021-09-13T11:51:49.173927 | 2018-04-29T13:34:49 | 2018-04-29T13:34:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,368 | sce | Oracle.sce | // Premier oracle (fonction + gradient)
function [F,G,ind] = OraclePG(qc, ind)
q = q0+B*qc;
if ind == 2 then
F = (1/3)*q'*(r.*q.*abs(q)) + pr'*(Ar*q);
G = zeros(n-md,1);
elseif ind == 3 then
F = 0;
G = B'*((r.*q.*abs(q)) + Ar'*pr);
else
F = (1/3... |
27fc158180f7d5f282f554c9c9bcdea25996de3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH8/EX8.11/8_11.sce | f6602264ad0131acb5512abebc62c867488b9020 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | 8_11.sce | //To calculate the electron concentration
Na = 5*10^23; //atoms of boron
Nd = 3*10^23; //arsenic atoms
p = 2*(Na-Nd)/2; //hole concentration per m^3
ni = 2*10^16; //intrinsic charge carriers per m^3
n = ni^2/p; //electron concentration per m^3
printf("electron concentration per m^3 is");
... |
2991cca79b8b061c89f426b37117f6881915ae5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH25/EX25.11/ex25_11.sce | daf88b0ba628fbd76838a78e7e48c7d45adb21fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | ex25_11.sce | clc;
c=12.01; //mass of carbon
h=1.008; //mass of hydrogen
mass=((2*c)+(2*h)); //calculating mass
o=16.00; //mass of oxygen
moles=200/mass; //moles
mo=2*o*19.20; //mass of O2
disp(mo,"Mass of O2 in g= "); //displaying result
mc=((2*o)+c)*15.36; //mass of CO2;
disp(mc,"Mass of CO2 in g= "); ... |
efbc23b578a54c62e78d7e50c40882940f1d1260 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH4/EX4.44/Ex4_44.txt | f4e939590540f5503d11f09a4f83a255b499c52a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | txt | Ex4_44.txt | //Ex:4.44
clc;
clear;
close;
f=3*10^3;// frequency in MHz
y=300/f;// wavelength in m
Ap=26;// power gain in dB
Ap1=10^(Ap/10);// power gain
D=sqrt((Ap1*y^2)/6);// diameter of antenna in m
hpbw=(58*y)/D;// the half power point beam width in degree
printf("The diameter of antenna = %f cm", D*100);
printf("\n T... |
565e0cb37291344a3d9d995de9791c1d3f31f7c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.11.6/Ex1_11_6.sce | 4b8550f77e967f5dc3616fd65bca390536c11f0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Ex1_11_6.sce | //Ex 1.11.6
clc;clear;close;
format('v',9);
//Given :
A=2.5*10^-4;//m^2
n=1.5*10^16;//per m^3
q=1.6*10^-19;//Coulomb
mu_n=0.14;//m^2/V-s
mu_p=0.05;//m^2/V-s
I=1.2*10^-3;//A
V=9;//Volts
ni=n;// per m^3
sigma_i=ni*q*(mu_n+mu_p);//(ohm-m)^-1
rho_i=1/sigma_i;//ohm-m
R=V/I;//ohm
l=R*A/rho_i;//m
disp(l*100... |
c553dac71a6cbe23d54060ab4f33967dcb7bbed6 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.18_4.tst | 27417b1084c3bf7d78a1074344c5d6959ff58d72 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 542,081 | tst | 5.18_4.tst | 18 208:2 275:1 283:1 620:1 664:1 799:1 816:1 1296:2 1327:1 1328:1 1365:1 1719:1 1932:2 2148:1 2432:1 2466:1 2497:1 2531:2 2551:1 2659:2 2743:1 2783:1 2797:1 2817:1 2824:1 2996:1 3203:1 3404:1 3558:1 4148:1 4181:1 4230:1 4279:1 4281:1 4846:1 4953:1 5023:1 5414:1 5765:1 5773:1 6025:1 6173:1 6299:1 6545:1 6811:1 6826:1 68... |
e70c26986846e09cb97769a5a4fe9e2f4e413d0c | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/li_carrays_cpp_runme.sci | e7467e6fe0e7bb7abdc2af2cdaf5add48cab345e | [] | 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 | li_carrays_cpp_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:f704639b836adbb66ea193b7636fab8588f411f8e1bce92969fc4d5e286de469
size 247
|
7417e2c956c87cdc78eb1a7e75b5230ec745811f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.41/EX8_41.sce | 1796107758ed45dcb75490e3c42391947f6e8b14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | EX8_41.sce | //EXAMPLE 8-41 PG NO-557
N=7.943;
Z=300; //IMPEDANCE
R1=[(N-1)/N]*Z;
R2=Z/(N-1);
disp('i) RESISTANCE (R1) is = '+string (R1) +' ohm ');
disp('ii) RESISTANCE (R2) is = '+string (R2) +' ohm ');
|
4f006203e37b045cf541586d12de2a6de565cdfa | cf99f338f2e97fd7e8ae1ad9b640101832f787ba | /case-studies/week-7/week-7-q1.sce | 1b06861b671bc11bc1600c5008901560c5eaff93 | [] | no_license | vsujeesh/BN5205 | b8e88324c1c97971ba3d95c3125d05676b6e4996 | 7386a440ed3e954c4aeb490eebd948d35186635d | refs/heads/master | 2022-03-13T01:00:24.783429 | 2019-10-22T03:23:55 | 2019-10-22T03:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,273 | sce | week-7-q1.sce | clear;
clf;
//==============================================================================
// This function creates the penta-diagonal matrix M used in the FD method
// For a problem with nx * ny internal nodes, matrix M has a size of n * n,
// where n = nx * ny. M is a tri-diagonal block matrix:
// A I O
// I A I
/... |
fdf1a652994fe6da79895c9fd13400041ebff0e5 | 5c0124a56cb43a2890e25fbc6e2556d25ff9c4bb | /Exercise_07.sce | e207f704d90fcf09474e9f8c729f63686a3032ee | [] | no_license | wiiwins/Risk-Management | d970aaa2c44409f9c73fd44b8bcfbb25e3e83c3e | 46c547e9d14019dde274f232fc6354641de245ff | refs/heads/master | 2020-09-01T17:12:36.665964 | 2019-11-26T21:00:32 | 2019-11-26T21:00:32 | 219,013,277 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sce | Exercise_07.sce | // C-Exercise 7
// Jurain Kahl
// Nattawut Phanrattinon
function test_binomial(v,p0,beta)
[p,q]=cdfbin('PQ',sum(v),length(v),p0,1-p0);
if p<=beta
return 1;
else
return 0;
end
// From C-Exercise 5
function v = VaR_log_normal (s, alpha)
x = diff(log(s))
mu = mean(x);
sigma = sqrt(variance(x... |
aacb4733fdbc2c910c180558b2f4c7c15f17d525 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.12/EX2_12.sce | 91af2c4e0911dd1a4fe26269a5fd75c6111eb33f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | EX2_12.sce | //EXAMPLE 2-12 PG NO-66-67
W1=80*%pi; //womega
W2=100*%pi;
PV=14.14; //peak value
t1=0.025; //time
t2=0.05;
t3=0.075;
I1=PV*(cos(80*%pi*t1)+cos(100*%pi*t1)); //current
I2=PV*(cos(80*%pi*t2)+cos(100*%pi*t2)); //curren... |
abae632653447b7fe5b889682af264a98b01b9b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH7/EX7.3/Ex7_3.sce | fcd9ece902cab75dce20600a2e8361003117a90e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sce | Ex7_3.sce | clc;
//pg n0 120
IZ=10*10**-3;
vz=0.05;
rz=vz/IZ;
disp('ohm',rz*1,"rz=");
|
4a83d7235a13f30106c3a24b616eabdf32417720 | e57a94942a6413ff0dfcba948b19067e502a8b41 | /BatAlg.sce | 1fdbb2d1ce19516477d4259c424808f11af0d848 | [] | no_license | FrancoChacon/SwarmOptimization | 16197e434670ae94d094f4955318eee1ef92ff02 | 2566ac7038f70fa6cfe9058c1f0a76f75d6989a1 | refs/heads/master | 2020-04-27T22:32:09.337495 | 2019-05-21T03:10:45 | 2019-05-21T03:10:45 | 174,740,439 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,150 | sce | BatAlg.sce | /*
Bat Algorithm
Functions Aviliable:
ReportBat
Bat
PreEvaluateBat
EvaluateBat
*/
function [Report,Table,RProm] = ReportBat(TotalOfElements)
Table=[];
tprom=0;
Report=[];
TC = TotalOfElements;
TotalExper = 10;
Dimensions = 10;
Ixprom=zeros(1,TC);
... |
5020f534e9738c22e267fe237d27c2a95846ad6e | 491dfade9270403d35c94491116eb08a73209eab | /Quantification/Gauss_densite.sci | d53a2e8ee613fa69524a2ab91f186997500d6225 | [] | no_license | skad94/Quantification | 9cfcbd490af4f718bbecd414b66fc8de48f0b78d | 011f56ba3549d4d96c98090536d4109163c4525c | refs/heads/master | 2021-01-21T13:17:30.662165 | 2016-04-21T13:08:12 | 2016-04-21T13:08:12 | 52,862,728 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sci | Gauss_densite.sci | double Gauss_densite(double x)
function [res] = Gauss_densite(nb_quant,init,nb_iter)
{
// printf("g\n");
double res;
res = PI;
// printf("pi = %f\n",res);
res = exp(-x*x/2)/sqrt(2*res);
//printf("gauss(x) = %f\n",res);
return res;
}
|
6e1e43ef7c497570454f3c837e8ef29fdff9e26d | 9fd700113e21acbb9d3cef5e6010e7f37656b6e6 | /cs16b025_lab1/Xor.tst | 89cbca26de9abbbc7e8a282260ca0607ab2257b0 | [] | no_license | madhav543/cs16b025_lab | 01432fe8d0fbacf4dafe5189413943ec48afaed4 | 4924ea918b9b4dc6eb22b713e639204c9e59c697 | refs/heads/master | 2020-07-11T22:44:32.575114 | 2019-11-19T16:06:12 | 2019-11-19T16:06:12 | 204,659,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | tst | Xor.tst | load Xor.hdl,
output-file Xor.out,
compare-to Xor.cmp,
output-list ip1%B3.1.3 ip2%B3.1.3 out%B3.1.3;
set ip1 0,
set ip2 0,
eval,
output;
set ip1 0,
set ip2 1,
eval,
output;
set ip1 1,
set ip2 0,
eval,
output;
set ip1 1,
set ip2 1,
eval,
output;
|
4620c71776651a6c5e3971d6009a22af326e3841 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH3/EX3.3/3.sci | f5ec0484a1f70131a1487123dfa70a1274ae12be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sci | 3.sci | clc;
clear all;
disp("Heat loss calculation")
r=0.6/2;//m
L=1;//m
H=1.8;//m
k=0.51;// W/(m*C)
tp=95;// degree C
te=25;// degree C
Sfc=2*3.1416*L/(log(2*H/r));
Q=k*Sfc*(tp-te);
disp("W",Q,"Heat loss from the pipe meter length, Q =")
|
1ed06c977b1b731329eda305683790a0b72b9aeb | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/jstfctns.tst | bb940f8fedc54115b8eb17b97eec8f278f27b8ba | [] | no_license | noxdafox/clips | b8fb280223b5aae615e427bf1f31c03cb932b09d | a2c548b69394f0e2cf7c6d583810b6a29a662ae1 | refs/heads/master | 2023-09-01T18:52:07.614807 | 2021-12-14T20:10:21 | 2021-12-14T20:10:21 | 95,596,886 | 11 | 10 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | tst | jstfctns.tst | (unwatch all)
(clear)
(set-strategy depth)
(open "Results//jstfctns.rsl" jstfctns "w")
(dribble-on "Actual//jstfctns.out")
(batch "jstfctns.bat")
(dribble-off)
(load "compline.clp")
(printout basicfnx "jstfctns.bat differences are as follows:" crlf)
(compare-files "Expected//jstfctns.out" "Actual//jstfctns.out" jstfctn... |
8dd5e3d0c8e6e9900c9e4cea13820981f341643c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH2/EX2.10/Ex2_10.sce | 9377dd0603ffca949c28a1d4a2e834c0a4f4bb45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | Ex2_10.sce |
//calculate the total amprers turns
u=1//for air gap
F=1.2e-3//flux
A=10e-4 //area
B=F/A
H=B/(4*3.14*10^-7*u)
l=0.2e-3//air gap
S=H*l//amps turns in air gap
l1=15e-2//air gap
A1=8e-4
H1=450
S1=H1*l1
F1=0.6e-3
B1=F1/A1
H2=140
S2=H2*30e-2
TN=500
TAN=S+S1+S2
EI=TAN/TN
disp('exciting current =' +strin... |
c3c9e28fcb09d03ee342b6079c47de70fc83fc01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH6/EX6.1/example6_1.sce | 3cadf35873089d9cc4751eee6117643522dba9c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example6_1.sce | clear
clc
//Example 6.1 THRUST OF ROCKET
g=9.81; //[m/s^2]
m=0.04; //mass[kg]
D=0.01; //[m]
A=%pi*D^2/4 //area[m^2]
rho=0.5; //density[kg/m^3]
v=450; //[m/s]
//Sum of forces, Fz=-Fb-m.g
Mo=-rho*A*v^2 //momentum outflow[N]
Fz=Mo //[N]
Fb=-Fz-m*g //Force on beam[N]
printf("\n The force acting on the beam tha... |
1ac925e3bf3d88b2b2bb2da89e157de0e9a55a72 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/template_rename_runme.sci | 7b6b0de846ed768deac4e717f7bd888f1406e5d5 | [
"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 | 552 | sci | template_rename_runme.sci | exec("swigtest.start", -1);
i = new_iFoo();
checkequal(iFoo_blah_test(i, 4), 4, "iFoo_blah_test(i, 4) test fails");
checkequal(iFoo_spam_test(i, 5), 5, "iFoo_spam_test(i, 5) test fails");
checkequal(iFoo_groki_test(i, 6), 6, "iFoo_groki_test(i, 6) test fails");
delete_iFoo(i);
d = new_dFoo();
checkequal(dFoo_blah_tes... |
112d447c9d6e3924eadfaaad49e743dc5ecbb168 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH8/EX8.2/Ex8_2.sce | bf0969ece8683099a7e058a353334e4e096504f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,361 | sce | Ex8_2.sce | //example-8.2
//page no-235
//given
//density of alpha and beta phases
rhoalpha=10300 //kg/m^3
rhobeta=7300 //kg/m^3
//refer to fig-8.5 in book
//at point B, the composition of lead in alpha-phase is 82% and that of tin in alpha-phase is 18%
leadalpha=82
tinalpha=18
//so we get
//82/rholead+18/rhotin=100/r... |
f729af6b0f1a34cd42d714caef5eb586c36a154e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH13/EX13.1.6/example13_6.sce | 11cc0e8aeccad8228050ed273ded4479b01aa731 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | example13_6.sce |
//exapple 13.6
clc; funcprot(0);
// Initialization of Variable
rho=1.210;//density of air
mu=1.78/10^5;
g=9.81;
rhos=2655;//density of ore
pi=3.1428;
d=0.095;
dp=2*10^-6//particle diameter
dt=0.333;//dia of cyclone separator
h=1.28;
//calculation
U=dp^2*g*(rhos-rho)/18/mu;
Q=0.2*(pi*d^2/4)^2*d*g/U/pi... |
bca96c32ef615316c768e9d2c82f5d6c6516e75a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.38/Exa2_38.sce | a7503e5b46f2be0a8843027ad0970857614f09ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | Exa2_38.sce | //Exa 2.38
clc;
clear;
close;
//Given data :
format('v',6);
f=50;//in Hz
P=6;//no. of poles
phase=3;//no. of phase
R2=0.02;//in ohm
X2=0.1;//in ohm
S=R2/X2;//slip(unitless)
Ns=120*f/P;//in rpm
Nr=Ns-Ns*S;//in rpm
//At starting S=1
S=1;//slip
//Formula : T=K*S*R2/(R2^2+X2^2)
//Starting torque, Tst=K*R2/... |
dbb9a0d96c731379f432c142126c4b6455c3c10f | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH3/EX3.8/eg3_8.sce | 78d7228fa21f469ad49cef1b39e7a00d23d436e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | eg3_8.sce | //mesh equations:
//60*I1 - 20*I2 = 20
//-20*I1 + 80*I2 = -65
R = [60 -20;-20 80];
E = [120;-65];
I = inv(R)*E;
I1 = I(1,:); //current flowing in first mesh
I2 = I(2,:); //current flowing in second mesh
Ibd = I1 - I2; //current flowing through branch bd
Iab = I1; //current flowing through branch ab
Icb =... |
9b42f805ed314a59be2af02fb8aad759ca5c6411 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH8/EX8.24/TL_Ex_8_24.sce | 7369e92678dcc313fc259dfd3dd46b0a1164e82c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | TL_Ex_8_24.sce | clc
//Chapter8
//Example8.24, page no 354
//Given
f=20e6//tuned freq
ZR=100//Equivalent aerial Resistance
Zin=500//input impedance
c=3e8
lambda=c/f
l=lambda/4//lambda/4 Transformer
Zo=sqrt(Zin*ZR)//Characteristic impedance
mprintf('the Length of the transformer(stub) is %f metres\n The characteristic imped... |
1265ae3db1d10c02705b06ed7188c6ffebd5c872 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH20/EX20.1/Ex20_1.sce | 828e3e9865d1558c5a1ea6cdc1d474992096b955 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | Ex20_1.sce | //Example 20.1
delta_Q1=720;//Charge moved by truck battery (C)
delta_t1=4;//Time (s)
I1=delta_Q1/delta_t1;//Current (A)
printf('a.Current flowing through the truck battery = %0.1f A',I1)
I2=0.3*10^-3;//Current flowing through calculator (A)
delta_Q2=1;//Charge moving through calculator (C)
delta_t2=delta_Q2/I2;... |
7ce2d0c7e3a83fe98d713125f6d782fd9298c88b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH15/EX15.3/15_3.sce | 477278c0ee035ae59e2864f7aac1e778253cf344 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | 15_3.sce | //Motorist travelling
//refer fig. 15.5
u=(70*1000)/(60*60) //m/sec
v=0
s=50 //m
//Using equation of linear motion
a=-(19.44^2)/(2*50) //m/sec^2
//again
t=19.44/3.78 //sec
//Applying equilibrium equationswe get
mu=(3.78)/(9.81)
printf("\nt=%.2f sec\nmu=%.3f ",t,mu)
|
e1f3580cbd3b051beb6222e05cd99575af006e85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH4/EX4.3/Ch04Ex3.sce | 57facf757dcef53e6c6178decb9fdc3e2fc56e5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Ch04Ex3.sce | // Scilab Code Ex4.3:: Page-4.6 (2009)
clc; clear;
mu = 1.53; // Refractive index of the material from Brewster's law
// As mu = tand(ip), solving for ip
ip = atand(mu); // Polarizing angle, degrees
// But mu = sind(ip)/sind(r), solving for r
r = asind(sind(ip)/mu); // Angle of refraction, degrees
pr... |
9bae3779a2601eb4e685fc27cb67ed029ab6efa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH1/EX1.4/ch1_4.sce | ad120cb5b51f5d770e13e452024c0ce220f70526 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | ch1_4.sce | clear;
clc;
printf("\t\t\tchapter1_example4\n\n\n");
// determining average film conductance
D=2.43/100; // diameter in meter
L=20/100; // length in meter
A=3.14*D*L; // cross-sectional area in sq.m
cp=4200; // specific heat of water in J/kg.K
T_b2=21.4; // temperature of bulk fluid in degree celsius
T_in=20; ... |
4781be66956e039cdffff1b97219d96585160568 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH13/EX13.10/10.sci | 24a1b424e0c08686c888884a5d45e12c523e5685 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sci | 10.sci | clc;
clear all;
disp("Mass transfer coefficient")
U=6.2;// m/s
d=35/1000;// m
v=15.5*10^(-6);//m^2/s
D=0.82*10^(-5);//m^2/s
Sc=v/D;// Schmidt No.
Re=U*d/v;// Reynolds No.
Sh=0.023*((Re)^0.83)*(Sc)^0.44;
hm=Sh*D/d;// m/s
disp("m/s",hm,"mass transfer coefficient = ")
|
1b2e403360a8b809fd73dbf76ca998b3a2dec577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH13/EX13.4/Example_13_4.sci | d37deaff6cf3240b1cc239cbef51c7856ebe6b58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sci | Example_13_4.sci | clear all;
clc;
printf("\n Example 13.4");
diameter = [2 3 4 5 6];
number = [30 120 200 80 20];
function[x] = Sum_d1cube()
sum = 0;
i = 1;
while (i <= 5)
sum = sum + number(i)*(diameter(i))^3;
i = i+1;
end
x = sum;
funcprot(0);
endfunction
function[y]=sum_d1squ... |
39c15f8301aded444a5ae27817316b70883a9e24 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_5/act4_grupo4.sce | 77ce5bdb8a72d66969e91f71201c16e6e84a4f9d | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | act4_grupo4.sce | function mayor = MAYOR(y0)
[m,n] = size(y0)
mayor = 0
for j=1:m
if abs(y0(j,1)) > abs(mayor)
mayor = y0(j,1)
end
end
endfunction
clc
A = [2 -12;1 -5]
x = [1 1]'
y = A*x
disp(y0, "y0")
for i=1:10
y = A*x
valor = MAYOR(y)
x = y/valor
end
disp(y,"y - 10 iteracio... |
9f7b32295106e767fade490627ad1c79331d6b20 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Circledata.sci | 2148c061bda7c9098a8fb99b3a88bd8a68b8c719 | [] | 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 | 636 | sci | Circledata.sci | // s:2008,05.12
// e:2014.09.08 [A,B] supported
// e:2014.10.24 N,R => N__, ...
function P=Circledata(varargin)
Nargs=length(varargin);
C=varargin(1);
if length(C)==4 then
ra=norm(C(1:2)-C(3:4));
C=C(1:2);
Nop=2;
else
ra=varargin(2);
Nop=3;
end;
R__=[0,2*%pi];
N__=50; // Numpoints
... |
c1d2de752f39080427e43649132a174ec9487ee7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH10/EX10.13/10_13.sce | 6688544bd1405c9fbc87346181b9311f84061104 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | 10_13.sce | clc
//Initialization of variables
t1=80 //F
t2=60 //F
p=14.696 //psia
ps=0.5069 //psia
pss=0.2563 //psia
cp=0.24
//calculations
pw= pss- (p-pss)*(t1-t2)/(2830- 1.44*t2)
phi=pw/ps
w=0.622*pw/(p-pw)
ws=0.0111
hfg=1059.9
hw=1096.5
hf=28
w2= (cp*(t2-t1)+ ws*hfg)/(hw-hf)
//results
printf("relative humidity... |
804e4b2cab8f36d6ed41bb8c48deee7a09253c6c | 178822612bcd418dc12ba7a649304a24ab618d60 | /Numerical Analysis/exo.sci | 0ae061875c77e134b48d908752374fc78caaaccc | [] | no_license | engom/Math_Problem_Solving | b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3 | 6538c476681ae4ee803ea9b3a8944c5f370e1961 | refs/heads/master | 2022-05-25T01:13:16.123161 | 2016-02-13T11:32:28 | 2016-02-13T11:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sci | exo.sci | function[x1,x2]=exo(a,b)
x1 = a + b
x2 = a - b
endfunction
|
e9bcf0c1cd4385215957684bb85e432bc4255744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH5/EX5.13/Example5_13.sce | 2626f11c1252626cf930bd24b5694df9931c472b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 728 | sce | Example5_13.sce | //Exa 5.13
clc;
clear;
close;
//Given data :
f=50;//Hz
l=30;//km
Z=40+%i*125;//ohm
Y=10^-3;//mho
P=50*10^6;//W
VRL=220*10^3;//Volt
VR=VRL/sqrt(3);//Volt
pf=0.8;//power factor
cos_fi_r=pf;
sin_fi_r=sqrt(1-cos_fi_r^2);
IR=P/(sqrt(3)*VRL*pf);//A
IR=IR*(cos_fi_r-%i*sin_fi_r);//A
ICR=1/2*%i*Y*VR;//A
IL=IR+... |
b569c840cea6be5c27dfbd5f7a2d8526a9ca3392 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH9/EX9.20/Ex9_20.sce | d87ef2a5f768d332c80c382988303d943dd3b0fd | [] | 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 | 241 | sce | Ex9_20.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
m=900 //kg
mu=0.2 //coefficient of friction
g=9.8 //m/s^2
//Calculations
T2=m*g/(exp(2*2*%pi*mu)) //N
//Result
printf('The force needed to hold the mass is %fN',T2)
exit();
|
13f617485aa330914eb78778909b090e4c8109be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH1/EX1.8/Ex1_8.sce | 587b5d42bed727a3514067ee18ffa72f71e9cd2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | Ex1_8.sce | //==================================================================================
//chapter 1 example 8
clc;
clear all;
//intercepts given are a,2b,-3c/2
//from the law of rational indices
//a:2b:-3c/2=a/h:b/k:c/l
//variable declaration
h12 = 1; //miller indices
k12 = 1/2; ... |
b8474f8fb00bc37a8908948767f44cecd107979f | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/rect3D.sci | 87f197b7291e7484d3bc4c555fa5c69e721e09eb | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,642 | sci | rect3D.sci | function [x,y,z] = rect3D(orig,n,xd,yd,l,w)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Outputs the coordinates of the four corners of a lxw rectangle with
//surface normal n
//INPUT
//orig : one of the rectangle's corner. Line vector... |
d51bea179173a250931b0c5a811bd6adb137b21c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH11/EX11.49/EXAMPLE11_49.SCE | ab3e9025767bf57218f438f8e2823c60e2262f3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,076 | sce | EXAMPLE11_49.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 11
//Information Theory
clear all;
clc;
printf("EXAMPLE 11.49(PAGENO 534)");
//given
P_x1 = .4//probability of first signal
P_x2 = .2//probability of second signal
P_x3 = .8//probability of third signal
P_x4 = .08//probability of fourth sig... |
48455701983b74d50ebd511225666995bd1f52b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH6/EX6.3.3/6_3_3.sci | 8538eac4d299480abf0f230b4011a0ba9bb4f29e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sci | 6_3_3.sci | //332
clear;
close;
clc;
A=[1 -2;3 -1];
disp(A,'A=');
[U S V]=svd(A);
Q=U*V';
S=V*S*V';
disp(Q,'Q=');
disp(S,'S=');
disp(Q*S,'A=SQ=')
//end |
26b2d099f82d6f7198dccc239b95962bf6c7351d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/percent/%slsp.sci | 7c4aa44e92f7d5c1457f42630298469d95f6e809 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 61 | sci | %slsp.sci | function x=%slsp(a,x)
// a^-1*x a full,x sparse
x=a\full(x)
|
97d3a5b800e9bf86bce8cde87b8c1761e24fb3a2 | ecfadf59abf0c377e4fbaafb8f594420d8d23277 | /ASM/Various/Alan Hourihane/TAPE_SRC/DOCS/DRIVES.TST | c45847e4dc50c766cb22f59e7fd6db55942ec1ec | [] | no_license | laurentd75/ggnkua_Atari_ST_Sources_Repository | 71fad5fc5ee3ea7bbd807ec6a6d4a99f7ef31334 | b51e02ffd546ba8260a5645a51acd90d66c16832 | refs/heads/master | 2023-08-31T14:13:18.440660 | 2023-08-24T10:09:58 | 2023-08-24T10:09:58 | 164,442,362 | 0 | 0 | null | 2023-09-03T00:24:29 | 2019-01-07T14:12:47 | null | UTF-8 | Scilab | false | false | 1,216 | tst | DRIVES.TST | SCSI Tape Streamers supported by TapeBIOS - Tested
==================================================
The tape drives that have been tested with TapeBIOS, with the caveats
stated, are listed below:-
Tandberg TDC 36xx series.
Works faultlessy. No timeout value needed whatsoever.
Archive Viper 150S.
Timeo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.