blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c13fb115ecfe22c47565ee260745c8bd53a6c9ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH6/EX6.26/Ex6_26.sce | c8b188180a5d909fb2bd228c3630d673330ee82f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 860 | sce | Ex6_26.sce | // chapter 6
// example 6.26
// fig. 6.72
// Determine overlap angles
// page-370-371
clear;
clc;
// given
Em=120; // in V
f=50; // supply frequency
L=0.33; // in mH
Id=4; // in A (load current)
alpha=15; // in degree (firing angle)
// calculate
L=L*1E-3; // changing unit from mH to H
// since Id=(Em/(2*%pi*f*L))*(1-co... |
221bcd9677fc44d0804bd9320563823f144d291a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH12/EX12.13/Ex12_13.sce | e0739980658098fee6a597d05aa105f304976426 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | Ex12_13.sce | clc
//to show that for frequency <10^9 Hz ,a sample of silicon will act like a good conductor
sigma=200 //in mhos/m
omega=2*%pi*10^9
epsilon0=8.85*10^-12 //permittivity in free space
epsilon=12*epsilon0
sigma1=sigma/(omega*epsilon) //sigma1=sigma/(omega*epsilon)
disp("sigma1="+string(sigma... |
2441c57aebbea926bd4ae7f04f6377c0f544e022 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH18/EX18.4/18_4.sce | 8c42c802d84cdfd8c959eaed52d782d0b3fcd9eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | 18_4.sce | clc
//initialisation of variables
clear
n1= 1 //mole
n2= 400 //mole
H1= 5638 //cal
H2= 23540 //cal
L= -1.54 //cal/mole
l1= -2.16 //cal/mole
l2= 5842 //cal/mole
//CALCULATIONS
Q1= n2*L+H1+H2
Q2= n2*l1+2*l2
Q= Q2-Q1
//RESULTS
printf ('Heat change = %.f cal',Q)
|
7256cca5fc7151d13e25a5baf5d189f1ffddf2ff | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /klava/kernel/ntreelib/tests/002_join.tst | 1cbe2a11caefbbd4fc691840dc76013db98ee237 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,456 | tst | 002_join.tst | # test: long (hashed) nodes
#
create "test.td"
autocheck on
clear
printf test0.tmp norm
# 001 ------------------
add 1 "'long signature must be folded to hashed node'"
printf test1.tmp norm
printf test2.tmp norm
compare 002_join_001.txt norm
del "'long signature must be folded to hashed node'"
c... |
8454c4f860d815fd6b1b5d86d861e1989cc2dd76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH9/EX9.15/ch9_15.sci | 923ffce41d95a6a04b74756d5d391a3ec6af9135 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | sci | ch9_15.sci | //to calculate the min resistance to be added and speed of the motor
clc;
V=400;
a=2.5;
X2=.4;
R2=0.08;
n_s=750;
w_s=2*%pi*n_s/60;
T=250;
//T=(3/w_s)*((V/sqrt(3))/a)*R2t/(R2t^2+X2^2);
//after solving
//R2t^2-1.304*R2t+0.16=0
function [x1,x2]=quad(a,b,c)
d=sqrt(b^2-4*a*c);
x1=(-b+d)/(2*a);
x... |
efe01e6b6cd82c2dbd1e8ec6d48ad010428d3398 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2747/CH13/EX13.2/Ex13_2.sce | 57a94751eae44570b02de758b5bb780ed7c8ea36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | Ex13_2.sce |
clc
clear
//Initialization of variables
m1=5.28
m2=1.28
m3=23.52
//calculations
m=m1+m2+m3
x1=m1/m
x2=m2/m
x3=m3/m
C=12/44 *m1/ m
O=(32/44 *m1 + m2)/m
N=m3/m
sum1=(x1+x2+x3)*100
sum2=(C+N+O)*100
//results
printf("From gravimetric analysis, co2 = %.1f percent , o2 = %.1f percent and n2 = %.1f percent"... |
38ca85b8ce9f2f6291c1789946bf87976390f5ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH6/EX6.2/Ex6_2.sce | ec90610d3e18724d716bda288b85d6b55c5c6a20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_2.sce | // Variable Declaration
E_c = 100.0 //Safe working stress(kV/cm) rms
V = 130.0 //Operating voltage(kV) rms
d = 1.5 //Diameter of conductor(cm)
// Calculation Section
ln_D = 2*V/(E_c*d)+log(d)
D = exp(ln_D)
thick_1 = (D-d)/2 //Insulation thickness(cm)
d_2 = 2*V/E_c
D_2 = 2.718*d_2 ... |
c4c44f747959edb914d6fd1a9369a63a2fb18f22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH7/EX7.5/7_5exam.sce | 78e90d4922c7849dad80a404add393c9d82f0cfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 883 | sce | 7_5exam.sce | //Engineering and Chemical Thermodynamics
//Example 7.5
//Page no :319
clear ; clc ;
//Given
P = 50 ; // [bar]
T = 25 + 273.2 ; //[K]
y_eth = 0.2 ;
y_pro = 0.8 ;
T_c_eth = 305.5 ; //[K],From Appendix A.1
T_c_pro = 370 ; //[K],From Appendix A.1
P_c_eth = 48.7 ; //[bar],From Appendix A.1
P_c_pro = 42.4 ; ... |
620b90cc4175ee4181dbae2c11d518fc77c2b08b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH7/EX7.17/Ex7_17.sce | 7a9b0c45041e4c9f5e10eaa3df8c3c807162cef8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | Ex7_17.sce | //Discrete Time Fourier Transform of discrete sequence
//x[n]= (a^n).u[-n], |a|>1
clear;
clc;
close;
a1 = 3;
min_limit = -20;
n = min_limit:0
for i=1:length(n)
x1(i) = (a1^n(i));
end
Wmax = 2*%pi;
K = 4;
k = 0:(K/1000):K;
W = k*Wmax/K;
x1 = x1';
XW1 = x1* exp(-sqrt(-1)*n'*W);
XW1_Mag = abs(XW1... |
60481754b426e125989e749cbe367f1fbc53126d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH1/EX1.7.2/Example1_7_2.sce | f310c5dc659c88a87a22cdc4f477bdfd2f5ed470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | Example1_7_2.sce | // Example 1.7.2 page 1.14
// To calculate the critical angel
clc;
clear;
n1= 1.50; // RI of glass..
n2 = 1; // RI of air...
// According to Snell's law...
// n1*sin(phi1)= n2*sin(phi2);
// From definition of critical angel phi2 = 90 degrees and phi1 will be critical angel
phiC=asind((n2/n1)*sin(%... |
027e2875243b2bb21c23254aaeb7180ccc7154af | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/aprende.sci | d4c4757ea7add98d4f3dbd7c43b72012231d2377 | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 746 | sci | aprende.sci | function aprende()
figura = "tools_treina.jpg";
O = gray_imread(figura);
[l c] = size(O);
O = round(255*O+1);
// L = localvar(O,ones(3,3));
// limiarizacao
A = 1*( O < otsu_im(O) );
if( sum(A) > ( l*c/1.5) )
A = 1 - A;
end
// segmentação
M1 = ones(3,3);
M2 = ones(7,7);
A = erode( dilate(A,M2),M... |
061238af740e6053d3b19ed6c1118739d348c2f2 | 503a589f3c10f1a86c73815e1b25555498209a44 | /singal-processing/singalProcessing.sce | a19dfa9836a1c0031cce01a7959a1db89dfbe222 | [
"MIT"
] | permissive | himanshuMaheshwari2311/Image-Processing-Lab | fb75354a2fa2ebe9329724904e3bb4b7db5a7144 | 4b2ac6b8d93ab807d3487072085080d6f9ce65f0 | refs/heads/master | 2022-04-13T19:36:45.646594 | 2020-04-15T16:47:39 | 2020-04-15T16:47:39 | 253,865,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,905 | sce | singalProcessing.sce | //utility function
function [x] = multiply(a, b)
for i = 1:201
x(i) = a(i) * b(i);
end
endfunction
t =0:0.1:20;
unit_step = ones(1, 201)
ramp = 0.1 * t; //k = 0.1
expo1 = exp(0.2 * t) //a = 0.2
expo2 = exp(-0.2 * t) //a = -0.2
sint = sin(t);
cost ... |
37b00882432798cd761bbffc01bbe81359033ba2 | 037362195179268c71b89f6485fb796c82311d07 | /Native Scilab Algorithms/demos/linear_regression.sce | 91037e0c27bb9703a256f1c83a8f9cea066cae41 | [] | no_license | SoumitraAgarwal/machine-learning-Toolbox-SCILAB | 34a6884fd0138548955e836836181df0c8169ab1 | ef4dc44a9676a2b63e8c8fa0ce7c0452a98b44fa | refs/heads/master | 2020-03-15T03:59:52.960122 | 2017-08-28T16:36:20 | 2017-08-28T16:36:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | sce | linear_regression.sce |
function linear_regression(data)
t1= t(:,1);
t2= t(:,2);
clf(0);scf(0);
plot(t1,t2,'bx');
x = t1; y = t2;
[m, n] = size(x);
// Add intercept term to x
x = [ones(m, 1) x];
// Initialize fitting parameters
theta = zeros(n + 1, 1);
// Learning rate and number of iterations
a... |
2e109c7f0d6eca250ca71316901c596f8bc81ab3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH8/EX8.16/Exa_8_16.sce | e26b99b6f50aa1855c7ec826858e62b9e9e19250 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | Exa_8_16.sce | //signal interpolation using FFT
xn=[0 1 0 -1];
XDFT=fft(xn,-1)
ZT=[0 -2*%i 0 zeros(1:27) 0 2*%i];
xn1=fft(ZT,1);
t=0:1/length(xn1):1-(1/length(xn1));
a=gca();
a.x_location="origin";
plot2d(t,xn1);
xlabel('time t');
ylabel('Amplitude');
xtitle('Interpolated Sinusoid:4 samples over one period'); |
5aebcc89ec207627363bd1d9392b2b85790b385f | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH1/EX1.21/1_21.sce | 56f1a1486d1ef7e062afc7b88014d5d964c3f9d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | 1_21.sce | //Eg No. 1.21
//Pg No. 43
clc ;
clear ;
close ;
printf('did not have a scilab analogy for the c++ code, for details go the page no. 43') |
bdb6e411f24ebdded2081b9e6017ad4538aaa949 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH7/EX7.6/Ex7_6.sce | 899229b02c2ddf6d8a3d4c2a457874d23d1f5d95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,398 | sce | Ex7_6.sce | // Scilab Code Ex7.6: Page-378 (2008)
clc; clear;
// For first set (3, 2, 2)
m = 3; n = 2; p = 2; // Coefficients of intercepts along three axes
m_inv = 1/m; // Reciprocate the first coefficient
n_inv = 1/n; // Reciprocate the second coefficient
p_inv = 1/p; // Reciprocate the third coefficie... |
f34090a4c9c88b485a359c6629570e4221e2aad4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH7/EX7.2/Ex7_2.sce | 2ac2d8b63d1b103a5b5df21352b03789596b95b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_2.sce | //Example 7-2, Page no - 222
clear
clc
N = 14
discrete_levels = 2^N
num_vltg_inc =2^N-1
resolution = 12/discrete_levels
printf('The numbedr of discrete levels that are represented \n using N number of bits are %d',discrete_levels)
printf('\n the number odf voltage increments required to divide \n the vo... |
14d8d4a5fc86ecc78eafee5e0a112dc4a4052e3c | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/functionNegation.tst | 9db62d0ed06de74eaf944279e3530cbfa9a2d094 | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | tst | functionNegation.tst | int complement(int number) {
return 0 - number;
}
main {
print(complement(4));
return 0 - 4;
}
|
810ff2553c0a770de4fe26935c38e3cf53b2d254 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH8/EX8.3/Ex8_3.sce | cec110aebee90720c88cc14f1e29f5b9485ec517 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,470 | sce | Ex8_3.sce | clear all; clc;
disp("Use the velocity diagram shown in figure 8.2 or 8.4")
disp("We have Vatanß2=Vatanα2-Um")
disp("Or tanß2=tanα2-Um/Va")
tanbeta2=tan(75*%pi/180)-1200/500
printf(" Thus tanß2= %0.2f",tanbeta2)
beta2=((atan(tanbeta2))*180/%pi)
printf("\n Thus ß2= %0.2f",beta2)
disp("Also Vatanß3=Vatanα3+... |
de351d8fc4361d04da1f3f346a8c9d78ce0333ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.30/Chapter2_Example30.sce | d800c1fa88ad3c09dd3bfdfd01d0056b9c233bc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | Chapter2_Example30.sce | //Chapter-2, Example 2.30, Page 2.57
//=============================================================================
clc
clear
//INPUT DATA
V1=250;//Primary voltage in V
V2=100;//Secondary voltage in V
I1=0.4;//Primary current in A
Wo=36;//No load power input in W
//CALCULATIONS
K=(V2/V1);//Voltage transf... |
2589a838198362152e2235ddaebc4830164523b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH2/EX2.19/Ex2_19.sce | aa0e60d7d86ff5c7331448c3d39276f1f27afc33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | Ex2_19.sce | //Finding resistance
//Example 2.19(pg. 33)
clc
clear
R1=18.6//resistacne in ohms
Kl=5//since l2=5*l1
Ka=3// since a2=3*a1
R2=R1*Kl/Ka
// resistivity is same because wires are of same material
printf('Thus the resistance of another conductor is %3.1f ohms',R2)
|
af63ce64b7c5628267e575acdcd85428ea528aac | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_9/a2senocoseno.sce | 392e8fc11f4bd0cbf0ed805ac9d4882d9f36dce3 | [] | 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 | 244 | sce | a2senocoseno.sce | clc
A = [1 0 1; 1/2 sqrt(3)/2 1; -1/2 sqrt(3)/2 1; 1 0 1; -1/2 -sqrt(3)/2 1; 1/2 -sqrt(3)/2 1]
y = [1 1.6 1.4 0.6 0.2 0.8]'
disp(A, "A")
disp(y, "y")
[Q R] = qr(A)
R = R(1:3,:)
Q = Q(:,1:3)
disp(Q, "Q")
disp(R, "R")
c = inv(R)*Q'*y
disp(c,"c")
|
62f1066a3182db95669142accaa25cc008118b4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH6/EX6.13/Ex6_13.sce | 801f4a7f210fb34999edded08c278750b976aa96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 933 | sce | Ex6_13.sce | // Example 6.13
clear all;
clc;
// Using the data given in the problem 6.12
rdist = 25.4; // Distance between the rods in cm
a = 1.02; // Radius of the rod in cm
b = rdist/sqrt(%pi); // Radius of equivalent cell
V = (b^2-a^2)/a^2; ... |
3d15c2d6f2a3aa9ab36b0cf13eafba454b386362 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.32/example12_32.sce | 5d439621babc4b1f1c35a07818ae7eeb0f7c0038 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | example12_32.sce | clc
// Given that
f = 60 // operating frequency in Hz
d = 1.6 // diameter in meter
B = 0.5 // magnetic field at the orbit in tesla
e = 1.6e-19 // charge on an electron in Coulomb
// Sample Problem 32 on page no. 12.44
printf("\n # PROBLEM 32 # \n")
printf(" Standard formula used \n")
printf(" E_ = 3e8 * r * B / 1e6 \n... |
ff7b2e1ddd7c22e02f350f90a58b70870e946bf0 | 9075eb7fae04907e48cd0a730255fdc9b69071f9 | /sci/FFT_Mat.sce | 8a48d1eb7b2be994e4a39c457aee321831aabd63 | [] | no_license | philippematthieu/GolfBall | 2173288fd434cc2abf5ee277fa584757fc172ebf | fe75825b89187dc68e78fe8d60c1a9f5596db075 | refs/heads/master | 2021-07-25T22:54:22.866727 | 2020-12-16T10:06:40 | 2020-12-16T10:06:40 | 66,164,790 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 87,957 | sce | FFT_Mat.sce | // Copyright (C) 2016 - Corporation - Author
//
// About your license if you have any
//
// Date of creation: 26 oct. 2016
//
//// Copyright (C) 2016 - Corporation - Author
////
//// About your license if you have any
////
//// Date of creation: 10 oct. 2016
//// Anntenne SMA
//chdir('D:\Golf\portaudio_0.2\portaudio_0... |
1ad5ae03bd136fc976d051215d63490aaeff4f95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH27/EX27.9/ques9.sce | 305d4d97372a3ec601adf77c57029f7df12f9a74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | ques9.sce | //ques7
clc
disp('Solution using Eulers Method ');
disp x y;
n=input('Input the number of iteration :-');
x=0.2;
m=1;
y=1;
yn=1;
y1=1;
k=1;
for i=1:n
yn=y;
for i=1:4
m=(k+y1)/2;
yn=y+0.2*m;
y1=(sqrt(yn)+x);
disp(yn);
end
disp('-----------------------');
y=yn;
m=y1;
yn=yn+0.2*m;
... |
f50cb48af09cc18d1433ce2d3d69b4b6f2cddeae | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH5/EX5.4/5_4.sce | 21f22637db7342cddfc5cf8db463f9f62df25e01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,529 | sce | 5_4.sce | clc
//ex5.4
L=0.3;
C=40*10^-6;
R=100;
V_s_max=100; //peak value of given voltage
W=500; //angular frequency
V_s_phi=%pi/6; //phase angle in degrees
V_s=complex(V_s_max*cos(V_s_phi),V_s_max*sin(V_s_phi)); //phasor for voltage source
Z_L=%i*W*L; //complex impedance of inductance
Z_C=-%i... |
27f1e1f4ee7de58f767203b62e47b4b9a17b190d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH2/EX2.15/exa_2_15.sce | c52a042f88587034815c0d4acf9b388ab54d0f1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | exa_2_15.sce | // Example 2.15
clc;
clear;
close;
// Given data
Int_energy_changes= 20;// in kJ/kg
Q= 0;// in kJ
W= -90;// in kJ
E= Q-W;// change in internal energy in kJ/kg
m= E/Int_energy_changes;// in kg
disp(m,"The mass of the fluid in the system in kg is : ")
|
7aa8e4b4c8b7ed91b9d0a0e695d10ee712b99d2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH11/EX11.19/11_19.sce | 6a03c6881ee93138bc694f8feff1feaae8df2211 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,142 | sce | 11_19.sce | clc;
clear;
x1=0.5;//m
x2=0.3;//m
Acritical=0.1;//m^2
//at x1, Max1 is found as
Max1=2.8;
//and px/p0,x is found as
pratio1=0.04;
//For this value of Max, py/px is found as
prat1=9;
pfraction1=prat1*pratio1;//where pfraction=py/p0,x = pIII/p0,x
//at x2, Max2 is found as
Max2=2.14;
//for this value of Max2... |
b09f372f697fbaae82e186de65c2d35356eb53f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH9/EX9.16/Ch09Ex16.sce | 9b4d33931bc590d3bd4c5fc97633189981f3d992 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch09Ex16.sce | // Scilab Code Ex9.16: Page-9.47 ; (2004)
clc;clear;
e = 1.6e-19; // Electronic charge, C
B = 1.5; // Magnetic field, tesla
I = 50; // Current, ampere
n = 8.4e+28; // Electron density, per metre cube
t = 0.5e-2; // thickness of slab, metre
RH = 1/(n*e); // Hall coefficent
V_H = RH*I*B/t; // Hall... |
4e999a6163af08ba87df76e8cbb6a660c048c3f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH2/EX2.2/Ex2_2.sce | 2cecc7b322a2749d84854ee3cc13b7e44514dfb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex2_2.sce | clc
//to calculate ratio of intensity
//I1/I2=1/25
//formula is a1/a2=sqrt(I1/I2)=1/5
a2=5 //a2=5*a1
a1=1
I=((1+5)^2)/((1-5)^2)
disp("ratio of intensity at the maxima and minima in the interference pattern is Imax/Imin=((a1+a2)^2)/((a1-a2)^2)="+string(((a1+a2)^2)/((a1-a2)^2))+"unitless")
//answer is given in te... |
7503b35f89207861d169ec81d9693beff910de41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH11/EX11.2/11_2.sce | 78415357fcfe15d236420607ef167f8aff138006 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | 11_2.sce | clc
//Initialization of variables
d=0.006 //m
U=0.01 //m/s
gaml=8000 //N/m^3
gams=7.9*10^3 *9.81
mu=13.9
//calculations
mu= d^2 /18 *(gams - gaml)/U
RN= U*d*(gaml/9.81) /mu
//results
printf("Viscosity of oil = %.1f Ns /m^2",mu)
|
78bff318818353843d5d0f168c9e42167e8feceb | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH2/EX2.4/Example2_4.sce | 6db7c40e219b74eb87d8ca3f4d2e88b7082e668a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | Example2_4.sce | //Resistance R, Voltage V, Current I
close();
clear;
clc;
R1 = 5;//ohm
R2 = 15;
R3 = 5;
R4 = 4;
R5 = 12;
V5 = 132;//V
I = V5/R5;
I1 = (R1+R2)/(R1+R2+R3)*I;
I2 = R3/(R1+R2+R3)*I;
mprintf('I1 = %0.1f A\nI2 = %0.1f A',I1,I2); |
e73c8e5a2da6c4eaa2168699a7e4fef3232d4975 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH2/EX2.19/Ex2_19.sce | b50515b7b399ba2b9aed8c534c20b1484a84af36 | [] | 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 | 151 | sce | Ex2_19.sce | errcatch(-1,"stop");mode(2);//Ex:2.19
;
;
C=10*10^-6;
V=250;//in volts
Q=V*C*1000;//in millicoulomb
printf("Charged stored =%f mC",Q);
exit();
|
02b1fd61a2f6cd91ac1b69d98b74ceb969f15e0c | 61129043aed87983b640a33b1c260316043fa570 | /drawing/primitives/hex_3d.sci | 56a089907447d44224c672fa491098abc2460bbf | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,517 | sci | hex_3d.sci | // =============================================================================
// gfx4scilab - drawing
// dgerod@xyz-lab.org.es
// =============================================================================
function [Hex3d] = dw_Hex3d_create(R, T)
Hex3d = 0;
if rt_ishomog(T) == %T then
r =... |
27b1e3919518d67f3aed3d86f4117475a619c238 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH7/EX7.2/Ex7_2.sce | 01019ddb3f32936751131fafc1283433aaac67c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Ex7_2.sce | clear
//
//
//
//Variable declaration
e=1.6*10**-19 //charge(coulomb)
new=6.8*10**15 //frequency(revolutions per second)
mew0=4*%pi*10**-7
R=5.1*10**-11 //radius(m)
//Calculation
i=(e*new) //current(ampere)
B=mew0*i/(2*R) //magnetic field at the centre(weber/m**2)
A=%pi*R**2
d=i*A //dipole... |
40c5b69c3731b334579ce06cd4f3a6d04ad1059c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH3/EX3.12/Ex3_12.sce | 0c48d7af4d6efdb648e3fdeed7b7a5ac5e43039f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | Ex3_12.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 3
//example 3.12
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
f=500; //frequency at the load side in Hz
t=1/f; //time for one cycle in sec
tseg=t/6; ... |
54266aa9e3247654e3c23a5e5a5a920765945c14 | 4014300a072f0492747983563943f01f78a1b16d | /test/unit_test/reports/tst-assume.tst | 7ce5410aaee1f2caf05d03c082ebda9c7f08afd4 | [
"BSD-3-Clause"
] | permissive | eyasuashenafi/ninja | e351cc90e8c815e018447750cd40fa38796f6c51 | daf739b82e48d3b60c43cf699fbb39f96d9fa27a | refs/heads/master | 2020-12-03T13:50:39.324069 | 2012-09-28T14:23:00 | 2012-09-28T14:23:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | tst | tst-assume.tst | description = Assume states during program downtime
logfile = assumed_states_during_program_downtime.log
assumed states during program downtime #1 {
assumestatesduringnotrunning = true
start_time = 1202684400
end_time = 1202770800
host_name {
testhost
}
correct {
TIME_UP_SCHEDULED = 0
TIME_UP_UNSCHEDULED =... |
8158a46db6b108110a00da3e25b664e4c9000f17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH12/EX12.8/EXP12_8.sce | d6ddd193b93a34956e69f20744192014317bad08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | EXP12_8.sce | clc;funcprot(0);//EXAMPLE 12.8
// Initialisation of Variables
d=0.001;........//Actual distence between one alpha plate to next alpha plate
S=14;..........//Spacings between between one alpha plate to next alpha plate
//CALCULATIONS
lamida=d/S;......//The interlamellar spacing between one alpha plate to next alp... |
10b150c641ea0649a9ae9c6c20b757eaab5ba447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH13/EX13.2/13_2.sce | d328c9b921071ab6d6e5a3d4e10452a580c11fd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | 13_2.sce | clear;
clc
P=4
f=50
G=200
H=6
J=G*H
mprintf("\n(a)stored energy = %.0f MJ",J)
Pl=120
Pl1=160
Pa=Pl-Pl1
M=J/(180*f)
a=Pa/M
mprintf("\n(b)acceleration = %.0f elec deg/ sec sq",a)
c=5
t=c/f
dd=.5*a*t*t
N=120*f/P
a=a*60/(180*P)
Nn=N+(a*t)
mprintf("\n(c)change in power angle = %.1f elec deg, change... |
dd2638fdf8cd78127f0d60baaf9cbb39b6cc4979 | 2875b7a7a87e6280e5aac1fb50dc04dfbcc23d3f | /lec/kalman/scilab/1dof_KBF.sce | 868e407660aec3ae85b8f7092eb41763454c7285 | [] | no_license | ktysd/ktysd.github.io | eb8946c877a6cb209960be57bfbcc1fe429abedd | 1e29a628e63ea476b4891da5c12276d1ae11c4a7 | refs/heads/master | 2021-04-26T15:07:02.322758 | 2020-11-02T07:33:51 | 2020-11-02T07:33:51 | 123,993,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,992 | sce | 1dof_KBF.sce | clear; clf();
///// definition of target system /////
c=0.3; k=1; dt=0.1; tn=200;
A=[0, 1; -k, -c];
D=[0; 1];
C=[0, 1];
x0=[1; 0];
///// solve the target system /////
function dx = eom(t,x,A,D,w)
dx = A*x + D*w;
endfunction
function x = eom_solve(x0,t0,dt,A,D,w)
xx=ode( x0, t0, [t0,t0+dt], list(eom,A,D,w) );
... |
3815c264f7364a5aa4391fefd10baaff1d6030e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH9/EX9.11/11.sce | c6da59adba213d6dd9c3609632b519e7bdfb861e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 947 | sce | 11.sce | clc
Q=0.05; // m^3/s
v=2; // m/s
f=0.005;
L_s=5; // m
d=0.178; // m
g=9.81; // m/s^2
L_d=20; // m
p2=1.5*10^5; // N/m^2
p1=0.5*10^5; // N/m^2
rho=1000; //kg/m^3
z2=15; // m
z1=5; // m
N1=1500/60; // rps
d=(4*Q/%pi/v)^(1/2);
H_f_s=4*f*L_s/d*v^2/2/g;
H_f_d=4*f*L_d/d*v^2/2/g;
H=1/(1-0.25)*((p2-... |
c7ac079f8e8bb7379cdaddc8799b480371c632c5 | 638792a4fe4462b8d15e3374e76b149c6f5ee3e0 | /FISH/MCT_FISH_practice.sce | 39f24cd130e58d4c8193d0146434e37ef6c15884 | [] | no_license | katielavigne/fMRI_tasks | 8cdb3bc63486a2b44118bc8b4c67b5799cd5080b | abd1f0b089f454531723186d50afdfa17912321c | refs/heads/main | 2023-09-01T12:59:35.488292 | 2021-11-03T12:26:15 | 2021-11-03T12:26:15 | 424,210,826 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,736 | sce | MCT_FISH_practice.sce | scenario = "fMRI-only version for MCT project";
#scenario_type = trials;
#scenario_type = fMRI;
scenario_type = fMRI_emulation;
scan_period = 2000;
pulses_per_scan = 1;
pulse_code = 1;
#pcl_file="MCT_EEG_fMRI_fish_greenlakeisfocal.pcl";
pcl_file="MCT_FISH_practice.pcl";
#write_codes = true;
#pulse_width=10;
active... |
ec11c7c7813d99fa057ef74eb9c486024cd65a3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH4/EX4.12/Ex4_12.sce | f4be54ec2344031912220a75ab2dcaaa39cdb1ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_12.sce | //Example 4_12
clc();
clear;
//To calculate distance betweenadjacent atoms
molwt=23+35.5 //units in grams/mol
avagadro=6.023*10^23 //units in gm/mol
mass=molwt/avagadro //units in gm
unitvol=2.18 //units in gm/cm^3
noofmol=unitvol/mass //units in gm/cm^3
total=2*noofmol //units in gm/cm^3
printf("numb... |
e32bbf1be8480c9e2f994bed8ac5e3ff7074e160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH2/EX2.17/example2_17.sce | 01c05135a36d810f6bb72f54d65701ff350ad27c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | example2_17.sce | //example 2.17
//page 90
clc; funcprot(0);
//initialisation of variable
pi=3.14;
ax=2.6;
ay=1.5;
g=9.81;
m=-ax/(ay+g);
//y2=y1-m*6; putting this value in second equation
y1=0.81;
y2=2.19;
x=linspace(0,15,15);
y=-11310*-y2-2600*x;
clf()
plot(y,x);
//from the graph maximum occurs when
x=0;
disp(x,"maxim... |
1e83c4742aa0cc3f6e3269260b48169694792ed8 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_scope_sort2.tst | 580e343bd65ad807862cf69add9aca00bb1bbdc8 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 196 | tst | ok_scope_sort2.tst | ; test scope of define-sort
(set-logic QF_UF)
(define-sort A () Bool)
(push 1)
(define-sort B () Bool)
(declare-fun x () A)
(declare-fun y () B)
(pop 1)
(declare-fun xx () A)
(define-sort B () A)
|
a1e47503d2ffad1ad70b04c6319c747aed661750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH16/EX16.16/16_16.sce | 62c65b424bb2e8aea1f28aa44a5204733b203238 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | 16_16.sce | clear;
clc;
Ro=600;R1=240;
R2=((Ro*Ro)-(4*R1*R1))/(4*R1);
d=acosh(1+(2*R1/R2));
printf("Value of shunt resistance = %d ohm\n",R2);
printf(" Attenuation = %f db",round(d*8.686*10)/10);
|
f61a6ea34d974fa7d646fcffca435d6f52d1b613 | 10009b400a1cb3f79eac088e0da3485079ab5ef5 | /matlab/fft.sce | cd2b0f7977ed4b89f3f6f6f57b9f826c2b0eedac | [] | no_license | Paimon97/7-semestr | 36e14102688103ead95b2d515ce926929893e642 | 99d21228b1c5b0fa08cf35f5aee5eb38eed7084d | refs/heads/master | 2020-07-31T10:57:10.938684 | 2019-12-24T15:22:54 | 2019-12-24T15:22:54 | 210,580,371 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | fft.sce | N = 100; // number of elements of the signal
n = 0:N - 1;
w1 = %pi/5; // 1st frequency
w2 = %pi/10; // 2nd frequency
s1 = sin(w1*n); // 1st component of the signal
s2 = cos(w2*n); // 2nd component of the signal
f = s1 + s2; // signal
//plot(n, f);
F = fft(f); // it calculates the Fourier Transform
F_abs = abs(F); // ... |
149478531b0fb06843bc8de3259c1e6250e7b64a | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH10/EX10.2/Example_10_2.sce | 1437ee19714bf288319ea6a9487d72895d3fab3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,589 | sce | Example_10_2.sce | //Caption: Correlation for Grouped Data (Karl Pearson's Coefficient of Correlation)
//Example10.2
//Page372
clear;
clc;
X = [9,11;11,13;13,15;15,17];//Rate of return
Y = [2,4;4,6;6,8];//Equity (crores of Rs.)
[m1,n1] = size(X);
[m2,n2] = size(Y);
for i = 1:m1
Xmid(i) = mean(X(i,:));
end
for i = 1:m2
... |
1f14ba4b9c61ed18d9698de5959ccf988586d4ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH1/EX1.16/Ex1_16.sce | d7e2c5c6fa9ebcf3eb8037faf6978c9ed8bd678e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Ex1_16.sce | clear
//Given
m=9*10**9 //C
q1=10*10**-6
q2=5*10**-6
r=0.05
//Calculation
//
F1=m*q1*q2/r**2
F2=m*q1*q2/r**2
F3=sqrt(F1**2+F2**2+(2*F1*F2*cos(120)*180/3.14))
//Result
printf("\n Resultant charge is %0.0f N",F3*10**-1)
|
3fe96bae9aa8c7de0d65fb37fc7ea401e41ec33f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.29/Ex5_29.sce | 3aa0e3fac163efb62af9a312a673fc75575e685d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex5_29.sce | clc;
Ef=1.4; // p.u excitation EMF
xs=1.2; // p.u synchronous reactance
p=0.5; // p.u synchronous power being delivered
i=1; // percentage increment in prime mover torque
vt=1; // rated per phase voltage
de=asind((p*xs)/(Ef*vt)); // load angle
dp=(i*p)/100; // increase in p.u real power
ip=(dp/p)*100;
printf... |
d218581a9e6dec176b1d06dd893556cae8c2cb47 | 0156c657b547f9ab9045d6ddbc14e31954096a78 | /Assignment 2.sce | 4d41d82a9218ec2ff67454a6d28dc395ff1438a9 | [] | no_license | anihm136/LA_2020_Assignments | 18e2e30c86c8c196aca04fd11aeb3227465c3f41 | 4982b560f584ca08f14caa846cf7cbecdd5657ce | refs/heads/master | 2021-01-03T05:41:46.213301 | 2020-04-13T18:12:06 | 2020-04-13T18:12:06 | 239,946,265 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sce | Assignment 2.sce | function m=makeMatrix(r, c)
// Creates a matrix from user input and returns it
m = zeros(r, c)
for i = 1:r
for j = 1:c
message = "Enter the element at [" + string(i) + "," + string(j) +"]"
m(i,j) = input(message)
end
end
endfunction
a = makeMatrix(3,3);
disp('Convert to U matrix... |
ee38a50de5d5b170dec75b492968aa9e4923a5a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH13/EX13.14/ques14.sce | ad536f85d9ffacc025fea145706fda7617d95e82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | ques14.sce | //ques14
clc
disp('solution of the given linear differential equation is given by : ');
disp('CF + PI');
syms c1 c2 c3 c4 x
m=poly(0,'m');
f=(m^4+2*m^2+1);
r=roots(f);
disp(r);
disp('CF is given by ');
cf=real((c1+c2*x)*exp(r(1)*x)+(c3+c4*x)*exp(r(3)*x));
disp(cf);
disp('----------------------------------... |
cdcb4386a6f90a1f655e85c07dd140414881cf49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH10/EX10.11/10_11.sce | f58b3d24125ea0b3f690e6e9c0e278873619d7a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,966 | sce | 10_11.sce | clear;
clc;
printf("\t\t\tExample Number 10.11\n\n\n");
// cross-flow exchanger with both fluid unmixed
// Example 10.11 (page no.-547-549)
// solution
pa = 101325;// [Pa] pressure of air
Ti = 15.55;// [degree celsius] initial temperature of air
Tf = 29.44;// [degree celsius] final temperature of air
Thw ... |
b08ac492dbbac6c8407cd894df06144c2ab36fb9 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.18_11.tst | d306425403f2cd1196fdf19d2574ef0bd68d965d | [] | 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 | 560,040 | tst | 5.18_11.tst | 18 209:2 298:1 687:1 734:1 869:1 887:1 1417:2 1453:1 1454:1 1494:1 1884:1 2098:2 2333:1 2600:1 2639:1 2670:1 2704:2 2726:1 2832:2 2923:1 2963:1 3006:1 3016:1 3179:1 3419:1 3647:1 3812:1 4436:1 4465:1 4513:1 4563:1 4565:1 5153:1 5254:1 5333:1 5744:1 6100:1 6102:1 6367:1 6525:1 6652:1 6818:1 6913:1 7191:1 7210:1 7238:1 7... |
e0742702f90a46a62935137136814e066b98b166 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH8/EX8.2/Ex8_2.sce | caed0fd0e12e0ec047821c40ee7b8d97cccde898 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | sce | Ex8_2.sce | clc;
//e.g 8.2
Ie=6.28*10**-3;
Ic=6.20*10**-3;
a=Ic/Ie;
disp(a);
|
245791b4d4d5c8ee9220f628f1d62139a63caafa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH8/EX8.8/Ex8_8.sce | a46d192e00b900a482841d117d4b89f796998cee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,681 | sce | Ex8_8.sce |
clc
T0 = 300 // Atmospheric temperature in K
Tg1_ = 300 // Higher temperature of combustion product in degree Celcius
Tg2_ = 200 // Lower temperature of combustion product in degree Celcius
Ta1 = 40 // Initial air temperature in K
cpg = 1.09 // Specific heat capacity of combustion gas in kJ/kgK
cpa = 1.005// Specific ... |
89c3ec3758d680f5a1980e6850aa62c727b045c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH10/EX10.5/Ex10_5.sce | c623747cf81a3c10fcbe7de02b2706fe6bfe4337 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | Ex10_5.sce | // chapter 10
// example 10.5
// Determine the input current to the convertors
// page-701
clear;
clc;
// given
m=6; // number of pulses
Pi=50; // in kVA ()power of cycloconvertor)
E=415; // in V
theta=45; // in degree (firing angle)
alpha0=0.8; // power factor
// calculate
Pi=Pi*1E3; // changing unit from kVA to VA
//... |
9e5d0941afd031a423c4ee04295d5dcadad18e68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH10/EX10.5/10_5.sce | 83c419ec2a420e8626e0e5bedb2471ddd158c6b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_5.sce | clc
//ex10.5
V_1=10;
V_2=3;
R_1=4*10^3;
R_2=6*10^3;
//1)analysis by assuming D1 off and D2 on
I_D_2=V_2/R_2; //ohm's law
//applying KVL
V_D_1=7; //contradiction to 'D1 is off'
//this assumption is not correct
//2)analysis by assuming D1 on and D2 off
I_D_1=V_1/R_1; //ohm's law
//applying K... |
32ed0ca3a612da1f3cc49cb3ce34e7782426b42d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH1/EX1.29/Ex1_29.sce | abb347fc87349aa9bef0daf9e075a31c49eaab19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,084 | sce | Ex1_29.sce | clear
//
//Given
//Variable declaration
d=3*10 //Diameter of the rod in mm
L=5*10**3 //Area of the rod in sq.mm
T1=95 //Initial temperature in degree celsius
T2=30 //Final temperature in degree celsius
E=2e5*10**6 //Youngs Modulus in N/sq.m
alpha=12e-6 //Co-efficient of... |
f590a3beb8c9c537baa5c6fe6879d97aead0bb25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH1/EX1.10/1_10.sce | 5b54ceebd2eb1db1e096555bdd25a5f4f6b7a598 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | 1_10.sce | //1.10
clc;
disp('If the thyristor is fired at 60 degree')
Irms=(0.8405*((%pi-%pi*60/180)-sin(2*%pi)/2+sin(2*%pi*60/180)/2))^0.5;
R=100;
P=Irms^2*R;
printf("Power supplied to load=%.0f W",P)
disp('If the thyristor is fired at 45 degree')
Irms=(0.8405*((%pi-%pi*45/180)-sin(2*%pi)/2+sin(2*%pi*45/180)/2))^0.5;
R=... |
5cb80c65aa32799f5cc9097f5468d0fd2a77519f | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH3/EX3.11/ch3ex11.sce | 4d976467e575674a2277b8c03ae52777b4e830ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | ch3ex11.sce | //signals and systems
//time domain analysis of discreet time systems
//impulse response with initial conditions
clear;
close;
clc;
n=(0:19);
x=[1 zeros(1,length(n)-1)];
a=[1 -0.6 -0.16];
b=[5 0 0];
h=filter(b,a,x);
clf;
plot2d3(n,h); xlabel('n'); ylabel('h[n]'); |
c3300649884f496eedac9a4bcd7249ecd8932446 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH9/EX9.7.b/example_9_7b.sce | 4bbc208855b6a0520aac243a6c369c666730cb8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | example_9_7b.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 9
// Mass Transfer
// Example 9.7(b)
// Page 366
printf("Example 9.7(b), Page 366 \n \n");
D = 0.04 ; // [m]
V = 1.9 ; // [m/s]
// (b) mess transfer correlation equivalent to the Gleilinski equation
// Properties of air at 27 d... |
5504099dd0dc87051d9f7f0799b6aa1e067f6033 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH12/EX12.15/Ex12_15.sce | 79ecc3c2ed48fd5da9cbdc768654dd7f76f57903 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Ex12_15.sce | clear;
clc;
W = 5;// cwt
n = 18;// no. of coils
delta = 9;// inches
d = 1;// inch
D = 8;// inches
N = 6000;// tons/in^2
P = (delta*N*d^4)/(64*n*(0.5*D)^3);// tons
h = (0.5*P*delta*20/W)-delta;// inches
printf('The height of drop h = %.3f inches',h);
|
9bae56fcb2823335322eb72e41b63fb88588784a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH8/EX8.29/8_29.sce | 8bb9373773e9433e45c983d908f909b39ce18c19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 8_29.sce | clc
//initialisation of variables
v2=6//lit
v1=2//lit
r=3/2
p1=1.01*10^5//n/m^2
//CALCULATIONS
g=(r+1)/r
p2=p1*(v2/v1)^g
w=(1/(g-1))*((p1*v2*10^-3)-(p2*v1*10^-3))
//results
printf(' \n work done= % 1f J',w)
|
6b3b010d9afcd1f17888189b9ca2e1d79cb8ec61 | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /pii.sci | 286e759ea96a9919c00fa5241e8ba9d16faecb63 | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sci | pii.sci | function [pi]=pii(n)
a = 1
b = 1 / sqrt(2)
t = 1 / 4
x = 1
i = 0
while(abs(a-b) > 0.000001)
y = a
a = (a + b) / 2
b = sqrt(y * b)
t = t - x * (y - a)^2
x = 2 * x
i = i + 1
pi = ((a + b)^2) / (4 * t)
xtitle("Estimation of pi values",... |
a11e261b97842160fc056c1ae042f590c5bf5f2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH11/EX11.1/Ex11_1.sce | 0b187d3b6f413a3e27964fdc9be44ede3ff59b1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | Ex11_1.sce | clear all; clc;
disp("Scilab Code Ex 11.1 : ")
//Given:
sigma_allow = 170; //MPa
tou_allow = 100; //MPa
//Shear and Moment Diagrams:
V_max = 90; //kN
M_max = 120; //kNm
//Bending Stress:
S_reqd = (M_max*(10^3))/sigma_allow;
W = [60 67 64 74 80 100];
S = [1120 1200 1030 1060 984 987];
i = find(mi... |
3e85150e221e08ebe1b89149a91b680980577a12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH10/EX10.14/14.sce | d8807d61e0319ad171a7ef62d26967760d9b9a98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | 14.sce | clc
disp("(i) Make-up water required")
p_vs=0.0206; //bar
phi=0.6;
p_t=1.013; //bar
p_v1=phi*p_vs;
p_a1=p_t-p_v1;
V=9; //m^3
R=287;
T=291; //K
m_a=p_a1*10^5*V/R/T;
m_v1=0.0828; //kg/s
//At exit at 26 0C
p_vs=0.0336; //bar
phi=1;
p_v=p_vs;
W2=0.622*p_v/(p_t-p_v);
m_v2=W2*m_a;
m=m_v2-m_v1;
... |
52445c5f0ce2c95279cacba65f60374d4dc44264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH1/EX1.1/example_1_1.sce | c0c30723f011bb10c503dd293e77f1385ca12385 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,560 | sce | example_1_1.sce | //Chapter 1
//Example 1.1
//page 5
clear;clc;
fl=760e3;
pf=0.8;
lsg=0.05;
csg=60;
depre=0.12;
hpw=48;
lv=32;
hv=30;
pkwhr=0.10;
md=fl/pf;
printf('Maximum Demand= %.1f kVA \n\n',md/1000);
//calculation for tariff (b)
printf('Loss in switchgear=%.2f %% \n\n',lsg*100);
input_demand=md/(1-lsg);
input_demand=input_demand... |
1a71065d2823cde6abf12d853ed4fd1b53728f24 | 37fa49594e3589dc31ae42ddc5a65ae627b7a214 | /Template1.tst | e7011d4c714eeeefd3e0eb8d9700c057ad9105d3 | [] | no_license | brendon-colburn/crmsvcutil-ts | f23fc48934d1e4ce83a3322d33bd3a3f447a535e | 12a9b38ad63f5eb1ccb39c40168bfce51eeb01a1 | refs/heads/master | 2020-12-14T09:50:49.991958 | 2019-07-24T21:18:41 | 2019-07-24T21:18:41 | 95,452,164 | 3 | 0 | null | 2019-07-24T21:18:42 | 2017-06-26T13:58:58 | CSS | UTF-8 | Scilab | false | false | 15,367 | tst | Template1.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
// Uncomment the constructor to change template settings.
//Template(Settings settings)
//{
// settings.IncludeProject("Project.Name");
// settings.OutputExtension = ".tsx";
... |
eb94495a7158c11c58f4554b7b46e645b270eaa7 | 18bf68cdf766092ccdcba8d231e8140063833a5a | /ThreeSinWavesFiltering.sce | 1e042619e59642df56b73d4fada20e8c9f77c955 | [] | no_license | goodengineer/Scilab-Exercises | b51cc9a4c938f0289a32875d2d21eb9061d0e68e | 3c268211fe48e7e4d0002e44757ea8b50cda10f9 | refs/heads/master | 2022-12-24T23:30:12.875423 | 2020-10-05T06:27:20 | 2020-10-05T06:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | ThreeSinWavesFiltering.sce | clear;
clc;
clf;
f1 = 100;
fs = 5000;
t = 0 : 1/fs : 0.05;
x1 = sin(2*%pi*f1*t);
x2 = sin(2*%pi*5*f1*t);
x3 = sin(2*%pi*10*f1*t);
x = x1 + x2 + x3;
coeff = ffilt("lp",100,0.05);
[mag,fr] = frmag(coeff,1,100);
filtered_x = filter(coeff,1,x);
subplot(311);
plot(fr, mag);
subplot(312);
plot(t, x);
subplot(313);
pl... |
e330d5156c0154914d8c892b5c0030d56417e114 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH5/EX5.9/Ex5_9.sce | 87a133ed410d29fc7ee1a1e1b62d5fafe9b9d09d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 977 | sce | Ex5_9.sce | clear
//Given
P_Max = 10 //N - the maximum distribution in a triangular distribution
L = 3 //mt the total length of force distribution
L_X = 5 //mt - the horizontal length of the rod
//calculations
F_y = P_Max*L*0.5 //N - The force due to triangular distribition
L_com = 2*L /3 //mt - the resu... |
91f4c8f06d2f2ba4bf5f87d0a9a568d5ddf35167 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/util/%r_inv.sci | c4dcd9eccd69d418394be086be969cabf0aac326 | [
"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 | 50 | sci | %r_inv.sci | function x=%r_inv(a)
// Copyright INRIA
x=invr(a)
|
eeb07facadfd0f63647ea13f4a6242d3ef36b4a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH11/EX11.1/Example11_1.sce | 0ea2278e726ceba8a7ea35881259663c5517f73e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | Example11_1.sce | clear;
clc;
// Example: 11.1
// Page: 458
printf("Example: 11.1 - Page: 458\n\n");
// Solution
//*****Data******//
a = 2.423;// [g]
b = 100;// [g]
Lf = 35.7;// [cal/g]
Tf = 353.1;// [cal/g]
delta_Tf = 0.64;// [OC]
R = 2;// [cal/mol K]
Mw = 32;// [Molecular wt. of Sulphur, g/mol]
//*************//
... |
3903b9c125e19c18617fdbfc98d4d9f16f27859f | c645f66bc165dc95ee9fad51cb807fb3f87274bb | /testGauss.sci | b6224d8dea8e83ec318a2467304069a90ff0e27d | [] | no_license | Younes-97/TP-Calcul-Num-rique | 43faa872415b280b41b4a8e4f10887ce47de2616 | 098a68cb8e92586a75bf4dd20189c5a7efca6e59 | refs/heads/main | 2023-02-02T11:54:40.506903 | 2020-12-17T12:07:22 | 2020-12-17T12:07:22 | 318,046,472 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 937 | sci | testGauss.sci | s = 100;
rand("seed");
xdata = [10:10:100];
for n = xdata
i = n/10;
U=rand(n,n);//Ici on génère une matrice carée avec des nombre aléatoires
b=rand(n,1);//Vecteur solution
xex=rand(n,1);//Vecteur solution
b = U*xex... |
b88b2550d69be48f81ede9a13d4da6b13d38310e | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH2/EX2.7/ch2ex7.sce | 025d58136ae3df142d67cc907f5c0d89c49313ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sce | ch2ex7.sce | //time domain analysis of continuous time systems
//Convolution Integral of input x(t) = (e^-t).u(t)and g(t) =u(t)
clear;
close;
clc;
Max_Limit = 10;
t = -10:0.001:10;
for i=1:length(t)
g(i)=exp(-t(i));
x(i)=exp(-2*t(i));
end
y = convol(x,g)
figure
a=gca();
plot2d(t,g)
xtitle('Impu... |
2178c627e08f568ca1b8f9e8d22b6e1e762b5060 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH7/EX7.3/Example7_3.sce | 24d34674e3447c918c5e4a2df114af9409bc6190 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sce | Example7_3.sce | clear;
clc;
// Illustration 7.3
// Page: 226
printf('Illustration 7.3 - Page: 226\n\n');
// solution
// ****Data****//
m = 10;// [kg]
Cvap = 1.256;// [kJ/kg.K]
Cliq = 1.507;// [kJ/kg.K]
Temp1 = 100;// [OC]
Temp4 = 10;// [OC]
//******//
// Using Fig 7.2 (Pg 224):
Temp2 = 25;// [OC]
// Using the ... |
624c5c0705f392d11ed0d0b125f632e1daac27d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH9/EX9.3/Ex9_3.sce | 88726abd9a4196acbb09bb7def2816f18c2aab38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 979 | sce | Ex9_3.sce | clear ;
clc;
// Example 9.3
printf('Example 9.3\n\n');
printf('Page No. 256\n\n');
//given
N_1 = 1.5;// Ventilation rate in the production area (air changes per hour)
N_2 = 1.0;// Ventilation rate in the office suite (air changes per hour)
//From example 9.1
V_P = 6000;// Voulme of production area in m^3
... |
d3027167ee4b4cc0fee4588d00581bfbb1c1fbf4 | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q07a.tst | 196035a6a77b1a60470c1f1c6e7d6781e11d3e3b | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | tst | q07a.tst | 0
0.20
a 1
aabb 1
b 1
aabbabb 1
aabbb 0
abb 0
ab 0
bab 0
|
c181d0d0cd1de847b5702302d19358ded51b72dc | a2845a06ebac1138c6854d691780b120cdd556ab | /AM.sce | 70dd09c98420aefec3af1557ff803107711eb75c | [] | no_license | asp2809/Scilab-Programs | d734202084dc70e2b4e3281410833d315ce1558c | 6a49e9401ee81dd3ffc909fe6a3954b5e184c70c | refs/heads/master | 2020-03-10T15:11:33.831289 | 2018-10-05T09:50:06 | 2018-10-05T09:50:06 | 129,443,439 | 1 | 0 | null | 2018-10-05T09:50:07 | 2018-04-13T19:10:50 | Scilab | UTF-8 | Scilab | false | false | 383 | sce | AM.sce | //program to generate an AM waveform
function []=ammod(Am,Ac,fm,fc,fs)
t=0:1/fs:1
vm=Am*cos(2*%pi*fm*t)
vc=Ac*cos(2*%pi*fc*t)
x=(Ac+vm).*(cos(2*%pi*fc*t))
subplot(3,1,1)
title("Modulating Signal")
plot(vm)
subplot(3,1,2)
title("Carrier Signal")
plot(vc)
subplot(3,... |
bfc97a2635b07aaa03b055b99d5e0c4ad6dba111 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/9_3_data.sci | c9e7cda629b1eb34345f56e0c1151951d5096854 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sci | 9_3_data.sci | //Total power output(in kW)
P=180;
//No of cylinders
k=4;
//Speed of the engine(in rpm)
N=1500;
//Brake specific fuel consumption(in kg/kWh)
bsfc=0.2;
//Crank angle(in degree)
Tc=15;
//Injection pressure at beginning(in bar)
P1=200;
//Injection pressure at end(in bar)
P2=500;
//Pressure in cylinder at beg... |
49a79a41310f6f704fc02e9e6adf416999788ebf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH7/EX7.12/ex7_12.sce | de3a8db00a7fcb6a3ce8450fcaf43b475f51d06a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | ex7_12.sce | //Example 7.12, Page no.280
clear
clc
theeta=5 //Angle form by slant ranges of two satellites
dA=42100*10^3 //Slant range of satellite A
dB=42000*10^3 //Slant range of satellite B
r=42164*10^3 //radius of geostationary orbit
beeta=((dA^2+dB^2-cosd(theeta)*2*dA*dB)/(2*r^2))
beeta=ceil(beeta*10^3)/10^3
b... |
8043fd203f54774411bfa5dd61ccffe44517e440 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH2/EX2.17/Ex2_17.sce | 9081c7e982b8d76b39dfd24c11a4845e151eff7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | Ex2_17.sce | //Chapter 02:Basic Structures: Sets, Functions, Sequences, Sums and Matrices
clc;
clear;
A = [[1,1],
[2,1]]
B = [[2,1],
[1,1]]
m1=A*B
m2=B*A
disp(m1,'A*B=')
disp(m2,'B*A=')
if m1==m2 then
disp('AB=BA')
else
disp('AB!=BA')
end
|
8624328e2aa352edbe3634dadd3180ee26cb02a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.10/ex6_10.sce | 55eb48ad0fe1e6b60e12074ebfac04ae401fcda9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_10.sce | // Exa 6.10
clc;
clear;
close;
format('v',7)
// Given data
Af = -100;// unit less
Vin = 0.06;// in V
Vout = Af*Vin;// in V
Vin = 50;// in mV
Vin = Vin * 10^-3;// in V
A = Vout/Vin;// unit less
//Af = A/(1+(A*Beta));
Beta = (abs(A)-abs(Af))/(Af*A);// unit less
disp(Beta,"The value of ß is");
Amount = 20*l... |
f81e8c0b1e33c988710a9952c56b628512fdbdcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH3/EX3.12/ex_12.sce | f36d4c3765b7a98ce25669c52e5dc6422973bb7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | ex_12.sce | // Chapter 3_The Semiconductor in Equilibrium
//Caption_Charge Neutrality
//Ex_12//page 116
T=550 //temperature in kelvin
Nc=2.8*(10^19)
Nv=1.04*(10^19)
Eg=1.12 // band gap energy in eV
ni=(Nc*Nv*(T/300)^3*exp(-Eg/0.0259 *(300/T)))^0.5
//no=1.05*Nd since the intrinsic carrier concentration to contribute no... |
0eda1c7f1275e213a24754083cb574c3c1b0b6e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH2/EX2.19/Ex2_19.sce | 19b27deaa73ace426802ac67e3f97586d62944d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | Ex2_19.sce | //Ex_2_19
clc;
clear;
close;
format('v',7);
//given data :
I=100;//A
r=1;//m
mu0=4*%pi*10^-7;//permeability of air
B=mu0*I/2/%pi/r;//Wb/m^2
disp(B,"Magnetic field produced(Wb/m^2)");
|
bfa46b9380de142b0628d0fda24fe0fc02c3e9b9 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/aka.tst | dca32ff54c30b0a62dee1f54c7178cd4a14ac52b | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 25,625 | tst | aka.tst | wie rennwie V;HAB;NEG;FUT
wie akɔwie V;PRF;PRS;LGSPEC1
wie nna abɛwie V;PRF;PST+IMMED
wie nnkɔwie V;NEG;PRS;LGSPEC1
wie bɛwie V;HAB;FUT
wie awie V;HAB+PRF;PRS
wie remmbɛwie V;PROG;NEG;PRS+IMMED
wie mma nnwie V;IMP;NEG;PRS
wie nna rewie V;HAB+PROG;PST
wie nna rennwie V;HAB+PROG;NEG;PST
wie nna nnwiee V;HAB+PRF;NEG;PST
w... |
37f1f556112fdb955a9e104879154cf55bda3241 | 430e7adb489914d378a5b0a27d8d41352fa45f3a | /scilab/example/3次系の安定余裕計算.sce | 091059b2277cccd6f389120e65422701e5d94554 | [] | no_license | ziaddorbuk/Lesson | 04906ff94bf8c1f6bbc6971d5692ae011a9b8869 | 20fe20a6c9c145ef48a35574d885d3952f9ab6ff | refs/heads/master | 2021-09-23T11:48:05.958608 | 2018-04-30T01:54:13 | 2018-04-30T01:54:13 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | Scilab | false | false | 271 | sce | 3次系の安定余裕計算.sce | //3次系の安定余裕計算
s=%s;
G=1/(s*(s^2+2*s+4));
H=20;
croots=roots(denom(G*H)+numer(G*H))
sys=syslin('c',G*H);
gm=g_margin(sys)
pm0=p_margin(sys);
if pm0 < 0 then
pm = pm0+180
else
pm = pm0-180
end
xset("window",0);clf();bode(sys,0.1,1);
|
55357878418064600ee4e55ab26f3796274565b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH12/EX12.2/12Q2.sce | eedec04ee54a3b698e84b510cd614d96e0398441 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 12Q2.sce | clc
T3=16 // lb/in^2
Tf=25 // lb/in^2
T1=T3+Tf
a= asind((T1-T3)/(T1+T3)) // Mohr's circle
printf('a)Angle of friction,a = %f\n',a)
b= 45+ a/2
printf(' b)Angle b that the failure plane makes with the major principal plane = %f',b)
|
8bb065dbeaf9ed85d29822822271700459670f55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH1/EX1.1/Ex1_1.sce | 7a9b5298e614ed78e16fe2fd8381b59e79810e20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,062 | sce | Ex1_1.sce | clc
// Va r i a b l e I n i t i a l i z a t i o n
Vm=230 //Supply Voltage in Volts
af=0 // Firing Angle of Converters in Field
Rf=200 //Field Resistance in ohm
T=50 //Load Torque in N-m
Kt=0.8 //Torque Constant in N-m/A^2
N=900 //Motor Speed in rpm
Ra=0.3 // Armature Resistance in ohm
//Solution
Vf=Vm*(1+co... |
da61930da1212a3ef301391f26039f8b41b970dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH14/EX14.16/106ex2.sce | b33aab490f71ef416ae8252feb965be25cf00361 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | 106ex2.sce |
//4*x^2+6*x+9
clear;
clc;
close;
x=poly(0,'x');
p=4*x^2+6*x+9
mprintf("is not a complete square")
//the 1st and 3rd terms are squares of 3and 2x
//for complete square the middle term must be +(2*sqrt(4x^2)*sqrt(9))=+12x ... |
604d80a6d63a9b613f387b4db58d20c746ea7d2b | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/dwt.sci | 60dc7f654168718f1bc26901b0fb6d8e85524018 | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sci | dwt.sci | function [U, V] = dwt(X, varargin)
funcprot(0);
rhs = argn(2)
if(rhs<2 | rhs>4)
error("Wrong number of input arguments.");
end
select(rhs)
case 2 then
[U, V] = callOctave("dwt", X, varargin(1));
case 3 then
[U, V] = callOctave("dwt", X, varargin(1), varargin(2));
case 4 then
[U, V] = callOctave("dw... |
8bec4c0a13fbc6b97a2b2159eff318f206216fa4 | 29778da8b2321b9b111665ee097446f393795813 | /automatique/Td/td4/test_fonc_transfert.sce | e2edb92e12a81df04bf0a1ff93342f9ff000781b | [] | no_license | RomainCocogne/Elec3 | 947fe8590fcc084f496e0934c2bda195adb4d33f | 47833a7112d50c6278898ee388044d5364fb482c | refs/heads/master | 2020-04-27T02:23:00.159518 | 2019-08-26T22:29:00 | 2019-08-26T22:29:00 | 173,992,180 | 2 | 0 | null | 2019-05-16T14:59:40 | 2019-03-05T17:37:22 | Jupyter Notebook | UTF-8 | Scilab | false | false | 792 | sce | test_fonc_transfert.sce | clear;
xdel(winsid());
t=linspace (0,1E-2,1E4);
p=poly(0,'p');
K=0.47;
Taum=0.034;
Taue=0.0005;
M3=syslin('c',K/(1+Taum*p));
m3=csim('step',t,M3);
M2=syslin('c',K/((1+Taum*p)*(1+Taue*p)));
m2=csim('step',t,M2);
M1=syslin('c',K/(1+Taum*p+Taum*Taue*p*p));
m1=csim('step',t,M1);
C=syslin('c',(1+Taum*p)/(Ta... |
093b7f7f7aa53348f04a3abdbe2ac935de54226b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH5/EX5.10/5_10.sce | 9d32e3f74b8ef4fc22d5d5b8b168f86f3bedd03d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_10.sce | clc
//initialisation of variables
Q= 200 //gpm
d= 2 //in
S= 0.91
f= 0.05
L= 800 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
v= Q*4/(%pi*3.12*d^2)
h= 2.598*S*f*L*v^2/(2*g)
//RESULTS
printf ('Pressure drop = %.f psi',h)
|
b08b91c98345195fea51c55917e352a1676bb3ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.9/ex5_9.sce | 97a18c65e292c653f4c64dd370cc5b98bb962084 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | ex5_9.sce | // Exa 5.9
clc;
clear;
close;
// Given data
alpha = 1.414;
f_c = 1.5;// in kHz
f_c = f_c * 10^3;// in Hz
C1 = 2/alpha;// in F
C2 = alpha/2;// in F
R1 = 1;// in ohm
R2 = R1;// in ohm
R_F = 2;// in ohm
Omega_c = 2*%pi*f_c;// in rad/sec
R = 1/Omega_c;// in ohm
R = R * 10^7;// in ohm
R1 = R;// in ohm
R2= ... |
1a5d4d6db31f7bae28c3d0beca195620ad59176f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%lsse.sci | db31e4b51a98b30378a1b14f86dbac48e2b5e150 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sci | %lsse.sci | //<f>=%lsse(i,j,f)
//<f>=%lsse(i,j,s) extrait le sous systeme s1 qui correspond aux sorties
//(entrees) designees par le vecteur d'indice i (j) du systeme lineaire
//decrit par sa representation d'etat s,
//Cette macro correspond a l'operation s1=s(i,j)
//!
// origine s. steer inria 1988
//
[a,b,c,d,x0,dom]=f(2:7)
f... |
926ced90d0d4a9b560acce6d210013f3a46b6604 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Chi-RW-C/results/Chi-RW-C.australian-10-1tra/result3.tst | 0a9470921e2da53bab2abbd5c102d5a276ae374d | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | tst | result3.tst | @relation australian
@attribute A1{0,1}
@attribute A2 real[16.0,8025.0]
@attribute A3 real[0.0,26335.0]
@attribute A4{1,2,3}
@attribute A5 integer[1,14]
@attribute A6 integer[1,9]
@attribute A7 real[0.0,14415.0]
@attribute A8{0,1}
@attribute A9{0,1}
@attribute A10 integer[0,67]
@attribute A11{0,1}
@attribute A12{1,2,3... |
adf723520677dc0af31c6c82500318d18f3844ea | 0fe450b52908c4de1f70576ebfbce8d2b98ec427 | /src/test_ods_fsed_2_k.tst | 47c712f5fef42ec9b22088b76e9b6119ef2faf0c | [
"Zlib",
"BSD-3-Clause",
"MIT",
"OML"
] | permissive | technologiespro/ciyam | 41c75cce77fed8db16439b10698c6fd0db10d4d5 | 5a63b84251132b393221500edb0e285cc4f38a7d | refs/heads/master | 2020-12-02T10:05:46.529201 | 2017-07-09T08:55:53 | 2017-07-09T08:55:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,305 | tst | test_ods_fsed_2_k.tst | ** File Info
Version Id = 65536
Num Trans = 0
Num Writers = 0
Init Tranlog = 0
Total Entries = 5
Tranlog Offset = 0
Transaction Id = 79
Index Free List = 4
Total Size of Data = 23512
Data Transformation Id = 77
Index Transformation Id = 79
** Entry Info for: all
num: 0000000000000000 pos: 0000000000000000 ... |
8fabf50507fb5d2947f8043a1833d46722a180c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH15/EX15.3/Ex15_3.sce | 3c9fe3b6f18016081097946c10dd114967bb11b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | Ex15_3.sce | clc;
Av=200;
Vout=8;
Vin=Vout/Av;
V1=6;
V2=-6;
Vpk1=V1-2;
Vpk2=V2+2;
disp('V+',Vpk1,"Vpk1=");
disp('V-',Vpk2,"Vpk1=");
disp('mVpp',Vin*1000,"Vin=");
|
9b12ccc9a753171aa8dc85422e592ee588e53ea2 | caafd05eb866a2bd249681ceeb5734ca2df71833 | /TP3/lanccalcg.sce | b9e79f47e90dee65525c382368c6bde578506e05 | [
"MIT"
] | permissive | mmewen/MT09-numerical-analysis | 5fb1f251e86f9d43d7eeb23ce7bcc91d6ca3fa8b | cde3871aa885811bc31166e778b2a4f052e74b64 | refs/heads/master | 2021-01-11T22:11:18.631204 | 2017-01-14T10:59:23 | 2017-01-14T10:59:23 | 78,934,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | lanccalcg.sce | clear
exec("calcg.sci", -1);
T = [ 1 3 4.5 5 6 ]';
cc = [ 1 0 1 0; 5 0 -8/9 0 ; 3 0 16 0 ; 7 0 -8 0 ];
z = calcg(3, T, cc);
disp(z)
z = calcg(5, T, cc);
disp(z)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.