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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
69f9e86e71cccce197d51c620dc615d330444609 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH11/EX11.2/11_2.sce | 655fbd9bb96c64ce5e507a5ca2cad4c7bcf7dd23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 11_2.sce | clc
//initialisation of variables
clear
vbm= 38 //ft/sec
va= 17.94 //ft/sec
a= 147.5 //degrees
vwm= 10.37 //ft/sec
C= 1430 //lbf/ft
P= 763 //lbf/ft^2
//CALCULATIONS
vwm1= vbm+va*cotd(a)
p= (vwm-vwm1)/vwm
C1= C*(1-p)
P1= P*(1-p)
//RESULTS
printf ('Oulet Velocity = %.2f ft/sec',vwm1)
printf ('\n Torque =... |
627c50d339c1ae7f0d5382f6df36d4baa4b20864 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH11/EX11.13/ex_11_12.sce | b7180140a5a9148c7bdb95a68816de38d59c9e0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_11_12.sce | //determine the size of bolts
clc
//solution
//given
//ref fig 11.31
W=30000//N
ft=60//N/mm^2
L1=80//mm
L2=250//mm
L=500//mm
Wt1=W/4//N
printf("the value of Wt1 is,%f N\n",Wt1)
w=(W*L)/(2*(L1^2+L2^2))//N/mm
printf("the value of w is,%f N/mm\n",w)
Wt2=w*L2//N
printf("the value of Wt2 is,%f N\n",Wt2)
Wt=W... |
b2523719d1b1a1769a17153aea70197e2004ed47 | b7a19323e17ceac9d22a1559fbb3e7d61795fd21 | /Systemy Inteligentne 2/Projekt 4/proj_dane_1 — kopia.tst | 73dccbbb44d8a39d265e5773640c91ffafdbb30c | [] | no_license | kameshi/STUDIA | 61f53f5722b108a70c862ce6b889a3e890bd8a7f | 11dfad719ed6d409c1e40033e65727f20a0f0a52 | refs/heads/master | 2021-05-11T15:36:57.854563 | 2018-01-16T00:21:56 | 2018-01-16T00:21:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,805 | tst | proj_dane_1 — kopia.tst | we we wy
x1 x2 #d
-9,697 9,175 Klasa1
-8,636 8,045 Klasa1
-7,991 7,259 Klasa1
-7,221 6,718 Klasa1
-6,076 5,613 Klasa1
-4,932 4,483 Klasa1
-3,912 3,034 Klasa1
-2,996 2,518 Klasa1
-2,143 1,462 Klasa1
-1,269 0,626 Klasa1
-1,748 -0,381 Klasa1
-3,371 -0,061 Klasa1
-4,62 0,872 Klasa1
-6,888 3,746 Klasa1
-8,262 3,992 Klasa1
-... |
2579ad7484fe642a50b4307dc16bcedfbc88170b | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH9/EX9.11/example9_11.sce | dd14259dbb8d1a9b9941779cd31cde2889b4cbae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example9_11.sce | // to determine the frequency
// example 9-11 in page 269
clc;
// Data Given
C=3.5D-12; Rs=600; // capacitance in farad and source resistance in ohm
//calculation
printf("frequency=%.1f MHz",1/(2*%pi*C*Rs*10^6));
//result
//frequency=75.8 MHz |
7123e1da9010fc56d7744f779f364c5359eed045 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.23/1_23.sce | b14f9f058e8a1436539cb4d0e4c6372d875fe19c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 922 | sce | 1_23.sce | clc
clear
//Input data
P1=1;//Pressure at the beginning of compression stroke of an oil engine working on a air standard dual cycle in bar
T1=303;//Temperature at the beginning of compression stroke in K
P3=40;//The maximum pressure reached in bar
T4=1673;//Maximum temperature reached in K
P4=P3;//Pressure at th... |
445a0b4a3b487e82e47a52ba89450b49bfa22fd6 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Fontsize.sci | 218b599fa6e5a449d76f7cfdae8f67cb7d5ddabf | [] | 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 | 788 | sci | Fontsize.sci | function Fontsize(Ookisa)
global Wfile FID;
Str='%';
Ucode=ascii(Ookisa);
S=char(Ucode(1));
if S=='n'
Str='\normalsize%';
end
if S=='s'
if length(Ucode)==1
Tmp='';
else
Tmp=char(Ucode(2));
end
if Tmp=='s'
Str='\scriptsize%';
else
Str='\small%';
end
end... |
cb0d89112e694fdf43db2f297779de6671813e4b | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Pack/Área 1/M3/bissec.sce | b394d3c1b78c5a2498d09af3c65de2852e5d7f06 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | bissec.sce | function y= f(x)
y = sin(x) - 6 + x // função do problema
endfunction
a = -100 // início do intervalo
b = 100 // fim do intervalo
//obs: você pode alterar o intervalo para ficar mais próximo da raiz do função, caso você já a conheça.
//plote a função no Geogebra para facilitar, caso queira.
m = (a+b)/2
for i = ... |
e53631f6866819a1ccd11d26857e473f65f63107 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH2/EX2.3/2_3.sce | d2e6cfa8e94a8a9430e3b5f9163bebfa143eea38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,665 | sce | 2_3.sce | // To calculate current in each branch using loop analysis and point voltages in a given network.
clc;
clear;
// MESH Equations for the given network.
//3.95*i1-3.75*i2+0*i3=120
//-3.75*i1+9.5*i2-5.45*i3=0
//0*i1-5.45*i2+5.55*i3=-110
// Positive of 120V DC supply connected to 0.2 ohm resistor
// Positive ... |
78c8f166008afc78d7b215ab14eac7863c075463 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH2/EX2.06/2_06.sce | 0d89cd2c5744ce3be192728ba8747c783622c30f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | 2_06.sce | //Problem 2.06:
//initializing the variables:
sg = 0.8
abvis = 0.02;// in cP
pref = 62.43; // in lb/ft3
//calculation:
p = sg*pref
u = abvis*6.720E-4; // in lb/ft.sec
v = u/p
printf("\n\nResult\n\n")
printf("\n kinematic viscosity of a gas is %.3E ft2/sec\n",v)
|
e033d87bc8b132815869793f12291ae4ac73a092 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH4/EX4.16/4_16.sce | d1b87e09188fefce4df4d083c8ad18c331605160 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | 4_16.sce | //Example No. 4_16
//Condition and Stability
//Pg No. 82
clear ; close ; clc ;
C1 = 7.00 ;
C2 = 3.00 ;
m1 = 2.00 ;
m2 = 2.01 ;
x = (C1 - C2)/(m2 - m1)
y = m1*((C1 - C2)/(m2 - m1)) + C1
disp(y,'y = ',x,'x = ')
disp('Changing m2 from 2.01 to 2.005')
m2 = 2.005
x = (C1 - C2)/(m2 - m1)
y = m1*((C1 - C2)/(m2... |
68790526e1b02d5f0dc8594b812060498514cce0 | 68e53df229b123d7681a4f7fa4db43b4982d5362 | /sigma.sce | c951f5e81bfd3e3b3be76ee3a4c6d12cf877ed8f | [] | no_license | yeoleparesh/Control-system | 06c30e594d51fec7a8ffabc452a7866b38604a23 | dee7fbfd3c2c46cc1d4d0a3cb8af45d918da972b | refs/heads/master | 2021-01-17T12:38:05.661769 | 2019-01-03T12:03:53 | 2019-01-03T12:03:53 | 59,283,431 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | sigma.sce | // Function sigma
// Example1
s=%s;
sys=syslin('c',1/(1+s));
sigma(sys)
sigma(sys,sys^2)
sigma(sys,20:40)
[V,w]=sigma(sys)
|
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"... |
42dc249d14f5627cd1e925d36b0e6f1fb00b615f | 4ed576b765859807d6c29665521e0697d6f9bae7 | /archive/04/ex4.4.sce | c474fa5284d44247b682093ea9cad924ce0b8d6a | [] | no_license | sbednarz/scilab | 96b9182730fa48d11f27840fc197d151adb01e2c | 28f81c58bc4972eeb41f403cb157fb989e809f41 | refs/heads/master | 2021-07-11T04:42:04.289126 | 2021-05-17T20:55:19 | 2021-05-17T20:55:19 | 100,467,366 | 3 | 1 | null | 2020-06-19T06:49:18 | 2017-08-16T08:37:06 | Scilab | UTF-8 | Scilab | false | false | 1,113 | sce | ex4.4.sce |
// A => B, k
//
// A0 = 2
// B0 = 0
// y0 = [A0; B0]
// t0 = 0
// k = 1e-3
//
// How to calculate reaction time when [B] reaches 1.2 mol/L?
function dy = model(t, y)
A = y(1)
B = y(2)
dAdt = -k*A
dBdt = k*A
dy=[dAdt, dBdt]
endfunction
// integrate ODE (model) until end_of_calculations(t, y) = 0
function z = ... |
c3e894130b2188536d9050a3710fd27ce529280b | c49a028f382c3baddcd641c1972dd72bb60eaadc | /EXTRA/slicing_vector.sce | 970e3c2f7ca75d80b01106431950ad7ffb0f4e02 | [] | no_license | BhautikDonga/SCILAB | 484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a | b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c | refs/heads/master | 2020-04-07T15:48:23.036273 | 2018-12-05T01:27:34 | 2018-12-05T01:27:34 | 158,501,669 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | slicing_vector.sce |
A = matrix(1:42,7,6);
// vector of all the elements of A
A(:)
// the j-th column of A
A(:,j)
// the i-th row of A
A(i,:)
// elements of columns from j to k and all rows
A(:,j:k)
// elements of all columns and rows from j to k
A(j:k,:)
w = matrix(101:142,7,6);
A(:) = w
// if indices are not ... |
3a8e03238d3c885279b3ce9f1cb4411d94ceba57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH3/EX3.7/Ex3_7.txt | 46be6f5f47bd052307f6e73c88b9bf24150973ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,116 | txt | Ex3_7.txt | //Caption:Determine the (a)Equivalent resistance,leakage reactances and impedance reffered to high voltage side (b)Equivalent resistance,leakage reactances and impedance reffered to high voltage side (c)Total copper loss of transformer
//Exa:3.7
clc;
clear;
close;
f=50;//in Hz
P=30*1000;//in watts
E_1=3000;//in ... |
73bd440f89a6d02cc7e59db29cb0b104d903a507 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH5/EX5.12/ex5_12.sci | 6d74661656a49bb99740ddbf46eab12bcc74e22a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,166 | sci | ex5_12.sci | //Chapter 5,Ex5.12,Pg5.14
clc;
E1=4400 //Primary EMF
R1=3.45 //Primary resistance in ohms
X1=5.2 //Primary reactance in ohms
E2=220 //Secondary EMF
R2=0.009 //Secondary resistance in ohms
X2=0.015 //Secondary reactance in ohms
K=E2/E1
I1=50*1000/E1 //Using the formula I1=kVA rating*1000/E
printf("\n Full load... |
bc6560879472467c27cb0bc1b1e7371f1e83bc74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH20/EX20.5/20_5.sce | ab6e481e11206b16b03512f5ac1947c3d4d5b645 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | 20_5.sce | //chapter 20
//example 20.5
//page 651
clear;
clc ;
//given
Eb=200;//battery voltage mV
es=0;//signal voltage V
Rl=80;//load resistance in ohm
Ed=Eb+es;
Id=2;//diode current mA
Er=(Eb+es);
Il1=Er/Rl;//load current mA
Ib1=Id+Il1;//battery current mA
es=100;//mV
Ed=Eb+es;
Id=1;
Il2=Ed/Rl;
Ib2=Id+Il2... |
3f6e65200992c6920ab931b7cbb2062ca17857f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH5/EX5.3/Ex5_3.sce | 42e8c9e31d8878a018a0e9a14338931dae0e8aef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | Ex5_3.sce | clc
//initialisation of variables
P=135//bars
Q=201//min
p=448
//CALCULATIONS
FPH=P*Q/p*0.1//hp
//RESULTS
printf('The fluid horsepower potential of the system is=% f hp',FPH)
|
9e14a4c362c606203ec63b961a0df801a5f16d2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH24/EX24.1/Example1.sce | 045f764f7ad2110b2724d6ffbb2e5b9bcae6a6a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,988 | sce | Example1.sce | clear
flag=1
mode(-1)
clc
printf("Example 1 : Show the method of showing all the type of process IDs \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs are part of systems programming PURELY in... |
246ee5dda0115eeca8d44f3aaa494cbe3c2dab84 | 0eea7d48e039f70051ddf39a431c9325998e775e | /fatoracaoLU_PlusPivotamentoParcial.sce | 92c30b8fb2e2c6140b1f0bdfd3aedf954440c755 | [] | no_license | dannylong/Dannylong | dc3e200009a356e5c63481737a6f3c3a515fbdab | 5103df01e5bfef3031627b7eb35f815b63ed862c | refs/heads/master | 2016-09-14T04:58:31.471187 | 2016-05-09T00:32:58 | 2016-05-09T00:32:58 | 58,337,691 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,992 | sce | fatoracaoLU_PlusPivotamentoParcial.sce | clear;
// Fatoração LU COM pivotamento parcial
function [L, U, P] = fatoracaoLU(A)
[linhas colunas] = size(A);
L = eye(linhas, colunas);
// Matriz para as permutações de linhas de A e b -> A' = PA = LU; Ly = Pb; Ux = y
P = eye(linhas, colunas);
for j = 1:colunas
pivo = A(j,j);... |
150f6363b2512188bb6ff72d0aaf34b91ce67fa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH15/EX15.11/ex_15_11.sce | 620b49aa9575a80360a95846beacd600a134967c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_15_11.sce |
clc
//solution
//given
//ref fig 15.27
As=15//mm^2
tu=400//N/mm^2
ft=80//N/mm^2
pb=20//N/mm^2
Ps=As*tu//N
//let P1 be force in link LM
P1=(Ps*100)/(350)//N
//taking momnet abt N,we get P
P=(P1*100)/(900)//N
N=P1+P//N
//let d be dia and l be length of pins
//l=1.25d
//N=d*l*pb=25*d^2
//d=sqrt(N/25)//mm
printf("the dia ... |
d9eaf7d09627ef202622455dfe54dd02a20b06bc | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.31/Ex12_31.sce | 787083ccdf26412dc35d7319d624bb9ab3b61f21 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | Ex12_31.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 7.8
A=[1 0 1 0;0 0 1 1;0 0 0 1;1 1 0 0]
disp(A)
|
4baf28cdf1563054ced6c884c9fdbfb1ea45243f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH10/EX10.13/Ex10_13.sce | b28bb922406d3350e7903d5ca5840f69812bfeb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Ex10_13.sce |
// Ex10_13
clc;
// Given:
w=5;// in g
ai=55;// counts per 10 min
A0=15.8;// in dpm/g
// Solution:
cpm=55/10;
dpm=cpm*100/10; // 10% efficient counting
sa=dpm/w;// in dpm/g
t=5730*log(A0/sa)/(0.693); // Age determination
printf("The age of the sample is = %f years",t)
|
55e969bf9716d6df3146ab801ad8bfc5138bfaaa | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_MF93WRV_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 6deba37dc02f61de868c3abaf8eb3a9fcd313cf8 | [] | 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,600 | sce | ATWM1_Working_Memory_MEG_Nonsalient_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_monito... |
7aa7a9a448702507c0b2ebcaf6c1bcd7ac72142f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.9.1/Ex4_9.sce | 85d41dae4df97cd0a2c6ec08ab315161b46dde90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | Ex4_9.sce | clc
clear
//For throttling H1=H2
//At 11 bar
Hf=781.3; //in kJ/kg
Hfg=2000.4; //in kJ/kg
//At 1 bar
Hg=2675.5; //in kJ/kg
x=(Hg-Hf)/Hfg;
printf('The Dryness Fraction: %3.3f kJ/kg',x);
printf('\n');
|
c393f5a4f11e8cc4e16c2b60e12f5458cefe023d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH13/EX13.2/Example13_2.sce | 97278971742cf5e0b01d8ae6f04be73c1047e014 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Example13_2.sce | ////Chapter 13 Steam Engines
////Example 13.2 Page No 283
///Find Therotical mean effective pressure
//Input data
clc;
clear;
a=5/100; //Engine cylinder of the stroke valume in %
P1=12; //Pressure of the stream
rc=3; //Cut-off is one-third
Pb=1.1; //Constant the back pressure in bar
/... |
110acccab0589d567ead70268c5fd0864deb7855 | 6d062718c2fd2b66d1d024737ecb85dded477c6b | /vetor.sci | 03432a5d3cf30811dbfdd9a89e365c75f7f4f003 | [] | no_license | scilab-siscon/TransferFunction | 1606130fad11a5edd7cb77ac6fbe431f6930ecfd | 276017a470f76e647fa433180833f38bbabe8907 | refs/heads/master | 2022-12-16T05:23:02.488781 | 2020-09-14T05:13:48 | 2020-09-14T05:13:48 | 281,795,713 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sci | vetor.sci | //teste2
clc
clear
qtd = input("Digite a Quantidade de elementos :")
n=qtd
for i=1:n
f(i) = input("Digite a numero ");
end
for i=1:n
printf('\nQuantidade = %d', f(i))
end
|
075e3e32356c41cef2950fda7b9a05773b2b5c47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH3/EX3.9/3_9.sce | 6c89897db04fcd39db8787095c969aec653f702d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,176 | sce | 3_9.sce | //To Determine phasors and phasor diagrams when loaded with a balanced resistor
//Page 154
clc;
clear;
R=2.77; //Resistance of the balanced load
//From Phasor Diagram in Result file
Vab=480*exp(%i*0); //Reference Voltage
MVn=abs(Vab)/sqrt(3); //Magnitude of line to neutral voltages
//Angles of Three phase vol... |
bcc1ac0ffeb7f5f3100fcde4ddde19d1d9697917 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Texctr.sci | 2a8b08ca5c95b0db918bb4b2411459cd28768048 | [] | 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 | 242 | sci | Texctr.sci | //
// 2010.05.15
function Out=Texctr(N)
if type(N)==1
Alpha='abcdefghijklmnopqrstuvwxyz';
Out='ketpicctr'+part(Alpha,N);
else
if part(N,1)=='\'
Out=part(N,2:length(N));
else
Out=N;
end;
end;
endfunction
|
69d743677573fdec1770f781c985cf9224b1c32a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH5/EX5.14/5_14.sce | 09d8c8a4beb62e2c119fd08dabdbdfdf9127a54e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | 5_14.sce | //Chapter 5, Problem 14, Figure 5.27
clc;
//Resistance R1 R2 R3 R4 R5
R1=2;
R2=9;
R3=1.4;
R4=2;
R5=8;
V=17;
R45=(R4*R5)/(R4+R5);
R34=R3+R45;
R23=(R2*R34)/(R2+R34);
R=R1+R23;
//the circuit is gradually reduced in stages as shown in Fig. 5.28(a)–(d).
I=V/R;
I1=(R2/(R2+R34))*I;
Ix=(R1/(R1+R5))*I1;
printf(... |
a9b2d23a12a13626e47a518cc41efcb785b4cb3c | 56ae453b5537f39dbd832dd0416f3c804aa1b937 | /microdaq/macros/microdaq_blocks/mdaq_encoder.sci | 8dab8650b6cf507210321672d0746b393e070972 | [
"BSD-3-Clause"
] | permissive | grtwall/Scilab | 38bc8bc978e715b770da61482a9ac30e0cb806d3 | e44e0dc0d357a6baf875d33ddd435a29e053b7f1 | refs/heads/master | 2020-07-22T16:48:31.589484 | 2018-07-31T13:15:40 | 2018-07-31T13:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,696 | sci | mdaq_encoder.sci | function [x,y,typ] = mdaq_encoder(job,arg1,arg2)
encoder_desc = ["This block reads MicroDAQ quadrature encoder inputs.";
"It uses x4 mode to decode quadrature signal.";
"In case of high frequency signals (up to 2MHz) ENC1/ENC2";
"modules shall be used. ENC3/ENC4 are suitable for lower ";
"frequency ... |
7feb52d7d8891ebf586af6687a43348ba736ed29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/9_08.sci | a6004efa48b5ad70b27d21368f0f23457d06aee5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sci | 9_08.sci | //Wing area(in ft^2):
A=1600;
//Aspect ratio:
ar=6.5;
//Groos weight of aircraft(in lbf):
W=150000;
//Coefficient of drag at zero lift :
Cd0=0.0182;
//Sonic speed at sea level(in mph):
c=759;
//Density of air(in slug/ft^3):
p=0.00238;
//Srall speed at sea level(in mph):
Vssl=175;
|
bdb2ffda986275a8cfa02eca1e618146ba113b87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH5/EX5.5/Ex5_5.sce | bdd8e085c44e79dbf66736047b53e7d254b1132b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 758 | sce | Ex5_5.sce | clc;
p1=1.4; // Pressure at state 1 in bar
T1=310; // Temperature at state 1 in kelvin
rp=5; // Pressure ratio
Tmax=1050; // Maximum temperatuer in kelvin
WN=3000; // Net output in kW
Cp=1.005; // Specific heat at constant pressure in kJ/kg K
r=1.4; // Specific heat ratio
R=287; // Characteristic gas constant i... |
8d4058930cac2f9c6ca32b355d06c3b824196846 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/pfet_i2v.sce | df4f1cf27c265f5bdcd96657b868ca669226d196 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | pfet_i2v.sce | //style.fontSize=12;
//style.displayedLabel="<table> <tr> <td><b>In</b></td> <td>pfet_i2v</td> <td align=right><b>Out</b></td> </tr> </table>";
//pal5 = xcosPalAddBlock(pal5,"pfet_i2v",[],style);
|
7373772ded323304d83f5615a6a7826de4383ba4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH12/EX12.4/124.sce | c453eecf242d45c00287f384cb51781b4da154dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | 124.sce | // problem 12.4
H=150
Q=6
N=400/60
D1=1.2
x1=20
x2=90
B1=0.1
u1=3.142*D1*N
Vf1=Q/(3.142*D1*B1)
Vw1=Vf1/tand(x1)
Vw2=0
w=9810
g=9.81
P=w*Q*Vw1*u1/(g*1000)
disp(P,Vw2,Vw1,"whirl component at inlet and outlet,power developed in Kw")
|
a2d027bcca43792248b240c4d6f5d0273f5d5e7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH7/EX7.1/Ex7_1.sce | 0453f5678b0c26f5b743795dadb970d13194aa0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | Ex7_1.sce | //Example 7.1// width and length
clc;
clear;
close;
format('v',6)
vph=400;//phase voltage in volts
n=3;//number of phase
kw=36;//power in kW
r=((vph^2)/(n*((kw*10^3)/n)));//resistance in ohms
p=1.016*10^-6;//resitivity
t=0.3;//thickness in mm
x=(((r*t*10^-3)/(p)));//variable
t1=1000;//initial temperature in degree cel... |
6dfb4f51cf7144984f52112d8c7381dac3af7f0f | efe59cd4cca137aba9af447e8040b1eac3738006 | /solutions/2021-1/exercise/exponenciacao_eficiente/sol-exponenciacao_eficiente.sce | 97911df11aec20bdad95ce2de4dd9878e662d524 | [] | no_license | thejefecomp/scilab-codes | fd13f6aa666135c0fb08989e25b0ca1354c58b51 | 6eefce6eed8af0b54f2d6172f6e2b05513327184 | refs/heads/master | 2023-07-31T13:23:50.467306 | 2021-09-23T09:00:49 | 2021-09-23T12:04:06 | 287,115,880 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,826 | sce | sol-exponenciacao_eficiente.sce | /*
Author: Jeferson Souza (thejefecomp) - jeferson.souza@udesc.br
Source: Project Euler - https://projecteuler.net/problem=122
Description
The most naive way of computing n15 requires fourteen multiplications:
n × n × ... × n = n^15
But using a "binary" method you can compute it in six multiplications:
n × n = ... |
97254321056764df207a99e7227adaf7671fc7a2 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/hope5.sce | 55198942d12fc8d191dcba590c1e48455af47c66 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,679 | sce | hope5.sce |
// this is 8 vehicle
clc
clear
rokl=1
x=8
z=25
pop=20
iter=10000
cap=[288 95 115 133 107 22 34 28 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 8 20
]
tim=[0 12 6.2 5.6 27 17 20 29 44 18 16 23 24 34 11 9 11 11 13 17 14 30 25 28 27;
12 0 5.2 9.9 39 29 32 40 52 29 27 34 36 46 23 20 23 15 18 24 21 37 32 36 34;
6.2 5... |
1507c6120035be65080e1d092ff7c573f33c4f73 | b34461c9ddff1ba130b67023d6e568ada42830dc | /scripts/soustraction.sci | 5de3654f896f216b7c20fbdc15c7c2a4717d7dde | [] | no_license | AdrienKegler/Projet-Exolife | f72287fdc41a07b88f03b8346dafab93b4539b07 | 249f0861dc4ba3f2a7639ea60b7d12b45e717933 | refs/heads/master | 2020-05-25T14:05:45.213740 | 2017-03-17T09:16:20 | 2017-03-17T09:16:20 | 84,937,694 | 0 | 0 | null | 2017-03-15T10:15:55 | 2017-03-14T10:45:25 | Scilab | UTF-8 | Scilab | false | false | 896 | sci | soustraction.sci | // fonction de soustraction
// chargement des images
// for d'analyse de pixels, soustraction
function img_out=soustraction(matriceA,matriceB)
img_inA = matriceA;
img_inB = matriceB;
SizeXa = size(matriceA,"r");
SizeYa = size(matriceA,"c");
SizeXb = size(matriceB,"r");
SizeYb = ... |
cd470b35527e103f61452a03b1ec7df25e491ea5 | abde5210bd538a9873f628945f25c08a6711abd0 | /appTests/v0.2_stdin_with_pipe.tst | 6bbdab54eea9e231f1ebd76f1e3c31ef27cff584 | [] | no_license | step-batch-7/jsTools-mildshower | 4ff0f8357dac1fbb1603f933d4a9b658aa9bf61f | 20444d5ca9540782b793270f9c5e2f138696b6d7 | refs/heads/master | 2023-01-12T06:32:14.662150 | 2020-01-09T06:10:28 | 2020-01-09T06:10:28 | 229,381,464 | 0 | 1 | null | 2022-12-30T19:21:29 | 2019-12-21T05:32:22 | JavaScript | UTF-8 | Scilab | false | false | 63 | tst | v0.2_stdin_with_pipe.tst | printf "a\nA\n8\n 8" > foo;cat foo | node sort; rm foo
8
8
A
a |
9adc425928c4679b2806dc1a70e99a05f43bd556 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH19/EX19.5/Example19_5.sce | 1ac629159c691d6602e67eb503146704c302d810 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Example19_5.sce | //Given that
M = 1.00 //in kg
T = 100 //in degree C
P = 1.01*10^5 //in Pascal
Vi = 1.00*10^-3 //in m^3
Vf = 1.671 //in m^3
Lv = 2256*10^3 //in J/kg
//Sample Problem 19-5a
printf("**Sample Problem 19-5a**\n")
W = P*(Vf - Vi)
printf("The work done by the system during the process is %fkJ\n", W*10^-3)
//Sample Pro... |
0b39991a4778c9b53f00d3dde1bf121879ac76d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH4/EX4.a.9/A_Ex4_9.sce | 43c17276a8deb8b63f4ba364836895ceccb7d74f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,102 | sce | A_Ex4_9.sce | // Chapter 4 Additional Example 9
//==============================================================================
clc;
clear;
// input data
l = 10^-10; // side of one dimensional box
h = 6.625*10^-34 // plancks constant in Jsec
m = 9.11*10^-31 // mass of electron in... |
e59629b2d1db9cd73d464f5b3a2d60c7d1adda87 | fe84eced9b04743dd2df16e206f112bfee1196a0 | /segunda_atividade.sce | 627f6f33bb9ee00b7eb74e2ba52dcdb833a550dc | [] | no_license | Darkisda/SCILABcodig | ec89cbfcb200b60983b2d4e7632d43adea92c7ba | 3ee22dd7002a5872196f6810260aaa0a66ae2d58 | refs/heads/master | 2020-09-21T03:29:27.668120 | 2019-11-29T15:12:38 | 2019-11-29T15:12:38 | 224,665,581 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | segunda_atividade.sce | //Representacao de sistemas lineares
load('data2')
A= [-k12-k10 k21 ; k12 -k21]
B= [1; 0]
C= [1 0]
t= 0:1:length(u)-1
[sl]=syslin([],A, B, C)
m1 = csim(u, t, sl)
C1 = m1/V1
figure
subplot(2, 1, 1)
plot2d(t, C1)
subplot(2, 1, 2)
plot2d(t, u)
|
ef0db03b740f63a5aa3e79d2cc182a52b6fbbbfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH15/EX15.1/exp_15_1.sce | d9c5bbce3ab7f51643d153047512aebc8f686c33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | exp_15_1.sce | clear;
clc;
Pdc=1;
Pac=1;
phi=acosd(.9428);
mprintf(" power factor angle in degree is %.3f ",phi);
p=[0.7:0.1:1];
Pd=(.9428/(p));
disp(Pd);
disp(p);
plot(p,Pd);
|
b70170f8e73e17d8494b9fd5936e325203c098c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH7/EX7.11/7_11.sce | 65ebfacee44800257c461d5494c1a10e3becc9bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 822 | sce | 7_11.sce | clc
//initialisation of variables
ps1=0.010720 //bar pressure
phi1=0.3 //relative humidity
td1=8 //temp in degrees
td2=32 //temp in degrees
td3=30 //temp in degrees
ps3=0.042415 //bar pressure
phi3=0.5 //relative humidity
hf=762.6 //kj/kg
hfg=2013.6 //kj/kg
p=1.01325 //pressure in bar
//CALCULATIONS
pv1=ph... |
7355bcde89f4faa893d6f352823b8b158a503a6d | de4a05983c71acce126215edc1ef3dc68303d939 | /oper/sortop.tst | 38e176af902e67a35548a47f031aabd8835355fa | [] | no_license | TYMCOM-X/169283.tape | 31a10122e6ac6394a8aa4f6ae215cfb48a4e8552 | f58dedd26328b5c0ba3fd2a76f722194df41d933 | refs/heads/master | 2023-03-27T17:37:41.524138 | 2021-03-21T16:14:00 | 2021-03-21T16:14:00 | 345,965,863 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | tst | sortop.tst | JONES 12398888W
HOWES 13543KDPG
SANDS 16746TR6D
QUINN 18888ERFM
ZACKES18889FGJ2
ROLLS 18890WERP
BLACK 29839FOGH
ALPOS 34567MONJ
WHITE 34688YUES
HOFFS 47832NYCU
|
413bb639f9bc5b73777497beeb3b07d6e8f56102 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH25/EX25.5/EX25_5.sce | 55a1ecdbe5cc61a43680478f65950b36b5065047 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | EX25_5.sce | //Chapter 25
clc
//Example 5
//given
d=8 //diameter of objective mirror of reflecting telescope in inches
fo=1500 //focal length of objective mirror of reflecting telescope in mm
fe=18 //focal length of eyepiece
m=fo/fe
disp(m,"Angular magnification of the telescope is")
|
0f033e43d580e0f68c2e0e2402db224119805af7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH14/EX14.7/14_7.sce | 8adefd9fc6c82b33e763f810264caba7e5489f18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_7.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 14.7
//calculation of the density of the liquid
//given data
h=.02*10^-2//height(in m) of the column of liquid
R=7.5*10^-3//radius(in m) of the soap bubble
S=.03//surface tension(in N/m) of the soap solution
g=9.8//... |
65a930cc7ba4e1f23abc97bde4b9ce4bdaf56302 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.11/ex_1_11.sce | 976cc49047bda26cfaeb4a5faebabd1881c0c8ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | ex_1_11.sce | // Example 1.11. smallest change which can be measured by this transducer
clc, clear
// given :
F=200; // range of force in N
R=.15/100; // resolution of full scale
Sc=R*F;
disp(Sc,"smallest change,Sc = (N)")
|
9054783ece457c8f259d9533cba92e06bdccfaf6 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/block_info/bi_Min_slow.sci | 032356fe85db4cc1b06dc412903b47620973e82f | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,061 | sci | bi_Min_slow.sci | Min_slow,2,1,7
2,1,2
5,3,4,5,6,7
num_of_blk,1,mblif_num,0,Min_slow_Min,1e-12,Min_slow_leak,5e-12,Min_slow_ota,50e-9,Min_slow_buf,10e-6,fix_loc',[0;0;0]
num_of_blk,mblif_num,Min_slow_Min,Min_slow_leak,Min_slow_ota,Min_slow_buf,fix_loc
4,1,16,1,19,1,22,1,25
1,0,0
Min_slow,1,1,2,1,5,1,1,1,2,1,3,0,Min_slow_ls,0,1,Min_slow_... |
42b69cdb85996dac09d057fec89e85cfaa58f2b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH12/EX12.18/Ex12_18.sce | c08002fc133173ec85c8ce49a0810bfa115479f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_18.sce | //chapter12
//example12.18
//page254
V_CC=10 // V
V_BE=0.2 // V
I_E=2 // mA
I_B=50d-3 // mA
R_E=1 // kilo ohm
R2=10 // kilo ohm
V2=V_BE+I_E*R_E
I2=V2/R2
I1=I2+I_B
V1=V_CC-V2
R1=V1/I1
printf("R1 = %.3f kilo ohm \n",R1)
|
7b99e6390d00330bd006a9e2f2f20ffe3321e93c | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/codegen/BlockProto.sci | 7e4ac4c9b17837f3fcd5de4ccf18eaf866a50fb1 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,743 | sci | BlockProto.sci |
//==========================================================================
//BlockProto : generate prototype
// of a scicos block
//
//
//16/06/07 Author : A.Layec
//Copyright INRIA
// Modified for RT purposes by Roberto Bucher - RTAI Team
// roberto.bucher@supsi.ch
function [txt]=BlockProto(bk)
nin=... |
6b0023e61f89f6aa4462b5cb1acdc387d2f7e84f | 9e84a09791efd5b6831113157725025090537291 | /test.sci | af936e8eeafeaa53d0e1a7de566b939d664aebde | [] | no_license | MyFreertosLab/my_mcpwm_test | da4c3360790ce95b534e5b3a121f2b31d200fb8f | c0c5af70388c77c729d78743f6f989d7edc58445 | refs/heads/master | 2023-02-27T10:12:10.830896 | 2021-01-27T08:59:35 | 2021-01-27T08:59:35 | 333,361,137 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,406 | sci | test.sci | A=[1,1,1,1,1,1;-1,1,0.5,-0.5,-0.5,0.5;0,0,sqrt(3)/2,-sqrt(3)/2,sqrt(3)/2,-sqrt(3)/2;1,-1,1,-1,-1,1];
B=[1/6,-1/3,0,1/6;1/6,1/3,0,-1/6;1/6,1/6,1/(2*sqrt(3)),1/6;1/6,-1/6,-1/(2*sqrt(3)),-1/6;1/6,-1/6,1/(2*sqrt(3)),-1/6;1/6,1/6,-1/(2*sqrt(3)),1/6];
//
// Attitude (Z), Speed (Z) e Accel (Z) sono espresse in m, m/sec e m/s... |
08a4348df766ffe2b9dbb5447bfafcdb1005ce8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.9/Ex19_9.sce | e2ba6879061826c9c6ea1cbc9811f5d127090dea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Ex19_9.sce | //Ex19_9 Pg-960
clc
disp("Conversion of decimal number 31.65 base to its binary equivalent ")
a=31.65;
z=modulo(a,1)
x=floor(a);//separating the decimal from the integer part
b=0;
c=0;
d=0;
while(x>0) //taking integer part into a matrix and convert to equivalent binary
y=modulo(x,2);
b=b+(10^c)*y;
x=x/2;
x=floor(x);
c... |
111d5f2b55e4393fa65b5a675db160b533283fc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH12/EX12.11/Example12_11.sce | 84844b80481b11475f41278db8998132ba8041ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,217 | sce | Example12_11.sce | //Example 12.11
//Program to determine the average incident optical power required at
//the receiver
clear;
clc ;
close ;
//Given data
k=1.38*10^(-23); //J/K - BOLTZMANN's CONSTANT
e=1.602*10^(-19); //Coulumbs - CHARGE OF AN ELECTRON
SNR_dB=55; //dB - SIGNAL POWER TO RMS NOIS... |
ca55135ee0871bf80a34279a22b1902f697baac2 | cb952289471732053d3db787d93f249ea37a7e55 | /6º PERÍODO/Otimizacao/UNIDADE 2/minimizacao.sce | dad04bf921b2f1d171c5fcdccd6e0af47b0f0d58 | [] | no_license | kaikecc/UFRN | 647d09e6beeadfeabfb59f479cd77a5c2ff7bebc | 821cce2e36808e890a75714d71b7cc1a24e52c27 | refs/heads/master | 2022-08-09T19:23:52.552924 | 2022-06-23T21:27:05 | 2022-06-23T21:27:05 | 177,469,993 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,062 | sce | minimizacao.sce |
function [Zo, A, b] = minimizacao(matriz_aumentada)
dim = size(matriz_aumentada);// vetor que tem a qnt de linhas por qnt de colunas
A = matriz_aumentada(:,1:dim(2)-1);// Matriz de coeficientes
b = matriz_aumentada(:,dim(2));// vetor de resultados
linha1 = A(1,2:dim(2)-1);// primeira linha da matr... |
24ba79935acac410f1dd13e3cdabdc2da064d4f1 | e657bbadea88191ece0e48eb447173a4c5f816f6 | /tasks/cw5/spadekSwobodny.sce | ab9ce9d96e735ae83ec1961da264c52962a1c224 | [] | no_license | vainia/Learning-SCILAB | c37d6071907ea4fad811071a3164454a927602d8 | d77877b1316b8b3546cb32cb9e29e7ad70d25280 | refs/heads/master | 2020-03-10T09:51:08.444686 | 2018-04-12T23:13:06 | 2018-04-12T23:13:06 | 129,320,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,276 | sce | spadekSwobodny.sce | // model wektorowy spadku swobodnego (bez oporu powietrza)
function prawa_strona = F(t,Y)
prawa_strona(1)= -Y(2)
prawa_strona(2)= g-0.5*Cx*d*S/m*Y(2)^2
endfunction
//g - przyspieszenie ziemskie
//Cx - wspólczynnik aerodynamiczny sily oporu
//ρ - gestosc powietrza
//v - predkosc ciaaa wzgledem powietr... |
08aaf04731cd8e7e90ebbec5b5150f2946c5f2de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH21/EX21.6/Ex21_6.sce | 543e3e9413d6c03586902e4b48fc0c2fbd701065 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | Ex21_6.sce | clear
//Given
Imax=16
Imin=4
//Calculation
r=Imax/Imin
//Result
printf("\n Deduce the ratio of intensity is %0.3f :1", r)
|
7e4f34ac8da8c15fdbe8d92589dd7aeb391f7810 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH9/EX9.6/ex9_6.sce | e10104e6975671a75bd542720ef166258638073e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,650 | sce | ex9_6.sce | clear;
//clc();
// Example 9.6
// Page: 225
printf("Example-9.6 Page no.-225\n\n");
//***Data***//
P_1 = 10;//[atm]
x_a_1 = 0.1238;// mole fraction of ethanol at 10 atm pressure
Temp = 273.15+85.3;//[K]
R = 0.08206;//[(L*atm)/(mol*K)]
P_0 = 1;//[atm]
// so
delta_P = (P_1-P_0);//[atm]
// Molecular wei... |
c266292882e7936e627d79fa815f5dd6b58738cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH3/EX3.19/3_19.sce | 765a34f94de295192092e4403ce910b3c4fa56b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,651 | sce | 3_19.sce | //To find velocities and loss of KE
clc
//Given:
m1=50,m2=25 //kg
u1=3,u2=1.5 //m/s
//Solution:
//When the impact is inelastic
//Calculating the common velocity after impact
v=(m1*u1+m2*u2)/(m1+m2) //m/s
//Calculating the loss of kinetic energy during impact
EL=m1*m2/(2*(m1+m2))*(u1-u2)^2 //N-m
//When the im... |
518211ea1cc26ec43f623a833eba9857abd4ece1 | a7d0b3c5e708525143e896070b7eaa1c9cc2482a | /Optimisation_Algorihtms/admopt.sci | 504e46f12d42d34c0c3ba53df81d1af5d9bf5105 | [] | no_license | dhruvchadha2212/Adam-Optimiser-Project | 5a5e7e98bdbbf2dca6e98a6c1efc3f9a5bf233b4 | dde54107824681870689870038c6e1711fe496a8 | refs/heads/master | 2021-05-16T09:15:34.812553 | 2017-12-19T01:48:50 | 2017-12-19T01:48:50 | 104,381,984 | 0 | 2 | null | 2022-12-23T01:22:39 | 2017-09-21T18:08:21 | Scilab | UTF-8 | Scilab | false | false | 935 | sci | admopt.sci | function f=funcx(x)
f=(1.5-x(1)+x(1)*x(2))^2+(2.25-x(1)+x(1)*x(2)^2)^2+(2.625-x(1)+x(1)*(x(2)^3))^2;
endfunction
function g=grad(x)
g=[2*((1.5-x(1)+x(1)*x(2))*(-1+x(2))+(2.25-x(1)+x(1)*x(2)^2)*(-1+x(2)^2)+(2.625-x(1)+x(1)*(x(2)^3))*(-1+x(2)^3)),2*((1.5-x(1)+x(1)*x(2))*x(1)+(2.25-x(1)+x(1)*x(2)^2)*(2*x(1)*x(2))+(2... |
991a0f5448f24f773ebf2f92309bf66c3d2514a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH19/EX19.2/example2.sce | 2e1e31339fe75a4a01dbd8ed44acda5f64d2a275 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | example2.sce | // find closed-loop input impedance
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 19-2, page 713
clear; clc; close;
// Given data
R1=10^2;// in ohms from the given figure
Rf=3.9*10^3;// in ohms from the given figure
Avol=10^5;// Avol... |
e0c2bae4bf3fdd2251df1cfe7980132654c28bc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH3/EX3.6/example_3_6.sce | bbc2d6341231ab76a01ae2991731540913e0c4ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,048 | sce | example_3_6.sce | //Chapter 3
//Example 3.6
//ParallelCircuit
//Page 63
clear;clc;
//Example 3.6
//Given
f = 60;//in Hz
//From Table A.1
D_s = 0.0229 //in ft
//Distances from given figure 3.15
d_a_c = 18;d_c_a = d_a_c;d_b_b = 21;
d = 10;//distance between conductors
d_a_b = sqrt(d^2 + (d_b_b - 19.5)^2);
d_a_b1 = sqrt(d^2 + (d_b_b - 1... |
dfef104f1e5ad3cceafb8b1aa6dde8a0eb405aa4 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/phasez/phasez1.sce | 4580f17d325c2f15beb7ab02659e1286fb28caf7 | [] | 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 | 585 | sce | phasez1.sce | // i/p args b,a,n are passed to the function
b=[1 2 3 5 6 7 9];
a=[2 3 4 5 7 8 9];
n=10;
[phi,w] = phasez(b,a,n);
disp(phi);
disp(w);
//output
//!--error 117
//List element number 1 is Undefined.
//at line 69 of function phasez called by :
//[phi,w] = phasez(b,a,n);
//
//matlab o/p
//phi =
//
// 0
// ... |
b3d32df189feec870e9ae33bb75344c2e3295599 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3407/CH2/EX2.4/Ex2_4.sce | ee02d06e229ecf803c4f6bd02191345dd2d12ad3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_4.sce | clear all;
clc;
funcprot(0);
//given data
AR = 1.8;//Area ratio
cp = 0.6;//coefficient of pressure
N_R1 = 7.85;
//calculations
Theta = 2*(180/%pi)*atan((AR^0.5 - 1)/(N_R1));//included cone angle
cpi = 1-(1/(AR^2));
Diff_eff = cp/cpi;//diffuser efficeincy
//Results
printf('The included cone angle can b... |
911e444dd518e2715474b22e32292496acc2dd4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH17/EX17.1/P1_tangential_and_separating_force.sce | f489c7f96acb1c538de44ba0ec1d82eecbbdbe15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | sce | P1_tangential_and_separating_force.sce | clc
//Example 17.1
//Tangential and separating force
//------------------------------------------------------------------------------
//Given data
//Torque
Mt=200 //Nm
//Dimensions of gears
dp=0.1 //m (pinion)
rp=dp/2
dg=0.25 //m (gear)
rg=dg/2
//Pressure angle
phi=20 //degrees
res1=mopen(TMPDIR+'1_... |
fab36be2306a02cf37fafab5cd308230c75b046d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/elem/asin.sci | 5e9024cab13bf35a1e820cfcd6da82c1752eedcc | [
"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 | 493 | sci | asin.sci | function [t]=asin(x)
//Syntax : [t]=asin(x)
//
//Sine-inverse of x
//Entries of vector x must be in [-1,+1]
//Entries of t are in ]-pi/2,pi/2[ x ]-inf,+inf[
// -pi/2 x [0,+inf] and pi/2 x ]-inf,0] (real x imag)
//
//!
if type(x)<>1 then error(53),end
[m,n]=size(x)
if m<>n then t=-%i*log(%i*x+sqrt(o... |
d2dd16a64da2beefa14ee6b1868cfb771922957d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH5/EX5.a.13/Example_a_5_13.sce | 61349db583826afc2c10767663a260aadbe1f5de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | Example_a_5_13.sce | //Example_a_5_13 page no:214
clc;
Vm=15;
Im=8.5;
omega=200;
R=Vm/(Im*sqrt(2));
C=1/(omega*R);
disp(R,"the resistance in the circuit is (in ohm)");
disp(C,"the capacitance in the circuit is (in F)");
|
9ba11aed0c5cfb0004ae364a9d286f990e29e184 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.23/Example8_23.sce | aa2f09cd74a6e0291053a5af9fdc0be1157041dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Example8_23.sce | //Example 8.23
clc
disp("Internal structure of 7490 ripple counter IC is as shown in fig. 8.50")
disp("")
disp("We know that, one IC can work as mod-10 (BCD) counter. Therefore, we need two ICs. The counter will go through states 0-19 and should be reset on state 20. i.e.")
disp(" QD QC QB QA QD ... |
c039c89a02fe380aa5b71cc5ec8d70a39ee3933d | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/executeFxnsForEnvironment.sce | ecffa2a60f0fad1810a41c2f7fdf79dc6dea6310 | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,273 | sce | executeFxnsForEnvironment.sce | exec('AllStagesNoteEnergies.sci', -1)
exec('LoadAudioSample.sci', -1)
exec('CalcNoteFiltersEnergies.sci', -1)
exec('Calc3NoteToSignalRatios.sci', -1)
exec('CoeffsToHz.sci', -1)
exec('Convert2DIndexTo1D.sci', -1)
exec('PrepAudioForProcessing.sci', -1)
exec('CreateChord.sci', -1)
exec('StageFilter.sci', -1)
exec... |
802633aad3ac1e613d9630e9ade61b57ccda3d84 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/percent/%spasp.sci | 77717db67856aae3e1df9e9ca5536e7628a21ca3 | [
"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 | 261 | sci | %spasp.sci | function s=%spasp(a,b)
// %spas - adds 2 sparse matrices (special cases)
//!
if size(a)==[1 1] then
a=full(a)
if a==0 then
s=b,
else
s=full(b)+a
end
elseif size(b)==[1 1] then
b=full(b)
if b==0 then
s=a
else
s=b+full(a)
end
end
|
cf81b68cfcdf4152eefd447f46b1706cd3d2bec4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH3/EX3.1/Ex3_1.sce | 24159e2e08534a6040da80e11406020f41926ead | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | Ex3_1.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 3-Hydrostatic Forces on surfaces
// Problem 3.1
//Data given in the Problenm
w=2
d=3
dens=1000
g=9.81
//Calculations
//Upper edge coincides with water surface
A=w*d
H=d/2
F=dens*g*A*H
I_G=w*d^3/12 //MOI about ... |
ad00084c927400e1b146a80e13a11693c2fbe127 | b59f38fb8e181f5a207854c050b30c5175333276 | /simulateMultiple.sci | 19ab85b6eea4d542468e6fdf54c0580aca864bb2 | [
"MIT"
] | permissive | Matii96/sand-simulation | da9ce8a6de5b50a606af4781f1e011096a8cc2f5 | e2ef4e63b7425cf8e15c414a4b497630ba844db9 | refs/heads/master | 2020-12-10T18:55:58.231143 | 2020-01-19T12:51:29 | 2020-01-19T12:51:29 | 233,679,584 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,427 | sci | simulateMultiple.sci | getd('./functions');
xdel(winsid());
exec setCases.sci;
// Prepare arrays for multiple asynchronous simulations
state = zeros(30, 30);
state(1:10,:) = 1;
blockadeChances = [.4 .35 .3 .25 .2 .15 .1 .05 .02];
states = [];
iterations = zeros(1, length(blockadeChances));
noChange = zeros(1, length(blockadeChances));
for ... |
e8eb01c66244a50d7f512abbe95ff07694947b51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH26/EX26.3/ques3.sce | f2755fdc4b51deb44f67333ba08ef16fd0ec39d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | ques3.sce | //ques3
syms c1 c2 c3
disp('Cumulative function is given by E^3-2*E^2-5*E+6 =0 ');
E=poly(0,'E');
f=E^3-2*E^2-5*E+6;
r=roots(f);
disp(r);
disp('There for the complete solution is :');
un=c1*(r(1))^n+c2*(r(2))^n+c3*(r(3))^n;
disp('un=');
disp(un);
|
4103f96cd16ce619534613ec83edc9e9664bccbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH16/EX16.5/ex16_5.sce | 309de36878bd30a58babe55bda533621595c1c34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | ex16_5.sce | clc;
clear all;
r = 1.54e-8; // Resistivity of silver in ohm per meter
E = 100; // Electric field along wire in v/m
cc = 5.8e28; // Carrier concentration of electron per cubic meter
e = 1.6e-19; // Charge of an electron
u = 1/(r*cc*e);// Mobility of electron
vd = u*E;// Drift velocity
disp('m^2/(V.s)',u,'The m... |
f084804670172b6b9145b9149080f114e467bca9 | 0c7d100cb0cf4ca584a252d56aef57d8692e87bd | /Automatique/TP3/TP.sce | e090e06ec7cf660816d35d8478124980b60b4921 | [] | no_license | MacBootglass/insa | 1957913df94ce0742e19ec400e258fec032a3619 | 612acee69e8195f3202aede45fede79fabf47d01 | refs/heads/master | 2021-01-10T22:36:39.551539 | 2017-04-26T09:23:02 | 2017-04-26T09:23:02 | 54,901,623 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,956 | sce | TP.sce | clear;
clc();
xdel(winsid());
//----------------------------------------------------------------------------//
//Paramètres------------------------------------------------------------------//
//----------------------------------------------------------------------------//
m = 0.9;
f0 = 30;
w0 = 2*%pi*f0;
K0 = 0.8;
p =... |
a5000e40efcb1ab5664d5ed0d731275aa5d20baf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.20/Ex4_20.sce | 206174e7bc57d3801ed28e15c720177a98eb7ec1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_20.sce | clear
//
r=100
c=50*10**-6
f=50
v=230
//case a
xc=-1/(314*c) //314 is omega
ir=v/r //with angle 0
ic=230/(xc) //with angle of 90 deg
i=((ir**2)+(ic**2))**0.5
printf("\n current with a lead of 57.5 is obtained as= %0.1f A",i)
|
952c2771ec978c3f412d662f68f5c0e1d1c70b8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.16/ch1_ex_16.sce | f56a73cc7811d02730b6636f821d92b259852557 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 846 | sce | ch1_ex_16.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 16
disp("CHAPTER 1");
disp("EXAMPLE 16");
//VARIABLE INITIALIZATION
v=7; //voltage source in Volts
I=7; //current source in Amperes
r1=1; //in Ohms
r2=2; ... |
4c814cf5cd3da9bf607ffa427dcd6e1a5c9cdd9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.19/4Ex19.sce | 853ade7ee85f9d3fa686540693098f7c31bbcb16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | 4Ex19.sce | //chapter 4 Ex 19
clc;
clear;
close;
Length=(7*12+9); //converting into inches
Length_part=Length/3;
Length_part_ft=Length_part/12;
Length_part_in=modulo(Length_part,12);
printf("The length of each part is %d ft %d inches",Length_part_ft,Length_part_in);
|
4547b18137f6954870dbf0282b6b1c2bcc979309 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH13/EX13.2/ex13_2.sce | c7794290bce42f6203f4e35fd2dedb438798f8db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | ex13_2.sce | clc;
clear all;
X=2*1e-3;//magnetic suseptibility of material at room temp.
H=1e3;//magnetic field intrnsity of piece of ferricoxide
u0=4*%pi*1e-7;
M=X*H;//magnetization
disp('A/m',M,'magnetization is=');
ur=X+1;//relative permiability
B=u0*ur*H;//magnetic flux density
disp('W/m^2',B,'magnetic flux density is=... |
54e10a4617c9a27e10c01f9dab8783811629fb27 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ac_mvi/~BivLCM-SR-bfas_ac_mvi-PLin-VLin.tst | d1dff449873e449883274c1aba10c60f6c132abf | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ac_mvi-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.264179D+00
... |
1784b659636ee7440bf12eb423d6af198b387c0f | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-HypothesisTesting/FLtTest1S-NZ-01.tst | b74d4e26b571d0ea9168e164142925179a4da4be | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,573 | tst | FLtTest1S-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
a541ed155cc1b6e0a04a711dfd194b00bc8fc3f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.15/Ch3_3_15.sce | 3e46888f1b6387b189cae2dc562866978e5caa43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | Ch3_3_15.sce | clc
disp("Example 3.15")
printf("\n")
disp("Find the value of alpha & beta of transistor and Ib for desired Ic")
printf("Given\n")
Ic=1.2*10^-3
Ib=20*10^-6
//the value of beta
beta=Ic/Ib
//the value of alpha
alpha=beta/(1+beta)
//the value of Ib for desired value of Ic=5mA
Ic1=5*10^-3
Ib1=Ic1/beta
printf(... |
6ac41dd7c88aee72979dc9af5ab22f7aafe5cbea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH5/EX5.37/Ch05Ex37.sce | a3dfa3c478968f6f7314d566f3f574e05c1c2a70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 846 | sce | Ch05Ex37.sce | // Scilab Code Ex5.37: Page:315 (2011)
clc;clear;
// Function to convert degrees to deg-min
function [d,m] = deg2degmin(deg)
d = int(deg);
m = (deg-d)*60;
endfunction
lambda = 7.62e-07;....// Wavelength of the polarized light, m
mu_R = 1.53914; // Refractive index of quartz for right-handed circula... |
41d56a90e3573db849074624c7f7d62870f5396e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH15/EX15.17/ex15_17.sce | 43e13e9580391926393568c3ace0d71b960063f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | ex15_17.sce | //Chapter-15, Example 15.17, Page 513
//=============================================================================
clc
clear
//CALCULATIONS
disp('((((A+C''))''(BD''))''.((A+C'').(BD''))'')''')//------>step 1
disp('((A+C'')+((BD'')'').((A+C)''+(BD'')''))''')//------>step 2
disp('((A+C'')+(BD'')'').((A+C'')''+(... |
ea6bd49b1c0b648d140dbc2648a70875149b1576 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH5/EX5.18/5_18.sce | 30d01fd7dbcc4c4ef9360cb176d85c3467087696 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | 5_18.sce | V=100
R=10
L=2E-3
C=200E-6
w0=1/sqrt(L*C)
Xl=w0*L*%i
Xc=1/(w0*C*%i)
I=V/R
Vl=I*Xl
Vc=I*Xc
Vlc=Vl+Vc
disp(Vlc,Vc,Vl,I,w0) |
d882a00b70c93a996459265be9784f781a443bac | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_n_bfa_mt_d/~BivLCM-SR-bfi_n_bfa_mt_d-PLin-VLin.tst | 1b2f450ef57401d7920eb79a6224ad34a81bd286 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_n_bfa_mt_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.484529D+00
... |
19eb52d49a7082db8139e5c604770c8c93771958 | 6e8df5b4cc6a12833566b3b67b0160d1937be025 | /Multimorphic_testing_data_code/code/scilab/OpenCV/scripts/scilab/v2/script_eval_bin_influence.sci | ae750179167973655459358d84526ad36d484989 | [] | no_license | templep/TSE_MM_test | 2b2cc79b9e6d46a80bf692227f367438adeca3f3 | 4d3c08489c182b77418fc5d4e55377d5b68e8334 | refs/heads/master | 2020-03-22T22:01:12.897309 | 2019-06-13T07:50:42 | 2019-06-13T07:50:42 | 140,728,734 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,669 | sci | script_eval_bin_influence.sci | //a function to create histograms needed to compute dispersion scores
//it also computates associate dispersion scores to videos
//scores and histograms are stored in the given file
//inputs :
// - path : the path to the folder where data are
// - filename : the file name containing are (csv format with ';' separati... |
f5b655a4f8e60d2ce46220f0cde9a857e0d07584 | 48d313982e11468e3406524c01f1cba2700a2db5 | /Calcul numeric/ResurseTemaCalculNumeric/New folder/ExFct/eq2.sci | f8a23a109cc57faac44c3bb4ffef9804e6c4d0d7 | [] | no_license | albanionut/University | b8e918a192c131647099c57e1b2caa231de98d6d | b3d3dfe3cf64d0cddfaeb570151adf7d4c9ad0b7 | refs/heads/master | 2021-07-13T11:31:29.880681 | 2020-10-10T15:07:00 | 2020-10-10T15:07:00 | 214,223,943 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sci | eq2.sci | function [u,v]=eq2(a,b)
delta=a*a-4*b
if delta>=0
u=0.5*(-a+sqrt(delta))
v=0.5*(-a-sqrt(delta))
disp('Real roots')
else
u=-a/2
v=sqrt(-delta)
disp('Complex conjugate roots')
end
endfunction |
90a27a10fa3114e89c4a3a2c20f1f80ab941ccc1 | 25938fdd57f60ee5725a949bc87d6afd3cc4fe24 | /Practica6/Practica6.sci | 17781a173e05c3a265b4a5d627ca28d61dab14ef | [] | no_license | Joaquin98/Metodos | a3df61366647a7c02a81bb0467befdcbbedb9426 | 5b30532431c111ca453f9d6b37ffa377616ba6a5 | refs/heads/master | 2020-04-04T05:13:27.646770 | 2018-12-07T12:25:43 | 2018-12-07T12:25:43 | 155,738,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,744 | sci | Practica6.sci | // poly([A],"x") -> Retorna el polinomio carcaterístico.
// det(lambda*I - A) = p(lambda) Polinomio característico.
// roots(p) -> Raices del polinomio.
// spec(A) -> Autovalores de la matriz.
function gerschgorin(A)
n = size(A,1)//Cambie size(A,'r') para version 5.5.2 scilab
for i = 1:n
suma = 0
... |
b97103ddc022e9d85a0586452e8ff7f9b5156aff | 449d555969bfd7befe906877abab098c6e63a0e8 | /296/CH1/EX1.2/eg1_2.sce | a879d15c8c4b98fee4a89e55e5a3861ca398b94a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | eg1_2.sce | disp("The plane illustrated in Fig. 1-5 has intercepts at 2a, 4b and lc along the three crystal axes. Taking the reciprocals of these intercepts, we get 1/4, 1/2,and 1. These three fractions have the same relationship to each other as the integers 2,1, and 4 (obtained by multiplying each fraction by 4).Thus the plane c... |
1326703556007ed924e0d4fad7ef3845d9fe7e2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH5/EX5.8/Ex5_8.sce | c5a6136ead3b4ae79da43e3af118ce5f91422142 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | Ex5_8.sce |
// Ex5_8
clc;
// Given:
Q1=1.2;
M1=14;
m1=4;
// Solution:
E1=Q1*((m1+M1)/M1);
printf("The threshold energy is %f in MeV for O(17) reaction",E1)
|
dbf2a82911ecbeef0ed8fa9371b0b9fe581350f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH6/EX6.4/6_4.sci | 0f07d215c9d463dc89412e51808b69345d3cfef1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sci | 6_4.sci | clc();
clear;
//To compare the intensities of ordinary & extraordinary light
//IE=A^2(cos^2(teta));IO=A^2(sin^2(teta))
//I0/IE=tan^2(teta)
teta=40; //angle made between incident beam & optic axis
a=tand(40)^2 //I0/IE
printf("I0/IE=%f",a); |
90f446eae889bbf9e16b86dcaa4c9c4b8c34c1f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH2/EX2.5/5.sce | 95c96b8bd204eb6ba76eff74e60c71103a6c70ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | 5.sce | clc
m=10; // kg
M=80; // kg
OG=0.8333; // m
rho=1026; // kg/m^3
g=9.81; // m/s^2
d=1; // m
W=(m+M)*g;
// W(OG) = (W + F)(OB + BM) = rho*g*%pi/4*d^2*h1*(h1/2+d^2/(16*h1))
h1=sqrt(2*(W*OG/(rho*g*%pi/4*d^2) - d^2/16));
F=rho*g*%pi/4*d^2*h1 - W;
disp("Least vertical downward force =")
disp(F)
disp("N")... |
cc8ea40a9cd54ea98b103a254c53ac43446cd707 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2975/CH23/EX23.3w/Ex23_3w.sce | eb770f81ebd44d6256bc1facebb77e72e86f7a24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Ex23_3w.sce | //developed in windows 8 operating system 64bit
//platform Scilab 5.4.1
//example 23_3w
clc;clear;
//Given Data
p1=80; //Pressure of the gas in melting ice(Unit : cm)
p2=160; //Pressure of the gas in a liquid (Unit : cm)
t1=273.15; //Temperature of melting ice in (Unit : kelvin)
// Calculation
t2=(t1*... |
db962370747991e83e2f5ed6fa6132bb2e5e7073 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH4/EX4.14/Ex4_14.sce | 89b9ac0f4d61943b2c545f3cec9c5e1ebcea99b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | Ex4_14.sce | //Example 4_14
clc;funcprot(0);
//Given data
p_a=755;// mm of Hg
V_c=8;// m/sec
V_d=3;// m/sec
T_a=20;// °C
g=9.81;// m/s^2
//Calculation
// The minimum value of p_c corresponds to the saturation pressure of water vapour at 20°C.
//From steam table,
p_c=17.6;// mm of Hg
h_f=0.0;// m
p_b=760;// mm of Hg
... |
ab04b22e9f2110612cad21dcb7ce0ba892fffff0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH17/EX17.3.b/17_3b.sce | eaa6adbbac44a00b13cc738cec3b37a8560d52ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | 17_3b.sce | clc
//initialization of variables
h0=191.81 //B/lb
Pr0=5.526
w=1 //lb/sec
Pratio=0.53
k=1.4
T0=800 //R
cp=0.24
P0=150 //psia
P2=15 //psia
Pt=79.5;
//calculations
Prt=Pratio*Pr0
disp("From keenan and kaye steam tables,")
Pr=2.929
Tts=668 //R
hts=159.9 //B/lb
Vts=sqrt(2*32.2*778*(h0-hts))
vts=53.34*Tts/(Pt*144)
at=w*vts/... |
f8cf5c700fb833941481d0fb5f93dbf509e6604d | ece5c630921508b439ed25c5f7ab3db5a66f7a1a | /Assignment6_Team8/FloatMultiplier16.tst | 4517e6262895951bfbe55c264e8816bfd71386aa | [] | no_license | VedantS01/HDLProjectsCS2310 | f8d17d1c9c28034a21026a4fbe2ae5d38cf39330 | d2a39a4c062173475bd06ff0b3396f1ac6303103 | refs/heads/main | 2023-06-19T20:42:48.411561 | 2021-07-14T19:37:51 | 2021-07-14T19:37:51 | 386,054,022 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 982 | tst | FloatMultiplier16.tst | load FloatMultiplier16.hdl,
output-file FloatMultiplier16.out,
output-list x%X1.4.1 y%X1.4.1 out%X1.4.1;
//both positive and mantissa product between 1.0 and 2.0
set x %X40a0,
set y %X40c0,
eval, output;
//one positive one negative and mantissa product between 1.0 and 2.0
set x %X40c0,
set y %Xc0a0,
eval,... |
8108b9c6bdaf0b41bd07a1ed50b68045d024be39 | 4b1d4672fa994587ea62810e2f0c57b3a652f278 | /CSpeech_Session2_SDL.sce | 95a38d74ebe95894e5c980d348c34f7b3b2da68c | [
"Apache-2.0"
] | permissive | VCSchoots/Colour-Speech | 57305d6c20875c52e130dabaf705773404e2aec8 | df1d5f13c1bb944f918acafb3cc562e918ee3195 | refs/heads/master | 2021-07-02T00:47:58.475654 | 2019-03-04T19:51:39 | 2019-03-04T19:51:39 | 136,158,365 | 0 | 0 | Apache-2.0 | 2018-09-12T10:15:08 | 2018-06-05T10:06:37 | Scilab | UTF-8 | Scilab | false | false | 9,321 | sce | CSpeech_Session2_SDL.sce | ####### INITIATION #######
# Initiation of the scenario and the main PCL-file
scenario = "CSpeech";
scenario_type = fMRI_emulation;# set to fMRI at the scanner!
pcl_file = "CSpeech_Session1_MAIN.pcl";
pulse_code = 255;
pulses_per_scan = 1;
scan_period = 2000;
write_codes = true;
default_output_port = 1;
# !!!!!!!!!!!... |
94cf96bd5eb2a47a98eacfda2578aade8a9f5d79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.40/EX6_40.sce | f1f09c7071ec3586ecbb887e6afba2577796fa5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sce | EX6_40.sce | //Example6_40 // Design an instrumentation amplifier
clc;
clear;
close;
//A = 5 to 500 ; adjustable gain
VR = 100*10^3 ;
// the maximum differential gain of instrumentation amplifier is 500
//Amax = (R4/R3)*(1+(2R2/R1));
//by solving above equation we get following equation
// 2R2 -249R1f = 0 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.