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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
de819660446a87259e9c37e56d1f20ae0f658adc | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH2/EX2.2.45/Ch2_2_45.sce | d75df86241d884b71952320e3bf3f9a4b89178d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | Ch2_2_45.sce | clc
disp("Example 2.45")
printf("\n")
disp("Find the capacitor value for half wave rectifier")
Vdc=20
f=60
RL=500
r=0.1/(2*sqrt(3))
c=1/(2*sqrt(3)*r*f*RL)
printf("Capacitor value =\t%e farad\n",c)
|
605689b6c00ee9e7a03ac09017be426d6d2e3b1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH17/EX17.2/EX17_2.sce | 793761e7a6275679fbc91e6ab6bff5de44894fb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | EX17_2.sce | //Finding of Discharge
//Given
rho=1000;
d=0.05;
P=1226.25;
//To Find
A=(%pi/4)*d^2;
V=P/(rho*A);
V1=sqrt(V);
Q=A*V1;
disp("Discharge ="+string(Q)+" m^3/sec");
|
eae33fe46334dc8716444da6a929d4a5b70733e5 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 5/FatoracaoLU.sce | 949b17c1b6c2513f1c0904756bda89a99371205b | [
"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 | 794 | sce | FatoracaoLU.sce | A = eye(405,405)
for j = 1:405
for i = 1:405
if(abs(i - j) > 1)
A(j,i) = 1
else
A(j,i) = 0
end
end
end
function [L,A,C] = fatoraLU(A)
n = size(A,1)
L = eye(n,n)
C = 0
for j = 1:n-1
for i = j+1:n
L(i,j) = A(i,j)/A(j,j)
... |
a3fc360e1d4dc284ff11f2b4b4fd3f175b71119f | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /acmp.ru/335, Tri-prime numbers/c++/test-03.tst | d4e2ad1ddf89ae5ffebb693663e7b1809c47d8f0 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33 | tst | test-03.tst | 5
~~~~~~~~~~~~~~~~~~~~~~~~~~
374
|
9cdc80e43d0cc5094aa004b5d034ccf88f9ce929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH9/EX9.4/9q4.sce | dce662989fd86a7f18c04e60267a7a79a0ce70b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9q4.sce | clc
//initialisation of variables
C0= 0.357
H1= 30.5 //ft
H2= 5 //ft
w= 62.4 // lb/ft^3
D= 20
g= 112 // lb/ft^3
//calculations
G= g-w
FS= D*G/(C0*w*(H1-H2))
//results
printf ('safety factor = % 2f ',FS)
|
8fc8531d3707336f0a44a0769f8d35360f750d11 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0031.tst | 0262792262072d70e018695c86b78e358f73d7e7 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 234 | tst | 0031.tst | SpLIttEr mLaO {}
fiLTer S { }
fILTer LKXKfi {Q J }
GEpUDb brAnCh i
GRoUPer L {aggrEgaTe vx ,uniOn(xb) as tzn }
UngRoupeR MDOI { }
GRoupFiLTer g {bItoR () or NOt 27.6.4.41/2 <= ::e:1.254.61.13 }
mErGer bCUjZ { expoRT tje } |
58c45ddd86984aaf29fae58aa4d119459564398f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH8/EX8.3/Ex8_3.sce | 568491b8ddd254bffd02109feccc50dfdeb7d509 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | Ex8_3.sce | clear all; clc;
disp("Ex 8_3")
//Using the eqautions of equilibrium and eqautions of friction and after simplifyig, we get a qaudratic equation: mu_s^2-4.419*mu_s+1=0
//solving the above equation for mu_s:
//coefficients of the quadratic equation
a=1
b=-4.619
c=1
d=sqrt(b^2-(4*a*c))
mu_s1=((-b)+d)/(2*a)
mu_s2=((-b)-d)/... |
0793e83f8c1652e6e16753050e9945b2157e6065 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH1/EX1.11/1_11.sce | ea9a3cf38522a3dbc9718055a6edf85c105423dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | 1_11.sce | i1=4-1 // KCL at node 1
disp(i1,"i1=")
v1=i1*1
v12=1*1
v2=v1-v12
i2=v2/1
i3=1-i2 //KCL at node 2
Vs=v2-1*i3 //KVL
disp(Vs,"Vs=") |
ea29d0f25eea04affe97f94f8df2ba52fbea9647 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH5/EX5.15.1/Ex5_15.sce | f6fa12ce21e9bab93cce1ff868f8964bf72cffe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | Ex5_15.sce | clc
clear
Ms=7.5; //kg/kg of coal
P=11; //in bar
Tf=70; //in C
Eff=0.75; //Efficiency
FOE=1.15; //Factor of Evaporation
Cps=2.1; //in kJ/kg K
Hfw=293; //in kJ/kg
H=(FOE*2257)+Hfw;
//At 11 bar
Hg=2781.7; //in kJ/kg
Tsat=184.1; //in C
Tsup=((H... |
6ae1b31ce37ab1ea276f0734c2c13c5b8f753979 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH5/EX5.1.19/5_1_19.sce | 3e0f3172c8513d591e7602af8704e54fa66fcd47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | 5_1_19.sce | disp('The given matrix is:')
a=[1 1 1;2 2 2;3 3 3]
disp(a,'A=')
disp('A is not invertible because its columns are linearly dependent.')
disp('Hence, 0 is an eigenvalue of matrix A.') |
3753b06ca662c6b91bb1e4a3dc6843d40883ac08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH18/EX18.7/18_7.sce | 9a473cfe68f75d5cd72f2636b534cadc45cf9614 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 18_7.sce | clc
//initialisation of variables
v= 8.867*10^13 //sec^-1
u= 1.628*10^-24 //gms
//CALCULATIONS
k= (%pi*2*v)^2*u
//RESULTS
printf (' force constant = %.2e dyne cm^-1',k)
|
89a72a64f520d695f6faedd85f84a9666cd636f8 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/deconv.sci | 1c4d8fa8757c65424f4989118fd8d665703ebe08 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,165 | sci | deconv.sci | function [b, r] = deconv (y, a)
// calling sequence:
// [b,r]= deconv (y, a)
// Deconvolve two vectors.
//
// [b, r] = deconv (y, a) solves for b and r such that
// y = conv (a, b) + r.
//
// If y and a are polynomial coefficient vectors, b will
// contain the coefficients of the polynomial quotient and r will be
// a ... |
e5ff33097e8ffc1de485eba0645e8659e6713dac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH15/EX15.19/example15_19.sce | afab4774e498193cfe8dbb961f570d067b7b6aa5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | example15_19.sce | clc
// Given that
l = 1e-10 // width of box in m
e = 1.6e-19 // charge on an electron in C
m = 9.1e-31 // mass of electron in kg
c = 3e8 // speed of light in m/sec
h = 6.63e-34 // Planck constant in J-sec
// Sample Problem 19 on page no. 15.31
printf("\n # PROBLEM 19 # \n")
printf("Standard formula used \n")
printf(" ... |
d966529525dd0574dbc8033b68a64a5e7069a4e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH3/EX3.22/ex3_22.sce | 692a453598d6d2f875f80d56ba3d794f28b42d22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | ex3_22.sce | // Example 3.22, page no-147
clear
clc
Vi=0.6
Vi1=0.6
Vi2=0.6
R1=10*10^3
Rf=20*10^3
RL=2*10^3
I1=Vi/R1
I1=I1*1000
Av=1+Rf/R1
printf('Av=%d',Av)
Vo=Av*Vi
printf('\nVo=%.1f V',Vo)
IL=Vo/RL
IL=IL*1000
printf('\nI1=%.1f mA',IL)
//By Kirchhoff's current law
Io=I1+IL
printf('\nIo=%.2f mA', Io)
|
d1cbadeca3d53a02fb99a852347126c3d3189f80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH4/EX4.3/ex_4_3.sce | 8175570703f70a6b1ddafb92624786d9a461e272 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_4_3.sce | // Example 4.3:Number of the modes
clc;
clear;
close;
format('v',6)
h= 0.85;// Wavelenght in micrometers
a= 50;// Core radius in micrometers
NA=0.17;//
v1=(2*%pi*a*NA)/h;
m2= round((v1^2)/2);
disp(m2,"Number of modes")
|
290d0d4cc7ba4d77690b2f8b0e883df1fac46428 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH9/EX9.14.2/ex_9_14_2.sce | d14cd3725f77b076c08260e6929f53af8330fb39 | [] | 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 | 251 | sce | ex_9_14_2.sce | errcatch(-1,"stop");mode(2);//Example 9.14.2 // time interval
;
;
format('v',7)
vdv=2;//volts per division in micro seconds/div
n=2;//no. of divisions
Tint=vdv*n;//peak to peak voltage in volts
disp(Tint,"time interval in micro seconds is")
exit();
|
379c24da197c909bbf3b353f91fb5484e044553a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH15/EX15.5/Ex15_5.sce | 32e42b94d9d8019ee0e8a72b50c3d69d12c5d1e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,009 | sce | Ex15_5.sce |
// Variable Declaration
P_i = 0.75 //Pre-fault power(p.u)
f = 50.0 //Frequency(Hz)
H = 6.0 //Value of H for finite machine(sec)
x_G = 0.2 //Reactance of machine(p.u)
x_T = 0.1 //Reactance of transformer(p.u)
x_L = 0.4 //Reactance of line(p.u)
V = 1.0 //Voltage of infinite ... |
a18ce8d86ae675b8ba907c23d1feda43550249bd | c1e86b47eb05c58f4522db485e82bd9aed662eb9 | /spec/fixtures/agg_index.tst | 153c9da4bd8c09e817d81332e201023e720bb67e | [
"MIT"
] | permissive | yieldbot/sensu-yieldbot-plugins | 26958bf57bbee73469bfc1f759e05bcb4ef31906 | e03aee60bd6ed2621292884a0d07dcdffe58bfca | refs/heads/master | 2020-04-06T06:32:15.712693 | 2018-10-09T15:50:14 | 2018-10-09T15:50:14 | 18,178,205 | 8 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 3,071 | tst | agg_index.tst | health index pri rep docs.count docs.deleted store.size pri.store.size
green aggstats-2013-01 12 1 1843406 301578 1.4gb 749.7mb
green aggstats-2013-03 12 1 4499021 14779 2.8gb 1.4gb
green aggstats-2012-11 12 1 821800 5307 593mb ... |
4a2f2ffdf3793c2bdc3a66ca4686f8229b7c26bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH8/EX8.7/example_7.sce | d62873e680b2e127de99388336ad7b3d172f5e52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | sce | example_7.sce | clc
clear
printf("example 8.7 page number 367\n\n")
//to find the flow rate in an orifice
density_of_water = 1000; //in kg/m3
viscosity = 1*10^-3; //in Pa-s
pipe_diameter = 250; //in mm
orifice_diameter = 50; // in mm
density_of_mercury = 13600; // in mm
manometer_height = 242; ... |
e244fef795882970bb05c06060156e4aa9500baa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH7/EX7.10/Ex7_10.sce | 696b872c87d5988895307458f8d919418ab3a920 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | Ex7_10.sce | //Chapter 07: Discrete Probability
clc;
clear;
s_total_msg=2000 //spam messages total
spam_msg=250 //occurrence of 'Rolex' in spam
nspam_msg=5 //occurrence of 'Rolex' in not know to be spam
ns_total_msg=1000//not spam messages total
threshold=0.9
p=spam_msg/s_total_msg
q=nspam_msg/ns_total_msg
r=p/(p+... |
002cb58a760af5c28ed67b616b0abc7a717e0b41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH9/EX9.2/Ex9_2.sce | 82aaf5c2011484a716b6dd976a27382967fdba28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_2.sce | clc//
//
//
//Variable declaration
d=5*10^-6; //thickness(m)
Dc=3.4*10^-3; //diffusion coefficient(m^2 S-1)
//Calculation
tow_diff=d^2/(2*Dc); //time taken(s)
//Result
printf("\n time taken is %0.1f *10^-9 s",tow_diff*10^9)
|
d0319f5407ed1c2e8f489fecd10776458e8bc923 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH25/EX25.3/ex25_3.sce | 493878b69ab94736ddd0f7379e95655075e0cb70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | ex25_3.sce | //To calculate the mass of melted Ice
//Example 25.3
clear;
clc;
m=0.2;//mass of a piece of ice in kg at 25 degree Celsius
s=4200;//specific heat capacity of water in J/kg-k
t1=25;//Initial Temperature in Celsius
t2=0;//Final Temperature in Celsius
Q=m*s*(t1-t2);//formula for finding the heat
L... |
e968257b6ac1d9b54d0d9cc7dae7f9576dc5462c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH5/EX5.11/Ex5_11.sce | 69cf1bffc8f823714f6646b5f443884910c1568e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | sce | Ex5_11.sce | clc;
VS=6;
R1=330;
R2=470;
VD=0.7;
RT=R1+R2;
I=(VS-0.7)/RT;
disp('mA',I*10**3,"I=");
|
a6673a65d46fce9ed8b6687264d34a9c8262d50e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH15/EX15.21/Ex15_21.sce | 817c8e3478c45c72ada7426df709d044b6fe7851 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Ex15_21.sce | //Variable declaration:
a1 = 0.00044 //Term 'a' for U_clean
a2 = 0.00089 //Term 'a' for U_dirty
//Calculation:
Rs = a2 - a1 //Resistance associated with the scale
hs = 1.0/Rs //Scale film coefficient (Btu/h.ft^2..)
//Result:
printf("The scale film coefficie... |
565203cc25f7cde7f40fde806cb1861ec27dfec9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH6/EX6.31/ch6_31.sce | de6cd6c852ed61f5543db0958b804cc51423915e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | ch6_31.sce | clear;
clc;
V=230;//per phase
V_ml=sqrt(3)*sqrt(2)*V;
f=50;
w=2*%pi*f;
a1=60;
L=0.015;
i_cp=(sqrt(3)*V_ml/(w*L))*(1-sind(a1)); printf("circulating current=%.4f A",i_cp); |
006c2da3d16807048aae75a72a83e7fff728ec0e | fdf97225e208a6642e1aafddb68b8d3e948f9b9a | /sql/feuerstein/Best_Practices/Code/effdsql.tst | 3a0f6735f0792745182efb599882b2a3c92cd915 | [] | no_license | jampaniuday/sql_source | 2b47413a50bf419559f6310148f799cf04edb668 | 5c84428161ef58084f8fb25021fd378544ee91db | refs/heads/master | 2021-06-11T14:18:52.676174 | 2017-02-06T21:52:11 | 2017-02-06T21:52:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,396 | tst | effdsql.tst | CREATE OR REPLACE PROCEDURE dynsql_efficiency (counter IN INTEGER)
IS
cursor_id INTEGER;
exec_stat INTEGER;
BEGIN
/*
|| Approach 1: Open, parse, execute and bind and close
|| for each new variable.
*/
PLVtmr.capture;
FOR i IN 1..counter
LOOP
cursor_id := DBMS_SQL.OPEN_CURSOR;
DBMS... |
9ab6dd4fffc22349a63d3e5312d9768914a0b2e4 | d153e998690566a383b3cb700294956d3753b364 | /Scilab/fibonacciRecursivo.sce | 507f3916ab50ad2f1eb767e2d4495844a5f699f7 | [] | no_license | rayssalourrane/TPFINAL-CN | dc2c2211538fb36a7446c3ef0017a104b2375f87 | ec7d83a359c4ed85a65cefad0d69472955b467ca | refs/heads/master | 2020-06-18T09:25:39.181310 | 2019-07-11T18:45:14 | 2019-07-11T18:45:14 | 196,251,580 | 1 | 5 | null | 2019-07-11T13:29:08 | 2019-07-10T17:53:28 | Java | UTF-8 | Scilab | false | false | 293 | sce | fibonacciRecursivo.sce | function f = fibonacciRecursivo(n)
tic();
select n
case 0 then
f = 1
case 1 then
f = 1
else
f = fibonacciRecursivo(n-1) + fibonacciRecursivo(n-2)
end
t = toc();
disp(t);
endfunction
|
a6eba2fc73078fcc31a367bdeab6c18b350c9702 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH17/EX17.2/Ex17_2.sce | 0837ea893b17c4899880f8ac1c5eec4af1f0cb01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex17_2.sce |
clc
// Given that
e=1.6*10^-19 //Charge on electron in Coulomb
ni=4*10^19 // number of electron per unit volume for Si at 423 K (m^-3)
//Values of m_e and m_h are deduced from graphs at page No.689
m_e=0.06 //Mobility of electron in m^2/V-s
m_h=0.022 // Mobility of holes in m^2/V-s
printf(" Example 1... |
9b3373070ddc976035b15a7ad0b807c5561065de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH3/EX3.11/NNID_Ex_3_11.sce | f90766ca078ca56ef0c98ee5aef3bcb43c7cbe3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | NNID_Ex_3_11.sce | clc
//Chapter 3:Network noise and intermodulation distortion
//example 3.11 page no 88
//given
ensqr=8*10^-16//noise voltage
insqr=9*10^-25//rms noise current
Rs=sqrt(ensqr/insqr)//sourse resistance
k=1.38*10^-23//Boltzmmans constant
T=290//tempreture
F=(ensqr+insqr*Rs^2+4*k*T*Rs)/(4*k*T*Rs)//amplifier noise f... |
8835079938c8500fac3455da5c0c5c3756a7470c | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/TIA.sce | 52ab4baad0251af80137dd05318f5525c716c662 | [] | 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 | 877 | sce | TIA.sce | //************************* TIA ******************************
if (blk_name.entries(bl) =='TIA') then
for ss=1:scs_m.objs(bl).model.ipar(1)
mputl("# TIA",fd_w);
tia_str= ".subckt TIA_blk in[0]=net"+string(blk(blk_objs(bl),2))+'_1 out[0]=net"+string(blk(blk_objs(bl),2+numofip))+'_'+string(ss)+" #TIA_fgota_... |
e9c844c44efe50dc50b9dc9dd0d6496ed738e334 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH3/EX3.9/Ex3_9.sce | 42e6f52610d6cd85a3a533a4e383f545e8799ae2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | Ex3_9.sce | //Example number 3.9, Page number 3.35
clc;clear;close
// Variable declaration
lamda_L1=39.6*10**-9 // in m
lamda_L2=173*10**-9 // in m
T1=7.1 // in s
T2=3 // in s
// Calculations
x=(lamda_L1/lamda_L2)**2 // in kg/m^2
Tc4=(T1**4)-((T2**4)*x)/(1-x) // in K
Tc=(Tc4)**(1/4) // in K
printf("Tc = %0.4f K",Tc)
printf("\n... |
cea9eaccde5e66abcca93bb54665ff4e21458494 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/NW42UPG/ATWM1_Working_Memory_MEG_NW42UPG_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | 67ea78bc9a13288f86cc09596265dd2dd4847e53 | [] | 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 | 48,408 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_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_monit... |
b5d0153a36c350a255219635a415f3cff319d823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH4/EX4.13/Example_4_13.sce | aad958587cc4ab69737be34bea5bb5aa811f9bca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | Example_4_13.sce | //Example 4.13 A random sample of 100 articles taken from alarge batch of article contains 5 defective article
clc;
clear;
n=100;
p=5/100;
q=1-p;
N=2646;
SE=sqrt((p*q)/n);
disp((p-2.05*SE),"to",(p+2.05*SE),"The 96% confidence limits for Pare ",N,"Population size N",n,"Sample size");
S_E=sqrt(p*q/(n))*sqrt((N-... |
ceae9a7a9a9cf8b5fc2cc1271f0ab761dc7b8361 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH10/EX10.3/3.sce | 19e459ab46ff29d84c425309817716c4e126d3eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | 3.sce | clc
clear
//input
n=7//order of fringe
l=0.63*10^-6 //wavelength
x=24.8*10^-3 //seperation of bands
d=1.5
//calculation
a=n*d*l/x//slit seperation
//output
printf("the slit seperation is %3.3e m",a)
|
a8dd6a5c2c952ffd2eedb72497b3369382e86067 | 95beaf56de829d390a567f241221c582c4b682ed | /projet/CoSaMp.sce | a35717e10b99103ff5b5a2a59820e07bb989865d | [] | no_license | the-mousaillon/compressive-sensing | 85d5d5ce814ad8ec20271a3b932144e35e640041 | bfa3acf166be6a8141d1eb2064523e7de8f19db7 | refs/heads/master | 2020-04-17T15:02:05.840745 | 2019-03-20T12:55:21 | 2019-03-20T12:55:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,118 | sce | CoSaMp.sce |
function cj=contribution(R,dj)
cj=abs(dj'*R)/norm(dj)
endfunction
function y=contriblist(R,D,s)
[N,M]=size(D)
CJ=[]
for i=1:M
CJ=[CJ,contribution(R,D(:,i))]
end
indices=1:length(CJ)
[B,k]=gsort(CJ,"g","d")
y=k(1:2*s)
endfunction
function y=cosamp(D,K,x,s)
[N,M]=size(D)
... |
2a14dee85b419f2f6a5ba480830a2044e2f21f0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH9/EX9.3/ExB_3.sce | 32b11be6ff4de1d59192f058139fc6da554083ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,089 | sce | ExB_3.sce | clc;
vl=400; // line voltage
z=10+7.5*%i; // load impedance per phase
disp('For star connected load');
vp=vl/sqrt(3); // phase voltage
ip=vp/abs(z);// phase and line current are same in the case of star connected load
an=atand(-imag(z),real(z));
pf=cosd(an);
P=sqrt(3)*vl*ip;
pa=sqrt(3)*vl*ip*pf;
pr=-sqrt(3)... |
e5313daa69e8bd3074c3e25a69056409d85484f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH7/EX7.4/Ex7_4.sce | 8e6515acdbf6c1eeee52e2096437f2ef306b6a93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | Ex7_4.sce |
// Example 7.4
r=0.75*10^-2; // Radius of Solenoid
A=%pi*r*r; // area of Solenoid
N=900; // No,of turns
l=0.3; // Length of Solenoid
mo=4*%pi*10^-7; // Permeability of free Space
L=(N*N*mo*A)/l; // Formula of Induction of a Coil
I=5; //... |
023a861ae50c158c26bebe815ad2972f4a369e5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH24/EX24.10/Ex24_10.sce | 8d659d749cc698d5518380707b264b17b4da1041 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 673 | sce | Ex24_10.sce | // Initilization of variables
l=1 // m // length of the simple pendulum
g=9.81 // m/s^2
// Calculations
// Let t_s be the time period when the elevator is stationary
t_s=2*%pi*sqrt(l/g) /// seconds
// Let t_u be the time period when the elevator moves upwards. Then from eqn 1
t_u=2*%pi*sqrt((l)/(g+(g/10))) // se... |
ef30fe940077f091bf2f5737da0dfc03cda01894 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH12/EX12.11/Ex12_11.sce | 6a3488b9f9211c8581a7a6b0ba46ac46716f1a38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_11.sce | // Scilab Code Ex12.11: Page-452 (2014)
clc; clear;
T = 110; // Half life of F-18, min
f_remain = 0.01; // Fraction of the F-18 sample remained
t = -log(0.01)/(log(2)*60)*T; // Time taken by the F-18 sample to decay to 1 percent of its initial value, h
printf("\nThe time taken for 99 percent of the F-18 s... |
a4e49f12d92cf681a2457ae0351dc0d2cf93deff | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /TugasBesar2018/test_poisson2d.sce | 2ae3bf186887dc4de3cd859446a3f9d86fc2f1d8 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | test_poisson2d.sce | exec("poisson2d.sce",-1)
function u = func(x,y)
u = cos(x+y) - cos(x-y)
endfunction
function u = gauss(x,y)
r2 = x**2 + y**2
u = exp(-0.5*r2)
endfunction
Nx = 50
Ny = 50
x = linspace(-%pi,%pi,Nx)
y = linspace(-%pi,%pi,Ny)
u0 = zeros(Nx,Ny)
// set BC
u0(1,:) = 0.0
u0(:,1) = 0.0
u0(Nx,:) = 0.0
u0(:,Ny) = 0.0
/... |
3421ed7fa2f89e81c54a5372f4e175921ae37d9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH3/EX3.1/Ex3_1.sce | 9e94460f35ede77d51982a4da6ed3c0552d2c935 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,167 | sce | Ex3_1.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 3: Methods of Analysis
// Example 3 - 1
clear; clc; close;
//
// Given data
I1 = 5.00;
I4 = 10.00;
R2 = 4.00;
R3... |
d14ffe3208822fe36ce3738b0d737c9cc6c7f4ec | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0055.tst | 97954b3e3f4e2d4687f8a86d02ddf5ded2a371d2 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 309 | tst | 0055.tst | spliTTER IG {}
fILtEr RRv { }
FilTER Y {nOt P Or nj }
V -> YC
GROUper k {MoDUlE MmGzI{ } MoDULE Y{ fAv < UAKXT DEltA 56 YT < R RdelTA 5 } aggRegATE UX }
UngRoupEr N { }
GrouPFiLteR aFaw {}
meRGeR n { MoDule T { braNches vIs } MODUle Q { BrAncHEs n } MoDule x { bRaNCheS c, z, mQ } ExpOrT Fpr } |
dcd8ef36f3ab0816900fb479735747ca21359150 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH2/EX2.15/Ex2_15.sce | 43e3ca53814461dd3ffc104fefc2943d14650c3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Ex2_15.sce | // Example 2_15
clc;funcprot(0);
// Given data
v_A=0.3;// m/s
// Calculation
// Solution (I).
// v_A=y_A,v_B=y_B
v_B=-(2*v_A)/3;// m/s
printf("\nThe velocity of B,v_B=%0.1f m/s",v_B);
// Solution (II).
v_B=abs((2/3)*v_A);// m/s
printf("\nThe velocity of B,v_B=%0.1f m/s (upward)",v_B);
|
751ad3e2a34150482679ad181047d879d7d240ec | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/scicos/getoutputs.sci | 705d12718c5e4a4ce4cc05d336bc83b88738496b | [
"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 | 100 | sci | getoutputs.sci | function [x,y,t]=getoutputs(o)
// Copyright INRIA
execstr('[x,y,t]='+o(5)+'(''getoutputs'',o)')
|
451a16d8253e580a08131ffba8e8a97f8a237fd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.8.b/ex_2_8_b.sce | 94016f34940651494be0bce9717024d1a9bec978 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | ex_2_8_b.sce | // Example 2.8.b: Calculate stability factor
Beta=100;//Common emitter D.C. Current gain
S=1+Beta ;
disp (S,"The Stability factor")
|
b0c498bcd67575788e5282d0582e9ff78edc4763 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH2/EX2.9/Ex2_9.sce | f4410edac3f103bc7495b1df10e194bb925ff569 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Ex2_9.sce |
//calculate the circuit current
u=1//for air gap
F=1.5e-3//flux
A=9e-4 //area
B=F/A
H=B/(4*3.14*10^-7*u)
l=4e-3//air gap
S=H*l//amps turns in air gap
l=4e-3//air gap
u1=800// for iron gap
A1=750e-6
B1=F/A1
H1=B1/(4*3.14*10^-7*u1)
l1=270e-3
S1=H1*l1
u2=1000//for P,Q,R
H2=B/(4*3.14*10^-7*u2)
Ip=135e-3... |
2ac953153f6216133010096a4d181f1a9e7dc34b | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1308.sce | 157a19352da38bf3bc31498d2ee46bbf60413f45 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,158 | sce | map1308.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1308" Width="13" Height="13" CellSize="40" BackgroundSize="1" Background="11plus.png">
<Cell Name="房子" X="2" Y="1" />
<Cell Name="房子" X="3" Y="1" />
<Cell Name="房子" X="4" Y="1" />
<Cell Name="房子" X="5" Y="1" />
<Cell Name="房子" X="6" Y="1" />
<Cell Na... |
eb200668974204e791b59e33192344090ba7e912 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/rand.man.tst | 6bb5024ca53c90f0e88b726d15ac36c8273e07bc | [
"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 | 88 | tst | rand.man.tst | clear;lines(0);
x=rand(10,10,'uniform')
rand('normal')
rand('info')
y=rand(x,'normal');
|
0e9857eda8ff4488c01197a74fc83d27f94ed039 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH10/EX10.4/Example10_4.sce | 2e166e2570b8d927d324f007f29f4e7697108c14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,610 | sce | Example10_4.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 10 : PROTECTIVE EQUIPMENT AND TRANSMISSION SYSTEM PROTECTION
// EXAMPLE : 10.4 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
z_l = 0.2 + %i * 0.7 ; /... |
91afcfa6d0b11dfa4b0d67905dc9ef20c430a4d0 | 448b934390596180e5965efadbcbe8e13809ab8c | /macros/pkgFindObj.sci | cd8dbb9e6a0e7abb927db1e91c1d7a6328d57bca | [] | no_license | pirpyn/pkg-scilab | 3834d8b5e5e7cbb71e2d2cff14ea763d32259bf0 | b3ac0d499c9b446d02159f29068616fcf2a57f56 | refs/heads/master | 2021-01-19T17:36:20.707736 | 2017-12-11T21:31:23 | 2017-12-11T21:31:23 | 101,072,162 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sci | pkgFindObj.sci | function [child,st]=pkgFindObj(tag,parent)
// same as findobj, but only compute it on the given parent frame
// usefull if 2 frames have uicontrol with the same tag value
if argn(2) == 1
if exists('gcbo')
parent = pkgGetRootHandle(gcbo)
else
parent=gcf()
end
end
st = %f
child=[]
if... |
b6cdbfd2daa8e5ced025feb691208d82ad3fb320 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH9/EX9.18/18.sce | a6bff6d7fd095cccb7d31869627ddefee98227a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 987 | sce | 18.sce | clc
m_O2=4; //kg
m_N2=6; //kg
p=4*10^5; //Pa
T=300; //K
M_O2=32;
M_N2=28;
m=10; //kg
disp("(i) The mole fraction of each component")
n_O2=m_O2/M_O2;
n_N2=m_N2/M_N2;
x_O2=n_O2/(n_O2+n_N2);
disp("x_O2=")
disp(x_O2)
x_N2=n_N2/(n_N2+n_O2);
disp("x_N2=")
disp(x_N2)
disp("(ii) The average molecular... |
d1bba6d8762089e7a11ac0372f89ca1b52f58b8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH4/EX4.4.31a/4_4_31_parta.sce | 222a2595dff20f3ce578bf5995becfe6d860dd38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | 4_4_31_parta.sce | disp('to check if the polynomials span R3')
disp('placing the coordinate vectors of the polynomial into the columns of a matrix')
a=[1 -3 -4 1;-3 5 5 0;5 -7 -6 1]
disp(a,'A=')
disp('performing row operations')
a(2,:)=a(2,:)+3*a(1,:)
a(3,:)=a(3,:)-5*a(1,:)
disp(a)
a(3,:)=a(3,:)+2*a(2,:)
disp(a)
disp('the four ... |
b16b63af7671880fb4afd88b280bf8718d18f793 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH10/EX10.16/10_16.sce | 6fc858dca2262ab3bc34425c8e5a328a353a727d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | 10_16.sce | //Problem 10.16:
//initializing the variables:
c = 0.25
mo = 0.35
w = 0.15
in = 0.25
ql = 0.05
co2 = 0.118
co = 13; // in ppm
o2 = 0.104
NHVc = 14000; // in Btu/lb
NHVmo = 25000; // in Btu/lb
NHVw = 0; // in Btu/lb
NHVin = -1000; // in Btu/lb
//calculation:
NHV = c*NHVc + w*NHVw + mo*NHVmo + in*NHVin... |
0252e420acef4d056d13ae74f99de759f1857cdf | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/expmatSym.sce | 139d5f0528104b5aa78a2c756046799110b028ef | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | expmatSym.sce | // Function Name: expmatSym
// Returns the Matrix exponential of the input matrix(symmetric/hermitian matrix).
// Calculating the expmatSym.
inputMat = [-1.2, 1, 1.9; -4, 2.6, 5; -2.3, 8, -7];
result = armaMatFunc("expmatSym",inputMat)
|
3d3b7b115c310a19adcb1b1168f5bec924dfee8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH28/EX28.1/28_1.sce | 3e6b05039319d6f1b42441e5184375fcce71c6c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | 28_1.sce | clear//
//Variables
L = 150.0 * 10**-6 //Inductance (in Henry)
C = 100.0 * 10**-12 //Capacitance (in Farad)
//Calculation
fo = 0.159 / (L * C)**0.5 //Resonant frequency (in Hertz)
//Result
printf("\n The resonant frequency is %0.1f MHz.",fo * 10**-6)
|
20e3bcd453a68f337620cb38a4ef119f0897aa16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH25/EX25.2/Example_25_2.sce | 5d7eae7be5a3a5b0b4b258152a1a4af170656aa4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,411 | sce | Example_25_2.sce | //clear//
clear;
clc;
//Example 25.2
//Solution
cbyc0 =0.05;
u0 = 58; //[cm/s]
Dv = 0.37; //[m^2/g]
c0 = 365; //[ppm]
S = 1194; //[m^2/g]
T = 25; //[C]
rho_b = 0.461; //[g/cm^3]
P = 737; //[mm Hg]
M = 74.12; //[g/mol]
eps = 0.457;
t = 1:0.5:8.5;
t(4) = 2.4; t(5) = 2.8; t(6) = 3.3;
cbyc0 =[0.005,0.01,... |
3637bc426fd9d19ccc170d0442057f3ccd8f9627 | 87bc77e7099940c476a849ac22f0c25912ab345e | /LA/Assignment2/Class_4.sce | 580ca1f82c91c971e631117db14e70294487427e | [] | no_license | Arindaam/Class-work | 8f4af9cc39301fe7231bfffe4b3e49842ddf3775 | c8ba9fa3981d8b352c227e2dede48e776c049d4c | refs/heads/master | 2021-06-26T09:55:33.884258 | 2021-06-22T15:51:51 | 2021-06-22T15:51:51 | 207,601,170 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | Class_4.sce | clc;clear;close;
n=3
disp("Enter matrix A")
for i=1:n
for j=1:n
a(i,j)=input("Enter")
end
end
disp('matrix is ')
disp(a)
a(2,:)=a(2,:)-(a(2,1)/a(1,1))*a(1,:)
a(3,:)=a(3,:)-(a(3,1)/a(1,1))*a(1,:)
disp(a)
a(3,:)=a(3,:)-(a(3,2)/a(2,2))*a(2,:)
disp(a)
a(1,:)=a(1,:)/a(1,1)
a(2,:)=a(2,:)/a(2,2... |
326824b805786f6b01b9d3702400808aeec9ce2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH3/EX3.10/3_10.sce | 1a7eb6c38d2b2d4932921e57edbd6e9cad7621b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | 3_10.sce | //Problem 3.10: A carbon resistor has a resistance of 1 kohms at 0°C. Determine its resistance at 80°C. Assume that the temperature coefficient of resistance for carbon at 0°C is 0.0005/°C
//initializing the variables:
R0 = 1000; // in ohms
T0 = 0; // in °C
T1 = 80; // in °C
a0 = -0.0005; // in per°C
pi = 3.14... |
acb4be71fc0a55c3c86eb370ef4ff90aeffd9d09 | 27be2dd7284eb8d71ea19e6b077993d7ff6afd16 | /ResolucaoRetroativa.sce | 95698afcf5f5425750d9ebfb97e33a470c3d026e | [] | no_license | mtxslv/numericalcomputation | 3b0ec7d1183c03c91c145de0fb1db9fff0a75e61 | 15ce639e5e370fb21fb1ce9878004270ee814e73 | refs/heads/master | 2020-03-26T06:10:14.116677 | 2019-11-14T11:41:38 | 2019-11-14T11:41:38 | 144,592,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | ResolucaoRetroativa.sce | /* Resolução Retroativo, por Mateus de Assis
Tal solução foi explicada e desenvolvida em sala de aula
Disciplina de Computação Numérica - ECT2401
*/
function x = ResRet(A,b) //resolução retroativa com matriz A e vetor independente b
[l,c] = size(A) //quantidade de linhas e colunas da matriz A
f... |
2ae169c270a89930665263c907786d8e6fed5c10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH2/EX2.21.a/EX2_21_A.sce | a11aeea5a9afba6d2751cae4e71e23a77084abe3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | EX2_21_A.sce | //EXAMPLE 2.21.A
clc;
x1=100;
x=integrate('3*t','t',0,x1);
disp(x);
disp('valid for t>=0');
|
4d19074353dc35a31099e49012e1f916e1c2daca | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH2/EX2.15/example2_15.sce | a5b26092879b1c70f428295d4290cffa63e4f323 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sce | example2_15.sce | //Chapter 2
//Example 2_15
//PAge 30
clear;clc;
fc=1e3;
ugpd=4e3;
cv=1e4;
n_alternator=0.96;
n_mech=0.95;
//specific fuel consumption
printf("(i)\t Specific fuel consumption = %.2f kg/kWh \n\n", fc/ugpd);
//overall efficiency
heat_per_day = fc*cv;
e=ugpd*860;
printf("\t\t Electrical output in heat units per day =%3... |
7917857848f76cabfbc43d9b9a0be1ab63e3a6d9 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/demos/svmtrain.dem.sce | 262a41d71d95b98a6cc878051563815a75cb379a | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | svmtrain.dem.sce | //
mode(-1);
lines(0);
// DEMO START
data_path = SCI+'/contrib/OpenPR-0.0.2/etc/data/heart_scale';
[label_vector, instance_vector] = readsparse(data_path);
model = svmtrain(label_vector, instance_vector, '-c 1 -g 0.07');
disp("svm model:")
disp(model)
// DEMO END
|
0d4a6bc2831aec1c78da4ce2ae4ac0104964496a | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/vehicle/data2.tst | 8ad3d0899b835096513ba35f897467e301527467 | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,175 | tst | data2.tst | 0.23913 0.461538 0.361111 0.218341 0.197802 0.0754717 0.215686 0.571429 0.166667 0.371429 0.2 0.153477 0.427673 0.184211 0.0909091 0.0731707 0.266667 0.233333 class2
0.521739 0.653846 0.944444 0.467249 0.197802 0.150943 0.666667 0.142857 0.583333 0.542857 0.536842 0.598321 0.685535 0.171053 0.318182 0.707317 0.4 0.5333... |
1a6b813ebedbb63231dc5a40e328ca39168cdda1 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peak2peak/peak2peak7.sce | dcd6d01257ffb9eb628b77d5ee1fe46691912742 | [] | 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 | 95 | sce | peak2peak7.sce | //check o/p when i/p is of type 'char'
a='character';
y=peak2peak(a);
disp(y);
//output
// 19.
|
71567c1e81b8e97a1d5ebce43be186268718c795 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.21/3_21.sce | e71659c2f5f019d6ec17654fc1c1d80fa6e2cd2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,272 | sce | 3_21.sce | clear;
clc;
Vr=132e3/sqrt(3);
P=50e6;
pf=.8;
Irm=P/(3*Vr)
pfa=-1* acos(pf);
Ir=complex(Irm *pf, Irm * sin(pfa));
A=complex(.98*cosd(3), .98*sind(3));
B=complex(110*cosd(75), 110*sind(75));
Vs=(A*Vr)+(B*Ir);
V=abs(Vs)
vs=V*sqrt(3)*1e-3;
mprintf("\n\n\n(a)\nSending End Voltage= %.1f kV", vs)
phi1=at... |
755ab0bfbd807a2bfa0e4050a552c2dc179918c2 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/99.tst | 5f0bb1ac4fa5e7c4df2d9a8c674072aee9d01729 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 44 | tst | 99.tst | int main(void)
{
int a, b;
a+++ ++b;
}
|
e2b91aa8370c77ea83a4dcc9133472d7193bb00d | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH13/EX13.4/ex13_4.sce | f342ef2e786cbedded128281782a6747e4ac9a4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | ex13_4.sce | clc
//Example 13.4
disp('Given')
disp('L1=0.4H L2=2.5H k=0.6 i1=4i2=20*cos(500t-20)mA')
L1=0.4;L2=2.5;k=0.6;
disp('a)')
t=0;
i2=5*cos(500*t-(20*%pi)/180)
printf("i2(0)=%3.2f mA \n",i2)
disp('b)')
M=k*sqrt(L1*L2)
//v1(t)=L1*d/dt(i1)+M*d/dt(i2)
v1=-L1*20*500*10^-3*sin(500*t-(20*%pi)/180)-M*5*500*10^-3*sin(500... |
d683a63855d082c46dc97f546ca1da80082d1921 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH8/EX8.4/Ex8_4.sce | d812e93921e086304c785acf0260e3d0db71e83e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Ex8_4.sce |
//
//areas
a1=2050,a2=8400,a3=16300,a4=24600,a5=31500,
h=5
printf("\n according to trapezoidal rule')
v1=(h/2)*(a1+a5+2*(a2+a3+a4))
printf("\n volume = %0.3f meter cube",v1)
printf("\n according to prismoidal rule')
v2=(h/3)*(a1+a5+4*(a2+a4)+2*(a3))
printf("\n volume = %0.3f meter cube",v2)
|
f6eaed503fb9914e039653c491382fde0bd9d0f4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/percent/%hm_imag.sci | f35f00f9c0e3f3e9e58fb70d31049f972e9c402d | [
"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 | 80 | sci | %hm_imag.sci | function M=%hm_imag(M)
// Copyright INRIA
M('entries')=imag(M('entries'))
|
465da7a6924d7d93f1bda73d92ed4bf60fdce34c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.28/exa_2_28.sce | 5a7d0ceca23bfd88b79cc95bc704e2cfa5c68043 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | exa_2_28.sce | // Exa 2.28
clc;
clear;
close;
// Given data
format('v',13)
Eg= 0.72;// in eV
Ef= Eg/2;//in eV
K= 8.61*10^-5;// in eV/K
T=300;//in K
nc= 1;
n= 1+%e^((Eg-Ef)/(K*T));
ncBYn= nc/n;
disp(ncBYn,"The fraction of the total number or electrons is : ")
|
48274568324f4cfb1a393392e3f88f1a9b400db8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH12/EX12.2/example2_sce.sce | f7f97675a4b6c465b07c38eb6f7dd81917ca6d41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | example2_sce.sce | //chapter 12
//example 12.2
//page 477
printf("\n")
printf("given")
Vcc=24;Ve=5;Vce=3;Rl=120*10^3;Vbe=.7
Rc=Rl/10
Vrc=Vcc-Vce-Ve
Ic=Vrc/Rc
Re=Ve/Ic//use 3.9Kohm standard value to make Ic littel less than design level
Re=3.9*10^3;
R2=10*Re
I2=(Ve+Vbe)/R2
R1=(Vcc-Ve-Vbe)/I2 |
409c142b8c409af074615f6dbcf01ae9a9c9c521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH25/EX25.15/Chapter25_example15.sce | ab70977feacf4389ede2727530e9d7cd1fea5f60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,037 | sce | Chapter25_example15.sce | clc
clear
//Input data
p1=1//Initial pressure in kg/cm^2
T1=15+273//Initial temperature in K
p2=5.5//Pressure after compression in kg/cm^2
T3=750+273//Temperature at the entrance of turbine in K
v=225//Speed in m/s
x=70//Percentage
in=75//Isentropic efficiency of compressor in percent
Cp=0.24//Specific heat a... |
9e8fa5f9f85849f90ba3c4aae2b809df734e760a | 1988df91caa448a35bbf274a6d2698fe434571b1 | /tst/eval/eval.tst | 348bb38857a83dd6bd27f425cfde71e8009cb748 | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 1,810 | tst | eval.tst | COMMENT | ************************************************************* |
COMMENT | * AUTHOR: Paolo Pecchiari |
COMMENT | * |
COMMENT | * SUBJECT: EVAL TEST |
COMMENT | * |
COMMENT | * GETFOL VERSION: September 1990 |
COMMENT | * |
COMMENT... |
325342e9868c33f3a25a505c0a4ee094109348b0 | eccaa6b239530be7f4ccad075be54d78cb83b844 | /netbsdsrc/usr.sbin/ipf/ipsend/iplang.tst | 9a8c35e99507d1b852e7e99354e22419e612429e | [] | no_license | yangzpag/CodeReader | 5b373bf9a9b262e8df675de2b0626532be39bee3 | 757e601163cd106cc63d922ebdd77ed4297ee4a1 | refs/heads/master | 2020-04-27T23:18:39.762135 | 2019-03-09T11:13:22 | 2019-03-09T11:13:22 | 174,770,342 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | tst | iplang.tst | #
interface { ifname le0; mtu 1500; }
ipv4 {
src 1.1.1.1; dst 2.2.2.2;
tcp {
seq 12345; ack 0; sport 9999; dport 23; flags S;
data { value "abcdef"; } ;
}
}
send { via 10.1.1.1; }
|
619aba5be1efb11c2c31c093f42c1a8c32d4686e | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /BFS.sci | 056059ed3cc84d9206af0357a716dce4a87eb0c8 | [] | 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 | 686 | sci | BFS.sci | function []= bfs()
r=10
c=10
a = grand(r,c,"uin",0,1)
a(1:(r+1):(r*r)) = 0
for(i=1:r)
for(j=1:c)
a(i,j) = a(j,i)
end
end
disp(a)
vis = 0
while(vis == r)
for (j = 1:r)
a1 =a(j,(1:$))
disp(a1)
l1= find(a1... |
8e86e9633e70ece2c953c816cbbcd4d0c7e8fadc | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH4/EX4.7/example4_7.sce | 9bb6529757b43efb2ac8fbb2171fd5a8a9f8c66c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example4_7.sce | disp("Part a");
v=120;
p=60;
r=18;
i=v/r;
disp("the initial inrush of current (in A) is"); disp(i);
disp("Part b");
i1=p/v;
disp("the steady operating current (in A) is"); disp(i1);
disp("Part c");
r1=v/i1;
disp("the hot resistance (in Ω) of the lamp is"); disp(r1); |
7d15dd3c8a06a3cbc41c1c1280dea607a9dd4c78 | 0ca6b89683e041d98bb8b1fa2c065fc34aeac5c9 | /PA_UTL/TEST/log.tst | fa3a78e7c9e37edeb2c9f3df090afa1c84fe3154 | [
"MIT"
] | permissive | FedericoLevis/PLSQLUtility | 3f5a4ab6436e5bedd359ad89b7358247fff215be | bdf84e1c7709603ac4a23a2b11389366cf14f335 | refs/heads/master | 2020-02-26T14:43:38.703473 | 2018-07-07T13:43:31 | 2018-07-07T13:43:31 | 63,603,679 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | tst | log.tst | PL/SQL Developer Test script 3.0
18
declare
t_time1 TIMESTAMP := CURRENT_TIMESTAMP;
t_time2 TIMESTAMP := CURRENT_TIMESTAMP - 0.000123;
v_result varchar2(120);
begin
-- Call the function
/*
v_result := sgm.pa_utl.time_get_vdiff(time1 => t_time1,
time2 => t_time2);
DBM... |
6b46ff7a0164da1af4d42e844f17b6589ad34b0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH8/EX8.3/Ex8_03.sce | 275124a9d2724329a25a7240c91f7611279e12db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | Ex8_03.sce | // Scilab Code Ex8.3: Page-285 (2014)
clc; clear;
delta_E = 2e-003; // Energy difference for the 3p subshell of sodium, eV
h = 6.62e-034; // Planck's constant, Js
e = 1.602e-019; // Energy equivalent of 1 eV, J
c = 3.00e+008; // Speed of light in vacuum, m/s
lambda = 589.3; // Wavelength of spectra... |
7c155eb385f03572dba28a8847de3db52baac3e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.43/Ex1_43.sce | f0d94720a1762fb8429718c0a12104af5fccd6f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | Ex1_43.sce | //Example 1_43
clc();
clear;
//To find the thickness of the soap film
lemda=7000 //units in angstroam
lemda=7000*10^-8 //units in cm
u=1.33
n=2
t=(((2*n)+1)*(lemda/2))/(2*u)
printf("Thickness of the soap film is %.8f cm",t)
|
c7da1578360470f8c71cf574dcf8cad52dba1217 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/signal/bilt.sci | d43596b064ef6e9d29ea1226e817c2aa321a63c6 | [
"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 | 2,079 | sci | bilt.sci | function [npl,nzr,ngn]=bilt(pl,zr,gn,num,den)
//[npl,nzr,ngn]=bilt(pl,zr,gn,num,den)
//macro for calculating the gain poles and zeros
//which result from a bilinear transform or from
//a biquadratic transform. Used by the macros iir
//and trans
//Note: ***This macro is not intended for general use***
// pl :input po... |
d80c0255b86acfab551a20682eeadd7ea072eb51 | 8b2aadfe2dd241d882213436738542d3f65f4e17 | /ModuleTonalitéSynthèse/Module Synthèse/Scilab/trompette.sci | f0c2bb2092d0d32b01679f9f32f92669e5664151 | [] | no_license | ahmed-bensaad/FMTM | c764c3162ac6f24f7caa2d0fd99725d4c458efc6 | 66fd7a477e3addb5a0c3a4d7489daa09fb9c5042 | refs/heads/master | 2021-09-02T11:04:05.660173 | 2017-02-06T21:54:09 | 2017-02-06T21:54:09 | 115,977,485 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | sci | trompette.sci | function [s]= trompette(fp,fm,Fe,d,m0) // fp -> hauteur, d-> durée, m0-> amplitude du sinus modulant
Te=1/Fe; // temps echantillonage
x=[0:Te:d]; //axe temps
m=[0:Te:d]; // amplitude constante au cours du temps
n=length(m);
for i=1:n
m(i)= m0;
end
f=[0:Te:d]; // frequ... |
baaabc86526273b720eac25ceaf6f845033ced29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.33/33.sce | 1a76dfc1cd6265a3d88bf7dbe45be61aa495e0be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | 33.sce | clc
// Given that
f = 4 // Focal length of telescope objective in m
d = 100 // Diameter of lens of telescope in inch
lambda = 5000 // mean wavelength of light in angstrom
// Sample Problem 33 on page no. 175
printf("\n # PROBLEM 33 # \n")
printf(" Standard formula used \n")
printf(" theta = 1.22*lambda/a \n... |
746df26d2298292fe8ddbf929118b109d365b78e | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/db.sci | 7b5f043522ddbc57c11c61c7a8ce646e1c7d33de | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,266 | sci | db.sci | function [dboutput] = db(X, SignalType, R)
//dboutput = db(X) converts the elements of the vector or matrix X to decibels (dB). The elements of X are voltage measurements across a resistance of 1 ohm.
//dboutput = db(X,SignalType) specifies the signal type represented by the elements of X as 'voltage' or 'power'. The... |
dabca39b32b461819bb724061ba25547489d11c4 | aaebbe73cc851ba9ed8a3493abedb739d122533a | /code/resource/scene/xuexiao/xx_zl_3.sce | 932f5dce904cf7e7e2c9d490f2ff3c87be2d74b1 | [] | no_license | coeux/lingyu-meisha-jp | 7bc1309bf8304a294f9a42d23b985879a28afbc0 | 11972819254b8567cda33d17ffc40b384019a936 | refs/heads/master | 2021-01-21T13:48:12.593930 | 2017-02-14T06:46:02 | 2017-02-14T06:46:02 | 81,812,311 | 1 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | xx_zl_3.sce | <?xml version="1.0" encoding="utf-8" ?>
<Scene>
<Sprite Translate="X:-853.000000 Y:0.000000 Z:0.000000" Scale="X:1.000000 Y:1.000000 Z:1.000000" FileName="bg01.jpg" ImageArea="L:0.000000 T:0.000000 R:853.000000 B:480.000000" ZOrder="-10000" Opacity="1.00" MoveSpeed="0.00" />
<Sprite Translate="X:-0.500000 Y:0.0... |
7d5d9de500f3a6fff27687541af483f63c3a0e4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH3/EX3.18/3_18.sce | ff32b619bdeefbcace3f0156716d91d86e693177 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,835 | sce | 3_18.sce | clear;
clc;
//Example - 3.18
//Page number - 112
printf("Example - 3.18 and Page number - 112\n\n");
//Given
T_1 = 300;//[K] - Temperature at entry
P_1 = 100;//[kPa] - Pressure at entry
P_2 = 900;//[kPa] - Pressure at exit
R = 8.314;//[J/mol*K] - Universal gas constant
// (a)
// Reversible adiabatic ... |
d1dbe8077330ec3a01cad8726fe21a5f0ea7d433 | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH3/EX3.1/Example_3_1.sce | 6b6b409ab07a4801cf6dfa4c5b744b6112e7a6d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | Example_3_1.sce | clc
clear
x=[3.2 2.7 1 4.8 5.6]
y=[22 17.8 14.2 38.3 51.7]
for i=1:1:5
X=[x(1,i) y(1,i)]
disp(X)
end
P31=(3-x(1,2))*(3-x(1,3))*(3-x(1,4))*(3-x(1,5))*y(1,1)/((x(1,1)-x(1,2))*(x(1,1)-x(1,3))*(x(1,1)-x(1,4))*(x(1,1)-x(1,5)));
P32=(3-x(1,1))*(3-x(1,3))*(3-x(1,4))*(3-x(1,5))*y(1,2)/((x(1,2)-x(1,1))*(x(1,2)-x(1,3... |
146bcfa6f2394325053a79d9705098d63510537b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.35/Ex_1_35.sce | c5c7488f3685e58d0230c5cd0a9984a6e7cbf5fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Ex_1_35.sce | //Example 1_35
clc;
clear;close;
//Given data:
Vdc=100;//V
L=0.1*10^-3;//H
C=10*10^-6;//F
Vc=100;//V
t_off_thyristor=25*10^-6;//s
IL=10;//A
t_off=Vc*C/IL;//s
disp("T_off is "+string(t_off)+" seconds. It is greater than thristor turn off time, so it is sufficient for communication.")
Ip=Vdc*sqrt(C/L);//A
... |
7bba8886753229da875ce73677740d15f1e12ead | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.8/ex_8.sce | 44ac39cef6082f3ab47fcfd8d051c8f7350491fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_8.sce | // The equation x^3-17==0 has three real roots.
// the graph of this function can be observed here.
xset('window',7);
x=-5:.001:5; // defining the range of x.
deff('[y... |
8e85e42d363076ea01c6d126cabb9b3236c65006 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH13/EX13.9/Ex13_9.sce | e055b2e3087112d2824330522c596c7e3e7fd5d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | Ex13_9.sce | //Variable declaration:
h_out = 390.0 //Enthalpy of the fluid that exits from the evaporator (kJ/kg)
h_in = 230.0 //Enthalpy of the fluid that enters the unit (kJ/kg)
//Calculation:
QC = h_out - h_in //Heat absorbed by the evaporator (kJ/kg)
//Result:
printf("The hea... |
bafc4e9173785e87c8d3a6a0ab6bf07768affced | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH2/EX2.18/ex2_18.sce | 910cb3071e1d2b29a8c4573631c97d4400526b54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex2_18.sce |
//Exa:2.18
clc;
clear;
close;
//Given:
Pt=100;//in Watts
m=0.25;//depth
Pmax=100//maximum power transmission capable
Pc=Pt/(1+(m^2)/2);
printf("\n\n\t carrier power = %f W ",Pc);
printf("\n\n\t sidebands have the remaining %f W ",Pmax-Pc); |
448792f5b6dbb768ff4fceaa384df3b7112904eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH4/EX4.18/example418.sce | 48956834ac58e7d5e4c5618cfa0dfa00ac0d7bb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | example418.sce | //Example 4.18
clc;
syms s;
I=(2*s+3)/((s+1)*(s+3));
i=ilaplace(I);
io=limit(i,t,0);
disp(io,'INITIAL VALUE OF i(t)'); |
bc51918404050ae8c4b84fdde66aa955260a0d9a | a3f5b45d29e397db1fc6800b4336dd9f85e4e07d | /projects/software_stack/vm/MemoryAccess/PushNTest/PushNTest.tst | 172c17c351f3f55280de44d9b9f1562a4bbf4059 | [] | no_license | idrisr/nand2tetris | 1f5e4ac469489f415e70ee626fa592a9e5730d78 | b491e96ce9fc54cccf8aea07214c95cb4ffaa4f5 | refs/heads/master | 2016-09-06T03:17:26.716980 | 2015-01-03T01:59:22 | 2015-01-03T01:59:22 | 27,518,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | tst | PushNTest.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/07/MemoryAccess/PushNTest/PushNTest.tst
load PushNTest.asm,
// load PushNTestManual.asm,
output-file PushNTest.out,
compare-to PushNTest.cmp,
// SP ... |
e49676287bed683d9b4e5c4ae8b8ddb5888d48c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH2/EX2.3a/Exa_2_3a.sce | 1cf640075dd34e7ea23fe62916655ce53109a7c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | Exa_2_3a.sce | //example 2.3a pg.no.14
clear;clc;close;
n=-2:2;
x1=[4 -2 4 -6 0];
x2=0.5*x1//x[n]
x3=0.5*[x1(length(x1):-1:1)];//x[-n]
xe=(x2+x3);//even part
xo=(x2-x3);//odd part
a=gca();
a.thickness=2;
a.x_location="middle";
a.y_location="middle";
plot2d3('gnn',n,xe,rect=[-4 -6 4 6])
xtitle('graphical representation of even part of... |
ffe1719ad58f1dda961d0a8744ec03ce44b66d52 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testarrondis.sce | 9beaf7e8449040b89e86f2a05e4206665eb389f8 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | testarrondis.sce | floor(1.3),ceil(1.3),round(1.3),int(1.3)
floor(-1.3),ceil(-1.3),round(-1.3),int(-1.3)
floor(1.6),ceil(1.6),round(1.6),int(1.6)
floor(-1.6),ceil(-1.6),round(-1.6),int(-1.6)
// compute the quotient of a euclidean division by rounding
floor(10/6) // quotient
10-6*floor(10/6) // remainder
pmodulo(10,6) // r... |
3e3d5f24447791eb4eca04fd9bca78c1b6c0de3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH1/EX1.2/1_2.sce | 075a15630dd09f6e54bdd25a66b6b2b42daadd80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | 1_2.sce | clc;
clear;
g=9.8;//m/s^2; acceleration due to gravity
m=68.1;//kg
c=12.5;//kg/sec; drag coefficient
count=2;
v(1)=0;
disp(v(1),"v(m/s)=",0,"Time(s)=")
for i=2:2:12
v(count)=v(count-1)+(g-c*v(count-1)/m)*(2);
disp(v(count),"v(m/s)=",i,"Time(s)=")
count=count+1;
end
disp(g*m/c,"v(m/s)=","infinity","Time(s)="... |
4eeb31f19168ed59b0b20cb157240eda15b4ba32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH2/EX2.22/2_22.sce | 3a35c0be282d74eae2d285f17738c972026a8dcb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 998 | sce | 2_22.sce | clear; clc; close;
f = 1000;
T = 1/f;
C = 0.1*10^(-6);
R = 100*10^(3);
//between t1-->t2
vo_1 = 5;
Vc = 25;
//between t2-->t3
Rth = 0;
Eth = 5;
vo_2 =35;
tau = R*C;
discharge_time = 5*tau;
//between t3-->t4
vo_3 = 5;
disp(vo_1,'output voltage during t1-->t2 : ');
disp(vo_2,'output voltage during t2... |
eccd93489e1556169378579114055629addb0fa3 | d7add921d951d502b6b43dfb2541ce6e27f2a2f9 | /time_frequency_tool_test.sce | 3eed5c6ccff09dfbcd162ad1dc0883c76b99e598 | [] | no_license | YugoOsano/dataanalysis | a6bff1ed918b04922de3278ecc808efa44b7e5ac | ba8f3309c970fe0dda21ca295fdfbf04a3d97c1b | refs/heads/master | 2020-04-05T23:29:58.158349 | 2014-01-18T01:54:44 | 2014-01-18T01:54:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,306 | sce | time_frequency_tool_test.sce | //-- To change the default directory,
// create scilab.ini file at C:\Users\USER\Documents
// with a statement such as:
// chdir "C:\yugo\statistics"
//-- To execute a script file like this, type:
// exec("time_frequency_tool_test.sce")
// in console or press Ctrl+L on Scinotes
//--- To make the graph wind... |
b55546cacf6b4ef98fa82d7c47be7f7a8ebde3d8 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/XG57FZY/ATWM1_Working_Memory_MEG_XG57FZY_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 1d1fe5c4b1c07dd2364f3fbf7c0d5b5b6cd35986 | [] | 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... |
793e1199a0fbde2bb4c6a4d1aa5a42fe8374a2b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH7/EX7.5/example7_5.sce | 981db8e7fdbfe10a0d67f5fdd532e4cded53a198 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 757 | sce | example7_5.sce | clear;
clc;
//Example7.5[Heat Loss from a Steam Pipe in Windy Air]
d=0.1//diameter of pipe[m]
Ts=110;//Temp of ecternal surface of pipe[degree Celcius]
Ta=10;//Temp of air[degree Celcius]
va=8;//Velocity of air[m/s]
Tf=(Ts+Ta)/2;//Film temperature[degree Celcius]
k=0.02808;//[W/m.degree Celcius]
Pr=0.7202;//... |
fbc889283661918fa1ef56192b4e6bc343389224 | 28f88c035b368ddbe3efd8f5dbf48f01496d1ad0 | /lab2/Mul16.tst | b38ed5d75acaacb65794e5a124e03b31ded77823 | [] | no_license | sandeepkasimalla/Computer_System_Design_CS4110 | 46c06acd04c7b0477ff37b76d127c15f005feb9b | 79d89db0b19f18b9a337fd8e18926114959c5323 | refs/heads/master | 2020-07-11T22:45:14.966087 | 2019-11-21T18:46:33 | 2019-11-21T18:46:33 | 204,659,866 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | tst | Mul16.tst | load Mul16.hdl,
output-file Mul16.out,
compare-to Mul16.cmp,
output-list ip1%B1.16.1 ip2%B1.16.1 out%B1.16.1;
set ip1 %B0000000000000010,
set ip2 %B1111111111111101,
eval,
output;
set ip1 %B1111111111111101,
set ip2 %B1111111111111100,
eval,
output;
set ip1 %B0000000000000011,
set ip2 %B0000000000000... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.