blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
231ec60a41b829a395c4c1d2d26d6ca367d54c6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.17/Ex4_17.sce | 1cafb3d282cdbc9ea997028d4a6dd13b9e747a5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | Ex4_17.sce |
//write the time equation for voltage and current
Vrms=150
Vm=2*1.414*Vrms
f=50
L=0.2
X=2*3.14*f*L
Im=Vm/X
disp('current equation i=212.132sin(314)t' , 'voltage equation v=3.376sin(314t-90)' , ' Im= '+string(Im)+ ' ')
|
101944645f97ad0808044c2309f6f0c3e0b7da41 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/metanet/show_nodes.sci | 908c488a47a3428a7a40e04c991689b50eaa6076 | [
"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 | show_nodes.sci | function show_nodes(ns,sup)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then
sup='pas de sup'
else
if rhs<>2 then error(39), end
end
// ns
s=size(ns)
if s(1)*s(2) == 0 then return end
if s(1)<>1 then
error('First argument must be a row vector')
end
// sup
if type(sup)<>10|prod(size(sup))<>1 then
error('Seco... |
0c4a0943c2f4066612dc2eca6d661fe60a13309e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH12/EX12.7/Ex12_7.sce | a38c6e1f001aa1974b80f376a05d5a93f00edd26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_7.sce |
clc
//initialisation of variables
p=200//ft
p1=30//psia
p2=90//psia
t1=62//f
t2=68//F
t3=20//f
t4=30//F
t5=140//F
w=250//Btu
s=42.4//ft
h=42.8//tons
h1=82.15//ft
h2=96.69//hp
h3=95.08//ft
h4=22.03//ft
h5=23.42//ft
h6=80.73//ft
//CALCULATIONS
W=(h*p)/(h6-h5)//lb per min
J=W*(h2-h1)+w//Btu per min
... |
f8d33311677c4b99f6884c3e636ce3c7a1b49d47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH10/EX10.2/10_2.sce | f89a948db7b99903fd576e1c975c9c58ba3b08f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | 10_2.sce | //chapter 10
//example 10.2
//page 290
clear all;
clc ;
//given
gm=3;//in mA/V
Rd=2.7;//in Kohm
Rs=1;
Rl=10;
rd=100;//in Kohm
Av=-gm*Rd/(1+gm*Rs);
Rp=1/rd+1/Rd+1/Rl
Av1=-gm*(1/Rp);
printf('\nAv=%d for unbypassed series resistor and \nAv=%.1f for bypassed resistor with load resistor',Av,Av1)
|
9a1e9b9ea208ffee81ee2484bf8bc18ef43c9862 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH16/EX16.2/Ex16_2.sce | 58e3730a859bbbafddb1e4a9a52975bca653f874 | [] | 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 | 146 | sce | Ex16_2.sce | //Example 16.2
clc;
syms z n;
x1=(2^n);
x2=(3^n);
X1=symsum(x1*(z^-n),n,0,%inf);
X2=symsum(x2*(z^-n),n,-%inf,0);
X=X1+X2;
disp(X,"ans=")
|
8776d6ca3dfa4b5be859027bbf4d98309697c9a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.16/ex4_16.sce | 9226e13dff47b88c1f68ad92747eb6928f8f66db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | ex4_16.sce | //Example 4.16
clc
//use of printf function
i=2.0; //floating -point number
j=3.0; //floating -point number
printf("%f %f %f %f" ,i ,j,i+j, sqrt(i+j));
|
f3f75751338a6fc051b30dc8eae24ffa78e068f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH6/EX6.1/Ex6_1.sce | b8fa4fa12e98add56ad3c155a7068dd0ceab052c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | Ex6_1.sce | // Example 6_1
clc;funcprot(0);
// Given data
V=300;// ft/s
D=6/12;// ft
R=D/2;// ft
Z=15;// ft
g=32.174;// ft/s^2
g_c=32.174;// lbm.ft/lbf.s^2
// Calculation
// From the superheated steam table, Table C.3a in Thermodynamic Tables to accompany Modern Engineering Thermodynamics, we find that, at 100. psia an... |
156352f196338c3abc2af2cd648f075eef66cd7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH6/EX6.6/Exa6_6.sce | e447fb4608579a1d29d799c3ec4345aa4e499040 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | Exa6_6.sce | // Exa 6.6
clc;
clear;
close;
// given data
AF=5;//unitless
fc=1;//in KHz
disp("To have a roll off rate of 40dB/decade a second order filter is requied.");
disp("For flattest passband, butterworth type filter has to be used, hence alfa=1.414");
alfa=1.414;//unitless
// assume C2=0.1 uF
C2=0.1;//in uF
C3=(C... |
df74300c5043a34c471cbed9a9076e6d1353671a | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.49/Ch1_1_49.sce | e8cac0e164d10ba1e66f4403536fd4438c9d4ec6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | Ch1_1_49.sce | clc
disp("Example 1.49")
printf("\n")
disp("find the maximum forward current at 25c and 80c")
printf("Given\n")
T1=25 //to find maximum forward current at this temperature
T2=80 //to find maximum forward current at this temperature
VT1=0.65 //forward voltage drop(constant at all tem... |
c93add3e9cdd02cb8655d50e9b540c674defb767 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH4/EX4.2/4_2.sce | 971597f3c086043b288abc0c481c6ab2552fb514 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | 4_2.sce | clear;
clc;
close;
disp("Example 4.2")
m=50 //mass flow rate in kg/s
ec=0.9 //compressore polytropic efficiency
Tt2=288 //inlet total temp in K.
pt2=100000 // inlet total pressure in Pa
gm=1.4 //gama
cp=1004 //specific heat in J/kg.K
p=35 //total pressure ratio
tr=p^((gm-1)/(gm*ec)) //relation between total ... |
786e4578870ecb74335361e346cf6ae283771d8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH18/EX18.16/example18_16.sce | 6b0ed772f47ff4bdacc3fcc84ebb1a6eb355fcf6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | example18_16.sce | //Chapter 18
//Example 18_16
//Page 450
clear;clc;
kv=11;
mva=25;
X0=%i*0.05;
X1=%i*0.2;
X2=%i*0.2;
Xn=%i*0.3;
Er=1;
pu_xn=Xn*mva*1000/kv^2/1000;
I0=Er/(X0+X1+X2+3*pu_xn);
I1=I0;
I2=I0;
Ir=3*I0;
fc=mva*1e6/sqrt(3)/kv/1000*abs(Ir);
printf("Per unit value of Xn = %.4f p.u \n\n", imag(pu_xn));
printf("I1=I2=I0=j(%.3f)... |
2891fc0ad1ad95a52f017422c0f3cb1c765c2c99 | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/old_files/Proba_AP3.sce | 68c66b28cab25faae2d010d0619be423b23cd0df | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 922 | sce | Proba_AP3.sce | clear;
lines(0);
np=100;
q=3;
msig = 10; // номер строки, отвечающая нужной нам плотности прививки, с которой мы будем считывать
j=0;
w=190
s0 = '../n=' + string(np) + '/m=' + string(w) + '/zav_q/' ;
s = s0 + 'zav_q=' + string(q) + '_' +'np=' + string(np) + '.dat';
s1 = '../n=' + string(np) + '/Re... |
38e8fbe46cd008e10a8bb6879651fbf329960fcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH4/EX4.3.b/4_3_soln.sce | 568a0d007681665da698fc7e77ef45878f6bde3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | 4_3_soln.sce | clc;
pathname=get_absolute_file_path('4_3_soln.sce')
filename=pathname+filesep()+'4_3_data.sci'
exec(filename)
// Solution:
// acceleration due to gravity,
g=32.2; //ft/s^2
// Reynolds Number,
N_R=(7740*v*D)/nu;
// Head loss in pipe,
H_L=round((64*L*(v^2))/(N_R*(D/12)*2*g)); //ft ,Hagen-Poiseuille Equation
// Head los... |
9b98fb09d1b214a3468e9d95731bdb0f41f23b3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH2/EX2.4/4.sce | 341064f2f4c46e7ed3129e3bc004d27a76528246 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4.sce | clc
Vacuum_recorded=740; //mm of Hg
Barometric_reading=760; //mm of Hg
Absolute_pressure=(Barometric_reading-Vacuum_recorded)*133.4;
disp("Absolute pressure in the condenser=")
disp(Absolute_pressure)
disp("Pa") |
68e8980b8e0e9d8ca8455d8d99e8a4129dc29e05 | 36e294af022143c4ad0adaf1a40183c8114cb39a | /Scripts/Calculate_Compress_Factor.sce | b1d39e728ad8b70c0dbc180313d078dab67799c6 | [] | no_license | pflynn/Spectrum_analysis | d6388a46f686912a4d4a543f18b2a49063374506 | eb31f3349fdf4f16227b25782d40937b126b297e | refs/heads/master | 2016-09-05T17:10:44.896865 | 2011-06-27T15:01:20 | 2011-06-27T15:01:20 | 1,960,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | Calculate_Compress_Factor.sce | // calculates a compress factor to give the desired detail in the waterfall graph
compress_factor = 1;
while(((end_sample - (start_sample-1))/compress_factor) > 336 | (((end_sample - (start_sample-1))/compress_factor)) ~= int(((end_sample - (start_sample-1))/compress_factor)))
compress_factor = comp... |
0c7e66debcbe120341df2dd286c953d5db3a1da7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/xdess/titlepage.sci | ab077590c602fd129a011cbe2bfe57a2e2079858 | [
"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 | 420 | sci | titlepage.sci | function titlepage(str,win)
//titlepage(str) genere une page de titres graphiques contenant la ma-
//trice de chaines de caracteres str ecrite centree dans la page avec
//une taille de caractere maximale.
//!
//origine S Steer INRIA 1989
// Copyright INRIA
[lhs,rhs]=argn(0)
old=xget('window')
if rhs==2 then xset('wind... |
e0904473636ade3341c339523c35863dee86421f | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH29/EX29.2/example29_2.sce | 362c99d54edabab3744cb355a6e4f298c014a454 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | example29_2.sce | ie=6;
ib=120*10^(-3);
ic=ie-ib;
alpha=ic/ie;
disp("the alpha of the transistor is"); disp(alpha); |
e9558332d301723297bc9a5af37de2e077b9fb34 | cbf88f74cd1da81e1bb463bf8080ffa475ddda50 | /Connect-Four-master/Connect-Four-master/tree.tst | 047f29b513dadab3c437dc258a427ea08c6c206d | [
"MIT"
] | permissive | eamonn-keogh/CoderDojo2019-ConnectFour | 46a8ab721e8e30743296de776d9837c80ee53efc | 2de269ef211e98dfd44e8d8a46a52c1a374cb712 | refs/heads/master | 2020-05-18T12:15:42.368590 | 2019-05-02T14:01:48 | 2019-05-02T14:01:48 | 184,402,977 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,159,068 | tst | tree.tst | --------------------ROOT NODE @ Position (0, 2) ------------
--------------------START TREE ------------------------
Node number 0 Position 0,2 scored 48.
BoardState[
---------------------
|O||O||O||O||O||O||O|
---------------------
|O||O||O||O||R||R||O|
---------------------
|O||O||O||R||R||R||O|
---------------------... |
bef9dd6e60b9df411acaf5285ebf6a461daca39e | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/218.sci | d75a99a0699403466270d1a397d38cf1d4df2871 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 47 | sci | 218.sci | h=20//inches
S=1.9//Specific gravity of liquid |
a91b72871af8b25e729889b715935230f6093db7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH14/EX14.17/14_17.sce | 8b15501e908a9af4e377fb78c60ac44fca81bd31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sce | 14_17.sce | f=50
w=2*%pi*f
Z2=1000
Z3=16800
C=0.38E-6
Xc=1/%i/w/C
Z4=833+Xc
Z1=Z2*Z3/Z4
Rx=real(Z1)
Lx=imag(Z1)/w
disp(Rx)
disp(Lx)
|
f40ef52db2854fb2ff1403b08c4688ea66fb875b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.20/Ex5_20.sce | 39341a523fecbde21ffb895348117b695fbeae3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | Ex5_20.sce | // Scilab Code Ex5.20: Page-294 (2008)
clc; clear;
h = 6.62e-034; // Planck's constant, Js
m = 9.11e-031; // Rest mass of a electron, kg
delta_x = 1e-009; // Minimum uncertainty in position of the electron, m
delta_p_min = h/delta_x; // Minimum uncertainty in electron's momentum, kg-m/s
delta_v = delt... |
70731d02b89ecfa1859517957e85597ced67b8ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.16.b/EX3_16_B.sce | 1092d7803a3a9a8d11e82b79f7d43a067ee1396b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sce | EX3_16_B.sce | //Example 3.16.B
clc;
syms s;
I=(8*(s^(2)))/((s+2)*(s+1)^(3));
i=ilaplace(I);
disp(i);
|
e7d8f2f58908ade8826149b5268f337fe1f7e1f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH4/EX4.1/Ex4_1.sce | cc43c5926530fa0a67973e47747281e9c9953fdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 741 | sce | Ex4_1.sce | clear
//
//Given
//Variable declaration
P=60*10**3 //Load in N
d=4*10 //diameter in mm
L=5*10**3 //Length of rod in mm
E=2e5 //Youngs Modulus in N/sq.mm
//Calculation
A=(%pi/4)*d**2 //Area in sq.mm
V=int(A*L) //Volume of rod in cubic.mm
//case (ii):stress in the rod
... |
13990b0729e8aa686d9ef33f4ed9adc02a5989f7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/examples/addinter-examples/Testc.sce | a33d66a54b50e940ed0617bf68f6082ab92c1b93 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 457 | sce | Testc.sce | host("make /tmp/Testc.o"); //Interface
host("make /tmp/testcc.o"); //Called routines
scifuncs=['funcc1','funcc2','funcc3','funcc4','funcc5']; //Scilab functions
addinter(['/tmp/Testc.o','/tmp/testcc.o'],'testcentry',scifuncs)
//matrix (double) created by C function
funcc1()
//matrix (int) created by C function
func... |
519c3e2c0de2d5af479361042ad973aef7e97703 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH7/EX7.6/Ex7_6.sce | f16ea9d62b04c9cf0c450f085febf5be08acce5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | Ex7_6.sce | //==============================================================================
// chapter 7 example 6
clc;
clear;
// Variable declaration
I1 = 20; // current in ma
V1 = 0.8; // vtg in volts
V2 = 0.7; // vtg in volts
I2 = 10; // current in ma
v3 = -10;
I3 = -1*... |
40a76b81ed5a07ad6bfd1d25065449f45efc44e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH12/EX12.4b/eg12_4b.sce | 9b511409299478391c5ea0ad4c98c9d69b35a8e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | eg12_4b.sce | function result= prob(N, M, K)
if(N==1 & M==0)
if(K >0)
result = 1;
else
result =0;
end
elseif (N==0 & M==1)
if(K <0)
result = 0;
else
result =1;
... |
c5f69f29f56d722b861e3ea4ed3aa5165a474877 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH4/EX4.11/Ex4_11.sce | 7885868b968c7e1f2b1bc2e1c7535cc55d0d8477 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | Ex4_11.sce | //Example 4_11
clc();
clear;
//To calculate where the radius of the atom is present
a=4/sqrt(2)
R=a/2-1
printf("The radius of the atom is at R=%.3fr",R)
|
0e548d0ab13de80ed3f817398e5db95c580b2a50 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/xnumb.man.tst | ba17cca944f07403ae03c149d4f3afc5962b66d8 | [
"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 | 107 | tst | xnumb.man.tst | clear;lines(0);
plot2d([-100,500],[-100,600],[-1,-1],"022")
x=0:100:200;
xnumb(x,500*ones(x),[10,20,35],1)
|
fe35e013151638c2d7b23a041e1ff3465ab1b6c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH22/EX4.5.4/U4_C5_4.sce | 229b76c22d48202cd0b3f028b823032c755a7206 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | U4_C5_4.sce | //variable initialization
z1=29 //atomic no. of Copper
z2=26 //atomic no. of Iron
lembda1=193 //wavel... |
40092198c96e56a6a96c87918e32642a00a7e1f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH27/EX27.12/Ex27_12.sce | 09d7cef6e038afe2d1a99c61ce2c5242ec001648 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex27_12.sce | clear
//Given
B=49
Ie=12 //mA
Ib=240 //microA
//Calculation
A=(B/1+B)*10**-2
Ic=A*Ie
Ic1=B*Ib
//Result
printf("\n The value of Ic using A is %0.3f mA",Ic)
printf("\n The value of Ic using B is %0.3f mA",Ic1*10**-3)
|
ce5665c2348a8f9a948b8b1bc9d4fbc7413fd89e | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH14/EX14.4/14_4.sce | 3bfe02da4d8b57cb444b743209a651f322e8acc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | 14_4.sce | clc;
clear;
function z=f(x,y)
z=2*x*y + 2*x - x^2 - 2*y^2
endfunction
x=-1;
y=1;
d2fx=-2;
d2fy=-4;
d2fxy=2;
modH=d2fx*d2fy-(d2fxy)^2;
for i=1:25
dfx=2*y+2-2*x;
dfy=2*x - 4*y;
//the function can thus be expressed along h axis as
//f((x+dfx*h),(y+dfy*h))
function d=g(h)
d=2*(x+dfx*h)*(y+dfy*h... |
a60afb79673563a42eef566d7cf1c47b6b82ca8e | f923b20e7ff77ae781b4bf10c6a0d45045c3f0c8 | /src/Cued_BOSS_practice.sce | 86781067d452aaa0c0467cda919078f3e87c30f6 | [
"MIT"
] | permissive | DouweHorsthuis/Active-and-passive-inhibition-experiment-Cued-BOSS | da5d4755183303c45f0fc88dd25f6a966f3aa620 | 69d061e57b134e3c368a62d42e0c21f6bd6906e0 | refs/heads/main | 2023-04-18T06:49:53.981361 | 2022-01-11T16:41:24 | 2022-01-11T16:41:24 | 353,371,828 | 1 | 3 | MIT | 2021-04-22T14:49:09 | 2021-03-31T13:45:56 | Scilab | UTF-8 | Scilab | false | false | 13,930 | sce | Cued_BOSS_practice.sce | scenario = "Cued_BOSS_1";
scenario_type = trials;
active_buttons = 1; # left mouse button
default_background_color = 100,100,100;
pulse_width = 10; #should be >5 so we don't miss triggers by mistake
response_matching = simple_matching; #so we can have hit/miss/fa resp
write_codes = true; #Send and Register Codes
pcl_... |
d2e34d00d466718e80c0b78b2ddfe04a57f094b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH2/EX2.19/example2_19.sce | 010e0d885a86831bd73d947511e45478623db7fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | example2_19.sce | clear;
clc;
// Stoichiometry
// Chapter 2
// Basic Chemical Calculations
// Example 2.19
// Page 27
printf("Example 2.19, Page 27 \n \n");
// solution
m1 = 100 //[kg] TEA solution (basis)
m2 = 50 //[kg] TEA
M1 = 149 // molar mass of TEA
d = 1.05 //[kg/l]
V = m1/d // volume of 100 kg sol.
n = (m2... |
2d718ec5e62ba8d228cf4c191985f90ed792ff9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH6/EX6.24/Ex6_24.sce | a90cb14c994320bfa62fc445e368e588ef0a0f0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | Ex6_24.sce | clear
//
//
//
//Variable declaration
h=6.6*10^-34; //planck's constant(J-sec)
m=9*10^-31; //mass of electron(kg)
deltax_max=10*10^-10; //length of box(m)
//Calculations
deltavx_min=h/(deltax_max*m); //minimum uncertainity in velocity of electron(m/s)
//Result
printf("\n minimum... |
c266ddd32801b987bf78013d45d518e17cd60308 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH1/EX1.19.a/EX1_19.sce | 770e948f4f6b5e55aad21a89e9062e8ad0338f06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | EX1_19.sce | //Example 1.19.1
//whether the signal is energy signal or power signal
clc ;
t =0:0.001:10;
y= exp (-10*t);
E= integrate ( ' ( exp(-10*t)) ^2 ' , ' t ' ,0 ,2* %pi );
disp (E, ' Energy o f the s i g n a l i s ' );
disp ( 'since the energy is finite hence it is energy signal');
figure
plot(t,y,'red');
xtit... |
41d710c3cf11546b920cfe9ae55179dc91fd0e0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH1/EX1.30/Ex1_30.sce | 9afac61f6210e7fed6ddac25e0abe06da2f1f25d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,050 | sce | Ex1_30.sce | clear
//
//
//Given
//Variable declaration
Ds=20 //Diameter of steel rod in mm
Di_c=40 //Internal diameter of copper tube in mm
De_c=50 //External diameter of copper tube in mm
Es=200*10**3 //Youngs modulus of steel in N/sq.mm
Ec=100*10**3 //Youngs modulus of copper i... |
bae27d650884e2ac8c52aa385436efe0b6b2c94e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH1/EX1.18/ex_1_18.sce | 1d5e938f0dcbb431fcb517c844556db34160f0b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | ex_1_18.sce | //Example 1.18 // wavvelength of light
clc;
//given data :
b=.5D-2;//distace between succesive fringes in m
u=1.4;//refractive index of cellophane
a=10;//angle of wedge in sec
a=a*%pi/(60*60*180);//to convert in radian
w=2*u*a*b;
w=w*1D10;//to convert in A
disp(w,"wavelength of light used in A")
//note: Pi ... |
47f6571fe64aaa231e34122e22a962928ddcd1cc | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/GetNoteIndexCoefficients.sci | 196b1331dcaa2c95d1b8c293c49c1e09656df5e2 | [] | 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 | 2,516 | sci | GetNoteIndexCoefficients.sci | function [b, a] = GetNoteIndexCoefficients(noteIndex)
//function [b, a] = GetLetterCoefficients(noteIndex)
//gets the bandpass filter values for the letter
//noteIndex should go from 0 to 11, where 0 is e and 11 is d#
//-1 will be D# as well, 12 corresponds to the higher e
select noteIndex
case -1 then /... |
d1214dadd421861f4fa36fc8512a6832a8299605 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH6/EX6.1/6_1.sce | 50b6401ae2f2e9d2eaf56124ffe0f7267bdd56f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | 6_1.sce | clc
//initialisation of variables
clear
m= 5.313*10^-23 //g
k= 1.38*10^-16
T= 298 //K
R= 82.06 //ml-atm /mol K
h= 6.624*10^-27 //J /mol
//CALCULATIONS
Qt= (2*%pi*m*k*T)^1.5*R*T/h^3
//RESULTS
printf ('Qt = %.2e ',Qt)
|
38d2df39ddd7cfd073fa1bf2e34820cd863eb136 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH4/EX4.a.5/Example_a_4_5.sce | a927701e35bfa02aa0fb64c404e5320c21002b70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_a_4_5.sce | //Example_a_4_5 page no:177
clc;
Vrms=sqrt(5^2+(5^2/2));//the values are taken by comparing the given equation with rms equation
disp(Vrms,"the rms value of the waveform is");
|
26e3159441292542d53288691faca039c64566ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH4/EX4.14/4_14.sce | 0bf84be3340a38dfe4bd41c25408fa0c896073ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | sce | 4_14.sce | clc,clear
printf('Example 4.14\n\n')
Ns=250 //Speed in rpm
f=50 //frequency
I_l=100
Slots=216
Conductors_per_slot=5
Pole=120*f/Ns
phi=30*10^-3//flux per pole in weber
Z=Slots*Conductors_per_slot //Total Conductors
Z_ph=Z/3 //conductors per phase
T_ph=Z_ph/2 //turns per phase
n=Slots/Pole //slots per pole... |
7b814c7cade2e4c2a5349e315d0793a0e8c97cc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH5/EX5.4/Exa_5_4.sce | c04a7543ac6562d4ba02832659fb39615e6e9260 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | Exa_5_4.sce | //DTfT of periodic signals
x=[3 2 1 2];//one period of signal
n=0:3;
k=0:3;
x1=x*exp(%i*n'*2*k*%pi/4)
dtftx=abs(x1)
x=[3 2 1 2 3 2 1 2 3];
n=-4:4;
a=gca();
a.y_location="origin";
a.x_location="origin";
plot2d3('gnn',n,x);
xtitle('discrete periodic time signal');
x2=[dtftx dtftx 8];
a=gca();
xset('window'... |
10f3474820b9fb8381f581c4e8cf0b31e07645c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH1/EX1.1/Ex1_1.sce | 826a3efe2642d0bb1b878756cdf1fd6d5329f65e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | Ex1_1.sce |
//Example1-1
//Given
clc;
clear all;
printf("(i) t1=d/c \n");
printf(" (ii) t2=[(d-5)/c]+[5/v2] \n");
printf(" v2=c/n2 \n");
printf(" t2=(d+2.5)/c\n");
printf(" (iii) delta_t=t2-t1=(d+2.5-d)/c\n");
c=3*10^8; //Speed of light in m/s
delta_t=2.5*10^-2/c; //convert... |
69fe86e2baf0f197e2687b848b28e0728bf98d98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH3/EX3.23/Exa3_23.sce | 16ff2d0fb9bd8777a2cc4c2d747cf3f19629562b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Exa3_23.sce | //Exa3.23
clc;
clear;
close;
// given data
// (i) when
I_D=2;// in mA
I_D=I_D*10^-3;// in A
V_D=0.5;// in V
R1=V_D/I_D;
disp("Resistace is : "+string(R1)+" ohm");
// (ii) when
I_D=20;// in mA
I_D=I_D*10^-3;// in A
V_D=0.8;// in V
R2=V_D/I_D;
disp("Resistace is : "+string(R2)+" ohm");
// (ii) when
I_D=... |
d529009f351526bd993d0925c9628107dbcdb5bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH11/EX11.1/Ex11_1.sce | 8e4b70d783ee933575e0fa866202e426c9206b50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | Ex11_1.sce | //Ex11_1
clc
tsu=20*10^(-9)
disp("tsu= "+string(tsu)+" seconds") // Input set-up time of second flip flop
tpd=30*10^(-9)
disp("tpd= "+string(tpd)+" seconds") // Input set-up time of first flip flop
Tmin=tpd+tsu
disp("Tmin=tpd+tsu= "+string(Tmin)+" seconds") // Minimum allowed time interval b/w threshold levels o... |
20601cfd2ee0298417e8c71befc9781d832e579e | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.27/7_27.sce | 1923f7487d2da66c0e8b53759189d64b7c327f11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,182 | sce | 7_27.sce | clear;
clc;
//Example - 7.27
//Page number - 261
printf("Example - 7.27 and Page number - 261\n\n");
//(a)
//This part involves proving a relation in which no numerical components are involved.
//For prove refer to this example 7.27 on page number 261 of the book.
//(b)
//This part involves proving a rel... |
15de85294f470159e73a18a16123bbdde0765965 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH17/EX17.20/17_20.sce | f18560949a34783224c033fdd5d963ad8171d6f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | 17_20.sce | //A pile hammer
h=0.6 //m
v=sqrt(2*9.81*0.6) //m/sec
V=(15*3.431)/(22.5) //m/sec
//Applying work energy equation
s=(22.5*2.287^2)/(2*9.81*117.5) //m
printf("\ns=%.3f m",s) |
77e26a134e1cf8103126fe608196d80c98fad405 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH13/EX13.7/ex_13_7.sci | 9db56584229a55588f19034bbbab7fc5226aa603 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,080 | sci | ex_13_7.sci | //Example 12.14
//Updating Customer Records
Date = struct('month',0,'day',0,'year',0);
lastpayment = Date;
record = struct('Name'," ",'street'," ",'city'," ",'acct_no',0,'acct_type',' ','oldbalance',0,'newbalance',0,'payment',0,'lastpayment',0);
customer = record;
function[] = main... |
19b9ff06cebbc4fc293297ed673046efb8b4267b | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH44/EX44.17/44_17.sce | 12e9fcee17b6698398b0e3f1e50875f0ea7f1f0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | 44_17.sce | //Problem 44.17: A low-loss transmission line has a mismatched load such that the reflection coefficient at the termination is 0.2/_-120°. The characteristic impedance of the line is 80 ohm. Calculate (a) the standing-wave ratio, (b) the load impedance, and (c) the incident current flowing if the reflected current is 1... |
effcdb409dc1d9bbb0ba36b2a3c817630e95e93e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH13/EX13.4/Ex13_4.sce | c12910cc75dbb40489b80b5f47cdde3b4c2a6d2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | Ex13_4.sce | //Ex13_4
clc
C1 = 1*10^-9//capacitance of capacitor 1
C2 = 10*10^-9//capacitance of capacitor 2
L = 110*10^-6//inductance of inductor
beta = C1/C2//feedback factor
f0 = ((C1+C2)/(C1*C2*L))^.5/(2*%pi)//operating frequency
disp("C1 = "+string(C1)+"F")
disp("C2 = "+string(C2)+"F")
disp("L = "+string(L)+"H")
disp... |
b925e7e4ad8f42dc13cf420ccc87b8aa254186c4 | abdfb2db73e5240261372a514baa0c1a7bed7467 | /cudd-3.0.0/nanotrav/s27.tst | bf0874cc1420b84c532a6b92dc0cbd8a2e9682ad | [] | no_license | steefbrown/ece6740 | 21001ca156e24e23b71d6b719f11010ba4ce2a40 | cefe8dd498c7849546ece98fbd4d70b844f2bd5c | refs/heads/master | 2021-01-01T05:23:01.008122 | 2016-05-09T19:16:56 | 2016-05-09T19:16:56 | 57,227,414 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,131 | tst | s27.tst | # Nanotrav Version #0.12, Release date 2003/12/31
# nanotrav/nanotrav -p 1 -ordering hw -reordering annealing -trav ./nanotrav/s27.blif
# CUDD Version 3.0.0
**************READING IN NETWORK***************
Number of inputs: 2
**************GENERATING NETWORK BDD***************
Printing the BDD for f: ptr to the... |
c5faf6705a476978a7a6055ddae9d71096e6cc62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH7/EX7.1/Ch7Exa1.sci | fedfea5144eada555c1cc8036e3ac6ac265ab6f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sci | Ch7Exa1.sci |
r= 5*(10^(-17)); //radius of spherical electron, m
Me= 9.1*(10^(-31)); //mass of electron, kg
h= 6.63*(10^(-34)); //Planck's constant, J.s
hbar= h/(2*(%pi)); //reduced Planck's constant, J.s
v= (5*sqrt(3)/4)*(hbar/(Me*r)); //using Eqn 7.1, Page 230
c= 3*(10^8); //velocity of light, m/s
v= v/c; //converting in ... |
008e0a09a031e0ba9a0dbd47ea5456d0c834f36a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH3/EX3.10.18/ex3_10_18.sce | 4d49f63ba168bf9a50a0eda427b1213073c470b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | ex3_10_18.sce | // Exa 3.10.18
clc;
clear;
close;
// Given data
W = 2 * 10^-4;// in cm
W = W * 10^-2;// in m
A = 1;// in mm^2
A = A * 10^-6;// in m^2
epsilon_r = 16;
epsilon_o = 8.854 * 10^-12;// in F/m
epsilon = epsilon_r * epsilon_o;
C_T = (epsilon * A)/W;// in F
disp(C_T*10^12,"The barrier capacitance in pF is");
|
33f1eccf849b19b9143300a737633880735eef2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH7/EX7.01/Figure7_01.sce | 05ce580d360750fb3dff77e1f9529cf851931687 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,404 | sce | Figure7_01.sce | //clear//
//Caption:Waveforms of Different Digital Modulation techniques
//Figure7.1
//Digital Modulation Techniques
//To Plot the ASK, FSK and PSk Waveforms
clear;
clc;
close;
f = input('Enter the Analog Carrier Frequency in Hz');
t = 0:1/512:1;
x = sin(2*%pi*f*t);
I = input('Enter the digital binary data')... |
61e1d1f965c133c2df4a8e6682980a4c68213e4c | a4633944be5b5077362ba6447966bb694c6647ee | /kadai1-2.sci | 1d028da57bb151bdbafdd36b095e6e2505c35fac | [] | no_license | zeno0119/37-communication | 79e47660c2ef7cfe08f25457ea577be3f850d000 | b879c29b9b21bf226be24749d95e06fc875e02f5 | refs/heads/master | 2022-12-18T02:53:01.006966 | 2020-09-11T05:45:14 | 2020-09-11T05:45:14 | 293,683,600 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sci | kadai1-2.sci | clear
x = rand(1,1000);
tic()
for i = 1:size(x,2)
if x(i) >= 0.5
y(i) = 1;
else
y(i) = 0;
end
end
y
toc()
tic()
y2 = 1 * (x >= 0.5);
y2
toc()
|
7acc1249be44376afe2f5d155965e007bd2498bb | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/corrmtx/corrmtx9.sce | c803dfd5767daab8eae1090ac929cf4d4e88d115 | [] | 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 | 992 | sce | corrmtx9.sce | x=[1 2 3 4 5 6 7 6];
[X,R] = corrmtx(x,3,'prewindowed');
disp(X);
disp(R);
//output
// 1. 0. 0. 0.
// 2. 1. 0. 0.
// 3. 2. 1. 0.
// 4. 3. 2. 1.
// 5. 4. 3. 2.
// 6. 5. 4. 3.
// 7. 6. 5. 4.
// 6. 7. 6. 5.
//
// ... |
a0978eebea8f55037c9277139915fc376dd13668 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.35/example11_35.sce | 6d0fb6e721cf7289446bddae2eb9a0bcc9bad6c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | example11_35.sce | clc
// Given that
v1 = 2.7e8 // velocity of first electron beam in meter/sec
v2 = -2.7e8 // velocity of second electron beam in meter/sec
// Sample Problem 35 on page no. 11.31
printf("\n # PROBLEM 35 # \n")
printf(" Standard formula used \n")
printf(" u_x = u_x_ + v / (1+ v*u_x_/c^2) \n ")
u = v1 - v2
u_ = (v1 - v2) ... |
1898fd5211f74054ec65decb4bfdd1888920b272 | 60fd917d58e9785f92071a63c8eaa5c9e91645dd | /environments/.tst | cea1ca42a43e4f8d34da973b4cc1b9bf57096888 | [
"MIT"
] | permissive | jdutchak/api-koajs | e2c886dc16a61f93dca5abe8086347765bc5f026 | cc3e07c4fdb98a6bc26326445781313dec985341 | refs/heads/master | 2020-06-30T05:31:32.697400 | 2019-08-06T18:39:06 | 2019-08-06T18:39:06 | 200,742,450 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | tst | .tst | ENV="TST"
JWT_SECRET="somesecret"
JWT_ALGORITHM="HS256"
JWT_TOKEN_EXPIRY="86400"
PORT="8000"
SMTP_DOMAIN="smtp.office365.com"
SMTP_PORT="587"
SMTP_USER="email.address"
SMTP_PASSWORD="email.password"
SMTP_FROM_EMAIL_ADDRESS="EmailAddress <email.address>"
AWS_ACCESS_KEY_ID="X"
AWS_SECRET_ACCESS_KEY="X"
AWS_REGION="X"
ORI... |
4ac1235a8eb06cc9e9cd65aefe406a300dad4e4d | 310f08c933909d2bce7a7c446faed77197d22cc5 | /lab3_non_linear_system/lab3.sce | 96ce4d8a3ca7c26f5f9bcddf28fd2fe3e609d956 | [] | no_license | proxodilka/numerical-analysis-labs | 2bf58a70d52c2a6981d09d31c73c7c1df3384a1b | f970bda7e77efa1177e574f848e9bab935deb0dd | refs/heads/master | 2023-05-05T01:15:16.162980 | 2021-05-11T20:26:13 | 2021-05-16T19:48:28 | 356,952,590 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,146 | sce | lab3.sce |
function [res]=f1(x)
res = sin(x(1, :) + x(2, :)) - x(2, :) - 1.5
endfunction
function [res]=f2(x)
res = x(1, :) + cos(x(2, :) - 0.5) - 0.5
endfunction
function [res]=f(x)
res = [f1(x); f2(x)]
endfunction
function [res]=jacob_exact(x)
// "Аналитический" Якобиан функции
res = [
cos(x(1, :... |
40d3ff5edf5ce8dfebd8268dd3612458bb4166ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH4/EX4.7/Exa4_7.sce | ae5a94b14dfafe05122493144c1c1c5678ea8e92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Exa4_7.sce | //Exa 4.7
clc;
clear;
close;
//given data :
n=10;//no. of elements
//d=lambda/4 separation in meter
disp("Do=1.789*4*n*d/lambda");
disp("Putting d=lambda/4 we get D=1.789*n")
Do=1.789*n;//directivity : unitless
Dodb=10*log10(Do);//in db
disp(Dodb,"Do in db = "); |
c309e0045878449b8a4541144418d4f41fe99272 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH6/EX6.21.2/Example_6_21_2.sce | 43adeb83b050f36abcf7bbed22d2cd7adc399013 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | Example_6_21_2.sce | // Example 6.21.2 page 6.59
clc;
clear;
tr=30; //radiative recombination lifetime
tnr=100; //non-radiative recombination lifetime
h=6.624d-34; //plank's constant
c=3d8; //speed of light
q=1.6d-19; //charge of electron
i=40d-3; //current
lamda=1310d-9; //wavelength
t=tr*tnr/(tr+t... |
700cea9da6e013afa22bdaa6ad03e723d296d081 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH3/EX3.2/Chapter3_Example2.sce | b0915f93eedfb4060ce44509322d39c582baa7c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 938 | sce | Chapter3_Example2.sce | //Chapter-3, Example 3.2, Page 48
//=============================================================================
clc
clear
Di=0.05;//Inner diameter of hollow cylinder in m
Do=0.1;//Outer diameter of hollow cylinder in m
T=[200,100];//Inner and outer surface temperature in degree C
k=70;//Thermal conductivity ... |
73af3440ffe22e066bea082cecb696e01987e042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.14/4_14.sce | 17a118d27ee469a84475b9cb437b93b57533727c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 4_14.sce | w=600
R=10
L=10E-3
C=0.5E-3
Xl=w*L*%i
Xc=1/(w*C*%i) //Xc value in the book is wrong
V1=40
V2=complex(0,-30)
//mesh analysis
A=[R+Xl,-R;-R,R+Xc]
I=inv(A)*[V1;V2]
Ir=I(1)-I(2)
Vr=R*Ir
disp(Vr) //Final answer is different |
86c25349c568d737f099d7eae1244017ebacdc5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH5/EX5.11/Ex5_11.sce | f3107212a59121743d5c89584655954d3eeb5a8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,043 | sce | Ex5_11.sce |
// Theory and Problems of Thermodynamics
// Chapter 5
//Second Law of Thermodynamcis
// Example 11
clear ;clc;
//Given data
T1 = 300 // Temperature of first reservoir in K
T2 = 400 // Temperature of second reservoir in K
T3 = 1200 // Temperature of third reservoir in K
... |
0060cce368ea6ac8b69588ecdf5a62665978c08a | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH3/EX3.5/5.sce | 99c7285e57d5f9ebc560ad295dbc803aec61d553 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | 5.sce | clc
m=4.4; //kg
p=6; //bar
t_sup=250; //0C
t_w= 30; //0C
c_ps=2.2; //kJ/kg
c_pw=4.18;
// At 6 bar, 250 0C; From steam tables
t_s=158.8; //0C
h_f=670.4; //kJ/kg
h_fg=2085; //kJ/kg
h_sup=h_f+h_fg+ c_ps*(t_sup-t_s);
disp("Amount of heat added per kg of water, Qw=")
Qw=c_pw*(t_w-0);
disp(Qw)
disp("Net am... |
3bc68eb6b7735f5eae4aa97796f3cd77c5025a57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH25/EX25.8/ex25_8.sce | 381ed11a34e86fa680c4292aa557a0ced017b048 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | ex25_8.sce | clc;
clear;
//example 25.8
//binary multiplication
format('v',8);//changing the default precision to 8
a=10101.01;//first number
b=110.10;//second number
A=bin21dec(a);//converting a in to decimal number
B=bin21dec(b);//converting b in to decimal number
S=A*B; //multiply the two decimal numbers
te... |
96f86a180ca5d9289379b8bd52d9441b72a55299 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH4/EX4.4/4_4.sce | fd1621f68891ee07987cfc8a983e622de731659e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,157 | sce | 4_4.sce | clear;
clc;
printf("\t\t\tExample Number 4.4\n\n\n");
// heat removal from semi-infinite solid
// illustration4.4
// solution
alpha = 8.4*10^(-5);// [square meter/s] constant
Ts = 200;// [degree celsius] initial temperature of of slab
x = 0.04;// [m] depth at which temperature is calculated
T_x_t = 120;// [d... |
44eb08e7883a51a413186f50c544dc330e2e98f4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/xdess/getsymbol.sci | f62995279e582e94db5341d9765ac0293120a4c3 | [
"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 | 362 | sci | getsymbol.sci | function rep=getsymbol(title)
marksIds=['.','+','x','*','diamond fill.','diamond',..
'triangle up','triangle down','trefle','circle'];
fontsSiz=['08' ,'10','12','14','18','24'];
mm=xget('mark');
lmid=list('markId',mm(1)+1,marksIds);
lmsiz=list('marksize',mm(2)+1,fontsSiz);
xch_l = list(lmid,lmsiz);
entval=[lmid(2),lms... |
1be1970e52b2d7f11662a660d4f4aeadbc381c5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH6/EX6.7/Example6_7.sce | 9606ecb9ce58f1598bc56198a6f1e5c9cb8156cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | Example6_7.sce | //clear//
//Caption:circuit bandwidth of a photodiode
//Example6.7
//page 239
clear;
clc;
close;
CP = 3*10^-12;//photodiode capacitance is 3 pico farad
CA = 4*10^-12;//amplifier capcitance is 4 pico farad
CT = CP+CA; //total capacitance
RT1 = 1000; //photodiode load resistance
BC1 = 1/(2*%pi*RT1*CT); //circu... |
277eb13fa13938d8588750eb77645bac4c29e746 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH18/EX18.5/18_5.sce | 59c2d840f5518ab33c2974ca13d0bed971337283 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | 18_5.sce | clc
//initialisation of variables
clear
L2= 6000 //cal
v= 3
T= 25 //C
T1= 0 //C
//CALCULATIONS
R= ((L2/(v*4.576))*(T-T1)/((273+T1)*(273+T)))
r= 10^((L2/(v*4.576))*(T-T1)/((273+T1)*(273+T)))
//RESULTS
printf ('Ratio = %.3f ',R)
printf ('\n Relative change in mean ionic coefficient = %.2f ',r)
|
152bc3ce394f413015e7c5432788705d6df85f59 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Fortnite Peek.sce | 1856b9ca65c6c8624bb3924b7b023ea6573023fe | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54,427 | sce | Fortnite Peek.sce | Name=Fortnite Peek
PlayerCharacters=Counter-Striker
BotCharacters=Counter-Striker Bot PEEKER.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot PEEKER.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=794569841.map
MapScale=3.0
BlockProjectilePredictors=tru... |
9bd1caf1a0533a0b2047d3a0ac5f255e9e7d22ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH6/EX6.6/Ex6_6.sce | aa496449bbaa0b42d7323cf3d1f42e92fc11f6f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ex6_6.sce | clc//
//
//
//Variable declaration
n1=1;n2=1;n3=1;
h=6.62*10^-34; //planck's constant
m=9.1*10^-31; //mass(kg)
L=0.1*10^-9; //side(m)
//Calculation
E1=h^2*(n1^2+n2^2+n3^2)/(8*m*1.6*10^-19*L^2); //lowest energy of electron(eV)
//Result
printf("\n lowest energy of electron is %0.1f eV",E1... |
f47fa33d3b4d9514a3bfca6949d471757eaf58e8 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Revisão P1/MetodoNewtonComOrdem.sce | da5d4388bdb38577d7ccccc0e43265216504e81e | [
"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 | 152 | sce | MetodoNewtonComOrdem.sce | //Método de Newton para f(x) = x^3 - 4*x^2 + 5*x -2
x = 1.0731000001
for i = 1:1000
x = x - (x^3 - 4*x^2 + 5*x -2)/(3*x^2 - 8*x + 5)
end
disp(x)
|
cb0ab09d2884740eb43dcff0395772bb14dc8e23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH2/EX2.5/ex_2_5.sce | 23f8b3772c98d49e3e5c277005c291476aaf7774 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | ex_2_5.sce | //Example 2.5 : velocity
clc;
clear;
close;
//given data :
n=1;
Z=1;
k=6.56*10^15; // k is constant
fn=k*(Z^2/n^3);
disp(fn,"orbital frequency,fn(Hz) = ")
|
c90cf6358dd1569a04b8a419f139e7b95c374b04 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/demos/confmatrix2ni_mi.dem.sce | 62858f3a006dbec2ef43b83762e4a614ef18cc36 | [
"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 | 219 | sce | confmatrix2ni_mi.dem.sce | //
mode(-1);
lines(0);
c=[90 0 0 ; 1 9 0];
disp(c, "c =");
disp("[NI,A,Rej,P,R]=confmatrix2ni_mi(c)");
[NI,A,Rej,P,R]=confmatrix2ni_mi(c);
disp(NI, "NI =", A, "A = ", Rej, "Rej = ", P, "P = ", R, "R = ")
|
f27ca050413b92c0a113b1eb0c91281a20833ea1 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testxarrows.sce | a28c3afb588f16af6c5335cc0bc3baa11852ae67 | [] | 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 | 240 | sce | testxarrows.sce | clf;
plot2d(0,0,0,rect=[0 0 10 10],frameflag=3)
xgrid(4),
// segments start
x1=2*ones(1,5)
y1=[1:2:9];
// segments end
x2=8*ones(1,5)
y2=[1 1 5 9 7];
// drawing the segments
X=[x1;x2],Y=[y1;y2]
xarrows(X,Y,3,[1:5])
E=gce();
E.thickness=3;
|
fa1090a5fe5359f6da5613c37a380391bcbe1f8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH5/EX5.13/EX5_13.sce | 7995442c935d3aa6b443dd3b958c9b9f19cd9cf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | EX5_13.sce | //Example5.13 // To calculate unity gain bandwidth and maximum close loop gain
clc;
clear;
close;
A = 10^3 ; // open loop gain
fo = 60 ; // Hz // dominant pole frequency
fdb = 12*10^3 ; //Hz // 3-db frequency
// the unity gain bandwidth
f1 = fo*A ;
disp('the unity gain bandwidth is = '+string(f1)+'Hz');... |
562b0c66a42657c8624bc2cea2d5d2d35030bf5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH10/EX10.08/10_08.sce | 30e6d3aacdfbdd942c0647f0814546184cb26da6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,622 | sce | 10_08.sce | //NPSHA and NPSHR//
pathname=get_absolute_file_path('10.08.sce')
filename=pathname+filesep()+'10.08-data.sci'
exec(filename)
//Diameter of pipe (in feet):
Df= Di/12
//Area of crossection of pipe(in ft^2):
A=%pi/4*Df^2
//Velocity of flow(in ft/sec):
V=Q/7.48/A/60
//For water at T=80F,viscosity=0.927e-5 ft^2/s... |
44c489976b2d02b23236c7fb0170e54866f0e445 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH3/EX3.22/EX3_22.sce | c5eed330208ad3599c0dcc6748a5a83c2d045369 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | EX3_22.sce | //Example 3.22: Reduce expression using k-map
clc; //clears the window
clear; //clears all existing variables
//Mapping the expression//
disp('f(a,b,c,d) = summation of minterms(0,1,4,5,10,11,14)')
disp('The function f''(a,b,c,d) = summation of minterms(2,3,6,7,8,9,12,13,15)')
disp(' a''b'' a''b ab ab''... |
d318d4359a02212364a796235364a96c021b89d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.6.2/ex1_6_2.sce | 0ea73ac14b8fb910a7387428963feafeefef85db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | ex1_6_2.sce | //Chapter-1,Example1_6_2,pg 1-35
//intercept of planeare in proportion a,b/3,2*c
//as a,b and c are basic vectors the proportin of intercepts 1:1/3:2
//therefore reciprocal
r1=1
r2=3
r3=1/2
//taking LCM
v=int32([2,1])
l=double(lcm(v))
m1=(l*r1)
m2=(l*r2)
m3=(l*r3)
printf("miler in... |
6315d5b5d75ab9d3e7c35d05e405edb15b188592 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH12/EX12.2/Ex12_2.sce | 3ece7bbc4717b6c41936c908015b61111d157886 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | Ex12_2.sce | //Ex12_2
clc
Vo=14
disp("Vo= "+string(Vo)+" volts") // output voltage
f=500
disp("f = "+string(f)+" Hz")//frequency
IB2=500*10^(-9)
disp("IB2= "+string(IB2)+" A") //base- Current
B=0.5
disp("B="+string(B))//Feedback factor
vf=B*Vo
disp("vf=B*Vo= +"+string(vf)+", -"+string(vf)+" volts") // Feedback voltage
... |
30f06943e14a1f38239f18d4c34bcea089c7b8d3 | 2d7fb0d5dbae1f305d3e1d8a1ae832b21b265698 | /HackCPU/Test Instances/test1.tst | b794048230ebf6a50dbd14fdfb8bc5cd61010862 | [] | no_license | shvishnu/Hardware-Description-Language | 5958d004b21ed8c75028da514aa16bc848c14e87 | 052dea214fe7e8456338b7dc1d377a121c022b88 | refs/heads/main | 2023-06-18T14:24:44.110683 | 2021-07-19T19:40:37 | 2021-07-19T19:40:37 | 385,691,538 | 0 | 0 | null | 2021-07-19T19:40:38 | 2021-07-13T17:55:49 | Scilab | UTF-8 | Scilab | false | false | 651 | tst | test1.tst | load Computer.hdl,
output-file test1.out,
output-list RAM64[16]%D1.7.1 RAM64[17]%D1.7.1 RAM64[18]%D1.7.1;
// loads program written in the Hack language -- c = |a-b|
ROM32K load test1.hack,
/* case a > b */
set RAM64[16] 30, // a = 30
set RAM64[17] 20, // b = 20
repeat 20 {
tick, tock;
}
output;
... |
3c7917fe26ea7c1ea0ca68909f36d313dd5ba647 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH5/EX5.7/Ex5_7.sce | 214e31ce60ebe90fe002f13f40e561a46ee468f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,223 | sce | Ex5_7.sce | // ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 5 : INDUCTION MACHINES
// EXAMPLE : 5.7
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
f = 50; // Frequency of the 2-pole Induction Motor
p ... |
6eebe79afe3ac17dfd2f4f9eb749064d1db6f038 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.30/P6_30.sce | 1f2cf0cab7555843c538cb7449fe60df860b302e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | P6_30.sce | //EXAMPLE 6.30
//PROGRAM REQUIRES MAXIMA SCILAB TOOLBOX
//USE Z-TRANSFORM TO EVALUATE CONVOLUTION OF TWO SEQUENCES:
clc;
clear;
syms n z;
x = [-2 0 1 -1 3];
h = [1 2 0 -1 0];
for n=0:4
X(n+1) = x(n+1)*z^(-n);
H(n+1) = h(n+1)*z^(-n);
end
disp(X','X = ');
disp(H','H = ');
for i=1:5
U(i)=0;
for j=1:5
... |
af27260492db0adaee6e576e6ca25594806fd59f | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH6/EX6.6/Ex6_6.sce | 1cf0f43c50bc6499d4a495555c7654c8ea02102c | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 346 | sce | Ex6_6.sce | // Variable declaration
v1 = 10 // Degree of freedom a corresponding to (a,b)
v2 = 20 // Degree of freedom b corresponding to (a,b)
// Calculation
// we need to find f(0.95) at (10,20) i.e. 1/ f(0.05) at(20,10)
f = 1 / 2.77 // Required value f(0.05) at(20,10) = 2.77 from Table-6
// Result
pr... |
9264f4a57725fb023b891d069d14ef6d5818c534 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH8/EX8.20/Ex8_20.sce | 164d4026855603172bb00865675e5971e6c8f645 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,342 | sce | Ex8_20.sce | clc
p1 = 1 // Air pressure at compressure inlet in bar
t1 = 30 // Air temperature at compressure inlet in degree Celsius
p2 = 3.5 // Air pressure at compressure exit in bar
t2 = 141 // Air temperature at compressure exit in degree Celsius
v = 90 // Air velocity at compressure exit in m/s
cp = 1.0035 // Specific h... |
3cb070a093d318b09c1de2e4073d04f636bcbc3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH9/EX9.11/9_11.sce | 0da234704af190a097330f725821b7c4d22b7808 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | 9_11.sce | disp("Is=A*R*T*exp(-q*Va/(K*T))");
A=10^-3;
R=110;
T=300;
Va=0.67;
Va1=0.3;
a=0.026; //say a=K*T/q
Is=A*R*T*exp(-Va/a)*10^8;
printf('\n The value of Is is %f*10^-8 A',Is*10^2);
I=Is*exp(-Va1/a)*10^7;
printf('\n The value of I is %f*10^-3 A',I);
|
e23747098ea530c5f2955127c5c72f9ac9897dfd | b2675f983fedb79e5e6f1940962373bda0570ec4 | /POC1/Tests/bf_db.tst | 91771f669b497e29c12969e31ddce2f23d48e2bc | [] | no_license | Meena92/Projects | b854c40b91515bb429c9e13fb0cbc95c03e0a9d6 | 06361e24bf51883ff4140db5c37c3f40836a5752 | refs/heads/master | 2020-03-29T01:45:03.726432 | 2019-06-11T05:26:08 | 2019-06-11T05:26:08 | 149,404,524 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,460 | tst | bf_db.tst | <?xml version="1.0" ?>
<TestCase name="bf_db" version="5">
<meta>
<create version="10.0.0" buildNumber="10.0.0.431" author="admin" date="02/03/2018" host="inbasdpc10722" />
<lastEdited version="10.0.0" buildNumber="10.0.0.431" author="admin" date="02/03/2018" host="inbasdpc10722" />
</meta>
<id>D9F27663071A11E... |
0122e56369dcea56bba5be9a6a1a50abcc51c8eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH20/EX20.6/20_6.sce | 135af1d5a7be3cd60dd098d9a34903789e690fa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 20_6.sce | //The step pulley
//refer fig. 20.3
theta=20 //radian
alpha=2 //rad/sec^2
omega0=0
//Using kinematic relation
t=sqrt(20) //sec
//Velocity of A
vA=8.944 //m/sec
vB=0.6*8.944 //m/sec
printf("\nt=%.3f sec\nvA=%.3f m/sec\nvB=%.3f m/sec",t,vA,vB)
|
c8b9b929cdaa09bfced20565aca4d1ad6916db55 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Instrumentation_And_Measurements_J._B._Gupta_1859.zip/Electronic_Instrumentation_And_Measurements_J._B._Gupta_1859/CH6/EX6.4/exa_6_4.sce | 1e21a89516a5a8dc3753119b72c59ebb08a22c26 | [] | 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 | 177 | sce | exa_6_4.sce | errcatch(-1,"stop");mode(2);// Exa 6.4
;
;
// Given data
P=100;// in ohm
Q=10;// in ohm
S=46;// in ohm
R= P*S/Q;//in ohm
disp(R,"Unknown resistance in ohm")
exit();
|
a44ff47b3dc909726b2b8dd1450e5b1acc1a59d8 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /sandbox/scilab/11_font.sce | 17a23631b3bc42606ae06a352024cdb180eb5f1c | [] | 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 | 250 | sce | 11_font.sce | x = linspace(0,3,100)
y = sin(x)
xlfont("reset")
xlfont("Times New Roman",10)
plot(x,y)
xstring(0.5,0.5,"A Text from ffr")
figure_entity = gcf();
axes_entity = figure_entity.children
title_entity = axes_entity.children
title_entity.font_style = 10
|
5a814f1379ccba93c7a659668904b4a8500652a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.10/Ex15_10.sce | 82187aa3cc7250c3c9b42c35f62ccacd99d2efd3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | Ex15_10.sce | //Finding resistance
//Example 15.10(pg 398)
clc
clear
rho=1.7*(10^-6)//resistivity of copper in ohm-cm
l=5//length in metres
t=0.005//thickness in m
D=0.08//external diameter in m
d=D-(2*t)//internal diameter in m
a=%pi*(D^2-d^2)/4//cross section area in cm^2
R=rho*l/a//resistance of copper tube in ohm
R1=R... |
8f8292ad8365a4c4e99acd8adbcdd7a764f27c3c | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/imextendedmax.sci | be3dfd5e8beb4f660ca102a4e7a47239e745bd2b | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 1,288 | sci | imextendedmax.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
66fb79d7311aa38a4e1fcbb2c0090dce8adaa38f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH9/EX9.7/97.sce | ce5fb901667d0c600013d7d743fd99dac035658a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | sce | 97.sce | // problem 9.7
Hs=5
Ls=10
D=0.15
d=0.1
N=30/60
s=0.15
g=9.81
W=2*3.142*N
w=9810
ha=10.3
z=(D/d)^2
H=(Ls*z*W*W*s/g)
Ph=Hs+H
Phabs=ha-Ph
f=0.01
Hfs=(4*f*Ls/(d*2*g))*((z*W*s)^2)
H1=Hs+Hfs
H1abs=ha-H1
H2=Hs-H
H2abs=ha-H2
Hd=15
Ld=25
H11=(Ld*z*W*W*s/g)
H12=H11+Hd
H12abs=ha+H12
Hfd=(4*f*Ld/(d*2*g))*... |
cc7d8a037c87dfae5f0bad09a7255c835904e940 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/close_serial.sci | 9c5b85ff079500118c5226af9f3cd0712a9b409a | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,129 | sci | close_serial.sci | //
// This file is part of Arduino toolbox
// Copyright (C) 2012-2012 - DEMOSCIENCES - Alain CAIGNOT
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also availa... |
afe12b49a484634916670e984c8dd50b6fa74d6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH9/EX9.10/ex_9_10.sce | 71b9f5d7c371022c53ed6e070967a46039893788 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,074 | sce | ex_9_10.sce |
clc
//soltuion
//given
P=2.5//N/mm^2
D=1600//mm
ft=75//N/mm^2
T=60//N/mm^2
fc=125//N/mm^2
//design of longitudinal joint
t=(P*D)/(2*ft)+1//mm
d=6*sqrt(t)//m
pi=3.14
//choose standard avlue fromtable 9.3
//let p be pitch
//Pt=(p-d)*t*ft//N//tearing resistance of plate
//Pt=(p-34.5)*2100//N
Ps=4*1.875*(pi/4)*d^2*T+(pi/4... |
0896dcbe9620056cdbb96ecac9a51b29a7993ae5 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH8/EX8.5/Ch08Ex05.sce | f23e52546e67690c68ea1f5b24e3ca5bb64a425c | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 394 | sce | Ch08Ex05.sce | // Scilab code Ex8.5: Pg.328 (2008)
clc; clear;
M = 1; // Atomic weight of hydrogen, u
T = 5800; // Temperature at sun's surface, K
lamda = 656.3; // Wavelength of H_alpha line, nm
delta = 0.72e-06*lamda*sqrt(T/M); // Broadening of spectral lines, nm
printf("\nThe broadening of spectral lines = %5.3f ... |
b184f4b65eb09706e9bcfae1e6256df976f0ef20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH7/EX7.6/Ex7_6.sce | d4b5cb1c50befe12f353e27d6795fc10e10a8999 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex7_6.sce | //inductance
//given
clc
A=0.04//cm^2
N=4//no. of turns
Lss=8.5*(A^(0.5))*(N^(5/3))*1d+3//PH
Lss=round(Lss/10)*10///rounding off decimals
disp(Lss*1d-3,'the inductance for the given parameter in nH')//nH
|
7ef12937194f3dc482cc27bc3867bf3612a69c89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH3/EX3.1/Ex3_1.sce | e126cfe0703d9e25529895182d628add8d4b7314 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,124 | sce | Ex3_1.sce | clear all; clc;
//This numerical is Ex 3_1E,page 43.
N=800
Q=1750//in gallon per minute
r_1=3
b_1=4
r_2=9
b_2=3
omega=N*%pi/30
printf('\n The angular velocity is %g rad/s',omega)
omega_r=83.7
disp("After rounding off the value of angular velocity is 83.7 rad/s")
U_1=omega_r*r_1/12
printf(' U_1=%g',U_... |
278c865ec1de39517d5554319b92b8a49f4ab375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH4/EX4.3/Exa_4_3.sce | e3e3ccc8f50d0e2fed222c993d2cc60fa50447d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | Exa_4_3.sce | //Example No. 4.3
clc;
clear;
close;
format('v',6);
//Given Data :
P=30;//KW
theta1=54-30;//degree C
t1=1;//hour
theta2=67-30;//degree C
t2=2;//hour(t2=2*t1)
disp("theta=theta_f*(1-exp(-t/T))");
//Let exp(-t1/T)=a then exp(-t2/T)=a^2
//theta1/theta2=(1-a)/(1-a^2)
//a^2*theta1-a*theta2+theta2-theta1=0
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.